Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.10
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.71 for fontconfig 2.14.1.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/new>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
      9 # Inc.
     10 #
     11 #
     12 # This configure script is free software; the Free Software Foundation
     13 # gives unlimited permission to copy, distribute and modify it.
     14 ## -------------------- ##
     15 ## M4sh Initialization. ##
     16 ## -------------------- ##
     17 
     18 # Be more Bourne compatible
     19 DUALCASE=1; export DUALCASE # for MKS sh
     20 as_nop=:
     21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     22 then :
     23   emulate sh
     24   NULLCMD=:
     25   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     26   # is contrary to our usage.  Disable this feature.
     27   alias -g '${1+"$@"}'='"$@"'
     28   setopt NO_GLOB_SUBST
     29 else $as_nop
     30   case `(set -o) 2>/dev/null` in #(
     31   *posix*) :
     32     set -o posix ;; #(
     33   *) :
     34      ;;
     35 esac
     36 fi
     37 
     38 
     39 
     40 # Reset variables that may have inherited troublesome values from
     41 # the environment.
     42 
     43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
     44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
     45 # side effect of setting IFS to empty, thus disabling word splitting.)
     46 # Quoting is to prevent editors from complaining about space-tab.
     47 as_nl='
     48 '
     49 export as_nl
     50 IFS=" ""	$as_nl"
     51 
     52 PS1='$ '
     53 PS2='> '
     54 PS4='+ '
     55 
     56 # Ensure predictable behavior from utilities with locale-dependent output.
     57 LC_ALL=C
     58 export LC_ALL
     59 LANGUAGE=C
     60 export LANGUAGE
     61 
     62 # We cannot yet rely on "unset" to work, but we need these variables
     63 # to be unset--not just set to an empty or harmless value--now, to
     64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
     65 # also avoids known problems related to "unset" and subshell syntax
     66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
     67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
     68 do eval test \${$as_var+y} \
     69   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     70 done
     71 
     72 # Ensure that fds 0, 1, and 2 are open.
     73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
     74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
     75 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
     76 
     77 # The user is always right.
     78 if ${PATH_SEPARATOR+false} :; then
     79   PATH_SEPARATOR=:
     80   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     81     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     82       PATH_SEPARATOR=';'
     83   }
     84 fi
     85 
     86 
     87 # Find who we are.  Look in the path if we contain no directory separator.
     88 as_myself=
     89 case $0 in #((
     90   *[\\/]* ) as_myself=$0 ;;
     91   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     92 for as_dir in $PATH
     93 do
     94   IFS=$as_save_IFS
     95   case $as_dir in #(((
     96     '') as_dir=./ ;;
     97     */) ;;
     98     *) as_dir=$as_dir/ ;;
     99   esac
    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   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 
    117 # Use a proper internal environment variable to ensure we don't fall
    118   # into an infinite loop, continuously re-executing ourselves.
    119   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    120     _as_can_reexec=no; export _as_can_reexec;
    121     # We cannot yet assume a decent shell, so we have to provide a
    122 # neutralization value for shells without unset; and this also
    123 # works around shells that cannot unset nonexistent variables.
    124 # Preserve -v and -x to the replacement shell.
    125 BASH_ENV=/dev/null
    126 ENV=/dev/null
    127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    128 case $- in # ((((
    129   *v*x* | *x*v* ) as_opts=-vx ;;
    130   *v* ) as_opts=-v ;;
    131   *x* ) as_opts=-x ;;
    132   * ) as_opts= ;;
    133 esac
    134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    135 # Admittedly, this is quite paranoid, since all the known shells bail
    136 # out after a failed `exec'.
    137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    138 exit 255
    139   fi
    140   # We don't want this to propagate to other subprocesses.
    141           { _as_can_reexec=; unset _as_can_reexec;}
    142 if test "x$CONFIG_SHELL" = x; then
    143   as_bourne_compatible="as_nop=:
    144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    145 then :
    146   emulate sh
    147   NULLCMD=:
    148   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    149   # is contrary to our usage.  Disable this feature.
    150   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    151   setopt NO_GLOB_SUBST
    152 else \$as_nop
    153   case \`(set -o) 2>/dev/null\` in #(
    154   *posix*) :
    155     set -o posix ;; #(
    156   *) :
    157      ;;
    158 esac
    159 fi
    160 "
    161   as_required="as_fn_return () { (exit \$1); }
    162 as_fn_success () { as_fn_return 0; }
    163 as_fn_failure () { as_fn_return 1; }
    164 as_fn_ret_success () { return 0; }
    165 as_fn_ret_failure () { return 1; }
    166 
    167 exitcode=0
    168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
    173 then :
    174 
    175 else \$as_nop
    176   exitcode=1; echo positional parameters were not saved.
    177 fi
    178 test x\$exitcode = x0 || exit 1
    179 blah=\$(echo \$(echo blah))
    180 test x\"\$blah\" = xblah || exit 1
    181 test -x / || exit 1"
    182   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    183   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    184   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    185   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    186 
    187   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    188     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    189     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    190     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    191     PATH=/empty FPATH=/empty; export PATH FPATH
    192     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    193       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    194 test \$(( 1 + 1 )) = 2 || exit 1"
    195   if (eval "$as_required") 2>/dev/null
    196 then :
    197   as_have_required=yes
    198 else $as_nop
    199   as_have_required=no
    200 fi
    201   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    202 then :
    203 
    204 else $as_nop
    205   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    206 as_found=false
    207 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    208 do
    209   IFS=$as_save_IFS
    210   case $as_dir in #(((
    211     '') as_dir=./ ;;
    212     */) ;;
    213     *) as_dir=$as_dir/ ;;
    214   esac
    215   as_found=:
    216   case $as_dir in #(
    217 	 /*)
    218 	   for as_base in sh bash ksh sh5; do
    219 	     # Try only shells that exist, to save several forks.
    220 	     as_shell=$as_dir$as_base
    221 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    222 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    223 then :
    224   CONFIG_SHELL=$as_shell as_have_required=yes
    225 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    226 then :
    227   break 2
    228 fi
    229 fi
    230 	   done;;
    231        esac
    232   as_found=false
    233 done
    234 IFS=$as_save_IFS
    235 if $as_found
    236 then :
    237 
    238 else $as_nop
    239   if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    240 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    241 then :
    242   CONFIG_SHELL=$SHELL as_have_required=yes
    243 fi
    244 fi
    245 
    246 
    247       if test "x$CONFIG_SHELL" != x
    248 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 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno
    271 then :
    272   printf "%s\n" "$0: This script requires a shell more modern than all"
    273   printf "%s\n" "$0: the shells that I found on your system."
    274   if test ${ZSH_VERSION+y} ; then
    275     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    276     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    277   else
    278     printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
    279 $0: https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/new
    280 $0: about your system, including any error possibly output
    281 $0: before this message. Then install a modern shell, or
    282 $0: manually run the script under such a shell if you do
    283 $0: have one."
    284   fi
    285   exit 1
    286 fi
    287 fi
    288 fi
    289 SHELL=${CONFIG_SHELL-/bin/sh}
    290 export SHELL
    291 # Unset more variables known to interfere with behavior of common tools.
    292 CLICOLOR_FORCE= GREP_OPTIONS=
    293 unset CLICOLOR_FORCE GREP_OPTIONS
    294 
    295 ## --------------------- ##
    296 ## M4sh Shell Functions. ##
    297 ## --------------------- ##
    298 # as_fn_unset VAR
    299 # ---------------
    300 # Portably unset VAR.
    301 as_fn_unset ()
    302 {
    303   { eval $1=; unset $1;}
    304 }
    305 as_unset=as_fn_unset
    306 
    307 
    308 # as_fn_set_status STATUS
    309 # -----------------------
    310 # Set $? to STATUS, without forking.
    311 as_fn_set_status ()
    312 {
    313   return $1
    314 } # as_fn_set_status
    315 
    316 # as_fn_exit STATUS
    317 # -----------------
    318 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    319 as_fn_exit ()
    320 {
    321   set +e
    322   as_fn_set_status $1
    323   exit $1
    324 } # as_fn_exit
    325 # as_fn_nop
    326 # ---------
    327 # Do nothing but, unlike ":", preserve the value of $?.
    328 as_fn_nop ()
    329 {
    330   return $?
    331 }
    332 as_nop=as_fn_nop
    333 
    334 # as_fn_mkdir_p
    335 # -------------
    336 # Create "$as_dir" as a directory, including parents if necessary.
    337 as_fn_mkdir_p ()
    338 {
    339 
    340   case $as_dir in #(
    341   -*) as_dir=./$as_dir;;
    342   esac
    343   test -d "$as_dir" || eval $as_mkdir_p || {
    344     as_dirs=
    345     while :; do
    346       case $as_dir in #(
    347       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    348       *) as_qdir=$as_dir;;
    349       esac
    350       as_dirs="'$as_qdir' $as_dirs"
    351       as_dir=`$as_dirname -- "$as_dir" ||
    352 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    353 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    354 	 X"$as_dir" : 'X\(//\)$' \| \
    355 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    356 printf "%s\n" X"$as_dir" |
    357     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    358 	    s//\1/
    359 	    q
    360 	  }
    361 	  /^X\(\/\/\)[^/].*/{
    362 	    s//\1/
    363 	    q
    364 	  }
    365 	  /^X\(\/\/\)$/{
    366 	    s//\1/
    367 	    q
    368 	  }
    369 	  /^X\(\/\).*/{
    370 	    s//\1/
    371 	    q
    372 	  }
    373 	  s/.*/./; q'`
    374       test -d "$as_dir" && break
    375     done
    376     test -z "$as_dirs" || eval "mkdir $as_dirs"
    377   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    378 
    379 
    380 } # as_fn_mkdir_p
    381 
    382 # as_fn_executable_p FILE
    383 # -----------------------
    384 # Test if FILE is an executable regular file.
    385 as_fn_executable_p ()
    386 {
    387   test -f "$1" && test -x "$1"
    388 } # as_fn_executable_p
    389 # as_fn_append VAR VALUE
    390 # ----------------------
    391 # Append the text in VALUE to the end of the definition contained in VAR. Take
    392 # advantage of any shell optimizations that allow amortized linear growth over
    393 # repeated appends, instead of the typical quadratic growth present in naive
    394 # implementations.
    395 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    396 then :
    397   eval 'as_fn_append ()
    398   {
    399     eval $1+=\$2
    400   }'
    401 else $as_nop
    402   as_fn_append ()
    403   {
    404     eval $1=\$$1\$2
    405   }
    406 fi # as_fn_append
    407 
    408 # as_fn_arith ARG...
    409 # ------------------
    410 # Perform arithmetic evaluation on the ARGs, and store the result in the
    411 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    412 # must be portable across $(()) and expr.
    413 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    414 then :
    415   eval 'as_fn_arith ()
    416   {
    417     as_val=$(( $* ))
    418   }'
    419 else $as_nop
    420   as_fn_arith ()
    421   {
    422     as_val=`expr "$@" || test $? -eq 1`
    423   }
    424 fi # as_fn_arith
    425 
    426 # as_fn_nop
    427 # ---------
    428 # Do nothing but, unlike ":", preserve the value of $?.
    429 as_fn_nop ()
    430 {
    431   return $?
    432 }
    433 as_nop=as_fn_nop
    434 
    435 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    436 # ----------------------------------------
    437 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    438 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    439 # script with STATUS, using 1 if that was 0.
    440 as_fn_error ()
    441 {
    442   as_status=$1; test $as_status -eq 0 && as_status=1
    443   if test "$4"; then
    444     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    445     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    446   fi
    447   printf "%s\n" "$as_me: error: $2" >&2
    448   as_fn_exit $as_status
    449 } # as_fn_error
    450 
    451 if expr a : '\(a\)' >/dev/null 2>&1 &&
    452    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    453   as_expr=expr
    454 else
    455   as_expr=false
    456 fi
    457 
    458 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    459   as_basename=basename
    460 else
    461   as_basename=false
    462 fi
    463 
    464 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    465   as_dirname=dirname
    466 else
    467   as_dirname=false
    468 fi
    469 
    470 as_me=`$as_basename -- "$0" ||
    471 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    472 	 X"$0" : 'X\(//\)$' \| \
    473 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    474 printf "%s\n" X/"$0" |
    475     sed '/^.*\/\([^/][^/]*\)\/*$/{
    476 	    s//\1/
    477 	    q
    478 	  }
    479 	  /^X\/\(\/\/\)$/{
    480 	    s//\1/
    481 	    q
    482 	  }
    483 	  /^X\/\(\/\).*/{
    484 	    s//\1/
    485 	    q
    486 	  }
    487 	  s/.*/./; q'`
    488 
    489 # Avoid depending upon Character Ranges.
    490 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    491 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    492 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    493 as_cr_digits='0123456789'
    494 as_cr_alnum=$as_cr_Letters$as_cr_digits
    495 
    496 
    497   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    498   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    499   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    500   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    501   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    502   sed -n '
    503     p
    504     /[$]LINENO/=
    505   ' <$as_myself |
    506     sed '
    507       s/[$]LINENO.*/&-/
    508       t lineno
    509       b
    510       :lineno
    511       N
    512       :loop
    513       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    514       t loop
    515       s/-\n.*//
    516     ' >$as_me.lineno &&
    517   chmod +x "$as_me.lineno" ||
    518     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    519 
    520   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    521   # already done that, so ensure we don't try to do so again and fall
    522   # in an infinite loop.  This has already happened in practice.
    523   _as_can_reexec=no; export _as_can_reexec
    524   # Don't try to exec as it changes $[0], causing all sort of problems
    525   # (the dirname of $[0] is not the place where we might find the
    526   # original and so on.  Autoconf is especially sensitive to this).
    527   . "./$as_me.lineno"
    528   # Exit status is that of the last command.
    529   exit
    530 }
    531 
    532 
    533 # Determine whether it's possible to make 'echo' print without a newline.
    534 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    535 # for compatibility with existing Makefiles.
    536 ECHO_C= ECHO_N= ECHO_T=
    537 case `echo -n x` in #(((((
    538 -n*)
    539   case `echo 'xy\c'` in
    540   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    541   xy)  ECHO_C='\c';;
    542   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    543        ECHO_T='	';;
    544   esac;;
    545 *)
    546   ECHO_N='-n';;
    547 esac
    548 
    549 # For backward compatibility with old third-party macros, we provide
    550 # the shell variables $as_echo and $as_echo_n.  New code should use
    551 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    552 as_echo='printf %s\n'
    553 as_echo_n='printf %s'
    554 
    555 
    556 rm -f conf$$ conf$$.exe conf$$.file
    557 if test -d conf$$.dir; then
    558   rm -f conf$$.dir/conf$$.file
    559 else
    560   rm -f conf$$.dir
    561   mkdir conf$$.dir 2>/dev/null
    562 fi
    563 if (echo >conf$$.file) 2>/dev/null; then
    564   if ln -s conf$$.file conf$$ 2>/dev/null; then
    565     as_ln_s='ln -s'
    566     # ... but there are two gotchas:
    567     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    568     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    569     # In both cases, we have to default to `cp -pR'.
    570     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    571       as_ln_s='cp -pR'
    572   elif ln conf$$.file conf$$ 2>/dev/null; then
    573     as_ln_s=ln
    574   else
    575     as_ln_s='cp -pR'
    576   fi
    577 else
    578   as_ln_s='cp -pR'
    579 fi
    580 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    581 rmdir conf$$.dir 2>/dev/null
    582 
    583 if mkdir -p . 2>/dev/null; then
    584   as_mkdir_p='mkdir -p "$as_dir"'
    585 else
    586   test -d ./-p && rmdir ./-p
    587   as_mkdir_p=false
    588 fi
    589 
    590 as_test_x='test -x'
    591 as_executable_p=as_fn_executable_p
    592 
    593 # Sed expression to map a string onto a valid CPP name.
    594 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    595 
    596 # Sed expression to map a string onto a valid variable name.
    597 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    598 
    599 SHELL=${CONFIG_SHELL-/bin/sh}
    600 
    601 
    602 test -n "$DJDIR" || exec 7<&0 </dev/null
    603 exec 6>&1
    604 
    605 # Name of the host.
    606 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    607 # so uname gets run too.
    608 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    609 
    610 #
    611 # Initializations.
    612 #
    613 ac_default_prefix=/usr/local
    614 ac_clean_files=
    615 ac_config_libobj_dir=.
    616 LIBOBJS=
    617 cross_compiling=no
    618 subdirs=
    619 MFLAGS=
    620 MAKEFLAGS=
    621 
    622 # Identity of this package.
    623 PACKAGE_NAME='fontconfig'
    624 PACKAGE_TARNAME='fontconfig'
    625 PACKAGE_VERSION='2.14.1'
    626 PACKAGE_STRING='fontconfig 2.14.1'
    627 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/new'
    628 PACKAGE_URL=''
    629 
    630 # Factoring default headers for most tests.
    631 ac_includes_default="\
    632 #include <stddef.h>
    633 #ifdef HAVE_STDIO_H
    634 # include <stdio.h>
    635 #endif
    636 #ifdef HAVE_STDLIB_H
    637 # include <stdlib.h>
    638 #endif
    639 #ifdef HAVE_STRING_H
    640 # include <string.h>
    641 #endif
    642 #ifdef HAVE_INTTYPES_H
    643 # include <inttypes.h>
    644 #endif
    645 #ifdef HAVE_STDINT_H
    646 # include <stdint.h>
    647 #endif
    648 #ifdef HAVE_STRINGS_H
    649 # include <strings.h>
    650 #endif
    651 #ifdef HAVE_SYS_TYPES_H
    652 # include <sys/types.h>
    653 #endif
    654 #ifdef HAVE_SYS_STAT_H
    655 # include <sys/stat.h>
    656 #endif
    657 #ifdef HAVE_UNISTD_H
    658 # include <unistd.h>
    659 #endif"
    660 
    661 ac_header_c_list=
    662 gt_needs=
    663 ac_func_c_list=
    664 ac_subst_vars='am__EXEEXT_FALSE
    665 am__EXEEXT_TRUE
    666 LTLIBOBJS
    667 LIBOBJS
    668 PKGCONFIG_REQUIRES_PRIVATELY
    669 PKGCONFIG_REQUIRES
    670 ENABLE_CACHE_BUILD_FALSE
    671 ENABLE_CACHE_BUILD_TRUE
    672 DOCMAN3
    673 ENABLE_DOCS_FALSE
    674 ENABLE_DOCS_TRUE
    675 USEDOCBOOK_FALSE
    676 USEDOCBOOK_TRUE
    677 HASDOCBOOK
    678 HAVE_PTHREAD_FALSE
    679 HAVE_PTHREAD_TRUE
    680 PTHREAD_CFLAGS
    681 PTHREAD_LIBS
    682 PTHREAD_CC
    683 ax_pthread_config
    684 XMLDIR
    685 CONFIGDIR
    686 BASECONFIGDIR
    687 TEMPLATEDIR
    688 FC_FONTDATE
    689 FC_CACHEDIR
    690 fc_cachedir
    691 FC_FONTPATH
    692 FC_ADD_FONTS
    693 FC_DEFAULT_FONTS
    694 PREFERRED_HINTING
    695 ENABLE_JSONC_FALSE
    696 ENABLE_JSONC_TRUE
    697 JSONC_LIBS
    698 JSONC_CFLAGS
    699 LIBXML2_LIBS
    700 LIBXML2_CFLAGS
    701 PKG_EXPAT_LIBS
    702 PKG_EXPAT_CFLAGS
    703 HAVE_XMLPARSE_H
    704 EXPAT_LIBS
    705 EXPAT_CFLAGS
    706 FREETYPE_PCF_LONG_FAMILY_NAMES_FALSE
    707 FREETYPE_PCF_LONG_FAMILY_NAMES_TRUE
    708 FREETYPE_LIBS
    709 FREETYPE_CFLAGS
    710 ICONV_LIBS
    711 ICONV_CFLAGS
    712 ENABLE_SHARED_FALSE
    713 ENABLE_SHARED_TRUE
    714 CROSS_COMPILING_FALSE
    715 CROSS_COMPILING_TRUE
    716 EXEEXT_FOR_BUILD
    717 CC_FOR_BUILD
    718 WARN_CFLAGS
    719 MS_LIB_AVAILABLE_FALSE
    720 MS_LIB_AVAILABLE_TRUE
    721 ms_librarian
    722 POSUB
    723 LTLIBINTL
    724 LIBINTL
    725 INTLLIBS
    726 LTLIBICONV
    727 LIBICONV
    728 INTL_MACOSX_LIBS
    729 CPP
    730 XGETTEXT_EXTRA_OPTIONS
    731 MSGMERGE
    732 XGETTEXT_015
    733 XGETTEXT
    734 GMSGFMT_015
    735 MSGFMT_015
    736 GMSGFMT
    737 MSGFMT
    738 GETTEXT_MACRO_VERSION
    739 USE_NLS
    740 GETTEXT_PACKAGE
    741 OS_DARWIN_FALSE
    742 OS_DARWIN_TRUE
    743 OS_WIN32_FALSE
    744 OS_WIN32_TRUE
    745 LIBT_CURRENT_MINUS_AGE
    746 LIBT_VERSION_INFO
    747 LIBT_REVISION
    748 LIBT_CURRENT
    749 LT_SYS_LIBRARY_PATH
    750 OTOOL64
    751 OTOOL
    752 LIPO
    753 NMEDIT
    754 DSYMUTIL
    755 MANIFEST_TOOL
    756 RANLIB
    757 ac_ct_AR
    758 AR
    759 FILECMD
    760 NM
    761 ac_ct_DUMPBIN
    762 DUMPBIN
    763 LD
    764 FGREP
    765 EGREP
    766 GREP
    767 SED
    768 host_os
    769 host_vendor
    770 host_cpu
    771 host
    772 build_os
    773 build_vendor
    774 build_cpu
    775 build
    776 LIBTOOL
    777 OBJDUMP
    778 DLLTOOL
    779 AS
    780 RM
    781 pkgpyexecdir
    782 pyexecdir
    783 pkgpythondir
    784 pythondir
    785 PYTHON_EXEC_PREFIX
    786 PYTHON_PREFIX
    787 PYTHON_PLATFORM
    788 PYTHON_VERSION
    789 PYTHON
    790 GPERF
    791 GIT
    792 pkgconfigdir
    793 PKG_CONFIG_LIBDIR
    794 PKG_CONFIG_PATH
    795 PKG_CONFIG
    796 LN_S
    797 am__fastdepCC_FALSE
    798 am__fastdepCC_TRUE
    799 CCDEPMODE
    800 am__nodep
    801 AMDEPBACKSLASH
    802 AMDEP_FALSE
    803 AMDEP_TRUE
    804 am__include
    805 DEPDIR
    806 OBJEXT
    807 EXEEXT
    808 ac_ct_CC
    809 CPPFLAGS
    810 LDFLAGS
    811 CFLAGS
    812 CC
    813 AM_BACKSLASH
    814 AM_DEFAULT_VERBOSITY
    815 AM_DEFAULT_V
    816 AM_V
    817 CSCOPE
    818 ETAGS
    819 CTAGS
    820 am__untar
    821 am__tar
    822 AMTAR
    823 am__leading_dot
    824 SET_MAKE
    825 AWK
    826 mkdir_p
    827 MKDIR_P
    828 INSTALL_STRIP_PROGRAM
    829 STRIP
    830 install_sh
    831 MAKEINFO
    832 AUTOHEADER
    833 AUTOMAKE
    834 AUTOCONF
    835 ACLOCAL
    836 VERSION
    837 PACKAGE
    838 CYGPATH_W
    839 am__isrc
    840 INSTALL_DATA
    841 INSTALL_SCRIPT
    842 INSTALL_PROGRAM
    843 target_alias
    844 host_alias
    845 build_alias
    846 LIBS
    847 ECHO_T
    848 ECHO_N
    849 ECHO_C
    850 DEFS
    851 mandir
    852 localedir
    853 libdir
    854 psdir
    855 pdfdir
    856 dvidir
    857 htmldir
    858 infodir
    859 docdir
    860 oldincludedir
    861 includedir
    862 runstatedir
    863 localstatedir
    864 sharedstatedir
    865 sysconfdir
    866 datadir
    867 datarootdir
    868 libexecdir
    869 sbindir
    870 bindir
    871 program_transform_name
    872 prefix
    873 exec_prefix
    874 PACKAGE_URL
    875 PACKAGE_BUGREPORT
    876 PACKAGE_STRING
    877 PACKAGE_VERSION
    878 PACKAGE_TARNAME
    879 PACKAGE_NAME
    880 PATH_SEPARATOR
    881 SHELL
    882 am__quote'
    883 ac_subst_files=''
    884 ac_user_opts='
    885 enable_option_checking
    886 enable_silent_rules
    887 enable_dependency_tracking
    888 enable_largefile
    889 with_pkgconfigdir
    890 with_python_sys_prefix
    891 with_python_prefix
    892 with_python_exec_prefix
    893 enable_static
    894 enable_shared
    895 with_pic
    896 enable_fast_install
    897 with_aix_soname
    898 with_gnu_ld
    899 with_sysroot
    900 enable_libtool_lock
    901 enable_nls
    902 enable_rpath
    903 with_libiconv_prefix
    904 with_libintl_prefix
    905 with_arch
    906 enable_iconv
    907 with_libiconv
    908 with_libiconv_includes
    909 with_libiconv_lib
    910 with_expat
    911 with_expat_includes
    912 with_expat_lib
    913 enable_libxml2
    914 with_default_hinting
    915 with_default_fonts
    916 with_add_fonts
    917 with_cache_dir
    918 with_templatedir
    919 with_baseconfigdir
    920 with_configdir
    921 with_xmldir
    922 enable_docbook
    923 enable_docs
    924 enable_cache_build
    925 '
    926       ac_precious_vars='build_alias
    927 host_alias
    928 target_alias
    929 CC
    930 CFLAGS
    931 LDFLAGS
    932 LIBS
    933 CPPFLAGS
    934 PKG_CONFIG
    935 PKG_CONFIG_PATH
    936 PKG_CONFIG_LIBDIR
    937 PYTHON
    938 LT_SYS_LIBRARY_PATH
    939 CPP
    940 CC_FOR_BUILD
    941 FREETYPE_CFLAGS
    942 FREETYPE_LIBS
    943 EXPAT_CFLAGS
    944 EXPAT_LIBS
    945 LIBXML2_CFLAGS
    946 LIBXML2_LIBS
    947 JSONC_CFLAGS
    948 JSONC_LIBS'
    949 
    950 
    951 # Initialize some variables set by options.
    952 ac_init_help=
    953 ac_init_version=false
    954 ac_unrecognized_opts=
    955 ac_unrecognized_sep=
    956 # The variables have the same names as the options, with
    957 # dashes changed to underlines.
    958 cache_file=/dev/null
    959 exec_prefix=NONE
    960 no_create=
    961 no_recursion=
    962 prefix=NONE
    963 program_prefix=NONE
    964 program_suffix=NONE
    965 program_transform_name=s,x,x,
    966 silent=
    967 site=
    968 srcdir=
    969 verbose=
    970 x_includes=NONE
    971 x_libraries=NONE
    972 
    973 # Installation directory options.
    974 # These are left unexpanded so users can "make install exec_prefix=/foo"
    975 # and all the variables that are supposed to be based on exec_prefix
    976 # by default will actually change.
    977 # Use braces instead of parens because sh, perl, etc. also accept them.
    978 # (The list follows the same order as the GNU Coding Standards.)
    979 bindir='${exec_prefix}/bin'
    980 sbindir='${exec_prefix}/sbin'
    981 libexecdir='${exec_prefix}/libexec'
    982 datarootdir='${prefix}/share'
    983 datadir='${datarootdir}'
    984 sysconfdir='${prefix}/etc'
    985 sharedstatedir='${prefix}/com'
    986 localstatedir='${prefix}/var'
    987 runstatedir='${localstatedir}/run'
    988 includedir='${prefix}/include'
    989 oldincludedir='/usr/include'
    990 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    991 infodir='${datarootdir}/info'
    992 htmldir='${docdir}'
    993 dvidir='${docdir}'
    994 pdfdir='${docdir}'
    995 psdir='${docdir}'
    996 libdir='${exec_prefix}/lib'
    997 localedir='${datarootdir}/locale'
    998 mandir='${datarootdir}/man'
    999 
   1000 ac_prev=
   1001 ac_dashdash=
   1002 for ac_option
   1003 do
   1004   # If the previous option needs an argument, assign it.
   1005   if test -n "$ac_prev"; then
   1006     eval $ac_prev=\$ac_option
   1007     ac_prev=
   1008     continue
   1009   fi
   1010 
   1011   case $ac_option in
   1012   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1013   *=)   ac_optarg= ;;
   1014   *)    ac_optarg=yes ;;
   1015   esac
   1016 
   1017   case $ac_dashdash$ac_option in
   1018   --)
   1019     ac_dashdash=yes ;;
   1020 
   1021   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1022     ac_prev=bindir ;;
   1023   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1024     bindir=$ac_optarg ;;
   1025 
   1026   -build | --build | --buil | --bui | --bu)
   1027     ac_prev=build_alias ;;
   1028   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1029     build_alias=$ac_optarg ;;
   1030 
   1031   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1032   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1033     ac_prev=cache_file ;;
   1034   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1035   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1036     cache_file=$ac_optarg ;;
   1037 
   1038   --config-cache | -C)
   1039     cache_file=config.cache ;;
   1040 
   1041   -datadir | --datadir | --datadi | --datad)
   1042     ac_prev=datadir ;;
   1043   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1044     datadir=$ac_optarg ;;
   1045 
   1046   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1047   | --dataroo | --dataro | --datar)
   1048     ac_prev=datarootdir ;;
   1049   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1050   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1051     datarootdir=$ac_optarg ;;
   1052 
   1053   -disable-* | --disable-*)
   1054     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1055     # Reject names that are not valid shell variable names.
   1056     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1057       as_fn_error $? "invalid feature name: \`$ac_useropt'"
   1058     ac_useropt_orig=$ac_useropt
   1059     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1060     case $ac_user_opts in
   1061       *"
   1062 "enable_$ac_useropt"
   1063 "*) ;;
   1064       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1065 	 ac_unrecognized_sep=', ';;
   1066     esac
   1067     eval enable_$ac_useropt=no ;;
   1068 
   1069   -docdir | --docdir | --docdi | --doc | --do)
   1070     ac_prev=docdir ;;
   1071   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1072     docdir=$ac_optarg ;;
   1073 
   1074   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1075     ac_prev=dvidir ;;
   1076   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1077     dvidir=$ac_optarg ;;
   1078 
   1079   -enable-* | --enable-*)
   1080     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1081     # Reject names that are not valid shell variable names.
   1082     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1083       as_fn_error $? "invalid feature name: \`$ac_useropt'"
   1084     ac_useropt_orig=$ac_useropt
   1085     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1086     case $ac_user_opts in
   1087       *"
   1088 "enable_$ac_useropt"
   1089 "*) ;;
   1090       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1091 	 ac_unrecognized_sep=', ';;
   1092     esac
   1093     eval enable_$ac_useropt=\$ac_optarg ;;
   1094 
   1095   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1096   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1097   | --exec | --exe | --ex)
   1098     ac_prev=exec_prefix ;;
   1099   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1100   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1101   | --exec=* | --exe=* | --ex=*)
   1102     exec_prefix=$ac_optarg ;;
   1103 
   1104   -gas | --gas | --ga | --g)
   1105     # Obsolete; use --with-gas.
   1106     with_gas=yes ;;
   1107 
   1108   -help | --help | --hel | --he | -h)
   1109     ac_init_help=long ;;
   1110   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1111     ac_init_help=recursive ;;
   1112   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1113     ac_init_help=short ;;
   1114 
   1115   -host | --host | --hos | --ho)
   1116     ac_prev=host_alias ;;
   1117   -host=* | --host=* | --hos=* | --ho=*)
   1118     host_alias=$ac_optarg ;;
   1119 
   1120   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1121     ac_prev=htmldir ;;
   1122   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1123   | --ht=*)
   1124     htmldir=$ac_optarg ;;
   1125 
   1126   -includedir | --includedir | --includedi | --included | --include \
   1127   | --includ | --inclu | --incl | --inc)
   1128     ac_prev=includedir ;;
   1129   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1130   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1131     includedir=$ac_optarg ;;
   1132 
   1133   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1134     ac_prev=infodir ;;
   1135   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1136     infodir=$ac_optarg ;;
   1137 
   1138   -libdir | --libdir | --libdi | --libd)
   1139     ac_prev=libdir ;;
   1140   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1141     libdir=$ac_optarg ;;
   1142 
   1143   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1144   | --libexe | --libex | --libe)
   1145     ac_prev=libexecdir ;;
   1146   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1147   | --libexe=* | --libex=* | --libe=*)
   1148     libexecdir=$ac_optarg ;;
   1149 
   1150   -localedir | --localedir | --localedi | --localed | --locale)
   1151     ac_prev=localedir ;;
   1152   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1153     localedir=$ac_optarg ;;
   1154 
   1155   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1156   | --localstate | --localstat | --localsta | --localst | --locals)
   1157     ac_prev=localstatedir ;;
   1158   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1159   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1160     localstatedir=$ac_optarg ;;
   1161 
   1162   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1163     ac_prev=mandir ;;
   1164   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1165     mandir=$ac_optarg ;;
   1166 
   1167   -nfp | --nfp | --nf)
   1168     # Obsolete; use --without-fp.
   1169     with_fp=no ;;
   1170 
   1171   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1172   | --no-cr | --no-c | -n)
   1173     no_create=yes ;;
   1174 
   1175   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1176   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1177     no_recursion=yes ;;
   1178 
   1179   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1180   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1181   | --oldin | --oldi | --old | --ol | --o)
   1182     ac_prev=oldincludedir ;;
   1183   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1184   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1185   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1186     oldincludedir=$ac_optarg ;;
   1187 
   1188   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1189     ac_prev=prefix ;;
   1190   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1191     prefix=$ac_optarg ;;
   1192 
   1193   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1194   | --program-pre | --program-pr | --program-p)
   1195     ac_prev=program_prefix ;;
   1196   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1197   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1198     program_prefix=$ac_optarg ;;
   1199 
   1200   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1201   | --program-suf | --program-su | --program-s)
   1202     ac_prev=program_suffix ;;
   1203   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1204   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1205     program_suffix=$ac_optarg ;;
   1206 
   1207   -program-transform-name | --program-transform-name \
   1208   | --program-transform-nam | --program-transform-na \
   1209   | --program-transform-n | --program-transform- \
   1210   | --program-transform | --program-transfor \
   1211   | --program-transfo | --program-transf \
   1212   | --program-trans | --program-tran \
   1213   | --progr-tra | --program-tr | --program-t)
   1214     ac_prev=program_transform_name ;;
   1215   -program-transform-name=* | --program-transform-name=* \
   1216   | --program-transform-nam=* | --program-transform-na=* \
   1217   | --program-transform-n=* | --program-transform-=* \
   1218   | --program-transform=* | --program-transfor=* \
   1219   | --program-transfo=* | --program-transf=* \
   1220   | --program-trans=* | --program-tran=* \
   1221   | --progr-tra=* | --program-tr=* | --program-t=*)
   1222     program_transform_name=$ac_optarg ;;
   1223 
   1224   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1225     ac_prev=pdfdir ;;
   1226   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1227     pdfdir=$ac_optarg ;;
   1228 
   1229   -psdir | --psdir | --psdi | --psd | --ps)
   1230     ac_prev=psdir ;;
   1231   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1232     psdir=$ac_optarg ;;
   1233 
   1234   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1235   | -silent | --silent | --silen | --sile | --sil)
   1236     silent=yes ;;
   1237 
   1238   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1239   | --runstate | --runstat | --runsta | --runst | --runs \
   1240   | --run | --ru | --r)
   1241     ac_prev=runstatedir ;;
   1242   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1243   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1244   | --run=* | --ru=* | --r=*)
   1245     runstatedir=$ac_optarg ;;
   1246 
   1247   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1248     ac_prev=sbindir ;;
   1249   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1250   | --sbi=* | --sb=*)
   1251     sbindir=$ac_optarg ;;
   1252 
   1253   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1254   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1255   | --sharedst | --shareds | --shared | --share | --shar \
   1256   | --sha | --sh)
   1257     ac_prev=sharedstatedir ;;
   1258   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1259   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1260   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1261   | --sha=* | --sh=*)
   1262     sharedstatedir=$ac_optarg ;;
   1263 
   1264   -site | --site | --sit)
   1265     ac_prev=site ;;
   1266   -site=* | --site=* | --sit=*)
   1267     site=$ac_optarg ;;
   1268 
   1269   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1270     ac_prev=srcdir ;;
   1271   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1272     srcdir=$ac_optarg ;;
   1273 
   1274   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1275   | --syscon | --sysco | --sysc | --sys | --sy)
   1276     ac_prev=sysconfdir ;;
   1277   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1278   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1279     sysconfdir=$ac_optarg ;;
   1280 
   1281   -target | --target | --targe | --targ | --tar | --ta | --t)
   1282     ac_prev=target_alias ;;
   1283   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1284     target_alias=$ac_optarg ;;
   1285 
   1286   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1287     verbose=yes ;;
   1288 
   1289   -version | --version | --versio | --versi | --vers | -V)
   1290     ac_init_version=: ;;
   1291 
   1292   -with-* | --with-*)
   1293     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1294     # Reject names that are not valid shell variable names.
   1295     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1296       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1297     ac_useropt_orig=$ac_useropt
   1298     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1299     case $ac_user_opts in
   1300       *"
   1301 "with_$ac_useropt"
   1302 "*) ;;
   1303       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1304 	 ac_unrecognized_sep=', ';;
   1305     esac
   1306     eval with_$ac_useropt=\$ac_optarg ;;
   1307 
   1308   -without-* | --without-*)
   1309     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1310     # Reject names that are not valid shell variable names.
   1311     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1312       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1313     ac_useropt_orig=$ac_useropt
   1314     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1315     case $ac_user_opts in
   1316       *"
   1317 "with_$ac_useropt"
   1318 "*) ;;
   1319       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1320 	 ac_unrecognized_sep=', ';;
   1321     esac
   1322     eval with_$ac_useropt=no ;;
   1323 
   1324   --x)
   1325     # Obsolete; use --with-x.
   1326     with_x=yes ;;
   1327 
   1328   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1329   | --x-incl | --x-inc | --x-in | --x-i)
   1330     ac_prev=x_includes ;;
   1331   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1332   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1333     x_includes=$ac_optarg ;;
   1334 
   1335   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1336   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1337     ac_prev=x_libraries ;;
   1338   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1339   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1340     x_libraries=$ac_optarg ;;
   1341 
   1342   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1343 Try \`$0 --help' for more information"
   1344     ;;
   1345 
   1346   *=*)
   1347     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1348     # Reject names that are not valid shell variable names.
   1349     case $ac_envvar in #(
   1350       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1351       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1352     esac
   1353     eval $ac_envvar=\$ac_optarg
   1354     export $ac_envvar ;;
   1355 
   1356   *)
   1357     # FIXME: should be removed in autoconf 3.0.
   1358     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1359     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1360       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1361     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1362     ;;
   1363 
   1364   esac
   1365 done
   1366 
   1367 if test -n "$ac_prev"; then
   1368   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1369   as_fn_error $? "missing argument to $ac_option"
   1370 fi
   1371 
   1372 if test -n "$ac_unrecognized_opts"; then
   1373   case $enable_option_checking in
   1374     no) ;;
   1375     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1376     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1377   esac
   1378 fi
   1379 
   1380 # Check all directory arguments for consistency.
   1381 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1382 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1383 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1384 		libdir localedir mandir runstatedir
   1385 do
   1386   eval ac_val=\$$ac_var
   1387   # Remove trailing slashes.
   1388   case $ac_val in
   1389     */ )
   1390       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1391       eval $ac_var=\$ac_val;;
   1392   esac
   1393   # Be sure to have absolute directory names.
   1394   case $ac_val in
   1395     [\\/$]* | ?:[\\/]* )  continue;;
   1396     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1397   esac
   1398   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1399 done
   1400 
   1401 # There might be people who depend on the old broken behavior: `$host'
   1402 # used to hold the argument of --host etc.
   1403 # FIXME: To remove some day.
   1404 build=$build_alias
   1405 host=$host_alias
   1406 target=$target_alias
   1407 
   1408 # FIXME: To remove some day.
   1409 if test "x$host_alias" != x; then
   1410   if test "x$build_alias" = x; then
   1411     cross_compiling=maybe
   1412   elif test "x$build_alias" != "x$host_alias"; then
   1413     cross_compiling=yes
   1414   fi
   1415 fi
   1416 
   1417 ac_tool_prefix=
   1418 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1419 
   1420 test "$silent" = yes && exec 6>/dev/null
   1421 
   1422 
   1423 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1424 ac_ls_di=`ls -di .` &&
   1425 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1426   as_fn_error $? "working directory cannot be determined"
   1427 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1428   as_fn_error $? "pwd does not report name of working directory"
   1429 
   1430 
   1431 # Find the source files, if location was not specified.
   1432 if test -z "$srcdir"; then
   1433   ac_srcdir_defaulted=yes
   1434   # Try the directory containing this script, then the parent directory.
   1435   ac_confdir=`$as_dirname -- "$as_myself" ||
   1436 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1437 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1438 	 X"$as_myself" : 'X\(//\)$' \| \
   1439 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1440 printf "%s\n" X"$as_myself" |
   1441     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1442 	    s//\1/
   1443 	    q
   1444 	  }
   1445 	  /^X\(\/\/\)[^/].*/{
   1446 	    s//\1/
   1447 	    q
   1448 	  }
   1449 	  /^X\(\/\/\)$/{
   1450 	    s//\1/
   1451 	    q
   1452 	  }
   1453 	  /^X\(\/\).*/{
   1454 	    s//\1/
   1455 	    q
   1456 	  }
   1457 	  s/.*/./; q'`
   1458   srcdir=$ac_confdir
   1459   if test ! -r "$srcdir/$ac_unique_file"; then
   1460     srcdir=..
   1461   fi
   1462 else
   1463   ac_srcdir_defaulted=no
   1464 fi
   1465 if test ! -r "$srcdir/$ac_unique_file"; then
   1466   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1467   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1468 fi
   1469 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1470 ac_abs_confdir=`(
   1471 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1472 	pwd)`
   1473 # When building in place, set srcdir=.
   1474 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1475   srcdir=.
   1476 fi
   1477 # Remove unnecessary trailing slashes from srcdir.
   1478 # Double slashes in file names in object file debugging info
   1479 # mess up M-x gdb in Emacs.
   1480 case $srcdir in
   1481 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1482 esac
   1483 for ac_var in $ac_precious_vars; do
   1484   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1485   eval ac_env_${ac_var}_value=\$${ac_var}
   1486   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1487   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1488 done
   1489 
   1490 #
   1491 # Report the --help message.
   1492 #
   1493 if test "$ac_init_help" = "long"; then
   1494   # Omit some internal or obsolete options to make the list less imposing.
   1495   # This message is too long to be a string in the A/UX 3.1 sh.
   1496   cat <<_ACEOF
   1497 \`configure' configures fontconfig 2.14.1 to adapt to many kinds of systems.
   1498 
   1499 Usage: $0 [OPTION]... [VAR=VALUE]...
   1500 
   1501 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1502 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1503 
   1504 Defaults for the options are specified in brackets.
   1505 
   1506 Configuration:
   1507   -h, --help              display this help and exit
   1508       --help=short        display options specific to this package
   1509       --help=recursive    display the short help of all the included packages
   1510   -V, --version           display version information and exit
   1511   -q, --quiet, --silent   do not print \`checking ...' messages
   1512       --cache-file=FILE   cache test results in FILE [disabled]
   1513   -C, --config-cache      alias for \`--cache-file=config.cache'
   1514   -n, --no-create         do not create output files
   1515       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1516 
   1517 Installation directories:
   1518   --prefix=PREFIX         install architecture-independent files in PREFIX
   1519                           [$ac_default_prefix]
   1520   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1521                           [PREFIX]
   1522 
   1523 By default, \`make install' will install all the files in
   1524 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1525 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1526 for instance \`--prefix=\$HOME'.
   1527 
   1528 For better control, use the options below.
   1529 
   1530 Fine tuning of the installation directories:
   1531   --bindir=DIR            user executables [EPREFIX/bin]
   1532   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1533   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1534   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1535   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1536   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1537   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1538   --libdir=DIR            object code libraries [EPREFIX/lib]
   1539   --includedir=DIR        C header files [PREFIX/include]
   1540   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1541   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1542   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1543   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1544   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1545   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1546   --docdir=DIR            documentation root [DATAROOTDIR/doc/fontconfig]
   1547   --htmldir=DIR           html documentation [DOCDIR]
   1548   --dvidir=DIR            dvi documentation [DOCDIR]
   1549   --pdfdir=DIR            pdf documentation [DOCDIR]
   1550   --psdir=DIR             ps documentation [DOCDIR]
   1551 _ACEOF
   1552 
   1553   cat <<\_ACEOF
   1554 
   1555 Program names:
   1556   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1557   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1558   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1559 
   1560 System types:
   1561   --build=BUILD     configure for building on BUILD [guessed]
   1562   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1563 _ACEOF
   1564 fi
   1565 
   1566 if test -n "$ac_init_help"; then
   1567   case $ac_init_help in
   1568      short | recursive ) echo "Configuration of fontconfig 2.14.1:";;
   1569    esac
   1570   cat <<\_ACEOF
   1571 
   1572 Optional Features:
   1573   --disable-option-checking  ignore unrecognized --enable/--with options
   1574   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1575   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1576   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1577   --disable-silent-rules  verbose build output (undo: "make V=0")
   1578   --enable-dependency-tracking
   1579                           do not reject slow dependency extractors
   1580   --disable-dependency-tracking
   1581                           speeds up one-time build
   1582   --disable-largefile     omit support for large files
   1583   --enable-static[=PKGS]  build static libraries [default=no]
   1584   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1585   --enable-fast-install[=PKGS]
   1586                           optimize for fast installation [default=yes]
   1587   --disable-libtool-lock  avoid locking (might break parallel builds)
   1588   --disable-nls           do not use Native Language Support
   1589   --disable-rpath         do not hardcode runtime library paths
   1590   --enable-iconv          Use iconv to support non-Unicode SFNT name
   1591   --enable-libxml2        Use libxml2 instead of Expat
   1592   --disable-docbook       Disable building docs with docbook2html (default:
   1593                           no)
   1594   --disable-docs          Don't build and install documentation
   1595   --disable-cache-build   Don't run fc-cache during the build
   1596 
   1597 Optional Packages:
   1598   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1599   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1600   --with-pkgconfigdir     pkg-config installation directory
   1601                           ['${libdir}/pkgconfig']
   1602   --with-python-sys-prefix
   1603                           use Python's sys.prefix and sys.exec_prefix values
   1604   --with-python_prefix    override the default PYTHON_PREFIX
   1605   --with-python_exec_prefix
   1606                           override the default PYTHON_EXEC_PREFIX
   1607   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1608                           both]
   1609   --with-aix-soname=aix|svr4|both
   1610                           shared library versioning (aka "SONAME") variant to
   1611                           provide on AIX, [default=aix].
   1612   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1613   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1614                           compiler's sysroot if not specified).
   1615   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1616   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
   1617   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
   1618   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
   1619   --without-libintl-prefix     don't search for libintl in includedir and libdir
   1620   --with-arch=ARCH        Force architecture to ARCH
   1621   --with-libiconv=DIR     Use libiconv in DIR
   1622   --with-libiconv-includes=DIR
   1623                           Use libiconv includes in DIR
   1624   --with-libiconv-lib=DIR Use libiconv library in DIR
   1625   --with-expat=DIR        Use Expat in DIR
   1626   --with-expat-includes=DIR
   1627                           Use Expat includes in DIR
   1628   --with-expat-lib=DIR
   1629   --with-default-hinting=NAME
   1630                           Enable your preferred hinting configuration
   1631                           (none/slight/medium/full) [default=slight]
   1632   --with-default-fonts=DIR1,DIR2,...
   1633                           Use fonts from DIR1,DIR2,... when config is busted
   1634   --with-add-fonts=DIR1,DIR2,...
   1635                           Find additional fonts in DIR1,DIR2,...
   1636   --with-cache-dir=DIR    Use DIR to store cache files
   1637                           [default=LOCALSTATEDIR/cache/fontconfig]
   1638   --with-templatedir=DIR  Use DIR to store the configuration template files
   1639                           [default=DATADIR/fontconfig/conf.avail]
   1640   --with-baseconfigdir=DIR
   1641                           Use DIR to store the base configuration files
   1642                           [default=SYSCONFDIR/fonts]
   1643   --with-configdir=DIR    Use DIR to store active configuration files
   1644                           [default=BASECONFIGDIR/conf.d]
   1645   --with-xmldir=DIR       Use DIR to store XML schema files
   1646                           [default=DATADIR/xml/fontconfig]
   1647 
   1648 Some influential environment variables:
   1649   CC          C compiler command
   1650   CFLAGS      C compiler flags
   1651   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1652               nonstandard directory <lib dir>
   1653   LIBS        libraries to pass to the linker, e.g. -l<library>
   1654   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1655               you have headers in a nonstandard directory <include dir>
   1656   PKG_CONFIG  path to pkg-config utility
   1657   PKG_CONFIG_PATH
   1658               directories to add to pkg-config's search path
   1659   PKG_CONFIG_LIBDIR
   1660               path overriding pkg-config's built-in search path
   1661   PYTHON      the Python interpreter
   1662   LT_SYS_LIBRARY_PATH
   1663               User-defined run-time library search path.
   1664   CPP         C preprocessor
   1665   CC_FOR_BUILD
   1666               build system C compiler
   1667   FREETYPE_CFLAGS
   1668               C compiler flags for FREETYPE, overriding pkg-config
   1669   FREETYPE_LIBS
   1670               linker flags for FREETYPE, overriding pkg-config
   1671   EXPAT_CFLAGS
   1672               C compiler flags for EXPAT, overriding pkg-config
   1673   EXPAT_LIBS  linker flags for EXPAT, overriding pkg-config
   1674   LIBXML2_CFLAGS
   1675               C compiler flags for LIBXML2, overriding pkg-config
   1676   LIBXML2_LIBS
   1677               linker flags for LIBXML2, overriding pkg-config
   1678   JSONC_CFLAGS
   1679               C compiler flags for JSONC, overriding pkg-config
   1680   JSONC_LIBS  linker flags for JSONC, overriding pkg-config
   1681 
   1682 Use these variables to override the choices made by `configure' or to help
   1683 it to find libraries and programs with nonstandard names/locations.
   1684 
   1685 Report bugs to <https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/new>.
   1686 _ACEOF
   1687 ac_status=$?
   1688 fi
   1689 
   1690 if test "$ac_init_help" = "recursive"; then
   1691   # If there are subdirs, report their specific --help.
   1692   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1693     test -d "$ac_dir" ||
   1694       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1695       continue
   1696     ac_builddir=.
   1697 
   1698 case "$ac_dir" in
   1699 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1700 *)
   1701   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1702   # A ".." for each directory in $ac_dir_suffix.
   1703   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1704   case $ac_top_builddir_sub in
   1705   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1706   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1707   esac ;;
   1708 esac
   1709 ac_abs_top_builddir=$ac_pwd
   1710 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1711 # for backward compatibility:
   1712 ac_top_builddir=$ac_top_build_prefix
   1713 
   1714 case $srcdir in
   1715   .)  # We are building in place.
   1716     ac_srcdir=.
   1717     ac_top_srcdir=$ac_top_builddir_sub
   1718     ac_abs_top_srcdir=$ac_pwd ;;
   1719   [\\/]* | ?:[\\/]* )  # Absolute name.
   1720     ac_srcdir=$srcdir$ac_dir_suffix;
   1721     ac_top_srcdir=$srcdir
   1722     ac_abs_top_srcdir=$srcdir ;;
   1723   *) # Relative name.
   1724     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1725     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1726     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1727 esac
   1728 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1729 
   1730     cd "$ac_dir" || { ac_status=$?; continue; }
   1731     # Check for configure.gnu first; this name is used for a wrapper for
   1732     # Metaconfig's "Configure" on case-insensitive file systems.
   1733     if test -f "$ac_srcdir/configure.gnu"; then
   1734       echo &&
   1735       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1736     elif test -f "$ac_srcdir/configure"; then
   1737       echo &&
   1738       $SHELL "$ac_srcdir/configure" --help=recursive
   1739     else
   1740       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1741     fi || ac_status=$?
   1742     cd "$ac_pwd" || { ac_status=$?; break; }
   1743   done
   1744 fi
   1745 
   1746 test -n "$ac_init_help" && exit $ac_status
   1747 if $ac_init_version; then
   1748   cat <<\_ACEOF
   1749 fontconfig configure 2.14.1
   1750 generated by GNU Autoconf 2.71
   1751 
   1752 Copyright (C) 2021 Free Software Foundation, Inc.
   1753 This configure script is free software; the Free Software Foundation
   1754 gives unlimited permission to copy, distribute and modify it.
   1755 _ACEOF
   1756   exit
   1757 fi
   1758 
   1759 ## ------------------------ ##
   1760 ## Autoconf initialization. ##
   1761 ## ------------------------ ##
   1762 
   1763 # ac_fn_c_try_compile LINENO
   1764 # --------------------------
   1765 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1766 ac_fn_c_try_compile ()
   1767 {
   1768   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1769   rm -f conftest.$ac_objext conftest.beam
   1770   if { { ac_try="$ac_compile"
   1771 case "(($ac_try" in
   1772   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1773   *) ac_try_echo=$ac_try;;
   1774 esac
   1775 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1776 printf "%s\n" "$ac_try_echo"; } >&5
   1777   (eval "$ac_compile") 2>conftest.err
   1778   ac_status=$?
   1779   if test -s conftest.err; then
   1780     grep -v '^ *+' conftest.err >conftest.er1
   1781     cat conftest.er1 >&5
   1782     mv -f conftest.er1 conftest.err
   1783   fi
   1784   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1785   test $ac_status = 0; } && {
   1786 	 test -z "$ac_c_werror_flag" ||
   1787 	 test ! -s conftest.err
   1788        } && test -s conftest.$ac_objext
   1789 then :
   1790   ac_retval=0
   1791 else $as_nop
   1792   printf "%s\n" "$as_me: failed program was:" >&5
   1793 sed 's/^/| /' conftest.$ac_ext >&5
   1794 
   1795 	ac_retval=1
   1796 fi
   1797   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1798   as_fn_set_status $ac_retval
   1799 
   1800 } # ac_fn_c_try_compile
   1801 
   1802 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1803 # -------------------------------------------------------
   1804 # Tests whether HEADER exists and can be compiled using the include files in
   1805 # INCLUDES, setting the cache variable VAR accordingly.
   1806 ac_fn_c_check_header_compile ()
   1807 {
   1808   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1809   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1810 printf %s "checking for $2... " >&6; }
   1811 if eval test \${$3+y}
   1812 then :
   1813   printf %s "(cached) " >&6
   1814 else $as_nop
   1815   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1816 /* end confdefs.h.  */
   1817 $4
   1818 #include <$2>
   1819 _ACEOF
   1820 if ac_fn_c_try_compile "$LINENO"
   1821 then :
   1822   eval "$3=yes"
   1823 else $as_nop
   1824   eval "$3=no"
   1825 fi
   1826 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1827 fi
   1828 eval ac_res=\$$3
   1829 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1830 printf "%s\n" "$ac_res" >&6; }
   1831   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1832 
   1833 } # ac_fn_c_check_header_compile
   1834 
   1835 # ac_fn_c_try_link LINENO
   1836 # -----------------------
   1837 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1838 ac_fn_c_try_link ()
   1839 {
   1840   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1841   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1842   if { { ac_try="$ac_link"
   1843 case "(($ac_try" in
   1844   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1845   *) ac_try_echo=$ac_try;;
   1846 esac
   1847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1848 printf "%s\n" "$ac_try_echo"; } >&5
   1849   (eval "$ac_link") 2>conftest.err
   1850   ac_status=$?
   1851   if test -s conftest.err; then
   1852     grep -v '^ *+' conftest.err >conftest.er1
   1853     cat conftest.er1 >&5
   1854     mv -f conftest.er1 conftest.err
   1855   fi
   1856   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1857   test $ac_status = 0; } && {
   1858 	 test -z "$ac_c_werror_flag" ||
   1859 	 test ! -s conftest.err
   1860        } && test -s conftest$ac_exeext && {
   1861 	 test "$cross_compiling" = yes ||
   1862 	 test -x conftest$ac_exeext
   1863        }
   1864 then :
   1865   ac_retval=0
   1866 else $as_nop
   1867   printf "%s\n" "$as_me: failed program was:" >&5
   1868 sed 's/^/| /' conftest.$ac_ext >&5
   1869 
   1870 	ac_retval=1
   1871 fi
   1872   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1873   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1874   # interfere with the next link command; also delete a directory that is
   1875   # left behind by Apple's compiler.  We do this before executing the actions.
   1876   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1877   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1878   as_fn_set_status $ac_retval
   1879 
   1880 } # ac_fn_c_try_link
   1881 
   1882 # ac_fn_c_check_func LINENO FUNC VAR
   1883 # ----------------------------------
   1884 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1885 ac_fn_c_check_func ()
   1886 {
   1887   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1888   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1889 printf %s "checking for $2... " >&6; }
   1890 if eval test \${$3+y}
   1891 then :
   1892   printf %s "(cached) " >&6
   1893 else $as_nop
   1894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1895 /* end confdefs.h.  */
   1896 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1897    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1898 #define $2 innocuous_$2
   1899 
   1900 /* System header to define __stub macros and hopefully few prototypes,
   1901    which can conflict with char $2 (); below.  */
   1902 
   1903 #include <limits.h>
   1904 #undef $2
   1905 
   1906 /* Override any GCC internal prototype to avoid an error.
   1907    Use char because int might match the return type of a GCC
   1908    builtin and then its argument prototype would still apply.  */
   1909 #ifdef __cplusplus
   1910 extern "C"
   1911 #endif
   1912 char $2 ();
   1913 /* The GNU C library defines this for functions which it implements
   1914     to always fail with ENOSYS.  Some functions are actually named
   1915     something starting with __ and the normal name is an alias.  */
   1916 #if defined __stub_$2 || defined __stub___$2
   1917 choke me
   1918 #endif
   1919 
   1920 int
   1921 main (void)
   1922 {
   1923 return $2 ();
   1924   ;
   1925   return 0;
   1926 }
   1927 _ACEOF
   1928 if ac_fn_c_try_link "$LINENO"
   1929 then :
   1930   eval "$3=yes"
   1931 else $as_nop
   1932   eval "$3=no"
   1933 fi
   1934 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1935     conftest$ac_exeext conftest.$ac_ext
   1936 fi
   1937 eval ac_res=\$$3
   1938 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1939 printf "%s\n" "$ac_res" >&6; }
   1940   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1941 
   1942 } # ac_fn_c_check_func
   1943 
   1944 # ac_fn_c_try_cpp LINENO
   1945 # ----------------------
   1946 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1947 ac_fn_c_try_cpp ()
   1948 {
   1949   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1950   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1951 case "(($ac_try" in
   1952   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1953   *) ac_try_echo=$ac_try;;
   1954 esac
   1955 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1956 printf "%s\n" "$ac_try_echo"; } >&5
   1957   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1958   ac_status=$?
   1959   if test -s conftest.err; then
   1960     grep -v '^ *+' conftest.err >conftest.er1
   1961     cat conftest.er1 >&5
   1962     mv -f conftest.er1 conftest.err
   1963   fi
   1964   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1965   test $ac_status = 0; } > conftest.i && {
   1966 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1967 	 test ! -s conftest.err
   1968        }
   1969 then :
   1970   ac_retval=0
   1971 else $as_nop
   1972   printf "%s\n" "$as_me: failed program was:" >&5
   1973 sed 's/^/| /' conftest.$ac_ext >&5
   1974 
   1975     ac_retval=1
   1976 fi
   1977   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1978   as_fn_set_status $ac_retval
   1979 
   1980 } # ac_fn_c_try_cpp
   1981 
   1982 # ac_fn_c_try_run LINENO
   1983 # ----------------------
   1984 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
   1985 # executables *can* be run.
   1986 ac_fn_c_try_run ()
   1987 {
   1988   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1989   if { { ac_try="$ac_link"
   1990 case "(($ac_try" in
   1991   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1992   *) ac_try_echo=$ac_try;;
   1993 esac
   1994 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1995 printf "%s\n" "$ac_try_echo"; } >&5
   1996   (eval "$ac_link") 2>&5
   1997   ac_status=$?
   1998   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1999   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   2000   { { case "(($ac_try" in
   2001   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2002   *) ac_try_echo=$ac_try;;
   2003 esac
   2004 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2005 printf "%s\n" "$ac_try_echo"; } >&5
   2006   (eval "$ac_try") 2>&5
   2007   ac_status=$?
   2008   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2009   test $ac_status = 0; }; }
   2010 then :
   2011   ac_retval=0
   2012 else $as_nop
   2013   printf "%s\n" "$as_me: program exited with status $ac_status" >&5
   2014        printf "%s\n" "$as_me: failed program was:" >&5
   2015 sed 's/^/| /' conftest.$ac_ext >&5
   2016 
   2017        ac_retval=$ac_status
   2018 fi
   2019   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   2020   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2021   as_fn_set_status $ac_retval
   2022 
   2023 } # ac_fn_c_try_run
   2024 
   2025 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   2026 # ------------------------------------------------------------------
   2027 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   2028 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   2029 ac_fn_check_decl ()
   2030 {
   2031   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2032   as_decl_name=`echo $2|sed 's/ *(.*//'`
   2033   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   2034 printf %s "checking whether $as_decl_name is declared... " >&6; }
   2035 if eval test \${$3+y}
   2036 then :
   2037   printf %s "(cached) " >&6
   2038 else $as_nop
   2039   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2040   eval ac_save_FLAGS=\$$6
   2041   as_fn_append $6 " $5"
   2042   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2043 /* end confdefs.h.  */
   2044 $4
   2045 int
   2046 main (void)
   2047 {
   2048 #ifndef $as_decl_name
   2049 #ifdef __cplusplus
   2050   (void) $as_decl_use;
   2051 #else
   2052   (void) $as_decl_name;
   2053 #endif
   2054 #endif
   2055 
   2056   ;
   2057   return 0;
   2058 }
   2059 _ACEOF
   2060 if ac_fn_c_try_compile "$LINENO"
   2061 then :
   2062   eval "$3=yes"
   2063 else $as_nop
   2064   eval "$3=no"
   2065 fi
   2066 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2067   eval $6=\$ac_save_FLAGS
   2068 
   2069 fi
   2070 eval ac_res=\$$3
   2071 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2072 printf "%s\n" "$ac_res" >&6; }
   2073   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2074 
   2075 } # ac_fn_check_decl
   2076 
   2077 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   2078 # -------------------------------------------
   2079 # Tests whether TYPE exists after having included INCLUDES, setting cache
   2080 # variable VAR accordingly.
   2081 ac_fn_c_check_type ()
   2082 {
   2083   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2084   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2085 printf %s "checking for $2... " >&6; }
   2086 if eval test \${$3+y}
   2087 then :
   2088   printf %s "(cached) " >&6
   2089 else $as_nop
   2090   eval "$3=no"
   2091   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2092 /* end confdefs.h.  */
   2093 $4
   2094 int
   2095 main (void)
   2096 {
   2097 if (sizeof ($2))
   2098 	 return 0;
   2099   ;
   2100   return 0;
   2101 }
   2102 _ACEOF
   2103 if ac_fn_c_try_compile "$LINENO"
   2104 then :
   2105   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2106 /* end confdefs.h.  */
   2107 $4
   2108 int
   2109 main (void)
   2110 {
   2111 if (sizeof (($2)))
   2112 	    return 0;
   2113   ;
   2114   return 0;
   2115 }
   2116 _ACEOF
   2117 if ac_fn_c_try_compile "$LINENO"
   2118 then :
   2119 
   2120 else $as_nop
   2121   eval "$3=yes"
   2122 fi
   2123 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2124 fi
   2125 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2126 fi
   2127 eval ac_res=\$$3
   2128 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2129 printf "%s\n" "$ac_res" >&6; }
   2130   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2131 
   2132 } # ac_fn_c_check_type
   2133 
   2134 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
   2135 # --------------------------------------------
   2136 # Tries to find the compile-time value of EXPR in a program that includes
   2137 # INCLUDES, setting VAR accordingly. Returns whether the value could be
   2138 # computed
   2139 ac_fn_c_compute_int ()
   2140 {
   2141   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2142   if test "$cross_compiling" = yes; then
   2143     # Depending upon the size, compute the lo and hi bounds.
   2144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2145 /* end confdefs.h.  */
   2146 $4
   2147 int
   2148 main (void)
   2149 {
   2150 static int test_array [1 - 2 * !(($2) >= 0)];
   2151 test_array [0] = 0;
   2152 return test_array [0];
   2153 
   2154   ;
   2155   return 0;
   2156 }
   2157 _ACEOF
   2158 if ac_fn_c_try_compile "$LINENO"
   2159 then :
   2160   ac_lo=0 ac_mid=0
   2161   while :; do
   2162     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2163 /* end confdefs.h.  */
   2164 $4
   2165 int
   2166 main (void)
   2167 {
   2168 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2169 test_array [0] = 0;
   2170 return test_array [0];
   2171 
   2172   ;
   2173   return 0;
   2174 }
   2175 _ACEOF
   2176 if ac_fn_c_try_compile "$LINENO"
   2177 then :
   2178   ac_hi=$ac_mid; break
   2179 else $as_nop
   2180   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
   2181 			if test $ac_lo -le $ac_mid; then
   2182 			  ac_lo= ac_hi=
   2183 			  break
   2184 			fi
   2185 			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
   2186 fi
   2187 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2188   done
   2189 else $as_nop
   2190   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2191 /* end confdefs.h.  */
   2192 $4
   2193 int
   2194 main (void)
   2195 {
   2196 static int test_array [1 - 2 * !(($2) < 0)];
   2197 test_array [0] = 0;
   2198 return test_array [0];
   2199 
   2200   ;
   2201   return 0;
   2202 }
   2203 _ACEOF
   2204 if ac_fn_c_try_compile "$LINENO"
   2205 then :
   2206   ac_hi=-1 ac_mid=-1
   2207   while :; do
   2208     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2209 /* end confdefs.h.  */
   2210 $4
   2211 int
   2212 main (void)
   2213 {
   2214 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
   2215 test_array [0] = 0;
   2216 return test_array [0];
   2217 
   2218   ;
   2219   return 0;
   2220 }
   2221 _ACEOF
   2222 if ac_fn_c_try_compile "$LINENO"
   2223 then :
   2224   ac_lo=$ac_mid; break
   2225 else $as_nop
   2226   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
   2227 			if test $ac_mid -le $ac_hi; then
   2228 			  ac_lo= ac_hi=
   2229 			  break
   2230 			fi
   2231 			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
   2232 fi
   2233 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2234   done
   2235 else $as_nop
   2236   ac_lo= ac_hi=
   2237 fi
   2238 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2239 fi
   2240 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2241 # Binary search between lo and hi bounds.
   2242 while test "x$ac_lo" != "x$ac_hi"; do
   2243   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
   2244   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2245 /* end confdefs.h.  */
   2246 $4
   2247 int
   2248 main (void)
   2249 {
   2250 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2251 test_array [0] = 0;
   2252 return test_array [0];
   2253 
   2254   ;
   2255   return 0;
   2256 }
   2257 _ACEOF
   2258 if ac_fn_c_try_compile "$LINENO"
   2259 then :
   2260   ac_hi=$ac_mid
   2261 else $as_nop
   2262   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
   2263 fi
   2264 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2265 done
   2266 case $ac_lo in #((
   2267 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
   2268 '') ac_retval=1 ;;
   2269 esac
   2270   else
   2271     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2272 /* end confdefs.h.  */
   2273 $4
   2274 static long int longval (void) { return $2; }
   2275 static unsigned long int ulongval (void) { return $2; }
   2276 #include <stdio.h>
   2277 #include <stdlib.h>
   2278 int
   2279 main (void)
   2280 {
   2281 
   2282   FILE *f = fopen ("conftest.val", "w");
   2283   if (! f)
   2284     return 1;
   2285   if (($2) < 0)
   2286     {
   2287       long int i = longval ();
   2288       if (i != ($2))
   2289 	return 1;
   2290       fprintf (f, "%ld", i);
   2291     }
   2292   else
   2293     {
   2294       unsigned long int i = ulongval ();
   2295       if (i != ($2))
   2296 	return 1;
   2297       fprintf (f, "%lu", i);
   2298     }
   2299   /* Do not output a trailing newline, as this causes \r\n confusion
   2300      on some platforms.  */
   2301   return ferror (f) || fclose (f) != 0;
   2302 
   2303   ;
   2304   return 0;
   2305 }
   2306 _ACEOF
   2307 if ac_fn_c_try_run "$LINENO"
   2308 then :
   2309   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
   2310 else $as_nop
   2311   ac_retval=1
   2312 fi
   2313 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   2314   conftest.$ac_objext conftest.beam conftest.$ac_ext
   2315 rm -f conftest.val
   2316 
   2317   fi
   2318   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2319   as_fn_set_status $ac_retval
   2320 
   2321 } # ac_fn_c_compute_int
   2322 
   2323 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   2324 # ----------------------------------------------------
   2325 # Tries to find if the field MEMBER exists in type AGGR, after including
   2326 # INCLUDES, setting cache variable VAR accordingly.
   2327 ac_fn_c_check_member ()
   2328 {
   2329   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2330   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   2331 printf %s "checking for $2.$3... " >&6; }
   2332 if eval test \${$4+y}
   2333 then :
   2334   printf %s "(cached) " >&6
   2335 else $as_nop
   2336   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2337 /* end confdefs.h.  */
   2338 $5
   2339 int
   2340 main (void)
   2341 {
   2342 static $2 ac_aggr;
   2343 if (ac_aggr.$3)
   2344 return 0;
   2345   ;
   2346   return 0;
   2347 }
   2348 _ACEOF
   2349 if ac_fn_c_try_compile "$LINENO"
   2350 then :
   2351   eval "$4=yes"
   2352 else $as_nop
   2353   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2354 /* end confdefs.h.  */
   2355 $5
   2356 int
   2357 main (void)
   2358 {
   2359 static $2 ac_aggr;
   2360 if (sizeof ac_aggr.$3)
   2361 return 0;
   2362   ;
   2363   return 0;
   2364 }
   2365 _ACEOF
   2366 if ac_fn_c_try_compile "$LINENO"
   2367 then :
   2368   eval "$4=yes"
   2369 else $as_nop
   2370   eval "$4=no"
   2371 fi
   2372 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2373 fi
   2374 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2375 fi
   2376 eval ac_res=\$$4
   2377 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2378 printf "%s\n" "$ac_res" >&6; }
   2379   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2380 
   2381 } # ac_fn_c_check_member
   2382 ac_configure_args_raw=
   2383 for ac_arg
   2384 do
   2385   case $ac_arg in
   2386   *\'*)
   2387     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2388   esac
   2389   as_fn_append ac_configure_args_raw " '$ac_arg'"
   2390 done
   2391 
   2392 case $ac_configure_args_raw in
   2393   *$as_nl*)
   2394     ac_safe_unquote= ;;
   2395   *)
   2396     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   2397     ac_unsafe_a="$ac_unsafe_z#~"
   2398     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   2399     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   2400 esac
   2401 
   2402 cat >config.log <<_ACEOF
   2403 This file contains any messages produced by compilers while
   2404 running configure, to aid debugging if configure makes a mistake.
   2405 
   2406 It was created by fontconfig $as_me 2.14.1, which was
   2407 generated by GNU Autoconf 2.71.  Invocation command line was
   2408 
   2409   $ $0$ac_configure_args_raw
   2410 
   2411 _ACEOF
   2412 exec 5>>config.log
   2413 {
   2414 cat <<_ASUNAME
   2415 ## --------- ##
   2416 ## Platform. ##
   2417 ## --------- ##
   2418 
   2419 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2420 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2421 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2422 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2423 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2424 
   2425 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2426 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2427 
   2428 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2429 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2430 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2431 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2432 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2433 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2434 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2435 
   2436 _ASUNAME
   2437 
   2438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2439 for as_dir in $PATH
   2440 do
   2441   IFS=$as_save_IFS
   2442   case $as_dir in #(((
   2443     '') as_dir=./ ;;
   2444     */) ;;
   2445     *) as_dir=$as_dir/ ;;
   2446   esac
   2447     printf "%s\n" "PATH: $as_dir"
   2448   done
   2449 IFS=$as_save_IFS
   2450 
   2451 } >&5
   2452 
   2453 cat >&5 <<_ACEOF
   2454 
   2455 
   2456 ## ----------- ##
   2457 ## Core tests. ##
   2458 ## ----------- ##
   2459 
   2460 _ACEOF
   2461 
   2462 
   2463 # Keep a trace of the command line.
   2464 # Strip out --no-create and --no-recursion so they do not pile up.
   2465 # Strip out --silent because we don't want to record it for future runs.
   2466 # Also quote any args containing shell meta-characters.
   2467 # Make two passes to allow for proper duplicate-argument suppression.
   2468 ac_configure_args=
   2469 ac_configure_args0=
   2470 ac_configure_args1=
   2471 ac_must_keep_next=false
   2472 for ac_pass in 1 2
   2473 do
   2474   for ac_arg
   2475   do
   2476     case $ac_arg in
   2477     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2478     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2479     | -silent | --silent | --silen | --sile | --sil)
   2480       continue ;;
   2481     *\'*)
   2482       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2483     esac
   2484     case $ac_pass in
   2485     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2486     2)
   2487       as_fn_append ac_configure_args1 " '$ac_arg'"
   2488       if test $ac_must_keep_next = true; then
   2489 	ac_must_keep_next=false # Got value, back to normal.
   2490       else
   2491 	case $ac_arg in
   2492 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2493 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2494 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2495 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2496 	    case "$ac_configure_args0 " in
   2497 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2498 	    esac
   2499 	    ;;
   2500 	  -* ) ac_must_keep_next=true ;;
   2501 	esac
   2502       fi
   2503       as_fn_append ac_configure_args " '$ac_arg'"
   2504       ;;
   2505     esac
   2506   done
   2507 done
   2508 { ac_configure_args0=; unset ac_configure_args0;}
   2509 { ac_configure_args1=; unset ac_configure_args1;}
   2510 
   2511 # When interrupted or exit'd, cleanup temporary files, and complete
   2512 # config.log.  We remove comments because anyway the quotes in there
   2513 # would cause problems or look ugly.
   2514 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2515 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2516 trap 'exit_status=$?
   2517   # Sanitize IFS.
   2518   IFS=" ""	$as_nl"
   2519   # Save into config.log some information that might help in debugging.
   2520   {
   2521     echo
   2522 
   2523     printf "%s\n" "## ---------------- ##
   2524 ## Cache variables. ##
   2525 ## ---------------- ##"
   2526     echo
   2527     # The following way of writing the cache mishandles newlines in values,
   2528 (
   2529   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2530     eval ac_val=\$$ac_var
   2531     case $ac_val in #(
   2532     *${as_nl}*)
   2533       case $ac_var in #(
   2534       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2535 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2536       esac
   2537       case $ac_var in #(
   2538       _ | IFS | as_nl) ;; #(
   2539       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2540       *) { eval $ac_var=; unset $ac_var;} ;;
   2541       esac ;;
   2542     esac
   2543   done
   2544   (set) 2>&1 |
   2545     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2546     *${as_nl}ac_space=\ *)
   2547       sed -n \
   2548 	"s/'\''/'\''\\\\'\'''\''/g;
   2549 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2550       ;; #(
   2551     *)
   2552       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2553       ;;
   2554     esac |
   2555     sort
   2556 )
   2557     echo
   2558 
   2559     printf "%s\n" "## ----------------- ##
   2560 ## Output variables. ##
   2561 ## ----------------- ##"
   2562     echo
   2563     for ac_var in $ac_subst_vars
   2564     do
   2565       eval ac_val=\$$ac_var
   2566       case $ac_val in
   2567       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2568       esac
   2569       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2570     done | sort
   2571     echo
   2572 
   2573     if test -n "$ac_subst_files"; then
   2574       printf "%s\n" "## ------------------- ##
   2575 ## File substitutions. ##
   2576 ## ------------------- ##"
   2577       echo
   2578       for ac_var in $ac_subst_files
   2579       do
   2580 	eval ac_val=\$$ac_var
   2581 	case $ac_val in
   2582 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2583 	esac
   2584 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2585       done | sort
   2586       echo
   2587     fi
   2588 
   2589     if test -s confdefs.h; then
   2590       printf "%s\n" "## ----------- ##
   2591 ## confdefs.h. ##
   2592 ## ----------- ##"
   2593       echo
   2594       cat confdefs.h
   2595       echo
   2596     fi
   2597     test "$ac_signal" != 0 &&
   2598       printf "%s\n" "$as_me: caught signal $ac_signal"
   2599     printf "%s\n" "$as_me: exit $exit_status"
   2600   } >&5
   2601   rm -f core *.core core.conftest.* &&
   2602     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2603     exit $exit_status
   2604 ' 0
   2605 for ac_signal in 1 2 13 15; do
   2606   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2607 done
   2608 ac_signal=0
   2609 
   2610 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2611 rm -f -r conftest* confdefs.h
   2612 
   2613 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2614 
   2615 # Predefined preprocessor variables.
   2616 
   2617 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2618 
   2619 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2620 
   2621 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2622 
   2623 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2624 
   2625 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2626 
   2627 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2628 
   2629 
   2630 # Let the site file select an alternate cache file if it wants to.
   2631 # Prefer an explicitly selected file to automatically selected ones.
   2632 if test -n "$CONFIG_SITE"; then
   2633   ac_site_files="$CONFIG_SITE"
   2634 elif test "x$prefix" != xNONE; then
   2635   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2636 else
   2637   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2638 fi
   2639 
   2640 for ac_site_file in $ac_site_files
   2641 do
   2642   case $ac_site_file in #(
   2643   */*) :
   2644      ;; #(
   2645   *) :
   2646     ac_site_file=./$ac_site_file ;;
   2647 esac
   2648   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2649     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2650 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2651     sed 's/^/| /' "$ac_site_file" >&5
   2652     . "$ac_site_file" \
   2653       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2654 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2655 as_fn_error $? "failed to load site script $ac_site_file
   2656 See \`config.log' for more details" "$LINENO" 5; }
   2657   fi
   2658 done
   2659 
   2660 if test -r "$cache_file"; then
   2661   # Some versions of bash will fail to source /dev/null (special files
   2662   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2663   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2664     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2665 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2666     case $cache_file in
   2667       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2668       *)                      . "./$cache_file";;
   2669     esac
   2670   fi
   2671 else
   2672   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2673 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2674   >$cache_file
   2675 fi
   2676 
   2677 # Test code for whether the C compiler supports C89 (global declarations)
   2678 ac_c_conftest_c89_globals='
   2679 /* Does the compiler advertise C89 conformance?
   2680    Do not test the value of __STDC__, because some compilers set it to 0
   2681    while being otherwise adequately conformant. */
   2682 #if !defined __STDC__
   2683 # error "Compiler does not advertise C89 conformance"
   2684 #endif
   2685 
   2686 #include <stddef.h>
   2687 #include <stdarg.h>
   2688 struct stat;
   2689 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2690 struct buf { int x; };
   2691 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2692 static char *e (p, i)
   2693      char **p;
   2694      int i;
   2695 {
   2696   return p[i];
   2697 }
   2698 static char *f (char * (*g) (char **, int), char **p, ...)
   2699 {
   2700   char *s;
   2701   va_list v;
   2702   va_start (v,p);
   2703   s = g (p, va_arg (v,int));
   2704   va_end (v);
   2705   return s;
   2706 }
   2707 
   2708 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2709    function prototypes and stuff, but not \xHH hex character constants.
   2710    These do not provoke an error unfortunately, instead are silently treated
   2711    as an "x".  The following induces an error, until -std is added to get
   2712    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2713    array size at least.  It is necessary to write \x00 == 0 to get something
   2714    that is true only with -std.  */
   2715 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2716 
   2717 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2718    inside strings and character constants.  */
   2719 #define FOO(x) '\''x'\''
   2720 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2721 
   2722 int test (int i, double x);
   2723 struct s1 {int (*f) (int a);};
   2724 struct s2 {int (*f) (double a);};
   2725 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2726                int, int);'
   2727 
   2728 # Test code for whether the C compiler supports C89 (body of main).
   2729 ac_c_conftest_c89_main='
   2730 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2731 '
   2732 
   2733 # Test code for whether the C compiler supports C99 (global declarations)
   2734 ac_c_conftest_c99_globals='
   2735 // Does the compiler advertise C99 conformance?
   2736 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2737 # error "Compiler does not advertise C99 conformance"
   2738 #endif
   2739 
   2740 #include <stdbool.h>
   2741 extern int puts (const char *);
   2742 extern int printf (const char *, ...);
   2743 extern int dprintf (int, const char *, ...);
   2744 extern void *malloc (size_t);
   2745 
   2746 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2747 // dprintf is used instead of fprintf to avoid needing to declare
   2748 // FILE and stderr.
   2749 #define debug(...) dprintf (2, __VA_ARGS__)
   2750 #define showlist(...) puts (#__VA_ARGS__)
   2751 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2752 static void
   2753 test_varargs_macros (void)
   2754 {
   2755   int x = 1234;
   2756   int y = 5678;
   2757   debug ("Flag");
   2758   debug ("X = %d\n", x);
   2759   showlist (The first, second, and third items.);
   2760   report (x>y, "x is %d but y is %d", x, y);
   2761 }
   2762 
   2763 // Check long long types.
   2764 #define BIG64 18446744073709551615ull
   2765 #define BIG32 4294967295ul
   2766 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2767 #if !BIG_OK
   2768   #error "your preprocessor is broken"
   2769 #endif
   2770 #if BIG_OK
   2771 #else
   2772   #error "your preprocessor is broken"
   2773 #endif
   2774 static long long int bignum = -9223372036854775807LL;
   2775 static unsigned long long int ubignum = BIG64;
   2776 
   2777 struct incomplete_array
   2778 {
   2779   int datasize;
   2780   double data[];
   2781 };
   2782 
   2783 struct named_init {
   2784   int number;
   2785   const wchar_t *name;
   2786   double average;
   2787 };
   2788 
   2789 typedef const char *ccp;
   2790 
   2791 static inline int
   2792 test_restrict (ccp restrict text)
   2793 {
   2794   // See if C++-style comments work.
   2795   // Iterate through items via the restricted pointer.
   2796   // Also check for declarations in for loops.
   2797   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2798     continue;
   2799   return 0;
   2800 }
   2801 
   2802 // Check varargs and va_copy.
   2803 static bool
   2804 test_varargs (const char *format, ...)
   2805 {
   2806   va_list args;
   2807   va_start (args, format);
   2808   va_list args_copy;
   2809   va_copy (args_copy, args);
   2810 
   2811   const char *str = "";
   2812   int number = 0;
   2813   float fnumber = 0;
   2814 
   2815   while (*format)
   2816     {
   2817       switch (*format++)
   2818 	{
   2819 	case '\''s'\'': // string
   2820 	  str = va_arg (args_copy, const char *);
   2821 	  break;
   2822 	case '\''d'\'': // int
   2823 	  number = va_arg (args_copy, int);
   2824 	  break;
   2825 	case '\''f'\'': // float
   2826 	  fnumber = va_arg (args_copy, double);
   2827 	  break;
   2828 	default:
   2829 	  break;
   2830 	}
   2831     }
   2832   va_end (args_copy);
   2833   va_end (args);
   2834 
   2835   return *str && number && fnumber;
   2836 }
   2837 '
   2838 
   2839 # Test code for whether the C compiler supports C99 (body of main).
   2840 ac_c_conftest_c99_main='
   2841   // Check bool.
   2842   _Bool success = false;
   2843   success |= (argc != 0);
   2844 
   2845   // Check restrict.
   2846   if (test_restrict ("String literal") == 0)
   2847     success = true;
   2848   char *restrict newvar = "Another string";
   2849 
   2850   // Check varargs.
   2851   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2852   test_varargs_macros ();
   2853 
   2854   // Check flexible array members.
   2855   struct incomplete_array *ia =
   2856     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2857   ia->datasize = 10;
   2858   for (int i = 0; i < ia->datasize; ++i)
   2859     ia->data[i] = i * 1.234;
   2860 
   2861   // Check named initializers.
   2862   struct named_init ni = {
   2863     .number = 34,
   2864     .name = L"Test wide string",
   2865     .average = 543.34343,
   2866   };
   2867 
   2868   ni.number = 58;
   2869 
   2870   int dynamic_array[ni.number];
   2871   dynamic_array[0] = argv[0][0];
   2872   dynamic_array[ni.number - 1] = 543;
   2873 
   2874   // work around unused variable warnings
   2875   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2876 	 || dynamic_array[ni.number - 1] != 543);
   2877 '
   2878 
   2879 # Test code for whether the C compiler supports C11 (global declarations)
   2880 ac_c_conftest_c11_globals='
   2881 // Does the compiler advertise C11 conformance?
   2882 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2883 # error "Compiler does not advertise C11 conformance"
   2884 #endif
   2885 
   2886 // Check _Alignas.
   2887 char _Alignas (double) aligned_as_double;
   2888 char _Alignas (0) no_special_alignment;
   2889 extern char aligned_as_int;
   2890 char _Alignas (0) _Alignas (int) aligned_as_int;
   2891 
   2892 // Check _Alignof.
   2893 enum
   2894 {
   2895   int_alignment = _Alignof (int),
   2896   int_array_alignment = _Alignof (int[100]),
   2897   char_alignment = _Alignof (char)
   2898 };
   2899 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2900 
   2901 // Check _Noreturn.
   2902 int _Noreturn does_not_return (void) { for (;;) continue; }
   2903 
   2904 // Check _Static_assert.
   2905 struct test_static_assert
   2906 {
   2907   int x;
   2908   _Static_assert (sizeof (int) <= sizeof (long int),
   2909                   "_Static_assert does not work in struct");
   2910   long int y;
   2911 };
   2912 
   2913 // Check UTF-8 literals.
   2914 #define u8 syntax error!
   2915 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2916 
   2917 // Check duplicate typedefs.
   2918 typedef long *long_ptr;
   2919 typedef long int *long_ptr;
   2920 typedef long_ptr long_ptr;
   2921 
   2922 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2923 struct anonymous
   2924 {
   2925   union {
   2926     struct { int i; int j; };
   2927     struct { int k; long int l; } w;
   2928   };
   2929   int m;
   2930 } v1;
   2931 '
   2932 
   2933 # Test code for whether the C compiler supports C11 (body of main).
   2934 ac_c_conftest_c11_main='
   2935   _Static_assert ((offsetof (struct anonymous, i)
   2936 		   == offsetof (struct anonymous, w.k)),
   2937 		  "Anonymous union alignment botch");
   2938   v1.i = 2;
   2939   v1.w.k = 5;
   2940   ok |= v1.i != 5;
   2941 '
   2942 
   2943 # Test code for whether the C compiler supports C11 (complete).
   2944 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2945 ${ac_c_conftest_c99_globals}
   2946 ${ac_c_conftest_c11_globals}
   2947 
   2948 int
   2949 main (int argc, char **argv)
   2950 {
   2951   int ok = 0;
   2952   ${ac_c_conftest_c89_main}
   2953   ${ac_c_conftest_c99_main}
   2954   ${ac_c_conftest_c11_main}
   2955   return ok;
   2956 }
   2957 "
   2958 
   2959 # Test code for whether the C compiler supports C99 (complete).
   2960 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2961 ${ac_c_conftest_c99_globals}
   2962 
   2963 int
   2964 main (int argc, char **argv)
   2965 {
   2966   int ok = 0;
   2967   ${ac_c_conftest_c89_main}
   2968   ${ac_c_conftest_c99_main}
   2969   return ok;
   2970 }
   2971 "
   2972 
   2973 # Test code for whether the C compiler supports C89 (complete).
   2974 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2975 
   2976 int
   2977 main (int argc, char **argv)
   2978 {
   2979   int ok = 0;
   2980   ${ac_c_conftest_c89_main}
   2981   return ok;
   2982 }
   2983 "
   2984 
   2985 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2986 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2987 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2988 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2989 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2990 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2991 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2992 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2993 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2994 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
   2995 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
   2996 gt_needs="$gt_needs "
   2997 as_fn_append ac_func_c_list " vprintf HAVE_VPRINTF"
   2998 as_fn_append ac_header_c_list " sys/param.h sys_param_h HAVE_SYS_PARAM_H"
   2999 as_fn_append ac_func_c_list " getpagesize HAVE_GETPAGESIZE"
   3000 
   3001 # Auxiliary files required by this configure script.
   3002 ac_aux_files="config.rpath config.guess config.sub ltmain.sh compile missing install-sh"
   3003 
   3004 # Locations in which to look for auxiliary files.
   3005 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   3006 
   3007 # Search for a directory containing all of the required auxiliary files,
   3008 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   3009 # If we don't find one directory that contains all the files we need,
   3010 # we report the set of missing files from the *first* directory in
   3011 # $ac_aux_dir_candidates and give up.
   3012 ac_missing_aux_files=""
   3013 ac_first_candidate=:
   3014 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   3015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3016 as_found=false
   3017 for as_dir in $ac_aux_dir_candidates
   3018 do
   3019   IFS=$as_save_IFS
   3020   case $as_dir in #(((
   3021     '') as_dir=./ ;;
   3022     */) ;;
   3023     *) as_dir=$as_dir/ ;;
   3024   esac
   3025   as_found=:
   3026 
   3027   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   3028   ac_aux_dir_found=yes
   3029   ac_install_sh=
   3030   for ac_aux in $ac_aux_files
   3031   do
   3032     # As a special case, if "install-sh" is required, that requirement
   3033     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   3034     # and $ac_install_sh is set appropriately for whichever one is found.
   3035     if test x"$ac_aux" = x"install-sh"
   3036     then
   3037       if test -f "${as_dir}install-sh"; then
   3038         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   3039         ac_install_sh="${as_dir}install-sh -c"
   3040       elif test -f "${as_dir}install.sh"; then
   3041         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   3042         ac_install_sh="${as_dir}install.sh -c"
   3043       elif test -f "${as_dir}shtool"; then
   3044         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   3045         ac_install_sh="${as_dir}shtool install -c"
   3046       else
   3047         ac_aux_dir_found=no
   3048         if $ac_first_candidate; then
   3049           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   3050         else
   3051           break
   3052         fi
   3053       fi
   3054     else
   3055       if test -f "${as_dir}${ac_aux}"; then
   3056         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   3057       else
   3058         ac_aux_dir_found=no
   3059         if $ac_first_candidate; then
   3060           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   3061         else
   3062           break
   3063         fi
   3064       fi
   3065     fi
   3066   done
   3067   if test "$ac_aux_dir_found" = yes; then
   3068     ac_aux_dir="$as_dir"
   3069     break
   3070   fi
   3071   ac_first_candidate=false
   3072 
   3073   as_found=false
   3074 done
   3075 IFS=$as_save_IFS
   3076 if $as_found
   3077 then :
   3078 
   3079 else $as_nop
   3080   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   3081 fi
   3082 
   3083 
   3084 # These three variables are undocumented and unsupported,
   3085 # and are intended to be withdrawn in a future Autoconf release.
   3086 # They can cause serious problems if a builder's source tree is in a directory
   3087 # whose full name contains unusual characters.
   3088 if test -f "${ac_aux_dir}config.guess"; then
   3089   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   3090 fi
   3091 if test -f "${ac_aux_dir}config.sub"; then
   3092   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   3093 fi
   3094 if test -f "$ac_aux_dir/configure"; then
   3095   ac_configure="$SHELL ${ac_aux_dir}configure"
   3096 fi
   3097 
   3098 # Check that the precious variables saved in the cache have kept the same
   3099 # value.
   3100 ac_cache_corrupted=false
   3101 for ac_var in $ac_precious_vars; do
   3102   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   3103   eval ac_new_set=\$ac_env_${ac_var}_set
   3104   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   3105   eval ac_new_val=\$ac_env_${ac_var}_value
   3106   case $ac_old_set,$ac_new_set in
   3107     set,)
   3108       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   3109 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   3110       ac_cache_corrupted=: ;;
   3111     ,set)
   3112       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   3113 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   3114       ac_cache_corrupted=: ;;
   3115     ,);;
   3116     *)
   3117       if test "x$ac_old_val" != "x$ac_new_val"; then
   3118 	# differences in whitespace do not lead to failure.
   3119 	ac_old_val_w=`echo x $ac_old_val`
   3120 	ac_new_val_w=`echo x $ac_new_val`
   3121 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   3122 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   3123 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   3124 	  ac_cache_corrupted=:
   3125 	else
   3126 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   3127 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   3128 	  eval $ac_var=\$ac_old_val
   3129 	fi
   3130 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   3131 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   3132 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   3133 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   3134       fi;;
   3135   esac
   3136   # Pass precious variables to config.status.
   3137   if test "$ac_new_set" = set; then
   3138     case $ac_new_val in
   3139     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   3140     *) ac_arg=$ac_var=$ac_new_val ;;
   3141     esac
   3142     case " $ac_configure_args " in
   3143       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   3144       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   3145     esac
   3146   fi
   3147 done
   3148 if $ac_cache_corrupted; then
   3149   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3150 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3151   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   3152 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   3153   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   3154 	    and start over" "$LINENO" 5
   3155 fi
   3156 ## -------------------- ##
   3157 ## Main body of script. ##
   3158 ## -------------------- ##
   3159 
   3160 ac_ext=c
   3161 ac_cpp='$CPP $CPPFLAGS'
   3162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3165 
   3166 
   3167 am__api_version='1.16'
   3168 
   3169 
   3170 
   3171   # Find a good install program.  We prefer a C program (faster),
   3172 # so one script is as good as another.  But avoid the broken or
   3173 # incompatible versions:
   3174 # SysV /etc/install, /usr/sbin/install
   3175 # SunOS /usr/etc/install
   3176 # IRIX /sbin/install
   3177 # AIX /bin/install
   3178 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3179 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3180 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3181 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3182 # OS/2's system install, which has a completely different semantic
   3183 # ./install, which can be erroneously created by make from ./install.sh.
   3184 # Reject install programs that cannot install multiple files.
   3185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3186 printf %s "checking for a BSD-compatible install... " >&6; }
   3187 if test -z "$INSTALL"; then
   3188 if test ${ac_cv_path_install+y}
   3189 then :
   3190   printf %s "(cached) " >&6
   3191 else $as_nop
   3192   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3193 for as_dir in $PATH
   3194 do
   3195   IFS=$as_save_IFS
   3196   case $as_dir in #(((
   3197     '') as_dir=./ ;;
   3198     */) ;;
   3199     *) as_dir=$as_dir/ ;;
   3200   esac
   3201     # Account for fact that we put trailing slashes in our PATH walk.
   3202 case $as_dir in #((
   3203   ./ | /[cC]/* | \
   3204   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3205   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3206   /usr/ucb/* ) ;;
   3207   *)
   3208     # OSF1 and SCO ODT 3.0 have their own names for install.
   3209     # Don't use installbsd from OSF since it installs stuff as root
   3210     # by default.
   3211     for ac_prog in ginstall scoinst install; do
   3212       for ac_exec_ext in '' $ac_executable_extensions; do
   3213 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   3214 	  if test $ac_prog = install &&
   3215 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3216 	    # AIX install.  It has an incompatible calling convention.
   3217 	    :
   3218 	  elif test $ac_prog = install &&
   3219 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3220 	    # program-specific install script used by HP pwplus--don't use.
   3221 	    :
   3222 	  else
   3223 	    rm -rf conftest.one conftest.two conftest.dir
   3224 	    echo one > conftest.one
   3225 	    echo two > conftest.two
   3226 	    mkdir conftest.dir
   3227 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   3228 	      test -s conftest.one && test -s conftest.two &&
   3229 	      test -s conftest.dir/conftest.one &&
   3230 	      test -s conftest.dir/conftest.two
   3231 	    then
   3232 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   3233 	      break 3
   3234 	    fi
   3235 	  fi
   3236 	fi
   3237       done
   3238     done
   3239     ;;
   3240 esac
   3241 
   3242   done
   3243 IFS=$as_save_IFS
   3244 
   3245 rm -rf conftest.one conftest.two conftest.dir
   3246 
   3247 fi
   3248   if test ${ac_cv_path_install+y}; then
   3249     INSTALL=$ac_cv_path_install
   3250   else
   3251     # As a last resort, use the slow shell script.  Don't cache a
   3252     # value for INSTALL within a source directory, because that will
   3253     # break other packages using the cache if that directory is
   3254     # removed, or if the value is a relative name.
   3255     INSTALL=$ac_install_sh
   3256   fi
   3257 fi
   3258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3259 printf "%s\n" "$INSTALL" >&6; }
   3260 
   3261 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3262 # It thinks the first close brace ends the variable substitution.
   3263 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3264 
   3265 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3266 
   3267 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3268 
   3269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3270 printf %s "checking whether build environment is sane... " >&6; }
   3271 # Reject unsafe characters in $srcdir or the absolute working directory
   3272 # name.  Accept space and tab only in the latter.
   3273 am_lf='
   3274 '
   3275 case `pwd` in
   3276   *[\\\"\#\$\&\'\`$am_lf]*)
   3277     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3278 esac
   3279 case $srcdir in
   3280   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3281     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   3282 esac
   3283 
   3284 # Do 'set' in a subshell so we don't clobber the current shell's
   3285 # arguments.  Must try -L first in case configure is actually a
   3286 # symlink; some systems play weird games with the mod time of symlinks
   3287 # (eg FreeBSD returns the mod time of the symlink's containing
   3288 # directory).
   3289 if (
   3290    am_has_slept=no
   3291    for am_try in 1 2; do
   3292      echo "timestamp, slept: $am_has_slept" > conftest.file
   3293      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3294      if test "$*" = "X"; then
   3295 	# -L didn't work.
   3296 	set X `ls -t "$srcdir/configure" conftest.file`
   3297      fi
   3298      if test "$*" != "X $srcdir/configure conftest.file" \
   3299 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   3300 
   3301 	# If neither matched, then we have a broken ls.  This can happen
   3302 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   3303 	# broken ls alias from the environment.  This has actually
   3304 	# happened.  Such a system could not be considered "sane".
   3305 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   3306   alias in your environment" "$LINENO" 5
   3307      fi
   3308      if test "$2" = conftest.file || test $am_try -eq 2; then
   3309        break
   3310      fi
   3311      # Just in case.
   3312      sleep 1
   3313      am_has_slept=yes
   3314    done
   3315    test "$2" = conftest.file
   3316    )
   3317 then
   3318    # Ok.
   3319    :
   3320 else
   3321    as_fn_error $? "newly created file is older than distributed files!
   3322 Check your system clock" "$LINENO" 5
   3323 fi
   3324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3325 printf "%s\n" "yes" >&6; }
   3326 # If we didn't sleep, we still need to ensure time stamps of config.status and
   3327 # generated files are strictly newer.
   3328 am_sleep_pid=
   3329 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   3330   ( sleep 1 ) &
   3331   am_sleep_pid=$!
   3332 fi
   3333 
   3334 rm -f conftest.file
   3335 
   3336 test "$program_prefix" != NONE &&
   3337   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3338 # Use a double $ so make ignores it.
   3339 test "$program_suffix" != NONE &&
   3340   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3341 # Double any \ or $.
   3342 # By default was `s,x,x', remove it if useless.
   3343 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3344 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   3345 
   3346 
   3347 # Expand $ac_aux_dir to an absolute path.
   3348 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   3349 
   3350 
   3351   if test x"${MISSING+set}" != xset; then
   3352   MISSING="\${SHELL} '$am_aux_dir/missing'"
   3353 fi
   3354 # Use eval to expand $SHELL
   3355 if eval "$MISSING --is-lightweight"; then
   3356   am_missing_run="$MISSING "
   3357 else
   3358   am_missing_run=
   3359   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3360 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3361 fi
   3362 
   3363 if test x"${install_sh+set}" != xset; then
   3364   case $am_aux_dir in
   3365   *\ * | *\	*)
   3366     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3367   *)
   3368     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3369   esac
   3370 fi
   3371 
   3372 # Installed binaries are usually stripped using 'strip' when the user
   3373 # run "make install-strip".  However 'strip' might not be the right
   3374 # tool to use in cross-compilation environments, therefore Automake
   3375 # will honor the 'STRIP' environment variable to overrule this program.
   3376 if test "$cross_compiling" != no; then
   3377   if test -n "$ac_tool_prefix"; then
   3378   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3379 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3381 printf %s "checking for $ac_word... " >&6; }
   3382 if test ${ac_cv_prog_STRIP+y}
   3383 then :
   3384   printf %s "(cached) " >&6
   3385 else $as_nop
   3386   if test -n "$STRIP"; then
   3387   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3388 else
   3389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3390 for as_dir in $PATH
   3391 do
   3392   IFS=$as_save_IFS
   3393   case $as_dir in #(((
   3394     '') as_dir=./ ;;
   3395     */) ;;
   3396     *) as_dir=$as_dir/ ;;
   3397   esac
   3398     for ac_exec_ext in '' $ac_executable_extensions; do
   3399   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3400     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3401     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3402     break 2
   3403   fi
   3404 done
   3405   done
   3406 IFS=$as_save_IFS
   3407 
   3408 fi
   3409 fi
   3410 STRIP=$ac_cv_prog_STRIP
   3411 if test -n "$STRIP"; then
   3412   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3413 printf "%s\n" "$STRIP" >&6; }
   3414 else
   3415   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3416 printf "%s\n" "no" >&6; }
   3417 fi
   3418 
   3419 
   3420 fi
   3421 if test -z "$ac_cv_prog_STRIP"; then
   3422   ac_ct_STRIP=$STRIP
   3423   # Extract the first word of "strip", so it can be a program name with args.
   3424 set dummy strip; ac_word=$2
   3425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3426 printf %s "checking for $ac_word... " >&6; }
   3427 if test ${ac_cv_prog_ac_ct_STRIP+y}
   3428 then :
   3429   printf %s "(cached) " >&6
   3430 else $as_nop
   3431   if test -n "$ac_ct_STRIP"; then
   3432   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3433 else
   3434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3435 for as_dir in $PATH
   3436 do
   3437   IFS=$as_save_IFS
   3438   case $as_dir in #(((
   3439     '') as_dir=./ ;;
   3440     */) ;;
   3441     *) as_dir=$as_dir/ ;;
   3442   esac
   3443     for ac_exec_ext in '' $ac_executable_extensions; do
   3444   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3445     ac_cv_prog_ac_ct_STRIP="strip"
   3446     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3447     break 2
   3448   fi
   3449 done
   3450   done
   3451 IFS=$as_save_IFS
   3452 
   3453 fi
   3454 fi
   3455 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3456 if test -n "$ac_ct_STRIP"; then
   3457   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3458 printf "%s\n" "$ac_ct_STRIP" >&6; }
   3459 else
   3460   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3461 printf "%s\n" "no" >&6; }
   3462 fi
   3463 
   3464   if test "x$ac_ct_STRIP" = x; then
   3465     STRIP=":"
   3466   else
   3467     case $cross_compiling:$ac_tool_warned in
   3468 yes:)
   3469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3470 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3471 ac_tool_warned=yes ;;
   3472 esac
   3473     STRIP=$ac_ct_STRIP
   3474   fi
   3475 else
   3476   STRIP="$ac_cv_prog_STRIP"
   3477 fi
   3478 
   3479 fi
   3480 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3481 
   3482 
   3483   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   3484 printf %s "checking for a race-free mkdir -p... " >&6; }
   3485 if test -z "$MKDIR_P"; then
   3486   if test ${ac_cv_path_mkdir+y}
   3487 then :
   3488   printf %s "(cached) " >&6
   3489 else $as_nop
   3490   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3491 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3492 do
   3493   IFS=$as_save_IFS
   3494   case $as_dir in #(((
   3495     '') as_dir=./ ;;
   3496     */) ;;
   3497     *) as_dir=$as_dir/ ;;
   3498   esac
   3499     for ac_prog in mkdir gmkdir; do
   3500 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3501 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3502 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3503 	     'mkdir ('*'coreutils) '* | \
   3504 	     'BusyBox '* | \
   3505 	     'mkdir (fileutils) '4.1*)
   3506 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3507 	       break 3;;
   3508 	   esac
   3509 	 done
   3510        done
   3511   done
   3512 IFS=$as_save_IFS
   3513 
   3514 fi
   3515 
   3516   test -d ./--version && rmdir ./--version
   3517   if test ${ac_cv_path_mkdir+y}; then
   3518     MKDIR_P="$ac_cv_path_mkdir -p"
   3519   else
   3520     # As a last resort, use the slow shell script.  Don't cache a
   3521     # value for MKDIR_P within a source directory, because that will
   3522     # break other packages using the cache if that directory is
   3523     # removed, or if the value is a relative name.
   3524     MKDIR_P="$ac_install_sh -d"
   3525   fi
   3526 fi
   3527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3528 printf "%s\n" "$MKDIR_P" >&6; }
   3529 
   3530 for ac_prog in gawk mawk nawk awk
   3531 do
   3532   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3533 set dummy $ac_prog; ac_word=$2
   3534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3535 printf %s "checking for $ac_word... " >&6; }
   3536 if test ${ac_cv_prog_AWK+y}
   3537 then :
   3538   printf %s "(cached) " >&6
   3539 else $as_nop
   3540   if test -n "$AWK"; then
   3541   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3542 else
   3543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3544 for as_dir in $PATH
   3545 do
   3546   IFS=$as_save_IFS
   3547   case $as_dir in #(((
   3548     '') as_dir=./ ;;
   3549     */) ;;
   3550     *) as_dir=$as_dir/ ;;
   3551   esac
   3552     for ac_exec_ext in '' $ac_executable_extensions; do
   3553   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3554     ac_cv_prog_AWK="$ac_prog"
   3555     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3556     break 2
   3557   fi
   3558 done
   3559   done
   3560 IFS=$as_save_IFS
   3561 
   3562 fi
   3563 fi
   3564 AWK=$ac_cv_prog_AWK
   3565 if test -n "$AWK"; then
   3566   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3567 printf "%s\n" "$AWK" >&6; }
   3568 else
   3569   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3570 printf "%s\n" "no" >&6; }
   3571 fi
   3572 
   3573 
   3574   test -n "$AWK" && break
   3575 done
   3576 
   3577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3578 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3579 set x ${MAKE-make}
   3580 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3581 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3582 then :
   3583   printf %s "(cached) " >&6
   3584 else $as_nop
   3585   cat >conftest.make <<\_ACEOF
   3586 SHELL = /bin/sh
   3587 all:
   3588 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3589 _ACEOF
   3590 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3591 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3592   *@@@%%%=?*=@@@%%%*)
   3593     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3594   *)
   3595     eval ac_cv_prog_make_${ac_make}_set=no;;
   3596 esac
   3597 rm -f conftest.make
   3598 fi
   3599 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3600   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3601 printf "%s\n" "yes" >&6; }
   3602   SET_MAKE=
   3603 else
   3604   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3605 printf "%s\n" "no" >&6; }
   3606   SET_MAKE="MAKE=${MAKE-make}"
   3607 fi
   3608 
   3609 rm -rf .tst 2>/dev/null
   3610 mkdir .tst 2>/dev/null
   3611 if test -d .tst; then
   3612   am__leading_dot=.
   3613 else
   3614   am__leading_dot=_
   3615 fi
   3616 rmdir .tst 2>/dev/null
   3617 
   3618 # Check whether --enable-silent-rules was given.
   3619 if test ${enable_silent_rules+y}
   3620 then :
   3621   enableval=$enable_silent_rules;
   3622 fi
   3623 
   3624 case $enable_silent_rules in # (((
   3625   yes) AM_DEFAULT_VERBOSITY=0;;
   3626    no) AM_DEFAULT_VERBOSITY=1;;
   3627     *) AM_DEFAULT_VERBOSITY=1;;
   3628 esac
   3629 am_make=${MAKE-make}
   3630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3631 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3632 if test ${am_cv_make_support_nested_variables+y}
   3633 then :
   3634   printf %s "(cached) " >&6
   3635 else $as_nop
   3636   if printf "%s\n" 'TRUE=$(BAR$(V))
   3637 BAR0=false
   3638 BAR1=true
   3639 V=1
   3640 am__doit:
   3641 	@$(TRUE)
   3642 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3643   am_cv_make_support_nested_variables=yes
   3644 else
   3645   am_cv_make_support_nested_variables=no
   3646 fi
   3647 fi
   3648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3649 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3650 if test $am_cv_make_support_nested_variables = yes; then
   3651     AM_V='$(V)'
   3652   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3653 else
   3654   AM_V=$AM_DEFAULT_VERBOSITY
   3655   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3656 fi
   3657 AM_BACKSLASH='\'
   3658 
   3659 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3660   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3661   # is not polluted with repeated "-I."
   3662   am__isrc=' -I$(srcdir)'
   3663   # test to see if srcdir already configured
   3664   if test -f $srcdir/config.status; then
   3665     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3666   fi
   3667 fi
   3668 
   3669 # test whether we have cygpath
   3670 if test -z "$CYGPATH_W"; then
   3671   if (cygpath --version) >/dev/null 2>/dev/null; then
   3672     CYGPATH_W='cygpath -w'
   3673   else
   3674     CYGPATH_W=echo
   3675   fi
   3676 fi
   3677 
   3678 
   3679 # Define the identity of the package.
   3680  PACKAGE='fontconfig'
   3681  VERSION='2.14.1'
   3682 
   3683 
   3684 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3685 
   3686 
   3687 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3688 
   3689 # Some tools Automake needs.
   3690 
   3691 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3692 
   3693 
   3694 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3695 
   3696 
   3697 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3698 
   3699 
   3700 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3701 
   3702 
   3703 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3704 
   3705 # For better backward compatibility.  To be removed once Automake 1.9.x
   3706 # dies out for good.  For more background, see:
   3707 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3708 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3709 mkdir_p='$(MKDIR_P)'
   3710 
   3711 # We need awk for the "check" target (and possibly the TAP driver).  The
   3712 # system "awk" is bad on some platforms.
   3713 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3714 # in the wild :-(  We should find a proper way to deprecate it ...
   3715 AMTAR='$${TAR-tar}'
   3716 
   3717 
   3718 # We'll loop over all known methods to create a tar archive until one works.
   3719 _am_tools='gnutar  pax cpio none'
   3720 
   3721 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3722 
   3723 
   3724 
   3725 
   3726 
   3727 # Variables for tags utilities; see am/tags.am
   3728 if test -z "$CTAGS"; then
   3729   CTAGS=ctags
   3730 fi
   3731 
   3732 if test -z "$ETAGS"; then
   3733   ETAGS=etags
   3734 fi
   3735 
   3736 if test -z "$CSCOPE"; then
   3737   CSCOPE=cscope
   3738 fi
   3739 
   3740 
   3741 
   3742 # POSIX will say in a future version that running "rm -f" with no argument
   3743 # is OK; and we want to be able to make that assumption in our Makefile
   3744 # recipes.  So use an aggressive probe to check that the usage we want is
   3745 # actually supported "in the wild" to an acceptable degree.
   3746 # See automake bug#10828.
   3747 # To make any issue more visible, cause the running configure to be aborted
   3748 # by default if the 'rm' program in use doesn't match our expectations; the
   3749 # user can still override this though.
   3750 if rm -f && rm -fr && rm -rf; then : OK; else
   3751   cat >&2 <<'END'
   3752 Oops!
   3753 
   3754 Your 'rm' program seems unable to run without file operands specified
   3755 on the command line, even when the '-f' option is present.  This is contrary
   3756 to the behaviour of most rm programs out there, and not conforming with
   3757 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3758 
   3759 Please tell bug-automake@gnu.org about your system, including the value
   3760 of your $PATH and any error possibly output before this message.  This
   3761 can help us improve future automake versions.
   3762 
   3763 END
   3764   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3765     echo 'Configuration will proceed anyway, since you have set the' >&2
   3766     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3767     echo >&2
   3768   else
   3769     cat >&2 <<'END'
   3770 Aborting the configuration process, to ensure you take notice of the issue.
   3771 
   3772 You can download and install GNU coreutils to get an 'rm' implementation
   3773 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3774 
   3775 If you want to complete the configuration process using your problematic
   3776 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3777 to "yes", and re-run configure.
   3778 
   3779 END
   3780     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3781   fi
   3782 fi
   3783 
   3784 # Check whether --enable-silent-rules was given.
   3785 if test ${enable_silent_rules+y}
   3786 then :
   3787   enableval=$enable_silent_rules;
   3788 fi
   3789 
   3790 case $enable_silent_rules in # (((
   3791   yes) AM_DEFAULT_VERBOSITY=0;;
   3792    no) AM_DEFAULT_VERBOSITY=1;;
   3793     *) AM_DEFAULT_VERBOSITY=0;;
   3794 esac
   3795 am_make=${MAKE-make}
   3796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3797 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3798 if test ${am_cv_make_support_nested_variables+y}
   3799 then :
   3800   printf %s "(cached) " >&6
   3801 else $as_nop
   3802   if printf "%s\n" 'TRUE=$(BAR$(V))
   3803 BAR0=false
   3804 BAR1=true
   3805 V=1
   3806 am__doit:
   3807 	@$(TRUE)
   3808 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3809   am_cv_make_support_nested_variables=yes
   3810 else
   3811   am_cv_make_support_nested_variables=no
   3812 fi
   3813 fi
   3814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3815 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3816 if test $am_cv_make_support_nested_variables = yes; then
   3817     AM_V='$(V)'
   3818   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3819 else
   3820   AM_V=$AM_DEFAULT_VERBOSITY
   3821   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3822 fi
   3823 AM_BACKSLASH='\'
   3824 
   3825 
   3826 
   3827 ac_config_headers="$ac_config_headers config.h"
   3828 
   3829 
   3830 
   3831 
   3832 
   3833 
   3834 
   3835 
   3836 
   3837 
   3838 
   3839 
   3840 ac_ext=c
   3841 ac_cpp='$CPP $CPPFLAGS'
   3842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3845 if test -n "$ac_tool_prefix"; then
   3846   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3847 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3849 printf %s "checking for $ac_word... " >&6; }
   3850 if test ${ac_cv_prog_CC+y}
   3851 then :
   3852   printf %s "(cached) " >&6
   3853 else $as_nop
   3854   if test -n "$CC"; then
   3855   ac_cv_prog_CC="$CC" # Let the user override the test.
   3856 else
   3857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3858 for as_dir in $PATH
   3859 do
   3860   IFS=$as_save_IFS
   3861   case $as_dir in #(((
   3862     '') as_dir=./ ;;
   3863     */) ;;
   3864     *) as_dir=$as_dir/ ;;
   3865   esac
   3866     for ac_exec_ext in '' $ac_executable_extensions; do
   3867   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3868     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3869     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3870     break 2
   3871   fi
   3872 done
   3873   done
   3874 IFS=$as_save_IFS
   3875 
   3876 fi
   3877 fi
   3878 CC=$ac_cv_prog_CC
   3879 if test -n "$CC"; then
   3880   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3881 printf "%s\n" "$CC" >&6; }
   3882 else
   3883   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3884 printf "%s\n" "no" >&6; }
   3885 fi
   3886 
   3887 
   3888 fi
   3889 if test -z "$ac_cv_prog_CC"; then
   3890   ac_ct_CC=$CC
   3891   # Extract the first word of "gcc", so it can be a program name with args.
   3892 set dummy gcc; ac_word=$2
   3893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3894 printf %s "checking for $ac_word... " >&6; }
   3895 if test ${ac_cv_prog_ac_ct_CC+y}
   3896 then :
   3897   printf %s "(cached) " >&6
   3898 else $as_nop
   3899   if test -n "$ac_ct_CC"; then
   3900   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3901 else
   3902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3903 for as_dir in $PATH
   3904 do
   3905   IFS=$as_save_IFS
   3906   case $as_dir in #(((
   3907     '') as_dir=./ ;;
   3908     */) ;;
   3909     *) as_dir=$as_dir/ ;;
   3910   esac
   3911     for ac_exec_ext in '' $ac_executable_extensions; do
   3912   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3913     ac_cv_prog_ac_ct_CC="gcc"
   3914     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3915     break 2
   3916   fi
   3917 done
   3918   done
   3919 IFS=$as_save_IFS
   3920 
   3921 fi
   3922 fi
   3923 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3924 if test -n "$ac_ct_CC"; then
   3925   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3926 printf "%s\n" "$ac_ct_CC" >&6; }
   3927 else
   3928   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3929 printf "%s\n" "no" >&6; }
   3930 fi
   3931 
   3932   if test "x$ac_ct_CC" = x; then
   3933     CC=""
   3934   else
   3935     case $cross_compiling:$ac_tool_warned in
   3936 yes:)
   3937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3938 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3939 ac_tool_warned=yes ;;
   3940 esac
   3941     CC=$ac_ct_CC
   3942   fi
   3943 else
   3944   CC="$ac_cv_prog_CC"
   3945 fi
   3946 
   3947 if test -z "$CC"; then
   3948           if test -n "$ac_tool_prefix"; then
   3949     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3950 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3952 printf %s "checking for $ac_word... " >&6; }
   3953 if test ${ac_cv_prog_CC+y}
   3954 then :
   3955   printf %s "(cached) " >&6
   3956 else $as_nop
   3957   if test -n "$CC"; then
   3958   ac_cv_prog_CC="$CC" # Let the user override the test.
   3959 else
   3960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3961 for as_dir in $PATH
   3962 do
   3963   IFS=$as_save_IFS
   3964   case $as_dir in #(((
   3965     '') as_dir=./ ;;
   3966     */) ;;
   3967     *) as_dir=$as_dir/ ;;
   3968   esac
   3969     for ac_exec_ext in '' $ac_executable_extensions; do
   3970   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3971     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3972     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3973     break 2
   3974   fi
   3975 done
   3976   done
   3977 IFS=$as_save_IFS
   3978 
   3979 fi
   3980 fi
   3981 CC=$ac_cv_prog_CC
   3982 if test -n "$CC"; then
   3983   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3984 printf "%s\n" "$CC" >&6; }
   3985 else
   3986   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3987 printf "%s\n" "no" >&6; }
   3988 fi
   3989 
   3990 
   3991   fi
   3992 fi
   3993 if test -z "$CC"; then
   3994   # Extract the first word of "cc", so it can be a program name with args.
   3995 set dummy cc; ac_word=$2
   3996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3997 printf %s "checking for $ac_word... " >&6; }
   3998 if test ${ac_cv_prog_CC+y}
   3999 then :
   4000   printf %s "(cached) " >&6
   4001 else $as_nop
   4002   if test -n "$CC"; then
   4003   ac_cv_prog_CC="$CC" # Let the user override the test.
   4004 else
   4005   ac_prog_rejected=no
   4006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4007 for as_dir in $PATH
   4008 do
   4009   IFS=$as_save_IFS
   4010   case $as_dir in #(((
   4011     '') as_dir=./ ;;
   4012     */) ;;
   4013     *) as_dir=$as_dir/ ;;
   4014   esac
   4015     for ac_exec_ext in '' $ac_executable_extensions; do
   4016   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4017     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   4018        ac_prog_rejected=yes
   4019        continue
   4020      fi
   4021     ac_cv_prog_CC="cc"
   4022     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4023     break 2
   4024   fi
   4025 done
   4026   done
   4027 IFS=$as_save_IFS
   4028 
   4029 if test $ac_prog_rejected = yes; then
   4030   # We found a bogon in the path, so make sure we never use it.
   4031   set dummy $ac_cv_prog_CC
   4032   shift
   4033   if test $# != 0; then
   4034     # We chose a different compiler from the bogus one.
   4035     # However, it has the same basename, so the bogon will be chosen
   4036     # first if we set CC to just the basename; use the full file name.
   4037     shift
   4038     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   4039   fi
   4040 fi
   4041 fi
   4042 fi
   4043 CC=$ac_cv_prog_CC
   4044 if test -n "$CC"; then
   4045   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4046 printf "%s\n" "$CC" >&6; }
   4047 else
   4048   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4049 printf "%s\n" "no" >&6; }
   4050 fi
   4051 
   4052 
   4053 fi
   4054 if test -z "$CC"; then
   4055   if test -n "$ac_tool_prefix"; then
   4056   for ac_prog in cl.exe
   4057   do
   4058     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4059 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4061 printf %s "checking for $ac_word... " >&6; }
   4062 if test ${ac_cv_prog_CC+y}
   4063 then :
   4064   printf %s "(cached) " >&6
   4065 else $as_nop
   4066   if test -n "$CC"; then
   4067   ac_cv_prog_CC="$CC" # Let the user override the test.
   4068 else
   4069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4070 for as_dir in $PATH
   4071 do
   4072   IFS=$as_save_IFS
   4073   case $as_dir in #(((
   4074     '') as_dir=./ ;;
   4075     */) ;;
   4076     *) as_dir=$as_dir/ ;;
   4077   esac
   4078     for ac_exec_ext in '' $ac_executable_extensions; do
   4079   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4080     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   4081     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4082     break 2
   4083   fi
   4084 done
   4085   done
   4086 IFS=$as_save_IFS
   4087 
   4088 fi
   4089 fi
   4090 CC=$ac_cv_prog_CC
   4091 if test -n "$CC"; then
   4092   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4093 printf "%s\n" "$CC" >&6; }
   4094 else
   4095   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4096 printf "%s\n" "no" >&6; }
   4097 fi
   4098 
   4099 
   4100     test -n "$CC" && break
   4101   done
   4102 fi
   4103 if test -z "$CC"; then
   4104   ac_ct_CC=$CC
   4105   for ac_prog in cl.exe
   4106 do
   4107   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4108 set dummy $ac_prog; ac_word=$2
   4109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4110 printf %s "checking for $ac_word... " >&6; }
   4111 if test ${ac_cv_prog_ac_ct_CC+y}
   4112 then :
   4113   printf %s "(cached) " >&6
   4114 else $as_nop
   4115   if test -n "$ac_ct_CC"; then
   4116   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4117 else
   4118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4119 for as_dir in $PATH
   4120 do
   4121   IFS=$as_save_IFS
   4122   case $as_dir in #(((
   4123     '') as_dir=./ ;;
   4124     */) ;;
   4125     *) as_dir=$as_dir/ ;;
   4126   esac
   4127     for ac_exec_ext in '' $ac_executable_extensions; do
   4128   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4129     ac_cv_prog_ac_ct_CC="$ac_prog"
   4130     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4131     break 2
   4132   fi
   4133 done
   4134   done
   4135 IFS=$as_save_IFS
   4136 
   4137 fi
   4138 fi
   4139 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4140 if test -n "$ac_ct_CC"; then
   4141   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4142 printf "%s\n" "$ac_ct_CC" >&6; }
   4143 else
   4144   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4145 printf "%s\n" "no" >&6; }
   4146 fi
   4147 
   4148 
   4149   test -n "$ac_ct_CC" && break
   4150 done
   4151 
   4152   if test "x$ac_ct_CC" = x; then
   4153     CC=""
   4154   else
   4155     case $cross_compiling:$ac_tool_warned in
   4156 yes:)
   4157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4158 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4159 ac_tool_warned=yes ;;
   4160 esac
   4161     CC=$ac_ct_CC
   4162   fi
   4163 fi
   4164 
   4165 fi
   4166 if test -z "$CC"; then
   4167   if test -n "$ac_tool_prefix"; then
   4168   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   4169 set dummy ${ac_tool_prefix}clang; ac_word=$2
   4170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4171 printf %s "checking for $ac_word... " >&6; }
   4172 if test ${ac_cv_prog_CC+y}
   4173 then :
   4174   printf %s "(cached) " >&6
   4175 else $as_nop
   4176   if test -n "$CC"; then
   4177   ac_cv_prog_CC="$CC" # Let the user override the test.
   4178 else
   4179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4180 for as_dir in $PATH
   4181 do
   4182   IFS=$as_save_IFS
   4183   case $as_dir in #(((
   4184     '') as_dir=./ ;;
   4185     */) ;;
   4186     *) as_dir=$as_dir/ ;;
   4187   esac
   4188     for ac_exec_ext in '' $ac_executable_extensions; do
   4189   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4190     ac_cv_prog_CC="${ac_tool_prefix}clang"
   4191     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4192     break 2
   4193   fi
   4194 done
   4195   done
   4196 IFS=$as_save_IFS
   4197 
   4198 fi
   4199 fi
   4200 CC=$ac_cv_prog_CC
   4201 if test -n "$CC"; then
   4202   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4203 printf "%s\n" "$CC" >&6; }
   4204 else
   4205   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4206 printf "%s\n" "no" >&6; }
   4207 fi
   4208 
   4209 
   4210 fi
   4211 if test -z "$ac_cv_prog_CC"; then
   4212   ac_ct_CC=$CC
   4213   # Extract the first word of "clang", so it can be a program name with args.
   4214 set dummy clang; ac_word=$2
   4215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4216 printf %s "checking for $ac_word... " >&6; }
   4217 if test ${ac_cv_prog_ac_ct_CC+y}
   4218 then :
   4219   printf %s "(cached) " >&6
   4220 else $as_nop
   4221   if test -n "$ac_ct_CC"; then
   4222   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4223 else
   4224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4225 for as_dir in $PATH
   4226 do
   4227   IFS=$as_save_IFS
   4228   case $as_dir in #(((
   4229     '') as_dir=./ ;;
   4230     */) ;;
   4231     *) as_dir=$as_dir/ ;;
   4232   esac
   4233     for ac_exec_ext in '' $ac_executable_extensions; do
   4234   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4235     ac_cv_prog_ac_ct_CC="clang"
   4236     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4237     break 2
   4238   fi
   4239 done
   4240   done
   4241 IFS=$as_save_IFS
   4242 
   4243 fi
   4244 fi
   4245 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4246 if test -n "$ac_ct_CC"; then
   4247   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4248 printf "%s\n" "$ac_ct_CC" >&6; }
   4249 else
   4250   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4251 printf "%s\n" "no" >&6; }
   4252 fi
   4253 
   4254   if test "x$ac_ct_CC" = x; then
   4255     CC=""
   4256   else
   4257     case $cross_compiling:$ac_tool_warned in
   4258 yes:)
   4259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4260 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4261 ac_tool_warned=yes ;;
   4262 esac
   4263     CC=$ac_ct_CC
   4264   fi
   4265 else
   4266   CC="$ac_cv_prog_CC"
   4267 fi
   4268 
   4269 fi
   4270 
   4271 
   4272 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4273 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4274 as_fn_error $? "no acceptable C compiler found in \$PATH
   4275 See \`config.log' for more details" "$LINENO" 5; }
   4276 
   4277 # Provide some information about the compiler.
   4278 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4279 set X $ac_compile
   4280 ac_compiler=$2
   4281 for ac_option in --version -v -V -qversion -version; do
   4282   { { ac_try="$ac_compiler $ac_option >&5"
   4283 case "(($ac_try" in
   4284   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4285   *) ac_try_echo=$ac_try;;
   4286 esac
   4287 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4288 printf "%s\n" "$ac_try_echo"; } >&5
   4289   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4290   ac_status=$?
   4291   if test -s conftest.err; then
   4292     sed '10a\
   4293 ... rest of stderr output deleted ...
   4294          10q' conftest.err >conftest.er1
   4295     cat conftest.er1 >&5
   4296   fi
   4297   rm -f conftest.er1 conftest.err
   4298   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4299   test $ac_status = 0; }
   4300 done
   4301 
   4302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4303 /* end confdefs.h.  */
   4304 
   4305 int
   4306 main (void)
   4307 {
   4308 
   4309   ;
   4310   return 0;
   4311 }
   4312 _ACEOF
   4313 ac_clean_files_save=$ac_clean_files
   4314 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   4315 # Try to create an executable without -o first, disregard a.out.
   4316 # It will help us diagnose broken compilers, and finding out an intuition
   4317 # of exeext.
   4318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4319 printf %s "checking whether the C compiler works... " >&6; }
   4320 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4321 
   4322 # The possible output files:
   4323 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4324 
   4325 ac_rmfiles=
   4326 for ac_file in $ac_files
   4327 do
   4328   case $ac_file in
   4329     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4330     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4331   esac
   4332 done
   4333 rm -f $ac_rmfiles
   4334 
   4335 if { { ac_try="$ac_link_default"
   4336 case "(($ac_try" in
   4337   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4338   *) ac_try_echo=$ac_try;;
   4339 esac
   4340 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4341 printf "%s\n" "$ac_try_echo"; } >&5
   4342   (eval "$ac_link_default") 2>&5
   4343   ac_status=$?
   4344   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4345   test $ac_status = 0; }
   4346 then :
   4347   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   4348 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   4349 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4350 # so that the user can short-circuit this test for compilers unknown to
   4351 # Autoconf.
   4352 for ac_file in $ac_files ''
   4353 do
   4354   test -f "$ac_file" || continue
   4355   case $ac_file in
   4356     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4357 	;;
   4358     [ab].out )
   4359 	# We found the default executable, but exeext='' is most
   4360 	# certainly right.
   4361 	break;;
   4362     *.* )
   4363 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4364 	then :; else
   4365 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4366 	fi
   4367 	# We set ac_cv_exeext here because the later test for it is not
   4368 	# safe: cross compilers may not add the suffix if given an `-o'
   4369 	# argument, so we may need to know it at that point already.
   4370 	# Even if this section looks crufty: it has the advantage of
   4371 	# actually working.
   4372 	break;;
   4373     * )
   4374 	break;;
   4375   esac
   4376 done
   4377 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4378 
   4379 else $as_nop
   4380   ac_file=''
   4381 fi
   4382 if test -z "$ac_file"
   4383 then :
   4384   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4385 printf "%s\n" "no" >&6; }
   4386 printf "%s\n" "$as_me: failed program was:" >&5
   4387 sed 's/^/| /' conftest.$ac_ext >&5
   4388 
   4389 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4390 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4391 as_fn_error 77 "C compiler cannot create executables
   4392 See \`config.log' for more details" "$LINENO" 5; }
   4393 else $as_nop
   4394   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4395 printf "%s\n" "yes" >&6; }
   4396 fi
   4397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4398 printf %s "checking for C compiler default output file name... " >&6; }
   4399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4400 printf "%s\n" "$ac_file" >&6; }
   4401 ac_exeext=$ac_cv_exeext
   4402 
   4403 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4404 ac_clean_files=$ac_clean_files_save
   4405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4406 printf %s "checking for suffix of executables... " >&6; }
   4407 if { { ac_try="$ac_link"
   4408 case "(($ac_try" in
   4409   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4410   *) ac_try_echo=$ac_try;;
   4411 esac
   4412 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4413 printf "%s\n" "$ac_try_echo"; } >&5
   4414   (eval "$ac_link") 2>&5
   4415   ac_status=$?
   4416   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4417   test $ac_status = 0; }
   4418 then :
   4419   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   4420 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   4421 # work properly (i.e., refer to `conftest.exe'), while it won't with
   4422 # `rm'.
   4423 for ac_file in conftest.exe conftest conftest.*; do
   4424   test -f "$ac_file" || continue
   4425   case $ac_file in
   4426     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4427     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4428 	  break;;
   4429     * ) break;;
   4430   esac
   4431 done
   4432 else $as_nop
   4433   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4434 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4435 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4436 See \`config.log' for more details" "$LINENO" 5; }
   4437 fi
   4438 rm -f conftest conftest$ac_cv_exeext
   4439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4440 printf "%s\n" "$ac_cv_exeext" >&6; }
   4441 
   4442 rm -f conftest.$ac_ext
   4443 EXEEXT=$ac_cv_exeext
   4444 ac_exeext=$EXEEXT
   4445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4446 /* end confdefs.h.  */
   4447 #include <stdio.h>
   4448 int
   4449 main (void)
   4450 {
   4451 FILE *f = fopen ("conftest.out", "w");
   4452  return ferror (f) || fclose (f) != 0;
   4453 
   4454   ;
   4455   return 0;
   4456 }
   4457 _ACEOF
   4458 ac_clean_files="$ac_clean_files conftest.out"
   4459 # Check that the compiler produces executables we can run.  If not, either
   4460 # the compiler is broken, or we cross compile.
   4461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4462 printf %s "checking whether we are cross compiling... " >&6; }
   4463 if test "$cross_compiling" != yes; then
   4464   { { ac_try="$ac_link"
   4465 case "(($ac_try" in
   4466   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4467   *) ac_try_echo=$ac_try;;
   4468 esac
   4469 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4470 printf "%s\n" "$ac_try_echo"; } >&5
   4471   (eval "$ac_link") 2>&5
   4472   ac_status=$?
   4473   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4474   test $ac_status = 0; }
   4475   if { ac_try='./conftest$ac_cv_exeext'
   4476   { { case "(($ac_try" in
   4477   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4478   *) ac_try_echo=$ac_try;;
   4479 esac
   4480 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4481 printf "%s\n" "$ac_try_echo"; } >&5
   4482   (eval "$ac_try") 2>&5
   4483   ac_status=$?
   4484   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4485   test $ac_status = 0; }; }; then
   4486     cross_compiling=no
   4487   else
   4488     if test "$cross_compiling" = maybe; then
   4489 	cross_compiling=yes
   4490     else
   4491 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4492 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4493 as_fn_error 77 "cannot run C compiled programs.
   4494 If you meant to cross compile, use \`--host'.
   4495 See \`config.log' for more details" "$LINENO" 5; }
   4496     fi
   4497   fi
   4498 fi
   4499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4500 printf "%s\n" "$cross_compiling" >&6; }
   4501 
   4502 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   4503 ac_clean_files=$ac_clean_files_save
   4504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4505 printf %s "checking for suffix of object files... " >&6; }
   4506 if test ${ac_cv_objext+y}
   4507 then :
   4508   printf %s "(cached) " >&6
   4509 else $as_nop
   4510   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4511 /* end confdefs.h.  */
   4512 
   4513 int
   4514 main (void)
   4515 {
   4516 
   4517   ;
   4518   return 0;
   4519 }
   4520 _ACEOF
   4521 rm -f conftest.o conftest.obj
   4522 if { { ac_try="$ac_compile"
   4523 case "(($ac_try" in
   4524   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4525   *) ac_try_echo=$ac_try;;
   4526 esac
   4527 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4528 printf "%s\n" "$ac_try_echo"; } >&5
   4529   (eval "$ac_compile") 2>&5
   4530   ac_status=$?
   4531   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4532   test $ac_status = 0; }
   4533 then :
   4534   for ac_file in conftest.o conftest.obj conftest.*; do
   4535   test -f "$ac_file" || continue;
   4536   case $ac_file in
   4537     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4538     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4539        break;;
   4540   esac
   4541 done
   4542 else $as_nop
   4543   printf "%s\n" "$as_me: failed program was:" >&5
   4544 sed 's/^/| /' conftest.$ac_ext >&5
   4545 
   4546 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4547 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4548 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4549 See \`config.log' for more details" "$LINENO" 5; }
   4550 fi
   4551 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4552 fi
   4553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4554 printf "%s\n" "$ac_cv_objext" >&6; }
   4555 OBJEXT=$ac_cv_objext
   4556 ac_objext=$OBJEXT
   4557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4558 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4559 if test ${ac_cv_c_compiler_gnu+y}
   4560 then :
   4561   printf %s "(cached) " >&6
   4562 else $as_nop
   4563   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4564 /* end confdefs.h.  */
   4565 
   4566 int
   4567 main (void)
   4568 {
   4569 #ifndef __GNUC__
   4570        choke me
   4571 #endif
   4572 
   4573   ;
   4574   return 0;
   4575 }
   4576 _ACEOF
   4577 if ac_fn_c_try_compile "$LINENO"
   4578 then :
   4579   ac_compiler_gnu=yes
   4580 else $as_nop
   4581   ac_compiler_gnu=no
   4582 fi
   4583 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4584 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4585 
   4586 fi
   4587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4588 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4590 
   4591 if test $ac_compiler_gnu = yes; then
   4592   GCC=yes
   4593 else
   4594   GCC=
   4595 fi
   4596 ac_test_CFLAGS=${CFLAGS+y}
   4597 ac_save_CFLAGS=$CFLAGS
   4598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4599 printf %s "checking whether $CC accepts -g... " >&6; }
   4600 if test ${ac_cv_prog_cc_g+y}
   4601 then :
   4602   printf %s "(cached) " >&6
   4603 else $as_nop
   4604   ac_save_c_werror_flag=$ac_c_werror_flag
   4605    ac_c_werror_flag=yes
   4606    ac_cv_prog_cc_g=no
   4607    CFLAGS="-g"
   4608    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4609 /* end confdefs.h.  */
   4610 
   4611 int
   4612 main (void)
   4613 {
   4614 
   4615   ;
   4616   return 0;
   4617 }
   4618 _ACEOF
   4619 if ac_fn_c_try_compile "$LINENO"
   4620 then :
   4621   ac_cv_prog_cc_g=yes
   4622 else $as_nop
   4623   CFLAGS=""
   4624       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4625 /* end confdefs.h.  */
   4626 
   4627 int
   4628 main (void)
   4629 {
   4630 
   4631   ;
   4632   return 0;
   4633 }
   4634 _ACEOF
   4635 if ac_fn_c_try_compile "$LINENO"
   4636 then :
   4637 
   4638 else $as_nop
   4639   ac_c_werror_flag=$ac_save_c_werror_flag
   4640 	 CFLAGS="-g"
   4641 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4642 /* end confdefs.h.  */
   4643 
   4644 int
   4645 main (void)
   4646 {
   4647 
   4648   ;
   4649   return 0;
   4650 }
   4651 _ACEOF
   4652 if ac_fn_c_try_compile "$LINENO"
   4653 then :
   4654   ac_cv_prog_cc_g=yes
   4655 fi
   4656 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4657 fi
   4658 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4659 fi
   4660 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4661    ac_c_werror_flag=$ac_save_c_werror_flag
   4662 fi
   4663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4664 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4665 if test $ac_test_CFLAGS; then
   4666   CFLAGS=$ac_save_CFLAGS
   4667 elif test $ac_cv_prog_cc_g = yes; then
   4668   if test "$GCC" = yes; then
   4669     CFLAGS="-g -O2"
   4670   else
   4671     CFLAGS="-g"
   4672   fi
   4673 else
   4674   if test "$GCC" = yes; then
   4675     CFLAGS="-O2"
   4676   else
   4677     CFLAGS=
   4678   fi
   4679 fi
   4680 ac_prog_cc_stdc=no
   4681 if test x$ac_prog_cc_stdc = xno
   4682 then :
   4683   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4684 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4685 if test ${ac_cv_prog_cc_c11+y}
   4686 then :
   4687   printf %s "(cached) " >&6
   4688 else $as_nop
   4689   ac_cv_prog_cc_c11=no
   4690 ac_save_CC=$CC
   4691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4692 /* end confdefs.h.  */
   4693 $ac_c_conftest_c11_program
   4694 _ACEOF
   4695 for ac_arg in '' -std=gnu11
   4696 do
   4697   CC="$ac_save_CC $ac_arg"
   4698   if ac_fn_c_try_compile "$LINENO"
   4699 then :
   4700   ac_cv_prog_cc_c11=$ac_arg
   4701 fi
   4702 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4703   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4704 done
   4705 rm -f conftest.$ac_ext
   4706 CC=$ac_save_CC
   4707 fi
   4708 
   4709 if test "x$ac_cv_prog_cc_c11" = xno
   4710 then :
   4711   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4712 printf "%s\n" "unsupported" >&6; }
   4713 else $as_nop
   4714   if test "x$ac_cv_prog_cc_c11" = x
   4715 then :
   4716   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4717 printf "%s\n" "none needed" >&6; }
   4718 else $as_nop
   4719   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4720 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4721      CC="$CC $ac_cv_prog_cc_c11"
   4722 fi
   4723   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4724   ac_prog_cc_stdc=c11
   4725 fi
   4726 fi
   4727 if test x$ac_prog_cc_stdc = xno
   4728 then :
   4729   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4730 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4731 if test ${ac_cv_prog_cc_c99+y}
   4732 then :
   4733   printf %s "(cached) " >&6
   4734 else $as_nop
   4735   ac_cv_prog_cc_c99=no
   4736 ac_save_CC=$CC
   4737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4738 /* end confdefs.h.  */
   4739 $ac_c_conftest_c99_program
   4740 _ACEOF
   4741 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4742 do
   4743   CC="$ac_save_CC $ac_arg"
   4744   if ac_fn_c_try_compile "$LINENO"
   4745 then :
   4746   ac_cv_prog_cc_c99=$ac_arg
   4747 fi
   4748 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4749   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4750 done
   4751 rm -f conftest.$ac_ext
   4752 CC=$ac_save_CC
   4753 fi
   4754 
   4755 if test "x$ac_cv_prog_cc_c99" = xno
   4756 then :
   4757   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4758 printf "%s\n" "unsupported" >&6; }
   4759 else $as_nop
   4760   if test "x$ac_cv_prog_cc_c99" = x
   4761 then :
   4762   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4763 printf "%s\n" "none needed" >&6; }
   4764 else $as_nop
   4765   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4766 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4767      CC="$CC $ac_cv_prog_cc_c99"
   4768 fi
   4769   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4770   ac_prog_cc_stdc=c99
   4771 fi
   4772 fi
   4773 if test x$ac_prog_cc_stdc = xno
   4774 then :
   4775   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4776 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4777 if test ${ac_cv_prog_cc_c89+y}
   4778 then :
   4779   printf %s "(cached) " >&6
   4780 else $as_nop
   4781   ac_cv_prog_cc_c89=no
   4782 ac_save_CC=$CC
   4783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4784 /* end confdefs.h.  */
   4785 $ac_c_conftest_c89_program
   4786 _ACEOF
   4787 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4788 do
   4789   CC="$ac_save_CC $ac_arg"
   4790   if ac_fn_c_try_compile "$LINENO"
   4791 then :
   4792   ac_cv_prog_cc_c89=$ac_arg
   4793 fi
   4794 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4795   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4796 done
   4797 rm -f conftest.$ac_ext
   4798 CC=$ac_save_CC
   4799 fi
   4800 
   4801 if test "x$ac_cv_prog_cc_c89" = xno
   4802 then :
   4803   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4804 printf "%s\n" "unsupported" >&6; }
   4805 else $as_nop
   4806   if test "x$ac_cv_prog_cc_c89" = x
   4807 then :
   4808   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4809 printf "%s\n" "none needed" >&6; }
   4810 else $as_nop
   4811   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4812 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4813      CC="$CC $ac_cv_prog_cc_c89"
   4814 fi
   4815   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4816   ac_prog_cc_stdc=c89
   4817 fi
   4818 fi
   4819 
   4820 ac_ext=c
   4821 ac_cpp='$CPP $CPPFLAGS'
   4822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4825 
   4826 
   4827   ac_ext=c
   4828 ac_cpp='$CPP $CPPFLAGS'
   4829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4833 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4834 if test ${am_cv_prog_cc_c_o+y}
   4835 then :
   4836   printf %s "(cached) " >&6
   4837 else $as_nop
   4838   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4839 /* end confdefs.h.  */
   4840 
   4841 int
   4842 main (void)
   4843 {
   4844 
   4845   ;
   4846   return 0;
   4847 }
   4848 _ACEOF
   4849   # Make sure it works both with $CC and with simple cc.
   4850   # Following AC_PROG_CC_C_O, we do the test twice because some
   4851   # compilers refuse to overwrite an existing .o file with -o,
   4852   # though they will create one.
   4853   am_cv_prog_cc_c_o=yes
   4854   for am_i in 1 2; do
   4855     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4856    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4857    ac_status=$?
   4858    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4859    (exit $ac_status); } \
   4860          && test -f conftest2.$ac_objext; then
   4861       : OK
   4862     else
   4863       am_cv_prog_cc_c_o=no
   4864       break
   4865     fi
   4866   done
   4867   rm -f core conftest*
   4868   unset am_i
   4869 fi
   4870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4871 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4872 if test "$am_cv_prog_cc_c_o" != yes; then
   4873    # Losing compiler, so override with the script.
   4874    # FIXME: It is wrong to rewrite CC.
   4875    # But if we don't then we get into trouble of one sort or another.
   4876    # A longer-term fix would be to have automake use am__CC in this case,
   4877    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4878    CC="$am_aux_dir/compile $CC"
   4879 fi
   4880 ac_ext=c
   4881 ac_cpp='$CPP $CPPFLAGS'
   4882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4885 
   4886 DEPDIR="${am__leading_dot}deps"
   4887 
   4888 ac_config_commands="$ac_config_commands depfiles"
   4889 
   4890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   4891 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   4892 cat > confinc.mk << 'END'
   4893 am__doit:
   4894 	@echo this is the am__doit target >confinc.out
   4895 .PHONY: am__doit
   4896 END
   4897 am__include="#"
   4898 am__quote=
   4899 # BSD make does it like this.
   4900 echo '.include "confinc.mk" # ignored' > confmf.BSD
   4901 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   4902 echo 'include confinc.mk # ignored' > confmf.GNU
   4903 _am_result=no
   4904 for s in GNU BSD; do
   4905   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   4906    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   4907    ac_status=$?
   4908    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4909    (exit $ac_status); }
   4910   case $?:`cat confinc.out 2>/dev/null` in #(
   4911   '0:this is the am__doit target') :
   4912     case $s in #(
   4913   BSD) :
   4914     am__include='.include' am__quote='"' ;; #(
   4915   *) :
   4916     am__include='include' am__quote='' ;;
   4917 esac ;; #(
   4918   *) :
   4919      ;;
   4920 esac
   4921   if test "$am__include" != "#"; then
   4922     _am_result="yes ($s style)"
   4923     break
   4924   fi
   4925 done
   4926 rm -f confinc.* confmf.*
   4927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   4928 printf "%s\n" "${_am_result}" >&6; }
   4929 
   4930 # Check whether --enable-dependency-tracking was given.
   4931 if test ${enable_dependency_tracking+y}
   4932 then :
   4933   enableval=$enable_dependency_tracking;
   4934 fi
   4935 
   4936 if test "x$enable_dependency_tracking" != xno; then
   4937   am_depcomp="$ac_aux_dir/depcomp"
   4938   AMDEPBACKSLASH='\'
   4939   am__nodep='_no'
   4940 fi
   4941  if test "x$enable_dependency_tracking" != xno; then
   4942   AMDEP_TRUE=
   4943   AMDEP_FALSE='#'
   4944 else
   4945   AMDEP_TRUE='#'
   4946   AMDEP_FALSE=
   4947 fi
   4948 
   4949 
   4950 
   4951 depcc="$CC"   am_compiler_list=
   4952 
   4953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4954 printf %s "checking dependency style of $depcc... " >&6; }
   4955 if test ${am_cv_CC_dependencies_compiler_type+y}
   4956 then :
   4957   printf %s "(cached) " >&6
   4958 else $as_nop
   4959   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4960   # We make a subdir and do the tests there.  Otherwise we can end up
   4961   # making bogus files that we don't know about and never remove.  For
   4962   # instance it was reported that on HP-UX the gcc test will end up
   4963   # making a dummy file named 'D' -- because '-MD' means "put the output
   4964   # in D".
   4965   rm -rf conftest.dir
   4966   mkdir conftest.dir
   4967   # Copy depcomp to subdir because otherwise we won't find it if we're
   4968   # using a relative directory.
   4969   cp "$am_depcomp" conftest.dir
   4970   cd conftest.dir
   4971   # We will build objects and dependencies in a subdirectory because
   4972   # it helps to detect inapplicable dependency modes.  For instance
   4973   # both Tru64's cc and ICC support -MD to output dependencies as a
   4974   # side effect of compilation, but ICC will put the dependencies in
   4975   # the current directory while Tru64 will put them in the object
   4976   # directory.
   4977   mkdir sub
   4978 
   4979   am_cv_CC_dependencies_compiler_type=none
   4980   if test "$am_compiler_list" = ""; then
   4981      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4982   fi
   4983   am__universal=false
   4984   case " $depcc " in #(
   4985      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4986      esac
   4987 
   4988   for depmode in $am_compiler_list; do
   4989     # Setup a source with many dependencies, because some compilers
   4990     # like to wrap large dependency lists on column 80 (with \), and
   4991     # we should not choose a depcomp mode which is confused by this.
   4992     #
   4993     # We need to recreate these files for each test, as the compiler may
   4994     # overwrite some of them when testing with obscure command lines.
   4995     # This happens at least with the AIX C compiler.
   4996     : > sub/conftest.c
   4997     for i in 1 2 3 4 5 6; do
   4998       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4999       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   5000       # Solaris 10 /bin/sh.
   5001       echo '/* dummy */' > sub/conftst$i.h
   5002     done
   5003     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5004 
   5005     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   5006     # mode.  It turns out that the SunPro C++ compiler does not properly
   5007     # handle '-M -o', and we need to detect this.  Also, some Intel
   5008     # versions had trouble with output in subdirs.
   5009     am__obj=sub/conftest.${OBJEXT-o}
   5010     am__minus_obj="-o $am__obj"
   5011     case $depmode in
   5012     gcc)
   5013       # This depmode causes a compiler race in universal mode.
   5014       test "$am__universal" = false || continue
   5015       ;;
   5016     nosideeffect)
   5017       # After this tag, mechanisms are not by side-effect, so they'll
   5018       # only be used when explicitly requested.
   5019       if test "x$enable_dependency_tracking" = xyes; then
   5020 	continue
   5021       else
   5022 	break
   5023       fi
   5024       ;;
   5025     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   5026       # This compiler won't grok '-c -o', but also, the minuso test has
   5027       # not run yet.  These depmodes are late enough in the game, and
   5028       # so weak that their functioning should not be impacted.
   5029       am__obj=conftest.${OBJEXT-o}
   5030       am__minus_obj=
   5031       ;;
   5032     none) break ;;
   5033     esac
   5034     if depmode=$depmode \
   5035        source=sub/conftest.c object=$am__obj \
   5036        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5037        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5038          >/dev/null 2>conftest.err &&
   5039        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5040        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5041        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5042        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5043       # icc doesn't choke on unknown options, it will just issue warnings
   5044       # or remarks (even with -Werror).  So we grep stderr for any message
   5045       # that says an option was ignored or not supported.
   5046       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5047       #   icc: Command line warning: ignoring option '-M'; no argument required
   5048       # The diagnosis changed in icc 8.0:
   5049       #   icc: Command line remark: option '-MP' not supported
   5050       if (grep 'ignoring option' conftest.err ||
   5051           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5052         am_cv_CC_dependencies_compiler_type=$depmode
   5053         break
   5054       fi
   5055     fi
   5056   done
   5057 
   5058   cd ..
   5059   rm -rf conftest.dir
   5060 else
   5061   am_cv_CC_dependencies_compiler_type=none
   5062 fi
   5063 
   5064 fi
   5065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   5066 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   5067 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   5068 
   5069  if
   5070   test "x$enable_dependency_tracking" != xno \
   5071   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   5072   am__fastdepCC_TRUE=
   5073   am__fastdepCC_FALSE='#'
   5074 else
   5075   am__fastdepCC_TRUE='#'
   5076   am__fastdepCC_FALSE=
   5077 fi
   5078 
   5079 
   5080 
   5081 ac_header= ac_cache=
   5082 for ac_item in $ac_header_c_list
   5083 do
   5084   if test $ac_cache; then
   5085     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   5086     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   5087       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   5088     fi
   5089     ac_header= ac_cache=
   5090   elif test $ac_header; then
   5091     ac_cache=$ac_item
   5092   else
   5093     ac_header=$ac_item
   5094   fi
   5095 done
   5096 
   5097 
   5098 
   5099 
   5100 
   5101 
   5102 
   5103 
   5104 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   5105 then :
   5106 
   5107 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   5108 
   5109 fi
   5110 
   5111 
   5112 
   5113 
   5114 
   5115 
   5116   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   5117 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   5118 if test ${ac_cv_safe_to_define___extensions__+y}
   5119 then :
   5120   printf %s "(cached) " >&6
   5121 else $as_nop
   5122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5123 /* end confdefs.h.  */
   5124 
   5125 #         define __EXTENSIONS__ 1
   5126           $ac_includes_default
   5127 int
   5128 main (void)
   5129 {
   5130 
   5131   ;
   5132   return 0;
   5133 }
   5134 _ACEOF
   5135 if ac_fn_c_try_compile "$LINENO"
   5136 then :
   5137   ac_cv_safe_to_define___extensions__=yes
   5138 else $as_nop
   5139   ac_cv_safe_to_define___extensions__=no
   5140 fi
   5141 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5142 fi
   5143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   5144 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
   5145 
   5146   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
   5147 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
   5148 if test ${ac_cv_should_define__xopen_source+y}
   5149 then :
   5150   printf %s "(cached) " >&6
   5151 else $as_nop
   5152   ac_cv_should_define__xopen_source=no
   5153     if test $ac_cv_header_wchar_h = yes
   5154 then :
   5155   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5156 /* end confdefs.h.  */
   5157 
   5158           #include <wchar.h>
   5159           mbstate_t x;
   5160 int
   5161 main (void)
   5162 {
   5163 
   5164   ;
   5165   return 0;
   5166 }
   5167 _ACEOF
   5168 if ac_fn_c_try_compile "$LINENO"
   5169 then :
   5170 
   5171 else $as_nop
   5172   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5173 /* end confdefs.h.  */
   5174 
   5175             #define _XOPEN_SOURCE 500
   5176             #include <wchar.h>
   5177             mbstate_t x;
   5178 int
   5179 main (void)
   5180 {
   5181 
   5182   ;
   5183   return 0;
   5184 }
   5185 _ACEOF
   5186 if ac_fn_c_try_compile "$LINENO"
   5187 then :
   5188   ac_cv_should_define__xopen_source=yes
   5189 fi
   5190 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5191 fi
   5192 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5193 fi
   5194 fi
   5195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
   5196 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
   5197 
   5198   printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
   5199 
   5200   printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
   5201 
   5202   printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
   5203 
   5204   printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
   5205 
   5206   printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
   5207 
   5208   printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
   5209 
   5210   printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   5211 
   5212   printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
   5213 
   5214   printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
   5215 
   5216   printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
   5217 
   5218   printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
   5219 
   5220   printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
   5221 
   5222   printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
   5223 
   5224   printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
   5225 
   5226   printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
   5227 
   5228   if test $ac_cv_header_minix_config_h = yes
   5229 then :
   5230   MINIX=yes
   5231     printf "%s\n" "#define _MINIX 1" >>confdefs.h
   5232 
   5233     printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
   5234 
   5235     printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
   5236 
   5237 else $as_nop
   5238   MINIX=
   5239 fi
   5240   if test $ac_cv_safe_to_define___extensions__ = yes
   5241 then :
   5242   printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
   5243 
   5244 fi
   5245   if test $ac_cv_should_define__xopen_source = yes
   5246 then :
   5247   printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
   5248 
   5249 fi
   5250 
   5251 # Check whether --enable-largefile was given.
   5252 if test ${enable_largefile+y}
   5253 then :
   5254   enableval=$enable_largefile;
   5255 fi
   5256 
   5257 if test "$enable_largefile" != no; then
   5258 
   5259   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
   5260 printf %s "checking for special C compiler options needed for large files... " >&6; }
   5261 if test ${ac_cv_sys_largefile_CC+y}
   5262 then :
   5263   printf %s "(cached) " >&6
   5264 else $as_nop
   5265   ac_cv_sys_largefile_CC=no
   5266      if test "$GCC" != yes; then
   5267        ac_save_CC=$CC
   5268        while :; do
   5269 	 # IRIX 6.2 and later do not support large files by default,
   5270 	 # so use the C compiler's -n32 option if that helps.
   5271 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5272 /* end confdefs.h.  */
   5273 #include <sys/types.h>
   5274  /* Check that off_t can represent 2**63 - 1 correctly.
   5275     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   5276     since some C++ compilers masquerading as C compilers
   5277     incorrectly reject 9223372036854775807.  */
   5278 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
   5279   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   5280 		       && LARGE_OFF_T % 2147483647 == 1)
   5281 		      ? 1 : -1];
   5282 int
   5283 main (void)
   5284 {
   5285 
   5286   ;
   5287   return 0;
   5288 }
   5289 _ACEOF
   5290 	 if ac_fn_c_try_compile "$LINENO"
   5291 then :
   5292   break
   5293 fi
   5294 rm -f core conftest.err conftest.$ac_objext conftest.beam
   5295 	 CC="$CC -n32"
   5296 	 if ac_fn_c_try_compile "$LINENO"
   5297 then :
   5298   ac_cv_sys_largefile_CC=' -n32'; break
   5299 fi
   5300 rm -f core conftest.err conftest.$ac_objext conftest.beam
   5301 	 break
   5302        done
   5303        CC=$ac_save_CC
   5304        rm -f conftest.$ac_ext
   5305     fi
   5306 fi
   5307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
   5308 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
   5309   if test "$ac_cv_sys_largefile_CC" != no; then
   5310     CC=$CC$ac_cv_sys_largefile_CC
   5311   fi
   5312 
   5313   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
   5314 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
   5315 if test ${ac_cv_sys_file_offset_bits+y}
   5316 then :
   5317   printf %s "(cached) " >&6
   5318 else $as_nop
   5319   while :; do
   5320   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5321 /* end confdefs.h.  */
   5322 #include <sys/types.h>
   5323  /* Check that off_t can represent 2**63 - 1 correctly.
   5324     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   5325     since some C++ compilers masquerading as C compilers
   5326     incorrectly reject 9223372036854775807.  */
   5327 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
   5328   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   5329 		       && LARGE_OFF_T % 2147483647 == 1)
   5330 		      ? 1 : -1];
   5331 int
   5332 main (void)
   5333 {
   5334 
   5335   ;
   5336   return 0;
   5337 }
   5338 _ACEOF
   5339 if ac_fn_c_try_compile "$LINENO"
   5340 then :
   5341   ac_cv_sys_file_offset_bits=no; break
   5342 fi
   5343 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5344   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5345 /* end confdefs.h.  */
   5346 #define _FILE_OFFSET_BITS 64
   5347 #include <sys/types.h>
   5348  /* Check that off_t can represent 2**63 - 1 correctly.
   5349     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   5350     since some C++ compilers masquerading as C compilers
   5351     incorrectly reject 9223372036854775807.  */
   5352 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
   5353   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   5354 		       && LARGE_OFF_T % 2147483647 == 1)
   5355 		      ? 1 : -1];
   5356 int
   5357 main (void)
   5358 {
   5359 
   5360   ;
   5361   return 0;
   5362 }
   5363 _ACEOF
   5364 if ac_fn_c_try_compile "$LINENO"
   5365 then :
   5366   ac_cv_sys_file_offset_bits=64; break
   5367 fi
   5368 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5369   ac_cv_sys_file_offset_bits=unknown
   5370   break
   5371 done
   5372 fi
   5373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
   5374 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
   5375 case $ac_cv_sys_file_offset_bits in #(
   5376   no | unknown) ;;
   5377   *)
   5378 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
   5379 ;;
   5380 esac
   5381 rm -rf conftest*
   5382   if test $ac_cv_sys_file_offset_bits = unknown; then
   5383     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
   5384 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
   5385 if test ${ac_cv_sys_large_files+y}
   5386 then :
   5387   printf %s "(cached) " >&6
   5388 else $as_nop
   5389   while :; do
   5390   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5391 /* end confdefs.h.  */
   5392 #include <sys/types.h>
   5393  /* Check that off_t can represent 2**63 - 1 correctly.
   5394     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   5395     since some C++ compilers masquerading as C compilers
   5396     incorrectly reject 9223372036854775807.  */
   5397 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
   5398   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   5399 		       && LARGE_OFF_T % 2147483647 == 1)
   5400 		      ? 1 : -1];
   5401 int
   5402 main (void)
   5403 {
   5404 
   5405   ;
   5406   return 0;
   5407 }
   5408 _ACEOF
   5409 if ac_fn_c_try_compile "$LINENO"
   5410 then :
   5411   ac_cv_sys_large_files=no; break
   5412 fi
   5413 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5414   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5415 /* end confdefs.h.  */
   5416 #define _LARGE_FILES 1
   5417 #include <sys/types.h>
   5418  /* Check that off_t can represent 2**63 - 1 correctly.
   5419     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   5420     since some C++ compilers masquerading as C compilers
   5421     incorrectly reject 9223372036854775807.  */
   5422 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
   5423   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   5424 		       && LARGE_OFF_T % 2147483647 == 1)
   5425 		      ? 1 : -1];
   5426 int
   5427 main (void)
   5428 {
   5429 
   5430   ;
   5431   return 0;
   5432 }
   5433 _ACEOF
   5434 if ac_fn_c_try_compile "$LINENO"
   5435 then :
   5436   ac_cv_sys_large_files=1; break
   5437 fi
   5438 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5439   ac_cv_sys_large_files=unknown
   5440   break
   5441 done
   5442 fi
   5443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
   5444 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
   5445 case $ac_cv_sys_large_files in #(
   5446   no | unknown) ;;
   5447   *)
   5448 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
   5449 ;;
   5450 esac
   5451 rm -rf conftest*
   5452   fi
   5453 fi
   5454 
   5455 
   5456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5457 printf %s "checking whether ln -s works... " >&6; }
   5458 LN_S=$as_ln_s
   5459 if test "$LN_S" = "ln -s"; then
   5460   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5461 printf "%s\n" "yes" >&6; }
   5462 else
   5463   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5464 printf "%s\n" "no, using $LN_S" >&6; }
   5465 fi
   5466 
   5467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   5468 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   5469 set x ${MAKE-make}
   5470 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   5471 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   5472 then :
   5473   printf %s "(cached) " >&6
   5474 else $as_nop
   5475   cat >conftest.make <<\_ACEOF
   5476 SHELL = /bin/sh
   5477 all:
   5478 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   5479 _ACEOF
   5480 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   5481 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   5482   *@@@%%%=?*=@@@%%%*)
   5483     eval ac_cv_prog_make_${ac_make}_set=yes;;
   5484   *)
   5485     eval ac_cv_prog_make_${ac_make}_set=no;;
   5486 esac
   5487 rm -f conftest.make
   5488 fi
   5489 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   5490   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5491 printf "%s\n" "yes" >&6; }
   5492   SET_MAKE=
   5493 else
   5494   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5495 printf "%s\n" "no" >&6; }
   5496   SET_MAKE="MAKE=${MAKE-make}"
   5497 fi
   5498 
   5499 
   5500 
   5501 
   5502 
   5503 
   5504 
   5505 
   5506 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   5507 	if test -n "$ac_tool_prefix"; then
   5508   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   5509 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   5510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5511 printf %s "checking for $ac_word... " >&6; }
   5512 if test ${ac_cv_path_PKG_CONFIG+y}
   5513 then :
   5514   printf %s "(cached) " >&6
   5515 else $as_nop
   5516   case $PKG_CONFIG in
   5517   [\\/]* | ?:[\\/]*)
   5518   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   5519   ;;
   5520   *)
   5521   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5522 for as_dir in $PATH
   5523 do
   5524   IFS=$as_save_IFS
   5525   case $as_dir in #(((
   5526     '') as_dir=./ ;;
   5527     */) ;;
   5528     *) as_dir=$as_dir/ ;;
   5529   esac
   5530     for ac_exec_ext in '' $ac_executable_extensions; do
   5531   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5532     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   5533     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5534     break 2
   5535   fi
   5536 done
   5537   done
   5538 IFS=$as_save_IFS
   5539 
   5540   ;;
   5541 esac
   5542 fi
   5543 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   5544 if test -n "$PKG_CONFIG"; then
   5545   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   5546 printf "%s\n" "$PKG_CONFIG" >&6; }
   5547 else
   5548   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5549 printf "%s\n" "no" >&6; }
   5550 fi
   5551 
   5552 
   5553 fi
   5554 if test -z "$ac_cv_path_PKG_CONFIG"; then
   5555   ac_pt_PKG_CONFIG=$PKG_CONFIG
   5556   # Extract the first word of "pkg-config", so it can be a program name with args.
   5557 set dummy pkg-config; ac_word=$2
   5558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5559 printf %s "checking for $ac_word... " >&6; }
   5560 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   5561 then :
   5562   printf %s "(cached) " >&6
   5563 else $as_nop
   5564   case $ac_pt_PKG_CONFIG in
   5565   [\\/]* | ?:[\\/]*)
   5566   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   5567   ;;
   5568   *)
   5569   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5570 for as_dir in $PATH
   5571 do
   5572   IFS=$as_save_IFS
   5573   case $as_dir in #(((
   5574     '') as_dir=./ ;;
   5575     */) ;;
   5576     *) as_dir=$as_dir/ ;;
   5577   esac
   5578     for ac_exec_ext in '' $ac_executable_extensions; do
   5579   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5580     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   5581     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5582     break 2
   5583   fi
   5584 done
   5585   done
   5586 IFS=$as_save_IFS
   5587 
   5588   ;;
   5589 esac
   5590 fi
   5591 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   5592 if test -n "$ac_pt_PKG_CONFIG"; then
   5593   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   5594 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   5595 else
   5596   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5597 printf "%s\n" "no" >&6; }
   5598 fi
   5599 
   5600   if test "x$ac_pt_PKG_CONFIG" = x; then
   5601     PKG_CONFIG=""
   5602   else
   5603     case $cross_compiling:$ac_tool_warned in
   5604 yes:)
   5605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5606 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5607 ac_tool_warned=yes ;;
   5608 esac
   5609     PKG_CONFIG=$ac_pt_PKG_CONFIG
   5610   fi
   5611 else
   5612   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   5613 fi
   5614 
   5615 fi
   5616 if test -n "$PKG_CONFIG"; then
   5617 	_pkg_min_version=0.9.0
   5618 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   5619 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   5620 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   5621 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5622 printf "%s\n" "yes" >&6; }
   5623 	else
   5624 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5625 printf "%s\n" "no" >&6; }
   5626 		PKG_CONFIG=""
   5627 	fi
   5628 fi
   5629 
   5630 
   5631 
   5632 # Check whether --with-pkgconfigdir was given.
   5633 if test ${with_pkgconfigdir+y}
   5634 then :
   5635   withval=$with_pkgconfigdir;
   5636 else $as_nop
   5637   with_pkgconfigdir='${libdir}/pkgconfig'
   5638 fi
   5639 
   5640 pkgconfigdir=$with_pkgconfigdir
   5641 
   5642 
   5643 
   5644 
   5645 
   5646 
   5647 GIT=${GIT-"${am_missing_run}git"}
   5648 
   5649 
   5650 GPERF=${GPERF-"${am_missing_run}gperf"}
   5651 
   5652 
   5653 
   5654 
   5655 
   5656 
   5657 
   5658         if test -n "$PYTHON"; then
   5659       # If the user set $PYTHON, use it and don't search something else.
   5660       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 3" >&5
   5661 printf %s "checking whether $PYTHON version is >= 3... " >&6; }
   5662       prog="import sys
   5663 # split strings by '.' and convert to numeric.  Append some zeros
   5664 # because we need at least 4 digits for the hex conversion.
   5665 # map returns an iterator in Python 3.0 and a list in 2.x
   5666 minver = list(map(int, '3'.split('.'))) + [0, 0, 0]
   5667 minverhex = 0
   5668 # xrange is not present in Python 3.0 and range returns an iterator
   5669 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
   5670 sys.exit(sys.hexversion < minverhex)"
   5671   if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
   5672    ($PYTHON -c "$prog") >&5 2>&5
   5673    ac_status=$?
   5674    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5675    (exit $ac_status); }
   5676 then :
   5677   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5678 printf "%s\n" "yes" >&6; }
   5679 else $as_nop
   5680   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5681 printf "%s\n" "no" >&6; }
   5682 			       as_fn_error $? "Python interpreter is too old" "$LINENO" 5
   5683 fi
   5684       am_display_PYTHON=$PYTHON
   5685     else
   5686       # Otherwise, try each interpreter until we find one that satisfies
   5687       # VERSION.
   5688       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 3" >&5
   5689 printf %s "checking for a Python interpreter with version >= 3... " >&6; }
   5690 if test ${am_cv_pathless_PYTHON+y}
   5691 then :
   5692   printf %s "(cached) " >&6
   5693 else $as_nop
   5694 
   5695 	for am_cv_pathless_PYTHON in python python2 python3  python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3  python3.2 python3.1 python3.0  python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1  python2.0 none; do
   5696 	  test "$am_cv_pathless_PYTHON" = none && break
   5697 	  prog="import sys
   5698 # split strings by '.' and convert to numeric.  Append some zeros
   5699 # because we need at least 4 digits for the hex conversion.
   5700 # map returns an iterator in Python 3.0 and a list in 2.x
   5701 minver = list(map(int, '3'.split('.'))) + [0, 0, 0]
   5702 minverhex = 0
   5703 # xrange is not present in Python 3.0 and range returns an iterator
   5704 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
   5705 sys.exit(sys.hexversion < minverhex)"
   5706   if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
   5707    ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
   5708    ac_status=$?
   5709    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5710    (exit $ac_status); }
   5711 then :
   5712   break
   5713 fi
   5714 	done
   5715 fi
   5716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
   5717 printf "%s\n" "$am_cv_pathless_PYTHON" >&6; }
   5718       # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
   5719       if test "$am_cv_pathless_PYTHON" = none; then
   5720 	PYTHON=:
   5721       else
   5722         # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
   5723 set dummy $am_cv_pathless_PYTHON; ac_word=$2
   5724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5725 printf %s "checking for $ac_word... " >&6; }
   5726 if test ${ac_cv_path_PYTHON+y}
   5727 then :
   5728   printf %s "(cached) " >&6
   5729 else $as_nop
   5730   case $PYTHON in
   5731   [\\/]* | ?:[\\/]*)
   5732   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
   5733   ;;
   5734   *)
   5735   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5736 for as_dir in $PATH
   5737 do
   5738   IFS=$as_save_IFS
   5739   case $as_dir in #(((
   5740     '') as_dir=./ ;;
   5741     */) ;;
   5742     *) as_dir=$as_dir/ ;;
   5743   esac
   5744     for ac_exec_ext in '' $ac_executable_extensions; do
   5745   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5746     ac_cv_path_PYTHON="$as_dir$ac_word$ac_exec_ext"
   5747     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5748     break 2
   5749   fi
   5750 done
   5751   done
   5752 IFS=$as_save_IFS
   5753 
   5754   ;;
   5755 esac
   5756 fi
   5757 PYTHON=$ac_cv_path_PYTHON
   5758 if test -n "$PYTHON"; then
   5759   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
   5760 printf "%s\n" "$PYTHON" >&6; }
   5761 else
   5762   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5763 printf "%s\n" "no" >&6; }
   5764 fi
   5765 
   5766 
   5767       fi
   5768       am_display_PYTHON=$am_cv_pathless_PYTHON
   5769     fi
   5770 
   5771 
   5772   if test "$PYTHON" = :; then
   5773         as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
   5774   else
   5775 
   5776               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
   5777 printf %s "checking for $am_display_PYTHON version... " >&6; }
   5778 if test ${am_cv_python_version+y}
   5779 then :
   5780   printf %s "(cached) " >&6
   5781 else $as_nop
   5782   am_cv_python_version=`$PYTHON -c "import sys; print ('%u.%u' % sys.version_info[:2])"`
   5783 fi
   5784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
   5785 printf "%s\n" "$am_cv_python_version" >&6; }
   5786   PYTHON_VERSION=$am_cv_python_version
   5787 
   5788 
   5789         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
   5790 printf %s "checking for $am_display_PYTHON platform... " >&6; }
   5791 if test ${am_cv_python_platform+y}
   5792 then :
   5793   printf %s "(cached) " >&6
   5794 else $as_nop
   5795   am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
   5796 fi
   5797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
   5798 printf "%s\n" "$am_cv_python_platform" >&6; }
   5799   PYTHON_PLATFORM=$am_cv_python_platform
   5800 
   5801 
   5802                             if test "x$prefix" = xNONE; then
   5803     am__usable_prefix=$ac_default_prefix
   5804   else
   5805     am__usable_prefix=$prefix
   5806   fi
   5807 
   5808   # Allow user to request using sys.* values from Python,
   5809   # instead of the GNU $prefix values.
   5810 
   5811 # Check whether --with-python-sys-prefix was given.
   5812 if test ${with_python_sys_prefix+y}
   5813 then :
   5814   withval=$with_python_sys_prefix; am_use_python_sys=:
   5815 else $as_nop
   5816   am_use_python_sys=false
   5817 fi
   5818 
   5819 
   5820   # Allow user to override whatever the default Python prefix is.
   5821 
   5822 # Check whether --with-python_prefix was given.
   5823 if test ${with_python_prefix+y}
   5824 then :
   5825   withval=$with_python_prefix; am_python_prefix_subst=$withval
   5826    am_cv_python_prefix=$withval
   5827    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for explicit $am_display_PYTHON prefix" >&5
   5828 printf %s "checking for explicit $am_display_PYTHON prefix... " >&6; }
   5829    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_prefix" >&5
   5830 printf "%s\n" "$am_cv_python_prefix" >&6; }
   5831 else $as_nop
   5832 
   5833    if $am_use_python_sys; then
   5834      # using python sys.prefix value, not GNU
   5835      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON prefix" >&5
   5836 printf %s "checking for python default $am_display_PYTHON prefix... " >&6; }
   5837 if test ${am_cv_python_prefix+y}
   5838 then :
   5839   printf %s "(cached) " >&6
   5840 else $as_nop
   5841   am_cv_python_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.prefix)"`
   5842 fi
   5843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_prefix" >&5
   5844 printf "%s\n" "$am_cv_python_prefix" >&6; }
   5845 
   5846                case $am_cv_python_prefix in
   5847      $am__usable_prefix*)
   5848        am__strip_prefix=`echo "$am__usable_prefix" | sed 's|.|.|g'`
   5849        am_python_prefix_subst=`echo "$am_cv_python_prefix" | sed "s,^$am__strip_prefix,\\${prefix},"`
   5850        ;;
   5851      *)
   5852        am_python_prefix_subst=$am_cv_python_prefix
   5853        ;;
   5854      esac
   5855    else # using GNU prefix value, not python sys.prefix
   5856      am_python_prefix_subst='${prefix}'
   5857      am_python_prefix=$am_python_prefix_subst
   5858      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU default $am_display_PYTHON prefix" >&5
   5859 printf %s "checking for GNU default $am_display_PYTHON prefix... " >&6; }
   5860      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_python_prefix" >&5
   5861 printf "%s\n" "$am_python_prefix" >&6; }
   5862    fi
   5863 fi
   5864 
   5865   # Substituting python_prefix_subst value.
   5866   PYTHON_PREFIX=$am_python_prefix_subst
   5867 
   5868 
   5869   # emacs-page Now do it all over again for Python exec_prefix, but with yet
   5870   # another conditional: fall back to regular prefix if that was specified.
   5871 
   5872 # Check whether --with-python_exec_prefix was given.
   5873 if test ${with_python_exec_prefix+y}
   5874 then :
   5875   withval=$with_python_exec_prefix; am_python_exec_prefix_subst=$withval
   5876    am_cv_python_exec_prefix=$withval
   5877    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for explicit $am_display_PYTHON exec_prefix" >&5
   5878 printf %s "checking for explicit $am_display_PYTHON exec_prefix... " >&6; }
   5879    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
   5880 printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
   5881 else $as_nop
   5882 
   5883    # no explicit --with-python_exec_prefix, but if
   5884    # --with-python_prefix was given, use its value for python_exec_prefix too.
   5885    if test -n "$with_python_prefix"
   5886 then :
   5887   am_python_exec_prefix_subst=$with_python_prefix
   5888     am_cv_python_exec_prefix=$with_python_prefix
   5889     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python_prefix-given $am_display_PYTHON exec_prefix" >&5
   5890 printf %s "checking for python_prefix-given $am_display_PYTHON exec_prefix... " >&6; }
   5891     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
   5892 printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
   5893 else $as_nop
   5894 
   5895     # Set am__usable_exec_prefix whether using GNU or Python values,
   5896     # since we use that variable for pyexecdir.
   5897     if test "x$exec_prefix" = xNONE; then
   5898       am__usable_exec_prefix=$am__usable_prefix
   5899     else
   5900       am__usable_exec_prefix=$exec_prefix
   5901     fi
   5902     #
   5903     if $am_use_python_sys; then # using python sys.exec_prefix, not GNU
   5904       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON exec_prefix" >&5
   5905 printf %s "checking for python default $am_display_PYTHON exec_prefix... " >&6; }
   5906 if test ${am_cv_python_exec_prefix+y}
   5907 then :
   5908   printf %s "(cached) " >&6
   5909 else $as_nop
   5910   am_cv_python_exec_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.exec_prefix)"`
   5911 fi
   5912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
   5913 printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
   5914                         case $am_cv_python_exec_prefix in
   5915       $am__usable_exec_prefix*)
   5916         am__strip_prefix=`echo "$am__usable_exec_prefix" | sed 's|.|.|g'`
   5917         am_python_exec_prefix_subst=`echo "$am_cv_python_exec_prefix" | sed "s,^$am__strip_prefix,\\${exec_prefix},"`
   5918         ;;
   5919       *)
   5920         am_python_exec_prefix_subst=$am_cv_python_exec_prefix
   5921         ;;
   5922      esac
   5923    else # using GNU $exec_prefix, not python sys.exec_prefix
   5924      am_python_exec_prefix_subst='${exec_prefix}'
   5925      am_python_exec_prefix=$am_python_exec_prefix_subst
   5926      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU default $am_display_PYTHON exec_prefix" >&5
   5927 printf %s "checking for GNU default $am_display_PYTHON exec_prefix... " >&6; }
   5928      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_python_exec_prefix" >&5
   5929 printf "%s\n" "$am_python_exec_prefix" >&6; }
   5930    fi
   5931 fi
   5932 fi
   5933 
   5934   # Substituting python_exec_prefix_subst.
   5935   PYTHON_EXEC_PREFIX=$am_python_exec_prefix_subst
   5936 
   5937 
   5938   # Factor out some code duplication into this shell variable.
   5939   am_python_setup_sysconfig="\
   5940 import sys
   5941 # Prefer sysconfig over distutils.sysconfig, for better compatibility
   5942 # with python 3.x.  See automake bug#10227.
   5943 try:
   5944     import sysconfig
   5945 except ImportError:
   5946     can_use_sysconfig = 0
   5947 else:
   5948     can_use_sysconfig = 1
   5949 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
   5950 # <https://github.com/pypa/virtualenv/issues/118>
   5951 try:
   5952     from platform import python_implementation
   5953     if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
   5954         can_use_sysconfig = 0
   5955 except ImportError:
   5956     pass"
   5957 
   5958 
   5959               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory (pythondir)" >&5
   5960 printf %s "checking for $am_display_PYTHON script directory (pythondir)... " >&6; }
   5961 if test ${am_cv_python_pythondir+y}
   5962 then :
   5963   printf %s "(cached) " >&6
   5964 else $as_nop
   5965   if test "x$am_cv_python_prefix" = x; then
   5966      am_py_prefix=$am__usable_prefix
   5967    else
   5968      am_py_prefix=$am_cv_python_prefix
   5969    fi
   5970    am_cv_python_pythondir=`$PYTHON -c "
   5971 $am_python_setup_sysconfig
   5972 if can_use_sysconfig:
   5973   sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
   5974 else:
   5975   from distutils import sysconfig
   5976   sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
   5977 sys.stdout.write(sitedir)"`
   5978    #
   5979    case $am_cv_python_pythondir in
   5980    $am_py_prefix*)
   5981      am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
   5982      am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,\\${PYTHON_PREFIX},"`
   5983      ;;
   5984    *)
   5985      case $am_py_prefix in
   5986        /usr|/System*) ;;
   5987        *) am_cv_python_pythondir="\${PYTHON_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
   5988           ;;
   5989      esac
   5990      ;;
   5991    esac
   5992 
   5993 fi
   5994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
   5995 printf "%s\n" "$am_cv_python_pythondir" >&6; }
   5996   pythondir=$am_cv_python_pythondir
   5997 
   5998 
   5999           pkgpythondir=\${pythondir}/$PACKAGE
   6000 
   6001 
   6002           { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory (pyexecdir)" >&5
   6003 printf %s "checking for $am_display_PYTHON extension module directory (pyexecdir)... " >&6; }
   6004 if test ${am_cv_python_pyexecdir+y}
   6005 then :
   6006   printf %s "(cached) " >&6
   6007 else $as_nop
   6008   if test "x$am_cv_python_exec_prefix" = x; then
   6009      am_py_exec_prefix=$am__usable_exec_prefix
   6010    else
   6011      am_py_exec_prefix=$am_cv_python_exec_prefix
   6012    fi
   6013    am_cv_python_pyexecdir=`$PYTHON -c "
   6014 $am_python_setup_sysconfig
   6015 if can_use_sysconfig:
   6016   sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_exec_prefix'})
   6017 else:
   6018   from distutils import sysconfig
   6019   sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_exec_prefix')
   6020 sys.stdout.write(sitedir)"`
   6021    #
   6022    case $am_cv_python_pyexecdir in
   6023    $am_py_exec_prefix*)
   6024      am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
   6025      am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,\\${PYTHON_EXEC_PREFIX},"`
   6026      ;;
   6027    *)
   6028      case $am_py_exec_prefix in
   6029        /usr|/System*) ;;
   6030        *) am_cv_python_pyexecdir="\${PYTHON_EXEC_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
   6031           ;;
   6032      esac
   6033      ;;
   6034    esac
   6035 
   6036 fi
   6037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
   6038 printf "%s\n" "$am_cv_python_pyexecdir" >&6; }
   6039   pyexecdir=$am_cv_python_pyexecdir
   6040 
   6041 
   6042       pkgpyexecdir=\${pyexecdir}/$PACKAGE
   6043 
   6044 
   6045 
   6046   fi
   6047 
   6048 
   6049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for RM macro" >&5
   6050 printf %s "checking for RM macro... " >&6; }
   6051 _predefined_rm=`make -p -f /dev/null 2>/dev/null|grep '^RM ='|sed -e 's/^RM = //'`
   6052 if test "x$_predefined_rm" = "x"; then
   6053 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no predefined RM" >&5
   6054 printf "%s\n" "no predefined RM" >&6; }
   6055 	# Extract the first word of "rm", so it can be a program name with args.
   6056 set dummy rm; ac_word=$2
   6057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6058 printf %s "checking for $ac_word... " >&6; }
   6059 if test ${ac_cv_prog_RM+y}
   6060 then :
   6061   printf %s "(cached) " >&6
   6062 else $as_nop
   6063   if test -n "$RM"; then
   6064   ac_cv_prog_RM="$RM" # Let the user override the test.
   6065 else
   6066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6067 for as_dir in $PATH
   6068 do
   6069   IFS=$as_save_IFS
   6070   case $as_dir in #(((
   6071     '') as_dir=./ ;;
   6072     */) ;;
   6073     *) as_dir=$as_dir/ ;;
   6074   esac
   6075     for ac_exec_ext in '' $ac_executable_extensions; do
   6076   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6077     ac_cv_prog_RM="rm -f"
   6078     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6079     break 2
   6080   fi
   6081 done
   6082   done
   6083 IFS=$as_save_IFS
   6084 
   6085 fi
   6086 fi
   6087 RM=$ac_cv_prog_RM
   6088 if test -n "$RM"; then
   6089   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
   6090 printf "%s\n" "$RM" >&6; }
   6091 else
   6092   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6093 printf "%s\n" "no" >&6; }
   6094 fi
   6095 
   6096 
   6097 else
   6098 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_predefined_rm" >&5
   6099 printf "%s\n" "$_predefined_rm" >&6; }
   6100 fi
   6101 
   6102 
   6103 case `pwd` in
   6104   *\ * | *\	*)
   6105     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   6106 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   6107 esac
   6108 
   6109 
   6110 
   6111 macro_version='2.4.7'
   6112 macro_revision='2.4.7'
   6113 
   6114 
   6115 
   6116 
   6117 
   6118 
   6119 
   6120 
   6121 
   6122 
   6123 
   6124 
   6125 
   6126 
   6127 ltmain=$ac_aux_dir/ltmain.sh
   6128 
   6129 
   6130 
   6131   # Make sure we can run config.sub.
   6132 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   6133   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   6134 
   6135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   6136 printf %s "checking build system type... " >&6; }
   6137 if test ${ac_cv_build+y}
   6138 then :
   6139   printf %s "(cached) " >&6
   6140 else $as_nop
   6141   ac_build_alias=$build_alias
   6142 test "x$ac_build_alias" = x &&
   6143   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   6144 test "x$ac_build_alias" = x &&
   6145   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   6146 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   6147   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   6148 
   6149 fi
   6150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   6151 printf "%s\n" "$ac_cv_build" >&6; }
   6152 case $ac_cv_build in
   6153 *-*-*) ;;
   6154 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   6155 esac
   6156 build=$ac_cv_build
   6157 ac_save_IFS=$IFS; IFS='-'
   6158 set x $ac_cv_build
   6159 shift
   6160 build_cpu=$1
   6161 build_vendor=$2
   6162 shift; shift
   6163 # Remember, the first character of IFS is used to create $*,
   6164 # except with old shells:
   6165 build_os=$*
   6166 IFS=$ac_save_IFS
   6167 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   6168 
   6169 
   6170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   6171 printf %s "checking host system type... " >&6; }
   6172 if test ${ac_cv_host+y}
   6173 then :
   6174   printf %s "(cached) " >&6
   6175 else $as_nop
   6176   if test "x$host_alias" = x; then
   6177   ac_cv_host=$ac_cv_build
   6178 else
   6179   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   6180     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   6181 fi
   6182 
   6183 fi
   6184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   6185 printf "%s\n" "$ac_cv_host" >&6; }
   6186 case $ac_cv_host in
   6187 *-*-*) ;;
   6188 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   6189 esac
   6190 host=$ac_cv_host
   6191 ac_save_IFS=$IFS; IFS='-'
   6192 set x $ac_cv_host
   6193 shift
   6194 host_cpu=$1
   6195 host_vendor=$2
   6196 shift; shift
   6197 # Remember, the first character of IFS is used to create $*,
   6198 # except with old shells:
   6199 host_os=$*
   6200 IFS=$ac_save_IFS
   6201 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   6202 
   6203 
   6204 # Backslashify metacharacters that are still active within
   6205 # double-quoted strings.
   6206 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   6207 
   6208 # Same as above, but do not quote variable references.
   6209 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   6210 
   6211 # Sed substitution to delay expansion of an escaped shell variable in a
   6212 # double_quote_subst'ed string.
   6213 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6214 
   6215 # Sed substitution to delay expansion of an escaped single quote.
   6216 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   6217 
   6218 # Sed substitution to avoid accidental globbing in evaled expressions
   6219 no_glob_subst='s/\*/\\\*/g'
   6220 
   6221 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   6222 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   6223 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   6224 
   6225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   6226 printf %s "checking how to print strings... " >&6; }
   6227 # Test print first, because it will be a builtin if present.
   6228 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   6229    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   6230   ECHO='print -r --'
   6231 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   6232   ECHO='printf %s\n'
   6233 else
   6234   # Use this function as a fallback that always works.
   6235   func_fallback_echo ()
   6236   {
   6237     eval 'cat <<_LTECHO_EOF
   6238 $1
   6239 _LTECHO_EOF'
   6240   }
   6241   ECHO='func_fallback_echo'
   6242 fi
   6243 
   6244 # func_echo_all arg...
   6245 # Invoke $ECHO with all args, space-separated.
   6246 func_echo_all ()
   6247 {
   6248     $ECHO ""
   6249 }
   6250 
   6251 case $ECHO in
   6252   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   6253 printf "%s\n" "printf" >&6; } ;;
   6254   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   6255 printf "%s\n" "print -r" >&6; } ;;
   6256   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   6257 printf "%s\n" "cat" >&6; } ;;
   6258 esac
   6259 
   6260 
   6261 
   6262 
   6263 
   6264 
   6265 
   6266 
   6267 
   6268 
   6269 
   6270 
   6271 
   6272 
   6273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   6274 printf %s "checking for a sed that does not truncate output... " >&6; }
   6275 if test ${ac_cv_path_SED+y}
   6276 then :
   6277   printf %s "(cached) " >&6
   6278 else $as_nop
   6279             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   6280      for ac_i in 1 2 3 4 5 6 7; do
   6281        ac_script="$ac_script$as_nl$ac_script"
   6282      done
   6283      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   6284      { ac_script=; unset ac_script;}
   6285      if test -z "$SED"; then
   6286   ac_path_SED_found=false
   6287   # Loop through the user's path and test for each of PROGNAME-LIST
   6288   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6289 for as_dir in $PATH
   6290 do
   6291   IFS=$as_save_IFS
   6292   case $as_dir in #(((
   6293     '') as_dir=./ ;;
   6294     */) ;;
   6295     *) as_dir=$as_dir/ ;;
   6296   esac
   6297     for ac_prog in sed gsed
   6298    do
   6299     for ac_exec_ext in '' $ac_executable_extensions; do
   6300       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   6301       as_fn_executable_p "$ac_path_SED" || continue
   6302 # Check for GNU ac_path_SED and select it if it is found.
   6303   # Check for GNU $ac_path_SED
   6304 case `"$ac_path_SED" --version 2>&1` in
   6305 *GNU*)
   6306   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   6307 *)
   6308   ac_count=0
   6309   printf %s 0123456789 >"conftest.in"
   6310   while :
   6311   do
   6312     cat "conftest.in" "conftest.in" >"conftest.tmp"
   6313     mv "conftest.tmp" "conftest.in"
   6314     cp "conftest.in" "conftest.nl"
   6315     printf "%s\n" '' >> "conftest.nl"
   6316     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   6317     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   6318     as_fn_arith $ac_count + 1 && ac_count=$as_val
   6319     if test $ac_count -gt ${ac_path_SED_max-0}; then
   6320       # Best one so far, save it but keep looking for a better one
   6321       ac_cv_path_SED="$ac_path_SED"
   6322       ac_path_SED_max=$ac_count
   6323     fi
   6324     # 10*(2^10) chars as input seems more than enough
   6325     test $ac_count -gt 10 && break
   6326   done
   6327   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   6328 esac
   6329 
   6330       $ac_path_SED_found && break 3
   6331     done
   6332   done
   6333   done
   6334 IFS=$as_save_IFS
   6335   if test -z "$ac_cv_path_SED"; then
   6336     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   6337   fi
   6338 else
   6339   ac_cv_path_SED=$SED
   6340 fi
   6341 
   6342 fi
   6343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   6344 printf "%s\n" "$ac_cv_path_SED" >&6; }
   6345  SED="$ac_cv_path_SED"
   6346   rm -f conftest.sed
   6347 
   6348 test -z "$SED" && SED=sed
   6349 Xsed="$SED -e 1s/^X//"
   6350 
   6351 
   6352 
   6353 
   6354 
   6355 
   6356 
   6357 
   6358 
   6359 
   6360 
   6361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   6362 printf %s "checking for grep that handles long lines and -e... " >&6; }
   6363 if test ${ac_cv_path_GREP+y}
   6364 then :
   6365   printf %s "(cached) " >&6
   6366 else $as_nop
   6367   if test -z "$GREP"; then
   6368   ac_path_GREP_found=false
   6369   # Loop through the user's path and test for each of PROGNAME-LIST
   6370   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6371 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   6372 do
   6373   IFS=$as_save_IFS
   6374   case $as_dir in #(((
   6375     '') as_dir=./ ;;
   6376     */) ;;
   6377     *) as_dir=$as_dir/ ;;
   6378   esac
   6379     for ac_prog in grep ggrep
   6380    do
   6381     for ac_exec_ext in '' $ac_executable_extensions; do
   6382       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   6383       as_fn_executable_p "$ac_path_GREP" || continue
   6384 # Check for GNU ac_path_GREP and select it if it is found.
   6385   # Check for GNU $ac_path_GREP
   6386 case `"$ac_path_GREP" --version 2>&1` in
   6387 *GNU*)
   6388   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   6389 *)
   6390   ac_count=0
   6391   printf %s 0123456789 >"conftest.in"
   6392   while :
   6393   do
   6394     cat "conftest.in" "conftest.in" >"conftest.tmp"
   6395     mv "conftest.tmp" "conftest.in"
   6396     cp "conftest.in" "conftest.nl"
   6397     printf "%s\n" 'GREP' >> "conftest.nl"
   6398     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   6399     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   6400     as_fn_arith $ac_count + 1 && ac_count=$as_val
   6401     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   6402       # Best one so far, save it but keep looking for a better one
   6403       ac_cv_path_GREP="$ac_path_GREP"
   6404       ac_path_GREP_max=$ac_count
   6405     fi
   6406     # 10*(2^10) chars as input seems more than enough
   6407     test $ac_count -gt 10 && break
   6408   done
   6409   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   6410 esac
   6411 
   6412       $ac_path_GREP_found && break 3
   6413     done
   6414   done
   6415   done
   6416 IFS=$as_save_IFS
   6417   if test -z "$ac_cv_path_GREP"; then
   6418     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   6419   fi
   6420 else
   6421   ac_cv_path_GREP=$GREP
   6422 fi
   6423 
   6424 fi
   6425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   6426 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   6427  GREP="$ac_cv_path_GREP"
   6428 
   6429 
   6430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   6431 printf %s "checking for egrep... " >&6; }
   6432 if test ${ac_cv_path_EGREP+y}
   6433 then :
   6434   printf %s "(cached) " >&6
   6435 else $as_nop
   6436   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   6437    then ac_cv_path_EGREP="$GREP -E"
   6438    else
   6439      if test -z "$EGREP"; then
   6440   ac_path_EGREP_found=false
   6441   # Loop through the user's path and test for each of PROGNAME-LIST
   6442   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6443 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   6444 do
   6445   IFS=$as_save_IFS
   6446   case $as_dir in #(((
   6447     '') as_dir=./ ;;
   6448     */) ;;
   6449     *) as_dir=$as_dir/ ;;
   6450   esac
   6451     for ac_prog in egrep
   6452    do
   6453     for ac_exec_ext in '' $ac_executable_extensions; do
   6454       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   6455       as_fn_executable_p "$ac_path_EGREP" || continue
   6456 # Check for GNU ac_path_EGREP and select it if it is found.
   6457   # Check for GNU $ac_path_EGREP
   6458 case `"$ac_path_EGREP" --version 2>&1` in
   6459 *GNU*)
   6460   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   6461 *)
   6462   ac_count=0
   6463   printf %s 0123456789 >"conftest.in"
   6464   while :
   6465   do
   6466     cat "conftest.in" "conftest.in" >"conftest.tmp"
   6467     mv "conftest.tmp" "conftest.in"
   6468     cp "conftest.in" "conftest.nl"
   6469     printf "%s\n" 'EGREP' >> "conftest.nl"
   6470     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   6471     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   6472     as_fn_arith $ac_count + 1 && ac_count=$as_val
   6473     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   6474       # Best one so far, save it but keep looking for a better one
   6475       ac_cv_path_EGREP="$ac_path_EGREP"
   6476       ac_path_EGREP_max=$ac_count
   6477     fi
   6478     # 10*(2^10) chars as input seems more than enough
   6479     test $ac_count -gt 10 && break
   6480   done
   6481   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   6482 esac
   6483 
   6484       $ac_path_EGREP_found && break 3
   6485     done
   6486   done
   6487   done
   6488 IFS=$as_save_IFS
   6489   if test -z "$ac_cv_path_EGREP"; then
   6490     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   6491   fi
   6492 else
   6493   ac_cv_path_EGREP=$EGREP
   6494 fi
   6495 
   6496    fi
   6497 fi
   6498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   6499 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   6500  EGREP="$ac_cv_path_EGREP"
   6501 
   6502 
   6503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   6504 printf %s "checking for fgrep... " >&6; }
   6505 if test ${ac_cv_path_FGREP+y}
   6506 then :
   6507   printf %s "(cached) " >&6
   6508 else $as_nop
   6509   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   6510    then ac_cv_path_FGREP="$GREP -F"
   6511    else
   6512      if test -z "$FGREP"; then
   6513   ac_path_FGREP_found=false
   6514   # Loop through the user's path and test for each of PROGNAME-LIST
   6515   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6516 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   6517 do
   6518   IFS=$as_save_IFS
   6519   case $as_dir in #(((
   6520     '') as_dir=./ ;;
   6521     */) ;;
   6522     *) as_dir=$as_dir/ ;;
   6523   esac
   6524     for ac_prog in fgrep
   6525    do
   6526     for ac_exec_ext in '' $ac_executable_extensions; do
   6527       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   6528       as_fn_executable_p "$ac_path_FGREP" || continue
   6529 # Check for GNU ac_path_FGREP and select it if it is found.
   6530   # Check for GNU $ac_path_FGREP
   6531 case `"$ac_path_FGREP" --version 2>&1` in
   6532 *GNU*)
   6533   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   6534 *)
   6535   ac_count=0
   6536   printf %s 0123456789 >"conftest.in"
   6537   while :
   6538   do
   6539     cat "conftest.in" "conftest.in" >"conftest.tmp"
   6540     mv "conftest.tmp" "conftest.in"
   6541     cp "conftest.in" "conftest.nl"
   6542     printf "%s\n" 'FGREP' >> "conftest.nl"
   6543     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   6544     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   6545     as_fn_arith $ac_count + 1 && ac_count=$as_val
   6546     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   6547       # Best one so far, save it but keep looking for a better one
   6548       ac_cv_path_FGREP="$ac_path_FGREP"
   6549       ac_path_FGREP_max=$ac_count
   6550     fi
   6551     # 10*(2^10) chars as input seems more than enough
   6552     test $ac_count -gt 10 && break
   6553   done
   6554   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   6555 esac
   6556 
   6557       $ac_path_FGREP_found && break 3
   6558     done
   6559   done
   6560   done
   6561 IFS=$as_save_IFS
   6562   if test -z "$ac_cv_path_FGREP"; then
   6563     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   6564   fi
   6565 else
   6566   ac_cv_path_FGREP=$FGREP
   6567 fi
   6568 
   6569    fi
   6570 fi
   6571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   6572 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   6573  FGREP="$ac_cv_path_FGREP"
   6574 
   6575 
   6576 test -z "$GREP" && GREP=grep
   6577 
   6578 
   6579 
   6580 
   6581 
   6582 
   6583 
   6584 
   6585 
   6586 
   6587 
   6588 
   6589 
   6590 
   6591 
   6592 
   6593 
   6594 
   6595 
   6596 # Check whether --with-gnu-ld was given.
   6597 if test ${with_gnu_ld+y}
   6598 then :
   6599   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   6600 else $as_nop
   6601   with_gnu_ld=no
   6602 fi
   6603 
   6604 ac_prog=ld
   6605 if test yes = "$GCC"; then
   6606   # Check if gcc -print-prog-name=ld gives a path.
   6607   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   6608 printf %s "checking for ld used by $CC... " >&6; }
   6609   case $host in
   6610   *-*-mingw*)
   6611     # gcc leaves a trailing carriage return, which upsets mingw
   6612     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   6613   *)
   6614     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   6615   esac
   6616   case $ac_prog in
   6617     # Accept absolute paths.
   6618     [\\/]* | ?:[\\/]*)
   6619       re_direlt='/[^/][^/]*/\.\./'
   6620       # Canonicalize the pathname of ld
   6621       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   6622       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   6623 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   6624       done
   6625       test -z "$LD" && LD=$ac_prog
   6626       ;;
   6627   "")
   6628     # If it fails, then pretend we aren't using GCC.
   6629     ac_prog=ld
   6630     ;;
   6631   *)
   6632     # If it is relative, then search for the first ld in PATH.
   6633     with_gnu_ld=unknown
   6634     ;;
   6635   esac
   6636 elif test yes = "$with_gnu_ld"; then
   6637   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   6638 printf %s "checking for GNU ld... " >&6; }
   6639 else
   6640   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   6641 printf %s "checking for non-GNU ld... " >&6; }
   6642 fi
   6643 if test ${lt_cv_path_LD+y}
   6644 then :
   6645   printf %s "(cached) " >&6
   6646 else $as_nop
   6647   if test -z "$LD"; then
   6648   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   6649   for ac_dir in $PATH; do
   6650     IFS=$lt_save_ifs
   6651     test -z "$ac_dir" && ac_dir=.
   6652     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   6653       lt_cv_path_LD=$ac_dir/$ac_prog
   6654       # Check to see if the program is GNU ld.  I'd rather use --version,
   6655       # but apparently some variants of GNU ld only accept -v.
   6656       # Break only if it was the GNU/non-GNU ld that we prefer.
   6657       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   6658       *GNU* | *'with BFD'*)
   6659 	test no != "$with_gnu_ld" && break
   6660 	;;
   6661       *)
   6662 	test yes != "$with_gnu_ld" && break
   6663 	;;
   6664       esac
   6665     fi
   6666   done
   6667   IFS=$lt_save_ifs
   6668 else
   6669   lt_cv_path_LD=$LD # Let the user override the test with a path.
   6670 fi
   6671 fi
   6672 
   6673 LD=$lt_cv_path_LD
   6674 if test -n "$LD"; then
   6675   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   6676 printf "%s\n" "$LD" >&6; }
   6677 else
   6678   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6679 printf "%s\n" "no" >&6; }
   6680 fi
   6681 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   6682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   6683 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   6684 if test ${lt_cv_prog_gnu_ld+y}
   6685 then :
   6686   printf %s "(cached) " >&6
   6687 else $as_nop
   6688   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   6689 case `$LD -v 2>&1 </dev/null` in
   6690 *GNU* | *'with BFD'*)
   6691   lt_cv_prog_gnu_ld=yes
   6692   ;;
   6693 *)
   6694   lt_cv_prog_gnu_ld=no
   6695   ;;
   6696 esac
   6697 fi
   6698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   6699 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   6700 with_gnu_ld=$lt_cv_prog_gnu_ld
   6701 
   6702 
   6703 
   6704 
   6705 
   6706 
   6707 
   6708 
   6709 
   6710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   6711 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   6712 if test ${lt_cv_path_NM+y}
   6713 then :
   6714   printf %s "(cached) " >&6
   6715 else $as_nop
   6716   if test -n "$NM"; then
   6717   # Let the user override the test.
   6718   lt_cv_path_NM=$NM
   6719 else
   6720   lt_nm_to_check=${ac_tool_prefix}nm
   6721   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   6722     lt_nm_to_check="$lt_nm_to_check nm"
   6723   fi
   6724   for lt_tmp_nm in $lt_nm_to_check; do
   6725     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   6726     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   6727       IFS=$lt_save_ifs
   6728       test -z "$ac_dir" && ac_dir=.
   6729       tmp_nm=$ac_dir/$lt_tmp_nm
   6730       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   6731 	# Check to see if the nm accepts a BSD-compat flag.
   6732 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   6733 	#   nm: unknown option "B" ignored
   6734 	# Tru64's nm complains that /dev/null is an invalid object file
   6735 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   6736 	case $build_os in
   6737 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   6738 	*) lt_bad_file=/dev/null ;;
   6739 	esac
   6740 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   6741 	*$lt_bad_file* | *'Invalid file or object type'*)
   6742 	  lt_cv_path_NM="$tmp_nm -B"
   6743 	  break 2
   6744 	  ;;
   6745 	*)
   6746 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   6747 	  */dev/null*)
   6748 	    lt_cv_path_NM="$tmp_nm -p"
   6749 	    break 2
   6750 	    ;;
   6751 	  *)
   6752 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   6753 	    continue # so that we can try to find one that supports BSD flags
   6754 	    ;;
   6755 	  esac
   6756 	  ;;
   6757 	esac
   6758       fi
   6759     done
   6760     IFS=$lt_save_ifs
   6761   done
   6762   : ${lt_cv_path_NM=no}
   6763 fi
   6764 fi
   6765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   6766 printf "%s\n" "$lt_cv_path_NM" >&6; }
   6767 if test no != "$lt_cv_path_NM"; then
   6768   NM=$lt_cv_path_NM
   6769 else
   6770   # Didn't find any BSD compatible name lister, look for dumpbin.
   6771   if test -n "$DUMPBIN"; then :
   6772     # Let the user override the test.
   6773   else
   6774     if test -n "$ac_tool_prefix"; then
   6775   for ac_prog in dumpbin "link -dump"
   6776   do
   6777     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6778 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6780 printf %s "checking for $ac_word... " >&6; }
   6781 if test ${ac_cv_prog_DUMPBIN+y}
   6782 then :
   6783   printf %s "(cached) " >&6
   6784 else $as_nop
   6785   if test -n "$DUMPBIN"; then
   6786   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   6787 else
   6788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6789 for as_dir in $PATH
   6790 do
   6791   IFS=$as_save_IFS
   6792   case $as_dir in #(((
   6793     '') as_dir=./ ;;
   6794     */) ;;
   6795     *) as_dir=$as_dir/ ;;
   6796   esac
   6797     for ac_exec_ext in '' $ac_executable_extensions; do
   6798   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6799     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   6800     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6801     break 2
   6802   fi
   6803 done
   6804   done
   6805 IFS=$as_save_IFS
   6806 
   6807 fi
   6808 fi
   6809 DUMPBIN=$ac_cv_prog_DUMPBIN
   6810 if test -n "$DUMPBIN"; then
   6811   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   6812 printf "%s\n" "$DUMPBIN" >&6; }
   6813 else
   6814   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6815 printf "%s\n" "no" >&6; }
   6816 fi
   6817 
   6818 
   6819     test -n "$DUMPBIN" && break
   6820   done
   6821 fi
   6822 if test -z "$DUMPBIN"; then
   6823   ac_ct_DUMPBIN=$DUMPBIN
   6824   for ac_prog in dumpbin "link -dump"
   6825 do
   6826   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6827 set dummy $ac_prog; ac_word=$2
   6828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6829 printf %s "checking for $ac_word... " >&6; }
   6830 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   6831 then :
   6832   printf %s "(cached) " >&6
   6833 else $as_nop
   6834   if test -n "$ac_ct_DUMPBIN"; then
   6835   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   6836 else
   6837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6838 for as_dir in $PATH
   6839 do
   6840   IFS=$as_save_IFS
   6841   case $as_dir in #(((
   6842     '') as_dir=./ ;;
   6843     */) ;;
   6844     *) as_dir=$as_dir/ ;;
   6845   esac
   6846     for ac_exec_ext in '' $ac_executable_extensions; do
   6847   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6848     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   6849     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6850     break 2
   6851   fi
   6852 done
   6853   done
   6854 IFS=$as_save_IFS
   6855 
   6856 fi
   6857 fi
   6858 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   6859 if test -n "$ac_ct_DUMPBIN"; then
   6860   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   6861 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   6862 else
   6863   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6864 printf "%s\n" "no" >&6; }
   6865 fi
   6866 
   6867 
   6868   test -n "$ac_ct_DUMPBIN" && break
   6869 done
   6870 
   6871   if test "x$ac_ct_DUMPBIN" = x; then
   6872     DUMPBIN=":"
   6873   else
   6874     case $cross_compiling:$ac_tool_warned in
   6875 yes:)
   6876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6877 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6878 ac_tool_warned=yes ;;
   6879 esac
   6880     DUMPBIN=$ac_ct_DUMPBIN
   6881   fi
   6882 fi
   6883 
   6884     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   6885     *COFF*)
   6886       DUMPBIN="$DUMPBIN -symbols -headers"
   6887       ;;
   6888     *)
   6889       DUMPBIN=:
   6890       ;;
   6891     esac
   6892   fi
   6893 
   6894   if test : != "$DUMPBIN"; then
   6895     NM=$DUMPBIN
   6896   fi
   6897 fi
   6898 test -z "$NM" && NM=nm
   6899 
   6900 
   6901 
   6902 
   6903 
   6904 
   6905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   6906 printf %s "checking the name lister ($NM) interface... " >&6; }
   6907 if test ${lt_cv_nm_interface+y}
   6908 then :
   6909   printf %s "(cached) " >&6
   6910 else $as_nop
   6911   lt_cv_nm_interface="BSD nm"
   6912   echo "int some_variable = 0;" > conftest.$ac_ext
   6913   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   6914   (eval "$ac_compile" 2>conftest.err)
   6915   cat conftest.err >&5
   6916   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   6917   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   6918   cat conftest.err >&5
   6919   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   6920   cat conftest.out >&5
   6921   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   6922     lt_cv_nm_interface="MS dumpbin"
   6923   fi
   6924   rm -f conftest*
   6925 fi
   6926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   6927 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   6928 
   6929 # find the maximum length of command line arguments
   6930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   6931 printf %s "checking the maximum length of command line arguments... " >&6; }
   6932 if test ${lt_cv_sys_max_cmd_len+y}
   6933 then :
   6934   printf %s "(cached) " >&6
   6935 else $as_nop
   6936     i=0
   6937   teststring=ABCD
   6938 
   6939   case $build_os in
   6940   msdosdjgpp*)
   6941     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6942     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6943     # during glob expansion).  Even if it were fixed, the result of this
   6944     # check would be larger than it should be.
   6945     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6946     ;;
   6947 
   6948   gnu*)
   6949     # Under GNU Hurd, this test is not required because there is
   6950     # no limit to the length of command line arguments.
   6951     # Libtool will interpret -1 as no limit whatsoever
   6952     lt_cv_sys_max_cmd_len=-1;
   6953     ;;
   6954 
   6955   cygwin* | mingw* | cegcc*)
   6956     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6957     # about 5 minutes as the teststring grows exponentially.
   6958     # Worse, since 9x/ME are not pre-emptively multitasking,
   6959     # you end up with a "frozen" computer, even though with patience
   6960     # the test eventually succeeds (with a max line length of 256k).
   6961     # Instead, let's just punt: use the minimum linelength reported by
   6962     # all of the supported platforms: 8192 (on NT/2K/XP).
   6963     lt_cv_sys_max_cmd_len=8192;
   6964     ;;
   6965 
   6966   mint*)
   6967     # On MiNT this can take a long time and run out of memory.
   6968     lt_cv_sys_max_cmd_len=8192;
   6969     ;;
   6970 
   6971   amigaos*)
   6972     # On AmigaOS with pdksh, this test takes hours, literally.
   6973     # So we just punt and use a minimum line length of 8192.
   6974     lt_cv_sys_max_cmd_len=8192;
   6975     ;;
   6976 
   6977   bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   6978     # This has been around since 386BSD, at least.  Likely further.
   6979     if test -x /sbin/sysctl; then
   6980       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6981     elif test -x /usr/sbin/sysctl; then
   6982       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6983     else
   6984       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6985     fi
   6986     # And add a safety zone
   6987     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6988     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6989     ;;
   6990 
   6991   interix*)
   6992     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6993     lt_cv_sys_max_cmd_len=196608
   6994     ;;
   6995 
   6996   os2*)
   6997     # The test takes a long time on OS/2.
   6998     lt_cv_sys_max_cmd_len=8192
   6999     ;;
   7000 
   7001   osf*)
   7002     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   7003     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   7004     # nice to cause kernel panics so lets avoid the loop below.
   7005     # First set a reasonable default.
   7006     lt_cv_sys_max_cmd_len=16384
   7007     #
   7008     if test -x /sbin/sysconfig; then
   7009       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   7010         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   7011       esac
   7012     fi
   7013     ;;
   7014   sco3.2v5*)
   7015     lt_cv_sys_max_cmd_len=102400
   7016     ;;
   7017   sysv5* | sco5v6* | sysv4.2uw2*)
   7018     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   7019     if test -n "$kargmax"; then
   7020       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   7021     else
   7022       lt_cv_sys_max_cmd_len=32768
   7023     fi
   7024     ;;
   7025   *)
   7026     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   7027     if test -n "$lt_cv_sys_max_cmd_len" && \
   7028        test undefined != "$lt_cv_sys_max_cmd_len"; then
   7029       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   7030       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   7031     else
   7032       # Make teststring a little bigger before we do anything with it.
   7033       # a 1K string should be a reasonable start.
   7034       for i in 1 2 3 4 5 6 7 8; do
   7035         teststring=$teststring$teststring
   7036       done
   7037       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   7038       # If test is not a shell built-in, we'll probably end up computing a
   7039       # maximum length that is only half of the actual maximum length, but
   7040       # we can't tell.
   7041       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   7042 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   7043 	      test 17 != "$i" # 1/2 MB should be enough
   7044       do
   7045         i=`expr $i + 1`
   7046         teststring=$teststring$teststring
   7047       done
   7048       # Only check the string length outside the loop.
   7049       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   7050       teststring=
   7051       # Add a significant safety factor because C++ compilers can tack on
   7052       # massive amounts of additional arguments before passing them to the
   7053       # linker.  It appears as though 1/2 is a usable value.
   7054       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   7055     fi
   7056     ;;
   7057   esac
   7058 
   7059 fi
   7060 
   7061 if test -n "$lt_cv_sys_max_cmd_len"; then
   7062   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   7063 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   7064 else
   7065   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   7066 printf "%s\n" "none" >&6; }
   7067 fi
   7068 max_cmd_len=$lt_cv_sys_max_cmd_len
   7069 
   7070 
   7071 
   7072 
   7073 
   7074 
   7075 : ${CP="cp -f"}
   7076 : ${MV="mv -f"}
   7077 : ${RM="rm -f"}
   7078 
   7079 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   7080   lt_unset=unset
   7081 else
   7082   lt_unset=false
   7083 fi
   7084 
   7085 
   7086 
   7087 
   7088 
   7089 # test EBCDIC or ASCII
   7090 case `echo X|tr X '\101'` in
   7091  A) # ASCII based system
   7092     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   7093   lt_SP2NL='tr \040 \012'
   7094   lt_NL2SP='tr \015\012 \040\040'
   7095   ;;
   7096  *) # EBCDIC based system
   7097   lt_SP2NL='tr \100 \n'
   7098   lt_NL2SP='tr \r\n \100\100'
   7099   ;;
   7100 esac
   7101 
   7102 
   7103 
   7104 
   7105 
   7106 
   7107 
   7108 
   7109 
   7110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   7111 printf %s "checking how to convert $build file names to $host format... " >&6; }
   7112 if test ${lt_cv_to_host_file_cmd+y}
   7113 then :
   7114   printf %s "(cached) " >&6
   7115 else $as_nop
   7116   case $host in
   7117   *-*-mingw* )
   7118     case $build in
   7119       *-*-mingw* ) # actually msys
   7120         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   7121         ;;
   7122       *-*-cygwin* )
   7123         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   7124         ;;
   7125       * ) # otherwise, assume *nix
   7126         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   7127         ;;
   7128     esac
   7129     ;;
   7130   *-*-cygwin* )
   7131     case $build in
   7132       *-*-mingw* ) # actually msys
   7133         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   7134         ;;
   7135       *-*-cygwin* )
   7136         lt_cv_to_host_file_cmd=func_convert_file_noop
   7137         ;;
   7138       * ) # otherwise, assume *nix
   7139         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   7140         ;;
   7141     esac
   7142     ;;
   7143   * ) # unhandled hosts (and "normal" native builds)
   7144     lt_cv_to_host_file_cmd=func_convert_file_noop
   7145     ;;
   7146 esac
   7147 
   7148 fi
   7149 
   7150 to_host_file_cmd=$lt_cv_to_host_file_cmd
   7151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   7152 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   7153 
   7154 
   7155 
   7156 
   7157 
   7158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   7159 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   7160 if test ${lt_cv_to_tool_file_cmd+y}
   7161 then :
   7162   printf %s "(cached) " >&6
   7163 else $as_nop
   7164   #assume ordinary cross tools, or native build.
   7165 lt_cv_to_tool_file_cmd=func_convert_file_noop
   7166 case $host in
   7167   *-*-mingw* )
   7168     case $build in
   7169       *-*-mingw* ) # actually msys
   7170         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   7171         ;;
   7172     esac
   7173     ;;
   7174 esac
   7175 
   7176 fi
   7177 
   7178 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   7179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   7180 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   7181 
   7182 
   7183 
   7184 
   7185 
   7186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   7187 printf %s "checking for $LD option to reload object files... " >&6; }
   7188 if test ${lt_cv_ld_reload_flag+y}
   7189 then :
   7190   printf %s "(cached) " >&6
   7191 else $as_nop
   7192   lt_cv_ld_reload_flag='-r'
   7193 fi
   7194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   7195 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   7196 reload_flag=$lt_cv_ld_reload_flag
   7197 case $reload_flag in
   7198 "" | " "*) ;;
   7199 *) reload_flag=" $reload_flag" ;;
   7200 esac
   7201 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   7202 case $host_os in
   7203   cygwin* | mingw* | pw32* | cegcc*)
   7204     if test yes != "$GCC"; then
   7205       reload_cmds=false
   7206     fi
   7207     ;;
   7208   darwin*)
   7209     if test yes = "$GCC"; then
   7210       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   7211     else
   7212       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   7213     fi
   7214     ;;
   7215 esac
   7216 
   7217 
   7218 
   7219 
   7220 
   7221 
   7222 
   7223 
   7224 
   7225 if test -n "$ac_tool_prefix"; then
   7226   # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
   7227 set dummy ${ac_tool_prefix}file; ac_word=$2
   7228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7229 printf %s "checking for $ac_word... " >&6; }
   7230 if test ${ac_cv_prog_FILECMD+y}
   7231 then :
   7232   printf %s "(cached) " >&6
   7233 else $as_nop
   7234   if test -n "$FILECMD"; then
   7235   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   7236 else
   7237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7238 for as_dir in $PATH
   7239 do
   7240   IFS=$as_save_IFS
   7241   case $as_dir in #(((
   7242     '') as_dir=./ ;;
   7243     */) ;;
   7244     *) as_dir=$as_dir/ ;;
   7245   esac
   7246     for ac_exec_ext in '' $ac_executable_extensions; do
   7247   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7248     ac_cv_prog_FILECMD="${ac_tool_prefix}file"
   7249     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7250     break 2
   7251   fi
   7252 done
   7253   done
   7254 IFS=$as_save_IFS
   7255 
   7256 fi
   7257 fi
   7258 FILECMD=$ac_cv_prog_FILECMD
   7259 if test -n "$FILECMD"; then
   7260   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   7261 printf "%s\n" "$FILECMD" >&6; }
   7262 else
   7263   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7264 printf "%s\n" "no" >&6; }
   7265 fi
   7266 
   7267 
   7268 fi
   7269 if test -z "$ac_cv_prog_FILECMD"; then
   7270   ac_ct_FILECMD=$FILECMD
   7271   # Extract the first word of "file", so it can be a program name with args.
   7272 set dummy file; ac_word=$2
   7273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7274 printf %s "checking for $ac_word... " >&6; }
   7275 if test ${ac_cv_prog_ac_ct_FILECMD+y}
   7276 then :
   7277   printf %s "(cached) " >&6
   7278 else $as_nop
   7279   if test -n "$ac_ct_FILECMD"; then
   7280   ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
   7281 else
   7282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7283 for as_dir in $PATH
   7284 do
   7285   IFS=$as_save_IFS
   7286   case $as_dir in #(((
   7287     '') as_dir=./ ;;
   7288     */) ;;
   7289     *) as_dir=$as_dir/ ;;
   7290   esac
   7291     for ac_exec_ext in '' $ac_executable_extensions; do
   7292   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7293     ac_cv_prog_ac_ct_FILECMD="file"
   7294     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7295     break 2
   7296   fi
   7297 done
   7298   done
   7299 IFS=$as_save_IFS
   7300 
   7301 fi
   7302 fi
   7303 ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
   7304 if test -n "$ac_ct_FILECMD"; then
   7305   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
   7306 printf "%s\n" "$ac_ct_FILECMD" >&6; }
   7307 else
   7308   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7309 printf "%s\n" "no" >&6; }
   7310 fi
   7311 
   7312   if test "x$ac_ct_FILECMD" = x; then
   7313     FILECMD=":"
   7314   else
   7315     case $cross_compiling:$ac_tool_warned in
   7316 yes:)
   7317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7318 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7319 ac_tool_warned=yes ;;
   7320 esac
   7321     FILECMD=$ac_ct_FILECMD
   7322   fi
   7323 else
   7324   FILECMD="$ac_cv_prog_FILECMD"
   7325 fi
   7326 
   7327 
   7328 
   7329 
   7330 
   7331 
   7332 
   7333 if test -n "$ac_tool_prefix"; then
   7334   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   7335 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   7336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7337 printf %s "checking for $ac_word... " >&6; }
   7338 if test ${ac_cv_prog_OBJDUMP+y}
   7339 then :
   7340   printf %s "(cached) " >&6
   7341 else $as_nop
   7342   if test -n "$OBJDUMP"; then
   7343   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   7344 else
   7345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7346 for as_dir in $PATH
   7347 do
   7348   IFS=$as_save_IFS
   7349   case $as_dir in #(((
   7350     '') as_dir=./ ;;
   7351     */) ;;
   7352     *) as_dir=$as_dir/ ;;
   7353   esac
   7354     for ac_exec_ext in '' $ac_executable_extensions; do
   7355   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7356     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   7357     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7358     break 2
   7359   fi
   7360 done
   7361   done
   7362 IFS=$as_save_IFS
   7363 
   7364 fi
   7365 fi
   7366 OBJDUMP=$ac_cv_prog_OBJDUMP
   7367 if test -n "$OBJDUMP"; then
   7368   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   7369 printf "%s\n" "$OBJDUMP" >&6; }
   7370 else
   7371   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7372 printf "%s\n" "no" >&6; }
   7373 fi
   7374 
   7375 
   7376 fi
   7377 if test -z "$ac_cv_prog_OBJDUMP"; then
   7378   ac_ct_OBJDUMP=$OBJDUMP
   7379   # Extract the first word of "objdump", so it can be a program name with args.
   7380 set dummy objdump; ac_word=$2
   7381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7382 printf %s "checking for $ac_word... " >&6; }
   7383 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   7384 then :
   7385   printf %s "(cached) " >&6
   7386 else $as_nop
   7387   if test -n "$ac_ct_OBJDUMP"; then
   7388   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   7389 else
   7390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7391 for as_dir in $PATH
   7392 do
   7393   IFS=$as_save_IFS
   7394   case $as_dir in #(((
   7395     '') as_dir=./ ;;
   7396     */) ;;
   7397     *) as_dir=$as_dir/ ;;
   7398   esac
   7399     for ac_exec_ext in '' $ac_executable_extensions; do
   7400   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7401     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   7402     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7403     break 2
   7404   fi
   7405 done
   7406   done
   7407 IFS=$as_save_IFS
   7408 
   7409 fi
   7410 fi
   7411 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   7412 if test -n "$ac_ct_OBJDUMP"; then
   7413   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   7414 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   7415 else
   7416   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7417 printf "%s\n" "no" >&6; }
   7418 fi
   7419 
   7420   if test "x$ac_ct_OBJDUMP" = x; then
   7421     OBJDUMP="false"
   7422   else
   7423     case $cross_compiling:$ac_tool_warned in
   7424 yes:)
   7425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7426 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7427 ac_tool_warned=yes ;;
   7428 esac
   7429     OBJDUMP=$ac_ct_OBJDUMP
   7430   fi
   7431 else
   7432   OBJDUMP="$ac_cv_prog_OBJDUMP"
   7433 fi
   7434 
   7435 test -z "$OBJDUMP" && OBJDUMP=objdump
   7436 
   7437 
   7438 
   7439 
   7440 
   7441 
   7442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   7443 printf %s "checking how to recognize dependent libraries... " >&6; }
   7444 if test ${lt_cv_deplibs_check_method+y}
   7445 then :
   7446   printf %s "(cached) " >&6
   7447 else $as_nop
   7448   lt_cv_file_magic_cmd='$MAGIC_CMD'
   7449 lt_cv_file_magic_test_file=
   7450 lt_cv_deplibs_check_method='unknown'
   7451 # Need to set the preceding variable on all platforms that support
   7452 # interlibrary dependencies.
   7453 # 'none' -- dependencies not supported.
   7454 # 'unknown' -- same as none, but documents that we really don't know.
   7455 # 'pass_all' -- all dependencies passed with no checks.
   7456 # 'test_compile' -- check by making test program.
   7457 # 'file_magic [[regex]]' -- check by looking for files in library path
   7458 # that responds to the $file_magic_cmd with a given extended regex.
   7459 # If you have 'file' or equivalent on your system and you're not sure
   7460 # whether 'pass_all' will *always* work, you probably want this one.
   7461 
   7462 case $host_os in
   7463 aix[4-9]*)
   7464   lt_cv_deplibs_check_method=pass_all
   7465   ;;
   7466 
   7467 beos*)
   7468   lt_cv_deplibs_check_method=pass_all
   7469   ;;
   7470 
   7471 bsdi[45]*)
   7472   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   7473   lt_cv_file_magic_cmd='$FILECMD -L'
   7474   lt_cv_file_magic_test_file=/shlib/libc.so
   7475   ;;
   7476 
   7477 cygwin*)
   7478   # func_win32_libid is a shell function defined in ltmain.sh
   7479   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   7480   lt_cv_file_magic_cmd='func_win32_libid'
   7481   ;;
   7482 
   7483 mingw* | pw32*)
   7484   # Base MSYS/MinGW do not provide the 'file' command needed by
   7485   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   7486   # unless we find 'file', for example because we are cross-compiling.
   7487   if ( file / ) >/dev/null 2>&1; then
   7488     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   7489     lt_cv_file_magic_cmd='func_win32_libid'
   7490   else
   7491     # Keep this pattern in sync with the one in func_win32_libid.
   7492     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   7493     lt_cv_file_magic_cmd='$OBJDUMP -f'
   7494   fi
   7495   ;;
   7496 
   7497 cegcc*)
   7498   # use the weaker test based on 'objdump'. See mingw*.
   7499   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   7500   lt_cv_file_magic_cmd='$OBJDUMP -f'
   7501   ;;
   7502 
   7503 darwin* | rhapsody*)
   7504   lt_cv_deplibs_check_method=pass_all
   7505   ;;
   7506 
   7507 freebsd* | dragonfly* | midnightbsd*)
   7508   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   7509     case $host_cpu in
   7510     i*86 )
   7511       # Not sure whether the presence of OpenBSD here was a mistake.
   7512       # Let's accept both of them until this is cleared up.
   7513       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   7514       lt_cv_file_magic_cmd=$FILECMD
   7515       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   7516       ;;
   7517     esac
   7518   else
   7519     lt_cv_deplibs_check_method=pass_all
   7520   fi
   7521   ;;
   7522 
   7523 haiku*)
   7524   lt_cv_deplibs_check_method=pass_all
   7525   ;;
   7526 
   7527 hpux10.20* | hpux11*)
   7528   lt_cv_file_magic_cmd=$FILECMD
   7529   case $host_cpu in
   7530   ia64*)
   7531     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   7532     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   7533     ;;
   7534   hppa*64*)
   7535     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]'
   7536     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   7537     ;;
   7538   *)
   7539     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   7540     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   7541     ;;
   7542   esac
   7543   ;;
   7544 
   7545 interix[3-9]*)
   7546   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   7547   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   7548   ;;
   7549 
   7550 irix5* | irix6* | nonstopux*)
   7551   case $LD in
   7552   *-32|*"-32 ") libmagic=32-bit;;
   7553   *-n32|*"-n32 ") libmagic=N32;;
   7554   *-64|*"-64 ") libmagic=64-bit;;
   7555   *) libmagic=never-match;;
   7556   esac
   7557   lt_cv_deplibs_check_method=pass_all
   7558   ;;
   7559 
   7560 # This must be glibc/ELF.
   7561 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   7562   lt_cv_deplibs_check_method=pass_all
   7563   ;;
   7564 
   7565 netbsd*)
   7566   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   7567     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   7568   else
   7569     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   7570   fi
   7571   ;;
   7572 
   7573 newos6*)
   7574   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   7575   lt_cv_file_magic_cmd=$FILECMD
   7576   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   7577   ;;
   7578 
   7579 *nto* | *qnx*)
   7580   lt_cv_deplibs_check_method=pass_all
   7581   ;;
   7582 
   7583 openbsd* | bitrig*)
   7584   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   7585     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   7586   else
   7587     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   7588   fi
   7589   ;;
   7590 
   7591 osf3* | osf4* | osf5*)
   7592   lt_cv_deplibs_check_method=pass_all
   7593   ;;
   7594 
   7595 rdos*)
   7596   lt_cv_deplibs_check_method=pass_all
   7597   ;;
   7598 
   7599 solaris*)
   7600   lt_cv_deplibs_check_method=pass_all
   7601   ;;
   7602 
   7603 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   7604   lt_cv_deplibs_check_method=pass_all
   7605   ;;
   7606 
   7607 sysv4 | sysv4.3*)
   7608   case $host_vendor in
   7609   motorola)
   7610     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]'
   7611     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   7612     ;;
   7613   ncr)
   7614     lt_cv_deplibs_check_method=pass_all
   7615     ;;
   7616   sequent)
   7617     lt_cv_file_magic_cmd='/bin/file'
   7618     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   7619     ;;
   7620   sni)
   7621     lt_cv_file_magic_cmd='/bin/file'
   7622     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   7623     lt_cv_file_magic_test_file=/lib/libc.so
   7624     ;;
   7625   siemens)
   7626     lt_cv_deplibs_check_method=pass_all
   7627     ;;
   7628   pc)
   7629     lt_cv_deplibs_check_method=pass_all
   7630     ;;
   7631   esac
   7632   ;;
   7633 
   7634 tpf*)
   7635   lt_cv_deplibs_check_method=pass_all
   7636   ;;
   7637 os2*)
   7638   lt_cv_deplibs_check_method=pass_all
   7639   ;;
   7640 esac
   7641 
   7642 fi
   7643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   7644 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   7645 
   7646 file_magic_glob=
   7647 want_nocaseglob=no
   7648 if test "$build" = "$host"; then
   7649   case $host_os in
   7650   mingw* | pw32*)
   7651     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   7652       want_nocaseglob=yes
   7653     else
   7654       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   7655     fi
   7656     ;;
   7657   esac
   7658 fi
   7659 
   7660 file_magic_cmd=$lt_cv_file_magic_cmd
   7661 deplibs_check_method=$lt_cv_deplibs_check_method
   7662 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   7663 
   7664 
   7665 
   7666 
   7667 
   7668 
   7669 
   7670 
   7671 
   7672 
   7673 
   7674 
   7675 
   7676 
   7677 
   7678 
   7679 
   7680 
   7681 
   7682 
   7683 
   7684 
   7685 if test -n "$ac_tool_prefix"; then
   7686   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   7687 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   7688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7689 printf %s "checking for $ac_word... " >&6; }
   7690 if test ${ac_cv_prog_DLLTOOL+y}
   7691 then :
   7692   printf %s "(cached) " >&6
   7693 else $as_nop
   7694   if test -n "$DLLTOOL"; then
   7695   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   7696 else
   7697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7698 for as_dir in $PATH
   7699 do
   7700   IFS=$as_save_IFS
   7701   case $as_dir in #(((
   7702     '') as_dir=./ ;;
   7703     */) ;;
   7704     *) as_dir=$as_dir/ ;;
   7705   esac
   7706     for ac_exec_ext in '' $ac_executable_extensions; do
   7707   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7708     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   7709     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7710     break 2
   7711   fi
   7712 done
   7713   done
   7714 IFS=$as_save_IFS
   7715 
   7716 fi
   7717 fi
   7718 DLLTOOL=$ac_cv_prog_DLLTOOL
   7719 if test -n "$DLLTOOL"; then
   7720   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   7721 printf "%s\n" "$DLLTOOL" >&6; }
   7722 else
   7723   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7724 printf "%s\n" "no" >&6; }
   7725 fi
   7726 
   7727 
   7728 fi
   7729 if test -z "$ac_cv_prog_DLLTOOL"; then
   7730   ac_ct_DLLTOOL=$DLLTOOL
   7731   # Extract the first word of "dlltool", so it can be a program name with args.
   7732 set dummy dlltool; ac_word=$2
   7733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7734 printf %s "checking for $ac_word... " >&6; }
   7735 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   7736 then :
   7737   printf %s "(cached) " >&6
   7738 else $as_nop
   7739   if test -n "$ac_ct_DLLTOOL"; then
   7740   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   7741 else
   7742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7743 for as_dir in $PATH
   7744 do
   7745   IFS=$as_save_IFS
   7746   case $as_dir in #(((
   7747     '') as_dir=./ ;;
   7748     */) ;;
   7749     *) as_dir=$as_dir/ ;;
   7750   esac
   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_DLLTOOL="dlltool"
   7754     printf "%s\n" "$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_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   7764 if test -n "$ac_ct_DLLTOOL"; then
   7765   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   7766 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   7767 else
   7768   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7769 printf "%s\n" "no" >&6; }
   7770 fi
   7771 
   7772   if test "x$ac_ct_DLLTOOL" = x; then
   7773     DLLTOOL="false"
   7774   else
   7775     case $cross_compiling:$ac_tool_warned in
   7776 yes:)
   7777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7778 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7779 ac_tool_warned=yes ;;
   7780 esac
   7781     DLLTOOL=$ac_ct_DLLTOOL
   7782   fi
   7783 else
   7784   DLLTOOL="$ac_cv_prog_DLLTOOL"
   7785 fi
   7786 
   7787 test -z "$DLLTOOL" && DLLTOOL=dlltool
   7788 
   7789 
   7790 
   7791 
   7792 
   7793 
   7794 
   7795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   7796 printf %s "checking how to associate runtime and link libraries... " >&6; }
   7797 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   7798 then :
   7799   printf %s "(cached) " >&6
   7800 else $as_nop
   7801   lt_cv_sharedlib_from_linklib_cmd='unknown'
   7802 
   7803 case $host_os in
   7804 cygwin* | mingw* | pw32* | cegcc*)
   7805   # two different shell functions defined in ltmain.sh;
   7806   # decide which one to use based on capabilities of $DLLTOOL
   7807   case `$DLLTOOL --help 2>&1` in
   7808   *--identify-strict*)
   7809     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   7810     ;;
   7811   *)
   7812     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   7813     ;;
   7814   esac
   7815   ;;
   7816 *)
   7817   # fallback: assume linklib IS sharedlib
   7818   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   7819   ;;
   7820 esac
   7821 
   7822 fi
   7823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   7824 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   7825 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   7826 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   7827 
   7828 
   7829 
   7830 
   7831 
   7832 
   7833 
   7834 if test -n "$ac_tool_prefix"; then
   7835   for ac_prog in ar
   7836   do
   7837     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   7838 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   7839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7840 printf %s "checking for $ac_word... " >&6; }
   7841 if test ${ac_cv_prog_AR+y}
   7842 then :
   7843   printf %s "(cached) " >&6
   7844 else $as_nop
   7845   if test -n "$AR"; then
   7846   ac_cv_prog_AR="$AR" # Let the user override the test.
   7847 else
   7848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7849 for as_dir in $PATH
   7850 do
   7851   IFS=$as_save_IFS
   7852   case $as_dir in #(((
   7853     '') as_dir=./ ;;
   7854     */) ;;
   7855     *) as_dir=$as_dir/ ;;
   7856   esac
   7857     for ac_exec_ext in '' $ac_executable_extensions; do
   7858   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7859     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   7860     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7861     break 2
   7862   fi
   7863 done
   7864   done
   7865 IFS=$as_save_IFS
   7866 
   7867 fi
   7868 fi
   7869 AR=$ac_cv_prog_AR
   7870 if test -n "$AR"; then
   7871   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   7872 printf "%s\n" "$AR" >&6; }
   7873 else
   7874   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7875 printf "%s\n" "no" >&6; }
   7876 fi
   7877 
   7878 
   7879     test -n "$AR" && break
   7880   done
   7881 fi
   7882 if test -z "$AR"; then
   7883   ac_ct_AR=$AR
   7884   for ac_prog in ar
   7885 do
   7886   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7887 set dummy $ac_prog; ac_word=$2
   7888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7889 printf %s "checking for $ac_word... " >&6; }
   7890 if test ${ac_cv_prog_ac_ct_AR+y}
   7891 then :
   7892   printf %s "(cached) " >&6
   7893 else $as_nop
   7894   if test -n "$ac_ct_AR"; then
   7895   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   7896 else
   7897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7898 for as_dir in $PATH
   7899 do
   7900   IFS=$as_save_IFS
   7901   case $as_dir in #(((
   7902     '') as_dir=./ ;;
   7903     */) ;;
   7904     *) as_dir=$as_dir/ ;;
   7905   esac
   7906     for ac_exec_ext in '' $ac_executable_extensions; do
   7907   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7908     ac_cv_prog_ac_ct_AR="$ac_prog"
   7909     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7910     break 2
   7911   fi
   7912 done
   7913   done
   7914 IFS=$as_save_IFS
   7915 
   7916 fi
   7917 fi
   7918 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   7919 if test -n "$ac_ct_AR"; then
   7920   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   7921 printf "%s\n" "$ac_ct_AR" >&6; }
   7922 else
   7923   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7924 printf "%s\n" "no" >&6; }
   7925 fi
   7926 
   7927 
   7928   test -n "$ac_ct_AR" && break
   7929 done
   7930 
   7931   if test "x$ac_ct_AR" = x; then
   7932     AR="false"
   7933   else
   7934     case $cross_compiling:$ac_tool_warned in
   7935 yes:)
   7936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7937 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7938 ac_tool_warned=yes ;;
   7939 esac
   7940     AR=$ac_ct_AR
   7941   fi
   7942 fi
   7943 
   7944 : ${AR=ar}
   7945 
   7946 
   7947 
   7948 
   7949 
   7950 
   7951 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   7952 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   7953 # higher priority because thats what people were doing historically (setting
   7954 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   7955 # variable obsoleted/removed.
   7956 
   7957 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   7958 lt_ar_flags=$AR_FLAGS
   7959 
   7960 
   7961 
   7962 
   7963 
   7964 
   7965 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   7966 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   7967 
   7968 
   7969 
   7970 
   7971 
   7972 
   7973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   7974 printf %s "checking for archiver @FILE support... " >&6; }
   7975 if test ${lt_cv_ar_at_file+y}
   7976 then :
   7977   printf %s "(cached) " >&6
   7978 else $as_nop
   7979   lt_cv_ar_at_file=no
   7980    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7981 /* end confdefs.h.  */
   7982 
   7983 int
   7984 main (void)
   7985 {
   7986 
   7987   ;
   7988   return 0;
   7989 }
   7990 _ACEOF
   7991 if ac_fn_c_try_compile "$LINENO"
   7992 then :
   7993   echo conftest.$ac_objext > conftest.lst
   7994       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   7995       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   7996   (eval $lt_ar_try) 2>&5
   7997   ac_status=$?
   7998   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7999   test $ac_status = 0; }
   8000       if test 0 -eq "$ac_status"; then
   8001 	# Ensure the archiver fails upon bogus file names.
   8002 	rm -f conftest.$ac_objext libconftest.a
   8003 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   8004   (eval $lt_ar_try) 2>&5
   8005   ac_status=$?
   8006   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8007   test $ac_status = 0; }
   8008 	if test 0 -ne "$ac_status"; then
   8009           lt_cv_ar_at_file=@
   8010         fi
   8011       fi
   8012       rm -f conftest.* libconftest.a
   8013 
   8014 fi
   8015 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   8016 
   8017 fi
   8018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   8019 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   8020 
   8021 if test no = "$lt_cv_ar_at_file"; then
   8022   archiver_list_spec=
   8023 else
   8024   archiver_list_spec=$lt_cv_ar_at_file
   8025 fi
   8026 
   8027 
   8028 
   8029 
   8030 
   8031 
   8032 
   8033 if test -n "$ac_tool_prefix"; then
   8034   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   8035 set dummy ${ac_tool_prefix}strip; ac_word=$2
   8036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8037 printf %s "checking for $ac_word... " >&6; }
   8038 if test ${ac_cv_prog_STRIP+y}
   8039 then :
   8040   printf %s "(cached) " >&6
   8041 else $as_nop
   8042   if test -n "$STRIP"; then
   8043   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   8044 else
   8045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8046 for as_dir in $PATH
   8047 do
   8048   IFS=$as_save_IFS
   8049   case $as_dir in #(((
   8050     '') as_dir=./ ;;
   8051     */) ;;
   8052     *) as_dir=$as_dir/ ;;
   8053   esac
   8054     for ac_exec_ext in '' $ac_executable_extensions; do
   8055   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8056     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   8057     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8058     break 2
   8059   fi
   8060 done
   8061   done
   8062 IFS=$as_save_IFS
   8063 
   8064 fi
   8065 fi
   8066 STRIP=$ac_cv_prog_STRIP
   8067 if test -n "$STRIP"; then
   8068   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   8069 printf "%s\n" "$STRIP" >&6; }
   8070 else
   8071   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8072 printf "%s\n" "no" >&6; }
   8073 fi
   8074 
   8075 
   8076 fi
   8077 if test -z "$ac_cv_prog_STRIP"; then
   8078   ac_ct_STRIP=$STRIP
   8079   # Extract the first word of "strip", so it can be a program name with args.
   8080 set dummy strip; ac_word=$2
   8081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8082 printf %s "checking for $ac_word... " >&6; }
   8083 if test ${ac_cv_prog_ac_ct_STRIP+y}
   8084 then :
   8085   printf %s "(cached) " >&6
   8086 else $as_nop
   8087   if test -n "$ac_ct_STRIP"; then
   8088   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   8089 else
   8090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8091 for as_dir in $PATH
   8092 do
   8093   IFS=$as_save_IFS
   8094   case $as_dir in #(((
   8095     '') as_dir=./ ;;
   8096     */) ;;
   8097     *) as_dir=$as_dir/ ;;
   8098   esac
   8099     for ac_exec_ext in '' $ac_executable_extensions; do
   8100   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8101     ac_cv_prog_ac_ct_STRIP="strip"
   8102     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8103     break 2
   8104   fi
   8105 done
   8106   done
   8107 IFS=$as_save_IFS
   8108 
   8109 fi
   8110 fi
   8111 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   8112 if test -n "$ac_ct_STRIP"; then
   8113   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   8114 printf "%s\n" "$ac_ct_STRIP" >&6; }
   8115 else
   8116   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8117 printf "%s\n" "no" >&6; }
   8118 fi
   8119 
   8120   if test "x$ac_ct_STRIP" = x; then
   8121     STRIP=":"
   8122   else
   8123     case $cross_compiling:$ac_tool_warned in
   8124 yes:)
   8125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8126 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8127 ac_tool_warned=yes ;;
   8128 esac
   8129     STRIP=$ac_ct_STRIP
   8130   fi
   8131 else
   8132   STRIP="$ac_cv_prog_STRIP"
   8133 fi
   8134 
   8135 test -z "$STRIP" && STRIP=:
   8136 
   8137 
   8138 
   8139 
   8140 
   8141 
   8142 if test -n "$ac_tool_prefix"; then
   8143   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   8144 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   8145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8146 printf %s "checking for $ac_word... " >&6; }
   8147 if test ${ac_cv_prog_RANLIB+y}
   8148 then :
   8149   printf %s "(cached) " >&6
   8150 else $as_nop
   8151   if test -n "$RANLIB"; then
   8152   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   8153 else
   8154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8155 for as_dir in $PATH
   8156 do
   8157   IFS=$as_save_IFS
   8158   case $as_dir in #(((
   8159     '') as_dir=./ ;;
   8160     */) ;;
   8161     *) as_dir=$as_dir/ ;;
   8162   esac
   8163     for ac_exec_ext in '' $ac_executable_extensions; do
   8164   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8165     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   8166     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8167     break 2
   8168   fi
   8169 done
   8170   done
   8171 IFS=$as_save_IFS
   8172 
   8173 fi
   8174 fi
   8175 RANLIB=$ac_cv_prog_RANLIB
   8176 if test -n "$RANLIB"; then
   8177   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   8178 printf "%s\n" "$RANLIB" >&6; }
   8179 else
   8180   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8181 printf "%s\n" "no" >&6; }
   8182 fi
   8183 
   8184 
   8185 fi
   8186 if test -z "$ac_cv_prog_RANLIB"; then
   8187   ac_ct_RANLIB=$RANLIB
   8188   # Extract the first word of "ranlib", so it can be a program name with args.
   8189 set dummy ranlib; ac_word=$2
   8190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8191 printf %s "checking for $ac_word... " >&6; }
   8192 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   8193 then :
   8194   printf %s "(cached) " >&6
   8195 else $as_nop
   8196   if test -n "$ac_ct_RANLIB"; then
   8197   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   8198 else
   8199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8200 for as_dir in $PATH
   8201 do
   8202   IFS=$as_save_IFS
   8203   case $as_dir in #(((
   8204     '') as_dir=./ ;;
   8205     */) ;;
   8206     *) as_dir=$as_dir/ ;;
   8207   esac
   8208     for ac_exec_ext in '' $ac_executable_extensions; do
   8209   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8210     ac_cv_prog_ac_ct_RANLIB="ranlib"
   8211     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8212     break 2
   8213   fi
   8214 done
   8215   done
   8216 IFS=$as_save_IFS
   8217 
   8218 fi
   8219 fi
   8220 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   8221 if test -n "$ac_ct_RANLIB"; then
   8222   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   8223 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   8224 else
   8225   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8226 printf "%s\n" "no" >&6; }
   8227 fi
   8228 
   8229   if test "x$ac_ct_RANLIB" = x; then
   8230     RANLIB=":"
   8231   else
   8232     case $cross_compiling:$ac_tool_warned in
   8233 yes:)
   8234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8235 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8236 ac_tool_warned=yes ;;
   8237 esac
   8238     RANLIB=$ac_ct_RANLIB
   8239   fi
   8240 else
   8241   RANLIB="$ac_cv_prog_RANLIB"
   8242 fi
   8243 
   8244 test -z "$RANLIB" && RANLIB=:
   8245 
   8246 
   8247 
   8248 
   8249 
   8250 
   8251 # Determine commands to create old-style static archives.
   8252 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   8253 old_postinstall_cmds='chmod 644 $oldlib'
   8254 old_postuninstall_cmds=
   8255 
   8256 if test -n "$RANLIB"; then
   8257   case $host_os in
   8258   bitrig* | openbsd*)
   8259     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   8260     ;;
   8261   *)
   8262     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   8263     ;;
   8264   esac
   8265   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   8266 fi
   8267 
   8268 case $host_os in
   8269   darwin*)
   8270     lock_old_archive_extraction=yes ;;
   8271   *)
   8272     lock_old_archive_extraction=no ;;
   8273 esac
   8274 
   8275 
   8276 
   8277 
   8278 
   8279 
   8280 
   8281 
   8282 
   8283 
   8284 
   8285 
   8286 
   8287 
   8288 
   8289 
   8290 
   8291 
   8292 
   8293 
   8294 
   8295 
   8296 
   8297 
   8298 
   8299 
   8300 
   8301 
   8302 
   8303 
   8304 
   8305 
   8306 
   8307 
   8308 
   8309 
   8310 
   8311 
   8312 
   8313 # If no C compiler was specified, use CC.
   8314 LTCC=${LTCC-"$CC"}
   8315 
   8316 # If no C compiler flags were specified, use CFLAGS.
   8317 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8318 
   8319 # Allow CC to be a program name with arguments.
   8320 compiler=$CC
   8321 
   8322 
   8323 # Check for command to grab the raw symbol name followed by C symbol from nm.
   8324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   8325 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   8326 if test ${lt_cv_sys_global_symbol_pipe+y}
   8327 then :
   8328   printf %s "(cached) " >&6
   8329 else $as_nop
   8330 
   8331 # These are sane defaults that work on at least a few old systems.
   8332 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   8333 
   8334 # Character class describing NM global symbol codes.
   8335 symcode='[BCDEGRST]'
   8336 
   8337 # Regexp to match symbols that can be accessed directly from C.
   8338 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   8339 
   8340 # Define system-specific variables.
   8341 case $host_os in
   8342 aix*)
   8343   symcode='[BCDT]'
   8344   ;;
   8345 cygwin* | mingw* | pw32* | cegcc*)
   8346   symcode='[ABCDGISTW]'
   8347   ;;
   8348 hpux*)
   8349   if test ia64 = "$host_cpu"; then
   8350     symcode='[ABCDEGRST]'
   8351   fi
   8352   ;;
   8353 irix* | nonstopux*)
   8354   symcode='[BCDEGRST]'
   8355   ;;
   8356 osf*)
   8357   symcode='[BCDEGQRST]'
   8358   ;;
   8359 solaris*)
   8360   symcode='[BDRT]'
   8361   ;;
   8362 sco3.2v5*)
   8363   symcode='[DT]'
   8364   ;;
   8365 sysv4.2uw2*)
   8366   symcode='[DT]'
   8367   ;;
   8368 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   8369   symcode='[ABDT]'
   8370   ;;
   8371 sysv4)
   8372   symcode='[DFNSTU]'
   8373   ;;
   8374 esac
   8375 
   8376 # If we're using GNU nm, then use its standard symbol codes.
   8377 case `$NM -V 2>&1` in
   8378 *GNU* | *'with BFD'*)
   8379   symcode='[ABCDGIRSTW]' ;;
   8380 esac
   8381 
   8382 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   8383   # Gets list of data symbols to import.
   8384   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   8385   # Adjust the below global symbol transforms to fixup imported variables.
   8386   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   8387   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   8388   lt_c_name_lib_hook="\
   8389   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   8390   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   8391 else
   8392   # Disable hooks by default.
   8393   lt_cv_sys_global_symbol_to_import=
   8394   lt_cdecl_hook=
   8395   lt_c_name_hook=
   8396   lt_c_name_lib_hook=
   8397 fi
   8398 
   8399 # Transform an extracted symbol line into a proper C declaration.
   8400 # Some systems (esp. on ia64) link data and code symbols differently,
   8401 # so use this general approach.
   8402 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   8403 $lt_cdecl_hook\
   8404 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   8405 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   8406 
   8407 # Transform an extracted symbol line into symbol name and symbol address
   8408 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   8409 $lt_c_name_hook\
   8410 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   8411 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   8412 
   8413 # Transform an extracted symbol line into symbol name with lib prefix and
   8414 # symbol address.
   8415 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   8416 $lt_c_name_lib_hook\
   8417 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   8418 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   8419 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   8420 
   8421 # Handle CRLF in mingw tool chain
   8422 opt_cr=
   8423 case $build_os in
   8424 mingw*)
   8425   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   8426   ;;
   8427 esac
   8428 
   8429 # Try without a prefix underscore, then with it.
   8430 for ac_symprfx in "" "_"; do
   8431 
   8432   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   8433   symxfrm="\\1 $ac_symprfx\\2 \\2"
   8434 
   8435   # Write the raw and C identifiers.
   8436   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   8437     # Fake it for dumpbin and say T for any non-static function,
   8438     # D for any global variable and I for any imported variable.
   8439     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   8440     # which start with @ or ?.
   8441     lt_cv_sys_global_symbol_pipe="$AWK '"\
   8442 "     {last_section=section; section=\$ 3};"\
   8443 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   8444 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   8445 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   8446 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   8447 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   8448 "     \$ 0!~/External *\|/{next};"\
   8449 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   8450 "     {if(hide[section]) next};"\
   8451 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   8452 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   8453 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   8454 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   8455 "     ' prfx=^$ac_symprfx"
   8456   else
   8457     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   8458   fi
   8459   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   8460 
   8461   # Check to see that the pipe works correctly.
   8462   pipe_works=no
   8463 
   8464   rm -f conftest*
   8465   cat > conftest.$ac_ext <<_LT_EOF
   8466 #ifdef __cplusplus
   8467 extern "C" {
   8468 #endif
   8469 char nm_test_var;
   8470 void nm_test_func(void);
   8471 void nm_test_func(void){}
   8472 #ifdef __cplusplus
   8473 }
   8474 #endif
   8475 int main(){nm_test_var='a';nm_test_func();return(0);}
   8476 _LT_EOF
   8477 
   8478   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8479   (eval $ac_compile) 2>&5
   8480   ac_status=$?
   8481   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8482   test $ac_status = 0; }; then
   8483     # Now try to grab the symbols.
   8484     nlist=conftest.nm
   8485     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   8486   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   8487   ac_status=$?
   8488   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8489   test $ac_status = 0; } && test -s "$nlist"; then
   8490       # Try sorting and uniquifying the output.
   8491       if sort "$nlist" | uniq > "$nlist"T; then
   8492 	mv -f "$nlist"T "$nlist"
   8493       else
   8494 	rm -f "$nlist"T
   8495       fi
   8496 
   8497       # Make sure that we snagged all the symbols we need.
   8498       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   8499 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   8500 	  cat <<_LT_EOF > conftest.$ac_ext
   8501 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   8502 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   8503 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   8504    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   8505 # define LT_DLSYM_CONST
   8506 #elif defined __osf__
   8507 /* This system does not cope well with relocations in const data.  */
   8508 # define LT_DLSYM_CONST
   8509 #else
   8510 # define LT_DLSYM_CONST const
   8511 #endif
   8512 
   8513 #ifdef __cplusplus
   8514 extern "C" {
   8515 #endif
   8516 
   8517 _LT_EOF
   8518 	  # Now generate the symbol file.
   8519 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   8520 
   8521 	  cat <<_LT_EOF >> conftest.$ac_ext
   8522 
   8523 /* The mapping between symbol names and symbols.  */
   8524 LT_DLSYM_CONST struct {
   8525   const char *name;
   8526   void       *address;
   8527 }
   8528 lt__PROGRAM__LTX_preloaded_symbols[] =
   8529 {
   8530   { "@PROGRAM@", (void *) 0 },
   8531 _LT_EOF
   8532 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   8533 	  cat <<\_LT_EOF >> conftest.$ac_ext
   8534   {0, (void *) 0}
   8535 };
   8536 
   8537 /* This works around a problem in FreeBSD linker */
   8538 #ifdef FREEBSD_WORKAROUND
   8539 static const void *lt_preloaded_setup() {
   8540   return lt__PROGRAM__LTX_preloaded_symbols;
   8541 }
   8542 #endif
   8543 
   8544 #ifdef __cplusplus
   8545 }
   8546 #endif
   8547 _LT_EOF
   8548 	  # Now try linking the two files.
   8549 	  mv conftest.$ac_objext conftstm.$ac_objext
   8550 	  lt_globsym_save_LIBS=$LIBS
   8551 	  lt_globsym_save_CFLAGS=$CFLAGS
   8552 	  LIBS=conftstm.$ac_objext
   8553 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   8554 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   8555   (eval $ac_link) 2>&5
   8556   ac_status=$?
   8557   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8558   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   8559 	    pipe_works=yes
   8560 	  fi
   8561 	  LIBS=$lt_globsym_save_LIBS
   8562 	  CFLAGS=$lt_globsym_save_CFLAGS
   8563 	else
   8564 	  echo "cannot find nm_test_func in $nlist" >&5
   8565 	fi
   8566       else
   8567 	echo "cannot find nm_test_var in $nlist" >&5
   8568       fi
   8569     else
   8570       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   8571     fi
   8572   else
   8573     echo "$progname: failed program was:" >&5
   8574     cat conftest.$ac_ext >&5
   8575   fi
   8576   rm -rf conftest* conftst*
   8577 
   8578   # Do not use the global_symbol_pipe unless it works.
   8579   if test yes = "$pipe_works"; then
   8580     break
   8581   else
   8582     lt_cv_sys_global_symbol_pipe=
   8583   fi
   8584 done
   8585 
   8586 fi
   8587 
   8588 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   8589   lt_cv_sys_global_symbol_to_cdecl=
   8590 fi
   8591 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   8592   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   8593 printf "%s\n" "failed" >&6; }
   8594 else
   8595   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   8596 printf "%s\n" "ok" >&6; }
   8597 fi
   8598 
   8599 # Response file support.
   8600 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   8601   nm_file_list_spec='@'
   8602 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   8603   nm_file_list_spec='@'
   8604 fi
   8605 
   8606 
   8607 
   8608 
   8609 
   8610 
   8611 
   8612 
   8613 
   8614 
   8615 
   8616 
   8617 
   8618 
   8619 
   8620 
   8621 
   8622 
   8623 
   8624 
   8625 
   8626 
   8627 
   8628 
   8629 
   8630 
   8631 
   8632 
   8633 
   8634 
   8635 
   8636 
   8637 
   8638 
   8639 
   8640 
   8641 
   8642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   8643 printf %s "checking for sysroot... " >&6; }
   8644 
   8645 # Check whether --with-sysroot was given.
   8646 if test ${with_sysroot+y}
   8647 then :
   8648   withval=$with_sysroot;
   8649 else $as_nop
   8650   with_sysroot=no
   8651 fi
   8652 
   8653 
   8654 lt_sysroot=
   8655 case $with_sysroot in #(
   8656  yes)
   8657    if test yes = "$GCC"; then
   8658      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   8659    fi
   8660    ;; #(
   8661  /*)
   8662    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   8663    ;; #(
   8664  no|'')
   8665    ;; #(
   8666  *)
   8667    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   8668 printf "%s\n" "$with_sysroot" >&6; }
   8669    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   8670    ;;
   8671 esac
   8672 
   8673  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   8674 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   8675 
   8676 
   8677 
   8678 
   8679 
   8680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   8681 printf %s "checking for a working dd... " >&6; }
   8682 if test ${ac_cv_path_lt_DD+y}
   8683 then :
   8684   printf %s "(cached) " >&6
   8685 else $as_nop
   8686   printf 0123456789abcdef0123456789abcdef >conftest.i
   8687 cat conftest.i conftest.i >conftest2.i
   8688 : ${lt_DD:=$DD}
   8689 if test -z "$lt_DD"; then
   8690   ac_path_lt_DD_found=false
   8691   # Loop through the user's path and test for each of PROGNAME-LIST
   8692   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8693 for as_dir in $PATH
   8694 do
   8695   IFS=$as_save_IFS
   8696   case $as_dir in #(((
   8697     '') as_dir=./ ;;
   8698     */) ;;
   8699     *) as_dir=$as_dir/ ;;
   8700   esac
   8701     for ac_prog in dd
   8702    do
   8703     for ac_exec_ext in '' $ac_executable_extensions; do
   8704       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   8705       as_fn_executable_p "$ac_path_lt_DD" || continue
   8706 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   8707   cmp -s conftest.i conftest.out \
   8708   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   8709 fi
   8710       $ac_path_lt_DD_found && break 3
   8711     done
   8712   done
   8713   done
   8714 IFS=$as_save_IFS
   8715   if test -z "$ac_cv_path_lt_DD"; then
   8716     :
   8717   fi
   8718 else
   8719   ac_cv_path_lt_DD=$lt_DD
   8720 fi
   8721 
   8722 rm -f conftest.i conftest2.i conftest.out
   8723 fi
   8724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   8725 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   8726 
   8727 
   8728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   8729 printf %s "checking how to truncate binary pipes... " >&6; }
   8730 if test ${lt_cv_truncate_bin+y}
   8731 then :
   8732   printf %s "(cached) " >&6
   8733 else $as_nop
   8734   printf 0123456789abcdef0123456789abcdef >conftest.i
   8735 cat conftest.i conftest.i >conftest2.i
   8736 lt_cv_truncate_bin=
   8737 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   8738   cmp -s conftest.i conftest.out \
   8739   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   8740 fi
   8741 rm -f conftest.i conftest2.i conftest.out
   8742 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   8743 fi
   8744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   8745 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   8746 
   8747 
   8748 
   8749 
   8750 
   8751 
   8752 
   8753 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   8754 func_cc_basename ()
   8755 {
   8756     for cc_temp in $*""; do
   8757       case $cc_temp in
   8758         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8759         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8760         \-*) ;;
   8761         *) break;;
   8762       esac
   8763     done
   8764     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   8765 }
   8766 
   8767 # Check whether --enable-libtool-lock was given.
   8768 if test ${enable_libtool_lock+y}
   8769 then :
   8770   enableval=$enable_libtool_lock;
   8771 fi
   8772 
   8773 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   8774 
   8775 # Some flags need to be propagated to the compiler or linker for good
   8776 # libtool support.
   8777 case $host in
   8778 ia64-*-hpux*)
   8779   # Find out what ABI is being produced by ac_compile, and set mode
   8780   # options accordingly.
   8781   echo 'int i;' > conftest.$ac_ext
   8782   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8783   (eval $ac_compile) 2>&5
   8784   ac_status=$?
   8785   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8786   test $ac_status = 0; }; then
   8787     case `$FILECMD conftest.$ac_objext` in
   8788       *ELF-32*)
   8789 	HPUX_IA64_MODE=32
   8790 	;;
   8791       *ELF-64*)
   8792 	HPUX_IA64_MODE=64
   8793 	;;
   8794     esac
   8795   fi
   8796   rm -rf conftest*
   8797   ;;
   8798 *-*-irix6*)
   8799   # Find out what ABI is being produced by ac_compile, and set linker
   8800   # options accordingly.
   8801   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   8802   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8803   (eval $ac_compile) 2>&5
   8804   ac_status=$?
   8805   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8806   test $ac_status = 0; }; then
   8807     if test yes = "$lt_cv_prog_gnu_ld"; then
   8808       case `$FILECMD conftest.$ac_objext` in
   8809 	*32-bit*)
   8810 	  LD="${LD-ld} -melf32bsmip"
   8811 	  ;;
   8812 	*N32*)
   8813 	  LD="${LD-ld} -melf32bmipn32"
   8814 	  ;;
   8815 	*64-bit*)
   8816 	  LD="${LD-ld} -melf64bmip"
   8817 	;;
   8818       esac
   8819     else
   8820       case `$FILECMD conftest.$ac_objext` in
   8821 	*32-bit*)
   8822 	  LD="${LD-ld} -32"
   8823 	  ;;
   8824 	*N32*)
   8825 	  LD="${LD-ld} -n32"
   8826 	  ;;
   8827 	*64-bit*)
   8828 	  LD="${LD-ld} -64"
   8829 	  ;;
   8830       esac
   8831     fi
   8832   fi
   8833   rm -rf conftest*
   8834   ;;
   8835 
   8836 mips64*-*linux*)
   8837   # Find out what ABI is being produced by ac_compile, and set linker
   8838   # options accordingly.
   8839   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   8840   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8841   (eval $ac_compile) 2>&5
   8842   ac_status=$?
   8843   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8844   test $ac_status = 0; }; then
   8845     emul=elf
   8846     case `$FILECMD conftest.$ac_objext` in
   8847       *32-bit*)
   8848 	emul="${emul}32"
   8849 	;;
   8850       *64-bit*)
   8851 	emul="${emul}64"
   8852 	;;
   8853     esac
   8854     case `$FILECMD conftest.$ac_objext` in
   8855       *MSB*)
   8856 	emul="${emul}btsmip"
   8857 	;;
   8858       *LSB*)
   8859 	emul="${emul}ltsmip"
   8860 	;;
   8861     esac
   8862     case `$FILECMD conftest.$ac_objext` in
   8863       *N32*)
   8864 	emul="${emul}n32"
   8865 	;;
   8866     esac
   8867     LD="${LD-ld} -m $emul"
   8868   fi
   8869   rm -rf conftest*
   8870   ;;
   8871 
   8872 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   8873 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   8874   # Find out what ABI is being produced by ac_compile, and set linker
   8875   # options accordingly.  Note that the listed cases only cover the
   8876   # situations where additional linker options are needed (such as when
   8877   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   8878   # vice versa); the common cases where no linker options are needed do
   8879   # not appear in the list.
   8880   echo 'int i;' > conftest.$ac_ext
   8881   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8882   (eval $ac_compile) 2>&5
   8883   ac_status=$?
   8884   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8885   test $ac_status = 0; }; then
   8886     case `$FILECMD conftest.o` in
   8887       *32-bit*)
   8888 	case $host in
   8889 	  x86_64-*kfreebsd*-gnu)
   8890 	    LD="${LD-ld} -m elf_i386_fbsd"
   8891 	    ;;
   8892 	  x86_64-*linux*)
   8893 	    case `$FILECMD conftest.o` in
   8894 	      *x86-64*)
   8895 		LD="${LD-ld} -m elf32_x86_64"
   8896 		;;
   8897 	      *)
   8898 		LD="${LD-ld} -m elf_i386"
   8899 		;;
   8900 	    esac
   8901 	    ;;
   8902 	  powerpc64le-*linux*)
   8903 	    LD="${LD-ld} -m elf32lppclinux"
   8904 	    ;;
   8905 	  powerpc64-*linux*)
   8906 	    LD="${LD-ld} -m elf32ppclinux"
   8907 	    ;;
   8908 	  s390x-*linux*)
   8909 	    LD="${LD-ld} -m elf_s390"
   8910 	    ;;
   8911 	  sparc64-*linux*)
   8912 	    LD="${LD-ld} -m elf32_sparc"
   8913 	    ;;
   8914 	esac
   8915 	;;
   8916       *64-bit*)
   8917 	case $host in
   8918 	  x86_64-*kfreebsd*-gnu)
   8919 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   8920 	    ;;
   8921 	  x86_64-*linux*)
   8922 	    LD="${LD-ld} -m elf_x86_64"
   8923 	    ;;
   8924 	  powerpcle-*linux*)
   8925 	    LD="${LD-ld} -m elf64lppc"
   8926 	    ;;
   8927 	  powerpc-*linux*)
   8928 	    LD="${LD-ld} -m elf64ppc"
   8929 	    ;;
   8930 	  s390*-*linux*|s390*-*tpf*)
   8931 	    LD="${LD-ld} -m elf64_s390"
   8932 	    ;;
   8933 	  sparc*-*linux*)
   8934 	    LD="${LD-ld} -m elf64_sparc"
   8935 	    ;;
   8936 	esac
   8937 	;;
   8938     esac
   8939   fi
   8940   rm -rf conftest*
   8941   ;;
   8942 
   8943 *-*-sco3.2v5*)
   8944   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   8945   SAVE_CFLAGS=$CFLAGS
   8946   CFLAGS="$CFLAGS -belf"
   8947   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   8948 printf %s "checking whether the C compiler needs -belf... " >&6; }
   8949 if test ${lt_cv_cc_needs_belf+y}
   8950 then :
   8951   printf %s "(cached) " >&6
   8952 else $as_nop
   8953   ac_ext=c
   8954 ac_cpp='$CPP $CPPFLAGS'
   8955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8958 
   8959      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8960 /* end confdefs.h.  */
   8961 
   8962 int
   8963 main (void)
   8964 {
   8965 
   8966   ;
   8967   return 0;
   8968 }
   8969 _ACEOF
   8970 if ac_fn_c_try_link "$LINENO"
   8971 then :
   8972   lt_cv_cc_needs_belf=yes
   8973 else $as_nop
   8974   lt_cv_cc_needs_belf=no
   8975 fi
   8976 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8977     conftest$ac_exeext conftest.$ac_ext
   8978      ac_ext=c
   8979 ac_cpp='$CPP $CPPFLAGS'
   8980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8983 
   8984 fi
   8985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   8986 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   8987   if test yes != "$lt_cv_cc_needs_belf"; then
   8988     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   8989     CFLAGS=$SAVE_CFLAGS
   8990   fi
   8991   ;;
   8992 *-*solaris*)
   8993   # Find out what ABI is being produced by ac_compile, and set linker
   8994   # options accordingly.
   8995   echo 'int i;' > conftest.$ac_ext
   8996   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8997   (eval $ac_compile) 2>&5
   8998   ac_status=$?
   8999   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9000   test $ac_status = 0; }; then
   9001     case `$FILECMD conftest.o` in
   9002     *64-bit*)
   9003       case $lt_cv_prog_gnu_ld in
   9004       yes*)
   9005         case $host in
   9006         i?86-*-solaris*|x86_64-*-solaris*)
   9007           LD="${LD-ld} -m elf_x86_64"
   9008           ;;
   9009         sparc*-*-solaris*)
   9010           LD="${LD-ld} -m elf64_sparc"
   9011           ;;
   9012         esac
   9013         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   9014         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   9015           LD=${LD-ld}_sol2
   9016         fi
   9017         ;;
   9018       *)
   9019 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   9020 	  LD="${LD-ld} -64"
   9021 	fi
   9022 	;;
   9023       esac
   9024       ;;
   9025     esac
   9026   fi
   9027   rm -rf conftest*
   9028   ;;
   9029 esac
   9030 
   9031 need_locks=$enable_libtool_lock
   9032 
   9033 if test -n "$ac_tool_prefix"; then
   9034   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   9035 set dummy ${ac_tool_prefix}mt; ac_word=$2
   9036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9037 printf %s "checking for $ac_word... " >&6; }
   9038 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   9039 then :
   9040   printf %s "(cached) " >&6
   9041 else $as_nop
   9042   if test -n "$MANIFEST_TOOL"; then
   9043   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   9044 else
   9045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9046 for as_dir in $PATH
   9047 do
   9048   IFS=$as_save_IFS
   9049   case $as_dir in #(((
   9050     '') as_dir=./ ;;
   9051     */) ;;
   9052     *) as_dir=$as_dir/ ;;
   9053   esac
   9054     for ac_exec_ext in '' $ac_executable_extensions; do
   9055   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9056     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   9057     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9058     break 2
   9059   fi
   9060 done
   9061   done
   9062 IFS=$as_save_IFS
   9063 
   9064 fi
   9065 fi
   9066 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   9067 if test -n "$MANIFEST_TOOL"; then
   9068   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   9069 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   9070 else
   9071   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9072 printf "%s\n" "no" >&6; }
   9073 fi
   9074 
   9075 
   9076 fi
   9077 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   9078   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   9079   # Extract the first word of "mt", so it can be a program name with args.
   9080 set dummy mt; ac_word=$2
   9081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9082 printf %s "checking for $ac_word... " >&6; }
   9083 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   9084 then :
   9085   printf %s "(cached) " >&6
   9086 else $as_nop
   9087   if test -n "$ac_ct_MANIFEST_TOOL"; then
   9088   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   9089 else
   9090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9091 for as_dir in $PATH
   9092 do
   9093   IFS=$as_save_IFS
   9094   case $as_dir in #(((
   9095     '') as_dir=./ ;;
   9096     */) ;;
   9097     *) as_dir=$as_dir/ ;;
   9098   esac
   9099     for ac_exec_ext in '' $ac_executable_extensions; do
   9100   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9101     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   9102     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9103     break 2
   9104   fi
   9105 done
   9106   done
   9107 IFS=$as_save_IFS
   9108 
   9109 fi
   9110 fi
   9111 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   9112 if test -n "$ac_ct_MANIFEST_TOOL"; then
   9113   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   9114 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   9115 else
   9116   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9117 printf "%s\n" "no" >&6; }
   9118 fi
   9119 
   9120   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   9121     MANIFEST_TOOL=":"
   9122   else
   9123     case $cross_compiling:$ac_tool_warned in
   9124 yes:)
   9125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9126 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9127 ac_tool_warned=yes ;;
   9128 esac
   9129     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   9130   fi
   9131 else
   9132   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   9133 fi
   9134 
   9135 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   9136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   9137 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   9138 if test ${lt_cv_path_mainfest_tool+y}
   9139 then :
   9140   printf %s "(cached) " >&6
   9141 else $as_nop
   9142   lt_cv_path_mainfest_tool=no
   9143   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   9144   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   9145   cat conftest.err >&5
   9146   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   9147     lt_cv_path_mainfest_tool=yes
   9148   fi
   9149   rm -f conftest*
   9150 fi
   9151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   9152 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
   9153 if test yes != "$lt_cv_path_mainfest_tool"; then
   9154   MANIFEST_TOOL=:
   9155 fi
   9156 
   9157 
   9158 
   9159 
   9160 
   9161 
   9162   case $host_os in
   9163     rhapsody* | darwin*)
   9164     if test -n "$ac_tool_prefix"; then
   9165   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   9166 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   9167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9168 printf %s "checking for $ac_word... " >&6; }
   9169 if test ${ac_cv_prog_DSYMUTIL+y}
   9170 then :
   9171   printf %s "(cached) " >&6
   9172 else $as_nop
   9173   if test -n "$DSYMUTIL"; then
   9174   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   9175 else
   9176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9177 for as_dir in $PATH
   9178 do
   9179   IFS=$as_save_IFS
   9180   case $as_dir in #(((
   9181     '') as_dir=./ ;;
   9182     */) ;;
   9183     *) as_dir=$as_dir/ ;;
   9184   esac
   9185     for ac_exec_ext in '' $ac_executable_extensions; do
   9186   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9187     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   9188     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9189     break 2
   9190   fi
   9191 done
   9192   done
   9193 IFS=$as_save_IFS
   9194 
   9195 fi
   9196 fi
   9197 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   9198 if test -n "$DSYMUTIL"; then
   9199   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   9200 printf "%s\n" "$DSYMUTIL" >&6; }
   9201 else
   9202   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9203 printf "%s\n" "no" >&6; }
   9204 fi
   9205 
   9206 
   9207 fi
   9208 if test -z "$ac_cv_prog_DSYMUTIL"; then
   9209   ac_ct_DSYMUTIL=$DSYMUTIL
   9210   # Extract the first word of "dsymutil", so it can be a program name with args.
   9211 set dummy dsymutil; ac_word=$2
   9212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9213 printf %s "checking for $ac_word... " >&6; }
   9214 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   9215 then :
   9216   printf %s "(cached) " >&6
   9217 else $as_nop
   9218   if test -n "$ac_ct_DSYMUTIL"; then
   9219   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   9220 else
   9221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9222 for as_dir in $PATH
   9223 do
   9224   IFS=$as_save_IFS
   9225   case $as_dir in #(((
   9226     '') as_dir=./ ;;
   9227     */) ;;
   9228     *) as_dir=$as_dir/ ;;
   9229   esac
   9230     for ac_exec_ext in '' $ac_executable_extensions; do
   9231   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9232     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   9233     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9234     break 2
   9235   fi
   9236 done
   9237   done
   9238 IFS=$as_save_IFS
   9239 
   9240 fi
   9241 fi
   9242 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   9243 if test -n "$ac_ct_DSYMUTIL"; then
   9244   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   9245 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   9246 else
   9247   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9248 printf "%s\n" "no" >&6; }
   9249 fi
   9250 
   9251   if test "x$ac_ct_DSYMUTIL" = x; then
   9252     DSYMUTIL=":"
   9253   else
   9254     case $cross_compiling:$ac_tool_warned in
   9255 yes:)
   9256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9257 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9258 ac_tool_warned=yes ;;
   9259 esac
   9260     DSYMUTIL=$ac_ct_DSYMUTIL
   9261   fi
   9262 else
   9263   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   9264 fi
   9265 
   9266     if test -n "$ac_tool_prefix"; then
   9267   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   9268 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   9269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9270 printf %s "checking for $ac_word... " >&6; }
   9271 if test ${ac_cv_prog_NMEDIT+y}
   9272 then :
   9273   printf %s "(cached) " >&6
   9274 else $as_nop
   9275   if test -n "$NMEDIT"; then
   9276   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   9277 else
   9278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9279 for as_dir in $PATH
   9280 do
   9281   IFS=$as_save_IFS
   9282   case $as_dir in #(((
   9283     '') as_dir=./ ;;
   9284     */) ;;
   9285     *) as_dir=$as_dir/ ;;
   9286   esac
   9287     for ac_exec_ext in '' $ac_executable_extensions; do
   9288   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9289     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   9290     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9291     break 2
   9292   fi
   9293 done
   9294   done
   9295 IFS=$as_save_IFS
   9296 
   9297 fi
   9298 fi
   9299 NMEDIT=$ac_cv_prog_NMEDIT
   9300 if test -n "$NMEDIT"; then
   9301   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   9302 printf "%s\n" "$NMEDIT" >&6; }
   9303 else
   9304   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9305 printf "%s\n" "no" >&6; }
   9306 fi
   9307 
   9308 
   9309 fi
   9310 if test -z "$ac_cv_prog_NMEDIT"; then
   9311   ac_ct_NMEDIT=$NMEDIT
   9312   # Extract the first word of "nmedit", so it can be a program name with args.
   9313 set dummy nmedit; ac_word=$2
   9314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9315 printf %s "checking for $ac_word... " >&6; }
   9316 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   9317 then :
   9318   printf %s "(cached) " >&6
   9319 else $as_nop
   9320   if test -n "$ac_ct_NMEDIT"; then
   9321   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   9322 else
   9323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9324 for as_dir in $PATH
   9325 do
   9326   IFS=$as_save_IFS
   9327   case $as_dir in #(((
   9328     '') as_dir=./ ;;
   9329     */) ;;
   9330     *) as_dir=$as_dir/ ;;
   9331   esac
   9332     for ac_exec_ext in '' $ac_executable_extensions; do
   9333   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9334     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   9335     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9336     break 2
   9337   fi
   9338 done
   9339   done
   9340 IFS=$as_save_IFS
   9341 
   9342 fi
   9343 fi
   9344 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   9345 if test -n "$ac_ct_NMEDIT"; then
   9346   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   9347 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   9348 else
   9349   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9350 printf "%s\n" "no" >&6; }
   9351 fi
   9352 
   9353   if test "x$ac_ct_NMEDIT" = x; then
   9354     NMEDIT=":"
   9355   else
   9356     case $cross_compiling:$ac_tool_warned in
   9357 yes:)
   9358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9359 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9360 ac_tool_warned=yes ;;
   9361 esac
   9362     NMEDIT=$ac_ct_NMEDIT
   9363   fi
   9364 else
   9365   NMEDIT="$ac_cv_prog_NMEDIT"
   9366 fi
   9367 
   9368     if test -n "$ac_tool_prefix"; then
   9369   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   9370 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   9371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9372 printf %s "checking for $ac_word... " >&6; }
   9373 if test ${ac_cv_prog_LIPO+y}
   9374 then :
   9375   printf %s "(cached) " >&6
   9376 else $as_nop
   9377   if test -n "$LIPO"; then
   9378   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   9379 else
   9380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9381 for as_dir in $PATH
   9382 do
   9383   IFS=$as_save_IFS
   9384   case $as_dir in #(((
   9385     '') as_dir=./ ;;
   9386     */) ;;
   9387     *) as_dir=$as_dir/ ;;
   9388   esac
   9389     for ac_exec_ext in '' $ac_executable_extensions; do
   9390   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9391     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   9392     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9393     break 2
   9394   fi
   9395 done
   9396   done
   9397 IFS=$as_save_IFS
   9398 
   9399 fi
   9400 fi
   9401 LIPO=$ac_cv_prog_LIPO
   9402 if test -n "$LIPO"; then
   9403   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   9404 printf "%s\n" "$LIPO" >&6; }
   9405 else
   9406   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9407 printf "%s\n" "no" >&6; }
   9408 fi
   9409 
   9410 
   9411 fi
   9412 if test -z "$ac_cv_prog_LIPO"; then
   9413   ac_ct_LIPO=$LIPO
   9414   # Extract the first word of "lipo", so it can be a program name with args.
   9415 set dummy lipo; ac_word=$2
   9416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9417 printf %s "checking for $ac_word... " >&6; }
   9418 if test ${ac_cv_prog_ac_ct_LIPO+y}
   9419 then :
   9420   printf %s "(cached) " >&6
   9421 else $as_nop
   9422   if test -n "$ac_ct_LIPO"; then
   9423   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   9424 else
   9425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9426 for as_dir in $PATH
   9427 do
   9428   IFS=$as_save_IFS
   9429   case $as_dir in #(((
   9430     '') as_dir=./ ;;
   9431     */) ;;
   9432     *) as_dir=$as_dir/ ;;
   9433   esac
   9434     for ac_exec_ext in '' $ac_executable_extensions; do
   9435   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9436     ac_cv_prog_ac_ct_LIPO="lipo"
   9437     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9438     break 2
   9439   fi
   9440 done
   9441   done
   9442 IFS=$as_save_IFS
   9443 
   9444 fi
   9445 fi
   9446 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   9447 if test -n "$ac_ct_LIPO"; then
   9448   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   9449 printf "%s\n" "$ac_ct_LIPO" >&6; }
   9450 else
   9451   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9452 printf "%s\n" "no" >&6; }
   9453 fi
   9454 
   9455   if test "x$ac_ct_LIPO" = x; then
   9456     LIPO=":"
   9457   else
   9458     case $cross_compiling:$ac_tool_warned in
   9459 yes:)
   9460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9461 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9462 ac_tool_warned=yes ;;
   9463 esac
   9464     LIPO=$ac_ct_LIPO
   9465   fi
   9466 else
   9467   LIPO="$ac_cv_prog_LIPO"
   9468 fi
   9469 
   9470     if test -n "$ac_tool_prefix"; then
   9471   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   9472 set dummy ${ac_tool_prefix}otool; ac_word=$2
   9473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9474 printf %s "checking for $ac_word... " >&6; }
   9475 if test ${ac_cv_prog_OTOOL+y}
   9476 then :
   9477   printf %s "(cached) " >&6
   9478 else $as_nop
   9479   if test -n "$OTOOL"; then
   9480   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   9481 else
   9482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9483 for as_dir in $PATH
   9484 do
   9485   IFS=$as_save_IFS
   9486   case $as_dir in #(((
   9487     '') as_dir=./ ;;
   9488     */) ;;
   9489     *) as_dir=$as_dir/ ;;
   9490   esac
   9491     for ac_exec_ext in '' $ac_executable_extensions; do
   9492   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9493     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   9494     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9495     break 2
   9496   fi
   9497 done
   9498   done
   9499 IFS=$as_save_IFS
   9500 
   9501 fi
   9502 fi
   9503 OTOOL=$ac_cv_prog_OTOOL
   9504 if test -n "$OTOOL"; then
   9505   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   9506 printf "%s\n" "$OTOOL" >&6; }
   9507 else
   9508   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9509 printf "%s\n" "no" >&6; }
   9510 fi
   9511 
   9512 
   9513 fi
   9514 if test -z "$ac_cv_prog_OTOOL"; then
   9515   ac_ct_OTOOL=$OTOOL
   9516   # Extract the first word of "otool", so it can be a program name with args.
   9517 set dummy otool; ac_word=$2
   9518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9519 printf %s "checking for $ac_word... " >&6; }
   9520 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   9521 then :
   9522   printf %s "(cached) " >&6
   9523 else $as_nop
   9524   if test -n "$ac_ct_OTOOL"; then
   9525   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   9526 else
   9527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9528 for as_dir in $PATH
   9529 do
   9530   IFS=$as_save_IFS
   9531   case $as_dir in #(((
   9532     '') as_dir=./ ;;
   9533     */) ;;
   9534     *) as_dir=$as_dir/ ;;
   9535   esac
   9536     for ac_exec_ext in '' $ac_executable_extensions; do
   9537   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9538     ac_cv_prog_ac_ct_OTOOL="otool"
   9539     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9540     break 2
   9541   fi
   9542 done
   9543   done
   9544 IFS=$as_save_IFS
   9545 
   9546 fi
   9547 fi
   9548 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   9549 if test -n "$ac_ct_OTOOL"; then
   9550   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   9551 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   9552 else
   9553   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9554 printf "%s\n" "no" >&6; }
   9555 fi
   9556 
   9557   if test "x$ac_ct_OTOOL" = x; then
   9558     OTOOL=":"
   9559   else
   9560     case $cross_compiling:$ac_tool_warned in
   9561 yes:)
   9562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9563 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9564 ac_tool_warned=yes ;;
   9565 esac
   9566     OTOOL=$ac_ct_OTOOL
   9567   fi
   9568 else
   9569   OTOOL="$ac_cv_prog_OTOOL"
   9570 fi
   9571 
   9572     if test -n "$ac_tool_prefix"; then
   9573   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   9574 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   9575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9576 printf %s "checking for $ac_word... " >&6; }
   9577 if test ${ac_cv_prog_OTOOL64+y}
   9578 then :
   9579   printf %s "(cached) " >&6
   9580 else $as_nop
   9581   if test -n "$OTOOL64"; then
   9582   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   9583 else
   9584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9585 for as_dir in $PATH
   9586 do
   9587   IFS=$as_save_IFS
   9588   case $as_dir in #(((
   9589     '') as_dir=./ ;;
   9590     */) ;;
   9591     *) as_dir=$as_dir/ ;;
   9592   esac
   9593     for ac_exec_ext in '' $ac_executable_extensions; do
   9594   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9595     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   9596     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9597     break 2
   9598   fi
   9599 done
   9600   done
   9601 IFS=$as_save_IFS
   9602 
   9603 fi
   9604 fi
   9605 OTOOL64=$ac_cv_prog_OTOOL64
   9606 if test -n "$OTOOL64"; then
   9607   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   9608 printf "%s\n" "$OTOOL64" >&6; }
   9609 else
   9610   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9611 printf "%s\n" "no" >&6; }
   9612 fi
   9613 
   9614 
   9615 fi
   9616 if test -z "$ac_cv_prog_OTOOL64"; then
   9617   ac_ct_OTOOL64=$OTOOL64
   9618   # Extract the first word of "otool64", so it can be a program name with args.
   9619 set dummy otool64; ac_word=$2
   9620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9621 printf %s "checking for $ac_word... " >&6; }
   9622 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   9623 then :
   9624   printf %s "(cached) " >&6
   9625 else $as_nop
   9626   if test -n "$ac_ct_OTOOL64"; then
   9627   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   9628 else
   9629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9630 for as_dir in $PATH
   9631 do
   9632   IFS=$as_save_IFS
   9633   case $as_dir in #(((
   9634     '') as_dir=./ ;;
   9635     */) ;;
   9636     *) as_dir=$as_dir/ ;;
   9637   esac
   9638     for ac_exec_ext in '' $ac_executable_extensions; do
   9639   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9640     ac_cv_prog_ac_ct_OTOOL64="otool64"
   9641     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9642     break 2
   9643   fi
   9644 done
   9645   done
   9646 IFS=$as_save_IFS
   9647 
   9648 fi
   9649 fi
   9650 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   9651 if test -n "$ac_ct_OTOOL64"; then
   9652   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   9653 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   9654 else
   9655   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9656 printf "%s\n" "no" >&6; }
   9657 fi
   9658 
   9659   if test "x$ac_ct_OTOOL64" = x; then
   9660     OTOOL64=":"
   9661   else
   9662     case $cross_compiling:$ac_tool_warned in
   9663 yes:)
   9664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9665 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9666 ac_tool_warned=yes ;;
   9667 esac
   9668     OTOOL64=$ac_ct_OTOOL64
   9669   fi
   9670 else
   9671   OTOOL64="$ac_cv_prog_OTOOL64"
   9672 fi
   9673 
   9674 
   9675 
   9676 
   9677 
   9678 
   9679 
   9680 
   9681 
   9682 
   9683 
   9684 
   9685 
   9686 
   9687 
   9688 
   9689 
   9690 
   9691 
   9692 
   9693 
   9694 
   9695 
   9696 
   9697 
   9698 
   9699 
   9700     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   9701 printf %s "checking for -single_module linker flag... " >&6; }
   9702 if test ${lt_cv_apple_cc_single_mod+y}
   9703 then :
   9704   printf %s "(cached) " >&6
   9705 else $as_nop
   9706   lt_cv_apple_cc_single_mod=no
   9707       if test -z "$LT_MULTI_MODULE"; then
   9708 	# By default we will add the -single_module flag. You can override
   9709 	# by either setting the environment variable LT_MULTI_MODULE
   9710 	# non-empty at configure time, or by adding -multi_module to the
   9711 	# link flags.
   9712 	rm -rf libconftest.dylib*
   9713 	echo "int foo(void){return 1;}" > conftest.c
   9714 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   9715 -dynamiclib -Wl,-single_module conftest.c" >&5
   9716 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   9717 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   9718         _lt_result=$?
   9719 	# If there is a non-empty error log, and "single_module"
   9720 	# appears in it, assume the flag caused a linker warning
   9721         if test -s conftest.err && $GREP single_module conftest.err; then
   9722 	  cat conftest.err >&5
   9723 	# Otherwise, if the output was created with a 0 exit code from
   9724 	# the compiler, it worked.
   9725 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   9726 	  lt_cv_apple_cc_single_mod=yes
   9727 	else
   9728 	  cat conftest.err >&5
   9729 	fi
   9730 	rm -rf libconftest.dylib*
   9731 	rm -f conftest.*
   9732       fi
   9733 fi
   9734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   9735 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   9736 
   9737     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   9738 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   9739 if test ${lt_cv_ld_exported_symbols_list+y}
   9740 then :
   9741   printf %s "(cached) " >&6
   9742 else $as_nop
   9743   lt_cv_ld_exported_symbols_list=no
   9744       save_LDFLAGS=$LDFLAGS
   9745       echo "_main" > conftest.sym
   9746       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   9747       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9748 /* end confdefs.h.  */
   9749 
   9750 int
   9751 main (void)
   9752 {
   9753 
   9754   ;
   9755   return 0;
   9756 }
   9757 _ACEOF
   9758 if ac_fn_c_try_link "$LINENO"
   9759 then :
   9760   lt_cv_ld_exported_symbols_list=yes
   9761 else $as_nop
   9762   lt_cv_ld_exported_symbols_list=no
   9763 fi
   9764 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9765     conftest$ac_exeext conftest.$ac_ext
   9766 	LDFLAGS=$save_LDFLAGS
   9767 
   9768 fi
   9769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   9770 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   9771 
   9772     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   9773 printf %s "checking for -force_load linker flag... " >&6; }
   9774 if test ${lt_cv_ld_force_load+y}
   9775 then :
   9776   printf %s "(cached) " >&6
   9777 else $as_nop
   9778   lt_cv_ld_force_load=no
   9779       cat > conftest.c << _LT_EOF
   9780 int forced_loaded() { return 2;}
   9781 _LT_EOF
   9782       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   9783       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   9784       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   9785       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   9786       echo "$RANLIB libconftest.a" >&5
   9787       $RANLIB libconftest.a 2>&5
   9788       cat > conftest.c << _LT_EOF
   9789 int main() { return 0;}
   9790 _LT_EOF
   9791       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   9792       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   9793       _lt_result=$?
   9794       if test -s conftest.err && $GREP force_load conftest.err; then
   9795 	cat conftest.err >&5
   9796       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   9797 	lt_cv_ld_force_load=yes
   9798       else
   9799 	cat conftest.err >&5
   9800       fi
   9801         rm -f conftest.err libconftest.a conftest conftest.c
   9802         rm -rf conftest.dSYM
   9803 
   9804 fi
   9805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   9806 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   9807     case $host_os in
   9808     rhapsody* | darwin1.[012])
   9809       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   9810     darwin1.*)
   9811       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   9812     darwin*)
   9813       case $MACOSX_DEPLOYMENT_TARGET,$host in
   9814         10.[012],*|,*powerpc*-darwin[5-8]*)
   9815           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   9816         *)
   9817           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   9818       esac
   9819     ;;
   9820   esac
   9821     if test yes = "$lt_cv_apple_cc_single_mod"; then
   9822       _lt_dar_single_mod='$single_module'
   9823     fi
   9824     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   9825       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   9826     else
   9827       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   9828     fi
   9829     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   9830       _lt_dsymutil='~$DSYMUTIL $lib || :'
   9831     else
   9832       _lt_dsymutil=
   9833     fi
   9834     ;;
   9835   esac
   9836 
   9837 # func_munge_path_list VARIABLE PATH
   9838 # -----------------------------------
   9839 # VARIABLE is name of variable containing _space_ separated list of
   9840 # directories to be munged by the contents of PATH, which is string
   9841 # having a format:
   9842 # "DIR[:DIR]:"
   9843 #       string "DIR[ DIR]" will be prepended to VARIABLE
   9844 # ":DIR[:DIR]"
   9845 #       string "DIR[ DIR]" will be appended to VARIABLE
   9846 # "DIRP[:DIRP]::[DIRA:]DIRA"
   9847 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   9848 #       "DIRA[ DIRA]" will be appended to VARIABLE
   9849 # "DIR[:DIR]"
   9850 #       VARIABLE will be replaced by "DIR[ DIR]"
   9851 func_munge_path_list ()
   9852 {
   9853     case x$2 in
   9854     x)
   9855         ;;
   9856     *:)
   9857         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   9858         ;;
   9859     x:*)
   9860         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   9861         ;;
   9862     *::*)
   9863         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   9864         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   9865         ;;
   9866     *)
   9867         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   9868         ;;
   9869     esac
   9870 }
   9871 
   9872 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   9873 "
   9874 if test "x$ac_cv_header_dlfcn_h" = xyes
   9875 then :
   9876   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   9877 
   9878 fi
   9879 
   9880 
   9881 
   9882 
   9883 
   9884 # Set options
   9885 # Check whether --enable-static was given.
   9886 if test ${enable_static+y}
   9887 then :
   9888   enableval=$enable_static; p=${PACKAGE-default}
   9889     case $enableval in
   9890     yes) enable_static=yes ;;
   9891     no) enable_static=no ;;
   9892     *)
   9893      enable_static=no
   9894       # Look at the argument we got.  We use all the common list separators.
   9895       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9896       for pkg in $enableval; do
   9897 	IFS=$lt_save_ifs
   9898 	if test "X$pkg" = "X$p"; then
   9899 	  enable_static=yes
   9900 	fi
   9901       done
   9902       IFS=$lt_save_ifs
   9903       ;;
   9904     esac
   9905 else $as_nop
   9906   enable_static=no
   9907 fi
   9908 
   9909 
   9910 
   9911 
   9912 
   9913 
   9914 
   9915 enable_win32_dll=yes
   9916 
   9917 case $host in
   9918 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
   9919   if test -n "$ac_tool_prefix"; then
   9920   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
   9921 set dummy ${ac_tool_prefix}as; ac_word=$2
   9922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9923 printf %s "checking for $ac_word... " >&6; }
   9924 if test ${ac_cv_prog_AS+y}
   9925 then :
   9926   printf %s "(cached) " >&6
   9927 else $as_nop
   9928   if test -n "$AS"; then
   9929   ac_cv_prog_AS="$AS" # Let the user override the test.
   9930 else
   9931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9932 for as_dir in $PATH
   9933 do
   9934   IFS=$as_save_IFS
   9935   case $as_dir in #(((
   9936     '') as_dir=./ ;;
   9937     */) ;;
   9938     *) as_dir=$as_dir/ ;;
   9939   esac
   9940     for ac_exec_ext in '' $ac_executable_extensions; do
   9941   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9942     ac_cv_prog_AS="${ac_tool_prefix}as"
   9943     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9944     break 2
   9945   fi
   9946 done
   9947   done
   9948 IFS=$as_save_IFS
   9949 
   9950 fi
   9951 fi
   9952 AS=$ac_cv_prog_AS
   9953 if test -n "$AS"; then
   9954   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
   9955 printf "%s\n" "$AS" >&6; }
   9956 else
   9957   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9958 printf "%s\n" "no" >&6; }
   9959 fi
   9960 
   9961 
   9962 fi
   9963 if test -z "$ac_cv_prog_AS"; then
   9964   ac_ct_AS=$AS
   9965   # Extract the first word of "as", so it can be a program name with args.
   9966 set dummy as; ac_word=$2
   9967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9968 printf %s "checking for $ac_word... " >&6; }
   9969 if test ${ac_cv_prog_ac_ct_AS+y}
   9970 then :
   9971   printf %s "(cached) " >&6
   9972 else $as_nop
   9973   if test -n "$ac_ct_AS"; then
   9974   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
   9975 else
   9976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9977 for as_dir in $PATH
   9978 do
   9979   IFS=$as_save_IFS
   9980   case $as_dir in #(((
   9981     '') as_dir=./ ;;
   9982     */) ;;
   9983     *) as_dir=$as_dir/ ;;
   9984   esac
   9985     for ac_exec_ext in '' $ac_executable_extensions; do
   9986   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9987     ac_cv_prog_ac_ct_AS="as"
   9988     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9989     break 2
   9990   fi
   9991 done
   9992   done
   9993 IFS=$as_save_IFS
   9994 
   9995 fi
   9996 fi
   9997 ac_ct_AS=$ac_cv_prog_ac_ct_AS
   9998 if test -n "$ac_ct_AS"; then
   9999   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
   10000 printf "%s\n" "$ac_ct_AS" >&6; }
   10001 else
   10002   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10003 printf "%s\n" "no" >&6; }
   10004 fi
   10005 
   10006   if test "x$ac_ct_AS" = x; then
   10007     AS="false"
   10008   else
   10009     case $cross_compiling:$ac_tool_warned in
   10010 yes:)
   10011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   10012 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   10013 ac_tool_warned=yes ;;
   10014 esac
   10015     AS=$ac_ct_AS
   10016   fi
   10017 else
   10018   AS="$ac_cv_prog_AS"
   10019 fi
   10020 
   10021   if test -n "$ac_tool_prefix"; then
   10022   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   10023 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   10024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10025 printf %s "checking for $ac_word... " >&6; }
   10026 if test ${ac_cv_prog_DLLTOOL+y}
   10027 then :
   10028   printf %s "(cached) " >&6
   10029 else $as_nop
   10030   if test -n "$DLLTOOL"; then
   10031   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   10032 else
   10033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10034 for as_dir in $PATH
   10035 do
   10036   IFS=$as_save_IFS
   10037   case $as_dir in #(((
   10038     '') as_dir=./ ;;
   10039     */) ;;
   10040     *) as_dir=$as_dir/ ;;
   10041   esac
   10042     for ac_exec_ext in '' $ac_executable_extensions; do
   10043   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   10044     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   10045     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   10046     break 2
   10047   fi
   10048 done
   10049   done
   10050 IFS=$as_save_IFS
   10051 
   10052 fi
   10053 fi
   10054 DLLTOOL=$ac_cv_prog_DLLTOOL
   10055 if test -n "$DLLTOOL"; then
   10056   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   10057 printf "%s\n" "$DLLTOOL" >&6; }
   10058 else
   10059   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10060 printf "%s\n" "no" >&6; }
   10061 fi
   10062 
   10063 
   10064 fi
   10065 if test -z "$ac_cv_prog_DLLTOOL"; then
   10066   ac_ct_DLLTOOL=$DLLTOOL
   10067   # Extract the first word of "dlltool", so it can be a program name with args.
   10068 set dummy dlltool; ac_word=$2
   10069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10070 printf %s "checking for $ac_word... " >&6; }
   10071 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   10072 then :
   10073   printf %s "(cached) " >&6
   10074 else $as_nop
   10075   if test -n "$ac_ct_DLLTOOL"; then
   10076   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   10077 else
   10078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10079 for as_dir in $PATH
   10080 do
   10081   IFS=$as_save_IFS
   10082   case $as_dir in #(((
   10083     '') as_dir=./ ;;
   10084     */) ;;
   10085     *) as_dir=$as_dir/ ;;
   10086   esac
   10087     for ac_exec_ext in '' $ac_executable_extensions; do
   10088   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   10089     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   10090     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   10091     break 2
   10092   fi
   10093 done
   10094   done
   10095 IFS=$as_save_IFS
   10096 
   10097 fi
   10098 fi
   10099 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   10100 if test -n "$ac_ct_DLLTOOL"; then
   10101   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   10102 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   10103 else
   10104   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10105 printf "%s\n" "no" >&6; }
   10106 fi
   10107 
   10108   if test "x$ac_ct_DLLTOOL" = x; then
   10109     DLLTOOL="false"
   10110   else
   10111     case $cross_compiling:$ac_tool_warned in
   10112 yes:)
   10113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   10114 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   10115 ac_tool_warned=yes ;;
   10116 esac
   10117     DLLTOOL=$ac_ct_DLLTOOL
   10118   fi
   10119 else
   10120   DLLTOOL="$ac_cv_prog_DLLTOOL"
   10121 fi
   10122 
   10123   if test -n "$ac_tool_prefix"; then
   10124   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   10125 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   10126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10127 printf %s "checking for $ac_word... " >&6; }
   10128 if test ${ac_cv_prog_OBJDUMP+y}
   10129 then :
   10130   printf %s "(cached) " >&6
   10131 else $as_nop
   10132   if test -n "$OBJDUMP"; then
   10133   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   10134 else
   10135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10136 for as_dir in $PATH
   10137 do
   10138   IFS=$as_save_IFS
   10139   case $as_dir in #(((
   10140     '') as_dir=./ ;;
   10141     */) ;;
   10142     *) as_dir=$as_dir/ ;;
   10143   esac
   10144     for ac_exec_ext in '' $ac_executable_extensions; do
   10145   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   10146     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   10147     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   10148     break 2
   10149   fi
   10150 done
   10151   done
   10152 IFS=$as_save_IFS
   10153 
   10154 fi
   10155 fi
   10156 OBJDUMP=$ac_cv_prog_OBJDUMP
   10157 if test -n "$OBJDUMP"; then
   10158   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   10159 printf "%s\n" "$OBJDUMP" >&6; }
   10160 else
   10161   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10162 printf "%s\n" "no" >&6; }
   10163 fi
   10164 
   10165 
   10166 fi
   10167 if test -z "$ac_cv_prog_OBJDUMP"; then
   10168   ac_ct_OBJDUMP=$OBJDUMP
   10169   # Extract the first word of "objdump", so it can be a program name with args.
   10170 set dummy objdump; ac_word=$2
   10171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10172 printf %s "checking for $ac_word... " >&6; }
   10173 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   10174 then :
   10175   printf %s "(cached) " >&6
   10176 else $as_nop
   10177   if test -n "$ac_ct_OBJDUMP"; then
   10178   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   10179 else
   10180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10181 for as_dir in $PATH
   10182 do
   10183   IFS=$as_save_IFS
   10184   case $as_dir in #(((
   10185     '') as_dir=./ ;;
   10186     */) ;;
   10187     *) as_dir=$as_dir/ ;;
   10188   esac
   10189     for ac_exec_ext in '' $ac_executable_extensions; do
   10190   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   10191     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   10192     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   10193     break 2
   10194   fi
   10195 done
   10196   done
   10197 IFS=$as_save_IFS
   10198 
   10199 fi
   10200 fi
   10201 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   10202 if test -n "$ac_ct_OBJDUMP"; then
   10203   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   10204 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   10205 else
   10206   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10207 printf "%s\n" "no" >&6; }
   10208 fi
   10209 
   10210   if test "x$ac_ct_OBJDUMP" = x; then
   10211     OBJDUMP="false"
   10212   else
   10213     case $cross_compiling:$ac_tool_warned in
   10214 yes:)
   10215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   10216 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   10217 ac_tool_warned=yes ;;
   10218 esac
   10219     OBJDUMP=$ac_ct_OBJDUMP
   10220   fi
   10221 else
   10222   OBJDUMP="$ac_cv_prog_OBJDUMP"
   10223 fi
   10224 
   10225   ;;
   10226 esac
   10227 
   10228 test -z "$AS" && AS=as
   10229 
   10230 
   10231 
   10232 
   10233 
   10234 test -z "$DLLTOOL" && DLLTOOL=dlltool
   10235 
   10236 
   10237 
   10238 
   10239 
   10240 test -z "$OBJDUMP" && OBJDUMP=objdump
   10241 
   10242 
   10243 
   10244 
   10245 
   10246 
   10247 
   10248         enable_dlopen=no
   10249 
   10250 
   10251 
   10252             # Check whether --enable-shared was given.
   10253 if test ${enable_shared+y}
   10254 then :
   10255   enableval=$enable_shared; p=${PACKAGE-default}
   10256     case $enableval in
   10257     yes) enable_shared=yes ;;
   10258     no) enable_shared=no ;;
   10259     *)
   10260       enable_shared=no
   10261       # Look at the argument we got.  We use all the common list separators.
   10262       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   10263       for pkg in $enableval; do
   10264 	IFS=$lt_save_ifs
   10265 	if test "X$pkg" = "X$p"; then
   10266 	  enable_shared=yes
   10267 	fi
   10268       done
   10269       IFS=$lt_save_ifs
   10270       ;;
   10271     esac
   10272 else $as_nop
   10273   enable_shared=yes
   10274 fi
   10275 
   10276 
   10277 
   10278 
   10279 
   10280 
   10281 
   10282 
   10283 
   10284 
   10285 
   10286 # Check whether --with-pic was given.
   10287 if test ${with_pic+y}
   10288 then :
   10289   withval=$with_pic; lt_p=${PACKAGE-default}
   10290     case $withval in
   10291     yes|no) pic_mode=$withval ;;
   10292     *)
   10293       pic_mode=default
   10294       # Look at the argument we got.  We use all the common list separators.
   10295       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   10296       for lt_pkg in $withval; do
   10297 	IFS=$lt_save_ifs
   10298 	if test "X$lt_pkg" = "X$lt_p"; then
   10299 	  pic_mode=yes
   10300 	fi
   10301       done
   10302       IFS=$lt_save_ifs
   10303       ;;
   10304     esac
   10305 else $as_nop
   10306   pic_mode=default
   10307 fi
   10308 
   10309 
   10310 
   10311 
   10312 
   10313 
   10314 
   10315 
   10316   # Check whether --enable-fast-install was given.
   10317 if test ${enable_fast_install+y}
   10318 then :
   10319   enableval=$enable_fast_install; p=${PACKAGE-default}
   10320     case $enableval in
   10321     yes) enable_fast_install=yes ;;
   10322     no) enable_fast_install=no ;;
   10323     *)
   10324       enable_fast_install=no
   10325       # Look at the argument we got.  We use all the common list separators.
   10326       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   10327       for pkg in $enableval; do
   10328 	IFS=$lt_save_ifs
   10329 	if test "X$pkg" = "X$p"; then
   10330 	  enable_fast_install=yes
   10331 	fi
   10332       done
   10333       IFS=$lt_save_ifs
   10334       ;;
   10335     esac
   10336 else $as_nop
   10337   enable_fast_install=yes
   10338 fi
   10339 
   10340 
   10341 
   10342 
   10343 
   10344 
   10345 
   10346 
   10347   shared_archive_member_spec=
   10348 case $host,$enable_shared in
   10349 power*-*-aix[5-9]*,yes)
   10350   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   10351 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   10352 
   10353 # Check whether --with-aix-soname was given.
   10354 if test ${with_aix_soname+y}
   10355 then :
   10356   withval=$with_aix_soname; case $withval in
   10357     aix|svr4|both)
   10358       ;;
   10359     *)
   10360       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   10361       ;;
   10362     esac
   10363     lt_cv_with_aix_soname=$with_aix_soname
   10364 else $as_nop
   10365   if test ${lt_cv_with_aix_soname+y}
   10366 then :
   10367   printf %s "(cached) " >&6
   10368 else $as_nop
   10369   lt_cv_with_aix_soname=aix
   10370 fi
   10371 
   10372     with_aix_soname=$lt_cv_with_aix_soname
   10373 fi
   10374 
   10375   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   10376 printf "%s\n" "$with_aix_soname" >&6; }
   10377   if test aix != "$with_aix_soname"; then
   10378     # For the AIX way of multilib, we name the shared archive member
   10379     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   10380     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   10381     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   10382     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   10383     if test 64 = "${OBJECT_MODE-32}"; then
   10384       shared_archive_member_spec=shr_64
   10385     else
   10386       shared_archive_member_spec=shr
   10387     fi
   10388   fi
   10389   ;;
   10390 *)
   10391   with_aix_soname=aix
   10392   ;;
   10393 esac
   10394 
   10395 
   10396 
   10397 
   10398 
   10399 
   10400 
   10401 
   10402 
   10403 
   10404 # This can be used to rebuild libtool when needed
   10405 LIBTOOL_DEPS=$ltmain
   10406 
   10407 # Always use our own libtool.
   10408 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   10409 
   10410 
   10411 
   10412 
   10413 
   10414 
   10415 
   10416 
   10417 
   10418 
   10419 
   10420 
   10421 
   10422 
   10423 
   10424 
   10425 
   10426 
   10427 
   10428 
   10429 
   10430 
   10431 
   10432 
   10433 
   10434 
   10435 
   10436 
   10437 
   10438 
   10439 test -z "$LN_S" && LN_S="ln -s"
   10440 
   10441 
   10442 
   10443 
   10444 
   10445 
   10446 
   10447 
   10448 
   10449 
   10450 
   10451 
   10452 
   10453 
   10454 if test -n "${ZSH_VERSION+set}"; then
   10455    setopt NO_GLOB_SUBST
   10456 fi
   10457 
   10458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   10459 printf %s "checking for objdir... " >&6; }
   10460 if test ${lt_cv_objdir+y}
   10461 then :
   10462   printf %s "(cached) " >&6
   10463 else $as_nop
   10464   rm -f .libs 2>/dev/null
   10465 mkdir .libs 2>/dev/null
   10466 if test -d .libs; then
   10467   lt_cv_objdir=.libs
   10468 else
   10469   # MS-DOS does not allow filenames that begin with a dot.
   10470   lt_cv_objdir=_libs
   10471 fi
   10472 rmdir .libs 2>/dev/null
   10473 fi
   10474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   10475 printf "%s\n" "$lt_cv_objdir" >&6; }
   10476 objdir=$lt_cv_objdir
   10477 
   10478 
   10479 
   10480 
   10481 
   10482 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   10483 
   10484 
   10485 
   10486 
   10487 case $host_os in
   10488 aix3*)
   10489   # AIX sometimes has problems with the GCC collect2 program.  For some
   10490   # reason, if we set the COLLECT_NAMES environment variable, the problems
   10491   # vanish in a puff of smoke.
   10492   if test set != "${COLLECT_NAMES+set}"; then
   10493     COLLECT_NAMES=
   10494     export COLLECT_NAMES
   10495   fi
   10496   ;;
   10497 esac
   10498 
   10499 # Global variables:
   10500 ofile=libtool
   10501 can_build_shared=yes
   10502 
   10503 # All known linkers require a '.a' archive for static linking (except MSVC and
   10504 # ICC, which need '.lib').
   10505 libext=a
   10506 
   10507 with_gnu_ld=$lt_cv_prog_gnu_ld
   10508 
   10509 old_CC=$CC
   10510 old_CFLAGS=$CFLAGS
   10511 
   10512 # Set sane defaults for various variables
   10513 test -z "$CC" && CC=cc
   10514 test -z "$LTCC" && LTCC=$CC
   10515 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   10516 test -z "$LD" && LD=ld
   10517 test -z "$ac_objext" && ac_objext=o
   10518 
   10519 func_cc_basename $compiler
   10520 cc_basename=$func_cc_basename_result
   10521 
   10522 
   10523 # Only perform the check for file, if the check method requires it
   10524 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   10525 case $deplibs_check_method in
   10526 file_magic*)
   10527   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   10528     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   10529 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   10530 if test ${lt_cv_path_MAGIC_CMD+y}
   10531 then :
   10532   printf %s "(cached) " >&6
   10533 else $as_nop
   10534   case $MAGIC_CMD in
   10535 [\\/*] |  ?:[\\/]*)
   10536   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   10537   ;;
   10538 *)
   10539   lt_save_MAGIC_CMD=$MAGIC_CMD
   10540   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   10541   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   10542   for ac_dir in $ac_dummy; do
   10543     IFS=$lt_save_ifs
   10544     test -z "$ac_dir" && ac_dir=.
   10545     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   10546       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   10547       if test -n "$file_magic_test_file"; then
   10548 	case $deplibs_check_method in
   10549 	"file_magic "*)
   10550 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   10551 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   10552 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   10553 	    $EGREP "$file_magic_regex" > /dev/null; then
   10554 	    :
   10555 	  else
   10556 	    cat <<_LT_EOF 1>&2
   10557 
   10558 *** Warning: the command libtool uses to detect shared libraries,
   10559 *** $file_magic_cmd, produces output that libtool cannot recognize.
   10560 *** The result is that libtool may fail to recognize shared libraries
   10561 *** as such.  This will affect the creation of libtool libraries that
   10562 *** depend on shared libraries, but programs linked with such libtool
   10563 *** libraries will work regardless of this problem.  Nevertheless, you
   10564 *** may want to report the problem to your system manager and/or to
   10565 *** bug-libtool@gnu.org
   10566 
   10567 _LT_EOF
   10568 	  fi ;;
   10569 	esac
   10570       fi
   10571       break
   10572     fi
   10573   done
   10574   IFS=$lt_save_ifs
   10575   MAGIC_CMD=$lt_save_MAGIC_CMD
   10576   ;;
   10577 esac
   10578 fi
   10579 
   10580 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   10581 if test -n "$MAGIC_CMD"; then
   10582   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   10583 printf "%s\n" "$MAGIC_CMD" >&6; }
   10584 else
   10585   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10586 printf "%s\n" "no" >&6; }
   10587 fi
   10588 
   10589 
   10590 
   10591 
   10592 
   10593 if test -z "$lt_cv_path_MAGIC_CMD"; then
   10594   if test -n "$ac_tool_prefix"; then
   10595     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   10596 printf %s "checking for file... " >&6; }
   10597 if test ${lt_cv_path_MAGIC_CMD+y}
   10598 then :
   10599   printf %s "(cached) " >&6
   10600 else $as_nop
   10601   case $MAGIC_CMD in
   10602 [\\/*] |  ?:[\\/]*)
   10603   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   10604   ;;
   10605 *)
   10606   lt_save_MAGIC_CMD=$MAGIC_CMD
   10607   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   10608   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   10609   for ac_dir in $ac_dummy; do
   10610     IFS=$lt_save_ifs
   10611     test -z "$ac_dir" && ac_dir=.
   10612     if test -f "$ac_dir/file"; then
   10613       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   10614       if test -n "$file_magic_test_file"; then
   10615 	case $deplibs_check_method in
   10616 	"file_magic "*)
   10617 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   10618 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   10619 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   10620 	    $EGREP "$file_magic_regex" > /dev/null; then
   10621 	    :
   10622 	  else
   10623 	    cat <<_LT_EOF 1>&2
   10624 
   10625 *** Warning: the command libtool uses to detect shared libraries,
   10626 *** $file_magic_cmd, produces output that libtool cannot recognize.
   10627 *** The result is that libtool may fail to recognize shared libraries
   10628 *** as such.  This will affect the creation of libtool libraries that
   10629 *** depend on shared libraries, but programs linked with such libtool
   10630 *** libraries will work regardless of this problem.  Nevertheless, you
   10631 *** may want to report the problem to your system manager and/or to
   10632 *** bug-libtool@gnu.org
   10633 
   10634 _LT_EOF
   10635 	  fi ;;
   10636 	esac
   10637       fi
   10638       break
   10639     fi
   10640   done
   10641   IFS=$lt_save_ifs
   10642   MAGIC_CMD=$lt_save_MAGIC_CMD
   10643   ;;
   10644 esac
   10645 fi
   10646 
   10647 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   10648 if test -n "$MAGIC_CMD"; then
   10649   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   10650 printf "%s\n" "$MAGIC_CMD" >&6; }
   10651 else
   10652   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10653 printf "%s\n" "no" >&6; }
   10654 fi
   10655 
   10656 
   10657   else
   10658     MAGIC_CMD=:
   10659   fi
   10660 fi
   10661 
   10662   fi
   10663   ;;
   10664 esac
   10665 
   10666 # Use C for the default configuration in the libtool script
   10667 
   10668 lt_save_CC=$CC
   10669 ac_ext=c
   10670 ac_cpp='$CPP $CPPFLAGS'
   10671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10674 
   10675 
   10676 # Source file extension for C test sources.
   10677 ac_ext=c
   10678 
   10679 # Object file extension for compiled C test sources.
   10680 objext=o
   10681 objext=$objext
   10682 
   10683 # Code to be used in simple compile tests
   10684 lt_simple_compile_test_code="int some_variable = 0;"
   10685 
   10686 # Code to be used in simple link tests
   10687 lt_simple_link_test_code='int main(){return(0);}'
   10688 
   10689 
   10690 
   10691 
   10692 
   10693 
   10694 
   10695 # If no C compiler was specified, use CC.
   10696 LTCC=${LTCC-"$CC"}
   10697 
   10698 # If no C compiler flags were specified, use CFLAGS.
   10699 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   10700 
   10701 # Allow CC to be a program name with arguments.
   10702 compiler=$CC
   10703 
   10704 # Save the default compiler, since it gets overwritten when the other
   10705 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   10706 compiler_DEFAULT=$CC
   10707 
   10708 # save warnings/boilerplate of simple test code
   10709 ac_outfile=conftest.$ac_objext
   10710 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   10711 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   10712 _lt_compiler_boilerplate=`cat conftest.err`
   10713 $RM conftest*
   10714 
   10715 ac_outfile=conftest.$ac_objext
   10716 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   10717 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   10718 _lt_linker_boilerplate=`cat conftest.err`
   10719 $RM -r conftest*
   10720 
   10721 
   10722 ## CAVEAT EMPTOR:
   10723 ## There is no encapsulation within the following macros, do not change
   10724 ## the running order or otherwise move them around unless you know exactly
   10725 ## what you are doing...
   10726 if test -n "$compiler"; then
   10727 
   10728 lt_prog_compiler_no_builtin_flag=
   10729 
   10730 if test yes = "$GCC"; then
   10731   case $cc_basename in
   10732   nvcc*)
   10733     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   10734   *)
   10735     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   10736   esac
   10737 
   10738   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   10739 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   10740 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   10741 then :
   10742   printf %s "(cached) " >&6
   10743 else $as_nop
   10744   lt_cv_prog_compiler_rtti_exceptions=no
   10745    ac_outfile=conftest.$ac_objext
   10746    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10747    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   10748    # Insert the option either (1) after the last *FLAGS variable, or
   10749    # (2) before a word containing "conftest.", or (3) at the end.
   10750    # Note that $ac_compile itself does not contain backslashes and begins
   10751    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10752    # The option is referenced via a variable to avoid confusing sed.
   10753    lt_compile=`echo "$ac_compile" | $SED \
   10754    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10755    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10756    -e 's:$: $lt_compiler_flag:'`
   10757    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10758    (eval "$lt_compile" 2>conftest.err)
   10759    ac_status=$?
   10760    cat conftest.err >&5
   10761    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10762    if (exit $ac_status) && test -s "$ac_outfile"; then
   10763      # The compiler can only warn and ignore the option if not recognized
   10764      # So say no if there are warnings other than the usual output.
   10765      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   10766      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10767      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   10768        lt_cv_prog_compiler_rtti_exceptions=yes
   10769      fi
   10770    fi
   10771    $RM conftest*
   10772 
   10773 fi
   10774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   10775 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   10776 
   10777 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   10778     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   10779 else
   10780     :
   10781 fi
   10782 
   10783 fi
   10784 
   10785 
   10786 
   10787 
   10788 
   10789 
   10790   lt_prog_compiler_wl=
   10791 lt_prog_compiler_pic=
   10792 lt_prog_compiler_static=
   10793 
   10794 
   10795   if test yes = "$GCC"; then
   10796     lt_prog_compiler_wl='-Wl,'
   10797     lt_prog_compiler_static='-static'
   10798 
   10799     case $host_os in
   10800       aix*)
   10801       # All AIX code is PIC.
   10802       if test ia64 = "$host_cpu"; then
   10803 	# AIX 5 now supports IA64 processor
   10804 	lt_prog_compiler_static='-Bstatic'
   10805       fi
   10806       lt_prog_compiler_pic='-fPIC'
   10807       ;;
   10808 
   10809     amigaos*)
   10810       case $host_cpu in
   10811       powerpc)
   10812             # see comment about AmigaOS4 .so support
   10813             lt_prog_compiler_pic='-fPIC'
   10814         ;;
   10815       m68k)
   10816             # FIXME: we need at least 68020 code to build shared libraries, but
   10817             # adding the '-m68020' flag to GCC prevents building anything better,
   10818             # like '-m68040'.
   10819             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   10820         ;;
   10821       esac
   10822       ;;
   10823 
   10824     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   10825       # PIC is the default for these OSes.
   10826       ;;
   10827 
   10828     mingw* | cygwin* | pw32* | os2* | cegcc*)
   10829       # This hack is so that the source file can tell whether it is being
   10830       # built for inclusion in a dll (and should export symbols for example).
   10831       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   10832       # (--disable-auto-import) libraries
   10833       lt_prog_compiler_pic='-DDLL_EXPORT'
   10834       case $host_os in
   10835       os2*)
   10836 	lt_prog_compiler_static='$wl-static'
   10837 	;;
   10838       esac
   10839       ;;
   10840 
   10841     darwin* | rhapsody*)
   10842       # PIC is the default on this platform
   10843       # Common symbols not allowed in MH_DYLIB files
   10844       lt_prog_compiler_pic='-fno-common'
   10845       ;;
   10846 
   10847     haiku*)
   10848       # PIC is the default for Haiku.
   10849       # The "-static" flag exists, but is broken.
   10850       lt_prog_compiler_static=
   10851       ;;
   10852 
   10853     hpux*)
   10854       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   10855       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   10856       # sets the default TLS model and affects inlining.
   10857       case $host_cpu in
   10858       hppa*64*)
   10859 	# +Z the default
   10860 	;;
   10861       *)
   10862 	lt_prog_compiler_pic='-fPIC'
   10863 	;;
   10864       esac
   10865       ;;
   10866 
   10867     interix[3-9]*)
   10868       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   10869       # Instead, we relocate shared libraries at runtime.
   10870       ;;
   10871 
   10872     msdosdjgpp*)
   10873       # Just because we use GCC doesn't mean we suddenly get shared libraries
   10874       # on systems that don't support them.
   10875       lt_prog_compiler_can_build_shared=no
   10876       enable_shared=no
   10877       ;;
   10878 
   10879     *nto* | *qnx*)
   10880       # QNX uses GNU C++, but need to define -shared option too, otherwise
   10881       # it will coredump.
   10882       lt_prog_compiler_pic='-fPIC -shared'
   10883       ;;
   10884 
   10885     sysv4*MP*)
   10886       if test -d /usr/nec; then
   10887 	lt_prog_compiler_pic=-Kconform_pic
   10888       fi
   10889       ;;
   10890 
   10891     *)
   10892       lt_prog_compiler_pic='-fPIC'
   10893       ;;
   10894     esac
   10895 
   10896     case $cc_basename in
   10897     nvcc*) # Cuda Compiler Driver 2.2
   10898       lt_prog_compiler_wl='-Xlinker '
   10899       if test -n "$lt_prog_compiler_pic"; then
   10900         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   10901       fi
   10902       ;;
   10903     esac
   10904   else
   10905     # PORTME Check for flag to pass linker flags through the system compiler.
   10906     case $host_os in
   10907     aix*)
   10908       lt_prog_compiler_wl='-Wl,'
   10909       if test ia64 = "$host_cpu"; then
   10910 	# AIX 5 now supports IA64 processor
   10911 	lt_prog_compiler_static='-Bstatic'
   10912       else
   10913 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   10914       fi
   10915       ;;
   10916 
   10917     darwin* | rhapsody*)
   10918       # PIC is the default on this platform
   10919       # Common symbols not allowed in MH_DYLIB files
   10920       lt_prog_compiler_pic='-fno-common'
   10921       case $cc_basename in
   10922       nagfor*)
   10923         # NAG Fortran compiler
   10924         lt_prog_compiler_wl='-Wl,-Wl,,'
   10925         lt_prog_compiler_pic='-PIC'
   10926         lt_prog_compiler_static='-Bstatic'
   10927         ;;
   10928       esac
   10929       ;;
   10930 
   10931     mingw* | cygwin* | pw32* | os2* | cegcc*)
   10932       # This hack is so that the source file can tell whether it is being
   10933       # built for inclusion in a dll (and should export symbols for example).
   10934       lt_prog_compiler_pic='-DDLL_EXPORT'
   10935       case $host_os in
   10936       os2*)
   10937 	lt_prog_compiler_static='$wl-static'
   10938 	;;
   10939       esac
   10940       ;;
   10941 
   10942     hpux9* | hpux10* | hpux11*)
   10943       lt_prog_compiler_wl='-Wl,'
   10944       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   10945       # not for PA HP-UX.
   10946       case $host_cpu in
   10947       hppa*64*|ia64*)
   10948 	# +Z the default
   10949 	;;
   10950       *)
   10951 	lt_prog_compiler_pic='+Z'
   10952 	;;
   10953       esac
   10954       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   10955       lt_prog_compiler_static='$wl-a ${wl}archive'
   10956       ;;
   10957 
   10958     irix5* | irix6* | nonstopux*)
   10959       lt_prog_compiler_wl='-Wl,'
   10960       # PIC (with -KPIC) is the default.
   10961       lt_prog_compiler_static='-non_shared'
   10962       ;;
   10963 
   10964     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   10965       case $cc_basename in
   10966       # old Intel for x86_64, which still supported -KPIC.
   10967       ecc*)
   10968 	lt_prog_compiler_wl='-Wl,'
   10969 	lt_prog_compiler_pic='-KPIC'
   10970 	lt_prog_compiler_static='-static'
   10971         ;;
   10972       # icc used to be incompatible with GCC.
   10973       # ICC 10 doesn't accept -KPIC any more.
   10974       icc* | ifort*)
   10975 	lt_prog_compiler_wl='-Wl,'
   10976 	lt_prog_compiler_pic='-fPIC'
   10977 	lt_prog_compiler_static='-static'
   10978         ;;
   10979       # Lahey Fortran 8.1.
   10980       lf95*)
   10981 	lt_prog_compiler_wl='-Wl,'
   10982 	lt_prog_compiler_pic='--shared'
   10983 	lt_prog_compiler_static='--static'
   10984 	;;
   10985       nagfor*)
   10986 	# NAG Fortran compiler
   10987 	lt_prog_compiler_wl='-Wl,-Wl,,'
   10988 	lt_prog_compiler_pic='-PIC'
   10989 	lt_prog_compiler_static='-Bstatic'
   10990 	;;
   10991       tcc*)
   10992 	# Fabrice Bellard et al's Tiny C Compiler
   10993 	lt_prog_compiler_wl='-Wl,'
   10994 	lt_prog_compiler_pic='-fPIC'
   10995 	lt_prog_compiler_static='-static'
   10996 	;;
   10997       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   10998         # Portland Group compilers (*not* the Pentium gcc compiler,
   10999 	# which looks to be a dead project)
   11000 	lt_prog_compiler_wl='-Wl,'
   11001 	lt_prog_compiler_pic='-fpic'
   11002 	lt_prog_compiler_static='-Bstatic'
   11003         ;;
   11004       ccc*)
   11005         lt_prog_compiler_wl='-Wl,'
   11006         # All Alpha code is PIC.
   11007         lt_prog_compiler_static='-non_shared'
   11008         ;;
   11009       xl* | bgxl* | bgf* | mpixl*)
   11010 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   11011 	lt_prog_compiler_wl='-Wl,'
   11012 	lt_prog_compiler_pic='-qpic'
   11013 	lt_prog_compiler_static='-qstaticlink'
   11014 	;;
   11015       *)
   11016 	case `$CC -V 2>&1 | $SED 5q` in
   11017 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   11018 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   11019 	  lt_prog_compiler_pic='-KPIC'
   11020 	  lt_prog_compiler_static='-Bstatic'
   11021 	  lt_prog_compiler_wl=''
   11022 	  ;;
   11023 	*Sun\ F* | *Sun*Fortran*)
   11024 	  lt_prog_compiler_pic='-KPIC'
   11025 	  lt_prog_compiler_static='-Bstatic'
   11026 	  lt_prog_compiler_wl='-Qoption ld '
   11027 	  ;;
   11028 	*Sun\ C*)
   11029 	  # Sun C 5.9
   11030 	  lt_prog_compiler_pic='-KPIC'
   11031 	  lt_prog_compiler_static='-Bstatic'
   11032 	  lt_prog_compiler_wl='-Wl,'
   11033 	  ;;
   11034         *Intel*\ [CF]*Compiler*)
   11035 	  lt_prog_compiler_wl='-Wl,'
   11036 	  lt_prog_compiler_pic='-fPIC'
   11037 	  lt_prog_compiler_static='-static'
   11038 	  ;;
   11039 	*Portland\ Group*)
   11040 	  lt_prog_compiler_wl='-Wl,'
   11041 	  lt_prog_compiler_pic='-fpic'
   11042 	  lt_prog_compiler_static='-Bstatic'
   11043 	  ;;
   11044 	esac
   11045 	;;
   11046       esac
   11047       ;;
   11048 
   11049     newsos6)
   11050       lt_prog_compiler_pic='-KPIC'
   11051       lt_prog_compiler_static='-Bstatic'
   11052       ;;
   11053 
   11054     *nto* | *qnx*)
   11055       # QNX uses GNU C++, but need to define -shared option too, otherwise
   11056       # it will coredump.
   11057       lt_prog_compiler_pic='-fPIC -shared'
   11058       ;;
   11059 
   11060     osf3* | osf4* | osf5*)
   11061       lt_prog_compiler_wl='-Wl,'
   11062       # All OSF/1 code is PIC.
   11063       lt_prog_compiler_static='-non_shared'
   11064       ;;
   11065 
   11066     rdos*)
   11067       lt_prog_compiler_static='-non_shared'
   11068       ;;
   11069 
   11070     solaris*)
   11071       lt_prog_compiler_pic='-KPIC'
   11072       lt_prog_compiler_static='-Bstatic'
   11073       case $cc_basename in
   11074       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   11075 	lt_prog_compiler_wl='-Qoption ld ';;
   11076       *)
   11077 	lt_prog_compiler_wl='-Wl,';;
   11078       esac
   11079       ;;
   11080 
   11081     sunos4*)
   11082       lt_prog_compiler_wl='-Qoption ld '
   11083       lt_prog_compiler_pic='-PIC'
   11084       lt_prog_compiler_static='-Bstatic'
   11085       ;;
   11086 
   11087     sysv4 | sysv4.2uw2* | sysv4.3*)
   11088       lt_prog_compiler_wl='-Wl,'
   11089       lt_prog_compiler_pic='-KPIC'
   11090       lt_prog_compiler_static='-Bstatic'
   11091       ;;
   11092 
   11093     sysv4*MP*)
   11094       if test -d /usr/nec; then
   11095 	lt_prog_compiler_pic='-Kconform_pic'
   11096 	lt_prog_compiler_static='-Bstatic'
   11097       fi
   11098       ;;
   11099 
   11100     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   11101       lt_prog_compiler_wl='-Wl,'
   11102       lt_prog_compiler_pic='-KPIC'
   11103       lt_prog_compiler_static='-Bstatic'
   11104       ;;
   11105 
   11106     unicos*)
   11107       lt_prog_compiler_wl='-Wl,'
   11108       lt_prog_compiler_can_build_shared=no
   11109       ;;
   11110 
   11111     uts4*)
   11112       lt_prog_compiler_pic='-pic'
   11113       lt_prog_compiler_static='-Bstatic'
   11114       ;;
   11115 
   11116     *)
   11117       lt_prog_compiler_can_build_shared=no
   11118       ;;
   11119     esac
   11120   fi
   11121 
   11122 case $host_os in
   11123   # For platforms that do not support PIC, -DPIC is meaningless:
   11124   *djgpp*)
   11125     lt_prog_compiler_pic=
   11126     ;;
   11127   *)
   11128     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   11129     ;;
   11130 esac
   11131 
   11132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   11133 printf %s "checking for $compiler option to produce PIC... " >&6; }
   11134 if test ${lt_cv_prog_compiler_pic+y}
   11135 then :
   11136   printf %s "(cached) " >&6
   11137 else $as_nop
   11138   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   11139 fi
   11140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   11141 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   11142 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   11143 
   11144 #
   11145 # Check to make sure the PIC flag actually works.
   11146 #
   11147 if test -n "$lt_prog_compiler_pic"; then
   11148   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   11149 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   11150 if test ${lt_cv_prog_compiler_pic_works+y}
   11151 then :
   11152   printf %s "(cached) " >&6
   11153 else $as_nop
   11154   lt_cv_prog_compiler_pic_works=no
   11155    ac_outfile=conftest.$ac_objext
   11156    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11157    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   11158    # Insert the option either (1) after the last *FLAGS variable, or
   11159    # (2) before a word containing "conftest.", or (3) at the end.
   11160    # Note that $ac_compile itself does not contain backslashes and begins
   11161    # with a dollar sign (not a hyphen), so the echo should work correctly.
   11162    # The option is referenced via a variable to avoid confusing sed.
   11163    lt_compile=`echo "$ac_compile" | $SED \
   11164    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   11165    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   11166    -e 's:$: $lt_compiler_flag:'`
   11167    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   11168    (eval "$lt_compile" 2>conftest.err)
   11169    ac_status=$?
   11170    cat conftest.err >&5
   11171    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11172    if (exit $ac_status) && test -s "$ac_outfile"; then
   11173      # The compiler can only warn and ignore the option if not recognized
   11174      # So say no if there are warnings other than the usual output.
   11175      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   11176      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   11177      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   11178        lt_cv_prog_compiler_pic_works=yes
   11179      fi
   11180    fi
   11181    $RM conftest*
   11182 
   11183 fi
   11184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   11185 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   11186 
   11187 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   11188     case $lt_prog_compiler_pic in
   11189      "" | " "*) ;;
   11190      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   11191      esac
   11192 else
   11193     lt_prog_compiler_pic=
   11194      lt_prog_compiler_can_build_shared=no
   11195 fi
   11196 
   11197 fi
   11198 
   11199 
   11200 
   11201 
   11202 
   11203 
   11204 
   11205 
   11206 
   11207 
   11208 
   11209 #
   11210 # Check to make sure the static flag actually works.
   11211 #
   11212 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   11213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   11214 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   11215 if test ${lt_cv_prog_compiler_static_works+y}
   11216 then :
   11217   printf %s "(cached) " >&6
   11218 else $as_nop
   11219   lt_cv_prog_compiler_static_works=no
   11220    save_LDFLAGS=$LDFLAGS
   11221    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   11222    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   11223    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   11224      # The linker can only warn and ignore the option if not recognized
   11225      # So say no if there are warnings
   11226      if test -s conftest.err; then
   11227        # Append any errors to the config.log.
   11228        cat conftest.err 1>&5
   11229        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   11230        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   11231        if diff conftest.exp conftest.er2 >/dev/null; then
   11232          lt_cv_prog_compiler_static_works=yes
   11233        fi
   11234      else
   11235        lt_cv_prog_compiler_static_works=yes
   11236      fi
   11237    fi
   11238    $RM -r conftest*
   11239    LDFLAGS=$save_LDFLAGS
   11240 
   11241 fi
   11242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   11243 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   11244 
   11245 if test yes = "$lt_cv_prog_compiler_static_works"; then
   11246     :
   11247 else
   11248     lt_prog_compiler_static=
   11249 fi
   11250 
   11251 
   11252 
   11253 
   11254 
   11255 
   11256 
   11257   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   11258 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   11259 if test ${lt_cv_prog_compiler_c_o+y}
   11260 then :
   11261   printf %s "(cached) " >&6
   11262 else $as_nop
   11263   lt_cv_prog_compiler_c_o=no
   11264    $RM -r conftest 2>/dev/null
   11265    mkdir conftest
   11266    cd conftest
   11267    mkdir out
   11268    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11269 
   11270    lt_compiler_flag="-o out/conftest2.$ac_objext"
   11271    # Insert the option either (1) after the last *FLAGS variable, or
   11272    # (2) before a word containing "conftest.", or (3) at the end.
   11273    # Note that $ac_compile itself does not contain backslashes and begins
   11274    # with a dollar sign (not a hyphen), so the echo should work correctly.
   11275    lt_compile=`echo "$ac_compile" | $SED \
   11276    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   11277    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   11278    -e 's:$: $lt_compiler_flag:'`
   11279    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   11280    (eval "$lt_compile" 2>out/conftest.err)
   11281    ac_status=$?
   11282    cat out/conftest.err >&5
   11283    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11284    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   11285    then
   11286      # The compiler can only warn and ignore the option if not recognized
   11287      # So say no if there are warnings
   11288      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   11289      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   11290      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   11291        lt_cv_prog_compiler_c_o=yes
   11292      fi
   11293    fi
   11294    chmod u+w . 2>&5
   11295    $RM conftest*
   11296    # SGI C++ compiler will create directory out/ii_files/ for
   11297    # template instantiation
   11298    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   11299    $RM out/* && rmdir out
   11300    cd ..
   11301    $RM -r conftest
   11302    $RM conftest*
   11303 
   11304 fi
   11305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   11306 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   11307 
   11308 
   11309 
   11310 
   11311 
   11312 
   11313   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   11314 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   11315 if test ${lt_cv_prog_compiler_c_o+y}
   11316 then :
   11317   printf %s "(cached) " >&6
   11318 else $as_nop
   11319   lt_cv_prog_compiler_c_o=no
   11320    $RM -r conftest 2>/dev/null
   11321    mkdir conftest
   11322    cd conftest
   11323    mkdir out
   11324    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11325 
   11326    lt_compiler_flag="-o out/conftest2.$ac_objext"
   11327    # Insert the option either (1) after the last *FLAGS variable, or
   11328    # (2) before a word containing "conftest.", or (3) at the end.
   11329    # Note that $ac_compile itself does not contain backslashes and begins
   11330    # with a dollar sign (not a hyphen), so the echo should work correctly.
   11331    lt_compile=`echo "$ac_compile" | $SED \
   11332    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   11333    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   11334    -e 's:$: $lt_compiler_flag:'`
   11335    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   11336    (eval "$lt_compile" 2>out/conftest.err)
   11337    ac_status=$?
   11338    cat out/conftest.err >&5
   11339    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11340    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   11341    then
   11342      # The compiler can only warn and ignore the option if not recognized
   11343      # So say no if there are warnings
   11344      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   11345      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   11346      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   11347        lt_cv_prog_compiler_c_o=yes
   11348      fi
   11349    fi
   11350    chmod u+w . 2>&5
   11351    $RM conftest*
   11352    # SGI C++ compiler will create directory out/ii_files/ for
   11353    # template instantiation
   11354    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   11355    $RM out/* && rmdir out
   11356    cd ..
   11357    $RM -r conftest
   11358    $RM conftest*
   11359 
   11360 fi
   11361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   11362 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   11363 
   11364 
   11365 
   11366 
   11367 hard_links=nottested
   11368 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   11369   # do not overwrite the value of need_locks provided by the user
   11370   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   11371 printf %s "checking if we can lock with hard links... " >&6; }
   11372   hard_links=yes
   11373   $RM conftest*
   11374   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   11375   touch conftest.a
   11376   ln conftest.a conftest.b 2>&5 || hard_links=no
   11377   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   11378   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   11379 printf "%s\n" "$hard_links" >&6; }
   11380   if test no = "$hard_links"; then
   11381     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   11382 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   11383     need_locks=warn
   11384   fi
   11385 else
   11386   need_locks=no
   11387 fi
   11388 
   11389 
   11390 
   11391 
   11392 
   11393 
   11394   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   11395 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   11396 
   11397   runpath_var=
   11398   allow_undefined_flag=
   11399   always_export_symbols=no
   11400   archive_cmds=
   11401   archive_expsym_cmds=
   11402   compiler_needs_object=no
   11403   enable_shared_with_static_runtimes=no
   11404   export_dynamic_flag_spec=
   11405   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   11406   hardcode_automatic=no
   11407   hardcode_direct=no
   11408   hardcode_direct_absolute=no
   11409   hardcode_libdir_flag_spec=
   11410   hardcode_libdir_separator=
   11411   hardcode_minus_L=no
   11412   hardcode_shlibpath_var=unsupported
   11413   inherit_rpath=no
   11414   link_all_deplibs=unknown
   11415   module_cmds=
   11416   module_expsym_cmds=
   11417   old_archive_from_new_cmds=
   11418   old_archive_from_expsyms_cmds=
   11419   thread_safe_flag_spec=
   11420   whole_archive_flag_spec=
   11421   # include_expsyms should be a list of space-separated symbols to be *always*
   11422   # included in the symbol list
   11423   include_expsyms=
   11424   # exclude_expsyms can be an extended regexp of symbols to exclude
   11425   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   11426   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   11427   # as well as any symbol that contains 'd'.
   11428   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   11429   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   11430   # platforms (ab)use it in PIC code, but their linkers get confused if
   11431   # the symbol is explicitly referenced.  Since portable code cannot
   11432   # rely on this symbol name, it's probably fine to never include it in
   11433   # preloaded symbol tables.
   11434   # Exclude shared library initialization/finalization symbols.
   11435   extract_expsyms_cmds=
   11436 
   11437   case $host_os in
   11438   cygwin* | mingw* | pw32* | cegcc*)
   11439     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   11440     # When not using gcc, we currently assume that we are using
   11441     # Microsoft Visual C++ or Intel C++ Compiler.
   11442     if test yes != "$GCC"; then
   11443       with_gnu_ld=no
   11444     fi
   11445     ;;
   11446   interix*)
   11447     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   11448     with_gnu_ld=yes
   11449     ;;
   11450   openbsd* | bitrig*)
   11451     with_gnu_ld=no
   11452     ;;
   11453   esac
   11454 
   11455   ld_shlibs=yes
   11456 
   11457   # On some targets, GNU ld is compatible enough with the native linker
   11458   # that we're better off using the native interface for both.
   11459   lt_use_gnu_ld_interface=no
   11460   if test yes = "$with_gnu_ld"; then
   11461     case $host_os in
   11462       aix*)
   11463 	# The AIX port of GNU ld has always aspired to compatibility
   11464 	# with the native linker.  However, as the warning in the GNU ld
   11465 	# block says, versions before 2.19.5* couldn't really create working
   11466 	# shared libraries, regardless of the interface used.
   11467 	case `$LD -v 2>&1` in
   11468 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   11469 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   11470 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   11471 	  *)
   11472 	    lt_use_gnu_ld_interface=yes
   11473 	    ;;
   11474 	esac
   11475 	;;
   11476       *)
   11477 	lt_use_gnu_ld_interface=yes
   11478 	;;
   11479     esac
   11480   fi
   11481 
   11482   if test yes = "$lt_use_gnu_ld_interface"; then
   11483     # If archive_cmds runs LD, not CC, wlarc should be empty
   11484     wlarc='$wl'
   11485 
   11486     # Set some defaults for GNU ld with shared library support. These
   11487     # are reset later if shared libraries are not supported. Putting them
   11488     # here allows them to be overridden if necessary.
   11489     runpath_var=LD_RUN_PATH
   11490     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11491     export_dynamic_flag_spec='$wl--export-dynamic'
   11492     # ancient GNU ld didn't support --whole-archive et. al.
   11493     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   11494       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   11495     else
   11496       whole_archive_flag_spec=
   11497     fi
   11498     supports_anon_versioning=no
   11499     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   11500       *GNU\ gold*) supports_anon_versioning=yes ;;
   11501       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   11502       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   11503       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   11504       *\ 2.11.*) ;; # other 2.11 versions
   11505       *) supports_anon_versioning=yes ;;
   11506     esac
   11507 
   11508     # See if GNU ld supports shared libraries.
   11509     case $host_os in
   11510     aix[3-9]*)
   11511       # On AIX/PPC, the GNU linker is very broken
   11512       if test ia64 != "$host_cpu"; then
   11513 	ld_shlibs=no
   11514 	cat <<_LT_EOF 1>&2
   11515 
   11516 *** Warning: the GNU linker, at least up to release 2.19, is reported
   11517 *** to be unable to reliably create shared libraries on AIX.
   11518 *** Therefore, libtool is disabling shared libraries support.  If you
   11519 *** really care for shared libraries, you may want to install binutils
   11520 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   11521 *** You will then need to restart the configuration process.
   11522 
   11523 _LT_EOF
   11524       fi
   11525       ;;
   11526 
   11527     amigaos*)
   11528       case $host_cpu in
   11529       powerpc)
   11530             # see comment about AmigaOS4 .so support
   11531             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11532             archive_expsym_cmds=''
   11533         ;;
   11534       m68k)
   11535             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)'
   11536             hardcode_libdir_flag_spec='-L$libdir'
   11537             hardcode_minus_L=yes
   11538         ;;
   11539       esac
   11540       ;;
   11541 
   11542     beos*)
   11543       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   11544 	allow_undefined_flag=unsupported
   11545 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11546 	# support --undefined.  This deserves some investigation.  FIXME
   11547 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11548       else
   11549 	ld_shlibs=no
   11550       fi
   11551       ;;
   11552 
   11553     cygwin* | mingw* | pw32* | cegcc*)
   11554       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   11555       # as there is no search path for DLLs.
   11556       hardcode_libdir_flag_spec='-L$libdir'
   11557       export_dynamic_flag_spec='$wl--export-all-symbols'
   11558       allow_undefined_flag=unsupported
   11559       always_export_symbols=no
   11560       enable_shared_with_static_runtimes=yes
   11561       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'
   11562       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   11563 
   11564       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   11565         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   11566 	# If the export-symbols file already is a .def file, use it as
   11567 	# is; otherwise, prepend EXPORTS...
   11568 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   11569           cp $export_symbols $output_objdir/$soname.def;
   11570         else
   11571           echo EXPORTS > $output_objdir/$soname.def;
   11572           cat $export_symbols >> $output_objdir/$soname.def;
   11573         fi~
   11574         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   11575       else
   11576 	ld_shlibs=no
   11577       fi
   11578       ;;
   11579 
   11580     haiku*)
   11581       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11582       link_all_deplibs=yes
   11583       ;;
   11584 
   11585     os2*)
   11586       hardcode_libdir_flag_spec='-L$libdir'
   11587       hardcode_minus_L=yes
   11588       allow_undefined_flag=unsupported
   11589       shrext_cmds=.dll
   11590       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11591 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11592 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11593 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11594 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   11595 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11596 	emximp -o $lib $output_objdir/$libname.def'
   11597       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11598 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11599 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11600 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11601 	prefix_cmds="$SED"~
   11602 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   11603 	  prefix_cmds="$prefix_cmds -e 1d";
   11604 	fi~
   11605 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   11606 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   11607 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11608 	emximp -o $lib $output_objdir/$libname.def'
   11609       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   11610       enable_shared_with_static_runtimes=yes
   11611       file_list_spec='@'
   11612       ;;
   11613 
   11614     interix[3-9]*)
   11615       hardcode_direct=no
   11616       hardcode_shlibpath_var=no
   11617       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11618       export_dynamic_flag_spec='$wl-E'
   11619       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   11620       # Instead, shared libraries are loaded at an image base (0x10000000 by
   11621       # default) and relocated if they conflict, which is a slow very memory
   11622       # consuming and fragmenting process.  To avoid this, we pick a random,
   11623       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   11624       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   11625       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   11626       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'
   11627       ;;
   11628 
   11629     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   11630       tmp_diet=no
   11631       if test linux-dietlibc = "$host_os"; then
   11632 	case $cc_basename in
   11633 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   11634 	esac
   11635       fi
   11636       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   11637 	 && test no = "$tmp_diet"
   11638       then
   11639 	tmp_addflag=' $pic_flag'
   11640 	tmp_sharedflag='-shared'
   11641 	case $cc_basename,$host_cpu in
   11642         pgcc*)				# Portland Group C compiler
   11643 	  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'
   11644 	  tmp_addflag=' $pic_flag'
   11645 	  ;;
   11646 	pgf77* | pgf90* | pgf95* | pgfortran*)
   11647 					# Portland Group f77 and f90 compilers
   11648 	  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'
   11649 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   11650 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   11651 	  tmp_addflag=' -i_dynamic' ;;
   11652 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   11653 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   11654 	ifc* | ifort*)			# Intel Fortran compiler
   11655 	  tmp_addflag=' -nofor_main' ;;
   11656 	lf95*)				# Lahey Fortran 8.1
   11657 	  whole_archive_flag_spec=
   11658 	  tmp_sharedflag='--shared' ;;
   11659         nagfor*)                        # NAGFOR 5.3
   11660           tmp_sharedflag='-Wl,-shared' ;;
   11661 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   11662 	  tmp_sharedflag='-qmkshrobj'
   11663 	  tmp_addflag= ;;
   11664 	nvcc*)	# Cuda Compiler Driver 2.2
   11665 	  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'
   11666 	  compiler_needs_object=yes
   11667 	  ;;
   11668 	esac
   11669 	case `$CC -V 2>&1 | $SED 5q` in
   11670 	*Sun\ C*)			# Sun C 5.9
   11671 	  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'
   11672 	  compiler_needs_object=yes
   11673 	  tmp_sharedflag='-G' ;;
   11674 	*Sun\ F*)			# Sun Fortran 8.3
   11675 	  tmp_sharedflag='-G' ;;
   11676 	esac
   11677 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11678 
   11679         if test yes = "$supports_anon_versioning"; then
   11680           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   11681             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   11682             echo "local: *; };" >> $output_objdir/$libname.ver~
   11683             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   11684         fi
   11685 
   11686 	case $cc_basename in
   11687 	tcc*)
   11688 	  export_dynamic_flag_spec='-rdynamic'
   11689 	  ;;
   11690 	xlf* | bgf* | bgxlf* | mpixlf*)
   11691 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   11692 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   11693 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11694 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   11695 	  if test yes = "$supports_anon_versioning"; then
   11696 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   11697               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   11698               echo "local: *; };" >> $output_objdir/$libname.ver~
   11699               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   11700 	  fi
   11701 	  ;;
   11702 	esac
   11703       else
   11704         ld_shlibs=no
   11705       fi
   11706       ;;
   11707 
   11708     netbsd*)
   11709       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11710 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   11711 	wlarc=
   11712       else
   11713 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11714 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   11715       fi
   11716       ;;
   11717 
   11718     solaris*)
   11719       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   11720 	ld_shlibs=no
   11721 	cat <<_LT_EOF 1>&2
   11722 
   11723 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   11724 *** create shared libraries on Solaris systems.  Therefore, libtool
   11725 *** is disabling shared libraries support.  We urge you to upgrade GNU
   11726 *** binutils to release 2.9.1 or newer.  Another option is to modify
   11727 *** your PATH or compiler configuration so that the native linker is
   11728 *** used, and then restart.
   11729 
   11730 _LT_EOF
   11731       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   11732 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11733 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   11734       else
   11735 	ld_shlibs=no
   11736       fi
   11737       ;;
   11738 
   11739     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   11740       case `$LD -v 2>&1` in
   11741         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   11742 	ld_shlibs=no
   11743 	cat <<_LT_EOF 1>&2
   11744 
   11745 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   11746 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   11747 *** is disabling shared libraries support.  We urge you to upgrade GNU
   11748 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   11749 *** your PATH or compiler configuration so that the native linker is
   11750 *** used, and then restart.
   11751 
   11752 _LT_EOF
   11753 	;;
   11754 	*)
   11755 	  # For security reasons, it is highly recommended that you always
   11756 	  # use absolute paths for naming shared libraries, and exclude the
   11757 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   11758 	  # requires that you compile everything twice, which is a pain.
   11759 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   11760 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11761 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11762 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   11763 	  else
   11764 	    ld_shlibs=no
   11765 	  fi
   11766 	;;
   11767       esac
   11768       ;;
   11769 
   11770     sunos4*)
   11771       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   11772       wlarc=
   11773       hardcode_direct=yes
   11774       hardcode_shlibpath_var=no
   11775       ;;
   11776 
   11777     *)
   11778       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   11779 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11780 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   11781       else
   11782 	ld_shlibs=no
   11783       fi
   11784       ;;
   11785     esac
   11786 
   11787     if test no = "$ld_shlibs"; then
   11788       runpath_var=
   11789       hardcode_libdir_flag_spec=
   11790       export_dynamic_flag_spec=
   11791       whole_archive_flag_spec=
   11792     fi
   11793   else
   11794     # PORTME fill in a description of your system's linker (not GNU ld)
   11795     case $host_os in
   11796     aix3*)
   11797       allow_undefined_flag=unsupported
   11798       always_export_symbols=yes
   11799       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'
   11800       # Note: this linker hardcodes the directories in LIBPATH if there
   11801       # are no directories specified by -L.
   11802       hardcode_minus_L=yes
   11803       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   11804 	# Neither direct hardcoding nor static linking is supported with a
   11805 	# broken collect2.
   11806 	hardcode_direct=unsupported
   11807       fi
   11808       ;;
   11809 
   11810     aix[4-9]*)
   11811       if test ia64 = "$host_cpu"; then
   11812 	# On IA64, the linker does run time linking by default, so we don't
   11813 	# have to do anything special.
   11814 	aix_use_runtimelinking=no
   11815 	exp_sym_flag='-Bexport'
   11816 	no_entry_flag=
   11817       else
   11818 	# If we're using GNU nm, then we don't want the "-C" option.
   11819 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   11820 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   11821 	# weak defined symbols like other global defined symbols, whereas
   11822 	# GNU nm marks them as "W".
   11823 	# While the 'weak' keyword is ignored in the Export File, we need
   11824 	# it in the Import File for the 'aix-soname' feature, so we have
   11825 	# to replace the "-B" option with "-P" for AIX nm.
   11826 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   11827 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
   11828 	else
   11829 	  export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
   11830 	fi
   11831 	aix_use_runtimelinking=no
   11832 
   11833 	# Test if we are trying to use run time linking or normal
   11834 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   11835 	# have runtime linking enabled, and use it for executables.
   11836 	# For shared libraries, we enable/disable runtime linking
   11837 	# depending on the kind of the shared library created -
   11838 	# when "with_aix_soname,aix_use_runtimelinking" is:
   11839 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   11840 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   11841 	#            lib.a           static archive
   11842 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   11843 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   11844 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   11845 	#            lib.a(lib.so.V) shared, rtl:no
   11846 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   11847 	#            lib.a           static archive
   11848 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   11849 	  for ld_flag in $LDFLAGS; do
   11850 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   11851 	    aix_use_runtimelinking=yes
   11852 	    break
   11853 	  fi
   11854 	  done
   11855 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   11856 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   11857 	    # so we don't have lib.a shared libs to link our executables.
   11858 	    # We have to force runtime linking in this case.
   11859 	    aix_use_runtimelinking=yes
   11860 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   11861 	  fi
   11862 	  ;;
   11863 	esac
   11864 
   11865 	exp_sym_flag='-bexport'
   11866 	no_entry_flag='-bnoentry'
   11867       fi
   11868 
   11869       # When large executables or shared objects are built, AIX ld can
   11870       # have problems creating the table of contents.  If linking a library
   11871       # or program results in "error TOC overflow" add -mminimal-toc to
   11872       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   11873       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   11874 
   11875       archive_cmds=''
   11876       hardcode_direct=yes
   11877       hardcode_direct_absolute=yes
   11878       hardcode_libdir_separator=':'
   11879       link_all_deplibs=yes
   11880       file_list_spec='$wl-f,'
   11881       case $with_aix_soname,$aix_use_runtimelinking in
   11882       aix,*) ;; # traditional, no import file
   11883       svr4,* | *,yes) # use import file
   11884 	# The Import File defines what to hardcode.
   11885 	hardcode_direct=no
   11886 	hardcode_direct_absolute=no
   11887 	;;
   11888       esac
   11889 
   11890       if test yes = "$GCC"; then
   11891 	case $host_os in aix4.[012]|aix4.[012].*)
   11892 	# We only want to do this on AIX 4.2 and lower, the check
   11893 	# below for broken collect2 doesn't work under 4.3+
   11894 	  collect2name=`$CC -print-prog-name=collect2`
   11895 	  if test -f "$collect2name" &&
   11896 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   11897 	  then
   11898 	  # We have reworked collect2
   11899 	  :
   11900 	  else
   11901 	  # We have old collect2
   11902 	  hardcode_direct=unsupported
   11903 	  # It fails to find uninstalled libraries when the uninstalled
   11904 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   11905 	  # to unsupported forces relinking
   11906 	  hardcode_minus_L=yes
   11907 	  hardcode_libdir_flag_spec='-L$libdir'
   11908 	  hardcode_libdir_separator=
   11909 	  fi
   11910 	  ;;
   11911 	esac
   11912 	shared_flag='-shared'
   11913 	if test yes = "$aix_use_runtimelinking"; then
   11914 	  shared_flag="$shared_flag "'$wl-G'
   11915 	fi
   11916 	# Need to ensure runtime linking is disabled for the traditional
   11917 	# shared library, or the linker may eventually find shared libraries
   11918 	# /with/ Import File - we do not want to mix them.
   11919 	shared_flag_aix='-shared'
   11920 	shared_flag_svr4='-shared $wl-G'
   11921       else
   11922 	# not using gcc
   11923 	if test ia64 = "$host_cpu"; then
   11924 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   11925 	# chokes on -Wl,-G. The following line is correct:
   11926 	  shared_flag='-G'
   11927 	else
   11928 	  if test yes = "$aix_use_runtimelinking"; then
   11929 	    shared_flag='$wl-G'
   11930 	  else
   11931 	    shared_flag='$wl-bM:SRE'
   11932 	  fi
   11933 	  shared_flag_aix='$wl-bM:SRE'
   11934 	  shared_flag_svr4='$wl-G'
   11935 	fi
   11936       fi
   11937 
   11938       export_dynamic_flag_spec='$wl-bexpall'
   11939       # It seems that -bexpall does not export symbols beginning with
   11940       # underscore (_), so it is better to generate a list of symbols to export.
   11941       always_export_symbols=yes
   11942       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   11943 	# Warning - without using the other runtime loading flags (-brtl),
   11944 	# -berok will link without error, but may produce a broken library.
   11945 	allow_undefined_flag='-berok'
   11946         # Determine the default libpath from the value encoded in an
   11947         # empty executable.
   11948         if test set = "${lt_cv_aix_libpath+set}"; then
   11949   aix_libpath=$lt_cv_aix_libpath
   11950 else
   11951   if test ${lt_cv_aix_libpath_+y}
   11952 then :
   11953   printf %s "(cached) " >&6
   11954 else $as_nop
   11955   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11956 /* end confdefs.h.  */
   11957 
   11958 int
   11959 main (void)
   11960 {
   11961 
   11962   ;
   11963   return 0;
   11964 }
   11965 _ACEOF
   11966 if ac_fn_c_try_link "$LINENO"
   11967 then :
   11968 
   11969   lt_aix_libpath_sed='
   11970       /Import File Strings/,/^$/ {
   11971 	  /^0/ {
   11972 	      s/^0  *\([^ ]*\) *$/\1/
   11973 	      p
   11974 	  }
   11975       }'
   11976   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11977   # Check for a 64-bit object if we didn't find anything.
   11978   if test -z "$lt_cv_aix_libpath_"; then
   11979     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11980   fi
   11981 fi
   11982 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11983     conftest$ac_exeext conftest.$ac_ext
   11984   if test -z "$lt_cv_aix_libpath_"; then
   11985     lt_cv_aix_libpath_=/usr/lib:/lib
   11986   fi
   11987 
   11988 fi
   11989 
   11990   aix_libpath=$lt_cv_aix_libpath_
   11991 fi
   11992 
   11993         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   11994         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
   11995       else
   11996 	if test ia64 = "$host_cpu"; then
   11997 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   11998 	  allow_undefined_flag="-z nodefs"
   11999 	  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"
   12000 	else
   12001 	 # Determine the default libpath from the value encoded in an
   12002 	 # empty executable.
   12003 	 if test set = "${lt_cv_aix_libpath+set}"; then
   12004   aix_libpath=$lt_cv_aix_libpath
   12005 else
   12006   if test ${lt_cv_aix_libpath_+y}
   12007 then :
   12008   printf %s "(cached) " >&6
   12009 else $as_nop
   12010   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12011 /* end confdefs.h.  */
   12012 
   12013 int
   12014 main (void)
   12015 {
   12016 
   12017   ;
   12018   return 0;
   12019 }
   12020 _ACEOF
   12021 if ac_fn_c_try_link "$LINENO"
   12022 then :
   12023 
   12024   lt_aix_libpath_sed='
   12025       /Import File Strings/,/^$/ {
   12026 	  /^0/ {
   12027 	      s/^0  *\([^ ]*\) *$/\1/
   12028 	      p
   12029 	  }
   12030       }'
   12031   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   12032   # Check for a 64-bit object if we didn't find anything.
   12033   if test -z "$lt_cv_aix_libpath_"; then
   12034     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   12035   fi
   12036 fi
   12037 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12038     conftest$ac_exeext conftest.$ac_ext
   12039   if test -z "$lt_cv_aix_libpath_"; then
   12040     lt_cv_aix_libpath_=/usr/lib:/lib
   12041   fi
   12042 
   12043 fi
   12044 
   12045   aix_libpath=$lt_cv_aix_libpath_
   12046 fi
   12047 
   12048 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   12049 	  # Warning - without using the other run time loading flags,
   12050 	  # -berok will link without error, but may produce a broken library.
   12051 	  no_undefined_flag=' $wl-bernotok'
   12052 	  allow_undefined_flag=' $wl-berok'
   12053 	  if test yes = "$with_gnu_ld"; then
   12054 	    # We only use this code for GNU lds that support --whole-archive.
   12055 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   12056 	  else
   12057 	    # Exported symbols can be pulled into shared objects from archives
   12058 	    whole_archive_flag_spec='$convenience'
   12059 	  fi
   12060 	  archive_cmds_need_lc=yes
   12061 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   12062 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   12063 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   12064 	  if test svr4 != "$with_aix_soname"; then
   12065 	    # This is similar to how AIX traditionally builds its shared libraries.
   12066 	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
   12067 	  fi
   12068 	  if test aix != "$with_aix_soname"; then
   12069 	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
   12070 	  else
   12071 	    # used by -dlpreopen to get the symbols
   12072 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   12073 	  fi
   12074 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   12075 	fi
   12076       fi
   12077       ;;
   12078 
   12079     amigaos*)
   12080       case $host_cpu in
   12081       powerpc)
   12082             # see comment about AmigaOS4 .so support
   12083             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   12084             archive_expsym_cmds=''
   12085         ;;
   12086       m68k)
   12087             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)'
   12088             hardcode_libdir_flag_spec='-L$libdir'
   12089             hardcode_minus_L=yes
   12090         ;;
   12091       esac
   12092       ;;
   12093 
   12094     bsdi[45]*)
   12095       export_dynamic_flag_spec=-rdynamic
   12096       ;;
   12097 
   12098     cygwin* | mingw* | pw32* | cegcc*)
   12099       # When not using gcc, we currently assume that we are using
   12100       # Microsoft Visual C++ or Intel C++ Compiler.
   12101       # hardcode_libdir_flag_spec is actually meaningless, as there is
   12102       # no search path for DLLs.
   12103       case $cc_basename in
   12104       cl* | icl*)
   12105 	# Native MSVC or ICC
   12106 	hardcode_libdir_flag_spec=' '
   12107 	allow_undefined_flag=unsupported
   12108 	always_export_symbols=yes
   12109 	file_list_spec='@'
   12110 	# Tell ltmain to make .lib files, not .a files.
   12111 	libext=lib
   12112 	# Tell ltmain to make .dll files, not .so files.
   12113 	shrext_cmds=.dll
   12114 	# FIXME: Setting linknames here is a bad hack.
   12115 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   12116 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   12117             cp "$export_symbols" "$output_objdir/$soname.def";
   12118             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   12119           else
   12120             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   12121           fi~
   12122           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   12123           linknames='
   12124 	# The linker will not automatically build a static lib if we build a DLL.
   12125 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   12126 	enable_shared_with_static_runtimes=yes
   12127 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   12128 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   12129 	# Don't use ranlib
   12130 	old_postinstall_cmds='chmod 644 $oldlib'
   12131 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   12132           lt_tool_outputfile="@TOOL_OUTPUT@"~
   12133           case $lt_outputfile in
   12134             *.exe|*.EXE) ;;
   12135             *)
   12136               lt_outputfile=$lt_outputfile.exe
   12137               lt_tool_outputfile=$lt_tool_outputfile.exe
   12138               ;;
   12139           esac~
   12140           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   12141             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   12142             $RM "$lt_outputfile.manifest";
   12143           fi'
   12144 	;;
   12145       *)
   12146 	# Assume MSVC and ICC wrapper
   12147 	hardcode_libdir_flag_spec=' '
   12148 	allow_undefined_flag=unsupported
   12149 	# Tell ltmain to make .lib files, not .a files.
   12150 	libext=lib
   12151 	# Tell ltmain to make .dll files, not .so files.
   12152 	shrext_cmds=.dll
   12153 	# FIXME: Setting linknames here is a bad hack.
   12154 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   12155 	# The linker will automatically build a .lib file if we build a DLL.
   12156 	old_archive_from_new_cmds='true'
   12157 	# FIXME: Should let the user specify the lib program.
   12158 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   12159 	enable_shared_with_static_runtimes=yes
   12160 	;;
   12161       esac
   12162       ;;
   12163 
   12164     darwin* | rhapsody*)
   12165 
   12166 
   12167   archive_cmds_need_lc=no
   12168   hardcode_direct=no
   12169   hardcode_automatic=yes
   12170   hardcode_shlibpath_var=unsupported
   12171   if test yes = "$lt_cv_ld_force_load"; then
   12172     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\"`'
   12173 
   12174   else
   12175     whole_archive_flag_spec=''
   12176   fi
   12177   link_all_deplibs=yes
   12178   allow_undefined_flag=$_lt_dar_allow_undefined
   12179   case $cc_basename in
   12180      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   12181      *) _lt_dar_can_shared=$GCC ;;
   12182   esac
   12183   if test yes = "$_lt_dar_can_shared"; then
   12184     output_verbose_link_cmd=func_echo_all
   12185     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   12186     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   12187     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"
   12188     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"
   12189 
   12190   else
   12191   ld_shlibs=no
   12192   fi
   12193 
   12194       ;;
   12195 
   12196     dgux*)
   12197       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   12198       hardcode_libdir_flag_spec='-L$libdir'
   12199       hardcode_shlibpath_var=no
   12200       ;;
   12201 
   12202     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   12203     # support.  Future versions do this automatically, but an explicit c++rt0.o
   12204     # does not break anything, and helps significantly (at the cost of a little
   12205     # extra space).
   12206     freebsd2.2*)
   12207       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   12208       hardcode_libdir_flag_spec='-R$libdir'
   12209       hardcode_direct=yes
   12210       hardcode_shlibpath_var=no
   12211       ;;
   12212 
   12213     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   12214     freebsd2.*)
   12215       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   12216       hardcode_direct=yes
   12217       hardcode_minus_L=yes
   12218       hardcode_shlibpath_var=no
   12219       ;;
   12220 
   12221     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   12222     freebsd* | dragonfly* | midnightbsd*)
   12223       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   12224       hardcode_libdir_flag_spec='-R$libdir'
   12225       hardcode_direct=yes
   12226       hardcode_shlibpath_var=no
   12227       ;;
   12228 
   12229     hpux9*)
   12230       if test yes = "$GCC"; then
   12231 	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   12232       else
   12233 	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   12234       fi
   12235       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   12236       hardcode_libdir_separator=:
   12237       hardcode_direct=yes
   12238 
   12239       # hardcode_minus_L: Not really in the search PATH,
   12240       # but as the default location of the library.
   12241       hardcode_minus_L=yes
   12242       export_dynamic_flag_spec='$wl-E'
   12243       ;;
   12244 
   12245     hpux10*)
   12246       if test yes,no = "$GCC,$with_gnu_ld"; then
   12247 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   12248       else
   12249 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   12250       fi
   12251       if test no = "$with_gnu_ld"; then
   12252 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   12253 	hardcode_libdir_separator=:
   12254 	hardcode_direct=yes
   12255 	hardcode_direct_absolute=yes
   12256 	export_dynamic_flag_spec='$wl-E'
   12257 	# hardcode_minus_L: Not really in the search PATH,
   12258 	# but as the default location of the library.
   12259 	hardcode_minus_L=yes
   12260       fi
   12261       ;;
   12262 
   12263     hpux11*)
   12264       if test yes,no = "$GCC,$with_gnu_ld"; then
   12265 	case $host_cpu in
   12266 	hppa*64*)
   12267 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   12268 	  ;;
   12269 	ia64*)
   12270 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   12271 	  ;;
   12272 	*)
   12273 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   12274 	  ;;
   12275 	esac
   12276       else
   12277 	case $host_cpu in
   12278 	hppa*64*)
   12279 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   12280 	  ;;
   12281 	ia64*)
   12282 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   12283 	  ;;
   12284 	*)
   12285 
   12286 	  # Older versions of the 11.00 compiler do not understand -b yet
   12287 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   12288 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   12289 printf %s "checking if $CC understands -b... " >&6; }
   12290 if test ${lt_cv_prog_compiler__b+y}
   12291 then :
   12292   printf %s "(cached) " >&6
   12293 else $as_nop
   12294   lt_cv_prog_compiler__b=no
   12295    save_LDFLAGS=$LDFLAGS
   12296    LDFLAGS="$LDFLAGS -b"
   12297    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   12298    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   12299      # The linker can only warn and ignore the option if not recognized
   12300      # So say no if there are warnings
   12301      if test -s conftest.err; then
   12302        # Append any errors to the config.log.
   12303        cat conftest.err 1>&5
   12304        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   12305        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12306        if diff conftest.exp conftest.er2 >/dev/null; then
   12307          lt_cv_prog_compiler__b=yes
   12308        fi
   12309      else
   12310        lt_cv_prog_compiler__b=yes
   12311      fi
   12312    fi
   12313    $RM -r conftest*
   12314    LDFLAGS=$save_LDFLAGS
   12315 
   12316 fi
   12317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   12318 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   12319 
   12320 if test yes = "$lt_cv_prog_compiler__b"; then
   12321     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   12322 else
   12323     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   12324 fi
   12325 
   12326 	  ;;
   12327 	esac
   12328       fi
   12329       if test no = "$with_gnu_ld"; then
   12330 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   12331 	hardcode_libdir_separator=:
   12332 
   12333 	case $host_cpu in
   12334 	hppa*64*|ia64*)
   12335 	  hardcode_direct=no
   12336 	  hardcode_shlibpath_var=no
   12337 	  ;;
   12338 	*)
   12339 	  hardcode_direct=yes
   12340 	  hardcode_direct_absolute=yes
   12341 	  export_dynamic_flag_spec='$wl-E'
   12342 
   12343 	  # hardcode_minus_L: Not really in the search PATH,
   12344 	  # but as the default location of the library.
   12345 	  hardcode_minus_L=yes
   12346 	  ;;
   12347 	esac
   12348       fi
   12349       ;;
   12350 
   12351     irix5* | irix6* | nonstopux*)
   12352       if test yes = "$GCC"; then
   12353 	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'
   12354 	# Try to use the -exported_symbol ld option, if it does not
   12355 	# work, assume that -exports_file does not work either and
   12356 	# implicitly export all symbols.
   12357 	# This should be the same for all languages, so no per-tag cache variable.
   12358 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   12359 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   12360 if test ${lt_cv_irix_exported_symbol+y}
   12361 then :
   12362   printf %s "(cached) " >&6
   12363 else $as_nop
   12364   save_LDFLAGS=$LDFLAGS
   12365 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   12366 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12367 /* end confdefs.h.  */
   12368 int foo (void) { return 0; }
   12369 _ACEOF
   12370 if ac_fn_c_try_link "$LINENO"
   12371 then :
   12372   lt_cv_irix_exported_symbol=yes
   12373 else $as_nop
   12374   lt_cv_irix_exported_symbol=no
   12375 fi
   12376 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12377     conftest$ac_exeext conftest.$ac_ext
   12378            LDFLAGS=$save_LDFLAGS
   12379 fi
   12380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   12381 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   12382 	if test yes = "$lt_cv_irix_exported_symbol"; then
   12383           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'
   12384 	fi
   12385       else
   12386 	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'
   12387 	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'
   12388       fi
   12389       archive_cmds_need_lc='no'
   12390       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   12391       hardcode_libdir_separator=:
   12392       inherit_rpath=yes
   12393       link_all_deplibs=yes
   12394       ;;
   12395 
   12396     linux*)
   12397       case $cc_basename in
   12398       tcc*)
   12399 	# Fabrice Bellard et al's Tiny C Compiler
   12400 	ld_shlibs=yes
   12401 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   12402 	;;
   12403       esac
   12404       ;;
   12405 
   12406     netbsd*)
   12407       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   12408 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   12409       else
   12410 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   12411       fi
   12412       hardcode_libdir_flag_spec='-R$libdir'
   12413       hardcode_direct=yes
   12414       hardcode_shlibpath_var=no
   12415       ;;
   12416 
   12417     newsos6)
   12418       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   12419       hardcode_direct=yes
   12420       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   12421       hardcode_libdir_separator=:
   12422       hardcode_shlibpath_var=no
   12423       ;;
   12424 
   12425     *nto* | *qnx*)
   12426       ;;
   12427 
   12428     openbsd* | bitrig*)
   12429       if test -f /usr/libexec/ld.so; then
   12430 	hardcode_direct=yes
   12431 	hardcode_shlibpath_var=no
   12432 	hardcode_direct_absolute=yes
   12433 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12434 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   12435 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   12436 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   12437 	  export_dynamic_flag_spec='$wl-E'
   12438 	else
   12439 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   12440 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   12441 	fi
   12442       else
   12443 	ld_shlibs=no
   12444       fi
   12445       ;;
   12446 
   12447     os2*)
   12448       hardcode_libdir_flag_spec='-L$libdir'
   12449       hardcode_minus_L=yes
   12450       allow_undefined_flag=unsupported
   12451       shrext_cmds=.dll
   12452       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   12453 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   12454 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   12455 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   12456 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   12457 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   12458 	emximp -o $lib $output_objdir/$libname.def'
   12459       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   12460 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   12461 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   12462 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   12463 	prefix_cmds="$SED"~
   12464 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   12465 	  prefix_cmds="$prefix_cmds -e 1d";
   12466 	fi~
   12467 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   12468 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   12469 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   12470 	emximp -o $lib $output_objdir/$libname.def'
   12471       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   12472       enable_shared_with_static_runtimes=yes
   12473       file_list_spec='@'
   12474       ;;
   12475 
   12476     osf3*)
   12477       if test yes = "$GCC"; then
   12478 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   12479 	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'
   12480       else
   12481 	allow_undefined_flag=' -expect_unresolved \*'
   12482 	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'
   12483       fi
   12484       archive_cmds_need_lc='no'
   12485       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   12486       hardcode_libdir_separator=:
   12487       ;;
   12488 
   12489     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   12490       if test yes = "$GCC"; then
   12491 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   12492 	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'
   12493 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   12494       else
   12495 	allow_undefined_flag=' -expect_unresolved \*'
   12496 	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'
   12497 	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~
   12498           $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'
   12499 
   12500 	# Both c and cxx compiler support -rpath directly
   12501 	hardcode_libdir_flag_spec='-rpath $libdir'
   12502       fi
   12503       archive_cmds_need_lc='no'
   12504       hardcode_libdir_separator=:
   12505       ;;
   12506 
   12507     solaris*)
   12508       no_undefined_flag=' -z defs'
   12509       if test yes = "$GCC"; then
   12510 	wlarc='$wl'
   12511 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   12512 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   12513           $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'
   12514       else
   12515 	case `$CC -V 2>&1` in
   12516 	*"Compilers 5.0"*)
   12517 	  wlarc=''
   12518 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   12519 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   12520             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   12521 	  ;;
   12522 	*)
   12523 	  wlarc='$wl'
   12524 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   12525 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   12526             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   12527 	  ;;
   12528 	esac
   12529       fi
   12530       hardcode_libdir_flag_spec='-R$libdir'
   12531       hardcode_shlibpath_var=no
   12532       case $host_os in
   12533       solaris2.[0-5] | solaris2.[0-5].*) ;;
   12534       *)
   12535 	# The compiler driver will combine and reorder linker options,
   12536 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   12537 	# but is careful enough not to reorder.
   12538 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   12539 	if test yes = "$GCC"; then
   12540 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   12541 	else
   12542 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   12543 	fi
   12544 	;;
   12545       esac
   12546       link_all_deplibs=yes
   12547       ;;
   12548 
   12549     sunos4*)
   12550       if test sequent = "$host_vendor"; then
   12551 	# Use $CC to link under sequent, because it throws in some extra .o
   12552 	# files that make .init and .fini sections work.
   12553 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   12554       else
   12555 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   12556       fi
   12557       hardcode_libdir_flag_spec='-L$libdir'
   12558       hardcode_direct=yes
   12559       hardcode_minus_L=yes
   12560       hardcode_shlibpath_var=no
   12561       ;;
   12562 
   12563     sysv4)
   12564       case $host_vendor in
   12565 	sni)
   12566 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   12567 	  hardcode_direct=yes # is this really true???
   12568 	;;
   12569 	siemens)
   12570 	  ## LD is ld it makes a PLAMLIB
   12571 	  ## CC just makes a GrossModule.
   12572 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   12573 	  reload_cmds='$CC -r -o $output$reload_objs'
   12574 	  hardcode_direct=no
   12575         ;;
   12576 	motorola)
   12577 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   12578 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   12579 	;;
   12580       esac
   12581       runpath_var='LD_RUN_PATH'
   12582       hardcode_shlibpath_var=no
   12583       ;;
   12584 
   12585     sysv4.3*)
   12586       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   12587       hardcode_shlibpath_var=no
   12588       export_dynamic_flag_spec='-Bexport'
   12589       ;;
   12590 
   12591     sysv4*MP*)
   12592       if test -d /usr/nec; then
   12593 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   12594 	hardcode_shlibpath_var=no
   12595 	runpath_var=LD_RUN_PATH
   12596 	hardcode_runpath_var=yes
   12597 	ld_shlibs=yes
   12598       fi
   12599       ;;
   12600 
   12601     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   12602       no_undefined_flag='$wl-z,text'
   12603       archive_cmds_need_lc=no
   12604       hardcode_shlibpath_var=no
   12605       runpath_var='LD_RUN_PATH'
   12606 
   12607       if test yes = "$GCC"; then
   12608 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12609 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12610       else
   12611 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12612 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12613       fi
   12614       ;;
   12615 
   12616     sysv5* | sco3.2v5* | sco5v6*)
   12617       # Note: We CANNOT use -z defs as we might desire, because we do not
   12618       # link with -lc, and that would cause any symbols used from libc to
   12619       # always be unresolved, which means just about no library would
   12620       # ever link correctly.  If we're not using GNU ld we use -z text
   12621       # though, which does catch some bad symbols but isn't as heavy-handed
   12622       # as -z defs.
   12623       no_undefined_flag='$wl-z,text'
   12624       allow_undefined_flag='$wl-z,nodefs'
   12625       archive_cmds_need_lc=no
   12626       hardcode_shlibpath_var=no
   12627       hardcode_libdir_flag_spec='$wl-R,$libdir'
   12628       hardcode_libdir_separator=':'
   12629       link_all_deplibs=yes
   12630       export_dynamic_flag_spec='$wl-Bexport'
   12631       runpath_var='LD_RUN_PATH'
   12632 
   12633       if test yes = "$GCC"; then
   12634 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12635 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12636       else
   12637 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12638 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12639       fi
   12640       ;;
   12641 
   12642     uts4*)
   12643       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   12644       hardcode_libdir_flag_spec='-L$libdir'
   12645       hardcode_shlibpath_var=no
   12646       ;;
   12647 
   12648     *)
   12649       ld_shlibs=no
   12650       ;;
   12651     esac
   12652 
   12653     if test sni = "$host_vendor"; then
   12654       case $host in
   12655       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   12656 	export_dynamic_flag_spec='$wl-Blargedynsym'
   12657 	;;
   12658       esac
   12659     fi
   12660   fi
   12661 
   12662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   12663 printf "%s\n" "$ld_shlibs" >&6; }
   12664 test no = "$ld_shlibs" && can_build_shared=no
   12665 
   12666 with_gnu_ld=$with_gnu_ld
   12667 
   12668 
   12669 
   12670 
   12671 
   12672 
   12673 
   12674 
   12675 
   12676 
   12677 
   12678 
   12679 
   12680 
   12681 
   12682 #
   12683 # Do we need to explicitly link libc?
   12684 #
   12685 case "x$archive_cmds_need_lc" in
   12686 x|xyes)
   12687   # Assume -lc should be added
   12688   archive_cmds_need_lc=yes
   12689 
   12690   if test yes,yes = "$GCC,$enable_shared"; then
   12691     case $archive_cmds in
   12692     *'~'*)
   12693       # FIXME: we may have to deal with multi-command sequences.
   12694       ;;
   12695     '$CC '*)
   12696       # Test whether the compiler implicitly links with -lc since on some
   12697       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   12698       # to ld, don't add -lc before -lgcc.
   12699       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   12700 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   12701 if test ${lt_cv_archive_cmds_need_lc+y}
   12702 then :
   12703   printf %s "(cached) " >&6
   12704 else $as_nop
   12705   $RM conftest*
   12706 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12707 
   12708 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12709   (eval $ac_compile) 2>&5
   12710   ac_status=$?
   12711   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12712   test $ac_status = 0; } 2>conftest.err; then
   12713 	  soname=conftest
   12714 	  lib=conftest
   12715 	  libobjs=conftest.$ac_objext
   12716 	  deplibs=
   12717 	  wl=$lt_prog_compiler_wl
   12718 	  pic_flag=$lt_prog_compiler_pic
   12719 	  compiler_flags=-v
   12720 	  linker_flags=-v
   12721 	  verstring=
   12722 	  output_objdir=.
   12723 	  libname=conftest
   12724 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   12725 	  allow_undefined_flag=
   12726 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   12727   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   12728   ac_status=$?
   12729   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12730   test $ac_status = 0; }
   12731 	  then
   12732 	    lt_cv_archive_cmds_need_lc=no
   12733 	  else
   12734 	    lt_cv_archive_cmds_need_lc=yes
   12735 	  fi
   12736 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   12737 	else
   12738 	  cat conftest.err 1>&5
   12739 	fi
   12740 	$RM conftest*
   12741 
   12742 fi
   12743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   12744 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   12745       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   12746       ;;
   12747     esac
   12748   fi
   12749   ;;
   12750 esac
   12751 
   12752 
   12753 
   12754 
   12755 
   12756 
   12757 
   12758 
   12759 
   12760 
   12761 
   12762 
   12763 
   12764 
   12765 
   12766 
   12767 
   12768 
   12769 
   12770 
   12771 
   12772 
   12773 
   12774 
   12775 
   12776 
   12777 
   12778 
   12779 
   12780 
   12781 
   12782 
   12783 
   12784 
   12785 
   12786 
   12787 
   12788 
   12789 
   12790 
   12791 
   12792 
   12793 
   12794 
   12795 
   12796 
   12797 
   12798 
   12799 
   12800 
   12801 
   12802 
   12803 
   12804 
   12805 
   12806 
   12807 
   12808 
   12809 
   12810 
   12811 
   12812 
   12813 
   12814 
   12815 
   12816 
   12817 
   12818 
   12819 
   12820 
   12821 
   12822 
   12823 
   12824 
   12825 
   12826 
   12827 
   12828 
   12829 
   12830 
   12831 
   12832 
   12833 
   12834 
   12835 
   12836 
   12837 
   12838 
   12839 
   12840 
   12841 
   12842 
   12843 
   12844 
   12845 
   12846 
   12847 
   12848 
   12849 
   12850 
   12851 
   12852 
   12853 
   12854 
   12855 
   12856 
   12857 
   12858 
   12859 
   12860 
   12861 
   12862 
   12863 
   12864 
   12865 
   12866 
   12867 
   12868 
   12869 
   12870 
   12871 
   12872 
   12873 
   12874 
   12875 
   12876 
   12877 
   12878 
   12879 
   12880 
   12881 
   12882 
   12883 
   12884 
   12885 
   12886 
   12887 
   12888 
   12889 
   12890 
   12891 
   12892 
   12893 
   12894 
   12895 
   12896 
   12897 
   12898 
   12899 
   12900 
   12901 
   12902 
   12903   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   12904 printf %s "checking dynamic linker characteristics... " >&6; }
   12905 
   12906 if test yes = "$GCC"; then
   12907   case $host_os in
   12908     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   12909     *) lt_awk_arg='/^libraries:/' ;;
   12910   esac
   12911   case $host_os in
   12912     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   12913     *) lt_sed_strip_eq='s|=/|/|g' ;;
   12914   esac
   12915   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   12916   case $lt_search_path_spec in
   12917   *\;*)
   12918     # if the path contains ";" then we assume it to be the separator
   12919     # otherwise default to the standard path separator (i.e. ":") - it is
   12920     # assumed that no part of a normal pathname contains ";" but that should
   12921     # okay in the real world where ";" in dirpaths is itself problematic.
   12922     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   12923     ;;
   12924   *)
   12925     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   12926     ;;
   12927   esac
   12928   # Ok, now we have the path, separated by spaces, we can step through it
   12929   # and add multilib dir if necessary...
   12930   lt_tmp_lt_search_path_spec=
   12931   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   12932   # ...but if some path component already ends with the multilib dir we assume
   12933   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   12934   case "$lt_multi_os_dir; $lt_search_path_spec " in
   12935   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   12936     lt_multi_os_dir=
   12937     ;;
   12938   esac
   12939   for lt_sys_path in $lt_search_path_spec; do
   12940     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   12941       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   12942     elif test -n "$lt_multi_os_dir"; then
   12943       test -d "$lt_sys_path" && \
   12944 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   12945     fi
   12946   done
   12947   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   12948 BEGIN {RS = " "; FS = "/|\n";} {
   12949   lt_foo = "";
   12950   lt_count = 0;
   12951   for (lt_i = NF; lt_i > 0; lt_i--) {
   12952     if ($lt_i != "" && $lt_i != ".") {
   12953       if ($lt_i == "..") {
   12954         lt_count++;
   12955       } else {
   12956         if (lt_count == 0) {
   12957           lt_foo = "/" $lt_i lt_foo;
   12958         } else {
   12959           lt_count--;
   12960         }
   12961       }
   12962     }
   12963   }
   12964   if (lt_foo != "") { lt_freq[lt_foo]++; }
   12965   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   12966 }'`
   12967   # AWK program above erroneously prepends '/' to C:/dos/paths
   12968   # for these hosts.
   12969   case $host_os in
   12970     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   12971       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   12972   esac
   12973   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   12974 else
   12975   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12976 fi
   12977 library_names_spec=
   12978 libname_spec='lib$name'
   12979 soname_spec=
   12980 shrext_cmds=.so
   12981 postinstall_cmds=
   12982 postuninstall_cmds=
   12983 finish_cmds=
   12984 finish_eval=
   12985 shlibpath_var=
   12986 shlibpath_overrides_runpath=unknown
   12987 version_type=none
   12988 dynamic_linker="$host_os ld.so"
   12989 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   12990 need_lib_prefix=unknown
   12991 hardcode_into_libs=no
   12992 
   12993 # when you set need_version to no, make sure it does not cause -set_version
   12994 # flags to be left without arguments
   12995 need_version=unknown
   12996 
   12997 
   12998 
   12999 case $host_os in
   13000 aix3*)
   13001   version_type=linux # correct to gnu/linux during the next big refactor
   13002   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   13003   shlibpath_var=LIBPATH
   13004 
   13005   # AIX 3 has no versioning support, so we append a major version to the name.
   13006   soname_spec='$libname$release$shared_ext$major'
   13007   ;;
   13008 
   13009 aix[4-9]*)
   13010   version_type=linux # correct to gnu/linux during the next big refactor
   13011   need_lib_prefix=no
   13012   need_version=no
   13013   hardcode_into_libs=yes
   13014   if test ia64 = "$host_cpu"; then
   13015     # AIX 5 supports IA64
   13016     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   13017     shlibpath_var=LD_LIBRARY_PATH
   13018   else
   13019     # With GCC up to 2.95.x, collect2 would create an import file
   13020     # for dependence libraries.  The import file would start with
   13021     # the line '#! .'.  This would cause the generated library to
   13022     # depend on '.', always an invalid library.  This was fixed in
   13023     # development snapshots of GCC prior to 3.0.
   13024     case $host_os in
   13025       aix4 | aix4.[01] | aix4.[01].*)
   13026       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   13027 	   echo ' yes '
   13028 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   13029 	:
   13030       else
   13031 	can_build_shared=no
   13032       fi
   13033       ;;
   13034     esac
   13035     # Using Import Files as archive members, it is possible to support
   13036     # filename-based versioning of shared library archives on AIX. While
   13037     # this would work for both with and without runtime linking, it will
   13038     # prevent static linking of such archives. So we do filename-based
   13039     # shared library versioning with .so extension only, which is used
   13040     # when both runtime linking and shared linking is enabled.
   13041     # Unfortunately, runtime linking may impact performance, so we do
   13042     # not want this to be the default eventually. Also, we use the
   13043     # versioned .so libs for executables only if there is the -brtl
   13044     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   13045     # To allow for filename-based versioning support, we need to create
   13046     # libNAME.so.V as an archive file, containing:
   13047     # *) an Import File, referring to the versioned filename of the
   13048     #    archive as well as the shared archive member, telling the
   13049     #    bitwidth (32 or 64) of that shared object, and providing the
   13050     #    list of exported symbols of that shared object, eventually
   13051     #    decorated with the 'weak' keyword
   13052     # *) the shared object with the F_LOADONLY flag set, to really avoid
   13053     #    it being seen by the linker.
   13054     # At run time we better use the real file rather than another symlink,
   13055     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   13056 
   13057     case $with_aix_soname,$aix_use_runtimelinking in
   13058     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   13059     # soname into executable. Probably we can add versioning support to
   13060     # collect2, so additional links can be useful in future.
   13061     aix,yes) # traditional libtool
   13062       dynamic_linker='AIX unversionable lib.so'
   13063       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   13064       # instead of lib<name>.a to let people know that these are not
   13065       # typical AIX shared libraries.
   13066       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13067       ;;
   13068     aix,no) # traditional AIX only
   13069       dynamic_linker='AIX lib.a(lib.so.V)'
   13070       # We preserve .a as extension for shared libraries through AIX4.2
   13071       # and later when we are not doing run time linking.
   13072       library_names_spec='$libname$release.a $libname.a'
   13073       soname_spec='$libname$release$shared_ext$major'
   13074       ;;
   13075     svr4,*) # full svr4 only
   13076       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   13077       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   13078       # We do not specify a path in Import Files, so LIBPATH fires.
   13079       shlibpath_overrides_runpath=yes
   13080       ;;
   13081     *,yes) # both, prefer svr4
   13082       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   13083       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   13084       # unpreferred sharedlib libNAME.a needs extra handling
   13085       postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
   13086       postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
   13087       # We do not specify a path in Import Files, so LIBPATH fires.
   13088       shlibpath_overrides_runpath=yes
   13089       ;;
   13090     *,no) # both, prefer aix
   13091       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   13092       library_names_spec='$libname$release.a $libname.a'
   13093       soname_spec='$libname$release$shared_ext$major'
   13094       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   13095       postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
   13096       postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
   13097       ;;
   13098     esac
   13099     shlibpath_var=LIBPATH
   13100   fi
   13101   ;;
   13102 
   13103 amigaos*)
   13104   case $host_cpu in
   13105   powerpc)
   13106     # Since July 2007 AmigaOS4 officially supports .so libraries.
   13107     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   13108     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13109     ;;
   13110   m68k)
   13111     library_names_spec='$libname.ixlibrary $libname.a'
   13112     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   13113     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
   13114     ;;
   13115   esac
   13116   ;;
   13117 
   13118 beos*)
   13119   library_names_spec='$libname$shared_ext'
   13120   dynamic_linker="$host_os ld.so"
   13121   shlibpath_var=LIBRARY_PATH
   13122   ;;
   13123 
   13124 bsdi[45]*)
   13125   version_type=linux # correct to gnu/linux during the next big refactor
   13126   need_version=no
   13127   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13128   soname_spec='$libname$release$shared_ext$major'
   13129   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   13130   shlibpath_var=LD_LIBRARY_PATH
   13131   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   13132   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   13133   # the default ld.so.conf also contains /usr/contrib/lib and
   13134   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   13135   # libtool to hard-code these into programs
   13136   ;;
   13137 
   13138 cygwin* | mingw* | pw32* | cegcc*)
   13139   version_type=windows
   13140   shrext_cmds=.dll
   13141   need_version=no
   13142   need_lib_prefix=no
   13143 
   13144   case $GCC,$cc_basename in
   13145   yes,*)
   13146     # gcc
   13147     library_names_spec='$libname.dll.a'
   13148     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   13149     postinstall_cmds='base_file=`basename \$file`~
   13150       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   13151       dldir=$destdir/`dirname \$dlpath`~
   13152       test -d \$dldir || mkdir -p \$dldir~
   13153       $install_prog $dir/$dlname \$dldir/$dlname~
   13154       chmod a+x \$dldir/$dlname~
   13155       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   13156         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   13157       fi'
   13158     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   13159       dlpath=$dir/\$dldll~
   13160        $RM \$dlpath'
   13161     shlibpath_overrides_runpath=yes
   13162 
   13163     case $host_os in
   13164     cygwin*)
   13165       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   13166       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   13167 
   13168       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   13169       ;;
   13170     mingw* | cegcc*)
   13171       # MinGW DLLs use traditional 'lib' prefix
   13172       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   13173       ;;
   13174     pw32*)
   13175       # pw32 DLLs use 'pw' prefix rather than 'lib'
   13176       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   13177       ;;
   13178     esac
   13179     dynamic_linker='Win32 ld.exe'
   13180     ;;
   13181 
   13182   *,cl* | *,icl*)
   13183     # Native MSVC or ICC
   13184     libname_spec='$name'
   13185     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   13186     library_names_spec='$libname.dll.lib'
   13187 
   13188     case $build_os in
   13189     mingw*)
   13190       sys_lib_search_path_spec=
   13191       lt_save_ifs=$IFS
   13192       IFS=';'
   13193       for lt_path in $LIB
   13194       do
   13195         IFS=$lt_save_ifs
   13196         # Let DOS variable expansion print the short 8.3 style file name.
   13197         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   13198         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   13199       done
   13200       IFS=$lt_save_ifs
   13201       # Convert to MSYS style.
   13202       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   13203       ;;
   13204     cygwin*)
   13205       # Convert to unix form, then to dos form, then back to unix form
   13206       # but this time dos style (no spaces!) so that the unix form looks
   13207       # like /cygdrive/c/PROGRA~1:/cygdr...
   13208       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   13209       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   13210       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   13211       ;;
   13212     *)
   13213       sys_lib_search_path_spec=$LIB
   13214       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   13215         # It is most probably a Windows format PATH.
   13216         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   13217       else
   13218         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   13219       fi
   13220       # FIXME: find the short name or the path components, as spaces are
   13221       # common. (e.g. "Program Files" -> "PROGRA~1")
   13222       ;;
   13223     esac
   13224 
   13225     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   13226     postinstall_cmds='base_file=`basename \$file`~
   13227       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   13228       dldir=$destdir/`dirname \$dlpath`~
   13229       test -d \$dldir || mkdir -p \$dldir~
   13230       $install_prog $dir/$dlname \$dldir/$dlname'
   13231     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   13232       dlpath=$dir/\$dldll~
   13233        $RM \$dlpath'
   13234     shlibpath_overrides_runpath=yes
   13235     dynamic_linker='Win32 link.exe'
   13236     ;;
   13237 
   13238   *)
   13239     # Assume MSVC and ICC wrapper
   13240     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   13241     dynamic_linker='Win32 ld.exe'
   13242     ;;
   13243   esac
   13244   # FIXME: first we should search . and the directory the executable is in
   13245   shlibpath_var=PATH
   13246   ;;
   13247 
   13248 darwin* | rhapsody*)
   13249   dynamic_linker="$host_os dyld"
   13250   version_type=darwin
   13251   need_lib_prefix=no
   13252   need_version=no
   13253   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   13254   soname_spec='$libname$release$major$shared_ext'
   13255   shlibpath_overrides_runpath=yes
   13256   shlibpath_var=DYLD_LIBRARY_PATH
   13257   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   13258 
   13259   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   13260   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   13261   ;;
   13262 
   13263 dgux*)
   13264   version_type=linux # correct to gnu/linux during the next big refactor
   13265   need_lib_prefix=no
   13266   need_version=no
   13267   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13268   soname_spec='$libname$release$shared_ext$major'
   13269   shlibpath_var=LD_LIBRARY_PATH
   13270   ;;
   13271 
   13272 freebsd* | dragonfly* | midnightbsd*)
   13273   # DragonFly does not have aout.  When/if they implement a new
   13274   # versioning mechanism, adjust this.
   13275   if test -x /usr/bin/objformat; then
   13276     objformat=`/usr/bin/objformat`
   13277   else
   13278     case $host_os in
   13279     freebsd[23].*) objformat=aout ;;
   13280     *) objformat=elf ;;
   13281     esac
   13282   fi
   13283   version_type=freebsd-$objformat
   13284   case $version_type in
   13285     freebsd-elf*)
   13286       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13287       soname_spec='$libname$release$shared_ext$major'
   13288       need_version=no
   13289       need_lib_prefix=no
   13290       ;;
   13291     freebsd-*)
   13292       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   13293       need_version=yes
   13294       ;;
   13295   esac
   13296   shlibpath_var=LD_LIBRARY_PATH
   13297   case $host_os in
   13298   freebsd2.*)
   13299     shlibpath_overrides_runpath=yes
   13300     ;;
   13301   freebsd3.[01]* | freebsdelf3.[01]*)
   13302     shlibpath_overrides_runpath=yes
   13303     hardcode_into_libs=yes
   13304     ;;
   13305   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   13306   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   13307     shlibpath_overrides_runpath=no
   13308     hardcode_into_libs=yes
   13309     ;;
   13310   *) # from 4.6 on, and DragonFly
   13311     shlibpath_overrides_runpath=yes
   13312     hardcode_into_libs=yes
   13313     ;;
   13314   esac
   13315   ;;
   13316 
   13317 haiku*)
   13318   version_type=linux # correct to gnu/linux during the next big refactor
   13319   need_lib_prefix=no
   13320   need_version=no
   13321   dynamic_linker="$host_os runtime_loader"
   13322   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13323   soname_spec='$libname$release$shared_ext$major'
   13324   shlibpath_var=LIBRARY_PATH
   13325   shlibpath_overrides_runpath=no
   13326   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   13327   hardcode_into_libs=yes
   13328   ;;
   13329 
   13330 hpux9* | hpux10* | hpux11*)
   13331   # Give a soname corresponding to the major version so that dld.sl refuses to
   13332   # link against other versions.
   13333   version_type=sunos
   13334   need_lib_prefix=no
   13335   need_version=no
   13336   case $host_cpu in
   13337   ia64*)
   13338     shrext_cmds='.so'
   13339     hardcode_into_libs=yes
   13340     dynamic_linker="$host_os dld.so"
   13341     shlibpath_var=LD_LIBRARY_PATH
   13342     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13343     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13344     soname_spec='$libname$release$shared_ext$major'
   13345     if test 32 = "$HPUX_IA64_MODE"; then
   13346       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   13347       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   13348     else
   13349       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   13350       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   13351     fi
   13352     ;;
   13353   hppa*64*)
   13354     shrext_cmds='.sl'
   13355     hardcode_into_libs=yes
   13356     dynamic_linker="$host_os dld.sl"
   13357     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   13358     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13359     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13360     soname_spec='$libname$release$shared_ext$major'
   13361     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   13362     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13363     ;;
   13364   *)
   13365     shrext_cmds='.sl'
   13366     dynamic_linker="$host_os dld.sl"
   13367     shlibpath_var=SHLIB_PATH
   13368     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   13369     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13370     soname_spec='$libname$release$shared_ext$major'
   13371     ;;
   13372   esac
   13373   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   13374   postinstall_cmds='chmod 555 $lib'
   13375   # or fails outright, so override atomically:
   13376   install_override_mode=555
   13377   ;;
   13378 
   13379 interix[3-9]*)
   13380   version_type=linux # correct to gnu/linux during the next big refactor
   13381   need_lib_prefix=no
   13382   need_version=no
   13383   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13384   soname_spec='$libname$release$shared_ext$major'
   13385   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   13386   shlibpath_var=LD_LIBRARY_PATH
   13387   shlibpath_overrides_runpath=no
   13388   hardcode_into_libs=yes
   13389   ;;
   13390 
   13391 irix5* | irix6* | nonstopux*)
   13392   case $host_os in
   13393     nonstopux*) version_type=nonstopux ;;
   13394     *)
   13395 	if test yes = "$lt_cv_prog_gnu_ld"; then
   13396 		version_type=linux # correct to gnu/linux during the next big refactor
   13397 	else
   13398 		version_type=irix
   13399 	fi ;;
   13400   esac
   13401   need_lib_prefix=no
   13402   need_version=no
   13403   soname_spec='$libname$release$shared_ext$major'
   13404   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   13405   case $host_os in
   13406   irix5* | nonstopux*)
   13407     libsuff= shlibsuff=
   13408     ;;
   13409   *)
   13410     case $LD in # libtool.m4 will add one of these switches to LD
   13411     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   13412       libsuff= shlibsuff= libmagic=32-bit;;
   13413     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   13414       libsuff=32 shlibsuff=N32 libmagic=N32;;
   13415     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   13416       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   13417     *) libsuff= shlibsuff= libmagic=never-match;;
   13418     esac
   13419     ;;
   13420   esac
   13421   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   13422   shlibpath_overrides_runpath=no
   13423   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   13424   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   13425   hardcode_into_libs=yes
   13426   ;;
   13427 
   13428 # No shared lib support for Linux oldld, aout, or coff.
   13429 linux*oldld* | linux*aout* | linux*coff*)
   13430   dynamic_linker=no
   13431   ;;
   13432 
   13433 linux*android*)
   13434   version_type=none # Android doesn't support versioned libraries.
   13435   need_lib_prefix=no
   13436   need_version=no
   13437   library_names_spec='$libname$release$shared_ext'
   13438   soname_spec='$libname$release$shared_ext'
   13439   finish_cmds=
   13440   shlibpath_var=LD_LIBRARY_PATH
   13441   shlibpath_overrides_runpath=yes
   13442 
   13443   # This implies no fast_install, which is unacceptable.
   13444   # Some rework will be needed to allow for fast_install
   13445   # before this can be enabled.
   13446   hardcode_into_libs=yes
   13447 
   13448   dynamic_linker='Android linker'
   13449   # Don't embed -rpath directories since the linker doesn't support them.
   13450   hardcode_libdir_flag_spec='-L$libdir'
   13451   ;;
   13452 
   13453 # This must be glibc/ELF.
   13454 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   13455   version_type=linux # correct to gnu/linux during the next big refactor
   13456   need_lib_prefix=no
   13457   need_version=no
   13458   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13459   soname_spec='$libname$release$shared_ext$major'
   13460   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   13461   shlibpath_var=LD_LIBRARY_PATH
   13462   shlibpath_overrides_runpath=no
   13463 
   13464   # Some binutils ld are patched to set DT_RUNPATH
   13465   if test ${lt_cv_shlibpath_overrides_runpath+y}
   13466 then :
   13467   printf %s "(cached) " >&6
   13468 else $as_nop
   13469   lt_cv_shlibpath_overrides_runpath=no
   13470     save_LDFLAGS=$LDFLAGS
   13471     save_libdir=$libdir
   13472     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   13473 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   13474     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13475 /* end confdefs.h.  */
   13476 
   13477 int
   13478 main (void)
   13479 {
   13480 
   13481   ;
   13482   return 0;
   13483 }
   13484 _ACEOF
   13485 if ac_fn_c_try_link "$LINENO"
   13486 then :
   13487   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   13488 then :
   13489   lt_cv_shlibpath_overrides_runpath=yes
   13490 fi
   13491 fi
   13492 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13493     conftest$ac_exeext conftest.$ac_ext
   13494     LDFLAGS=$save_LDFLAGS
   13495     libdir=$save_libdir
   13496 
   13497 fi
   13498 
   13499   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   13500 
   13501   # This implies no fast_install, which is unacceptable.
   13502   # Some rework will be needed to allow for fast_install
   13503   # before this can be enabled.
   13504   hardcode_into_libs=yes
   13505 
   13506   # Add ABI-specific directories to the system library path.
   13507   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
   13508 
   13509   # Ideally, we could use ldconfig to report *all* directores which are
   13510   # searched for libraries, however this is still not possible.  Aside from not
   13511   # being certain /sbin/ldconfig is available, command
   13512   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   13513   # even though it is searched at run-time.  Try to do the best guess by
   13514   # appending ld.so.conf contents (and includes) to the search path.
   13515   if test -f /etc/ld.so.conf; then
   13516     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' ' '`
   13517     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   13518   fi
   13519 
   13520   # We used to test for /lib/ld.so.1 and disable shared libraries on
   13521   # powerpc, because MkLinux only supported shared libraries with the
   13522   # GNU dynamic linker.  Since this was broken with cross compilers,
   13523   # most powerpc-linux boxes support dynamic linking these days and
   13524   # people can always --disable-shared, the test was removed, and we
   13525   # assume the GNU/Linux dynamic linker is in use.
   13526   dynamic_linker='GNU/Linux ld.so'
   13527   ;;
   13528 
   13529 netbsd*)
   13530   version_type=sunos
   13531   need_lib_prefix=no
   13532   need_version=no
   13533   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   13534     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   13535     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13536     dynamic_linker='NetBSD (a.out) ld.so'
   13537   else
   13538     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13539     soname_spec='$libname$release$shared_ext$major'
   13540     dynamic_linker='NetBSD ld.elf_so'
   13541   fi
   13542   shlibpath_var=LD_LIBRARY_PATH
   13543   shlibpath_overrides_runpath=yes
   13544   hardcode_into_libs=yes
   13545   ;;
   13546 
   13547 newsos6)
   13548   version_type=linux # correct to gnu/linux during the next big refactor
   13549   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13550   shlibpath_var=LD_LIBRARY_PATH
   13551   shlibpath_overrides_runpath=yes
   13552   ;;
   13553 
   13554 *nto* | *qnx*)
   13555   version_type=qnx
   13556   need_lib_prefix=no
   13557   need_version=no
   13558   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13559   soname_spec='$libname$release$shared_ext$major'
   13560   shlibpath_var=LD_LIBRARY_PATH
   13561   shlibpath_overrides_runpath=no
   13562   hardcode_into_libs=yes
   13563   dynamic_linker='ldqnx.so'
   13564   ;;
   13565 
   13566 openbsd* | bitrig*)
   13567   version_type=sunos
   13568   sys_lib_dlsearch_path_spec=/usr/lib
   13569   need_lib_prefix=no
   13570   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   13571     need_version=no
   13572   else
   13573     need_version=yes
   13574   fi
   13575   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   13576   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13577   shlibpath_var=LD_LIBRARY_PATH
   13578   shlibpath_overrides_runpath=yes
   13579   ;;
   13580 
   13581 os2*)
   13582   libname_spec='$name'
   13583   version_type=windows
   13584   shrext_cmds=.dll
   13585   need_version=no
   13586   need_lib_prefix=no
   13587   # OS/2 can only load a DLL with a base name of 8 characters or less.
   13588   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   13589     v=$($ECHO $release$versuffix | tr -d .-);
   13590     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   13591     $ECHO $n$v`$shared_ext'
   13592   library_names_spec='${libname}_dll.$libext'
   13593   dynamic_linker='OS/2 ld.exe'
   13594   shlibpath_var=BEGINLIBPATH
   13595   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   13596   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13597   postinstall_cmds='base_file=`basename \$file`~
   13598     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   13599     dldir=$destdir/`dirname \$dlpath`~
   13600     test -d \$dldir || mkdir -p \$dldir~
   13601     $install_prog $dir/$dlname \$dldir/$dlname~
   13602     chmod a+x \$dldir/$dlname~
   13603     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   13604       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   13605     fi'
   13606   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   13607     dlpath=$dir/\$dldll~
   13608     $RM \$dlpath'
   13609   ;;
   13610 
   13611 osf3* | osf4* | osf5*)
   13612   version_type=osf
   13613   need_lib_prefix=no
   13614   need_version=no
   13615   soname_spec='$libname$release$shared_ext$major'
   13616   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13617   shlibpath_var=LD_LIBRARY_PATH
   13618   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   13619   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13620   ;;
   13621 
   13622 rdos*)
   13623   dynamic_linker=no
   13624   ;;
   13625 
   13626 solaris*)
   13627   version_type=linux # correct to gnu/linux during the next big refactor
   13628   need_lib_prefix=no
   13629   need_version=no
   13630   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13631   soname_spec='$libname$release$shared_ext$major'
   13632   shlibpath_var=LD_LIBRARY_PATH
   13633   shlibpath_overrides_runpath=yes
   13634   hardcode_into_libs=yes
   13635   # ldd complains unless libraries are executable
   13636   postinstall_cmds='chmod +x $lib'
   13637   ;;
   13638 
   13639 sunos4*)
   13640   version_type=sunos
   13641   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   13642   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   13643   shlibpath_var=LD_LIBRARY_PATH
   13644   shlibpath_overrides_runpath=yes
   13645   if test yes = "$with_gnu_ld"; then
   13646     need_lib_prefix=no
   13647   fi
   13648   need_version=yes
   13649   ;;
   13650 
   13651 sysv4 | sysv4.3*)
   13652   version_type=linux # correct to gnu/linux during the next big refactor
   13653   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13654   soname_spec='$libname$release$shared_ext$major'
   13655   shlibpath_var=LD_LIBRARY_PATH
   13656   case $host_vendor in
   13657     sni)
   13658       shlibpath_overrides_runpath=no
   13659       need_lib_prefix=no
   13660       runpath_var=LD_RUN_PATH
   13661       ;;
   13662     siemens)
   13663       need_lib_prefix=no
   13664       ;;
   13665     motorola)
   13666       need_lib_prefix=no
   13667       need_version=no
   13668       shlibpath_overrides_runpath=no
   13669       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   13670       ;;
   13671   esac
   13672   ;;
   13673 
   13674 sysv4*MP*)
   13675   if test -d /usr/nec; then
   13676     version_type=linux # correct to gnu/linux during the next big refactor
   13677     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   13678     soname_spec='$libname$shared_ext.$major'
   13679     shlibpath_var=LD_LIBRARY_PATH
   13680   fi
   13681   ;;
   13682 
   13683 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13684   version_type=sco
   13685   need_lib_prefix=no
   13686   need_version=no
   13687   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   13688   soname_spec='$libname$release$shared_ext$major'
   13689   shlibpath_var=LD_LIBRARY_PATH
   13690   shlibpath_overrides_runpath=yes
   13691   hardcode_into_libs=yes
   13692   if test yes = "$with_gnu_ld"; then
   13693     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13694   else
   13695     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13696     case $host_os in
   13697       sco3.2v5*)
   13698         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13699 	;;
   13700     esac
   13701   fi
   13702   sys_lib_dlsearch_path_spec='/usr/lib'
   13703   ;;
   13704 
   13705 tpf*)
   13706   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   13707   version_type=linux # correct to gnu/linux during the next big refactor
   13708   need_lib_prefix=no
   13709   need_version=no
   13710   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13711   shlibpath_var=LD_LIBRARY_PATH
   13712   shlibpath_overrides_runpath=no
   13713   hardcode_into_libs=yes
   13714   ;;
   13715 
   13716 uts4*)
   13717   version_type=linux # correct to gnu/linux during the next big refactor
   13718   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13719   soname_spec='$libname$release$shared_ext$major'
   13720   shlibpath_var=LD_LIBRARY_PATH
   13721   ;;
   13722 
   13723 *)
   13724   dynamic_linker=no
   13725   ;;
   13726 esac
   13727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   13728 printf "%s\n" "$dynamic_linker" >&6; }
   13729 test no = "$dynamic_linker" && can_build_shared=no
   13730 
   13731 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13732 if test yes = "$GCC"; then
   13733   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13734 fi
   13735 
   13736 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   13737   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   13738 fi
   13739 
   13740 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   13741   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   13742 fi
   13743 
   13744 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   13745 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   13746 
   13747 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   13748 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   13749 
   13750 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   13751 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   13752 
   13753 
   13754 
   13755 
   13756 
   13757 
   13758 
   13759 
   13760 
   13761 
   13762 
   13763 
   13764 
   13765 
   13766 
   13767 
   13768 
   13769 
   13770 
   13771 
   13772 
   13773 
   13774 
   13775 
   13776 
   13777 
   13778 
   13779 
   13780 
   13781 
   13782 
   13783 
   13784 
   13785 
   13786 
   13787 
   13788 
   13789 
   13790 
   13791 
   13792 
   13793 
   13794 
   13795 
   13796 
   13797 
   13798 
   13799 
   13800 
   13801 
   13802 
   13803 
   13804 
   13805 
   13806 
   13807 
   13808 
   13809 
   13810 
   13811 
   13812 
   13813 
   13814 
   13815 
   13816 
   13817 
   13818 
   13819 
   13820 
   13821 
   13822 
   13823 
   13824 
   13825 
   13826 
   13827 
   13828 
   13829 
   13830 
   13831 
   13832 
   13833 
   13834 
   13835 
   13836 
   13837 
   13838 
   13839 
   13840 
   13841 
   13842 
   13843 
   13844 
   13845 
   13846 
   13847 
   13848 
   13849   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   13850 printf %s "checking how to hardcode library paths into programs... " >&6; }
   13851 hardcode_action=
   13852 if test -n "$hardcode_libdir_flag_spec" ||
   13853    test -n "$runpath_var" ||
   13854    test yes = "$hardcode_automatic"; then
   13855 
   13856   # We can hardcode non-existent directories.
   13857   if test no != "$hardcode_direct" &&
   13858      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13859      # have to relink, otherwise we might link with an installed library
   13860      # when we should be linking with a yet-to-be-installed one
   13861      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   13862      test no != "$hardcode_minus_L"; then
   13863     # Linking always hardcodes the temporary library directory.
   13864     hardcode_action=relink
   13865   else
   13866     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13867     hardcode_action=immediate
   13868   fi
   13869 else
   13870   # We cannot hardcode anything, or else we can only hardcode existing
   13871   # directories.
   13872   hardcode_action=unsupported
   13873 fi
   13874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   13875 printf "%s\n" "$hardcode_action" >&6; }
   13876 
   13877 if test relink = "$hardcode_action" ||
   13878    test yes = "$inherit_rpath"; then
   13879   # Fast installation is not supported
   13880   enable_fast_install=no
   13881 elif test yes = "$shlibpath_overrides_runpath" ||
   13882      test no = "$enable_shared"; then
   13883   # Fast installation is not necessary
   13884   enable_fast_install=needless
   13885 fi
   13886 
   13887 
   13888 
   13889 
   13890 
   13891 
   13892   if test yes != "$enable_dlopen"; then
   13893   enable_dlopen=unknown
   13894   enable_dlopen_self=unknown
   13895   enable_dlopen_self_static=unknown
   13896 else
   13897   lt_cv_dlopen=no
   13898   lt_cv_dlopen_libs=
   13899 
   13900   case $host_os in
   13901   beos*)
   13902     lt_cv_dlopen=load_add_on
   13903     lt_cv_dlopen_libs=
   13904     lt_cv_dlopen_self=yes
   13905     ;;
   13906 
   13907   mingw* | pw32* | cegcc*)
   13908     lt_cv_dlopen=LoadLibrary
   13909     lt_cv_dlopen_libs=
   13910     ;;
   13911 
   13912   cygwin*)
   13913     lt_cv_dlopen=dlopen
   13914     lt_cv_dlopen_libs=
   13915     ;;
   13916 
   13917   darwin*)
   13918     # if libdl is installed we need to link against it
   13919     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   13920 printf %s "checking for dlopen in -ldl... " >&6; }
   13921 if test ${ac_cv_lib_dl_dlopen+y}
   13922 then :
   13923   printf %s "(cached) " >&6
   13924 else $as_nop
   13925   ac_check_lib_save_LIBS=$LIBS
   13926 LIBS="-ldl  $LIBS"
   13927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13928 /* end confdefs.h.  */
   13929 
   13930 /* Override any GCC internal prototype to avoid an error.
   13931    Use char because int might match the return type of a GCC
   13932    builtin and then its argument prototype would still apply.  */
   13933 char dlopen ();
   13934 int
   13935 main (void)
   13936 {
   13937 return dlopen ();
   13938   ;
   13939   return 0;
   13940 }
   13941 _ACEOF
   13942 if ac_fn_c_try_link "$LINENO"
   13943 then :
   13944   ac_cv_lib_dl_dlopen=yes
   13945 else $as_nop
   13946   ac_cv_lib_dl_dlopen=no
   13947 fi
   13948 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13949     conftest$ac_exeext conftest.$ac_ext
   13950 LIBS=$ac_check_lib_save_LIBS
   13951 fi
   13952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   13953 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   13954 if test "x$ac_cv_lib_dl_dlopen" = xyes
   13955 then :
   13956   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   13957 else $as_nop
   13958 
   13959     lt_cv_dlopen=dyld
   13960     lt_cv_dlopen_libs=
   13961     lt_cv_dlopen_self=yes
   13962 
   13963 fi
   13964 
   13965     ;;
   13966 
   13967   tpf*)
   13968     # Don't try to run any link tests for TPF.  We know it's impossible
   13969     # because TPF is a cross-compiler, and we know how we open DSOs.
   13970     lt_cv_dlopen=dlopen
   13971     lt_cv_dlopen_libs=
   13972     lt_cv_dlopen_self=no
   13973     ;;
   13974 
   13975   *)
   13976     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   13977 if test "x$ac_cv_func_shl_load" = xyes
   13978 then :
   13979   lt_cv_dlopen=shl_load
   13980 else $as_nop
   13981   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   13982 printf %s "checking for shl_load in -ldld... " >&6; }
   13983 if test ${ac_cv_lib_dld_shl_load+y}
   13984 then :
   13985   printf %s "(cached) " >&6
   13986 else $as_nop
   13987   ac_check_lib_save_LIBS=$LIBS
   13988 LIBS="-ldld  $LIBS"
   13989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13990 /* end confdefs.h.  */
   13991 
   13992 /* Override any GCC internal prototype to avoid an error.
   13993    Use char because int might match the return type of a GCC
   13994    builtin and then its argument prototype would still apply.  */
   13995 char shl_load ();
   13996 int
   13997 main (void)
   13998 {
   13999 return shl_load ();
   14000   ;
   14001   return 0;
   14002 }
   14003 _ACEOF
   14004 if ac_fn_c_try_link "$LINENO"
   14005 then :
   14006   ac_cv_lib_dld_shl_load=yes
   14007 else $as_nop
   14008   ac_cv_lib_dld_shl_load=no
   14009 fi
   14010 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14011     conftest$ac_exeext conftest.$ac_ext
   14012 LIBS=$ac_check_lib_save_LIBS
   14013 fi
   14014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   14015 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   14016 if test "x$ac_cv_lib_dld_shl_load" = xyes
   14017 then :
   14018   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   14019 else $as_nop
   14020   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   14021 if test "x$ac_cv_func_dlopen" = xyes
   14022 then :
   14023   lt_cv_dlopen=dlopen
   14024 else $as_nop
   14025   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   14026 printf %s "checking for dlopen in -ldl... " >&6; }
   14027 if test ${ac_cv_lib_dl_dlopen+y}
   14028 then :
   14029   printf %s "(cached) " >&6
   14030 else $as_nop
   14031   ac_check_lib_save_LIBS=$LIBS
   14032 LIBS="-ldl  $LIBS"
   14033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14034 /* end confdefs.h.  */
   14035 
   14036 /* Override any GCC internal prototype to avoid an error.
   14037    Use char because int might match the return type of a GCC
   14038    builtin and then its argument prototype would still apply.  */
   14039 char dlopen ();
   14040 int
   14041 main (void)
   14042 {
   14043 return dlopen ();
   14044   ;
   14045   return 0;
   14046 }
   14047 _ACEOF
   14048 if ac_fn_c_try_link "$LINENO"
   14049 then :
   14050   ac_cv_lib_dl_dlopen=yes
   14051 else $as_nop
   14052   ac_cv_lib_dl_dlopen=no
   14053 fi
   14054 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14055     conftest$ac_exeext conftest.$ac_ext
   14056 LIBS=$ac_check_lib_save_LIBS
   14057 fi
   14058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   14059 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   14060 if test "x$ac_cv_lib_dl_dlopen" = xyes
   14061 then :
   14062   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   14063 else $as_nop
   14064   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   14065 printf %s "checking for dlopen in -lsvld... " >&6; }
   14066 if test ${ac_cv_lib_svld_dlopen+y}
   14067 then :
   14068   printf %s "(cached) " >&6
   14069 else $as_nop
   14070   ac_check_lib_save_LIBS=$LIBS
   14071 LIBS="-lsvld  $LIBS"
   14072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14073 /* end confdefs.h.  */
   14074 
   14075 /* Override any GCC internal prototype to avoid an error.
   14076    Use char because int might match the return type of a GCC
   14077    builtin and then its argument prototype would still apply.  */
   14078 char dlopen ();
   14079 int
   14080 main (void)
   14081 {
   14082 return dlopen ();
   14083   ;
   14084   return 0;
   14085 }
   14086 _ACEOF
   14087 if ac_fn_c_try_link "$LINENO"
   14088 then :
   14089   ac_cv_lib_svld_dlopen=yes
   14090 else $as_nop
   14091   ac_cv_lib_svld_dlopen=no
   14092 fi
   14093 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14094     conftest$ac_exeext conftest.$ac_ext
   14095 LIBS=$ac_check_lib_save_LIBS
   14096 fi
   14097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   14098 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   14099 if test "x$ac_cv_lib_svld_dlopen" = xyes
   14100 then :
   14101   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   14102 else $as_nop
   14103   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   14104 printf %s "checking for dld_link in -ldld... " >&6; }
   14105 if test ${ac_cv_lib_dld_dld_link+y}
   14106 then :
   14107   printf %s "(cached) " >&6
   14108 else $as_nop
   14109   ac_check_lib_save_LIBS=$LIBS
   14110 LIBS="-ldld  $LIBS"
   14111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14112 /* end confdefs.h.  */
   14113 
   14114 /* Override any GCC internal prototype to avoid an error.
   14115    Use char because int might match the return type of a GCC
   14116    builtin and then its argument prototype would still apply.  */
   14117 char dld_link ();
   14118 int
   14119 main (void)
   14120 {
   14121 return dld_link ();
   14122   ;
   14123   return 0;
   14124 }
   14125 _ACEOF
   14126 if ac_fn_c_try_link "$LINENO"
   14127 then :
   14128   ac_cv_lib_dld_dld_link=yes
   14129 else $as_nop
   14130   ac_cv_lib_dld_dld_link=no
   14131 fi
   14132 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14133     conftest$ac_exeext conftest.$ac_ext
   14134 LIBS=$ac_check_lib_save_LIBS
   14135 fi
   14136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   14137 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   14138 if test "x$ac_cv_lib_dld_dld_link" = xyes
   14139 then :
   14140   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   14141 fi
   14142 
   14143 
   14144 fi
   14145 
   14146 
   14147 fi
   14148 
   14149 
   14150 fi
   14151 
   14152 
   14153 fi
   14154 
   14155 
   14156 fi
   14157 
   14158     ;;
   14159   esac
   14160 
   14161   if test no = "$lt_cv_dlopen"; then
   14162     enable_dlopen=no
   14163   else
   14164     enable_dlopen=yes
   14165   fi
   14166 
   14167   case $lt_cv_dlopen in
   14168   dlopen)
   14169     save_CPPFLAGS=$CPPFLAGS
   14170     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   14171 
   14172     save_LDFLAGS=$LDFLAGS
   14173     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   14174 
   14175     save_LIBS=$LIBS
   14176     LIBS="$lt_cv_dlopen_libs $LIBS"
   14177 
   14178     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   14179 printf %s "checking whether a program can dlopen itself... " >&6; }
   14180 if test ${lt_cv_dlopen_self+y}
   14181 then :
   14182   printf %s "(cached) " >&6
   14183 else $as_nop
   14184   	  if test yes = "$cross_compiling"; then :
   14185   lt_cv_dlopen_self=cross
   14186 else
   14187   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   14188   lt_status=$lt_dlunknown
   14189   cat > conftest.$ac_ext <<_LT_EOF
   14190 #line $LINENO "configure"
   14191 #include "confdefs.h"
   14192 
   14193 #if HAVE_DLFCN_H
   14194 #include <dlfcn.h>
   14195 #endif
   14196 
   14197 #include <stdio.h>
   14198 
   14199 #ifdef RTLD_GLOBAL
   14200 #  define LT_DLGLOBAL		RTLD_GLOBAL
   14201 #else
   14202 #  ifdef DL_GLOBAL
   14203 #    define LT_DLGLOBAL		DL_GLOBAL
   14204 #  else
   14205 #    define LT_DLGLOBAL		0
   14206 #  endif
   14207 #endif
   14208 
   14209 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   14210    find out it does not work in some platform. */
   14211 #ifndef LT_DLLAZY_OR_NOW
   14212 #  ifdef RTLD_LAZY
   14213 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   14214 #  else
   14215 #    ifdef DL_LAZY
   14216 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   14217 #    else
   14218 #      ifdef RTLD_NOW
   14219 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   14220 #      else
   14221 #        ifdef DL_NOW
   14222 #          define LT_DLLAZY_OR_NOW	DL_NOW
   14223 #        else
   14224 #          define LT_DLLAZY_OR_NOW	0
   14225 #        endif
   14226 #      endif
   14227 #    endif
   14228 #  endif
   14229 #endif
   14230 
   14231 /* When -fvisibility=hidden is used, assume the code has been annotated
   14232    correspondingly for the symbols needed.  */
   14233 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   14234 int fnord () __attribute__((visibility("default")));
   14235 #endif
   14236 
   14237 int fnord () { return 42; }
   14238 int main ()
   14239 {
   14240   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   14241   int status = $lt_dlunknown;
   14242 
   14243   if (self)
   14244     {
   14245       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   14246       else
   14247         {
   14248 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   14249           else puts (dlerror ());
   14250 	}
   14251       /* dlclose (self); */
   14252     }
   14253   else
   14254     puts (dlerror ());
   14255 
   14256   return status;
   14257 }
   14258 _LT_EOF
   14259   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   14260   (eval $ac_link) 2>&5
   14261   ac_status=$?
   14262   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14263   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   14264     (./conftest; exit; ) >&5 2>/dev/null
   14265     lt_status=$?
   14266     case x$lt_status in
   14267       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   14268       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   14269       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   14270     esac
   14271   else :
   14272     # compilation failed
   14273     lt_cv_dlopen_self=no
   14274   fi
   14275 fi
   14276 rm -fr conftest*
   14277 
   14278 
   14279 fi
   14280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   14281 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   14282 
   14283     if test yes = "$lt_cv_dlopen_self"; then
   14284       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   14285       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   14286 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   14287 if test ${lt_cv_dlopen_self_static+y}
   14288 then :
   14289   printf %s "(cached) " >&6
   14290 else $as_nop
   14291   	  if test yes = "$cross_compiling"; then :
   14292   lt_cv_dlopen_self_static=cross
   14293 else
   14294   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   14295   lt_status=$lt_dlunknown
   14296   cat > conftest.$ac_ext <<_LT_EOF
   14297 #line $LINENO "configure"
   14298 #include "confdefs.h"
   14299 
   14300 #if HAVE_DLFCN_H
   14301 #include <dlfcn.h>
   14302 #endif
   14303 
   14304 #include <stdio.h>
   14305 
   14306 #ifdef RTLD_GLOBAL
   14307 #  define LT_DLGLOBAL		RTLD_GLOBAL
   14308 #else
   14309 #  ifdef DL_GLOBAL
   14310 #    define LT_DLGLOBAL		DL_GLOBAL
   14311 #  else
   14312 #    define LT_DLGLOBAL		0
   14313 #  endif
   14314 #endif
   14315 
   14316 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   14317    find out it does not work in some platform. */
   14318 #ifndef LT_DLLAZY_OR_NOW
   14319 #  ifdef RTLD_LAZY
   14320 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   14321 #  else
   14322 #    ifdef DL_LAZY
   14323 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   14324 #    else
   14325 #      ifdef RTLD_NOW
   14326 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   14327 #      else
   14328 #        ifdef DL_NOW
   14329 #          define LT_DLLAZY_OR_NOW	DL_NOW
   14330 #        else
   14331 #          define LT_DLLAZY_OR_NOW	0
   14332 #        endif
   14333 #      endif
   14334 #    endif
   14335 #  endif
   14336 #endif
   14337 
   14338 /* When -fvisibility=hidden is used, assume the code has been annotated
   14339    correspondingly for the symbols needed.  */
   14340 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   14341 int fnord () __attribute__((visibility("default")));
   14342 #endif
   14343 
   14344 int fnord () { return 42; }
   14345 int main ()
   14346 {
   14347   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   14348   int status = $lt_dlunknown;
   14349 
   14350   if (self)
   14351     {
   14352       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   14353       else
   14354         {
   14355 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   14356           else puts (dlerror ());
   14357 	}
   14358       /* dlclose (self); */
   14359     }
   14360   else
   14361     puts (dlerror ());
   14362 
   14363   return status;
   14364 }
   14365 _LT_EOF
   14366   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   14367   (eval $ac_link) 2>&5
   14368   ac_status=$?
   14369   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14370   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   14371     (./conftest; exit; ) >&5 2>/dev/null
   14372     lt_status=$?
   14373     case x$lt_status in
   14374       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   14375       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   14376       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   14377     esac
   14378   else :
   14379     # compilation failed
   14380     lt_cv_dlopen_self_static=no
   14381   fi
   14382 fi
   14383 rm -fr conftest*
   14384 
   14385 
   14386 fi
   14387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   14388 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   14389     fi
   14390 
   14391     CPPFLAGS=$save_CPPFLAGS
   14392     LDFLAGS=$save_LDFLAGS
   14393     LIBS=$save_LIBS
   14394     ;;
   14395   esac
   14396 
   14397   case $lt_cv_dlopen_self in
   14398   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   14399   *) enable_dlopen_self=unknown ;;
   14400   esac
   14401 
   14402   case $lt_cv_dlopen_self_static in
   14403   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   14404   *) enable_dlopen_self_static=unknown ;;
   14405   esac
   14406 fi
   14407 
   14408 
   14409 
   14410 
   14411 
   14412 
   14413 
   14414 
   14415 
   14416 
   14417 
   14418 
   14419 
   14420 
   14421 
   14422 
   14423 
   14424 striplib=
   14425 old_striplib=
   14426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   14427 printf %s "checking whether stripping libraries is possible... " >&6; }
   14428 if test -z "$STRIP"; then
   14429   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14430 printf "%s\n" "no" >&6; }
   14431 else
   14432   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   14433     old_striplib="$STRIP --strip-debug"
   14434     striplib="$STRIP --strip-unneeded"
   14435     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14436 printf "%s\n" "yes" >&6; }
   14437   else
   14438     case $host_os in
   14439     darwin*)
   14440       # FIXME - insert some real tests, host_os isn't really good enough
   14441       striplib="$STRIP -x"
   14442       old_striplib="$STRIP -S"
   14443       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14444 printf "%s\n" "yes" >&6; }
   14445       ;;
   14446     freebsd*)
   14447       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   14448         old_striplib="$STRIP --strip-debug"
   14449         striplib="$STRIP --strip-unneeded"
   14450         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14451 printf "%s\n" "yes" >&6; }
   14452       else
   14453         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14454 printf "%s\n" "no" >&6; }
   14455       fi
   14456       ;;
   14457     *)
   14458       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14459 printf "%s\n" "no" >&6; }
   14460       ;;
   14461     esac
   14462   fi
   14463 fi
   14464 
   14465 
   14466 
   14467 
   14468 
   14469 
   14470 
   14471 
   14472 
   14473 
   14474 
   14475 
   14476   # Report what library types will actually be built
   14477   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   14478 printf %s "checking if libtool supports shared libraries... " >&6; }
   14479   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   14480 printf "%s\n" "$can_build_shared" >&6; }
   14481 
   14482   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   14483 printf %s "checking whether to build shared libraries... " >&6; }
   14484   test no = "$can_build_shared" && enable_shared=no
   14485 
   14486   # On AIX, shared libraries and static libraries use the same namespace, and
   14487   # are all built from PIC.
   14488   case $host_os in
   14489   aix3*)
   14490     test yes = "$enable_shared" && enable_static=no
   14491     if test -n "$RANLIB"; then
   14492       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   14493       postinstall_cmds='$RANLIB $lib'
   14494     fi
   14495     ;;
   14496 
   14497   aix[4-9]*)
   14498     if test ia64 != "$host_cpu"; then
   14499       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   14500       yes,aix,yes) ;;			# shared object as lib.so file only
   14501       yes,svr4,*) ;;			# shared object as lib.so archive member only
   14502       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   14503       esac
   14504     fi
   14505     ;;
   14506   esac
   14507   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   14508 printf "%s\n" "$enable_shared" >&6; }
   14509 
   14510   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   14511 printf %s "checking whether to build static libraries... " >&6; }
   14512   # Make sure either enable_shared or enable_static is yes.
   14513   test yes = "$enable_shared" || enable_static=yes
   14514   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   14515 printf "%s\n" "$enable_static" >&6; }
   14516 
   14517 
   14518 
   14519 
   14520 fi
   14521 ac_ext=c
   14522 ac_cpp='$CPP $CPPFLAGS'
   14523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14526 
   14527 CC=$lt_save_CC
   14528 
   14529 
   14530 
   14531 
   14532 
   14533 
   14534 
   14535 
   14536 
   14537 
   14538 
   14539 
   14540 
   14541 
   14542 
   14543         ac_config_commands="$ac_config_commands libtool"
   14544 
   14545 
   14546 
   14547 
   14548 # Only expand once:
   14549 
   14550 
   14551 
   14552 
   14553 LIBT_CURRENT=13
   14554 LIBT_REVISION=0
   14555 
   14556 
   14557 LIBT_AGE=12
   14558 
   14559 LIBT_VERSION_INFO="$LIBT_CURRENT:$LIBT_REVISION:$LIBT_AGE"
   14560 
   14561 
   14562 LIBT_CURRENT_MINUS_AGE=`expr $LIBT_CURRENT - $LIBT_AGE`
   14563 
   14564 
   14565 PKGCONFIG_REQUIRES=
   14566 PKGCONFIG_REQUIRES_PRIVATELY=
   14567 
   14568 
   14569 os_win32=no
   14570 os_darwin=no
   14571 case "${host_os}" in
   14572 	cygwin*|mingw*)
   14573 		os_win32=yes
   14574 		;;
   14575 	darwin*)
   14576 		os_darwin=yes
   14577 		;;
   14578 esac
   14579  if test "$os_win32" = "yes"; then
   14580   OS_WIN32_TRUE=
   14581   OS_WIN32_FALSE='#'
   14582 else
   14583   OS_WIN32_TRUE='#'
   14584   OS_WIN32_FALSE=
   14585 fi
   14586 
   14587  if test "$os_darwin" = "yes"; then
   14588   OS_DARWIN_TRUE=
   14589   OS_DARWIN_FALSE='#'
   14590 else
   14591   OS_DARWIN_TRUE='#'
   14592   OS_DARWIN_FALSE=
   14593 fi
   14594 
   14595 
   14596 GETTEXT_PACKAGE=$PACKAGE
   14597 
   14598 
   14599 printf "%s\n" "#define GETTEXT_PACKAGE \"$GETTEXT_PACKAGE\"" >>confdefs.h
   14600 
   14601 
   14602 
   14603 
   14604   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
   14605 printf %s "checking whether NLS is requested... " >&6; }
   14606     # Check whether --enable-nls was given.
   14607 if test ${enable_nls+y}
   14608 then :
   14609   enableval=$enable_nls; USE_NLS=$enableval
   14610 else $as_nop
   14611   USE_NLS=yes
   14612 fi
   14613 
   14614   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
   14615 printf "%s\n" "$USE_NLS" >&6; }
   14616 
   14617 
   14618 
   14619 
   14620       GETTEXT_MACRO_VERSION=0.19
   14621 
   14622 
   14623 
   14624 
   14625 # Prepare PATH_SEPARATOR.
   14626 # The user is always right.
   14627 if test "${PATH_SEPARATOR+set}" != set; then
   14628   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
   14629   # contains only /bin. Note that ksh looks also at the FPATH variable,
   14630   # so we have to set that as well for the test.
   14631   PATH_SEPARATOR=:
   14632   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   14633     && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   14634            || PATH_SEPARATOR=';'
   14635        }
   14636 fi
   14637 
   14638 # Find out how to test for executable files. Don't use a zero-byte file,
   14639 # as systems may use methods other than mode bits to determine executability.
   14640 cat >conf$$.file <<_ASEOF
   14641 #! /bin/sh
   14642 exit 0
   14643 _ASEOF
   14644 chmod +x conf$$.file
   14645 if test -x conf$$.file >/dev/null 2>&1; then
   14646   ac_executable_p="test -x"
   14647 else
   14648   ac_executable_p="test -f"
   14649 fi
   14650 rm -f conf$$.file
   14651 
   14652 # Extract the first word of "msgfmt", so it can be a program name with args.
   14653 set dummy msgfmt; ac_word=$2
   14654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14655 printf %s "checking for $ac_word... " >&6; }
   14656 if test ${ac_cv_path_MSGFMT+y}
   14657 then :
   14658   printf %s "(cached) " >&6
   14659 else $as_nop
   14660   case "$MSGFMT" in
   14661   [\\/]* | ?:[\\/]*)
   14662     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
   14663     ;;
   14664   *)
   14665     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   14666     for ac_dir in $PATH; do
   14667       IFS="$ac_save_IFS"
   14668       test -z "$ac_dir" && ac_dir=.
   14669       for ac_exec_ext in '' $ac_executable_extensions; do
   14670         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   14671           echo "$as_me: trying $ac_dir/$ac_word..." >&5
   14672           if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
   14673      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   14674             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
   14675             break 2
   14676           fi
   14677         fi
   14678       done
   14679     done
   14680     IFS="$ac_save_IFS"
   14681   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
   14682     ;;
   14683 esac
   14684 fi
   14685 MSGFMT="$ac_cv_path_MSGFMT"
   14686 if test "$MSGFMT" != ":"; then
   14687   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
   14688 printf "%s\n" "$MSGFMT" >&6; }
   14689 else
   14690   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14691 printf "%s\n" "no" >&6; }
   14692 fi
   14693 
   14694   # Extract the first word of "gmsgfmt", so it can be a program name with args.
   14695 set dummy gmsgfmt; ac_word=$2
   14696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14697 printf %s "checking for $ac_word... " >&6; }
   14698 if test ${ac_cv_path_GMSGFMT+y}
   14699 then :
   14700   printf %s "(cached) " >&6
   14701 else $as_nop
   14702   case $GMSGFMT in
   14703   [\\/]* | ?:[\\/]*)
   14704   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
   14705   ;;
   14706   *)
   14707   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14708 for as_dir in $PATH
   14709 do
   14710   IFS=$as_save_IFS
   14711   case $as_dir in #(((
   14712     '') as_dir=./ ;;
   14713     */) ;;
   14714     *) as_dir=$as_dir/ ;;
   14715   esac
   14716     for ac_exec_ext in '' $ac_executable_extensions; do
   14717   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14718     ac_cv_path_GMSGFMT="$as_dir$ac_word$ac_exec_ext"
   14719     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14720     break 2
   14721   fi
   14722 done
   14723   done
   14724 IFS=$as_save_IFS
   14725 
   14726   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
   14727   ;;
   14728 esac
   14729 fi
   14730 GMSGFMT=$ac_cv_path_GMSGFMT
   14731 if test -n "$GMSGFMT"; then
   14732   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
   14733 printf "%s\n" "$GMSGFMT" >&6; }
   14734 else
   14735   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14736 printf "%s\n" "no" >&6; }
   14737 fi
   14738 
   14739 
   14740 
   14741     case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
   14742     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
   14743     *) MSGFMT_015=$MSGFMT ;;
   14744   esac
   14745 
   14746   case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
   14747     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
   14748     *) GMSGFMT_015=$GMSGFMT ;;
   14749   esac
   14750 
   14751 
   14752 
   14753 # Prepare PATH_SEPARATOR.
   14754 # The user is always right.
   14755 if test "${PATH_SEPARATOR+set}" != set; then
   14756   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
   14757   # contains only /bin. Note that ksh looks also at the FPATH variable,
   14758   # so we have to set that as well for the test.
   14759   PATH_SEPARATOR=:
   14760   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   14761     && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   14762            || PATH_SEPARATOR=';'
   14763        }
   14764 fi
   14765 
   14766 # Find out how to test for executable files. Don't use a zero-byte file,
   14767 # as systems may use methods other than mode bits to determine executability.
   14768 cat >conf$$.file <<_ASEOF
   14769 #! /bin/sh
   14770 exit 0
   14771 _ASEOF
   14772 chmod +x conf$$.file
   14773 if test -x conf$$.file >/dev/null 2>&1; then
   14774   ac_executable_p="test -x"
   14775 else
   14776   ac_executable_p="test -f"
   14777 fi
   14778 rm -f conf$$.file
   14779 
   14780 # Extract the first word of "xgettext", so it can be a program name with args.
   14781 set dummy xgettext; ac_word=$2
   14782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14783 printf %s "checking for $ac_word... " >&6; }
   14784 if test ${ac_cv_path_XGETTEXT+y}
   14785 then :
   14786   printf %s "(cached) " >&6
   14787 else $as_nop
   14788   case "$XGETTEXT" in
   14789   [\\/]* | ?:[\\/]*)
   14790     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
   14791     ;;
   14792   *)
   14793     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   14794     for ac_dir in $PATH; do
   14795       IFS="$ac_save_IFS"
   14796       test -z "$ac_dir" && ac_dir=.
   14797       for ac_exec_ext in '' $ac_executable_extensions; do
   14798         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   14799           echo "$as_me: trying $ac_dir/$ac_word..." >&5
   14800           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
   14801      (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   14802             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
   14803             break 2
   14804           fi
   14805         fi
   14806       done
   14807     done
   14808     IFS="$ac_save_IFS"
   14809   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
   14810     ;;
   14811 esac
   14812 fi
   14813 XGETTEXT="$ac_cv_path_XGETTEXT"
   14814 if test "$XGETTEXT" != ":"; then
   14815   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
   14816 printf "%s\n" "$XGETTEXT" >&6; }
   14817 else
   14818   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14819 printf "%s\n" "no" >&6; }
   14820 fi
   14821 
   14822     rm -f messages.po
   14823 
   14824     case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
   14825     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
   14826     *) XGETTEXT_015=$XGETTEXT ;;
   14827   esac
   14828 
   14829 
   14830 
   14831 # Prepare PATH_SEPARATOR.
   14832 # The user is always right.
   14833 if test "${PATH_SEPARATOR+set}" != set; then
   14834   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
   14835   # contains only /bin. Note that ksh looks also at the FPATH variable,
   14836   # so we have to set that as well for the test.
   14837   PATH_SEPARATOR=:
   14838   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   14839     && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   14840            || PATH_SEPARATOR=';'
   14841        }
   14842 fi
   14843 
   14844 # Find out how to test for executable files. Don't use a zero-byte file,
   14845 # as systems may use methods other than mode bits to determine executability.
   14846 cat >conf$$.file <<_ASEOF
   14847 #! /bin/sh
   14848 exit 0
   14849 _ASEOF
   14850 chmod +x conf$$.file
   14851 if test -x conf$$.file >/dev/null 2>&1; then
   14852   ac_executable_p="test -x"
   14853 else
   14854   ac_executable_p="test -f"
   14855 fi
   14856 rm -f conf$$.file
   14857 
   14858 # Extract the first word of "msgmerge", so it can be a program name with args.
   14859 set dummy msgmerge; ac_word=$2
   14860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14861 printf %s "checking for $ac_word... " >&6; }
   14862 if test ${ac_cv_path_MSGMERGE+y}
   14863 then :
   14864   printf %s "(cached) " >&6
   14865 else $as_nop
   14866   case "$MSGMERGE" in
   14867   [\\/]* | ?:[\\/]*)
   14868     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
   14869     ;;
   14870   *)
   14871     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   14872     for ac_dir in $PATH; do
   14873       IFS="$ac_save_IFS"
   14874       test -z "$ac_dir" && ac_dir=.
   14875       for ac_exec_ext in '' $ac_executable_extensions; do
   14876         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   14877           echo "$as_me: trying $ac_dir/$ac_word..." >&5
   14878           if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
   14879             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
   14880             break 2
   14881           fi
   14882         fi
   14883       done
   14884     done
   14885     IFS="$ac_save_IFS"
   14886   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
   14887     ;;
   14888 esac
   14889 fi
   14890 MSGMERGE="$ac_cv_path_MSGMERGE"
   14891 if test "$MSGMERGE" != ":"; then
   14892   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
   14893 printf "%s\n" "$MSGMERGE" >&6; }
   14894 else
   14895   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14896 printf "%s\n" "no" >&6; }
   14897 fi
   14898 
   14899 
   14900         test -n "$localedir" || localedir='${datadir}/locale'
   14901 
   14902 
   14903     test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
   14904 
   14905 
   14906   ac_config_commands="$ac_config_commands po-directories"
   14907 
   14908 
   14909 
   14910       if test "X$prefix" = "XNONE"; then
   14911     acl_final_prefix="$ac_default_prefix"
   14912   else
   14913     acl_final_prefix="$prefix"
   14914   fi
   14915   if test "X$exec_prefix" = "XNONE"; then
   14916     acl_final_exec_prefix='${prefix}'
   14917   else
   14918     acl_final_exec_prefix="$exec_prefix"
   14919   fi
   14920   acl_save_prefix="$prefix"
   14921   prefix="$acl_final_prefix"
   14922   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
   14923   prefix="$acl_save_prefix"
   14924 
   14925 
   14926 
   14927 # Check whether --with-gnu-ld was given.
   14928 if test ${with_gnu_ld+y}
   14929 then :
   14930   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   14931 else $as_nop
   14932   with_gnu_ld=no
   14933 fi
   14934 
   14935 # Prepare PATH_SEPARATOR.
   14936 # The user is always right.
   14937 if test "${PATH_SEPARATOR+set}" != set; then
   14938   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
   14939   # contains only /bin. Note that ksh looks also at the FPATH variable,
   14940   # so we have to set that as well for the test.
   14941   PATH_SEPARATOR=:
   14942   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   14943     && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   14944            || PATH_SEPARATOR=';'
   14945        }
   14946 fi
   14947 
   14948 ac_prog=ld
   14949 if test "$GCC" = yes; then
   14950   # Check if gcc -print-prog-name=ld gives a path.
   14951   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   14952 printf %s "checking for ld used by $CC... " >&6; }
   14953   case $host in
   14954   *-*-mingw*)
   14955     # gcc leaves a trailing carriage return which upsets mingw
   14956     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   14957   *)
   14958     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   14959   esac
   14960   case $ac_prog in
   14961     # Accept absolute paths.
   14962     [\\/]* | ?:[\\/]*)
   14963       re_direlt='/[^/][^/]*/\.\./'
   14964       # Canonicalize the pathname of ld
   14965       ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
   14966       while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
   14967         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
   14968       done
   14969       test -z "$LD" && LD="$ac_prog"
   14970       ;;
   14971   "")
   14972     # If it fails, then pretend we aren't using GCC.
   14973     ac_prog=ld
   14974     ;;
   14975   *)
   14976     # If it is relative, then search for the first ld in PATH.
   14977     with_gnu_ld=unknown
   14978     ;;
   14979   esac
   14980 elif test "$with_gnu_ld" = yes; then
   14981   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   14982 printf %s "checking for GNU ld... " >&6; }
   14983 else
   14984   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   14985 printf %s "checking for non-GNU ld... " >&6; }
   14986 fi
   14987 if test ${acl_cv_path_LD+y}
   14988 then :
   14989   printf %s "(cached) " >&6
   14990 else $as_nop
   14991   if test -z "$LD"; then
   14992   acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   14993   for ac_dir in $PATH; do
   14994     IFS="$acl_save_ifs"
   14995     test -z "$ac_dir" && ac_dir=.
   14996     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   14997       acl_cv_path_LD="$ac_dir/$ac_prog"
   14998       # Check to see if the program is GNU ld.  I'd rather use --version,
   14999       # but apparently some variants of GNU ld only accept -v.
   15000       # Break only if it was the GNU/non-GNU ld that we prefer.
   15001       case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
   15002       *GNU* | *'with BFD'*)
   15003         test "$with_gnu_ld" != no && break
   15004         ;;
   15005       *)
   15006         test "$with_gnu_ld" != yes && break
   15007         ;;
   15008       esac
   15009     fi
   15010   done
   15011   IFS="$acl_save_ifs"
   15012 else
   15013   acl_cv_path_LD="$LD" # Let the user override the test with a path.
   15014 fi
   15015 fi
   15016 
   15017 LD="$acl_cv_path_LD"
   15018 if test -n "$LD"; then
   15019   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   15020 printf "%s\n" "$LD" >&6; }
   15021 else
   15022   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15023 printf "%s\n" "no" >&6; }
   15024 fi
   15025 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   15026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   15027 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   15028 if test ${acl_cv_prog_gnu_ld+y}
   15029 then :
   15030   printf %s "(cached) " >&6
   15031 else $as_nop
   15032   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   15033 case `$LD -v 2>&1 </dev/null` in
   15034 *GNU* | *'with BFD'*)
   15035   acl_cv_prog_gnu_ld=yes
   15036   ;;
   15037 *)
   15038   acl_cv_prog_gnu_ld=no
   15039   ;;
   15040 esac
   15041 fi
   15042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
   15043 printf "%s\n" "$acl_cv_prog_gnu_ld" >&6; }
   15044 with_gnu_ld=$acl_cv_prog_gnu_ld
   15045 
   15046 
   15047 
   15048 
   15049 
   15050                                                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
   15051 printf %s "checking for shared library run path origin... " >&6; }
   15052 if test ${acl_cv_rpath+y}
   15053 then :
   15054   printf %s "(cached) " >&6
   15055 else $as_nop
   15056 
   15057     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
   15058     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
   15059     . ./conftest.sh
   15060     rm -f ./conftest.sh
   15061     acl_cv_rpath=done
   15062 
   15063 fi
   15064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
   15065 printf "%s\n" "$acl_cv_rpath" >&6; }
   15066   wl="$acl_cv_wl"
   15067   acl_libext="$acl_cv_libext"
   15068   acl_shlibext="$acl_cv_shlibext"
   15069   acl_libname_spec="$acl_cv_libname_spec"
   15070   acl_library_names_spec="$acl_cv_library_names_spec"
   15071   acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
   15072   acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
   15073   acl_hardcode_direct="$acl_cv_hardcode_direct"
   15074   acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
   15075     # Check whether --enable-rpath was given.
   15076 if test ${enable_rpath+y}
   15077 then :
   15078   enableval=$enable_rpath; :
   15079 else $as_nop
   15080   enable_rpath=yes
   15081 fi
   15082 
   15083 
   15084 ac_ext=c
   15085 ac_cpp='$CPP $CPPFLAGS'
   15086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   15090 printf %s "checking how to run the C preprocessor... " >&6; }
   15091 # On Suns, sometimes $CPP names a directory.
   15092 if test -n "$CPP" && test -d "$CPP"; then
   15093   CPP=
   15094 fi
   15095 if test -z "$CPP"; then
   15096   if test ${ac_cv_prog_CPP+y}
   15097 then :
   15098   printf %s "(cached) " >&6
   15099 else $as_nop
   15100       # Double quotes because $CC needs to be expanded
   15101     for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
   15102     do
   15103       ac_preproc_ok=false
   15104 for ac_c_preproc_warn_flag in '' yes
   15105 do
   15106   # Use a header file that comes with gcc, so configuring glibc
   15107   # with a fresh cross-compiler works.
   15108   # On the NeXT, cc -E runs the code through the compiler's parser,
   15109   # not just through cpp. "Syntax error" is here to catch this case.
   15110   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15111 /* end confdefs.h.  */
   15112 #include <limits.h>
   15113 		     Syntax error
   15114 _ACEOF
   15115 if ac_fn_c_try_cpp "$LINENO"
   15116 then :
   15117 
   15118 else $as_nop
   15119   # Broken: fails on valid input.
   15120 continue
   15121 fi
   15122 rm -f conftest.err conftest.i conftest.$ac_ext
   15123 
   15124   # OK, works on sane cases.  Now check whether nonexistent headers
   15125   # can be detected and how.
   15126   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15127 /* end confdefs.h.  */
   15128 #include <ac_nonexistent.h>
   15129 _ACEOF
   15130 if ac_fn_c_try_cpp "$LINENO"
   15131 then :
   15132   # Broken: success on invalid input.
   15133 continue
   15134 else $as_nop
   15135   # Passes both tests.
   15136 ac_preproc_ok=:
   15137 break
   15138 fi
   15139 rm -f conftest.err conftest.i conftest.$ac_ext
   15140 
   15141 done
   15142 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   15143 rm -f conftest.i conftest.err conftest.$ac_ext
   15144 if $ac_preproc_ok
   15145 then :
   15146   break
   15147 fi
   15148 
   15149     done
   15150     ac_cv_prog_CPP=$CPP
   15151 
   15152 fi
   15153   CPP=$ac_cv_prog_CPP
   15154 else
   15155   ac_cv_prog_CPP=$CPP
   15156 fi
   15157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   15158 printf "%s\n" "$CPP" >&6; }
   15159 ac_preproc_ok=false
   15160 for ac_c_preproc_warn_flag in '' yes
   15161 do
   15162   # Use a header file that comes with gcc, so configuring glibc
   15163   # with a fresh cross-compiler works.
   15164   # On the NeXT, cc -E runs the code through the compiler's parser,
   15165   # not just through cpp. "Syntax error" is here to catch this case.
   15166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15167 /* end confdefs.h.  */
   15168 #include <limits.h>
   15169 		     Syntax error
   15170 _ACEOF
   15171 if ac_fn_c_try_cpp "$LINENO"
   15172 then :
   15173 
   15174 else $as_nop
   15175   # Broken: fails on valid input.
   15176 continue
   15177 fi
   15178 rm -f conftest.err conftest.i conftest.$ac_ext
   15179 
   15180   # OK, works on sane cases.  Now check whether nonexistent headers
   15181   # can be detected and how.
   15182   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15183 /* end confdefs.h.  */
   15184 #include <ac_nonexistent.h>
   15185 _ACEOF
   15186 if ac_fn_c_try_cpp "$LINENO"
   15187 then :
   15188   # Broken: success on invalid input.
   15189 continue
   15190 else $as_nop
   15191   # Passes both tests.
   15192 ac_preproc_ok=:
   15193 break
   15194 fi
   15195 rm -f conftest.err conftest.i conftest.$ac_ext
   15196 
   15197 done
   15198 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   15199 rm -f conftest.i conftest.err conftest.$ac_ext
   15200 if $ac_preproc_ok
   15201 then :
   15202 
   15203 else $as_nop
   15204   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   15205 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   15206 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   15207 See \`config.log' for more details" "$LINENO" 5; }
   15208 fi
   15209 
   15210 ac_ext=c
   15211 ac_cpp='$CPP $CPPFLAGS'
   15212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15215 
   15216 
   15217 
   15218 
   15219   acl_libdirstem=lib
   15220   acl_libdirstem2=
   15221   case "$host_os" in
   15222     solaris*)
   15223                                     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
   15224 printf %s "checking for 64-bit host... " >&6; }
   15225 if test ${gl_cv_solaris_64bit+y}
   15226 then :
   15227   printf %s "(cached) " >&6
   15228 else $as_nop
   15229   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15230 /* end confdefs.h.  */
   15231 
   15232 #ifdef _LP64
   15233 sixtyfour bits
   15234 #endif
   15235 
   15236 _ACEOF
   15237 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   15238   $EGREP "sixtyfour bits" >/dev/null 2>&1
   15239 then :
   15240   gl_cv_solaris_64bit=yes
   15241 else $as_nop
   15242   gl_cv_solaris_64bit=no
   15243 fi
   15244 rm -rf conftest*
   15245 
   15246 
   15247 fi
   15248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
   15249 printf "%s\n" "$gl_cv_solaris_64bit" >&6; }
   15250       if test $gl_cv_solaris_64bit = yes; then
   15251         acl_libdirstem=lib/64
   15252         case "$host_cpu" in
   15253           sparc*)        acl_libdirstem2=lib/sparcv9 ;;
   15254           i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
   15255         esac
   15256       fi
   15257       ;;
   15258     *)
   15259       searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
   15260       if test -n "$searchpath"; then
   15261         acl_save_IFS="${IFS= 	}"; IFS=":"
   15262         for searchdir in $searchpath; do
   15263           if test -d "$searchdir"; then
   15264             case "$searchdir" in
   15265               */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
   15266               */../ | */.. )
   15267                 # Better ignore directories of this form. They are misleading.
   15268                 ;;
   15269               *) searchdir=`cd "$searchdir" && pwd`
   15270                  case "$searchdir" in
   15271                    */lib64 ) acl_libdirstem=lib64 ;;
   15272                  esac ;;
   15273             esac
   15274           fi
   15275         done
   15276         IFS="$acl_save_IFS"
   15277       fi
   15278       ;;
   15279   esac
   15280   test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
   15281 
   15282 
   15283 
   15284 
   15285 
   15286 
   15287 
   15288 
   15289 
   15290 
   15291 
   15292 
   15293     use_additional=yes
   15294 
   15295   acl_save_prefix="$prefix"
   15296   prefix="$acl_final_prefix"
   15297   acl_save_exec_prefix="$exec_prefix"
   15298   exec_prefix="$acl_final_exec_prefix"
   15299 
   15300     eval additional_includedir=\"$includedir\"
   15301     eval additional_libdir=\"$libdir\"
   15302 
   15303   exec_prefix="$acl_save_exec_prefix"
   15304   prefix="$acl_save_prefix"
   15305 
   15306 
   15307 # Check whether --with-libiconv-prefix was given.
   15308 if test ${with_libiconv_prefix+y}
   15309 then :
   15310   withval=$with_libiconv_prefix;
   15311     if test "X$withval" = "Xno"; then
   15312       use_additional=no
   15313     else
   15314       if test "X$withval" = "X"; then
   15315 
   15316   acl_save_prefix="$prefix"
   15317   prefix="$acl_final_prefix"
   15318   acl_save_exec_prefix="$exec_prefix"
   15319   exec_prefix="$acl_final_exec_prefix"
   15320 
   15321           eval additional_includedir=\"$includedir\"
   15322           eval additional_libdir=\"$libdir\"
   15323 
   15324   exec_prefix="$acl_save_exec_prefix"
   15325   prefix="$acl_save_prefix"
   15326 
   15327       else
   15328         additional_includedir="$withval/include"
   15329         additional_libdir="$withval/$acl_libdirstem"
   15330         if test "$acl_libdirstem2" != "$acl_libdirstem" \
   15331            && ! test -d "$withval/$acl_libdirstem"; then
   15332           additional_libdir="$withval/$acl_libdirstem2"
   15333         fi
   15334       fi
   15335     fi
   15336 
   15337 fi
   15338 
   15339       LIBICONV=
   15340   LTLIBICONV=
   15341   INCICONV=
   15342   LIBICONV_PREFIX=
   15343       HAVE_LIBICONV=
   15344   rpathdirs=
   15345   ltrpathdirs=
   15346   names_already_handled=
   15347   names_next_round='iconv '
   15348   while test -n "$names_next_round"; do
   15349     names_this_round="$names_next_round"
   15350     names_next_round=
   15351     for name in $names_this_round; do
   15352       already_handled=
   15353       for n in $names_already_handled; do
   15354         if test "$n" = "$name"; then
   15355           already_handled=yes
   15356           break
   15357         fi
   15358       done
   15359       if test -z "$already_handled"; then
   15360         names_already_handled="$names_already_handled $name"
   15361                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
   15362         eval value=\"\$HAVE_LIB$uppername\"
   15363         if test -n "$value"; then
   15364           if test "$value" = yes; then
   15365             eval value=\"\$LIB$uppername\"
   15366             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
   15367             eval value=\"\$LTLIB$uppername\"
   15368             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
   15369           else
   15370                                     :
   15371           fi
   15372         else
   15373                               found_dir=
   15374           found_la=
   15375           found_so=
   15376           found_a=
   15377           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
   15378           if test -n "$acl_shlibext"; then
   15379             shrext=".$acl_shlibext"             # typically: shrext=.so
   15380           else
   15381             shrext=
   15382           fi
   15383           if test $use_additional = yes; then
   15384             dir="$additional_libdir"
   15385                                     if test -n "$acl_shlibext"; then
   15386               if test -f "$dir/$libname$shrext"; then
   15387                 found_dir="$dir"
   15388                 found_so="$dir/$libname$shrext"
   15389               else
   15390                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
   15391                   ver=`(cd "$dir" && \
   15392                         for f in "$libname$shrext".*; do echo "$f"; done \
   15393                         | sed -e "s,^$libname$shrext\\\\.,," \
   15394                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
   15395                         | sed 1q ) 2>/dev/null`
   15396                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
   15397                     found_dir="$dir"
   15398                     found_so="$dir/$libname$shrext.$ver"
   15399                   fi
   15400                 else
   15401                   eval library_names=\"$acl_library_names_spec\"
   15402                   for f in $library_names; do
   15403                     if test -f "$dir/$f"; then
   15404                       found_dir="$dir"
   15405                       found_so="$dir/$f"
   15406                       break
   15407                     fi
   15408                   done
   15409                 fi
   15410               fi
   15411             fi
   15412                         if test "X$found_dir" = "X"; then
   15413               if test -f "$dir/$libname.$acl_libext"; then
   15414                 found_dir="$dir"
   15415                 found_a="$dir/$libname.$acl_libext"
   15416               fi
   15417             fi
   15418             if test "X$found_dir" != "X"; then
   15419               if test -f "$dir/$libname.la"; then
   15420                 found_la="$dir/$libname.la"
   15421               fi
   15422             fi
   15423           fi
   15424           if test "X$found_dir" = "X"; then
   15425             for x in $LDFLAGS $LTLIBICONV; do
   15426 
   15427   acl_save_prefix="$prefix"
   15428   prefix="$acl_final_prefix"
   15429   acl_save_exec_prefix="$exec_prefix"
   15430   exec_prefix="$acl_final_exec_prefix"
   15431   eval x=\"$x\"
   15432   exec_prefix="$acl_save_exec_prefix"
   15433   prefix="$acl_save_prefix"
   15434 
   15435               case "$x" in
   15436                 -L*)
   15437                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   15438                                     if test -n "$acl_shlibext"; then
   15439                     if test -f "$dir/$libname$shrext"; then
   15440                       found_dir="$dir"
   15441                       found_so="$dir/$libname$shrext"
   15442                     else
   15443                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
   15444                         ver=`(cd "$dir" && \
   15445                               for f in "$libname$shrext".*; do echo "$f"; done \
   15446                               | sed -e "s,^$libname$shrext\\\\.,," \
   15447                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
   15448                               | sed 1q ) 2>/dev/null`
   15449                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
   15450                           found_dir="$dir"
   15451                           found_so="$dir/$libname$shrext.$ver"
   15452                         fi
   15453                       else
   15454                         eval library_names=\"$acl_library_names_spec\"
   15455                         for f in $library_names; do
   15456                           if test -f "$dir/$f"; then
   15457                             found_dir="$dir"
   15458                             found_so="$dir/$f"
   15459                             break
   15460                           fi
   15461                         done
   15462                       fi
   15463                     fi
   15464                   fi
   15465                                     if test "X$found_dir" = "X"; then
   15466                     if test -f "$dir/$libname.$acl_libext"; then
   15467                       found_dir="$dir"
   15468                       found_a="$dir/$libname.$acl_libext"
   15469                     fi
   15470                   fi
   15471                   if test "X$found_dir" != "X"; then
   15472                     if test -f "$dir/$libname.la"; then
   15473                       found_la="$dir/$libname.la"
   15474                     fi
   15475                   fi
   15476                   ;;
   15477               esac
   15478               if test "X$found_dir" != "X"; then
   15479                 break
   15480               fi
   15481             done
   15482           fi
   15483           if test "X$found_dir" != "X"; then
   15484                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
   15485             if test "X$found_so" != "X"; then
   15486                                                         if test "$enable_rpath" = no \
   15487                  || test "X$found_dir" = "X/usr/$acl_libdirstem" \
   15488                  || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
   15489                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   15490               else
   15491                                                                                 haveit=
   15492                 for x in $ltrpathdirs; do
   15493                   if test "X$x" = "X$found_dir"; then
   15494                     haveit=yes
   15495                     break
   15496                   fi
   15497                 done
   15498                 if test -z "$haveit"; then
   15499                   ltrpathdirs="$ltrpathdirs $found_dir"
   15500                 fi
   15501                                 if test "$acl_hardcode_direct" = yes; then
   15502                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   15503                 else
   15504                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
   15505                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   15506                                                             haveit=
   15507                     for x in $rpathdirs; do
   15508                       if test "X$x" = "X$found_dir"; then
   15509                         haveit=yes
   15510                         break
   15511                       fi
   15512                     done
   15513                     if test -z "$haveit"; then
   15514                       rpathdirs="$rpathdirs $found_dir"
   15515                     fi
   15516                   else
   15517                                                                                 haveit=
   15518                     for x in $LDFLAGS $LIBICONV; do
   15519 
   15520   acl_save_prefix="$prefix"
   15521   prefix="$acl_final_prefix"
   15522   acl_save_exec_prefix="$exec_prefix"
   15523   exec_prefix="$acl_final_exec_prefix"
   15524   eval x=\"$x\"
   15525   exec_prefix="$acl_save_exec_prefix"
   15526   prefix="$acl_save_prefix"
   15527 
   15528                       if test "X$x" = "X-L$found_dir"; then
   15529                         haveit=yes
   15530                         break
   15531                       fi
   15532                     done
   15533                     if test -z "$haveit"; then
   15534                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
   15535                     fi
   15536                     if test "$acl_hardcode_minus_L" != no; then
   15537                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   15538                     else
   15539                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   15540                     fi
   15541                   fi
   15542                 fi
   15543               fi
   15544             else
   15545               if test "X$found_a" != "X"; then
   15546                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
   15547               else
   15548                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
   15549               fi
   15550             fi
   15551                         additional_includedir=
   15552             case "$found_dir" in
   15553               */$acl_libdirstem | */$acl_libdirstem/)
   15554                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
   15555                 if test "$name" = 'iconv'; then
   15556                   LIBICONV_PREFIX="$basedir"
   15557                 fi
   15558                 additional_includedir="$basedir/include"
   15559                 ;;
   15560               */$acl_libdirstem2 | */$acl_libdirstem2/)
   15561                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
   15562                 if test "$name" = 'iconv'; then
   15563                   LIBICONV_PREFIX="$basedir"
   15564                 fi
   15565                 additional_includedir="$basedir/include"
   15566                 ;;
   15567             esac
   15568             if test "X$additional_includedir" != "X"; then
   15569                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   15570                 haveit=
   15571                 if test "X$additional_includedir" = "X/usr/local/include"; then
   15572                   if test -n "$GCC"; then
   15573                     case $host_os in
   15574                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
   15575                     esac
   15576                   fi
   15577                 fi
   15578                 if test -z "$haveit"; then
   15579                   for x in $CPPFLAGS $INCICONV; do
   15580 
   15581   acl_save_prefix="$prefix"
   15582   prefix="$acl_final_prefix"
   15583   acl_save_exec_prefix="$exec_prefix"
   15584   exec_prefix="$acl_final_exec_prefix"
   15585   eval x=\"$x\"
   15586   exec_prefix="$acl_save_exec_prefix"
   15587   prefix="$acl_save_prefix"
   15588 
   15589                     if test "X$x" = "X-I$additional_includedir"; then
   15590                       haveit=yes
   15591                       break
   15592                     fi
   15593                   done
   15594                   if test -z "$haveit"; then
   15595                     if test -d "$additional_includedir"; then
   15596                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
   15597                     fi
   15598                   fi
   15599                 fi
   15600               fi
   15601             fi
   15602                         if test -n "$found_la"; then
   15603                                                         save_libdir="$libdir"
   15604               case "$found_la" in
   15605                 */* | *\\*) . "$found_la" ;;
   15606                 *) . "./$found_la" ;;
   15607               esac
   15608               libdir="$save_libdir"
   15609                             for dep in $dependency_libs; do
   15610                 case "$dep" in
   15611                   -L*)
   15612                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   15613                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
   15614                        && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
   15615                       haveit=
   15616                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
   15617                          || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
   15618                         if test -n "$GCC"; then
   15619                           case $host_os in
   15620                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
   15621                           esac
   15622                         fi
   15623                       fi
   15624                       if test -z "$haveit"; then
   15625                         haveit=
   15626                         for x in $LDFLAGS $LIBICONV; do
   15627 
   15628   acl_save_prefix="$prefix"
   15629   prefix="$acl_final_prefix"
   15630   acl_save_exec_prefix="$exec_prefix"
   15631   exec_prefix="$acl_final_exec_prefix"
   15632   eval x=\"$x\"
   15633   exec_prefix="$acl_save_exec_prefix"
   15634   prefix="$acl_save_prefix"
   15635 
   15636                           if test "X$x" = "X-L$additional_libdir"; then
   15637                             haveit=yes
   15638                             break
   15639                           fi
   15640                         done
   15641                         if test -z "$haveit"; then
   15642                           if test -d "$additional_libdir"; then
   15643                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
   15644                           fi
   15645                         fi
   15646                         haveit=
   15647                         for x in $LDFLAGS $LTLIBICONV; do
   15648 
   15649   acl_save_prefix="$prefix"
   15650   prefix="$acl_final_prefix"
   15651   acl_save_exec_prefix="$exec_prefix"
   15652   exec_prefix="$acl_final_exec_prefix"
   15653   eval x=\"$x\"
   15654   exec_prefix="$acl_save_exec_prefix"
   15655   prefix="$acl_save_prefix"
   15656 
   15657                           if test "X$x" = "X-L$additional_libdir"; then
   15658                             haveit=yes
   15659                             break
   15660                           fi
   15661                         done
   15662                         if test -z "$haveit"; then
   15663                           if test -d "$additional_libdir"; then
   15664                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
   15665                           fi
   15666                         fi
   15667                       fi
   15668                     fi
   15669                     ;;
   15670                   -R*)
   15671                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   15672                     if test "$enable_rpath" != no; then
   15673                                                                   haveit=
   15674                       for x in $rpathdirs; do
   15675                         if test "X$x" = "X$dir"; then
   15676                           haveit=yes
   15677                           break
   15678                         fi
   15679                       done
   15680                       if test -z "$haveit"; then
   15681                         rpathdirs="$rpathdirs $dir"
   15682                       fi
   15683                                                                   haveit=
   15684                       for x in $ltrpathdirs; do
   15685                         if test "X$x" = "X$dir"; then
   15686                           haveit=yes
   15687                           break
   15688                         fi
   15689                       done
   15690                       if test -z "$haveit"; then
   15691                         ltrpathdirs="$ltrpathdirs $dir"
   15692                       fi
   15693                     fi
   15694                     ;;
   15695                   -l*)
   15696                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
   15697                     ;;
   15698                   *.la)
   15699                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   15700                     ;;
   15701                   *)
   15702                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
   15703                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
   15704                     ;;
   15705                 esac
   15706               done
   15707             fi
   15708           else
   15709                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   15710             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
   15711           fi
   15712         fi
   15713       fi
   15714     done
   15715   done
   15716   if test "X$rpathdirs" != "X"; then
   15717     if test -n "$acl_hardcode_libdir_separator"; then
   15718                         alldirs=
   15719       for found_dir in $rpathdirs; do
   15720         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
   15721       done
   15722             acl_save_libdir="$libdir"
   15723       libdir="$alldirs"
   15724       eval flag=\"$acl_hardcode_libdir_flag_spec\"
   15725       libdir="$acl_save_libdir"
   15726       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   15727     else
   15728             for found_dir in $rpathdirs; do
   15729         acl_save_libdir="$libdir"
   15730         libdir="$found_dir"
   15731         eval flag=\"$acl_hardcode_libdir_flag_spec\"
   15732         libdir="$acl_save_libdir"
   15733         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   15734       done
   15735     fi
   15736   fi
   15737   if test "X$ltrpathdirs" != "X"; then
   15738             for found_dir in $ltrpathdirs; do
   15739       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
   15740     done
   15741   fi
   15742 
   15743 
   15744 
   15745 
   15746 
   15747 
   15748 
   15749 
   15750 
   15751 
   15752 
   15753 
   15754 
   15755 
   15756 
   15757 
   15758 
   15759 
   15760 
   15761 
   15762 
   15763 
   15764 
   15765 
   15766 
   15767 
   15768 
   15769 
   15770 
   15771 
   15772 
   15773     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
   15774 printf %s "checking for CFPreferencesCopyAppValue... " >&6; }
   15775 if test ${gt_cv_func_CFPreferencesCopyAppValue+y}
   15776 then :
   15777   printf %s "(cached) " >&6
   15778 else $as_nop
   15779   gt_save_LIBS="$LIBS"
   15780      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
   15781      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15782 /* end confdefs.h.  */
   15783 #include <CoreFoundation/CFPreferences.h>
   15784 int
   15785 main (void)
   15786 {
   15787 CFPreferencesCopyAppValue(NULL, NULL)
   15788   ;
   15789   return 0;
   15790 }
   15791 _ACEOF
   15792 if ac_fn_c_try_link "$LINENO"
   15793 then :
   15794   gt_cv_func_CFPreferencesCopyAppValue=yes
   15795 else $as_nop
   15796   gt_cv_func_CFPreferencesCopyAppValue=no
   15797 fi
   15798 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15799     conftest$ac_exeext conftest.$ac_ext
   15800      LIBS="$gt_save_LIBS"
   15801 fi
   15802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
   15803 printf "%s\n" "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
   15804   if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
   15805 
   15806 printf "%s\n" "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
   15807 
   15808   fi
   15809     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
   15810 printf %s "checking for CFLocaleCopyCurrent... " >&6; }
   15811 if test ${gt_cv_func_CFLocaleCopyCurrent+y}
   15812 then :
   15813   printf %s "(cached) " >&6
   15814 else $as_nop
   15815   gt_save_LIBS="$LIBS"
   15816      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
   15817      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15818 /* end confdefs.h.  */
   15819 #include <CoreFoundation/CFLocale.h>
   15820 int
   15821 main (void)
   15822 {
   15823 CFLocaleCopyCurrent();
   15824   ;
   15825   return 0;
   15826 }
   15827 _ACEOF
   15828 if ac_fn_c_try_link "$LINENO"
   15829 then :
   15830   gt_cv_func_CFLocaleCopyCurrent=yes
   15831 else $as_nop
   15832   gt_cv_func_CFLocaleCopyCurrent=no
   15833 fi
   15834 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15835     conftest$ac_exeext conftest.$ac_ext
   15836      LIBS="$gt_save_LIBS"
   15837 fi
   15838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
   15839 printf "%s\n" "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
   15840   if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
   15841 
   15842 printf "%s\n" "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
   15843 
   15844   fi
   15845   INTL_MACOSX_LIBS=
   15846   if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
   15847     INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
   15848   fi
   15849 
   15850 
   15851 
   15852 
   15853 
   15854 
   15855   LIBINTL=
   15856   LTLIBINTL=
   15857   POSUB=
   15858 
   15859     case " $gt_needs " in
   15860     *" need-formatstring-macros "*) gt_api_version=3 ;;
   15861     *" need-ngettext "*) gt_api_version=2 ;;
   15862     *) gt_api_version=1 ;;
   15863   esac
   15864   gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
   15865   gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
   15866 
   15867     if test "$USE_NLS" = "yes"; then
   15868     gt_use_preinstalled_gnugettext=no
   15869 
   15870 
   15871         if test $gt_api_version -ge 3; then
   15872           gt_revision_test_code='
   15873 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
   15874 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
   15875 #endif
   15876 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
   15877 '
   15878         else
   15879           gt_revision_test_code=
   15880         fi
   15881         if test $gt_api_version -ge 2; then
   15882           gt_expression_test_code=' + * ngettext ("", "", 0)'
   15883         else
   15884           gt_expression_test_code=
   15885         fi
   15886 
   15887         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
   15888 printf %s "checking for GNU gettext in libc... " >&6; }
   15889 if eval test \${$gt_func_gnugettext_libc+y}
   15890 then :
   15891   printf %s "(cached) " >&6
   15892 else $as_nop
   15893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15894 /* end confdefs.h.  */
   15895 
   15896 #include <libintl.h>
   15897 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
   15898 extern int _nl_msg_cat_cntr;
   15899 extern int *_nl_domain_bindings;
   15900 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings)
   15901 #else
   15902 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
   15903 #endif
   15904 $gt_revision_test_code
   15905 
   15906 int
   15907 main (void)
   15908 {
   15909 
   15910 bindtextdomain ("", "");
   15911 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
   15912 
   15913   ;
   15914   return 0;
   15915 }
   15916 _ACEOF
   15917 if ac_fn_c_try_link "$LINENO"
   15918 then :
   15919   eval "$gt_func_gnugettext_libc=yes"
   15920 else $as_nop
   15921   eval "$gt_func_gnugettext_libc=no"
   15922 fi
   15923 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15924     conftest$ac_exeext conftest.$ac_ext
   15925 fi
   15926 eval ac_res=\$$gt_func_gnugettext_libc
   15927 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   15928 printf "%s\n" "$ac_res" >&6; }
   15929 
   15930         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
   15931 
   15932 
   15933 
   15934 
   15935 
   15936           am_save_CPPFLAGS="$CPPFLAGS"
   15937 
   15938   for element in $INCICONV; do
   15939     haveit=
   15940     for x in $CPPFLAGS; do
   15941 
   15942   acl_save_prefix="$prefix"
   15943   prefix="$acl_final_prefix"
   15944   acl_save_exec_prefix="$exec_prefix"
   15945   exec_prefix="$acl_final_exec_prefix"
   15946   eval x=\"$x\"
   15947   exec_prefix="$acl_save_exec_prefix"
   15948   prefix="$acl_save_prefix"
   15949 
   15950       if test "X$x" = "X$element"; then
   15951         haveit=yes
   15952         break
   15953       fi
   15954     done
   15955     if test -z "$haveit"; then
   15956       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   15957     fi
   15958   done
   15959 
   15960 
   15961   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
   15962 printf %s "checking for iconv... " >&6; }
   15963 if test ${am_cv_func_iconv+y}
   15964 then :
   15965   printf %s "(cached) " >&6
   15966 else $as_nop
   15967 
   15968     am_cv_func_iconv="no, consider installing GNU libiconv"
   15969     am_cv_lib_iconv=no
   15970     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15971 /* end confdefs.h.  */
   15972 
   15973 #include <stdlib.h>
   15974 #include <iconv.h>
   15975 
   15976 int
   15977 main (void)
   15978 {
   15979 iconv_t cd = iconv_open("","");
   15980            iconv(cd,NULL,NULL,NULL,NULL);
   15981            iconv_close(cd);
   15982   ;
   15983   return 0;
   15984 }
   15985 _ACEOF
   15986 if ac_fn_c_try_link "$LINENO"
   15987 then :
   15988   am_cv_func_iconv=yes
   15989 fi
   15990 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15991     conftest$ac_exeext conftest.$ac_ext
   15992     if test "$am_cv_func_iconv" != yes; then
   15993       am_save_LIBS="$LIBS"
   15994       LIBS="$LIBS $LIBICONV"
   15995       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15996 /* end confdefs.h.  */
   15997 
   15998 #include <stdlib.h>
   15999 #include <iconv.h>
   16000 
   16001 int
   16002 main (void)
   16003 {
   16004 iconv_t cd = iconv_open("","");
   16005              iconv(cd,NULL,NULL,NULL,NULL);
   16006              iconv_close(cd);
   16007   ;
   16008   return 0;
   16009 }
   16010 _ACEOF
   16011 if ac_fn_c_try_link "$LINENO"
   16012 then :
   16013   am_cv_lib_iconv=yes
   16014         am_cv_func_iconv=yes
   16015 fi
   16016 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16017     conftest$ac_exeext conftest.$ac_ext
   16018       LIBS="$am_save_LIBS"
   16019     fi
   16020 
   16021 fi
   16022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
   16023 printf "%s\n" "$am_cv_func_iconv" >&6; }
   16024   if test "$am_cv_func_iconv" = yes; then
   16025     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
   16026 printf %s "checking for working iconv... " >&6; }
   16027 if test ${am_cv_func_iconv_works+y}
   16028 then :
   16029   printf %s "(cached) " >&6
   16030 else $as_nop
   16031 
   16032                   am_save_LIBS="$LIBS"
   16033       if test $am_cv_lib_iconv = yes; then
   16034         LIBS="$LIBS $LIBICONV"
   16035       fi
   16036       am_cv_func_iconv_works=no
   16037       for ac_iconv_const in '' 'const'; do
   16038         if test "$cross_compiling" = yes
   16039 then :
   16040   case "$host_os" in
   16041              aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
   16042              *)            am_cv_func_iconv_works="guessing yes" ;;
   16043            esac
   16044 else $as_nop
   16045   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16046 /* end confdefs.h.  */
   16047 
   16048 #include <iconv.h>
   16049 #include <string.h>
   16050 
   16051 #ifndef ICONV_CONST
   16052 # define ICONV_CONST $ac_iconv_const
   16053 #endif
   16054 
   16055 int
   16056 main (void)
   16057 {
   16058 int result = 0;
   16059   /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
   16060      returns.  */
   16061   {
   16062     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
   16063     if (cd_utf8_to_88591 != (iconv_t)(-1))
   16064       {
   16065         static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
   16066         char buf[10];
   16067         ICONV_CONST char *inptr = input;
   16068         size_t inbytesleft = strlen (input);
   16069         char *outptr = buf;
   16070         size_t outbytesleft = sizeof (buf);
   16071         size_t res = iconv (cd_utf8_to_88591,
   16072                             &inptr, &inbytesleft,
   16073                             &outptr, &outbytesleft);
   16074         if (res == 0)
   16075           result |= 1;
   16076         iconv_close (cd_utf8_to_88591);
   16077       }
   16078   }
   16079   /* Test against Solaris 10 bug: Failures are not distinguishable from
   16080      successful returns.  */
   16081   {
   16082     iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
   16083     if (cd_ascii_to_88591 != (iconv_t)(-1))
   16084       {
   16085         static ICONV_CONST char input[] = "\263";
   16086         char buf[10];
   16087         ICONV_CONST char *inptr = input;
   16088         size_t inbytesleft = strlen (input);
   16089         char *outptr = buf;
   16090         size_t outbytesleft = sizeof (buf);
   16091         size_t res = iconv (cd_ascii_to_88591,
   16092                             &inptr, &inbytesleft,
   16093                             &outptr, &outbytesleft);
   16094         if (res == 0)
   16095           result |= 2;
   16096         iconv_close (cd_ascii_to_88591);
   16097       }
   16098   }
   16099   /* Test against AIX 6.1..7.1 bug: Buffer overrun.  */
   16100   {
   16101     iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
   16102     if (cd_88591_to_utf8 != (iconv_t)(-1))
   16103       {
   16104         static ICONV_CONST char input[] = "\304";
   16105         static char buf[2] = { (char)0xDE, (char)0xAD };
   16106         ICONV_CONST char *inptr = input;
   16107         size_t inbytesleft = 1;
   16108         char *outptr = buf;
   16109         size_t outbytesleft = 1;
   16110         size_t res = iconv (cd_88591_to_utf8,
   16111                             &inptr, &inbytesleft,
   16112                             &outptr, &outbytesleft);
   16113         if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
   16114           result |= 4;
   16115         iconv_close (cd_88591_to_utf8);
   16116       }
   16117   }
   16118 #if 0 /* This bug could be worked around by the caller.  */
   16119   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
   16120   {
   16121     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
   16122     if (cd_88591_to_utf8 != (iconv_t)(-1))
   16123       {
   16124         static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
   16125         char buf[50];
   16126         ICONV_CONST char *inptr = input;
   16127         size_t inbytesleft = strlen (input);
   16128         char *outptr = buf;
   16129         size_t outbytesleft = sizeof (buf);
   16130         size_t res = iconv (cd_88591_to_utf8,
   16131                             &inptr, &inbytesleft,
   16132                             &outptr, &outbytesleft);
   16133         if ((int)res > 0)
   16134           result |= 8;
   16135         iconv_close (cd_88591_to_utf8);
   16136       }
   16137   }
   16138 #endif
   16139   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
   16140      provided.  */
   16141   if (/* Try standardized names.  */
   16142       iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
   16143       /* Try IRIX, OSF/1 names.  */
   16144       && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
   16145       /* Try AIX names.  */
   16146       && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
   16147       /* Try HP-UX names.  */
   16148       && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
   16149     result |= 16;
   16150   return result;
   16151 
   16152   ;
   16153   return 0;
   16154 }
   16155 _ACEOF
   16156 if ac_fn_c_try_run "$LINENO"
   16157 then :
   16158   am_cv_func_iconv_works=yes
   16159 fi
   16160 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   16161   conftest.$ac_objext conftest.beam conftest.$ac_ext
   16162 fi
   16163 
   16164         test "$am_cv_func_iconv_works" = no || break
   16165       done
   16166       LIBS="$am_save_LIBS"
   16167 
   16168 fi
   16169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
   16170 printf "%s\n" "$am_cv_func_iconv_works" >&6; }
   16171     case "$am_cv_func_iconv_works" in
   16172       *no) am_func_iconv=no am_cv_lib_iconv=no ;;
   16173       *)   am_func_iconv=yes ;;
   16174     esac
   16175   else
   16176     am_func_iconv=no am_cv_lib_iconv=no
   16177   fi
   16178   if test "$am_func_iconv" = yes; then
   16179 
   16180 printf "%s\n" "#define HAVE_ICONV 1" >>confdefs.h
   16181 
   16182   fi
   16183   if test "$am_cv_lib_iconv" = yes; then
   16184     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
   16185 printf %s "checking how to link with libiconv... " >&6; }
   16186     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
   16187 printf "%s\n" "$LIBICONV" >&6; }
   16188   else
   16189             CPPFLAGS="$am_save_CPPFLAGS"
   16190     LIBICONV=
   16191     LTLIBICONV=
   16192   fi
   16193 
   16194 
   16195 
   16196 
   16197 
   16198 
   16199 
   16200 
   16201 
   16202 
   16203 
   16204     use_additional=yes
   16205 
   16206   acl_save_prefix="$prefix"
   16207   prefix="$acl_final_prefix"
   16208   acl_save_exec_prefix="$exec_prefix"
   16209   exec_prefix="$acl_final_exec_prefix"
   16210 
   16211     eval additional_includedir=\"$includedir\"
   16212     eval additional_libdir=\"$libdir\"
   16213 
   16214   exec_prefix="$acl_save_exec_prefix"
   16215   prefix="$acl_save_prefix"
   16216 
   16217 
   16218 # Check whether --with-libintl-prefix was given.
   16219 if test ${with_libintl_prefix+y}
   16220 then :
   16221   withval=$with_libintl_prefix;
   16222     if test "X$withval" = "Xno"; then
   16223       use_additional=no
   16224     else
   16225       if test "X$withval" = "X"; then
   16226 
   16227   acl_save_prefix="$prefix"
   16228   prefix="$acl_final_prefix"
   16229   acl_save_exec_prefix="$exec_prefix"
   16230   exec_prefix="$acl_final_exec_prefix"
   16231 
   16232           eval additional_includedir=\"$includedir\"
   16233           eval additional_libdir=\"$libdir\"
   16234 
   16235   exec_prefix="$acl_save_exec_prefix"
   16236   prefix="$acl_save_prefix"
   16237 
   16238       else
   16239         additional_includedir="$withval/include"
   16240         additional_libdir="$withval/$acl_libdirstem"
   16241         if test "$acl_libdirstem2" != "$acl_libdirstem" \
   16242            && ! test -d "$withval/$acl_libdirstem"; then
   16243           additional_libdir="$withval/$acl_libdirstem2"
   16244         fi
   16245       fi
   16246     fi
   16247 
   16248 fi
   16249 
   16250       LIBINTL=
   16251   LTLIBINTL=
   16252   INCINTL=
   16253   LIBINTL_PREFIX=
   16254       HAVE_LIBINTL=
   16255   rpathdirs=
   16256   ltrpathdirs=
   16257   names_already_handled=
   16258   names_next_round='intl '
   16259   while test -n "$names_next_round"; do
   16260     names_this_round="$names_next_round"
   16261     names_next_round=
   16262     for name in $names_this_round; do
   16263       already_handled=
   16264       for n in $names_already_handled; do
   16265         if test "$n" = "$name"; then
   16266           already_handled=yes
   16267           break
   16268         fi
   16269       done
   16270       if test -z "$already_handled"; then
   16271         names_already_handled="$names_already_handled $name"
   16272                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
   16273         eval value=\"\$HAVE_LIB$uppername\"
   16274         if test -n "$value"; then
   16275           if test "$value" = yes; then
   16276             eval value=\"\$LIB$uppername\"
   16277             test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
   16278             eval value=\"\$LTLIB$uppername\"
   16279             test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
   16280           else
   16281                                     :
   16282           fi
   16283         else
   16284                               found_dir=
   16285           found_la=
   16286           found_so=
   16287           found_a=
   16288           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
   16289           if test -n "$acl_shlibext"; then
   16290             shrext=".$acl_shlibext"             # typically: shrext=.so
   16291           else
   16292             shrext=
   16293           fi
   16294           if test $use_additional = yes; then
   16295             dir="$additional_libdir"
   16296                                     if test -n "$acl_shlibext"; then
   16297               if test -f "$dir/$libname$shrext"; then
   16298                 found_dir="$dir"
   16299                 found_so="$dir/$libname$shrext"
   16300               else
   16301                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
   16302                   ver=`(cd "$dir" && \
   16303                         for f in "$libname$shrext".*; do echo "$f"; done \
   16304                         | sed -e "s,^$libname$shrext\\\\.,," \
   16305                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
   16306                         | sed 1q ) 2>/dev/null`
   16307                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
   16308                     found_dir="$dir"
   16309                     found_so="$dir/$libname$shrext.$ver"
   16310                   fi
   16311                 else
   16312                   eval library_names=\"$acl_library_names_spec\"
   16313                   for f in $library_names; do
   16314                     if test -f "$dir/$f"; then
   16315                       found_dir="$dir"
   16316                       found_so="$dir/$f"
   16317                       break
   16318                     fi
   16319                   done
   16320                 fi
   16321               fi
   16322             fi
   16323                         if test "X$found_dir" = "X"; then
   16324               if test -f "$dir/$libname.$acl_libext"; then
   16325                 found_dir="$dir"
   16326                 found_a="$dir/$libname.$acl_libext"
   16327               fi
   16328             fi
   16329             if test "X$found_dir" != "X"; then
   16330               if test -f "$dir/$libname.la"; then
   16331                 found_la="$dir/$libname.la"
   16332               fi
   16333             fi
   16334           fi
   16335           if test "X$found_dir" = "X"; then
   16336             for x in $LDFLAGS $LTLIBINTL; do
   16337 
   16338   acl_save_prefix="$prefix"
   16339   prefix="$acl_final_prefix"
   16340   acl_save_exec_prefix="$exec_prefix"
   16341   exec_prefix="$acl_final_exec_prefix"
   16342   eval x=\"$x\"
   16343   exec_prefix="$acl_save_exec_prefix"
   16344   prefix="$acl_save_prefix"
   16345 
   16346               case "$x" in
   16347                 -L*)
   16348                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   16349                                     if test -n "$acl_shlibext"; then
   16350                     if test -f "$dir/$libname$shrext"; then
   16351                       found_dir="$dir"
   16352                       found_so="$dir/$libname$shrext"
   16353                     else
   16354                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
   16355                         ver=`(cd "$dir" && \
   16356                               for f in "$libname$shrext".*; do echo "$f"; done \
   16357                               | sed -e "s,^$libname$shrext\\\\.,," \
   16358                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
   16359                               | sed 1q ) 2>/dev/null`
   16360                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
   16361                           found_dir="$dir"
   16362                           found_so="$dir/$libname$shrext.$ver"
   16363                         fi
   16364                       else
   16365                         eval library_names=\"$acl_library_names_spec\"
   16366                         for f in $library_names; do
   16367                           if test -f "$dir/$f"; then
   16368                             found_dir="$dir"
   16369                             found_so="$dir/$f"
   16370                             break
   16371                           fi
   16372                         done
   16373                       fi
   16374                     fi
   16375                   fi
   16376                                     if test "X$found_dir" = "X"; then
   16377                     if test -f "$dir/$libname.$acl_libext"; then
   16378                       found_dir="$dir"
   16379                       found_a="$dir/$libname.$acl_libext"
   16380                     fi
   16381                   fi
   16382                   if test "X$found_dir" != "X"; then
   16383                     if test -f "$dir/$libname.la"; then
   16384                       found_la="$dir/$libname.la"
   16385                     fi
   16386                   fi
   16387                   ;;
   16388               esac
   16389               if test "X$found_dir" != "X"; then
   16390                 break
   16391               fi
   16392             done
   16393           fi
   16394           if test "X$found_dir" != "X"; then
   16395                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
   16396             if test "X$found_so" != "X"; then
   16397                                                         if test "$enable_rpath" = no \
   16398                  || test "X$found_dir" = "X/usr/$acl_libdirstem" \
   16399                  || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
   16400                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   16401               else
   16402                                                                                 haveit=
   16403                 for x in $ltrpathdirs; do
   16404                   if test "X$x" = "X$found_dir"; then
   16405                     haveit=yes
   16406                     break
   16407                   fi
   16408                 done
   16409                 if test -z "$haveit"; then
   16410                   ltrpathdirs="$ltrpathdirs $found_dir"
   16411                 fi
   16412                                 if test "$acl_hardcode_direct" = yes; then
   16413                                                       LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   16414                 else
   16415                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
   16416                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   16417                                                             haveit=
   16418                     for x in $rpathdirs; do
   16419                       if test "X$x" = "X$found_dir"; then
   16420                         haveit=yes
   16421                         break
   16422                       fi
   16423                     done
   16424                     if test -z "$haveit"; then
   16425                       rpathdirs="$rpathdirs $found_dir"
   16426                     fi
   16427                   else
   16428                                                                                 haveit=
   16429                     for x in $LDFLAGS $LIBINTL; do
   16430 
   16431   acl_save_prefix="$prefix"
   16432   prefix="$acl_final_prefix"
   16433   acl_save_exec_prefix="$exec_prefix"
   16434   exec_prefix="$acl_final_exec_prefix"
   16435   eval x=\"$x\"
   16436   exec_prefix="$acl_save_exec_prefix"
   16437   prefix="$acl_save_prefix"
   16438 
   16439                       if test "X$x" = "X-L$found_dir"; then
   16440                         haveit=yes
   16441                         break
   16442                       fi
   16443                     done
   16444                     if test -z "$haveit"; then
   16445                       LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
   16446                     fi
   16447                     if test "$acl_hardcode_minus_L" != no; then
   16448                                                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   16449                     else
   16450                                                                                                                                                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
   16451                     fi
   16452                   fi
   16453                 fi
   16454               fi
   16455             else
   16456               if test "X$found_a" != "X"; then
   16457                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
   16458               else
   16459                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
   16460               fi
   16461             fi
   16462                         additional_includedir=
   16463             case "$found_dir" in
   16464               */$acl_libdirstem | */$acl_libdirstem/)
   16465                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
   16466                 if test "$name" = 'intl'; then
   16467                   LIBINTL_PREFIX="$basedir"
   16468                 fi
   16469                 additional_includedir="$basedir/include"
   16470                 ;;
   16471               */$acl_libdirstem2 | */$acl_libdirstem2/)
   16472                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
   16473                 if test "$name" = 'intl'; then
   16474                   LIBINTL_PREFIX="$basedir"
   16475                 fi
   16476                 additional_includedir="$basedir/include"
   16477                 ;;
   16478             esac
   16479             if test "X$additional_includedir" != "X"; then
   16480                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   16481                 haveit=
   16482                 if test "X$additional_includedir" = "X/usr/local/include"; then
   16483                   if test -n "$GCC"; then
   16484                     case $host_os in
   16485                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
   16486                     esac
   16487                   fi
   16488                 fi
   16489                 if test -z "$haveit"; then
   16490                   for x in $CPPFLAGS $INCINTL; do
   16491 
   16492   acl_save_prefix="$prefix"
   16493   prefix="$acl_final_prefix"
   16494   acl_save_exec_prefix="$exec_prefix"
   16495   exec_prefix="$acl_final_exec_prefix"
   16496   eval x=\"$x\"
   16497   exec_prefix="$acl_save_exec_prefix"
   16498   prefix="$acl_save_prefix"
   16499 
   16500                     if test "X$x" = "X-I$additional_includedir"; then
   16501                       haveit=yes
   16502                       break
   16503                     fi
   16504                   done
   16505                   if test -z "$haveit"; then
   16506                     if test -d "$additional_includedir"; then
   16507                                             INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
   16508                     fi
   16509                   fi
   16510                 fi
   16511               fi
   16512             fi
   16513                         if test -n "$found_la"; then
   16514                                                         save_libdir="$libdir"
   16515               case "$found_la" in
   16516                 */* | *\\*) . "$found_la" ;;
   16517                 *) . "./$found_la" ;;
   16518               esac
   16519               libdir="$save_libdir"
   16520                             for dep in $dependency_libs; do
   16521                 case "$dep" in
   16522                   -L*)
   16523                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   16524                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
   16525                        && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
   16526                       haveit=
   16527                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
   16528                          || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
   16529                         if test -n "$GCC"; then
   16530                           case $host_os in
   16531                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
   16532                           esac
   16533                         fi
   16534                       fi
   16535                       if test -z "$haveit"; then
   16536                         haveit=
   16537                         for x in $LDFLAGS $LIBINTL; do
   16538 
   16539   acl_save_prefix="$prefix"
   16540   prefix="$acl_final_prefix"
   16541   acl_save_exec_prefix="$exec_prefix"
   16542   exec_prefix="$acl_final_exec_prefix"
   16543   eval x=\"$x\"
   16544   exec_prefix="$acl_save_exec_prefix"
   16545   prefix="$acl_save_prefix"
   16546 
   16547                           if test "X$x" = "X-L$additional_libdir"; then
   16548                             haveit=yes
   16549                             break
   16550                           fi
   16551                         done
   16552                         if test -z "$haveit"; then
   16553                           if test -d "$additional_libdir"; then
   16554                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
   16555                           fi
   16556                         fi
   16557                         haveit=
   16558                         for x in $LDFLAGS $LTLIBINTL; do
   16559 
   16560   acl_save_prefix="$prefix"
   16561   prefix="$acl_final_prefix"
   16562   acl_save_exec_prefix="$exec_prefix"
   16563   exec_prefix="$acl_final_exec_prefix"
   16564   eval x=\"$x\"
   16565   exec_prefix="$acl_save_exec_prefix"
   16566   prefix="$acl_save_prefix"
   16567 
   16568                           if test "X$x" = "X-L$additional_libdir"; then
   16569                             haveit=yes
   16570                             break
   16571                           fi
   16572                         done
   16573                         if test -z "$haveit"; then
   16574                           if test -d "$additional_libdir"; then
   16575                                                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
   16576                           fi
   16577                         fi
   16578                       fi
   16579                     fi
   16580                     ;;
   16581                   -R*)
   16582                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   16583                     if test "$enable_rpath" != no; then
   16584                                                                   haveit=
   16585                       for x in $rpathdirs; do
   16586                         if test "X$x" = "X$dir"; then
   16587                           haveit=yes
   16588                           break
   16589                         fi
   16590                       done
   16591                       if test -z "$haveit"; then
   16592                         rpathdirs="$rpathdirs $dir"
   16593                       fi
   16594                                                                   haveit=
   16595                       for x in $ltrpathdirs; do
   16596                         if test "X$x" = "X$dir"; then
   16597                           haveit=yes
   16598                           break
   16599                         fi
   16600                       done
   16601                       if test -z "$haveit"; then
   16602                         ltrpathdirs="$ltrpathdirs $dir"
   16603                       fi
   16604                     fi
   16605                     ;;
   16606                   -l*)
   16607                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
   16608                     ;;
   16609                   *.la)
   16610                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   16611                     ;;
   16612                   *)
   16613                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
   16614                     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
   16615                     ;;
   16616                 esac
   16617               done
   16618             fi
   16619           else
   16620                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
   16621             LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
   16622           fi
   16623         fi
   16624       fi
   16625     done
   16626   done
   16627   if test "X$rpathdirs" != "X"; then
   16628     if test -n "$acl_hardcode_libdir_separator"; then
   16629                         alldirs=
   16630       for found_dir in $rpathdirs; do
   16631         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
   16632       done
   16633             acl_save_libdir="$libdir"
   16634       libdir="$alldirs"
   16635       eval flag=\"$acl_hardcode_libdir_flag_spec\"
   16636       libdir="$acl_save_libdir"
   16637       LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
   16638     else
   16639             for found_dir in $rpathdirs; do
   16640         acl_save_libdir="$libdir"
   16641         libdir="$found_dir"
   16642         eval flag=\"$acl_hardcode_libdir_flag_spec\"
   16643         libdir="$acl_save_libdir"
   16644         LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
   16645       done
   16646     fi
   16647   fi
   16648   if test "X$ltrpathdirs" != "X"; then
   16649             for found_dir in $ltrpathdirs; do
   16650       LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
   16651     done
   16652   fi
   16653 
   16654 
   16655 
   16656 
   16657 
   16658 
   16659           { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
   16660 printf %s "checking for GNU gettext in libintl... " >&6; }
   16661 if eval test \${$gt_func_gnugettext_libintl+y}
   16662 then :
   16663   printf %s "(cached) " >&6
   16664 else $as_nop
   16665   gt_save_CPPFLAGS="$CPPFLAGS"
   16666             CPPFLAGS="$CPPFLAGS $INCINTL"
   16667             gt_save_LIBS="$LIBS"
   16668             LIBS="$LIBS $LIBINTL"
   16669                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16670 /* end confdefs.h.  */
   16671 
   16672 #include <libintl.h>
   16673 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
   16674 extern int _nl_msg_cat_cntr;
   16675 extern
   16676 #ifdef __cplusplus
   16677 "C"
   16678 #endif
   16679 const char *_nl_expand_alias (const char *);
   16680 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
   16681 #else
   16682 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
   16683 #endif
   16684 $gt_revision_test_code
   16685 
   16686 int
   16687 main (void)
   16688 {
   16689 
   16690 bindtextdomain ("", "");
   16691 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
   16692 
   16693   ;
   16694   return 0;
   16695 }
   16696 _ACEOF
   16697 if ac_fn_c_try_link "$LINENO"
   16698 then :
   16699   eval "$gt_func_gnugettext_libintl=yes"
   16700 else $as_nop
   16701   eval "$gt_func_gnugettext_libintl=no"
   16702 fi
   16703 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16704     conftest$ac_exeext conftest.$ac_ext
   16705                         if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
   16706               LIBS="$LIBS $LIBICONV"
   16707               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16708 /* end confdefs.h.  */
   16709 
   16710 #include <libintl.h>
   16711 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
   16712 extern int _nl_msg_cat_cntr;
   16713 extern
   16714 #ifdef __cplusplus
   16715 "C"
   16716 #endif
   16717 const char *_nl_expand_alias (const char *);
   16718 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
   16719 #else
   16720 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
   16721 #endif
   16722 $gt_revision_test_code
   16723 
   16724 int
   16725 main (void)
   16726 {
   16727 
   16728 bindtextdomain ("", "");
   16729 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
   16730 
   16731   ;
   16732   return 0;
   16733 }
   16734 _ACEOF
   16735 if ac_fn_c_try_link "$LINENO"
   16736 then :
   16737   LIBINTL="$LIBINTL $LIBICONV"
   16738                  LTLIBINTL="$LTLIBINTL $LTLIBICONV"
   16739                  eval "$gt_func_gnugettext_libintl=yes"
   16740 
   16741 fi
   16742 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16743     conftest$ac_exeext conftest.$ac_ext
   16744             fi
   16745             CPPFLAGS="$gt_save_CPPFLAGS"
   16746             LIBS="$gt_save_LIBS"
   16747 fi
   16748 eval ac_res=\$$gt_func_gnugettext_libintl
   16749 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   16750 printf "%s\n" "$ac_res" >&6; }
   16751         fi
   16752 
   16753                                         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
   16754            || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
   16755                 && test "$PACKAGE" != gettext-runtime \
   16756                 && test "$PACKAGE" != gettext-tools; }; then
   16757           gt_use_preinstalled_gnugettext=yes
   16758         else
   16759                     LIBINTL=
   16760           LTLIBINTL=
   16761           INCINTL=
   16762         fi
   16763 
   16764 
   16765 
   16766     if test -n "$INTL_MACOSX_LIBS"; then
   16767       if test "$gt_use_preinstalled_gnugettext" = "yes" \
   16768          || test "$nls_cv_use_gnu_gettext" = "yes"; then
   16769                 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
   16770         LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
   16771       fi
   16772     fi
   16773 
   16774     if test "$gt_use_preinstalled_gnugettext" = "yes" \
   16775        || test "$nls_cv_use_gnu_gettext" = "yes"; then
   16776 
   16777 printf "%s\n" "#define ENABLE_NLS 1" >>confdefs.h
   16778 
   16779     else
   16780       USE_NLS=no
   16781     fi
   16782   fi
   16783 
   16784   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
   16785 printf %s "checking whether to use NLS... " >&6; }
   16786   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
   16787 printf "%s\n" "$USE_NLS" >&6; }
   16788   if test "$USE_NLS" = "yes"; then
   16789     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
   16790 printf %s "checking where the gettext function comes from... " >&6; }
   16791     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
   16792       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
   16793         gt_source="external libintl"
   16794       else
   16795         gt_source="libc"
   16796       fi
   16797     else
   16798       gt_source="included intl directory"
   16799     fi
   16800     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
   16801 printf "%s\n" "$gt_source" >&6; }
   16802   fi
   16803 
   16804   if test "$USE_NLS" = "yes"; then
   16805 
   16806     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
   16807       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
   16808         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
   16809 printf %s "checking how to link with libintl... " >&6; }
   16810         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
   16811 printf "%s\n" "$LIBINTL" >&6; }
   16812 
   16813   for element in $INCINTL; do
   16814     haveit=
   16815     for x in $CPPFLAGS; do
   16816 
   16817   acl_save_prefix="$prefix"
   16818   prefix="$acl_final_prefix"
   16819   acl_save_exec_prefix="$exec_prefix"
   16820   exec_prefix="$acl_final_exec_prefix"
   16821   eval x=\"$x\"
   16822   exec_prefix="$acl_save_exec_prefix"
   16823   prefix="$acl_save_prefix"
   16824 
   16825       if test "X$x" = "X$element"; then
   16826         haveit=yes
   16827         break
   16828       fi
   16829     done
   16830     if test -z "$haveit"; then
   16831       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   16832     fi
   16833   done
   16834 
   16835       fi
   16836 
   16837 
   16838 printf "%s\n" "#define HAVE_GETTEXT 1" >>confdefs.h
   16839 
   16840 
   16841 printf "%s\n" "#define HAVE_DCGETTEXT 1" >>confdefs.h
   16842 
   16843     fi
   16844 
   16845         POSUB=po
   16846   fi
   16847 
   16848 
   16849 
   16850     INTLLIBS="$LIBINTL"
   16851 
   16852 
   16853 
   16854 
   16855 
   16856 
   16857 
   16858 
   16859 if test "$os_win32" = "yes"; then
   16860   # Extract the first word of "lib.exe", so it can be a program name with args.
   16861 set dummy lib.exe; ac_word=$2
   16862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16863 printf %s "checking for $ac_word... " >&6; }
   16864 if test ${ac_cv_prog_ms_librarian+y}
   16865 then :
   16866   printf %s "(cached) " >&6
   16867 else $as_nop
   16868   if test -n "$ms_librarian"; then
   16869   ac_cv_prog_ms_librarian="$ms_librarian" # Let the user override the test.
   16870 else
   16871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16872 for as_dir in $PATH
   16873 do
   16874   IFS=$as_save_IFS
   16875   case $as_dir in #(((
   16876     '') as_dir=./ ;;
   16877     */) ;;
   16878     *) as_dir=$as_dir/ ;;
   16879   esac
   16880     for ac_exec_ext in '' $ac_executable_extensions; do
   16881   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   16882     ac_cv_prog_ms_librarian="yes"
   16883     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   16884     break 2
   16885   fi
   16886 done
   16887   done
   16888 IFS=$as_save_IFS
   16889 
   16890   test -z "$ac_cv_prog_ms_librarian" && ac_cv_prog_ms_librarian="no"
   16891 fi
   16892 fi
   16893 ms_librarian=$ac_cv_prog_ms_librarian
   16894 if test -n "$ms_librarian"; then
   16895   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ms_librarian" >&5
   16896 printf "%s\n" "$ms_librarian" >&6; }
   16897 else
   16898   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16899 printf "%s\n" "no" >&6; }
   16900 fi
   16901 
   16902 
   16903 fi
   16904  if test x$ms_librarian = xyes; then
   16905   MS_LIB_AVAILABLE_TRUE=
   16906   MS_LIB_AVAILABLE_FALSE='#'
   16907 else
   16908   MS_LIB_AVAILABLE_TRUE='#'
   16909   MS_LIB_AVAILABLE_FALSE=
   16910 fi
   16911 
   16912 
   16913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   16914 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   16915 if test ${ac_cv_c_undeclared_builtin_options+y}
   16916 then :
   16917   printf %s "(cached) " >&6
   16918 else $as_nop
   16919   ac_save_CFLAGS=$CFLAGS
   16920    ac_cv_c_undeclared_builtin_options='cannot detect'
   16921    for ac_arg in '' -fno-builtin; do
   16922      CFLAGS="$ac_save_CFLAGS $ac_arg"
   16923      # This test program should *not* compile successfully.
   16924      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16925 /* end confdefs.h.  */
   16926 
   16927 int
   16928 main (void)
   16929 {
   16930 (void) strchr;
   16931   ;
   16932   return 0;
   16933 }
   16934 _ACEOF
   16935 if ac_fn_c_try_compile "$LINENO"
   16936 then :
   16937 
   16938 else $as_nop
   16939   # This test program should compile successfully.
   16940         # No library function is consistently available on
   16941         # freestanding implementations, so test against a dummy
   16942         # declaration.  Include always-available headers on the
   16943         # off chance that they somehow elicit warnings.
   16944         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16945 /* end confdefs.h.  */
   16946 #include <float.h>
   16947 #include <limits.h>
   16948 #include <stdarg.h>
   16949 #include <stddef.h>
   16950 extern void ac_decl (int, char *);
   16951 
   16952 int
   16953 main (void)
   16954 {
   16955 (void) ac_decl (0, (char *) 0);
   16956   (void) ac_decl;
   16957 
   16958   ;
   16959   return 0;
   16960 }
   16961 _ACEOF
   16962 if ac_fn_c_try_compile "$LINENO"
   16963 then :
   16964   if test x"$ac_arg" = x
   16965 then :
   16966   ac_cv_c_undeclared_builtin_options='none needed'
   16967 else $as_nop
   16968   ac_cv_c_undeclared_builtin_options=$ac_arg
   16969 fi
   16970           break
   16971 fi
   16972 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16973 fi
   16974 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16975     done
   16976     CFLAGS=$ac_save_CFLAGS
   16977 
   16978 fi
   16979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   16980 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   16981   case $ac_cv_c_undeclared_builtin_options in #(
   16982   'cannot detect') :
   16983     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   16984 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   16985 as_fn_error $? "cannot make $CC report undeclared builtins
   16986 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   16987   'none needed') :
   16988     ac_c_undeclared_builtin_options='' ;; #(
   16989   *) :
   16990     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   16991 esac
   16992 
   16993 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   16994 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   16995 then :
   16996   SUNCC="yes"
   16997 else $as_nop
   16998   SUNCC="no"
   16999 fi
   17000 WARN_CFLAGS=""
   17001 WARNING_CPP_DIRECTIVE="no"
   17002 if test "x$GCC" = "xyes"; then
   17003 	WARN_CFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes \
   17004 	-Wmissing-prototypes -Wmissing-declarations \
   17005 	-Wnested-externs -fno-strict-aliasing"
   17006 	WARNING_CPP_DIRECTIVE="yes"
   17007 elif test "x$SUNCC" = "xyes"; then
   17008 	WARN_CFLAGS="-v -fd"
   17009 	WARNING_CPP_DIRECTIVE="yes"
   17010 fi
   17011 if test "x$WARNING_CPP_DIRECTIVE" = "xyes"; then
   17012 
   17013 printf "%s\n" "#define HAVE_WARNING_CPP_DIRECTIVE 1" >>confdefs.h
   17014 
   17015 fi
   17016 
   17017 
   17018 
   17019 
   17020 # Put a plausible default for CC_FOR_BUILD in Makefile.
   17021 if test -z "$CC_FOR_BUILD"; then
   17022   if test "x$cross_compiling" = "xno"; then
   17023     CC_FOR_BUILD='$(CC)'
   17024   else
   17025     CC_FOR_BUILD=gcc
   17026   fi
   17027 fi
   17028 
   17029 # Also set EXEEXT_FOR_BUILD.
   17030 if test "x$cross_compiling" = "xno"; then
   17031   EXEEXT_FOR_BUILD='$(EXEEXT)'
   17032 else
   17033   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for build system executable suffix" >&5
   17034 printf %s "checking for build system executable suffix... " >&6; }
   17035 if test ${bfd_cv_build_exeext+y}
   17036 then :
   17037   printf %s "(cached) " >&6
   17038 else $as_nop
   17039   rm -f conftest*
   17040      echo 'int main () { return 0; }' > conftest.c
   17041      bfd_cv_build_exeext=
   17042      ${CC_FOR_BUILD} -o conftest conftest.c 1>&5 2>&5
   17043      for file in conftest.*; do
   17044        case $file in
   17045        *.c | *.o | *.obj | *.ilk | *.pdb) ;;
   17046        *) bfd_cv_build_exeext=`echo $file | sed -e s/conftest//` ;;
   17047        esac
   17048      done
   17049      rm -f conftest*
   17050      test x"${bfd_cv_build_exeext}" = x && bfd_cv_build_exeext=no
   17051 fi
   17052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_build_exeext" >&5
   17053 printf "%s\n" "$bfd_cv_build_exeext" >&6; }
   17054   EXEEXT_FOR_BUILD=""
   17055   test x"${bfd_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${bfd_cv_build_exeext}
   17056 fi
   17057 
   17058 
   17059  if test $cross_compiling = yes; then
   17060   CROSS_COMPILING_TRUE=
   17061   CROSS_COMPILING_FALSE='#'
   17062 else
   17063   CROSS_COMPILING_TRUE='#'
   17064   CROSS_COMPILING_FALSE=
   17065 fi
   17066 
   17067  if test "$enable_shared" = "yes"; then
   17068   ENABLE_SHARED_TRUE=
   17069   ENABLE_SHARED_FALSE='#'
   17070 else
   17071   ENABLE_SHARED_TRUE='#'
   17072   ENABLE_SHARED_FALSE=
   17073 fi
   17074 
   17075 
   17076 
   17077 
   17078 # Check whether --with-arch was given.
   17079 if test ${with_arch+y}
   17080 then :
   17081   withval=$with_arch; arch="$withval"
   17082 else $as_nop
   17083   arch=auto
   17084 fi
   17085 
   17086 
   17087 if test "x$arch" != xauto; then
   17088 
   17089 printf "%s\n" "#define FC_ARCHITECTURE \"$arch\"" >>confdefs.h
   17090 
   17091 fi
   17092 
   17093 
   17094 
   17095 # Checks for header files.
   17096 ac_header_dirent=no
   17097 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
   17098   as_ac_Header=`printf "%s\n" "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
   17099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
   17100 printf %s "checking for $ac_hdr that defines DIR... " >&6; }
   17101 if eval test \${$as_ac_Header+y}
   17102 then :
   17103   printf %s "(cached) " >&6
   17104 else $as_nop
   17105   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17106 /* end confdefs.h.  */
   17107 #include <sys/types.h>
   17108 #include <$ac_hdr>
   17109 
   17110 int
   17111 main (void)
   17112 {
   17113 if ((DIR *) 0)
   17114 return 0;
   17115   ;
   17116   return 0;
   17117 }
   17118 _ACEOF
   17119 if ac_fn_c_try_compile "$LINENO"
   17120 then :
   17121   eval "$as_ac_Header=yes"
   17122 else $as_nop
   17123   eval "$as_ac_Header=no"
   17124 fi
   17125 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17126 fi
   17127 eval ac_res=\$$as_ac_Header
   17128 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   17129 printf "%s\n" "$ac_res" >&6; }
   17130 if eval test \"x\$"$as_ac_Header"\" = x"yes"
   17131 then :
   17132   cat >>confdefs.h <<_ACEOF
   17133 #define `printf "%s\n" "HAVE_$ac_hdr" | $as_tr_cpp` 1
   17134 _ACEOF
   17135 
   17136 ac_header_dirent=$ac_hdr; break
   17137 fi
   17138 
   17139 done
   17140 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
   17141 if test $ac_header_dirent = dirent.h; then
   17142   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
   17143 printf %s "checking for library containing opendir... " >&6; }
   17144 if test ${ac_cv_search_opendir+y}
   17145 then :
   17146   printf %s "(cached) " >&6
   17147 else $as_nop
   17148   ac_func_search_save_LIBS=$LIBS
   17149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17150 /* end confdefs.h.  */
   17151 
   17152 /* Override any GCC internal prototype to avoid an error.
   17153    Use char because int might match the return type of a GCC
   17154    builtin and then its argument prototype would still apply.  */
   17155 char opendir ();
   17156 int
   17157 main (void)
   17158 {
   17159 return opendir ();
   17160   ;
   17161   return 0;
   17162 }
   17163 _ACEOF
   17164 for ac_lib in '' dir
   17165 do
   17166   if test -z "$ac_lib"; then
   17167     ac_res="none required"
   17168   else
   17169     ac_res=-l$ac_lib
   17170     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   17171   fi
   17172   if ac_fn_c_try_link "$LINENO"
   17173 then :
   17174   ac_cv_search_opendir=$ac_res
   17175 fi
   17176 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17177     conftest$ac_exeext
   17178   if test ${ac_cv_search_opendir+y}
   17179 then :
   17180   break
   17181 fi
   17182 done
   17183 if test ${ac_cv_search_opendir+y}
   17184 then :
   17185 
   17186 else $as_nop
   17187   ac_cv_search_opendir=no
   17188 fi
   17189 rm conftest.$ac_ext
   17190 LIBS=$ac_func_search_save_LIBS
   17191 fi
   17192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
   17193 printf "%s\n" "$ac_cv_search_opendir" >&6; }
   17194 ac_res=$ac_cv_search_opendir
   17195 if test "$ac_res" != no
   17196 then :
   17197   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   17198 
   17199 fi
   17200 
   17201 else
   17202   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
   17203 printf %s "checking for library containing opendir... " >&6; }
   17204 if test ${ac_cv_search_opendir+y}
   17205 then :
   17206   printf %s "(cached) " >&6
   17207 else $as_nop
   17208   ac_func_search_save_LIBS=$LIBS
   17209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17210 /* end confdefs.h.  */
   17211 
   17212 /* Override any GCC internal prototype to avoid an error.
   17213    Use char because int might match the return type of a GCC
   17214    builtin and then its argument prototype would still apply.  */
   17215 char opendir ();
   17216 int
   17217 main (void)
   17218 {
   17219 return opendir ();
   17220   ;
   17221   return 0;
   17222 }
   17223 _ACEOF
   17224 for ac_lib in '' x
   17225 do
   17226   if test -z "$ac_lib"; then
   17227     ac_res="none required"
   17228   else
   17229     ac_res=-l$ac_lib
   17230     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   17231   fi
   17232   if ac_fn_c_try_link "$LINENO"
   17233 then :
   17234   ac_cv_search_opendir=$ac_res
   17235 fi
   17236 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17237     conftest$ac_exeext
   17238   if test ${ac_cv_search_opendir+y}
   17239 then :
   17240   break
   17241 fi
   17242 done
   17243 if test ${ac_cv_search_opendir+y}
   17244 then :
   17245 
   17246 else $as_nop
   17247   ac_cv_search_opendir=no
   17248 fi
   17249 rm conftest.$ac_ext
   17250 LIBS=$ac_func_search_save_LIBS
   17251 fi
   17252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
   17253 printf "%s\n" "$ac_cv_search_opendir" >&6; }
   17254 ac_res=$ac_cv_search_opendir
   17255 if test "$ac_res" != no
   17256 then :
   17257   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   17258 
   17259 fi
   17260 
   17261 fi
   17262 
   17263 # Autoupdate added the next two lines to ensure that your configure
   17264 # script's behavior did not change.  They are probably safe to remove.
   17265 
   17266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   17267 printf %s "checking for egrep... " >&6; }
   17268 if test ${ac_cv_path_EGREP+y}
   17269 then :
   17270   printf %s "(cached) " >&6
   17271 else $as_nop
   17272   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   17273    then ac_cv_path_EGREP="$GREP -E"
   17274    else
   17275      if test -z "$EGREP"; then
   17276   ac_path_EGREP_found=false
   17277   # Loop through the user's path and test for each of PROGNAME-LIST
   17278   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17279 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   17280 do
   17281   IFS=$as_save_IFS
   17282   case $as_dir in #(((
   17283     '') as_dir=./ ;;
   17284     */) ;;
   17285     *) as_dir=$as_dir/ ;;
   17286   esac
   17287     for ac_prog in egrep
   17288    do
   17289     for ac_exec_ext in '' $ac_executable_extensions; do
   17290       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   17291       as_fn_executable_p "$ac_path_EGREP" || continue
   17292 # Check for GNU ac_path_EGREP and select it if it is found.
   17293   # Check for GNU $ac_path_EGREP
   17294 case `"$ac_path_EGREP" --version 2>&1` in
   17295 *GNU*)
   17296   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   17297 *)
   17298   ac_count=0
   17299   printf %s 0123456789 >"conftest.in"
   17300   while :
   17301   do
   17302     cat "conftest.in" "conftest.in" >"conftest.tmp"
   17303     mv "conftest.tmp" "conftest.in"
   17304     cp "conftest.in" "conftest.nl"
   17305     printf "%s\n" 'EGREP' >> "conftest.nl"
   17306     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   17307     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   17308     as_fn_arith $ac_count + 1 && ac_count=$as_val
   17309     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   17310       # Best one so far, save it but keep looking for a better one
   17311       ac_cv_path_EGREP="$ac_path_EGREP"
   17312       ac_path_EGREP_max=$ac_count
   17313     fi
   17314     # 10*(2^10) chars as input seems more than enough
   17315     test $ac_count -gt 10 && break
   17316   done
   17317   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   17318 esac
   17319 
   17320       $ac_path_EGREP_found && break 3
   17321     done
   17322   done
   17323   done
   17324 IFS=$as_save_IFS
   17325   if test -z "$ac_cv_path_EGREP"; then
   17326     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   17327   fi
   17328 else
   17329   ac_cv_path_EGREP=$EGREP
   17330 fi
   17331 
   17332    fi
   17333 fi
   17334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   17335 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   17336  EGREP="$ac_cv_path_EGREP"
   17337 
   17338 
   17339 
   17340 ac_fn_c_check_header_compile "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default"
   17341 if test "x$ac_cv_header_dirent_h" = xyes
   17342 then :
   17343   printf "%s\n" "#define HAVE_DIRENT_H 1" >>confdefs.h
   17344 
   17345 fi
   17346 ac_fn_c_check_header_compile "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default"
   17347 if test "x$ac_cv_header_fcntl_h" = xyes
   17348 then :
   17349   printf "%s\n" "#define HAVE_FCNTL_H 1" >>confdefs.h
   17350 
   17351 fi
   17352 ac_fn_c_check_header_compile "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
   17353 if test "x$ac_cv_header_stdlib_h" = xyes
   17354 then :
   17355   printf "%s\n" "#define HAVE_STDLIB_H 1" >>confdefs.h
   17356 
   17357 fi
   17358 ac_fn_c_check_header_compile "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
   17359 if test "x$ac_cv_header_string_h" = xyes
   17360 then :
   17361   printf "%s\n" "#define HAVE_STRING_H 1" >>confdefs.h
   17362 
   17363 fi
   17364 ac_fn_c_check_header_compile "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
   17365 if test "x$ac_cv_header_unistd_h" = xyes
   17366 then :
   17367   printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h
   17368 
   17369 fi
   17370 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
   17371 if test "x$ac_cv_header_sys_statvfs_h" = xyes
   17372 then :
   17373   printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
   17374 
   17375 fi
   17376 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "$ac_includes_default"
   17377 if test "x$ac_cv_header_sys_vfs_h" = xyes
   17378 then :
   17379   printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
   17380 
   17381 fi
   17382 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "$ac_includes_default"
   17383 if test "x$ac_cv_header_sys_statfs_h" = xyes
   17384 then :
   17385   printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
   17386 
   17387 fi
   17388 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
   17389 if test "x$ac_cv_header_sys_param_h" = xyes
   17390 then :
   17391   printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
   17392 
   17393 fi
   17394 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "$ac_includes_default"
   17395 if test "x$ac_cv_header_sys_mount_h" = xyes
   17396 then :
   17397   printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
   17398 
   17399 fi
   17400 
   17401 # ------ AX CREATE STDINT H -------------------------------------
   17402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdint types" >&5
   17403 printf %s "checking for stdint types... " >&6; }
   17404 ac_stdint_h=`echo src/fcstdint.h`
   17405 # try to shortcircuit - if the default include path of the compiler
   17406 # can find a "stdint.h" header then we assume that all compilers can.
   17407 if test ${ac_cv_header_stdint_t+y}
   17408 then :
   17409   printf %s "(cached) " >&6
   17410 else $as_nop
   17411 
   17412 old_CXXFLAGS="$CXXFLAGS" ; CXXFLAGS=""
   17413 old_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS=""
   17414 old_CFLAGS="$CFLAGS"     ; CFLAGS=""
   17415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17416 /* end confdefs.h.  */
   17417 #include <stdint.h>
   17418 int
   17419 main (void)
   17420 {
   17421 int_least32_t v = 0;
   17422   ;
   17423   return 0;
   17424 }
   17425 _ACEOF
   17426 if ac_fn_c_try_compile "$LINENO"
   17427 then :
   17428   ac_cv_stdint_result="(assuming C99 compatible system)"
   17429  ac_cv_header_stdint_t="stdint.h";
   17430 else $as_nop
   17431   ac_cv_header_stdint_t=""
   17432 fi
   17433 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17434 if test "$GCC" = "yes" && test ".$ac_cv_header_stdint_t" = "."; then
   17435 CFLAGS="-std=c99"
   17436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17437 /* end confdefs.h.  */
   17438 #include <stdint.h>
   17439 int
   17440 main (void)
   17441 {
   17442 int_least32_t v = 0;
   17443   ;
   17444   return 0;
   17445 }
   17446 _ACEOF
   17447 if ac_fn_c_try_compile "$LINENO"
   17448 then :
   17449   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&5
   17450 printf "%s\n" "$as_me: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&2;}
   17451 fi
   17452 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17453 fi
   17454 CXXFLAGS="$old_CXXFLAGS"
   17455 CPPFLAGS="$old_CPPFLAGS"
   17456 CFLAGS="$old_CFLAGS"
   17457 fi
   17458 
   17459 
   17460 v="... $ac_cv_header_stdint_h"
   17461 if test "$ac_stdint_h" = "stdint.h" ; then
   17462  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./stdint.h?)" >&5
   17463 printf "%s\n" "(are you sure you want them in ./stdint.h?)" >&6; }
   17464 elif test "$ac_stdint_h" = "inttypes.h" ; then
   17465  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./inttypes.h?)" >&5
   17466 printf "%s\n" "(are you sure you want them in ./inttypes.h?)" >&6; }
   17467 elif test "_$ac_cv_header_stdint_t" = "_" ; then
   17468  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (putting them into $ac_stdint_h)$v" >&5
   17469 printf "%s\n" "(putting them into $ac_stdint_h)$v" >&6; }
   17470 else
   17471  ac_cv_header_stdint="$ac_cv_header_stdint_t"
   17472  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint (shortcircuit)" >&5
   17473 printf "%s\n" "$ac_cv_header_stdint (shortcircuit)" >&6; }
   17474 fi
   17475 
   17476 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
   17477 
   17478 
   17479 inttype_headers=`echo  | sed -e 's/,/ /g'`
   17480 
   17481 ac_cv_stdint_result="(no helpful system typedefs seen)"
   17482 
   17483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
   17484 printf %s "checking for stdint uintptr_t... " >&6; }
   17485 if test ${ac_cv_header_stdint_x+y}
   17486 then :
   17487   printf %s "(cached) " >&6
   17488 else $as_nop
   17489 
   17490  ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h)
   17491   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
   17492 printf "%s\n" "(..)" >&6; }
   17493   for i in    stdint.h inttypes.h sys/inttypes.h $inttype_headers
   17494   do
   17495    unset ac_cv_type_uintptr_t
   17496    unset ac_cv_type_uint64_t
   17497    ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <$i>
   17498 "
   17499 if test "x$ac_cv_type_uintptr_t" = xyes
   17500 then :
   17501   ac_cv_header_stdint_x=$i
   17502 else $as_nop
   17503   continue
   17504 fi
   17505 
   17506    ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
   17507 "
   17508 if test "x$ac_cv_type_uint64_t" = xyes
   17509 then :
   17510   and64="/uint64_t"
   17511 else $as_nop
   17512   and64=""
   17513 fi
   17514 
   17515    ac_cv_stdint_result="(seen uintptr_t$and64 in $i)"
   17516  break
   17517   done
   17518   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
   17519 printf %s "checking for stdint uintptr_t... " >&6; }
   17520 
   17521 fi
   17522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_x" >&5
   17523 printf "%s\n" "$ac_cv_header_stdint_x" >&6; }
   17524 
   17525 
   17526 if test "_$ac_cv_header_stdint_x" = "_" ; then
   17527 
   17528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
   17529 printf %s "checking for stdint uint32_t... " >&6; }
   17530 if test ${ac_cv_header_stdint_o+y}
   17531 then :
   17532   printf %s "(cached) " >&6
   17533 else $as_nop
   17534 
   17535  ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h)
   17536   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
   17537 printf "%s\n" "(..)" >&6; }
   17538   for i in    inttypes.h sys/inttypes.h stdint.h $inttype_headers
   17539   do
   17540    unset ac_cv_type_uint32_t
   17541    unset ac_cv_type_uint64_t
   17542    ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <$i>
   17543 "
   17544 if test "x$ac_cv_type_uint32_t" = xyes
   17545 then :
   17546   ac_cv_header_stdint_o=$i
   17547 else $as_nop
   17548   continue
   17549 fi
   17550 
   17551    ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
   17552 "
   17553 if test "x$ac_cv_type_uint64_t" = xyes
   17554 then :
   17555   and64="/uint64_t"
   17556 else $as_nop
   17557   and64=""
   17558 fi
   17559 
   17560    ac_cv_stdint_result="(seen uint32_t$and64 in $i)"
   17561  break
   17562    break;
   17563   done
   17564   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
   17565 printf %s "checking for stdint uint32_t... " >&6; }
   17566 
   17567 fi
   17568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_o" >&5
   17569 printf "%s\n" "$ac_cv_header_stdint_o" >&6; }
   17570 
   17571 fi
   17572 
   17573 if test "_$ac_cv_header_stdint_x" = "_" ; then
   17574 if test "_$ac_cv_header_stdint_o" = "_" ; then
   17575 
   17576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
   17577 printf %s "checking for stdint u_int32_t... " >&6; }
   17578 if test ${ac_cv_header_stdint_u+y}
   17579 then :
   17580   printf %s "(cached) " >&6
   17581 else $as_nop
   17582 
   17583  ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h)
   17584   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
   17585 printf "%s\n" "(..)" >&6; }
   17586   for i in    sys/types.h inttypes.h sys/inttypes.h $inttype_headers ; do
   17587    unset ac_cv_type_u_int32_t
   17588    unset ac_cv_type_u_int64_t
   17589    ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <$i>
   17590 "
   17591 if test "x$ac_cv_type_u_int32_t" = xyes
   17592 then :
   17593   ac_cv_header_stdint_u=$i
   17594 else $as_nop
   17595   continue
   17596 fi
   17597 
   17598    ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include<$i>
   17599 "
   17600 if test "x$ac_cv_type_u_int64_t" = xyes
   17601 then :
   17602   and64="/u_int64_t"
   17603 else $as_nop
   17604   and64=""
   17605 fi
   17606 
   17607    ac_cv_stdint_result="(seen u_int32_t$and64 in $i)"
   17608  break
   17609    break;
   17610   done
   17611   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
   17612 printf %s "checking for stdint u_int32_t... " >&6; }
   17613 
   17614 fi
   17615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_u" >&5
   17616 printf "%s\n" "$ac_cv_header_stdint_u" >&6; }
   17617 
   17618 fi fi
   17619 
   17620 if test "_$ac_cv_header_stdint_x" = "_" ; then
   17621    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdint datatype model" >&5
   17622 printf %s "checking for stdint datatype model... " >&6; }
   17623    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
   17624 printf "%s\n" "(..)" >&6; }
   17625 
   17626    # The cast to long int works around a bug in the HP C Compiler
   17627 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   17628 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   17629 # This bug is HP SR number 8606223364.
   17630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
   17631 printf %s "checking size of char... " >&6; }
   17632 if test ${ac_cv_sizeof_char+y}
   17633 then :
   17634   printf %s "(cached) " >&6
   17635 else $as_nop
   17636   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"
   17637 then :
   17638 
   17639 else $as_nop
   17640   if test "$ac_cv_type_char" = yes; then
   17641      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17642 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   17643 as_fn_error 77 "cannot compute sizeof (char)
   17644 See \`config.log' for more details" "$LINENO" 5; }
   17645    else
   17646      ac_cv_sizeof_char=0
   17647    fi
   17648 fi
   17649 
   17650 fi
   17651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
   17652 printf "%s\n" "$ac_cv_sizeof_char" >&6; }
   17653 
   17654 
   17655 
   17656 printf "%s\n" "#define SIZEOF_CHAR $ac_cv_sizeof_char" >>confdefs.h
   17657 
   17658 
   17659    # The cast to long int works around a bug in the HP C Compiler
   17660 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   17661 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   17662 # This bug is HP SR number 8606223364.
   17663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
   17664 printf %s "checking size of short... " >&6; }
   17665 if test ${ac_cv_sizeof_short+y}
   17666 then :
   17667   printf %s "(cached) " >&6
   17668 else $as_nop
   17669   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"
   17670 then :
   17671 
   17672 else $as_nop
   17673   if test "$ac_cv_type_short" = yes; then
   17674      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17675 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   17676 as_fn_error 77 "cannot compute sizeof (short)
   17677 See \`config.log' for more details" "$LINENO" 5; }
   17678    else
   17679      ac_cv_sizeof_short=0
   17680    fi
   17681 fi
   17682 
   17683 fi
   17684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
   17685 printf "%s\n" "$ac_cv_sizeof_short" >&6; }
   17686 
   17687 
   17688 
   17689 printf "%s\n" "#define SIZEOF_SHORT $ac_cv_sizeof_short" >>confdefs.h
   17690 
   17691 
   17692    # The cast to long int works around a bug in the HP C Compiler
   17693 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   17694 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   17695 # This bug is HP SR number 8606223364.
   17696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
   17697 printf %s "checking size of int... " >&6; }
   17698 if test ${ac_cv_sizeof_int+y}
   17699 then :
   17700   printf %s "(cached) " >&6
   17701 else $as_nop
   17702   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"
   17703 then :
   17704 
   17705 else $as_nop
   17706   if test "$ac_cv_type_int" = yes; then
   17707      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17708 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   17709 as_fn_error 77 "cannot compute sizeof (int)
   17710 See \`config.log' for more details" "$LINENO" 5; }
   17711    else
   17712      ac_cv_sizeof_int=0
   17713    fi
   17714 fi
   17715 
   17716 fi
   17717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
   17718 printf "%s\n" "$ac_cv_sizeof_int" >&6; }
   17719 
   17720 
   17721 
   17722 printf "%s\n" "#define SIZEOF_INT $ac_cv_sizeof_int" >>confdefs.h
   17723 
   17724 
   17725    # The cast to long int works around a bug in the HP C Compiler
   17726 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   17727 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   17728 # This bug is HP SR number 8606223364.
   17729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
   17730 printf %s "checking size of long... " >&6; }
   17731 if test ${ac_cv_sizeof_long+y}
   17732 then :
   17733   printf %s "(cached) " >&6
   17734 else $as_nop
   17735   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"
   17736 then :
   17737 
   17738 else $as_nop
   17739   if test "$ac_cv_type_long" = yes; then
   17740      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17741 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   17742 as_fn_error 77 "cannot compute sizeof (long)
   17743 See \`config.log' for more details" "$LINENO" 5; }
   17744    else
   17745      ac_cv_sizeof_long=0
   17746    fi
   17747 fi
   17748 
   17749 fi
   17750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
   17751 printf "%s\n" "$ac_cv_sizeof_long" >&6; }
   17752 
   17753 
   17754 
   17755 printf "%s\n" "#define SIZEOF_LONG $ac_cv_sizeof_long" >>confdefs.h
   17756 
   17757 
   17758    # The cast to long int works around a bug in the HP C Compiler
   17759 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   17760 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   17761 # This bug is HP SR number 8606223364.
   17762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
   17763 printf %s "checking size of void*... " >&6; }
   17764 if test ${ac_cv_sizeof_voidp+y}
   17765 then :
   17766   printf %s "(cached) " >&6
   17767 else $as_nop
   17768   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp"        "$ac_includes_default"
   17769 then :
   17770 
   17771 else $as_nop
   17772   if test "$ac_cv_type_voidp" = yes; then
   17773      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17774 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   17775 as_fn_error 77 "cannot compute sizeof (void*)
   17776 See \`config.log' for more details" "$LINENO" 5; }
   17777    else
   17778      ac_cv_sizeof_voidp=0
   17779    fi
   17780 fi
   17781 
   17782 fi
   17783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
   17784 printf "%s\n" "$ac_cv_sizeof_voidp" >&6; }
   17785 
   17786 
   17787 
   17788 printf "%s\n" "#define SIZEOF_VOIDP $ac_cv_sizeof_voidp" >>confdefs.h
   17789 
   17790 
   17791    ac_cv_char_data_model=""
   17792    ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_char"
   17793    ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_short"
   17794    ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_int"
   17795    ac_cv_long_data_model=""
   17796    ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_int"
   17797    ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_long"
   17798    ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
   17799    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking data model" >&5
   17800 printf %s "checking data model... " >&6; }
   17801    case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
   17802     122/242)     ac_cv_data_model="IP16"  ; n="standard 16bit machine" ;;
   17803     122/244)     ac_cv_data_model="LP32"  ; n="standard 32bit machine" ;;
   17804     122/*)       ac_cv_data_model="i16"   ; n="unusual int16 model" ;;
   17805     124/444)     ac_cv_data_model="ILP32" ; n="standard 32bit unixish" ;;
   17806     124/488)     ac_cv_data_model="LP64"  ; n="standard 64bit unixish" ;;
   17807     124/448)     ac_cv_data_model="LLP64" ; n="unusual 64bit unixish" ;;
   17808     124/*)       ac_cv_data_model="i32"   ; n="unusual int32 model" ;;
   17809     128/888)     ac_cv_data_model="ILP64" ; n="unusual 64bit numeric" ;;
   17810     128/*)       ac_cv_data_model="i64"   ; n="unusual int64 model" ;;
   17811     222/*2)      ac_cv_data_model="DSP16" ; n="strict 16bit dsptype" ;;
   17812     333/*3)      ac_cv_data_model="DSP24" ; n="strict 24bit dsptype" ;;
   17813     444/*4)      ac_cv_data_model="DSP32" ; n="strict 32bit dsptype" ;;
   17814     666/*6)      ac_cv_data_model="DSP48" ; n="strict 48bit dsptype" ;;
   17815     888/*8)      ac_cv_data_model="DSP64" ; n="strict 64bit dsptype" ;;
   17816     222/*|333/*|444/*|666/*|888/*) :
   17817                  ac_cv_data_model="iDSP"  ; n="unusual dsptype" ;;
   17818      *)          ac_cv_data_model="none"  ; n="very unusual model" ;;
   17819    esac
   17820    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
   17821 printf "%s\n" "$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6; }
   17822 
   17823 fi
   17824 
   17825 if test "_$ac_cv_header_stdint_x" != "_" ; then
   17826    ac_cv_header_stdint="$ac_cv_header_stdint_x"
   17827 elif  test "_$ac_cv_header_stdint_o" != "_" ; then
   17828    ac_cv_header_stdint="$ac_cv_header_stdint_o"
   17829 elif  test "_$ac_cv_header_stdint_u" != "_" ; then
   17830    ac_cv_header_stdint="$ac_cv_header_stdint_u"
   17831 else
   17832    ac_cv_header_stdint="stddef.h"
   17833 fi
   17834 
   17835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for extra inttypes in chosen header" >&5
   17836 printf %s "checking for extra inttypes in chosen header... " >&6; }
   17837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ($ac_cv_header_stdint)" >&5
   17838 printf "%s\n" "($ac_cv_header_stdint)" >&6; }
   17839 unset ac_cv_type_int_least32_t
   17840 unset ac_cv_type_int_fast32_t
   17841 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <$ac_cv_header_stdint>
   17842 "
   17843 if test "x$ac_cv_type_int_least32_t" = xyes
   17844 then :
   17845 
   17846 fi
   17847 
   17848 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include<$ac_cv_header_stdint>
   17849 "
   17850 if test "x$ac_cv_type_int_fast32_t" = xyes
   17851 then :
   17852 
   17853 fi
   17854 
   17855 ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "#include <$ac_cv_header_stdint>
   17856 "
   17857 if test "x$ac_cv_type_intmax_t" = xyes
   17858 then :
   17859 
   17860 fi
   17861 
   17862 
   17863 fi # shortcircut to system "stdint.h"
   17864 # ------------------ PREPARE VARIABLES ------------------------------
   17865 if test "$GCC" = "yes" ; then
   17866 ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
   17867 else
   17868 ac_cv_stdint_message="using $CC"
   17869 fi
   17870 
   17871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
   17872 printf "%s\n" "make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6; }
   17873 
   17874 # ----------------- DONE inttypes.h checks START header -------------
   17875 ac_config_commands="$ac_config_commands $ac_stdint_h"
   17876 
   17877 
   17878 
   17879 # Checks for typedefs, structures, and compiler characteristics.
   17880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
   17881 printf %s "checking for an ANSI C-conforming const... " >&6; }
   17882 if test ${ac_cv_c_const+y}
   17883 then :
   17884   printf %s "(cached) " >&6
   17885 else $as_nop
   17886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17887 /* end confdefs.h.  */
   17888 
   17889 int
   17890 main (void)
   17891 {
   17892 
   17893 #ifndef __cplusplus
   17894   /* Ultrix mips cc rejects this sort of thing.  */
   17895   typedef int charset[2];
   17896   const charset cs = { 0, 0 };
   17897   /* SunOS 4.1.1 cc rejects this.  */
   17898   char const *const *pcpcc;
   17899   char **ppc;
   17900   /* NEC SVR4.0.2 mips cc rejects this.  */
   17901   struct point {int x, y;};
   17902   static struct point const zero = {0,0};
   17903   /* IBM XL C 1.02.0.0 rejects this.
   17904      It does not let you subtract one const X* pointer from another in
   17905      an arm of an if-expression whose if-part is not a constant
   17906      expression */
   17907   const char *g = "string";
   17908   pcpcc = &g + (g ? g-g : 0);
   17909   /* HPUX 7.0 cc rejects these. */
   17910   ++pcpcc;
   17911   ppc = (char**) pcpcc;
   17912   pcpcc = (char const *const *) ppc;
   17913   { /* SCO 3.2v4 cc rejects this sort of thing.  */
   17914     char tx;
   17915     char *t = &tx;
   17916     char const *s = 0 ? (char *) 0 : (char const *) 0;
   17917 
   17918     *t++ = 0;
   17919     if (s) return 0;
   17920   }
   17921   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
   17922     int x[] = {25, 17};
   17923     const int *foo = &x[0];
   17924     ++foo;
   17925   }
   17926   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
   17927     typedef const int *iptr;
   17928     iptr p = 0;
   17929     ++p;
   17930   }
   17931   { /* IBM XL C 1.02.0.0 rejects this sort of thing, saying
   17932        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
   17933     struct s { int j; const int *ap[3]; } bx;
   17934     struct s *b = &bx; b->j = 5;
   17935   }
   17936   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
   17937     const int foo = 10;
   17938     if (!foo) return 0;
   17939   }
   17940   return !cs[0] && !zero.x;
   17941 #endif
   17942 
   17943   ;
   17944   return 0;
   17945 }
   17946 _ACEOF
   17947 if ac_fn_c_try_compile "$LINENO"
   17948 then :
   17949   ac_cv_c_const=yes
   17950 else $as_nop
   17951   ac_cv_c_const=no
   17952 fi
   17953 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17954 fi
   17955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
   17956 printf "%s\n" "$ac_cv_c_const" >&6; }
   17957 if test $ac_cv_c_const = no; then
   17958 
   17959 printf "%s\n" "#define const /**/" >>confdefs.h
   17960 
   17961 fi
   17962 
   17963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
   17964 printf %s "checking for inline... " >&6; }
   17965 if test ${ac_cv_c_inline+y}
   17966 then :
   17967   printf %s "(cached) " >&6
   17968 else $as_nop
   17969   ac_cv_c_inline=no
   17970 for ac_kw in inline __inline__ __inline; do
   17971   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17972 /* end confdefs.h.  */
   17973 #ifndef __cplusplus
   17974 typedef int foo_t;
   17975 static $ac_kw foo_t static_foo (void) {return 0; }
   17976 $ac_kw foo_t foo (void) {return 0; }
   17977 #endif
   17978 
   17979 _ACEOF
   17980 if ac_fn_c_try_compile "$LINENO"
   17981 then :
   17982   ac_cv_c_inline=$ac_kw
   17983 fi
   17984 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17985   test "$ac_cv_c_inline" != no && break
   17986 done
   17987 
   17988 fi
   17989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
   17990 printf "%s\n" "$ac_cv_c_inline" >&6; }
   17991 
   17992 case $ac_cv_c_inline in
   17993   inline | yes) ;;
   17994   *)
   17995     case $ac_cv_c_inline in
   17996       no) ac_val=;;
   17997       *) ac_val=$ac_cv_c_inline;;
   17998     esac
   17999     cat >>confdefs.h <<_ACEOF
   18000 #ifndef __cplusplus
   18001 #define inline $ac_val
   18002 #endif
   18003 _ACEOF
   18004     ;;
   18005 esac
   18006 
   18007 
   18008   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flexible array members" >&5
   18009 printf %s "checking for flexible array members... " >&6; }
   18010 if test ${ac_cv_c_flexmember+y}
   18011 then :
   18012   printf %s "(cached) " >&6
   18013 else $as_nop
   18014   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18015 /* end confdefs.h.  */
   18016 #include <stdlib.h>
   18017 	    #include <stdio.h>
   18018 	    #include <stddef.h>
   18019 	    struct s { int n; double d[]; };
   18020 int
   18021 main (void)
   18022 {
   18023 int m = getchar ();
   18024 	    struct s *p = (struct s *) malloc (offsetof (struct s, d)
   18025 					       + m * sizeof (double));
   18026 	    p->d[0] = 0.0;
   18027 	    return p->d != (double *) NULL;
   18028   ;
   18029   return 0;
   18030 }
   18031 _ACEOF
   18032 if ac_fn_c_try_compile "$LINENO"
   18033 then :
   18034   ac_cv_c_flexmember=yes
   18035 else $as_nop
   18036   ac_cv_c_flexmember=no
   18037 fi
   18038 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18039 fi
   18040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_flexmember" >&5
   18041 printf "%s\n" "$ac_cv_c_flexmember" >&6; }
   18042   if test $ac_cv_c_flexmember = yes; then
   18043 
   18044 printf "%s\n" "#define FLEXIBLE_ARRAY_MEMBER /**/" >>confdefs.h
   18045 
   18046   else
   18047     printf "%s\n" "#define FLEXIBLE_ARRAY_MEMBER 1" >>confdefs.h
   18048 
   18049   fi
   18050 
   18051 
   18052   ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default
   18053 "
   18054 if test "x$ac_cv_type_pid_t" = xyes
   18055 then :
   18056 
   18057 else $as_nop
   18058                                           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18059 /* end confdefs.h.  */
   18060 
   18061           #if defined _WIN64 && !defined __CYGWIN__
   18062           LLP64
   18063           #endif
   18064 
   18065 int
   18066 main (void)
   18067 {
   18068 
   18069   ;
   18070   return 0;
   18071 }
   18072 
   18073 _ACEOF
   18074 if ac_fn_c_try_compile "$LINENO"
   18075 then :
   18076   ac_pid_type='int'
   18077 else $as_nop
   18078   ac_pid_type='__int64'
   18079 fi
   18080 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18081 
   18082 printf "%s\n" "#define pid_t $ac_pid_type" >>confdefs.h
   18083 
   18084 
   18085 fi
   18086 
   18087 
   18088 
   18089 # Checks for library functions.
   18090 ac_func=
   18091 for ac_item in $ac_func_c_list
   18092 do
   18093   if test $ac_func; then
   18094     ac_fn_c_check_func "$LINENO" $ac_func ac_cv_func_$ac_func
   18095     if eval test \"x\$ac_cv_func_$ac_func\" = xyes; then
   18096       echo "#define $ac_item 1" >> confdefs.h
   18097     fi
   18098     ac_func=
   18099   else
   18100     ac_func=$ac_item
   18101   fi
   18102 done
   18103 
   18104 if test "x$ac_cv_func_vprintf" = xno
   18105 then :
   18106   ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
   18107 if test "x$ac_cv_func__doprnt" = xyes
   18108 then :
   18109 
   18110 printf "%s\n" "#define HAVE_DOPRNT 1" >>confdefs.h
   18111 
   18112 fi
   18113 
   18114 fi
   18115 
   18116 
   18117 
   18118 
   18119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
   18120 printf %s "checking for working mmap... " >&6; }
   18121 if test ${ac_cv_func_mmap_fixed_mapped+y}
   18122 then :
   18123   printf %s "(cached) " >&6
   18124 else $as_nop
   18125   if test "$cross_compiling" = yes
   18126 then :
   18127   case "$host_os" in # ((
   18128 			  # Guess yes on platforms where we know the result.
   18129 		  linux*) ac_cv_func_mmap_fixed_mapped=yes ;;
   18130 			  # If we don't know, assume the worst.
   18131 		  *)      ac_cv_func_mmap_fixed_mapped=no ;;
   18132 		esac
   18133 else $as_nop
   18134   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18135 /* end confdefs.h.  */
   18136 $ac_includes_default
   18137 /* malloc might have been renamed as rpl_malloc. */
   18138 #undef malloc
   18139 
   18140 /* Thanks to Mike Haertel and Jim Avera for this test.
   18141    Here is a matrix of mmap possibilities:
   18142 	mmap private not fixed
   18143 	mmap private fixed at somewhere currently unmapped
   18144 	mmap private fixed at somewhere already mapped
   18145 	mmap shared not fixed
   18146 	mmap shared fixed at somewhere currently unmapped
   18147 	mmap shared fixed at somewhere already mapped
   18148    For private mappings, we should verify that changes cannot be read()
   18149    back from the file, nor mmap's back from the file at a different
   18150    address.  (There have been systems where private was not correctly
   18151    implemented like the infamous i386 svr4.0, and systems where the
   18152    VM page cache was not coherent with the file system buffer cache
   18153    like early versions of FreeBSD and possibly contemporary NetBSD.)
   18154    For shared mappings, we should conversely verify that changes get
   18155    propagated back to all the places they're supposed to be.
   18156 
   18157    Grep wants private fixed already mapped.
   18158    The main things grep needs to know about mmap are:
   18159    * does it exist and is it safe to write into the mmap'd area
   18160    * how to use it (BSD variants)  */
   18161 
   18162 #include <fcntl.h>
   18163 #include <sys/mman.h>
   18164 
   18165 /* This mess was copied from the GNU getpagesize.h.  */
   18166 #ifndef HAVE_GETPAGESIZE
   18167 # ifdef _SC_PAGESIZE
   18168 #  define getpagesize() sysconf(_SC_PAGESIZE)
   18169 # else /* no _SC_PAGESIZE */
   18170 #  ifdef HAVE_SYS_PARAM_H
   18171 #   include <sys/param.h>
   18172 #   ifdef EXEC_PAGESIZE
   18173 #    define getpagesize() EXEC_PAGESIZE
   18174 #   else /* no EXEC_PAGESIZE */
   18175 #    ifdef NBPG
   18176 #     define getpagesize() NBPG * CLSIZE
   18177 #     ifndef CLSIZE
   18178 #      define CLSIZE 1
   18179 #     endif /* no CLSIZE */
   18180 #    else /* no NBPG */
   18181 #     ifdef NBPC
   18182 #      define getpagesize() NBPC
   18183 #     else /* no NBPC */
   18184 #      ifdef PAGESIZE
   18185 #       define getpagesize() PAGESIZE
   18186 #      endif /* PAGESIZE */
   18187 #     endif /* no NBPC */
   18188 #    endif /* no NBPG */
   18189 #   endif /* no EXEC_PAGESIZE */
   18190 #  else /* no HAVE_SYS_PARAM_H */
   18191 #   define getpagesize() 8192	/* punt totally */
   18192 #  endif /* no HAVE_SYS_PARAM_H */
   18193 # endif /* no _SC_PAGESIZE */
   18194 
   18195 #endif /* no HAVE_GETPAGESIZE */
   18196 
   18197 int
   18198 main (void)
   18199 {
   18200   char *data, *data2, *data3;
   18201   const char *cdata2;
   18202   int i, pagesize;
   18203   int fd, fd2;
   18204 
   18205   pagesize = getpagesize ();
   18206 
   18207   /* First, make a file with some known garbage in it. */
   18208   data = (char *) malloc (pagesize);
   18209   if (!data)
   18210     return 1;
   18211   for (i = 0; i < pagesize; ++i)
   18212     *(data + i) = rand ();
   18213   umask (0);
   18214   fd = creat ("conftest.mmap", 0600);
   18215   if (fd < 0)
   18216     return 2;
   18217   if (write (fd, data, pagesize) != pagesize)
   18218     return 3;
   18219   close (fd);
   18220 
   18221   /* Next, check that the tail of a page is zero-filled.  File must have
   18222      non-zero length, otherwise we risk SIGBUS for entire page.  */
   18223   fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
   18224   if (fd2 < 0)
   18225     return 4;
   18226   cdata2 = "";
   18227   if (write (fd2, cdata2, 1) != 1)
   18228     return 5;
   18229   data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
   18230   if (data2 == MAP_FAILED)
   18231     return 6;
   18232   for (i = 0; i < pagesize; ++i)
   18233     if (*(data2 + i))
   18234       return 7;
   18235   close (fd2);
   18236   if (munmap (data2, pagesize))
   18237     return 8;
   18238 
   18239   /* Next, try to mmap the file at a fixed address which already has
   18240      something else allocated at it.  If we can, also make sure that
   18241      we see the same garbage.  */
   18242   fd = open ("conftest.mmap", O_RDWR);
   18243   if (fd < 0)
   18244     return 9;
   18245   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
   18246 		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
   18247     return 10;
   18248   for (i = 0; i < pagesize; ++i)
   18249     if (*(data + i) != *(data2 + i))
   18250       return 11;
   18251 
   18252   /* Finally, make sure that changes to the mapped area do not
   18253      percolate back to the file as seen by read().  (This is a bug on
   18254      some variants of i386 svr4.0.)  */
   18255   for (i = 0; i < pagesize; ++i)
   18256     *(data2 + i) = *(data2 + i) + 1;
   18257   data3 = (char *) malloc (pagesize);
   18258   if (!data3)
   18259     return 12;
   18260   if (read (fd, data3, pagesize) != pagesize)
   18261     return 13;
   18262   for (i = 0; i < pagesize; ++i)
   18263     if (*(data + i) != *(data3 + i))
   18264       return 14;
   18265   close (fd);
   18266   free (data);
   18267   free (data3);
   18268   return 0;
   18269 }
   18270 _ACEOF
   18271 if ac_fn_c_try_run "$LINENO"
   18272 then :
   18273   ac_cv_func_mmap_fixed_mapped=yes
   18274 else $as_nop
   18275   ac_cv_func_mmap_fixed_mapped=no
   18276 fi
   18277 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   18278   conftest.$ac_objext conftest.beam conftest.$ac_ext
   18279 fi
   18280 
   18281 fi
   18282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
   18283 printf "%s\n" "$ac_cv_func_mmap_fixed_mapped" >&6; }
   18284 if test $ac_cv_func_mmap_fixed_mapped = yes; then
   18285 
   18286 printf "%s\n" "#define HAVE_MMAP 1" >>confdefs.h
   18287 
   18288 fi
   18289 rm -f conftest.mmap conftest.txt
   18290 
   18291 ac_fn_c_check_func "$LINENO" "link" "ac_cv_func_link"
   18292 if test "x$ac_cv_func_link" = xyes
   18293 then :
   18294   printf "%s\n" "#define HAVE_LINK 1" >>confdefs.h
   18295 
   18296 fi
   18297 ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
   18298 if test "x$ac_cv_func_mkstemp" = xyes
   18299 then :
   18300   printf "%s\n" "#define HAVE_MKSTEMP 1" >>confdefs.h
   18301 
   18302 fi
   18303 ac_fn_c_check_func "$LINENO" "mkostemp" "ac_cv_func_mkostemp"
   18304 if test "x$ac_cv_func_mkostemp" = xyes
   18305 then :
   18306   printf "%s\n" "#define HAVE_MKOSTEMP 1" >>confdefs.h
   18307 
   18308 fi
   18309 ac_fn_c_check_func "$LINENO" "_mktemp_s" "ac_cv_func__mktemp_s"
   18310 if test "x$ac_cv_func__mktemp_s" = xyes
   18311 then :
   18312   printf "%s\n" "#define HAVE__MKTEMP_S 1" >>confdefs.h
   18313 
   18314 fi
   18315 ac_fn_c_check_func "$LINENO" "mkdtemp" "ac_cv_func_mkdtemp"
   18316 if test "x$ac_cv_func_mkdtemp" = xyes
   18317 then :
   18318   printf "%s\n" "#define HAVE_MKDTEMP 1" >>confdefs.h
   18319 
   18320 fi
   18321 ac_fn_c_check_func "$LINENO" "getopt" "ac_cv_func_getopt"
   18322 if test "x$ac_cv_func_getopt" = xyes
   18323 then :
   18324   printf "%s\n" "#define HAVE_GETOPT 1" >>confdefs.h
   18325 
   18326 fi
   18327 ac_fn_c_check_func "$LINENO" "getopt_long" "ac_cv_func_getopt_long"
   18328 if test "x$ac_cv_func_getopt_long" = xyes
   18329 then :
   18330   printf "%s\n" "#define HAVE_GETOPT_LONG 1" >>confdefs.h
   18331 
   18332 fi
   18333 ac_fn_c_check_func "$LINENO" "getprogname" "ac_cv_func_getprogname"
   18334 if test "x$ac_cv_func_getprogname" = xyes
   18335 then :
   18336   printf "%s\n" "#define HAVE_GETPROGNAME 1" >>confdefs.h
   18337 
   18338 fi
   18339 ac_fn_c_check_func "$LINENO" "getexecname" "ac_cv_func_getexecname"
   18340 if test "x$ac_cv_func_getexecname" = xyes
   18341 then :
   18342   printf "%s\n" "#define HAVE_GETEXECNAME 1" >>confdefs.h
   18343 
   18344 fi
   18345 ac_fn_c_check_func "$LINENO" "rand" "ac_cv_func_rand"
   18346 if test "x$ac_cv_func_rand" = xyes
   18347 then :
   18348   printf "%s\n" "#define HAVE_RAND 1" >>confdefs.h
   18349 
   18350 fi
   18351 ac_fn_c_check_func "$LINENO" "random" "ac_cv_func_random"
   18352 if test "x$ac_cv_func_random" = xyes
   18353 then :
   18354   printf "%s\n" "#define HAVE_RANDOM 1" >>confdefs.h
   18355 
   18356 fi
   18357 ac_fn_c_check_func "$LINENO" "lrand48" "ac_cv_func_lrand48"
   18358 if test "x$ac_cv_func_lrand48" = xyes
   18359 then :
   18360   printf "%s\n" "#define HAVE_LRAND48 1" >>confdefs.h
   18361 
   18362 fi
   18363 ac_fn_c_check_func "$LINENO" "random_r" "ac_cv_func_random_r"
   18364 if test "x$ac_cv_func_random_r" = xyes
   18365 then :
   18366   printf "%s\n" "#define HAVE_RANDOM_R 1" >>confdefs.h
   18367 
   18368 fi
   18369 ac_fn_c_check_func "$LINENO" "rand_r" "ac_cv_func_rand_r"
   18370 if test "x$ac_cv_func_rand_r" = xyes
   18371 then :
   18372   printf "%s\n" "#define HAVE_RAND_R 1" >>confdefs.h
   18373 
   18374 fi
   18375 ac_fn_c_check_func "$LINENO" "readlink" "ac_cv_func_readlink"
   18376 if test "x$ac_cv_func_readlink" = xyes
   18377 then :
   18378   printf "%s\n" "#define HAVE_READLINK 1" >>confdefs.h
   18379 
   18380 fi
   18381 ac_fn_c_check_func "$LINENO" "fstatvfs" "ac_cv_func_fstatvfs"
   18382 if test "x$ac_cv_func_fstatvfs" = xyes
   18383 then :
   18384   printf "%s\n" "#define HAVE_FSTATVFS 1" >>confdefs.h
   18385 
   18386 fi
   18387 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
   18388 if test "x$ac_cv_func_fstatfs" = xyes
   18389 then :
   18390   printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
   18391 
   18392 fi
   18393 ac_fn_c_check_func "$LINENO" "lstat" "ac_cv_func_lstat"
   18394 if test "x$ac_cv_func_lstat" = xyes
   18395 then :
   18396   printf "%s\n" "#define HAVE_LSTAT 1" >>confdefs.h
   18397 
   18398 fi
   18399 ac_fn_c_check_func "$LINENO" "strerror" "ac_cv_func_strerror"
   18400 if test "x$ac_cv_func_strerror" = xyes
   18401 then :
   18402   printf "%s\n" "#define HAVE_STRERROR 1" >>confdefs.h
   18403 
   18404 fi
   18405 ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r"
   18406 if test "x$ac_cv_func_strerror_r" = xyes
   18407 then :
   18408   printf "%s\n" "#define HAVE_STRERROR_R 1" >>confdefs.h
   18409 
   18410 fi
   18411 
   18412 
   18413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for posix_fadvise in fcntl.h" >&5
   18414 printf %s "checking for posix_fadvise in fcntl.h... " >&6; }
   18415 if test ${ac_cv_func_posix_fadvise+y}
   18416 then :
   18417   printf %s "(cached) " >&6
   18418 else $as_nop
   18419   symbol="[^a-zA-Z_0-9]posix_fadvise[^a-zA-Z_0-9]"
   18420 ac_found=no
   18421 for ac_header in fcntl.h ; do
   18422   ac_safe=`echo "$ac_header" | sed 'y%./+-%__p_%' `
   18423   if test $ac_found != "yes" ; then
   18424       if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
   18425             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18426 /* end confdefs.h.  */
   18427 #include <$ac_header>
   18428 
   18429 _ACEOF
   18430 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   18431   $EGREP "$symbol" >/dev/null 2>&1
   18432 then :
   18433   ac_found="$ac_header"
   18434 fi
   18435 rm -rf conftest*
   18436 
   18437       fi
   18438   fi
   18439 done
   18440 if test "$ac_found" != "no" ; then
   18441   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_found" >&5
   18442 printf "%s\n" "$ac_found" >&6; }
   18443   fc_func_posix_fadvise=1
   18444 else
   18445   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18446 printf "%s\n" "no" >&6; }
   18447   fc_func_posix_fadvise=0
   18448 fi
   18449 
   18450 fi
   18451 
   18452 
   18453 printf "%s\n" "#define HAVE_POSIX_FADVISE $fc_func_posix_fadvise" >>confdefs.h
   18454 
   18455 
   18456 #
   18457 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "#include <sys/stat.h>
   18458 "
   18459 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
   18460 then :
   18461 
   18462 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
   18463 
   18464 
   18465 fi
   18466 
   18467 
   18468 #
   18469 if test "x$ac_cv_func_fstatvfs" = "xyes"; then
   18470 	ac_fn_c_check_member "$LINENO" "struct statvfs" "f_basetype" "ac_cv_member_struct_statvfs_f_basetype" "#include <sys/statvfs.h>
   18471 "
   18472 if test "x$ac_cv_member_struct_statvfs_f_basetype" = xyes
   18473 then :
   18474 
   18475 printf "%s\n" "#define HAVE_STRUCT_STATVFS_F_BASETYPE 1" >>confdefs.h
   18476 
   18477 
   18478 fi
   18479 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_fstypename" "ac_cv_member_struct_statvfs_f_fstypename" "#include <sys/statvfs.h>
   18480 "
   18481 if test "x$ac_cv_member_struct_statvfs_f_fstypename" = xyes
   18482 then :
   18483 
   18484 printf "%s\n" "#define HAVE_STRUCT_STATVFS_F_FSTYPENAME 1" >>confdefs.h
   18485 
   18486 
   18487 fi
   18488 
   18489 fi
   18490 if test "x$ac_cv_func_fstatfs" = "xyes"; then
   18491 	ac_fn_c_check_member "$LINENO" "struct statfs" "f_flags" "ac_cv_member_struct_statfs_f_flags" "
   18492 #ifdef HAVE_SYS_VFS_H
   18493 #include <sys/vfs.h>
   18494 #endif
   18495 #ifdef HAVE_SYS_STATFS_H
   18496 #include <sys/statfs.h>
   18497 #endif
   18498 #ifdef HAVE_SYS_PARAM_H
   18499 #include <sys/param.h>
   18500 #endif
   18501 #ifdef HAVE_SYS_MOUNT_H
   18502 #include <sys/mount.h>
   18503 #endif
   18504 "
   18505 if test "x$ac_cv_member_struct_statfs_f_flags" = xyes
   18506 then :
   18507 
   18508 printf "%s\n" "#define HAVE_STRUCT_STATFS_F_FLAGS 1" >>confdefs.h
   18509 
   18510 
   18511 fi
   18512 ac_fn_c_check_member "$LINENO" "struct statfs" "f_fstypename" "ac_cv_member_struct_statfs_f_fstypename" "
   18513 #ifdef HAVE_SYS_VFS_H
   18514 #include <sys/vfs.h>
   18515 #endif
   18516 #ifdef HAVE_SYS_STATFS_H
   18517 #include <sys/statfs.h>
   18518 #endif
   18519 #ifdef HAVE_SYS_PARAM_H
   18520 #include <sys/param.h>
   18521 #endif
   18522 #ifdef HAVE_SYS_MOUNT_H
   18523 #include <sys/mount.h>
   18524 #endif
   18525 "
   18526 if test "x$ac_cv_member_struct_statfs_f_fstypename" = xyes
   18527 then :
   18528 
   18529 printf "%s\n" "#define HAVE_STRUCT_STATFS_F_FSTYPENAME 1" >>confdefs.h
   18530 
   18531 
   18532 fi
   18533 
   18534 fi
   18535 ac_fn_c_check_member "$LINENO" "struct dirent" "d_type" "ac_cv_member_struct_dirent_d_type" "#include <dirent.h>
   18536 "
   18537 if test "x$ac_cv_member_struct_dirent_d_type" = xyes
   18538 then :
   18539 
   18540 printf "%s\n" "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
   18541 
   18542 
   18543 fi
   18544 
   18545 
   18546 # Check the argument type of the gperf hash/lookup function
   18547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking The type of len parameter of gperf hash/lookup function" >&5
   18548 printf %s "checking The type of len parameter of gperf hash/lookup function... " >&6; }
   18549 fc_gperf_test="$(echo 'foo' | gperf -L ANSI-C)"
   18550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18551 /* end confdefs.h.  */
   18552 
   18553 	#include <string.h>
   18554 
   18555 	const char *in_word_set(register const char *, register size_t);
   18556 	$fc_gperf_test
   18557 
   18558 int
   18559 main (void)
   18560 {
   18561 
   18562   ;
   18563   return 0;
   18564 }
   18565 _ACEOF
   18566 if ac_fn_c_try_compile "$LINENO"
   18567 then :
   18568   FC_GPERF_SIZE_T=size_t
   18569 else $as_nop
   18570   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18571 /* end confdefs.h.  */
   18572 
   18573 		#include <string.h>
   18574 
   18575 		const char *in_word_set(register const char *, register unsigned int);
   18576 		$fc_gperf_test
   18577 
   18578 int
   18579 main (void)
   18580 {
   18581 
   18582   ;
   18583   return 0;
   18584 }
   18585 _ACEOF
   18586 if ac_fn_c_try_compile "$LINENO"
   18587 then :
   18588   FC_GPERF_SIZE_T="unsigned int"
   18589 else $as_nop
   18590   as_fn_error $? "Unable to determine the type of the len parameter of the gperf hash/lookup function" "$LINENO" 5
   18591 
   18592 fi
   18593 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18594 fi
   18595 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18596 
   18597 printf "%s\n" "#define FC_GPERF_SIZE_T $FC_GPERF_SIZE_T" >>confdefs.h
   18598 
   18599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FC_GPERF_SIZE_T" >&5
   18600 printf "%s\n" "$FC_GPERF_SIZE_T" >&6; }
   18601 
   18602 #
   18603 # Checks for iconv
   18604 #
   18605 # Check whether --enable-iconv was given.
   18606 if test ${enable_iconv+y}
   18607 then :
   18608   enableval=$enable_iconv;
   18609 else $as_nop
   18610   enable_iconv=no
   18611 fi
   18612 
   18613 
   18614 # Check whether --with-libiconv was given.
   18615 if test ${with_libiconv+y}
   18616 then :
   18617   withval=$with_libiconv; if test "x$withval" = "xyes"; then
   18618 		libiconv_prefix=$prefix
   18619 	 else
   18620 		libiconv_prefix=$withval
   18621 	 fi
   18622 else $as_nop
   18623   libiconv_prefix=auto
   18624 fi
   18625 
   18626 
   18627 # Check whether --with-libiconv-includes was given.
   18628 if test ${with_libiconv_includes+y}
   18629 then :
   18630   withval=$with_libiconv_includes; libiconv_includes=$withval
   18631 else $as_nop
   18632   libiconv_includes=auto
   18633 fi
   18634 
   18635 
   18636 # Check whether --with-libiconv-lib was given.
   18637 if test ${with_libiconv_lib+y}
   18638 then :
   18639   withval=$with_libiconv_lib; libiconv_lib=$withval
   18640 else $as_nop
   18641   libiconv_lib=auto
   18642 fi
   18643 
   18644 
   18645 # if no libiconv,libiconv-includes,libiconv-lib are specified,
   18646 # libc's iconv has a priority.
   18647 if test "$libiconv_includes" != "auto" -a -r ${libiconv_includes}/iconv.h; then
   18648 	libiconv_cflags="-I${libiconv_includes}"
   18649 elif test "$libiconv_prefix" != "auto" -a -r ${libiconv_prefix}/include/iconv.h; then
   18650 	libiconv_cflags="-I${libiconv_prefix}/include"
   18651 else
   18652 	libiconv_cflags=""
   18653 fi
   18654 libiconv_libs=""
   18655 if test "x$libiconv_cflags" != "x"; then
   18656 	if test "$libiconv_lib" != "auto" -a -d ${libiconv_lib}; then
   18657 		libiconv_libs="-L${libiconv_lib} -liconv"
   18658 	elif test "$libiconv_prefix" != "auto" -a -d ${libiconv_prefix}/lib; then
   18659 		libiconv_libs="-L${libiconv_prefix}/lib -liconv"
   18660 	else
   18661 		libiconv_libs="-liconv"
   18662 	fi
   18663 fi
   18664 
   18665 use_iconv=0
   18666 if test "x$enable_iconv" != "xno"; then
   18667 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a usable iconv" >&5
   18668 printf %s "checking for a usable iconv... " >&6; }
   18669 	if test "x$libiconv_cflags" != "x" -o "x$libiconv_libs" != "x"; then
   18670 		iconvsaved_CFLAGS="$CFLAGS"
   18671 		iconvsaved_LIBS="$LIBS"
   18672 		CFLAGS="$CFLAGS $libiconv_cflags"
   18673 		LIBS="$LIBS $libiconv_libs"
   18674 
   18675 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18676 /* end confdefs.h.  */
   18677 #include <iconv.h>
   18678 int
   18679 main (void)
   18680 {
   18681 iconv_open ("from", "to");
   18682   ;
   18683   return 0;
   18684 }
   18685 _ACEOF
   18686 if ac_fn_c_try_link "$LINENO"
   18687 then :
   18688   iconv_type="libiconv"
   18689 			 use_iconv=1
   18690 			 ICONV_CFLAGS="$libiconv_cflags"
   18691 			 ICONV_LIBS="$libiconv_libs"
   18692 
   18693 else $as_nop
   18694   use_iconv=0
   18695 fi
   18696 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18697     conftest$ac_exeext conftest.$ac_ext
   18698 
   18699 		CFLAGS="$iconvsaved_CFLAGS"
   18700 		LIBS="$iconvsaved_LIBS"
   18701 	fi
   18702 	if test "x$use_iconv" = "x0"; then
   18703 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18704 /* end confdefs.h.  */
   18705 #include <iconv.h>
   18706 int
   18707 main (void)
   18708 {
   18709 iconv_open ("from", "to");
   18710   ;
   18711   return 0;
   18712 }
   18713 _ACEOF
   18714 if ac_fn_c_try_link "$LINENO"
   18715 then :
   18716   iconv_type="libc"
   18717 			 use_iconv=1
   18718 else $as_nop
   18719   iconv_type="not found"
   18720 			 use_iconv=0
   18721 fi
   18722 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18723     conftest$ac_exeext conftest.$ac_ext
   18724 	fi
   18725 
   18726 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $iconv_type" >&5
   18727 printf "%s\n" "$iconv_type" >&6; }
   18728 
   18729 
   18730 fi
   18731 
   18732 printf "%s\n" "#define USE_ICONV $use_iconv" >>confdefs.h
   18733 
   18734 #
   18735 # Checks for FreeType
   18736 #
   18737 
   18738 pkg_failed=no
   18739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5
   18740 printf %s "checking for FREETYPE... " >&6; }
   18741 
   18742 if test -n "$FREETYPE_CFLAGS"; then
   18743     pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
   18744  elif test -n "$PKG_CONFIG"; then
   18745     if test -n "$PKG_CONFIG" && \
   18746     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 21.0.15\""; } >&5
   18747   ($PKG_CONFIG --exists --print-errors "freetype2 >= 21.0.15") 2>&5
   18748   ac_status=$?
   18749   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18750   test $ac_status = 0; }; then
   18751   pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2 >= 21.0.15" 2>/dev/null`
   18752 		      test "x$?" != "x0" && pkg_failed=yes
   18753 else
   18754   pkg_failed=yes
   18755 fi
   18756  else
   18757     pkg_failed=untried
   18758 fi
   18759 if test -n "$FREETYPE_LIBS"; then
   18760     pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
   18761  elif test -n "$PKG_CONFIG"; then
   18762     if test -n "$PKG_CONFIG" && \
   18763     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 21.0.15\""; } >&5
   18764   ($PKG_CONFIG --exists --print-errors "freetype2 >= 21.0.15") 2>&5
   18765   ac_status=$?
   18766   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18767   test $ac_status = 0; }; then
   18768   pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2 >= 21.0.15" 2>/dev/null`
   18769 		      test "x$?" != "x0" && pkg_failed=yes
   18770 else
   18771   pkg_failed=yes
   18772 fi
   18773  else
   18774     pkg_failed=untried
   18775 fi
   18776 
   18777 
   18778 
   18779 if test $pkg_failed = yes; then
   18780    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18781 printf "%s\n" "no" >&6; }
   18782 
   18783 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18784         _pkg_short_errors_supported=yes
   18785 else
   18786         _pkg_short_errors_supported=no
   18787 fi
   18788         if test $_pkg_short_errors_supported = yes; then
   18789 	        FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "freetype2 >= 21.0.15" 2>&1`
   18790         else
   18791 	        FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "freetype2 >= 21.0.15" 2>&1`
   18792         fi
   18793 	# Put the nasty error message in config.log where it belongs
   18794 	echo "$FREETYPE_PKG_ERRORS" >&5
   18795 
   18796 	as_fn_error $? "Package requirements (freetype2 >= 21.0.15) were not met:
   18797 
   18798 $FREETYPE_PKG_ERRORS
   18799 
   18800 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18801 installed software in a non-standard prefix.
   18802 
   18803 Alternatively, you may set the environment variables FREETYPE_CFLAGS
   18804 and FREETYPE_LIBS to avoid the need to call pkg-config.
   18805 See the pkg-config man page for more details." "$LINENO" 5
   18806 elif test $pkg_failed = untried; then
   18807      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18808 printf "%s\n" "no" >&6; }
   18809 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18810 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   18811 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18812 is in your PATH or set the PKG_CONFIG environment variable to the full
   18813 path to pkg-config.
   18814 
   18815 Alternatively, you may set the environment variables FREETYPE_CFLAGS
   18816 and FREETYPE_LIBS to avoid the need to call pkg-config.
   18817 See the pkg-config man page for more details.
   18818 
   18819 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18820 See \`config.log' for more details" "$LINENO" 5; }
   18821 else
   18822 	FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
   18823 	FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
   18824         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18825 printf "%s\n" "yes" >&6; }
   18826 
   18827 fi
   18828 PKGCONFIG_REQUIRES="$PKGCONFIG_REQUIRES freetype2 >= 21.0.15"
   18829 
   18830 
   18831 
   18832 
   18833 fontconfig_save_libs="$LIBS"
   18834 fontconfig_save_cflags="$CFLAGS"
   18835 LIBS="$LIBS $FREETYPE_LIBS"
   18836 CFLAGS="$CFLAGS $FREETYPE_CFLAGS"
   18837 ac_fn_c_check_func "$LINENO" "FT_Get_BDF_Property" "ac_cv_func_FT_Get_BDF_Property"
   18838 if test "x$ac_cv_func_FT_Get_BDF_Property" = xyes
   18839 then :
   18840   printf "%s\n" "#define HAVE_FT_GET_BDF_PROPERTY 1" >>confdefs.h
   18841 
   18842 fi
   18843 ac_fn_c_check_func "$LINENO" "FT_Get_PS_Font_Info" "ac_cv_func_FT_Get_PS_Font_Info"
   18844 if test "x$ac_cv_func_FT_Get_PS_Font_Info" = xyes
   18845 then :
   18846   printf "%s\n" "#define HAVE_FT_GET_PS_FONT_INFO 1" >>confdefs.h
   18847 
   18848 fi
   18849 ac_fn_c_check_func "$LINENO" "FT_Has_PS_Glyph_Names" "ac_cv_func_FT_Has_PS_Glyph_Names"
   18850 if test "x$ac_cv_func_FT_Has_PS_Glyph_Names" = xyes
   18851 then :
   18852   printf "%s\n" "#define HAVE_FT_HAS_PS_GLYPH_NAMES 1" >>confdefs.h
   18853 
   18854 fi
   18855 ac_fn_c_check_func "$LINENO" "FT_Get_X11_Font_Format" "ac_cv_func_FT_Get_X11_Font_Format"
   18856 if test "x$ac_cv_func_FT_Get_X11_Font_Format" = xyes
   18857 then :
   18858   printf "%s\n" "#define HAVE_FT_GET_X11_FONT_FORMAT 1" >>confdefs.h
   18859 
   18860 fi
   18861 ac_fn_c_check_func "$LINENO" "FT_Done_MM_Var" "ac_cv_func_FT_Done_MM_Var"
   18862 if test "x$ac_cv_func_FT_Done_MM_Var" = xyes
   18863 then :
   18864   printf "%s\n" "#define HAVE_FT_DONE_MM_VAR 1" >>confdefs.h
   18865 
   18866 fi
   18867 
   18868 
   18869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18870 /* end confdefs.h.  */
   18871 
   18872 	#include <ft2build.h>
   18873 	#include FT_CONFIG_OPTIONS_H
   18874 	#ifndef PCF_CONFIG_OPTION_LONG_FAMILY_NAMES
   18875 	#  error "No pcf long family names support"
   18876 	#endif
   18877 
   18878 _ACEOF
   18879 if ac_fn_c_try_compile "$LINENO"
   18880 then :
   18881   have_pcf_long_family_names=yes
   18882 else $as_nop
   18883   have_pcf_long_family_names=no
   18884 fi
   18885 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18886  if test "x$have_pcf_long_family_names" = xyes; then
   18887   FREETYPE_PCF_LONG_FAMILY_NAMES_TRUE=
   18888   FREETYPE_PCF_LONG_FAMILY_NAMES_FALSE='#'
   18889 else
   18890   FREETYPE_PCF_LONG_FAMILY_NAMES_TRUE='#'
   18891   FREETYPE_PCF_LONG_FAMILY_NAMES_FALSE=
   18892 fi
   18893 
   18894 
   18895 LIBS="$fontconfig_save_libs"
   18896 CFLAGS="$fontconfig_save_cflags"
   18897 
   18898 #
   18899 # Check expat configuration
   18900 #
   18901 
   18902 # Check whether --with-expat was given.
   18903 if test ${with_expat+y}
   18904 then :
   18905   withval=$with_expat; expat_prefix=$withval
   18906 else $as_nop
   18907   expat_prefix=auto
   18908 fi
   18909 
   18910 
   18911 # Check whether --with-expat-includes was given.
   18912 if test ${with_expat_includes+y}
   18913 then :
   18914   withval=$with_expat_includes; expat_includes=$withval
   18915 else $as_nop
   18916   expat_includes=auto
   18917 fi
   18918 
   18919 
   18920 # Check whether --with-expat-lib was given.
   18921 if test ${with_expat_lib+y}
   18922 then :
   18923   withval=$with_expat_lib; expat_lib=$withval
   18924 else $as_nop
   18925   expat_lib=auto
   18926 fi
   18927 
   18928 
   18929 if test "$enable_libxml2" != "yes"; then
   18930 	use_pkgconfig_for_expat=yes
   18931 	if test "$expat_prefix" = "auto" -a "$expat_includes" = "auto" -a "$expat_lib" = "auto"; then
   18932 
   18933 pkg_failed=no
   18934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for EXPAT" >&5
   18935 printf %s "checking for EXPAT... " >&6; }
   18936 
   18937 if test -n "$EXPAT_CFLAGS"; then
   18938     pkg_cv_EXPAT_CFLAGS="$EXPAT_CFLAGS"
   18939  elif test -n "$PKG_CONFIG"; then
   18940     if test -n "$PKG_CONFIG" && \
   18941     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"expat\""; } >&5
   18942   ($PKG_CONFIG --exists --print-errors "expat") 2>&5
   18943   ac_status=$?
   18944   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18945   test $ac_status = 0; }; then
   18946   pkg_cv_EXPAT_CFLAGS=`$PKG_CONFIG --cflags "expat" 2>/dev/null`
   18947 		      test "x$?" != "x0" && pkg_failed=yes
   18948 else
   18949   pkg_failed=yes
   18950 fi
   18951  else
   18952     pkg_failed=untried
   18953 fi
   18954 if test -n "$EXPAT_LIBS"; then
   18955     pkg_cv_EXPAT_LIBS="$EXPAT_LIBS"
   18956  elif test -n "$PKG_CONFIG"; then
   18957     if test -n "$PKG_CONFIG" && \
   18958     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"expat\""; } >&5
   18959   ($PKG_CONFIG --exists --print-errors "expat") 2>&5
   18960   ac_status=$?
   18961   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18962   test $ac_status = 0; }; then
   18963   pkg_cv_EXPAT_LIBS=`$PKG_CONFIG --libs "expat" 2>/dev/null`
   18964 		      test "x$?" != "x0" && pkg_failed=yes
   18965 else
   18966   pkg_failed=yes
   18967 fi
   18968  else
   18969     pkg_failed=untried
   18970 fi
   18971 
   18972 
   18973 
   18974 if test $pkg_failed = yes; then
   18975    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18976 printf "%s\n" "no" >&6; }
   18977 
   18978 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18979         _pkg_short_errors_supported=yes
   18980 else
   18981         _pkg_short_errors_supported=no
   18982 fi
   18983         if test $_pkg_short_errors_supported = yes; then
   18984 	        EXPAT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "expat" 2>&1`
   18985         else
   18986 	        EXPAT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "expat" 2>&1`
   18987         fi
   18988 	# Put the nasty error message in config.log where it belongs
   18989 	echo "$EXPAT_PKG_ERRORS" >&5
   18990 
   18991 	use_pkgconfig_for_expat=no
   18992 elif test $pkg_failed = untried; then
   18993      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18994 printf "%s\n" "no" >&6; }
   18995 	use_pkgconfig_for_expat=no
   18996 else
   18997 	EXPAT_CFLAGS=$pkg_cv_EXPAT_CFLAGS
   18998 	EXPAT_LIBS=$pkg_cv_EXPAT_LIBS
   18999         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19000 printf "%s\n" "yes" >&6; }
   19001 
   19002 fi
   19003 	else
   19004 		use_pkgconfig_for_expat=no
   19005 	fi
   19006 	if test "x$use_pkgconfig_for_expat" = "xno"; then
   19007 		if test "$expat_includes" != "auto" -a -r ${expat_includes}/expat.h; then
   19008 			EXPAT_CFLAGS="-I${expat_includes}"
   19009 		elif test "$expat_prefix" != "auto" -a -r ${expat_prefix}/include/expat.h; then
   19010 			EXPAT_CFLAGS="-I${expat_prefix}/include"
   19011 		else
   19012 			EXPAT_CFLAGS=""
   19013 		fi
   19014 		if test "$expat_lib" != "auto"; then
   19015 			EXPAT_LIBS="-L${expat_lib} -lexpat"
   19016 		elif test "$expat_prefix" != "auto"; then
   19017 			EXPAT_LIBS="-L${expat_prefix}/lib -lexpat"
   19018 		else
   19019 			EXPAT_LIBS="-lexpat"
   19020 		fi
   19021 		PKG_EXPAT_CFLAGS=$EXPAT_CFLAGS
   19022 		PKG_EXPAT_LIBS=$EXPAT_LIBS
   19023 	else
   19024 		PKGCONFIG_REQUIRES_PRIVATELY="$PKGCONFIG_REQUIRES_PRIVATELY expat"
   19025 		PKG_EXPAT_CFLAGS=
   19026 		PKG_EXPAT_LIBS=
   19027 	fi
   19028 
   19029 	expatsaved_CPPFLAGS="$CPPFLAGS"
   19030 	expatsaved_LIBS="$LIBS"
   19031 	CPPFLAGS="$CPPFLAGS $EXPAT_CFLAGS"
   19032 	LIBS="$LIBS $EXPAT_LIBS"
   19033 
   19034 	ac_fn_c_check_header_compile "$LINENO" "expat.h" "ac_cv_header_expat_h" "$ac_includes_default"
   19035 if test "x$ac_cv_header_expat_h" = xyes
   19036 then :
   19037 
   19038 fi
   19039 
   19040 	if test "$ac_cv_header_expat_h" = "no"; then
   19041 		ac_fn_c_check_header_compile "$LINENO" "xmlparse.h" "ac_cv_header_xmlparse_h" "$ac_includes_default"
   19042 if test "x$ac_cv_header_xmlparse_h" = xyes
   19043 then :
   19044 
   19045 fi
   19046 
   19047 		if test "$ac_cv_header_xmlparse_h" = "yes"; then
   19048 			HAVE_XMLPARSE_H=1
   19049 
   19050 
   19051 printf "%s\n" "#define HAVE_XMLPARSE_H $HAVE_XMLPARSE_H" >>confdefs.h
   19052 
   19053 		else
   19054 			as_fn_error $? "
   19055 *** expat is required. or try to use --enable-libxml2" "$LINENO" 5
   19056 		fi
   19057 	fi
   19058 	ac_fn_c_check_func "$LINENO" "XML_SetDoctypeDeclHandler" "ac_cv_func_XML_SetDoctypeDeclHandler"
   19059 if test "x$ac_cv_func_XML_SetDoctypeDeclHandler" = xyes
   19060 then :
   19061   printf "%s\n" "#define HAVE_XML_SETDOCTYPEDECLHANDLER 1" >>confdefs.h
   19062 
   19063 fi
   19064 
   19065 	if test "$ac_cv_func_XML_SetDoctypeDeclHandler" = "no"; then
   19066 		as_fn_error $? "
   19067 *** expat is required. or try to use --enable-libxml2" "$LINENO" 5
   19068 	fi
   19069 	CPPFLAGS="$expatsaved_CPPFLAGS"
   19070 	LIBS="$expatsaved_LIBS"
   19071 
   19072 
   19073 
   19074 
   19075 
   19076 fi
   19077 
   19078 #
   19079 # Check libxml2 configuration
   19080 #
   19081 # Check whether --enable-libxml2 was given.
   19082 if test ${enable_libxml2+y}
   19083 then :
   19084   enableval=$enable_libxml2;
   19085 fi
   19086 
   19087 
   19088 if test "$enable_libxml2" = "yes"; then
   19089 
   19090 pkg_failed=no
   19091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBXML2" >&5
   19092 printf %s "checking for LIBXML2... " >&6; }
   19093 
   19094 if test -n "$LIBXML2_CFLAGS"; then
   19095     pkg_cv_LIBXML2_CFLAGS="$LIBXML2_CFLAGS"
   19096  elif test -n "$PKG_CONFIG"; then
   19097     if test -n "$PKG_CONFIG" && \
   19098     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.6\""; } >&5
   19099   ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.6") 2>&5
   19100   ac_status=$?
   19101   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19102   test $ac_status = 0; }; then
   19103   pkg_cv_LIBXML2_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6" 2>/dev/null`
   19104 		      test "x$?" != "x0" && pkg_failed=yes
   19105 else
   19106   pkg_failed=yes
   19107 fi
   19108  else
   19109     pkg_failed=untried
   19110 fi
   19111 if test -n "$LIBXML2_LIBS"; then
   19112     pkg_cv_LIBXML2_LIBS="$LIBXML2_LIBS"
   19113  elif test -n "$PKG_CONFIG"; then
   19114     if test -n "$PKG_CONFIG" && \
   19115     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.6\""; } >&5
   19116   ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.6") 2>&5
   19117   ac_status=$?
   19118   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19119   test $ac_status = 0; }; then
   19120   pkg_cv_LIBXML2_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6" 2>/dev/null`
   19121 		      test "x$?" != "x0" && pkg_failed=yes
   19122 else
   19123   pkg_failed=yes
   19124 fi
   19125  else
   19126     pkg_failed=untried
   19127 fi
   19128 
   19129 
   19130 
   19131 if test $pkg_failed = yes; then
   19132    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19133 printf "%s\n" "no" >&6; }
   19134 
   19135 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19136         _pkg_short_errors_supported=yes
   19137 else
   19138         _pkg_short_errors_supported=no
   19139 fi
   19140         if test $_pkg_short_errors_supported = yes; then
   19141 	        LIBXML2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0 >= 2.6" 2>&1`
   19142         else
   19143 	        LIBXML2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0 >= 2.6" 2>&1`
   19144         fi
   19145 	# Put the nasty error message in config.log where it belongs
   19146 	echo "$LIBXML2_PKG_ERRORS" >&5
   19147 
   19148 	as_fn_error $? "Package requirements (libxml-2.0 >= 2.6) were not met:
   19149 
   19150 $LIBXML2_PKG_ERRORS
   19151 
   19152 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19153 installed software in a non-standard prefix.
   19154 
   19155 Alternatively, you may set the environment variables LIBXML2_CFLAGS
   19156 and LIBXML2_LIBS to avoid the need to call pkg-config.
   19157 See the pkg-config man page for more details." "$LINENO" 5
   19158 elif test $pkg_failed = untried; then
   19159      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19160 printf "%s\n" "no" >&6; }
   19161 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19162 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   19163 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19164 is in your PATH or set the PKG_CONFIG environment variable to the full
   19165 path to pkg-config.
   19166 
   19167 Alternatively, you may set the environment variables LIBXML2_CFLAGS
   19168 and LIBXML2_LIBS to avoid the need to call pkg-config.
   19169 See the pkg-config man page for more details.
   19170 
   19171 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19172 See \`config.log' for more details" "$LINENO" 5; }
   19173 else
   19174 	LIBXML2_CFLAGS=$pkg_cv_LIBXML2_CFLAGS
   19175 	LIBXML2_LIBS=$pkg_cv_LIBXML2_LIBS
   19176         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19177 printf "%s\n" "yes" >&6; }
   19178 
   19179 fi
   19180     PKGCONFIG_REQUIRES_PRIVATELY="$PKGCONFIG_REQUIRES_PRIVATELY libxml-2.0 >= 2.6"
   19181 
   19182 printf "%s\n" "#define ENABLE_LIBXML2 1" >>confdefs.h
   19183 
   19184 
   19185 
   19186 
   19187 
   19188     fc_saved_CFLAGS="$CFLAGS"
   19189     CFLAGS="$CFLAGS $LIBXML2_CFLAGS"
   19190     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking SAX1 support in libxml2" >&5
   19191 printf %s "checking SAX1 support in libxml2... " >&6; }
   19192     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19193 /* end confdefs.h.  */
   19194 
   19195 	#include <libxml/xmlversion.h>
   19196 	#if !defined(LIBXML_SAX1_ENABLED)
   19197 	#  include "error: No SAX1 support in libxml2"
   19198 	#endif
   19199 
   19200 _ACEOF
   19201 if ac_fn_c_try_compile "$LINENO"
   19202 then :
   19203   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
   19204 printf "%s\n" "found" >&6; }
   19205 else $as_nop
   19206   as_fn_error $? "
   19207 *** SAX1 support in libxml2 is required. enable it or use expat instead." "$LINENO" 5
   19208 fi
   19209 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19210     CFLAGS="$fc_saved_CFLAGS"
   19211 fi
   19212 
   19213 #
   19214 # Check json-c
   19215 #
   19216 
   19217 pkg_failed=no
   19218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for JSONC" >&5
   19219 printf %s "checking for JSONC... " >&6; }
   19220 
   19221 if test -n "$JSONC_CFLAGS"; then
   19222     pkg_cv_JSONC_CFLAGS="$JSONC_CFLAGS"
   19223  elif test -n "$PKG_CONFIG"; then
   19224     if test -n "$PKG_CONFIG" && \
   19225     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c\""; } >&5
   19226   ($PKG_CONFIG --exists --print-errors "json-c") 2>&5
   19227   ac_status=$?
   19228   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19229   test $ac_status = 0; }; then
   19230   pkg_cv_JSONC_CFLAGS=`$PKG_CONFIG --cflags "json-c" 2>/dev/null`
   19231 		      test "x$?" != "x0" && pkg_failed=yes
   19232 else
   19233   pkg_failed=yes
   19234 fi
   19235  else
   19236     pkg_failed=untried
   19237 fi
   19238 if test -n "$JSONC_LIBS"; then
   19239     pkg_cv_JSONC_LIBS="$JSONC_LIBS"
   19240  elif test -n "$PKG_CONFIG"; then
   19241     if test -n "$PKG_CONFIG" && \
   19242     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c\""; } >&5
   19243   ($PKG_CONFIG --exists --print-errors "json-c") 2>&5
   19244   ac_status=$?
   19245   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19246   test $ac_status = 0; }; then
   19247   pkg_cv_JSONC_LIBS=`$PKG_CONFIG --libs "json-c" 2>/dev/null`
   19248 		      test "x$?" != "x0" && pkg_failed=yes
   19249 else
   19250   pkg_failed=yes
   19251 fi
   19252  else
   19253     pkg_failed=untried
   19254 fi
   19255 
   19256 
   19257 
   19258 if test $pkg_failed = yes; then
   19259    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19260 printf "%s\n" "no" >&6; }
   19261 
   19262 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19263         _pkg_short_errors_supported=yes
   19264 else
   19265         _pkg_short_errors_supported=no
   19266 fi
   19267         if test $_pkg_short_errors_supported = yes; then
   19268 	        JSONC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json-c" 2>&1`
   19269         else
   19270 	        JSONC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json-c" 2>&1`
   19271         fi
   19272 	# Put the nasty error message in config.log where it belongs
   19273 	echo "$JSONC_PKG_ERRORS" >&5
   19274 
   19275 	use_jsonc=no
   19276 elif test $pkg_failed = untried; then
   19277      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19278 printf "%s\n" "no" >&6; }
   19279 	use_jsonc=no
   19280 else
   19281 	JSONC_CFLAGS=$pkg_cv_JSONC_CFLAGS
   19282 	JSONC_LIBS=$pkg_cv_JSONC_LIBS
   19283         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19284 printf "%s\n" "yes" >&6; }
   19285 	use_jsonc=yes
   19286 fi
   19287 
   19288  if test "x$use_jsonc" = "xyes"; then
   19289   ENABLE_JSONC_TRUE=
   19290   ENABLE_JSONC_FALSE='#'
   19291 else
   19292   ENABLE_JSONC_TRUE='#'
   19293   ENABLE_JSONC_FALSE=
   19294 fi
   19295 
   19296 
   19297 
   19298 
   19299 #
   19300 # Set default hinting
   19301 #
   19302 
   19303 
   19304 # Check whether --with-default-hinting was given.
   19305 if test ${with_default_hinting+y}
   19306 then :
   19307   withval=$with_default_hinting; preferred_hinting="$withval"
   19308 else $as_nop
   19309   preferred_hinting=slight
   19310 fi
   19311 
   19312 
   19313 case "$preferred_hinting" in
   19314 none|slight|medium|full)
   19315 	PREFERRED_HINTING="$preferred_hinting"
   19316 
   19317 	;;
   19318 *)
   19319 	as_fn_error $? "Invalid hinting. please choose one of none, slight, medium, or full" "$LINENO" 5
   19320 	;;
   19321 esac
   19322 
   19323 #
   19324 # Set default font directory
   19325 #
   19326 
   19327 
   19328 # Check whether --with-default-fonts was given.
   19329 if test ${with_default_fonts+y}
   19330 then :
   19331   withval=$with_default_fonts; default_fonts="$withval"
   19332 else $as_nop
   19333   default_fonts=yes
   19334 fi
   19335 
   19336 
   19337 case "$default_fonts" in
   19338 yes)
   19339 	if test "$os_win32" = "yes"; then
   19340 		default_fonts="WINDOWSFONTDIR,WINDOWSUSERFONTDIR"
   19341 	elif test "$os_darwin" = "yes"; then
   19342 		default_fonts="/System/Library/Fonts,/Library/Fonts,~/Library/Fonts,/System/Library/Assets/com_apple_MobileAsset_Font3,/System/Library/Assets/com_apple_MobileAsset_Font4"
   19343 	else
   19344 		default_fonts="/usr/share/fonts"
   19345 	fi
   19346 	;;
   19347 esac
   19348 
   19349 FC_DEFAULT_FONTS=""
   19350 if test x${default_fonts+set} = xset; then
   19351 	fc_IFS=$IFS
   19352 	IFS=","
   19353 	for p in $default_fonts; do
   19354 		if test x"$FC_DEFAULT_FONTS" != x; then
   19355 			FC_DEFAULT_FONTS="$FC_DEFAULT_FONTS "
   19356 		fi
   19357 		FC_DEFAULT_FONTS="$FC_DEFAULT_FONTS<dir>$p</dir>"
   19358 	done
   19359 	IFS=$fc_IFS
   19360 fi
   19361 
   19362 
   19363 printf "%s\n" "#define FC_DEFAULT_FONTS \"$FC_DEFAULT_FONTS\"" >>confdefs.h
   19364 
   19365 
   19366 
   19367 
   19368 #
   19369 # Add more fonts if available.  By default, add only the directories
   19370 # with outline fonts; those with bitmaps can be added as desired in
   19371 # local.conf or ~/.fonts.conf
   19372 #
   19373 
   19374 # Check whether --with-add-fonts was given.
   19375 if test ${with_add_fonts+y}
   19376 then :
   19377   withval=$with_add_fonts; add_fonts="$withval"
   19378 else $as_nop
   19379   add_fonts=yes
   19380 fi
   19381 
   19382 
   19383 case "$add_fonts" in
   19384 yes)
   19385 	FC_ADD_FONTS=""
   19386 	for dir in /usr/X11R6/lib/X11 /usr/X11/lib/X11 /usr/lib/X11; do
   19387 		case x"$FC_ADD_FONTS" in
   19388 		x)
   19389 			sub="$dir/fonts"
   19390 			if test -d "$sub"; then
   19391 				case x$FC_ADD_FONTS in
   19392 				x)
   19393 					FC_ADD_FONTS="$sub"
   19394 					;;
   19395 				*)
   19396 					FC_ADD_FONTS="$FC_ADD_FONTS,$sub"
   19397 					;;
   19398 				esac
   19399 			fi
   19400 			;;
   19401 		esac
   19402 	done
   19403 
   19404 printf "%s\n" "#define FC_ADD_FONTS \"$add_fonts\"" >>confdefs.h
   19405 
   19406 	;;
   19407 no)
   19408 	FC_ADD_FONTS=""
   19409 	;;
   19410 *)
   19411 	FC_ADD_FONTS="$add_fonts"
   19412 
   19413 printf "%s\n" "#define FC_ADD_FONTS \"$add_fonts\"" >>confdefs.h
   19414 
   19415 	;;
   19416 esac
   19417 
   19418 
   19419 
   19420 FC_FONTPATH=""
   19421 
   19422 case "$FC_ADD_FONTS" in
   19423 "")
   19424 	;;
   19425 *)
   19426 	FC_FONTPATH=`echo $FC_ADD_FONTS |
   19427 			sed -e 's/^/<dir>/' -e 's/$/<\/dir>/' -e 's/,/<\/dir> <dir>/g'`
   19428 	;;
   19429 esac
   19430 
   19431 
   19432 
   19433 #
   19434 # Set default cache directory path
   19435 #
   19436 
   19437 # Check whether --with-cache-dir was given.
   19438 if test ${with_cache_dir+y}
   19439 then :
   19440   withval=$with_cache_dir; fc_cachedir="$withval"
   19441 else $as_nop
   19442   fc_cachedir=yes
   19443 fi
   19444 
   19445 
   19446 case $fc_cachedir in
   19447 no|yes)
   19448 	if test "$os_win32" = "yes"; then
   19449 		fc_cachedir="LOCAL_APPDATA_FONTCONFIG_CACHE"
   19450 	else
   19451 		fc_cachedir='${localstatedir}/cache/${PACKAGE}'
   19452 	fi
   19453 	;;
   19454 *)
   19455 	;;
   19456 esac
   19457 
   19458 FC_CACHEDIR=${fc_cachedir}
   19459 
   19460 
   19461 FC_FONTDATE=`LC_ALL=C date`
   19462 
   19463 
   19464 
   19465 #
   19466 # Set configuration paths
   19467 #
   19468 
   19469 
   19470 # Check whether --with-templatedir was given.
   19471 if test ${with_templatedir+y}
   19472 then :
   19473   withval=$with_templatedir; templatedir="$withval"
   19474 else $as_nop
   19475   templatedir=yes
   19476 fi
   19477 
   19478 
   19479 # Check whether --with-baseconfigdir was given.
   19480 if test ${with_baseconfigdir+y}
   19481 then :
   19482   withval=$with_baseconfigdir; baseconfigdir="$withval"
   19483 else $as_nop
   19484   baseconfigdir=yes
   19485 fi
   19486 
   19487 
   19488 # Check whether --with-configdir was given.
   19489 if test ${with_configdir+y}
   19490 then :
   19491   withval=$with_configdir; configdir="$withval"
   19492 else $as_nop
   19493   configdir=yes
   19494 fi
   19495 
   19496 
   19497 # Check whether --with-xmldir was given.
   19498 if test ${with_xmldir+y}
   19499 then :
   19500   withval=$with_xmldir; xmldir="$withval"
   19501 else $as_nop
   19502   xmldir=yes
   19503 fi
   19504 
   19505 
   19506 case "$templatedir" in
   19507 no|yes)
   19508 	templatedir='${datadir}'/fontconfig/conf.avail
   19509 	;;
   19510 *)
   19511 	;;
   19512 esac
   19513 case "$baseconfigdir" in
   19514 no|yes)
   19515 	baseconfigdir='${sysconfdir}'/fonts
   19516 	;;
   19517 *)
   19518 	;;
   19519 esac
   19520 case "$configdir" in
   19521 no|yes)
   19522 	configdir='${BASECONFIGDIR}'/conf.d
   19523 	;;
   19524 *)
   19525 	;;
   19526 esac
   19527 case "$xmldir" in
   19528 no|yes)
   19529 	xmldir='${datadir}'/xml/fontconfig
   19530 	;;
   19531 *)
   19532 	;;
   19533 esac
   19534 
   19535 TEMPLATEDIR=${templatedir}
   19536 BASECONFIGDIR=${baseconfigdir}
   19537 CONFIGDIR=${configdir}
   19538 XMLDIR=${xmldir}
   19539 
   19540 
   19541 
   19542 
   19543 
   19544 
   19545 
   19546 #
   19547 # Thread-safety primitives
   19548 #
   19549 
   19550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking stdatomic.h atomic primitives" >&5
   19551 printf %s "checking stdatomic.h atomic primitives... " >&6; }
   19552 if test ${fc_cv_have_stdatomic_atomic_primitives+y}
   19553 then :
   19554   printf %s "(cached) " >&6
   19555 else $as_nop
   19556 
   19557 	fc_cv_have_stdatomic_atomic_primitives=false
   19558 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19559 /* end confdefs.h.  */
   19560 
   19561 		#include <stdatomic.h>
   19562 
   19563 		void memory_barrier (void) { atomic_thread_fence (memory_order_acq_rel); }
   19564 		int atomic_add (atomic_int *i) { return atomic_fetch_add_explicit (i, 1, memory_order_relaxed); }
   19565 		int mutex_trylock (atomic_flag *m) { return atomic_flag_test_and_set_explicit (m, memory_order_acquire); }
   19566 		void mutex_unlock (atomic_flag *m) { atomic_flag_clear_explicit (m, memory_order_release); }
   19567 
   19568 int
   19569 main (void)
   19570 {
   19571 
   19572   ;
   19573   return 0;
   19574 }
   19575 _ACEOF
   19576 if ac_fn_c_try_link "$LINENO"
   19577 then :
   19578   fc_cv_have_stdatomic_atomic_primitives=true
   19579 
   19580 fi
   19581 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19582     conftest$ac_exeext conftest.$ac_ext
   19583 
   19584 fi
   19585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $fc_cv_have_stdatomic_atomic_primitives" >&5
   19586 printf "%s\n" "$fc_cv_have_stdatomic_atomic_primitives" >&6; }
   19587 if $fc_cv_have_stdatomic_atomic_primitives; then
   19588 
   19589 printf "%s\n" "#define HAVE_STDATOMIC_PRIMITIVES 1" >>confdefs.h
   19590 
   19591 fi
   19592 
   19593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Intel atomic primitives" >&5
   19594 printf %s "checking for Intel atomic primitives... " >&6; }
   19595 if test ${fc_cv_have_intel_atomic_primitives+y}
   19596 then :
   19597   printf %s "(cached) " >&6
   19598 else $as_nop
   19599 
   19600 	fc_cv_have_intel_atomic_primitives=false
   19601 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19602 /* end confdefs.h.  */
   19603 
   19604 		void memory_barrier (void) { __sync_synchronize (); }
   19605 		int atomic_add (int *i) { return __sync_fetch_and_add (i, 1); }
   19606 		int mutex_trylock (int *m) { return __sync_lock_test_and_set (m, 1); }
   19607 		void mutex_unlock (int *m) { __sync_lock_release (m); }
   19608 
   19609 int
   19610 main (void)
   19611 {
   19612 
   19613   ;
   19614   return 0;
   19615 }
   19616 _ACEOF
   19617 if ac_fn_c_try_link "$LINENO"
   19618 then :
   19619   fc_cv_have_intel_atomic_primitives=true
   19620 
   19621 fi
   19622 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19623     conftest$ac_exeext conftest.$ac_ext
   19624 
   19625 fi
   19626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $fc_cv_have_intel_atomic_primitives" >&5
   19627 printf "%s\n" "$fc_cv_have_intel_atomic_primitives" >&6; }
   19628 if $fc_cv_have_intel_atomic_primitives; then
   19629 
   19630 printf "%s\n" "#define HAVE_INTEL_ATOMIC_PRIMITIVES 1" >>confdefs.h
   19631 
   19632 fi
   19633 
   19634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Solaris atomic operations" >&5
   19635 printf %s "checking for Solaris atomic operations... " >&6; }
   19636 if test ${fc_cv_have_solaris_atomic_ops+y}
   19637 then :
   19638   printf %s "(cached) " >&6
   19639 else $as_nop
   19640 
   19641 	fc_cv_have_solaris_atomic_ops=false
   19642 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19643 /* end confdefs.h.  */
   19644 
   19645 		#include <atomic.h>
   19646 		/* This requires Solaris Studio 12.2 or newer: */
   19647 		#include <mbarrier.h>
   19648 		void memory_barrier (void) { __machine_rw_barrier (); }
   19649 		int atomic_add (volatile unsigned *i) { return atomic_add_int_nv (i, 1); }
   19650 		void *atomic_ptr_cmpxchg (volatile void **target, void *cmp, void *newval) { return atomic_cas_ptr (target, cmp, newval); }
   19651 
   19652 int
   19653 main (void)
   19654 {
   19655 
   19656   ;
   19657   return 0;
   19658 }
   19659 _ACEOF
   19660 if ac_fn_c_try_link "$LINENO"
   19661 then :
   19662   fc_cv_have_solaris_atomic_ops=true
   19663 
   19664 fi
   19665 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19666     conftest$ac_exeext conftest.$ac_ext
   19667 
   19668 fi
   19669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $fc_cv_have_solaris_atomic_ops" >&5
   19670 printf "%s\n" "$fc_cv_have_solaris_atomic_ops" >&6; }
   19671 if $fc_cv_have_solaris_atomic_ops; then
   19672 
   19673 printf "%s\n" "#define HAVE_SOLARIS_ATOMIC_OPS 1" >>confdefs.h
   19674 
   19675 fi
   19676 
   19677 if test "$os_win32" = no && ! $have_pthread; then
   19678 	ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
   19679 if test "x$ac_cv_header_sched_h" = xyes
   19680 then :
   19681   printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
   19682 
   19683 fi
   19684 
   19685 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
   19686 printf %s "checking for library containing sched_yield... " >&6; }
   19687 if test ${ac_cv_search_sched_yield+y}
   19688 then :
   19689   printf %s "(cached) " >&6
   19690 else $as_nop
   19691   ac_func_search_save_LIBS=$LIBS
   19692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19693 /* end confdefs.h.  */
   19694 
   19695 /* Override any GCC internal prototype to avoid an error.
   19696    Use char because int might match the return type of a GCC
   19697    builtin and then its argument prototype would still apply.  */
   19698 char sched_yield ();
   19699 int
   19700 main (void)
   19701 {
   19702 return sched_yield ();
   19703   ;
   19704   return 0;
   19705 }
   19706 _ACEOF
   19707 for ac_lib in '' rt
   19708 do
   19709   if test -z "$ac_lib"; then
   19710     ac_res="none required"
   19711   else
   19712     ac_res=-l$ac_lib
   19713     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   19714   fi
   19715   if ac_fn_c_try_link "$LINENO"
   19716 then :
   19717   ac_cv_search_sched_yield=$ac_res
   19718 fi
   19719 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19720     conftest$ac_exeext
   19721   if test ${ac_cv_search_sched_yield+y}
   19722 then :
   19723   break
   19724 fi
   19725 done
   19726 if test ${ac_cv_search_sched_yield+y}
   19727 then :
   19728 
   19729 else $as_nop
   19730   ac_cv_search_sched_yield=no
   19731 fi
   19732 rm conftest.$ac_ext
   19733 LIBS=$ac_func_search_save_LIBS
   19734 fi
   19735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
   19736 printf "%s\n" "$ac_cv_search_sched_yield" >&6; }
   19737 ac_res=$ac_cv_search_sched_yield
   19738 if test "$ac_res" != no
   19739 then :
   19740   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   19741 
   19742 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
   19743 
   19744 fi
   19745 
   19746 fi
   19747 
   19748 have_pthread=false
   19749 if test "$os_win32" = no; then
   19750 
   19751 
   19752 ac_ext=c
   19753 ac_cpp='$CPP $CPPFLAGS'
   19754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19757 
   19758 ax_pthread_ok=no
   19759 
   19760 # We used to check for pthread.h first, but this fails if pthread.h
   19761 # requires special compiler flags (e.g. on True64 or Sequent).
   19762 # It gets checked for in the link test anyway.
   19763 
   19764 # First of all, check if the user has set any of the PTHREAD_LIBS,
   19765 # etcetera environment variables, and if threads linking works using
   19766 # them:
   19767 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
   19768         save_CFLAGS="$CFLAGS"
   19769         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   19770         save_LIBS="$LIBS"
   19771         LIBS="$PTHREAD_LIBS $LIBS"
   19772         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
   19773 printf %s "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
   19774         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19775 /* end confdefs.h.  */
   19776 
   19777 /* Override any GCC internal prototype to avoid an error.
   19778    Use char because int might match the return type of a GCC
   19779    builtin and then its argument prototype would still apply.  */
   19780 char pthread_join ();
   19781 int
   19782 main (void)
   19783 {
   19784 return pthread_join ();
   19785   ;
   19786   return 0;
   19787 }
   19788 _ACEOF
   19789 if ac_fn_c_try_link "$LINENO"
   19790 then :
   19791   ax_pthread_ok=yes
   19792 fi
   19793 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19794     conftest$ac_exeext conftest.$ac_ext
   19795         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
   19796 printf "%s\n" "$ax_pthread_ok" >&6; }
   19797         if test x"$ax_pthread_ok" = xno; then
   19798                 PTHREAD_LIBS=""
   19799                 PTHREAD_CFLAGS=""
   19800         fi
   19801         LIBS="$save_LIBS"
   19802         CFLAGS="$save_CFLAGS"
   19803 fi
   19804 
   19805 # We must check for the threads library under a number of different
   19806 # names; the ordering is very important because some systems
   19807 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
   19808 # libraries is broken (non-POSIX).
   19809 
   19810 # Create a list of thread flags to try.  Items starting with a "-" are
   19811 # C compiler flags, and other items are library names, except for "none"
   19812 # which indicates that we try without any flags at all, and "pthread-config"
   19813 # which is a program returning the flags for the Pth emulation library.
   19814 
   19815 ax_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
   19816 
   19817 # The ordering *is* (sometimes) important.  Some notes on the
   19818 # individual items follow:
   19819 
   19820 # pthreads: AIX (must check this before -lpthread)
   19821 # none: in case threads are in libc; should be tried before -Kthread and
   19822 #       other compiler flags to prevent continual compiler warnings
   19823 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
   19824 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
   19825 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
   19826 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
   19827 # -pthreads: Solaris/gcc
   19828 # -mthreads: Mingw32/gcc, Lynx/gcc
   19829 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
   19830 #      doesn't hurt to check since this sometimes defines pthreads too;
   19831 #      also defines -D_REENTRANT)
   19832 #      ... -mt is also the pthreads flag for HP/aCC
   19833 # pthread: Linux, etcetera
   19834 # --thread-safe: KAI C++
   19835 # pthread-config: use pthread-config program (for GNU Pth library)
   19836 
   19837 case ${host_os} in
   19838         solaris*)
   19839 
   19840         # On Solaris (at least, for some versions), libc contains stubbed
   19841         # (non-functional) versions of the pthreads routines, so link-based
   19842         # tests will erroneously succeed.  (We need to link with -pthreads/-mt/
   19843         # -lpthread.)  (The stubs are missing pthread_cleanup_push, or rather
   19844         # a function called by this macro, so we could check for that, but
   19845         # who knows whether they'll stub that too in a future libc.)  So,
   19846         # we'll just look for -pthreads and -lpthread first:
   19847 
   19848         ax_pthread_flags="-pthreads pthread -mt -pthread $ax_pthread_flags"
   19849         ;;
   19850 
   19851         darwin*)
   19852         ax_pthread_flags="-pthread $ax_pthread_flags"
   19853         ;;
   19854 	netbsd*)
   19855 	# use libc stubs, don't link against libpthread, to allow
   19856 	# dynamic loading
   19857 	ax_pthread_flags=""
   19858 	;;
   19859 esac
   19860 
   19861 # Clang doesn't consider unrecognized options an error unless we specify
   19862 # -Werror. We throw in some extra Clang-specific options to ensure that
   19863 # this doesn't happen for GCC, which also accepts -Werror.
   19864 
   19865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler needs -Werror to reject unknown flags" >&5
   19866 printf %s "checking if compiler needs -Werror to reject unknown flags... " >&6; }
   19867 save_CFLAGS="$CFLAGS"
   19868 ax_pthread_extra_flags="-Werror"
   19869 CFLAGS="$CFLAGS $ax_pthread_extra_flags -Wunknown-warning-option -Wsizeof-array-argument"
   19870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19871 /* end confdefs.h.  */
   19872 int foo(void);
   19873 int
   19874 main (void)
   19875 {
   19876 foo()
   19877   ;
   19878   return 0;
   19879 }
   19880 _ACEOF
   19881 if ac_fn_c_try_compile "$LINENO"
   19882 then :
   19883   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19884 printf "%s\n" "yes" >&6; }
   19885 else $as_nop
   19886   ax_pthread_extra_flags=
   19887                    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19888 printf "%s\n" "no" >&6; }
   19889 fi
   19890 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19891 CFLAGS="$save_CFLAGS"
   19892 
   19893 if test x"$ax_pthread_ok" = xno; then
   19894 for flag in $ax_pthread_flags; do
   19895 
   19896         case $flag in
   19897                 none)
   19898                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
   19899 printf %s "checking whether pthreads work without any flags... " >&6; }
   19900                 ;;
   19901 
   19902                 -*)
   19903                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
   19904 printf %s "checking whether pthreads work with $flag... " >&6; }
   19905                 PTHREAD_CFLAGS="$flag"
   19906                 ;;
   19907 
   19908                 pthread-config)
   19909                 # Extract the first word of "pthread-config", so it can be a program name with args.
   19910 set dummy pthread-config; ac_word=$2
   19911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19912 printf %s "checking for $ac_word... " >&6; }
   19913 if test ${ac_cv_prog_ax_pthread_config+y}
   19914 then :
   19915   printf %s "(cached) " >&6
   19916 else $as_nop
   19917   if test -n "$ax_pthread_config"; then
   19918   ac_cv_prog_ax_pthread_config="$ax_pthread_config" # Let the user override the test.
   19919 else
   19920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19921 for as_dir in $PATH
   19922 do
   19923   IFS=$as_save_IFS
   19924   case $as_dir in #(((
   19925     '') as_dir=./ ;;
   19926     */) ;;
   19927     *) as_dir=$as_dir/ ;;
   19928   esac
   19929     for ac_exec_ext in '' $ac_executable_extensions; do
   19930   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19931     ac_cv_prog_ax_pthread_config="yes"
   19932     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19933     break 2
   19934   fi
   19935 done
   19936   done
   19937 IFS=$as_save_IFS
   19938 
   19939   test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config="no"
   19940 fi
   19941 fi
   19942 ax_pthread_config=$ac_cv_prog_ax_pthread_config
   19943 if test -n "$ax_pthread_config"; then
   19944   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
   19945 printf "%s\n" "$ax_pthread_config" >&6; }
   19946 else
   19947   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19948 printf "%s\n" "no" >&6; }
   19949 fi
   19950 
   19951 
   19952                 if test x"$ax_pthread_config" = xno; then continue; fi
   19953                 PTHREAD_CFLAGS="`pthread-config --cflags`"
   19954                 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
   19955                 ;;
   19956 
   19957                 *)
   19958                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
   19959 printf %s "checking for the pthreads library -l$flag... " >&6; }
   19960                 PTHREAD_LIBS="-l$flag"
   19961                 ;;
   19962         esac
   19963 
   19964         save_LIBS="$LIBS"
   19965         save_CFLAGS="$CFLAGS"
   19966         LIBS="$PTHREAD_LIBS $LIBS"
   19967         CFLAGS="$CFLAGS $PTHREAD_CFLAGS $ax_pthread_extra_flags"
   19968 
   19969         # Check for various functions.  We must include pthread.h,
   19970         # since some functions may be macros.  (On the Sequent, we
   19971         # need a special flag -Kthread to make this header compile.)
   19972         # We check for pthread_join because it is in -lpthread on IRIX
   19973         # while pthread_create is in libc.  We check for pthread_attr_init
   19974         # due to DEC craziness with -lpthreads.  We check for
   19975         # pthread_cleanup_push because it is one of the few pthread
   19976         # functions on Solaris that doesn't have a non-functional libc stub.
   19977         # We try pthread_create on general principles.
   19978         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19979 /* end confdefs.h.  */
   19980 #include <pthread.h>
   19981                         static void routine(void *a) { a = 0; }
   19982                         static void *start_routine(void *a) { return a; }
   19983 int
   19984 main (void)
   19985 {
   19986 pthread_t th; pthread_attr_t attr;
   19987                         pthread_create(&th, 0, start_routine, 0);
   19988                         pthread_join(th, 0);
   19989                         pthread_attr_init(&attr);
   19990                         pthread_cleanup_push(routine, 0);
   19991                         pthread_cleanup_pop(0) /* ; */
   19992   ;
   19993   return 0;
   19994 }
   19995 _ACEOF
   19996 if ac_fn_c_try_link "$LINENO"
   19997 then :
   19998   ax_pthread_ok=yes
   19999 fi
   20000 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20001     conftest$ac_exeext conftest.$ac_ext
   20002 
   20003         LIBS="$save_LIBS"
   20004         CFLAGS="$save_CFLAGS"
   20005 
   20006         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
   20007 printf "%s\n" "$ax_pthread_ok" >&6; }
   20008         if test "x$ax_pthread_ok" = xyes; then
   20009                 break;
   20010         fi
   20011 
   20012         PTHREAD_LIBS=""
   20013         PTHREAD_CFLAGS=""
   20014 done
   20015 fi
   20016 
   20017 # Various other checks:
   20018 if test "x$ax_pthread_ok" = xyes; then
   20019         save_LIBS="$LIBS"
   20020         LIBS="$PTHREAD_LIBS $LIBS"
   20021         save_CFLAGS="$CFLAGS"
   20022         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   20023 
   20024         # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
   20025         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
   20026 printf %s "checking for joinable pthread attribute... " >&6; }
   20027         attr_name=unknown
   20028         for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
   20029             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20030 /* end confdefs.h.  */
   20031 #include <pthread.h>
   20032 int
   20033 main (void)
   20034 {
   20035 int attr = $attr; return attr /* ; */
   20036   ;
   20037   return 0;
   20038 }
   20039 _ACEOF
   20040 if ac_fn_c_try_link "$LINENO"
   20041 then :
   20042   attr_name=$attr; break
   20043 fi
   20044 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20045     conftest$ac_exeext conftest.$ac_ext
   20046         done
   20047         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
   20048 printf "%s\n" "$attr_name" >&6; }
   20049         if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
   20050 
   20051 printf "%s\n" "#define PTHREAD_CREATE_JOINABLE $attr_name" >>confdefs.h
   20052 
   20053         fi
   20054 
   20055         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
   20056 printf %s "checking if more special flags are required for pthreads... " >&6; }
   20057         flag=no
   20058         case ${host_os} in
   20059             aix* | freebsd* | darwin*) flag="-D_THREAD_SAFE";;
   20060             osf* | hpux*) flag="-D_REENTRANT";;
   20061             solaris*)
   20062             if test "$GCC" = "yes"; then
   20063                 flag="-D_REENTRANT"
   20064             else
   20065                 # TODO: What about Clang on Solaris?
   20066                 flag="-mt -D_REENTRANT"
   20067             fi
   20068             ;;
   20069         esac
   20070         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $flag" >&5
   20071 printf "%s\n" "$flag" >&6; }
   20072         if test "x$flag" != xno; then
   20073             PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
   20074         fi
   20075 
   20076         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
   20077 printf %s "checking for PTHREAD_PRIO_INHERIT... " >&6; }
   20078 if test ${ax_cv_PTHREAD_PRIO_INHERIT+y}
   20079 then :
   20080   printf %s "(cached) " >&6
   20081 else $as_nop
   20082 
   20083                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20084 /* end confdefs.h.  */
   20085 #include <pthread.h>
   20086 int
   20087 main (void)
   20088 {
   20089 int i = PTHREAD_PRIO_INHERIT;
   20090   ;
   20091   return 0;
   20092 }
   20093 _ACEOF
   20094 if ac_fn_c_try_link "$LINENO"
   20095 then :
   20096   ax_cv_PTHREAD_PRIO_INHERIT=yes
   20097 else $as_nop
   20098   ax_cv_PTHREAD_PRIO_INHERIT=no
   20099 fi
   20100 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20101     conftest$ac_exeext conftest.$ac_ext
   20102 
   20103 fi
   20104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
   20105 printf "%s\n" "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
   20106         if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes"
   20107 then :
   20108 
   20109 printf "%s\n" "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
   20110 
   20111 fi
   20112 
   20113         LIBS="$save_LIBS"
   20114         CFLAGS="$save_CFLAGS"
   20115 
   20116         # More AIX lossage: compile with *_r variant
   20117         if test "x$GCC" != xyes; then
   20118             case $host_os in
   20119                 aix*)
   20120                 case "x/$CC" in #(
   20121   x*/c89|x*/c89_128|x*/c99|x*/c99_128|x*/cc|x*/cc128|x*/xlc|x*/xlc_v6|x*/xlc128|x*/xlc128_v6) :
   20122     #handle absolute path differently from PATH based program lookup
   20123                    case "x$CC" in #(
   20124   x/*) :
   20125     if as_fn_executable_p ${CC}_r
   20126 then :
   20127   PTHREAD_CC="${CC}_r"
   20128 fi ;; #(
   20129   *) :
   20130     for ac_prog in ${CC}_r
   20131 do
   20132   # Extract the first word of "$ac_prog", so it can be a program name with args.
   20133 set dummy $ac_prog; ac_word=$2
   20134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20135 printf %s "checking for $ac_word... " >&6; }
   20136 if test ${ac_cv_prog_PTHREAD_CC+y}
   20137 then :
   20138   printf %s "(cached) " >&6
   20139 else $as_nop
   20140   if test -n "$PTHREAD_CC"; then
   20141   ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
   20142 else
   20143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20144 for as_dir in $PATH
   20145 do
   20146   IFS=$as_save_IFS
   20147   case $as_dir in #(((
   20148     '') as_dir=./ ;;
   20149     */) ;;
   20150     *) as_dir=$as_dir/ ;;
   20151   esac
   20152     for ac_exec_ext in '' $ac_executable_extensions; do
   20153   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20154     ac_cv_prog_PTHREAD_CC="$ac_prog"
   20155     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20156     break 2
   20157   fi
   20158 done
   20159   done
   20160 IFS=$as_save_IFS
   20161 
   20162 fi
   20163 fi
   20164 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
   20165 if test -n "$PTHREAD_CC"; then
   20166   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
   20167 printf "%s\n" "$PTHREAD_CC" >&6; }
   20168 else
   20169   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20170 printf "%s\n" "no" >&6; }
   20171 fi
   20172 
   20173 
   20174   test -n "$PTHREAD_CC" && break
   20175 done
   20176 test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
   20177  ;;
   20178 esac ;; #(
   20179   *) :
   20180      ;;
   20181 esac
   20182                 ;;
   20183             esac
   20184         fi
   20185 fi
   20186 
   20187 test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
   20188 
   20189 
   20190 
   20191 
   20192 
   20193 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
   20194 if test x"$ax_pthread_ok" = xyes; then
   20195         have_pthread=true
   20196         :
   20197 else
   20198         ax_pthread_ok=no
   20199 
   20200 fi
   20201 ac_ext=c
   20202 ac_cpp='$CPP $CPPFLAGS'
   20203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20206 
   20207 
   20208 fi
   20209 if $have_pthread; then
   20210 	LIBS="$PTHREAD_LIBS $LIBS"
   20211 	CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   20212 	CC="$PTHREAD_CC"
   20213 
   20214 printf "%s\n" "#define HAVE_PTHREAD 1" >>confdefs.h
   20215 
   20216 fi
   20217  if $have_pthread; then
   20218   HAVE_PTHREAD_TRUE=
   20219   HAVE_PTHREAD_FALSE='#'
   20220 else
   20221   HAVE_PTHREAD_TRUE='#'
   20222   HAVE_PTHREAD_FALSE=
   20223 fi
   20224 
   20225 
   20226 
   20227 
   20228 #
   20229 # Let people not build/install docs if they don't have docbook
   20230 #
   20231 
   20232 # Check whether --enable-docbook was given.
   20233 if test ${enable_docbook+y}
   20234 then :
   20235   enableval=$enable_docbook;
   20236 fi
   20237 
   20238 
   20239 if test x$enable_docbook != xno; then
   20240 	# Extract the first word of "docbook2html", so it can be a program name with args.
   20241 set dummy docbook2html; ac_word=$2
   20242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20243 printf %s "checking for $ac_word... " >&6; }
   20244 if test ${ac_cv_prog_HASDOCBOOK+y}
   20245 then :
   20246   printf %s "(cached) " >&6
   20247 else $as_nop
   20248   if test -n "$HASDOCBOOK"; then
   20249   ac_cv_prog_HASDOCBOOK="$HASDOCBOOK" # Let the user override the test.
   20250 else
   20251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20252 for as_dir in $PATH
   20253 do
   20254   IFS=$as_save_IFS
   20255   case $as_dir in #(((
   20256     '') as_dir=./ ;;
   20257     */) ;;
   20258     *) as_dir=$as_dir/ ;;
   20259   esac
   20260     for ac_exec_ext in '' $ac_executable_extensions; do
   20261   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20262     ac_cv_prog_HASDOCBOOK="yes"
   20263     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20264     break 2
   20265   fi
   20266 done
   20267   done
   20268 IFS=$as_save_IFS
   20269 
   20270   test -z "$ac_cv_prog_HASDOCBOOK" && ac_cv_prog_HASDOCBOOK="no"
   20271 fi
   20272 fi
   20273 HASDOCBOOK=$ac_cv_prog_HASDOCBOOK
   20274 if test -n "$HASDOCBOOK"; then
   20275   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $HASDOCBOOK" >&5
   20276 printf "%s\n" "$HASDOCBOOK" >&6; }
   20277 else
   20278   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20279 printf "%s\n" "no" >&6; }
   20280 fi
   20281 
   20282 
   20283 fi
   20284 
   20285  if test "x$HASDOCBOOK" = xyes; then
   20286   USEDOCBOOK_TRUE=
   20287   USEDOCBOOK_FALSE='#'
   20288 else
   20289   USEDOCBOOK_TRUE='#'
   20290   USEDOCBOOK_FALSE=
   20291 fi
   20292 
   20293 
   20294 default_docs="yes"
   20295 #
   20296 # Check if docs exist or can be created
   20297 #
   20298 if test x$HASDOCBOOK = xno; then
   20299 	if test -f $srcdir/doc/fonts-conf.5; then
   20300 		:
   20301 	else
   20302 		default_docs="no"
   20303 	fi
   20304 fi
   20305 
   20306 # Check whether --enable-docs was given.
   20307 if test ${enable_docs+y}
   20308 then :
   20309   enableval=$enable_docs;
   20310 else $as_nop
   20311   enable_docs=$default_docs
   20312 fi
   20313 
   20314 
   20315  if test "x$enable_docs" = xyes; then
   20316   ENABLE_DOCS_TRUE=
   20317   ENABLE_DOCS_FALSE='#'
   20318 else
   20319   ENABLE_DOCS_TRUE='#'
   20320   ENABLE_DOCS_FALSE=
   20321 fi
   20322 
   20323 
   20324 if test "x$enable_docs" = xyes; then
   20325 	tmp=funcs.$$
   20326 	cat $srcdir/doc/*.fncs | awk '
   20327 	/^@TITLE@/	{ if (!done) { printf ("%s\n", $2); done = 1; } }
   20328 	/^@FUNC@/	{ if (!done) { printf ("%s\n", $2); done = 1; } }
   20329 	/^@@/		{ done = 0; }' > $tmp
   20330 	DOCMAN3=`cat $tmp | awk '{ printf ("%s.3 ", $1); }'`
   20331 	echo DOCMAN3 $DOCMAN3
   20332 	rm -f $tmp
   20333 else
   20334 	DOCMAN3=""
   20335 fi
   20336 
   20337 
   20338 default_cache_build="yes"
   20339 if test $cross_compiling = "yes"; then
   20340 	default_cache_build="no"
   20341 fi
   20342 # Check whether --enable-cache-build was given.
   20343 if test ${enable_cache_build+y}
   20344 then :
   20345   enableval=$enable_cache_build;
   20346 else $as_nop
   20347   enable_cache_build=$default_cache_build
   20348 fi
   20349 
   20350 
   20351  if test "x$enable_cache_build" = xyes; then
   20352   ENABLE_CACHE_BUILD_TRUE=
   20353   ENABLE_CACHE_BUILD_FALSE='#'
   20354 else
   20355   ENABLE_CACHE_BUILD_TRUE='#'
   20356   ENABLE_CACHE_BUILD_FALSE=
   20357 fi
   20358 
   20359 
   20360 
   20361  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
   20362 printf %s "checking whether byte ordering is bigendian... " >&6; }
   20363 if test ${ac_cv_c_bigendian+y}
   20364 then :
   20365   printf %s "(cached) " >&6
   20366 else $as_nop
   20367   ac_cv_c_bigendian=unknown
   20368     # See if we're dealing with a universal compiler.
   20369     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20370 /* end confdefs.h.  */
   20371 #ifndef __APPLE_CC__
   20372 	       not a universal capable compiler
   20373 	     #endif
   20374 	     typedef int dummy;
   20375 
   20376 _ACEOF
   20377 if ac_fn_c_try_compile "$LINENO"
   20378 then :
   20379 
   20380 	# Check for potential -arch flags.  It is not universal unless
   20381 	# there are at least two -arch flags with different values.
   20382 	ac_arch=
   20383 	ac_prev=
   20384 	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
   20385 	 if test -n "$ac_prev"; then
   20386 	   case $ac_word in
   20387 	     i?86 | x86_64 | ppc | ppc64)
   20388 	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
   20389 		 ac_arch=$ac_word
   20390 	       else
   20391 		 ac_cv_c_bigendian=universal
   20392 		 break
   20393 	       fi
   20394 	       ;;
   20395 	   esac
   20396 	   ac_prev=
   20397 	 elif test "x$ac_word" = "x-arch"; then
   20398 	   ac_prev=arch
   20399 	 fi
   20400        done
   20401 fi
   20402 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   20403     if test $ac_cv_c_bigendian = unknown; then
   20404       # See if sys/param.h defines the BYTE_ORDER macro.
   20405       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20406 /* end confdefs.h.  */
   20407 #include <sys/types.h>
   20408 	     #include <sys/param.h>
   20409 
   20410 int
   20411 main (void)
   20412 {
   20413 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
   20414 		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
   20415 		     && LITTLE_ENDIAN)
   20416 	      bogus endian macros
   20417 	     #endif
   20418 
   20419   ;
   20420   return 0;
   20421 }
   20422 _ACEOF
   20423 if ac_fn_c_try_compile "$LINENO"
   20424 then :
   20425   # It does; now see whether it defined to BIG_ENDIAN or not.
   20426 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20427 /* end confdefs.h.  */
   20428 #include <sys/types.h>
   20429 		#include <sys/param.h>
   20430 
   20431 int
   20432 main (void)
   20433 {
   20434 #if BYTE_ORDER != BIG_ENDIAN
   20435 		 not big endian
   20436 		#endif
   20437 
   20438   ;
   20439   return 0;
   20440 }
   20441 _ACEOF
   20442 if ac_fn_c_try_compile "$LINENO"
   20443 then :
   20444   ac_cv_c_bigendian=yes
   20445 else $as_nop
   20446   ac_cv_c_bigendian=no
   20447 fi
   20448 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   20449 fi
   20450 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   20451     fi
   20452     if test $ac_cv_c_bigendian = unknown; then
   20453       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
   20454       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20455 /* end confdefs.h.  */
   20456 #include <limits.h>
   20457 
   20458 int
   20459 main (void)
   20460 {
   20461 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
   20462 	      bogus endian macros
   20463 	     #endif
   20464 
   20465   ;
   20466   return 0;
   20467 }
   20468 _ACEOF
   20469 if ac_fn_c_try_compile "$LINENO"
   20470 then :
   20471   # It does; now see whether it defined to _BIG_ENDIAN or not.
   20472 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20473 /* end confdefs.h.  */
   20474 #include <limits.h>
   20475 
   20476 int
   20477 main (void)
   20478 {
   20479 #ifndef _BIG_ENDIAN
   20480 		 not big endian
   20481 		#endif
   20482 
   20483   ;
   20484   return 0;
   20485 }
   20486 _ACEOF
   20487 if ac_fn_c_try_compile "$LINENO"
   20488 then :
   20489   ac_cv_c_bigendian=yes
   20490 else $as_nop
   20491   ac_cv_c_bigendian=no
   20492 fi
   20493 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   20494 fi
   20495 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   20496     fi
   20497     if test $ac_cv_c_bigendian = unknown; then
   20498       # Compile a test program.
   20499       if test "$cross_compiling" = yes
   20500 then :
   20501   # Try to guess by grepping values from an object file.
   20502 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20503 /* end confdefs.h.  */
   20504 unsigned short int ascii_mm[] =
   20505 		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
   20506 		unsigned short int ascii_ii[] =
   20507 		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
   20508 		int use_ascii (int i) {
   20509 		  return ascii_mm[i] + ascii_ii[i];
   20510 		}
   20511 		unsigned short int ebcdic_ii[] =
   20512 		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
   20513 		unsigned short int ebcdic_mm[] =
   20514 		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
   20515 		int use_ebcdic (int i) {
   20516 		  return ebcdic_mm[i] + ebcdic_ii[i];
   20517 		}
   20518 		extern int foo;
   20519 
   20520 int
   20521 main (void)
   20522 {
   20523 return use_ascii (foo) == use_ebcdic (foo);
   20524   ;
   20525   return 0;
   20526 }
   20527 _ACEOF
   20528 if ac_fn_c_try_compile "$LINENO"
   20529 then :
   20530   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
   20531 	      ac_cv_c_bigendian=yes
   20532 	    fi
   20533 	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
   20534 	      if test "$ac_cv_c_bigendian" = unknown; then
   20535 		ac_cv_c_bigendian=no
   20536 	      else
   20537 		# finding both strings is unlikely to happen, but who knows?
   20538 		ac_cv_c_bigendian=unknown
   20539 	      fi
   20540 	    fi
   20541 fi
   20542 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   20543 else $as_nop
   20544   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20545 /* end confdefs.h.  */
   20546 $ac_includes_default
   20547 int
   20548 main (void)
   20549 {
   20550 
   20551 	     /* Are we little or big endian?  From Harbison&Steele.  */
   20552 	     union
   20553 	     {
   20554 	       long int l;
   20555 	       char c[sizeof (long int)];
   20556 	     } u;
   20557 	     u.l = 1;
   20558 	     return u.c[sizeof (long int) - 1] == 1;
   20559 
   20560   ;
   20561   return 0;
   20562 }
   20563 _ACEOF
   20564 if ac_fn_c_try_run "$LINENO"
   20565 then :
   20566   ac_cv_c_bigendian=no
   20567 else $as_nop
   20568   ac_cv_c_bigendian=yes
   20569 fi
   20570 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   20571   conftest.$ac_objext conftest.beam conftest.$ac_ext
   20572 fi
   20573 
   20574     fi
   20575 fi
   20576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
   20577 printf "%s\n" "$ac_cv_c_bigendian" >&6; }
   20578  case $ac_cv_c_bigendian in #(
   20579    yes)
   20580      printf "%s\n" "#define WORDS_BIGENDIAN 1" >>confdefs.h
   20581 ;; #(
   20582    no)
   20583       ;; #(
   20584    universal)
   20585 
   20586 printf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
   20587 
   20588      ;; #(
   20589    *)
   20590      as_fn_error $? "unknown endianness
   20591  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
   20592  esac
   20593 
   20594 # The cast to long int works around a bug in the HP C Compiler
   20595 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   20596 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   20597 # This bug is HP SR number 8606223364.
   20598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
   20599 printf %s "checking size of void *... " >&6; }
   20600 if test ${ac_cv_sizeof_void_p+y}
   20601 then :
   20602   printf %s "(cached) " >&6
   20603 else $as_nop
   20604   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"
   20605 then :
   20606 
   20607 else $as_nop
   20608   if test "$ac_cv_type_void_p" = yes; then
   20609      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   20610 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   20611 as_fn_error 77 "cannot compute sizeof (void *)
   20612 See \`config.log' for more details" "$LINENO" 5; }
   20613    else
   20614      ac_cv_sizeof_void_p=0
   20615    fi
   20616 fi
   20617 
   20618 fi
   20619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
   20620 printf "%s\n" "$ac_cv_sizeof_void_p" >&6; }
   20621 
   20622 
   20623 
   20624 printf "%s\n" "#define SIZEOF_VOID_P $ac_cv_sizeof_void_p" >>confdefs.h
   20625 
   20626 
   20627 # The cast to long int works around a bug in the HP C Compiler,
   20628 # see AC_CHECK_SIZEOF for more information.
   20629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking alignment of double" >&5
   20630 printf %s "checking alignment of double... " >&6; }
   20631 if test ${ac_cv_alignof_double+y}
   20632 then :
   20633   printf %s "(cached) " >&6
   20634 else $as_nop
   20635   if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_double"        "$ac_includes_default
   20636 typedef struct { char x; double y; } ac__type_alignof_;"
   20637 then :
   20638 
   20639 else $as_nop
   20640   if test "$ac_cv_type_double" = yes; then
   20641      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   20642 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   20643 as_fn_error 77 "cannot compute alignment of double
   20644 See \`config.log' for more details" "$LINENO" 5; }
   20645    else
   20646      ac_cv_alignof_double=0
   20647    fi
   20648 fi
   20649 
   20650 fi
   20651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_double" >&5
   20652 printf "%s\n" "$ac_cv_alignof_double" >&6; }
   20653 
   20654 
   20655 
   20656 printf "%s\n" "#define ALIGNOF_DOUBLE $ac_cv_alignof_double" >>confdefs.h
   20657 
   20658 
   20659 # The cast to long int works around a bug in the HP C Compiler,
   20660 # see AC_CHECK_SIZEOF for more information.
   20661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking alignment of void *" >&5
   20662 printf %s "checking alignment of void *... " >&6; }
   20663 if test ${ac_cv_alignof_void_p+y}
   20664 then :
   20665   printf %s "(cached) " >&6
   20666 else $as_nop
   20667   if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_void_p"        "$ac_includes_default
   20668 typedef struct { char x; void * y; } ac__type_alignof_;"
   20669 then :
   20670 
   20671 else $as_nop
   20672   if test "$ac_cv_type_void_p" = yes; then
   20673      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   20674 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   20675 as_fn_error 77 "cannot compute alignment of void *
   20676 See \`config.log' for more details" "$LINENO" 5; }
   20677    else
   20678      ac_cv_alignof_void_p=0
   20679    fi
   20680 fi
   20681 
   20682 fi
   20683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_void_p" >&5
   20684 printf "%s\n" "$ac_cv_alignof_void_p" >&6; }
   20685 
   20686 
   20687 
   20688 printf "%s\n" "#define ALIGNOF_VOID_P $ac_cv_alignof_void_p" >>confdefs.h
   20689 
   20690 
   20691 
   20692 
   20693 
   20694 
   20695 
   20696 
   20697 ac_config_files="$ac_config_files Makefile fontconfig/Makefile fc-lang/Makefile fc-case/Makefile src/Makefile conf.d/Makefile fc-cache/Makefile fc-cat/Makefile fc-conflist/Makefile fc-list/Makefile fc-match/Makefile fc-pattern/Makefile fc-query/Makefile fc-scan/Makefile fc-validate/Makefile doc/Makefile doc/version.sgml its/Makefile po/Makefile.in po-conf/Makefile.in test/Makefile fontconfig.pc fontconfig-zip"
   20698 
   20699 cat >confcache <<\_ACEOF
   20700 # This file is a shell script that caches the results of configure
   20701 # tests run on this system so they can be shared between configure
   20702 # scripts and configure runs, see configure's option --config-cache.
   20703 # It is not useful on other systems.  If it contains results you don't
   20704 # want to keep, you may remove or edit it.
   20705 #
   20706 # config.status only pays attention to the cache file if you give it
   20707 # the --recheck option to rerun configure.
   20708 #
   20709 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   20710 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   20711 # following values.
   20712 
   20713 _ACEOF
   20714 
   20715 # The following way of writing the cache mishandles newlines in values,
   20716 # but we know of no workaround that is simple, portable, and efficient.
   20717 # So, we kill variables containing newlines.
   20718 # Ultrix sh set writes to stderr and can't be redirected directly,
   20719 # and sets the high bit in the cache file unless we assign to the vars.
   20720 (
   20721   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   20722     eval ac_val=\$$ac_var
   20723     case $ac_val in #(
   20724     *${as_nl}*)
   20725       case $ac_var in #(
   20726       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   20727 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   20728       esac
   20729       case $ac_var in #(
   20730       _ | IFS | as_nl) ;; #(
   20731       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   20732       *) { eval $ac_var=; unset $ac_var;} ;;
   20733       esac ;;
   20734     esac
   20735   done
   20736 
   20737   (set) 2>&1 |
   20738     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   20739     *${as_nl}ac_space=\ *)
   20740       # `set' does not quote correctly, so add quotes: double-quote
   20741       # substitution turns \\\\ into \\, and sed turns \\ into \.
   20742       sed -n \
   20743 	"s/'/'\\\\''/g;
   20744 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   20745       ;; #(
   20746     *)
   20747       # `set' quotes correctly as required by POSIX, so do not add quotes.
   20748       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   20749       ;;
   20750     esac |
   20751     sort
   20752 ) |
   20753   sed '
   20754      /^ac_cv_env_/b end
   20755      t clear
   20756      :clear
   20757      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   20758      t end
   20759      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   20760      :end' >>confcache
   20761 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   20762   if test -w "$cache_file"; then
   20763     if test "x$cache_file" != "x/dev/null"; then
   20764       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   20765 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   20766       if test ! -f "$cache_file" || test -h "$cache_file"; then
   20767 	cat confcache >"$cache_file"
   20768       else
   20769         case $cache_file in #(
   20770         */* | ?:*)
   20771 	  mv -f confcache "$cache_file"$$ &&
   20772 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   20773         *)
   20774 	  mv -f confcache "$cache_file" ;;
   20775 	esac
   20776       fi
   20777     fi
   20778   else
   20779     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   20780 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   20781   fi
   20782 fi
   20783 rm -f confcache
   20784 
   20785 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   20786 # Let make expand exec_prefix.
   20787 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   20788 
   20789 DEFS=-DHAVE_CONFIG_H
   20790 
   20791 ac_libobjs=
   20792 ac_ltlibobjs=
   20793 U=
   20794 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   20795   # 1. Remove the extension, and $U if already installed.
   20796   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   20797   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   20798   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   20799   #    will be set to the directory where LIBOBJS objects are built.
   20800   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   20801   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   20802 done
   20803 LIBOBJS=$ac_libobjs
   20804 
   20805 LTLIBOBJS=$ac_ltlibobjs
   20806 
   20807 
   20808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   20809 printf %s "checking that generated files are newer than configure... " >&6; }
   20810    if test -n "$am_sleep_pid"; then
   20811      # Hide warnings about reused PIDs.
   20812      wait $am_sleep_pid 2>/dev/null
   20813    fi
   20814    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   20815 printf "%s\n" "done" >&6; }
   20816  if test -n "$EXEEXT"; then
   20817   am__EXEEXT_TRUE=
   20818   am__EXEEXT_FALSE='#'
   20819 else
   20820   am__EXEEXT_TRUE='#'
   20821   am__EXEEXT_FALSE=
   20822 fi
   20823 
   20824 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   20825   as_fn_error $? "conditional \"AMDEP\" was never defined.
   20826 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20827 fi
   20828 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   20829   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   20830 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20831 fi
   20832 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
   20833   as_fn_error $? "conditional \"OS_WIN32\" was never defined.
   20834 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20835 fi
   20836 if test -z "${OS_DARWIN_TRUE}" && test -z "${OS_DARWIN_FALSE}"; then
   20837   as_fn_error $? "conditional \"OS_DARWIN\" was never defined.
   20838 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20839 fi
   20840 if test -z "${MS_LIB_AVAILABLE_TRUE}" && test -z "${MS_LIB_AVAILABLE_FALSE}"; then
   20841   as_fn_error $? "conditional \"MS_LIB_AVAILABLE\" was never defined.
   20842 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20843 fi
   20844 if test -z "${CROSS_COMPILING_TRUE}" && test -z "${CROSS_COMPILING_FALSE}"; then
   20845   as_fn_error $? "conditional \"CROSS_COMPILING\" was never defined.
   20846 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20847 fi
   20848 if test -z "${ENABLE_SHARED_TRUE}" && test -z "${ENABLE_SHARED_FALSE}"; then
   20849   as_fn_error $? "conditional \"ENABLE_SHARED\" was never defined.
   20850 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20851 fi
   20852 if test -z "${FREETYPE_PCF_LONG_FAMILY_NAMES_TRUE}" && test -z "${FREETYPE_PCF_LONG_FAMILY_NAMES_FALSE}"; then
   20853   as_fn_error $? "conditional \"FREETYPE_PCF_LONG_FAMILY_NAMES\" was never defined.
   20854 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20855 fi
   20856 if test -z "${ENABLE_JSONC_TRUE}" && test -z "${ENABLE_JSONC_FALSE}"; then
   20857   as_fn_error $? "conditional \"ENABLE_JSONC\" was never defined.
   20858 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20859 fi
   20860 if test -z "${HAVE_PTHREAD_TRUE}" && test -z "${HAVE_PTHREAD_FALSE}"; then
   20861   as_fn_error $? "conditional \"HAVE_PTHREAD\" was never defined.
   20862 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20863 fi
   20864 if test -z "${USEDOCBOOK_TRUE}" && test -z "${USEDOCBOOK_FALSE}"; then
   20865   as_fn_error $? "conditional \"USEDOCBOOK\" was never defined.
   20866 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20867 fi
   20868 if test -z "${ENABLE_DOCS_TRUE}" && test -z "${ENABLE_DOCS_FALSE}"; then
   20869   as_fn_error $? "conditional \"ENABLE_DOCS\" was never defined.
   20870 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20871 fi
   20872 if test -z "${ENABLE_CACHE_BUILD_TRUE}" && test -z "${ENABLE_CACHE_BUILD_FALSE}"; then
   20873   as_fn_error $? "conditional \"ENABLE_CACHE_BUILD\" was never defined.
   20874 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20875 fi
   20876 
   20877 
   20878 : "${CONFIG_STATUS=./config.status}"
   20879 ac_write_fail=0
   20880 ac_clean_files_save=$ac_clean_files
   20881 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   20882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   20883 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   20884 as_write_fail=0
   20885 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   20886 #! $SHELL
   20887 # Generated by $as_me.
   20888 # Run this file to recreate the current configuration.
   20889 # Compiler output produced by configure, useful for debugging
   20890 # configure, is in config.log if it exists.
   20891 
   20892 debug=false
   20893 ac_cs_recheck=false
   20894 ac_cs_silent=false
   20895 
   20896 SHELL=\${CONFIG_SHELL-$SHELL}
   20897 export SHELL
   20898 _ASEOF
   20899 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   20900 ## -------------------- ##
   20901 ## M4sh Initialization. ##
   20902 ## -------------------- ##
   20903 
   20904 # Be more Bourne compatible
   20905 DUALCASE=1; export DUALCASE # for MKS sh
   20906 as_nop=:
   20907 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   20908 then :
   20909   emulate sh
   20910   NULLCMD=:
   20911   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   20912   # is contrary to our usage.  Disable this feature.
   20913   alias -g '${1+"$@"}'='"$@"'
   20914   setopt NO_GLOB_SUBST
   20915 else $as_nop
   20916   case `(set -o) 2>/dev/null` in #(
   20917   *posix*) :
   20918     set -o posix ;; #(
   20919   *) :
   20920      ;;
   20921 esac
   20922 fi
   20923 
   20924 
   20925 
   20926 # Reset variables that may have inherited troublesome values from
   20927 # the environment.
   20928 
   20929 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   20930 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   20931 # side effect of setting IFS to empty, thus disabling word splitting.)
   20932 # Quoting is to prevent editors from complaining about space-tab.
   20933 as_nl='
   20934 '
   20935 export as_nl
   20936 IFS=" ""	$as_nl"
   20937 
   20938 PS1='$ '
   20939 PS2='> '
   20940 PS4='+ '
   20941 
   20942 # Ensure predictable behavior from utilities with locale-dependent output.
   20943 LC_ALL=C
   20944 export LC_ALL
   20945 LANGUAGE=C
   20946 export LANGUAGE
   20947 
   20948 # We cannot yet rely on "unset" to work, but we need these variables
   20949 # to be unset--not just set to an empty or harmless value--now, to
   20950 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   20951 # also avoids known problems related to "unset" and subshell syntax
   20952 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   20953 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   20954 do eval test \${$as_var+y} \
   20955   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   20956 done
   20957 
   20958 # Ensure that fds 0, 1, and 2 are open.
   20959 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   20960 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   20961 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   20962 
   20963 # The user is always right.
   20964 if ${PATH_SEPARATOR+false} :; then
   20965   PATH_SEPARATOR=:
   20966   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   20967     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   20968       PATH_SEPARATOR=';'
   20969   }
   20970 fi
   20971 
   20972 
   20973 # Find who we are.  Look in the path if we contain no directory separator.
   20974 as_myself=
   20975 case $0 in #((
   20976   *[\\/]* ) as_myself=$0 ;;
   20977   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20978 for as_dir in $PATH
   20979 do
   20980   IFS=$as_save_IFS
   20981   case $as_dir in #(((
   20982     '') as_dir=./ ;;
   20983     */) ;;
   20984     *) as_dir=$as_dir/ ;;
   20985   esac
   20986     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   20987   done
   20988 IFS=$as_save_IFS
   20989 
   20990      ;;
   20991 esac
   20992 # We did not find ourselves, most probably we were run as `sh COMMAND'
   20993 # in which case we are not to be found in the path.
   20994 if test "x$as_myself" = x; then
   20995   as_myself=$0
   20996 fi
   20997 if test ! -f "$as_myself"; then
   20998   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   20999   exit 1
   21000 fi
   21001 
   21002 
   21003 
   21004 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   21005 # ----------------------------------------
   21006 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   21007 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   21008 # script with STATUS, using 1 if that was 0.
   21009 as_fn_error ()
   21010 {
   21011   as_status=$1; test $as_status -eq 0 && as_status=1
   21012   if test "$4"; then
   21013     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   21014     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   21015   fi
   21016   printf "%s\n" "$as_me: error: $2" >&2
   21017   as_fn_exit $as_status
   21018 } # as_fn_error
   21019 
   21020 
   21021 
   21022 # as_fn_set_status STATUS
   21023 # -----------------------
   21024 # Set $? to STATUS, without forking.
   21025 as_fn_set_status ()
   21026 {
   21027   return $1
   21028 } # as_fn_set_status
   21029 
   21030 # as_fn_exit STATUS
   21031 # -----------------
   21032 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   21033 as_fn_exit ()
   21034 {
   21035   set +e
   21036   as_fn_set_status $1
   21037   exit $1
   21038 } # as_fn_exit
   21039 
   21040 # as_fn_unset VAR
   21041 # ---------------
   21042 # Portably unset VAR.
   21043 as_fn_unset ()
   21044 {
   21045   { eval $1=; unset $1;}
   21046 }
   21047 as_unset=as_fn_unset
   21048 
   21049 # as_fn_append VAR VALUE
   21050 # ----------------------
   21051 # Append the text in VALUE to the end of the definition contained in VAR. Take
   21052 # advantage of any shell optimizations that allow amortized linear growth over
   21053 # repeated appends, instead of the typical quadratic growth present in naive
   21054 # implementations.
   21055 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   21056 then :
   21057   eval 'as_fn_append ()
   21058   {
   21059     eval $1+=\$2
   21060   }'
   21061 else $as_nop
   21062   as_fn_append ()
   21063   {
   21064     eval $1=\$$1\$2
   21065   }
   21066 fi # as_fn_append
   21067 
   21068 # as_fn_arith ARG...
   21069 # ------------------
   21070 # Perform arithmetic evaluation on the ARGs, and store the result in the
   21071 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   21072 # must be portable across $(()) and expr.
   21073 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   21074 then :
   21075   eval 'as_fn_arith ()
   21076   {
   21077     as_val=$(( $* ))
   21078   }'
   21079 else $as_nop
   21080   as_fn_arith ()
   21081   {
   21082     as_val=`expr "$@" || test $? -eq 1`
   21083   }
   21084 fi # as_fn_arith
   21085 
   21086 
   21087 if expr a : '\(a\)' >/dev/null 2>&1 &&
   21088    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   21089   as_expr=expr
   21090 else
   21091   as_expr=false
   21092 fi
   21093 
   21094 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   21095   as_basename=basename
   21096 else
   21097   as_basename=false
   21098 fi
   21099 
   21100 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   21101   as_dirname=dirname
   21102 else
   21103   as_dirname=false
   21104 fi
   21105 
   21106 as_me=`$as_basename -- "$0" ||
   21107 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   21108 	 X"$0" : 'X\(//\)$' \| \
   21109 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   21110 printf "%s\n" X/"$0" |
   21111     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21112 	    s//\1/
   21113 	    q
   21114 	  }
   21115 	  /^X\/\(\/\/\)$/{
   21116 	    s//\1/
   21117 	    q
   21118 	  }
   21119 	  /^X\/\(\/\).*/{
   21120 	    s//\1/
   21121 	    q
   21122 	  }
   21123 	  s/.*/./; q'`
   21124 
   21125 # Avoid depending upon Character Ranges.
   21126 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   21127 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   21128 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   21129 as_cr_digits='0123456789'
   21130 as_cr_alnum=$as_cr_Letters$as_cr_digits
   21131 
   21132 
   21133 # Determine whether it's possible to make 'echo' print without a newline.
   21134 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   21135 # for compatibility with existing Makefiles.
   21136 ECHO_C= ECHO_N= ECHO_T=
   21137 case `echo -n x` in #(((((
   21138 -n*)
   21139   case `echo 'xy\c'` in
   21140   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   21141   xy)  ECHO_C='\c';;
   21142   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   21143        ECHO_T='	';;
   21144   esac;;
   21145 *)
   21146   ECHO_N='-n';;
   21147 esac
   21148 
   21149 # For backward compatibility with old third-party macros, we provide
   21150 # the shell variables $as_echo and $as_echo_n.  New code should use
   21151 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   21152 as_echo='printf %s\n'
   21153 as_echo_n='printf %s'
   21154 
   21155 rm -f conf$$ conf$$.exe conf$$.file
   21156 if test -d conf$$.dir; then
   21157   rm -f conf$$.dir/conf$$.file
   21158 else
   21159   rm -f conf$$.dir
   21160   mkdir conf$$.dir 2>/dev/null
   21161 fi
   21162 if (echo >conf$$.file) 2>/dev/null; then
   21163   if ln -s conf$$.file conf$$ 2>/dev/null; then
   21164     as_ln_s='ln -s'
   21165     # ... but there are two gotchas:
   21166     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   21167     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   21168     # In both cases, we have to default to `cp -pR'.
   21169     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   21170       as_ln_s='cp -pR'
   21171   elif ln conf$$.file conf$$ 2>/dev/null; then
   21172     as_ln_s=ln
   21173   else
   21174     as_ln_s='cp -pR'
   21175   fi
   21176 else
   21177   as_ln_s='cp -pR'
   21178 fi
   21179 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   21180 rmdir conf$$.dir 2>/dev/null
   21181 
   21182 
   21183 # as_fn_mkdir_p
   21184 # -------------
   21185 # Create "$as_dir" as a directory, including parents if necessary.
   21186 as_fn_mkdir_p ()
   21187 {
   21188 
   21189   case $as_dir in #(
   21190   -*) as_dir=./$as_dir;;
   21191   esac
   21192   test -d "$as_dir" || eval $as_mkdir_p || {
   21193     as_dirs=
   21194     while :; do
   21195       case $as_dir in #(
   21196       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   21197       *) as_qdir=$as_dir;;
   21198       esac
   21199       as_dirs="'$as_qdir' $as_dirs"
   21200       as_dir=`$as_dirname -- "$as_dir" ||
   21201 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21202 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   21203 	 X"$as_dir" : 'X\(//\)$' \| \
   21204 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   21205 printf "%s\n" X"$as_dir" |
   21206     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21207 	    s//\1/
   21208 	    q
   21209 	  }
   21210 	  /^X\(\/\/\)[^/].*/{
   21211 	    s//\1/
   21212 	    q
   21213 	  }
   21214 	  /^X\(\/\/\)$/{
   21215 	    s//\1/
   21216 	    q
   21217 	  }
   21218 	  /^X\(\/\).*/{
   21219 	    s//\1/
   21220 	    q
   21221 	  }
   21222 	  s/.*/./; q'`
   21223       test -d "$as_dir" && break
   21224     done
   21225     test -z "$as_dirs" || eval "mkdir $as_dirs"
   21226   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   21227 
   21228 
   21229 } # as_fn_mkdir_p
   21230 if mkdir -p . 2>/dev/null; then
   21231   as_mkdir_p='mkdir -p "$as_dir"'
   21232 else
   21233   test -d ./-p && rmdir ./-p
   21234   as_mkdir_p=false
   21235 fi
   21236 
   21237 
   21238 # as_fn_executable_p FILE
   21239 # -----------------------
   21240 # Test if FILE is an executable regular file.
   21241 as_fn_executable_p ()
   21242 {
   21243   test -f "$1" && test -x "$1"
   21244 } # as_fn_executable_p
   21245 as_test_x='test -x'
   21246 as_executable_p=as_fn_executable_p
   21247 
   21248 # Sed expression to map a string onto a valid CPP name.
   21249 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   21250 
   21251 # Sed expression to map a string onto a valid variable name.
   21252 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   21253 
   21254 
   21255 exec 6>&1
   21256 ## ----------------------------------- ##
   21257 ## Main body of $CONFIG_STATUS script. ##
   21258 ## ----------------------------------- ##
   21259 _ASEOF
   21260 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   21261 
   21262 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21263 # Save the log message, to keep $0 and so on meaningful, and to
   21264 # report actual input values of CONFIG_FILES etc. instead of their
   21265 # values after options handling.
   21266 ac_log="
   21267 This file was extended by fontconfig $as_me 2.14.1, which was
   21268 generated by GNU Autoconf 2.71.  Invocation command line was
   21269 
   21270   CONFIG_FILES    = $CONFIG_FILES
   21271   CONFIG_HEADERS  = $CONFIG_HEADERS
   21272   CONFIG_LINKS    = $CONFIG_LINKS
   21273   CONFIG_COMMANDS = $CONFIG_COMMANDS
   21274   $ $0 $@
   21275 
   21276 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   21277 "
   21278 
   21279 _ACEOF
   21280 
   21281 case $ac_config_files in *"
   21282 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   21283 esac
   21284 
   21285 case $ac_config_headers in *"
   21286 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   21287 esac
   21288 
   21289 
   21290 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21291 # Files that config.status was made for.
   21292 config_files="$ac_config_files"
   21293 config_headers="$ac_config_headers"
   21294 config_commands="$ac_config_commands"
   21295 
   21296 _ACEOF
   21297 
   21298 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21299 ac_cs_usage="\
   21300 \`$as_me' instantiates files and other configuration actions
   21301 from templates according to the current configuration.  Unless the files
   21302 and actions are specified as TAGs, all are instantiated by default.
   21303 
   21304 Usage: $0 [OPTION]... [TAG]...
   21305 
   21306   -h, --help       print this help, then exit
   21307   -V, --version    print version number and configuration settings, then exit
   21308       --config     print configuration, then exit
   21309   -q, --quiet, --silent
   21310                    do not print progress messages
   21311   -d, --debug      don't remove temporary files
   21312       --recheck    update $as_me by reconfiguring in the same conditions
   21313       --file=FILE[:TEMPLATE]
   21314                    instantiate the configuration file FILE
   21315       --header=FILE[:TEMPLATE]
   21316                    instantiate the configuration header FILE
   21317 
   21318 Configuration files:
   21319 $config_files
   21320 
   21321 Configuration headers:
   21322 $config_headers
   21323 
   21324 Configuration commands:
   21325 $config_commands
   21326 
   21327 Report bugs to <https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/new>."
   21328 
   21329 _ACEOF
   21330 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   21331 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   21332 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21333 ac_cs_config='$ac_cs_config_escaped'
   21334 ac_cs_version="\\
   21335 fontconfig config.status 2.14.1
   21336 configured by $0, generated by GNU Autoconf 2.71,
   21337   with options \\"\$ac_cs_config\\"
   21338 
   21339 Copyright (C) 2021 Free Software Foundation, Inc.
   21340 This config.status script is free software; the Free Software Foundation
   21341 gives unlimited permission to copy, distribute and modify it."
   21342 
   21343 ac_pwd='$ac_pwd'
   21344 srcdir='$srcdir'
   21345 INSTALL='$INSTALL'
   21346 MKDIR_P='$MKDIR_P'
   21347 AWK='$AWK'
   21348 test -n "\$AWK" || AWK=awk
   21349 _ACEOF
   21350 
   21351 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21352 # The default lists apply if the user does not specify any file.
   21353 ac_need_defaults=:
   21354 while test $# != 0
   21355 do
   21356   case $1 in
   21357   --*=?*)
   21358     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21359     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   21360     ac_shift=:
   21361     ;;
   21362   --*=)
   21363     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21364     ac_optarg=
   21365     ac_shift=:
   21366     ;;
   21367   *)
   21368     ac_option=$1
   21369     ac_optarg=$2
   21370     ac_shift=shift
   21371     ;;
   21372   esac
   21373 
   21374   case $ac_option in
   21375   # Handling of the options.
   21376   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   21377     ac_cs_recheck=: ;;
   21378   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   21379     printf "%s\n" "$ac_cs_version"; exit ;;
   21380   --config | --confi | --conf | --con | --co | --c )
   21381     printf "%s\n" "$ac_cs_config"; exit ;;
   21382   --debug | --debu | --deb | --de | --d | -d )
   21383     debug=: ;;
   21384   --file | --fil | --fi | --f )
   21385     $ac_shift
   21386     case $ac_optarg in
   21387     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21388     '') as_fn_error $? "missing file argument" ;;
   21389     esac
   21390     as_fn_append CONFIG_FILES " '$ac_optarg'"
   21391     ac_need_defaults=false;;
   21392   --header | --heade | --head | --hea )
   21393     $ac_shift
   21394     case $ac_optarg in
   21395     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21396     esac
   21397     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   21398     ac_need_defaults=false;;
   21399   --he | --h)
   21400     # Conflict between --help and --header
   21401     as_fn_error $? "ambiguous option: \`$1'
   21402 Try \`$0 --help' for more information.";;
   21403   --help | --hel | -h )
   21404     printf "%s\n" "$ac_cs_usage"; exit ;;
   21405   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   21406   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   21407     ac_cs_silent=: ;;
   21408 
   21409   # This is an error.
   21410   -*) as_fn_error $? "unrecognized option: \`$1'
   21411 Try \`$0 --help' for more information." ;;
   21412 
   21413   *) as_fn_append ac_config_targets " $1"
   21414      ac_need_defaults=false ;;
   21415 
   21416   esac
   21417   shift
   21418 done
   21419 
   21420 ac_configure_extra_args=
   21421 
   21422 if $ac_cs_silent; then
   21423   exec 6>/dev/null
   21424   ac_configure_extra_args="$ac_configure_extra_args --silent"
   21425 fi
   21426 
   21427 _ACEOF
   21428 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21429 if \$ac_cs_recheck; then
   21430   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   21431   shift
   21432   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   21433   CONFIG_SHELL='$SHELL'
   21434   export CONFIG_SHELL
   21435   exec "\$@"
   21436 fi
   21437 
   21438 _ACEOF
   21439 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21440 exec 5>>config.log
   21441 {
   21442   echo
   21443   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   21444 ## Running $as_me. ##
   21445 _ASBOX
   21446   printf "%s\n" "$ac_log"
   21447 } >&5
   21448 
   21449 _ACEOF
   21450 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21451 #
   21452 # INIT-COMMANDS
   21453 #
   21454 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   21455 
   21456 
   21457 # The HP-UX ksh and POSIX shell print the target directory to stdout
   21458 # if CDPATH is set.
   21459 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   21460 
   21461 sed_quote_subst='$sed_quote_subst'
   21462 double_quote_subst='$double_quote_subst'
   21463 delay_variable_subst='$delay_variable_subst'
   21464 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   21465 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   21466 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   21467 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
   21468 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   21469 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   21470 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   21471 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   21472 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   21473 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   21474 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   21475 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   21476 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   21477 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   21478 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   21479 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   21480 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   21481 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   21482 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   21483 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   21484 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   21485 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   21486 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   21487 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   21488 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   21489 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   21490 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   21491 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   21492 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   21493 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   21494 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   21495 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   21496 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   21497 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   21498 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   21499 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   21500 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   21501 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   21502 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   21503 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   21504 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   21505 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   21506 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   21507 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   21508 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   21509 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   21510 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   21511 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   21512 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   21513 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21514 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21515 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   21516 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   21517 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   21518 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   21519 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   21520 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   21521 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   21522 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   21523 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   21524 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   21525 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"`'
   21526 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   21527 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   21528 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   21529 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   21530 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   21531 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   21532 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   21533 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   21534 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   21535 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   21536 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   21537 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   21538 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   21539 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   21540 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   21541 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   21542 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   21543 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   21544 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   21545 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   21546 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21547 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   21548 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   21549 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   21550 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   21551 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   21552 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   21553 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21554 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   21555 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21556 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   21557 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21558 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   21559 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21560 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21561 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   21562 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   21563 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   21564 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   21565 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   21566 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21567 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   21568 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   21569 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   21570 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   21571 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   21572 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   21573 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   21574 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   21575 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   21576 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   21577 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   21578 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   21579 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   21580 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   21581 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   21582 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21583 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   21584 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   21585 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   21586 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   21587 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   21588 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21589 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21590 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   21591 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   21592 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   21593 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   21594 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   21595 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   21596 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   21597 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   21598 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   21599 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   21600 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   21601 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   21602 
   21603 LTCC='$LTCC'
   21604 LTCFLAGS='$LTCFLAGS'
   21605 compiler='$compiler_DEFAULT'
   21606 
   21607 # A function that is used when there is no print builtin or printf.
   21608 func_fallback_echo ()
   21609 {
   21610   eval 'cat <<_LTECHO_EOF
   21611 \$1
   21612 _LTECHO_EOF'
   21613 }
   21614 
   21615 # Quote evaled strings.
   21616 for var in AS \
   21617 DLLTOOL \
   21618 OBJDUMP \
   21619 SHELL \
   21620 ECHO \
   21621 PATH_SEPARATOR \
   21622 SED \
   21623 GREP \
   21624 EGREP \
   21625 FGREP \
   21626 LD \
   21627 NM \
   21628 LN_S \
   21629 lt_SP2NL \
   21630 lt_NL2SP \
   21631 reload_flag \
   21632 FILECMD \
   21633 deplibs_check_method \
   21634 file_magic_cmd \
   21635 file_magic_glob \
   21636 want_nocaseglob \
   21637 sharedlib_from_linklib_cmd \
   21638 AR \
   21639 archiver_list_spec \
   21640 STRIP \
   21641 RANLIB \
   21642 CC \
   21643 CFLAGS \
   21644 compiler \
   21645 lt_cv_sys_global_symbol_pipe \
   21646 lt_cv_sys_global_symbol_to_cdecl \
   21647 lt_cv_sys_global_symbol_to_import \
   21648 lt_cv_sys_global_symbol_to_c_name_address \
   21649 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   21650 lt_cv_nm_interface \
   21651 nm_file_list_spec \
   21652 lt_cv_truncate_bin \
   21653 lt_prog_compiler_no_builtin_flag \
   21654 lt_prog_compiler_pic \
   21655 lt_prog_compiler_wl \
   21656 lt_prog_compiler_static \
   21657 lt_cv_prog_compiler_c_o \
   21658 need_locks \
   21659 MANIFEST_TOOL \
   21660 DSYMUTIL \
   21661 NMEDIT \
   21662 LIPO \
   21663 OTOOL \
   21664 OTOOL64 \
   21665 shrext_cmds \
   21666 export_dynamic_flag_spec \
   21667 whole_archive_flag_spec \
   21668 compiler_needs_object \
   21669 with_gnu_ld \
   21670 allow_undefined_flag \
   21671 no_undefined_flag \
   21672 hardcode_libdir_flag_spec \
   21673 hardcode_libdir_separator \
   21674 exclude_expsyms \
   21675 include_expsyms \
   21676 file_list_spec \
   21677 variables_saved_for_relink \
   21678 libname_spec \
   21679 library_names_spec \
   21680 soname_spec \
   21681 install_override_mode \
   21682 finish_eval \
   21683 old_striplib \
   21684 striplib; do
   21685     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21686     *[\\\\\\\`\\"\\\$]*)
   21687       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21688       ;;
   21689     *)
   21690       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21691       ;;
   21692     esac
   21693 done
   21694 
   21695 # Double-quote double-evaled strings.
   21696 for var in reload_cmds \
   21697 old_postinstall_cmds \
   21698 old_postuninstall_cmds \
   21699 old_archive_cmds \
   21700 extract_expsyms_cmds \
   21701 old_archive_from_new_cmds \
   21702 old_archive_from_expsyms_cmds \
   21703 archive_cmds \
   21704 archive_expsym_cmds \
   21705 module_cmds \
   21706 module_expsym_cmds \
   21707 export_symbols_cmds \
   21708 prelink_cmds \
   21709 postlink_cmds \
   21710 postinstall_cmds \
   21711 postuninstall_cmds \
   21712 finish_cmds \
   21713 sys_lib_search_path_spec \
   21714 configure_time_dlsearch_path \
   21715 configure_time_lt_sys_library_path; do
   21716     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21717     *[\\\\\\\`\\"\\\$]*)
   21718       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21719       ;;
   21720     *)
   21721       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21722       ;;
   21723     esac
   21724 done
   21725 
   21726 ac_aux_dir='$ac_aux_dir'
   21727 
   21728 # See if we are running on zsh, and set the options that allow our
   21729 # commands through without removal of \ escapes INIT.
   21730 if test -n "\${ZSH_VERSION+set}"; then
   21731    setopt NO_GLOB_SUBST
   21732 fi
   21733 
   21734 
   21735     PACKAGE='$PACKAGE'
   21736     VERSION='$VERSION'
   21737     RM='$RM'
   21738     ofile='$ofile'
   21739 
   21740 
   21741 
   21742 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
   21743     # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
   21744     # from automake < 1.5.
   21745     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
   21746     # Capture the value of LINGUAS because we need it to compute CATALOGS.
   21747     LINGUAS="${LINGUAS-%UNSET%}"
   21748 
   21749 # variables for create stdint.h replacement
   21750 PACKAGE="$PACKAGE"
   21751 VERSION="$VERSION"
   21752 ac_stdint_h="$ac_stdint_h"
   21753 _ac_stdint_h=`printf "%s\n" "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
   21754 ac_cv_stdint_message="$ac_cv_stdint_message"
   21755 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
   21756 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
   21757 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
   21758 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
   21759 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
   21760 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
   21761 ac_cv_char_data_model="$ac_cv_char_data_model"
   21762 ac_cv_long_data_model="$ac_cv_long_data_model"
   21763 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
   21764 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
   21765 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
   21766 
   21767 
   21768 _ACEOF
   21769 
   21770 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21771 
   21772 # Handling of arguments.
   21773 for ac_config_target in $ac_config_targets
   21774 do
   21775   case $ac_config_target in
   21776     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   21777     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   21778     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   21779     "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
   21780     "$ac_stdint_h") CONFIG_COMMANDS="$CONFIG_COMMANDS $ac_stdint_h" ;;
   21781     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   21782     "fontconfig/Makefile") CONFIG_FILES="$CONFIG_FILES fontconfig/Makefile" ;;
   21783     "fc-lang/Makefile") CONFIG_FILES="$CONFIG_FILES fc-lang/Makefile" ;;
   21784     "fc-case/Makefile") CONFIG_FILES="$CONFIG_FILES fc-case/Makefile" ;;
   21785     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   21786     "conf.d/Makefile") CONFIG_FILES="$CONFIG_FILES conf.d/Makefile" ;;
   21787     "fc-cache/Makefile") CONFIG_FILES="$CONFIG_FILES fc-cache/Makefile" ;;
   21788     "fc-cat/Makefile") CONFIG_FILES="$CONFIG_FILES fc-cat/Makefile" ;;
   21789     "fc-conflist/Makefile") CONFIG_FILES="$CONFIG_FILES fc-conflist/Makefile" ;;
   21790     "fc-list/Makefile") CONFIG_FILES="$CONFIG_FILES fc-list/Makefile" ;;
   21791     "fc-match/Makefile") CONFIG_FILES="$CONFIG_FILES fc-match/Makefile" ;;
   21792     "fc-pattern/Makefile") CONFIG_FILES="$CONFIG_FILES fc-pattern/Makefile" ;;
   21793     "fc-query/Makefile") CONFIG_FILES="$CONFIG_FILES fc-query/Makefile" ;;
   21794     "fc-scan/Makefile") CONFIG_FILES="$CONFIG_FILES fc-scan/Makefile" ;;
   21795     "fc-validate/Makefile") CONFIG_FILES="$CONFIG_FILES fc-validate/Makefile" ;;
   21796     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   21797     "doc/version.sgml") CONFIG_FILES="$CONFIG_FILES doc/version.sgml" ;;
   21798     "its/Makefile") CONFIG_FILES="$CONFIG_FILES its/Makefile" ;;
   21799     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
   21800     "po-conf/Makefile.in") CONFIG_FILES="$CONFIG_FILES po-conf/Makefile.in" ;;
   21801     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
   21802     "fontconfig.pc") CONFIG_FILES="$CONFIG_FILES fontconfig.pc" ;;
   21803     "fontconfig-zip") CONFIG_FILES="$CONFIG_FILES fontconfig-zip" ;;
   21804 
   21805   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   21806   esac
   21807 done
   21808 
   21809 
   21810 # If the user did not use the arguments to specify the items to instantiate,
   21811 # then the envvar interface is used.  Set only those that are not.
   21812 # We use the long form for the default assignment because of an extremely
   21813 # bizarre bug on SunOS 4.1.3.
   21814 if $ac_need_defaults; then
   21815   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   21816   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   21817   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   21818 fi
   21819 
   21820 # Have a temporary directory for convenience.  Make it in the build tree
   21821 # simply because there is no reason against having it here, and in addition,
   21822 # creating and moving files from /tmp can sometimes cause problems.
   21823 # Hook for its removal unless debugging.
   21824 # Note that there is a small window in which the directory will not be cleaned:
   21825 # after its creation but before its name has been assigned to `$tmp'.
   21826 $debug ||
   21827 {
   21828   tmp= ac_tmp=
   21829   trap 'exit_status=$?
   21830   : "${ac_tmp:=$tmp}"
   21831   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   21832 ' 0
   21833   trap 'as_fn_exit 1' 1 2 13 15
   21834 }
   21835 # Create a (secure) tmp directory for tmp files.
   21836 
   21837 {
   21838   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   21839   test -d "$tmp"
   21840 }  ||
   21841 {
   21842   tmp=./conf$$-$RANDOM
   21843   (umask 077 && mkdir "$tmp")
   21844 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   21845 ac_tmp=$tmp
   21846 
   21847 # Set up the scripts for CONFIG_FILES section.
   21848 # No need to generate them if there are no CONFIG_FILES.
   21849 # This happens for instance with `./config.status config.h'.
   21850 if test -n "$CONFIG_FILES"; then
   21851 
   21852 
   21853 ac_cr=`echo X | tr X '\015'`
   21854 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   21855 # But we know of no other shell where ac_cr would be empty at this
   21856 # point, so we can use a bashism as a fallback.
   21857 if test "x$ac_cr" = x; then
   21858   eval ac_cr=\$\'\\r\'
   21859 fi
   21860 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   21861 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   21862   ac_cs_awk_cr='\\r'
   21863 else
   21864   ac_cs_awk_cr=$ac_cr
   21865 fi
   21866 
   21867 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   21868 _ACEOF
   21869 
   21870 
   21871 {
   21872   echo "cat >conf$$subs.awk <<_ACEOF" &&
   21873   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   21874   echo "_ACEOF"
   21875 } >conf$$subs.sh ||
   21876   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21877 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   21878 ac_delim='%!_!# '
   21879 for ac_last_try in false false false false false :; do
   21880   . ./conf$$subs.sh ||
   21881     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21882 
   21883   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   21884   if test $ac_delim_n = $ac_delim_num; then
   21885     break
   21886   elif $ac_last_try; then
   21887     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21888   else
   21889     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21890   fi
   21891 done
   21892 rm -f conf$$subs.sh
   21893 
   21894 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21895 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   21896 _ACEOF
   21897 sed -n '
   21898 h
   21899 s/^/S["/; s/!.*/"]=/
   21900 p
   21901 g
   21902 s/^[^!]*!//
   21903 :repl
   21904 t repl
   21905 s/'"$ac_delim"'$//
   21906 t delim
   21907 :nl
   21908 h
   21909 s/\(.\{148\}\)..*/\1/
   21910 t more1
   21911 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   21912 p
   21913 n
   21914 b repl
   21915 :more1
   21916 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21917 p
   21918 g
   21919 s/.\{148\}//
   21920 t nl
   21921 :delim
   21922 h
   21923 s/\(.\{148\}\)..*/\1/
   21924 t more2
   21925 s/["\\]/\\&/g; s/^/"/; s/$/"/
   21926 p
   21927 b
   21928 :more2
   21929 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21930 p
   21931 g
   21932 s/.\{148\}//
   21933 t delim
   21934 ' <conf$$subs.awk | sed '
   21935 /^[^""]/{
   21936   N
   21937   s/\n//
   21938 }
   21939 ' >>$CONFIG_STATUS || ac_write_fail=1
   21940 rm -f conf$$subs.awk
   21941 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21942 _ACAWK
   21943 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   21944   for (key in S) S_is_set[key] = 1
   21945   FS = ""
   21946 
   21947 }
   21948 {
   21949   line = $ 0
   21950   nfields = split(line, field, "@")
   21951   substed = 0
   21952   len = length(field[1])
   21953   for (i = 2; i < nfields; i++) {
   21954     key = field[i]
   21955     keylen = length(key)
   21956     if (S_is_set[key]) {
   21957       value = S[key]
   21958       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   21959       len += length(value) + length(field[++i])
   21960       substed = 1
   21961     } else
   21962       len += 1 + keylen
   21963   }
   21964 
   21965   print line
   21966 }
   21967 
   21968 _ACAWK
   21969 _ACEOF
   21970 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21971 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   21972   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   21973 else
   21974   cat
   21975 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   21976   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   21977 _ACEOF
   21978 
   21979 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   21980 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   21981 # trailing colons and then remove the whole line if VPATH becomes empty
   21982 # (actually we leave an empty line to preserve line numbers).
   21983 if test "x$srcdir" = x.; then
   21984   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   21985 h
   21986 s///
   21987 s/^/:/
   21988 s/[	 ]*$/:/
   21989 s/:\$(srcdir):/:/g
   21990 s/:\${srcdir}:/:/g
   21991 s/:@srcdir@:/:/g
   21992 s/^:*//
   21993 s/:*$//
   21994 x
   21995 s/\(=[	 ]*\).*/\1/
   21996 G
   21997 s/\n//
   21998 s/^[^=]*=[	 ]*$//
   21999 }'
   22000 fi
   22001 
   22002 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22003 fi # test -n "$CONFIG_FILES"
   22004 
   22005 # Set up the scripts for CONFIG_HEADERS section.
   22006 # No need to generate them if there are no CONFIG_HEADERS.
   22007 # This happens for instance with `./config.status Makefile'.
   22008 if test -n "$CONFIG_HEADERS"; then
   22009 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   22010 BEGIN {
   22011 _ACEOF
   22012 
   22013 # Transform confdefs.h into an awk script `defines.awk', embedded as
   22014 # here-document in config.status, that substitutes the proper values into
   22015 # config.h.in to produce config.h.
   22016 
   22017 # Create a delimiter string that does not exist in confdefs.h, to ease
   22018 # handling of long lines.
   22019 ac_delim='%!_!# '
   22020 for ac_last_try in false false :; do
   22021   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   22022   if test -z "$ac_tt"; then
   22023     break
   22024   elif $ac_last_try; then
   22025     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   22026   else
   22027     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22028   fi
   22029 done
   22030 
   22031 # For the awk script, D is an array of macro values keyed by name,
   22032 # likewise P contains macro parameters if any.  Preserve backslash
   22033 # newline sequences.
   22034 
   22035 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   22036 sed -n '
   22037 s/.\{148\}/&'"$ac_delim"'/g
   22038 t rset
   22039 :rset
   22040 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   22041 t def
   22042 d
   22043 :def
   22044 s/\\$//
   22045 t bsnl
   22046 s/["\\]/\\&/g
   22047 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22048 D["\1"]=" \3"/p
   22049 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   22050 d
   22051 :bsnl
   22052 s/["\\]/\\&/g
   22053 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22054 D["\1"]=" \3\\\\\\n"\\/p
   22055 t cont
   22056 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   22057 t cont
   22058 d
   22059 :cont
   22060 n
   22061 s/.\{148\}/&'"$ac_delim"'/g
   22062 t clear
   22063 :clear
   22064 s/\\$//
   22065 t bsnlc
   22066 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   22067 d
   22068 :bsnlc
   22069 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   22070 b cont
   22071 ' <confdefs.h | sed '
   22072 s/'"$ac_delim"'/"\\\
   22073 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   22074 
   22075 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22076   for (key in D) D_is_set[key] = 1
   22077   FS = ""
   22078 }
   22079 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   22080   line = \$ 0
   22081   split(line, arg, " ")
   22082   if (arg[1] == "#") {
   22083     defundef = arg[2]
   22084     mac1 = arg[3]
   22085   } else {
   22086     defundef = substr(arg[1], 2)
   22087     mac1 = arg[2]
   22088   }
   22089   split(mac1, mac2, "(") #)
   22090   macro = mac2[1]
   22091   prefix = substr(line, 1, index(line, defundef) - 1)
   22092   if (D_is_set[macro]) {
   22093     # Preserve the white space surrounding the "#".
   22094     print prefix "define", macro P[macro] D[macro]
   22095     next
   22096   } else {
   22097     # Replace #undef with comments.  This is necessary, for example,
   22098     # in the case of _POSIX_SOURCE, which is predefined and required
   22099     # on some systems where configure will not decide to define it.
   22100     if (defundef == "undef") {
   22101       print "/*", prefix defundef, macro, "*/"
   22102       next
   22103     }
   22104   }
   22105 }
   22106 { print }
   22107 _ACAWK
   22108 _ACEOF
   22109 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22110   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   22111 fi # test -n "$CONFIG_HEADERS"
   22112 
   22113 
   22114 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   22115 shift
   22116 for ac_tag
   22117 do
   22118   case $ac_tag in
   22119   :[FHLC]) ac_mode=$ac_tag; continue;;
   22120   esac
   22121   case $ac_mode$ac_tag in
   22122   :[FHL]*:*);;
   22123   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   22124   :[FH]-) ac_tag=-:-;;
   22125   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   22126   esac
   22127   ac_save_IFS=$IFS
   22128   IFS=:
   22129   set x $ac_tag
   22130   IFS=$ac_save_IFS
   22131   shift
   22132   ac_file=$1
   22133   shift
   22134 
   22135   case $ac_mode in
   22136   :L) ac_source=$1;;
   22137   :[FH])
   22138     ac_file_inputs=
   22139     for ac_f
   22140     do
   22141       case $ac_f in
   22142       -) ac_f="$ac_tmp/stdin";;
   22143       *) # Look for the file first in the build tree, then in the source tree
   22144 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   22145 	 # because $ac_f cannot contain `:'.
   22146 	 test -f "$ac_f" ||
   22147 	   case $ac_f in
   22148 	   [\\/$]*) false;;
   22149 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   22150 	   esac ||
   22151 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   22152       esac
   22153       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   22154       as_fn_append ac_file_inputs " '$ac_f'"
   22155     done
   22156 
   22157     # Let's still pretend it is `configure' which instantiates (i.e., don't
   22158     # use $as_me), people would be surprised to read:
   22159     #    /* config.h.  Generated by config.status.  */
   22160     configure_input='Generated from '`
   22161 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   22162 	`' by configure.'
   22163     if test x"$ac_file" != x-; then
   22164       configure_input="$ac_file.  $configure_input"
   22165       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   22166 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   22167     fi
   22168     # Neutralize special characters interpreted by sed in replacement strings.
   22169     case $configure_input in #(
   22170     *\&* | *\|* | *\\* )
   22171        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   22172        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   22173     *) ac_sed_conf_input=$configure_input;;
   22174     esac
   22175 
   22176     case $ac_tag in
   22177     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   22178       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   22179     esac
   22180     ;;
   22181   esac
   22182 
   22183   ac_dir=`$as_dirname -- "$ac_file" ||
   22184 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22185 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   22186 	 X"$ac_file" : 'X\(//\)$' \| \
   22187 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   22188 printf "%s\n" X"$ac_file" |
   22189     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22190 	    s//\1/
   22191 	    q
   22192 	  }
   22193 	  /^X\(\/\/\)[^/].*/{
   22194 	    s//\1/
   22195 	    q
   22196 	  }
   22197 	  /^X\(\/\/\)$/{
   22198 	    s//\1/
   22199 	    q
   22200 	  }
   22201 	  /^X\(\/\).*/{
   22202 	    s//\1/
   22203 	    q
   22204 	  }
   22205 	  s/.*/./; q'`
   22206   as_dir="$ac_dir"; as_fn_mkdir_p
   22207   ac_builddir=.
   22208 
   22209 case "$ac_dir" in
   22210 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22211 *)
   22212   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   22213   # A ".." for each directory in $ac_dir_suffix.
   22214   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   22215   case $ac_top_builddir_sub in
   22216   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22217   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   22218   esac ;;
   22219 esac
   22220 ac_abs_top_builddir=$ac_pwd
   22221 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   22222 # for backward compatibility:
   22223 ac_top_builddir=$ac_top_build_prefix
   22224 
   22225 case $srcdir in
   22226   .)  # We are building in place.
   22227     ac_srcdir=.
   22228     ac_top_srcdir=$ac_top_builddir_sub
   22229     ac_abs_top_srcdir=$ac_pwd ;;
   22230   [\\/]* | ?:[\\/]* )  # Absolute name.
   22231     ac_srcdir=$srcdir$ac_dir_suffix;
   22232     ac_top_srcdir=$srcdir
   22233     ac_abs_top_srcdir=$srcdir ;;
   22234   *) # Relative name.
   22235     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   22236     ac_top_srcdir=$ac_top_build_prefix$srcdir
   22237     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   22238 esac
   22239 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   22240 
   22241 
   22242   case $ac_mode in
   22243   :F)
   22244   #
   22245   # CONFIG_FILE
   22246   #
   22247 
   22248   case $INSTALL in
   22249   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   22250   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   22251   esac
   22252   ac_MKDIR_P=$MKDIR_P
   22253   case $MKDIR_P in
   22254   [\\/$]* | ?:[\\/]* ) ;;
   22255   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   22256   esac
   22257 _ACEOF
   22258 
   22259 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22260 # If the template does not know about datarootdir, expand it.
   22261 # FIXME: This hack should be removed a few years after 2.60.
   22262 ac_datarootdir_hack=; ac_datarootdir_seen=
   22263 ac_sed_dataroot='
   22264 /datarootdir/ {
   22265   p
   22266   q
   22267 }
   22268 /@datadir@/p
   22269 /@docdir@/p
   22270 /@infodir@/p
   22271 /@localedir@/p
   22272 /@mandir@/p'
   22273 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   22274 *datarootdir*) ac_datarootdir_seen=yes;;
   22275 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   22276   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   22277 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   22278 _ACEOF
   22279 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22280   ac_datarootdir_hack='
   22281   s&@datadir@&$datadir&g
   22282   s&@docdir@&$docdir&g
   22283   s&@infodir@&$infodir&g
   22284   s&@localedir@&$localedir&g
   22285   s&@mandir@&$mandir&g
   22286   s&\\\${datarootdir}&$datarootdir&g' ;;
   22287 esac
   22288 _ACEOF
   22289 
   22290 # Neutralize VPATH when `$srcdir' = `.'.
   22291 # Shell code in configure.ac might set extrasub.
   22292 # FIXME: do we really want to maintain this feature?
   22293 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22294 ac_sed_extra="$ac_vpsub
   22295 $extrasub
   22296 _ACEOF
   22297 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22298 :t
   22299 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   22300 s|@configure_input@|$ac_sed_conf_input|;t t
   22301 s&@top_builddir@&$ac_top_builddir_sub&;t t
   22302 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   22303 s&@srcdir@&$ac_srcdir&;t t
   22304 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   22305 s&@top_srcdir@&$ac_top_srcdir&;t t
   22306 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   22307 s&@builddir@&$ac_builddir&;t t
   22308 s&@abs_builddir@&$ac_abs_builddir&;t t
   22309 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   22310 s&@INSTALL@&$ac_INSTALL&;t t
   22311 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   22312 $ac_datarootdir_hack
   22313 "
   22314 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   22315   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22316 
   22317 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   22318   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   22319   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   22320       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   22321   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22322 which seems to be undefined.  Please make sure it is defined" >&5
   22323 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22324 which seems to be undefined.  Please make sure it is defined" >&2;}
   22325 
   22326   rm -f "$ac_tmp/stdin"
   22327   case $ac_file in
   22328   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   22329   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   22330   esac \
   22331   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22332  ;;
   22333   :H)
   22334   #
   22335   # CONFIG_HEADER
   22336   #
   22337   if test x"$ac_file" != x-; then
   22338     {
   22339       printf "%s\n" "/* $configure_input  */" >&1 \
   22340       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   22341     } >"$ac_tmp/config.h" \
   22342       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22343     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   22344       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   22345 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   22346     else
   22347       rm -f "$ac_file"
   22348       mv "$ac_tmp/config.h" "$ac_file" \
   22349 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22350     fi
   22351   else
   22352     printf "%s\n" "/* $configure_input  */" >&1 \
   22353       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   22354       || as_fn_error $? "could not create -" "$LINENO" 5
   22355   fi
   22356 # Compute "$ac_file"'s index in $config_headers.
   22357 _am_arg="$ac_file"
   22358 _am_stamp_count=1
   22359 for _am_header in $config_headers :; do
   22360   case $_am_header in
   22361     $_am_arg | $_am_arg:* )
   22362       break ;;
   22363     * )
   22364       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   22365   esac
   22366 done
   22367 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   22368 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22369 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   22370 	 X"$_am_arg" : 'X\(//\)$' \| \
   22371 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   22372 printf "%s\n" X"$_am_arg" |
   22373     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22374 	    s//\1/
   22375 	    q
   22376 	  }
   22377 	  /^X\(\/\/\)[^/].*/{
   22378 	    s//\1/
   22379 	    q
   22380 	  }
   22381 	  /^X\(\/\/\)$/{
   22382 	    s//\1/
   22383 	    q
   22384 	  }
   22385 	  /^X\(\/\).*/{
   22386 	    s//\1/
   22387 	    q
   22388 	  }
   22389 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   22390  ;;
   22391 
   22392   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   22393 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   22394  ;;
   22395   esac
   22396 
   22397 
   22398   case $ac_file$ac_mode in
   22399     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   22400   # Older Autoconf quotes --file arguments for eval, but not when files
   22401   # are listed without --file.  Let's play safe and only enable the eval
   22402   # if we detect the quoting.
   22403   # TODO: see whether this extra hack can be removed once we start
   22404   # requiring Autoconf 2.70 or later.
   22405   case $CONFIG_FILES in #(
   22406   *\'*) :
   22407     eval set x "$CONFIG_FILES" ;; #(
   22408   *) :
   22409     set x $CONFIG_FILES ;; #(
   22410   *) :
   22411      ;;
   22412 esac
   22413   shift
   22414   # Used to flag and report bootstrapping failures.
   22415   am_rc=0
   22416   for am_mf
   22417   do
   22418     # Strip MF so we end up with the name of the file.
   22419     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   22420     # Check whether this is an Automake generated Makefile which includes
   22421     # dependency-tracking related rules and includes.
   22422     # Grep'ing the whole file directly is not great: AIX grep has a line
   22423     # limit of 2048, but all sed's we know have understand at least 4000.
   22424     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   22425       || continue
   22426     am_dirpart=`$as_dirname -- "$am_mf" ||
   22427 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22428 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   22429 	 X"$am_mf" : 'X\(//\)$' \| \
   22430 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   22431 printf "%s\n" X"$am_mf" |
   22432     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22433 	    s//\1/
   22434 	    q
   22435 	  }
   22436 	  /^X\(\/\/\)[^/].*/{
   22437 	    s//\1/
   22438 	    q
   22439 	  }
   22440 	  /^X\(\/\/\)$/{
   22441 	    s//\1/
   22442 	    q
   22443 	  }
   22444 	  /^X\(\/\).*/{
   22445 	    s//\1/
   22446 	    q
   22447 	  }
   22448 	  s/.*/./; q'`
   22449     am_filepart=`$as_basename -- "$am_mf" ||
   22450 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   22451 	 X"$am_mf" : 'X\(//\)$' \| \
   22452 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   22453 printf "%s\n" X/"$am_mf" |
   22454     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22455 	    s//\1/
   22456 	    q
   22457 	  }
   22458 	  /^X\/\(\/\/\)$/{
   22459 	    s//\1/
   22460 	    q
   22461 	  }
   22462 	  /^X\/\(\/\).*/{
   22463 	    s//\1/
   22464 	    q
   22465 	  }
   22466 	  s/.*/./; q'`
   22467     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   22468       && sed -e '/# am--include-marker/d' "$am_filepart" \
   22469         | $MAKE -f - am--depfiles" >&5
   22470    (cd "$am_dirpart" \
   22471       && sed -e '/# am--include-marker/d' "$am_filepart" \
   22472         | $MAKE -f - am--depfiles) >&5 2>&5
   22473    ac_status=$?
   22474    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22475    (exit $ac_status); } || am_rc=$?
   22476   done
   22477   if test $am_rc -ne 0; then
   22478     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   22479 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   22480 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   22481     for automatic dependency tracking.  If GNU make was not used, consider
   22482     re-running the configure script with MAKE=\"gmake\" (or whatever is
   22483     necessary).  You can also try re-running configure with the
   22484     '--disable-dependency-tracking' option to at least be able to build
   22485     the package (albeit without support for automatic dependency tracking).
   22486 See \`config.log' for more details" "$LINENO" 5; }
   22487   fi
   22488   { am_dirpart=; unset am_dirpart;}
   22489   { am_filepart=; unset am_filepart;}
   22490   { am_mf=; unset am_mf;}
   22491   { am_rc=; unset am_rc;}
   22492   rm -f conftest-deps.mk
   22493 }
   22494  ;;
   22495     "libtool":C)
   22496 
   22497     # See if we are running on zsh, and set the options that allow our
   22498     # commands through without removal of \ escapes.
   22499     if test -n "${ZSH_VERSION+set}"; then
   22500       setopt NO_GLOB_SUBST
   22501     fi
   22502 
   22503     cfgfile=${ofile}T
   22504     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   22505     $RM "$cfgfile"
   22506 
   22507     cat <<_LT_EOF >> "$cfgfile"
   22508 #! $SHELL
   22509 # Generated automatically by $as_me ($PACKAGE) $VERSION
   22510 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   22511 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   22512 
   22513 # Provide generalized library-building support services.
   22514 # Written by Gordon Matzigkeit, 1996
   22515 
   22516 # Copyright (C) 2014 Free Software Foundation, Inc.
   22517 # This is free software; see the source for copying conditions.  There is NO
   22518 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   22519 
   22520 # GNU Libtool is free software; you can redistribute it and/or modify
   22521 # it under the terms of the GNU General Public License as published by
   22522 # the Free Software Foundation; either version 2 of of the License, or
   22523 # (at your option) any later version.
   22524 #
   22525 # As a special exception to the GNU General Public License, if you
   22526 # distribute this file as part of a program or library that is built
   22527 # using GNU Libtool, you may include this file under the  same
   22528 # distribution terms that you use for the rest of that program.
   22529 #
   22530 # GNU Libtool is distributed in the hope that it will be useful, but
   22531 # WITHOUT ANY WARRANTY; without even the implied warranty of
   22532 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   22533 # GNU General Public License for more details.
   22534 #
   22535 # You should have received a copy of the GNU General Public License
   22536 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   22537 
   22538 
   22539 # The names of the tagged configurations supported by this script.
   22540 available_tags=''
   22541 
   22542 # Configured defaults for sys_lib_dlsearch_path munging.
   22543 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   22544 
   22545 # ### BEGIN LIBTOOL CONFIG
   22546 
   22547 # Which release of libtool.m4 was used?
   22548 macro_version=$macro_version
   22549 macro_revision=$macro_revision
   22550 
   22551 # Whether or not to build static libraries.
   22552 build_old_libs=$enable_static
   22553 
   22554 # Assembler program.
   22555 AS=$lt_AS
   22556 
   22557 # DLL creation program.
   22558 DLLTOOL=$lt_DLLTOOL
   22559 
   22560 # Object dumper program.
   22561 OBJDUMP=$lt_OBJDUMP
   22562 
   22563 # Whether or not to build shared libraries.
   22564 build_libtool_libs=$enable_shared
   22565 
   22566 # What type of objects to build.
   22567 pic_mode=$pic_mode
   22568 
   22569 # Whether or not to optimize for fast installation.
   22570 fast_install=$enable_fast_install
   22571 
   22572 # Shared archive member basename,for filename based shared library versioning on AIX.
   22573 shared_archive_member_spec=$shared_archive_member_spec
   22574 
   22575 # Shell to use when invoking shell scripts.
   22576 SHELL=$lt_SHELL
   22577 
   22578 # An echo program that protects backslashes.
   22579 ECHO=$lt_ECHO
   22580 
   22581 # The PATH separator for the build system.
   22582 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   22583 
   22584 # The host system.
   22585 host_alias=$host_alias
   22586 host=$host
   22587 host_os=$host_os
   22588 
   22589 # The build system.
   22590 build_alias=$build_alias
   22591 build=$build
   22592 build_os=$build_os
   22593 
   22594 # A sed program that does not truncate output.
   22595 SED=$lt_SED
   22596 
   22597 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   22598 Xsed="\$SED -e 1s/^X//"
   22599 
   22600 # A grep program that handles long lines.
   22601 GREP=$lt_GREP
   22602 
   22603 # An ERE matcher.
   22604 EGREP=$lt_EGREP
   22605 
   22606 # A literal string matcher.
   22607 FGREP=$lt_FGREP
   22608 
   22609 # A BSD- or MS-compatible name lister.
   22610 NM=$lt_NM
   22611 
   22612 # Whether we need soft or hard links.
   22613 LN_S=$lt_LN_S
   22614 
   22615 # What is the maximum length of a command?
   22616 max_cmd_len=$max_cmd_len
   22617 
   22618 # Object file suffix (normally "o").
   22619 objext=$ac_objext
   22620 
   22621 # Executable file suffix (normally "").
   22622 exeext=$exeext
   22623 
   22624 # whether the shell understands "unset".
   22625 lt_unset=$lt_unset
   22626 
   22627 # turn spaces into newlines.
   22628 SP2NL=$lt_lt_SP2NL
   22629 
   22630 # turn newlines into spaces.
   22631 NL2SP=$lt_lt_NL2SP
   22632 
   22633 # convert \$build file names to \$host format.
   22634 to_host_file_cmd=$lt_cv_to_host_file_cmd
   22635 
   22636 # convert \$build files to toolchain format.
   22637 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   22638 
   22639 # A file(cmd) program that detects file types.
   22640 FILECMD=$lt_FILECMD
   22641 
   22642 # Method to check whether dependent libraries are shared objects.
   22643 deplibs_check_method=$lt_deplibs_check_method
   22644 
   22645 # Command to use when deplibs_check_method = "file_magic".
   22646 file_magic_cmd=$lt_file_magic_cmd
   22647 
   22648 # How to find potential files when deplibs_check_method = "file_magic".
   22649 file_magic_glob=$lt_file_magic_glob
   22650 
   22651 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   22652 want_nocaseglob=$lt_want_nocaseglob
   22653 
   22654 # Command to associate shared and link libraries.
   22655 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   22656 
   22657 # The archiver.
   22658 AR=$lt_AR
   22659 
   22660 # Flags to create an archive (by configure).
   22661 lt_ar_flags=$lt_ar_flags
   22662 
   22663 # Flags to create an archive.
   22664 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   22665 
   22666 # How to feed a file listing to the archiver.
   22667 archiver_list_spec=$lt_archiver_list_spec
   22668 
   22669 # A symbol stripping program.
   22670 STRIP=$lt_STRIP
   22671 
   22672 # Commands used to install an old-style archive.
   22673 RANLIB=$lt_RANLIB
   22674 old_postinstall_cmds=$lt_old_postinstall_cmds
   22675 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   22676 
   22677 # Whether to use a lock for old archive extraction.
   22678 lock_old_archive_extraction=$lock_old_archive_extraction
   22679 
   22680 # A C compiler.
   22681 LTCC=$lt_CC
   22682 
   22683 # LTCC compiler flags.
   22684 LTCFLAGS=$lt_CFLAGS
   22685 
   22686 # Take the output of nm and produce a listing of raw symbols and C names.
   22687 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   22688 
   22689 # Transform the output of nm in a proper C declaration.
   22690 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   22691 
   22692 # Transform the output of nm into a list of symbols to manually relocate.
   22693 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   22694 
   22695 # Transform the output of nm in a C name address pair.
   22696 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   22697 
   22698 # Transform the output of nm in a C name address pair when lib prefix is needed.
   22699 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   22700 
   22701 # The name lister interface.
   22702 nm_interface=$lt_lt_cv_nm_interface
   22703 
   22704 # Specify filename containing input files for \$NM.
   22705 nm_file_list_spec=$lt_nm_file_list_spec
   22706 
   22707 # The root where to search for dependent libraries,and where our libraries should be installed.
   22708 lt_sysroot=$lt_sysroot
   22709 
   22710 # Command to truncate a binary pipe.
   22711 lt_truncate_bin=$lt_lt_cv_truncate_bin
   22712 
   22713 # The name of the directory that contains temporary libtool files.
   22714 objdir=$objdir
   22715 
   22716 # Used to examine libraries when file_magic_cmd begins with "file".
   22717 MAGIC_CMD=$MAGIC_CMD
   22718 
   22719 # Must we lock files when doing compilation?
   22720 need_locks=$lt_need_locks
   22721 
   22722 # Manifest tool.
   22723 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   22724 
   22725 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   22726 DSYMUTIL=$lt_DSYMUTIL
   22727 
   22728 # Tool to change global to local symbols on Mac OS X.
   22729 NMEDIT=$lt_NMEDIT
   22730 
   22731 # Tool to manipulate fat objects and archives on Mac OS X.
   22732 LIPO=$lt_LIPO
   22733 
   22734 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   22735 OTOOL=$lt_OTOOL
   22736 
   22737 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   22738 OTOOL64=$lt_OTOOL64
   22739 
   22740 # Old archive suffix (normally "a").
   22741 libext=$libext
   22742 
   22743 # Shared library suffix (normally ".so").
   22744 shrext_cmds=$lt_shrext_cmds
   22745 
   22746 # The commands to extract the exported symbol list from a shared archive.
   22747 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   22748 
   22749 # Variables whose values should be saved in libtool wrapper scripts and
   22750 # restored at link time.
   22751 variables_saved_for_relink=$lt_variables_saved_for_relink
   22752 
   22753 # Do we need the "lib" prefix for modules?
   22754 need_lib_prefix=$need_lib_prefix
   22755 
   22756 # Do we need a version for libraries?
   22757 need_version=$need_version
   22758 
   22759 # Library versioning type.
   22760 version_type=$version_type
   22761 
   22762 # Shared library runtime path variable.
   22763 runpath_var=$runpath_var
   22764 
   22765 # Shared library path variable.
   22766 shlibpath_var=$shlibpath_var
   22767 
   22768 # Is shlibpath searched before the hard-coded library search path?
   22769 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   22770 
   22771 # Format of library name prefix.
   22772 libname_spec=$lt_libname_spec
   22773 
   22774 # List of archive names.  First name is the real one, the rest are links.
   22775 # The last name is the one that the linker finds with -lNAME
   22776 library_names_spec=$lt_library_names_spec
   22777 
   22778 # The coded name of the library, if different from the real name.
   22779 soname_spec=$lt_soname_spec
   22780 
   22781 # Permission mode override for installation of shared libraries.
   22782 install_override_mode=$lt_install_override_mode
   22783 
   22784 # Command to use after installation of a shared archive.
   22785 postinstall_cmds=$lt_postinstall_cmds
   22786 
   22787 # Command to use after uninstallation of a shared archive.
   22788 postuninstall_cmds=$lt_postuninstall_cmds
   22789 
   22790 # Commands used to finish a libtool library installation in a directory.
   22791 finish_cmds=$lt_finish_cmds
   22792 
   22793 # As "finish_cmds", except a single script fragment to be evaled but
   22794 # not shown.
   22795 finish_eval=$lt_finish_eval
   22796 
   22797 # Whether we should hardcode library paths into libraries.
   22798 hardcode_into_libs=$hardcode_into_libs
   22799 
   22800 # Compile-time system search path for libraries.
   22801 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   22802 
   22803 # Detected run-time system search path for libraries.
   22804 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   22805 
   22806 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   22807 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   22808 
   22809 # Whether dlopen is supported.
   22810 dlopen_support=$enable_dlopen
   22811 
   22812 # Whether dlopen of programs is supported.
   22813 dlopen_self=$enable_dlopen_self
   22814 
   22815 # Whether dlopen of statically linked programs is supported.
   22816 dlopen_self_static=$enable_dlopen_self_static
   22817 
   22818 # Commands to strip libraries.
   22819 old_striplib=$lt_old_striplib
   22820 striplib=$lt_striplib
   22821 
   22822 
   22823 # The linker used to build libraries.
   22824 LD=$lt_LD
   22825 
   22826 # How to create reloadable object files.
   22827 reload_flag=$lt_reload_flag
   22828 reload_cmds=$lt_reload_cmds
   22829 
   22830 # Commands used to build an old-style archive.
   22831 old_archive_cmds=$lt_old_archive_cmds
   22832 
   22833 # A language specific compiler.
   22834 CC=$lt_compiler
   22835 
   22836 # Is the compiler the GNU compiler?
   22837 with_gcc=$GCC
   22838 
   22839 # Compiler flag to turn off builtin functions.
   22840 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   22841 
   22842 # Additional compiler flags for building library objects.
   22843 pic_flag=$lt_lt_prog_compiler_pic
   22844 
   22845 # How to pass a linker flag through the compiler.
   22846 wl=$lt_lt_prog_compiler_wl
   22847 
   22848 # Compiler flag to prevent dynamic linking.
   22849 link_static_flag=$lt_lt_prog_compiler_static
   22850 
   22851 # Does compiler simultaneously support -c and -o options?
   22852 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   22853 
   22854 # Whether or not to add -lc for building shared libraries.
   22855 build_libtool_need_lc=$archive_cmds_need_lc
   22856 
   22857 # Whether or not to disallow shared libs when runtime libs are static.
   22858 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   22859 
   22860 # Compiler flag to allow reflexive dlopens.
   22861 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   22862 
   22863 # Compiler flag to generate shared objects directly from archives.
   22864 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   22865 
   22866 # Whether the compiler copes with passing no objects directly.
   22867 compiler_needs_object=$lt_compiler_needs_object
   22868 
   22869 # Create an old-style archive from a shared archive.
   22870 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   22871 
   22872 # Create a temporary old-style archive to link instead of a shared archive.
   22873 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   22874 
   22875 # Commands used to build a shared archive.
   22876 archive_cmds=$lt_archive_cmds
   22877 archive_expsym_cmds=$lt_archive_expsym_cmds
   22878 
   22879 # Commands used to build a loadable module if different from building
   22880 # a shared archive.
   22881 module_cmds=$lt_module_cmds
   22882 module_expsym_cmds=$lt_module_expsym_cmds
   22883 
   22884 # Whether we are building with GNU ld or not.
   22885 with_gnu_ld=$lt_with_gnu_ld
   22886 
   22887 # Flag that allows shared libraries with undefined symbols to be built.
   22888 allow_undefined_flag=$lt_allow_undefined_flag
   22889 
   22890 # Flag that enforces no undefined symbols.
   22891 no_undefined_flag=$lt_no_undefined_flag
   22892 
   22893 # Flag to hardcode \$libdir into a binary during linking.
   22894 # This must work even if \$libdir does not exist
   22895 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   22896 
   22897 # Whether we need a single "-rpath" flag with a separated argument.
   22898 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   22899 
   22900 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22901 # DIR into the resulting binary.
   22902 hardcode_direct=$hardcode_direct
   22903 
   22904 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22905 # DIR into the resulting binary and the resulting library dependency is
   22906 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   22907 # library is relocated.
   22908 hardcode_direct_absolute=$hardcode_direct_absolute
   22909 
   22910 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   22911 # into the resulting binary.
   22912 hardcode_minus_L=$hardcode_minus_L
   22913 
   22914 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   22915 # into the resulting binary.
   22916 hardcode_shlibpath_var=$hardcode_shlibpath_var
   22917 
   22918 # Set to "yes" if building a shared library automatically hardcodes DIR
   22919 # into the library and all subsequent libraries and executables linked
   22920 # against it.
   22921 hardcode_automatic=$hardcode_automatic
   22922 
   22923 # Set to yes if linker adds runtime paths of dependent libraries
   22924 # to runtime path list.
   22925 inherit_rpath=$inherit_rpath
   22926 
   22927 # Whether libtool must link a program against all its dependency libraries.
   22928 link_all_deplibs=$link_all_deplibs
   22929 
   22930 # Set to "yes" if exported symbols are required.
   22931 always_export_symbols=$always_export_symbols
   22932 
   22933 # The commands to list exported symbols.
   22934 export_symbols_cmds=$lt_export_symbols_cmds
   22935 
   22936 # Symbols that should not be listed in the preloaded symbols.
   22937 exclude_expsyms=$lt_exclude_expsyms
   22938 
   22939 # Symbols that must always be exported.
   22940 include_expsyms=$lt_include_expsyms
   22941 
   22942 # Commands necessary for linking programs (against libraries) with templates.
   22943 prelink_cmds=$lt_prelink_cmds
   22944 
   22945 # Commands necessary for finishing linking programs.
   22946 postlink_cmds=$lt_postlink_cmds
   22947 
   22948 # Specify filename containing input files.
   22949 file_list_spec=$lt_file_list_spec
   22950 
   22951 # How to hardcode a shared library path into an executable.
   22952 hardcode_action=$hardcode_action
   22953 
   22954 # ### END LIBTOOL CONFIG
   22955 
   22956 _LT_EOF
   22957 
   22958     cat <<'_LT_EOF' >> "$cfgfile"
   22959 
   22960 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   22961 
   22962 # func_munge_path_list VARIABLE PATH
   22963 # -----------------------------------
   22964 # VARIABLE is name of variable containing _space_ separated list of
   22965 # directories to be munged by the contents of PATH, which is string
   22966 # having a format:
   22967 # "DIR[:DIR]:"
   22968 #       string "DIR[ DIR]" will be prepended to VARIABLE
   22969 # ":DIR[:DIR]"
   22970 #       string "DIR[ DIR]" will be appended to VARIABLE
   22971 # "DIRP[:DIRP]::[DIRA:]DIRA"
   22972 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   22973 #       "DIRA[ DIRA]" will be appended to VARIABLE
   22974 # "DIR[:DIR]"
   22975 #       VARIABLE will be replaced by "DIR[ DIR]"
   22976 func_munge_path_list ()
   22977 {
   22978     case x$2 in
   22979     x)
   22980         ;;
   22981     *:)
   22982         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   22983         ;;
   22984     x:*)
   22985         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   22986         ;;
   22987     *::*)
   22988         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   22989         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   22990         ;;
   22991     *)
   22992         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   22993         ;;
   22994     esac
   22995 }
   22996 
   22997 
   22998 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   22999 func_cc_basename ()
   23000 {
   23001     for cc_temp in $*""; do
   23002       case $cc_temp in
   23003         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   23004         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   23005         \-*) ;;
   23006         *) break;;
   23007       esac
   23008     done
   23009     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   23010 }
   23011 
   23012 
   23013 # ### END FUNCTIONS SHARED WITH CONFIGURE
   23014 
   23015 _LT_EOF
   23016 
   23017   case $host_os in
   23018   aix3*)
   23019     cat <<\_LT_EOF >> "$cfgfile"
   23020 # AIX sometimes has problems with the GCC collect2 program.  For some
   23021 # reason, if we set the COLLECT_NAMES environment variable, the problems
   23022 # vanish in a puff of smoke.
   23023 if test set != "${COLLECT_NAMES+set}"; then
   23024   COLLECT_NAMES=
   23025   export COLLECT_NAMES
   23026 fi
   23027 _LT_EOF
   23028     ;;
   23029   esac
   23030 
   23031 
   23032 
   23033 ltmain=$ac_aux_dir/ltmain.sh
   23034 
   23035 
   23036   # We use sed instead of cat because bash on DJGPP gets confused if
   23037   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   23038   # text mode, it properly converts lines to CR/LF.  This bash problem
   23039   # is reportedly fixed, but why not run on old versions too?
   23040   $SED '$q' "$ltmain" >> "$cfgfile" \
   23041      || (rm -f "$cfgfile"; exit 1)
   23042 
   23043    mv -f "$cfgfile" "$ofile" ||
   23044     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   23045   chmod +x "$ofile"
   23046 
   23047  ;;
   23048     "po-directories":C)
   23049     for ac_file in $CONFIG_FILES; do
   23050       # Support "outfile[:infile[:infile...]]"
   23051       case "$ac_file" in
   23052         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
   23053       esac
   23054       # PO directories have a Makefile.in generated from Makefile.in.in.
   23055       case "$ac_file" in */Makefile.in)
   23056         # Adjust a relative srcdir.
   23057         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
   23058         ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
   23059         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
   23060         # In autoconf-2.13 it is called $ac_given_srcdir.
   23061         # In autoconf-2.50 it is called $srcdir.
   23062         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
   23063         case "$ac_given_srcdir" in
   23064           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
   23065           /*) top_srcdir="$ac_given_srcdir" ;;
   23066           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
   23067         esac
   23068         # Treat a directory as a PO directory if and only if it has a
   23069         # POTFILES.in file. This allows packages to have multiple PO
   23070         # directories under different names or in different locations.
   23071         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
   23072           rm -f "$ac_dir/POTFILES"
   23073           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
   23074           gt_tab=`printf '\t'`
   23075           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
   23076           POMAKEFILEDEPS="POTFILES.in"
   23077           # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
   23078           # on $ac_dir but don't depend on user-specified configuration
   23079           # parameters.
   23080           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
   23081             # The LINGUAS file contains the set of available languages.
   23082             if test -n "$OBSOLETE_ALL_LINGUAS"; then
   23083               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
   23084             fi
   23085             ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
   23086             # Hide the ALL_LINGUAS assignment from automake < 1.5.
   23087             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
   23088             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
   23089           else
   23090             # The set of available languages was given in configure.in.
   23091             # Hide the ALL_LINGUAS assignment from automake < 1.5.
   23092             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
   23093           fi
   23094           # Compute POFILES
   23095           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
   23096           # Compute UPDATEPOFILES
   23097           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
   23098           # Compute DUMMYPOFILES
   23099           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
   23100           # Compute GMOFILES
   23101           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
   23102           case "$ac_given_srcdir" in
   23103             .) srcdirpre= ;;
   23104             *) srcdirpre='$(srcdir)/' ;;
   23105           esac
   23106           POFILES=
   23107           UPDATEPOFILES=
   23108           DUMMYPOFILES=
   23109           GMOFILES=
   23110           for lang in $ALL_LINGUAS; do
   23111             POFILES="$POFILES $srcdirpre$lang.po"
   23112             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
   23113             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
   23114             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
   23115           done
   23116           # CATALOGS depends on both $ac_dir and the user's LINGUAS
   23117           # environment variable.
   23118           INST_LINGUAS=
   23119           if test -n "$ALL_LINGUAS"; then
   23120             for presentlang in $ALL_LINGUAS; do
   23121               useit=no
   23122               if test "%UNSET%" != "$LINGUAS"; then
   23123                 desiredlanguages="$LINGUAS"
   23124               else
   23125                 desiredlanguages="$ALL_LINGUAS"
   23126               fi
   23127               for desiredlang in $desiredlanguages; do
   23128                 # Use the presentlang catalog if desiredlang is
   23129                 #   a. equal to presentlang, or
   23130                 #   b. a variant of presentlang (because in this case,
   23131                 #      presentlang can be used as a fallback for messages
   23132                 #      which are not translated in the desiredlang catalog).
   23133                 case "$desiredlang" in
   23134                   "$presentlang"*) useit=yes;;
   23135                 esac
   23136               done
   23137               if test $useit = yes; then
   23138                 INST_LINGUAS="$INST_LINGUAS $presentlang"
   23139               fi
   23140             done
   23141           fi
   23142           CATALOGS=
   23143           if test -n "$INST_LINGUAS"; then
   23144             for lang in $INST_LINGUAS; do
   23145               CATALOGS="$CATALOGS $lang.gmo"
   23146             done
   23147           fi
   23148           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
   23149           sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
   23150           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
   23151             if test -f "$f"; then
   23152               case "$f" in
   23153                 *.orig | *.bak | *~) ;;
   23154                 *) cat "$f" >> "$ac_dir/Makefile" ;;
   23155               esac
   23156             fi
   23157           done
   23158         fi
   23159         ;;
   23160       esac
   23161     done ;;
   23162     "$ac_stdint_h":C)
   23163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_stdint_h : $_ac_stdint_h" >&5
   23164 printf "%s\n" "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
   23165 ac_stdint=$tmp/_stdint.h
   23166 
   23167 echo "#ifndef" $_ac_stdint_h >$ac_stdint
   23168 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
   23169 echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint
   23170 echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint
   23171 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
   23172 if test "_$ac_cv_header_stdint_t" != "_" ; then
   23173 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
   23174 echo "#include <stdint.h>" >>$ac_stdint
   23175 echo "#endif" >>$ac_stdint
   23176 echo "#endif" >>$ac_stdint
   23177 else
   23178 
   23179 cat >>$ac_stdint <<STDINT_EOF
   23180 
   23181 /* ................... shortcircuit part ........................... */
   23182 
   23183 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
   23184 #include <stdint.h>
   23185 #else
   23186 #include <stddef.h>
   23187 
   23188 /* .................... configured part ............................ */
   23189 
   23190 STDINT_EOF
   23191 
   23192 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
   23193 if test "_$ac_cv_header_stdint_x" != "_" ; then
   23194   ac_header="$ac_cv_header_stdint_x"
   23195   echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
   23196 else
   23197   echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
   23198 fi
   23199 
   23200 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
   23201 if  test "_$ac_cv_header_stdint_o" != "_" ; then
   23202   ac_header="$ac_cv_header_stdint_o"
   23203   echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
   23204 else
   23205   echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
   23206 fi
   23207 
   23208 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
   23209 if  test "_$ac_cv_header_stdint_u" != "_" ; then
   23210   ac_header="$ac_cv_header_stdint_u"
   23211   echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
   23212 else
   23213   echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
   23214 fi
   23215 
   23216 echo "" >>$ac_stdint
   23217 
   23218 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
   23219   echo "#include <$ac_header>" >>$ac_stdint
   23220   echo "" >>$ac_stdint
   23221 fi fi
   23222 
   23223 echo "/* which 64bit typedef has been found */" >>$ac_stdint
   23224 if test "$ac_cv_type_uint64_t" = "yes" ; then
   23225 echo "#define   _STDINT_HAVE_UINT64_T" "1"  >>$ac_stdint
   23226 else
   23227 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
   23228 fi
   23229 if test "$ac_cv_type_u_int64_t" = "yes" ; then
   23230 echo "#define   _STDINT_HAVE_U_INT64_T" "1"  >>$ac_stdint
   23231 else
   23232 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
   23233 fi
   23234 echo "" >>$ac_stdint
   23235 
   23236 echo "/* which type model has been detected */" >>$ac_stdint
   23237 if test "_$ac_cv_char_data_model" != "_" ; then
   23238 echo "#define   _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
   23239 echo "#define   _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
   23240 else
   23241 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
   23242 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
   23243 fi
   23244 echo "" >>$ac_stdint
   23245 
   23246 echo "/* whether int_least types were detected */" >>$ac_stdint
   23247 if test "$ac_cv_type_int_least32_t" = "yes"; then
   23248 echo "#define   _STDINT_HAVE_INT_LEAST32_T" "1"  >>$ac_stdint
   23249 else
   23250 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
   23251 fi
   23252 echo "/* whether int_fast types were detected */" >>$ac_stdint
   23253 if test "$ac_cv_type_int_fast32_t" = "yes"; then
   23254 echo "#define   _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
   23255 else
   23256 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
   23257 fi
   23258 echo "/* whether intmax_t type was detected */" >>$ac_stdint
   23259 if test "$ac_cv_type_intmax_t" = "yes"; then
   23260 echo "#define   _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
   23261 else
   23262 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
   23263 fi
   23264 echo "" >>$ac_stdint
   23265 
   23266   cat >>$ac_stdint <<STDINT_EOF
   23267 /* .................... detections part ............................ */
   23268 
   23269 /* whether we need to define bitspecific types from compiler base types */
   23270 #ifndef _STDINT_HEADER_INTPTR
   23271 #ifndef _STDINT_HEADER_UINT32
   23272 #ifndef _STDINT_HEADER_U_INT32
   23273 #define _STDINT_NEED_INT_MODEL_T
   23274 #else
   23275 #define _STDINT_HAVE_U_INT_TYPES
   23276 #endif
   23277 #endif
   23278 #endif
   23279 
   23280 #ifdef _STDINT_HAVE_U_INT_TYPES
   23281 #undef _STDINT_NEED_INT_MODEL_T
   23282 #endif
   23283 
   23284 #ifdef  _STDINT_CHAR_MODEL
   23285 #if     _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
   23286 #ifndef _STDINT_BYTE_MODEL
   23287 #define _STDINT_BYTE_MODEL 12
   23288 #endif
   23289 #endif
   23290 #endif
   23291 
   23292 #ifndef _STDINT_HAVE_INT_LEAST32_T
   23293 #define _STDINT_NEED_INT_LEAST_T
   23294 #endif
   23295 
   23296 #ifndef _STDINT_HAVE_INT_FAST32_T
   23297 #define _STDINT_NEED_INT_FAST_T
   23298 #endif
   23299 
   23300 #ifndef _STDINT_HEADER_INTPTR
   23301 #define _STDINT_NEED_INTPTR_T
   23302 #ifndef _STDINT_HAVE_INTMAX_T
   23303 #define _STDINT_NEED_INTMAX_T
   23304 #endif
   23305 #endif
   23306 
   23307 
   23308 /* .................... definition part ............................ */
   23309 
   23310 /* some system headers have good uint64_t */
   23311 #ifndef _HAVE_UINT64_T
   23312 #if     defined _STDINT_HAVE_UINT64_T  || defined HAVE_UINT64_T
   23313 #define _HAVE_UINT64_T
   23314 #elif   defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
   23315 #define _HAVE_UINT64_T
   23316 typedef u_int64_t uint64_t;
   23317 #endif
   23318 #endif
   23319 
   23320 #ifndef _HAVE_UINT64_T
   23321 /* .. here are some common heuristics using compiler runtime specifics */
   23322 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
   23323 #define _HAVE_UINT64_T
   23324 #define _HAVE_LONGLONG_UINT64_T
   23325 typedef long long int64_t;
   23326 typedef unsigned long long uint64_t;
   23327 
   23328 #elif !defined __STRICT_ANSI__
   23329 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
   23330 #define _HAVE_UINT64_T
   23331 typedef __int64 int64_t;
   23332 typedef unsigned __int64 uint64_t;
   23333 
   23334 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
   23335 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
   23336 #if !defined _NO_LONGLONG
   23337 #define _HAVE_UINT64_T
   23338 #define _HAVE_LONGLONG_UINT64_T
   23339 typedef long long int64_t;
   23340 typedef unsigned long long uint64_t;
   23341 #endif
   23342 
   23343 #elif defined __alpha || (defined __mips && defined _ABIN32)
   23344 #if !defined _NO_LONGLONG
   23345 typedef long int64_t;
   23346 typedef unsigned long uint64_t;
   23347 #endif
   23348   /* compiler/cpu type to define int64_t */
   23349 #endif
   23350 #endif
   23351 #endif
   23352 
   23353 #if defined _STDINT_HAVE_U_INT_TYPES
   23354 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
   23355 typedef u_int8_t uint8_t;
   23356 typedef u_int16_t uint16_t;
   23357 typedef u_int32_t uint32_t;
   23358 
   23359 /* glibc compatibility */
   23360 #ifndef __int8_t_defined
   23361 #define __int8_t_defined
   23362 #endif
   23363 #endif
   23364 
   23365 #ifdef _STDINT_NEED_INT_MODEL_T
   23366 /* we must guess all the basic types. Apart from byte-adressable system, */
   23367 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
   23368 /* (btw, those nibble-addressable systems are way off, or so we assume) */
   23369 
   23370 
   23371 #if defined _STDINT_BYTE_MODEL
   23372 #if _STDINT_LONG_MODEL+0 == 242
   23373 /* 2:4:2 =  IP16 = a normal 16-bit system                */
   23374 typedef unsigned char   uint8_t;
   23375 typedef unsigned short  uint16_t;
   23376 typedef unsigned long   uint32_t;
   23377 #ifndef __int8_t_defined
   23378 #define __int8_t_defined
   23379 typedef          char    int8_t;
   23380 typedef          short   int16_t;
   23381 typedef          long    int32_t;
   23382 #endif
   23383 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
   23384 /* 2:4:4 =  LP32 = a 32-bit system derived from a 16-bit */
   23385 /* 4:4:4 = ILP32 = a normal 32-bit system                */
   23386 typedef unsigned char   uint8_t;
   23387 typedef unsigned short  uint16_t;
   23388 typedef unsigned int    uint32_t;
   23389 #ifndef __int8_t_defined
   23390 #define __int8_t_defined
   23391 typedef          char    int8_t;
   23392 typedef          short   int16_t;
   23393 typedef          int     int32_t;
   23394 #endif
   23395 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
   23396 /* 4:8:4 =  IP32 = a 32-bit system prepared for 64-bit    */
   23397 /* 4:8:8 =  LP64 = a normal 64-bit system                 */
   23398 typedef unsigned char   uint8_t;
   23399 typedef unsigned short  uint16_t;
   23400 typedef unsigned int    uint32_t;
   23401 #ifndef __int8_t_defined
   23402 #define __int8_t_defined
   23403 typedef          char    int8_t;
   23404 typedef          short   int16_t;
   23405 typedef          int     int32_t;
   23406 #endif
   23407 /* this system has a "long" of 64bit */
   23408 #ifndef _HAVE_UINT64_T
   23409 #define _HAVE_UINT64_T
   23410 typedef unsigned long   uint64_t;
   23411 typedef          long    int64_t;
   23412 #endif
   23413 #elif _STDINT_LONG_MODEL+0 == 448
   23414 /*      LLP64   a 64-bit system derived from a 32-bit system */
   23415 typedef unsigned char   uint8_t;
   23416 typedef unsigned short  uint16_t;
   23417 typedef unsigned int    uint32_t;
   23418 #ifndef __int8_t_defined
   23419 #define __int8_t_defined
   23420 typedef          char    int8_t;
   23421 typedef          short   int16_t;
   23422 typedef          int     int32_t;
   23423 #endif
   23424 /* assuming the system has a "long long" */
   23425 #ifndef _HAVE_UINT64_T
   23426 #define _HAVE_UINT64_T
   23427 #define _HAVE_LONGLONG_UINT64_T
   23428 typedef unsigned long long uint64_t;
   23429 typedef          long long  int64_t;
   23430 #endif
   23431 #else
   23432 #define _STDINT_NO_INT32_T
   23433 #endif
   23434 #else
   23435 #define _STDINT_NO_INT8_T
   23436 #define _STDINT_NO_INT32_T
   23437 #endif
   23438 #endif
   23439 
   23440 /*
   23441  * quote from SunOS-5.8 sys/inttypes.h:
   23442  * Use at your own risk.  As of February 1996, the committee is squarely
   23443  * behind the fixed sized types; the "least" and "fast" types are still being
   23444  * discussed.  The probability that the "fast" types may be removed before
   23445  * the standard is finalized is high enough that they are not currently
   23446  * implemented.
   23447  */
   23448 
   23449 #if defined _STDINT_NEED_INT_LEAST_T
   23450 typedef  int8_t    int_least8_t;
   23451 typedef  int16_t   int_least16_t;
   23452 typedef  int32_t   int_least32_t;
   23453 #ifdef _HAVE_UINT64_T
   23454 typedef  int64_t   int_least64_t;
   23455 #endif
   23456 
   23457 typedef uint8_t   uint_least8_t;
   23458 typedef uint16_t  uint_least16_t;
   23459 typedef uint32_t  uint_least32_t;
   23460 #ifdef _HAVE_UINT64_T
   23461 typedef uint64_t  uint_least64_t;
   23462 #endif
   23463   /* least types */
   23464 #endif
   23465 
   23466 #if defined _STDINT_NEED_INT_FAST_T
   23467 typedef  int8_t    int_fast8_t;
   23468 typedef  int       int_fast16_t;
   23469 typedef  int32_t   int_fast32_t;
   23470 #ifdef _HAVE_UINT64_T
   23471 typedef  int64_t   int_fast64_t;
   23472 #endif
   23473 
   23474 typedef uint8_t   uint_fast8_t;
   23475 typedef unsigned  uint_fast16_t;
   23476 typedef uint32_t  uint_fast32_t;
   23477 #ifdef _HAVE_UINT64_T
   23478 typedef uint64_t  uint_fast64_t;
   23479 #endif
   23480   /* fast types */
   23481 #endif
   23482 
   23483 #ifdef _STDINT_NEED_INTMAX_T
   23484 #ifdef _HAVE_UINT64_T
   23485 typedef  int64_t       intmax_t;
   23486 typedef uint64_t      uintmax_t;
   23487 #else
   23488 typedef          long  intmax_t;
   23489 typedef unsigned long uintmax_t;
   23490 #endif
   23491 #endif
   23492 
   23493 #ifdef _STDINT_NEED_INTPTR_T
   23494 #ifndef __intptr_t_defined
   23495 #define __intptr_t_defined
   23496 /* we encourage using "long" to store pointer values, never use "int" ! */
   23497 #if   _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
   23498 typedef  unsigned int   uintptr_t;
   23499 typedef           int    intptr_t;
   23500 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
   23501 typedef  unsigned long  uintptr_t;
   23502 typedef           long   intptr_t;
   23503 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
   23504 typedef        uint64_t uintptr_t;
   23505 typedef         int64_t  intptr_t;
   23506 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
   23507 typedef  unsigned long  uintptr_t;
   23508 typedef           long   intptr_t;
   23509 #endif
   23510 #endif
   23511 #endif
   23512 
   23513 /* The ISO C99 standard specifies that in C++ implementations these
   23514    should only be defined if explicitly requested.  */
   23515 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
   23516 #ifndef UINT32_C
   23517 
   23518 /* Signed.  */
   23519 # define INT8_C(c)      c
   23520 # define INT16_C(c)     c
   23521 # define INT32_C(c)     c
   23522 # ifdef _HAVE_LONGLONG_UINT64_T
   23523 #  define INT64_C(c)    c ## L
   23524 # else
   23525 #  define INT64_C(c)    c ## LL
   23526 # endif
   23527 
   23528 /* Unsigned.  */
   23529 # define UINT8_C(c)     c ## U
   23530 # define UINT16_C(c)    c ## U
   23531 # define UINT32_C(c)    c ## U
   23532 # ifdef _HAVE_LONGLONG_UINT64_T
   23533 #  define UINT64_C(c)   c ## UL
   23534 # else
   23535 #  define UINT64_C(c)   c ## ULL
   23536 # endif
   23537 
   23538 /* Maximal type.  */
   23539 # ifdef _HAVE_LONGLONG_UINT64_T
   23540 #  define INTMAX_C(c)   c ## L
   23541 #  define UINTMAX_C(c)  c ## UL
   23542 # else
   23543 #  define INTMAX_C(c)   c ## LL
   23544 #  define UINTMAX_C(c)  c ## ULL
   23545 # endif
   23546 
   23547   /* literalnumbers */
   23548 #endif
   23549 #endif
   23550 
   23551 /* These limits are merily those of a two complement byte-oriented system */
   23552 
   23553 /* Minimum of signed integral types.  */
   23554 # define INT8_MIN               (-128)
   23555 # define INT16_MIN              (-32767-1)
   23556 # define INT32_MIN              (-2147483647-1)
   23557 # define INT64_MIN              (-__INT64_C(9223372036854775807)-1)
   23558 /* Maximum of signed integral types.  */
   23559 # define INT8_MAX               (127)
   23560 # define INT16_MAX              (32767)
   23561 # define INT32_MAX              (2147483647)
   23562 # define INT64_MAX              (__INT64_C(9223372036854775807))
   23563 
   23564 /* Maximum of unsigned integral types.  */
   23565 # define UINT8_MAX              (255)
   23566 # define UINT16_MAX             (65535)
   23567 # define UINT32_MAX             (4294967295U)
   23568 # define UINT64_MAX             (__UINT64_C(18446744073709551615))
   23569 
   23570 /* Minimum of signed integral types having a minimum size.  */
   23571 # define INT_LEAST8_MIN         INT8_MIN
   23572 # define INT_LEAST16_MIN        INT16_MIN
   23573 # define INT_LEAST32_MIN        INT32_MIN
   23574 # define INT_LEAST64_MIN        INT64_MIN
   23575 /* Maximum of signed integral types having a minimum size.  */
   23576 # define INT_LEAST8_MAX         INT8_MAX
   23577 # define INT_LEAST16_MAX        INT16_MAX
   23578 # define INT_LEAST32_MAX        INT32_MAX
   23579 # define INT_LEAST64_MAX        INT64_MAX
   23580 
   23581 /* Maximum of unsigned integral types having a minimum size.  */
   23582 # define UINT_LEAST8_MAX        UINT8_MAX
   23583 # define UINT_LEAST16_MAX       UINT16_MAX
   23584 # define UINT_LEAST32_MAX       UINT32_MAX
   23585 # define UINT_LEAST64_MAX       UINT64_MAX
   23586 
   23587   /* shortcircuit*/
   23588 #endif
   23589   /* once */
   23590 #endif
   23591 #endif
   23592 STDINT_EOF
   23593 fi
   23594     if cmp -s $ac_stdint_h $ac_stdint 2>/dev/null; then
   23595       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_stdint_h is unchanged" >&5
   23596 printf "%s\n" "$as_me: $ac_stdint_h is unchanged" >&6;}
   23597     else
   23598       ac_dir=`$as_dirname -- "$ac_stdint_h" ||
   23599 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23600 	 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
   23601 	 X"$ac_stdint_h" : 'X\(//\)$' \| \
   23602 	 X"$ac_stdint_h" : 'X\(/\)' \| . 2>/dev/null ||
   23603 printf "%s\n" X"$ac_stdint_h" |
   23604     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23605 	    s//\1/
   23606 	    q
   23607 	  }
   23608 	  /^X\(\/\/\)[^/].*/{
   23609 	    s//\1/
   23610 	    q
   23611 	  }
   23612 	  /^X\(\/\/\)$/{
   23613 	    s//\1/
   23614 	    q
   23615 	  }
   23616 	  /^X\(\/\).*/{
   23617 	    s//\1/
   23618 	    q
   23619 	  }
   23620 	  s/.*/./; q'`
   23621       as_dir="$ac_dir"; as_fn_mkdir_p
   23622       rm -f $ac_stdint_h
   23623       mv $ac_stdint $ac_stdint_h
   23624     fi
   23625  ;;
   23626 
   23627   esac
   23628 done # for ac_tag
   23629 
   23630 
   23631 as_fn_exit 0
   23632 _ACEOF
   23633 ac_clean_files=$ac_clean_files_save
   23634 
   23635 test $ac_write_fail = 0 ||
   23636   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   23637 
   23638 
   23639 # configure is writing to config.log, and then calls config.status.
   23640 # config.status does its own redirection, appending to config.log.
   23641 # Unfortunately, on DOS this fails, as config.log is still kept open
   23642 # by configure, so config.status won't be able to write to it; its
   23643 # output is simply discarded.  So we exec the FD to /dev/null,
   23644 # effectively closing config.log, so it can be properly (re)opened and
   23645 # appended to by config.status.  When coming back to configure, we
   23646 # need to make the FD available again.
   23647 if test "$no_create" != yes; then
   23648   ac_cs_success=:
   23649   ac_config_status_args=
   23650   test "$silent" = yes &&
   23651     ac_config_status_args="$ac_config_status_args --quiet"
   23652   exec 5>/dev/null
   23653   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   23654   exec 5>>config.log
   23655   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   23656   # would make configure fail if this is the last instruction.
   23657   $ac_cs_success || as_fn_exit 1
   23658 fi
   23659 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   23660   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   23661 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   23662 fi
   23663 
   23664 
   23665