Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.9
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.71 for fontconfig 2.14.0.
      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.0'
    626 PACKAGE_STRING='fontconfig 2.14.0'
    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 NM
    760 ac_ct_DUMPBIN
    761 DUMPBIN
    762 LD
    763 FGREP
    764 EGREP
    765 GREP
    766 SED
    767 host_os
    768 host_vendor
    769 host_cpu
    770 host
    771 build_os
    772 build_vendor
    773 build_cpu
    774 build
    775 LIBTOOL
    776 OBJDUMP
    777 DLLTOOL
    778 AS
    779 RM
    780 pkgpyexecdir
    781 pyexecdir
    782 pkgpythondir
    783 pythondir
    784 PYTHON_EXEC_PREFIX
    785 PYTHON_PREFIX
    786 PYTHON_PLATFORM
    787 PYTHON_VERSION
    788 PYTHON
    789 GPERF
    790 GIT
    791 pkgconfigdir
    792 PKG_CONFIG_LIBDIR
    793 PKG_CONFIG_PATH
    794 PKG_CONFIG
    795 LN_S
    796 am__fastdepCC_FALSE
    797 am__fastdepCC_TRUE
    798 CCDEPMODE
    799 am__nodep
    800 AMDEPBACKSLASH
    801 AMDEP_FALSE
    802 AMDEP_TRUE
    803 am__include
    804 DEPDIR
    805 OBJEXT
    806 EXEEXT
    807 ac_ct_CC
    808 CPPFLAGS
    809 LDFLAGS
    810 CFLAGS
    811 CC
    812 AM_BACKSLASH
    813 AM_DEFAULT_VERBOSITY
    814 AM_DEFAULT_V
    815 AM_V
    816 CSCOPE
    817 ETAGS
    818 CTAGS
    819 am__untar
    820 am__tar
    821 AMTAR
    822 am__leading_dot
    823 SET_MAKE
    824 AWK
    825 mkdir_p
    826 MKDIR_P
    827 INSTALL_STRIP_PROGRAM
    828 STRIP
    829 install_sh
    830 MAKEINFO
    831 AUTOHEADER
    832 AUTOMAKE
    833 AUTOCONF
    834 ACLOCAL
    835 VERSION
    836 PACKAGE
    837 CYGPATH_W
    838 am__isrc
    839 INSTALL_DATA
    840 INSTALL_SCRIPT
    841 INSTALL_PROGRAM
    842 target_alias
    843 host_alias
    844 build_alias
    845 LIBS
    846 ECHO_T
    847 ECHO_N
    848 ECHO_C
    849 DEFS
    850 mandir
    851 localedir
    852 libdir
    853 psdir
    854 pdfdir
    855 dvidir
    856 htmldir
    857 infodir
    858 docdir
    859 oldincludedir
    860 includedir
    861 runstatedir
    862 localstatedir
    863 sharedstatedir
    864 sysconfdir
    865 datadir
    866 datarootdir
    867 libexecdir
    868 sbindir
    869 bindir
    870 program_transform_name
    871 prefix
    872 exec_prefix
    873 PACKAGE_URL
    874 PACKAGE_BUGREPORT
    875 PACKAGE_STRING
    876 PACKAGE_VERSION
    877 PACKAGE_TARNAME
    878 PACKAGE_NAME
    879 PATH_SEPARATOR
    880 SHELL
    881 am__quote'
    882 ac_subst_files=''
    883 ac_user_opts='
    884 enable_option_checking
    885 enable_silent_rules
    886 enable_dependency_tracking
    887 enable_largefile
    888 with_pkgconfigdir
    889 with_python_sys_prefix
    890 with_python_prefix
    891 with_python_exec_prefix
    892 enable_static
    893 enable_shared
    894 with_pic
    895 enable_fast_install
    896 with_aix_soname
    897 with_gnu_ld
    898 with_sysroot
    899 enable_libtool_lock
    900 enable_nls
    901 enable_rpath
    902 with_libiconv_prefix
    903 with_libintl_prefix
    904 with_arch
    905 enable_iconv
    906 with_libiconv
    907 with_libiconv_includes
    908 with_libiconv_lib
    909 with_expat
    910 with_expat_includes
    911 with_expat_lib
    912 enable_libxml2
    913 with_default_hinting
    914 with_default_fonts
    915 with_add_fonts
    916 with_cache_dir
    917 with_templatedir
    918 with_baseconfigdir
    919 with_configdir
    920 with_xmldir
    921 enable_docs
    922 enable_cache_build
    923 '
    924       ac_precious_vars='build_alias
    925 host_alias
    926 target_alias
    927 CC
    928 CFLAGS
    929 LDFLAGS
    930 LIBS
    931 CPPFLAGS
    932 PKG_CONFIG
    933 PKG_CONFIG_PATH
    934 PKG_CONFIG_LIBDIR
    935 PYTHON
    936 LT_SYS_LIBRARY_PATH
    937 CPP
    938 CC_FOR_BUILD
    939 FREETYPE_CFLAGS
    940 FREETYPE_LIBS
    941 EXPAT_CFLAGS
    942 EXPAT_LIBS
    943 LIBXML2_CFLAGS
    944 LIBXML2_LIBS
    945 JSONC_CFLAGS
    946 JSONC_LIBS'
    947 
    948 
    949 # Initialize some variables set by options.
    950 ac_init_help=
    951 ac_init_version=false
    952 ac_unrecognized_opts=
    953 ac_unrecognized_sep=
    954 # The variables have the same names as the options, with
    955 # dashes changed to underlines.
    956 cache_file=/dev/null
    957 exec_prefix=NONE
    958 no_create=
    959 no_recursion=
    960 prefix=NONE
    961 program_prefix=NONE
    962 program_suffix=NONE
    963 program_transform_name=s,x,x,
    964 silent=
    965 site=
    966 srcdir=
    967 verbose=
    968 x_includes=NONE
    969 x_libraries=NONE
    970 
    971 # Installation directory options.
    972 # These are left unexpanded so users can "make install exec_prefix=/foo"
    973 # and all the variables that are supposed to be based on exec_prefix
    974 # by default will actually change.
    975 # Use braces instead of parens because sh, perl, etc. also accept them.
    976 # (The list follows the same order as the GNU Coding Standards.)
    977 bindir='${exec_prefix}/bin'
    978 sbindir='${exec_prefix}/sbin'
    979 libexecdir='${exec_prefix}/libexec'
    980 datarootdir='${prefix}/share'
    981 datadir='${datarootdir}'
    982 sysconfdir='${prefix}/etc'
    983 sharedstatedir='${prefix}/com'
    984 localstatedir='${prefix}/var'
    985 runstatedir='${localstatedir}/run'
    986 includedir='${prefix}/include'
    987 oldincludedir='/usr/include'
    988 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    989 infodir='${datarootdir}/info'
    990 htmldir='${docdir}'
    991 dvidir='${docdir}'
    992 pdfdir='${docdir}'
    993 psdir='${docdir}'
    994 libdir='${exec_prefix}/lib'
    995 localedir='${datarootdir}/locale'
    996 mandir='${datarootdir}/man'
    997 
    998 ac_prev=
    999 ac_dashdash=
   1000 for ac_option
   1001 do
   1002   # If the previous option needs an argument, assign it.
   1003   if test -n "$ac_prev"; then
   1004     eval $ac_prev=\$ac_option
   1005     ac_prev=
   1006     continue
   1007   fi
   1008 
   1009   case $ac_option in
   1010   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1011   *=)   ac_optarg= ;;
   1012   *)    ac_optarg=yes ;;
   1013   esac
   1014 
   1015   case $ac_dashdash$ac_option in
   1016   --)
   1017     ac_dashdash=yes ;;
   1018 
   1019   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1020     ac_prev=bindir ;;
   1021   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1022     bindir=$ac_optarg ;;
   1023 
   1024   -build | --build | --buil | --bui | --bu)
   1025     ac_prev=build_alias ;;
   1026   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1027     build_alias=$ac_optarg ;;
   1028 
   1029   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1030   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1031     ac_prev=cache_file ;;
   1032   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1033   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1034     cache_file=$ac_optarg ;;
   1035 
   1036   --config-cache | -C)
   1037     cache_file=config.cache ;;
   1038 
   1039   -datadir | --datadir | --datadi | --datad)
   1040     ac_prev=datadir ;;
   1041   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1042     datadir=$ac_optarg ;;
   1043 
   1044   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1045   | --dataroo | --dataro | --datar)
   1046     ac_prev=datarootdir ;;
   1047   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1048   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1049     datarootdir=$ac_optarg ;;
   1050 
   1051   -disable-* | --disable-*)
   1052     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1053     # Reject names that are not valid shell variable names.
   1054     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1055       as_fn_error $? "invalid feature name: \`$ac_useropt'"
   1056     ac_useropt_orig=$ac_useropt
   1057     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1058     case $ac_user_opts in
   1059       *"
   1060 "enable_$ac_useropt"
   1061 "*) ;;
   1062       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1063 	 ac_unrecognized_sep=', ';;
   1064     esac
   1065     eval enable_$ac_useropt=no ;;
   1066 
   1067   -docdir | --docdir | --docdi | --doc | --do)
   1068     ac_prev=docdir ;;
   1069   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1070     docdir=$ac_optarg ;;
   1071 
   1072   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1073     ac_prev=dvidir ;;
   1074   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1075     dvidir=$ac_optarg ;;
   1076 
   1077   -enable-* | --enable-*)
   1078     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1079     # Reject names that are not valid shell variable names.
   1080     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1081       as_fn_error $? "invalid feature name: \`$ac_useropt'"
   1082     ac_useropt_orig=$ac_useropt
   1083     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1084     case $ac_user_opts in
   1085       *"
   1086 "enable_$ac_useropt"
   1087 "*) ;;
   1088       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1089 	 ac_unrecognized_sep=', ';;
   1090     esac
   1091     eval enable_$ac_useropt=\$ac_optarg ;;
   1092 
   1093   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1094   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1095   | --exec | --exe | --ex)
   1096     ac_prev=exec_prefix ;;
   1097   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1098   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1099   | --exec=* | --exe=* | --ex=*)
   1100     exec_prefix=$ac_optarg ;;
   1101 
   1102   -gas | --gas | --ga | --g)
   1103     # Obsolete; use --with-gas.
   1104     with_gas=yes ;;
   1105 
   1106   -help | --help | --hel | --he | -h)
   1107     ac_init_help=long ;;
   1108   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1109     ac_init_help=recursive ;;
   1110   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1111     ac_init_help=short ;;
   1112 
   1113   -host | --host | --hos | --ho)
   1114     ac_prev=host_alias ;;
   1115   -host=* | --host=* | --hos=* | --ho=*)
   1116     host_alias=$ac_optarg ;;
   1117 
   1118   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1119     ac_prev=htmldir ;;
   1120   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1121   | --ht=*)
   1122     htmldir=$ac_optarg ;;
   1123 
   1124   -includedir | --includedir | --includedi | --included | --include \
   1125   | --includ | --inclu | --incl | --inc)
   1126     ac_prev=includedir ;;
   1127   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1128   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1129     includedir=$ac_optarg ;;
   1130 
   1131   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1132     ac_prev=infodir ;;
   1133   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1134     infodir=$ac_optarg ;;
   1135 
   1136   -libdir | --libdir | --libdi | --libd)
   1137     ac_prev=libdir ;;
   1138   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1139     libdir=$ac_optarg ;;
   1140 
   1141   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1142   | --libexe | --libex | --libe)
   1143     ac_prev=libexecdir ;;
   1144   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1145   | --libexe=* | --libex=* | --libe=*)
   1146     libexecdir=$ac_optarg ;;
   1147 
   1148   -localedir | --localedir | --localedi | --localed | --locale)
   1149     ac_prev=localedir ;;
   1150   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1151     localedir=$ac_optarg ;;
   1152 
   1153   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1154   | --localstate | --localstat | --localsta | --localst | --locals)
   1155     ac_prev=localstatedir ;;
   1156   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1157   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1158     localstatedir=$ac_optarg ;;
   1159 
   1160   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1161     ac_prev=mandir ;;
   1162   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1163     mandir=$ac_optarg ;;
   1164 
   1165   -nfp | --nfp | --nf)
   1166     # Obsolete; use --without-fp.
   1167     with_fp=no ;;
   1168 
   1169   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1170   | --no-cr | --no-c | -n)
   1171     no_create=yes ;;
   1172 
   1173   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1174   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1175     no_recursion=yes ;;
   1176 
   1177   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1178   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1179   | --oldin | --oldi | --old | --ol | --o)
   1180     ac_prev=oldincludedir ;;
   1181   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1182   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1183   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1184     oldincludedir=$ac_optarg ;;
   1185 
   1186   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1187     ac_prev=prefix ;;
   1188   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1189     prefix=$ac_optarg ;;
   1190 
   1191   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1192   | --program-pre | --program-pr | --program-p)
   1193     ac_prev=program_prefix ;;
   1194   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1195   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1196     program_prefix=$ac_optarg ;;
   1197 
   1198   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1199   | --program-suf | --program-su | --program-s)
   1200     ac_prev=program_suffix ;;
   1201   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1202   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1203     program_suffix=$ac_optarg ;;
   1204 
   1205   -program-transform-name | --program-transform-name \
   1206   | --program-transform-nam | --program-transform-na \
   1207   | --program-transform-n | --program-transform- \
   1208   | --program-transform | --program-transfor \
   1209   | --program-transfo | --program-transf \
   1210   | --program-trans | --program-tran \
   1211   | --progr-tra | --program-tr | --program-t)
   1212     ac_prev=program_transform_name ;;
   1213   -program-transform-name=* | --program-transform-name=* \
   1214   | --program-transform-nam=* | --program-transform-na=* \
   1215   | --program-transform-n=* | --program-transform-=* \
   1216   | --program-transform=* | --program-transfor=* \
   1217   | --program-transfo=* | --program-transf=* \
   1218   | --program-trans=* | --program-tran=* \
   1219   | --progr-tra=* | --program-tr=* | --program-t=*)
   1220     program_transform_name=$ac_optarg ;;
   1221 
   1222   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1223     ac_prev=pdfdir ;;
   1224   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1225     pdfdir=$ac_optarg ;;
   1226 
   1227   -psdir | --psdir | --psdi | --psd | --ps)
   1228     ac_prev=psdir ;;
   1229   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1230     psdir=$ac_optarg ;;
   1231 
   1232   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1233   | -silent | --silent | --silen | --sile | --sil)
   1234     silent=yes ;;
   1235 
   1236   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1237   | --runstate | --runstat | --runsta | --runst | --runs \
   1238   | --run | --ru | --r)
   1239     ac_prev=runstatedir ;;
   1240   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1241   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1242   | --run=* | --ru=* | --r=*)
   1243     runstatedir=$ac_optarg ;;
   1244 
   1245   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1246     ac_prev=sbindir ;;
   1247   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1248   | --sbi=* | --sb=*)
   1249     sbindir=$ac_optarg ;;
   1250 
   1251   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1252   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1253   | --sharedst | --shareds | --shared | --share | --shar \
   1254   | --sha | --sh)
   1255     ac_prev=sharedstatedir ;;
   1256   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1257   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1258   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1259   | --sha=* | --sh=*)
   1260     sharedstatedir=$ac_optarg ;;
   1261 
   1262   -site | --site | --sit)
   1263     ac_prev=site ;;
   1264   -site=* | --site=* | --sit=*)
   1265     site=$ac_optarg ;;
   1266 
   1267   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1268     ac_prev=srcdir ;;
   1269   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1270     srcdir=$ac_optarg ;;
   1271 
   1272   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1273   | --syscon | --sysco | --sysc | --sys | --sy)
   1274     ac_prev=sysconfdir ;;
   1275   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1276   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1277     sysconfdir=$ac_optarg ;;
   1278 
   1279   -target | --target | --targe | --targ | --tar | --ta | --t)
   1280     ac_prev=target_alias ;;
   1281   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1282     target_alias=$ac_optarg ;;
   1283 
   1284   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1285     verbose=yes ;;
   1286 
   1287   -version | --version | --versio | --versi | --vers | -V)
   1288     ac_init_version=: ;;
   1289 
   1290   -with-* | --with-*)
   1291     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1292     # Reject names that are not valid shell variable names.
   1293     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1294       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1295     ac_useropt_orig=$ac_useropt
   1296     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1297     case $ac_user_opts in
   1298       *"
   1299 "with_$ac_useropt"
   1300 "*) ;;
   1301       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1302 	 ac_unrecognized_sep=', ';;
   1303     esac
   1304     eval with_$ac_useropt=\$ac_optarg ;;
   1305 
   1306   -without-* | --without-*)
   1307     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1308     # Reject names that are not valid shell variable names.
   1309     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1310       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1311     ac_useropt_orig=$ac_useropt
   1312     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1313     case $ac_user_opts in
   1314       *"
   1315 "with_$ac_useropt"
   1316 "*) ;;
   1317       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1318 	 ac_unrecognized_sep=', ';;
   1319     esac
   1320     eval with_$ac_useropt=no ;;
   1321 
   1322   --x)
   1323     # Obsolete; use --with-x.
   1324     with_x=yes ;;
   1325 
   1326   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1327   | --x-incl | --x-inc | --x-in | --x-i)
   1328     ac_prev=x_includes ;;
   1329   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1330   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1331     x_includes=$ac_optarg ;;
   1332 
   1333   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1334   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1335     ac_prev=x_libraries ;;
   1336   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1337   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1338     x_libraries=$ac_optarg ;;
   1339 
   1340   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1341 Try \`$0 --help' for more information"
   1342     ;;
   1343 
   1344   *=*)
   1345     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1346     # Reject names that are not valid shell variable names.
   1347     case $ac_envvar in #(
   1348       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1349       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1350     esac
   1351     eval $ac_envvar=\$ac_optarg
   1352     export $ac_envvar ;;
   1353 
   1354   *)
   1355     # FIXME: should be removed in autoconf 3.0.
   1356     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1357     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1358       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1359     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1360     ;;
   1361 
   1362   esac
   1363 done
   1364 
   1365 if test -n "$ac_prev"; then
   1366   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1367   as_fn_error $? "missing argument to $ac_option"
   1368 fi
   1369 
   1370 if test -n "$ac_unrecognized_opts"; then
   1371   case $enable_option_checking in
   1372     no) ;;
   1373     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1374     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1375   esac
   1376 fi
   1377 
   1378 # Check all directory arguments for consistency.
   1379 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1380 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1381 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1382 		libdir localedir mandir runstatedir
   1383 do
   1384   eval ac_val=\$$ac_var
   1385   # Remove trailing slashes.
   1386   case $ac_val in
   1387     */ )
   1388       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1389       eval $ac_var=\$ac_val;;
   1390   esac
   1391   # Be sure to have absolute directory names.
   1392   case $ac_val in
   1393     [\\/$]* | ?:[\\/]* )  continue;;
   1394     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1395   esac
   1396   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1397 done
   1398 
   1399 # There might be people who depend on the old broken behavior: `$host'
   1400 # used to hold the argument of --host etc.
   1401 # FIXME: To remove some day.
   1402 build=$build_alias
   1403 host=$host_alias
   1404 target=$target_alias
   1405 
   1406 # FIXME: To remove some day.
   1407 if test "x$host_alias" != x; then
   1408   if test "x$build_alias" = x; then
   1409     cross_compiling=maybe
   1410   elif test "x$build_alias" != "x$host_alias"; then
   1411     cross_compiling=yes
   1412   fi
   1413 fi
   1414 
   1415 ac_tool_prefix=
   1416 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1417 
   1418 test "$silent" = yes && exec 6>/dev/null
   1419 
   1420 
   1421 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1422 ac_ls_di=`ls -di .` &&
   1423 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1424   as_fn_error $? "working directory cannot be determined"
   1425 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1426   as_fn_error $? "pwd does not report name of working directory"
   1427 
   1428 
   1429 # Find the source files, if location was not specified.
   1430 if test -z "$srcdir"; then
   1431   ac_srcdir_defaulted=yes
   1432   # Try the directory containing this script, then the parent directory.
   1433   ac_confdir=`$as_dirname -- "$as_myself" ||
   1434 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1435 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1436 	 X"$as_myself" : 'X\(//\)$' \| \
   1437 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1438 printf "%s\n" X"$as_myself" |
   1439     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1440 	    s//\1/
   1441 	    q
   1442 	  }
   1443 	  /^X\(\/\/\)[^/].*/{
   1444 	    s//\1/
   1445 	    q
   1446 	  }
   1447 	  /^X\(\/\/\)$/{
   1448 	    s//\1/
   1449 	    q
   1450 	  }
   1451 	  /^X\(\/\).*/{
   1452 	    s//\1/
   1453 	    q
   1454 	  }
   1455 	  s/.*/./; q'`
   1456   srcdir=$ac_confdir
   1457   if test ! -r "$srcdir/$ac_unique_file"; then
   1458     srcdir=..
   1459   fi
   1460 else
   1461   ac_srcdir_defaulted=no
   1462 fi
   1463 if test ! -r "$srcdir/$ac_unique_file"; then
   1464   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1465   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1466 fi
   1467 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1468 ac_abs_confdir=`(
   1469 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1470 	pwd)`
   1471 # When building in place, set srcdir=.
   1472 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1473   srcdir=.
   1474 fi
   1475 # Remove unnecessary trailing slashes from srcdir.
   1476 # Double slashes in file names in object file debugging info
   1477 # mess up M-x gdb in Emacs.
   1478 case $srcdir in
   1479 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1480 esac
   1481 for ac_var in $ac_precious_vars; do
   1482   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1483   eval ac_env_${ac_var}_value=\$${ac_var}
   1484   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1485   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1486 done
   1487 
   1488 #
   1489 # Report the --help message.
   1490 #
   1491 if test "$ac_init_help" = "long"; then
   1492   # Omit some internal or obsolete options to make the list less imposing.
   1493   # This message is too long to be a string in the A/UX 3.1 sh.
   1494   cat <<_ACEOF
   1495 \`configure' configures fontconfig 2.14.0 to adapt to many kinds of systems.
   1496 
   1497 Usage: $0 [OPTION]... [VAR=VALUE]...
   1498 
   1499 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1500 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1501 
   1502 Defaults for the options are specified in brackets.
   1503 
   1504 Configuration:
   1505   -h, --help              display this help and exit
   1506       --help=short        display options specific to this package
   1507       --help=recursive    display the short help of all the included packages
   1508   -V, --version           display version information and exit
   1509   -q, --quiet, --silent   do not print \`checking ...' messages
   1510       --cache-file=FILE   cache test results in FILE [disabled]
   1511   -C, --config-cache      alias for \`--cache-file=config.cache'
   1512   -n, --no-create         do not create output files
   1513       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1514 
   1515 Installation directories:
   1516   --prefix=PREFIX         install architecture-independent files in PREFIX
   1517                           [$ac_default_prefix]
   1518   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1519                           [PREFIX]
   1520 
   1521 By default, \`make install' will install all the files in
   1522 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1523 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1524 for instance \`--prefix=\$HOME'.
   1525 
   1526 For better control, use the options below.
   1527 
   1528 Fine tuning of the installation directories:
   1529   --bindir=DIR            user executables [EPREFIX/bin]
   1530   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1531   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1532   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1533   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1534   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1535   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1536   --libdir=DIR            object code libraries [EPREFIX/lib]
   1537   --includedir=DIR        C header files [PREFIX/include]
   1538   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1539   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1540   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1541   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1542   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1543   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1544   --docdir=DIR            documentation root [DATAROOTDIR/doc/fontconfig]
   1545   --htmldir=DIR           html documentation [DOCDIR]
   1546   --dvidir=DIR            dvi documentation [DOCDIR]
   1547   --pdfdir=DIR            pdf documentation [DOCDIR]
   1548   --psdir=DIR             ps documentation [DOCDIR]
   1549 _ACEOF
   1550 
   1551   cat <<\_ACEOF
   1552 
   1553 Program names:
   1554   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1555   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1556   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1557 
   1558 System types:
   1559   --build=BUILD     configure for building on BUILD [guessed]
   1560   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1561 _ACEOF
   1562 fi
   1563 
   1564 if test -n "$ac_init_help"; then
   1565   case $ac_init_help in
   1566      short | recursive ) echo "Configuration of fontconfig 2.14.0:";;
   1567    esac
   1568   cat <<\_ACEOF
   1569 
   1570 Optional Features:
   1571   --disable-option-checking  ignore unrecognized --enable/--with options
   1572   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1573   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1574   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1575   --disable-silent-rules  verbose build output (undo: "make V=0")
   1576   --enable-dependency-tracking
   1577                           do not reject slow dependency extractors
   1578   --disable-dependency-tracking
   1579                           speeds up one-time build
   1580   --disable-largefile     omit support for large files
   1581   --enable-static[=PKGS]  build static libraries [default=no]
   1582   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1583   --enable-fast-install[=PKGS]
   1584                           optimize for fast installation [default=yes]
   1585   --disable-libtool-lock  avoid locking (might break parallel builds)
   1586   --disable-nls           do not use Native Language Support
   1587   --disable-rpath         do not hardcode runtime library paths
   1588   --enable-iconv          Use iconv to support non-Unicode SFNT name
   1589   --enable-libxml2        Use libxml2 instead of Expat
   1590   --disable-docs          Don't build and install documentation
   1591   --disable-cache-build   Don't run fc-cache during the build
   1592 
   1593 Optional Packages:
   1594   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1595   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1596   --with-pkgconfigdir     pkg-config installation directory
   1597                           ['${libdir}/pkgconfig']
   1598   --with-python-sys-prefix
   1599                           use Python's sys.prefix and sys.exec_prefix values
   1600   --with-python_prefix    override the default PYTHON_PREFIX
   1601   --with-python_exec_prefix
   1602                           override the default PYTHON_EXEC_PREFIX
   1603   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1604                           both]
   1605   --with-aix-soname=aix|svr4|both
   1606                           shared library versioning (aka "SONAME") variant to
   1607                           provide on AIX, [default=aix].
   1608   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1609   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1610                           compiler's sysroot if not specified).
   1611   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1612   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
   1613   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
   1614   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
   1615   --without-libintl-prefix     don't search for libintl in includedir and libdir
   1616   --with-arch=ARCH        Force architecture to ARCH
   1617   --with-libiconv=DIR     Use libiconv in DIR
   1618   --with-libiconv-includes=DIR
   1619                           Use libiconv includes in DIR
   1620   --with-libiconv-lib=DIR Use libiconv library in DIR
   1621   --with-expat=DIR        Use Expat in DIR
   1622   --with-expat-includes=DIR
   1623                           Use Expat includes in DIR
   1624   --with-expat-lib=DIR
   1625   --with-default-hinting=NAME
   1626                           Enable your preferred hinting configuration
   1627                           (none/slight/medium/full) [default=slight]
   1628   --with-default-fonts=DIR1,DIR2,...
   1629                           Use fonts from DIR1,DIR2,... when config is busted
   1630   --with-add-fonts=DIR1,DIR2,...
   1631                           Find additional fonts in DIR1,DIR2,...
   1632   --with-cache-dir=DIR    Use DIR to store cache files
   1633                           [default=LOCALSTATEDIR/cache/fontconfig]
   1634   --with-templatedir=DIR  Use DIR to store the configuration template files
   1635                           [default=DATADIR/fontconfig/conf.avail]
   1636   --with-baseconfigdir=DIR
   1637                           Use DIR to store the base configuration files
   1638                           [default=SYSCONFDIR/fonts]
   1639   --with-configdir=DIR    Use DIR to store active configuration files
   1640                           [default=BASECONFIGDIR/conf.d]
   1641   --with-xmldir=DIR       Use DIR to store XML schema files
   1642                           [default=DATADIR/xml/fontconfig]
   1643 
   1644 Some influential environment variables:
   1645   CC          C compiler command
   1646   CFLAGS      C compiler flags
   1647   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1648               nonstandard directory <lib dir>
   1649   LIBS        libraries to pass to the linker, e.g. -l<library>
   1650   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1651               you have headers in a nonstandard directory <include dir>
   1652   PKG_CONFIG  path to pkg-config utility
   1653   PKG_CONFIG_PATH
   1654               directories to add to pkg-config's search path
   1655   PKG_CONFIG_LIBDIR
   1656               path overriding pkg-config's built-in search path
   1657   PYTHON      the Python interpreter
   1658   LT_SYS_LIBRARY_PATH
   1659               User-defined run-time library search path.
   1660   CPP         C preprocessor
   1661   CC_FOR_BUILD
   1662               build system C compiler
   1663   FREETYPE_CFLAGS
   1664               C compiler flags for FREETYPE, overriding pkg-config
   1665   FREETYPE_LIBS
   1666               linker flags for FREETYPE, overriding pkg-config
   1667   EXPAT_CFLAGS
   1668               C compiler flags for EXPAT, overriding pkg-config
   1669   EXPAT_LIBS  linker flags for EXPAT, overriding pkg-config
   1670   LIBXML2_CFLAGS
   1671               C compiler flags for LIBXML2, overriding pkg-config
   1672   LIBXML2_LIBS
   1673               linker flags for LIBXML2, overriding pkg-config
   1674   JSONC_CFLAGS
   1675               C compiler flags for JSONC, overriding pkg-config
   1676   JSONC_LIBS  linker flags for JSONC, overriding pkg-config
   1677 
   1678 Use these variables to override the choices made by `configure' or to help
   1679 it to find libraries and programs with nonstandard names/locations.
   1680 
   1681 Report bugs to <https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/new>.
   1682 _ACEOF
   1683 ac_status=$?
   1684 fi
   1685 
   1686 if test "$ac_init_help" = "recursive"; then
   1687   # If there are subdirs, report their specific --help.
   1688   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1689     test -d "$ac_dir" ||
   1690       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1691       continue
   1692     ac_builddir=.
   1693 
   1694 case "$ac_dir" in
   1695 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1696 *)
   1697   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1698   # A ".." for each directory in $ac_dir_suffix.
   1699   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1700   case $ac_top_builddir_sub in
   1701   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1702   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1703   esac ;;
   1704 esac
   1705 ac_abs_top_builddir=$ac_pwd
   1706 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1707 # for backward compatibility:
   1708 ac_top_builddir=$ac_top_build_prefix
   1709 
   1710 case $srcdir in
   1711   .)  # We are building in place.
   1712     ac_srcdir=.
   1713     ac_top_srcdir=$ac_top_builddir_sub
   1714     ac_abs_top_srcdir=$ac_pwd ;;
   1715   [\\/]* | ?:[\\/]* )  # Absolute name.
   1716     ac_srcdir=$srcdir$ac_dir_suffix;
   1717     ac_top_srcdir=$srcdir
   1718     ac_abs_top_srcdir=$srcdir ;;
   1719   *) # Relative name.
   1720     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1721     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1722     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1723 esac
   1724 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1725 
   1726     cd "$ac_dir" || { ac_status=$?; continue; }
   1727     # Check for configure.gnu first; this name is used for a wrapper for
   1728     # Metaconfig's "Configure" on case-insensitive file systems.
   1729     if test -f "$ac_srcdir/configure.gnu"; then
   1730       echo &&
   1731       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1732     elif test -f "$ac_srcdir/configure"; then
   1733       echo &&
   1734       $SHELL "$ac_srcdir/configure" --help=recursive
   1735     else
   1736       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1737     fi || ac_status=$?
   1738     cd "$ac_pwd" || { ac_status=$?; break; }
   1739   done
   1740 fi
   1741 
   1742 test -n "$ac_init_help" && exit $ac_status
   1743 if $ac_init_version; then
   1744   cat <<\_ACEOF
   1745 fontconfig configure 2.14.0
   1746 generated by GNU Autoconf 2.71
   1747 
   1748 Copyright (C) 2021 Free Software Foundation, Inc.
   1749 This configure script is free software; the Free Software Foundation
   1750 gives unlimited permission to copy, distribute and modify it.
   1751 _ACEOF
   1752   exit
   1753 fi
   1754 
   1755 ## ------------------------ ##
   1756 ## Autoconf initialization. ##
   1757 ## ------------------------ ##
   1758 
   1759 # ac_fn_c_try_compile LINENO
   1760 # --------------------------
   1761 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1762 ac_fn_c_try_compile ()
   1763 {
   1764   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1765   rm -f conftest.$ac_objext conftest.beam
   1766   if { { ac_try="$ac_compile"
   1767 case "(($ac_try" in
   1768   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1769   *) ac_try_echo=$ac_try;;
   1770 esac
   1771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1772 printf "%s\n" "$ac_try_echo"; } >&5
   1773   (eval "$ac_compile") 2>conftest.err
   1774   ac_status=$?
   1775   if test -s conftest.err; then
   1776     grep -v '^ *+' conftest.err >conftest.er1
   1777     cat conftest.er1 >&5
   1778     mv -f conftest.er1 conftest.err
   1779   fi
   1780   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1781   test $ac_status = 0; } && {
   1782 	 test -z "$ac_c_werror_flag" ||
   1783 	 test ! -s conftest.err
   1784        } && test -s conftest.$ac_objext
   1785 then :
   1786   ac_retval=0
   1787 else $as_nop
   1788   printf "%s\n" "$as_me: failed program was:" >&5
   1789 sed 's/^/| /' conftest.$ac_ext >&5
   1790 
   1791 	ac_retval=1
   1792 fi
   1793   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1794   as_fn_set_status $ac_retval
   1795 
   1796 } # ac_fn_c_try_compile
   1797 
   1798 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1799 # -------------------------------------------------------
   1800 # Tests whether HEADER exists and can be compiled using the include files in
   1801 # INCLUDES, setting the cache variable VAR accordingly.
   1802 ac_fn_c_check_header_compile ()
   1803 {
   1804   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1805   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1806 printf %s "checking for $2... " >&6; }
   1807 if eval test \${$3+y}
   1808 then :
   1809   printf %s "(cached) " >&6
   1810 else $as_nop
   1811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1812 /* end confdefs.h.  */
   1813 $4
   1814 #include <$2>
   1815 _ACEOF
   1816 if ac_fn_c_try_compile "$LINENO"
   1817 then :
   1818   eval "$3=yes"
   1819 else $as_nop
   1820   eval "$3=no"
   1821 fi
   1822 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1823 fi
   1824 eval ac_res=\$$3
   1825 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1826 printf "%s\n" "$ac_res" >&6; }
   1827   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1828 
   1829 } # ac_fn_c_check_header_compile
   1830 
   1831 # ac_fn_c_try_link LINENO
   1832 # -----------------------
   1833 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1834 ac_fn_c_try_link ()
   1835 {
   1836   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1837   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1838   if { { ac_try="$ac_link"
   1839 case "(($ac_try" in
   1840   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1841   *) ac_try_echo=$ac_try;;
   1842 esac
   1843 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1844 printf "%s\n" "$ac_try_echo"; } >&5
   1845   (eval "$ac_link") 2>conftest.err
   1846   ac_status=$?
   1847   if test -s conftest.err; then
   1848     grep -v '^ *+' conftest.err >conftest.er1
   1849     cat conftest.er1 >&5
   1850     mv -f conftest.er1 conftest.err
   1851   fi
   1852   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1853   test $ac_status = 0; } && {
   1854 	 test -z "$ac_c_werror_flag" ||
   1855 	 test ! -s conftest.err
   1856        } && test -s conftest$ac_exeext && {
   1857 	 test "$cross_compiling" = yes ||
   1858 	 test -x conftest$ac_exeext
   1859        }
   1860 then :
   1861   ac_retval=0
   1862 else $as_nop
   1863   printf "%s\n" "$as_me: failed program was:" >&5
   1864 sed 's/^/| /' conftest.$ac_ext >&5
   1865 
   1866 	ac_retval=1
   1867 fi
   1868   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1869   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1870   # interfere with the next link command; also delete a directory that is
   1871   # left behind by Apple's compiler.  We do this before executing the actions.
   1872   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1873   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1874   as_fn_set_status $ac_retval
   1875 
   1876 } # ac_fn_c_try_link
   1877 
   1878 # ac_fn_c_check_func LINENO FUNC VAR
   1879 # ----------------------------------
   1880 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1881 ac_fn_c_check_func ()
   1882 {
   1883   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1884   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1885 printf %s "checking for $2... " >&6; }
   1886 if eval test \${$3+y}
   1887 then :
   1888   printf %s "(cached) " >&6
   1889 else $as_nop
   1890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1891 /* end confdefs.h.  */
   1892 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1893    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1894 #define $2 innocuous_$2
   1895 
   1896 /* System header to define __stub macros and hopefully few prototypes,
   1897    which can conflict with char $2 (); below.  */
   1898 
   1899 #include <limits.h>
   1900 #undef $2
   1901 
   1902 /* Override any GCC internal prototype to avoid an error.
   1903    Use char because int might match the return type of a GCC
   1904    builtin and then its argument prototype would still apply.  */
   1905 #ifdef __cplusplus
   1906 extern "C"
   1907 #endif
   1908 char $2 ();
   1909 /* The GNU C library defines this for functions which it implements
   1910     to always fail with ENOSYS.  Some functions are actually named
   1911     something starting with __ and the normal name is an alias.  */
   1912 #if defined __stub_$2 || defined __stub___$2
   1913 choke me
   1914 #endif
   1915 
   1916 int
   1917 main (void)
   1918 {
   1919 return $2 ();
   1920   ;
   1921   return 0;
   1922 }
   1923 _ACEOF
   1924 if ac_fn_c_try_link "$LINENO"
   1925 then :
   1926   eval "$3=yes"
   1927 else $as_nop
   1928   eval "$3=no"
   1929 fi
   1930 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1931     conftest$ac_exeext conftest.$ac_ext
   1932 fi
   1933 eval ac_res=\$$3
   1934 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1935 printf "%s\n" "$ac_res" >&6; }
   1936   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1937 
   1938 } # ac_fn_c_check_func
   1939 
   1940 # ac_fn_c_try_cpp LINENO
   1941 # ----------------------
   1942 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1943 ac_fn_c_try_cpp ()
   1944 {
   1945   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1946   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1947 case "(($ac_try" in
   1948   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1949   *) ac_try_echo=$ac_try;;
   1950 esac
   1951 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1952 printf "%s\n" "$ac_try_echo"; } >&5
   1953   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1954   ac_status=$?
   1955   if test -s conftest.err; then
   1956     grep -v '^ *+' conftest.err >conftest.er1
   1957     cat conftest.er1 >&5
   1958     mv -f conftest.er1 conftest.err
   1959   fi
   1960   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1961   test $ac_status = 0; } > conftest.i && {
   1962 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1963 	 test ! -s conftest.err
   1964        }
   1965 then :
   1966   ac_retval=0
   1967 else $as_nop
   1968   printf "%s\n" "$as_me: failed program was:" >&5
   1969 sed 's/^/| /' conftest.$ac_ext >&5
   1970 
   1971     ac_retval=1
   1972 fi
   1973   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1974   as_fn_set_status $ac_retval
   1975 
   1976 } # ac_fn_c_try_cpp
   1977 
   1978 # ac_fn_c_try_run LINENO
   1979 # ----------------------
   1980 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
   1981 # executables *can* be run.
   1982 ac_fn_c_try_run ()
   1983 {
   1984   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1985   if { { ac_try="$ac_link"
   1986 case "(($ac_try" in
   1987   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1988   *) ac_try_echo=$ac_try;;
   1989 esac
   1990 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1991 printf "%s\n" "$ac_try_echo"; } >&5
   1992   (eval "$ac_link") 2>&5
   1993   ac_status=$?
   1994   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1995   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1996   { { case "(($ac_try" in
   1997   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1998   *) ac_try_echo=$ac_try;;
   1999 esac
   2000 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2001 printf "%s\n" "$ac_try_echo"; } >&5
   2002   (eval "$ac_try") 2>&5
   2003   ac_status=$?
   2004   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2005   test $ac_status = 0; }; }
   2006 then :
   2007   ac_retval=0
   2008 else $as_nop
   2009   printf "%s\n" "$as_me: program exited with status $ac_status" >&5
   2010        printf "%s\n" "$as_me: failed program was:" >&5
   2011 sed 's/^/| /' conftest.$ac_ext >&5
   2012 
   2013        ac_retval=$ac_status
   2014 fi
   2015   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   2016   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2017   as_fn_set_status $ac_retval
   2018 
   2019 } # ac_fn_c_try_run
   2020 
   2021 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   2022 # ------------------------------------------------------------------
   2023 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   2024 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   2025 ac_fn_check_decl ()
   2026 {
   2027   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2028   as_decl_name=`echo $2|sed 's/ *(.*//'`
   2029   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   2030 printf %s "checking whether $as_decl_name is declared... " >&6; }
   2031 if eval test \${$3+y}
   2032 then :
   2033   printf %s "(cached) " >&6
   2034 else $as_nop
   2035   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2036   eval ac_save_FLAGS=\$$6
   2037   as_fn_append $6 " $5"
   2038   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2039 /* end confdefs.h.  */
   2040 $4
   2041 int
   2042 main (void)
   2043 {
   2044 #ifndef $as_decl_name
   2045 #ifdef __cplusplus
   2046   (void) $as_decl_use;
   2047 #else
   2048   (void) $as_decl_name;
   2049 #endif
   2050 #endif
   2051 
   2052   ;
   2053   return 0;
   2054 }
   2055 _ACEOF
   2056 if ac_fn_c_try_compile "$LINENO"
   2057 then :
   2058   eval "$3=yes"
   2059 else $as_nop
   2060   eval "$3=no"
   2061 fi
   2062 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2063   eval $6=\$ac_save_FLAGS
   2064 
   2065 fi
   2066 eval ac_res=\$$3
   2067 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2068 printf "%s\n" "$ac_res" >&6; }
   2069   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2070 
   2071 } # ac_fn_check_decl
   2072 
   2073 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   2074 # -------------------------------------------
   2075 # Tests whether TYPE exists after having included INCLUDES, setting cache
   2076 # variable VAR accordingly.
   2077 ac_fn_c_check_type ()
   2078 {
   2079   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2080   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2081 printf %s "checking for $2... " >&6; }
   2082 if eval test \${$3+y}
   2083 then :
   2084   printf %s "(cached) " >&6
   2085 else $as_nop
   2086   eval "$3=no"
   2087   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2088 /* end confdefs.h.  */
   2089 $4
   2090 int
   2091 main (void)
   2092 {
   2093 if (sizeof ($2))
   2094 	 return 0;
   2095   ;
   2096   return 0;
   2097 }
   2098 _ACEOF
   2099 if ac_fn_c_try_compile "$LINENO"
   2100 then :
   2101   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2102 /* end confdefs.h.  */
   2103 $4
   2104 int
   2105 main (void)
   2106 {
   2107 if (sizeof (($2)))
   2108 	    return 0;
   2109   ;
   2110   return 0;
   2111 }
   2112 _ACEOF
   2113 if ac_fn_c_try_compile "$LINENO"
   2114 then :
   2115 
   2116 else $as_nop
   2117   eval "$3=yes"
   2118 fi
   2119 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2120 fi
   2121 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2122 fi
   2123 eval ac_res=\$$3
   2124 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2125 printf "%s\n" "$ac_res" >&6; }
   2126   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2127 
   2128 } # ac_fn_c_check_type
   2129 
   2130 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
   2131 # --------------------------------------------
   2132 # Tries to find the compile-time value of EXPR in a program that includes
   2133 # INCLUDES, setting VAR accordingly. Returns whether the value could be
   2134 # computed
   2135 ac_fn_c_compute_int ()
   2136 {
   2137   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2138   if test "$cross_compiling" = yes; then
   2139     # Depending upon the size, compute the lo and hi bounds.
   2140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2141 /* end confdefs.h.  */
   2142 $4
   2143 int
   2144 main (void)
   2145 {
   2146 static int test_array [1 - 2 * !(($2) >= 0)];
   2147 test_array [0] = 0;
   2148 return test_array [0];
   2149 
   2150   ;
   2151   return 0;
   2152 }
   2153 _ACEOF
   2154 if ac_fn_c_try_compile "$LINENO"
   2155 then :
   2156   ac_lo=0 ac_mid=0
   2157   while :; do
   2158     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2159 /* end confdefs.h.  */
   2160 $4
   2161 int
   2162 main (void)
   2163 {
   2164 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2165 test_array [0] = 0;
   2166 return test_array [0];
   2167 
   2168   ;
   2169   return 0;
   2170 }
   2171 _ACEOF
   2172 if ac_fn_c_try_compile "$LINENO"
   2173 then :
   2174   ac_hi=$ac_mid; break
   2175 else $as_nop
   2176   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
   2177 			if test $ac_lo -le $ac_mid; then
   2178 			  ac_lo= ac_hi=
   2179 			  break
   2180 			fi
   2181 			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
   2182 fi
   2183 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2184   done
   2185 else $as_nop
   2186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2187 /* end confdefs.h.  */
   2188 $4
   2189 int
   2190 main (void)
   2191 {
   2192 static int test_array [1 - 2 * !(($2) < 0)];
   2193 test_array [0] = 0;
   2194 return test_array [0];
   2195 
   2196   ;
   2197   return 0;
   2198 }
   2199 _ACEOF
   2200 if ac_fn_c_try_compile "$LINENO"
   2201 then :
   2202   ac_hi=-1 ac_mid=-1
   2203   while :; do
   2204     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2205 /* end confdefs.h.  */
   2206 $4
   2207 int
   2208 main (void)
   2209 {
   2210 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
   2211 test_array [0] = 0;
   2212 return test_array [0];
   2213 
   2214   ;
   2215   return 0;
   2216 }
   2217 _ACEOF
   2218 if ac_fn_c_try_compile "$LINENO"
   2219 then :
   2220   ac_lo=$ac_mid; break
   2221 else $as_nop
   2222   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
   2223 			if test $ac_mid -le $ac_hi; then
   2224 			  ac_lo= ac_hi=
   2225 			  break
   2226 			fi
   2227 			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
   2228 fi
   2229 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2230   done
   2231 else $as_nop
   2232   ac_lo= ac_hi=
   2233 fi
   2234 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2235 fi
   2236 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2237 # Binary search between lo and hi bounds.
   2238 while test "x$ac_lo" != "x$ac_hi"; do
   2239   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
   2240   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2241 /* end confdefs.h.  */
   2242 $4
   2243 int
   2244 main (void)
   2245 {
   2246 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2247 test_array [0] = 0;
   2248 return test_array [0];
   2249 
   2250   ;
   2251   return 0;
   2252 }
   2253 _ACEOF
   2254 if ac_fn_c_try_compile "$LINENO"
   2255 then :
   2256   ac_hi=$ac_mid
   2257 else $as_nop
   2258   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
   2259 fi
   2260 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2261 done
   2262 case $ac_lo in #((
   2263 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
   2264 '') ac_retval=1 ;;
   2265 esac
   2266   else
   2267     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2268 /* end confdefs.h.  */
   2269 $4
   2270 static long int longval (void) { return $2; }
   2271 static unsigned long int ulongval (void) { return $2; }
   2272 #include <stdio.h>
   2273 #include <stdlib.h>
   2274 int
   2275 main (void)
   2276 {
   2277 
   2278   FILE *f = fopen ("conftest.val", "w");
   2279   if (! f)
   2280     return 1;
   2281   if (($2) < 0)
   2282     {
   2283       long int i = longval ();
   2284       if (i != ($2))
   2285 	return 1;
   2286       fprintf (f, "%ld", i);
   2287     }
   2288   else
   2289     {
   2290       unsigned long int i = ulongval ();
   2291       if (i != ($2))
   2292 	return 1;
   2293       fprintf (f, "%lu", i);
   2294     }
   2295   /* Do not output a trailing newline, as this causes \r\n confusion
   2296      on some platforms.  */
   2297   return ferror (f) || fclose (f) != 0;
   2298 
   2299   ;
   2300   return 0;
   2301 }
   2302 _ACEOF
   2303 if ac_fn_c_try_run "$LINENO"
   2304 then :
   2305   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
   2306 else $as_nop
   2307   ac_retval=1
   2308 fi
   2309 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   2310   conftest.$ac_objext conftest.beam conftest.$ac_ext
   2311 rm -f conftest.val
   2312 
   2313   fi
   2314   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2315   as_fn_set_status $ac_retval
   2316 
   2317 } # ac_fn_c_compute_int
   2318 
   2319 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   2320 # ----------------------------------------------------
   2321 # Tries to find if the field MEMBER exists in type AGGR, after including
   2322 # INCLUDES, setting cache variable VAR accordingly.
   2323 ac_fn_c_check_member ()
   2324 {
   2325   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2326   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   2327 printf %s "checking for $2.$3... " >&6; }
   2328 if eval test \${$4+y}
   2329 then :
   2330   printf %s "(cached) " >&6
   2331 else $as_nop
   2332   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2333 /* end confdefs.h.  */
   2334 $5
   2335 int
   2336 main (void)
   2337 {
   2338 static $2 ac_aggr;
   2339 if (ac_aggr.$3)
   2340 return 0;
   2341   ;
   2342   return 0;
   2343 }
   2344 _ACEOF
   2345 if ac_fn_c_try_compile "$LINENO"
   2346 then :
   2347   eval "$4=yes"
   2348 else $as_nop
   2349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2350 /* end confdefs.h.  */
   2351 $5
   2352 int
   2353 main (void)
   2354 {
   2355 static $2 ac_aggr;
   2356 if (sizeof ac_aggr.$3)
   2357 return 0;
   2358   ;
   2359   return 0;
   2360 }
   2361 _ACEOF
   2362 if ac_fn_c_try_compile "$LINENO"
   2363 then :
   2364   eval "$4=yes"
   2365 else $as_nop
   2366   eval "$4=no"
   2367 fi
   2368 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2369 fi
   2370 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2371 fi
   2372 eval ac_res=\$$4
   2373 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2374 printf "%s\n" "$ac_res" >&6; }
   2375   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2376 
   2377 } # ac_fn_c_check_member
   2378 ac_configure_args_raw=
   2379 for ac_arg
   2380 do
   2381   case $ac_arg in
   2382   *\'*)
   2383     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2384   esac
   2385   as_fn_append ac_configure_args_raw " '$ac_arg'"
   2386 done
   2387 
   2388 case $ac_configure_args_raw in
   2389   *$as_nl*)
   2390     ac_safe_unquote= ;;
   2391   *)
   2392     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   2393     ac_unsafe_a="$ac_unsafe_z#~"
   2394     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   2395     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   2396 esac
   2397 
   2398 cat >config.log <<_ACEOF
   2399 This file contains any messages produced by compilers while
   2400 running configure, to aid debugging if configure makes a mistake.
   2401 
   2402 It was created by fontconfig $as_me 2.14.0, which was
   2403 generated by GNU Autoconf 2.71.  Invocation command line was
   2404 
   2405   $ $0$ac_configure_args_raw
   2406 
   2407 _ACEOF
   2408 exec 5>>config.log
   2409 {
   2410 cat <<_ASUNAME
   2411 ## --------- ##
   2412 ## Platform. ##
   2413 ## --------- ##
   2414 
   2415 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2416 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2417 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2418 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2419 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2420 
   2421 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2422 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2423 
   2424 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2425 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2426 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2427 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2428 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2429 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2430 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2431 
   2432 _ASUNAME
   2433 
   2434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2435 for as_dir in $PATH
   2436 do
   2437   IFS=$as_save_IFS
   2438   case $as_dir in #(((
   2439     '') as_dir=./ ;;
   2440     */) ;;
   2441     *) as_dir=$as_dir/ ;;
   2442   esac
   2443     printf "%s\n" "PATH: $as_dir"
   2444   done
   2445 IFS=$as_save_IFS
   2446 
   2447 } >&5
   2448 
   2449 cat >&5 <<_ACEOF
   2450 
   2451 
   2452 ## ----------- ##
   2453 ## Core tests. ##
   2454 ## ----------- ##
   2455 
   2456 _ACEOF
   2457 
   2458 
   2459 # Keep a trace of the command line.
   2460 # Strip out --no-create and --no-recursion so they do not pile up.
   2461 # Strip out --silent because we don't want to record it for future runs.
   2462 # Also quote any args containing shell meta-characters.
   2463 # Make two passes to allow for proper duplicate-argument suppression.
   2464 ac_configure_args=
   2465 ac_configure_args0=
   2466 ac_configure_args1=
   2467 ac_must_keep_next=false
   2468 for ac_pass in 1 2
   2469 do
   2470   for ac_arg
   2471   do
   2472     case $ac_arg in
   2473     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2474     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2475     | -silent | --silent | --silen | --sile | --sil)
   2476       continue ;;
   2477     *\'*)
   2478       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2479     esac
   2480     case $ac_pass in
   2481     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2482     2)
   2483       as_fn_append ac_configure_args1 " '$ac_arg'"
   2484       if test $ac_must_keep_next = true; then
   2485 	ac_must_keep_next=false # Got value, back to normal.
   2486       else
   2487 	case $ac_arg in
   2488 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2489 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2490 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2491 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2492 	    case "$ac_configure_args0 " in
   2493 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2494 	    esac
   2495 	    ;;
   2496 	  -* ) ac_must_keep_next=true ;;
   2497 	esac
   2498       fi
   2499       as_fn_append ac_configure_args " '$ac_arg'"
   2500       ;;
   2501     esac
   2502   done
   2503 done
   2504 { ac_configure_args0=; unset ac_configure_args0;}
   2505 { ac_configure_args1=; unset ac_configure_args1;}
   2506 
   2507 # When interrupted or exit'd, cleanup temporary files, and complete
   2508 # config.log.  We remove comments because anyway the quotes in there
   2509 # would cause problems or look ugly.
   2510 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2511 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2512 trap 'exit_status=$?
   2513   # Sanitize IFS.
   2514   IFS=" ""	$as_nl"
   2515   # Save into config.log some information that might help in debugging.
   2516   {
   2517     echo
   2518 
   2519     printf "%s\n" "## ---------------- ##
   2520 ## Cache variables. ##
   2521 ## ---------------- ##"
   2522     echo
   2523     # The following way of writing the cache mishandles newlines in values,
   2524 (
   2525   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2526     eval ac_val=\$$ac_var
   2527     case $ac_val in #(
   2528     *${as_nl}*)
   2529       case $ac_var in #(
   2530       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2531 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2532       esac
   2533       case $ac_var in #(
   2534       _ | IFS | as_nl) ;; #(
   2535       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2536       *) { eval $ac_var=; unset $ac_var;} ;;
   2537       esac ;;
   2538     esac
   2539   done
   2540   (set) 2>&1 |
   2541     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2542     *${as_nl}ac_space=\ *)
   2543       sed -n \
   2544 	"s/'\''/'\''\\\\'\'''\''/g;
   2545 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2546       ;; #(
   2547     *)
   2548       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2549       ;;
   2550     esac |
   2551     sort
   2552 )
   2553     echo
   2554 
   2555     printf "%s\n" "## ----------------- ##
   2556 ## Output variables. ##
   2557 ## ----------------- ##"
   2558     echo
   2559     for ac_var in $ac_subst_vars
   2560     do
   2561       eval ac_val=\$$ac_var
   2562       case $ac_val in
   2563       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2564       esac
   2565       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2566     done | sort
   2567     echo
   2568 
   2569     if test -n "$ac_subst_files"; then
   2570       printf "%s\n" "## ------------------- ##
   2571 ## File substitutions. ##
   2572 ## ------------------- ##"
   2573       echo
   2574       for ac_var in $ac_subst_files
   2575       do
   2576 	eval ac_val=\$$ac_var
   2577 	case $ac_val in
   2578 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2579 	esac
   2580 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2581       done | sort
   2582       echo
   2583     fi
   2584 
   2585     if test -s confdefs.h; then
   2586       printf "%s\n" "## ----------- ##
   2587 ## confdefs.h. ##
   2588 ## ----------- ##"
   2589       echo
   2590       cat confdefs.h
   2591       echo
   2592     fi
   2593     test "$ac_signal" != 0 &&
   2594       printf "%s\n" "$as_me: caught signal $ac_signal"
   2595     printf "%s\n" "$as_me: exit $exit_status"
   2596   } >&5
   2597   rm -f core *.core core.conftest.* &&
   2598     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2599     exit $exit_status
   2600 ' 0
   2601 for ac_signal in 1 2 13 15; do
   2602   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2603 done
   2604 ac_signal=0
   2605 
   2606 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2607 rm -f -r conftest* confdefs.h
   2608 
   2609 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2610 
   2611 # Predefined preprocessor variables.
   2612 
   2613 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2614 
   2615 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2616 
   2617 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2618 
   2619 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2620 
   2621 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2622 
   2623 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2624 
   2625 
   2626 # Let the site file select an alternate cache file if it wants to.
   2627 # Prefer an explicitly selected file to automatically selected ones.
   2628 if test -n "$CONFIG_SITE"; then
   2629   ac_site_files="$CONFIG_SITE"
   2630 elif test "x$prefix" != xNONE; then
   2631   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2632 else
   2633   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2634 fi
   2635 
   2636 for ac_site_file in $ac_site_files
   2637 do
   2638   case $ac_site_file in #(
   2639   */*) :
   2640      ;; #(
   2641   *) :
   2642     ac_site_file=./$ac_site_file ;;
   2643 esac
   2644   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2645     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2646 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2647     sed 's/^/| /' "$ac_site_file" >&5
   2648     . "$ac_site_file" \
   2649       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2650 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2651 as_fn_error $? "failed to load site script $ac_site_file
   2652 See \`config.log' for more details" "$LINENO" 5; }
   2653   fi
   2654 done
   2655 
   2656 if test -r "$cache_file"; then
   2657   # Some versions of bash will fail to source /dev/null (special files
   2658   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2659   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2660     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2661 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2662     case $cache_file in
   2663       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2664       *)                      . "./$cache_file";;
   2665     esac
   2666   fi
   2667 else
   2668   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2669 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2670   >$cache_file
   2671 fi
   2672 
   2673 # Test code for whether the C compiler supports C89 (global declarations)
   2674 ac_c_conftest_c89_globals='
   2675 /* Does the compiler advertise C89 conformance?
   2676    Do not test the value of __STDC__, because some compilers set it to 0
   2677    while being otherwise adequately conformant. */
   2678 #if !defined __STDC__
   2679 # error "Compiler does not advertise C89 conformance"
   2680 #endif
   2681 
   2682 #include <stddef.h>
   2683 #include <stdarg.h>
   2684 struct stat;
   2685 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2686 struct buf { int x; };
   2687 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2688 static char *e (p, i)
   2689      char **p;
   2690      int i;
   2691 {
   2692   return p[i];
   2693 }
   2694 static char *f (char * (*g) (char **, int), char **p, ...)
   2695 {
   2696   char *s;
   2697   va_list v;
   2698   va_start (v,p);
   2699   s = g (p, va_arg (v,int));
   2700   va_end (v);
   2701   return s;
   2702 }
   2703 
   2704 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2705    function prototypes and stuff, but not \xHH hex character constants.
   2706    These do not provoke an error unfortunately, instead are silently treated
   2707    as an "x".  The following induces an error, until -std is added to get
   2708    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2709    array size at least.  It is necessary to write \x00 == 0 to get something
   2710    that is true only with -std.  */
   2711 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2712 
   2713 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2714    inside strings and character constants.  */
   2715 #define FOO(x) '\''x'\''
   2716 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2717 
   2718 int test (int i, double x);
   2719 struct s1 {int (*f) (int a);};
   2720 struct s2 {int (*f) (double a);};
   2721 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2722                int, int);'
   2723 
   2724 # Test code for whether the C compiler supports C89 (body of main).
   2725 ac_c_conftest_c89_main='
   2726 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2727 '
   2728 
   2729 # Test code for whether the C compiler supports C99 (global declarations)
   2730 ac_c_conftest_c99_globals='
   2731 // Does the compiler advertise C99 conformance?
   2732 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2733 # error "Compiler does not advertise C99 conformance"
   2734 #endif
   2735 
   2736 #include <stdbool.h>
   2737 extern int puts (const char *);
   2738 extern int printf (const char *, ...);
   2739 extern int dprintf (int, const char *, ...);
   2740 extern void *malloc (size_t);
   2741 
   2742 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2743 // dprintf is used instead of fprintf to avoid needing to declare
   2744 // FILE and stderr.
   2745 #define debug(...) dprintf (2, __VA_ARGS__)
   2746 #define showlist(...) puts (#__VA_ARGS__)
   2747 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2748 static void
   2749 test_varargs_macros (void)
   2750 {
   2751   int x = 1234;
   2752   int y = 5678;
   2753   debug ("Flag");
   2754   debug ("X = %d\n", x);
   2755   showlist (The first, second, and third items.);
   2756   report (x>y, "x is %d but y is %d", x, y);
   2757 }
   2758 
   2759 // Check long long types.
   2760 #define BIG64 18446744073709551615ull
   2761 #define BIG32 4294967295ul
   2762 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2763 #if !BIG_OK
   2764   #error "your preprocessor is broken"
   2765 #endif
   2766 #if BIG_OK
   2767 #else
   2768   #error "your preprocessor is broken"
   2769 #endif
   2770 static long long int bignum = -9223372036854775807LL;
   2771 static unsigned long long int ubignum = BIG64;
   2772 
   2773 struct incomplete_array
   2774 {
   2775   int datasize;
   2776   double data[];
   2777 };
   2778 
   2779 struct named_init {
   2780   int number;
   2781   const wchar_t *name;
   2782   double average;
   2783 };
   2784 
   2785 typedef const char *ccp;
   2786 
   2787 static inline int
   2788 test_restrict (ccp restrict text)
   2789 {
   2790   // See if C++-style comments work.
   2791   // Iterate through items via the restricted pointer.
   2792   // Also check for declarations in for loops.
   2793   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2794     continue;
   2795   return 0;
   2796 }
   2797 
   2798 // Check varargs and va_copy.
   2799 static bool
   2800 test_varargs (const char *format, ...)
   2801 {
   2802   va_list args;
   2803   va_start (args, format);
   2804   va_list args_copy;
   2805   va_copy (args_copy, args);
   2806 
   2807   const char *str = "";
   2808   int number = 0;
   2809   float fnumber = 0;
   2810 
   2811   while (*format)
   2812     {
   2813       switch (*format++)
   2814 	{
   2815 	case '\''s'\'': // string
   2816 	  str = va_arg (args_copy, const char *);
   2817 	  break;
   2818 	case '\''d'\'': // int
   2819 	  number = va_arg (args_copy, int);
   2820 	  break;
   2821 	case '\''f'\'': // float
   2822 	  fnumber = va_arg (args_copy, double);
   2823 	  break;
   2824 	default:
   2825 	  break;
   2826 	}
   2827     }
   2828   va_end (args_copy);
   2829   va_end (args);
   2830 
   2831   return *str && number && fnumber;
   2832 }
   2833 '
   2834 
   2835 # Test code for whether the C compiler supports C99 (body of main).
   2836 ac_c_conftest_c99_main='
   2837   // Check bool.
   2838   _Bool success = false;
   2839   success |= (argc != 0);
   2840 
   2841   // Check restrict.
   2842   if (test_restrict ("String literal") == 0)
   2843     success = true;
   2844   char *restrict newvar = "Another string";
   2845 
   2846   // Check varargs.
   2847   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2848   test_varargs_macros ();
   2849 
   2850   // Check flexible array members.
   2851   struct incomplete_array *ia =
   2852     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2853   ia->datasize = 10;
   2854   for (int i = 0; i < ia->datasize; ++i)
   2855     ia->data[i] = i * 1.234;
   2856 
   2857   // Check named initializers.
   2858   struct named_init ni = {
   2859     .number = 34,
   2860     .name = L"Test wide string",
   2861     .average = 543.34343,
   2862   };
   2863 
   2864   ni.number = 58;
   2865 
   2866   int dynamic_array[ni.number];
   2867   dynamic_array[0] = argv[0][0];
   2868   dynamic_array[ni.number - 1] = 543;
   2869 
   2870   // work around unused variable warnings
   2871   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2872 	 || dynamic_array[ni.number - 1] != 543);
   2873 '
   2874 
   2875 # Test code for whether the C compiler supports C11 (global declarations)
   2876 ac_c_conftest_c11_globals='
   2877 // Does the compiler advertise C11 conformance?
   2878 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2879 # error "Compiler does not advertise C11 conformance"
   2880 #endif
   2881 
   2882 // Check _Alignas.
   2883 char _Alignas (double) aligned_as_double;
   2884 char _Alignas (0) no_special_alignment;
   2885 extern char aligned_as_int;
   2886 char _Alignas (0) _Alignas (int) aligned_as_int;
   2887 
   2888 // Check _Alignof.
   2889 enum
   2890 {
   2891   int_alignment = _Alignof (int),
   2892   int_array_alignment = _Alignof (int[100]),
   2893   char_alignment = _Alignof (char)
   2894 };
   2895 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2896 
   2897 // Check _Noreturn.
   2898 int _Noreturn does_not_return (void) { for (;;) continue; }
   2899 
   2900 // Check _Static_assert.
   2901 struct test_static_assert
   2902 {
   2903   int x;
   2904   _Static_assert (sizeof (int) <= sizeof (long int),
   2905                   "_Static_assert does not work in struct");
   2906   long int y;
   2907 };
   2908 
   2909 // Check UTF-8 literals.
   2910 #define u8 syntax error!
   2911 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2912 
   2913 // Check duplicate typedefs.
   2914 typedef long *long_ptr;
   2915 typedef long int *long_ptr;
   2916 typedef long_ptr long_ptr;
   2917 
   2918 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2919 struct anonymous
   2920 {
   2921   union {
   2922     struct { int i; int j; };
   2923     struct { int k; long int l; } w;
   2924   };
   2925   int m;
   2926 } v1;
   2927 '
   2928 
   2929 # Test code for whether the C compiler supports C11 (body of main).
   2930 ac_c_conftest_c11_main='
   2931   _Static_assert ((offsetof (struct anonymous, i)
   2932 		   == offsetof (struct anonymous, w.k)),
   2933 		  "Anonymous union alignment botch");
   2934   v1.i = 2;
   2935   v1.w.k = 5;
   2936   ok |= v1.i != 5;
   2937 '
   2938 
   2939 # Test code for whether the C compiler supports C11 (complete).
   2940 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2941 ${ac_c_conftest_c99_globals}
   2942 ${ac_c_conftest_c11_globals}
   2943 
   2944 int
   2945 main (int argc, char **argv)
   2946 {
   2947   int ok = 0;
   2948   ${ac_c_conftest_c89_main}
   2949   ${ac_c_conftest_c99_main}
   2950   ${ac_c_conftest_c11_main}
   2951   return ok;
   2952 }
   2953 "
   2954 
   2955 # Test code for whether the C compiler supports C99 (complete).
   2956 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2957 ${ac_c_conftest_c99_globals}
   2958 
   2959 int
   2960 main (int argc, char **argv)
   2961 {
   2962   int ok = 0;
   2963   ${ac_c_conftest_c89_main}
   2964   ${ac_c_conftest_c99_main}
   2965   return ok;
   2966 }
   2967 "
   2968 
   2969 # Test code for whether the C compiler supports C89 (complete).
   2970 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2971 
   2972 int
   2973 main (int argc, char **argv)
   2974 {
   2975   int ok = 0;
   2976   ${ac_c_conftest_c89_main}
   2977   return ok;
   2978 }
   2979 "
   2980 
   2981 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2982 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2983 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2984 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2985 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2986 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2987 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2988 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2989 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2990 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
   2991 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
   2992 gt_needs="$gt_needs "
   2993 as_fn_append ac_func_c_list " vprintf HAVE_VPRINTF"
   2994 as_fn_append ac_header_c_list " sys/param.h sys_param_h HAVE_SYS_PARAM_H"
   2995 as_fn_append ac_func_c_list " getpagesize HAVE_GETPAGESIZE"
   2996 
   2997 # Auxiliary files required by this configure script.
   2998 ac_aux_files="config.rpath config.guess config.sub ltmain.sh compile missing install-sh"
   2999 
   3000 # Locations in which to look for auxiliary files.
   3001 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   3002 
   3003 # Search for a directory containing all of the required auxiliary files,
   3004 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   3005 # If we don't find one directory that contains all the files we need,
   3006 # we report the set of missing files from the *first* directory in
   3007 # $ac_aux_dir_candidates and give up.
   3008 ac_missing_aux_files=""
   3009 ac_first_candidate=:
   3010 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   3011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3012 as_found=false
   3013 for as_dir in $ac_aux_dir_candidates
   3014 do
   3015   IFS=$as_save_IFS
   3016   case $as_dir in #(((
   3017     '') as_dir=./ ;;
   3018     */) ;;
   3019     *) as_dir=$as_dir/ ;;
   3020   esac
   3021   as_found=:
   3022 
   3023   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   3024   ac_aux_dir_found=yes
   3025   ac_install_sh=
   3026   for ac_aux in $ac_aux_files
   3027   do
   3028     # As a special case, if "install-sh" is required, that requirement
   3029     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   3030     # and $ac_install_sh is set appropriately for whichever one is found.
   3031     if test x"$ac_aux" = x"install-sh"
   3032     then
   3033       if test -f "${as_dir}install-sh"; then
   3034         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   3035         ac_install_sh="${as_dir}install-sh -c"
   3036       elif test -f "${as_dir}install.sh"; then
   3037         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   3038         ac_install_sh="${as_dir}install.sh -c"
   3039       elif test -f "${as_dir}shtool"; then
   3040         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   3041         ac_install_sh="${as_dir}shtool install -c"
   3042       else
   3043         ac_aux_dir_found=no
   3044         if $ac_first_candidate; then
   3045           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   3046         else
   3047           break
   3048         fi
   3049       fi
   3050     else
   3051       if test -f "${as_dir}${ac_aux}"; then
   3052         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   3053       else
   3054         ac_aux_dir_found=no
   3055         if $ac_first_candidate; then
   3056           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   3057         else
   3058           break
   3059         fi
   3060       fi
   3061     fi
   3062   done
   3063   if test "$ac_aux_dir_found" = yes; then
   3064     ac_aux_dir="$as_dir"
   3065     break
   3066   fi
   3067   ac_first_candidate=false
   3068 
   3069   as_found=false
   3070 done
   3071 IFS=$as_save_IFS
   3072 if $as_found
   3073 then :
   3074 
   3075 else $as_nop
   3076   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   3077 fi
   3078 
   3079 
   3080 # These three variables are undocumented and unsupported,
   3081 # and are intended to be withdrawn in a future Autoconf release.
   3082 # They can cause serious problems if a builder's source tree is in a directory
   3083 # whose full name contains unusual characters.
   3084 if test -f "${ac_aux_dir}config.guess"; then
   3085   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   3086 fi
   3087 if test -f "${ac_aux_dir}config.sub"; then
   3088   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   3089 fi
   3090 if test -f "$ac_aux_dir/configure"; then
   3091   ac_configure="$SHELL ${ac_aux_dir}configure"
   3092 fi
   3093 
   3094 # Check that the precious variables saved in the cache have kept the same
   3095 # value.
   3096 ac_cache_corrupted=false
   3097 for ac_var in $ac_precious_vars; do
   3098   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   3099   eval ac_new_set=\$ac_env_${ac_var}_set
   3100   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   3101   eval ac_new_val=\$ac_env_${ac_var}_value
   3102   case $ac_old_set,$ac_new_set in
   3103     set,)
   3104       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   3105 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   3106       ac_cache_corrupted=: ;;
   3107     ,set)
   3108       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   3109 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   3110       ac_cache_corrupted=: ;;
   3111     ,);;
   3112     *)
   3113       if test "x$ac_old_val" != "x$ac_new_val"; then
   3114 	# differences in whitespace do not lead to failure.
   3115 	ac_old_val_w=`echo x $ac_old_val`
   3116 	ac_new_val_w=`echo x $ac_new_val`
   3117 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   3118 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   3119 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   3120 	  ac_cache_corrupted=:
   3121 	else
   3122 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   3123 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   3124 	  eval $ac_var=\$ac_old_val
   3125 	fi
   3126 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   3127 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   3128 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   3129 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   3130       fi;;
   3131   esac
   3132   # Pass precious variables to config.status.
   3133   if test "$ac_new_set" = set; then
   3134     case $ac_new_val in
   3135     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   3136     *) ac_arg=$ac_var=$ac_new_val ;;
   3137     esac
   3138     case " $ac_configure_args " in
   3139       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   3140       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   3141     esac
   3142   fi
   3143 done
   3144 if $ac_cache_corrupted; then
   3145   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3146 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3147   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   3148 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   3149   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   3150 	    and start over" "$LINENO" 5
   3151 fi
   3152 ## -------------------- ##
   3153 ## Main body of script. ##
   3154 ## -------------------- ##
   3155 
   3156 ac_ext=c
   3157 ac_cpp='$CPP $CPPFLAGS'
   3158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3161 
   3162 
   3163 am__api_version='1.16'
   3164 
   3165 
   3166 
   3167   # Find a good install program.  We prefer a C program (faster),
   3168 # so one script is as good as another.  But avoid the broken or
   3169 # incompatible versions:
   3170 # SysV /etc/install, /usr/sbin/install
   3171 # SunOS /usr/etc/install
   3172 # IRIX /sbin/install
   3173 # AIX /bin/install
   3174 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3175 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3176 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3177 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3178 # OS/2's system install, which has a completely different semantic
   3179 # ./install, which can be erroneously created by make from ./install.sh.
   3180 # Reject install programs that cannot install multiple files.
   3181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3182 printf %s "checking for a BSD-compatible install... " >&6; }
   3183 if test -z "$INSTALL"; then
   3184 if test ${ac_cv_path_install+y}
   3185 then :
   3186   printf %s "(cached) " >&6
   3187 else $as_nop
   3188   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3189 for as_dir in $PATH
   3190 do
   3191   IFS=$as_save_IFS
   3192   case $as_dir in #(((
   3193     '') as_dir=./ ;;
   3194     */) ;;
   3195     *) as_dir=$as_dir/ ;;
   3196   esac
   3197     # Account for fact that we put trailing slashes in our PATH walk.
   3198 case $as_dir in #((
   3199   ./ | /[cC]/* | \
   3200   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3201   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3202   /usr/ucb/* ) ;;
   3203   *)
   3204     # OSF1 and SCO ODT 3.0 have their own names for install.
   3205     # Don't use installbsd from OSF since it installs stuff as root
   3206     # by default.
   3207     for ac_prog in ginstall scoinst install; do
   3208       for ac_exec_ext in '' $ac_executable_extensions; do
   3209 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   3210 	  if test $ac_prog = install &&
   3211 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3212 	    # AIX install.  It has an incompatible calling convention.
   3213 	    :
   3214 	  elif test $ac_prog = install &&
   3215 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3216 	    # program-specific install script used by HP pwplus--don't use.
   3217 	    :
   3218 	  else
   3219 	    rm -rf conftest.one conftest.two conftest.dir
   3220 	    echo one > conftest.one
   3221 	    echo two > conftest.two
   3222 	    mkdir conftest.dir
   3223 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   3224 	      test -s conftest.one && test -s conftest.two &&
   3225 	      test -s conftest.dir/conftest.one &&
   3226 	      test -s conftest.dir/conftest.two
   3227 	    then
   3228 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   3229 	      break 3
   3230 	    fi
   3231 	  fi
   3232 	fi
   3233       done
   3234     done
   3235     ;;
   3236 esac
   3237 
   3238   done
   3239 IFS=$as_save_IFS
   3240 
   3241 rm -rf conftest.one conftest.two conftest.dir
   3242 
   3243 fi
   3244   if test ${ac_cv_path_install+y}; then
   3245     INSTALL=$ac_cv_path_install
   3246   else
   3247     # As a last resort, use the slow shell script.  Don't cache a
   3248     # value for INSTALL within a source directory, because that will
   3249     # break other packages using the cache if that directory is
   3250     # removed, or if the value is a relative name.
   3251     INSTALL=$ac_install_sh
   3252   fi
   3253 fi
   3254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3255 printf "%s\n" "$INSTALL" >&6; }
   3256 
   3257 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3258 # It thinks the first close brace ends the variable substitution.
   3259 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3260 
   3261 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3262 
   3263 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3264 
   3265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3266 printf %s "checking whether build environment is sane... " >&6; }
   3267 # Reject unsafe characters in $srcdir or the absolute working directory
   3268 # name.  Accept space and tab only in the latter.
   3269 am_lf='
   3270 '
   3271 case `pwd` in
   3272   *[\\\"\#\$\&\'\`$am_lf]*)
   3273     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3274 esac
   3275 case $srcdir in
   3276   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3277     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   3278 esac
   3279 
   3280 # Do 'set' in a subshell so we don't clobber the current shell's
   3281 # arguments.  Must try -L first in case configure is actually a
   3282 # symlink; some systems play weird games with the mod time of symlinks
   3283 # (eg FreeBSD returns the mod time of the symlink's containing
   3284 # directory).
   3285 if (
   3286    am_has_slept=no
   3287    for am_try in 1 2; do
   3288      echo "timestamp, slept: $am_has_slept" > conftest.file
   3289      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3290      if test "$*" = "X"; then
   3291 	# -L didn't work.
   3292 	set X `ls -t "$srcdir/configure" conftest.file`
   3293      fi
   3294      if test "$*" != "X $srcdir/configure conftest.file" \
   3295 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   3296 
   3297 	# If neither matched, then we have a broken ls.  This can happen
   3298 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   3299 	# broken ls alias from the environment.  This has actually
   3300 	# happened.  Such a system could not be considered "sane".
   3301 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   3302   alias in your environment" "$LINENO" 5
   3303      fi
   3304      if test "$2" = conftest.file || test $am_try -eq 2; then
   3305        break
   3306      fi
   3307      # Just in case.
   3308      sleep 1
   3309      am_has_slept=yes
   3310    done
   3311    test "$2" = conftest.file
   3312    )
   3313 then
   3314    # Ok.
   3315    :
   3316 else
   3317    as_fn_error $? "newly created file is older than distributed files!
   3318 Check your system clock" "$LINENO" 5
   3319 fi
   3320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3321 printf "%s\n" "yes" >&6; }
   3322 # If we didn't sleep, we still need to ensure time stamps of config.status and
   3323 # generated files are strictly newer.
   3324 am_sleep_pid=
   3325 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   3326   ( sleep 1 ) &
   3327   am_sleep_pid=$!
   3328 fi
   3329 
   3330 rm -f conftest.file
   3331 
   3332 test "$program_prefix" != NONE &&
   3333   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3334 # Use a double $ so make ignores it.
   3335 test "$program_suffix" != NONE &&
   3336   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3337 # Double any \ or $.
   3338 # By default was `s,x,x', remove it if useless.
   3339 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3340 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   3341 
   3342 
   3343 # Expand $ac_aux_dir to an absolute path.
   3344 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   3345 
   3346 
   3347   if test x"${MISSING+set}" != xset; then
   3348   MISSING="\${SHELL} '$am_aux_dir/missing'"
   3349 fi
   3350 # Use eval to expand $SHELL
   3351 if eval "$MISSING --is-lightweight"; then
   3352   am_missing_run="$MISSING "
   3353 else
   3354   am_missing_run=
   3355   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3356 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3357 fi
   3358 
   3359 if test x"${install_sh+set}" != xset; then
   3360   case $am_aux_dir in
   3361   *\ * | *\	*)
   3362     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3363   *)
   3364     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3365   esac
   3366 fi
   3367 
   3368 # Installed binaries are usually stripped using 'strip' when the user
   3369 # run "make install-strip".  However 'strip' might not be the right
   3370 # tool to use in cross-compilation environments, therefore Automake
   3371 # will honor the 'STRIP' environment variable to overrule this program.
   3372 if test "$cross_compiling" != no; then
   3373   if test -n "$ac_tool_prefix"; then
   3374   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3375 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3377 printf %s "checking for $ac_word... " >&6; }
   3378 if test ${ac_cv_prog_STRIP+y}
   3379 then :
   3380   printf %s "(cached) " >&6
   3381 else $as_nop
   3382   if test -n "$STRIP"; then
   3383   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3384 else
   3385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3386 for as_dir in $PATH
   3387 do
   3388   IFS=$as_save_IFS
   3389   case $as_dir in #(((
   3390     '') as_dir=./ ;;
   3391     */) ;;
   3392     *) as_dir=$as_dir/ ;;
   3393   esac
   3394     for ac_exec_ext in '' $ac_executable_extensions; do
   3395   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3396     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3397     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3398     break 2
   3399   fi
   3400 done
   3401   done
   3402 IFS=$as_save_IFS
   3403 
   3404 fi
   3405 fi
   3406 STRIP=$ac_cv_prog_STRIP
   3407 if test -n "$STRIP"; then
   3408   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3409 printf "%s\n" "$STRIP" >&6; }
   3410 else
   3411   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3412 printf "%s\n" "no" >&6; }
   3413 fi
   3414 
   3415 
   3416 fi
   3417 if test -z "$ac_cv_prog_STRIP"; then
   3418   ac_ct_STRIP=$STRIP
   3419   # Extract the first word of "strip", so it can be a program name with args.
   3420 set dummy strip; ac_word=$2
   3421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3422 printf %s "checking for $ac_word... " >&6; }
   3423 if test ${ac_cv_prog_ac_ct_STRIP+y}
   3424 then :
   3425   printf %s "(cached) " >&6
   3426 else $as_nop
   3427   if test -n "$ac_ct_STRIP"; then
   3428   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3429 else
   3430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3431 for as_dir in $PATH
   3432 do
   3433   IFS=$as_save_IFS
   3434   case $as_dir in #(((
   3435     '') as_dir=./ ;;
   3436     */) ;;
   3437     *) as_dir=$as_dir/ ;;
   3438   esac
   3439     for ac_exec_ext in '' $ac_executable_extensions; do
   3440   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3441     ac_cv_prog_ac_ct_STRIP="strip"
   3442     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3443     break 2
   3444   fi
   3445 done
   3446   done
   3447 IFS=$as_save_IFS
   3448 
   3449 fi
   3450 fi
   3451 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3452 if test -n "$ac_ct_STRIP"; then
   3453   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3454 printf "%s\n" "$ac_ct_STRIP" >&6; }
   3455 else
   3456   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3457 printf "%s\n" "no" >&6; }
   3458 fi
   3459 
   3460   if test "x$ac_ct_STRIP" = x; then
   3461     STRIP=":"
   3462   else
   3463     case $cross_compiling:$ac_tool_warned in
   3464 yes:)
   3465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3466 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3467 ac_tool_warned=yes ;;
   3468 esac
   3469     STRIP=$ac_ct_STRIP
   3470   fi
   3471 else
   3472   STRIP="$ac_cv_prog_STRIP"
   3473 fi
   3474 
   3475 fi
   3476 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3477 
   3478 
   3479   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   3480 printf %s "checking for a race-free mkdir -p... " >&6; }
   3481 if test -z "$MKDIR_P"; then
   3482   if test ${ac_cv_path_mkdir+y}
   3483 then :
   3484   printf %s "(cached) " >&6
   3485 else $as_nop
   3486   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3487 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3488 do
   3489   IFS=$as_save_IFS
   3490   case $as_dir in #(((
   3491     '') as_dir=./ ;;
   3492     */) ;;
   3493     *) as_dir=$as_dir/ ;;
   3494   esac
   3495     for ac_prog in mkdir gmkdir; do
   3496 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3497 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3498 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3499 	     'mkdir ('*'coreutils) '* | \
   3500 	     'BusyBox '* | \
   3501 	     'mkdir (fileutils) '4.1*)
   3502 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3503 	       break 3;;
   3504 	   esac
   3505 	 done
   3506        done
   3507   done
   3508 IFS=$as_save_IFS
   3509 
   3510 fi
   3511 
   3512   test -d ./--version && rmdir ./--version
   3513   if test ${ac_cv_path_mkdir+y}; then
   3514     MKDIR_P="$ac_cv_path_mkdir -p"
   3515   else
   3516     # As a last resort, use the slow shell script.  Don't cache a
   3517     # value for MKDIR_P within a source directory, because that will
   3518     # break other packages using the cache if that directory is
   3519     # removed, or if the value is a relative name.
   3520     MKDIR_P="$ac_install_sh -d"
   3521   fi
   3522 fi
   3523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3524 printf "%s\n" "$MKDIR_P" >&6; }
   3525 
   3526 for ac_prog in gawk mawk nawk awk
   3527 do
   3528   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3529 set dummy $ac_prog; ac_word=$2
   3530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3531 printf %s "checking for $ac_word... " >&6; }
   3532 if test ${ac_cv_prog_AWK+y}
   3533 then :
   3534   printf %s "(cached) " >&6
   3535 else $as_nop
   3536   if test -n "$AWK"; then
   3537   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3538 else
   3539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3540 for as_dir in $PATH
   3541 do
   3542   IFS=$as_save_IFS
   3543   case $as_dir in #(((
   3544     '') as_dir=./ ;;
   3545     */) ;;
   3546     *) as_dir=$as_dir/ ;;
   3547   esac
   3548     for ac_exec_ext in '' $ac_executable_extensions; do
   3549   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3550     ac_cv_prog_AWK="$ac_prog"
   3551     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3552     break 2
   3553   fi
   3554 done
   3555   done
   3556 IFS=$as_save_IFS
   3557 
   3558 fi
   3559 fi
   3560 AWK=$ac_cv_prog_AWK
   3561 if test -n "$AWK"; then
   3562   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3563 printf "%s\n" "$AWK" >&6; }
   3564 else
   3565   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3566 printf "%s\n" "no" >&6; }
   3567 fi
   3568 
   3569 
   3570   test -n "$AWK" && break
   3571 done
   3572 
   3573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3574 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3575 set x ${MAKE-make}
   3576 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3577 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3578 then :
   3579   printf %s "(cached) " >&6
   3580 else $as_nop
   3581   cat >conftest.make <<\_ACEOF
   3582 SHELL = /bin/sh
   3583 all:
   3584 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3585 _ACEOF
   3586 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3587 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3588   *@@@%%%=?*=@@@%%%*)
   3589     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3590   *)
   3591     eval ac_cv_prog_make_${ac_make}_set=no;;
   3592 esac
   3593 rm -f conftest.make
   3594 fi
   3595 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3596   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3597 printf "%s\n" "yes" >&6; }
   3598   SET_MAKE=
   3599 else
   3600   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3601 printf "%s\n" "no" >&6; }
   3602   SET_MAKE="MAKE=${MAKE-make}"
   3603 fi
   3604 
   3605 rm -rf .tst 2>/dev/null
   3606 mkdir .tst 2>/dev/null
   3607 if test -d .tst; then
   3608   am__leading_dot=.
   3609 else
   3610   am__leading_dot=_
   3611 fi
   3612 rmdir .tst 2>/dev/null
   3613 
   3614 # Check whether --enable-silent-rules was given.
   3615 if test ${enable_silent_rules+y}
   3616 then :
   3617   enableval=$enable_silent_rules;
   3618 fi
   3619 
   3620 case $enable_silent_rules in # (((
   3621   yes) AM_DEFAULT_VERBOSITY=0;;
   3622    no) AM_DEFAULT_VERBOSITY=1;;
   3623     *) AM_DEFAULT_VERBOSITY=1;;
   3624 esac
   3625 am_make=${MAKE-make}
   3626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3627 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3628 if test ${am_cv_make_support_nested_variables+y}
   3629 then :
   3630   printf %s "(cached) " >&6
   3631 else $as_nop
   3632   if printf "%s\n" 'TRUE=$(BAR$(V))
   3633 BAR0=false
   3634 BAR1=true
   3635 V=1
   3636 am__doit:
   3637 	@$(TRUE)
   3638 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3639   am_cv_make_support_nested_variables=yes
   3640 else
   3641   am_cv_make_support_nested_variables=no
   3642 fi
   3643 fi
   3644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3645 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3646 if test $am_cv_make_support_nested_variables = yes; then
   3647     AM_V='$(V)'
   3648   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3649 else
   3650   AM_V=$AM_DEFAULT_VERBOSITY
   3651   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3652 fi
   3653 AM_BACKSLASH='\'
   3654 
   3655 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3656   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3657   # is not polluted with repeated "-I."
   3658   am__isrc=' -I$(srcdir)'
   3659   # test to see if srcdir already configured
   3660   if test -f $srcdir/config.status; then
   3661     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3662   fi
   3663 fi
   3664 
   3665 # test whether we have cygpath
   3666 if test -z "$CYGPATH_W"; then
   3667   if (cygpath --version) >/dev/null 2>/dev/null; then
   3668     CYGPATH_W='cygpath -w'
   3669   else
   3670     CYGPATH_W=echo
   3671   fi
   3672 fi
   3673 
   3674 
   3675 # Define the identity of the package.
   3676  PACKAGE='fontconfig'
   3677  VERSION='2.14.0'
   3678 
   3679 
   3680 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3681 
   3682 
   3683 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3684 
   3685 # Some tools Automake needs.
   3686 
   3687 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3688 
   3689 
   3690 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3691 
   3692 
   3693 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3694 
   3695 
   3696 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3697 
   3698 
   3699 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3700 
   3701 # For better backward compatibility.  To be removed once Automake 1.9.x
   3702 # dies out for good.  For more background, see:
   3703 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3704 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3705 mkdir_p='$(MKDIR_P)'
   3706 
   3707 # We need awk for the "check" target (and possibly the TAP driver).  The
   3708 # system "awk" is bad on some platforms.
   3709 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3710 # in the wild :-(  We should find a proper way to deprecate it ...
   3711 AMTAR='$${TAR-tar}'
   3712 
   3713 
   3714 # We'll loop over all known methods to create a tar archive until one works.
   3715 _am_tools='gnutar  pax cpio none'
   3716 
   3717 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3718 
   3719 
   3720 
   3721 
   3722 
   3723 # Variables for tags utilities; see am/tags.am
   3724 if test -z "$CTAGS"; then
   3725   CTAGS=ctags
   3726 fi
   3727 
   3728 if test -z "$ETAGS"; then
   3729   ETAGS=etags
   3730 fi
   3731 
   3732 if test -z "$CSCOPE"; then
   3733   CSCOPE=cscope
   3734 fi
   3735 
   3736 
   3737 
   3738 # POSIX will say in a future version that running "rm -f" with no argument
   3739 # is OK; and we want to be able to make that assumption in our Makefile
   3740 # recipes.  So use an aggressive probe to check that the usage we want is
   3741 # actually supported "in the wild" to an acceptable degree.
   3742 # See automake bug#10828.
   3743 # To make any issue more visible, cause the running configure to be aborted
   3744 # by default if the 'rm' program in use doesn't match our expectations; the
   3745 # user can still override this though.
   3746 if rm -f && rm -fr && rm -rf; then : OK; else
   3747   cat >&2 <<'END'
   3748 Oops!
   3749 
   3750 Your 'rm' program seems unable to run without file operands specified
   3751 on the command line, even when the '-f' option is present.  This is contrary
   3752 to the behaviour of most rm programs out there, and not conforming with
   3753 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3754 
   3755 Please tell bug-automake@gnu.org about your system, including the value
   3756 of your $PATH and any error possibly output before this message.  This
   3757 can help us improve future automake versions.
   3758 
   3759 END
   3760   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3761     echo 'Configuration will proceed anyway, since you have set the' >&2
   3762     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3763     echo >&2
   3764   else
   3765     cat >&2 <<'END'
   3766 Aborting the configuration process, to ensure you take notice of the issue.
   3767 
   3768 You can download and install GNU coreutils to get an 'rm' implementation
   3769 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3770 
   3771 If you want to complete the configuration process using your problematic
   3772 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3773 to "yes", and re-run configure.
   3774 
   3775 END
   3776     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3777   fi
   3778 fi
   3779 
   3780 # Check whether --enable-silent-rules was given.
   3781 if test ${enable_silent_rules+y}
   3782 then :
   3783   enableval=$enable_silent_rules;
   3784 fi
   3785 
   3786 case $enable_silent_rules in # (((
   3787   yes) AM_DEFAULT_VERBOSITY=0;;
   3788    no) AM_DEFAULT_VERBOSITY=1;;
   3789     *) AM_DEFAULT_VERBOSITY=0;;
   3790 esac
   3791 am_make=${MAKE-make}
   3792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3793 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3794 if test ${am_cv_make_support_nested_variables+y}
   3795 then :
   3796   printf %s "(cached) " >&6
   3797 else $as_nop
   3798   if printf "%s\n" 'TRUE=$(BAR$(V))
   3799 BAR0=false
   3800 BAR1=true
   3801 V=1
   3802 am__doit:
   3803 	@$(TRUE)
   3804 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3805   am_cv_make_support_nested_variables=yes
   3806 else
   3807   am_cv_make_support_nested_variables=no
   3808 fi
   3809 fi
   3810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3811 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3812 if test $am_cv_make_support_nested_variables = yes; then
   3813     AM_V='$(V)'
   3814   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3815 else
   3816   AM_V=$AM_DEFAULT_VERBOSITY
   3817   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3818 fi
   3819 AM_BACKSLASH='\'
   3820 
   3821 
   3822 
   3823 ac_config_headers="$ac_config_headers config.h"
   3824 
   3825 
   3826 
   3827 
   3828 
   3829 
   3830 
   3831 
   3832 
   3833 
   3834 
   3835 
   3836 ac_ext=c
   3837 ac_cpp='$CPP $CPPFLAGS'
   3838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3841 if test -n "$ac_tool_prefix"; then
   3842   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3843 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3845 printf %s "checking for $ac_word... " >&6; }
   3846 if test ${ac_cv_prog_CC+y}
   3847 then :
   3848   printf %s "(cached) " >&6
   3849 else $as_nop
   3850   if test -n "$CC"; then
   3851   ac_cv_prog_CC="$CC" # Let the user override the test.
   3852 else
   3853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3854 for as_dir in $PATH
   3855 do
   3856   IFS=$as_save_IFS
   3857   case $as_dir in #(((
   3858     '') as_dir=./ ;;
   3859     */) ;;
   3860     *) as_dir=$as_dir/ ;;
   3861   esac
   3862     for ac_exec_ext in '' $ac_executable_extensions; do
   3863   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3864     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3865     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3866     break 2
   3867   fi
   3868 done
   3869   done
   3870 IFS=$as_save_IFS
   3871 
   3872 fi
   3873 fi
   3874 CC=$ac_cv_prog_CC
   3875 if test -n "$CC"; then
   3876   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3877 printf "%s\n" "$CC" >&6; }
   3878 else
   3879   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3880 printf "%s\n" "no" >&6; }
   3881 fi
   3882 
   3883 
   3884 fi
   3885 if test -z "$ac_cv_prog_CC"; then
   3886   ac_ct_CC=$CC
   3887   # Extract the first word of "gcc", so it can be a program name with args.
   3888 set dummy gcc; ac_word=$2
   3889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3890 printf %s "checking for $ac_word... " >&6; }
   3891 if test ${ac_cv_prog_ac_ct_CC+y}
   3892 then :
   3893   printf %s "(cached) " >&6
   3894 else $as_nop
   3895   if test -n "$ac_ct_CC"; then
   3896   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3897 else
   3898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3899 for as_dir in $PATH
   3900 do
   3901   IFS=$as_save_IFS
   3902   case $as_dir in #(((
   3903     '') as_dir=./ ;;
   3904     */) ;;
   3905     *) as_dir=$as_dir/ ;;
   3906   esac
   3907     for ac_exec_ext in '' $ac_executable_extensions; do
   3908   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3909     ac_cv_prog_ac_ct_CC="gcc"
   3910     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3911     break 2
   3912   fi
   3913 done
   3914   done
   3915 IFS=$as_save_IFS
   3916 
   3917 fi
   3918 fi
   3919 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3920 if test -n "$ac_ct_CC"; then
   3921   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3922 printf "%s\n" "$ac_ct_CC" >&6; }
   3923 else
   3924   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3925 printf "%s\n" "no" >&6; }
   3926 fi
   3927 
   3928   if test "x$ac_ct_CC" = x; then
   3929     CC=""
   3930   else
   3931     case $cross_compiling:$ac_tool_warned in
   3932 yes:)
   3933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3934 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3935 ac_tool_warned=yes ;;
   3936 esac
   3937     CC=$ac_ct_CC
   3938   fi
   3939 else
   3940   CC="$ac_cv_prog_CC"
   3941 fi
   3942 
   3943 if test -z "$CC"; then
   3944           if test -n "$ac_tool_prefix"; then
   3945     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3946 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3948 printf %s "checking for $ac_word... " >&6; }
   3949 if test ${ac_cv_prog_CC+y}
   3950 then :
   3951   printf %s "(cached) " >&6
   3952 else $as_nop
   3953   if test -n "$CC"; then
   3954   ac_cv_prog_CC="$CC" # Let the user override the test.
   3955 else
   3956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3957 for as_dir in $PATH
   3958 do
   3959   IFS=$as_save_IFS
   3960   case $as_dir in #(((
   3961     '') as_dir=./ ;;
   3962     */) ;;
   3963     *) as_dir=$as_dir/ ;;
   3964   esac
   3965     for ac_exec_ext in '' $ac_executable_extensions; do
   3966   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3967     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3968     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3969     break 2
   3970   fi
   3971 done
   3972   done
   3973 IFS=$as_save_IFS
   3974 
   3975 fi
   3976 fi
   3977 CC=$ac_cv_prog_CC
   3978 if test -n "$CC"; then
   3979   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3980 printf "%s\n" "$CC" >&6; }
   3981 else
   3982   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3983 printf "%s\n" "no" >&6; }
   3984 fi
   3985 
   3986 
   3987   fi
   3988 fi
   3989 if test -z "$CC"; then
   3990   # Extract the first word of "cc", so it can be a program name with args.
   3991 set dummy cc; ac_word=$2
   3992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3993 printf %s "checking for $ac_word... " >&6; }
   3994 if test ${ac_cv_prog_CC+y}
   3995 then :
   3996   printf %s "(cached) " >&6
   3997 else $as_nop
   3998   if test -n "$CC"; then
   3999   ac_cv_prog_CC="$CC" # Let the user override the test.
   4000 else
   4001   ac_prog_rejected=no
   4002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4003 for as_dir in $PATH
   4004 do
   4005   IFS=$as_save_IFS
   4006   case $as_dir in #(((
   4007     '') as_dir=./ ;;
   4008     */) ;;
   4009     *) as_dir=$as_dir/ ;;
   4010   esac
   4011     for ac_exec_ext in '' $ac_executable_extensions; do
   4012   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4013     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   4014        ac_prog_rejected=yes
   4015        continue
   4016      fi
   4017     ac_cv_prog_CC="cc"
   4018     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4019     break 2
   4020   fi
   4021 done
   4022   done
   4023 IFS=$as_save_IFS
   4024 
   4025 if test $ac_prog_rejected = yes; then
   4026   # We found a bogon in the path, so make sure we never use it.
   4027   set dummy $ac_cv_prog_CC
   4028   shift
   4029   if test $# != 0; then
   4030     # We chose a different compiler from the bogus one.
   4031     # However, it has the same basename, so the bogon will be chosen
   4032     # first if we set CC to just the basename; use the full file name.
   4033     shift
   4034     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   4035   fi
   4036 fi
   4037 fi
   4038 fi
   4039 CC=$ac_cv_prog_CC
   4040 if test -n "$CC"; then
   4041   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4042 printf "%s\n" "$CC" >&6; }
   4043 else
   4044   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4045 printf "%s\n" "no" >&6; }
   4046 fi
   4047 
   4048 
   4049 fi
   4050 if test -z "$CC"; then
   4051   if test -n "$ac_tool_prefix"; then
   4052   for ac_prog in cl.exe
   4053   do
   4054     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4055 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4057 printf %s "checking for $ac_word... " >&6; }
   4058 if test ${ac_cv_prog_CC+y}
   4059 then :
   4060   printf %s "(cached) " >&6
   4061 else $as_nop
   4062   if test -n "$CC"; then
   4063   ac_cv_prog_CC="$CC" # Let the user override the test.
   4064 else
   4065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4066 for as_dir in $PATH
   4067 do
   4068   IFS=$as_save_IFS
   4069   case $as_dir in #(((
   4070     '') as_dir=./ ;;
   4071     */) ;;
   4072     *) as_dir=$as_dir/ ;;
   4073   esac
   4074     for ac_exec_ext in '' $ac_executable_extensions; do
   4075   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4076     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   4077     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4078     break 2
   4079   fi
   4080 done
   4081   done
   4082 IFS=$as_save_IFS
   4083 
   4084 fi
   4085 fi
   4086 CC=$ac_cv_prog_CC
   4087 if test -n "$CC"; then
   4088   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4089 printf "%s\n" "$CC" >&6; }
   4090 else
   4091   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4092 printf "%s\n" "no" >&6; }
   4093 fi
   4094 
   4095 
   4096     test -n "$CC" && break
   4097   done
   4098 fi
   4099 if test -z "$CC"; then
   4100   ac_ct_CC=$CC
   4101   for ac_prog in cl.exe
   4102 do
   4103   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4104 set dummy $ac_prog; ac_word=$2
   4105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4106 printf %s "checking for $ac_word... " >&6; }
   4107 if test ${ac_cv_prog_ac_ct_CC+y}
   4108 then :
   4109   printf %s "(cached) " >&6
   4110 else $as_nop
   4111   if test -n "$ac_ct_CC"; then
   4112   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4113 else
   4114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4115 for as_dir in $PATH
   4116 do
   4117   IFS=$as_save_IFS
   4118   case $as_dir in #(((
   4119     '') as_dir=./ ;;
   4120     */) ;;
   4121     *) as_dir=$as_dir/ ;;
   4122   esac
   4123     for ac_exec_ext in '' $ac_executable_extensions; do
   4124   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4125     ac_cv_prog_ac_ct_CC="$ac_prog"
   4126     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4127     break 2
   4128   fi
   4129 done
   4130   done
   4131 IFS=$as_save_IFS
   4132 
   4133 fi
   4134 fi
   4135 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4136 if test -n "$ac_ct_CC"; then
   4137   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4138 printf "%s\n" "$ac_ct_CC" >&6; }
   4139 else
   4140   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4141 printf "%s\n" "no" >&6; }
   4142 fi
   4143 
   4144 
   4145   test -n "$ac_ct_CC" && break
   4146 done
   4147 
   4148   if test "x$ac_ct_CC" = x; then
   4149     CC=""
   4150   else
   4151     case $cross_compiling:$ac_tool_warned in
   4152 yes:)
   4153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4154 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4155 ac_tool_warned=yes ;;
   4156 esac
   4157     CC=$ac_ct_CC
   4158   fi
   4159 fi
   4160 
   4161 fi
   4162 if test -z "$CC"; then
   4163   if test -n "$ac_tool_prefix"; then
   4164   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   4165 set dummy ${ac_tool_prefix}clang; ac_word=$2
   4166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4167 printf %s "checking for $ac_word... " >&6; }
   4168 if test ${ac_cv_prog_CC+y}
   4169 then :
   4170   printf %s "(cached) " >&6
   4171 else $as_nop
   4172   if test -n "$CC"; then
   4173   ac_cv_prog_CC="$CC" # Let the user override the test.
   4174 else
   4175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4176 for as_dir in $PATH
   4177 do
   4178   IFS=$as_save_IFS
   4179   case $as_dir in #(((
   4180     '') as_dir=./ ;;
   4181     */) ;;
   4182     *) as_dir=$as_dir/ ;;
   4183   esac
   4184     for ac_exec_ext in '' $ac_executable_extensions; do
   4185   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4186     ac_cv_prog_CC="${ac_tool_prefix}clang"
   4187     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4188     break 2
   4189   fi
   4190 done
   4191   done
   4192 IFS=$as_save_IFS
   4193 
   4194 fi
   4195 fi
   4196 CC=$ac_cv_prog_CC
   4197 if test -n "$CC"; then
   4198   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4199 printf "%s\n" "$CC" >&6; }
   4200 else
   4201   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4202 printf "%s\n" "no" >&6; }
   4203 fi
   4204 
   4205 
   4206 fi
   4207 if test -z "$ac_cv_prog_CC"; then
   4208   ac_ct_CC=$CC
   4209   # Extract the first word of "clang", so it can be a program name with args.
   4210 set dummy clang; ac_word=$2
   4211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4212 printf %s "checking for $ac_word... " >&6; }
   4213 if test ${ac_cv_prog_ac_ct_CC+y}
   4214 then :
   4215   printf %s "(cached) " >&6
   4216 else $as_nop
   4217   if test -n "$ac_ct_CC"; then
   4218   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4219 else
   4220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4221 for as_dir in $PATH
   4222 do
   4223   IFS=$as_save_IFS
   4224   case $as_dir in #(((
   4225     '') as_dir=./ ;;
   4226     */) ;;
   4227     *) as_dir=$as_dir/ ;;
   4228   esac
   4229     for ac_exec_ext in '' $ac_executable_extensions; do
   4230   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4231     ac_cv_prog_ac_ct_CC="clang"
   4232     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4233     break 2
   4234   fi
   4235 done
   4236   done
   4237 IFS=$as_save_IFS
   4238 
   4239 fi
   4240 fi
   4241 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4242 if test -n "$ac_ct_CC"; then
   4243   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4244 printf "%s\n" "$ac_ct_CC" >&6; }
   4245 else
   4246   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4247 printf "%s\n" "no" >&6; }
   4248 fi
   4249 
   4250   if test "x$ac_ct_CC" = x; then
   4251     CC=""
   4252   else
   4253     case $cross_compiling:$ac_tool_warned in
   4254 yes:)
   4255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4256 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4257 ac_tool_warned=yes ;;
   4258 esac
   4259     CC=$ac_ct_CC
   4260   fi
   4261 else
   4262   CC="$ac_cv_prog_CC"
   4263 fi
   4264 
   4265 fi
   4266 
   4267 
   4268 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4269 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4270 as_fn_error $? "no acceptable C compiler found in \$PATH
   4271 See \`config.log' for more details" "$LINENO" 5; }
   4272 
   4273 # Provide some information about the compiler.
   4274 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4275 set X $ac_compile
   4276 ac_compiler=$2
   4277 for ac_option in --version -v -V -qversion -version; do
   4278   { { ac_try="$ac_compiler $ac_option >&5"
   4279 case "(($ac_try" in
   4280   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4281   *) ac_try_echo=$ac_try;;
   4282 esac
   4283 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4284 printf "%s\n" "$ac_try_echo"; } >&5
   4285   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4286   ac_status=$?
   4287   if test -s conftest.err; then
   4288     sed '10a\
   4289 ... rest of stderr output deleted ...
   4290          10q' conftest.err >conftest.er1
   4291     cat conftest.er1 >&5
   4292   fi
   4293   rm -f conftest.er1 conftest.err
   4294   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4295   test $ac_status = 0; }
   4296 done
   4297 
   4298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4299 /* end confdefs.h.  */
   4300 
   4301 int
   4302 main (void)
   4303 {
   4304 
   4305   ;
   4306   return 0;
   4307 }
   4308 _ACEOF
   4309 ac_clean_files_save=$ac_clean_files
   4310 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   4311 # Try to create an executable without -o first, disregard a.out.
   4312 # It will help us diagnose broken compilers, and finding out an intuition
   4313 # of exeext.
   4314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4315 printf %s "checking whether the C compiler works... " >&6; }
   4316 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4317 
   4318 # The possible output files:
   4319 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4320 
   4321 ac_rmfiles=
   4322 for ac_file in $ac_files
   4323 do
   4324   case $ac_file in
   4325     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4326     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4327   esac
   4328 done
   4329 rm -f $ac_rmfiles
   4330 
   4331 if { { ac_try="$ac_link_default"
   4332 case "(($ac_try" in
   4333   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4334   *) ac_try_echo=$ac_try;;
   4335 esac
   4336 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4337 printf "%s\n" "$ac_try_echo"; } >&5
   4338   (eval "$ac_link_default") 2>&5
   4339   ac_status=$?
   4340   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4341   test $ac_status = 0; }
   4342 then :
   4343   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   4344 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   4345 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4346 # so that the user can short-circuit this test for compilers unknown to
   4347 # Autoconf.
   4348 for ac_file in $ac_files ''
   4349 do
   4350   test -f "$ac_file" || continue
   4351   case $ac_file in
   4352     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4353 	;;
   4354     [ab].out )
   4355 	# We found the default executable, but exeext='' is most
   4356 	# certainly right.
   4357 	break;;
   4358     *.* )
   4359 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4360 	then :; else
   4361 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4362 	fi
   4363 	# We set ac_cv_exeext here because the later test for it is not
   4364 	# safe: cross compilers may not add the suffix if given an `-o'
   4365 	# argument, so we may need to know it at that point already.
   4366 	# Even if this section looks crufty: it has the advantage of
   4367 	# actually working.
   4368 	break;;
   4369     * )
   4370 	break;;
   4371   esac
   4372 done
   4373 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4374 
   4375 else $as_nop
   4376   ac_file=''
   4377 fi
   4378 if test -z "$ac_file"
   4379 then :
   4380   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4381 printf "%s\n" "no" >&6; }
   4382 printf "%s\n" "$as_me: failed program was:" >&5
   4383 sed 's/^/| /' conftest.$ac_ext >&5
   4384 
   4385 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4386 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4387 as_fn_error 77 "C compiler cannot create executables
   4388 See \`config.log' for more details" "$LINENO" 5; }
   4389 else $as_nop
   4390   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4391 printf "%s\n" "yes" >&6; }
   4392 fi
   4393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4394 printf %s "checking for C compiler default output file name... " >&6; }
   4395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4396 printf "%s\n" "$ac_file" >&6; }
   4397 ac_exeext=$ac_cv_exeext
   4398 
   4399 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4400 ac_clean_files=$ac_clean_files_save
   4401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4402 printf %s "checking for suffix of executables... " >&6; }
   4403 if { { ac_try="$ac_link"
   4404 case "(($ac_try" in
   4405   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4406   *) ac_try_echo=$ac_try;;
   4407 esac
   4408 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4409 printf "%s\n" "$ac_try_echo"; } >&5
   4410   (eval "$ac_link") 2>&5
   4411   ac_status=$?
   4412   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4413   test $ac_status = 0; }
   4414 then :
   4415   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   4416 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   4417 # work properly (i.e., refer to `conftest.exe'), while it won't with
   4418 # `rm'.
   4419 for ac_file in conftest.exe conftest conftest.*; do
   4420   test -f "$ac_file" || continue
   4421   case $ac_file in
   4422     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4423     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4424 	  break;;
   4425     * ) break;;
   4426   esac
   4427 done
   4428 else $as_nop
   4429   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4430 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4431 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4432 See \`config.log' for more details" "$LINENO" 5; }
   4433 fi
   4434 rm -f conftest conftest$ac_cv_exeext
   4435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4436 printf "%s\n" "$ac_cv_exeext" >&6; }
   4437 
   4438 rm -f conftest.$ac_ext
   4439 EXEEXT=$ac_cv_exeext
   4440 ac_exeext=$EXEEXT
   4441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4442 /* end confdefs.h.  */
   4443 #include <stdio.h>
   4444 int
   4445 main (void)
   4446 {
   4447 FILE *f = fopen ("conftest.out", "w");
   4448  return ferror (f) || fclose (f) != 0;
   4449 
   4450   ;
   4451   return 0;
   4452 }
   4453 _ACEOF
   4454 ac_clean_files="$ac_clean_files conftest.out"
   4455 # Check that the compiler produces executables we can run.  If not, either
   4456 # the compiler is broken, or we cross compile.
   4457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4458 printf %s "checking whether we are cross compiling... " >&6; }
   4459 if test "$cross_compiling" != yes; then
   4460   { { ac_try="$ac_link"
   4461 case "(($ac_try" in
   4462   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4463   *) ac_try_echo=$ac_try;;
   4464 esac
   4465 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4466 printf "%s\n" "$ac_try_echo"; } >&5
   4467   (eval "$ac_link") 2>&5
   4468   ac_status=$?
   4469   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4470   test $ac_status = 0; }
   4471   if { ac_try='./conftest$ac_cv_exeext'
   4472   { { case "(($ac_try" in
   4473   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4474   *) ac_try_echo=$ac_try;;
   4475 esac
   4476 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4477 printf "%s\n" "$ac_try_echo"; } >&5
   4478   (eval "$ac_try") 2>&5
   4479   ac_status=$?
   4480   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4481   test $ac_status = 0; }; }; then
   4482     cross_compiling=no
   4483   else
   4484     if test "$cross_compiling" = maybe; then
   4485 	cross_compiling=yes
   4486     else
   4487 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4488 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4489 as_fn_error 77 "cannot run C compiled programs.
   4490 If you meant to cross compile, use \`--host'.
   4491 See \`config.log' for more details" "$LINENO" 5; }
   4492     fi
   4493   fi
   4494 fi
   4495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4496 printf "%s\n" "$cross_compiling" >&6; }
   4497 
   4498 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   4499 ac_clean_files=$ac_clean_files_save
   4500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4501 printf %s "checking for suffix of object files... " >&6; }
   4502 if test ${ac_cv_objext+y}
   4503 then :
   4504   printf %s "(cached) " >&6
   4505 else $as_nop
   4506   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4507 /* end confdefs.h.  */
   4508 
   4509 int
   4510 main (void)
   4511 {
   4512 
   4513   ;
   4514   return 0;
   4515 }
   4516 _ACEOF
   4517 rm -f conftest.o conftest.obj
   4518 if { { ac_try="$ac_compile"
   4519 case "(($ac_try" in
   4520   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4521   *) ac_try_echo=$ac_try;;
   4522 esac
   4523 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4524 printf "%s\n" "$ac_try_echo"; } >&5
   4525   (eval "$ac_compile") 2>&5
   4526   ac_status=$?
   4527   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4528   test $ac_status = 0; }
   4529 then :
   4530   for ac_file in conftest.o conftest.obj conftest.*; do
   4531   test -f "$ac_file" || continue;
   4532   case $ac_file in
   4533     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4534     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4535        break;;
   4536   esac
   4537 done
   4538 else $as_nop
   4539   printf "%s\n" "$as_me: failed program was:" >&5
   4540 sed 's/^/| /' conftest.$ac_ext >&5
   4541 
   4542 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4543 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4544 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4545 See \`config.log' for more details" "$LINENO" 5; }
   4546 fi
   4547 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4548 fi
   4549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4550 printf "%s\n" "$ac_cv_objext" >&6; }
   4551 OBJEXT=$ac_cv_objext
   4552 ac_objext=$OBJEXT
   4553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4554 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4555 if test ${ac_cv_c_compiler_gnu+y}
   4556 then :
   4557   printf %s "(cached) " >&6
   4558 else $as_nop
   4559   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4560 /* end confdefs.h.  */
   4561 
   4562 int
   4563 main (void)
   4564 {
   4565 #ifndef __GNUC__
   4566        choke me
   4567 #endif
   4568 
   4569   ;
   4570   return 0;
   4571 }
   4572 _ACEOF
   4573 if ac_fn_c_try_compile "$LINENO"
   4574 then :
   4575   ac_compiler_gnu=yes
   4576 else $as_nop
   4577   ac_compiler_gnu=no
   4578 fi
   4579 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4580 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4581 
   4582 fi
   4583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4584 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4586 
   4587 if test $ac_compiler_gnu = yes; then
   4588   GCC=yes
   4589 else
   4590   GCC=
   4591 fi
   4592 ac_test_CFLAGS=${CFLAGS+y}
   4593 ac_save_CFLAGS=$CFLAGS
   4594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4595 printf %s "checking whether $CC accepts -g... " >&6; }
   4596 if test ${ac_cv_prog_cc_g+y}
   4597 then :
   4598   printf %s "(cached) " >&6
   4599 else $as_nop
   4600   ac_save_c_werror_flag=$ac_c_werror_flag
   4601    ac_c_werror_flag=yes
   4602    ac_cv_prog_cc_g=no
   4603    CFLAGS="-g"
   4604    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4605 /* end confdefs.h.  */
   4606 
   4607 int
   4608 main (void)
   4609 {
   4610 
   4611   ;
   4612   return 0;
   4613 }
   4614 _ACEOF
   4615 if ac_fn_c_try_compile "$LINENO"
   4616 then :
   4617   ac_cv_prog_cc_g=yes
   4618 else $as_nop
   4619   CFLAGS=""
   4620       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4621 /* end confdefs.h.  */
   4622 
   4623 int
   4624 main (void)
   4625 {
   4626 
   4627   ;
   4628   return 0;
   4629 }
   4630 _ACEOF
   4631 if ac_fn_c_try_compile "$LINENO"
   4632 then :
   4633 
   4634 else $as_nop
   4635   ac_c_werror_flag=$ac_save_c_werror_flag
   4636 	 CFLAGS="-g"
   4637 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4638 /* end confdefs.h.  */
   4639 
   4640 int
   4641 main (void)
   4642 {
   4643 
   4644   ;
   4645   return 0;
   4646 }
   4647 _ACEOF
   4648 if ac_fn_c_try_compile "$LINENO"
   4649 then :
   4650   ac_cv_prog_cc_g=yes
   4651 fi
   4652 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4653 fi
   4654 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4655 fi
   4656 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4657    ac_c_werror_flag=$ac_save_c_werror_flag
   4658 fi
   4659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4660 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4661 if test $ac_test_CFLAGS; then
   4662   CFLAGS=$ac_save_CFLAGS
   4663 elif test $ac_cv_prog_cc_g = yes; then
   4664   if test "$GCC" = yes; then
   4665     CFLAGS="-g -O2"
   4666   else
   4667     CFLAGS="-g"
   4668   fi
   4669 else
   4670   if test "$GCC" = yes; then
   4671     CFLAGS="-O2"
   4672   else
   4673     CFLAGS=
   4674   fi
   4675 fi
   4676 ac_prog_cc_stdc=no
   4677 if test x$ac_prog_cc_stdc = xno
   4678 then :
   4679   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4680 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4681 if test ${ac_cv_prog_cc_c11+y}
   4682 then :
   4683   printf %s "(cached) " >&6
   4684 else $as_nop
   4685   ac_cv_prog_cc_c11=no
   4686 ac_save_CC=$CC
   4687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4688 /* end confdefs.h.  */
   4689 $ac_c_conftest_c11_program
   4690 _ACEOF
   4691 for ac_arg in '' -std=gnu11
   4692 do
   4693   CC="$ac_save_CC $ac_arg"
   4694   if ac_fn_c_try_compile "$LINENO"
   4695 then :
   4696   ac_cv_prog_cc_c11=$ac_arg
   4697 fi
   4698 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4699   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4700 done
   4701 rm -f conftest.$ac_ext
   4702 CC=$ac_save_CC
   4703 fi
   4704 
   4705 if test "x$ac_cv_prog_cc_c11" = xno
   4706 then :
   4707   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4708 printf "%s\n" "unsupported" >&6; }
   4709 else $as_nop
   4710   if test "x$ac_cv_prog_cc_c11" = x
   4711 then :
   4712   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4713 printf "%s\n" "none needed" >&6; }
   4714 else $as_nop
   4715   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4716 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4717      CC="$CC $ac_cv_prog_cc_c11"
   4718 fi
   4719   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4720   ac_prog_cc_stdc=c11
   4721 fi
   4722 fi
   4723 if test x$ac_prog_cc_stdc = xno
   4724 then :
   4725   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4726 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4727 if test ${ac_cv_prog_cc_c99+y}
   4728 then :
   4729   printf %s "(cached) " >&6
   4730 else $as_nop
   4731   ac_cv_prog_cc_c99=no
   4732 ac_save_CC=$CC
   4733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4734 /* end confdefs.h.  */
   4735 $ac_c_conftest_c99_program
   4736 _ACEOF
   4737 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4738 do
   4739   CC="$ac_save_CC $ac_arg"
   4740   if ac_fn_c_try_compile "$LINENO"
   4741 then :
   4742   ac_cv_prog_cc_c99=$ac_arg
   4743 fi
   4744 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4745   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4746 done
   4747 rm -f conftest.$ac_ext
   4748 CC=$ac_save_CC
   4749 fi
   4750 
   4751 if test "x$ac_cv_prog_cc_c99" = xno
   4752 then :
   4753   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4754 printf "%s\n" "unsupported" >&6; }
   4755 else $as_nop
   4756   if test "x$ac_cv_prog_cc_c99" = x
   4757 then :
   4758   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4759 printf "%s\n" "none needed" >&6; }
   4760 else $as_nop
   4761   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4762 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4763      CC="$CC $ac_cv_prog_cc_c99"
   4764 fi
   4765   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4766   ac_prog_cc_stdc=c99
   4767 fi
   4768 fi
   4769 if test x$ac_prog_cc_stdc = xno
   4770 then :
   4771   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4772 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4773 if test ${ac_cv_prog_cc_c89+y}
   4774 then :
   4775   printf %s "(cached) " >&6
   4776 else $as_nop
   4777   ac_cv_prog_cc_c89=no
   4778 ac_save_CC=$CC
   4779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4780 /* end confdefs.h.  */
   4781 $ac_c_conftest_c89_program
   4782 _ACEOF
   4783 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4784 do
   4785   CC="$ac_save_CC $ac_arg"
   4786   if ac_fn_c_try_compile "$LINENO"
   4787 then :
   4788   ac_cv_prog_cc_c89=$ac_arg
   4789 fi
   4790 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4791   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4792 done
   4793 rm -f conftest.$ac_ext
   4794 CC=$ac_save_CC
   4795 fi
   4796 
   4797 if test "x$ac_cv_prog_cc_c89" = xno
   4798 then :
   4799   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4800 printf "%s\n" "unsupported" >&6; }
   4801 else $as_nop
   4802   if test "x$ac_cv_prog_cc_c89" = x
   4803 then :
   4804   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4805 printf "%s\n" "none needed" >&6; }
   4806 else $as_nop
   4807   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4808 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4809      CC="$CC $ac_cv_prog_cc_c89"
   4810 fi
   4811   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4812   ac_prog_cc_stdc=c89
   4813 fi
   4814 fi
   4815 
   4816 ac_ext=c
   4817 ac_cpp='$CPP $CPPFLAGS'
   4818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4821 
   4822 
   4823   ac_ext=c
   4824 ac_cpp='$CPP $CPPFLAGS'
   4825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4829 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4830 if test ${am_cv_prog_cc_c_o+y}
   4831 then :
   4832   printf %s "(cached) " >&6
   4833 else $as_nop
   4834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4835 /* end confdefs.h.  */
   4836 
   4837 int
   4838 main (void)
   4839 {
   4840 
   4841   ;
   4842   return 0;
   4843 }
   4844 _ACEOF
   4845   # Make sure it works both with $CC and with simple cc.
   4846   # Following AC_PROG_CC_C_O, we do the test twice because some
   4847   # compilers refuse to overwrite an existing .o file with -o,
   4848   # though they will create one.
   4849   am_cv_prog_cc_c_o=yes
   4850   for am_i in 1 2; do
   4851     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4852    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4853    ac_status=$?
   4854    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4855    (exit $ac_status); } \
   4856          && test -f conftest2.$ac_objext; then
   4857       : OK
   4858     else
   4859       am_cv_prog_cc_c_o=no
   4860       break
   4861     fi
   4862   done
   4863   rm -f core conftest*
   4864   unset am_i
   4865 fi
   4866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4867 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4868 if test "$am_cv_prog_cc_c_o" != yes; then
   4869    # Losing compiler, so override with the script.
   4870    # FIXME: It is wrong to rewrite CC.
   4871    # But if we don't then we get into trouble of one sort or another.
   4872    # A longer-term fix would be to have automake use am__CC in this case,
   4873    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4874    CC="$am_aux_dir/compile $CC"
   4875 fi
   4876 ac_ext=c
   4877 ac_cpp='$CPP $CPPFLAGS'
   4878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4881 
   4882 DEPDIR="${am__leading_dot}deps"
   4883 
   4884 ac_config_commands="$ac_config_commands depfiles"
   4885 
   4886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   4887 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   4888 cat > confinc.mk << 'END'
   4889 am__doit:
   4890 	@echo this is the am__doit target >confinc.out
   4891 .PHONY: am__doit
   4892 END
   4893 am__include="#"
   4894 am__quote=
   4895 # BSD make does it like this.
   4896 echo '.include "confinc.mk" # ignored' > confmf.BSD
   4897 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   4898 echo 'include confinc.mk # ignored' > confmf.GNU
   4899 _am_result=no
   4900 for s in GNU BSD; do
   4901   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   4902    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   4903    ac_status=$?
   4904    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4905    (exit $ac_status); }
   4906   case $?:`cat confinc.out 2>/dev/null` in #(
   4907   '0:this is the am__doit target') :
   4908     case $s in #(
   4909   BSD) :
   4910     am__include='.include' am__quote='"' ;; #(
   4911   *) :
   4912     am__include='include' am__quote='' ;;
   4913 esac ;; #(
   4914   *) :
   4915      ;;
   4916 esac
   4917   if test "$am__include" != "#"; then
   4918     _am_result="yes ($s style)"
   4919     break
   4920   fi
   4921 done
   4922 rm -f confinc.* confmf.*
   4923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   4924 printf "%s\n" "${_am_result}" >&6; }
   4925 
   4926 # Check whether --enable-dependency-tracking was given.
   4927 if test ${enable_dependency_tracking+y}
   4928 then :
   4929   enableval=$enable_dependency_tracking;
   4930 fi
   4931 
   4932 if test "x$enable_dependency_tracking" != xno; then
   4933   am_depcomp="$ac_aux_dir/depcomp"
   4934   AMDEPBACKSLASH='\'
   4935   am__nodep='_no'
   4936 fi
   4937  if test "x$enable_dependency_tracking" != xno; then
   4938   AMDEP_TRUE=
   4939   AMDEP_FALSE='#'
   4940 else
   4941   AMDEP_TRUE='#'
   4942   AMDEP_FALSE=
   4943 fi
   4944 
   4945 
   4946 
   4947 depcc="$CC"   am_compiler_list=
   4948 
   4949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4950 printf %s "checking dependency style of $depcc... " >&6; }
   4951 if test ${am_cv_CC_dependencies_compiler_type+y}
   4952 then :
   4953   printf %s "(cached) " >&6
   4954 else $as_nop
   4955   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4956   # We make a subdir and do the tests there.  Otherwise we can end up
   4957   # making bogus files that we don't know about and never remove.  For
   4958   # instance it was reported that on HP-UX the gcc test will end up
   4959   # making a dummy file named 'D' -- because '-MD' means "put the output
   4960   # in D".
   4961   rm -rf conftest.dir
   4962   mkdir conftest.dir
   4963   # Copy depcomp to subdir because otherwise we won't find it if we're
   4964   # using a relative directory.
   4965   cp "$am_depcomp" conftest.dir
   4966   cd conftest.dir
   4967   # We will build objects and dependencies in a subdirectory because
   4968   # it helps to detect inapplicable dependency modes.  For instance
   4969   # both Tru64's cc and ICC support -MD to output dependencies as a
   4970   # side effect of compilation, but ICC will put the dependencies in
   4971   # the current directory while Tru64 will put them in the object
   4972   # directory.
   4973   mkdir sub
   4974 
   4975   am_cv_CC_dependencies_compiler_type=none
   4976   if test "$am_compiler_list" = ""; then
   4977      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4978   fi
   4979   am__universal=false
   4980   case " $depcc " in #(
   4981      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4982      esac
   4983 
   4984   for depmode in $am_compiler_list; do
   4985     # Setup a source with many dependencies, because some compilers
   4986     # like to wrap large dependency lists on column 80 (with \), and
   4987     # we should not choose a depcomp mode which is confused by this.
   4988     #
   4989     # We need to recreate these files for each test, as the compiler may
   4990     # overwrite some of them when testing with obscure command lines.
   4991     # This happens at least with the AIX C compiler.
   4992     : > sub/conftest.c
   4993     for i in 1 2 3 4 5 6; do
   4994       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4995       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4996       # Solaris 10 /bin/sh.
   4997       echo '/* dummy */' > sub/conftst$i.h
   4998     done
   4999     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5000 
   5001     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   5002     # mode.  It turns out that the SunPro C++ compiler does not properly
   5003     # handle '-M -o', and we need to detect this.  Also, some Intel
   5004     # versions had trouble with output in subdirs.
   5005     am__obj=sub/conftest.${OBJEXT-o}
   5006     am__minus_obj="-o $am__obj"
   5007     case $depmode in
   5008     gcc)
   5009       # This depmode causes a compiler race in universal mode.
   5010       test "$am__universal" = false || continue
   5011       ;;
   5012     nosideeffect)
   5013       # After this tag, mechanisms are not by side-effect, so they'll
   5014       # only be used when explicitly requested.
   5015       if test "x$enable_dependency_tracking" = xyes; then
   5016 	continue
   5017       else
   5018 	break
   5019       fi
   5020       ;;
   5021     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   5022       # This compiler won't grok '-c -o', but also, the minuso test has
   5023       # not run yet.  These depmodes are late enough in the game, and
   5024       # so weak that their functioning should not be impacted.
   5025       am__obj=conftest.${OBJEXT-o}
   5026       am__minus_obj=
   5027       ;;
   5028     none) break ;;
   5029     esac
   5030     if depmode=$depmode \
   5031        source=sub/conftest.c object=$am__obj \
   5032        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5033        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5034          >/dev/null 2>conftest.err &&
   5035        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5036        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5037        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5038        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5039       # icc doesn't choke on unknown options, it will just issue warnings
   5040       # or remarks (even with -Werror).  So we grep stderr for any message
   5041       # that says an option was ignored or not supported.
   5042       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5043       #   icc: Command line warning: ignoring option '-M'; no argument required
   5044       # The diagnosis changed in icc 8.0:
   5045       #   icc: Command line remark: option '-MP' not supported
   5046       if (grep 'ignoring option' conftest.err ||
   5047           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5048         am_cv_CC_dependencies_compiler_type=$depmode
   5049         break
   5050       fi
   5051     fi
   5052   done
   5053 
   5054   cd ..
   5055   rm -rf conftest.dir
   5056 else
   5057   am_cv_CC_dependencies_compiler_type=none
   5058 fi
   5059 
   5060 fi
   5061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   5062 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   5063 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   5064 
   5065  if
   5066   test "x$enable_dependency_tracking" != xno \
   5067   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   5068   am__fastdepCC_TRUE=
   5069   am__fastdepCC_FALSE='#'
   5070 else
   5071   am__fastdepCC_TRUE='#'
   5072   am__fastdepCC_FALSE=
   5073 fi
   5074 
   5075 
   5076 
   5077 ac_header= ac_cache=
   5078 for ac_item in $ac_header_c_list
   5079 do
   5080   if test $ac_cache; then
   5081     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   5082     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   5083       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   5084     fi
   5085     ac_header= ac_cache=
   5086   elif test $ac_header; then
   5087     ac_cache=$ac_item
   5088   else
   5089     ac_header=$ac_item
   5090   fi
   5091 done
   5092 
   5093 
   5094 
   5095 
   5096 
   5097 
   5098 
   5099 
   5100 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   5101 then :
   5102 
   5103 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   5104 
   5105 fi
   5106 
   5107 
   5108 
   5109 
   5110 
   5111 
   5112   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   5113 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   5114 if test ${ac_cv_safe_to_define___extensions__+y}
   5115 then :
   5116   printf %s "(cached) " >&6
   5117 else $as_nop
   5118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5119 /* end confdefs.h.  */
   5120 
   5121 #         define __EXTENSIONS__ 1
   5122           $ac_includes_default
   5123 int
   5124 main (void)
   5125 {
   5126 
   5127   ;
   5128   return 0;
   5129 }
   5130 _ACEOF
   5131 if ac_fn_c_try_compile "$LINENO"
   5132 then :
   5133   ac_cv_safe_to_define___extensions__=yes
   5134 else $as_nop
   5135   ac_cv_safe_to_define___extensions__=no
   5136 fi
   5137 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5138 fi
   5139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   5140 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
   5141 
   5142   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
   5143 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
   5144 if test ${ac_cv_should_define__xopen_source+y}
   5145 then :
   5146   printf %s "(cached) " >&6
   5147 else $as_nop
   5148   ac_cv_should_define__xopen_source=no
   5149     if test $ac_cv_header_wchar_h = yes
   5150 then :
   5151   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5152 /* end confdefs.h.  */
   5153 
   5154           #include <wchar.h>
   5155           mbstate_t x;
   5156 int
   5157 main (void)
   5158 {
   5159 
   5160   ;
   5161   return 0;
   5162 }
   5163 _ACEOF
   5164 if ac_fn_c_try_compile "$LINENO"
   5165 then :
   5166 
   5167 else $as_nop
   5168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5169 /* end confdefs.h.  */
   5170 
   5171             #define _XOPEN_SOURCE 500
   5172             #include <wchar.h>
   5173             mbstate_t x;
   5174 int
   5175 main (void)
   5176 {
   5177 
   5178   ;
   5179   return 0;
   5180 }
   5181 _ACEOF
   5182 if ac_fn_c_try_compile "$LINENO"
   5183 then :
   5184   ac_cv_should_define__xopen_source=yes
   5185 fi
   5186 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5187 fi
   5188 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5189 fi
   5190 fi
   5191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
   5192 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
   5193 
   5194   printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
   5195 
   5196   printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
   5197 
   5198   printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
   5199 
   5200   printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
   5201 
   5202   printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
   5203 
   5204   printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
   5205 
   5206   printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   5207 
   5208   printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
   5209 
   5210   printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
   5211 
   5212   printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
   5213 
   5214   printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
   5215 
   5216   printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
   5217 
   5218   printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
   5219 
   5220   printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
   5221 
   5222   printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
   5223 
   5224   if test $ac_cv_header_minix_config_h = yes
   5225 then :
   5226   MINIX=yes
   5227     printf "%s\n" "#define _MINIX 1" >>confdefs.h
   5228 
   5229     printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
   5230 
   5231     printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
   5232 
   5233 else $as_nop
   5234   MINIX=
   5235 fi
   5236   if test $ac_cv_safe_to_define___extensions__ = yes
   5237 then :
   5238   printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
   5239 
   5240 fi
   5241   if test $ac_cv_should_define__xopen_source = yes
   5242 then :
   5243   printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
   5244 
   5245 fi
   5246 
   5247 # Check whether --enable-largefile was given.
   5248 if test ${enable_largefile+y}
   5249 then :
   5250   enableval=$enable_largefile;
   5251 fi
   5252 
   5253 if test "$enable_largefile" != no; then
   5254 
   5255   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
   5256 printf %s "checking for special C compiler options needed for large files... " >&6; }
   5257 if test ${ac_cv_sys_largefile_CC+y}
   5258 then :
   5259   printf %s "(cached) " >&6
   5260 else $as_nop
   5261   ac_cv_sys_largefile_CC=no
   5262      if test "$GCC" != yes; then
   5263        ac_save_CC=$CC
   5264        while :; do
   5265 	 # IRIX 6.2 and later do not support large files by default,
   5266 	 # so use the C compiler's -n32 option if that helps.
   5267 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5268 /* end confdefs.h.  */
   5269 #include <sys/types.h>
   5270  /* Check that off_t can represent 2**63 - 1 correctly.
   5271     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   5272     since some C++ compilers masquerading as C compilers
   5273     incorrectly reject 9223372036854775807.  */
   5274 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
   5275   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   5276 		       && LARGE_OFF_T % 2147483647 == 1)
   5277 		      ? 1 : -1];
   5278 int
   5279 main (void)
   5280 {
   5281 
   5282   ;
   5283   return 0;
   5284 }
   5285 _ACEOF
   5286 	 if ac_fn_c_try_compile "$LINENO"
   5287 then :
   5288   break
   5289 fi
   5290 rm -f core conftest.err conftest.$ac_objext conftest.beam
   5291 	 CC="$CC -n32"
   5292 	 if ac_fn_c_try_compile "$LINENO"
   5293 then :
   5294   ac_cv_sys_largefile_CC=' -n32'; break
   5295 fi
   5296 rm -f core conftest.err conftest.$ac_objext conftest.beam
   5297 	 break
   5298        done
   5299        CC=$ac_save_CC
   5300        rm -f conftest.$ac_ext
   5301     fi
   5302 fi
   5303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
   5304 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
   5305   if test "$ac_cv_sys_largefile_CC" != no; then
   5306     CC=$CC$ac_cv_sys_largefile_CC
   5307   fi
   5308 
   5309   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
   5310 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
   5311 if test ${ac_cv_sys_file_offset_bits+y}
   5312 then :
   5313   printf %s "(cached) " >&6
   5314 else $as_nop
   5315   while :; do
   5316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5317 /* end confdefs.h.  */
   5318 #include <sys/types.h>
   5319  /* Check that off_t can represent 2**63 - 1 correctly.
   5320     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   5321     since some C++ compilers masquerading as C compilers
   5322     incorrectly reject 9223372036854775807.  */
   5323 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
   5324   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   5325 		       && LARGE_OFF_T % 2147483647 == 1)
   5326 		      ? 1 : -1];
   5327 int
   5328 main (void)
   5329 {
   5330 
   5331   ;
   5332   return 0;
   5333 }
   5334 _ACEOF
   5335 if ac_fn_c_try_compile "$LINENO"
   5336 then :
   5337   ac_cv_sys_file_offset_bits=no; break
   5338 fi
   5339 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5340   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5341 /* end confdefs.h.  */
   5342 #define _FILE_OFFSET_BITS 64
   5343 #include <sys/types.h>
   5344  /* Check that off_t can represent 2**63 - 1 correctly.
   5345     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   5346     since some C++ compilers masquerading as C compilers
   5347     incorrectly reject 9223372036854775807.  */
   5348 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
   5349   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   5350 		       && LARGE_OFF_T % 2147483647 == 1)
   5351 		      ? 1 : -1];
   5352 int
   5353 main (void)
   5354 {
   5355 
   5356   ;
   5357   return 0;
   5358 }
   5359 _ACEOF
   5360 if ac_fn_c_try_compile "$LINENO"
   5361 then :
   5362   ac_cv_sys_file_offset_bits=64; break
   5363 fi
   5364 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5365   ac_cv_sys_file_offset_bits=unknown
   5366   break
   5367 done
   5368 fi
   5369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
   5370 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
   5371 case $ac_cv_sys_file_offset_bits in #(
   5372   no | unknown) ;;
   5373   *)
   5374 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
   5375 ;;
   5376 esac
   5377 rm -rf conftest*
   5378   if test $ac_cv_sys_file_offset_bits = unknown; then
   5379     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
   5380 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
   5381 if test ${ac_cv_sys_large_files+y}
   5382 then :
   5383   printf %s "(cached) " >&6
   5384 else $as_nop
   5385   while :; do
   5386   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5387 /* end confdefs.h.  */
   5388 #include <sys/types.h>
   5389  /* Check that off_t can represent 2**63 - 1 correctly.
   5390     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   5391     since some C++ compilers masquerading as C compilers
   5392     incorrectly reject 9223372036854775807.  */
   5393 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
   5394   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   5395 		       && LARGE_OFF_T % 2147483647 == 1)
   5396 		      ? 1 : -1];
   5397 int
   5398 main (void)
   5399 {
   5400 
   5401   ;
   5402   return 0;
   5403 }
   5404 _ACEOF
   5405 if ac_fn_c_try_compile "$LINENO"
   5406 then :
   5407   ac_cv_sys_large_files=no; break
   5408 fi
   5409 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5410   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5411 /* end confdefs.h.  */
   5412 #define _LARGE_FILES 1
   5413 #include <sys/types.h>
   5414  /* Check that off_t can represent 2**63 - 1 correctly.
   5415     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   5416     since some C++ compilers masquerading as C compilers
   5417     incorrectly reject 9223372036854775807.  */
   5418 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
   5419   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   5420 		       && LARGE_OFF_T % 2147483647 == 1)
   5421 		      ? 1 : -1];
   5422 int
   5423 main (void)
   5424 {
   5425 
   5426   ;
   5427   return 0;
   5428 }
   5429 _ACEOF
   5430 if ac_fn_c_try_compile "$LINENO"
   5431 then :
   5432   ac_cv_sys_large_files=1; break
   5433 fi
   5434 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   5435   ac_cv_sys_large_files=unknown
   5436   break
   5437 done
   5438 fi
   5439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
   5440 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
   5441 case $ac_cv_sys_large_files in #(
   5442   no | unknown) ;;
   5443   *)
   5444 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
   5445 ;;
   5446 esac
   5447 rm -rf conftest*
   5448   fi
   5449 fi
   5450 
   5451 
   5452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5453 printf %s "checking whether ln -s works... " >&6; }
   5454 LN_S=$as_ln_s
   5455 if test "$LN_S" = "ln -s"; then
   5456   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5457 printf "%s\n" "yes" >&6; }
   5458 else
   5459   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5460 printf "%s\n" "no, using $LN_S" >&6; }
   5461 fi
   5462 
   5463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   5464 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   5465 set x ${MAKE-make}
   5466 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   5467 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   5468 then :
   5469   printf %s "(cached) " >&6
   5470 else $as_nop
   5471   cat >conftest.make <<\_ACEOF
   5472 SHELL = /bin/sh
   5473 all:
   5474 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   5475 _ACEOF
   5476 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   5477 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   5478   *@@@%%%=?*=@@@%%%*)
   5479     eval ac_cv_prog_make_${ac_make}_set=yes;;
   5480   *)
   5481     eval ac_cv_prog_make_${ac_make}_set=no;;
   5482 esac
   5483 rm -f conftest.make
   5484 fi
   5485 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   5486   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5487 printf "%s\n" "yes" >&6; }
   5488   SET_MAKE=
   5489 else
   5490   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5491 printf "%s\n" "no" >&6; }
   5492   SET_MAKE="MAKE=${MAKE-make}"
   5493 fi
   5494 
   5495 
   5496 
   5497 
   5498 
   5499 
   5500 
   5501 
   5502 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   5503 	if test -n "$ac_tool_prefix"; then
   5504   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   5505 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   5506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5507 printf %s "checking for $ac_word... " >&6; }
   5508 if test ${ac_cv_path_PKG_CONFIG+y}
   5509 then :
   5510   printf %s "(cached) " >&6
   5511 else $as_nop
   5512   case $PKG_CONFIG in
   5513   [\\/]* | ?:[\\/]*)
   5514   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   5515   ;;
   5516   *)
   5517   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5518 for as_dir in $PATH
   5519 do
   5520   IFS=$as_save_IFS
   5521   case $as_dir in #(((
   5522     '') as_dir=./ ;;
   5523     */) ;;
   5524     *) as_dir=$as_dir/ ;;
   5525   esac
   5526     for ac_exec_ext in '' $ac_executable_extensions; do
   5527   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5528     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   5529     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5530     break 2
   5531   fi
   5532 done
   5533   done
   5534 IFS=$as_save_IFS
   5535 
   5536   ;;
   5537 esac
   5538 fi
   5539 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   5540 if test -n "$PKG_CONFIG"; then
   5541   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   5542 printf "%s\n" "$PKG_CONFIG" >&6; }
   5543 else
   5544   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5545 printf "%s\n" "no" >&6; }
   5546 fi
   5547 
   5548 
   5549 fi
   5550 if test -z "$ac_cv_path_PKG_CONFIG"; then
   5551   ac_pt_PKG_CONFIG=$PKG_CONFIG
   5552   # Extract the first word of "pkg-config", so it can be a program name with args.
   5553 set dummy pkg-config; ac_word=$2
   5554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5555 printf %s "checking for $ac_word... " >&6; }
   5556 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   5557 then :
   5558   printf %s "(cached) " >&6
   5559 else $as_nop
   5560   case $ac_pt_PKG_CONFIG in
   5561   [\\/]* | ?:[\\/]*)
   5562   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   5563   ;;
   5564   *)
   5565   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5566 for as_dir in $PATH
   5567 do
   5568   IFS=$as_save_IFS
   5569   case $as_dir in #(((
   5570     '') as_dir=./ ;;
   5571     */) ;;
   5572     *) as_dir=$as_dir/ ;;
   5573   esac
   5574     for ac_exec_ext in '' $ac_executable_extensions; do
   5575   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5576     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   5577     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5578     break 2
   5579   fi
   5580 done
   5581   done
   5582 IFS=$as_save_IFS
   5583 
   5584   ;;
   5585 esac
   5586 fi
   5587 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   5588 if test -n "$ac_pt_PKG_CONFIG"; then
   5589   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   5590 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   5591 else
   5592   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5593 printf "%s\n" "no" >&6; }
   5594 fi
   5595 
   5596   if test "x$ac_pt_PKG_CONFIG" = x; then
   5597     PKG_CONFIG=""
   5598   else
   5599     case $cross_compiling:$ac_tool_warned in
   5600 yes:)
   5601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5602 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5603 ac_tool_warned=yes ;;
   5604 esac
   5605     PKG_CONFIG=$ac_pt_PKG_CONFIG
   5606   fi
   5607 else
   5608   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   5609 fi
   5610 
   5611 fi
   5612 if test -n "$PKG_CONFIG"; then
   5613 	_pkg_min_version=0.9.0
   5614 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   5615 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   5616 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   5617 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5618 printf "%s\n" "yes" >&6; }
   5619 	else
   5620 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5621 printf "%s\n" "no" >&6; }
   5622 		PKG_CONFIG=""
   5623 	fi
   5624 fi
   5625 
   5626 
   5627 
   5628 # Check whether --with-pkgconfigdir was given.
   5629 if test ${with_pkgconfigdir+y}
   5630 then :
   5631   withval=$with_pkgconfigdir;
   5632 else $as_nop
   5633   with_pkgconfigdir='${libdir}/pkgconfig'
   5634 fi
   5635 
   5636 pkgconfigdir=$with_pkgconfigdir
   5637 
   5638 
   5639 
   5640 
   5641 
   5642 
   5643 GIT=${GIT-"${am_missing_run}git"}
   5644 
   5645 
   5646 GPERF=${GPERF-"${am_missing_run}gperf"}
   5647 
   5648 
   5649 
   5650 
   5651 
   5652 
   5653 
   5654         if test -n "$PYTHON"; then
   5655       # If the user set $PYTHON, use it and don't search something else.
   5656       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 3" >&5
   5657 printf %s "checking whether $PYTHON version is >= 3... " >&6; }
   5658       prog="import sys
   5659 # split strings by '.' and convert to numeric.  Append some zeros
   5660 # because we need at least 4 digits for the hex conversion.
   5661 # map returns an iterator in Python 3.0 and a list in 2.x
   5662 minver = list(map(int, '3'.split('.'))) + [0, 0, 0]
   5663 minverhex = 0
   5664 # xrange is not present in Python 3.0 and range returns an iterator
   5665 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
   5666 sys.exit(sys.hexversion < minverhex)"
   5667   if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
   5668    ($PYTHON -c "$prog") >&5 2>&5
   5669    ac_status=$?
   5670    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5671    (exit $ac_status); }
   5672 then :
   5673   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5674 printf "%s\n" "yes" >&6; }
   5675 else $as_nop
   5676   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5677 printf "%s\n" "no" >&6; }
   5678 			       as_fn_error $? "Python interpreter is too old" "$LINENO" 5
   5679 fi
   5680       am_display_PYTHON=$PYTHON
   5681     else
   5682       # Otherwise, try each interpreter until we find one that satisfies
   5683       # VERSION.
   5684       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 3" >&5
   5685 printf %s "checking for a Python interpreter with version >= 3... " >&6; }
   5686 if test ${am_cv_pathless_PYTHON+y}
   5687 then :
   5688   printf %s "(cached) " >&6
   5689 else $as_nop
   5690 
   5691 	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
   5692 	  test "$am_cv_pathless_PYTHON" = none && break
   5693 	  prog="import sys
   5694 # split strings by '.' and convert to numeric.  Append some zeros
   5695 # because we need at least 4 digits for the hex conversion.
   5696 # map returns an iterator in Python 3.0 and a list in 2.x
   5697 minver = list(map(int, '3'.split('.'))) + [0, 0, 0]
   5698 minverhex = 0
   5699 # xrange is not present in Python 3.0 and range returns an iterator
   5700 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
   5701 sys.exit(sys.hexversion < minverhex)"
   5702   if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
   5703    ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
   5704    ac_status=$?
   5705    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5706    (exit $ac_status); }
   5707 then :
   5708   break
   5709 fi
   5710 	done
   5711 fi
   5712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
   5713 printf "%s\n" "$am_cv_pathless_PYTHON" >&6; }
   5714       # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
   5715       if test "$am_cv_pathless_PYTHON" = none; then
   5716 	PYTHON=:
   5717       else
   5718         # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
   5719 set dummy $am_cv_pathless_PYTHON; ac_word=$2
   5720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5721 printf %s "checking for $ac_word... " >&6; }
   5722 if test ${ac_cv_path_PYTHON+y}
   5723 then :
   5724   printf %s "(cached) " >&6
   5725 else $as_nop
   5726   case $PYTHON in
   5727   [\\/]* | ?:[\\/]*)
   5728   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
   5729   ;;
   5730   *)
   5731   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5732 for as_dir in $PATH
   5733 do
   5734   IFS=$as_save_IFS
   5735   case $as_dir in #(((
   5736     '') as_dir=./ ;;
   5737     */) ;;
   5738     *) as_dir=$as_dir/ ;;
   5739   esac
   5740     for ac_exec_ext in '' $ac_executable_extensions; do
   5741   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5742     ac_cv_path_PYTHON="$as_dir$ac_word$ac_exec_ext"
   5743     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5744     break 2
   5745   fi
   5746 done
   5747   done
   5748 IFS=$as_save_IFS
   5749 
   5750   ;;
   5751 esac
   5752 fi
   5753 PYTHON=$ac_cv_path_PYTHON
   5754 if test -n "$PYTHON"; then
   5755   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
   5756 printf "%s\n" "$PYTHON" >&6; }
   5757 else
   5758   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5759 printf "%s\n" "no" >&6; }
   5760 fi
   5761 
   5762 
   5763       fi
   5764       am_display_PYTHON=$am_cv_pathless_PYTHON
   5765     fi
   5766 
   5767 
   5768   if test "$PYTHON" = :; then
   5769         as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
   5770   else
   5771 
   5772               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
   5773 printf %s "checking for $am_display_PYTHON version... " >&6; }
   5774 if test ${am_cv_python_version+y}
   5775 then :
   5776   printf %s "(cached) " >&6
   5777 else $as_nop
   5778   am_cv_python_version=`$PYTHON -c "import sys; print ('%u.%u' % sys.version_info[:2])"`
   5779 fi
   5780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
   5781 printf "%s\n" "$am_cv_python_version" >&6; }
   5782   PYTHON_VERSION=$am_cv_python_version
   5783 
   5784 
   5785         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
   5786 printf %s "checking for $am_display_PYTHON platform... " >&6; }
   5787 if test ${am_cv_python_platform+y}
   5788 then :
   5789   printf %s "(cached) " >&6
   5790 else $as_nop
   5791   am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
   5792 fi
   5793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
   5794 printf "%s\n" "$am_cv_python_platform" >&6; }
   5795   PYTHON_PLATFORM=$am_cv_python_platform
   5796 
   5797 
   5798                             if test "x$prefix" = xNONE; then
   5799     am__usable_prefix=$ac_default_prefix
   5800   else
   5801     am__usable_prefix=$prefix
   5802   fi
   5803 
   5804   # Allow user to request using sys.* values from Python,
   5805   # instead of the GNU $prefix values.
   5806 
   5807 # Check whether --with-python-sys-prefix was given.
   5808 if test ${with_python_sys_prefix+y}
   5809 then :
   5810   withval=$with_python_sys_prefix; am_use_python_sys=:
   5811 else $as_nop
   5812   am_use_python_sys=false
   5813 fi
   5814 
   5815 
   5816   # Allow user to override whatever the default Python prefix is.
   5817 
   5818 # Check whether --with-python_prefix was given.
   5819 if test ${with_python_prefix+y}
   5820 then :
   5821   withval=$with_python_prefix; am_python_prefix_subst=$withval
   5822    am_cv_python_prefix=$withval
   5823    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for explicit $am_display_PYTHON prefix" >&5
   5824 printf %s "checking for explicit $am_display_PYTHON prefix... " >&6; }
   5825    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_prefix" >&5
   5826 printf "%s\n" "$am_cv_python_prefix" >&6; }
   5827 else $as_nop
   5828 
   5829    if $am_use_python_sys; then
   5830      # using python sys.prefix value, not GNU
   5831      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON prefix" >&5
   5832 printf %s "checking for python default $am_display_PYTHON prefix... " >&6; }
   5833 if test ${am_cv_python_prefix+y}
   5834 then :
   5835   printf %s "(cached) " >&6
   5836 else $as_nop
   5837   am_cv_python_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.prefix)"`
   5838 fi
   5839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_prefix" >&5
   5840 printf "%s\n" "$am_cv_python_prefix" >&6; }
   5841 
   5842                case $am_cv_python_prefix in
   5843      $am__usable_prefix*)
   5844        am__strip_prefix=`echo "$am__usable_prefix" | sed 's|.|.|g'`
   5845        am_python_prefix_subst=`echo "$am_cv_python_prefix" | sed "s,^$am__strip_prefix,\\${prefix},"`
   5846        ;;
   5847      *)
   5848        am_python_prefix_subst=$am_cv_python_prefix
   5849        ;;
   5850      esac
   5851    else # using GNU prefix value, not python sys.prefix
   5852      am_python_prefix_subst='${prefix}'
   5853      am_python_prefix=$am_python_prefix_subst
   5854      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU default $am_display_PYTHON prefix" >&5
   5855 printf %s "checking for GNU default $am_display_PYTHON prefix... " >&6; }
   5856      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_python_prefix" >&5
   5857 printf "%s\n" "$am_python_prefix" >&6; }
   5858    fi
   5859 fi
   5860 
   5861   # Substituting python_prefix_subst value.
   5862   PYTHON_PREFIX=$am_python_prefix_subst
   5863 
   5864 
   5865   # emacs-page Now do it all over again for Python exec_prefix, but with yet
   5866   # another conditional: fall back to regular prefix if that was specified.
   5867 
   5868 # Check whether --with-python_exec_prefix was given.
   5869 if test ${with_python_exec_prefix+y}
   5870 then :
   5871   withval=$with_python_exec_prefix; am_python_exec_prefix_subst=$withval
   5872    am_cv_python_exec_prefix=$withval
   5873    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for explicit $am_display_PYTHON exec_prefix" >&5
   5874 printf %s "checking for explicit $am_display_PYTHON exec_prefix... " >&6; }
   5875    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
   5876 printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
   5877 else $as_nop
   5878 
   5879    # no explicit --with-python_exec_prefix, but if
   5880    # --with-python_prefix was given, use its value for python_exec_prefix too.
   5881    if test -n "$with_python_prefix"
   5882 then :
   5883   am_python_exec_prefix_subst=$with_python_prefix
   5884     am_cv_python_exec_prefix=$with_python_prefix
   5885     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python_prefix-given $am_display_PYTHON exec_prefix" >&5
   5886 printf %s "checking for python_prefix-given $am_display_PYTHON exec_prefix... " >&6; }
   5887     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
   5888 printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
   5889 else $as_nop
   5890 
   5891     # Set am__usable_exec_prefix whether using GNU or Python values,
   5892     # since we use that variable for pyexecdir.
   5893     if test "x$exec_prefix" = xNONE; then
   5894       am__usable_exec_prefix=$am__usable_prefix
   5895     else
   5896       am__usable_exec_prefix=$exec_prefix
   5897     fi
   5898     #
   5899     if $am_use_python_sys; then # using python sys.exec_prefix, not GNU
   5900       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON exec_prefix" >&5
   5901 printf %s "checking for python default $am_display_PYTHON exec_prefix... " >&6; }
   5902 if test ${am_cv_python_exec_prefix+y}
   5903 then :
   5904   printf %s "(cached) " >&6
   5905 else $as_nop
   5906   am_cv_python_exec_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.exec_prefix)"`
   5907 fi
   5908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
   5909 printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
   5910                         case $am_cv_python_exec_prefix in
   5911       $am__usable_exec_prefix*)
   5912         am__strip_prefix=`echo "$am__usable_exec_prefix" | sed 's|.|.|g'`
   5913         am_python_exec_prefix_subst=`echo "$am_cv_python_exec_prefix" | sed "s,^$am__strip_prefix,\\${exec_prefix},"`
   5914         ;;
   5915       *)
   5916         am_python_exec_prefix_subst=$am_cv_python_exec_prefix
   5917         ;;
   5918      esac
   5919    else # using GNU $exec_prefix, not python sys.exec_prefix
   5920      am_python_exec_prefix_subst='${exec_prefix}'
   5921      am_python_exec_prefix=$am_python_exec_prefix_subst
   5922      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU default $am_display_PYTHON exec_prefix" >&5
   5923 printf %s "checking for GNU default $am_display_PYTHON exec_prefix... " >&6; }
   5924      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_python_exec_prefix" >&5
   5925 printf "%s\n" "$am_python_exec_prefix" >&6; }
   5926    fi
   5927 fi
   5928 fi
   5929 
   5930   # Substituting python_exec_prefix_subst.
   5931   PYTHON_EXEC_PREFIX=$am_python_exec_prefix_subst
   5932 
   5933 
   5934   # Factor out some code duplication into this shell variable.
   5935   am_python_setup_sysconfig="\
   5936 import sys
   5937 # Prefer sysconfig over distutils.sysconfig, for better compatibility
   5938 # with python 3.x.  See automake bug#10227.
   5939 try:
   5940     import sysconfig
   5941 except ImportError:
   5942     can_use_sysconfig = 0
   5943 else:
   5944     can_use_sysconfig = 1
   5945 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
   5946 # <https://github.com/pypa/virtualenv/issues/118>
   5947 try:
   5948     from platform import python_implementation
   5949     if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
   5950         can_use_sysconfig = 0
   5951 except ImportError:
   5952     pass"
   5953 
   5954 
   5955               { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory (pythondir)" >&5
   5956 printf %s "checking for $am_display_PYTHON script directory (pythondir)... " >&6; }
   5957 if test ${am_cv_python_pythondir+y}
   5958 then :
   5959   printf %s "(cached) " >&6
   5960 else $as_nop
   5961   if test "x$am_cv_python_prefix" = x; then
   5962      am_py_prefix=$am__usable_prefix
   5963    else
   5964      am_py_prefix=$am_cv_python_prefix
   5965    fi
   5966    am_cv_python_pythondir=`$PYTHON -c "
   5967 $am_python_setup_sysconfig
   5968 if can_use_sysconfig:
   5969   sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
   5970 else:
   5971   from distutils import sysconfig
   5972   sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
   5973 sys.stdout.write(sitedir)"`
   5974    #
   5975    case $am_cv_python_pythondir in
   5976    $am_py_prefix*)
   5977      am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
   5978      am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,\\${PYTHON_PREFIX},"`
   5979      ;;
   5980    *)
   5981      case $am_py_prefix in
   5982        /usr|/System*) ;;
   5983        *) am_cv_python_pythondir="\${PYTHON_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
   5984           ;;
   5985      esac
   5986      ;;
   5987    esac
   5988 
   5989 fi
   5990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
   5991 printf "%s\n" "$am_cv_python_pythondir" >&6; }
   5992   pythondir=$am_cv_python_pythondir
   5993 
   5994 
   5995           pkgpythondir=\${pythondir}/$PACKAGE
   5996 
   5997 
   5998           { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory (pyexecdir)" >&5
   5999 printf %s "checking for $am_display_PYTHON extension module directory (pyexecdir)... " >&6; }
   6000 if test ${am_cv_python_pyexecdir+y}
   6001 then :
   6002   printf %s "(cached) " >&6
   6003 else $as_nop
   6004   if test "x$am_cv_python_exec_prefix" = x; then
   6005      am_py_exec_prefix=$am__usable_exec_prefix
   6006    else
   6007      am_py_exec_prefix=$am_cv_python_exec_prefix
   6008    fi
   6009    am_cv_python_pyexecdir=`$PYTHON -c "
   6010 $am_python_setup_sysconfig
   6011 if can_use_sysconfig:
   6012   sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_exec_prefix'})
   6013 else:
   6014   from distutils import sysconfig
   6015   sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_exec_prefix')
   6016 sys.stdout.write(sitedir)"`
   6017    #
   6018    case $am_cv_python_pyexecdir in
   6019    $am_py_exec_prefix*)
   6020      am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
   6021      am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,\\${PYTHON_EXEC_PREFIX},"`
   6022      ;;
   6023    *)
   6024      case $am_py_exec_prefix in
   6025        /usr|/System*) ;;
   6026        *) am_cv_python_pyexecdir="\${PYTHON_EXEC_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
   6027           ;;
   6028      esac
   6029      ;;
   6030    esac
   6031 
   6032 fi
   6033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
   6034 printf "%s\n" "$am_cv_python_pyexecdir" >&6; }
   6035   pyexecdir=$am_cv_python_pyexecdir
   6036 
   6037 
   6038       pkgpyexecdir=\${pyexecdir}/$PACKAGE
   6039 
   6040 
   6041 
   6042   fi
   6043 
   6044 
   6045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for RM macro" >&5
   6046 printf %s "checking for RM macro... " >&6; }
   6047 _predefined_rm=`make -p -f /dev/null 2>/dev/null|grep '^RM ='|sed -e 's/^RM = //'`
   6048 if test "x$_predefined_rm" = "x"; then
   6049 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no predefined RM" >&5
   6050 printf "%s\n" "no predefined RM" >&6; }
   6051 	# Extract the first word of "rm", so it can be a program name with args.
   6052 set dummy rm; ac_word=$2
   6053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6054 printf %s "checking for $ac_word... " >&6; }
   6055 if test ${ac_cv_prog_RM+y}
   6056 then :
   6057   printf %s "(cached) " >&6
   6058 else $as_nop
   6059   if test -n "$RM"; then
   6060   ac_cv_prog_RM="$RM" # Let the user override the test.
   6061 else
   6062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6063 for as_dir in $PATH
   6064 do
   6065   IFS=$as_save_IFS
   6066   case $as_dir in #(((
   6067     '') as_dir=./ ;;
   6068     */) ;;
   6069     *) as_dir=$as_dir/ ;;
   6070   esac
   6071     for ac_exec_ext in '' $ac_executable_extensions; do
   6072   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6073     ac_cv_prog_RM="rm -f"
   6074     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6075     break 2
   6076   fi
   6077 done
   6078   done
   6079 IFS=$as_save_IFS
   6080 
   6081 fi
   6082 fi
   6083 RM=$ac_cv_prog_RM
   6084 if test -n "$RM"; then
   6085   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
   6086 printf "%s\n" "$RM" >&6; }
   6087 else
   6088   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6089 printf "%s\n" "no" >&6; }
   6090 fi
   6091 
   6092 
   6093 else
   6094 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $_predefined_rm" >&5
   6095 printf "%s\n" "$_predefined_rm" >&6; }
   6096 fi
   6097 
   6098 
   6099 case `pwd` in
   6100   *\ * | *\	*)
   6101     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   6102 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   6103 esac
   6104 
   6105 
   6106 
   6107 macro_version='2.4.6'
   6108 macro_revision='2.4.6'
   6109 
   6110 
   6111 
   6112 
   6113 
   6114 
   6115 
   6116 
   6117 
   6118 
   6119 
   6120 
   6121 
   6122 
   6123 ltmain=$ac_aux_dir/ltmain.sh
   6124 
   6125 
   6126 
   6127   # Make sure we can run config.sub.
   6128 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   6129   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   6130 
   6131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   6132 printf %s "checking build system type... " >&6; }
   6133 if test ${ac_cv_build+y}
   6134 then :
   6135   printf %s "(cached) " >&6
   6136 else $as_nop
   6137   ac_build_alias=$build_alias
   6138 test "x$ac_build_alias" = x &&
   6139   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   6140 test "x$ac_build_alias" = x &&
   6141   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   6142 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   6143   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   6144 
   6145 fi
   6146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   6147 printf "%s\n" "$ac_cv_build" >&6; }
   6148 case $ac_cv_build in
   6149 *-*-*) ;;
   6150 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   6151 esac
   6152 build=$ac_cv_build
   6153 ac_save_IFS=$IFS; IFS='-'
   6154 set x $ac_cv_build
   6155 shift
   6156 build_cpu=$1
   6157 build_vendor=$2
   6158 shift; shift
   6159 # Remember, the first character of IFS is used to create $*,
   6160 # except with old shells:
   6161 build_os=$*
   6162 IFS=$ac_save_IFS
   6163 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   6164 
   6165 
   6166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   6167 printf %s "checking host system type... " >&6; }
   6168 if test ${ac_cv_host+y}
   6169 then :
   6170   printf %s "(cached) " >&6
   6171 else $as_nop
   6172   if test "x$host_alias" = x; then
   6173   ac_cv_host=$ac_cv_build
   6174 else
   6175   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   6176     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   6177 fi
   6178 
   6179 fi
   6180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   6181 printf "%s\n" "$ac_cv_host" >&6; }
   6182 case $ac_cv_host in
   6183 *-*-*) ;;
   6184 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   6185 esac
   6186 host=$ac_cv_host
   6187 ac_save_IFS=$IFS; IFS='-'
   6188 set x $ac_cv_host
   6189 shift
   6190 host_cpu=$1
   6191 host_vendor=$2
   6192 shift; shift
   6193 # Remember, the first character of IFS is used to create $*,
   6194 # except with old shells:
   6195 host_os=$*
   6196 IFS=$ac_save_IFS
   6197 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   6198 
   6199 
   6200 # Backslashify metacharacters that are still active within
   6201 # double-quoted strings.
   6202 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   6203 
   6204 # Same as above, but do not quote variable references.
   6205 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   6206 
   6207 # Sed substitution to delay expansion of an escaped shell variable in a
   6208 # double_quote_subst'ed string.
   6209 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6210 
   6211 # Sed substitution to delay expansion of an escaped single quote.
   6212 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   6213 
   6214 # Sed substitution to avoid accidental globbing in evaled expressions
   6215 no_glob_subst='s/\*/\\\*/g'
   6216 
   6217 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   6218 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   6219 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   6220 
   6221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   6222 printf %s "checking how to print strings... " >&6; }
   6223 # Test print first, because it will be a builtin if present.
   6224 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   6225    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   6226   ECHO='print -r --'
   6227 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   6228   ECHO='printf %s\n'
   6229 else
   6230   # Use this function as a fallback that always works.
   6231   func_fallback_echo ()
   6232   {
   6233     eval 'cat <<_LTECHO_EOF
   6234 $1
   6235 _LTECHO_EOF'
   6236   }
   6237   ECHO='func_fallback_echo'
   6238 fi
   6239 
   6240 # func_echo_all arg...
   6241 # Invoke $ECHO with all args, space-separated.
   6242 func_echo_all ()
   6243 {
   6244     $ECHO ""
   6245 }
   6246 
   6247 case $ECHO in
   6248   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   6249 printf "%s\n" "printf" >&6; } ;;
   6250   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   6251 printf "%s\n" "print -r" >&6; } ;;
   6252   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   6253 printf "%s\n" "cat" >&6; } ;;
   6254 esac
   6255 
   6256 
   6257 
   6258 
   6259 
   6260 
   6261 
   6262 
   6263 
   6264 
   6265 
   6266 
   6267 
   6268 
   6269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   6270 printf %s "checking for a sed that does not truncate output... " >&6; }
   6271 if test ${ac_cv_path_SED+y}
   6272 then :
   6273   printf %s "(cached) " >&6
   6274 else $as_nop
   6275             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   6276      for ac_i in 1 2 3 4 5 6 7; do
   6277        ac_script="$ac_script$as_nl$ac_script"
   6278      done
   6279      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   6280      { ac_script=; unset ac_script;}
   6281      if test -z "$SED"; then
   6282   ac_path_SED_found=false
   6283   # Loop through the user's path and test for each of PROGNAME-LIST
   6284   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6285 for as_dir in $PATH
   6286 do
   6287   IFS=$as_save_IFS
   6288   case $as_dir in #(((
   6289     '') as_dir=./ ;;
   6290     */) ;;
   6291     *) as_dir=$as_dir/ ;;
   6292   esac
   6293     for ac_prog in sed gsed
   6294    do
   6295     for ac_exec_ext in '' $ac_executable_extensions; do
   6296       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   6297       as_fn_executable_p "$ac_path_SED" || continue
   6298 # Check for GNU ac_path_SED and select it if it is found.
   6299   # Check for GNU $ac_path_SED
   6300 case `"$ac_path_SED" --version 2>&1` in
   6301 *GNU*)
   6302   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   6303 *)
   6304   ac_count=0
   6305   printf %s 0123456789 >"conftest.in"
   6306   while :
   6307   do
   6308     cat "conftest.in" "conftest.in" >"conftest.tmp"
   6309     mv "conftest.tmp" "conftest.in"
   6310     cp "conftest.in" "conftest.nl"
   6311     printf "%s\n" '' >> "conftest.nl"
   6312     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   6313     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   6314     as_fn_arith $ac_count + 1 && ac_count=$as_val
   6315     if test $ac_count -gt ${ac_path_SED_max-0}; then
   6316       # Best one so far, save it but keep looking for a better one
   6317       ac_cv_path_SED="$ac_path_SED"
   6318       ac_path_SED_max=$ac_count
   6319     fi
   6320     # 10*(2^10) chars as input seems more than enough
   6321     test $ac_count -gt 10 && break
   6322   done
   6323   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   6324 esac
   6325 
   6326       $ac_path_SED_found && break 3
   6327     done
   6328   done
   6329   done
   6330 IFS=$as_save_IFS
   6331   if test -z "$ac_cv_path_SED"; then
   6332     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   6333   fi
   6334 else
   6335   ac_cv_path_SED=$SED
   6336 fi
   6337 
   6338 fi
   6339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   6340 printf "%s\n" "$ac_cv_path_SED" >&6; }
   6341  SED="$ac_cv_path_SED"
   6342   rm -f conftest.sed
   6343 
   6344 test -z "$SED" && SED=sed
   6345 Xsed="$SED -e 1s/^X//"
   6346 
   6347 
   6348 
   6349 
   6350 
   6351 
   6352 
   6353 
   6354 
   6355 
   6356 
   6357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   6358 printf %s "checking for grep that handles long lines and -e... " >&6; }
   6359 if test ${ac_cv_path_GREP+y}
   6360 then :
   6361   printf %s "(cached) " >&6
   6362 else $as_nop
   6363   if test -z "$GREP"; then
   6364   ac_path_GREP_found=false
   6365   # Loop through the user's path and test for each of PROGNAME-LIST
   6366   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6367 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   6368 do
   6369   IFS=$as_save_IFS
   6370   case $as_dir in #(((
   6371     '') as_dir=./ ;;
   6372     */) ;;
   6373     *) as_dir=$as_dir/ ;;
   6374   esac
   6375     for ac_prog in grep ggrep
   6376    do
   6377     for ac_exec_ext in '' $ac_executable_extensions; do
   6378       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   6379       as_fn_executable_p "$ac_path_GREP" || continue
   6380 # Check for GNU ac_path_GREP and select it if it is found.
   6381   # Check for GNU $ac_path_GREP
   6382 case `"$ac_path_GREP" --version 2>&1` in
   6383 *GNU*)
   6384   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   6385 *)
   6386   ac_count=0
   6387   printf %s 0123456789 >"conftest.in"
   6388   while :
   6389   do
   6390     cat "conftest.in" "conftest.in" >"conftest.tmp"
   6391     mv "conftest.tmp" "conftest.in"
   6392     cp "conftest.in" "conftest.nl"
   6393     printf "%s\n" 'GREP' >> "conftest.nl"
   6394     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   6395     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   6396     as_fn_arith $ac_count + 1 && ac_count=$as_val
   6397     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   6398       # Best one so far, save it but keep looking for a better one
   6399       ac_cv_path_GREP="$ac_path_GREP"
   6400       ac_path_GREP_max=$ac_count
   6401     fi
   6402     # 10*(2^10) chars as input seems more than enough
   6403     test $ac_count -gt 10 && break
   6404   done
   6405   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   6406 esac
   6407 
   6408       $ac_path_GREP_found && break 3
   6409     done
   6410   done
   6411   done
   6412 IFS=$as_save_IFS
   6413   if test -z "$ac_cv_path_GREP"; then
   6414     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   6415   fi
   6416 else
   6417   ac_cv_path_GREP=$GREP
   6418 fi
   6419 
   6420 fi
   6421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   6422 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   6423  GREP="$ac_cv_path_GREP"
   6424 
   6425 
   6426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   6427 printf %s "checking for egrep... " >&6; }
   6428 if test ${ac_cv_path_EGREP+y}
   6429 then :
   6430   printf %s "(cached) " >&6
   6431 else $as_nop
   6432   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   6433    then ac_cv_path_EGREP="$GREP -E"
   6434    else
   6435      if test -z "$EGREP"; then
   6436   ac_path_EGREP_found=false
   6437   # Loop through the user's path and test for each of PROGNAME-LIST
   6438   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6439 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   6440 do
   6441   IFS=$as_save_IFS
   6442   case $as_dir in #(((
   6443     '') as_dir=./ ;;
   6444     */) ;;
   6445     *) as_dir=$as_dir/ ;;
   6446   esac
   6447     for ac_prog in egrep
   6448    do
   6449     for ac_exec_ext in '' $ac_executable_extensions; do
   6450       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   6451       as_fn_executable_p "$ac_path_EGREP" || continue
   6452 # Check for GNU ac_path_EGREP and select it if it is found.
   6453   # Check for GNU $ac_path_EGREP
   6454 case `"$ac_path_EGREP" --version 2>&1` in
   6455 *GNU*)
   6456   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   6457 *)
   6458   ac_count=0
   6459   printf %s 0123456789 >"conftest.in"
   6460   while :
   6461   do
   6462     cat "conftest.in" "conftest.in" >"conftest.tmp"
   6463     mv "conftest.tmp" "conftest.in"
   6464     cp "conftest.in" "conftest.nl"
   6465     printf "%s\n" 'EGREP' >> "conftest.nl"
   6466     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   6467     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   6468     as_fn_arith $ac_count + 1 && ac_count=$as_val
   6469     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   6470       # Best one so far, save it but keep looking for a better one
   6471       ac_cv_path_EGREP="$ac_path_EGREP"
   6472       ac_path_EGREP_max=$ac_count
   6473     fi
   6474     # 10*(2^10) chars as input seems more than enough
   6475     test $ac_count -gt 10 && break
   6476   done
   6477   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   6478 esac
   6479 
   6480       $ac_path_EGREP_found && break 3
   6481     done
   6482   done
   6483   done
   6484 IFS=$as_save_IFS
   6485   if test -z "$ac_cv_path_EGREP"; then
   6486     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   6487   fi
   6488 else
   6489   ac_cv_path_EGREP=$EGREP
   6490 fi
   6491 
   6492    fi
   6493 fi
   6494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   6495 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   6496  EGREP="$ac_cv_path_EGREP"
   6497 
   6498 
   6499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   6500 printf %s "checking for fgrep... " >&6; }
   6501 if test ${ac_cv_path_FGREP+y}
   6502 then :
   6503   printf %s "(cached) " >&6
   6504 else $as_nop
   6505   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   6506    then ac_cv_path_FGREP="$GREP -F"
   6507    else
   6508      if test -z "$FGREP"; then
   6509   ac_path_FGREP_found=false
   6510   # Loop through the user's path and test for each of PROGNAME-LIST
   6511   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6512 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   6513 do
   6514   IFS=$as_save_IFS
   6515   case $as_dir in #(((
   6516     '') as_dir=./ ;;
   6517     */) ;;
   6518     *) as_dir=$as_dir/ ;;
   6519   esac
   6520     for ac_prog in fgrep
   6521    do
   6522     for ac_exec_ext in '' $ac_executable_extensions; do
   6523       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   6524       as_fn_executable_p "$ac_path_FGREP" || continue
   6525 # Check for GNU ac_path_FGREP and select it if it is found.
   6526   # Check for GNU $ac_path_FGREP
   6527 case `"$ac_path_FGREP" --version 2>&1` in
   6528 *GNU*)
   6529   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   6530 *)
   6531   ac_count=0
   6532   printf %s 0123456789 >"conftest.in"
   6533   while :
   6534   do
   6535     cat "conftest.in" "conftest.in" >"conftest.tmp"
   6536     mv "conftest.tmp" "conftest.in"
   6537     cp "conftest.in" "conftest.nl"
   6538     printf "%s\n" 'FGREP' >> "conftest.nl"
   6539     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   6540     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   6541     as_fn_arith $ac_count + 1 && ac_count=$as_val
   6542     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   6543       # Best one so far, save it but keep looking for a better one
   6544       ac_cv_path_FGREP="$ac_path_FGREP"
   6545       ac_path_FGREP_max=$ac_count
   6546     fi
   6547     # 10*(2^10) chars as input seems more than enough
   6548     test $ac_count -gt 10 && break
   6549   done
   6550   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   6551 esac
   6552 
   6553       $ac_path_FGREP_found && break 3
   6554     done
   6555   done
   6556   done
   6557 IFS=$as_save_IFS
   6558   if test -z "$ac_cv_path_FGREP"; then
   6559     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   6560   fi
   6561 else
   6562   ac_cv_path_FGREP=$FGREP
   6563 fi
   6564 
   6565    fi
   6566 fi
   6567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   6568 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   6569  FGREP="$ac_cv_path_FGREP"
   6570 
   6571 
   6572 test -z "$GREP" && GREP=grep
   6573 
   6574 
   6575 
   6576 
   6577 
   6578 
   6579 
   6580 
   6581 
   6582 
   6583 
   6584 
   6585 
   6586 
   6587 
   6588 
   6589 
   6590 
   6591 
   6592 # Check whether --with-gnu-ld was given.
   6593 if test ${with_gnu_ld+y}
   6594 then :
   6595   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   6596 else $as_nop
   6597   with_gnu_ld=no
   6598 fi
   6599 
   6600 ac_prog=ld
   6601 if test yes = "$GCC"; then
   6602   # Check if gcc -print-prog-name=ld gives a path.
   6603   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   6604 printf %s "checking for ld used by $CC... " >&6; }
   6605   case $host in
   6606   *-*-mingw*)
   6607     # gcc leaves a trailing carriage return, which upsets mingw
   6608     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   6609   *)
   6610     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   6611   esac
   6612   case $ac_prog in
   6613     # Accept absolute paths.
   6614     [\\/]* | ?:[\\/]*)
   6615       re_direlt='/[^/][^/]*/\.\./'
   6616       # Canonicalize the pathname of ld
   6617       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   6618       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   6619 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   6620       done
   6621       test -z "$LD" && LD=$ac_prog
   6622       ;;
   6623   "")
   6624     # If it fails, then pretend we aren't using GCC.
   6625     ac_prog=ld
   6626     ;;
   6627   *)
   6628     # If it is relative, then search for the first ld in PATH.
   6629     with_gnu_ld=unknown
   6630     ;;
   6631   esac
   6632 elif test yes = "$with_gnu_ld"; then
   6633   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   6634 printf %s "checking for GNU ld... " >&6; }
   6635 else
   6636   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   6637 printf %s "checking for non-GNU ld... " >&6; }
   6638 fi
   6639 if test ${lt_cv_path_LD+y}
   6640 then :
   6641   printf %s "(cached) " >&6
   6642 else $as_nop
   6643   if test -z "$LD"; then
   6644   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   6645   for ac_dir in $PATH; do
   6646     IFS=$lt_save_ifs
   6647     test -z "$ac_dir" && ac_dir=.
   6648     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   6649       lt_cv_path_LD=$ac_dir/$ac_prog
   6650       # Check to see if the program is GNU ld.  I'd rather use --version,
   6651       # but apparently some variants of GNU ld only accept -v.
   6652       # Break only if it was the GNU/non-GNU ld that we prefer.
   6653       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   6654       *GNU* | *'with BFD'*)
   6655 	test no != "$with_gnu_ld" && break
   6656 	;;
   6657       *)
   6658 	test yes != "$with_gnu_ld" && break
   6659 	;;
   6660       esac
   6661     fi
   6662   done
   6663   IFS=$lt_save_ifs
   6664 else
   6665   lt_cv_path_LD=$LD # Let the user override the test with a path.
   6666 fi
   6667 fi
   6668 
   6669 LD=$lt_cv_path_LD
   6670 if test -n "$LD"; then
   6671   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   6672 printf "%s\n" "$LD" >&6; }
   6673 else
   6674   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6675 printf "%s\n" "no" >&6; }
   6676 fi
   6677 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   6678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   6679 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   6680 if test ${lt_cv_prog_gnu_ld+y}
   6681 then :
   6682   printf %s "(cached) " >&6
   6683 else $as_nop
   6684   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   6685 case `$LD -v 2>&1 </dev/null` in
   6686 *GNU* | *'with BFD'*)
   6687   lt_cv_prog_gnu_ld=yes
   6688   ;;
   6689 *)
   6690   lt_cv_prog_gnu_ld=no
   6691   ;;
   6692 esac
   6693 fi
   6694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   6695 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   6696 with_gnu_ld=$lt_cv_prog_gnu_ld
   6697 
   6698 
   6699 
   6700 
   6701 
   6702 
   6703 
   6704 
   6705 
   6706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   6707 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   6708 if test ${lt_cv_path_NM+y}
   6709 then :
   6710   printf %s "(cached) " >&6
   6711 else $as_nop
   6712   if test -n "$NM"; then
   6713   # Let the user override the test.
   6714   lt_cv_path_NM=$NM
   6715 else
   6716   lt_nm_to_check=${ac_tool_prefix}nm
   6717   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   6718     lt_nm_to_check="$lt_nm_to_check nm"
   6719   fi
   6720   for lt_tmp_nm in $lt_nm_to_check; do
   6721     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   6722     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   6723       IFS=$lt_save_ifs
   6724       test -z "$ac_dir" && ac_dir=.
   6725       tmp_nm=$ac_dir/$lt_tmp_nm
   6726       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   6727 	# Check to see if the nm accepts a BSD-compat flag.
   6728 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   6729 	#   nm: unknown option "B" ignored
   6730 	# Tru64's nm complains that /dev/null is an invalid object file
   6731 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   6732 	case $build_os in
   6733 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   6734 	*) lt_bad_file=/dev/null ;;
   6735 	esac
   6736 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
   6737 	*$lt_bad_file* | *'Invalid file or object type'*)
   6738 	  lt_cv_path_NM="$tmp_nm -B"
   6739 	  break 2
   6740 	  ;;
   6741 	*)
   6742 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   6743 	  */dev/null*)
   6744 	    lt_cv_path_NM="$tmp_nm -p"
   6745 	    break 2
   6746 	    ;;
   6747 	  *)
   6748 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   6749 	    continue # so that we can try to find one that supports BSD flags
   6750 	    ;;
   6751 	  esac
   6752 	  ;;
   6753 	esac
   6754       fi
   6755     done
   6756     IFS=$lt_save_ifs
   6757   done
   6758   : ${lt_cv_path_NM=no}
   6759 fi
   6760 fi
   6761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   6762 printf "%s\n" "$lt_cv_path_NM" >&6; }
   6763 if test no != "$lt_cv_path_NM"; then
   6764   NM=$lt_cv_path_NM
   6765 else
   6766   # Didn't find any BSD compatible name lister, look for dumpbin.
   6767   if test -n "$DUMPBIN"; then :
   6768     # Let the user override the test.
   6769   else
   6770     if test -n "$ac_tool_prefix"; then
   6771   for ac_prog in dumpbin "link -dump"
   6772   do
   6773     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6774 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6776 printf %s "checking for $ac_word... " >&6; }
   6777 if test ${ac_cv_prog_DUMPBIN+y}
   6778 then :
   6779   printf %s "(cached) " >&6
   6780 else $as_nop
   6781   if test -n "$DUMPBIN"; then
   6782   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   6783 else
   6784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6785 for as_dir in $PATH
   6786 do
   6787   IFS=$as_save_IFS
   6788   case $as_dir in #(((
   6789     '') as_dir=./ ;;
   6790     */) ;;
   6791     *) as_dir=$as_dir/ ;;
   6792   esac
   6793     for ac_exec_ext in '' $ac_executable_extensions; do
   6794   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6795     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   6796     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6797     break 2
   6798   fi
   6799 done
   6800   done
   6801 IFS=$as_save_IFS
   6802 
   6803 fi
   6804 fi
   6805 DUMPBIN=$ac_cv_prog_DUMPBIN
   6806 if test -n "$DUMPBIN"; then
   6807   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   6808 printf "%s\n" "$DUMPBIN" >&6; }
   6809 else
   6810   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6811 printf "%s\n" "no" >&6; }
   6812 fi
   6813 
   6814 
   6815     test -n "$DUMPBIN" && break
   6816   done
   6817 fi
   6818 if test -z "$DUMPBIN"; then
   6819   ac_ct_DUMPBIN=$DUMPBIN
   6820   for ac_prog in dumpbin "link -dump"
   6821 do
   6822   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6823 set dummy $ac_prog; ac_word=$2
   6824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6825 printf %s "checking for $ac_word... " >&6; }
   6826 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   6827 then :
   6828   printf %s "(cached) " >&6
   6829 else $as_nop
   6830   if test -n "$ac_ct_DUMPBIN"; then
   6831   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   6832 else
   6833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6834 for as_dir in $PATH
   6835 do
   6836   IFS=$as_save_IFS
   6837   case $as_dir in #(((
   6838     '') as_dir=./ ;;
   6839     */) ;;
   6840     *) as_dir=$as_dir/ ;;
   6841   esac
   6842     for ac_exec_ext in '' $ac_executable_extensions; do
   6843   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6844     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   6845     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6846     break 2
   6847   fi
   6848 done
   6849   done
   6850 IFS=$as_save_IFS
   6851 
   6852 fi
   6853 fi
   6854 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   6855 if test -n "$ac_ct_DUMPBIN"; then
   6856   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   6857 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   6858 else
   6859   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6860 printf "%s\n" "no" >&6; }
   6861 fi
   6862 
   6863 
   6864   test -n "$ac_ct_DUMPBIN" && break
   6865 done
   6866 
   6867   if test "x$ac_ct_DUMPBIN" = x; then
   6868     DUMPBIN=":"
   6869   else
   6870     case $cross_compiling:$ac_tool_warned in
   6871 yes:)
   6872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6873 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6874 ac_tool_warned=yes ;;
   6875 esac
   6876     DUMPBIN=$ac_ct_DUMPBIN
   6877   fi
   6878 fi
   6879 
   6880     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
   6881     *COFF*)
   6882       DUMPBIN="$DUMPBIN -symbols -headers"
   6883       ;;
   6884     *)
   6885       DUMPBIN=:
   6886       ;;
   6887     esac
   6888   fi
   6889 
   6890   if test : != "$DUMPBIN"; then
   6891     NM=$DUMPBIN
   6892   fi
   6893 fi
   6894 test -z "$NM" && NM=nm
   6895 
   6896 
   6897 
   6898 
   6899 
   6900 
   6901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   6902 printf %s "checking the name lister ($NM) interface... " >&6; }
   6903 if test ${lt_cv_nm_interface+y}
   6904 then :
   6905   printf %s "(cached) " >&6
   6906 else $as_nop
   6907   lt_cv_nm_interface="BSD nm"
   6908   echo "int some_variable = 0;" > conftest.$ac_ext
   6909   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   6910   (eval "$ac_compile" 2>conftest.err)
   6911   cat conftest.err >&5
   6912   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   6913   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   6914   cat conftest.err >&5
   6915   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   6916   cat conftest.out >&5
   6917   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   6918     lt_cv_nm_interface="MS dumpbin"
   6919   fi
   6920   rm -f conftest*
   6921 fi
   6922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   6923 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   6924 
   6925 # find the maximum length of command line arguments
   6926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   6927 printf %s "checking the maximum length of command line arguments... " >&6; }
   6928 if test ${lt_cv_sys_max_cmd_len+y}
   6929 then :
   6930   printf %s "(cached) " >&6
   6931 else $as_nop
   6932     i=0
   6933   teststring=ABCD
   6934 
   6935   case $build_os in
   6936   msdosdjgpp*)
   6937     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6938     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6939     # during glob expansion).  Even if it were fixed, the result of this
   6940     # check would be larger than it should be.
   6941     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6942     ;;
   6943 
   6944   gnu*)
   6945     # Under GNU Hurd, this test is not required because there is
   6946     # no limit to the length of command line arguments.
   6947     # Libtool will interpret -1 as no limit whatsoever
   6948     lt_cv_sys_max_cmd_len=-1;
   6949     ;;
   6950 
   6951   cygwin* | mingw* | cegcc*)
   6952     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6953     # about 5 minutes as the teststring grows exponentially.
   6954     # Worse, since 9x/ME are not pre-emptively multitasking,
   6955     # you end up with a "frozen" computer, even though with patience
   6956     # the test eventually succeeds (with a max line length of 256k).
   6957     # Instead, let's just punt: use the minimum linelength reported by
   6958     # all of the supported platforms: 8192 (on NT/2K/XP).
   6959     lt_cv_sys_max_cmd_len=8192;
   6960     ;;
   6961 
   6962   mint*)
   6963     # On MiNT this can take a long time and run out of memory.
   6964     lt_cv_sys_max_cmd_len=8192;
   6965     ;;
   6966 
   6967   amigaos*)
   6968     # On AmigaOS with pdksh, this test takes hours, literally.
   6969     # So we just punt and use a minimum line length of 8192.
   6970     lt_cv_sys_max_cmd_len=8192;
   6971     ;;
   6972 
   6973   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
   6974     # This has been around since 386BSD, at least.  Likely further.
   6975     if test -x /sbin/sysctl; then
   6976       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6977     elif test -x /usr/sbin/sysctl; then
   6978       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6979     else
   6980       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6981     fi
   6982     # And add a safety zone
   6983     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6984     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6985     ;;
   6986 
   6987   interix*)
   6988     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6989     lt_cv_sys_max_cmd_len=196608
   6990     ;;
   6991 
   6992   os2*)
   6993     # The test takes a long time on OS/2.
   6994     lt_cv_sys_max_cmd_len=8192
   6995     ;;
   6996 
   6997   osf*)
   6998     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6999     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   7000     # nice to cause kernel panics so lets avoid the loop below.
   7001     # First set a reasonable default.
   7002     lt_cv_sys_max_cmd_len=16384
   7003     #
   7004     if test -x /sbin/sysconfig; then
   7005       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   7006         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   7007       esac
   7008     fi
   7009     ;;
   7010   sco3.2v5*)
   7011     lt_cv_sys_max_cmd_len=102400
   7012     ;;
   7013   sysv5* | sco5v6* | sysv4.2uw2*)
   7014     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   7015     if test -n "$kargmax"; then
   7016       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   7017     else
   7018       lt_cv_sys_max_cmd_len=32768
   7019     fi
   7020     ;;
   7021   *)
   7022     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   7023     if test -n "$lt_cv_sys_max_cmd_len" && \
   7024        test undefined != "$lt_cv_sys_max_cmd_len"; then
   7025       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   7026       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   7027     else
   7028       # Make teststring a little bigger before we do anything with it.
   7029       # a 1K string should be a reasonable start.
   7030       for i in 1 2 3 4 5 6 7 8; do
   7031         teststring=$teststring$teststring
   7032       done
   7033       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   7034       # If test is not a shell built-in, we'll probably end up computing a
   7035       # maximum length that is only half of the actual maximum length, but
   7036       # we can't tell.
   7037       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   7038 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   7039 	      test 17 != "$i" # 1/2 MB should be enough
   7040       do
   7041         i=`expr $i + 1`
   7042         teststring=$teststring$teststring
   7043       done
   7044       # Only check the string length outside the loop.
   7045       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   7046       teststring=
   7047       # Add a significant safety factor because C++ compilers can tack on
   7048       # massive amounts of additional arguments before passing them to the
   7049       # linker.  It appears as though 1/2 is a usable value.
   7050       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   7051     fi
   7052     ;;
   7053   esac
   7054 
   7055 fi
   7056 
   7057 if test -n "$lt_cv_sys_max_cmd_len"; then
   7058   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   7059 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   7060 else
   7061   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   7062 printf "%s\n" "none" >&6; }
   7063 fi
   7064 max_cmd_len=$lt_cv_sys_max_cmd_len
   7065 
   7066 
   7067 
   7068 
   7069 
   7070 
   7071 : ${CP="cp -f"}
   7072 : ${MV="mv -f"}
   7073 : ${RM="rm -f"}
   7074 
   7075 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   7076   lt_unset=unset
   7077 else
   7078   lt_unset=false
   7079 fi
   7080 
   7081 
   7082 
   7083 
   7084 
   7085 # test EBCDIC or ASCII
   7086 case `echo X|tr X '\101'` in
   7087  A) # ASCII based system
   7088     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   7089   lt_SP2NL='tr \040 \012'
   7090   lt_NL2SP='tr \015\012 \040\040'
   7091   ;;
   7092  *) # EBCDIC based system
   7093   lt_SP2NL='tr \100 \n'
   7094   lt_NL2SP='tr \r\n \100\100'
   7095   ;;
   7096 esac
   7097 
   7098 
   7099 
   7100 
   7101 
   7102 
   7103 
   7104 
   7105 
   7106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   7107 printf %s "checking how to convert $build file names to $host format... " >&6; }
   7108 if test ${lt_cv_to_host_file_cmd+y}
   7109 then :
   7110   printf %s "(cached) " >&6
   7111 else $as_nop
   7112   case $host in
   7113   *-*-mingw* )
   7114     case $build in
   7115       *-*-mingw* ) # actually msys
   7116         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   7117         ;;
   7118       *-*-cygwin* )
   7119         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   7120         ;;
   7121       * ) # otherwise, assume *nix
   7122         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   7123         ;;
   7124     esac
   7125     ;;
   7126   *-*-cygwin* )
   7127     case $build in
   7128       *-*-mingw* ) # actually msys
   7129         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   7130         ;;
   7131       *-*-cygwin* )
   7132         lt_cv_to_host_file_cmd=func_convert_file_noop
   7133         ;;
   7134       * ) # otherwise, assume *nix
   7135         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   7136         ;;
   7137     esac
   7138     ;;
   7139   * ) # unhandled hosts (and "normal" native builds)
   7140     lt_cv_to_host_file_cmd=func_convert_file_noop
   7141     ;;
   7142 esac
   7143 
   7144 fi
   7145 
   7146 to_host_file_cmd=$lt_cv_to_host_file_cmd
   7147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   7148 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   7149 
   7150 
   7151 
   7152 
   7153 
   7154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   7155 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   7156 if test ${lt_cv_to_tool_file_cmd+y}
   7157 then :
   7158   printf %s "(cached) " >&6
   7159 else $as_nop
   7160   #assume ordinary cross tools, or native build.
   7161 lt_cv_to_tool_file_cmd=func_convert_file_noop
   7162 case $host in
   7163   *-*-mingw* )
   7164     case $build in
   7165       *-*-mingw* ) # actually msys
   7166         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   7167         ;;
   7168     esac
   7169     ;;
   7170 esac
   7171 
   7172 fi
   7173 
   7174 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   7175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   7176 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   7177 
   7178 
   7179 
   7180 
   7181 
   7182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   7183 printf %s "checking for $LD option to reload object files... " >&6; }
   7184 if test ${lt_cv_ld_reload_flag+y}
   7185 then :
   7186   printf %s "(cached) " >&6
   7187 else $as_nop
   7188   lt_cv_ld_reload_flag='-r'
   7189 fi
   7190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   7191 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   7192 reload_flag=$lt_cv_ld_reload_flag
   7193 case $reload_flag in
   7194 "" | " "*) ;;
   7195 *) reload_flag=" $reload_flag" ;;
   7196 esac
   7197 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   7198 case $host_os in
   7199   cygwin* | mingw* | pw32* | cegcc*)
   7200     if test yes != "$GCC"; then
   7201       reload_cmds=false
   7202     fi
   7203     ;;
   7204   darwin*)
   7205     if test yes = "$GCC"; then
   7206       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   7207     else
   7208       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   7209     fi
   7210     ;;
   7211 esac
   7212 
   7213 
   7214 
   7215 
   7216 
   7217 
   7218 
   7219 
   7220 
   7221 if test -n "$ac_tool_prefix"; then
   7222   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   7223 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   7224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7225 printf %s "checking for $ac_word... " >&6; }
   7226 if test ${ac_cv_prog_OBJDUMP+y}
   7227 then :
   7228   printf %s "(cached) " >&6
   7229 else $as_nop
   7230   if test -n "$OBJDUMP"; then
   7231   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   7232 else
   7233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7234 for as_dir in $PATH
   7235 do
   7236   IFS=$as_save_IFS
   7237   case $as_dir in #(((
   7238     '') as_dir=./ ;;
   7239     */) ;;
   7240     *) as_dir=$as_dir/ ;;
   7241   esac
   7242     for ac_exec_ext in '' $ac_executable_extensions; do
   7243   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7244     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   7245     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7246     break 2
   7247   fi
   7248 done
   7249   done
   7250 IFS=$as_save_IFS
   7251 
   7252 fi
   7253 fi
   7254 OBJDUMP=$ac_cv_prog_OBJDUMP
   7255 if test -n "$OBJDUMP"; then
   7256   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   7257 printf "%s\n" "$OBJDUMP" >&6; }
   7258 else
   7259   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7260 printf "%s\n" "no" >&6; }
   7261 fi
   7262 
   7263 
   7264 fi
   7265 if test -z "$ac_cv_prog_OBJDUMP"; then
   7266   ac_ct_OBJDUMP=$OBJDUMP
   7267   # Extract the first word of "objdump", so it can be a program name with args.
   7268 set dummy objdump; ac_word=$2
   7269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7270 printf %s "checking for $ac_word... " >&6; }
   7271 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   7272 then :
   7273   printf %s "(cached) " >&6
   7274 else $as_nop
   7275   if test -n "$ac_ct_OBJDUMP"; then
   7276   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   7277 else
   7278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7279 for as_dir in $PATH
   7280 do
   7281   IFS=$as_save_IFS
   7282   case $as_dir in #(((
   7283     '') as_dir=./ ;;
   7284     */) ;;
   7285     *) as_dir=$as_dir/ ;;
   7286   esac
   7287     for ac_exec_ext in '' $ac_executable_extensions; do
   7288   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7289     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   7290     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7291     break 2
   7292   fi
   7293 done
   7294   done
   7295 IFS=$as_save_IFS
   7296 
   7297 fi
   7298 fi
   7299 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   7300 if test -n "$ac_ct_OBJDUMP"; then
   7301   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   7302 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   7303 else
   7304   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7305 printf "%s\n" "no" >&6; }
   7306 fi
   7307 
   7308   if test "x$ac_ct_OBJDUMP" = x; then
   7309     OBJDUMP="false"
   7310   else
   7311     case $cross_compiling:$ac_tool_warned in
   7312 yes:)
   7313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7314 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7315 ac_tool_warned=yes ;;
   7316 esac
   7317     OBJDUMP=$ac_ct_OBJDUMP
   7318   fi
   7319 else
   7320   OBJDUMP="$ac_cv_prog_OBJDUMP"
   7321 fi
   7322 
   7323 test -z "$OBJDUMP" && OBJDUMP=objdump
   7324 
   7325 
   7326 
   7327 
   7328 
   7329 
   7330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   7331 printf %s "checking how to recognize dependent libraries... " >&6; }
   7332 if test ${lt_cv_deplibs_check_method+y}
   7333 then :
   7334   printf %s "(cached) " >&6
   7335 else $as_nop
   7336   lt_cv_file_magic_cmd='$MAGIC_CMD'
   7337 lt_cv_file_magic_test_file=
   7338 lt_cv_deplibs_check_method='unknown'
   7339 # Need to set the preceding variable on all platforms that support
   7340 # interlibrary dependencies.
   7341 # 'none' -- dependencies not supported.
   7342 # 'unknown' -- same as none, but documents that we really don't know.
   7343 # 'pass_all' -- all dependencies passed with no checks.
   7344 # 'test_compile' -- check by making test program.
   7345 # 'file_magic [[regex]]' -- check by looking for files in library path
   7346 # that responds to the $file_magic_cmd with a given extended regex.
   7347 # If you have 'file' or equivalent on your system and you're not sure
   7348 # whether 'pass_all' will *always* work, you probably want this one.
   7349 
   7350 case $host_os in
   7351 aix[4-9]*)
   7352   lt_cv_deplibs_check_method=pass_all
   7353   ;;
   7354 
   7355 beos*)
   7356   lt_cv_deplibs_check_method=pass_all
   7357   ;;
   7358 
   7359 bsdi[45]*)
   7360   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   7361   lt_cv_file_magic_cmd='/usr/bin/file -L'
   7362   lt_cv_file_magic_test_file=/shlib/libc.so
   7363   ;;
   7364 
   7365 cygwin*)
   7366   # func_win32_libid is a shell function defined in ltmain.sh
   7367   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   7368   lt_cv_file_magic_cmd='func_win32_libid'
   7369   ;;
   7370 
   7371 mingw* | pw32*)
   7372   # Base MSYS/MinGW do not provide the 'file' command needed by
   7373   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   7374   # unless we find 'file', for example because we are cross-compiling.
   7375   if ( file / ) >/dev/null 2>&1; then
   7376     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   7377     lt_cv_file_magic_cmd='func_win32_libid'
   7378   else
   7379     # Keep this pattern in sync with the one in func_win32_libid.
   7380     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   7381     lt_cv_file_magic_cmd='$OBJDUMP -f'
   7382   fi
   7383   ;;
   7384 
   7385 cegcc*)
   7386   # use the weaker test based on 'objdump'. See mingw*.
   7387   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   7388   lt_cv_file_magic_cmd='$OBJDUMP -f'
   7389   ;;
   7390 
   7391 darwin* | rhapsody*)
   7392   lt_cv_deplibs_check_method=pass_all
   7393   ;;
   7394 
   7395 freebsd* | dragonfly*)
   7396   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   7397     case $host_cpu in
   7398     i*86 )
   7399       # Not sure whether the presence of OpenBSD here was a mistake.
   7400       # Let's accept both of them until this is cleared up.
   7401       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   7402       lt_cv_file_magic_cmd=/usr/bin/file
   7403       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   7404       ;;
   7405     esac
   7406   else
   7407     lt_cv_deplibs_check_method=pass_all
   7408   fi
   7409   ;;
   7410 
   7411 haiku*)
   7412   lt_cv_deplibs_check_method=pass_all
   7413   ;;
   7414 
   7415 hpux10.20* | hpux11*)
   7416   lt_cv_file_magic_cmd=/usr/bin/file
   7417   case $host_cpu in
   7418   ia64*)
   7419     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   7420     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   7421     ;;
   7422   hppa*64*)
   7423     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]'
   7424     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   7425     ;;
   7426   *)
   7427     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   7428     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   7429     ;;
   7430   esac
   7431   ;;
   7432 
   7433 interix[3-9]*)
   7434   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   7435   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   7436   ;;
   7437 
   7438 irix5* | irix6* | nonstopux*)
   7439   case $LD in
   7440   *-32|*"-32 ") libmagic=32-bit;;
   7441   *-n32|*"-n32 ") libmagic=N32;;
   7442   *-64|*"-64 ") libmagic=64-bit;;
   7443   *) libmagic=never-match;;
   7444   esac
   7445   lt_cv_deplibs_check_method=pass_all
   7446   ;;
   7447 
   7448 # This must be glibc/ELF.
   7449 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   7450   lt_cv_deplibs_check_method=pass_all
   7451   ;;
   7452 
   7453 netbsd*)
   7454   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   7455     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   7456   else
   7457     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   7458   fi
   7459   ;;
   7460 
   7461 newos6*)
   7462   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   7463   lt_cv_file_magic_cmd=/usr/bin/file
   7464   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   7465   ;;
   7466 
   7467 *nto* | *qnx*)
   7468   lt_cv_deplibs_check_method=pass_all
   7469   ;;
   7470 
   7471 openbsd* | bitrig*)
   7472   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   7473     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   7474   else
   7475     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   7476   fi
   7477   ;;
   7478 
   7479 osf3* | osf4* | osf5*)
   7480   lt_cv_deplibs_check_method=pass_all
   7481   ;;
   7482 
   7483 rdos*)
   7484   lt_cv_deplibs_check_method=pass_all
   7485   ;;
   7486 
   7487 solaris*)
   7488   lt_cv_deplibs_check_method=pass_all
   7489   ;;
   7490 
   7491 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   7492   lt_cv_deplibs_check_method=pass_all
   7493   ;;
   7494 
   7495 sysv4 | sysv4.3*)
   7496   case $host_vendor in
   7497   motorola)
   7498     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]'
   7499     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   7500     ;;
   7501   ncr)
   7502     lt_cv_deplibs_check_method=pass_all
   7503     ;;
   7504   sequent)
   7505     lt_cv_file_magic_cmd='/bin/file'
   7506     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   7507     ;;
   7508   sni)
   7509     lt_cv_file_magic_cmd='/bin/file'
   7510     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   7511     lt_cv_file_magic_test_file=/lib/libc.so
   7512     ;;
   7513   siemens)
   7514     lt_cv_deplibs_check_method=pass_all
   7515     ;;
   7516   pc)
   7517     lt_cv_deplibs_check_method=pass_all
   7518     ;;
   7519   esac
   7520   ;;
   7521 
   7522 tpf*)
   7523   lt_cv_deplibs_check_method=pass_all
   7524   ;;
   7525 os2*)
   7526   lt_cv_deplibs_check_method=pass_all
   7527   ;;
   7528 esac
   7529 
   7530 fi
   7531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   7532 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   7533 
   7534 file_magic_glob=
   7535 want_nocaseglob=no
   7536 if test "$build" = "$host"; then
   7537   case $host_os in
   7538   mingw* | pw32*)
   7539     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   7540       want_nocaseglob=yes
   7541     else
   7542       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   7543     fi
   7544     ;;
   7545   esac
   7546 fi
   7547 
   7548 file_magic_cmd=$lt_cv_file_magic_cmd
   7549 deplibs_check_method=$lt_cv_deplibs_check_method
   7550 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   7551 
   7552 
   7553 
   7554 
   7555 
   7556 
   7557 
   7558 
   7559 
   7560 
   7561 
   7562 
   7563 
   7564 
   7565 
   7566 
   7567 
   7568 
   7569 
   7570 
   7571 
   7572 
   7573 if test -n "$ac_tool_prefix"; then
   7574   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   7575 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   7576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7577 printf %s "checking for $ac_word... " >&6; }
   7578 if test ${ac_cv_prog_DLLTOOL+y}
   7579 then :
   7580   printf %s "(cached) " >&6
   7581 else $as_nop
   7582   if test -n "$DLLTOOL"; then
   7583   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   7584 else
   7585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7586 for as_dir in $PATH
   7587 do
   7588   IFS=$as_save_IFS
   7589   case $as_dir in #(((
   7590     '') as_dir=./ ;;
   7591     */) ;;
   7592     *) as_dir=$as_dir/ ;;
   7593   esac
   7594     for ac_exec_ext in '' $ac_executable_extensions; do
   7595   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7596     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   7597     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7598     break 2
   7599   fi
   7600 done
   7601   done
   7602 IFS=$as_save_IFS
   7603 
   7604 fi
   7605 fi
   7606 DLLTOOL=$ac_cv_prog_DLLTOOL
   7607 if test -n "$DLLTOOL"; then
   7608   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   7609 printf "%s\n" "$DLLTOOL" >&6; }
   7610 else
   7611   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7612 printf "%s\n" "no" >&6; }
   7613 fi
   7614 
   7615 
   7616 fi
   7617 if test -z "$ac_cv_prog_DLLTOOL"; then
   7618   ac_ct_DLLTOOL=$DLLTOOL
   7619   # Extract the first word of "dlltool", so it can be a program name with args.
   7620 set dummy dlltool; ac_word=$2
   7621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7622 printf %s "checking for $ac_word... " >&6; }
   7623 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   7624 then :
   7625   printf %s "(cached) " >&6
   7626 else $as_nop
   7627   if test -n "$ac_ct_DLLTOOL"; then
   7628   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   7629 else
   7630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7631 for as_dir in $PATH
   7632 do
   7633   IFS=$as_save_IFS
   7634   case $as_dir in #(((
   7635     '') as_dir=./ ;;
   7636     */) ;;
   7637     *) as_dir=$as_dir/ ;;
   7638   esac
   7639     for ac_exec_ext in '' $ac_executable_extensions; do
   7640   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7641     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   7642     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7643     break 2
   7644   fi
   7645 done
   7646   done
   7647 IFS=$as_save_IFS
   7648 
   7649 fi
   7650 fi
   7651 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   7652 if test -n "$ac_ct_DLLTOOL"; then
   7653   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   7654 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   7655 else
   7656   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7657 printf "%s\n" "no" >&6; }
   7658 fi
   7659 
   7660   if test "x$ac_ct_DLLTOOL" = x; then
   7661     DLLTOOL="false"
   7662   else
   7663     case $cross_compiling:$ac_tool_warned in
   7664 yes:)
   7665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7666 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7667 ac_tool_warned=yes ;;
   7668 esac
   7669     DLLTOOL=$ac_ct_DLLTOOL
   7670   fi
   7671 else
   7672   DLLTOOL="$ac_cv_prog_DLLTOOL"
   7673 fi
   7674 
   7675 test -z "$DLLTOOL" && DLLTOOL=dlltool
   7676 
   7677 
   7678 
   7679 
   7680 
   7681 
   7682 
   7683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   7684 printf %s "checking how to associate runtime and link libraries... " >&6; }
   7685 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   7686 then :
   7687   printf %s "(cached) " >&6
   7688 else $as_nop
   7689   lt_cv_sharedlib_from_linklib_cmd='unknown'
   7690 
   7691 case $host_os in
   7692 cygwin* | mingw* | pw32* | cegcc*)
   7693   # two different shell functions defined in ltmain.sh;
   7694   # decide which one to use based on capabilities of $DLLTOOL
   7695   case `$DLLTOOL --help 2>&1` in
   7696   *--identify-strict*)
   7697     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   7698     ;;
   7699   *)
   7700     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   7701     ;;
   7702   esac
   7703   ;;
   7704 *)
   7705   # fallback: assume linklib IS sharedlib
   7706   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   7707   ;;
   7708 esac
   7709 
   7710 fi
   7711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   7712 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   7713 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   7714 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   7715 
   7716 
   7717 
   7718 
   7719 
   7720 
   7721 
   7722 if test -n "$ac_tool_prefix"; then
   7723   for ac_prog in ar
   7724   do
   7725     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   7726 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   7727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7728 printf %s "checking for $ac_word... " >&6; }
   7729 if test ${ac_cv_prog_AR+y}
   7730 then :
   7731   printf %s "(cached) " >&6
   7732 else $as_nop
   7733   if test -n "$AR"; then
   7734   ac_cv_prog_AR="$AR" # Let the user override the test.
   7735 else
   7736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7737 for as_dir in $PATH
   7738 do
   7739   IFS=$as_save_IFS
   7740   case $as_dir in #(((
   7741     '') as_dir=./ ;;
   7742     */) ;;
   7743     *) as_dir=$as_dir/ ;;
   7744   esac
   7745     for ac_exec_ext in '' $ac_executable_extensions; do
   7746   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7747     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   7748     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7749     break 2
   7750   fi
   7751 done
   7752   done
   7753 IFS=$as_save_IFS
   7754 
   7755 fi
   7756 fi
   7757 AR=$ac_cv_prog_AR
   7758 if test -n "$AR"; then
   7759   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   7760 printf "%s\n" "$AR" >&6; }
   7761 else
   7762   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7763 printf "%s\n" "no" >&6; }
   7764 fi
   7765 
   7766 
   7767     test -n "$AR" && break
   7768   done
   7769 fi
   7770 if test -z "$AR"; then
   7771   ac_ct_AR=$AR
   7772   for ac_prog in ar
   7773 do
   7774   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7775 set dummy $ac_prog; ac_word=$2
   7776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7777 printf %s "checking for $ac_word... " >&6; }
   7778 if test ${ac_cv_prog_ac_ct_AR+y}
   7779 then :
   7780   printf %s "(cached) " >&6
   7781 else $as_nop
   7782   if test -n "$ac_ct_AR"; then
   7783   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   7784 else
   7785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7786 for as_dir in $PATH
   7787 do
   7788   IFS=$as_save_IFS
   7789   case $as_dir in #(((
   7790     '') as_dir=./ ;;
   7791     */) ;;
   7792     *) as_dir=$as_dir/ ;;
   7793   esac
   7794     for ac_exec_ext in '' $ac_executable_extensions; do
   7795   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7796     ac_cv_prog_ac_ct_AR="$ac_prog"
   7797     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7798     break 2
   7799   fi
   7800 done
   7801   done
   7802 IFS=$as_save_IFS
   7803 
   7804 fi
   7805 fi
   7806 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   7807 if test -n "$ac_ct_AR"; then
   7808   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   7809 printf "%s\n" "$ac_ct_AR" >&6; }
   7810 else
   7811   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7812 printf "%s\n" "no" >&6; }
   7813 fi
   7814 
   7815 
   7816   test -n "$ac_ct_AR" && break
   7817 done
   7818 
   7819   if test "x$ac_ct_AR" = x; then
   7820     AR="false"
   7821   else
   7822     case $cross_compiling:$ac_tool_warned in
   7823 yes:)
   7824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7825 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7826 ac_tool_warned=yes ;;
   7827 esac
   7828     AR=$ac_ct_AR
   7829   fi
   7830 fi
   7831 
   7832 : ${AR=ar}
   7833 : ${AR_FLAGS=cru}
   7834 
   7835 
   7836 
   7837 
   7838 
   7839 
   7840 
   7841 
   7842 
   7843 
   7844 
   7845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   7846 printf %s "checking for archiver @FILE support... " >&6; }
   7847 if test ${lt_cv_ar_at_file+y}
   7848 then :
   7849   printf %s "(cached) " >&6
   7850 else $as_nop
   7851   lt_cv_ar_at_file=no
   7852    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7853 /* end confdefs.h.  */
   7854 
   7855 int
   7856 main (void)
   7857 {
   7858 
   7859   ;
   7860   return 0;
   7861 }
   7862 _ACEOF
   7863 if ac_fn_c_try_compile "$LINENO"
   7864 then :
   7865   echo conftest.$ac_objext > conftest.lst
   7866       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   7867       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   7868   (eval $lt_ar_try) 2>&5
   7869   ac_status=$?
   7870   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7871   test $ac_status = 0; }
   7872       if test 0 -eq "$ac_status"; then
   7873 	# Ensure the archiver fails upon bogus file names.
   7874 	rm -f conftest.$ac_objext libconftest.a
   7875 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   7876   (eval $lt_ar_try) 2>&5
   7877   ac_status=$?
   7878   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7879   test $ac_status = 0; }
   7880 	if test 0 -ne "$ac_status"; then
   7881           lt_cv_ar_at_file=@
   7882         fi
   7883       fi
   7884       rm -f conftest.* libconftest.a
   7885 
   7886 fi
   7887 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7888 
   7889 fi
   7890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   7891 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   7892 
   7893 if test no = "$lt_cv_ar_at_file"; then
   7894   archiver_list_spec=
   7895 else
   7896   archiver_list_spec=$lt_cv_ar_at_file
   7897 fi
   7898 
   7899 
   7900 
   7901 
   7902 
   7903 
   7904 
   7905 if test -n "$ac_tool_prefix"; then
   7906   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   7907 set dummy ${ac_tool_prefix}strip; ac_word=$2
   7908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7909 printf %s "checking for $ac_word... " >&6; }
   7910 if test ${ac_cv_prog_STRIP+y}
   7911 then :
   7912   printf %s "(cached) " >&6
   7913 else $as_nop
   7914   if test -n "$STRIP"; then
   7915   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   7916 else
   7917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7918 for as_dir in $PATH
   7919 do
   7920   IFS=$as_save_IFS
   7921   case $as_dir in #(((
   7922     '') as_dir=./ ;;
   7923     */) ;;
   7924     *) as_dir=$as_dir/ ;;
   7925   esac
   7926     for ac_exec_ext in '' $ac_executable_extensions; do
   7927   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7928     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7929     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7930     break 2
   7931   fi
   7932 done
   7933   done
   7934 IFS=$as_save_IFS
   7935 
   7936 fi
   7937 fi
   7938 STRIP=$ac_cv_prog_STRIP
   7939 if test -n "$STRIP"; then
   7940   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   7941 printf "%s\n" "$STRIP" >&6; }
   7942 else
   7943   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7944 printf "%s\n" "no" >&6; }
   7945 fi
   7946 
   7947 
   7948 fi
   7949 if test -z "$ac_cv_prog_STRIP"; then
   7950   ac_ct_STRIP=$STRIP
   7951   # Extract the first word of "strip", so it can be a program name with args.
   7952 set dummy strip; ac_word=$2
   7953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7954 printf %s "checking for $ac_word... " >&6; }
   7955 if test ${ac_cv_prog_ac_ct_STRIP+y}
   7956 then :
   7957   printf %s "(cached) " >&6
   7958 else $as_nop
   7959   if test -n "$ac_ct_STRIP"; then
   7960   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7961 else
   7962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7963 for as_dir in $PATH
   7964 do
   7965   IFS=$as_save_IFS
   7966   case $as_dir in #(((
   7967     '') as_dir=./ ;;
   7968     */) ;;
   7969     *) as_dir=$as_dir/ ;;
   7970   esac
   7971     for ac_exec_ext in '' $ac_executable_extensions; do
   7972   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7973     ac_cv_prog_ac_ct_STRIP="strip"
   7974     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7975     break 2
   7976   fi
   7977 done
   7978   done
   7979 IFS=$as_save_IFS
   7980 
   7981 fi
   7982 fi
   7983 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7984 if test -n "$ac_ct_STRIP"; then
   7985   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   7986 printf "%s\n" "$ac_ct_STRIP" >&6; }
   7987 else
   7988   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7989 printf "%s\n" "no" >&6; }
   7990 fi
   7991 
   7992   if test "x$ac_ct_STRIP" = x; then
   7993     STRIP=":"
   7994   else
   7995     case $cross_compiling:$ac_tool_warned in
   7996 yes:)
   7997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7998 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7999 ac_tool_warned=yes ;;
   8000 esac
   8001     STRIP=$ac_ct_STRIP
   8002   fi
   8003 else
   8004   STRIP="$ac_cv_prog_STRIP"
   8005 fi
   8006 
   8007 test -z "$STRIP" && STRIP=:
   8008 
   8009 
   8010 
   8011 
   8012 
   8013 
   8014 if test -n "$ac_tool_prefix"; then
   8015   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   8016 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   8017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8018 printf %s "checking for $ac_word... " >&6; }
   8019 if test ${ac_cv_prog_RANLIB+y}
   8020 then :
   8021   printf %s "(cached) " >&6
   8022 else $as_nop
   8023   if test -n "$RANLIB"; then
   8024   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   8025 else
   8026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8027 for as_dir in $PATH
   8028 do
   8029   IFS=$as_save_IFS
   8030   case $as_dir in #(((
   8031     '') as_dir=./ ;;
   8032     */) ;;
   8033     *) as_dir=$as_dir/ ;;
   8034   esac
   8035     for ac_exec_ext in '' $ac_executable_extensions; do
   8036   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8037     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   8038     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8039     break 2
   8040   fi
   8041 done
   8042   done
   8043 IFS=$as_save_IFS
   8044 
   8045 fi
   8046 fi
   8047 RANLIB=$ac_cv_prog_RANLIB
   8048 if test -n "$RANLIB"; then
   8049   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   8050 printf "%s\n" "$RANLIB" >&6; }
   8051 else
   8052   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8053 printf "%s\n" "no" >&6; }
   8054 fi
   8055 
   8056 
   8057 fi
   8058 if test -z "$ac_cv_prog_RANLIB"; then
   8059   ac_ct_RANLIB=$RANLIB
   8060   # Extract the first word of "ranlib", so it can be a program name with args.
   8061 set dummy ranlib; ac_word=$2
   8062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8063 printf %s "checking for $ac_word... " >&6; }
   8064 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   8065 then :
   8066   printf %s "(cached) " >&6
   8067 else $as_nop
   8068   if test -n "$ac_ct_RANLIB"; then
   8069   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   8070 else
   8071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8072 for as_dir in $PATH
   8073 do
   8074   IFS=$as_save_IFS
   8075   case $as_dir in #(((
   8076     '') as_dir=./ ;;
   8077     */) ;;
   8078     *) as_dir=$as_dir/ ;;
   8079   esac
   8080     for ac_exec_ext in '' $ac_executable_extensions; do
   8081   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8082     ac_cv_prog_ac_ct_RANLIB="ranlib"
   8083     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8084     break 2
   8085   fi
   8086 done
   8087   done
   8088 IFS=$as_save_IFS
   8089 
   8090 fi
   8091 fi
   8092 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   8093 if test -n "$ac_ct_RANLIB"; then
   8094   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   8095 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   8096 else
   8097   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8098 printf "%s\n" "no" >&6; }
   8099 fi
   8100 
   8101   if test "x$ac_ct_RANLIB" = x; then
   8102     RANLIB=":"
   8103   else
   8104     case $cross_compiling:$ac_tool_warned in
   8105 yes:)
   8106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8107 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8108 ac_tool_warned=yes ;;
   8109 esac
   8110     RANLIB=$ac_ct_RANLIB
   8111   fi
   8112 else
   8113   RANLIB="$ac_cv_prog_RANLIB"
   8114 fi
   8115 
   8116 test -z "$RANLIB" && RANLIB=:
   8117 
   8118 
   8119 
   8120 
   8121 
   8122 
   8123 # Determine commands to create old-style static archives.
   8124 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   8125 old_postinstall_cmds='chmod 644 $oldlib'
   8126 old_postuninstall_cmds=
   8127 
   8128 if test -n "$RANLIB"; then
   8129   case $host_os in
   8130   bitrig* | openbsd*)
   8131     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   8132     ;;
   8133   *)
   8134     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   8135     ;;
   8136   esac
   8137   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   8138 fi
   8139 
   8140 case $host_os in
   8141   darwin*)
   8142     lock_old_archive_extraction=yes ;;
   8143   *)
   8144     lock_old_archive_extraction=no ;;
   8145 esac
   8146 
   8147 
   8148 
   8149 
   8150 
   8151 
   8152 
   8153 
   8154 
   8155 
   8156 
   8157 
   8158 
   8159 
   8160 
   8161 
   8162 
   8163 
   8164 
   8165 
   8166 
   8167 
   8168 
   8169 
   8170 
   8171 
   8172 
   8173 
   8174 
   8175 
   8176 
   8177 
   8178 
   8179 
   8180 
   8181 
   8182 
   8183 
   8184 
   8185 # If no C compiler was specified, use CC.
   8186 LTCC=${LTCC-"$CC"}
   8187 
   8188 # If no C compiler flags were specified, use CFLAGS.
   8189 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8190 
   8191 # Allow CC to be a program name with arguments.
   8192 compiler=$CC
   8193 
   8194 
   8195 # Check for command to grab the raw symbol name followed by C symbol from nm.
   8196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   8197 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   8198 if test ${lt_cv_sys_global_symbol_pipe+y}
   8199 then :
   8200   printf %s "(cached) " >&6
   8201 else $as_nop
   8202 
   8203 # These are sane defaults that work on at least a few old systems.
   8204 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   8205 
   8206 # Character class describing NM global symbol codes.
   8207 symcode='[BCDEGRST]'
   8208 
   8209 # Regexp to match symbols that can be accessed directly from C.
   8210 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   8211 
   8212 # Define system-specific variables.
   8213 case $host_os in
   8214 aix*)
   8215   symcode='[BCDT]'
   8216   ;;
   8217 cygwin* | mingw* | pw32* | cegcc*)
   8218   symcode='[ABCDGISTW]'
   8219   ;;
   8220 hpux*)
   8221   if test ia64 = "$host_cpu"; then
   8222     symcode='[ABCDEGRST]'
   8223   fi
   8224   ;;
   8225 irix* | nonstopux*)
   8226   symcode='[BCDEGRST]'
   8227   ;;
   8228 osf*)
   8229   symcode='[BCDEGQRST]'
   8230   ;;
   8231 solaris*)
   8232   symcode='[BDRT]'
   8233   ;;
   8234 sco3.2v5*)
   8235   symcode='[DT]'
   8236   ;;
   8237 sysv4.2uw2*)
   8238   symcode='[DT]'
   8239   ;;
   8240 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   8241   symcode='[ABDT]'
   8242   ;;
   8243 sysv4)
   8244   symcode='[DFNSTU]'
   8245   ;;
   8246 esac
   8247 
   8248 # If we're using GNU nm, then use its standard symbol codes.
   8249 case `$NM -V 2>&1` in
   8250 *GNU* | *'with BFD'*)
   8251   symcode='[ABCDGIRSTW]' ;;
   8252 esac
   8253 
   8254 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   8255   # Gets list of data symbols to import.
   8256   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
   8257   # Adjust the below global symbol transforms to fixup imported variables.
   8258   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   8259   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   8260   lt_c_name_lib_hook="\
   8261   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   8262   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   8263 else
   8264   # Disable hooks by default.
   8265   lt_cv_sys_global_symbol_to_import=
   8266   lt_cdecl_hook=
   8267   lt_c_name_hook=
   8268   lt_c_name_lib_hook=
   8269 fi
   8270 
   8271 # Transform an extracted symbol line into a proper C declaration.
   8272 # Some systems (esp. on ia64) link data and code symbols differently,
   8273 # so use this general approach.
   8274 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
   8275 $lt_cdecl_hook\
   8276 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   8277 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   8278 
   8279 # Transform an extracted symbol line into symbol name and symbol address
   8280 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
   8281 $lt_c_name_hook\
   8282 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   8283 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   8284 
   8285 # Transform an extracted symbol line into symbol name with lib prefix and
   8286 # symbol address.
   8287 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
   8288 $lt_c_name_lib_hook\
   8289 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   8290 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   8291 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   8292 
   8293 # Handle CRLF in mingw tool chain
   8294 opt_cr=
   8295 case $build_os in
   8296 mingw*)
   8297   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   8298   ;;
   8299 esac
   8300 
   8301 # Try without a prefix underscore, then with it.
   8302 for ac_symprfx in "" "_"; do
   8303 
   8304   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   8305   symxfrm="\\1 $ac_symprfx\\2 \\2"
   8306 
   8307   # Write the raw and C identifiers.
   8308   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   8309     # Fake it for dumpbin and say T for any non-static function,
   8310     # D for any global variable and I for any imported variable.
   8311     # Also find C++ and __fastcall symbols from MSVC++,
   8312     # which start with @ or ?.
   8313     lt_cv_sys_global_symbol_pipe="$AWK '"\
   8314 "     {last_section=section; section=\$ 3};"\
   8315 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   8316 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   8317 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   8318 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   8319 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   8320 "     \$ 0!~/External *\|/{next};"\
   8321 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   8322 "     {if(hide[section]) next};"\
   8323 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   8324 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   8325 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   8326 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   8327 "     ' prfx=^$ac_symprfx"
   8328   else
   8329     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   8330   fi
   8331   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   8332 
   8333   # Check to see that the pipe works correctly.
   8334   pipe_works=no
   8335 
   8336   rm -f conftest*
   8337   cat > conftest.$ac_ext <<_LT_EOF
   8338 #ifdef __cplusplus
   8339 extern "C" {
   8340 #endif
   8341 char nm_test_var;
   8342 void nm_test_func(void);
   8343 void nm_test_func(void){}
   8344 #ifdef __cplusplus
   8345 }
   8346 #endif
   8347 int main(){nm_test_var='a';nm_test_func();return(0);}
   8348 _LT_EOF
   8349 
   8350   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8351   (eval $ac_compile) 2>&5
   8352   ac_status=$?
   8353   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8354   test $ac_status = 0; }; then
   8355     # Now try to grab the symbols.
   8356     nlist=conftest.nm
   8357     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   8358   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   8359   ac_status=$?
   8360   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8361   test $ac_status = 0; } && test -s "$nlist"; then
   8362       # Try sorting and uniquifying the output.
   8363       if sort "$nlist" | uniq > "$nlist"T; then
   8364 	mv -f "$nlist"T "$nlist"
   8365       else
   8366 	rm -f "$nlist"T
   8367       fi
   8368 
   8369       # Make sure that we snagged all the symbols we need.
   8370       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   8371 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   8372 	  cat <<_LT_EOF > conftest.$ac_ext
   8373 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   8374 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   8375 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   8376    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   8377 # define LT_DLSYM_CONST
   8378 #elif defined __osf__
   8379 /* This system does not cope well with relocations in const data.  */
   8380 # define LT_DLSYM_CONST
   8381 #else
   8382 # define LT_DLSYM_CONST const
   8383 #endif
   8384 
   8385 #ifdef __cplusplus
   8386 extern "C" {
   8387 #endif
   8388 
   8389 _LT_EOF
   8390 	  # Now generate the symbol file.
   8391 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   8392 
   8393 	  cat <<_LT_EOF >> conftest.$ac_ext
   8394 
   8395 /* The mapping between symbol names and symbols.  */
   8396 LT_DLSYM_CONST struct {
   8397   const char *name;
   8398   void       *address;
   8399 }
   8400 lt__PROGRAM__LTX_preloaded_symbols[] =
   8401 {
   8402   { "@PROGRAM@", (void *) 0 },
   8403 _LT_EOF
   8404 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   8405 	  cat <<\_LT_EOF >> conftest.$ac_ext
   8406   {0, (void *) 0}
   8407 };
   8408 
   8409 /* This works around a problem in FreeBSD linker */
   8410 #ifdef FREEBSD_WORKAROUND
   8411 static const void *lt_preloaded_setup() {
   8412   return lt__PROGRAM__LTX_preloaded_symbols;
   8413 }
   8414 #endif
   8415 
   8416 #ifdef __cplusplus
   8417 }
   8418 #endif
   8419 _LT_EOF
   8420 	  # Now try linking the two files.
   8421 	  mv conftest.$ac_objext conftstm.$ac_objext
   8422 	  lt_globsym_save_LIBS=$LIBS
   8423 	  lt_globsym_save_CFLAGS=$CFLAGS
   8424 	  LIBS=conftstm.$ac_objext
   8425 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   8426 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   8427   (eval $ac_link) 2>&5
   8428   ac_status=$?
   8429   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8430   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   8431 	    pipe_works=yes
   8432 	  fi
   8433 	  LIBS=$lt_globsym_save_LIBS
   8434 	  CFLAGS=$lt_globsym_save_CFLAGS
   8435 	else
   8436 	  echo "cannot find nm_test_func in $nlist" >&5
   8437 	fi
   8438       else
   8439 	echo "cannot find nm_test_var in $nlist" >&5
   8440       fi
   8441     else
   8442       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   8443     fi
   8444   else
   8445     echo "$progname: failed program was:" >&5
   8446     cat conftest.$ac_ext >&5
   8447   fi
   8448   rm -rf conftest* conftst*
   8449 
   8450   # Do not use the global_symbol_pipe unless it works.
   8451   if test yes = "$pipe_works"; then
   8452     break
   8453   else
   8454     lt_cv_sys_global_symbol_pipe=
   8455   fi
   8456 done
   8457 
   8458 fi
   8459 
   8460 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   8461   lt_cv_sys_global_symbol_to_cdecl=
   8462 fi
   8463 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   8464   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   8465 printf "%s\n" "failed" >&6; }
   8466 else
   8467   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   8468 printf "%s\n" "ok" >&6; }
   8469 fi
   8470 
   8471 # Response file support.
   8472 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   8473   nm_file_list_spec='@'
   8474 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   8475   nm_file_list_spec='@'
   8476 fi
   8477 
   8478 
   8479 
   8480 
   8481 
   8482 
   8483 
   8484 
   8485 
   8486 
   8487 
   8488 
   8489 
   8490 
   8491 
   8492 
   8493 
   8494 
   8495 
   8496 
   8497 
   8498 
   8499 
   8500 
   8501 
   8502 
   8503 
   8504 
   8505 
   8506 
   8507 
   8508 
   8509 
   8510 
   8511 
   8512 
   8513 
   8514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   8515 printf %s "checking for sysroot... " >&6; }
   8516 
   8517 # Check whether --with-sysroot was given.
   8518 if test ${with_sysroot+y}
   8519 then :
   8520   withval=$with_sysroot;
   8521 else $as_nop
   8522   with_sysroot=no
   8523 fi
   8524 
   8525 
   8526 lt_sysroot=
   8527 case $with_sysroot in #(
   8528  yes)
   8529    if test yes = "$GCC"; then
   8530      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   8531    fi
   8532    ;; #(
   8533  /*)
   8534    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   8535    ;; #(
   8536  no|'')
   8537    ;; #(
   8538  *)
   8539    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   8540 printf "%s\n" "$with_sysroot" >&6; }
   8541    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   8542    ;;
   8543 esac
   8544 
   8545  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   8546 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   8547 
   8548 
   8549 
   8550 
   8551 
   8552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   8553 printf %s "checking for a working dd... " >&6; }
   8554 if test ${ac_cv_path_lt_DD+y}
   8555 then :
   8556   printf %s "(cached) " >&6
   8557 else $as_nop
   8558   printf 0123456789abcdef0123456789abcdef >conftest.i
   8559 cat conftest.i conftest.i >conftest2.i
   8560 : ${lt_DD:=$DD}
   8561 if test -z "$lt_DD"; then
   8562   ac_path_lt_DD_found=false
   8563   # Loop through the user's path and test for each of PROGNAME-LIST
   8564   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8565 for as_dir in $PATH
   8566 do
   8567   IFS=$as_save_IFS
   8568   case $as_dir in #(((
   8569     '') as_dir=./ ;;
   8570     */) ;;
   8571     *) as_dir=$as_dir/ ;;
   8572   esac
   8573     for ac_prog in dd
   8574    do
   8575     for ac_exec_ext in '' $ac_executable_extensions; do
   8576       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   8577       as_fn_executable_p "$ac_path_lt_DD" || continue
   8578 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   8579   cmp -s conftest.i conftest.out \
   8580   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   8581 fi
   8582       $ac_path_lt_DD_found && break 3
   8583     done
   8584   done
   8585   done
   8586 IFS=$as_save_IFS
   8587   if test -z "$ac_cv_path_lt_DD"; then
   8588     :
   8589   fi
   8590 else
   8591   ac_cv_path_lt_DD=$lt_DD
   8592 fi
   8593 
   8594 rm -f conftest.i conftest2.i conftest.out
   8595 fi
   8596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   8597 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   8598 
   8599 
   8600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   8601 printf %s "checking how to truncate binary pipes... " >&6; }
   8602 if test ${lt_cv_truncate_bin+y}
   8603 then :
   8604   printf %s "(cached) " >&6
   8605 else $as_nop
   8606   printf 0123456789abcdef0123456789abcdef >conftest.i
   8607 cat conftest.i conftest.i >conftest2.i
   8608 lt_cv_truncate_bin=
   8609 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   8610   cmp -s conftest.i conftest.out \
   8611   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   8612 fi
   8613 rm -f conftest.i conftest2.i conftest.out
   8614 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   8615 fi
   8616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   8617 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   8618 
   8619 
   8620 
   8621 
   8622 
   8623 
   8624 
   8625 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   8626 func_cc_basename ()
   8627 {
   8628     for cc_temp in $*""; do
   8629       case $cc_temp in
   8630         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8631         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8632         \-*) ;;
   8633         *) break;;
   8634       esac
   8635     done
   8636     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   8637 }
   8638 
   8639 # Check whether --enable-libtool-lock was given.
   8640 if test ${enable_libtool_lock+y}
   8641 then :
   8642   enableval=$enable_libtool_lock;
   8643 fi
   8644 
   8645 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   8646 
   8647 # Some flags need to be propagated to the compiler or linker for good
   8648 # libtool support.
   8649 case $host in
   8650 ia64-*-hpux*)
   8651   # Find out what ABI is being produced by ac_compile, and set mode
   8652   # options accordingly.
   8653   echo 'int i;' > conftest.$ac_ext
   8654   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8655   (eval $ac_compile) 2>&5
   8656   ac_status=$?
   8657   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8658   test $ac_status = 0; }; then
   8659     case `/usr/bin/file conftest.$ac_objext` in
   8660       *ELF-32*)
   8661 	HPUX_IA64_MODE=32
   8662 	;;
   8663       *ELF-64*)
   8664 	HPUX_IA64_MODE=64
   8665 	;;
   8666     esac
   8667   fi
   8668   rm -rf conftest*
   8669   ;;
   8670 *-*-irix6*)
   8671   # Find out what ABI is being produced by ac_compile, and set linker
   8672   # options accordingly.
   8673   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   8674   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8675   (eval $ac_compile) 2>&5
   8676   ac_status=$?
   8677   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8678   test $ac_status = 0; }; then
   8679     if test yes = "$lt_cv_prog_gnu_ld"; then
   8680       case `/usr/bin/file conftest.$ac_objext` in
   8681 	*32-bit*)
   8682 	  LD="${LD-ld} -melf32bsmip"
   8683 	  ;;
   8684 	*N32*)
   8685 	  LD="${LD-ld} -melf32bmipn32"
   8686 	  ;;
   8687 	*64-bit*)
   8688 	  LD="${LD-ld} -melf64bmip"
   8689 	;;
   8690       esac
   8691     else
   8692       case `/usr/bin/file conftest.$ac_objext` in
   8693 	*32-bit*)
   8694 	  LD="${LD-ld} -32"
   8695 	  ;;
   8696 	*N32*)
   8697 	  LD="${LD-ld} -n32"
   8698 	  ;;
   8699 	*64-bit*)
   8700 	  LD="${LD-ld} -64"
   8701 	  ;;
   8702       esac
   8703     fi
   8704   fi
   8705   rm -rf conftest*
   8706   ;;
   8707 
   8708 mips64*-*linux*)
   8709   # Find out what ABI is being produced by ac_compile, and set linker
   8710   # options accordingly.
   8711   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   8712   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8713   (eval $ac_compile) 2>&5
   8714   ac_status=$?
   8715   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8716   test $ac_status = 0; }; then
   8717     emul=elf
   8718     case `/usr/bin/file conftest.$ac_objext` in
   8719       *32-bit*)
   8720 	emul="${emul}32"
   8721 	;;
   8722       *64-bit*)
   8723 	emul="${emul}64"
   8724 	;;
   8725     esac
   8726     case `/usr/bin/file conftest.$ac_objext` in
   8727       *MSB*)
   8728 	emul="${emul}btsmip"
   8729 	;;
   8730       *LSB*)
   8731 	emul="${emul}ltsmip"
   8732 	;;
   8733     esac
   8734     case `/usr/bin/file conftest.$ac_objext` in
   8735       *N32*)
   8736 	emul="${emul}n32"
   8737 	;;
   8738     esac
   8739     LD="${LD-ld} -m $emul"
   8740   fi
   8741   rm -rf conftest*
   8742   ;;
   8743 
   8744 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   8745 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   8746   # Find out what ABI is being produced by ac_compile, and set linker
   8747   # options accordingly.  Note that the listed cases only cover the
   8748   # situations where additional linker options are needed (such as when
   8749   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   8750   # vice versa); the common cases where no linker options are needed do
   8751   # not appear in the list.
   8752   echo 'int i;' > conftest.$ac_ext
   8753   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8754   (eval $ac_compile) 2>&5
   8755   ac_status=$?
   8756   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8757   test $ac_status = 0; }; then
   8758     case `/usr/bin/file conftest.o` in
   8759       *32-bit*)
   8760 	case $host in
   8761 	  x86_64-*kfreebsd*-gnu)
   8762 	    LD="${LD-ld} -m elf_i386_fbsd"
   8763 	    ;;
   8764 	  x86_64-*linux*)
   8765 	    case `/usr/bin/file conftest.o` in
   8766 	      *x86-64*)
   8767 		LD="${LD-ld} -m elf32_x86_64"
   8768 		;;
   8769 	      *)
   8770 		LD="${LD-ld} -m elf_i386"
   8771 		;;
   8772 	    esac
   8773 	    ;;
   8774 	  powerpc64le-*linux*)
   8775 	    LD="${LD-ld} -m elf32lppclinux"
   8776 	    ;;
   8777 	  powerpc64-*linux*)
   8778 	    LD="${LD-ld} -m elf32ppclinux"
   8779 	    ;;
   8780 	  s390x-*linux*)
   8781 	    LD="${LD-ld} -m elf_s390"
   8782 	    ;;
   8783 	  sparc64-*linux*)
   8784 	    LD="${LD-ld} -m elf32_sparc"
   8785 	    ;;
   8786 	esac
   8787 	;;
   8788       *64-bit*)
   8789 	case $host in
   8790 	  x86_64-*kfreebsd*-gnu)
   8791 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   8792 	    ;;
   8793 	  x86_64-*linux*)
   8794 	    LD="${LD-ld} -m elf_x86_64"
   8795 	    ;;
   8796 	  powerpcle-*linux*)
   8797 	    LD="${LD-ld} -m elf64lppc"
   8798 	    ;;
   8799 	  powerpc-*linux*)
   8800 	    LD="${LD-ld} -m elf64ppc"
   8801 	    ;;
   8802 	  s390*-*linux*|s390*-*tpf*)
   8803 	    LD="${LD-ld} -m elf64_s390"
   8804 	    ;;
   8805 	  sparc*-*linux*)
   8806 	    LD="${LD-ld} -m elf64_sparc"
   8807 	    ;;
   8808 	esac
   8809 	;;
   8810     esac
   8811   fi
   8812   rm -rf conftest*
   8813   ;;
   8814 
   8815 *-*-sco3.2v5*)
   8816   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   8817   SAVE_CFLAGS=$CFLAGS
   8818   CFLAGS="$CFLAGS -belf"
   8819   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   8820 printf %s "checking whether the C compiler needs -belf... " >&6; }
   8821 if test ${lt_cv_cc_needs_belf+y}
   8822 then :
   8823   printf %s "(cached) " >&6
   8824 else $as_nop
   8825   ac_ext=c
   8826 ac_cpp='$CPP $CPPFLAGS'
   8827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8830 
   8831      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8832 /* end confdefs.h.  */
   8833 
   8834 int
   8835 main (void)
   8836 {
   8837 
   8838   ;
   8839   return 0;
   8840 }
   8841 _ACEOF
   8842 if ac_fn_c_try_link "$LINENO"
   8843 then :
   8844   lt_cv_cc_needs_belf=yes
   8845 else $as_nop
   8846   lt_cv_cc_needs_belf=no
   8847 fi
   8848 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8849     conftest$ac_exeext conftest.$ac_ext
   8850      ac_ext=c
   8851 ac_cpp='$CPP $CPPFLAGS'
   8852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8855 
   8856 fi
   8857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   8858 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   8859   if test yes != "$lt_cv_cc_needs_belf"; then
   8860     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   8861     CFLAGS=$SAVE_CFLAGS
   8862   fi
   8863   ;;
   8864 *-*solaris*)
   8865   # Find out what ABI is being produced by ac_compile, and set linker
   8866   # options accordingly.
   8867   echo 'int i;' > conftest.$ac_ext
   8868   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8869   (eval $ac_compile) 2>&5
   8870   ac_status=$?
   8871   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8872   test $ac_status = 0; }; then
   8873     case `/usr/bin/file conftest.o` in
   8874     *64-bit*)
   8875       case $lt_cv_prog_gnu_ld in
   8876       yes*)
   8877         case $host in
   8878         i?86-*-solaris*|x86_64-*-solaris*)
   8879           LD="${LD-ld} -m elf_x86_64"
   8880           ;;
   8881         sparc*-*-solaris*)
   8882           LD="${LD-ld} -m elf64_sparc"
   8883           ;;
   8884         esac
   8885         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   8886         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   8887           LD=${LD-ld}_sol2
   8888         fi
   8889         ;;
   8890       *)
   8891 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   8892 	  LD="${LD-ld} -64"
   8893 	fi
   8894 	;;
   8895       esac
   8896       ;;
   8897     esac
   8898   fi
   8899   rm -rf conftest*
   8900   ;;
   8901 esac
   8902 
   8903 need_locks=$enable_libtool_lock
   8904 
   8905 if test -n "$ac_tool_prefix"; then
   8906   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   8907 set dummy ${ac_tool_prefix}mt; ac_word=$2
   8908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8909 printf %s "checking for $ac_word... " >&6; }
   8910 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   8911 then :
   8912   printf %s "(cached) " >&6
   8913 else $as_nop
   8914   if test -n "$MANIFEST_TOOL"; then
   8915   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   8916 else
   8917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8918 for as_dir in $PATH
   8919 do
   8920   IFS=$as_save_IFS
   8921   case $as_dir in #(((
   8922     '') as_dir=./ ;;
   8923     */) ;;
   8924     *) as_dir=$as_dir/ ;;
   8925   esac
   8926     for ac_exec_ext in '' $ac_executable_extensions; do
   8927   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8928     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   8929     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8930     break 2
   8931   fi
   8932 done
   8933   done
   8934 IFS=$as_save_IFS
   8935 
   8936 fi
   8937 fi
   8938 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   8939 if test -n "$MANIFEST_TOOL"; then
   8940   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   8941 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   8942 else
   8943   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8944 printf "%s\n" "no" >&6; }
   8945 fi
   8946 
   8947 
   8948 fi
   8949 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   8950   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   8951   # Extract the first word of "mt", so it can be a program name with args.
   8952 set dummy mt; ac_word=$2
   8953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8954 printf %s "checking for $ac_word... " >&6; }
   8955 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   8956 then :
   8957   printf %s "(cached) " >&6
   8958 else $as_nop
   8959   if test -n "$ac_ct_MANIFEST_TOOL"; then
   8960   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   8961 else
   8962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8963 for as_dir in $PATH
   8964 do
   8965   IFS=$as_save_IFS
   8966   case $as_dir in #(((
   8967     '') as_dir=./ ;;
   8968     */) ;;
   8969     *) as_dir=$as_dir/ ;;
   8970   esac
   8971     for ac_exec_ext in '' $ac_executable_extensions; do
   8972   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8973     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   8974     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8975     break 2
   8976   fi
   8977 done
   8978   done
   8979 IFS=$as_save_IFS
   8980 
   8981 fi
   8982 fi
   8983 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   8984 if test -n "$ac_ct_MANIFEST_TOOL"; then
   8985   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   8986 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   8987 else
   8988   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8989 printf "%s\n" "no" >&6; }
   8990 fi
   8991 
   8992   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   8993     MANIFEST_TOOL=":"
   8994   else
   8995     case $cross_compiling:$ac_tool_warned in
   8996 yes:)
   8997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8998 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8999 ac_tool_warned=yes ;;
   9000 esac
   9001     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   9002   fi
   9003 else
   9004   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   9005 fi
   9006 
   9007 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   9008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   9009 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   9010 if test ${lt_cv_path_mainfest_tool+y}
   9011 then :
   9012   printf %s "(cached) " >&6
   9013 else $as_nop
   9014   lt_cv_path_mainfest_tool=no
   9015   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   9016   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   9017   cat conftest.err >&5
   9018   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   9019     lt_cv_path_mainfest_tool=yes
   9020   fi
   9021   rm -f conftest*
   9022 fi
   9023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   9024 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
   9025 if test yes != "$lt_cv_path_mainfest_tool"; then
   9026   MANIFEST_TOOL=:
   9027 fi
   9028 
   9029 
   9030 
   9031 
   9032 
   9033 
   9034   case $host_os in
   9035     rhapsody* | darwin*)
   9036     if test -n "$ac_tool_prefix"; then
   9037   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   9038 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   9039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9040 printf %s "checking for $ac_word... " >&6; }
   9041 if test ${ac_cv_prog_DSYMUTIL+y}
   9042 then :
   9043   printf %s "(cached) " >&6
   9044 else $as_nop
   9045   if test -n "$DSYMUTIL"; then
   9046   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   9047 else
   9048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9049 for as_dir in $PATH
   9050 do
   9051   IFS=$as_save_IFS
   9052   case $as_dir in #(((
   9053     '') as_dir=./ ;;
   9054     */) ;;
   9055     *) as_dir=$as_dir/ ;;
   9056   esac
   9057     for ac_exec_ext in '' $ac_executable_extensions; do
   9058   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9059     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   9060     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9061     break 2
   9062   fi
   9063 done
   9064   done
   9065 IFS=$as_save_IFS
   9066 
   9067 fi
   9068 fi
   9069 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   9070 if test -n "$DSYMUTIL"; then
   9071   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   9072 printf "%s\n" "$DSYMUTIL" >&6; }
   9073 else
   9074   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9075 printf "%s\n" "no" >&6; }
   9076 fi
   9077 
   9078 
   9079 fi
   9080 if test -z "$ac_cv_prog_DSYMUTIL"; then
   9081   ac_ct_DSYMUTIL=$DSYMUTIL
   9082   # Extract the first word of "dsymutil", so it can be a program name with args.
   9083 set dummy dsymutil; ac_word=$2
   9084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9085 printf %s "checking for $ac_word... " >&6; }
   9086 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   9087 then :
   9088   printf %s "(cached) " >&6
   9089 else $as_nop
   9090   if test -n "$ac_ct_DSYMUTIL"; then
   9091   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   9092 else
   9093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9094 for as_dir in $PATH
   9095 do
   9096   IFS=$as_save_IFS
   9097   case $as_dir in #(((
   9098     '') as_dir=./ ;;
   9099     */) ;;
   9100     *) as_dir=$as_dir/ ;;
   9101   esac
   9102     for ac_exec_ext in '' $ac_executable_extensions; do
   9103   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9104     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   9105     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9106     break 2
   9107   fi
   9108 done
   9109   done
   9110 IFS=$as_save_IFS
   9111 
   9112 fi
   9113 fi
   9114 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   9115 if test -n "$ac_ct_DSYMUTIL"; then
   9116   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   9117 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   9118 else
   9119   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9120 printf "%s\n" "no" >&6; }
   9121 fi
   9122 
   9123   if test "x$ac_ct_DSYMUTIL" = x; then
   9124     DSYMUTIL=":"
   9125   else
   9126     case $cross_compiling:$ac_tool_warned in
   9127 yes:)
   9128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9129 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9130 ac_tool_warned=yes ;;
   9131 esac
   9132     DSYMUTIL=$ac_ct_DSYMUTIL
   9133   fi
   9134 else
   9135   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   9136 fi
   9137 
   9138     if test -n "$ac_tool_prefix"; then
   9139   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   9140 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   9141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9142 printf %s "checking for $ac_word... " >&6; }
   9143 if test ${ac_cv_prog_NMEDIT+y}
   9144 then :
   9145   printf %s "(cached) " >&6
   9146 else $as_nop
   9147   if test -n "$NMEDIT"; then
   9148   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   9149 else
   9150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9151 for as_dir in $PATH
   9152 do
   9153   IFS=$as_save_IFS
   9154   case $as_dir in #(((
   9155     '') as_dir=./ ;;
   9156     */) ;;
   9157     *) as_dir=$as_dir/ ;;
   9158   esac
   9159     for ac_exec_ext in '' $ac_executable_extensions; do
   9160   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9161     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   9162     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9163     break 2
   9164   fi
   9165 done
   9166   done
   9167 IFS=$as_save_IFS
   9168 
   9169 fi
   9170 fi
   9171 NMEDIT=$ac_cv_prog_NMEDIT
   9172 if test -n "$NMEDIT"; then
   9173   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   9174 printf "%s\n" "$NMEDIT" >&6; }
   9175 else
   9176   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9177 printf "%s\n" "no" >&6; }
   9178 fi
   9179 
   9180 
   9181 fi
   9182 if test -z "$ac_cv_prog_NMEDIT"; then
   9183   ac_ct_NMEDIT=$NMEDIT
   9184   # Extract the first word of "nmedit", so it can be a program name with args.
   9185 set dummy nmedit; ac_word=$2
   9186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9187 printf %s "checking for $ac_word... " >&6; }
   9188 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   9189 then :
   9190   printf %s "(cached) " >&6
   9191 else $as_nop
   9192   if test -n "$ac_ct_NMEDIT"; then
   9193   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   9194 else
   9195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9196 for as_dir in $PATH
   9197 do
   9198   IFS=$as_save_IFS
   9199   case $as_dir in #(((
   9200     '') as_dir=./ ;;
   9201     */) ;;
   9202     *) as_dir=$as_dir/ ;;
   9203   esac
   9204     for ac_exec_ext in '' $ac_executable_extensions; do
   9205   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9206     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   9207     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9208     break 2
   9209   fi
   9210 done
   9211   done
   9212 IFS=$as_save_IFS
   9213 
   9214 fi
   9215 fi
   9216 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   9217 if test -n "$ac_ct_NMEDIT"; then
   9218   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   9219 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   9220 else
   9221   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9222 printf "%s\n" "no" >&6; }
   9223 fi
   9224 
   9225   if test "x$ac_ct_NMEDIT" = x; then
   9226     NMEDIT=":"
   9227   else
   9228     case $cross_compiling:$ac_tool_warned in
   9229 yes:)
   9230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9231 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9232 ac_tool_warned=yes ;;
   9233 esac
   9234     NMEDIT=$ac_ct_NMEDIT
   9235   fi
   9236 else
   9237   NMEDIT="$ac_cv_prog_NMEDIT"
   9238 fi
   9239 
   9240     if test -n "$ac_tool_prefix"; then
   9241   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   9242 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   9243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9244 printf %s "checking for $ac_word... " >&6; }
   9245 if test ${ac_cv_prog_LIPO+y}
   9246 then :
   9247   printf %s "(cached) " >&6
   9248 else $as_nop
   9249   if test -n "$LIPO"; then
   9250   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   9251 else
   9252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9253 for as_dir in $PATH
   9254 do
   9255   IFS=$as_save_IFS
   9256   case $as_dir in #(((
   9257     '') as_dir=./ ;;
   9258     */) ;;
   9259     *) as_dir=$as_dir/ ;;
   9260   esac
   9261     for ac_exec_ext in '' $ac_executable_extensions; do
   9262   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9263     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   9264     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9265     break 2
   9266   fi
   9267 done
   9268   done
   9269 IFS=$as_save_IFS
   9270 
   9271 fi
   9272 fi
   9273 LIPO=$ac_cv_prog_LIPO
   9274 if test -n "$LIPO"; then
   9275   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   9276 printf "%s\n" "$LIPO" >&6; }
   9277 else
   9278   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9279 printf "%s\n" "no" >&6; }
   9280 fi
   9281 
   9282 
   9283 fi
   9284 if test -z "$ac_cv_prog_LIPO"; then
   9285   ac_ct_LIPO=$LIPO
   9286   # Extract the first word of "lipo", so it can be a program name with args.
   9287 set dummy lipo; ac_word=$2
   9288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9289 printf %s "checking for $ac_word... " >&6; }
   9290 if test ${ac_cv_prog_ac_ct_LIPO+y}
   9291 then :
   9292   printf %s "(cached) " >&6
   9293 else $as_nop
   9294   if test -n "$ac_ct_LIPO"; then
   9295   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   9296 else
   9297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9298 for as_dir in $PATH
   9299 do
   9300   IFS=$as_save_IFS
   9301   case $as_dir in #(((
   9302     '') as_dir=./ ;;
   9303     */) ;;
   9304     *) as_dir=$as_dir/ ;;
   9305   esac
   9306     for ac_exec_ext in '' $ac_executable_extensions; do
   9307   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9308     ac_cv_prog_ac_ct_LIPO="lipo"
   9309     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9310     break 2
   9311   fi
   9312 done
   9313   done
   9314 IFS=$as_save_IFS
   9315 
   9316 fi
   9317 fi
   9318 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   9319 if test -n "$ac_ct_LIPO"; then
   9320   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   9321 printf "%s\n" "$ac_ct_LIPO" >&6; }
   9322 else
   9323   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9324 printf "%s\n" "no" >&6; }
   9325 fi
   9326 
   9327   if test "x$ac_ct_LIPO" = x; then
   9328     LIPO=":"
   9329   else
   9330     case $cross_compiling:$ac_tool_warned in
   9331 yes:)
   9332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9333 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9334 ac_tool_warned=yes ;;
   9335 esac
   9336     LIPO=$ac_ct_LIPO
   9337   fi
   9338 else
   9339   LIPO="$ac_cv_prog_LIPO"
   9340 fi
   9341 
   9342     if test -n "$ac_tool_prefix"; then
   9343   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   9344 set dummy ${ac_tool_prefix}otool; ac_word=$2
   9345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9346 printf %s "checking for $ac_word... " >&6; }
   9347 if test ${ac_cv_prog_OTOOL+y}
   9348 then :
   9349   printf %s "(cached) " >&6
   9350 else $as_nop
   9351   if test -n "$OTOOL"; then
   9352   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   9353 else
   9354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9355 for as_dir in $PATH
   9356 do
   9357   IFS=$as_save_IFS
   9358   case $as_dir in #(((
   9359     '') as_dir=./ ;;
   9360     */) ;;
   9361     *) as_dir=$as_dir/ ;;
   9362   esac
   9363     for ac_exec_ext in '' $ac_executable_extensions; do
   9364   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9365     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   9366     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9367     break 2
   9368   fi
   9369 done
   9370   done
   9371 IFS=$as_save_IFS
   9372 
   9373 fi
   9374 fi
   9375 OTOOL=$ac_cv_prog_OTOOL
   9376 if test -n "$OTOOL"; then
   9377   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   9378 printf "%s\n" "$OTOOL" >&6; }
   9379 else
   9380   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9381 printf "%s\n" "no" >&6; }
   9382 fi
   9383 
   9384 
   9385 fi
   9386 if test -z "$ac_cv_prog_OTOOL"; then
   9387   ac_ct_OTOOL=$OTOOL
   9388   # Extract the first word of "otool", so it can be a program name with args.
   9389 set dummy otool; ac_word=$2
   9390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9391 printf %s "checking for $ac_word... " >&6; }
   9392 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   9393 then :
   9394   printf %s "(cached) " >&6
   9395 else $as_nop
   9396   if test -n "$ac_ct_OTOOL"; then
   9397   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   9398 else
   9399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9400 for as_dir in $PATH
   9401 do
   9402   IFS=$as_save_IFS
   9403   case $as_dir in #(((
   9404     '') as_dir=./ ;;
   9405     */) ;;
   9406     *) as_dir=$as_dir/ ;;
   9407   esac
   9408     for ac_exec_ext in '' $ac_executable_extensions; do
   9409   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9410     ac_cv_prog_ac_ct_OTOOL="otool"
   9411     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9412     break 2
   9413   fi
   9414 done
   9415   done
   9416 IFS=$as_save_IFS
   9417 
   9418 fi
   9419 fi
   9420 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   9421 if test -n "$ac_ct_OTOOL"; then
   9422   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   9423 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   9424 else
   9425   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9426 printf "%s\n" "no" >&6; }
   9427 fi
   9428 
   9429   if test "x$ac_ct_OTOOL" = x; then
   9430     OTOOL=":"
   9431   else
   9432     case $cross_compiling:$ac_tool_warned in
   9433 yes:)
   9434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9435 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9436 ac_tool_warned=yes ;;
   9437 esac
   9438     OTOOL=$ac_ct_OTOOL
   9439   fi
   9440 else
   9441   OTOOL="$ac_cv_prog_OTOOL"
   9442 fi
   9443 
   9444     if test -n "$ac_tool_prefix"; then
   9445   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   9446 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   9447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9448 printf %s "checking for $ac_word... " >&6; }
   9449 if test ${ac_cv_prog_OTOOL64+y}
   9450 then :
   9451   printf %s "(cached) " >&6
   9452 else $as_nop
   9453   if test -n "$OTOOL64"; then
   9454   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   9455 else
   9456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9457 for as_dir in $PATH
   9458 do
   9459   IFS=$as_save_IFS
   9460   case $as_dir in #(((
   9461     '') as_dir=./ ;;
   9462     */) ;;
   9463     *) as_dir=$as_dir/ ;;
   9464   esac
   9465     for ac_exec_ext in '' $ac_executable_extensions; do
   9466   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9467     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   9468     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9469     break 2
   9470   fi
   9471 done
   9472   done
   9473 IFS=$as_save_IFS
   9474 
   9475 fi
   9476 fi
   9477 OTOOL64=$ac_cv_prog_OTOOL64
   9478 if test -n "$OTOOL64"; then
   9479   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   9480 printf "%s\n" "$OTOOL64" >&6; }
   9481 else
   9482   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9483 printf "%s\n" "no" >&6; }
   9484 fi
   9485 
   9486 
   9487 fi
   9488 if test -z "$ac_cv_prog_OTOOL64"; then
   9489   ac_ct_OTOOL64=$OTOOL64
   9490   # Extract the first word of "otool64", so it can be a program name with args.
   9491 set dummy otool64; ac_word=$2
   9492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9493 printf %s "checking for $ac_word... " >&6; }
   9494 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   9495 then :
   9496   printf %s "(cached) " >&6
   9497 else $as_nop
   9498   if test -n "$ac_ct_OTOOL64"; then
   9499   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   9500 else
   9501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9502 for as_dir in $PATH
   9503 do
   9504   IFS=$as_save_IFS
   9505   case $as_dir in #(((
   9506     '') as_dir=./ ;;
   9507     */) ;;
   9508     *) as_dir=$as_dir/ ;;
   9509   esac
   9510     for ac_exec_ext in '' $ac_executable_extensions; do
   9511   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9512     ac_cv_prog_ac_ct_OTOOL64="otool64"
   9513     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9514     break 2
   9515   fi
   9516 done
   9517   done
   9518 IFS=$as_save_IFS
   9519 
   9520 fi
   9521 fi
   9522 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   9523 if test -n "$ac_ct_OTOOL64"; then
   9524   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   9525 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   9526 else
   9527   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9528 printf "%s\n" "no" >&6; }
   9529 fi
   9530 
   9531   if test "x$ac_ct_OTOOL64" = x; then
   9532     OTOOL64=":"
   9533   else
   9534     case $cross_compiling:$ac_tool_warned in
   9535 yes:)
   9536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9537 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9538 ac_tool_warned=yes ;;
   9539 esac
   9540     OTOOL64=$ac_ct_OTOOL64
   9541   fi
   9542 else
   9543   OTOOL64="$ac_cv_prog_OTOOL64"
   9544 fi
   9545 
   9546 
   9547 
   9548 
   9549 
   9550 
   9551 
   9552 
   9553 
   9554 
   9555 
   9556 
   9557 
   9558 
   9559 
   9560 
   9561 
   9562 
   9563 
   9564 
   9565 
   9566 
   9567 
   9568 
   9569 
   9570 
   9571 
   9572     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   9573 printf %s "checking for -single_module linker flag... " >&6; }
   9574 if test ${lt_cv_apple_cc_single_mod+y}
   9575 then :
   9576   printf %s "(cached) " >&6
   9577 else $as_nop
   9578   lt_cv_apple_cc_single_mod=no
   9579       if test -z "$LT_MULTI_MODULE"; then
   9580 	# By default we will add the -single_module flag. You can override
   9581 	# by either setting the environment variable LT_MULTI_MODULE
   9582 	# non-empty at configure time, or by adding -multi_module to the
   9583 	# link flags.
   9584 	rm -rf libconftest.dylib*
   9585 	echo "int foo(void){return 1;}" > conftest.c
   9586 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   9587 -dynamiclib -Wl,-single_module conftest.c" >&5
   9588 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   9589 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   9590         _lt_result=$?
   9591 	# If there is a non-empty error log, and "single_module"
   9592 	# appears in it, assume the flag caused a linker warning
   9593         if test -s conftest.err && $GREP single_module conftest.err; then
   9594 	  cat conftest.err >&5
   9595 	# Otherwise, if the output was created with a 0 exit code from
   9596 	# the compiler, it worked.
   9597 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   9598 	  lt_cv_apple_cc_single_mod=yes
   9599 	else
   9600 	  cat conftest.err >&5
   9601 	fi
   9602 	rm -rf libconftest.dylib*
   9603 	rm -f conftest.*
   9604       fi
   9605 fi
   9606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   9607 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   9608 
   9609     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   9610 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   9611 if test ${lt_cv_ld_exported_symbols_list+y}
   9612 then :
   9613   printf %s "(cached) " >&6
   9614 else $as_nop
   9615   lt_cv_ld_exported_symbols_list=no
   9616       save_LDFLAGS=$LDFLAGS
   9617       echo "_main" > conftest.sym
   9618       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   9619       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9620 /* end confdefs.h.  */
   9621 
   9622 int
   9623 main (void)
   9624 {
   9625 
   9626   ;
   9627   return 0;
   9628 }
   9629 _ACEOF
   9630 if ac_fn_c_try_link "$LINENO"
   9631 then :
   9632   lt_cv_ld_exported_symbols_list=yes
   9633 else $as_nop
   9634   lt_cv_ld_exported_symbols_list=no
   9635 fi
   9636 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9637     conftest$ac_exeext conftest.$ac_ext
   9638 	LDFLAGS=$save_LDFLAGS
   9639 
   9640 fi
   9641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   9642 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   9643 
   9644     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   9645 printf %s "checking for -force_load linker flag... " >&6; }
   9646 if test ${lt_cv_ld_force_load+y}
   9647 then :
   9648   printf %s "(cached) " >&6
   9649 else $as_nop
   9650   lt_cv_ld_force_load=no
   9651       cat > conftest.c << _LT_EOF
   9652 int forced_loaded() { return 2;}
   9653 _LT_EOF
   9654       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   9655       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   9656       echo "$AR cru libconftest.a conftest.o" >&5
   9657       $AR cru libconftest.a conftest.o 2>&5
   9658       echo "$RANLIB libconftest.a" >&5
   9659       $RANLIB libconftest.a 2>&5
   9660       cat > conftest.c << _LT_EOF
   9661 int main() { return 0;}
   9662 _LT_EOF
   9663       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   9664       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   9665       _lt_result=$?
   9666       if test -s conftest.err && $GREP force_load conftest.err; then
   9667 	cat conftest.err >&5
   9668       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   9669 	lt_cv_ld_force_load=yes
   9670       else
   9671 	cat conftest.err >&5
   9672       fi
   9673         rm -f conftest.err libconftest.a conftest conftest.c
   9674         rm -rf conftest.dSYM
   9675 
   9676 fi
   9677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   9678 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   9679     case $host_os in
   9680     rhapsody* | darwin1.[012])
   9681       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   9682     darwin1.*)
   9683       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   9684     darwin*) # darwin 5.x on
   9685       # if running on 10.5 or later, the deployment target defaults
   9686       # to the OS version, if on x86, and 10.4, the deployment
   9687       # target defaults to 10.4. Don't you love it?
   9688       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   9689 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   9690 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   9691 	10.[012][,.]*)
   9692 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   9693 	10.*)
   9694 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   9695       esac
   9696     ;;
   9697   esac
   9698     if test yes = "$lt_cv_apple_cc_single_mod"; then
   9699       _lt_dar_single_mod='$single_module'
   9700     fi
   9701     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   9702       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   9703     else
   9704       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   9705     fi
   9706     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   9707       _lt_dsymutil='~$DSYMUTIL $lib || :'
   9708     else
   9709       _lt_dsymutil=
   9710     fi
   9711     ;;
   9712   esac
   9713 
   9714 # func_munge_path_list VARIABLE PATH
   9715 # -----------------------------------
   9716 # VARIABLE is name of variable containing _space_ separated list of
   9717 # directories to be munged by the contents of PATH, which is string
   9718 # having a format:
   9719 # "DIR[:DIR]:"
   9720 #       string "DIR[ DIR]" will be prepended to VARIABLE
   9721 # ":DIR[:DIR]"
   9722 #       string "DIR[ DIR]" will be appended to VARIABLE
   9723 # "DIRP[:DIRP]::[DIRA:]DIRA"
   9724 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   9725 #       "DIRA[ DIRA]" will be appended to VARIABLE
   9726 # "DIR[:DIR]"
   9727 #       VARIABLE will be replaced by "DIR[ DIR]"
   9728 func_munge_path_list ()
   9729 {
   9730     case x$2 in
   9731     x)
   9732         ;;
   9733     *:)
   9734         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   9735         ;;
   9736     x:*)
   9737         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   9738         ;;
   9739     *::*)
   9740         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   9741         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   9742         ;;
   9743     *)
   9744         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   9745         ;;
   9746     esac
   9747 }
   9748 
   9749 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   9750 "
   9751 if test "x$ac_cv_header_dlfcn_h" = xyes
   9752 then :
   9753   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   9754 
   9755 fi
   9756 
   9757 
   9758 
   9759 
   9760 
   9761 # Set options
   9762 # Check whether --enable-static was given.
   9763 if test ${enable_static+y}
   9764 then :
   9765   enableval=$enable_static; p=${PACKAGE-default}
   9766     case $enableval in
   9767     yes) enable_static=yes ;;
   9768     no) enable_static=no ;;
   9769     *)
   9770      enable_static=no
   9771       # Look at the argument we got.  We use all the common list separators.
   9772       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9773       for pkg in $enableval; do
   9774 	IFS=$lt_save_ifs
   9775 	if test "X$pkg" = "X$p"; then
   9776 	  enable_static=yes
   9777 	fi
   9778       done
   9779       IFS=$lt_save_ifs
   9780       ;;
   9781     esac
   9782 else $as_nop
   9783   enable_static=no
   9784 fi
   9785 
   9786 
   9787 
   9788 
   9789 
   9790 
   9791 
   9792 enable_win32_dll=yes
   9793 
   9794 case $host in
   9795 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
   9796   if test -n "$ac_tool_prefix"; then
   9797   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
   9798 set dummy ${ac_tool_prefix}as; ac_word=$2
   9799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9800 printf %s "checking for $ac_word... " >&6; }
   9801 if test ${ac_cv_prog_AS+y}
   9802 then :
   9803   printf %s "(cached) " >&6
   9804 else $as_nop
   9805   if test -n "$AS"; then
   9806   ac_cv_prog_AS="$AS" # Let the user override the test.
   9807 else
   9808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9809 for as_dir in $PATH
   9810 do
   9811   IFS=$as_save_IFS
   9812   case $as_dir in #(((
   9813     '') as_dir=./ ;;
   9814     */) ;;
   9815     *) as_dir=$as_dir/ ;;
   9816   esac
   9817     for ac_exec_ext in '' $ac_executable_extensions; do
   9818   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9819     ac_cv_prog_AS="${ac_tool_prefix}as"
   9820     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9821     break 2
   9822   fi
   9823 done
   9824   done
   9825 IFS=$as_save_IFS
   9826 
   9827 fi
   9828 fi
   9829 AS=$ac_cv_prog_AS
   9830 if test -n "$AS"; then
   9831   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
   9832 printf "%s\n" "$AS" >&6; }
   9833 else
   9834   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9835 printf "%s\n" "no" >&6; }
   9836 fi
   9837 
   9838 
   9839 fi
   9840 if test -z "$ac_cv_prog_AS"; then
   9841   ac_ct_AS=$AS
   9842   # Extract the first word of "as", so it can be a program name with args.
   9843 set dummy as; ac_word=$2
   9844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9845 printf %s "checking for $ac_word... " >&6; }
   9846 if test ${ac_cv_prog_ac_ct_AS+y}
   9847 then :
   9848   printf %s "(cached) " >&6
   9849 else $as_nop
   9850   if test -n "$ac_ct_AS"; then
   9851   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
   9852 else
   9853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9854 for as_dir in $PATH
   9855 do
   9856   IFS=$as_save_IFS
   9857   case $as_dir in #(((
   9858     '') as_dir=./ ;;
   9859     */) ;;
   9860     *) as_dir=$as_dir/ ;;
   9861   esac
   9862     for ac_exec_ext in '' $ac_executable_extensions; do
   9863   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9864     ac_cv_prog_ac_ct_AS="as"
   9865     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9866     break 2
   9867   fi
   9868 done
   9869   done
   9870 IFS=$as_save_IFS
   9871 
   9872 fi
   9873 fi
   9874 ac_ct_AS=$ac_cv_prog_ac_ct_AS
   9875 if test -n "$ac_ct_AS"; then
   9876   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
   9877 printf "%s\n" "$ac_ct_AS" >&6; }
   9878 else
   9879   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9880 printf "%s\n" "no" >&6; }
   9881 fi
   9882 
   9883   if test "x$ac_ct_AS" = x; then
   9884     AS="false"
   9885   else
   9886     case $cross_compiling:$ac_tool_warned in
   9887 yes:)
   9888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9889 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9890 ac_tool_warned=yes ;;
   9891 esac
   9892     AS=$ac_ct_AS
   9893   fi
   9894 else
   9895   AS="$ac_cv_prog_AS"
   9896 fi
   9897 
   9898   if test -n "$ac_tool_prefix"; then
   9899   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   9900 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   9901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9902 printf %s "checking for $ac_word... " >&6; }
   9903 if test ${ac_cv_prog_DLLTOOL+y}
   9904 then :
   9905   printf %s "(cached) " >&6
   9906 else $as_nop
   9907   if test -n "$DLLTOOL"; then
   9908   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   9909 else
   9910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9911 for as_dir in $PATH
   9912 do
   9913   IFS=$as_save_IFS
   9914   case $as_dir in #(((
   9915     '') as_dir=./ ;;
   9916     */) ;;
   9917     *) as_dir=$as_dir/ ;;
   9918   esac
   9919     for ac_exec_ext in '' $ac_executable_extensions; do
   9920   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9921     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   9922     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9923     break 2
   9924   fi
   9925 done
   9926   done
   9927 IFS=$as_save_IFS
   9928 
   9929 fi
   9930 fi
   9931 DLLTOOL=$ac_cv_prog_DLLTOOL
   9932 if test -n "$DLLTOOL"; then
   9933   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   9934 printf "%s\n" "$DLLTOOL" >&6; }
   9935 else
   9936   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9937 printf "%s\n" "no" >&6; }
   9938 fi
   9939 
   9940 
   9941 fi
   9942 if test -z "$ac_cv_prog_DLLTOOL"; then
   9943   ac_ct_DLLTOOL=$DLLTOOL
   9944   # Extract the first word of "dlltool", so it can be a program name with args.
   9945 set dummy dlltool; ac_word=$2
   9946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9947 printf %s "checking for $ac_word... " >&6; }
   9948 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   9949 then :
   9950   printf %s "(cached) " >&6
   9951 else $as_nop
   9952   if test -n "$ac_ct_DLLTOOL"; then
   9953   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   9954 else
   9955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9956 for as_dir in $PATH
   9957 do
   9958   IFS=$as_save_IFS
   9959   case $as_dir in #(((
   9960     '') as_dir=./ ;;
   9961     */) ;;
   9962     *) as_dir=$as_dir/ ;;
   9963   esac
   9964     for ac_exec_ext in '' $ac_executable_extensions; do
   9965   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   9966     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   9967     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   9968     break 2
   9969   fi
   9970 done
   9971   done
   9972 IFS=$as_save_IFS
   9973 
   9974 fi
   9975 fi
   9976 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   9977 if test -n "$ac_ct_DLLTOOL"; then
   9978   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   9979 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   9980 else
   9981   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9982 printf "%s\n" "no" >&6; }
   9983 fi
   9984 
   9985   if test "x$ac_ct_DLLTOOL" = x; then
   9986     DLLTOOL="false"
   9987   else
   9988     case $cross_compiling:$ac_tool_warned in
   9989 yes:)
   9990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9991 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9992 ac_tool_warned=yes ;;
   9993 esac
   9994     DLLTOOL=$ac_ct_DLLTOOL
   9995   fi
   9996 else
   9997   DLLTOOL="$ac_cv_prog_DLLTOOL"
   9998 fi
   9999 
   10000   if test -n "$ac_tool_prefix"; then
   10001   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   10002 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   10003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10004 printf %s "checking for $ac_word... " >&6; }
   10005 if test ${ac_cv_prog_OBJDUMP+y}
   10006 then :
   10007   printf %s "(cached) " >&6
   10008 else $as_nop
   10009   if test -n "$OBJDUMP"; then
   10010   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   10011 else
   10012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10013 for as_dir in $PATH
   10014 do
   10015   IFS=$as_save_IFS
   10016   case $as_dir in #(((
   10017     '') as_dir=./ ;;
   10018     */) ;;
   10019     *) as_dir=$as_dir/ ;;
   10020   esac
   10021     for ac_exec_ext in '' $ac_executable_extensions; do
   10022   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   10023     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   10024     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   10025     break 2
   10026   fi
   10027 done
   10028   done
   10029 IFS=$as_save_IFS
   10030 
   10031 fi
   10032 fi
   10033 OBJDUMP=$ac_cv_prog_OBJDUMP
   10034 if test -n "$OBJDUMP"; then
   10035   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   10036 printf "%s\n" "$OBJDUMP" >&6; }
   10037 else
   10038   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10039 printf "%s\n" "no" >&6; }
   10040 fi
   10041 
   10042 
   10043 fi
   10044 if test -z "$ac_cv_prog_OBJDUMP"; then
   10045   ac_ct_OBJDUMP=$OBJDUMP
   10046   # Extract the first word of "objdump", so it can be a program name with args.
   10047 set dummy objdump; ac_word=$2
   10048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10049 printf %s "checking for $ac_word... " >&6; }
   10050 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   10051 then :
   10052   printf %s "(cached) " >&6
   10053 else $as_nop
   10054   if test -n "$ac_ct_OBJDUMP"; then
   10055   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   10056 else
   10057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10058 for as_dir in $PATH
   10059 do
   10060   IFS=$as_save_IFS
   10061   case $as_dir in #(((
   10062     '') as_dir=./ ;;
   10063     */) ;;
   10064     *) as_dir=$as_dir/ ;;
   10065   esac
   10066     for ac_exec_ext in '' $ac_executable_extensions; do
   10067   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   10068     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   10069     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   10070     break 2
   10071   fi
   10072 done
   10073   done
   10074 IFS=$as_save_IFS
   10075 
   10076 fi
   10077 fi
   10078 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   10079 if test -n "$ac_ct_OBJDUMP"; then
   10080   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   10081 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   10082 else
   10083   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10084 printf "%s\n" "no" >&6; }
   10085 fi
   10086 
   10087   if test "x$ac_ct_OBJDUMP" = x; then
   10088     OBJDUMP="false"
   10089   else
   10090     case $cross_compiling:$ac_tool_warned in
   10091 yes:)
   10092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   10093 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   10094 ac_tool_warned=yes ;;
   10095 esac
   10096     OBJDUMP=$ac_ct_OBJDUMP
   10097   fi
   10098 else
   10099   OBJDUMP="$ac_cv_prog_OBJDUMP"
   10100 fi
   10101 
   10102   ;;
   10103 esac
   10104 
   10105 test -z "$AS" && AS=as
   10106 
   10107 
   10108 
   10109 
   10110 
   10111 test -z "$DLLTOOL" && DLLTOOL=dlltool
   10112 
   10113 
   10114 
   10115 
   10116 
   10117 test -z "$OBJDUMP" && OBJDUMP=objdump
   10118 
   10119 
   10120 
   10121 
   10122 
   10123 
   10124 
   10125         enable_dlopen=no
   10126 
   10127 
   10128 
   10129             # Check whether --enable-shared was given.
   10130 if test ${enable_shared+y}
   10131 then :
   10132   enableval=$enable_shared; p=${PACKAGE-default}
   10133     case $enableval in
   10134     yes) enable_shared=yes ;;
   10135     no) enable_shared=no ;;
   10136     *)
   10137       enable_shared=no
   10138       # Look at the argument we got.  We use all the common list separators.
   10139       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   10140       for pkg in $enableval; do
   10141 	IFS=$lt_save_ifs
   10142 	if test "X$pkg" = "X$p"; then
   10143 	  enable_shared=yes
   10144 	fi
   10145       done
   10146       IFS=$lt_save_ifs
   10147       ;;
   10148     esac
   10149 else $as_nop
   10150   enable_shared=yes
   10151 fi
   10152 
   10153 
   10154 
   10155 
   10156 
   10157 
   10158 
   10159 
   10160 
   10161 
   10162 
   10163 # Check whether --with-pic was given.
   10164 if test ${with_pic+y}
   10165 then :
   10166   withval=$with_pic; lt_p=${PACKAGE-default}
   10167     case $withval in
   10168     yes|no) pic_mode=$withval ;;
   10169     *)
   10170       pic_mode=default
   10171       # Look at the argument we got.  We use all the common list separators.
   10172       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   10173       for lt_pkg in $withval; do
   10174 	IFS=$lt_save_ifs
   10175 	if test "X$lt_pkg" = "X$lt_p"; then
   10176 	  pic_mode=yes
   10177 	fi
   10178       done
   10179       IFS=$lt_save_ifs
   10180       ;;
   10181     esac
   10182 else $as_nop
   10183   pic_mode=default
   10184 fi
   10185 
   10186 
   10187 
   10188 
   10189 
   10190 
   10191 
   10192 
   10193   # Check whether --enable-fast-install was given.
   10194 if test ${enable_fast_install+y}
   10195 then :
   10196   enableval=$enable_fast_install; p=${PACKAGE-default}
   10197     case $enableval in
   10198     yes) enable_fast_install=yes ;;
   10199     no) enable_fast_install=no ;;
   10200     *)
   10201       enable_fast_install=no
   10202       # Look at the argument we got.  We use all the common list separators.
   10203       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   10204       for pkg in $enableval; do
   10205 	IFS=$lt_save_ifs
   10206 	if test "X$pkg" = "X$p"; then
   10207 	  enable_fast_install=yes
   10208 	fi
   10209       done
   10210       IFS=$lt_save_ifs
   10211       ;;
   10212     esac
   10213 else $as_nop
   10214   enable_fast_install=yes
   10215 fi
   10216 
   10217 
   10218 
   10219 
   10220 
   10221 
   10222 
   10223 
   10224   shared_archive_member_spec=
   10225 case $host,$enable_shared in
   10226 power*-*-aix[5-9]*,yes)
   10227   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   10228 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   10229 
   10230 # Check whether --with-aix-soname was given.
   10231 if test ${with_aix_soname+y}
   10232 then :
   10233   withval=$with_aix_soname; case $withval in
   10234     aix|svr4|both)
   10235       ;;
   10236     *)
   10237       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   10238       ;;
   10239     esac
   10240     lt_cv_with_aix_soname=$with_aix_soname
   10241 else $as_nop
   10242   if test ${lt_cv_with_aix_soname+y}
   10243 then :
   10244   printf %s "(cached) " >&6
   10245 else $as_nop
   10246   lt_cv_with_aix_soname=aix
   10247 fi
   10248 
   10249     with_aix_soname=$lt_cv_with_aix_soname
   10250 fi
   10251 
   10252   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   10253 printf "%s\n" "$with_aix_soname" >&6; }
   10254   if test aix != "$with_aix_soname"; then
   10255     # For the AIX way of multilib, we name the shared archive member
   10256     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   10257     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   10258     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   10259     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   10260     if test 64 = "${OBJECT_MODE-32}"; then
   10261       shared_archive_member_spec=shr_64
   10262     else
   10263       shared_archive_member_spec=shr
   10264     fi
   10265   fi
   10266   ;;
   10267 *)
   10268   with_aix_soname=aix
   10269   ;;
   10270 esac
   10271 
   10272 
   10273 
   10274 
   10275 
   10276 
   10277 
   10278 
   10279 
   10280 
   10281 # This can be used to rebuild libtool when needed
   10282 LIBTOOL_DEPS=$ltmain
   10283 
   10284 # Always use our own libtool.
   10285 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   10286 
   10287 
   10288 
   10289 
   10290 
   10291 
   10292 
   10293 
   10294 
   10295 
   10296 
   10297 
   10298 
   10299 
   10300 
   10301 
   10302 
   10303 
   10304 
   10305 
   10306 
   10307 
   10308 
   10309 
   10310 
   10311 
   10312 
   10313 
   10314 
   10315 
   10316 test -z "$LN_S" && LN_S="ln -s"
   10317 
   10318 
   10319 
   10320 
   10321 
   10322 
   10323 
   10324 
   10325 
   10326 
   10327 
   10328 
   10329 
   10330 
   10331 if test -n "${ZSH_VERSION+set}"; then
   10332    setopt NO_GLOB_SUBST
   10333 fi
   10334 
   10335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   10336 printf %s "checking for objdir... " >&6; }
   10337 if test ${lt_cv_objdir+y}
   10338 then :
   10339   printf %s "(cached) " >&6
   10340 else $as_nop
   10341   rm -f .libs 2>/dev/null
   10342 mkdir .libs 2>/dev/null
   10343 if test -d .libs; then
   10344   lt_cv_objdir=.libs
   10345 else
   10346   # MS-DOS does not allow filenames that begin with a dot.
   10347   lt_cv_objdir=_libs
   10348 fi
   10349 rmdir .libs 2>/dev/null
   10350 fi
   10351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   10352 printf "%s\n" "$lt_cv_objdir" >&6; }
   10353 objdir=$lt_cv_objdir
   10354 
   10355 
   10356 
   10357 
   10358 
   10359 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   10360 
   10361 
   10362 
   10363 
   10364 case $host_os in
   10365 aix3*)
   10366   # AIX sometimes has problems with the GCC collect2 program.  For some
   10367   # reason, if we set the COLLECT_NAMES environment variable, the problems
   10368   # vanish in a puff of smoke.
   10369   if test set != "${COLLECT_NAMES+set}"; then
   10370     COLLECT_NAMES=
   10371     export COLLECT_NAMES
   10372   fi
   10373   ;;
   10374 esac
   10375 
   10376 # Global variables:
   10377 ofile=libtool
   10378 can_build_shared=yes
   10379 
   10380 # All known linkers require a '.a' archive for static linking (except MSVC,
   10381 # which needs '.lib').
   10382 libext=a
   10383 
   10384 with_gnu_ld=$lt_cv_prog_gnu_ld
   10385 
   10386 old_CC=$CC
   10387 old_CFLAGS=$CFLAGS
   10388 
   10389 # Set sane defaults for various variables
   10390 test -z "$CC" && CC=cc
   10391 test -z "$LTCC" && LTCC=$CC
   10392 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   10393 test -z "$LD" && LD=ld
   10394 test -z "$ac_objext" && ac_objext=o
   10395 
   10396 func_cc_basename $compiler
   10397 cc_basename=$func_cc_basename_result
   10398 
   10399 
   10400 # Only perform the check for file, if the check method requires it
   10401 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   10402 case $deplibs_check_method in
   10403 file_magic*)
   10404   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   10405     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   10406 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   10407 if test ${lt_cv_path_MAGIC_CMD+y}
   10408 then :
   10409   printf %s "(cached) " >&6
   10410 else $as_nop
   10411   case $MAGIC_CMD in
   10412 [\\/*] |  ?:[\\/]*)
   10413   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   10414   ;;
   10415 *)
   10416   lt_save_MAGIC_CMD=$MAGIC_CMD
   10417   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   10418   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   10419   for ac_dir in $ac_dummy; do
   10420     IFS=$lt_save_ifs
   10421     test -z "$ac_dir" && ac_dir=.
   10422     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   10423       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   10424       if test -n "$file_magic_test_file"; then
   10425 	case $deplibs_check_method in
   10426 	"file_magic "*)
   10427 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   10428 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   10429 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   10430 	    $EGREP "$file_magic_regex" > /dev/null; then
   10431 	    :
   10432 	  else
   10433 	    cat <<_LT_EOF 1>&2
   10434 
   10435 *** Warning: the command libtool uses to detect shared libraries,
   10436 *** $file_magic_cmd, produces output that libtool cannot recognize.
   10437 *** The result is that libtool may fail to recognize shared libraries
   10438 *** as such.  This will affect the creation of libtool libraries that
   10439 *** depend on shared libraries, but programs linked with such libtool
   10440 *** libraries will work regardless of this problem.  Nevertheless, you
   10441 *** may want to report the problem to your system manager and/or to
   10442 *** bug-libtool@gnu.org
   10443 
   10444 _LT_EOF
   10445 	  fi ;;
   10446 	esac
   10447       fi
   10448       break
   10449     fi
   10450   done
   10451   IFS=$lt_save_ifs
   10452   MAGIC_CMD=$lt_save_MAGIC_CMD
   10453   ;;
   10454 esac
   10455 fi
   10456 
   10457 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   10458 if test -n "$MAGIC_CMD"; then
   10459   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   10460 printf "%s\n" "$MAGIC_CMD" >&6; }
   10461 else
   10462   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10463 printf "%s\n" "no" >&6; }
   10464 fi
   10465 
   10466 
   10467 
   10468 
   10469 
   10470 if test -z "$lt_cv_path_MAGIC_CMD"; then
   10471   if test -n "$ac_tool_prefix"; then
   10472     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   10473 printf %s "checking for file... " >&6; }
   10474 if test ${lt_cv_path_MAGIC_CMD+y}
   10475 then :
   10476   printf %s "(cached) " >&6
   10477 else $as_nop
   10478   case $MAGIC_CMD in
   10479 [\\/*] |  ?:[\\/]*)
   10480   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   10481   ;;
   10482 *)
   10483   lt_save_MAGIC_CMD=$MAGIC_CMD
   10484   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   10485   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   10486   for ac_dir in $ac_dummy; do
   10487     IFS=$lt_save_ifs
   10488     test -z "$ac_dir" && ac_dir=.
   10489     if test -f "$ac_dir/file"; then
   10490       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   10491       if test -n "$file_magic_test_file"; then
   10492 	case $deplibs_check_method in
   10493 	"file_magic "*)
   10494 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   10495 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   10496 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   10497 	    $EGREP "$file_magic_regex" > /dev/null; then
   10498 	    :
   10499 	  else
   10500 	    cat <<_LT_EOF 1>&2
   10501 
   10502 *** Warning: the command libtool uses to detect shared libraries,
   10503 *** $file_magic_cmd, produces output that libtool cannot recognize.
   10504 *** The result is that libtool may fail to recognize shared libraries
   10505 *** as such.  This will affect the creation of libtool libraries that
   10506 *** depend on shared libraries, but programs linked with such libtool
   10507 *** libraries will work regardless of this problem.  Nevertheless, you
   10508 *** may want to report the problem to your system manager and/or to
   10509 *** bug-libtool@gnu.org
   10510 
   10511 _LT_EOF
   10512 	  fi ;;
   10513 	esac
   10514       fi
   10515       break
   10516     fi
   10517   done
   10518   IFS=$lt_save_ifs
   10519   MAGIC_CMD=$lt_save_MAGIC_CMD
   10520   ;;
   10521 esac
   10522 fi
   10523 
   10524 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   10525 if test -n "$MAGIC_CMD"; then
   10526   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   10527 printf "%s\n" "$MAGIC_CMD" >&6; }
   10528 else
   10529   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10530 printf "%s\n" "no" >&6; }
   10531 fi
   10532 
   10533 
   10534   else
   10535     MAGIC_CMD=:
   10536   fi
   10537 fi
   10538 
   10539   fi
   10540   ;;
   10541 esac
   10542 
   10543 # Use C for the default configuration in the libtool script
   10544 
   10545 lt_save_CC=$CC
   10546 ac_ext=c
   10547 ac_cpp='$CPP $CPPFLAGS'
   10548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10551 
   10552 
   10553 # Source file extension for C test sources.
   10554 ac_ext=c
   10555 
   10556 # Object file extension for compiled C test sources.
   10557 objext=o
   10558 objext=$objext
   10559 
   10560 # Code to be used in simple compile tests
   10561 lt_simple_compile_test_code="int some_variable = 0;"
   10562 
   10563 # Code to be used in simple link tests
   10564 lt_simple_link_test_code='int main(){return(0);}'
   10565 
   10566 
   10567 
   10568 
   10569 
   10570 
   10571 
   10572 # If no C compiler was specified, use CC.
   10573 LTCC=${LTCC-"$CC"}
   10574 
   10575 # If no C compiler flags were specified, use CFLAGS.
   10576 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   10577 
   10578 # Allow CC to be a program name with arguments.
   10579 compiler=$CC
   10580 
   10581 # Save the default compiler, since it gets overwritten when the other
   10582 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   10583 compiler_DEFAULT=$CC
   10584 
   10585 # save warnings/boilerplate of simple test code
   10586 ac_outfile=conftest.$ac_objext
   10587 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   10588 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   10589 _lt_compiler_boilerplate=`cat conftest.err`
   10590 $RM conftest*
   10591 
   10592 ac_outfile=conftest.$ac_objext
   10593 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   10594 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   10595 _lt_linker_boilerplate=`cat conftest.err`
   10596 $RM -r conftest*
   10597 
   10598 
   10599 ## CAVEAT EMPTOR:
   10600 ## There is no encapsulation within the following macros, do not change
   10601 ## the running order or otherwise move them around unless you know exactly
   10602 ## what you are doing...
   10603 if test -n "$compiler"; then
   10604 
   10605 lt_prog_compiler_no_builtin_flag=
   10606 
   10607 if test yes = "$GCC"; then
   10608   case $cc_basename in
   10609   nvcc*)
   10610     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   10611   *)
   10612     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   10613   esac
   10614 
   10615   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   10616 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   10617 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   10618 then :
   10619   printf %s "(cached) " >&6
   10620 else $as_nop
   10621   lt_cv_prog_compiler_rtti_exceptions=no
   10622    ac_outfile=conftest.$ac_objext
   10623    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10624    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   10625    # Insert the option either (1) after the last *FLAGS variable, or
   10626    # (2) before a word containing "conftest.", or (3) at the end.
   10627    # Note that $ac_compile itself does not contain backslashes and begins
   10628    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10629    # The option is referenced via a variable to avoid confusing sed.
   10630    lt_compile=`echo "$ac_compile" | $SED \
   10631    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10632    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10633    -e 's:$: $lt_compiler_flag:'`
   10634    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10635    (eval "$lt_compile" 2>conftest.err)
   10636    ac_status=$?
   10637    cat conftest.err >&5
   10638    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10639    if (exit $ac_status) && test -s "$ac_outfile"; then
   10640      # The compiler can only warn and ignore the option if not recognized
   10641      # So say no if there are warnings other than the usual output.
   10642      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   10643      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10644      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   10645        lt_cv_prog_compiler_rtti_exceptions=yes
   10646      fi
   10647    fi
   10648    $RM conftest*
   10649 
   10650 fi
   10651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   10652 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   10653 
   10654 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   10655     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   10656 else
   10657     :
   10658 fi
   10659 
   10660 fi
   10661 
   10662 
   10663 
   10664 
   10665 
   10666 
   10667   lt_prog_compiler_wl=
   10668 lt_prog_compiler_pic=
   10669 lt_prog_compiler_static=
   10670 
   10671 
   10672   if test yes = "$GCC"; then
   10673     lt_prog_compiler_wl='-Wl,'
   10674     lt_prog_compiler_static='-static'
   10675 
   10676     case $host_os in
   10677       aix*)
   10678       # All AIX code is PIC.
   10679       if test ia64 = "$host_cpu"; then
   10680 	# AIX 5 now supports IA64 processor
   10681 	lt_prog_compiler_static='-Bstatic'
   10682       fi
   10683       lt_prog_compiler_pic='-fPIC'
   10684       ;;
   10685 
   10686     amigaos*)
   10687       case $host_cpu in
   10688       powerpc)
   10689             # see comment about AmigaOS4 .so support
   10690             lt_prog_compiler_pic='-fPIC'
   10691         ;;
   10692       m68k)
   10693             # FIXME: we need at least 68020 code to build shared libraries, but
   10694             # adding the '-m68020' flag to GCC prevents building anything better,
   10695             # like '-m68040'.
   10696             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   10697         ;;
   10698       esac
   10699       ;;
   10700 
   10701     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   10702       # PIC is the default for these OSes.
   10703       ;;
   10704 
   10705     mingw* | cygwin* | pw32* | os2* | cegcc*)
   10706       # This hack is so that the source file can tell whether it is being
   10707       # built for inclusion in a dll (and should export symbols for example).
   10708       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   10709       # (--disable-auto-import) libraries
   10710       lt_prog_compiler_pic='-DDLL_EXPORT'
   10711       case $host_os in
   10712       os2*)
   10713 	lt_prog_compiler_static='$wl-static'
   10714 	;;
   10715       esac
   10716       ;;
   10717 
   10718     darwin* | rhapsody*)
   10719       # PIC is the default on this platform
   10720       # Common symbols not allowed in MH_DYLIB files
   10721       lt_prog_compiler_pic='-fno-common'
   10722       ;;
   10723 
   10724     haiku*)
   10725       # PIC is the default for Haiku.
   10726       # The "-static" flag exists, but is broken.
   10727       lt_prog_compiler_static=
   10728       ;;
   10729 
   10730     hpux*)
   10731       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   10732       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   10733       # sets the default TLS model and affects inlining.
   10734       case $host_cpu in
   10735       hppa*64*)
   10736 	# +Z the default
   10737 	;;
   10738       *)
   10739 	lt_prog_compiler_pic='-fPIC'
   10740 	;;
   10741       esac
   10742       ;;
   10743 
   10744     interix[3-9]*)
   10745       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   10746       # Instead, we relocate shared libraries at runtime.
   10747       ;;
   10748 
   10749     msdosdjgpp*)
   10750       # Just because we use GCC doesn't mean we suddenly get shared libraries
   10751       # on systems that don't support them.
   10752       lt_prog_compiler_can_build_shared=no
   10753       enable_shared=no
   10754       ;;
   10755 
   10756     *nto* | *qnx*)
   10757       # QNX uses GNU C++, but need to define -shared option too, otherwise
   10758       # it will coredump.
   10759       lt_prog_compiler_pic='-fPIC -shared'
   10760       ;;
   10761 
   10762     sysv4*MP*)
   10763       if test -d /usr/nec; then
   10764 	lt_prog_compiler_pic=-Kconform_pic
   10765       fi
   10766       ;;
   10767 
   10768     *)
   10769       lt_prog_compiler_pic='-fPIC'
   10770       ;;
   10771     esac
   10772 
   10773     case $cc_basename in
   10774     nvcc*) # Cuda Compiler Driver 2.2
   10775       lt_prog_compiler_wl='-Xlinker '
   10776       if test -n "$lt_prog_compiler_pic"; then
   10777         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   10778       fi
   10779       ;;
   10780     esac
   10781   else
   10782     # PORTME Check for flag to pass linker flags through the system compiler.
   10783     case $host_os in
   10784     aix*)
   10785       lt_prog_compiler_wl='-Wl,'
   10786       if test ia64 = "$host_cpu"; then
   10787 	# AIX 5 now supports IA64 processor
   10788 	lt_prog_compiler_static='-Bstatic'
   10789       else
   10790 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   10791       fi
   10792       ;;
   10793 
   10794     darwin* | rhapsody*)
   10795       # PIC is the default on this platform
   10796       # Common symbols not allowed in MH_DYLIB files
   10797       lt_prog_compiler_pic='-fno-common'
   10798       case $cc_basename in
   10799       nagfor*)
   10800         # NAG Fortran compiler
   10801         lt_prog_compiler_wl='-Wl,-Wl,,'
   10802         lt_prog_compiler_pic='-PIC'
   10803         lt_prog_compiler_static='-Bstatic'
   10804         ;;
   10805       esac
   10806       ;;
   10807 
   10808     mingw* | cygwin* | pw32* | os2* | cegcc*)
   10809       # This hack is so that the source file can tell whether it is being
   10810       # built for inclusion in a dll (and should export symbols for example).
   10811       lt_prog_compiler_pic='-DDLL_EXPORT'
   10812       case $host_os in
   10813       os2*)
   10814 	lt_prog_compiler_static='$wl-static'
   10815 	;;
   10816       esac
   10817       ;;
   10818 
   10819     hpux9* | hpux10* | hpux11*)
   10820       lt_prog_compiler_wl='-Wl,'
   10821       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   10822       # not for PA HP-UX.
   10823       case $host_cpu in
   10824       hppa*64*|ia64*)
   10825 	# +Z the default
   10826 	;;
   10827       *)
   10828 	lt_prog_compiler_pic='+Z'
   10829 	;;
   10830       esac
   10831       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   10832       lt_prog_compiler_static='$wl-a ${wl}archive'
   10833       ;;
   10834 
   10835     irix5* | irix6* | nonstopux*)
   10836       lt_prog_compiler_wl='-Wl,'
   10837       # PIC (with -KPIC) is the default.
   10838       lt_prog_compiler_static='-non_shared'
   10839       ;;
   10840 
   10841     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   10842       case $cc_basename in
   10843       # old Intel for x86_64, which still supported -KPIC.
   10844       ecc*)
   10845 	lt_prog_compiler_wl='-Wl,'
   10846 	lt_prog_compiler_pic='-KPIC'
   10847 	lt_prog_compiler_static='-static'
   10848         ;;
   10849       # icc used to be incompatible with GCC.
   10850       # ICC 10 doesn't accept -KPIC any more.
   10851       icc* | ifort*)
   10852 	lt_prog_compiler_wl='-Wl,'
   10853 	lt_prog_compiler_pic='-fPIC'
   10854 	lt_prog_compiler_static='-static'
   10855         ;;
   10856       # Lahey Fortran 8.1.
   10857       lf95*)
   10858 	lt_prog_compiler_wl='-Wl,'
   10859 	lt_prog_compiler_pic='--shared'
   10860 	lt_prog_compiler_static='--static'
   10861 	;;
   10862       nagfor*)
   10863 	# NAG Fortran compiler
   10864 	lt_prog_compiler_wl='-Wl,-Wl,,'
   10865 	lt_prog_compiler_pic='-PIC'
   10866 	lt_prog_compiler_static='-Bstatic'
   10867 	;;
   10868       tcc*)
   10869 	# Fabrice Bellard et al's Tiny C Compiler
   10870 	lt_prog_compiler_wl='-Wl,'
   10871 	lt_prog_compiler_pic='-fPIC'
   10872 	lt_prog_compiler_static='-static'
   10873 	;;
   10874       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   10875         # Portland Group compilers (*not* the Pentium gcc compiler,
   10876 	# which looks to be a dead project)
   10877 	lt_prog_compiler_wl='-Wl,'
   10878 	lt_prog_compiler_pic='-fpic'
   10879 	lt_prog_compiler_static='-Bstatic'
   10880         ;;
   10881       ccc*)
   10882         lt_prog_compiler_wl='-Wl,'
   10883         # All Alpha code is PIC.
   10884         lt_prog_compiler_static='-non_shared'
   10885         ;;
   10886       xl* | bgxl* | bgf* | mpixl*)
   10887 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   10888 	lt_prog_compiler_wl='-Wl,'
   10889 	lt_prog_compiler_pic='-qpic'
   10890 	lt_prog_compiler_static='-qstaticlink'
   10891 	;;
   10892       *)
   10893 	case `$CC -V 2>&1 | sed 5q` in
   10894 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   10895 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   10896 	  lt_prog_compiler_pic='-KPIC'
   10897 	  lt_prog_compiler_static='-Bstatic'
   10898 	  lt_prog_compiler_wl=''
   10899 	  ;;
   10900 	*Sun\ F* | *Sun*Fortran*)
   10901 	  lt_prog_compiler_pic='-KPIC'
   10902 	  lt_prog_compiler_static='-Bstatic'
   10903 	  lt_prog_compiler_wl='-Qoption ld '
   10904 	  ;;
   10905 	*Sun\ C*)
   10906 	  # Sun C 5.9
   10907 	  lt_prog_compiler_pic='-KPIC'
   10908 	  lt_prog_compiler_static='-Bstatic'
   10909 	  lt_prog_compiler_wl='-Wl,'
   10910 	  ;;
   10911         *Intel*\ [CF]*Compiler*)
   10912 	  lt_prog_compiler_wl='-Wl,'
   10913 	  lt_prog_compiler_pic='-fPIC'
   10914 	  lt_prog_compiler_static='-static'
   10915 	  ;;
   10916 	*Portland\ Group*)
   10917 	  lt_prog_compiler_wl='-Wl,'
   10918 	  lt_prog_compiler_pic='-fpic'
   10919 	  lt_prog_compiler_static='-Bstatic'
   10920 	  ;;
   10921 	esac
   10922 	;;
   10923       esac
   10924       ;;
   10925 
   10926     newsos6)
   10927       lt_prog_compiler_pic='-KPIC'
   10928       lt_prog_compiler_static='-Bstatic'
   10929       ;;
   10930 
   10931     *nto* | *qnx*)
   10932       # QNX uses GNU C++, but need to define -shared option too, otherwise
   10933       # it will coredump.
   10934       lt_prog_compiler_pic='-fPIC -shared'
   10935       ;;
   10936 
   10937     osf3* | osf4* | osf5*)
   10938       lt_prog_compiler_wl='-Wl,'
   10939       # All OSF/1 code is PIC.
   10940       lt_prog_compiler_static='-non_shared'
   10941       ;;
   10942 
   10943     rdos*)
   10944       lt_prog_compiler_static='-non_shared'
   10945       ;;
   10946 
   10947     solaris*)
   10948       lt_prog_compiler_pic='-KPIC'
   10949       lt_prog_compiler_static='-Bstatic'
   10950       case $cc_basename in
   10951       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   10952 	lt_prog_compiler_wl='-Qoption ld ';;
   10953       *)
   10954 	lt_prog_compiler_wl='-Wl,';;
   10955       esac
   10956       ;;
   10957 
   10958     sunos4*)
   10959       lt_prog_compiler_wl='-Qoption ld '
   10960       lt_prog_compiler_pic='-PIC'
   10961       lt_prog_compiler_static='-Bstatic'
   10962       ;;
   10963 
   10964     sysv4 | sysv4.2uw2* | sysv4.3*)
   10965       lt_prog_compiler_wl='-Wl,'
   10966       lt_prog_compiler_pic='-KPIC'
   10967       lt_prog_compiler_static='-Bstatic'
   10968       ;;
   10969 
   10970     sysv4*MP*)
   10971       if test -d /usr/nec; then
   10972 	lt_prog_compiler_pic='-Kconform_pic'
   10973 	lt_prog_compiler_static='-Bstatic'
   10974       fi
   10975       ;;
   10976 
   10977     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   10978       lt_prog_compiler_wl='-Wl,'
   10979       lt_prog_compiler_pic='-KPIC'
   10980       lt_prog_compiler_static='-Bstatic'
   10981       ;;
   10982 
   10983     unicos*)
   10984       lt_prog_compiler_wl='-Wl,'
   10985       lt_prog_compiler_can_build_shared=no
   10986       ;;
   10987 
   10988     uts4*)
   10989       lt_prog_compiler_pic='-pic'
   10990       lt_prog_compiler_static='-Bstatic'
   10991       ;;
   10992 
   10993     *)
   10994       lt_prog_compiler_can_build_shared=no
   10995       ;;
   10996     esac
   10997   fi
   10998 
   10999 case $host_os in
   11000   # For platforms that do not support PIC, -DPIC is meaningless:
   11001   *djgpp*)
   11002     lt_prog_compiler_pic=
   11003     ;;
   11004   *)
   11005     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   11006     ;;
   11007 esac
   11008 
   11009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   11010 printf %s "checking for $compiler option to produce PIC... " >&6; }
   11011 if test ${lt_cv_prog_compiler_pic+y}
   11012 then :
   11013   printf %s "(cached) " >&6
   11014 else $as_nop
   11015   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   11016 fi
   11017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   11018 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   11019 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   11020 
   11021 #
   11022 # Check to make sure the PIC flag actually works.
   11023 #
   11024 if test -n "$lt_prog_compiler_pic"; then
   11025   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   11026 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   11027 if test ${lt_cv_prog_compiler_pic_works+y}
   11028 then :
   11029   printf %s "(cached) " >&6
   11030 else $as_nop
   11031   lt_cv_prog_compiler_pic_works=no
   11032    ac_outfile=conftest.$ac_objext
   11033    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11034    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   11035    # Insert the option either (1) after the last *FLAGS variable, or
   11036    # (2) before a word containing "conftest.", or (3) at the end.
   11037    # Note that $ac_compile itself does not contain backslashes and begins
   11038    # with a dollar sign (not a hyphen), so the echo should work correctly.
   11039    # The option is referenced via a variable to avoid confusing sed.
   11040    lt_compile=`echo "$ac_compile" | $SED \
   11041    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   11042    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   11043    -e 's:$: $lt_compiler_flag:'`
   11044    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   11045    (eval "$lt_compile" 2>conftest.err)
   11046    ac_status=$?
   11047    cat conftest.err >&5
   11048    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11049    if (exit $ac_status) && test -s "$ac_outfile"; then
   11050      # The compiler can only warn and ignore the option if not recognized
   11051      # So say no if there are warnings other than the usual output.
   11052      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   11053      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   11054      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   11055        lt_cv_prog_compiler_pic_works=yes
   11056      fi
   11057    fi
   11058    $RM conftest*
   11059 
   11060 fi
   11061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   11062 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   11063 
   11064 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   11065     case $lt_prog_compiler_pic in
   11066      "" | " "*) ;;
   11067      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   11068      esac
   11069 else
   11070     lt_prog_compiler_pic=
   11071      lt_prog_compiler_can_build_shared=no
   11072 fi
   11073 
   11074 fi
   11075 
   11076 
   11077 
   11078 
   11079 
   11080 
   11081 
   11082 
   11083 
   11084 
   11085 
   11086 #
   11087 # Check to make sure the static flag actually works.
   11088 #
   11089 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   11090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   11091 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   11092 if test ${lt_cv_prog_compiler_static_works+y}
   11093 then :
   11094   printf %s "(cached) " >&6
   11095 else $as_nop
   11096   lt_cv_prog_compiler_static_works=no
   11097    save_LDFLAGS=$LDFLAGS
   11098    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   11099    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   11100    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   11101      # The linker can only warn and ignore the option if not recognized
   11102      # So say no if there are warnings
   11103      if test -s conftest.err; then
   11104        # Append any errors to the config.log.
   11105        cat conftest.err 1>&5
   11106        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   11107        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   11108        if diff conftest.exp conftest.er2 >/dev/null; then
   11109          lt_cv_prog_compiler_static_works=yes
   11110        fi
   11111      else
   11112        lt_cv_prog_compiler_static_works=yes
   11113      fi
   11114    fi
   11115    $RM -r conftest*
   11116    LDFLAGS=$save_LDFLAGS
   11117 
   11118 fi
   11119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   11120 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   11121 
   11122 if test yes = "$lt_cv_prog_compiler_static_works"; then
   11123     :
   11124 else
   11125     lt_prog_compiler_static=
   11126 fi
   11127 
   11128 
   11129 
   11130 
   11131 
   11132 
   11133 
   11134   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   11135 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   11136 if test ${lt_cv_prog_compiler_c_o+y}
   11137 then :
   11138   printf %s "(cached) " >&6
   11139 else $as_nop
   11140   lt_cv_prog_compiler_c_o=no
   11141    $RM -r conftest 2>/dev/null
   11142    mkdir conftest
   11143    cd conftest
   11144    mkdir out
   11145    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11146 
   11147    lt_compiler_flag="-o out/conftest2.$ac_objext"
   11148    # Insert the option either (1) after the last *FLAGS variable, or
   11149    # (2) before a word containing "conftest.", or (3) at the end.
   11150    # Note that $ac_compile itself does not contain backslashes and begins
   11151    # with a dollar sign (not a hyphen), so the echo should work correctly.
   11152    lt_compile=`echo "$ac_compile" | $SED \
   11153    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   11154    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   11155    -e 's:$: $lt_compiler_flag:'`
   11156    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   11157    (eval "$lt_compile" 2>out/conftest.err)
   11158    ac_status=$?
   11159    cat out/conftest.err >&5
   11160    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11161    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   11162    then
   11163      # The compiler can only warn and ignore the option if not recognized
   11164      # So say no if there are warnings
   11165      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   11166      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   11167      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   11168        lt_cv_prog_compiler_c_o=yes
   11169      fi
   11170    fi
   11171    chmod u+w . 2>&5
   11172    $RM conftest*
   11173    # SGI C++ compiler will create directory out/ii_files/ for
   11174    # template instantiation
   11175    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   11176    $RM out/* && rmdir out
   11177    cd ..
   11178    $RM -r conftest
   11179    $RM conftest*
   11180 
   11181 fi
   11182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   11183 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   11184 
   11185 
   11186 
   11187 
   11188 
   11189 
   11190   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   11191 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   11192 if test ${lt_cv_prog_compiler_c_o+y}
   11193 then :
   11194   printf %s "(cached) " >&6
   11195 else $as_nop
   11196   lt_cv_prog_compiler_c_o=no
   11197    $RM -r conftest 2>/dev/null
   11198    mkdir conftest
   11199    cd conftest
   11200    mkdir out
   11201    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11202 
   11203    lt_compiler_flag="-o out/conftest2.$ac_objext"
   11204    # Insert the option either (1) after the last *FLAGS variable, or
   11205    # (2) before a word containing "conftest.", or (3) at the end.
   11206    # Note that $ac_compile itself does not contain backslashes and begins
   11207    # with a dollar sign (not a hyphen), so the echo should work correctly.
   11208    lt_compile=`echo "$ac_compile" | $SED \
   11209    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   11210    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   11211    -e 's:$: $lt_compiler_flag:'`
   11212    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   11213    (eval "$lt_compile" 2>out/conftest.err)
   11214    ac_status=$?
   11215    cat out/conftest.err >&5
   11216    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11217    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   11218    then
   11219      # The compiler can only warn and ignore the option if not recognized
   11220      # So say no if there are warnings
   11221      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   11222      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   11223      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   11224        lt_cv_prog_compiler_c_o=yes
   11225      fi
   11226    fi
   11227    chmod u+w . 2>&5
   11228    $RM conftest*
   11229    # SGI C++ compiler will create directory out/ii_files/ for
   11230    # template instantiation
   11231    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   11232    $RM out/* && rmdir out
   11233    cd ..
   11234    $RM -r conftest
   11235    $RM conftest*
   11236 
   11237 fi
   11238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   11239 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   11240 
   11241 
   11242 
   11243 
   11244 hard_links=nottested
   11245 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   11246   # do not overwrite the value of need_locks provided by the user
   11247   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   11248 printf %s "checking if we can lock with hard links... " >&6; }
   11249   hard_links=yes
   11250   $RM conftest*
   11251   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   11252   touch conftest.a
   11253   ln conftest.a conftest.b 2>&5 || hard_links=no
   11254   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   11255   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   11256 printf "%s\n" "$hard_links" >&6; }
   11257   if test no = "$hard_links"; then
   11258     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   11259 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   11260     need_locks=warn
   11261   fi
   11262 else
   11263   need_locks=no
   11264 fi
   11265 
   11266 
   11267 
   11268 
   11269 
   11270 
   11271   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   11272 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   11273 
   11274   runpath_var=
   11275   allow_undefined_flag=
   11276   always_export_symbols=no
   11277   archive_cmds=
   11278   archive_expsym_cmds=
   11279   compiler_needs_object=no
   11280   enable_shared_with_static_runtimes=no
   11281   export_dynamic_flag_spec=
   11282   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   11283   hardcode_automatic=no
   11284   hardcode_direct=no
   11285   hardcode_direct_absolute=no
   11286   hardcode_libdir_flag_spec=
   11287   hardcode_libdir_separator=
   11288   hardcode_minus_L=no
   11289   hardcode_shlibpath_var=unsupported
   11290   inherit_rpath=no
   11291   link_all_deplibs=unknown
   11292   module_cmds=
   11293   module_expsym_cmds=
   11294   old_archive_from_new_cmds=
   11295   old_archive_from_expsyms_cmds=
   11296   thread_safe_flag_spec=
   11297   whole_archive_flag_spec=
   11298   # include_expsyms should be a list of space-separated symbols to be *always*
   11299   # included in the symbol list
   11300   include_expsyms=
   11301   # exclude_expsyms can be an extended regexp of symbols to exclude
   11302   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   11303   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   11304   # as well as any symbol that contains 'd'.
   11305   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   11306   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   11307   # platforms (ab)use it in PIC code, but their linkers get confused if
   11308   # the symbol is explicitly referenced.  Since portable code cannot
   11309   # rely on this symbol name, it's probably fine to never include it in
   11310   # preloaded symbol tables.
   11311   # Exclude shared library initialization/finalization symbols.
   11312   extract_expsyms_cmds=
   11313 
   11314   case $host_os in
   11315   cygwin* | mingw* | pw32* | cegcc*)
   11316     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   11317     # When not using gcc, we currently assume that we are using
   11318     # Microsoft Visual C++.
   11319     if test yes != "$GCC"; then
   11320       with_gnu_ld=no
   11321     fi
   11322     ;;
   11323   interix*)
   11324     # we just hope/assume this is gcc and not c89 (= MSVC++)
   11325     with_gnu_ld=yes
   11326     ;;
   11327   openbsd* | bitrig*)
   11328     with_gnu_ld=no
   11329     ;;
   11330   esac
   11331 
   11332   ld_shlibs=yes
   11333 
   11334   # On some targets, GNU ld is compatible enough with the native linker
   11335   # that we're better off using the native interface for both.
   11336   lt_use_gnu_ld_interface=no
   11337   if test yes = "$with_gnu_ld"; then
   11338     case $host_os in
   11339       aix*)
   11340 	# The AIX port of GNU ld has always aspired to compatibility
   11341 	# with the native linker.  However, as the warning in the GNU ld
   11342 	# block says, versions before 2.19.5* couldn't really create working
   11343 	# shared libraries, regardless of the interface used.
   11344 	case `$LD -v 2>&1` in
   11345 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   11346 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   11347 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   11348 	  *)
   11349 	    lt_use_gnu_ld_interface=yes
   11350 	    ;;
   11351 	esac
   11352 	;;
   11353       *)
   11354 	lt_use_gnu_ld_interface=yes
   11355 	;;
   11356     esac
   11357   fi
   11358 
   11359   if test yes = "$lt_use_gnu_ld_interface"; then
   11360     # If archive_cmds runs LD, not CC, wlarc should be empty
   11361     wlarc='$wl'
   11362 
   11363     # Set some defaults for GNU ld with shared library support. These
   11364     # are reset later if shared libraries are not supported. Putting them
   11365     # here allows them to be overridden if necessary.
   11366     runpath_var=LD_RUN_PATH
   11367     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11368     export_dynamic_flag_spec='$wl--export-dynamic'
   11369     # ancient GNU ld didn't support --whole-archive et. al.
   11370     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   11371       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   11372     else
   11373       whole_archive_flag_spec=
   11374     fi
   11375     supports_anon_versioning=no
   11376     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
   11377       *GNU\ gold*) supports_anon_versioning=yes ;;
   11378       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   11379       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   11380       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   11381       *\ 2.11.*) ;; # other 2.11 versions
   11382       *) supports_anon_versioning=yes ;;
   11383     esac
   11384 
   11385     # See if GNU ld supports shared libraries.
   11386     case $host_os in
   11387     aix[3-9]*)
   11388       # On AIX/PPC, the GNU linker is very broken
   11389       if test ia64 != "$host_cpu"; then
   11390 	ld_shlibs=no
   11391 	cat <<_LT_EOF 1>&2
   11392 
   11393 *** Warning: the GNU linker, at least up to release 2.19, is reported
   11394 *** to be unable to reliably create shared libraries on AIX.
   11395 *** Therefore, libtool is disabling shared libraries support.  If you
   11396 *** really care for shared libraries, you may want to install binutils
   11397 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   11398 *** You will then need to restart the configuration process.
   11399 
   11400 _LT_EOF
   11401       fi
   11402       ;;
   11403 
   11404     amigaos*)
   11405       case $host_cpu in
   11406       powerpc)
   11407             # see comment about AmigaOS4 .so support
   11408             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11409             archive_expsym_cmds=''
   11410         ;;
   11411       m68k)
   11412             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)'
   11413             hardcode_libdir_flag_spec='-L$libdir'
   11414             hardcode_minus_L=yes
   11415         ;;
   11416       esac
   11417       ;;
   11418 
   11419     beos*)
   11420       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   11421 	allow_undefined_flag=unsupported
   11422 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11423 	# support --undefined.  This deserves some investigation.  FIXME
   11424 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11425       else
   11426 	ld_shlibs=no
   11427       fi
   11428       ;;
   11429 
   11430     cygwin* | mingw* | pw32* | cegcc*)
   11431       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   11432       # as there is no search path for DLLs.
   11433       hardcode_libdir_flag_spec='-L$libdir'
   11434       export_dynamic_flag_spec='$wl--export-all-symbols'
   11435       allow_undefined_flag=unsupported
   11436       always_export_symbols=no
   11437       enable_shared_with_static_runtimes=yes
   11438       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'
   11439       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   11440 
   11441       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   11442         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   11443 	# If the export-symbols file already is a .def file, use it as
   11444 	# is; otherwise, prepend EXPORTS...
   11445 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   11446           cp $export_symbols $output_objdir/$soname.def;
   11447         else
   11448           echo EXPORTS > $output_objdir/$soname.def;
   11449           cat $export_symbols >> $output_objdir/$soname.def;
   11450         fi~
   11451         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   11452       else
   11453 	ld_shlibs=no
   11454       fi
   11455       ;;
   11456 
   11457     haiku*)
   11458       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11459       link_all_deplibs=yes
   11460       ;;
   11461 
   11462     os2*)
   11463       hardcode_libdir_flag_spec='-L$libdir'
   11464       hardcode_minus_L=yes
   11465       allow_undefined_flag=unsupported
   11466       shrext_cmds=.dll
   11467       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11468 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11469 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11470 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11471 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   11472 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11473 	emximp -o $lib $output_objdir/$libname.def'
   11474       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11475 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11476 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11477 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11478 	prefix_cmds="$SED"~
   11479 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   11480 	  prefix_cmds="$prefix_cmds -e 1d";
   11481 	fi~
   11482 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   11483 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   11484 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11485 	emximp -o $lib $output_objdir/$libname.def'
   11486       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   11487       enable_shared_with_static_runtimes=yes
   11488       ;;
   11489 
   11490     interix[3-9]*)
   11491       hardcode_direct=no
   11492       hardcode_shlibpath_var=no
   11493       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11494       export_dynamic_flag_spec='$wl-E'
   11495       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   11496       # Instead, shared libraries are loaded at an image base (0x10000000 by
   11497       # default) and relocated if they conflict, which is a slow very memory
   11498       # consuming and fragmenting process.  To avoid this, we pick a random,
   11499       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   11500       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   11501       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   11502       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'
   11503       ;;
   11504 
   11505     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   11506       tmp_diet=no
   11507       if test linux-dietlibc = "$host_os"; then
   11508 	case $cc_basename in
   11509 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   11510 	esac
   11511       fi
   11512       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   11513 	 && test no = "$tmp_diet"
   11514       then
   11515 	tmp_addflag=' $pic_flag'
   11516 	tmp_sharedflag='-shared'
   11517 	case $cc_basename,$host_cpu in
   11518         pgcc*)				# Portland Group C compiler
   11519 	  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'
   11520 	  tmp_addflag=' $pic_flag'
   11521 	  ;;
   11522 	pgf77* | pgf90* | pgf95* | pgfortran*)
   11523 					# Portland Group f77 and f90 compilers
   11524 	  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'
   11525 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   11526 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   11527 	  tmp_addflag=' -i_dynamic' ;;
   11528 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   11529 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   11530 	ifc* | ifort*)			# Intel Fortran compiler
   11531 	  tmp_addflag=' -nofor_main' ;;
   11532 	lf95*)				# Lahey Fortran 8.1
   11533 	  whole_archive_flag_spec=
   11534 	  tmp_sharedflag='--shared' ;;
   11535         nagfor*)                        # NAGFOR 5.3
   11536           tmp_sharedflag='-Wl,-shared' ;;
   11537 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   11538 	  tmp_sharedflag='-qmkshrobj'
   11539 	  tmp_addflag= ;;
   11540 	nvcc*)	# Cuda Compiler Driver 2.2
   11541 	  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'
   11542 	  compiler_needs_object=yes
   11543 	  ;;
   11544 	esac
   11545 	case `$CC -V 2>&1 | sed 5q` in
   11546 	*Sun\ C*)			# Sun C 5.9
   11547 	  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'
   11548 	  compiler_needs_object=yes
   11549 	  tmp_sharedflag='-G' ;;
   11550 	*Sun\ F*)			# Sun Fortran 8.3
   11551 	  tmp_sharedflag='-G' ;;
   11552 	esac
   11553 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11554 
   11555         if test yes = "$supports_anon_versioning"; then
   11556           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   11557             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   11558             echo "local: *; };" >> $output_objdir/$libname.ver~
   11559             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   11560         fi
   11561 
   11562 	case $cc_basename in
   11563 	tcc*)
   11564 	  export_dynamic_flag_spec='-rdynamic'
   11565 	  ;;
   11566 	xlf* | bgf* | bgxlf* | mpixlf*)
   11567 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   11568 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   11569 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11570 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   11571 	  if test yes = "$supports_anon_versioning"; then
   11572 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   11573               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   11574               echo "local: *; };" >> $output_objdir/$libname.ver~
   11575               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   11576 	  fi
   11577 	  ;;
   11578 	esac
   11579       else
   11580         ld_shlibs=no
   11581       fi
   11582       ;;
   11583 
   11584     netbsd*)
   11585       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11586 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   11587 	wlarc=
   11588       else
   11589 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11590 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   11591       fi
   11592       ;;
   11593 
   11594     solaris*)
   11595       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   11596 	ld_shlibs=no
   11597 	cat <<_LT_EOF 1>&2
   11598 
   11599 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   11600 *** create shared libraries on Solaris systems.  Therefore, libtool
   11601 *** is disabling shared libraries support.  We urge you to upgrade GNU
   11602 *** binutils to release 2.9.1 or newer.  Another option is to modify
   11603 *** your PATH or compiler configuration so that the native linker is
   11604 *** used, and then restart.
   11605 
   11606 _LT_EOF
   11607       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   11608 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11609 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   11610       else
   11611 	ld_shlibs=no
   11612       fi
   11613       ;;
   11614 
   11615     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   11616       case `$LD -v 2>&1` in
   11617         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   11618 	ld_shlibs=no
   11619 	cat <<_LT_EOF 1>&2
   11620 
   11621 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   11622 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   11623 *** is disabling shared libraries support.  We urge you to upgrade GNU
   11624 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   11625 *** your PATH or compiler configuration so that the native linker is
   11626 *** used, and then restart.
   11627 
   11628 _LT_EOF
   11629 	;;
   11630 	*)
   11631 	  # For security reasons, it is highly recommended that you always
   11632 	  # use absolute paths for naming shared libraries, and exclude the
   11633 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   11634 	  # requires that you compile everything twice, which is a pain.
   11635 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   11636 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11637 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11638 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   11639 	  else
   11640 	    ld_shlibs=no
   11641 	  fi
   11642 	;;
   11643       esac
   11644       ;;
   11645 
   11646     sunos4*)
   11647       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   11648       wlarc=
   11649       hardcode_direct=yes
   11650       hardcode_shlibpath_var=no
   11651       ;;
   11652 
   11653     *)
   11654       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   11655 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11656 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   11657       else
   11658 	ld_shlibs=no
   11659       fi
   11660       ;;
   11661     esac
   11662 
   11663     if test no = "$ld_shlibs"; then
   11664       runpath_var=
   11665       hardcode_libdir_flag_spec=
   11666       export_dynamic_flag_spec=
   11667       whole_archive_flag_spec=
   11668     fi
   11669   else
   11670     # PORTME fill in a description of your system's linker (not GNU ld)
   11671     case $host_os in
   11672     aix3*)
   11673       allow_undefined_flag=unsupported
   11674       always_export_symbols=yes
   11675       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'
   11676       # Note: this linker hardcodes the directories in LIBPATH if there
   11677       # are no directories specified by -L.
   11678       hardcode_minus_L=yes
   11679       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   11680 	# Neither direct hardcoding nor static linking is supported with a
   11681 	# broken collect2.
   11682 	hardcode_direct=unsupported
   11683       fi
   11684       ;;
   11685 
   11686     aix[4-9]*)
   11687       if test ia64 = "$host_cpu"; then
   11688 	# On IA64, the linker does run time linking by default, so we don't
   11689 	# have to do anything special.
   11690 	aix_use_runtimelinking=no
   11691 	exp_sym_flag='-Bexport'
   11692 	no_entry_flag=
   11693       else
   11694 	# If we're using GNU nm, then we don't want the "-C" option.
   11695 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   11696 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   11697 	# weak defined symbols like other global defined symbols, whereas
   11698 	# GNU nm marks them as "W".
   11699 	# While the 'weak' keyword is ignored in the Export File, we need
   11700 	# it in the Import File for the 'aix-soname' feature, so we have
   11701 	# to replace the "-B" option with "-P" for AIX nm.
   11702 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   11703 	  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'
   11704 	else
   11705 	  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 == "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'
   11706 	fi
   11707 	aix_use_runtimelinking=no
   11708 
   11709 	# Test if we are trying to use run time linking or normal
   11710 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   11711 	# have runtime linking enabled, and use it for executables.
   11712 	# For shared libraries, we enable/disable runtime linking
   11713 	# depending on the kind of the shared library created -
   11714 	# when "with_aix_soname,aix_use_runtimelinking" is:
   11715 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   11716 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   11717 	#            lib.a           static archive
   11718 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   11719 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   11720 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   11721 	#            lib.a(lib.so.V) shared, rtl:no
   11722 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   11723 	#            lib.a           static archive
   11724 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   11725 	  for ld_flag in $LDFLAGS; do
   11726 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   11727 	    aix_use_runtimelinking=yes
   11728 	    break
   11729 	  fi
   11730 	  done
   11731 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   11732 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   11733 	    # so we don't have lib.a shared libs to link our executables.
   11734 	    # We have to force runtime linking in this case.
   11735 	    aix_use_runtimelinking=yes
   11736 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   11737 	  fi
   11738 	  ;;
   11739 	esac
   11740 
   11741 	exp_sym_flag='-bexport'
   11742 	no_entry_flag='-bnoentry'
   11743       fi
   11744 
   11745       # When large executables or shared objects are built, AIX ld can
   11746       # have problems creating the table of contents.  If linking a library
   11747       # or program results in "error TOC overflow" add -mminimal-toc to
   11748       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   11749       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   11750 
   11751       archive_cmds=''
   11752       hardcode_direct=yes
   11753       hardcode_direct_absolute=yes
   11754       hardcode_libdir_separator=':'
   11755       link_all_deplibs=yes
   11756       file_list_spec='$wl-f,'
   11757       case $with_aix_soname,$aix_use_runtimelinking in
   11758       aix,*) ;; # traditional, no import file
   11759       svr4,* | *,yes) # use import file
   11760 	# The Import File defines what to hardcode.
   11761 	hardcode_direct=no
   11762 	hardcode_direct_absolute=no
   11763 	;;
   11764       esac
   11765 
   11766       if test yes = "$GCC"; then
   11767 	case $host_os in aix4.[012]|aix4.[012].*)
   11768 	# We only want to do this on AIX 4.2 and lower, the check
   11769 	# below for broken collect2 doesn't work under 4.3+
   11770 	  collect2name=`$CC -print-prog-name=collect2`
   11771 	  if test -f "$collect2name" &&
   11772 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   11773 	  then
   11774 	  # We have reworked collect2
   11775 	  :
   11776 	  else
   11777 	  # We have old collect2
   11778 	  hardcode_direct=unsupported
   11779 	  # It fails to find uninstalled libraries when the uninstalled
   11780 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   11781 	  # to unsupported forces relinking
   11782 	  hardcode_minus_L=yes
   11783 	  hardcode_libdir_flag_spec='-L$libdir'
   11784 	  hardcode_libdir_separator=
   11785 	  fi
   11786 	  ;;
   11787 	esac
   11788 	shared_flag='-shared'
   11789 	if test yes = "$aix_use_runtimelinking"; then
   11790 	  shared_flag="$shared_flag "'$wl-G'
   11791 	fi
   11792 	# Need to ensure runtime linking is disabled for the traditional
   11793 	# shared library, or the linker may eventually find shared libraries
   11794 	# /with/ Import File - we do not want to mix them.
   11795 	shared_flag_aix='-shared'
   11796 	shared_flag_svr4='-shared $wl-G'
   11797       else
   11798 	# not using gcc
   11799 	if test ia64 = "$host_cpu"; then
   11800 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   11801 	# chokes on -Wl,-G. The following line is correct:
   11802 	  shared_flag='-G'
   11803 	else
   11804 	  if test yes = "$aix_use_runtimelinking"; then
   11805 	    shared_flag='$wl-G'
   11806 	  else
   11807 	    shared_flag='$wl-bM:SRE'
   11808 	  fi
   11809 	  shared_flag_aix='$wl-bM:SRE'
   11810 	  shared_flag_svr4='$wl-G'
   11811 	fi
   11812       fi
   11813 
   11814       export_dynamic_flag_spec='$wl-bexpall'
   11815       # It seems that -bexpall does not export symbols beginning with
   11816       # underscore (_), so it is better to generate a list of symbols to export.
   11817       always_export_symbols=yes
   11818       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   11819 	# Warning - without using the other runtime loading flags (-brtl),
   11820 	# -berok will link without error, but may produce a broken library.
   11821 	allow_undefined_flag='-berok'
   11822         # Determine the default libpath from the value encoded in an
   11823         # empty executable.
   11824         if test set = "${lt_cv_aix_libpath+set}"; then
   11825   aix_libpath=$lt_cv_aix_libpath
   11826 else
   11827   if test ${lt_cv_aix_libpath_+y}
   11828 then :
   11829   printf %s "(cached) " >&6
   11830 else $as_nop
   11831   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11832 /* end confdefs.h.  */
   11833 
   11834 int
   11835 main (void)
   11836 {
   11837 
   11838   ;
   11839   return 0;
   11840 }
   11841 _ACEOF
   11842 if ac_fn_c_try_link "$LINENO"
   11843 then :
   11844 
   11845   lt_aix_libpath_sed='
   11846       /Import File Strings/,/^$/ {
   11847 	  /^0/ {
   11848 	      s/^0  *\([^ ]*\) *$/\1/
   11849 	      p
   11850 	  }
   11851       }'
   11852   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11853   # Check for a 64-bit object if we didn't find anything.
   11854   if test -z "$lt_cv_aix_libpath_"; then
   11855     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11856   fi
   11857 fi
   11858 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11859     conftest$ac_exeext conftest.$ac_ext
   11860   if test -z "$lt_cv_aix_libpath_"; then
   11861     lt_cv_aix_libpath_=/usr/lib:/lib
   11862   fi
   11863 
   11864 fi
   11865 
   11866   aix_libpath=$lt_cv_aix_libpath_
   11867 fi
   11868 
   11869         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   11870         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
   11871       else
   11872 	if test ia64 = "$host_cpu"; then
   11873 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   11874 	  allow_undefined_flag="-z nodefs"
   11875 	  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"
   11876 	else
   11877 	 # Determine the default libpath from the value encoded in an
   11878 	 # empty executable.
   11879 	 if test set = "${lt_cv_aix_libpath+set}"; then
   11880   aix_libpath=$lt_cv_aix_libpath
   11881 else
   11882   if test ${lt_cv_aix_libpath_+y}
   11883 then :
   11884   printf %s "(cached) " >&6
   11885 else $as_nop
   11886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11887 /* end confdefs.h.  */
   11888 
   11889 int
   11890 main (void)
   11891 {
   11892 
   11893   ;
   11894   return 0;
   11895 }
   11896 _ACEOF
   11897 if ac_fn_c_try_link "$LINENO"
   11898 then :
   11899 
   11900   lt_aix_libpath_sed='
   11901       /Import File Strings/,/^$/ {
   11902 	  /^0/ {
   11903 	      s/^0  *\([^ ]*\) *$/\1/
   11904 	      p
   11905 	  }
   11906       }'
   11907   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11908   # Check for a 64-bit object if we didn't find anything.
   11909   if test -z "$lt_cv_aix_libpath_"; then
   11910     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11911   fi
   11912 fi
   11913 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11914     conftest$ac_exeext conftest.$ac_ext
   11915   if test -z "$lt_cv_aix_libpath_"; then
   11916     lt_cv_aix_libpath_=/usr/lib:/lib
   11917   fi
   11918 
   11919 fi
   11920 
   11921   aix_libpath=$lt_cv_aix_libpath_
   11922 fi
   11923 
   11924 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   11925 	  # Warning - without using the other run time loading flags,
   11926 	  # -berok will link without error, but may produce a broken library.
   11927 	  no_undefined_flag=' $wl-bernotok'
   11928 	  allow_undefined_flag=' $wl-berok'
   11929 	  if test yes = "$with_gnu_ld"; then
   11930 	    # We only use this code for GNU lds that support --whole-archive.
   11931 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   11932 	  else
   11933 	    # Exported symbols can be pulled into shared objects from archives
   11934 	    whole_archive_flag_spec='$convenience'
   11935 	  fi
   11936 	  archive_cmds_need_lc=yes
   11937 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   11938 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   11939 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   11940 	  if test svr4 != "$with_aix_soname"; then
   11941 	    # This is similar to how AIX traditionally builds its shared libraries.
   11942 	    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'
   11943 	  fi
   11944 	  if test aix != "$with_aix_soname"; then
   11945 	    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'
   11946 	  else
   11947 	    # used by -dlpreopen to get the symbols
   11948 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   11949 	  fi
   11950 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   11951 	fi
   11952       fi
   11953       ;;
   11954 
   11955     amigaos*)
   11956       case $host_cpu in
   11957       powerpc)
   11958             # see comment about AmigaOS4 .so support
   11959             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11960             archive_expsym_cmds=''
   11961         ;;
   11962       m68k)
   11963             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)'
   11964             hardcode_libdir_flag_spec='-L$libdir'
   11965             hardcode_minus_L=yes
   11966         ;;
   11967       esac
   11968       ;;
   11969 
   11970     bsdi[45]*)
   11971       export_dynamic_flag_spec=-rdynamic
   11972       ;;
   11973 
   11974     cygwin* | mingw* | pw32* | cegcc*)
   11975       # When not using gcc, we currently assume that we are using
   11976       # Microsoft Visual C++.
   11977       # hardcode_libdir_flag_spec is actually meaningless, as there is
   11978       # no search path for DLLs.
   11979       case $cc_basename in
   11980       cl*)
   11981 	# Native MSVC
   11982 	hardcode_libdir_flag_spec=' '
   11983 	allow_undefined_flag=unsupported
   11984 	always_export_symbols=yes
   11985 	file_list_spec='@'
   11986 	# Tell ltmain to make .lib files, not .a files.
   11987 	libext=lib
   11988 	# Tell ltmain to make .dll files, not .so files.
   11989 	shrext_cmds=.dll
   11990 	# FIXME: Setting linknames here is a bad hack.
   11991 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   11992 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   11993             cp "$export_symbols" "$output_objdir/$soname.def";
   11994             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   11995           else
   11996             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   11997           fi~
   11998           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   11999           linknames='
   12000 	# The linker will not automatically build a static lib if we build a DLL.
   12001 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   12002 	enable_shared_with_static_runtimes=yes
   12003 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   12004 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   12005 	# Don't use ranlib
   12006 	old_postinstall_cmds='chmod 644 $oldlib'
   12007 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   12008           lt_tool_outputfile="@TOOL_OUTPUT@"~
   12009           case $lt_outputfile in
   12010             *.exe|*.EXE) ;;
   12011             *)
   12012               lt_outputfile=$lt_outputfile.exe
   12013               lt_tool_outputfile=$lt_tool_outputfile.exe
   12014               ;;
   12015           esac~
   12016           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   12017             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   12018             $RM "$lt_outputfile.manifest";
   12019           fi'
   12020 	;;
   12021       *)
   12022 	# Assume MSVC wrapper
   12023 	hardcode_libdir_flag_spec=' '
   12024 	allow_undefined_flag=unsupported
   12025 	# Tell ltmain to make .lib files, not .a files.
   12026 	libext=lib
   12027 	# Tell ltmain to make .dll files, not .so files.
   12028 	shrext_cmds=.dll
   12029 	# FIXME: Setting linknames here is a bad hack.
   12030 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   12031 	# The linker will automatically build a .lib file if we build a DLL.
   12032 	old_archive_from_new_cmds='true'
   12033 	# FIXME: Should let the user specify the lib program.
   12034 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   12035 	enable_shared_with_static_runtimes=yes
   12036 	;;
   12037       esac
   12038       ;;
   12039 
   12040     darwin* | rhapsody*)
   12041 
   12042 
   12043   archive_cmds_need_lc=no
   12044   hardcode_direct=no
   12045   hardcode_automatic=yes
   12046   hardcode_shlibpath_var=unsupported
   12047   if test yes = "$lt_cv_ld_force_load"; then
   12048     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\"`'
   12049 
   12050   else
   12051     whole_archive_flag_spec=''
   12052   fi
   12053   link_all_deplibs=yes
   12054   allow_undefined_flag=$_lt_dar_allow_undefined
   12055   case $cc_basename in
   12056      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   12057      *) _lt_dar_can_shared=$GCC ;;
   12058   esac
   12059   if test yes = "$_lt_dar_can_shared"; then
   12060     output_verbose_link_cmd=func_echo_all
   12061     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   12062     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   12063     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"
   12064     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"
   12065 
   12066   else
   12067   ld_shlibs=no
   12068   fi
   12069 
   12070       ;;
   12071 
   12072     dgux*)
   12073       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   12074       hardcode_libdir_flag_spec='-L$libdir'
   12075       hardcode_shlibpath_var=no
   12076       ;;
   12077 
   12078     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   12079     # support.  Future versions do this automatically, but an explicit c++rt0.o
   12080     # does not break anything, and helps significantly (at the cost of a little
   12081     # extra space).
   12082     freebsd2.2*)
   12083       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   12084       hardcode_libdir_flag_spec='-R$libdir'
   12085       hardcode_direct=yes
   12086       hardcode_shlibpath_var=no
   12087       ;;
   12088 
   12089     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   12090     freebsd2.*)
   12091       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   12092       hardcode_direct=yes
   12093       hardcode_minus_L=yes
   12094       hardcode_shlibpath_var=no
   12095       ;;
   12096 
   12097     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   12098     freebsd* | dragonfly*)
   12099       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   12100       hardcode_libdir_flag_spec='-R$libdir'
   12101       hardcode_direct=yes
   12102       hardcode_shlibpath_var=no
   12103       ;;
   12104 
   12105     hpux9*)
   12106       if test yes = "$GCC"; then
   12107 	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'
   12108       else
   12109 	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'
   12110       fi
   12111       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   12112       hardcode_libdir_separator=:
   12113       hardcode_direct=yes
   12114 
   12115       # hardcode_minus_L: Not really in the search PATH,
   12116       # but as the default location of the library.
   12117       hardcode_minus_L=yes
   12118       export_dynamic_flag_spec='$wl-E'
   12119       ;;
   12120 
   12121     hpux10*)
   12122       if test yes,no = "$GCC,$with_gnu_ld"; then
   12123 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   12124       else
   12125 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   12126       fi
   12127       if test no = "$with_gnu_ld"; then
   12128 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   12129 	hardcode_libdir_separator=:
   12130 	hardcode_direct=yes
   12131 	hardcode_direct_absolute=yes
   12132 	export_dynamic_flag_spec='$wl-E'
   12133 	# hardcode_minus_L: Not really in the search PATH,
   12134 	# but as the default location of the library.
   12135 	hardcode_minus_L=yes
   12136       fi
   12137       ;;
   12138 
   12139     hpux11*)
   12140       if test yes,no = "$GCC,$with_gnu_ld"; then
   12141 	case $host_cpu in
   12142 	hppa*64*)
   12143 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   12144 	  ;;
   12145 	ia64*)
   12146 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   12147 	  ;;
   12148 	*)
   12149 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   12150 	  ;;
   12151 	esac
   12152       else
   12153 	case $host_cpu in
   12154 	hppa*64*)
   12155 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   12156 	  ;;
   12157 	ia64*)
   12158 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   12159 	  ;;
   12160 	*)
   12161 
   12162 	  # Older versions of the 11.00 compiler do not understand -b yet
   12163 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   12164 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   12165 printf %s "checking if $CC understands -b... " >&6; }
   12166 if test ${lt_cv_prog_compiler__b+y}
   12167 then :
   12168   printf %s "(cached) " >&6
   12169 else $as_nop
   12170   lt_cv_prog_compiler__b=no
   12171    save_LDFLAGS=$LDFLAGS
   12172    LDFLAGS="$LDFLAGS -b"
   12173    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   12174    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   12175      # The linker can only warn and ignore the option if not recognized
   12176      # So say no if there are warnings
   12177      if test -s conftest.err; then
   12178        # Append any errors to the config.log.
   12179        cat conftest.err 1>&5
   12180        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   12181        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12182        if diff conftest.exp conftest.er2 >/dev/null; then
   12183          lt_cv_prog_compiler__b=yes
   12184        fi
   12185      else
   12186        lt_cv_prog_compiler__b=yes
   12187      fi
   12188    fi
   12189    $RM -r conftest*
   12190    LDFLAGS=$save_LDFLAGS
   12191 
   12192 fi
   12193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   12194 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   12195 
   12196 if test yes = "$lt_cv_prog_compiler__b"; then
   12197     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   12198 else
   12199     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   12200 fi
   12201 
   12202 	  ;;
   12203 	esac
   12204       fi
   12205       if test no = "$with_gnu_ld"; then
   12206 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   12207 	hardcode_libdir_separator=:
   12208 
   12209 	case $host_cpu in
   12210 	hppa*64*|ia64*)
   12211 	  hardcode_direct=no
   12212 	  hardcode_shlibpath_var=no
   12213 	  ;;
   12214 	*)
   12215 	  hardcode_direct=yes
   12216 	  hardcode_direct_absolute=yes
   12217 	  export_dynamic_flag_spec='$wl-E'
   12218 
   12219 	  # hardcode_minus_L: Not really in the search PATH,
   12220 	  # but as the default location of the library.
   12221 	  hardcode_minus_L=yes
   12222 	  ;;
   12223 	esac
   12224       fi
   12225       ;;
   12226 
   12227     irix5* | irix6* | nonstopux*)
   12228       if test yes = "$GCC"; then
   12229 	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'
   12230 	# Try to use the -exported_symbol ld option, if it does not
   12231 	# work, assume that -exports_file does not work either and
   12232 	# implicitly export all symbols.
   12233 	# This should be the same for all languages, so no per-tag cache variable.
   12234 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   12235 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   12236 if test ${lt_cv_irix_exported_symbol+y}
   12237 then :
   12238   printf %s "(cached) " >&6
   12239 else $as_nop
   12240   save_LDFLAGS=$LDFLAGS
   12241 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   12242 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12243 /* end confdefs.h.  */
   12244 int foo (void) { return 0; }
   12245 _ACEOF
   12246 if ac_fn_c_try_link "$LINENO"
   12247 then :
   12248   lt_cv_irix_exported_symbol=yes
   12249 else $as_nop
   12250   lt_cv_irix_exported_symbol=no
   12251 fi
   12252 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12253     conftest$ac_exeext conftest.$ac_ext
   12254            LDFLAGS=$save_LDFLAGS
   12255 fi
   12256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   12257 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   12258 	if test yes = "$lt_cv_irix_exported_symbol"; then
   12259           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'
   12260 	fi
   12261       else
   12262 	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'
   12263 	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'
   12264       fi
   12265       archive_cmds_need_lc='no'
   12266       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   12267       hardcode_libdir_separator=:
   12268       inherit_rpath=yes
   12269       link_all_deplibs=yes
   12270       ;;
   12271 
   12272     linux*)
   12273       case $cc_basename in
   12274       tcc*)
   12275 	# Fabrice Bellard et al's Tiny C Compiler
   12276 	ld_shlibs=yes
   12277 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   12278 	;;
   12279       esac
   12280       ;;
   12281 
   12282     netbsd*)
   12283       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   12284 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   12285       else
   12286 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   12287       fi
   12288       hardcode_libdir_flag_spec='-R$libdir'
   12289       hardcode_direct=yes
   12290       hardcode_shlibpath_var=no
   12291       ;;
   12292 
   12293     newsos6)
   12294       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   12295       hardcode_direct=yes
   12296       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   12297       hardcode_libdir_separator=:
   12298       hardcode_shlibpath_var=no
   12299       ;;
   12300 
   12301     *nto* | *qnx*)
   12302       ;;
   12303 
   12304     openbsd* | bitrig*)
   12305       if test -f /usr/libexec/ld.so; then
   12306 	hardcode_direct=yes
   12307 	hardcode_shlibpath_var=no
   12308 	hardcode_direct_absolute=yes
   12309 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12310 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   12311 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   12312 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   12313 	  export_dynamic_flag_spec='$wl-E'
   12314 	else
   12315 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   12316 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   12317 	fi
   12318       else
   12319 	ld_shlibs=no
   12320       fi
   12321       ;;
   12322 
   12323     os2*)
   12324       hardcode_libdir_flag_spec='-L$libdir'
   12325       hardcode_minus_L=yes
   12326       allow_undefined_flag=unsupported
   12327       shrext_cmds=.dll
   12328       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   12329 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   12330 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   12331 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   12332 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   12333 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   12334 	emximp -o $lib $output_objdir/$libname.def'
   12335       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   12336 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   12337 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   12338 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   12339 	prefix_cmds="$SED"~
   12340 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   12341 	  prefix_cmds="$prefix_cmds -e 1d";
   12342 	fi~
   12343 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   12344 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   12345 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   12346 	emximp -o $lib $output_objdir/$libname.def'
   12347       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   12348       enable_shared_with_static_runtimes=yes
   12349       ;;
   12350 
   12351     osf3*)
   12352       if test yes = "$GCC"; then
   12353 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   12354 	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'
   12355       else
   12356 	allow_undefined_flag=' -expect_unresolved \*'
   12357 	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'
   12358       fi
   12359       archive_cmds_need_lc='no'
   12360       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   12361       hardcode_libdir_separator=:
   12362       ;;
   12363 
   12364     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   12365       if test yes = "$GCC"; then
   12366 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   12367 	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'
   12368 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   12369       else
   12370 	allow_undefined_flag=' -expect_unresolved \*'
   12371 	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'
   12372 	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~
   12373           $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'
   12374 
   12375 	# Both c and cxx compiler support -rpath directly
   12376 	hardcode_libdir_flag_spec='-rpath $libdir'
   12377       fi
   12378       archive_cmds_need_lc='no'
   12379       hardcode_libdir_separator=:
   12380       ;;
   12381 
   12382     solaris*)
   12383       no_undefined_flag=' -z defs'
   12384       if test yes = "$GCC"; then
   12385 	wlarc='$wl'
   12386 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   12387 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   12388           $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'
   12389       else
   12390 	case `$CC -V 2>&1` in
   12391 	*"Compilers 5.0"*)
   12392 	  wlarc=''
   12393 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   12394 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   12395             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   12396 	  ;;
   12397 	*)
   12398 	  wlarc='$wl'
   12399 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   12400 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   12401             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   12402 	  ;;
   12403 	esac
   12404       fi
   12405       hardcode_libdir_flag_spec='-R$libdir'
   12406       hardcode_shlibpath_var=no
   12407       case $host_os in
   12408       solaris2.[0-5] | solaris2.[0-5].*) ;;
   12409       *)
   12410 	# The compiler driver will combine and reorder linker options,
   12411 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   12412 	# but is careful enough not to reorder.
   12413 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   12414 	if test yes = "$GCC"; then
   12415 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   12416 	else
   12417 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   12418 	fi
   12419 	;;
   12420       esac
   12421       link_all_deplibs=yes
   12422       ;;
   12423 
   12424     sunos4*)
   12425       if test sequent = "$host_vendor"; then
   12426 	# Use $CC to link under sequent, because it throws in some extra .o
   12427 	# files that make .init and .fini sections work.
   12428 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   12429       else
   12430 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   12431       fi
   12432       hardcode_libdir_flag_spec='-L$libdir'
   12433       hardcode_direct=yes
   12434       hardcode_minus_L=yes
   12435       hardcode_shlibpath_var=no
   12436       ;;
   12437 
   12438     sysv4)
   12439       case $host_vendor in
   12440 	sni)
   12441 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   12442 	  hardcode_direct=yes # is this really true???
   12443 	;;
   12444 	siemens)
   12445 	  ## LD is ld it makes a PLAMLIB
   12446 	  ## CC just makes a GrossModule.
   12447 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   12448 	  reload_cmds='$CC -r -o $output$reload_objs'
   12449 	  hardcode_direct=no
   12450         ;;
   12451 	motorola)
   12452 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   12453 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   12454 	;;
   12455       esac
   12456       runpath_var='LD_RUN_PATH'
   12457       hardcode_shlibpath_var=no
   12458       ;;
   12459 
   12460     sysv4.3*)
   12461       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   12462       hardcode_shlibpath_var=no
   12463       export_dynamic_flag_spec='-Bexport'
   12464       ;;
   12465 
   12466     sysv4*MP*)
   12467       if test -d /usr/nec; then
   12468 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   12469 	hardcode_shlibpath_var=no
   12470 	runpath_var=LD_RUN_PATH
   12471 	hardcode_runpath_var=yes
   12472 	ld_shlibs=yes
   12473       fi
   12474       ;;
   12475 
   12476     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   12477       no_undefined_flag='$wl-z,text'
   12478       archive_cmds_need_lc=no
   12479       hardcode_shlibpath_var=no
   12480       runpath_var='LD_RUN_PATH'
   12481 
   12482       if test yes = "$GCC"; then
   12483 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12484 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12485       else
   12486 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12487 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12488       fi
   12489       ;;
   12490 
   12491     sysv5* | sco3.2v5* | sco5v6*)
   12492       # Note: We CANNOT use -z defs as we might desire, because we do not
   12493       # link with -lc, and that would cause any symbols used from libc to
   12494       # always be unresolved, which means just about no library would
   12495       # ever link correctly.  If we're not using GNU ld we use -z text
   12496       # though, which does catch some bad symbols but isn't as heavy-handed
   12497       # as -z defs.
   12498       no_undefined_flag='$wl-z,text'
   12499       allow_undefined_flag='$wl-z,nodefs'
   12500       archive_cmds_need_lc=no
   12501       hardcode_shlibpath_var=no
   12502       hardcode_libdir_flag_spec='$wl-R,$libdir'
   12503       hardcode_libdir_separator=':'
   12504       link_all_deplibs=yes
   12505       export_dynamic_flag_spec='$wl-Bexport'
   12506       runpath_var='LD_RUN_PATH'
   12507 
   12508       if test yes = "$GCC"; then
   12509 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12510 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12511       else
   12512 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12513 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12514       fi
   12515       ;;
   12516 
   12517     uts4*)
   12518       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   12519       hardcode_libdir_flag_spec='-L$libdir'
   12520       hardcode_shlibpath_var=no
   12521       ;;
   12522 
   12523     *)
   12524       ld_shlibs=no
   12525       ;;
   12526     esac
   12527 
   12528     if test sni = "$host_vendor"; then
   12529       case $host in
   12530       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   12531 	export_dynamic_flag_spec='$wl-Blargedynsym'
   12532 	;;
   12533       esac
   12534     fi
   12535   fi
   12536 
   12537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   12538 printf "%s\n" "$ld_shlibs" >&6; }
   12539 test no = "$ld_shlibs" && can_build_shared=no
   12540 
   12541 with_gnu_ld=$with_gnu_ld
   12542 
   12543 
   12544 
   12545 
   12546 
   12547 
   12548 
   12549 
   12550 
   12551 
   12552 
   12553 
   12554 
   12555 
   12556 
   12557 #
   12558 # Do we need to explicitly link libc?
   12559 #
   12560 case "x$archive_cmds_need_lc" in
   12561 x|xyes)
   12562   # Assume -lc should be added
   12563   archive_cmds_need_lc=yes
   12564 
   12565   if test yes,yes = "$GCC,$enable_shared"; then
   12566     case $archive_cmds in
   12567     *'~'*)
   12568       # FIXME: we may have to deal with multi-command sequences.
   12569       ;;
   12570     '$CC '*)
   12571       # Test whether the compiler implicitly links with -lc since on some
   12572       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   12573       # to ld, don't add -lc before -lgcc.
   12574       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   12575 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   12576 if test ${lt_cv_archive_cmds_need_lc+y}
   12577 then :
   12578   printf %s "(cached) " >&6
   12579 else $as_nop
   12580   $RM conftest*
   12581 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12582 
   12583 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12584   (eval $ac_compile) 2>&5
   12585   ac_status=$?
   12586   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12587   test $ac_status = 0; } 2>conftest.err; then
   12588 	  soname=conftest
   12589 	  lib=conftest
   12590 	  libobjs=conftest.$ac_objext
   12591 	  deplibs=
   12592 	  wl=$lt_prog_compiler_wl
   12593 	  pic_flag=$lt_prog_compiler_pic
   12594 	  compiler_flags=-v
   12595 	  linker_flags=-v
   12596 	  verstring=
   12597 	  output_objdir=.
   12598 	  libname=conftest
   12599 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   12600 	  allow_undefined_flag=
   12601 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   12602   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   12603   ac_status=$?
   12604   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12605   test $ac_status = 0; }
   12606 	  then
   12607 	    lt_cv_archive_cmds_need_lc=no
   12608 	  else
   12609 	    lt_cv_archive_cmds_need_lc=yes
   12610 	  fi
   12611 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   12612 	else
   12613 	  cat conftest.err 1>&5
   12614 	fi
   12615 	$RM conftest*
   12616 
   12617 fi
   12618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   12619 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   12620       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   12621       ;;
   12622     esac
   12623   fi
   12624   ;;
   12625 esac
   12626 
   12627 
   12628 
   12629 
   12630 
   12631 
   12632 
   12633 
   12634 
   12635 
   12636 
   12637 
   12638 
   12639 
   12640 
   12641 
   12642 
   12643 
   12644 
   12645 
   12646 
   12647 
   12648 
   12649 
   12650 
   12651 
   12652 
   12653 
   12654 
   12655 
   12656 
   12657 
   12658 
   12659 
   12660 
   12661 
   12662 
   12663 
   12664 
   12665 
   12666 
   12667 
   12668 
   12669 
   12670 
   12671 
   12672 
   12673 
   12674 
   12675 
   12676 
   12677 
   12678 
   12679 
   12680 
   12681 
   12682 
   12683 
   12684 
   12685 
   12686 
   12687 
   12688 
   12689 
   12690 
   12691 
   12692 
   12693 
   12694 
   12695 
   12696 
   12697 
   12698 
   12699 
   12700 
   12701 
   12702 
   12703 
   12704 
   12705 
   12706 
   12707 
   12708 
   12709 
   12710 
   12711 
   12712 
   12713 
   12714 
   12715 
   12716 
   12717 
   12718 
   12719 
   12720 
   12721 
   12722 
   12723 
   12724 
   12725 
   12726 
   12727 
   12728 
   12729 
   12730 
   12731 
   12732 
   12733 
   12734 
   12735 
   12736 
   12737 
   12738 
   12739 
   12740 
   12741 
   12742 
   12743 
   12744 
   12745 
   12746 
   12747 
   12748 
   12749 
   12750 
   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   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   12779 printf %s "checking dynamic linker characteristics... " >&6; }
   12780 
   12781 if test yes = "$GCC"; then
   12782   case $host_os in
   12783     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   12784     *) lt_awk_arg='/^libraries:/' ;;
   12785   esac
   12786   case $host_os in
   12787     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   12788     *) lt_sed_strip_eq='s|=/|/|g' ;;
   12789   esac
   12790   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   12791   case $lt_search_path_spec in
   12792   *\;*)
   12793     # if the path contains ";" then we assume it to be the separator
   12794     # otherwise default to the standard path separator (i.e. ":") - it is
   12795     # assumed that no part of a normal pathname contains ";" but that should
   12796     # okay in the real world where ";" in dirpaths is itself problematic.
   12797     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   12798     ;;
   12799   *)
   12800     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   12801     ;;
   12802   esac
   12803   # Ok, now we have the path, separated by spaces, we can step through it
   12804   # and add multilib dir if necessary...
   12805   lt_tmp_lt_search_path_spec=
   12806   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   12807   # ...but if some path component already ends with the multilib dir we assume
   12808   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   12809   case "$lt_multi_os_dir; $lt_search_path_spec " in
   12810   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   12811     lt_multi_os_dir=
   12812     ;;
   12813   esac
   12814   for lt_sys_path in $lt_search_path_spec; do
   12815     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   12816       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   12817     elif test -n "$lt_multi_os_dir"; then
   12818       test -d "$lt_sys_path" && \
   12819 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   12820     fi
   12821   done
   12822   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   12823 BEGIN {RS = " "; FS = "/|\n";} {
   12824   lt_foo = "";
   12825   lt_count = 0;
   12826   for (lt_i = NF; lt_i > 0; lt_i--) {
   12827     if ($lt_i != "" && $lt_i != ".") {
   12828       if ($lt_i == "..") {
   12829         lt_count++;
   12830       } else {
   12831         if (lt_count == 0) {
   12832           lt_foo = "/" $lt_i lt_foo;
   12833         } else {
   12834           lt_count--;
   12835         }
   12836       }
   12837     }
   12838   }
   12839   if (lt_foo != "") { lt_freq[lt_foo]++; }
   12840   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   12841 }'`
   12842   # AWK program above erroneously prepends '/' to C:/dos/paths
   12843   # for these hosts.
   12844   case $host_os in
   12845     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   12846       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   12847   esac
   12848   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   12849 else
   12850   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12851 fi
   12852 library_names_spec=
   12853 libname_spec='lib$name'
   12854 soname_spec=
   12855 shrext_cmds=.so
   12856 postinstall_cmds=
   12857 postuninstall_cmds=
   12858 finish_cmds=
   12859 finish_eval=
   12860 shlibpath_var=
   12861 shlibpath_overrides_runpath=unknown
   12862 version_type=none
   12863 dynamic_linker="$host_os ld.so"
   12864 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   12865 need_lib_prefix=unknown
   12866 hardcode_into_libs=no
   12867 
   12868 # when you set need_version to no, make sure it does not cause -set_version
   12869 # flags to be left without arguments
   12870 need_version=unknown
   12871 
   12872 
   12873 
   12874 case $host_os in
   12875 aix3*)
   12876   version_type=linux # correct to gnu/linux during the next big refactor
   12877   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   12878   shlibpath_var=LIBPATH
   12879 
   12880   # AIX 3 has no versioning support, so we append a major version to the name.
   12881   soname_spec='$libname$release$shared_ext$major'
   12882   ;;
   12883 
   12884 aix[4-9]*)
   12885   version_type=linux # correct to gnu/linux during the next big refactor
   12886   need_lib_prefix=no
   12887   need_version=no
   12888   hardcode_into_libs=yes
   12889   if test ia64 = "$host_cpu"; then
   12890     # AIX 5 supports IA64
   12891     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   12892     shlibpath_var=LD_LIBRARY_PATH
   12893   else
   12894     # With GCC up to 2.95.x, collect2 would create an import file
   12895     # for dependence libraries.  The import file would start with
   12896     # the line '#! .'.  This would cause the generated library to
   12897     # depend on '.', always an invalid library.  This was fixed in
   12898     # development snapshots of GCC prior to 3.0.
   12899     case $host_os in
   12900       aix4 | aix4.[01] | aix4.[01].*)
   12901       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   12902 	   echo ' yes '
   12903 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   12904 	:
   12905       else
   12906 	can_build_shared=no
   12907       fi
   12908       ;;
   12909     esac
   12910     # Using Import Files as archive members, it is possible to support
   12911     # filename-based versioning of shared library archives on AIX. While
   12912     # this would work for both with and without runtime linking, it will
   12913     # prevent static linking of such archives. So we do filename-based
   12914     # shared library versioning with .so extension only, which is used
   12915     # when both runtime linking and shared linking is enabled.
   12916     # Unfortunately, runtime linking may impact performance, so we do
   12917     # not want this to be the default eventually. Also, we use the
   12918     # versioned .so libs for executables only if there is the -brtl
   12919     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   12920     # To allow for filename-based versioning support, we need to create
   12921     # libNAME.so.V as an archive file, containing:
   12922     # *) an Import File, referring to the versioned filename of the
   12923     #    archive as well as the shared archive member, telling the
   12924     #    bitwidth (32 or 64) of that shared object, and providing the
   12925     #    list of exported symbols of that shared object, eventually
   12926     #    decorated with the 'weak' keyword
   12927     # *) the shared object with the F_LOADONLY flag set, to really avoid
   12928     #    it being seen by the linker.
   12929     # At run time we better use the real file rather than another symlink,
   12930     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   12931 
   12932     case $with_aix_soname,$aix_use_runtimelinking in
   12933     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   12934     # soname into executable. Probably we can add versioning support to
   12935     # collect2, so additional links can be useful in future.
   12936     aix,yes) # traditional libtool
   12937       dynamic_linker='AIX unversionable lib.so'
   12938       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   12939       # instead of lib<name>.a to let people know that these are not
   12940       # typical AIX shared libraries.
   12941       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12942       ;;
   12943     aix,no) # traditional AIX only
   12944       dynamic_linker='AIX lib.a(lib.so.V)'
   12945       # We preserve .a as extension for shared libraries through AIX4.2
   12946       # and later when we are not doing run time linking.
   12947       library_names_spec='$libname$release.a $libname.a'
   12948       soname_spec='$libname$release$shared_ext$major'
   12949       ;;
   12950     svr4,*) # full svr4 only
   12951       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   12952       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   12953       # We do not specify a path in Import Files, so LIBPATH fires.
   12954       shlibpath_overrides_runpath=yes
   12955       ;;
   12956     *,yes) # both, prefer svr4
   12957       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   12958       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   12959       # unpreferred sharedlib libNAME.a needs extra handling
   12960       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"'
   12961       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"'
   12962       # We do not specify a path in Import Files, so LIBPATH fires.
   12963       shlibpath_overrides_runpath=yes
   12964       ;;
   12965     *,no) # both, prefer aix
   12966       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   12967       library_names_spec='$libname$release.a $libname.a'
   12968       soname_spec='$libname$release$shared_ext$major'
   12969       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   12970       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)'
   12971       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"'
   12972       ;;
   12973     esac
   12974     shlibpath_var=LIBPATH
   12975   fi
   12976   ;;
   12977 
   12978 amigaos*)
   12979   case $host_cpu in
   12980   powerpc)
   12981     # Since July 2007 AmigaOS4 officially supports .so libraries.
   12982     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   12983     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12984     ;;
   12985   m68k)
   12986     library_names_spec='$libname.ixlibrary $libname.a'
   12987     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   12988     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'
   12989     ;;
   12990   esac
   12991   ;;
   12992 
   12993 beos*)
   12994   library_names_spec='$libname$shared_ext'
   12995   dynamic_linker="$host_os ld.so"
   12996   shlibpath_var=LIBRARY_PATH
   12997   ;;
   12998 
   12999 bsdi[45]*)
   13000   version_type=linux # correct to gnu/linux during the next big refactor
   13001   need_version=no
   13002   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13003   soname_spec='$libname$release$shared_ext$major'
   13004   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   13005   shlibpath_var=LD_LIBRARY_PATH
   13006   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   13007   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   13008   # the default ld.so.conf also contains /usr/contrib/lib and
   13009   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   13010   # libtool to hard-code these into programs
   13011   ;;
   13012 
   13013 cygwin* | mingw* | pw32* | cegcc*)
   13014   version_type=windows
   13015   shrext_cmds=.dll
   13016   need_version=no
   13017   need_lib_prefix=no
   13018 
   13019   case $GCC,$cc_basename in
   13020   yes,*)
   13021     # gcc
   13022     library_names_spec='$libname.dll.a'
   13023     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   13024     postinstall_cmds='base_file=`basename \$file`~
   13025       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   13026       dldir=$destdir/`dirname \$dlpath`~
   13027       test -d \$dldir || mkdir -p \$dldir~
   13028       $install_prog $dir/$dlname \$dldir/$dlname~
   13029       chmod a+x \$dldir/$dlname~
   13030       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   13031         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   13032       fi'
   13033     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   13034       dlpath=$dir/\$dldll~
   13035        $RM \$dlpath'
   13036     shlibpath_overrides_runpath=yes
   13037 
   13038     case $host_os in
   13039     cygwin*)
   13040       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   13041       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   13042 
   13043       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   13044       ;;
   13045     mingw* | cegcc*)
   13046       # MinGW DLLs use traditional 'lib' prefix
   13047       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   13048       ;;
   13049     pw32*)
   13050       # pw32 DLLs use 'pw' prefix rather than 'lib'
   13051       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   13052       ;;
   13053     esac
   13054     dynamic_linker='Win32 ld.exe'
   13055     ;;
   13056 
   13057   *,cl*)
   13058     # Native MSVC
   13059     libname_spec='$name'
   13060     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   13061     library_names_spec='$libname.dll.lib'
   13062 
   13063     case $build_os in
   13064     mingw*)
   13065       sys_lib_search_path_spec=
   13066       lt_save_ifs=$IFS
   13067       IFS=';'
   13068       for lt_path in $LIB
   13069       do
   13070         IFS=$lt_save_ifs
   13071         # Let DOS variable expansion print the short 8.3 style file name.
   13072         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   13073         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   13074       done
   13075       IFS=$lt_save_ifs
   13076       # Convert to MSYS style.
   13077       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   13078       ;;
   13079     cygwin*)
   13080       # Convert to unix form, then to dos form, then back to unix form
   13081       # but this time dos style (no spaces!) so that the unix form looks
   13082       # like /cygdrive/c/PROGRA~1:/cygdr...
   13083       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   13084       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   13085       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   13086       ;;
   13087     *)
   13088       sys_lib_search_path_spec=$LIB
   13089       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   13090         # It is most probably a Windows format PATH.
   13091         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   13092       else
   13093         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   13094       fi
   13095       # FIXME: find the short name or the path components, as spaces are
   13096       # common. (e.g. "Program Files" -> "PROGRA~1")
   13097       ;;
   13098     esac
   13099 
   13100     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   13101     postinstall_cmds='base_file=`basename \$file`~
   13102       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   13103       dldir=$destdir/`dirname \$dlpath`~
   13104       test -d \$dldir || mkdir -p \$dldir~
   13105       $install_prog $dir/$dlname \$dldir/$dlname'
   13106     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   13107       dlpath=$dir/\$dldll~
   13108        $RM \$dlpath'
   13109     shlibpath_overrides_runpath=yes
   13110     dynamic_linker='Win32 link.exe'
   13111     ;;
   13112 
   13113   *)
   13114     # Assume MSVC wrapper
   13115     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   13116     dynamic_linker='Win32 ld.exe'
   13117     ;;
   13118   esac
   13119   # FIXME: first we should search . and the directory the executable is in
   13120   shlibpath_var=PATH
   13121   ;;
   13122 
   13123 darwin* | rhapsody*)
   13124   dynamic_linker="$host_os dyld"
   13125   version_type=darwin
   13126   need_lib_prefix=no
   13127   need_version=no
   13128   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   13129   soname_spec='$libname$release$major$shared_ext'
   13130   shlibpath_overrides_runpath=yes
   13131   shlibpath_var=DYLD_LIBRARY_PATH
   13132   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   13133 
   13134   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   13135   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   13136   ;;
   13137 
   13138 dgux*)
   13139   version_type=linux # correct to gnu/linux during the next big refactor
   13140   need_lib_prefix=no
   13141   need_version=no
   13142   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13143   soname_spec='$libname$release$shared_ext$major'
   13144   shlibpath_var=LD_LIBRARY_PATH
   13145   ;;
   13146 
   13147 freebsd* | dragonfly*)
   13148   # DragonFly does not have aout.  When/if they implement a new
   13149   # versioning mechanism, adjust this.
   13150   if test -x /usr/bin/objformat; then
   13151     objformat=`/usr/bin/objformat`
   13152   else
   13153     case $host_os in
   13154     freebsd[23].*) objformat=aout ;;
   13155     *) objformat=elf ;;
   13156     esac
   13157   fi
   13158   version_type=freebsd-$objformat
   13159   case $version_type in
   13160     freebsd-elf*)
   13161       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13162       soname_spec='$libname$release$shared_ext$major'
   13163       need_version=no
   13164       need_lib_prefix=no
   13165       ;;
   13166     freebsd-*)
   13167       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   13168       need_version=yes
   13169       ;;
   13170   esac
   13171   shlibpath_var=LD_LIBRARY_PATH
   13172   case $host_os in
   13173   freebsd2.*)
   13174     shlibpath_overrides_runpath=yes
   13175     ;;
   13176   freebsd3.[01]* | freebsdelf3.[01]*)
   13177     shlibpath_overrides_runpath=yes
   13178     hardcode_into_libs=yes
   13179     ;;
   13180   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   13181   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   13182     shlibpath_overrides_runpath=no
   13183     hardcode_into_libs=yes
   13184     ;;
   13185   *) # from 4.6 on, and DragonFly
   13186     shlibpath_overrides_runpath=yes
   13187     hardcode_into_libs=yes
   13188     ;;
   13189   esac
   13190   ;;
   13191 
   13192 haiku*)
   13193   version_type=linux # correct to gnu/linux during the next big refactor
   13194   need_lib_prefix=no
   13195   need_version=no
   13196   dynamic_linker="$host_os runtime_loader"
   13197   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13198   soname_spec='$libname$release$shared_ext$major'
   13199   shlibpath_var=LIBRARY_PATH
   13200   shlibpath_overrides_runpath=no
   13201   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   13202   hardcode_into_libs=yes
   13203   ;;
   13204 
   13205 hpux9* | hpux10* | hpux11*)
   13206   # Give a soname corresponding to the major version so that dld.sl refuses to
   13207   # link against other versions.
   13208   version_type=sunos
   13209   need_lib_prefix=no
   13210   need_version=no
   13211   case $host_cpu in
   13212   ia64*)
   13213     shrext_cmds='.so'
   13214     hardcode_into_libs=yes
   13215     dynamic_linker="$host_os dld.so"
   13216     shlibpath_var=LD_LIBRARY_PATH
   13217     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13218     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13219     soname_spec='$libname$release$shared_ext$major'
   13220     if test 32 = "$HPUX_IA64_MODE"; then
   13221       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   13222       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   13223     else
   13224       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   13225       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   13226     fi
   13227     ;;
   13228   hppa*64*)
   13229     shrext_cmds='.sl'
   13230     hardcode_into_libs=yes
   13231     dynamic_linker="$host_os dld.sl"
   13232     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   13233     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13234     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13235     soname_spec='$libname$release$shared_ext$major'
   13236     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   13237     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13238     ;;
   13239   *)
   13240     shrext_cmds='.sl'
   13241     dynamic_linker="$host_os dld.sl"
   13242     shlibpath_var=SHLIB_PATH
   13243     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   13244     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13245     soname_spec='$libname$release$shared_ext$major'
   13246     ;;
   13247   esac
   13248   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   13249   postinstall_cmds='chmod 555 $lib'
   13250   # or fails outright, so override atomically:
   13251   install_override_mode=555
   13252   ;;
   13253 
   13254 interix[3-9]*)
   13255   version_type=linux # correct to gnu/linux during the next big refactor
   13256   need_lib_prefix=no
   13257   need_version=no
   13258   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13259   soname_spec='$libname$release$shared_ext$major'
   13260   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   13261   shlibpath_var=LD_LIBRARY_PATH
   13262   shlibpath_overrides_runpath=no
   13263   hardcode_into_libs=yes
   13264   ;;
   13265 
   13266 irix5* | irix6* | nonstopux*)
   13267   case $host_os in
   13268     nonstopux*) version_type=nonstopux ;;
   13269     *)
   13270 	if test yes = "$lt_cv_prog_gnu_ld"; then
   13271 		version_type=linux # correct to gnu/linux during the next big refactor
   13272 	else
   13273 		version_type=irix
   13274 	fi ;;
   13275   esac
   13276   need_lib_prefix=no
   13277   need_version=no
   13278   soname_spec='$libname$release$shared_ext$major'
   13279   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   13280   case $host_os in
   13281   irix5* | nonstopux*)
   13282     libsuff= shlibsuff=
   13283     ;;
   13284   *)
   13285     case $LD in # libtool.m4 will add one of these switches to LD
   13286     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   13287       libsuff= shlibsuff= libmagic=32-bit;;
   13288     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   13289       libsuff=32 shlibsuff=N32 libmagic=N32;;
   13290     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   13291       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   13292     *) libsuff= shlibsuff= libmagic=never-match;;
   13293     esac
   13294     ;;
   13295   esac
   13296   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   13297   shlibpath_overrides_runpath=no
   13298   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   13299   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   13300   hardcode_into_libs=yes
   13301   ;;
   13302 
   13303 # No shared lib support for Linux oldld, aout, or coff.
   13304 linux*oldld* | linux*aout* | linux*coff*)
   13305   dynamic_linker=no
   13306   ;;
   13307 
   13308 linux*android*)
   13309   version_type=none # Android doesn't support versioned libraries.
   13310   need_lib_prefix=no
   13311   need_version=no
   13312   library_names_spec='$libname$release$shared_ext'
   13313   soname_spec='$libname$release$shared_ext'
   13314   finish_cmds=
   13315   shlibpath_var=LD_LIBRARY_PATH
   13316   shlibpath_overrides_runpath=yes
   13317 
   13318   # This implies no fast_install, which is unacceptable.
   13319   # Some rework will be needed to allow for fast_install
   13320   # before this can be enabled.
   13321   hardcode_into_libs=yes
   13322 
   13323   dynamic_linker='Android linker'
   13324   # Don't embed -rpath directories since the linker doesn't support them.
   13325   hardcode_libdir_flag_spec='-L$libdir'
   13326   ;;
   13327 
   13328 # This must be glibc/ELF.
   13329 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   13330   version_type=linux # correct to gnu/linux during the next big refactor
   13331   need_lib_prefix=no
   13332   need_version=no
   13333   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13334   soname_spec='$libname$release$shared_ext$major'
   13335   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   13336   shlibpath_var=LD_LIBRARY_PATH
   13337   shlibpath_overrides_runpath=no
   13338 
   13339   # Some binutils ld are patched to set DT_RUNPATH
   13340   if test ${lt_cv_shlibpath_overrides_runpath+y}
   13341 then :
   13342   printf %s "(cached) " >&6
   13343 else $as_nop
   13344   lt_cv_shlibpath_overrides_runpath=no
   13345     save_LDFLAGS=$LDFLAGS
   13346     save_libdir=$libdir
   13347     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   13348 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   13349     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13350 /* end confdefs.h.  */
   13351 
   13352 int
   13353 main (void)
   13354 {
   13355 
   13356   ;
   13357   return 0;
   13358 }
   13359 _ACEOF
   13360 if ac_fn_c_try_link "$LINENO"
   13361 then :
   13362   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   13363 then :
   13364   lt_cv_shlibpath_overrides_runpath=yes
   13365 fi
   13366 fi
   13367 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13368     conftest$ac_exeext conftest.$ac_ext
   13369     LDFLAGS=$save_LDFLAGS
   13370     libdir=$save_libdir
   13371 
   13372 fi
   13373 
   13374   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   13375 
   13376   # This implies no fast_install, which is unacceptable.
   13377   # Some rework will be needed to allow for fast_install
   13378   # before this can be enabled.
   13379   hardcode_into_libs=yes
   13380 
   13381   # Add ABI-specific directories to the system library path.
   13382   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
   13383 
   13384   # Ideally, we could use ldconfig to report *all* directores which are
   13385   # searched for libraries, however this is still not possible.  Aside from not
   13386   # being certain /sbin/ldconfig is available, command
   13387   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   13388   # even though it is searched at run-time.  Try to do the best guess by
   13389   # appending ld.so.conf contents (and includes) to the search path.
   13390   if test -f /etc/ld.so.conf; then
   13391     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' ' '`
   13392     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   13393   fi
   13394 
   13395   # We used to test for /lib/ld.so.1 and disable shared libraries on
   13396   # powerpc, because MkLinux only supported shared libraries with the
   13397   # GNU dynamic linker.  Since this was broken with cross compilers,
   13398   # most powerpc-linux boxes support dynamic linking these days and
   13399   # people can always --disable-shared, the test was removed, and we
   13400   # assume the GNU/Linux dynamic linker is in use.
   13401   dynamic_linker='GNU/Linux ld.so'
   13402   ;;
   13403 
   13404 netbsd*)
   13405   version_type=sunos
   13406   need_lib_prefix=no
   13407   need_version=no
   13408   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   13409     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   13410     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13411     dynamic_linker='NetBSD (a.out) ld.so'
   13412   else
   13413     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13414     soname_spec='$libname$release$shared_ext$major'
   13415     dynamic_linker='NetBSD ld.elf_so'
   13416   fi
   13417   shlibpath_var=LD_LIBRARY_PATH
   13418   shlibpath_overrides_runpath=yes
   13419   hardcode_into_libs=yes
   13420   ;;
   13421 
   13422 newsos6)
   13423   version_type=linux # correct to gnu/linux during the next big refactor
   13424   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13425   shlibpath_var=LD_LIBRARY_PATH
   13426   shlibpath_overrides_runpath=yes
   13427   ;;
   13428 
   13429 *nto* | *qnx*)
   13430   version_type=qnx
   13431   need_lib_prefix=no
   13432   need_version=no
   13433   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13434   soname_spec='$libname$release$shared_ext$major'
   13435   shlibpath_var=LD_LIBRARY_PATH
   13436   shlibpath_overrides_runpath=no
   13437   hardcode_into_libs=yes
   13438   dynamic_linker='ldqnx.so'
   13439   ;;
   13440 
   13441 openbsd* | bitrig*)
   13442   version_type=sunos
   13443   sys_lib_dlsearch_path_spec=/usr/lib
   13444   need_lib_prefix=no
   13445   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   13446     need_version=no
   13447   else
   13448     need_version=yes
   13449   fi
   13450   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   13451   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13452   shlibpath_var=LD_LIBRARY_PATH
   13453   shlibpath_overrides_runpath=yes
   13454   ;;
   13455 
   13456 os2*)
   13457   libname_spec='$name'
   13458   version_type=windows
   13459   shrext_cmds=.dll
   13460   need_version=no
   13461   need_lib_prefix=no
   13462   # OS/2 can only load a DLL with a base name of 8 characters or less.
   13463   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   13464     v=$($ECHO $release$versuffix | tr -d .-);
   13465     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   13466     $ECHO $n$v`$shared_ext'
   13467   library_names_spec='${libname}_dll.$libext'
   13468   dynamic_linker='OS/2 ld.exe'
   13469   shlibpath_var=BEGINLIBPATH
   13470   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   13471   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13472   postinstall_cmds='base_file=`basename \$file`~
   13473     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   13474     dldir=$destdir/`dirname \$dlpath`~
   13475     test -d \$dldir || mkdir -p \$dldir~
   13476     $install_prog $dir/$dlname \$dldir/$dlname~
   13477     chmod a+x \$dldir/$dlname~
   13478     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   13479       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   13480     fi'
   13481   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   13482     dlpath=$dir/\$dldll~
   13483     $RM \$dlpath'
   13484   ;;
   13485 
   13486 osf3* | osf4* | osf5*)
   13487   version_type=osf
   13488   need_lib_prefix=no
   13489   need_version=no
   13490   soname_spec='$libname$release$shared_ext$major'
   13491   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13492   shlibpath_var=LD_LIBRARY_PATH
   13493   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   13494   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13495   ;;
   13496 
   13497 rdos*)
   13498   dynamic_linker=no
   13499   ;;
   13500 
   13501 solaris*)
   13502   version_type=linux # correct to gnu/linux during the next big refactor
   13503   need_lib_prefix=no
   13504   need_version=no
   13505   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13506   soname_spec='$libname$release$shared_ext$major'
   13507   shlibpath_var=LD_LIBRARY_PATH
   13508   shlibpath_overrides_runpath=yes
   13509   hardcode_into_libs=yes
   13510   # ldd complains unless libraries are executable
   13511   postinstall_cmds='chmod +x $lib'
   13512   ;;
   13513 
   13514 sunos4*)
   13515   version_type=sunos
   13516   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   13517   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   13518   shlibpath_var=LD_LIBRARY_PATH
   13519   shlibpath_overrides_runpath=yes
   13520   if test yes = "$with_gnu_ld"; then
   13521     need_lib_prefix=no
   13522   fi
   13523   need_version=yes
   13524   ;;
   13525 
   13526 sysv4 | sysv4.3*)
   13527   version_type=linux # correct to gnu/linux during the next big refactor
   13528   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13529   soname_spec='$libname$release$shared_ext$major'
   13530   shlibpath_var=LD_LIBRARY_PATH
   13531   case $host_vendor in
   13532     sni)
   13533       shlibpath_overrides_runpath=no
   13534       need_lib_prefix=no
   13535       runpath_var=LD_RUN_PATH
   13536       ;;
   13537     siemens)
   13538       need_lib_prefix=no
   13539       ;;
   13540     motorola)
   13541       need_lib_prefix=no
   13542       need_version=no
   13543       shlibpath_overrides_runpath=no
   13544       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   13545       ;;
   13546   esac
   13547   ;;
   13548 
   13549 sysv4*MP*)
   13550   if test -d /usr/nec; then
   13551     version_type=linux # correct to gnu/linux during the next big refactor
   13552     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   13553     soname_spec='$libname$shared_ext.$major'
   13554     shlibpath_var=LD_LIBRARY_PATH
   13555   fi
   13556   ;;
   13557 
   13558 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13559   version_type=sco
   13560   need_lib_prefix=no
   13561   need_version=no
   13562   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   13563   soname_spec='$libname$release$shared_ext$major'
   13564   shlibpath_var=LD_LIBRARY_PATH
   13565   shlibpath_overrides_runpath=yes
   13566   hardcode_into_libs=yes
   13567   if test yes = "$with_gnu_ld"; then
   13568     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13569   else
   13570     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13571     case $host_os in
   13572       sco3.2v5*)
   13573         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13574 	;;
   13575     esac
   13576   fi
   13577   sys_lib_dlsearch_path_spec='/usr/lib'
   13578   ;;
   13579 
   13580 tpf*)
   13581   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   13582   version_type=linux # correct to gnu/linux during the next big refactor
   13583   need_lib_prefix=no
   13584   need_version=no
   13585   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13586   shlibpath_var=LD_LIBRARY_PATH
   13587   shlibpath_overrides_runpath=no
   13588   hardcode_into_libs=yes
   13589   ;;
   13590 
   13591 uts4*)
   13592   version_type=linux # correct to gnu/linux during the next big refactor
   13593   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   13594   soname_spec='$libname$release$shared_ext$major'
   13595   shlibpath_var=LD_LIBRARY_PATH
   13596   ;;
   13597 
   13598 *)
   13599   dynamic_linker=no
   13600   ;;
   13601 esac
   13602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   13603 printf "%s\n" "$dynamic_linker" >&6; }
   13604 test no = "$dynamic_linker" && can_build_shared=no
   13605 
   13606 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13607 if test yes = "$GCC"; then
   13608   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13609 fi
   13610 
   13611 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   13612   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   13613 fi
   13614 
   13615 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   13616   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   13617 fi
   13618 
   13619 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   13620 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   13621 
   13622 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   13623 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   13624 
   13625 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   13626 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   13627 
   13628 
   13629 
   13630 
   13631 
   13632 
   13633 
   13634 
   13635 
   13636 
   13637 
   13638 
   13639 
   13640 
   13641 
   13642 
   13643 
   13644 
   13645 
   13646 
   13647 
   13648 
   13649 
   13650 
   13651 
   13652 
   13653 
   13654 
   13655 
   13656 
   13657 
   13658 
   13659 
   13660 
   13661 
   13662 
   13663 
   13664 
   13665 
   13666 
   13667 
   13668 
   13669 
   13670 
   13671 
   13672 
   13673 
   13674 
   13675 
   13676 
   13677 
   13678 
   13679 
   13680 
   13681 
   13682 
   13683 
   13684 
   13685 
   13686 
   13687 
   13688 
   13689 
   13690 
   13691 
   13692 
   13693 
   13694 
   13695 
   13696 
   13697 
   13698 
   13699 
   13700 
   13701 
   13702 
   13703 
   13704 
   13705 
   13706 
   13707 
   13708 
   13709 
   13710 
   13711 
   13712 
   13713 
   13714 
   13715 
   13716 
   13717 
   13718 
   13719 
   13720 
   13721 
   13722 
   13723 
   13724   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   13725 printf %s "checking how to hardcode library paths into programs... " >&6; }
   13726 hardcode_action=
   13727 if test -n "$hardcode_libdir_flag_spec" ||
   13728    test -n "$runpath_var" ||
   13729    test yes = "$hardcode_automatic"; then
   13730 
   13731   # We can hardcode non-existent directories.
   13732   if test no != "$hardcode_direct" &&
   13733      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13734      # have to relink, otherwise we might link with an installed library
   13735      # when we should be linking with a yet-to-be-installed one
   13736      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   13737      test no != "$hardcode_minus_L"; then
   13738     # Linking always hardcodes the temporary library directory.
   13739     hardcode_action=relink
   13740   else
   13741     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13742     hardcode_action=immediate
   13743   fi
   13744 else
   13745   # We cannot hardcode anything, or else we can only hardcode existing
   13746   # directories.
   13747   hardcode_action=unsupported
   13748 fi
   13749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   13750 printf "%s\n" "$hardcode_action" >&6; }
   13751 
   13752 if test relink = "$hardcode_action" ||
   13753    test yes = "$inherit_rpath"; then
   13754   # Fast installation is not supported
   13755   enable_fast_install=no
   13756 elif test yes = "$shlibpath_overrides_runpath" ||
   13757      test no = "$enable_shared"; then
   13758   # Fast installation is not necessary
   13759   enable_fast_install=needless
   13760 fi
   13761 
   13762 
   13763 
   13764 
   13765 
   13766 
   13767   if test yes != "$enable_dlopen"; then
   13768   enable_dlopen=unknown
   13769   enable_dlopen_self=unknown
   13770   enable_dlopen_self_static=unknown
   13771 else
   13772   lt_cv_dlopen=no
   13773   lt_cv_dlopen_libs=
   13774 
   13775   case $host_os in
   13776   beos*)
   13777     lt_cv_dlopen=load_add_on
   13778     lt_cv_dlopen_libs=
   13779     lt_cv_dlopen_self=yes
   13780     ;;
   13781 
   13782   mingw* | pw32* | cegcc*)
   13783     lt_cv_dlopen=LoadLibrary
   13784     lt_cv_dlopen_libs=
   13785     ;;
   13786 
   13787   cygwin*)
   13788     lt_cv_dlopen=dlopen
   13789     lt_cv_dlopen_libs=
   13790     ;;
   13791 
   13792   darwin*)
   13793     # if libdl is installed we need to link against it
   13794     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   13795 printf %s "checking for dlopen in -ldl... " >&6; }
   13796 if test ${ac_cv_lib_dl_dlopen+y}
   13797 then :
   13798   printf %s "(cached) " >&6
   13799 else $as_nop
   13800   ac_check_lib_save_LIBS=$LIBS
   13801 LIBS="-ldl  $LIBS"
   13802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13803 /* end confdefs.h.  */
   13804 
   13805 /* Override any GCC internal prototype to avoid an error.
   13806    Use char because int might match the return type of a GCC
   13807    builtin and then its argument prototype would still apply.  */
   13808 char dlopen ();
   13809 int
   13810 main (void)
   13811 {
   13812 return dlopen ();
   13813   ;
   13814   return 0;
   13815 }
   13816 _ACEOF
   13817 if ac_fn_c_try_link "$LINENO"
   13818 then :
   13819   ac_cv_lib_dl_dlopen=yes
   13820 else $as_nop
   13821   ac_cv_lib_dl_dlopen=no
   13822 fi
   13823 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13824     conftest$ac_exeext conftest.$ac_ext
   13825 LIBS=$ac_check_lib_save_LIBS
   13826 fi
   13827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   13828 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   13829 if test "x$ac_cv_lib_dl_dlopen" = xyes
   13830 then :
   13831   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   13832 else $as_nop
   13833 
   13834     lt_cv_dlopen=dyld
   13835     lt_cv_dlopen_libs=
   13836     lt_cv_dlopen_self=yes
   13837 
   13838 fi
   13839 
   13840     ;;
   13841 
   13842   tpf*)
   13843     # Don't try to run any link tests for TPF.  We know it's impossible
   13844     # because TPF is a cross-compiler, and we know how we open DSOs.
   13845     lt_cv_dlopen=dlopen
   13846     lt_cv_dlopen_libs=
   13847     lt_cv_dlopen_self=no
   13848     ;;
   13849 
   13850   *)
   13851     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   13852 if test "x$ac_cv_func_shl_load" = xyes
   13853 then :
   13854   lt_cv_dlopen=shl_load
   13855 else $as_nop
   13856   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   13857 printf %s "checking for shl_load in -ldld... " >&6; }
   13858 if test ${ac_cv_lib_dld_shl_load+y}
   13859 then :
   13860   printf %s "(cached) " >&6
   13861 else $as_nop
   13862   ac_check_lib_save_LIBS=$LIBS
   13863 LIBS="-ldld  $LIBS"
   13864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13865 /* end confdefs.h.  */
   13866 
   13867 /* Override any GCC internal prototype to avoid an error.
   13868    Use char because int might match the return type of a GCC
   13869    builtin and then its argument prototype would still apply.  */
   13870 char shl_load ();
   13871 int
   13872 main (void)
   13873 {
   13874 return shl_load ();
   13875   ;
   13876   return 0;
   13877 }
   13878 _ACEOF
   13879 if ac_fn_c_try_link "$LINENO"
   13880 then :
   13881   ac_cv_lib_dld_shl_load=yes
   13882 else $as_nop
   13883   ac_cv_lib_dld_shl_load=no
   13884 fi
   13885 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13886     conftest$ac_exeext conftest.$ac_ext
   13887 LIBS=$ac_check_lib_save_LIBS
   13888 fi
   13889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   13890 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   13891 if test "x$ac_cv_lib_dld_shl_load" = xyes
   13892 then :
   13893   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   13894 else $as_nop
   13895   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   13896 if test "x$ac_cv_func_dlopen" = xyes
   13897 then :
   13898   lt_cv_dlopen=dlopen
   13899 else $as_nop
   13900   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   13901 printf %s "checking for dlopen in -ldl... " >&6; }
   13902 if test ${ac_cv_lib_dl_dlopen+y}
   13903 then :
   13904   printf %s "(cached) " >&6
   13905 else $as_nop
   13906   ac_check_lib_save_LIBS=$LIBS
   13907 LIBS="-ldl  $LIBS"
   13908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13909 /* end confdefs.h.  */
   13910 
   13911 /* Override any GCC internal prototype to avoid an error.
   13912    Use char because int might match the return type of a GCC
   13913    builtin and then its argument prototype would still apply.  */
   13914 char dlopen ();
   13915 int
   13916 main (void)
   13917 {
   13918 return dlopen ();
   13919   ;
   13920   return 0;
   13921 }
   13922 _ACEOF
   13923 if ac_fn_c_try_link "$LINENO"
   13924 then :
   13925   ac_cv_lib_dl_dlopen=yes
   13926 else $as_nop
   13927   ac_cv_lib_dl_dlopen=no
   13928 fi
   13929 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13930     conftest$ac_exeext conftest.$ac_ext
   13931 LIBS=$ac_check_lib_save_LIBS
   13932 fi
   13933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   13934 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   13935 if test "x$ac_cv_lib_dl_dlopen" = xyes
   13936 then :
   13937   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   13938 else $as_nop
   13939   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   13940 printf %s "checking for dlopen in -lsvld... " >&6; }
   13941 if test ${ac_cv_lib_svld_dlopen+y}
   13942 then :
   13943   printf %s "(cached) " >&6
   13944 else $as_nop
   13945   ac_check_lib_save_LIBS=$LIBS
   13946 LIBS="-lsvld  $LIBS"
   13947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13948 /* end confdefs.h.  */
   13949 
   13950 /* Override any GCC internal prototype to avoid an error.
   13951    Use char because int might match the return type of a GCC
   13952    builtin and then its argument prototype would still apply.  */
   13953 char dlopen ();
   13954 int
   13955 main (void)
   13956 {
   13957 return dlopen ();
   13958   ;
   13959   return 0;
   13960 }
   13961 _ACEOF
   13962 if ac_fn_c_try_link "$LINENO"
   13963 then :
   13964   ac_cv_lib_svld_dlopen=yes
   13965 else $as_nop
   13966   ac_cv_lib_svld_dlopen=no
   13967 fi
   13968 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13969     conftest$ac_exeext conftest.$ac_ext
   13970 LIBS=$ac_check_lib_save_LIBS
   13971 fi
   13972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   13973 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   13974 if test "x$ac_cv_lib_svld_dlopen" = xyes
   13975 then :
   13976   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   13977 else $as_nop
   13978   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   13979 printf %s "checking for dld_link in -ldld... " >&6; }
   13980 if test ${ac_cv_lib_dld_dld_link+y}
   13981 then :
   13982   printf %s "(cached) " >&6
   13983 else $as_nop
   13984   ac_check_lib_save_LIBS=$LIBS
   13985 LIBS="-ldld  $LIBS"
   13986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13987 /* end confdefs.h.  */
   13988 
   13989 /* Override any GCC internal prototype to avoid an error.
   13990    Use char because int might match the return type of a GCC
   13991    builtin and then its argument prototype would still apply.  */
   13992 char dld_link ();
   13993 int
   13994 main (void)
   13995 {
   13996 return dld_link ();
   13997   ;
   13998   return 0;
   13999 }
   14000 _ACEOF
   14001 if ac_fn_c_try_link "$LINENO"
   14002 then :
   14003   ac_cv_lib_dld_dld_link=yes
   14004 else $as_nop
   14005   ac_cv_lib_dld_dld_link=no
   14006 fi
   14007 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14008     conftest$ac_exeext conftest.$ac_ext
   14009 LIBS=$ac_check_lib_save_LIBS
   14010 fi
   14011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   14012 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   14013 if test "x$ac_cv_lib_dld_dld_link" = xyes
   14014 then :
   14015   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   14016 fi
   14017 
   14018 
   14019 fi
   14020 
   14021 
   14022 fi
   14023 
   14024 
   14025 fi
   14026 
   14027 
   14028 fi
   14029 
   14030 
   14031 fi
   14032 
   14033     ;;
   14034   esac
   14035 
   14036   if test no = "$lt_cv_dlopen"; then
   14037     enable_dlopen=no
   14038   else
   14039     enable_dlopen=yes
   14040   fi
   14041 
   14042   case $lt_cv_dlopen in
   14043   dlopen)
   14044     save_CPPFLAGS=$CPPFLAGS
   14045     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   14046 
   14047     save_LDFLAGS=$LDFLAGS
   14048     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   14049 
   14050     save_LIBS=$LIBS
   14051     LIBS="$lt_cv_dlopen_libs $LIBS"
   14052 
   14053     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   14054 printf %s "checking whether a program can dlopen itself... " >&6; }
   14055 if test ${lt_cv_dlopen_self+y}
   14056 then :
   14057   printf %s "(cached) " >&6
   14058 else $as_nop
   14059   	  if test yes = "$cross_compiling"; then :
   14060   lt_cv_dlopen_self=cross
   14061 else
   14062   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   14063   lt_status=$lt_dlunknown
   14064   cat > conftest.$ac_ext <<_LT_EOF
   14065 #line $LINENO "configure"
   14066 #include "confdefs.h"
   14067 
   14068 #if HAVE_DLFCN_H
   14069 #include <dlfcn.h>
   14070 #endif
   14071 
   14072 #include <stdio.h>
   14073 
   14074 #ifdef RTLD_GLOBAL
   14075 #  define LT_DLGLOBAL		RTLD_GLOBAL
   14076 #else
   14077 #  ifdef DL_GLOBAL
   14078 #    define LT_DLGLOBAL		DL_GLOBAL
   14079 #  else
   14080 #    define LT_DLGLOBAL		0
   14081 #  endif
   14082 #endif
   14083 
   14084 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   14085    find out it does not work in some platform. */
   14086 #ifndef LT_DLLAZY_OR_NOW
   14087 #  ifdef RTLD_LAZY
   14088 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   14089 #  else
   14090 #    ifdef DL_LAZY
   14091 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   14092 #    else
   14093 #      ifdef RTLD_NOW
   14094 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   14095 #      else
   14096 #        ifdef DL_NOW
   14097 #          define LT_DLLAZY_OR_NOW	DL_NOW
   14098 #        else
   14099 #          define LT_DLLAZY_OR_NOW	0
   14100 #        endif
   14101 #      endif
   14102 #    endif
   14103 #  endif
   14104 #endif
   14105 
   14106 /* When -fvisibility=hidden is used, assume the code has been annotated
   14107    correspondingly for the symbols needed.  */
   14108 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   14109 int fnord () __attribute__((visibility("default")));
   14110 #endif
   14111 
   14112 int fnord () { return 42; }
   14113 int main ()
   14114 {
   14115   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   14116   int status = $lt_dlunknown;
   14117 
   14118   if (self)
   14119     {
   14120       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   14121       else
   14122         {
   14123 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   14124           else puts (dlerror ());
   14125 	}
   14126       /* dlclose (self); */
   14127     }
   14128   else
   14129     puts (dlerror ());
   14130 
   14131   return status;
   14132 }
   14133 _LT_EOF
   14134   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   14135   (eval $ac_link) 2>&5
   14136   ac_status=$?
   14137   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14138   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   14139     (./conftest; exit; ) >&5 2>/dev/null
   14140     lt_status=$?
   14141     case x$lt_status in
   14142       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   14143       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   14144       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   14145     esac
   14146   else :
   14147     # compilation failed
   14148     lt_cv_dlopen_self=no
   14149   fi
   14150 fi
   14151 rm -fr conftest*
   14152 
   14153 
   14154 fi
   14155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   14156 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   14157 
   14158     if test yes = "$lt_cv_dlopen_self"; then
   14159       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   14160       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   14161 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   14162 if test ${lt_cv_dlopen_self_static+y}
   14163 then :
   14164   printf %s "(cached) " >&6
   14165 else $as_nop
   14166   	  if test yes = "$cross_compiling"; then :
   14167   lt_cv_dlopen_self_static=cross
   14168 else
   14169   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   14170   lt_status=$lt_dlunknown
   14171   cat > conftest.$ac_ext <<_LT_EOF
   14172 #line $LINENO "configure"
   14173 #include "confdefs.h"
   14174 
   14175 #if HAVE_DLFCN_H
   14176 #include <dlfcn.h>
   14177 #endif
   14178 
   14179 #include <stdio.h>
   14180 
   14181 #ifdef RTLD_GLOBAL
   14182 #  define LT_DLGLOBAL		RTLD_GLOBAL
   14183 #else
   14184 #  ifdef DL_GLOBAL
   14185 #    define LT_DLGLOBAL		DL_GLOBAL
   14186 #  else
   14187 #    define LT_DLGLOBAL		0
   14188 #  endif
   14189 #endif
   14190 
   14191 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   14192    find out it does not work in some platform. */
   14193 #ifndef LT_DLLAZY_OR_NOW
   14194 #  ifdef RTLD_LAZY
   14195 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   14196 #  else
   14197 #    ifdef DL_LAZY
   14198 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   14199 #    else
   14200 #      ifdef RTLD_NOW
   14201 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   14202 #      else
   14203 #        ifdef DL_NOW
   14204 #          define LT_DLLAZY_OR_NOW	DL_NOW
   14205 #        else
   14206 #          define LT_DLLAZY_OR_NOW	0
   14207 #        endif
   14208 #      endif
   14209 #    endif
   14210 #  endif
   14211 #endif
   14212 
   14213 /* When -fvisibility=hidden is used, assume the code has been annotated
   14214    correspondingly for the symbols needed.  */
   14215 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   14216 int fnord () __attribute__((visibility("default")));
   14217 #endif
   14218 
   14219 int fnord () { return 42; }
   14220 int main ()
   14221 {
   14222   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   14223   int status = $lt_dlunknown;
   14224 
   14225   if (self)
   14226     {
   14227       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   14228       else
   14229         {
   14230 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   14231           else puts (dlerror ());
   14232 	}
   14233       /* dlclose (self); */
   14234     }
   14235   else
   14236     puts (dlerror ());
   14237 
   14238   return status;
   14239 }
   14240 _LT_EOF
   14241   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   14242   (eval $ac_link) 2>&5
   14243   ac_status=$?
   14244   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14245   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   14246     (./conftest; exit; ) >&5 2>/dev/null
   14247     lt_status=$?
   14248     case x$lt_status in
   14249       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   14250       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   14251       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   14252     esac
   14253   else :
   14254     # compilation failed
   14255     lt_cv_dlopen_self_static=no
   14256   fi
   14257 fi
   14258 rm -fr conftest*
   14259 
   14260 
   14261 fi
   14262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   14263 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   14264     fi
   14265 
   14266     CPPFLAGS=$save_CPPFLAGS
   14267     LDFLAGS=$save_LDFLAGS
   14268     LIBS=$save_LIBS
   14269     ;;
   14270   esac
   14271 
   14272   case $lt_cv_dlopen_self in
   14273   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   14274   *) enable_dlopen_self=unknown ;;
   14275   esac
   14276 
   14277   case $lt_cv_dlopen_self_static in
   14278   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   14279   *) enable_dlopen_self_static=unknown ;;
   14280   esac
   14281 fi
   14282 
   14283 
   14284 
   14285 
   14286 
   14287 
   14288 
   14289 
   14290 
   14291 
   14292 
   14293 
   14294 
   14295 
   14296 
   14297 
   14298 
   14299 striplib=
   14300 old_striplib=
   14301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   14302 printf %s "checking whether stripping libraries is possible... " >&6; }
   14303 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   14304   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   14305   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   14306   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14307 printf "%s\n" "yes" >&6; }
   14308 else
   14309 # FIXME - insert some real tests, host_os isn't really good enough
   14310   case $host_os in
   14311   darwin*)
   14312     if test -n "$STRIP"; then
   14313       striplib="$STRIP -x"
   14314       old_striplib="$STRIP -S"
   14315       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14316 printf "%s\n" "yes" >&6; }
   14317     else
   14318       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14319 printf "%s\n" "no" >&6; }
   14320     fi
   14321     ;;
   14322   *)
   14323     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14324 printf "%s\n" "no" >&6; }
   14325     ;;
   14326   esac
   14327 fi
   14328 
   14329 
   14330 
   14331 
   14332 
   14333 
   14334 
   14335 
   14336 
   14337 
   14338 
   14339 
   14340   # Report what library types will actually be built
   14341   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   14342 printf %s "checking if libtool supports shared libraries... " >&6; }
   14343   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   14344 printf "%s\n" "$can_build_shared" >&6; }
   14345 
   14346   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   14347 printf %s "checking whether to build shared libraries... " >&6; }
   14348   test no = "$can_build_shared" && enable_shared=no
   14349 
   14350   # On AIX, shared libraries and static libraries use the same namespace, and
   14351   # are all built from PIC.
   14352   case $host_os in
   14353   aix3*)
   14354     test yes = "$enable_shared" && enable_static=no
   14355     if test -n "$RANLIB"; then
   14356       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   14357       postinstall_cmds='$RANLIB $lib'
   14358     fi
   14359     ;;
   14360 
   14361   aix[4-9]*)
   14362     if test ia64 != "$host_cpu"; then
   14363       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   14364       yes,aix,yes) ;;			# shared object as lib.so file only
   14365       yes,svr4,*) ;;			# shared object as lib.so archive member only
   14366       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   14367       esac
   14368     fi
   14369     ;;
   14370   esac
   14371   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   14372 printf "%s\n" "$enable_shared" >&6; }
   14373 
   14374   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   14375 printf %s "checking whether to build static libraries... " >&6; }
   14376   # Make sure either enable_shared or enable_static is yes.
   14377   test yes = "$enable_shared" || enable_static=yes
   14378   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   14379 printf "%s\n" "$enable_static" >&6; }
   14380 
   14381 
   14382 
   14383 
   14384 fi
   14385 ac_ext=c
   14386 ac_cpp='$CPP $CPPFLAGS'
   14387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14390 
   14391 CC=$lt_save_CC
   14392 
   14393 
   14394 
   14395 
   14396 
   14397 
   14398 
   14399 
   14400 
   14401 
   14402 
   14403 
   14404 
   14405 
   14406 
   14407         ac_config_commands="$ac_config_commands libtool"
   14408 
   14409 
   14410 
   14411 
   14412 # Only expand once:
   14413 
   14414 
   14415 
   14416 
   14417 LIBT_CURRENT=13
   14418 LIBT_REVISION=0
   14419 
   14420 
   14421 LIBT_AGE=12
   14422 
   14423 LIBT_VERSION_INFO="$LIBT_CURRENT:$LIBT_REVISION:$LIBT_AGE"
   14424 
   14425 
   14426 LIBT_CURRENT_MINUS_AGE=`expr $LIBT_CURRENT - $LIBT_AGE`
   14427 
   14428 
   14429 PKGCONFIG_REQUIRES=
   14430 PKGCONFIG_REQUIRES_PRIVATELY=
   14431 
   14432 
   14433 os_win32=no
   14434 os_darwin=no
   14435 case "${host_os}" in
   14436 	cygwin*|mingw*)
   14437 		os_win32=yes
   14438 		;;
   14439 	darwin*)
   14440 		os_darwin=yes
   14441 		;;
   14442 esac
   14443  if test "$os_win32" = "yes"; then
   14444   OS_WIN32_TRUE=
   14445   OS_WIN32_FALSE='#'
   14446 else
   14447   OS_WIN32_TRUE='#'
   14448   OS_WIN32_FALSE=
   14449 fi
   14450 
   14451  if test "$os_darwin" = "yes"; then
   14452   OS_DARWIN_TRUE=
   14453   OS_DARWIN_FALSE='#'
   14454 else
   14455   OS_DARWIN_TRUE='#'
   14456   OS_DARWIN_FALSE=
   14457 fi
   14458 
   14459 
   14460 GETTEXT_PACKAGE=$PACKAGE
   14461 
   14462 
   14463 printf "%s\n" "#define GETTEXT_PACKAGE \"$GETTEXT_PACKAGE\"" >>confdefs.h
   14464 
   14465 
   14466 
   14467 
   14468   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
   14469 printf %s "checking whether NLS is requested... " >&6; }
   14470     # Check whether --enable-nls was given.
   14471 if test ${enable_nls+y}
   14472 then :
   14473   enableval=$enable_nls; USE_NLS=$enableval
   14474 else $as_nop
   14475   USE_NLS=yes
   14476 fi
   14477 
   14478   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
   14479 printf "%s\n" "$USE_NLS" >&6; }
   14480 
   14481 
   14482 
   14483 
   14484       GETTEXT_MACRO_VERSION=0.19
   14485 
   14486 
   14487 
   14488 
   14489 # Prepare PATH_SEPARATOR.
   14490 # The user is always right.
   14491 if test "${PATH_SEPARATOR+set}" != set; then
   14492   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
   14493   # contains only /bin. Note that ksh looks also at the FPATH variable,
   14494   # so we have to set that as well for the test.
   14495   PATH_SEPARATOR=:
   14496   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   14497     && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   14498            || PATH_SEPARATOR=';'
   14499        }
   14500 fi
   14501 
   14502 # Find out how to test for executable files. Don't use a zero-byte file,
   14503 # as systems may use methods other than mode bits to determine executability.
   14504 cat >conf$$.file <<_ASEOF
   14505 #! /bin/sh
   14506 exit 0
   14507 _ASEOF
   14508 chmod +x conf$$.file
   14509 if test -x conf$$.file >/dev/null 2>&1; then
   14510   ac_executable_p="test -x"
   14511 else
   14512   ac_executable_p="test -f"
   14513 fi
   14514 rm -f conf$$.file
   14515 
   14516 # Extract the first word of "msgfmt", so it can be a program name with args.
   14517 set dummy msgfmt; ac_word=$2
   14518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14519 printf %s "checking for $ac_word... " >&6; }
   14520 if test ${ac_cv_path_MSGFMT+y}
   14521 then :
   14522   printf %s "(cached) " >&6
   14523 else $as_nop
   14524   case "$MSGFMT" in
   14525   [\\/]* | ?:[\\/]*)
   14526     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
   14527     ;;
   14528   *)
   14529     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   14530     for ac_dir in $PATH; do
   14531       IFS="$ac_save_IFS"
   14532       test -z "$ac_dir" && ac_dir=.
   14533       for ac_exec_ext in '' $ac_executable_extensions; do
   14534         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   14535           echo "$as_me: trying $ac_dir/$ac_word..." >&5
   14536           if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
   14537      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   14538             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
   14539             break 2
   14540           fi
   14541         fi
   14542       done
   14543     done
   14544     IFS="$ac_save_IFS"
   14545   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
   14546     ;;
   14547 esac
   14548 fi
   14549 MSGFMT="$ac_cv_path_MSGFMT"
   14550 if test "$MSGFMT" != ":"; then
   14551   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
   14552 printf "%s\n" "$MSGFMT" >&6; }
   14553 else
   14554   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14555 printf "%s\n" "no" >&6; }
   14556 fi
   14557 
   14558   # Extract the first word of "gmsgfmt", so it can be a program name with args.
   14559 set dummy gmsgfmt; ac_word=$2
   14560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14561 printf %s "checking for $ac_word... " >&6; }
   14562 if test ${ac_cv_path_GMSGFMT+y}
   14563 then :
   14564   printf %s "(cached) " >&6
   14565 else $as_nop
   14566   case $GMSGFMT in
   14567   [\\/]* | ?:[\\/]*)
   14568   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
   14569   ;;
   14570   *)
   14571   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14572 for as_dir in $PATH
   14573 do
   14574   IFS=$as_save_IFS
   14575   case $as_dir in #(((
   14576     '') as_dir=./ ;;
   14577     */) ;;
   14578     *) as_dir=$as_dir/ ;;
   14579   esac
   14580     for ac_exec_ext in '' $ac_executable_extensions; do
   14581   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14582     ac_cv_path_GMSGFMT="$as_dir$ac_word$ac_exec_ext"
   14583     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14584     break 2
   14585   fi
   14586 done
   14587   done
   14588 IFS=$as_save_IFS
   14589 
   14590   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
   14591   ;;
   14592 esac
   14593 fi
   14594 GMSGFMT=$ac_cv_path_GMSGFMT
   14595 if test -n "$GMSGFMT"; then
   14596   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
   14597 printf "%s\n" "$GMSGFMT" >&6; }
   14598 else
   14599   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14600 printf "%s\n" "no" >&6; }
   14601 fi
   14602 
   14603 
   14604 
   14605     case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
   14606     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
   14607     *) MSGFMT_015=$MSGFMT ;;
   14608   esac
   14609 
   14610   case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
   14611     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
   14612     *) GMSGFMT_015=$GMSGFMT ;;
   14613   esac
   14614 
   14615 
   14616 
   14617 # Prepare PATH_SEPARATOR.
   14618 # The user is always right.
   14619 if test "${PATH_SEPARATOR+set}" != set; then
   14620   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
   14621   # contains only /bin. Note that ksh looks also at the FPATH variable,
   14622   # so we have to set that as well for the test.
   14623   PATH_SEPARATOR=:
   14624   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   14625     && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   14626            || PATH_SEPARATOR=';'
   14627        }
   14628 fi
   14629 
   14630 # Find out how to test for executable files. Don't use a zero-byte file,
   14631 # as systems may use methods other than mode bits to determine executability.
   14632 cat >conf$$.file <<_ASEOF
   14633 #! /bin/sh
   14634 exit 0
   14635 _ASEOF
   14636 chmod +x conf$$.file
   14637 if test -x conf$$.file >/dev/null 2>&1; then
   14638   ac_executable_p="test -x"
   14639 else
   14640   ac_executable_p="test -f"
   14641 fi
   14642 rm -f conf$$.file
   14643 
   14644 # Extract the first word of "xgettext", so it can be a program name with args.
   14645 set dummy xgettext; ac_word=$2
   14646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14647 printf %s "checking for $ac_word... " >&6; }
   14648 if test ${ac_cv_path_XGETTEXT+y}
   14649 then :
   14650   printf %s "(cached) " >&6
   14651 else $as_nop
   14652   case "$XGETTEXT" in
   14653   [\\/]* | ?:[\\/]*)
   14654     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
   14655     ;;
   14656   *)
   14657     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   14658     for ac_dir in $PATH; do
   14659       IFS="$ac_save_IFS"
   14660       test -z "$ac_dir" && ac_dir=.
   14661       for ac_exec_ext in '' $ac_executable_extensions; do
   14662         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   14663           echo "$as_me: trying $ac_dir/$ac_word..." >&5
   14664           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
   14665      (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
   14666             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
   14667             break 2
   14668           fi
   14669         fi
   14670       done
   14671     done
   14672     IFS="$ac_save_IFS"
   14673   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
   14674     ;;
   14675 esac
   14676 fi
   14677 XGETTEXT="$ac_cv_path_XGETTEXT"
   14678 if test "$XGETTEXT" != ":"; then
   14679   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
   14680 printf "%s\n" "$XGETTEXT" >&6; }
   14681 else
   14682   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14683 printf "%s\n" "no" >&6; }
   14684 fi
   14685 
   14686     rm -f messages.po
   14687 
   14688     case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
   14689     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
   14690     *) XGETTEXT_015=$XGETTEXT ;;
   14691   esac
   14692 
   14693 
   14694 
   14695 # Prepare PATH_SEPARATOR.
   14696 # The user is always right.
   14697 if test "${PATH_SEPARATOR+set}" != set; then
   14698   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
   14699   # contains only /bin. Note that ksh looks also at the FPATH variable,
   14700   # so we have to set that as well for the test.
   14701   PATH_SEPARATOR=:
   14702   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   14703     && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   14704            || PATH_SEPARATOR=';'
   14705        }
   14706 fi
   14707 
   14708 # Find out how to test for executable files. Don't use a zero-byte file,
   14709 # as systems may use methods other than mode bits to determine executability.
   14710 cat >conf$$.file <<_ASEOF
   14711 #! /bin/sh
   14712 exit 0
   14713 _ASEOF
   14714 chmod +x conf$$.file
   14715 if test -x conf$$.file >/dev/null 2>&1; then
   14716   ac_executable_p="test -x"
   14717 else
   14718   ac_executable_p="test -f"
   14719 fi
   14720 rm -f conf$$.file
   14721 
   14722 # Extract the first word of "msgmerge", so it can be a program name with args.
   14723 set dummy msgmerge; ac_word=$2
   14724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14725 printf %s "checking for $ac_word... " >&6; }
   14726 if test ${ac_cv_path_MSGMERGE+y}
   14727 then :
   14728   printf %s "(cached) " >&6
   14729 else $as_nop
   14730   case "$MSGMERGE" in
   14731   [\\/]* | ?:[\\/]*)
   14732     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
   14733     ;;
   14734   *)
   14735     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   14736     for ac_dir in $PATH; do
   14737       IFS="$ac_save_IFS"
   14738       test -z "$ac_dir" && ac_dir=.
   14739       for ac_exec_ext in '' $ac_executable_extensions; do
   14740         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   14741           echo "$as_me: trying $ac_dir/$ac_word..." >&5
   14742           if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
   14743             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
   14744             break 2
   14745           fi
   14746         fi
   14747       done
   14748     done
   14749     IFS="$ac_save_IFS"
   14750   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
   14751     ;;
   14752 esac
   14753 fi
   14754 MSGMERGE="$ac_cv_path_MSGMERGE"
   14755 if test "$MSGMERGE" != ":"; then
   14756   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
   14757 printf "%s\n" "$MSGMERGE" >&6; }
   14758 else
   14759   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14760 printf "%s\n" "no" >&6; }
   14761 fi
   14762 
   14763 
   14764         test -n "$localedir" || localedir='${datadir}/locale'
   14765 
   14766 
   14767     test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
   14768 
   14769 
   14770   ac_config_commands="$ac_config_commands po-directories"
   14771 
   14772 
   14773 
   14774       if test "X$prefix" = "XNONE"; then
   14775     acl_final_prefix="$ac_default_prefix"
   14776   else
   14777     acl_final_prefix="$prefix"
   14778   fi
   14779   if test "X$exec_prefix" = "XNONE"; then
   14780     acl_final_exec_prefix='${prefix}'
   14781   else
   14782     acl_final_exec_prefix="$exec_prefix"
   14783   fi
   14784   acl_save_prefix="$prefix"
   14785   prefix="$acl_final_prefix"
   14786   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
   14787   prefix="$acl_save_prefix"
   14788 
   14789 
   14790 
   14791 # Check whether --with-gnu-ld was given.
   14792 if test ${with_gnu_ld+y}
   14793 then :
   14794   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   14795 else $as_nop
   14796   with_gnu_ld=no
   14797 fi
   14798 
   14799 # Prepare PATH_SEPARATOR.
   14800 # The user is always right.
   14801 if test "${PATH_SEPARATOR+set}" != set; then
   14802   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
   14803   # contains only /bin. Note that ksh looks also at the FPATH variable,
   14804   # so we have to set that as well for the test.
   14805   PATH_SEPARATOR=:
   14806   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   14807     && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   14808            || PATH_SEPARATOR=';'
   14809        }
   14810 fi
   14811 
   14812 ac_prog=ld
   14813 if test "$GCC" = yes; then
   14814   # Check if gcc -print-prog-name=ld gives a path.
   14815   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   14816 printf %s "checking for ld used by $CC... " >&6; }
   14817   case $host in
   14818   *-*-mingw*)
   14819     # gcc leaves a trailing carriage return which upsets mingw
   14820     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   14821   *)
   14822     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   14823   esac
   14824   case $ac_prog in
   14825     # Accept absolute paths.
   14826     [\\/]* | ?:[\\/]*)
   14827       re_direlt='/[^/][^/]*/\.\./'
   14828       # Canonicalize the pathname of ld
   14829       ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
   14830       while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
   14831         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
   14832       done
   14833       test -z "$LD" && LD="$ac_prog"
   14834       ;;
   14835   "")
   14836     # If it fails, then pretend we aren't using GCC.
   14837     ac_prog=ld
   14838     ;;
   14839   *)
   14840     # If it is relative, then search for the first ld in PATH.
   14841     with_gnu_ld=unknown
   14842     ;;
   14843   esac
   14844 elif test "$with_gnu_ld" = yes; then
   14845   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   14846 printf %s "checking for GNU ld... " >&6; }
   14847 else
   14848   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   14849 printf %s "checking for non-GNU ld... " >&6; }
   14850 fi
   14851 if test ${acl_cv_path_LD+y}
   14852 then :
   14853   printf %s "(cached) " >&6
   14854 else $as_nop
   14855   if test -z "$LD"; then
   14856   acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   14857   for ac_dir in $PATH; do
   14858     IFS="$acl_save_ifs"
   14859     test -z "$ac_dir" && ac_dir=.
   14860     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   14861       acl_cv_path_LD="$ac_dir/$ac_prog"
   14862       # Check to see if the program is GNU ld.  I'd rather use --version,
   14863       # but apparently some variants of GNU ld only accept -v.
   14864       # Break only if it was the GNU/non-GNU ld that we prefer.
   14865       case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
   14866       *GNU* | *'with BFD'*)
   14867         test "$with_gnu_ld" != no && break
   14868         ;;
   14869       *)
   14870         test "$with_gnu_ld" != yes && break
   14871         ;;
   14872       esac
   14873     fi
   14874   done
   14875   IFS="$acl_save_ifs"
   14876 else
   14877   acl_cv_path_LD="$LD" # Let the user override the test with a path.
   14878 fi
   14879 fi
   14880 
   14881 LD="$acl_cv_path_LD"
   14882 if test -n "$LD"; then
   14883   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   14884 printf "%s\n" "$LD" >&6; }
   14885 else
   14886   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14887 printf "%s\n" "no" >&6; }
   14888 fi
   14889 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   14890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   14891 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   14892 if test ${acl_cv_prog_gnu_ld+y}
   14893 then :
   14894   printf %s "(cached) " >&6
   14895 else $as_nop
   14896   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   14897 case `$LD -v 2>&1 </dev/null` in
   14898 *GNU* | *'with BFD'*)
   14899   acl_cv_prog_gnu_ld=yes
   14900   ;;
   14901 *)
   14902   acl_cv_prog_gnu_ld=no
   14903   ;;
   14904 esac
   14905 fi
   14906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
   14907 printf "%s\n" "$acl_cv_prog_gnu_ld" >&6; }
   14908 with_gnu_ld=$acl_cv_prog_gnu_ld
   14909 
   14910 
   14911 
   14912 
   14913 
   14914                                                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
   14915 printf %s "checking for shared library run path origin... " >&6; }
   14916 if test ${acl_cv_rpath+y}
   14917 then :
   14918   printf %s "(cached) " >&6
   14919 else $as_nop
   14920 
   14921     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
   14922     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
   14923     . ./conftest.sh
   14924     rm -f ./conftest.sh
   14925     acl_cv_rpath=done
   14926 
   14927 fi
   14928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
   14929 printf "%s\n" "$acl_cv_rpath" >&6; }
   14930   wl="$acl_cv_wl"
   14931   acl_libext="$acl_cv_libext"
   14932   acl_shlibext="$acl_cv_shlibext"
   14933   acl_libname_spec="$acl_cv_libname_spec"
   14934   acl_library_names_spec="$acl_cv_library_names_spec"
   14935   acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
   14936   acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
   14937   acl_hardcode_direct="$acl_cv_hardcode_direct"
   14938   acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
   14939     # Check whether --enable-rpath was given.
   14940 if test ${enable_rpath+y}
   14941 then :
   14942   enableval=$enable_rpath; :
   14943 else $as_nop
   14944   enable_rpath=yes
   14945 fi
   14946 
   14947 
   14948 ac_ext=c
   14949 ac_cpp='$CPP $CPPFLAGS'
   14950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   14954 printf %s "checking how to run the C preprocessor... " >&6; }
   14955 # On Suns, sometimes $CPP names a directory.
   14956 if test -n "$CPP" && test -d "$CPP"; then
   14957   CPP=
   14958 fi
   14959 if test -z "$CPP"; then
   14960   if test ${ac_cv_prog_CPP+y}
   14961 then :
   14962   printf %s "(cached) " >&6
   14963 else $as_nop
   14964       # Double quotes because $CC needs to be expanded
   14965     for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
   14966     do
   14967       ac_preproc_ok=false
   14968 for ac_c_preproc_warn_flag in '' yes
   14969 do
   14970   # Use a header file that comes with gcc, so configuring glibc
   14971   # with a fresh cross-compiler works.
   14972   # On the NeXT, cc -E runs the code through the compiler's parser,
   14973   # not just through cpp. "Syntax error" is here to catch this case.
   14974   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14975 /* end confdefs.h.  */
   14976 #include <limits.h>
   14977 		     Syntax error
   14978 _ACEOF
   14979 if ac_fn_c_try_cpp "$LINENO"
   14980 then :
   14981 
   14982 else $as_nop
   14983   # Broken: fails on valid input.
   14984 continue
   14985 fi
   14986 rm -f conftest.err conftest.i conftest.$ac_ext
   14987 
   14988   # OK, works on sane cases.  Now check whether nonexistent headers
   14989   # can be detected and how.
   14990   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14991 /* end confdefs.h.  */
   14992 #include <ac_nonexistent.h>
   14993 _ACEOF
   14994 if ac_fn_c_try_cpp "$LINENO"
   14995 then :
   14996   # Broken: success on invalid input.
   14997 continue
   14998 else $as_nop
   14999   # Passes both tests.
   15000 ac_preproc_ok=:
   15001 break
   15002 fi
   15003 rm -f conftest.err conftest.i conftest.$ac_ext
   15004 
   15005 done
   15006 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   15007 rm -f conftest.i conftest.err conftest.$ac_ext
   15008 if $ac_preproc_ok
   15009 then :
   15010   break
   15011 fi
   15012 
   15013     done
   15014     ac_cv_prog_CPP=$CPP
   15015 
   15016 fi
   15017   CPP=$ac_cv_prog_CPP
   15018 else
   15019   ac_cv_prog_CPP=$CPP
   15020 fi
   15021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   15022 printf "%s\n" "$CPP" >&6; }
   15023 ac_preproc_ok=false
   15024 for ac_c_preproc_warn_flag in '' yes
   15025 do
   15026   # Use a header file that comes with gcc, so configuring glibc
   15027   # with a fresh cross-compiler works.
   15028   # On the NeXT, cc -E runs the code through the compiler's parser,
   15029   # not just through cpp. "Syntax error" is here to catch this case.
   15030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15031 /* end confdefs.h.  */
   15032 #include <limits.h>
   15033 		     Syntax error
   15034 _ACEOF
   15035 if ac_fn_c_try_cpp "$LINENO"
   15036 then :
   15037 
   15038 else $as_nop
   15039   # Broken: fails on valid input.
   15040 continue
   15041 fi
   15042 rm -f conftest.err conftest.i conftest.$ac_ext
   15043 
   15044   # OK, works on sane cases.  Now check whether nonexistent headers
   15045   # can be detected and how.
   15046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15047 /* end confdefs.h.  */
   15048 #include <ac_nonexistent.h>
   15049 _ACEOF
   15050 if ac_fn_c_try_cpp "$LINENO"
   15051 then :
   15052   # Broken: success on invalid input.
   15053 continue
   15054 else $as_nop
   15055   # Passes both tests.
   15056 ac_preproc_ok=:
   15057 break
   15058 fi
   15059 rm -f conftest.err conftest.i conftest.$ac_ext
   15060 
   15061 done
   15062 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   15063 rm -f conftest.i conftest.err conftest.$ac_ext
   15064 if $ac_preproc_ok
   15065 then :
   15066 
   15067 else $as_nop
   15068   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   15069 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   15070 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   15071 See \`config.log' for more details" "$LINENO" 5; }
   15072 fi
   15073 
   15074 ac_ext=c
   15075 ac_cpp='$CPP $CPPFLAGS'
   15076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15079 
   15080 
   15081 
   15082 
   15083   acl_libdirstem=lib
   15084   acl_libdirstem2=
   15085   case "$host_os" in
   15086     solaris*)
   15087                                     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
   15088 printf %s "checking for 64-bit host... " >&6; }
   15089 if test ${gl_cv_solaris_64bit+y}
   15090 then :
   15091   printf %s "(cached) " >&6
   15092 else $as_nop
   15093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15094 /* end confdefs.h.  */
   15095 
   15096 #ifdef _LP64
   15097 sixtyfour bits
   15098 #endif
   15099 
   15100 _ACEOF
   15101 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   15102   $EGREP "sixtyfour bits" >/dev/null 2>&1
   15103 then :
   15104   gl_cv_solaris_64bit=yes
   15105 else $as_nop
   15106   gl_cv_solaris_64bit=no
   15107 fi
   15108 rm -rf conftest*
   15109 
   15110 
   15111 fi
   15112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
   15113 printf "%s\n" "$gl_cv_solaris_64bit" >&6; }
   15114       if test $gl_cv_solaris_64bit = yes; then
   15115         acl_libdirstem=lib/64
   15116         case "$host_cpu" in
   15117           sparc*)        acl_libdirstem2=lib/sparcv9 ;;
   15118           i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
   15119         esac
   15120       fi
   15121       ;;
   15122     *)
   15123       searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
   15124       if test -n "$searchpath"; then
   15125         acl_save_IFS="${IFS= 	}"; IFS=":"
   15126         for searchdir in $searchpath; do
   15127           if test -d "$searchdir"; then
   15128             case "$searchdir" in
   15129               */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
   15130               */../ | */.. )
   15131                 # Better ignore directories of this form. They are misleading.
   15132                 ;;
   15133               *) searchdir=`cd "$searchdir" && pwd`
   15134                  case "$searchdir" in
   15135                    */lib64 ) acl_libdirstem=lib64 ;;
   15136                  esac ;;
   15137             esac
   15138           fi
   15139         done
   15140         IFS="$acl_save_IFS"
   15141       fi
   15142       ;;
   15143   esac
   15144   test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
   15145 
   15146 
   15147 
   15148 
   15149 
   15150 
   15151 
   15152 
   15153 
   15154 
   15155 
   15156 
   15157     use_additional=yes
   15158 
   15159   acl_save_prefix="$prefix"
   15160   prefix="$acl_final_prefix"
   15161   acl_save_exec_prefix="$exec_prefix"
   15162   exec_prefix="$acl_final_exec_prefix"
   15163 
   15164     eval additional_includedir=\"$includedir\"
   15165     eval additional_libdir=\"$libdir\"
   15166 
   15167   exec_prefix="$acl_save_exec_prefix"
   15168   prefix="$acl_save_prefix"
   15169 
   15170 
   15171 # Check whether --with-libiconv-prefix was given.
   15172 if test ${with_libiconv_prefix+y}
   15173 then :
   15174   withval=$with_libiconv_prefix;
   15175     if test "X$withval" = "Xno"; then
   15176       use_additional=no
   15177     else
   15178       if test "X$withval" = "X"; then
   15179 
   15180   acl_save_prefix="$prefix"
   15181   prefix="$acl_final_prefix"
   15182   acl_save_exec_prefix="$exec_prefix"
   15183   exec_prefix="$acl_final_exec_prefix"
   15184 
   15185           eval additional_includedir=\"$includedir\"
   15186           eval additional_libdir=\"$libdir\"
   15187 
   15188   exec_prefix="$acl_save_exec_prefix"
   15189   prefix="$acl_save_prefix"
   15190 
   15191       else
   15192         additional_includedir="$withval/include"
   15193         additional_libdir="$withval/$acl_libdirstem"
   15194         if test "$acl_libdirstem2" != "$acl_libdirstem" \
   15195            && ! test -d "$withval/$acl_libdirstem"; then
   15196           additional_libdir="$withval/$acl_libdirstem2"
   15197         fi
   15198       fi
   15199     fi
   15200 
   15201 fi
   15202 
   15203       LIBICONV=
   15204   LTLIBICONV=
   15205   INCICONV=
   15206   LIBICONV_PREFIX=
   15207       HAVE_LIBICONV=
   15208   rpathdirs=
   15209   ltrpathdirs=
   15210   names_already_handled=
   15211   names_next_round='iconv '
   15212   while test -n "$names_next_round"; do
   15213     names_this_round="$names_next_round"
   15214     names_next_round=
   15215     for name in $names_this_round; do
   15216       already_handled=
   15217       for n in $names_already_handled; do
   15218         if test "$n" = "$name"; then
   15219           already_handled=yes
   15220           break
   15221         fi
   15222       done
   15223       if test -z "$already_handled"; then
   15224         names_already_handled="$names_already_handled $name"
   15225                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
   15226         eval value=\"\$HAVE_LIB$uppername\"
   15227         if test -n "$value"; then
   15228           if test "$value" = yes; then
   15229             eval value=\"\$LIB$uppername\"
   15230             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
   15231             eval value=\"\$LTLIB$uppername\"
   15232             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
   15233           else
   15234                                     :
   15235           fi
   15236         else
   15237                               found_dir=
   15238           found_la=
   15239           found_so=
   15240           found_a=
   15241           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
   15242           if test -n "$acl_shlibext"; then
   15243             shrext=".$acl_shlibext"             # typically: shrext=.so
   15244           else
   15245             shrext=
   15246           fi
   15247           if test $use_additional = yes; then
   15248             dir="$additional_libdir"
   15249                                     if test -n "$acl_shlibext"; then
   15250               if test -f "$dir/$libname$shrext"; then
   15251                 found_dir="$dir"
   15252                 found_so="$dir/$libname$shrext"
   15253               else
   15254                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
   15255                   ver=`(cd "$dir" && \
   15256                         for f in "$libname$shrext".*; do echo "$f"; done \
   15257                         | sed -e "s,^$libname$shrext\\\\.,," \
   15258                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
   15259                         | sed 1q ) 2>/dev/null`
   15260                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
   15261                     found_dir="$dir"
   15262                     found_so="$dir/$libname$shrext.$ver"
   15263                   fi
   15264                 else
   15265                   eval library_names=\"$acl_library_names_spec\"
   15266                   for f in $library_names; do
   15267                     if test -f "$dir/$f"; then
   15268                       found_dir="$dir"
   15269                       found_so="$dir/$f"
   15270                       break
   15271                     fi
   15272                   done
   15273                 fi
   15274               fi
   15275             fi
   15276                         if test "X$found_dir" = "X"; then
   15277               if test -f "$dir/$libname.$acl_libext"; then
   15278                 found_dir="$dir"
   15279                 found_a="$dir/$libname.$acl_libext"
   15280               fi
   15281             fi
   15282             if test "X$found_dir" != "X"; then
   15283               if test -f "$dir/$libname.la"; then
   15284                 found_la="$dir/$libname.la"
   15285               fi
   15286             fi
   15287           fi
   15288           if test "X$found_dir" = "X"; then
   15289             for x in $LDFLAGS $LTLIBICONV; do
   15290 
   15291   acl_save_prefix="$prefix"
   15292   prefix="$acl_final_prefix"
   15293   acl_save_exec_prefix="$exec_prefix"
   15294   exec_prefix="$acl_final_exec_prefix"
   15295   eval x=\"$x\"
   15296   exec_prefix="$acl_save_exec_prefix"
   15297   prefix="$acl_save_prefix"
   15298 
   15299               case "$x" in
   15300                 -L*)
   15301                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   15302                                     if test -n "$acl_shlibext"; then
   15303                     if test -f "$dir/$libname$shrext"; then
   15304                       found_dir="$dir"
   15305                       found_so="$dir/$libname$shrext"
   15306                     else
   15307                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
   15308                         ver=`(cd "$dir" && \
   15309                               for f in "$libname$shrext".*; do echo "$f"; done \
   15310                               | sed -e "s,^$libname$shrext\\\\.,," \
   15311                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
   15312                               | sed 1q ) 2>/dev/null`
   15313                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
   15314                           found_dir="$dir"
   15315                           found_so="$dir/$libname$shrext.$ver"
   15316                         fi
   15317                       else
   15318                         eval library_names=\"$acl_library_names_spec\"
   15319                         for f in $library_names; do
   15320                           if test -f "$dir/$f"; then
   15321                             found_dir="$dir"
   15322                             found_so="$dir/$f"
   15323                             break
   15324                           fi
   15325                         done
   15326                       fi
   15327                     fi
   15328                   fi
   15329                                     if test "X$found_dir" = "X"; then
   15330                     if test -f "$dir/$libname.$acl_libext"; then
   15331                       found_dir="$dir"
   15332                       found_a="$dir/$libname.$acl_libext"
   15333                     fi
   15334                   fi
   15335                   if test "X$found_dir" != "X"; then
   15336                     if test -f "$dir/$libname.la"; then
   15337                       found_la="$dir/$libname.la"
   15338                     fi
   15339                   fi
   15340                   ;;
   15341               esac
   15342               if test "X$found_dir" != "X"; then
   15343                 break
   15344               fi
   15345             done
   15346           fi
   15347           if test "X$found_dir" != "X"; then
   15348                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
   15349             if test "X$found_so" != "X"; then
   15350                                                         if test "$enable_rpath" = no \
   15351                  || test "X$found_dir" = "X/usr/$acl_libdirstem" \
   15352                  || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
   15353                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   15354               else
   15355                                                                                 haveit=
   15356                 for x in $ltrpathdirs; do
   15357                   if test "X$x" = "X$found_dir"; then
   15358                     haveit=yes
   15359                     break
   15360                   fi
   15361                 done
   15362                 if test -z "$haveit"; then
   15363                   ltrpathdirs="$ltrpathdirs $found_dir"
   15364                 fi
   15365                                 if test "$acl_hardcode_direct" = yes; then
   15366                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   15367                 else
   15368                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
   15369                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   15370                                                             haveit=
   15371                     for x in $rpathdirs; do
   15372                       if test "X$x" = "X$found_dir"; then
   15373                         haveit=yes
   15374                         break
   15375                       fi
   15376                     done
   15377                     if test -z "$haveit"; then
   15378                       rpathdirs="$rpathdirs $found_dir"
   15379                     fi
   15380                   else
   15381                                                                                 haveit=
   15382                     for x in $LDFLAGS $LIBICONV; do
   15383 
   15384   acl_save_prefix="$prefix"
   15385   prefix="$acl_final_prefix"
   15386   acl_save_exec_prefix="$exec_prefix"
   15387   exec_prefix="$acl_final_exec_prefix"
   15388   eval x=\"$x\"
   15389   exec_prefix="$acl_save_exec_prefix"
   15390   prefix="$acl_save_prefix"
   15391 
   15392                       if test "X$x" = "X-L$found_dir"; then
   15393                         haveit=yes
   15394                         break
   15395                       fi
   15396                     done
   15397                     if test -z "$haveit"; then
   15398                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
   15399                     fi
   15400                     if test "$acl_hardcode_minus_L" != no; then
   15401                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   15402                     else
   15403                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   15404                     fi
   15405                   fi
   15406                 fi
   15407               fi
   15408             else
   15409               if test "X$found_a" != "X"; then
   15410                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
   15411               else
   15412                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
   15413               fi
   15414             fi
   15415                         additional_includedir=
   15416             case "$found_dir" in
   15417               */$acl_libdirstem | */$acl_libdirstem/)
   15418                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
   15419                 if test "$name" = 'iconv'; then
   15420                   LIBICONV_PREFIX="$basedir"
   15421                 fi
   15422                 additional_includedir="$basedir/include"
   15423                 ;;
   15424               */$acl_libdirstem2 | */$acl_libdirstem2/)
   15425                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
   15426                 if test "$name" = 'iconv'; then
   15427                   LIBICONV_PREFIX="$basedir"
   15428                 fi
   15429                 additional_includedir="$basedir/include"
   15430                 ;;
   15431             esac
   15432             if test "X$additional_includedir" != "X"; then
   15433                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   15434                 haveit=
   15435                 if test "X$additional_includedir" = "X/usr/local/include"; then
   15436                   if test -n "$GCC"; then
   15437                     case $host_os in
   15438                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
   15439                     esac
   15440                   fi
   15441                 fi
   15442                 if test -z "$haveit"; then
   15443                   for x in $CPPFLAGS $INCICONV; do
   15444 
   15445   acl_save_prefix="$prefix"
   15446   prefix="$acl_final_prefix"
   15447   acl_save_exec_prefix="$exec_prefix"
   15448   exec_prefix="$acl_final_exec_prefix"
   15449   eval x=\"$x\"
   15450   exec_prefix="$acl_save_exec_prefix"
   15451   prefix="$acl_save_prefix"
   15452 
   15453                     if test "X$x" = "X-I$additional_includedir"; then
   15454                       haveit=yes
   15455                       break
   15456                     fi
   15457                   done
   15458                   if test -z "$haveit"; then
   15459                     if test -d "$additional_includedir"; then
   15460                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
   15461                     fi
   15462                   fi
   15463                 fi
   15464               fi
   15465             fi
   15466                         if test -n "$found_la"; then
   15467                                                         save_libdir="$libdir"
   15468               case "$found_la" in
   15469                 */* | *\\*) . "$found_la" ;;
   15470                 *) . "./$found_la" ;;
   15471               esac
   15472               libdir="$save_libdir"
   15473                             for dep in $dependency_libs; do
   15474                 case "$dep" in
   15475                   -L*)
   15476                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   15477                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
   15478                        && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
   15479                       haveit=
   15480                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
   15481                          || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
   15482                         if test -n "$GCC"; then
   15483                           case $host_os in
   15484                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
   15485                           esac
   15486                         fi
   15487                       fi
   15488                       if test -z "$haveit"; then
   15489                         haveit=
   15490                         for x in $LDFLAGS $LIBICONV; do
   15491 
   15492   acl_save_prefix="$prefix"
   15493   prefix="$acl_final_prefix"
   15494   acl_save_exec_prefix="$exec_prefix"
   15495   exec_prefix="$acl_final_exec_prefix"
   15496   eval x=\"$x\"
   15497   exec_prefix="$acl_save_exec_prefix"
   15498   prefix="$acl_save_prefix"
   15499 
   15500                           if test "X$x" = "X-L$additional_libdir"; then
   15501                             haveit=yes
   15502                             break
   15503                           fi
   15504                         done
   15505                         if test -z "$haveit"; then
   15506                           if test -d "$additional_libdir"; then
   15507                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
   15508                           fi
   15509                         fi
   15510                         haveit=
   15511                         for x in $LDFLAGS $LTLIBICONV; do
   15512 
   15513   acl_save_prefix="$prefix"
   15514   prefix="$acl_final_prefix"
   15515   acl_save_exec_prefix="$exec_prefix"
   15516   exec_prefix="$acl_final_exec_prefix"
   15517   eval x=\"$x\"
   15518   exec_prefix="$acl_save_exec_prefix"
   15519   prefix="$acl_save_prefix"
   15520 
   15521                           if test "X$x" = "X-L$additional_libdir"; then
   15522                             haveit=yes
   15523                             break
   15524                           fi
   15525                         done
   15526                         if test -z "$haveit"; then
   15527                           if test -d "$additional_libdir"; then
   15528                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
   15529                           fi
   15530                         fi
   15531                       fi
   15532                     fi
   15533                     ;;
   15534                   -R*)
   15535                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   15536                     if test "$enable_rpath" != no; then
   15537                                                                   haveit=
   15538                       for x in $rpathdirs; do
   15539                         if test "X$x" = "X$dir"; then
   15540                           haveit=yes
   15541                           break
   15542                         fi
   15543                       done
   15544                       if test -z "$haveit"; then
   15545                         rpathdirs="$rpathdirs $dir"
   15546                       fi
   15547                                                                   haveit=
   15548                       for x in $ltrpathdirs; do
   15549                         if test "X$x" = "X$dir"; then
   15550                           haveit=yes
   15551                           break
   15552                         fi
   15553                       done
   15554                       if test -z "$haveit"; then
   15555                         ltrpathdirs="$ltrpathdirs $dir"
   15556                       fi
   15557                     fi
   15558                     ;;
   15559                   -l*)
   15560                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
   15561                     ;;
   15562                   *.la)
   15563                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   15564                     ;;
   15565                   *)
   15566                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
   15567                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
   15568                     ;;
   15569                 esac
   15570               done
   15571             fi
   15572           else
   15573                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   15574             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
   15575           fi
   15576         fi
   15577       fi
   15578     done
   15579   done
   15580   if test "X$rpathdirs" != "X"; then
   15581     if test -n "$acl_hardcode_libdir_separator"; then
   15582                         alldirs=
   15583       for found_dir in $rpathdirs; do
   15584         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
   15585       done
   15586             acl_save_libdir="$libdir"
   15587       libdir="$alldirs"
   15588       eval flag=\"$acl_hardcode_libdir_flag_spec\"
   15589       libdir="$acl_save_libdir"
   15590       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   15591     else
   15592             for found_dir in $rpathdirs; do
   15593         acl_save_libdir="$libdir"
   15594         libdir="$found_dir"
   15595         eval flag=\"$acl_hardcode_libdir_flag_spec\"
   15596         libdir="$acl_save_libdir"
   15597         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   15598       done
   15599     fi
   15600   fi
   15601   if test "X$ltrpathdirs" != "X"; then
   15602             for found_dir in $ltrpathdirs; do
   15603       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
   15604     done
   15605   fi
   15606 
   15607 
   15608 
   15609 
   15610 
   15611 
   15612 
   15613 
   15614 
   15615 
   15616 
   15617 
   15618 
   15619 
   15620 
   15621 
   15622 
   15623 
   15624 
   15625 
   15626 
   15627 
   15628 
   15629 
   15630 
   15631 
   15632 
   15633 
   15634 
   15635 
   15636 
   15637     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
   15638 printf %s "checking for CFPreferencesCopyAppValue... " >&6; }
   15639 if test ${gt_cv_func_CFPreferencesCopyAppValue+y}
   15640 then :
   15641   printf %s "(cached) " >&6
   15642 else $as_nop
   15643   gt_save_LIBS="$LIBS"
   15644      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
   15645      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15646 /* end confdefs.h.  */
   15647 #include <CoreFoundation/CFPreferences.h>
   15648 int
   15649 main (void)
   15650 {
   15651 CFPreferencesCopyAppValue(NULL, NULL)
   15652   ;
   15653   return 0;
   15654 }
   15655 _ACEOF
   15656 if ac_fn_c_try_link "$LINENO"
   15657 then :
   15658   gt_cv_func_CFPreferencesCopyAppValue=yes
   15659 else $as_nop
   15660   gt_cv_func_CFPreferencesCopyAppValue=no
   15661 fi
   15662 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15663     conftest$ac_exeext conftest.$ac_ext
   15664      LIBS="$gt_save_LIBS"
   15665 fi
   15666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
   15667 printf "%s\n" "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
   15668   if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
   15669 
   15670 printf "%s\n" "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
   15671 
   15672   fi
   15673     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
   15674 printf %s "checking for CFLocaleCopyCurrent... " >&6; }
   15675 if test ${gt_cv_func_CFLocaleCopyCurrent+y}
   15676 then :
   15677   printf %s "(cached) " >&6
   15678 else $as_nop
   15679   gt_save_LIBS="$LIBS"
   15680      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
   15681      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15682 /* end confdefs.h.  */
   15683 #include <CoreFoundation/CFLocale.h>
   15684 int
   15685 main (void)
   15686 {
   15687 CFLocaleCopyCurrent();
   15688   ;
   15689   return 0;
   15690 }
   15691 _ACEOF
   15692 if ac_fn_c_try_link "$LINENO"
   15693 then :
   15694   gt_cv_func_CFLocaleCopyCurrent=yes
   15695 else $as_nop
   15696   gt_cv_func_CFLocaleCopyCurrent=no
   15697 fi
   15698 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15699     conftest$ac_exeext conftest.$ac_ext
   15700      LIBS="$gt_save_LIBS"
   15701 fi
   15702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
   15703 printf "%s\n" "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
   15704   if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
   15705 
   15706 printf "%s\n" "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
   15707 
   15708   fi
   15709   INTL_MACOSX_LIBS=
   15710   if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
   15711     INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
   15712   fi
   15713 
   15714 
   15715 
   15716 
   15717 
   15718 
   15719   LIBINTL=
   15720   LTLIBINTL=
   15721   POSUB=
   15722 
   15723     case " $gt_needs " in
   15724     *" need-formatstring-macros "*) gt_api_version=3 ;;
   15725     *" need-ngettext "*) gt_api_version=2 ;;
   15726     *) gt_api_version=1 ;;
   15727   esac
   15728   gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
   15729   gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
   15730 
   15731     if test "$USE_NLS" = "yes"; then
   15732     gt_use_preinstalled_gnugettext=no
   15733 
   15734 
   15735         if test $gt_api_version -ge 3; then
   15736           gt_revision_test_code='
   15737 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
   15738 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
   15739 #endif
   15740 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
   15741 '
   15742         else
   15743           gt_revision_test_code=
   15744         fi
   15745         if test $gt_api_version -ge 2; then
   15746           gt_expression_test_code=' + * ngettext ("", "", 0)'
   15747         else
   15748           gt_expression_test_code=
   15749         fi
   15750 
   15751         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
   15752 printf %s "checking for GNU gettext in libc... " >&6; }
   15753 if eval test \${$gt_func_gnugettext_libc+y}
   15754 then :
   15755   printf %s "(cached) " >&6
   15756 else $as_nop
   15757   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15758 /* end confdefs.h.  */
   15759 
   15760 #include <libintl.h>
   15761 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
   15762 extern int _nl_msg_cat_cntr;
   15763 extern int *_nl_domain_bindings;
   15764 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings)
   15765 #else
   15766 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
   15767 #endif
   15768 $gt_revision_test_code
   15769 
   15770 int
   15771 main (void)
   15772 {
   15773 
   15774 bindtextdomain ("", "");
   15775 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
   15776 
   15777   ;
   15778   return 0;
   15779 }
   15780 _ACEOF
   15781 if ac_fn_c_try_link "$LINENO"
   15782 then :
   15783   eval "$gt_func_gnugettext_libc=yes"
   15784 else $as_nop
   15785   eval "$gt_func_gnugettext_libc=no"
   15786 fi
   15787 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15788     conftest$ac_exeext conftest.$ac_ext
   15789 fi
   15790 eval ac_res=\$$gt_func_gnugettext_libc
   15791 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   15792 printf "%s\n" "$ac_res" >&6; }
   15793 
   15794         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
   15795 
   15796 
   15797 
   15798 
   15799 
   15800           am_save_CPPFLAGS="$CPPFLAGS"
   15801 
   15802   for element in $INCICONV; do
   15803     haveit=
   15804     for x in $CPPFLAGS; do
   15805 
   15806   acl_save_prefix="$prefix"
   15807   prefix="$acl_final_prefix"
   15808   acl_save_exec_prefix="$exec_prefix"
   15809   exec_prefix="$acl_final_exec_prefix"
   15810   eval x=\"$x\"
   15811   exec_prefix="$acl_save_exec_prefix"
   15812   prefix="$acl_save_prefix"
   15813 
   15814       if test "X$x" = "X$element"; then
   15815         haveit=yes
   15816         break
   15817       fi
   15818     done
   15819     if test -z "$haveit"; then
   15820       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   15821     fi
   15822   done
   15823 
   15824 
   15825   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
   15826 printf %s "checking for iconv... " >&6; }
   15827 if test ${am_cv_func_iconv+y}
   15828 then :
   15829   printf %s "(cached) " >&6
   15830 else $as_nop
   15831 
   15832     am_cv_func_iconv="no, consider installing GNU libiconv"
   15833     am_cv_lib_iconv=no
   15834     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15835 /* end confdefs.h.  */
   15836 
   15837 #include <stdlib.h>
   15838 #include <iconv.h>
   15839 
   15840 int
   15841 main (void)
   15842 {
   15843 iconv_t cd = iconv_open("","");
   15844            iconv(cd,NULL,NULL,NULL,NULL);
   15845            iconv_close(cd);
   15846   ;
   15847   return 0;
   15848 }
   15849 _ACEOF
   15850 if ac_fn_c_try_link "$LINENO"
   15851 then :
   15852   am_cv_func_iconv=yes
   15853 fi
   15854 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15855     conftest$ac_exeext conftest.$ac_ext
   15856     if test "$am_cv_func_iconv" != yes; then
   15857       am_save_LIBS="$LIBS"
   15858       LIBS="$LIBS $LIBICONV"
   15859       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15860 /* end confdefs.h.  */
   15861 
   15862 #include <stdlib.h>
   15863 #include <iconv.h>
   15864 
   15865 int
   15866 main (void)
   15867 {
   15868 iconv_t cd = iconv_open("","");
   15869              iconv(cd,NULL,NULL,NULL,NULL);
   15870              iconv_close(cd);
   15871   ;
   15872   return 0;
   15873 }
   15874 _ACEOF
   15875 if ac_fn_c_try_link "$LINENO"
   15876 then :
   15877   am_cv_lib_iconv=yes
   15878         am_cv_func_iconv=yes
   15879 fi
   15880 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15881     conftest$ac_exeext conftest.$ac_ext
   15882       LIBS="$am_save_LIBS"
   15883     fi
   15884 
   15885 fi
   15886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
   15887 printf "%s\n" "$am_cv_func_iconv" >&6; }
   15888   if test "$am_cv_func_iconv" = yes; then
   15889     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
   15890 printf %s "checking for working iconv... " >&6; }
   15891 if test ${am_cv_func_iconv_works+y}
   15892 then :
   15893   printf %s "(cached) " >&6
   15894 else $as_nop
   15895 
   15896                   am_save_LIBS="$LIBS"
   15897       if test $am_cv_lib_iconv = yes; then
   15898         LIBS="$LIBS $LIBICONV"
   15899       fi
   15900       am_cv_func_iconv_works=no
   15901       for ac_iconv_const in '' 'const'; do
   15902         if test "$cross_compiling" = yes
   15903 then :
   15904   case "$host_os" in
   15905              aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
   15906              *)            am_cv_func_iconv_works="guessing yes" ;;
   15907            esac
   15908 else $as_nop
   15909   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15910 /* end confdefs.h.  */
   15911 
   15912 #include <iconv.h>
   15913 #include <string.h>
   15914 
   15915 #ifndef ICONV_CONST
   15916 # define ICONV_CONST $ac_iconv_const
   15917 #endif
   15918 
   15919 int
   15920 main (void)
   15921 {
   15922 int result = 0;
   15923   /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
   15924      returns.  */
   15925   {
   15926     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
   15927     if (cd_utf8_to_88591 != (iconv_t)(-1))
   15928       {
   15929         static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
   15930         char buf[10];
   15931         ICONV_CONST char *inptr = input;
   15932         size_t inbytesleft = strlen (input);
   15933         char *outptr = buf;
   15934         size_t outbytesleft = sizeof (buf);
   15935         size_t res = iconv (cd_utf8_to_88591,
   15936                             &inptr, &inbytesleft,
   15937                             &outptr, &outbytesleft);
   15938         if (res == 0)
   15939           result |= 1;
   15940         iconv_close (cd_utf8_to_88591);
   15941       }
   15942   }
   15943   /* Test against Solaris 10 bug: Failures are not distinguishable from
   15944      successful returns.  */
   15945   {
   15946     iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
   15947     if (cd_ascii_to_88591 != (iconv_t)(-1))
   15948       {
   15949         static ICONV_CONST char input[] = "\263";
   15950         char buf[10];
   15951         ICONV_CONST char *inptr = input;
   15952         size_t inbytesleft = strlen (input);
   15953         char *outptr = buf;
   15954         size_t outbytesleft = sizeof (buf);
   15955         size_t res = iconv (cd_ascii_to_88591,
   15956                             &inptr, &inbytesleft,
   15957                             &outptr, &outbytesleft);
   15958         if (res == 0)
   15959           result |= 2;
   15960         iconv_close (cd_ascii_to_88591);
   15961       }
   15962   }
   15963   /* Test against AIX 6.1..7.1 bug: Buffer overrun.  */
   15964   {
   15965     iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
   15966     if (cd_88591_to_utf8 != (iconv_t)(-1))
   15967       {
   15968         static ICONV_CONST char input[] = "\304";
   15969         static char buf[2] = { (char)0xDE, (char)0xAD };
   15970         ICONV_CONST char *inptr = input;
   15971         size_t inbytesleft = 1;
   15972         char *outptr = buf;
   15973         size_t outbytesleft = 1;
   15974         size_t res = iconv (cd_88591_to_utf8,
   15975                             &inptr, &inbytesleft,
   15976                             &outptr, &outbytesleft);
   15977         if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
   15978           result |= 4;
   15979         iconv_close (cd_88591_to_utf8);
   15980       }
   15981   }
   15982 #if 0 /* This bug could be worked around by the caller.  */
   15983   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
   15984   {
   15985     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
   15986     if (cd_88591_to_utf8 != (iconv_t)(-1))
   15987       {
   15988         static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
   15989         char buf[50];
   15990         ICONV_CONST char *inptr = input;
   15991         size_t inbytesleft = strlen (input);
   15992         char *outptr = buf;
   15993         size_t outbytesleft = sizeof (buf);
   15994         size_t res = iconv (cd_88591_to_utf8,
   15995                             &inptr, &inbytesleft,
   15996                             &outptr, &outbytesleft);
   15997         if ((int)res > 0)
   15998           result |= 8;
   15999         iconv_close (cd_88591_to_utf8);
   16000       }
   16001   }
   16002 #endif
   16003   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
   16004      provided.  */
   16005   if (/* Try standardized names.  */
   16006       iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
   16007       /* Try IRIX, OSF/1 names.  */
   16008       && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
   16009       /* Try AIX names.  */
   16010       && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
   16011       /* Try HP-UX names.  */
   16012       && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
   16013     result |= 16;
   16014   return result;
   16015 
   16016   ;
   16017   return 0;
   16018 }
   16019 _ACEOF
   16020 if ac_fn_c_try_run "$LINENO"
   16021 then :
   16022   am_cv_func_iconv_works=yes
   16023 fi
   16024 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   16025   conftest.$ac_objext conftest.beam conftest.$ac_ext
   16026 fi
   16027 
   16028         test "$am_cv_func_iconv_works" = no || break
   16029       done
   16030       LIBS="$am_save_LIBS"
   16031 
   16032 fi
   16033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
   16034 printf "%s\n" "$am_cv_func_iconv_works" >&6; }
   16035     case "$am_cv_func_iconv_works" in
   16036       *no) am_func_iconv=no am_cv_lib_iconv=no ;;
   16037       *)   am_func_iconv=yes ;;
   16038     esac
   16039   else
   16040     am_func_iconv=no am_cv_lib_iconv=no
   16041   fi
   16042   if test "$am_func_iconv" = yes; then
   16043 
   16044 printf "%s\n" "#define HAVE_ICONV 1" >>confdefs.h
   16045 
   16046   fi
   16047   if test "$am_cv_lib_iconv" = yes; then
   16048     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
   16049 printf %s "checking how to link with libiconv... " >&6; }
   16050     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
   16051 printf "%s\n" "$LIBICONV" >&6; }
   16052   else
   16053             CPPFLAGS="$am_save_CPPFLAGS"
   16054     LIBICONV=
   16055     LTLIBICONV=
   16056   fi
   16057 
   16058 
   16059 
   16060 
   16061 
   16062 
   16063 
   16064 
   16065 
   16066 
   16067 
   16068     use_additional=yes
   16069 
   16070   acl_save_prefix="$prefix"
   16071   prefix="$acl_final_prefix"
   16072   acl_save_exec_prefix="$exec_prefix"
   16073   exec_prefix="$acl_final_exec_prefix"
   16074 
   16075     eval additional_includedir=\"$includedir\"
   16076     eval additional_libdir=\"$libdir\"
   16077 
   16078   exec_prefix="$acl_save_exec_prefix"
   16079   prefix="$acl_save_prefix"
   16080 
   16081 
   16082 # Check whether --with-libintl-prefix was given.
   16083 if test ${with_libintl_prefix+y}
   16084 then :
   16085   withval=$with_libintl_prefix;
   16086     if test "X$withval" = "Xno"; then
   16087       use_additional=no
   16088     else
   16089       if test "X$withval" = "X"; then
   16090 
   16091   acl_save_prefix="$prefix"
   16092   prefix="$acl_final_prefix"
   16093   acl_save_exec_prefix="$exec_prefix"
   16094   exec_prefix="$acl_final_exec_prefix"
   16095 
   16096           eval additional_includedir=\"$includedir\"
   16097           eval additional_libdir=\"$libdir\"
   16098 
   16099   exec_prefix="$acl_save_exec_prefix"
   16100   prefix="$acl_save_prefix"
   16101 
   16102       else
   16103         additional_includedir="$withval/include"
   16104         additional_libdir="$withval/$acl_libdirstem"
   16105         if test "$acl_libdirstem2" != "$acl_libdirstem" \
   16106            && ! test -d "$withval/$acl_libdirstem"; then
   16107           additional_libdir="$withval/$acl_libdirstem2"
   16108         fi
   16109       fi
   16110     fi
   16111 
   16112 fi
   16113 
   16114       LIBINTL=
   16115   LTLIBINTL=
   16116   INCINTL=
   16117   LIBINTL_PREFIX=
   16118       HAVE_LIBINTL=
   16119   rpathdirs=
   16120   ltrpathdirs=
   16121   names_already_handled=
   16122   names_next_round='intl '
   16123   while test -n "$names_next_round"; do
   16124     names_this_round="$names_next_round"
   16125     names_next_round=
   16126     for name in $names_this_round; do
   16127       already_handled=
   16128       for n in $names_already_handled; do
   16129         if test "$n" = "$name"; then
   16130           already_handled=yes
   16131           break
   16132         fi
   16133       done
   16134       if test -z "$already_handled"; then
   16135         names_already_handled="$names_already_handled $name"
   16136                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
   16137         eval value=\"\$HAVE_LIB$uppername\"
   16138         if test -n "$value"; then
   16139           if test "$value" = yes; then
   16140             eval value=\"\$LIB$uppername\"
   16141             test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
   16142             eval value=\"\$LTLIB$uppername\"
   16143             test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
   16144           else
   16145                                     :
   16146           fi
   16147         else
   16148                               found_dir=
   16149           found_la=
   16150           found_so=
   16151           found_a=
   16152           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
   16153           if test -n "$acl_shlibext"; then
   16154             shrext=".$acl_shlibext"             # typically: shrext=.so
   16155           else
   16156             shrext=
   16157           fi
   16158           if test $use_additional = yes; then
   16159             dir="$additional_libdir"
   16160                                     if test -n "$acl_shlibext"; then
   16161               if test -f "$dir/$libname$shrext"; then
   16162                 found_dir="$dir"
   16163                 found_so="$dir/$libname$shrext"
   16164               else
   16165                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
   16166                   ver=`(cd "$dir" && \
   16167                         for f in "$libname$shrext".*; do echo "$f"; done \
   16168                         | sed -e "s,^$libname$shrext\\\\.,," \
   16169                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
   16170                         | sed 1q ) 2>/dev/null`
   16171                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
   16172                     found_dir="$dir"
   16173                     found_so="$dir/$libname$shrext.$ver"
   16174                   fi
   16175                 else
   16176                   eval library_names=\"$acl_library_names_spec\"
   16177                   for f in $library_names; do
   16178                     if test -f "$dir/$f"; then
   16179                       found_dir="$dir"
   16180                       found_so="$dir/$f"
   16181                       break
   16182                     fi
   16183                   done
   16184                 fi
   16185               fi
   16186             fi
   16187                         if test "X$found_dir" = "X"; then
   16188               if test -f "$dir/$libname.$acl_libext"; then
   16189                 found_dir="$dir"
   16190                 found_a="$dir/$libname.$acl_libext"
   16191               fi
   16192             fi
   16193             if test "X$found_dir" != "X"; then
   16194               if test -f "$dir/$libname.la"; then
   16195                 found_la="$dir/$libname.la"
   16196               fi
   16197             fi
   16198           fi
   16199           if test "X$found_dir" = "X"; then
   16200             for x in $LDFLAGS $LTLIBINTL; do
   16201 
   16202   acl_save_prefix="$prefix"
   16203   prefix="$acl_final_prefix"
   16204   acl_save_exec_prefix="$exec_prefix"
   16205   exec_prefix="$acl_final_exec_prefix"
   16206   eval x=\"$x\"
   16207   exec_prefix="$acl_save_exec_prefix"
   16208   prefix="$acl_save_prefix"
   16209 
   16210               case "$x" in
   16211                 -L*)
   16212                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   16213                                     if test -n "$acl_shlibext"; then
   16214                     if test -f "$dir/$libname$shrext"; then
   16215                       found_dir="$dir"
   16216                       found_so="$dir/$libname$shrext"
   16217                     else
   16218                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
   16219                         ver=`(cd "$dir" && \
   16220                               for f in "$libname$shrext".*; do echo "$f"; done \
   16221                               | sed -e "s,^$libname$shrext\\\\.,," \
   16222                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
   16223                               | sed 1q ) 2>/dev/null`
   16224                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
   16225                           found_dir="$dir"
   16226                           found_so="$dir/$libname$shrext.$ver"
   16227                         fi
   16228                       else
   16229                         eval library_names=\"$acl_library_names_spec\"
   16230                         for f in $library_names; do
   16231                           if test -f "$dir/$f"; then
   16232                             found_dir="$dir"
   16233                             found_so="$dir/$f"
   16234                             break
   16235                           fi
   16236                         done
   16237                       fi
   16238                     fi
   16239                   fi
   16240                                     if test "X$found_dir" = "X"; then
   16241                     if test -f "$dir/$libname.$acl_libext"; then
   16242                       found_dir="$dir"
   16243                       found_a="$dir/$libname.$acl_libext"
   16244                     fi
   16245                   fi
   16246                   if test "X$found_dir" != "X"; then
   16247                     if test -f "$dir/$libname.la"; then
   16248                       found_la="$dir/$libname.la"
   16249                     fi
   16250                   fi
   16251                   ;;
   16252               esac
   16253               if test "X$found_dir" != "X"; then
   16254                 break
   16255               fi
   16256             done
   16257           fi
   16258           if test "X$found_dir" != "X"; then
   16259                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
   16260             if test "X$found_so" != "X"; then
   16261                                                         if test "$enable_rpath" = no \
   16262                  || test "X$found_dir" = "X/usr/$acl_libdirstem" \
   16263                  || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
   16264                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   16265               else
   16266                                                                                 haveit=
   16267                 for x in $ltrpathdirs; do
   16268                   if test "X$x" = "X$found_dir"; then
   16269                     haveit=yes
   16270                     break
   16271                   fi
   16272                 done
   16273                 if test -z "$haveit"; then
   16274                   ltrpathdirs="$ltrpathdirs $found_dir"
   16275                 fi
   16276                                 if test "$acl_hardcode_direct" = yes; then
   16277                                                       LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   16278                 else
   16279                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
   16280                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   16281                                                             haveit=
   16282                     for x in $rpathdirs; do
   16283                       if test "X$x" = "X$found_dir"; then
   16284                         haveit=yes
   16285                         break
   16286                       fi
   16287                     done
   16288                     if test -z "$haveit"; then
   16289                       rpathdirs="$rpathdirs $found_dir"
   16290                     fi
   16291                   else
   16292                                                                                 haveit=
   16293                     for x in $LDFLAGS $LIBINTL; do
   16294 
   16295   acl_save_prefix="$prefix"
   16296   prefix="$acl_final_prefix"
   16297   acl_save_exec_prefix="$exec_prefix"
   16298   exec_prefix="$acl_final_exec_prefix"
   16299   eval x=\"$x\"
   16300   exec_prefix="$acl_save_exec_prefix"
   16301   prefix="$acl_save_prefix"
   16302 
   16303                       if test "X$x" = "X-L$found_dir"; then
   16304                         haveit=yes
   16305                         break
   16306                       fi
   16307                     done
   16308                     if test -z "$haveit"; then
   16309                       LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
   16310                     fi
   16311                     if test "$acl_hardcode_minus_L" != no; then
   16312                                                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   16313                     else
   16314                                                                                                                                                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
   16315                     fi
   16316                   fi
   16317                 fi
   16318               fi
   16319             else
   16320               if test "X$found_a" != "X"; then
   16321                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
   16322               else
   16323                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
   16324               fi
   16325             fi
   16326                         additional_includedir=
   16327             case "$found_dir" in
   16328               */$acl_libdirstem | */$acl_libdirstem/)
   16329                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
   16330                 if test "$name" = 'intl'; then
   16331                   LIBINTL_PREFIX="$basedir"
   16332                 fi
   16333                 additional_includedir="$basedir/include"
   16334                 ;;
   16335               */$acl_libdirstem2 | */$acl_libdirstem2/)
   16336                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
   16337                 if test "$name" = 'intl'; then
   16338                   LIBINTL_PREFIX="$basedir"
   16339                 fi
   16340                 additional_includedir="$basedir/include"
   16341                 ;;
   16342             esac
   16343             if test "X$additional_includedir" != "X"; then
   16344                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   16345                 haveit=
   16346                 if test "X$additional_includedir" = "X/usr/local/include"; then
   16347                   if test -n "$GCC"; then
   16348                     case $host_os in
   16349                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
   16350                     esac
   16351                   fi
   16352                 fi
   16353                 if test -z "$haveit"; then
   16354                   for x in $CPPFLAGS $INCINTL; do
   16355 
   16356   acl_save_prefix="$prefix"
   16357   prefix="$acl_final_prefix"
   16358   acl_save_exec_prefix="$exec_prefix"
   16359   exec_prefix="$acl_final_exec_prefix"
   16360   eval x=\"$x\"
   16361   exec_prefix="$acl_save_exec_prefix"
   16362   prefix="$acl_save_prefix"
   16363 
   16364                     if test "X$x" = "X-I$additional_includedir"; then
   16365                       haveit=yes
   16366                       break
   16367                     fi
   16368                   done
   16369                   if test -z "$haveit"; then
   16370                     if test -d "$additional_includedir"; then
   16371                                             INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
   16372                     fi
   16373                   fi
   16374                 fi
   16375               fi
   16376             fi
   16377                         if test -n "$found_la"; then
   16378                                                         save_libdir="$libdir"
   16379               case "$found_la" in
   16380                 */* | *\\*) . "$found_la" ;;
   16381                 *) . "./$found_la" ;;
   16382               esac
   16383               libdir="$save_libdir"
   16384                             for dep in $dependency_libs; do
   16385                 case "$dep" in
   16386                   -L*)
   16387                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   16388                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
   16389                        && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
   16390                       haveit=
   16391                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
   16392                          || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
   16393                         if test -n "$GCC"; then
   16394                           case $host_os in
   16395                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
   16396                           esac
   16397                         fi
   16398                       fi
   16399                       if test -z "$haveit"; then
   16400                         haveit=
   16401                         for x in $LDFLAGS $LIBINTL; do
   16402 
   16403   acl_save_prefix="$prefix"
   16404   prefix="$acl_final_prefix"
   16405   acl_save_exec_prefix="$exec_prefix"
   16406   exec_prefix="$acl_final_exec_prefix"
   16407   eval x=\"$x\"
   16408   exec_prefix="$acl_save_exec_prefix"
   16409   prefix="$acl_save_prefix"
   16410 
   16411                           if test "X$x" = "X-L$additional_libdir"; then
   16412                             haveit=yes
   16413                             break
   16414                           fi
   16415                         done
   16416                         if test -z "$haveit"; then
   16417                           if test -d "$additional_libdir"; then
   16418                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
   16419                           fi
   16420                         fi
   16421                         haveit=
   16422                         for x in $LDFLAGS $LTLIBINTL; do
   16423 
   16424   acl_save_prefix="$prefix"
   16425   prefix="$acl_final_prefix"
   16426   acl_save_exec_prefix="$exec_prefix"
   16427   exec_prefix="$acl_final_exec_prefix"
   16428   eval x=\"$x\"
   16429   exec_prefix="$acl_save_exec_prefix"
   16430   prefix="$acl_save_prefix"
   16431 
   16432                           if test "X$x" = "X-L$additional_libdir"; then
   16433                             haveit=yes
   16434                             break
   16435                           fi
   16436                         done
   16437                         if test -z "$haveit"; then
   16438                           if test -d "$additional_libdir"; then
   16439                                                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
   16440                           fi
   16441                         fi
   16442                       fi
   16443                     fi
   16444                     ;;
   16445                   -R*)
   16446                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   16447                     if test "$enable_rpath" != no; then
   16448                                                                   haveit=
   16449                       for x in $rpathdirs; do
   16450                         if test "X$x" = "X$dir"; then
   16451                           haveit=yes
   16452                           break
   16453                         fi
   16454                       done
   16455                       if test -z "$haveit"; then
   16456                         rpathdirs="$rpathdirs $dir"
   16457                       fi
   16458                                                                   haveit=
   16459                       for x in $ltrpathdirs; do
   16460                         if test "X$x" = "X$dir"; then
   16461                           haveit=yes
   16462                           break
   16463                         fi
   16464                       done
   16465                       if test -z "$haveit"; then
   16466                         ltrpathdirs="$ltrpathdirs $dir"
   16467                       fi
   16468                     fi
   16469                     ;;
   16470                   -l*)
   16471                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
   16472                     ;;
   16473                   *.la)
   16474                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   16475                     ;;
   16476                   *)
   16477                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
   16478                     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
   16479                     ;;
   16480                 esac
   16481               done
   16482             fi
   16483           else
   16484                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
   16485             LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
   16486           fi
   16487         fi
   16488       fi
   16489     done
   16490   done
   16491   if test "X$rpathdirs" != "X"; then
   16492     if test -n "$acl_hardcode_libdir_separator"; then
   16493                         alldirs=
   16494       for found_dir in $rpathdirs; do
   16495         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
   16496       done
   16497             acl_save_libdir="$libdir"
   16498       libdir="$alldirs"
   16499       eval flag=\"$acl_hardcode_libdir_flag_spec\"
   16500       libdir="$acl_save_libdir"
   16501       LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
   16502     else
   16503             for found_dir in $rpathdirs; do
   16504         acl_save_libdir="$libdir"
   16505         libdir="$found_dir"
   16506         eval flag=\"$acl_hardcode_libdir_flag_spec\"
   16507         libdir="$acl_save_libdir"
   16508         LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
   16509       done
   16510     fi
   16511   fi
   16512   if test "X$ltrpathdirs" != "X"; then
   16513             for found_dir in $ltrpathdirs; do
   16514       LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
   16515     done
   16516   fi
   16517 
   16518 
   16519 
   16520 
   16521 
   16522 
   16523           { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
   16524 printf %s "checking for GNU gettext in libintl... " >&6; }
   16525 if eval test \${$gt_func_gnugettext_libintl+y}
   16526 then :
   16527   printf %s "(cached) " >&6
   16528 else $as_nop
   16529   gt_save_CPPFLAGS="$CPPFLAGS"
   16530             CPPFLAGS="$CPPFLAGS $INCINTL"
   16531             gt_save_LIBS="$LIBS"
   16532             LIBS="$LIBS $LIBINTL"
   16533                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16534 /* end confdefs.h.  */
   16535 
   16536 #include <libintl.h>
   16537 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
   16538 extern int _nl_msg_cat_cntr;
   16539 extern
   16540 #ifdef __cplusplus
   16541 "C"
   16542 #endif
   16543 const char *_nl_expand_alias (const char *);
   16544 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
   16545 #else
   16546 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
   16547 #endif
   16548 $gt_revision_test_code
   16549 
   16550 int
   16551 main (void)
   16552 {
   16553 
   16554 bindtextdomain ("", "");
   16555 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
   16556 
   16557   ;
   16558   return 0;
   16559 }
   16560 _ACEOF
   16561 if ac_fn_c_try_link "$LINENO"
   16562 then :
   16563   eval "$gt_func_gnugettext_libintl=yes"
   16564 else $as_nop
   16565   eval "$gt_func_gnugettext_libintl=no"
   16566 fi
   16567 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16568     conftest$ac_exeext conftest.$ac_ext
   16569                         if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
   16570               LIBS="$LIBS $LIBICONV"
   16571               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16572 /* end confdefs.h.  */
   16573 
   16574 #include <libintl.h>
   16575 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
   16576 extern int _nl_msg_cat_cntr;
   16577 extern
   16578 #ifdef __cplusplus
   16579 "C"
   16580 #endif
   16581 const char *_nl_expand_alias (const char *);
   16582 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
   16583 #else
   16584 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
   16585 #endif
   16586 $gt_revision_test_code
   16587 
   16588 int
   16589 main (void)
   16590 {
   16591 
   16592 bindtextdomain ("", "");
   16593 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
   16594 
   16595   ;
   16596   return 0;
   16597 }
   16598 _ACEOF
   16599 if ac_fn_c_try_link "$LINENO"
   16600 then :
   16601   LIBINTL="$LIBINTL $LIBICONV"
   16602                  LTLIBINTL="$LTLIBINTL $LTLIBICONV"
   16603                  eval "$gt_func_gnugettext_libintl=yes"
   16604 
   16605 fi
   16606 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16607     conftest$ac_exeext conftest.$ac_ext
   16608             fi
   16609             CPPFLAGS="$gt_save_CPPFLAGS"
   16610             LIBS="$gt_save_LIBS"
   16611 fi
   16612 eval ac_res=\$$gt_func_gnugettext_libintl
   16613 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   16614 printf "%s\n" "$ac_res" >&6; }
   16615         fi
   16616 
   16617                                         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
   16618            || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
   16619                 && test "$PACKAGE" != gettext-runtime \
   16620                 && test "$PACKAGE" != gettext-tools; }; then
   16621           gt_use_preinstalled_gnugettext=yes
   16622         else
   16623                     LIBINTL=
   16624           LTLIBINTL=
   16625           INCINTL=
   16626         fi
   16627 
   16628 
   16629 
   16630     if test -n "$INTL_MACOSX_LIBS"; then
   16631       if test "$gt_use_preinstalled_gnugettext" = "yes" \
   16632          || test "$nls_cv_use_gnu_gettext" = "yes"; then
   16633                 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
   16634         LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
   16635       fi
   16636     fi
   16637 
   16638     if test "$gt_use_preinstalled_gnugettext" = "yes" \
   16639        || test "$nls_cv_use_gnu_gettext" = "yes"; then
   16640 
   16641 printf "%s\n" "#define ENABLE_NLS 1" >>confdefs.h
   16642 
   16643     else
   16644       USE_NLS=no
   16645     fi
   16646   fi
   16647 
   16648   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
   16649 printf %s "checking whether to use NLS... " >&6; }
   16650   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
   16651 printf "%s\n" "$USE_NLS" >&6; }
   16652   if test "$USE_NLS" = "yes"; then
   16653     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
   16654 printf %s "checking where the gettext function comes from... " >&6; }
   16655     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
   16656       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
   16657         gt_source="external libintl"
   16658       else
   16659         gt_source="libc"
   16660       fi
   16661     else
   16662       gt_source="included intl directory"
   16663     fi
   16664     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
   16665 printf "%s\n" "$gt_source" >&6; }
   16666   fi
   16667 
   16668   if test "$USE_NLS" = "yes"; then
   16669 
   16670     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
   16671       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
   16672         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
   16673 printf %s "checking how to link with libintl... " >&6; }
   16674         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
   16675 printf "%s\n" "$LIBINTL" >&6; }
   16676 
   16677   for element in $INCINTL; do
   16678     haveit=
   16679     for x in $CPPFLAGS; do
   16680 
   16681   acl_save_prefix="$prefix"
   16682   prefix="$acl_final_prefix"
   16683   acl_save_exec_prefix="$exec_prefix"
   16684   exec_prefix="$acl_final_exec_prefix"
   16685   eval x=\"$x\"
   16686   exec_prefix="$acl_save_exec_prefix"
   16687   prefix="$acl_save_prefix"
   16688 
   16689       if test "X$x" = "X$element"; then
   16690         haveit=yes
   16691         break
   16692       fi
   16693     done
   16694     if test -z "$haveit"; then
   16695       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   16696     fi
   16697   done
   16698 
   16699       fi
   16700 
   16701 
   16702 printf "%s\n" "#define HAVE_GETTEXT 1" >>confdefs.h
   16703 
   16704 
   16705 printf "%s\n" "#define HAVE_DCGETTEXT 1" >>confdefs.h
   16706 
   16707     fi
   16708 
   16709         POSUB=po
   16710   fi
   16711 
   16712 
   16713 
   16714     INTLLIBS="$LIBINTL"
   16715 
   16716 
   16717 
   16718 
   16719 
   16720 
   16721 
   16722 
   16723 if test "$os_win32" = "yes"; then
   16724   # Extract the first word of "lib.exe", so it can be a program name with args.
   16725 set dummy lib.exe; ac_word=$2
   16726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16727 printf %s "checking for $ac_word... " >&6; }
   16728 if test ${ac_cv_prog_ms_librarian+y}
   16729 then :
   16730   printf %s "(cached) " >&6
   16731 else $as_nop
   16732   if test -n "$ms_librarian"; then
   16733   ac_cv_prog_ms_librarian="$ms_librarian" # Let the user override the test.
   16734 else
   16735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16736 for as_dir in $PATH
   16737 do
   16738   IFS=$as_save_IFS
   16739   case $as_dir in #(((
   16740     '') as_dir=./ ;;
   16741     */) ;;
   16742     *) as_dir=$as_dir/ ;;
   16743   esac
   16744     for ac_exec_ext in '' $ac_executable_extensions; do
   16745   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   16746     ac_cv_prog_ms_librarian="yes"
   16747     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   16748     break 2
   16749   fi
   16750 done
   16751   done
   16752 IFS=$as_save_IFS
   16753 
   16754   test -z "$ac_cv_prog_ms_librarian" && ac_cv_prog_ms_librarian="no"
   16755 fi
   16756 fi
   16757 ms_librarian=$ac_cv_prog_ms_librarian
   16758 if test -n "$ms_librarian"; then
   16759   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ms_librarian" >&5
   16760 printf "%s\n" "$ms_librarian" >&6; }
   16761 else
   16762   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16763 printf "%s\n" "no" >&6; }
   16764 fi
   16765 
   16766 
   16767 fi
   16768  if test x$ms_librarian = xyes; then
   16769   MS_LIB_AVAILABLE_TRUE=
   16770   MS_LIB_AVAILABLE_FALSE='#'
   16771 else
   16772   MS_LIB_AVAILABLE_TRUE='#'
   16773   MS_LIB_AVAILABLE_FALSE=
   16774 fi
   16775 
   16776 
   16777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   16778 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   16779 if test ${ac_cv_c_undeclared_builtin_options+y}
   16780 then :
   16781   printf %s "(cached) " >&6
   16782 else $as_nop
   16783   ac_save_CFLAGS=$CFLAGS
   16784    ac_cv_c_undeclared_builtin_options='cannot detect'
   16785    for ac_arg in '' -fno-builtin; do
   16786      CFLAGS="$ac_save_CFLAGS $ac_arg"
   16787      # This test program should *not* compile successfully.
   16788      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16789 /* end confdefs.h.  */
   16790 
   16791 int
   16792 main (void)
   16793 {
   16794 (void) strchr;
   16795   ;
   16796   return 0;
   16797 }
   16798 _ACEOF
   16799 if ac_fn_c_try_compile "$LINENO"
   16800 then :
   16801 
   16802 else $as_nop
   16803   # This test program should compile successfully.
   16804         # No library function is consistently available on
   16805         # freestanding implementations, so test against a dummy
   16806         # declaration.  Include always-available headers on the
   16807         # off chance that they somehow elicit warnings.
   16808         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16809 /* end confdefs.h.  */
   16810 #include <float.h>
   16811 #include <limits.h>
   16812 #include <stdarg.h>
   16813 #include <stddef.h>
   16814 extern void ac_decl (int, char *);
   16815 
   16816 int
   16817 main (void)
   16818 {
   16819 (void) ac_decl (0, (char *) 0);
   16820   (void) ac_decl;
   16821 
   16822   ;
   16823   return 0;
   16824 }
   16825 _ACEOF
   16826 if ac_fn_c_try_compile "$LINENO"
   16827 then :
   16828   if test x"$ac_arg" = x
   16829 then :
   16830   ac_cv_c_undeclared_builtin_options='none needed'
   16831 else $as_nop
   16832   ac_cv_c_undeclared_builtin_options=$ac_arg
   16833 fi
   16834           break
   16835 fi
   16836 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16837 fi
   16838 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16839     done
   16840     CFLAGS=$ac_save_CFLAGS
   16841 
   16842 fi
   16843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   16844 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   16845   case $ac_cv_c_undeclared_builtin_options in #(
   16846   'cannot detect') :
   16847     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   16848 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   16849 as_fn_error $? "cannot make $CC report undeclared builtins
   16850 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   16851   'none needed') :
   16852     ac_c_undeclared_builtin_options='' ;; #(
   16853   *) :
   16854     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   16855 esac
   16856 
   16857 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   16858 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   16859 then :
   16860   SUNCC="yes"
   16861 else $as_nop
   16862   SUNCC="no"
   16863 fi
   16864 WARN_CFLAGS=""
   16865 WARNING_CPP_DIRECTIVE="no"
   16866 if test "x$GCC" = "xyes"; then
   16867 	WARN_CFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes \
   16868 	-Wmissing-prototypes -Wmissing-declarations \
   16869 	-Wnested-externs -fno-strict-aliasing"
   16870 	WARNING_CPP_DIRECTIVE="yes"
   16871 elif test "x$SUNCC" = "xyes"; then
   16872 	WARN_CFLAGS="-v -fd"
   16873 	WARNING_CPP_DIRECTIVE="yes"
   16874 fi
   16875 if test "x$WARNING_CPP_DIRECTIVE" = "xyes"; then
   16876 
   16877 printf "%s\n" "#define HAVE_WARNING_CPP_DIRECTIVE 1" >>confdefs.h
   16878 
   16879 fi
   16880 
   16881 
   16882 
   16883 
   16884 # Put a plausible default for CC_FOR_BUILD in Makefile.
   16885 if test -z "$CC_FOR_BUILD"; then
   16886   if test "x$cross_compiling" = "xno"; then
   16887     CC_FOR_BUILD='$(CC)'
   16888   else
   16889     CC_FOR_BUILD=gcc
   16890   fi
   16891 fi
   16892 
   16893 # Also set EXEEXT_FOR_BUILD.
   16894 if test "x$cross_compiling" = "xno"; then
   16895   EXEEXT_FOR_BUILD='$(EXEEXT)'
   16896 else
   16897   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for build system executable suffix" >&5
   16898 printf %s "checking for build system executable suffix... " >&6; }
   16899 if test ${bfd_cv_build_exeext+y}
   16900 then :
   16901   printf %s "(cached) " >&6
   16902 else $as_nop
   16903   rm -f conftest*
   16904      echo 'int main () { return 0; }' > conftest.c
   16905      bfd_cv_build_exeext=
   16906      ${CC_FOR_BUILD} -o conftest conftest.c 1>&5 2>&5
   16907      for file in conftest.*; do
   16908        case $file in
   16909        *.c | *.o | *.obj | *.ilk | *.pdb) ;;
   16910        *) bfd_cv_build_exeext=`echo $file | sed -e s/conftest//` ;;
   16911        esac
   16912      done
   16913      rm -f conftest*
   16914      test x"${bfd_cv_build_exeext}" = x && bfd_cv_build_exeext=no
   16915 fi
   16916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_build_exeext" >&5
   16917 printf "%s\n" "$bfd_cv_build_exeext" >&6; }
   16918   EXEEXT_FOR_BUILD=""
   16919   test x"${bfd_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${bfd_cv_build_exeext}
   16920 fi
   16921 
   16922 
   16923  if test $cross_compiling = yes; then
   16924   CROSS_COMPILING_TRUE=
   16925   CROSS_COMPILING_FALSE='#'
   16926 else
   16927   CROSS_COMPILING_TRUE='#'
   16928   CROSS_COMPILING_FALSE=
   16929 fi
   16930 
   16931  if test "$enable_shared" = "yes"; then
   16932   ENABLE_SHARED_TRUE=
   16933   ENABLE_SHARED_FALSE='#'
   16934 else
   16935   ENABLE_SHARED_TRUE='#'
   16936   ENABLE_SHARED_FALSE=
   16937 fi
   16938 
   16939 
   16940 
   16941 
   16942 # Check whether --with-arch was given.
   16943 if test ${with_arch+y}
   16944 then :
   16945   withval=$with_arch; arch="$withval"
   16946 else $as_nop
   16947   arch=auto
   16948 fi
   16949 
   16950 
   16951 if test "x$arch" != xauto; then
   16952 
   16953 printf "%s\n" "#define FC_ARCHITECTURE \"$arch\"" >>confdefs.h
   16954 
   16955 fi
   16956 
   16957 
   16958 
   16959 # Checks for header files.
   16960 ac_header_dirent=no
   16961 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
   16962   as_ac_Header=`printf "%s\n" "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
   16963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
   16964 printf %s "checking for $ac_hdr that defines DIR... " >&6; }
   16965 if eval test \${$as_ac_Header+y}
   16966 then :
   16967   printf %s "(cached) " >&6
   16968 else $as_nop
   16969   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16970 /* end confdefs.h.  */
   16971 #include <sys/types.h>
   16972 #include <$ac_hdr>
   16973 
   16974 int
   16975 main (void)
   16976 {
   16977 if ((DIR *) 0)
   16978 return 0;
   16979   ;
   16980   return 0;
   16981 }
   16982 _ACEOF
   16983 if ac_fn_c_try_compile "$LINENO"
   16984 then :
   16985   eval "$as_ac_Header=yes"
   16986 else $as_nop
   16987   eval "$as_ac_Header=no"
   16988 fi
   16989 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16990 fi
   16991 eval ac_res=\$$as_ac_Header
   16992 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   16993 printf "%s\n" "$ac_res" >&6; }
   16994 if eval test \"x\$"$as_ac_Header"\" = x"yes"
   16995 then :
   16996   cat >>confdefs.h <<_ACEOF
   16997 #define `printf "%s\n" "HAVE_$ac_hdr" | $as_tr_cpp` 1
   16998 _ACEOF
   16999 
   17000 ac_header_dirent=$ac_hdr; break
   17001 fi
   17002 
   17003 done
   17004 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
   17005 if test $ac_header_dirent = dirent.h; then
   17006   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
   17007 printf %s "checking for library containing opendir... " >&6; }
   17008 if test ${ac_cv_search_opendir+y}
   17009 then :
   17010   printf %s "(cached) " >&6
   17011 else $as_nop
   17012   ac_func_search_save_LIBS=$LIBS
   17013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17014 /* end confdefs.h.  */
   17015 
   17016 /* Override any GCC internal prototype to avoid an error.
   17017    Use char because int might match the return type of a GCC
   17018    builtin and then its argument prototype would still apply.  */
   17019 char opendir ();
   17020 int
   17021 main (void)
   17022 {
   17023 return opendir ();
   17024   ;
   17025   return 0;
   17026 }
   17027 _ACEOF
   17028 for ac_lib in '' dir
   17029 do
   17030   if test -z "$ac_lib"; then
   17031     ac_res="none required"
   17032   else
   17033     ac_res=-l$ac_lib
   17034     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   17035   fi
   17036   if ac_fn_c_try_link "$LINENO"
   17037 then :
   17038   ac_cv_search_opendir=$ac_res
   17039 fi
   17040 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17041     conftest$ac_exeext
   17042   if test ${ac_cv_search_opendir+y}
   17043 then :
   17044   break
   17045 fi
   17046 done
   17047 if test ${ac_cv_search_opendir+y}
   17048 then :
   17049 
   17050 else $as_nop
   17051   ac_cv_search_opendir=no
   17052 fi
   17053 rm conftest.$ac_ext
   17054 LIBS=$ac_func_search_save_LIBS
   17055 fi
   17056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
   17057 printf "%s\n" "$ac_cv_search_opendir" >&6; }
   17058 ac_res=$ac_cv_search_opendir
   17059 if test "$ac_res" != no
   17060 then :
   17061   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   17062 
   17063 fi
   17064 
   17065 else
   17066   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
   17067 printf %s "checking for library containing opendir... " >&6; }
   17068 if test ${ac_cv_search_opendir+y}
   17069 then :
   17070   printf %s "(cached) " >&6
   17071 else $as_nop
   17072   ac_func_search_save_LIBS=$LIBS
   17073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17074 /* end confdefs.h.  */
   17075 
   17076 /* Override any GCC internal prototype to avoid an error.
   17077    Use char because int might match the return type of a GCC
   17078    builtin and then its argument prototype would still apply.  */
   17079 char opendir ();
   17080 int
   17081 main (void)
   17082 {
   17083 return opendir ();
   17084   ;
   17085   return 0;
   17086 }
   17087 _ACEOF
   17088 for ac_lib in '' x
   17089 do
   17090   if test -z "$ac_lib"; then
   17091     ac_res="none required"
   17092   else
   17093     ac_res=-l$ac_lib
   17094     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   17095   fi
   17096   if ac_fn_c_try_link "$LINENO"
   17097 then :
   17098   ac_cv_search_opendir=$ac_res
   17099 fi
   17100 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17101     conftest$ac_exeext
   17102   if test ${ac_cv_search_opendir+y}
   17103 then :
   17104   break
   17105 fi
   17106 done
   17107 if test ${ac_cv_search_opendir+y}
   17108 then :
   17109 
   17110 else $as_nop
   17111   ac_cv_search_opendir=no
   17112 fi
   17113 rm conftest.$ac_ext
   17114 LIBS=$ac_func_search_save_LIBS
   17115 fi
   17116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
   17117 printf "%s\n" "$ac_cv_search_opendir" >&6; }
   17118 ac_res=$ac_cv_search_opendir
   17119 if test "$ac_res" != no
   17120 then :
   17121   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   17122 
   17123 fi
   17124 
   17125 fi
   17126 
   17127 # Autoupdate added the next two lines to ensure that your configure
   17128 # script's behavior did not change.  They are probably safe to remove.
   17129 
   17130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   17131 printf %s "checking for egrep... " >&6; }
   17132 if test ${ac_cv_path_EGREP+y}
   17133 then :
   17134   printf %s "(cached) " >&6
   17135 else $as_nop
   17136   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   17137    then ac_cv_path_EGREP="$GREP -E"
   17138    else
   17139      if test -z "$EGREP"; then
   17140   ac_path_EGREP_found=false
   17141   # Loop through the user's path and test for each of PROGNAME-LIST
   17142   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17143 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   17144 do
   17145   IFS=$as_save_IFS
   17146   case $as_dir in #(((
   17147     '') as_dir=./ ;;
   17148     */) ;;
   17149     *) as_dir=$as_dir/ ;;
   17150   esac
   17151     for ac_prog in egrep
   17152    do
   17153     for ac_exec_ext in '' $ac_executable_extensions; do
   17154       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   17155       as_fn_executable_p "$ac_path_EGREP" || continue
   17156 # Check for GNU ac_path_EGREP and select it if it is found.
   17157   # Check for GNU $ac_path_EGREP
   17158 case `"$ac_path_EGREP" --version 2>&1` in
   17159 *GNU*)
   17160   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   17161 *)
   17162   ac_count=0
   17163   printf %s 0123456789 >"conftest.in"
   17164   while :
   17165   do
   17166     cat "conftest.in" "conftest.in" >"conftest.tmp"
   17167     mv "conftest.tmp" "conftest.in"
   17168     cp "conftest.in" "conftest.nl"
   17169     printf "%s\n" 'EGREP' >> "conftest.nl"
   17170     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   17171     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   17172     as_fn_arith $ac_count + 1 && ac_count=$as_val
   17173     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   17174       # Best one so far, save it but keep looking for a better one
   17175       ac_cv_path_EGREP="$ac_path_EGREP"
   17176       ac_path_EGREP_max=$ac_count
   17177     fi
   17178     # 10*(2^10) chars as input seems more than enough
   17179     test $ac_count -gt 10 && break
   17180   done
   17181   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   17182 esac
   17183 
   17184       $ac_path_EGREP_found && break 3
   17185     done
   17186   done
   17187   done
   17188 IFS=$as_save_IFS
   17189   if test -z "$ac_cv_path_EGREP"; then
   17190     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   17191   fi
   17192 else
   17193   ac_cv_path_EGREP=$EGREP
   17194 fi
   17195 
   17196    fi
   17197 fi
   17198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   17199 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   17200  EGREP="$ac_cv_path_EGREP"
   17201 
   17202 
   17203 
   17204 ac_fn_c_check_header_compile "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default"
   17205 if test "x$ac_cv_header_dirent_h" = xyes
   17206 then :
   17207   printf "%s\n" "#define HAVE_DIRENT_H 1" >>confdefs.h
   17208 
   17209 fi
   17210 ac_fn_c_check_header_compile "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default"
   17211 if test "x$ac_cv_header_fcntl_h" = xyes
   17212 then :
   17213   printf "%s\n" "#define HAVE_FCNTL_H 1" >>confdefs.h
   17214 
   17215 fi
   17216 ac_fn_c_check_header_compile "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
   17217 if test "x$ac_cv_header_stdlib_h" = xyes
   17218 then :
   17219   printf "%s\n" "#define HAVE_STDLIB_H 1" >>confdefs.h
   17220 
   17221 fi
   17222 ac_fn_c_check_header_compile "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
   17223 if test "x$ac_cv_header_string_h" = xyes
   17224 then :
   17225   printf "%s\n" "#define HAVE_STRING_H 1" >>confdefs.h
   17226 
   17227 fi
   17228 ac_fn_c_check_header_compile "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
   17229 if test "x$ac_cv_header_unistd_h" = xyes
   17230 then :
   17231   printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h
   17232 
   17233 fi
   17234 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
   17235 if test "x$ac_cv_header_sys_statvfs_h" = xyes
   17236 then :
   17237   printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
   17238 
   17239 fi
   17240 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "$ac_includes_default"
   17241 if test "x$ac_cv_header_sys_vfs_h" = xyes
   17242 then :
   17243   printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
   17244 
   17245 fi
   17246 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "$ac_includes_default"
   17247 if test "x$ac_cv_header_sys_statfs_h" = xyes
   17248 then :
   17249   printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
   17250 
   17251 fi
   17252 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
   17253 if test "x$ac_cv_header_sys_param_h" = xyes
   17254 then :
   17255   printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
   17256 
   17257 fi
   17258 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "$ac_includes_default"
   17259 if test "x$ac_cv_header_sys_mount_h" = xyes
   17260 then :
   17261   printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
   17262 
   17263 fi
   17264 
   17265 # ------ AX CREATE STDINT H -------------------------------------
   17266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdint types" >&5
   17267 printf %s "checking for stdint types... " >&6; }
   17268 ac_stdint_h=`echo src/fcstdint.h`
   17269 # try to shortcircuit - if the default include path of the compiler
   17270 # can find a "stdint.h" header then we assume that all compilers can.
   17271 if test ${ac_cv_header_stdint_t+y}
   17272 then :
   17273   printf %s "(cached) " >&6
   17274 else $as_nop
   17275 
   17276 old_CXXFLAGS="$CXXFLAGS" ; CXXFLAGS=""
   17277 old_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS=""
   17278 old_CFLAGS="$CFLAGS"     ; CFLAGS=""
   17279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17280 /* end confdefs.h.  */
   17281 #include <stdint.h>
   17282 int
   17283 main (void)
   17284 {
   17285 int_least32_t v = 0;
   17286   ;
   17287   return 0;
   17288 }
   17289 _ACEOF
   17290 if ac_fn_c_try_compile "$LINENO"
   17291 then :
   17292   ac_cv_stdint_result="(assuming C99 compatible system)"
   17293  ac_cv_header_stdint_t="stdint.h";
   17294 else $as_nop
   17295   ac_cv_header_stdint_t=""
   17296 fi
   17297 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17298 if test "$GCC" = "yes" && test ".$ac_cv_header_stdint_t" = "."; then
   17299 CFLAGS="-std=c99"
   17300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17301 /* end confdefs.h.  */
   17302 #include <stdint.h>
   17303 int
   17304 main (void)
   17305 {
   17306 int_least32_t v = 0;
   17307   ;
   17308   return 0;
   17309 }
   17310 _ACEOF
   17311 if ac_fn_c_try_compile "$LINENO"
   17312 then :
   17313   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&5
   17314 printf "%s\n" "$as_me: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&2;}
   17315 fi
   17316 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17317 fi
   17318 CXXFLAGS="$old_CXXFLAGS"
   17319 CPPFLAGS="$old_CPPFLAGS"
   17320 CFLAGS="$old_CFLAGS"
   17321 fi
   17322 
   17323 
   17324 v="... $ac_cv_header_stdint_h"
   17325 if test "$ac_stdint_h" = "stdint.h" ; then
   17326  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./stdint.h?)" >&5
   17327 printf "%s\n" "(are you sure you want them in ./stdint.h?)" >&6; }
   17328 elif test "$ac_stdint_h" = "inttypes.h" ; then
   17329  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./inttypes.h?)" >&5
   17330 printf "%s\n" "(are you sure you want them in ./inttypes.h?)" >&6; }
   17331 elif test "_$ac_cv_header_stdint_t" = "_" ; then
   17332  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (putting them into $ac_stdint_h)$v" >&5
   17333 printf "%s\n" "(putting them into $ac_stdint_h)$v" >&6; }
   17334 else
   17335  ac_cv_header_stdint="$ac_cv_header_stdint_t"
   17336  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint (shortcircuit)" >&5
   17337 printf "%s\n" "$ac_cv_header_stdint (shortcircuit)" >&6; }
   17338 fi
   17339 
   17340 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
   17341 
   17342 
   17343 inttype_headers=`echo  | sed -e 's/,/ /g'`
   17344 
   17345 ac_cv_stdint_result="(no helpful system typedefs seen)"
   17346 
   17347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
   17348 printf %s "checking for stdint uintptr_t... " >&6; }
   17349 if test ${ac_cv_header_stdint_x+y}
   17350 then :
   17351   printf %s "(cached) " >&6
   17352 else $as_nop
   17353 
   17354  ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h)
   17355   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
   17356 printf "%s\n" "(..)" >&6; }
   17357   for i in    stdint.h inttypes.h sys/inttypes.h $inttype_headers
   17358   do
   17359    unset ac_cv_type_uintptr_t
   17360    unset ac_cv_type_uint64_t
   17361    ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <$i>
   17362 "
   17363 if test "x$ac_cv_type_uintptr_t" = xyes
   17364 then :
   17365   ac_cv_header_stdint_x=$i
   17366 else $as_nop
   17367   continue
   17368 fi
   17369 
   17370    ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
   17371 "
   17372 if test "x$ac_cv_type_uint64_t" = xyes
   17373 then :
   17374   and64="/uint64_t"
   17375 else $as_nop
   17376   and64=""
   17377 fi
   17378 
   17379    ac_cv_stdint_result="(seen uintptr_t$and64 in $i)"
   17380  break
   17381   done
   17382   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
   17383 printf %s "checking for stdint uintptr_t... " >&6; }
   17384 
   17385 fi
   17386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_x" >&5
   17387 printf "%s\n" "$ac_cv_header_stdint_x" >&6; }
   17388 
   17389 
   17390 if test "_$ac_cv_header_stdint_x" = "_" ; then
   17391 
   17392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
   17393 printf %s "checking for stdint uint32_t... " >&6; }
   17394 if test ${ac_cv_header_stdint_o+y}
   17395 then :
   17396   printf %s "(cached) " >&6
   17397 else $as_nop
   17398 
   17399  ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h)
   17400   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
   17401 printf "%s\n" "(..)" >&6; }
   17402   for i in    inttypes.h sys/inttypes.h stdint.h $inttype_headers
   17403   do
   17404    unset ac_cv_type_uint32_t
   17405    unset ac_cv_type_uint64_t
   17406    ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <$i>
   17407 "
   17408 if test "x$ac_cv_type_uint32_t" = xyes
   17409 then :
   17410   ac_cv_header_stdint_o=$i
   17411 else $as_nop
   17412   continue
   17413 fi
   17414 
   17415    ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
   17416 "
   17417 if test "x$ac_cv_type_uint64_t" = xyes
   17418 then :
   17419   and64="/uint64_t"
   17420 else $as_nop
   17421   and64=""
   17422 fi
   17423 
   17424    ac_cv_stdint_result="(seen uint32_t$and64 in $i)"
   17425  break
   17426    break;
   17427   done
   17428   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
   17429 printf %s "checking for stdint uint32_t... " >&6; }
   17430 
   17431 fi
   17432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_o" >&5
   17433 printf "%s\n" "$ac_cv_header_stdint_o" >&6; }
   17434 
   17435 fi
   17436 
   17437 if test "_$ac_cv_header_stdint_x" = "_" ; then
   17438 if test "_$ac_cv_header_stdint_o" = "_" ; then
   17439 
   17440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
   17441 printf %s "checking for stdint u_int32_t... " >&6; }
   17442 if test ${ac_cv_header_stdint_u+y}
   17443 then :
   17444   printf %s "(cached) " >&6
   17445 else $as_nop
   17446 
   17447  ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h)
   17448   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
   17449 printf "%s\n" "(..)" >&6; }
   17450   for i in    sys/types.h inttypes.h sys/inttypes.h $inttype_headers ; do
   17451    unset ac_cv_type_u_int32_t
   17452    unset ac_cv_type_u_int64_t
   17453    ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <$i>
   17454 "
   17455 if test "x$ac_cv_type_u_int32_t" = xyes
   17456 then :
   17457   ac_cv_header_stdint_u=$i
   17458 else $as_nop
   17459   continue
   17460 fi
   17461 
   17462    ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include<$i>
   17463 "
   17464 if test "x$ac_cv_type_u_int64_t" = xyes
   17465 then :
   17466   and64="/u_int64_t"
   17467 else $as_nop
   17468   and64=""
   17469 fi
   17470 
   17471    ac_cv_stdint_result="(seen u_int32_t$and64 in $i)"
   17472  break
   17473    break;
   17474   done
   17475   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
   17476 printf %s "checking for stdint u_int32_t... " >&6; }
   17477 
   17478 fi
   17479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_u" >&5
   17480 printf "%s\n" "$ac_cv_header_stdint_u" >&6; }
   17481 
   17482 fi fi
   17483 
   17484 if test "_$ac_cv_header_stdint_x" = "_" ; then
   17485    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for stdint datatype model" >&5
   17486 printf %s "checking for stdint datatype model... " >&6; }
   17487    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
   17488 printf "%s\n" "(..)" >&6; }
   17489 
   17490    # The cast to long int works around a bug in the HP C Compiler
   17491 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   17492 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   17493 # This bug is HP SR number 8606223364.
   17494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
   17495 printf %s "checking size of char... " >&6; }
   17496 if test ${ac_cv_sizeof_char+y}
   17497 then :
   17498   printf %s "(cached) " >&6
   17499 else $as_nop
   17500   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"
   17501 then :
   17502 
   17503 else $as_nop
   17504   if test "$ac_cv_type_char" = yes; then
   17505      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17506 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   17507 as_fn_error 77 "cannot compute sizeof (char)
   17508 See \`config.log' for more details" "$LINENO" 5; }
   17509    else
   17510      ac_cv_sizeof_char=0
   17511    fi
   17512 fi
   17513 
   17514 fi
   17515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
   17516 printf "%s\n" "$ac_cv_sizeof_char" >&6; }
   17517 
   17518 
   17519 
   17520 printf "%s\n" "#define SIZEOF_CHAR $ac_cv_sizeof_char" >>confdefs.h
   17521 
   17522 
   17523    # The cast to long int works around a bug in the HP C Compiler
   17524 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   17525 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   17526 # This bug is HP SR number 8606223364.
   17527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
   17528 printf %s "checking size of short... " >&6; }
   17529 if test ${ac_cv_sizeof_short+y}
   17530 then :
   17531   printf %s "(cached) " >&6
   17532 else $as_nop
   17533   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"
   17534 then :
   17535 
   17536 else $as_nop
   17537   if test "$ac_cv_type_short" = yes; then
   17538      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17539 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   17540 as_fn_error 77 "cannot compute sizeof (short)
   17541 See \`config.log' for more details" "$LINENO" 5; }
   17542    else
   17543      ac_cv_sizeof_short=0
   17544    fi
   17545 fi
   17546 
   17547 fi
   17548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
   17549 printf "%s\n" "$ac_cv_sizeof_short" >&6; }
   17550 
   17551 
   17552 
   17553 printf "%s\n" "#define SIZEOF_SHORT $ac_cv_sizeof_short" >>confdefs.h
   17554 
   17555 
   17556    # The cast to long int works around a bug in the HP C Compiler
   17557 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   17558 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   17559 # This bug is HP SR number 8606223364.
   17560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
   17561 printf %s "checking size of int... " >&6; }
   17562 if test ${ac_cv_sizeof_int+y}
   17563 then :
   17564   printf %s "(cached) " >&6
   17565 else $as_nop
   17566   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"
   17567 then :
   17568 
   17569 else $as_nop
   17570   if test "$ac_cv_type_int" = yes; then
   17571      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17572 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   17573 as_fn_error 77 "cannot compute sizeof (int)
   17574 See \`config.log' for more details" "$LINENO" 5; }
   17575    else
   17576      ac_cv_sizeof_int=0
   17577    fi
   17578 fi
   17579 
   17580 fi
   17581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
   17582 printf "%s\n" "$ac_cv_sizeof_int" >&6; }
   17583 
   17584 
   17585 
   17586 printf "%s\n" "#define SIZEOF_INT $ac_cv_sizeof_int" >>confdefs.h
   17587 
   17588 
   17589    # The cast to long int works around a bug in the HP C Compiler
   17590 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   17591 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   17592 # This bug is HP SR number 8606223364.
   17593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
   17594 printf %s "checking size of long... " >&6; }
   17595 if test ${ac_cv_sizeof_long+y}
   17596 then :
   17597   printf %s "(cached) " >&6
   17598 else $as_nop
   17599   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"
   17600 then :
   17601 
   17602 else $as_nop
   17603   if test "$ac_cv_type_long" = yes; then
   17604      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17605 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   17606 as_fn_error 77 "cannot compute sizeof (long)
   17607 See \`config.log' for more details" "$LINENO" 5; }
   17608    else
   17609      ac_cv_sizeof_long=0
   17610    fi
   17611 fi
   17612 
   17613 fi
   17614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
   17615 printf "%s\n" "$ac_cv_sizeof_long" >&6; }
   17616 
   17617 
   17618 
   17619 printf "%s\n" "#define SIZEOF_LONG $ac_cv_sizeof_long" >>confdefs.h
   17620 
   17621 
   17622    # The cast to long int works around a bug in the HP C Compiler
   17623 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   17624 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   17625 # This bug is HP SR number 8606223364.
   17626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
   17627 printf %s "checking size of void*... " >&6; }
   17628 if test ${ac_cv_sizeof_voidp+y}
   17629 then :
   17630   printf %s "(cached) " >&6
   17631 else $as_nop
   17632   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp"        "$ac_includes_default"
   17633 then :
   17634 
   17635 else $as_nop
   17636   if test "$ac_cv_type_voidp" = yes; then
   17637      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17638 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   17639 as_fn_error 77 "cannot compute sizeof (void*)
   17640 See \`config.log' for more details" "$LINENO" 5; }
   17641    else
   17642      ac_cv_sizeof_voidp=0
   17643    fi
   17644 fi
   17645 
   17646 fi
   17647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
   17648 printf "%s\n" "$ac_cv_sizeof_voidp" >&6; }
   17649 
   17650 
   17651 
   17652 printf "%s\n" "#define SIZEOF_VOIDP $ac_cv_sizeof_voidp" >>confdefs.h
   17653 
   17654 
   17655    ac_cv_char_data_model=""
   17656    ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_char"
   17657    ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_short"
   17658    ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_int"
   17659    ac_cv_long_data_model=""
   17660    ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_int"
   17661    ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_long"
   17662    ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
   17663    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking data model" >&5
   17664 printf %s "checking data model... " >&6; }
   17665    case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
   17666     122/242)     ac_cv_data_model="IP16"  ; n="standard 16bit machine" ;;
   17667     122/244)     ac_cv_data_model="LP32"  ; n="standard 32bit machine" ;;
   17668     122/*)       ac_cv_data_model="i16"   ; n="unusual int16 model" ;;
   17669     124/444)     ac_cv_data_model="ILP32" ; n="standard 32bit unixish" ;;
   17670     124/488)     ac_cv_data_model="LP64"  ; n="standard 64bit unixish" ;;
   17671     124/448)     ac_cv_data_model="LLP64" ; n="unusual 64bit unixish" ;;
   17672     124/*)       ac_cv_data_model="i32"   ; n="unusual int32 model" ;;
   17673     128/888)     ac_cv_data_model="ILP64" ; n="unusual 64bit numeric" ;;
   17674     128/*)       ac_cv_data_model="i64"   ; n="unusual int64 model" ;;
   17675     222/*2)      ac_cv_data_model="DSP16" ; n="strict 16bit dsptype" ;;
   17676     333/*3)      ac_cv_data_model="DSP24" ; n="strict 24bit dsptype" ;;
   17677     444/*4)      ac_cv_data_model="DSP32" ; n="strict 32bit dsptype" ;;
   17678     666/*6)      ac_cv_data_model="DSP48" ; n="strict 48bit dsptype" ;;
   17679     888/*8)      ac_cv_data_model="DSP64" ; n="strict 64bit dsptype" ;;
   17680     222/*|333/*|444/*|666/*|888/*) :
   17681                  ac_cv_data_model="iDSP"  ; n="unusual dsptype" ;;
   17682      *)          ac_cv_data_model="none"  ; n="very unusual model" ;;
   17683    esac
   17684    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
   17685 printf "%s\n" "$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6; }
   17686 
   17687 fi
   17688 
   17689 if test "_$ac_cv_header_stdint_x" != "_" ; then
   17690    ac_cv_header_stdint="$ac_cv_header_stdint_x"
   17691 elif  test "_$ac_cv_header_stdint_o" != "_" ; then
   17692    ac_cv_header_stdint="$ac_cv_header_stdint_o"
   17693 elif  test "_$ac_cv_header_stdint_u" != "_" ; then
   17694    ac_cv_header_stdint="$ac_cv_header_stdint_u"
   17695 else
   17696    ac_cv_header_stdint="stddef.h"
   17697 fi
   17698 
   17699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for extra inttypes in chosen header" >&5
   17700 printf %s "checking for extra inttypes in chosen header... " >&6; }
   17701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ($ac_cv_header_stdint)" >&5
   17702 printf "%s\n" "($ac_cv_header_stdint)" >&6; }
   17703 unset ac_cv_type_int_least32_t
   17704 unset ac_cv_type_int_fast32_t
   17705 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <$ac_cv_header_stdint>
   17706 "
   17707 if test "x$ac_cv_type_int_least32_t" = xyes
   17708 then :
   17709 
   17710 fi
   17711 
   17712 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include<$ac_cv_header_stdint>
   17713 "
   17714 if test "x$ac_cv_type_int_fast32_t" = xyes
   17715 then :
   17716 
   17717 fi
   17718 
   17719 ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "#include <$ac_cv_header_stdint>
   17720 "
   17721 if test "x$ac_cv_type_intmax_t" = xyes
   17722 then :
   17723 
   17724 fi
   17725 
   17726 
   17727 fi # shortcircut to system "stdint.h"
   17728 # ------------------ PREPARE VARIABLES ------------------------------
   17729 if test "$GCC" = "yes" ; then
   17730 ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
   17731 else
   17732 ac_cv_stdint_message="using $CC"
   17733 fi
   17734 
   17735 { 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
   17736 printf "%s\n" "make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6; }
   17737 
   17738 # ----------------- DONE inttypes.h checks START header -------------
   17739 ac_config_commands="$ac_config_commands $ac_stdint_h"
   17740 
   17741 
   17742 
   17743 # Checks for typedefs, structures, and compiler characteristics.
   17744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
   17745 printf %s "checking for an ANSI C-conforming const... " >&6; }
   17746 if test ${ac_cv_c_const+y}
   17747 then :
   17748   printf %s "(cached) " >&6
   17749 else $as_nop
   17750   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17751 /* end confdefs.h.  */
   17752 
   17753 int
   17754 main (void)
   17755 {
   17756 
   17757 #ifndef __cplusplus
   17758   /* Ultrix mips cc rejects this sort of thing.  */
   17759   typedef int charset[2];
   17760   const charset cs = { 0, 0 };
   17761   /* SunOS 4.1.1 cc rejects this.  */
   17762   char const *const *pcpcc;
   17763   char **ppc;
   17764   /* NEC SVR4.0.2 mips cc rejects this.  */
   17765   struct point {int x, y;};
   17766   static struct point const zero = {0,0};
   17767   /* IBM XL C 1.02.0.0 rejects this.
   17768      It does not let you subtract one const X* pointer from another in
   17769      an arm of an if-expression whose if-part is not a constant
   17770      expression */
   17771   const char *g = "string";
   17772   pcpcc = &g + (g ? g-g : 0);
   17773   /* HPUX 7.0 cc rejects these. */
   17774   ++pcpcc;
   17775   ppc = (char**) pcpcc;
   17776   pcpcc = (char const *const *) ppc;
   17777   { /* SCO 3.2v4 cc rejects this sort of thing.  */
   17778     char tx;
   17779     char *t = &tx;
   17780     char const *s = 0 ? (char *) 0 : (char const *) 0;
   17781 
   17782     *t++ = 0;
   17783     if (s) return 0;
   17784   }
   17785   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
   17786     int x[] = {25, 17};
   17787     const int *foo = &x[0];
   17788     ++foo;
   17789   }
   17790   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
   17791     typedef const int *iptr;
   17792     iptr p = 0;
   17793     ++p;
   17794   }
   17795   { /* IBM XL C 1.02.0.0 rejects this sort of thing, saying
   17796        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
   17797     struct s { int j; const int *ap[3]; } bx;
   17798     struct s *b = &bx; b->j = 5;
   17799   }
   17800   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
   17801     const int foo = 10;
   17802     if (!foo) return 0;
   17803   }
   17804   return !cs[0] && !zero.x;
   17805 #endif
   17806 
   17807   ;
   17808   return 0;
   17809 }
   17810 _ACEOF
   17811 if ac_fn_c_try_compile "$LINENO"
   17812 then :
   17813   ac_cv_c_const=yes
   17814 else $as_nop
   17815   ac_cv_c_const=no
   17816 fi
   17817 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17818 fi
   17819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
   17820 printf "%s\n" "$ac_cv_c_const" >&6; }
   17821 if test $ac_cv_c_const = no; then
   17822 
   17823 printf "%s\n" "#define const /**/" >>confdefs.h
   17824 
   17825 fi
   17826 
   17827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
   17828 printf %s "checking for inline... " >&6; }
   17829 if test ${ac_cv_c_inline+y}
   17830 then :
   17831   printf %s "(cached) " >&6
   17832 else $as_nop
   17833   ac_cv_c_inline=no
   17834 for ac_kw in inline __inline__ __inline; do
   17835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17836 /* end confdefs.h.  */
   17837 #ifndef __cplusplus
   17838 typedef int foo_t;
   17839 static $ac_kw foo_t static_foo (void) {return 0; }
   17840 $ac_kw foo_t foo (void) {return 0; }
   17841 #endif
   17842 
   17843 _ACEOF
   17844 if ac_fn_c_try_compile "$LINENO"
   17845 then :
   17846   ac_cv_c_inline=$ac_kw
   17847 fi
   17848 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17849   test "$ac_cv_c_inline" != no && break
   17850 done
   17851 
   17852 fi
   17853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
   17854 printf "%s\n" "$ac_cv_c_inline" >&6; }
   17855 
   17856 case $ac_cv_c_inline in
   17857   inline | yes) ;;
   17858   *)
   17859     case $ac_cv_c_inline in
   17860       no) ac_val=;;
   17861       *) ac_val=$ac_cv_c_inline;;
   17862     esac
   17863     cat >>confdefs.h <<_ACEOF
   17864 #ifndef __cplusplus
   17865 #define inline $ac_val
   17866 #endif
   17867 _ACEOF
   17868     ;;
   17869 esac
   17870 
   17871 
   17872   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flexible array members" >&5
   17873 printf %s "checking for flexible array members... " >&6; }
   17874 if test ${ac_cv_c_flexmember+y}
   17875 then :
   17876   printf %s "(cached) " >&6
   17877 else $as_nop
   17878   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17879 /* end confdefs.h.  */
   17880 #include <stdlib.h>
   17881 	    #include <stdio.h>
   17882 	    #include <stddef.h>
   17883 	    struct s { int n; double d[]; };
   17884 int
   17885 main (void)
   17886 {
   17887 int m = getchar ();
   17888 	    struct s *p = (struct s *) malloc (offsetof (struct s, d)
   17889 					       + m * sizeof (double));
   17890 	    p->d[0] = 0.0;
   17891 	    return p->d != (double *) NULL;
   17892   ;
   17893   return 0;
   17894 }
   17895 _ACEOF
   17896 if ac_fn_c_try_compile "$LINENO"
   17897 then :
   17898   ac_cv_c_flexmember=yes
   17899 else $as_nop
   17900   ac_cv_c_flexmember=no
   17901 fi
   17902 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17903 fi
   17904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_flexmember" >&5
   17905 printf "%s\n" "$ac_cv_c_flexmember" >&6; }
   17906   if test $ac_cv_c_flexmember = yes; then
   17907 
   17908 printf "%s\n" "#define FLEXIBLE_ARRAY_MEMBER /**/" >>confdefs.h
   17909 
   17910   else
   17911     printf "%s\n" "#define FLEXIBLE_ARRAY_MEMBER 1" >>confdefs.h
   17912 
   17913   fi
   17914 
   17915 
   17916   ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default
   17917 "
   17918 if test "x$ac_cv_type_pid_t" = xyes
   17919 then :
   17920 
   17921 else $as_nop
   17922                                           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17923 /* end confdefs.h.  */
   17924 
   17925           #if defined _WIN64 && !defined __CYGWIN__
   17926           LLP64
   17927           #endif
   17928 
   17929 int
   17930 main (void)
   17931 {
   17932 
   17933   ;
   17934   return 0;
   17935 }
   17936 
   17937 _ACEOF
   17938 if ac_fn_c_try_compile "$LINENO"
   17939 then :
   17940   ac_pid_type='int'
   17941 else $as_nop
   17942   ac_pid_type='__int64'
   17943 fi
   17944 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17945 
   17946 printf "%s\n" "#define pid_t $ac_pid_type" >>confdefs.h
   17947 
   17948 
   17949 fi
   17950 
   17951 
   17952 
   17953 # Checks for library functions.
   17954 ac_func=
   17955 for ac_item in $ac_func_c_list
   17956 do
   17957   if test $ac_func; then
   17958     ac_fn_c_check_func "$LINENO" $ac_func ac_cv_func_$ac_func
   17959     if eval test \"x\$ac_cv_func_$ac_func\" = xyes; then
   17960       echo "#define $ac_item 1" >> confdefs.h
   17961     fi
   17962     ac_func=
   17963   else
   17964     ac_func=$ac_item
   17965   fi
   17966 done
   17967 
   17968 if test "x$ac_cv_func_vprintf" = xno
   17969 then :
   17970   ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
   17971 if test "x$ac_cv_func__doprnt" = xyes
   17972 then :
   17973 
   17974 printf "%s\n" "#define HAVE_DOPRNT 1" >>confdefs.h
   17975 
   17976 fi
   17977 
   17978 fi
   17979 
   17980 
   17981 
   17982 
   17983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
   17984 printf %s "checking for working mmap... " >&6; }
   17985 if test ${ac_cv_func_mmap_fixed_mapped+y}
   17986 then :
   17987   printf %s "(cached) " >&6
   17988 else $as_nop
   17989   if test "$cross_compiling" = yes
   17990 then :
   17991   case "$host_os" in # ((
   17992 			  # Guess yes on platforms where we know the result.
   17993 		  linux*) ac_cv_func_mmap_fixed_mapped=yes ;;
   17994 			  # If we don't know, assume the worst.
   17995 		  *)      ac_cv_func_mmap_fixed_mapped=no ;;
   17996 		esac
   17997 else $as_nop
   17998   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17999 /* end confdefs.h.  */
   18000 $ac_includes_default
   18001 /* malloc might have been renamed as rpl_malloc. */
   18002 #undef malloc
   18003 
   18004 /* Thanks to Mike Haertel and Jim Avera for this test.
   18005    Here is a matrix of mmap possibilities:
   18006 	mmap private not fixed
   18007 	mmap private fixed at somewhere currently unmapped
   18008 	mmap private fixed at somewhere already mapped
   18009 	mmap shared not fixed
   18010 	mmap shared fixed at somewhere currently unmapped
   18011 	mmap shared fixed at somewhere already mapped
   18012    For private mappings, we should verify that changes cannot be read()
   18013    back from the file, nor mmap's back from the file at a different
   18014    address.  (There have been systems where private was not correctly
   18015    implemented like the infamous i386 svr4.0, and systems where the
   18016    VM page cache was not coherent with the file system buffer cache
   18017    like early versions of FreeBSD and possibly contemporary NetBSD.)
   18018    For shared mappings, we should conversely verify that changes get
   18019    propagated back to all the places they're supposed to be.
   18020 
   18021    Grep wants private fixed already mapped.
   18022    The main things grep needs to know about mmap are:
   18023    * does it exist and is it safe to write into the mmap'd area
   18024    * how to use it (BSD variants)  */
   18025 
   18026 #include <fcntl.h>
   18027 #include <sys/mman.h>
   18028 
   18029 /* This mess was copied from the GNU getpagesize.h.  */
   18030 #ifndef HAVE_GETPAGESIZE
   18031 # ifdef _SC_PAGESIZE
   18032 #  define getpagesize() sysconf(_SC_PAGESIZE)
   18033 # else /* no _SC_PAGESIZE */
   18034 #  ifdef HAVE_SYS_PARAM_H
   18035 #   include <sys/param.h>
   18036 #   ifdef EXEC_PAGESIZE
   18037 #    define getpagesize() EXEC_PAGESIZE
   18038 #   else /* no EXEC_PAGESIZE */
   18039 #    ifdef NBPG
   18040 #     define getpagesize() NBPG * CLSIZE
   18041 #     ifndef CLSIZE
   18042 #      define CLSIZE 1
   18043 #     endif /* no CLSIZE */
   18044 #    else /* no NBPG */
   18045 #     ifdef NBPC
   18046 #      define getpagesize() NBPC
   18047 #     else /* no NBPC */
   18048 #      ifdef PAGESIZE
   18049 #       define getpagesize() PAGESIZE
   18050 #      endif /* PAGESIZE */
   18051 #     endif /* no NBPC */
   18052 #    endif /* no NBPG */
   18053 #   endif /* no EXEC_PAGESIZE */
   18054 #  else /* no HAVE_SYS_PARAM_H */
   18055 #   define getpagesize() 8192	/* punt totally */
   18056 #  endif /* no HAVE_SYS_PARAM_H */
   18057 # endif /* no _SC_PAGESIZE */
   18058 
   18059 #endif /* no HAVE_GETPAGESIZE */
   18060 
   18061 int
   18062 main (void)
   18063 {
   18064   char *data, *data2, *data3;
   18065   const char *cdata2;
   18066   int i, pagesize;
   18067   int fd, fd2;
   18068 
   18069   pagesize = getpagesize ();
   18070 
   18071   /* First, make a file with some known garbage in it. */
   18072   data = (char *) malloc (pagesize);
   18073   if (!data)
   18074     return 1;
   18075   for (i = 0; i < pagesize; ++i)
   18076     *(data + i) = rand ();
   18077   umask (0);
   18078   fd = creat ("conftest.mmap", 0600);
   18079   if (fd < 0)
   18080     return 2;
   18081   if (write (fd, data, pagesize) != pagesize)
   18082     return 3;
   18083   close (fd);
   18084 
   18085   /* Next, check that the tail of a page is zero-filled.  File must have
   18086      non-zero length, otherwise we risk SIGBUS for entire page.  */
   18087   fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
   18088   if (fd2 < 0)
   18089     return 4;
   18090   cdata2 = "";
   18091   if (write (fd2, cdata2, 1) != 1)
   18092     return 5;
   18093   data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
   18094   if (data2 == MAP_FAILED)
   18095     return 6;
   18096   for (i = 0; i < pagesize; ++i)
   18097     if (*(data2 + i))
   18098       return 7;
   18099   close (fd2);
   18100   if (munmap (data2, pagesize))
   18101     return 8;
   18102 
   18103   /* Next, try to mmap the file at a fixed address which already has
   18104      something else allocated at it.  If we can, also make sure that
   18105      we see the same garbage.  */
   18106   fd = open ("conftest.mmap", O_RDWR);
   18107   if (fd < 0)
   18108     return 9;
   18109   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
   18110 		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
   18111     return 10;
   18112   for (i = 0; i < pagesize; ++i)
   18113     if (*(data + i) != *(data2 + i))
   18114       return 11;
   18115 
   18116   /* Finally, make sure that changes to the mapped area do not
   18117      percolate back to the file as seen by read().  (This is a bug on
   18118      some variants of i386 svr4.0.)  */
   18119   for (i = 0; i < pagesize; ++i)
   18120     *(data2 + i) = *(data2 + i) + 1;
   18121   data3 = (char *) malloc (pagesize);
   18122   if (!data3)
   18123     return 12;
   18124   if (read (fd, data3, pagesize) != pagesize)
   18125     return 13;
   18126   for (i = 0; i < pagesize; ++i)
   18127     if (*(data + i) != *(data3 + i))
   18128       return 14;
   18129   close (fd);
   18130   free (data);
   18131   free (data3);
   18132   return 0;
   18133 }
   18134 _ACEOF
   18135 if ac_fn_c_try_run "$LINENO"
   18136 then :
   18137   ac_cv_func_mmap_fixed_mapped=yes
   18138 else $as_nop
   18139   ac_cv_func_mmap_fixed_mapped=no
   18140 fi
   18141 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   18142   conftest.$ac_objext conftest.beam conftest.$ac_ext
   18143 fi
   18144 
   18145 fi
   18146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
   18147 printf "%s\n" "$ac_cv_func_mmap_fixed_mapped" >&6; }
   18148 if test $ac_cv_func_mmap_fixed_mapped = yes; then
   18149 
   18150 printf "%s\n" "#define HAVE_MMAP 1" >>confdefs.h
   18151 
   18152 fi
   18153 rm -f conftest.mmap conftest.txt
   18154 
   18155 ac_fn_c_check_func "$LINENO" "link" "ac_cv_func_link"
   18156 if test "x$ac_cv_func_link" = xyes
   18157 then :
   18158   printf "%s\n" "#define HAVE_LINK 1" >>confdefs.h
   18159 
   18160 fi
   18161 ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
   18162 if test "x$ac_cv_func_mkstemp" = xyes
   18163 then :
   18164   printf "%s\n" "#define HAVE_MKSTEMP 1" >>confdefs.h
   18165 
   18166 fi
   18167 ac_fn_c_check_func "$LINENO" "mkostemp" "ac_cv_func_mkostemp"
   18168 if test "x$ac_cv_func_mkostemp" = xyes
   18169 then :
   18170   printf "%s\n" "#define HAVE_MKOSTEMP 1" >>confdefs.h
   18171 
   18172 fi
   18173 ac_fn_c_check_func "$LINENO" "_mktemp_s" "ac_cv_func__mktemp_s"
   18174 if test "x$ac_cv_func__mktemp_s" = xyes
   18175 then :
   18176   printf "%s\n" "#define HAVE__MKTEMP_S 1" >>confdefs.h
   18177 
   18178 fi
   18179 ac_fn_c_check_func "$LINENO" "mkdtemp" "ac_cv_func_mkdtemp"
   18180 if test "x$ac_cv_func_mkdtemp" = xyes
   18181 then :
   18182   printf "%s\n" "#define HAVE_MKDTEMP 1" >>confdefs.h
   18183 
   18184 fi
   18185 ac_fn_c_check_func "$LINENO" "getopt" "ac_cv_func_getopt"
   18186 if test "x$ac_cv_func_getopt" = xyes
   18187 then :
   18188   printf "%s\n" "#define HAVE_GETOPT 1" >>confdefs.h
   18189 
   18190 fi
   18191 ac_fn_c_check_func "$LINENO" "getopt_long" "ac_cv_func_getopt_long"
   18192 if test "x$ac_cv_func_getopt_long" = xyes
   18193 then :
   18194   printf "%s\n" "#define HAVE_GETOPT_LONG 1" >>confdefs.h
   18195 
   18196 fi
   18197 ac_fn_c_check_func "$LINENO" "getprogname" "ac_cv_func_getprogname"
   18198 if test "x$ac_cv_func_getprogname" = xyes
   18199 then :
   18200   printf "%s\n" "#define HAVE_GETPROGNAME 1" >>confdefs.h
   18201 
   18202 fi
   18203 ac_fn_c_check_func "$LINENO" "getexecname" "ac_cv_func_getexecname"
   18204 if test "x$ac_cv_func_getexecname" = xyes
   18205 then :
   18206   printf "%s\n" "#define HAVE_GETEXECNAME 1" >>confdefs.h
   18207 
   18208 fi
   18209 ac_fn_c_check_func "$LINENO" "rand" "ac_cv_func_rand"
   18210 if test "x$ac_cv_func_rand" = xyes
   18211 then :
   18212   printf "%s\n" "#define HAVE_RAND 1" >>confdefs.h
   18213 
   18214 fi
   18215 ac_fn_c_check_func "$LINENO" "random" "ac_cv_func_random"
   18216 if test "x$ac_cv_func_random" = xyes
   18217 then :
   18218   printf "%s\n" "#define HAVE_RANDOM 1" >>confdefs.h
   18219 
   18220 fi
   18221 ac_fn_c_check_func "$LINENO" "lrand48" "ac_cv_func_lrand48"
   18222 if test "x$ac_cv_func_lrand48" = xyes
   18223 then :
   18224   printf "%s\n" "#define HAVE_LRAND48 1" >>confdefs.h
   18225 
   18226 fi
   18227 ac_fn_c_check_func "$LINENO" "random_r" "ac_cv_func_random_r"
   18228 if test "x$ac_cv_func_random_r" = xyes
   18229 then :
   18230   printf "%s\n" "#define HAVE_RANDOM_R 1" >>confdefs.h
   18231 
   18232 fi
   18233 ac_fn_c_check_func "$LINENO" "rand_r" "ac_cv_func_rand_r"
   18234 if test "x$ac_cv_func_rand_r" = xyes
   18235 then :
   18236   printf "%s\n" "#define HAVE_RAND_R 1" >>confdefs.h
   18237 
   18238 fi
   18239 ac_fn_c_check_func "$LINENO" "readlink" "ac_cv_func_readlink"
   18240 if test "x$ac_cv_func_readlink" = xyes
   18241 then :
   18242   printf "%s\n" "#define HAVE_READLINK 1" >>confdefs.h
   18243 
   18244 fi
   18245 ac_fn_c_check_func "$LINENO" "fstatvfs" "ac_cv_func_fstatvfs"
   18246 if test "x$ac_cv_func_fstatvfs" = xyes
   18247 then :
   18248   printf "%s\n" "#define HAVE_FSTATVFS 1" >>confdefs.h
   18249 
   18250 fi
   18251 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
   18252 if test "x$ac_cv_func_fstatfs" = xyes
   18253 then :
   18254   printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
   18255 
   18256 fi
   18257 ac_fn_c_check_func "$LINENO" "lstat" "ac_cv_func_lstat"
   18258 if test "x$ac_cv_func_lstat" = xyes
   18259 then :
   18260   printf "%s\n" "#define HAVE_LSTAT 1" >>confdefs.h
   18261 
   18262 fi
   18263 ac_fn_c_check_func "$LINENO" "strerror" "ac_cv_func_strerror"
   18264 if test "x$ac_cv_func_strerror" = xyes
   18265 then :
   18266   printf "%s\n" "#define HAVE_STRERROR 1" >>confdefs.h
   18267 
   18268 fi
   18269 ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r"
   18270 if test "x$ac_cv_func_strerror_r" = xyes
   18271 then :
   18272   printf "%s\n" "#define HAVE_STRERROR_R 1" >>confdefs.h
   18273 
   18274 fi
   18275 
   18276 
   18277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for posix_fadvise in fcntl.h" >&5
   18278 printf %s "checking for posix_fadvise in fcntl.h... " >&6; }
   18279 if test ${ac_cv_func_posix_fadvise+y}
   18280 then :
   18281   printf %s "(cached) " >&6
   18282 else $as_nop
   18283   symbol="[^a-zA-Z_0-9]posix_fadvise[^a-zA-Z_0-9]"
   18284 ac_found=no
   18285 for ac_header in fcntl.h ; do
   18286   ac_safe=`echo "$ac_header" | sed 'y%./+-%__p_%' `
   18287   if test $ac_found != "yes" ; then
   18288       if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
   18289             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18290 /* end confdefs.h.  */
   18291 #include <$ac_header>
   18292 
   18293 _ACEOF
   18294 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   18295   $EGREP "$symbol" >/dev/null 2>&1
   18296 then :
   18297   ac_found="$ac_header"
   18298 fi
   18299 rm -rf conftest*
   18300 
   18301       fi
   18302   fi
   18303 done
   18304 if test "$ac_found" != "no" ; then
   18305   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_found" >&5
   18306 printf "%s\n" "$ac_found" >&6; }
   18307   fc_func_posix_fadvise=1
   18308 else
   18309   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18310 printf "%s\n" "no" >&6; }
   18311   fc_func_posix_fadvise=0
   18312 fi
   18313 
   18314 fi
   18315 
   18316 
   18317 printf "%s\n" "#define HAVE_POSIX_FADVISE $fc_func_posix_fadvise" >>confdefs.h
   18318 
   18319 
   18320 #
   18321 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "#include <sys/stat.h>
   18322 "
   18323 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
   18324 then :
   18325 
   18326 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
   18327 
   18328 
   18329 fi
   18330 
   18331 
   18332 #
   18333 if test "x$ac_cv_func_fstatvfs" = "xyes"; then
   18334 	ac_fn_c_check_member "$LINENO" "struct statvfs" "f_basetype" "ac_cv_member_struct_statvfs_f_basetype" "#include <sys/statvfs.h>
   18335 "
   18336 if test "x$ac_cv_member_struct_statvfs_f_basetype" = xyes
   18337 then :
   18338 
   18339 printf "%s\n" "#define HAVE_STRUCT_STATVFS_F_BASETYPE 1" >>confdefs.h
   18340 
   18341 
   18342 fi
   18343 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_fstypename" "ac_cv_member_struct_statvfs_f_fstypename" "#include <sys/statvfs.h>
   18344 "
   18345 if test "x$ac_cv_member_struct_statvfs_f_fstypename" = xyes
   18346 then :
   18347 
   18348 printf "%s\n" "#define HAVE_STRUCT_STATVFS_F_FSTYPENAME 1" >>confdefs.h
   18349 
   18350 
   18351 fi
   18352 
   18353 fi
   18354 if test "x$ac_cv_func_fstatfs" = "xyes"; then
   18355 	ac_fn_c_check_member "$LINENO" "struct statfs" "f_flags" "ac_cv_member_struct_statfs_f_flags" "
   18356 #ifdef HAVE_SYS_VFS_H
   18357 #include <sys/vfs.h>
   18358 #endif
   18359 #ifdef HAVE_SYS_STATFS_H
   18360 #include <sys/statfs.h>
   18361 #endif
   18362 #ifdef HAVE_SYS_PARAM_H
   18363 #include <sys/param.h>
   18364 #endif
   18365 #ifdef HAVE_SYS_MOUNT_H
   18366 #include <sys/mount.h>
   18367 #endif
   18368 "
   18369 if test "x$ac_cv_member_struct_statfs_f_flags" = xyes
   18370 then :
   18371 
   18372 printf "%s\n" "#define HAVE_STRUCT_STATFS_F_FLAGS 1" >>confdefs.h
   18373 
   18374 
   18375 fi
   18376 ac_fn_c_check_member "$LINENO" "struct statfs" "f_fstypename" "ac_cv_member_struct_statfs_f_fstypename" "
   18377 #ifdef HAVE_SYS_VFS_H
   18378 #include <sys/vfs.h>
   18379 #endif
   18380 #ifdef HAVE_SYS_STATFS_H
   18381 #include <sys/statfs.h>
   18382 #endif
   18383 #ifdef HAVE_SYS_PARAM_H
   18384 #include <sys/param.h>
   18385 #endif
   18386 #ifdef HAVE_SYS_MOUNT_H
   18387 #include <sys/mount.h>
   18388 #endif
   18389 "
   18390 if test "x$ac_cv_member_struct_statfs_f_fstypename" = xyes
   18391 then :
   18392 
   18393 printf "%s\n" "#define HAVE_STRUCT_STATFS_F_FSTYPENAME 1" >>confdefs.h
   18394 
   18395 
   18396 fi
   18397 
   18398 fi
   18399 ac_fn_c_check_member "$LINENO" "struct dirent" "d_type" "ac_cv_member_struct_dirent_d_type" "#include <dirent.h>
   18400 "
   18401 if test "x$ac_cv_member_struct_dirent_d_type" = xyes
   18402 then :
   18403 
   18404 printf "%s\n" "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
   18405 
   18406 
   18407 fi
   18408 
   18409 
   18410 # Check the argument type of the gperf hash/lookup function
   18411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking The type of len parameter of gperf hash/lookup function" >&5
   18412 printf %s "checking The type of len parameter of gperf hash/lookup function... " >&6; }
   18413 fc_gperf_test="$(echo 'foo' | gperf -L ANSI-C)"
   18414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18415 /* end confdefs.h.  */
   18416 
   18417 	#include <string.h>
   18418 
   18419 	const char *in_word_set(register const char *, register size_t);
   18420 	$fc_gperf_test
   18421 
   18422 int
   18423 main (void)
   18424 {
   18425 
   18426   ;
   18427   return 0;
   18428 }
   18429 _ACEOF
   18430 if ac_fn_c_try_compile "$LINENO"
   18431 then :
   18432   FC_GPERF_SIZE_T=size_t
   18433 else $as_nop
   18434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18435 /* end confdefs.h.  */
   18436 
   18437 		#include <string.h>
   18438 
   18439 		const char *in_word_set(register const char *, register unsigned int);
   18440 		$fc_gperf_test
   18441 
   18442 int
   18443 main (void)
   18444 {
   18445 
   18446   ;
   18447   return 0;
   18448 }
   18449 _ACEOF
   18450 if ac_fn_c_try_compile "$LINENO"
   18451 then :
   18452   FC_GPERF_SIZE_T="unsigned int"
   18453 else $as_nop
   18454   as_fn_error $? "Unable to determine the type of the len parameter of the gperf hash/lookup function" "$LINENO" 5
   18455 
   18456 fi
   18457 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18458 fi
   18459 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18460 
   18461 printf "%s\n" "#define FC_GPERF_SIZE_T $FC_GPERF_SIZE_T" >>confdefs.h
   18462 
   18463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FC_GPERF_SIZE_T" >&5
   18464 printf "%s\n" "$FC_GPERF_SIZE_T" >&6; }
   18465 
   18466 #
   18467 # Checks for iconv
   18468 #
   18469 # Check whether --enable-iconv was given.
   18470 if test ${enable_iconv+y}
   18471 then :
   18472   enableval=$enable_iconv;
   18473 else $as_nop
   18474   enable_iconv=no
   18475 fi
   18476 
   18477 
   18478 # Check whether --with-libiconv was given.
   18479 if test ${with_libiconv+y}
   18480 then :
   18481   withval=$with_libiconv; if test "x$withval" = "xyes"; then
   18482 		libiconv_prefix=$prefix
   18483 	 else
   18484 		libiconv_prefix=$withval
   18485 	 fi
   18486 else $as_nop
   18487   libiconv_prefix=auto
   18488 fi
   18489 
   18490 
   18491 # Check whether --with-libiconv-includes was given.
   18492 if test ${with_libiconv_includes+y}
   18493 then :
   18494   withval=$with_libiconv_includes; libiconv_includes=$withval
   18495 else $as_nop
   18496   libiconv_includes=auto
   18497 fi
   18498 
   18499 
   18500 # Check whether --with-libiconv-lib was given.
   18501 if test ${with_libiconv_lib+y}
   18502 then :
   18503   withval=$with_libiconv_lib; libiconv_lib=$withval
   18504 else $as_nop
   18505   libiconv_lib=auto
   18506 fi
   18507 
   18508 
   18509 # if no libiconv,libiconv-includes,libiconv-lib are specified,
   18510 # libc's iconv has a priority.
   18511 if test "$libiconv_includes" != "auto" -a -r ${libiconv_includes}/iconv.h; then
   18512 	libiconv_cflags="-I${libiconv_includes}"
   18513 elif test "$libiconv_prefix" != "auto" -a -r ${libiconv_prefix}/include/iconv.h; then
   18514 	libiconv_cflags="-I${libiconv_prefix}/include"
   18515 else
   18516 	libiconv_cflags=""
   18517 fi
   18518 libiconv_libs=""
   18519 if test "x$libiconv_cflags" != "x"; then
   18520 	if test "$libiconv_lib" != "auto" -a -d ${libiconv_lib}; then
   18521 		libiconv_libs="-L${libiconv_lib} -liconv"
   18522 	elif test "$libiconv_prefix" != "auto" -a -d ${libiconv_prefix}/lib; then
   18523 		libiconv_libs="-L${libiconv_prefix}/lib -liconv"
   18524 	else
   18525 		libiconv_libs="-liconv"
   18526 	fi
   18527 fi
   18528 
   18529 use_iconv=0
   18530 if test "x$enable_iconv" != "xno"; then
   18531 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a usable iconv" >&5
   18532 printf %s "checking for a usable iconv... " >&6; }
   18533 	if test "x$libiconv_cflags" != "x" -o "x$libiconv_libs" != "x"; then
   18534 		iconvsaved_CFLAGS="$CFLAGS"
   18535 		iconvsaved_LIBS="$LIBS"
   18536 		CFLAGS="$CFLAGS $libiconv_cflags"
   18537 		LIBS="$LIBS $libiconv_libs"
   18538 
   18539 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18540 /* end confdefs.h.  */
   18541 #include <iconv.h>
   18542 int
   18543 main (void)
   18544 {
   18545 iconv_open ("from", "to");
   18546   ;
   18547   return 0;
   18548 }
   18549 _ACEOF
   18550 if ac_fn_c_try_link "$LINENO"
   18551 then :
   18552   iconv_type="libiconv"
   18553 			 use_iconv=1
   18554 			 ICONV_CFLAGS="$libiconv_cflags"
   18555 			 ICONV_LIBS="$libiconv_libs"
   18556 
   18557 else $as_nop
   18558   use_iconv=0
   18559 fi
   18560 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18561     conftest$ac_exeext conftest.$ac_ext
   18562 
   18563 		CFLAGS="$iconvsaved_CFLAGS"
   18564 		LIBS="$iconvsaved_LIBS"
   18565 	fi
   18566 	if test "x$use_iconv" = "x0"; then
   18567 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18568 /* end confdefs.h.  */
   18569 #include <iconv.h>
   18570 int
   18571 main (void)
   18572 {
   18573 iconv_open ("from", "to");
   18574   ;
   18575   return 0;
   18576 }
   18577 _ACEOF
   18578 if ac_fn_c_try_link "$LINENO"
   18579 then :
   18580   iconv_type="libc"
   18581 			 use_iconv=1
   18582 else $as_nop
   18583   iconv_type="not found"
   18584 			 use_iconv=0
   18585 fi
   18586 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18587     conftest$ac_exeext conftest.$ac_ext
   18588 	fi
   18589 
   18590 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $iconv_type" >&5
   18591 printf "%s\n" "$iconv_type" >&6; }
   18592 
   18593 
   18594 fi
   18595 
   18596 printf "%s\n" "#define USE_ICONV $use_iconv" >>confdefs.h
   18597 
   18598 #
   18599 # Checks for FreeType
   18600 #
   18601 
   18602 pkg_failed=no
   18603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5
   18604 printf %s "checking for FREETYPE... " >&6; }
   18605 
   18606 if test -n "$FREETYPE_CFLAGS"; then
   18607     pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
   18608  elif test -n "$PKG_CONFIG"; then
   18609     if test -n "$PKG_CONFIG" && \
   18610     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 21.0.15\""; } >&5
   18611   ($PKG_CONFIG --exists --print-errors "freetype2 >= 21.0.15") 2>&5
   18612   ac_status=$?
   18613   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18614   test $ac_status = 0; }; then
   18615   pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2 >= 21.0.15" 2>/dev/null`
   18616 		      test "x$?" != "x0" && pkg_failed=yes
   18617 else
   18618   pkg_failed=yes
   18619 fi
   18620  else
   18621     pkg_failed=untried
   18622 fi
   18623 if test -n "$FREETYPE_LIBS"; then
   18624     pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
   18625  elif test -n "$PKG_CONFIG"; then
   18626     if test -n "$PKG_CONFIG" && \
   18627     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 21.0.15\""; } >&5
   18628   ($PKG_CONFIG --exists --print-errors "freetype2 >= 21.0.15") 2>&5
   18629   ac_status=$?
   18630   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18631   test $ac_status = 0; }; then
   18632   pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2 >= 21.0.15" 2>/dev/null`
   18633 		      test "x$?" != "x0" && pkg_failed=yes
   18634 else
   18635   pkg_failed=yes
   18636 fi
   18637  else
   18638     pkg_failed=untried
   18639 fi
   18640 
   18641 
   18642 
   18643 if test $pkg_failed = yes; then
   18644    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18645 printf "%s\n" "no" >&6; }
   18646 
   18647 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18648         _pkg_short_errors_supported=yes
   18649 else
   18650         _pkg_short_errors_supported=no
   18651 fi
   18652         if test $_pkg_short_errors_supported = yes; then
   18653 	        FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "freetype2 >= 21.0.15" 2>&1`
   18654         else
   18655 	        FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "freetype2 >= 21.0.15" 2>&1`
   18656         fi
   18657 	# Put the nasty error message in config.log where it belongs
   18658 	echo "$FREETYPE_PKG_ERRORS" >&5
   18659 
   18660 	as_fn_error $? "Package requirements (freetype2 >= 21.0.15) were not met:
   18661 
   18662 $FREETYPE_PKG_ERRORS
   18663 
   18664 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18665 installed software in a non-standard prefix.
   18666 
   18667 Alternatively, you may set the environment variables FREETYPE_CFLAGS
   18668 and FREETYPE_LIBS to avoid the need to call pkg-config.
   18669 See the pkg-config man page for more details." "$LINENO" 5
   18670 elif test $pkg_failed = untried; then
   18671      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18672 printf "%s\n" "no" >&6; }
   18673 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18674 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   18675 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18676 is in your PATH or set the PKG_CONFIG environment variable to the full
   18677 path to pkg-config.
   18678 
   18679 Alternatively, you may set the environment variables FREETYPE_CFLAGS
   18680 and FREETYPE_LIBS to avoid the need to call pkg-config.
   18681 See the pkg-config man page for more details.
   18682 
   18683 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18684 See \`config.log' for more details" "$LINENO" 5; }
   18685 else
   18686 	FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
   18687 	FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
   18688         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18689 printf "%s\n" "yes" >&6; }
   18690 
   18691 fi
   18692 PKGCONFIG_REQUIRES="$PKGCONFIG_REQUIRES freetype2 >= 21.0.15"
   18693 
   18694 
   18695 
   18696 
   18697 fontconfig_save_libs="$LIBS"
   18698 fontconfig_save_cflags="$CFLAGS"
   18699 LIBS="$LIBS $FREETYPE_LIBS"
   18700 CFLAGS="$CFLAGS $FREETYPE_CFLAGS"
   18701 ac_fn_c_check_func "$LINENO" "FT_Get_BDF_Property" "ac_cv_func_FT_Get_BDF_Property"
   18702 if test "x$ac_cv_func_FT_Get_BDF_Property" = xyes
   18703 then :
   18704   printf "%s\n" "#define HAVE_FT_GET_BDF_PROPERTY 1" >>confdefs.h
   18705 
   18706 fi
   18707 ac_fn_c_check_func "$LINENO" "FT_Get_PS_Font_Info" "ac_cv_func_FT_Get_PS_Font_Info"
   18708 if test "x$ac_cv_func_FT_Get_PS_Font_Info" = xyes
   18709 then :
   18710   printf "%s\n" "#define HAVE_FT_GET_PS_FONT_INFO 1" >>confdefs.h
   18711 
   18712 fi
   18713 ac_fn_c_check_func "$LINENO" "FT_Has_PS_Glyph_Names" "ac_cv_func_FT_Has_PS_Glyph_Names"
   18714 if test "x$ac_cv_func_FT_Has_PS_Glyph_Names" = xyes
   18715 then :
   18716   printf "%s\n" "#define HAVE_FT_HAS_PS_GLYPH_NAMES 1" >>confdefs.h
   18717 
   18718 fi
   18719 ac_fn_c_check_func "$LINENO" "FT_Get_X11_Font_Format" "ac_cv_func_FT_Get_X11_Font_Format"
   18720 if test "x$ac_cv_func_FT_Get_X11_Font_Format" = xyes
   18721 then :
   18722   printf "%s\n" "#define HAVE_FT_GET_X11_FONT_FORMAT 1" >>confdefs.h
   18723 
   18724 fi
   18725 ac_fn_c_check_func "$LINENO" "FT_Done_MM_Var" "ac_cv_func_FT_Done_MM_Var"
   18726 if test "x$ac_cv_func_FT_Done_MM_Var" = xyes
   18727 then :
   18728   printf "%s\n" "#define HAVE_FT_DONE_MM_VAR 1" >>confdefs.h
   18729 
   18730 fi
   18731 
   18732 
   18733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18734 /* end confdefs.h.  */
   18735 
   18736 	#include <ft2build.h>
   18737 	#include FT_CONFIG_OPTIONS_H
   18738 	#ifndef PCF_CONFIG_OPTION_LONG_FAMILY_NAMES
   18739 	#  error "No pcf long family names support"
   18740 	#endif
   18741 
   18742 _ACEOF
   18743 if ac_fn_c_try_compile "$LINENO"
   18744 then :
   18745   have_pcf_long_family_names=yes
   18746 else $as_nop
   18747   have_pcf_long_family_names=no
   18748 fi
   18749 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18750  if test "x$have_pcf_long_family_names" = xyes; then
   18751   FREETYPE_PCF_LONG_FAMILY_NAMES_TRUE=
   18752   FREETYPE_PCF_LONG_FAMILY_NAMES_FALSE='#'
   18753 else
   18754   FREETYPE_PCF_LONG_FAMILY_NAMES_TRUE='#'
   18755   FREETYPE_PCF_LONG_FAMILY_NAMES_FALSE=
   18756 fi
   18757 
   18758 
   18759 LIBS="$fontconfig_save_libs"
   18760 CFLAGS="$fontconfig_save_cflags"
   18761 
   18762 #
   18763 # Check expat configuration
   18764 #
   18765 
   18766 # Check whether --with-expat was given.
   18767 if test ${with_expat+y}
   18768 then :
   18769   withval=$with_expat; expat_prefix=$withval
   18770 else $as_nop
   18771   expat_prefix=auto
   18772 fi
   18773 
   18774 
   18775 # Check whether --with-expat-includes was given.
   18776 if test ${with_expat_includes+y}
   18777 then :
   18778   withval=$with_expat_includes; expat_includes=$withval
   18779 else $as_nop
   18780   expat_includes=auto
   18781 fi
   18782 
   18783 
   18784 # Check whether --with-expat-lib was given.
   18785 if test ${with_expat_lib+y}
   18786 then :
   18787   withval=$with_expat_lib; expat_lib=$withval
   18788 else $as_nop
   18789   expat_lib=auto
   18790 fi
   18791 
   18792 
   18793 if test "$enable_libxml2" != "yes"; then
   18794 	use_pkgconfig_for_expat=yes
   18795 	if test "$expat_prefix" = "auto" -a "$expat_includes" = "auto" -a "$expat_lib" = "auto"; then
   18796 
   18797 pkg_failed=no
   18798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for EXPAT" >&5
   18799 printf %s "checking for EXPAT... " >&6; }
   18800 
   18801 if test -n "$EXPAT_CFLAGS"; then
   18802     pkg_cv_EXPAT_CFLAGS="$EXPAT_CFLAGS"
   18803  elif test -n "$PKG_CONFIG"; then
   18804     if test -n "$PKG_CONFIG" && \
   18805     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"expat\""; } >&5
   18806   ($PKG_CONFIG --exists --print-errors "expat") 2>&5
   18807   ac_status=$?
   18808   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18809   test $ac_status = 0; }; then
   18810   pkg_cv_EXPAT_CFLAGS=`$PKG_CONFIG --cflags "expat" 2>/dev/null`
   18811 		      test "x$?" != "x0" && pkg_failed=yes
   18812 else
   18813   pkg_failed=yes
   18814 fi
   18815  else
   18816     pkg_failed=untried
   18817 fi
   18818 if test -n "$EXPAT_LIBS"; then
   18819     pkg_cv_EXPAT_LIBS="$EXPAT_LIBS"
   18820  elif test -n "$PKG_CONFIG"; then
   18821     if test -n "$PKG_CONFIG" && \
   18822     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"expat\""; } >&5
   18823   ($PKG_CONFIG --exists --print-errors "expat") 2>&5
   18824   ac_status=$?
   18825   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18826   test $ac_status = 0; }; then
   18827   pkg_cv_EXPAT_LIBS=`$PKG_CONFIG --libs "expat" 2>/dev/null`
   18828 		      test "x$?" != "x0" && pkg_failed=yes
   18829 else
   18830   pkg_failed=yes
   18831 fi
   18832  else
   18833     pkg_failed=untried
   18834 fi
   18835 
   18836 
   18837 
   18838 if test $pkg_failed = yes; then
   18839    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18840 printf "%s\n" "no" >&6; }
   18841 
   18842 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18843         _pkg_short_errors_supported=yes
   18844 else
   18845         _pkg_short_errors_supported=no
   18846 fi
   18847         if test $_pkg_short_errors_supported = yes; then
   18848 	        EXPAT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "expat" 2>&1`
   18849         else
   18850 	        EXPAT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "expat" 2>&1`
   18851         fi
   18852 	# Put the nasty error message in config.log where it belongs
   18853 	echo "$EXPAT_PKG_ERRORS" >&5
   18854 
   18855 	use_pkgconfig_for_expat=no
   18856 elif test $pkg_failed = untried; then
   18857      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18858 printf "%s\n" "no" >&6; }
   18859 	use_pkgconfig_for_expat=no
   18860 else
   18861 	EXPAT_CFLAGS=$pkg_cv_EXPAT_CFLAGS
   18862 	EXPAT_LIBS=$pkg_cv_EXPAT_LIBS
   18863         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18864 printf "%s\n" "yes" >&6; }
   18865 
   18866 fi
   18867 	else
   18868 		use_pkgconfig_for_expat=no
   18869 	fi
   18870 	if test "x$use_pkgconfig_for_expat" = "xno"; then
   18871 		if test "$expat_includes" != "auto" -a -r ${expat_includes}/expat.h; then
   18872 			EXPAT_CFLAGS="-I${expat_includes}"
   18873 		elif test "$expat_prefix" != "auto" -a -r ${expat_prefix}/include/expat.h; then
   18874 			EXPAT_CFLAGS="-I${expat_prefix}/include"
   18875 		else
   18876 			EXPAT_CFLAGS=""
   18877 		fi
   18878 		if test "$expat_lib" != "auto"; then
   18879 			EXPAT_LIBS="-L${expat_lib} -lexpat"
   18880 		elif test "$expat_prefix" != "auto"; then
   18881 			EXPAT_LIBS="-L${expat_prefix}/lib -lexpat"
   18882 		else
   18883 			EXPAT_LIBS="-lexpat"
   18884 		fi
   18885 		PKG_EXPAT_CFLAGS=$EXPAT_CFLAGS
   18886 		PKG_EXPAT_LIBS=$EXPAT_LIBS
   18887 	else
   18888 		PKGCONFIG_REQUIRES_PRIVATELY="$PKGCONFIG_REQUIRES_PRIVATELY expat"
   18889 		PKG_EXPAT_CFLAGS=
   18890 		PKG_EXPAT_LIBS=
   18891 	fi
   18892 
   18893 	expatsaved_CPPFLAGS="$CPPFLAGS"
   18894 	expatsaved_LIBS="$LIBS"
   18895 	CPPFLAGS="$CPPFLAGS $EXPAT_CFLAGS"
   18896 	LIBS="$LIBS $EXPAT_LIBS"
   18897 
   18898 	ac_fn_c_check_header_compile "$LINENO" "expat.h" "ac_cv_header_expat_h" "$ac_includes_default"
   18899 if test "x$ac_cv_header_expat_h" = xyes
   18900 then :
   18901 
   18902 fi
   18903 
   18904 	if test "$ac_cv_header_expat_h" = "no"; then
   18905 		ac_fn_c_check_header_compile "$LINENO" "xmlparse.h" "ac_cv_header_xmlparse_h" "$ac_includes_default"
   18906 if test "x$ac_cv_header_xmlparse_h" = xyes
   18907 then :
   18908 
   18909 fi
   18910 
   18911 		if test "$ac_cv_header_xmlparse_h" = "yes"; then
   18912 			HAVE_XMLPARSE_H=1
   18913 
   18914 
   18915 printf "%s\n" "#define HAVE_XMLPARSE_H $HAVE_XMLPARSE_H" >>confdefs.h
   18916 
   18917 		else
   18918 			as_fn_error $? "
   18919 *** expat is required. or try to use --enable-libxml2" "$LINENO" 5
   18920 		fi
   18921 	fi
   18922 	ac_fn_c_check_func "$LINENO" "XML_SetDoctypeDeclHandler" "ac_cv_func_XML_SetDoctypeDeclHandler"
   18923 if test "x$ac_cv_func_XML_SetDoctypeDeclHandler" = xyes
   18924 then :
   18925   printf "%s\n" "#define HAVE_XML_SETDOCTYPEDECLHANDLER 1" >>confdefs.h
   18926 
   18927 fi
   18928 
   18929 	if test "$ac_cv_func_XML_SetDoctypeDeclHandler" = "no"; then
   18930 		as_fn_error $? "
   18931 *** expat is required. or try to use --enable-libxml2" "$LINENO" 5
   18932 	fi
   18933 	CPPFLAGS="$expatsaved_CPPFLAGS"
   18934 	LIBS="$expatsaved_LIBS"
   18935 
   18936 
   18937 
   18938 
   18939 
   18940 fi
   18941 
   18942 #
   18943 # Check libxml2 configuration
   18944 #
   18945 # Check whether --enable-libxml2 was given.
   18946 if test ${enable_libxml2+y}
   18947 then :
   18948   enableval=$enable_libxml2;
   18949 fi
   18950 
   18951 
   18952 if test "$enable_libxml2" = "yes"; then
   18953 
   18954 pkg_failed=no
   18955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBXML2" >&5
   18956 printf %s "checking for LIBXML2... " >&6; }
   18957 
   18958 if test -n "$LIBXML2_CFLAGS"; then
   18959     pkg_cv_LIBXML2_CFLAGS="$LIBXML2_CFLAGS"
   18960  elif test -n "$PKG_CONFIG"; then
   18961     if test -n "$PKG_CONFIG" && \
   18962     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.6\""; } >&5
   18963   ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.6") 2>&5
   18964   ac_status=$?
   18965   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18966   test $ac_status = 0; }; then
   18967   pkg_cv_LIBXML2_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6" 2>/dev/null`
   18968 		      test "x$?" != "x0" && pkg_failed=yes
   18969 else
   18970   pkg_failed=yes
   18971 fi
   18972  else
   18973     pkg_failed=untried
   18974 fi
   18975 if test -n "$LIBXML2_LIBS"; then
   18976     pkg_cv_LIBXML2_LIBS="$LIBXML2_LIBS"
   18977  elif test -n "$PKG_CONFIG"; then
   18978     if test -n "$PKG_CONFIG" && \
   18979     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.6\""; } >&5
   18980   ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.6") 2>&5
   18981   ac_status=$?
   18982   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18983   test $ac_status = 0; }; then
   18984   pkg_cv_LIBXML2_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6" 2>/dev/null`
   18985 		      test "x$?" != "x0" && pkg_failed=yes
   18986 else
   18987   pkg_failed=yes
   18988 fi
   18989  else
   18990     pkg_failed=untried
   18991 fi
   18992 
   18993 
   18994 
   18995 if test $pkg_failed = yes; then
   18996    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18997 printf "%s\n" "no" >&6; }
   18998 
   18999 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19000         _pkg_short_errors_supported=yes
   19001 else
   19002         _pkg_short_errors_supported=no
   19003 fi
   19004         if test $_pkg_short_errors_supported = yes; then
   19005 	        LIBXML2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0 >= 2.6" 2>&1`
   19006         else
   19007 	        LIBXML2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0 >= 2.6" 2>&1`
   19008         fi
   19009 	# Put the nasty error message in config.log where it belongs
   19010 	echo "$LIBXML2_PKG_ERRORS" >&5
   19011 
   19012 	as_fn_error $? "Package requirements (libxml-2.0 >= 2.6) were not met:
   19013 
   19014 $LIBXML2_PKG_ERRORS
   19015 
   19016 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19017 installed software in a non-standard prefix.
   19018 
   19019 Alternatively, you may set the environment variables LIBXML2_CFLAGS
   19020 and LIBXML2_LIBS to avoid the need to call pkg-config.
   19021 See the pkg-config man page for more details." "$LINENO" 5
   19022 elif test $pkg_failed = untried; then
   19023      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19024 printf "%s\n" "no" >&6; }
   19025 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19026 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   19027 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19028 is in your PATH or set the PKG_CONFIG environment variable to the full
   19029 path to pkg-config.
   19030 
   19031 Alternatively, you may set the environment variables LIBXML2_CFLAGS
   19032 and LIBXML2_LIBS to avoid the need to call pkg-config.
   19033 See the pkg-config man page for more details.
   19034 
   19035 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19036 See \`config.log' for more details" "$LINENO" 5; }
   19037 else
   19038 	LIBXML2_CFLAGS=$pkg_cv_LIBXML2_CFLAGS
   19039 	LIBXML2_LIBS=$pkg_cv_LIBXML2_LIBS
   19040         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19041 printf "%s\n" "yes" >&6; }
   19042 
   19043 fi
   19044     PKGCONFIG_REQUIRES_PRIVATELY="$PKGCONFIG_REQUIRES_PRIVATELY libxml-2.0 >= 2.6"
   19045 
   19046 printf "%s\n" "#define ENABLE_LIBXML2 1" >>confdefs.h
   19047 
   19048 
   19049 
   19050 
   19051 
   19052     fc_saved_CFLAGS="$CFLAGS"
   19053     CFLAGS="$CFLAGS $LIBXML2_CFLAGS"
   19054     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking SAX1 support in libxml2" >&5
   19055 printf %s "checking SAX1 support in libxml2... " >&6; }
   19056     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19057 /* end confdefs.h.  */
   19058 
   19059 	#include <libxml/xmlversion.h>
   19060 	#if !defined(LIBXML_SAX1_ENABLED)
   19061 	#  include "error: No SAX1 support in libxml2"
   19062 	#endif
   19063 
   19064 _ACEOF
   19065 if ac_fn_c_try_compile "$LINENO"
   19066 then :
   19067   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
   19068 printf "%s\n" "found" >&6; }
   19069 else $as_nop
   19070   as_fn_error $? "
   19071 *** SAX1 support in libxml2 is required. enable it or use expat instead." "$LINENO" 5
   19072 fi
   19073 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19074     CFLAGS="$fc_saved_CFLAGS"
   19075 fi
   19076 
   19077 #
   19078 # Check json-c
   19079 #
   19080 
   19081 pkg_failed=no
   19082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for JSONC" >&5
   19083 printf %s "checking for JSONC... " >&6; }
   19084 
   19085 if test -n "$JSONC_CFLAGS"; then
   19086     pkg_cv_JSONC_CFLAGS="$JSONC_CFLAGS"
   19087  elif test -n "$PKG_CONFIG"; then
   19088     if test -n "$PKG_CONFIG" && \
   19089     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c\""; } >&5
   19090   ($PKG_CONFIG --exists --print-errors "json-c") 2>&5
   19091   ac_status=$?
   19092   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19093   test $ac_status = 0; }; then
   19094   pkg_cv_JSONC_CFLAGS=`$PKG_CONFIG --cflags "json-c" 2>/dev/null`
   19095 		      test "x$?" != "x0" && pkg_failed=yes
   19096 else
   19097   pkg_failed=yes
   19098 fi
   19099  else
   19100     pkg_failed=untried
   19101 fi
   19102 if test -n "$JSONC_LIBS"; then
   19103     pkg_cv_JSONC_LIBS="$JSONC_LIBS"
   19104  elif test -n "$PKG_CONFIG"; then
   19105     if test -n "$PKG_CONFIG" && \
   19106     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c\""; } >&5
   19107   ($PKG_CONFIG --exists --print-errors "json-c") 2>&5
   19108   ac_status=$?
   19109   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19110   test $ac_status = 0; }; then
   19111   pkg_cv_JSONC_LIBS=`$PKG_CONFIG --libs "json-c" 2>/dev/null`
   19112 		      test "x$?" != "x0" && pkg_failed=yes
   19113 else
   19114   pkg_failed=yes
   19115 fi
   19116  else
   19117     pkg_failed=untried
   19118 fi
   19119 
   19120 
   19121 
   19122 if test $pkg_failed = yes; then
   19123    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19124 printf "%s\n" "no" >&6; }
   19125 
   19126 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19127         _pkg_short_errors_supported=yes
   19128 else
   19129         _pkg_short_errors_supported=no
   19130 fi
   19131         if test $_pkg_short_errors_supported = yes; then
   19132 	        JSONC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json-c" 2>&1`
   19133         else
   19134 	        JSONC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json-c" 2>&1`
   19135         fi
   19136 	# Put the nasty error message in config.log where it belongs
   19137 	echo "$JSONC_PKG_ERRORS" >&5
   19138 
   19139 	use_jsonc=no
   19140 elif test $pkg_failed = untried; then
   19141      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19142 printf "%s\n" "no" >&6; }
   19143 	use_jsonc=no
   19144 else
   19145 	JSONC_CFLAGS=$pkg_cv_JSONC_CFLAGS
   19146 	JSONC_LIBS=$pkg_cv_JSONC_LIBS
   19147         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19148 printf "%s\n" "yes" >&6; }
   19149 	use_jsonc=yes
   19150 fi
   19151 
   19152  if test "x$use_jsonc" = "xyes"; then
   19153   ENABLE_JSONC_TRUE=
   19154   ENABLE_JSONC_FALSE='#'
   19155 else
   19156   ENABLE_JSONC_TRUE='#'
   19157   ENABLE_JSONC_FALSE=
   19158 fi
   19159 
   19160 
   19161 
   19162 
   19163 #
   19164 # Set default hinting
   19165 #
   19166 
   19167 
   19168 # Check whether --with-default-hinting was given.
   19169 if test ${with_default_hinting+y}
   19170 then :
   19171   withval=$with_default_hinting; preferred_hinting="$withval"
   19172 else $as_nop
   19173   preferred_hinting=slight
   19174 fi
   19175 
   19176 
   19177 case "$preferred_hinting" in
   19178 none|slight|medium|full)
   19179 	PREFERRED_HINTING="$preferred_hinting"
   19180 
   19181 	;;
   19182 *)
   19183 	as_fn_error $? "Invalid hinting. please choose one of none, slight, medium, or full" "$LINENO" 5
   19184 	;;
   19185 esac
   19186 
   19187 #
   19188 # Set default font directory
   19189 #
   19190 
   19191 
   19192 # Check whether --with-default-fonts was given.
   19193 if test ${with_default_fonts+y}
   19194 then :
   19195   withval=$with_default_fonts; default_fonts="$withval"
   19196 else $as_nop
   19197   default_fonts=yes
   19198 fi
   19199 
   19200 
   19201 case "$default_fonts" in
   19202 yes)
   19203 	if test "$os_win32" = "yes"; then
   19204 		default_fonts="WINDOWSFONTDIR,WINDOWSUSERFONTDIR"
   19205 	elif test "$os_darwin" = "yes"; then
   19206 		default_fonts="/System/Library/Fonts,/Library/Fonts,~/Library/Fonts,/System/Library/Assets/com_apple_MobileAsset_Font3,/System/Library/Assets/com_apple_MobileAsset_Font4"
   19207 	else
   19208 		default_fonts="/usr/share/fonts"
   19209 	fi
   19210 	;;
   19211 esac
   19212 
   19213 FC_DEFAULT_FONTS=""
   19214 if test x${default_fonts+set} = xset; then
   19215 	fc_IFS=$IFS
   19216 	IFS=","
   19217 	for p in $default_fonts; do
   19218 		if test x"$FC_DEFAULT_FONTS" != x; then
   19219 			FC_DEFAULT_FONTS="$FC_DEFAULT_FONTS "
   19220 		fi
   19221 		FC_DEFAULT_FONTS="$FC_DEFAULT_FONTS<dir>$p</dir>"
   19222 	done
   19223 	IFS=$fc_IFS
   19224 fi
   19225 
   19226 
   19227 printf "%s\n" "#define FC_DEFAULT_FONTS \"$FC_DEFAULT_FONTS\"" >>confdefs.h
   19228 
   19229 
   19230 
   19231 
   19232 #
   19233 # Add more fonts if available.  By default, add only the directories
   19234 # with outline fonts; those with bitmaps can be added as desired in
   19235 # local.conf or ~/.fonts.conf
   19236 #
   19237 
   19238 # Check whether --with-add-fonts was given.
   19239 if test ${with_add_fonts+y}
   19240 then :
   19241   withval=$with_add_fonts; add_fonts="$withval"
   19242 else $as_nop
   19243   add_fonts=yes
   19244 fi
   19245 
   19246 
   19247 case "$add_fonts" in
   19248 yes)
   19249 	FC_ADD_FONTS=""
   19250 	for dir in /usr/X11R6/lib/X11 /usr/X11/lib/X11 /usr/lib/X11; do
   19251 		case x"$FC_ADD_FONTS" in
   19252 		x)
   19253 			sub="$dir/fonts"
   19254 			if test -d "$sub"; then
   19255 				case x$FC_ADD_FONTS in
   19256 				x)
   19257 					FC_ADD_FONTS="$sub"
   19258 					;;
   19259 				*)
   19260 					FC_ADD_FONTS="$FC_ADD_FONTS,$sub"
   19261 					;;
   19262 				esac
   19263 			fi
   19264 			;;
   19265 		esac
   19266 	done
   19267 
   19268 printf "%s\n" "#define FC_ADD_FONTS \"$add_fonts\"" >>confdefs.h
   19269 
   19270 	;;
   19271 no)
   19272 	FC_ADD_FONTS=""
   19273 	;;
   19274 *)
   19275 	FC_ADD_FONTS="$add_fonts"
   19276 
   19277 printf "%s\n" "#define FC_ADD_FONTS \"$add_fonts\"" >>confdefs.h
   19278 
   19279 	;;
   19280 esac
   19281 
   19282 
   19283 
   19284 FC_FONTPATH=""
   19285 
   19286 case "$FC_ADD_FONTS" in
   19287 "")
   19288 	;;
   19289 *)
   19290 	FC_FONTPATH=`echo $FC_ADD_FONTS |
   19291 			sed -e 's/^/<dir>/' -e 's/$/<\/dir>/' -e 's/,/<\/dir> <dir>/g'`
   19292 	;;
   19293 esac
   19294 
   19295 
   19296 
   19297 #
   19298 # Set default cache directory path
   19299 #
   19300 
   19301 # Check whether --with-cache-dir was given.
   19302 if test ${with_cache_dir+y}
   19303 then :
   19304   withval=$with_cache_dir; fc_cachedir="$withval"
   19305 else $as_nop
   19306   fc_cachedir=yes
   19307 fi
   19308 
   19309 
   19310 case $fc_cachedir in
   19311 no|yes)
   19312 	if test "$os_win32" = "yes"; then
   19313 		fc_cachedir="LOCAL_APPDATA_FONTCONFIG_CACHE"
   19314 	else
   19315 		fc_cachedir='${localstatedir}/cache/${PACKAGE}'
   19316 	fi
   19317 	;;
   19318 *)
   19319 	;;
   19320 esac
   19321 
   19322 FC_CACHEDIR=${fc_cachedir}
   19323 
   19324 
   19325 FC_FONTDATE=`LC_ALL=C date`
   19326 
   19327 
   19328 
   19329 #
   19330 # Set configuration paths
   19331 #
   19332 
   19333 
   19334 # Check whether --with-templatedir was given.
   19335 if test ${with_templatedir+y}
   19336 then :
   19337   withval=$with_templatedir; templatedir="$withval"
   19338 else $as_nop
   19339   templatedir=yes
   19340 fi
   19341 
   19342 
   19343 # Check whether --with-baseconfigdir was given.
   19344 if test ${with_baseconfigdir+y}
   19345 then :
   19346   withval=$with_baseconfigdir; baseconfigdir="$withval"
   19347 else $as_nop
   19348   baseconfigdir=yes
   19349 fi
   19350 
   19351 
   19352 # Check whether --with-configdir was given.
   19353 if test ${with_configdir+y}
   19354 then :
   19355   withval=$with_configdir; configdir="$withval"
   19356 else $as_nop
   19357   configdir=yes
   19358 fi
   19359 
   19360 
   19361 # Check whether --with-xmldir was given.
   19362 if test ${with_xmldir+y}
   19363 then :
   19364   withval=$with_xmldir; xmldir="$withval"
   19365 else $as_nop
   19366   xmldir=yes
   19367 fi
   19368 
   19369 
   19370 case "$templatedir" in
   19371 no|yes)
   19372 	templatedir='${datadir}'/fontconfig/conf.avail
   19373 	;;
   19374 *)
   19375 	;;
   19376 esac
   19377 case "$baseconfigdir" in
   19378 no|yes)
   19379 	baseconfigdir='${sysconfdir}'/fonts
   19380 	;;
   19381 *)
   19382 	;;
   19383 esac
   19384 case "$configdir" in
   19385 no|yes)
   19386 	configdir='${BASECONFIGDIR}'/conf.d
   19387 	;;
   19388 *)
   19389 	;;
   19390 esac
   19391 case "$xmldir" in
   19392 no|yes)
   19393 	xmldir='${datadir}'/xml/fontconfig
   19394 	;;
   19395 *)
   19396 	;;
   19397 esac
   19398 
   19399 TEMPLATEDIR=${templatedir}
   19400 BASECONFIGDIR=${baseconfigdir}
   19401 CONFIGDIR=${configdir}
   19402 XMLDIR=${xmldir}
   19403 
   19404 
   19405 
   19406 
   19407 
   19408 
   19409 
   19410 #
   19411 # Thread-safety primitives
   19412 #
   19413 
   19414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking stdatomic.h atomic primitives" >&5
   19415 printf %s "checking stdatomic.h atomic primitives... " >&6; }
   19416 if test ${fc_cv_have_stdatomic_atomic_primitives+y}
   19417 then :
   19418   printf %s "(cached) " >&6
   19419 else $as_nop
   19420 
   19421 	fc_cv_have_stdatomic_atomic_primitives=false
   19422 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19423 /* end confdefs.h.  */
   19424 
   19425 		#include <stdatomic.h>
   19426 
   19427 		void memory_barrier (void) { atomic_thread_fence (memory_order_acq_rel); }
   19428 		int atomic_add (atomic_int *i) { return atomic_fetch_add_explicit (i, 1, memory_order_relaxed); }
   19429 		int mutex_trylock (atomic_flag *m) { return atomic_flag_test_and_set_explicit (m, memory_order_acquire); }
   19430 		void mutex_unlock (atomic_flag *m) { atomic_flag_clear_explicit (m, memory_order_release); }
   19431 
   19432 int
   19433 main (void)
   19434 {
   19435 
   19436   ;
   19437   return 0;
   19438 }
   19439 _ACEOF
   19440 if ac_fn_c_try_link "$LINENO"
   19441 then :
   19442   fc_cv_have_stdatomic_atomic_primitives=true
   19443 
   19444 fi
   19445 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19446     conftest$ac_exeext conftest.$ac_ext
   19447 
   19448 fi
   19449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $fc_cv_have_stdatomic_atomic_primitives" >&5
   19450 printf "%s\n" "$fc_cv_have_stdatomic_atomic_primitives" >&6; }
   19451 if $fc_cv_have_stdatomic_atomic_primitives; then
   19452 
   19453 printf "%s\n" "#define HAVE_STDATOMIC_PRIMITIVES 1" >>confdefs.h
   19454 
   19455 fi
   19456 
   19457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Intel atomic primitives" >&5
   19458 printf %s "checking for Intel atomic primitives... " >&6; }
   19459 if test ${fc_cv_have_intel_atomic_primitives+y}
   19460 then :
   19461   printf %s "(cached) " >&6
   19462 else $as_nop
   19463 
   19464 	fc_cv_have_intel_atomic_primitives=false
   19465 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19466 /* end confdefs.h.  */
   19467 
   19468 		void memory_barrier (void) { __sync_synchronize (); }
   19469 		int atomic_add (int *i) { return __sync_fetch_and_add (i, 1); }
   19470 		int mutex_trylock (int *m) { return __sync_lock_test_and_set (m, 1); }
   19471 		void mutex_unlock (int *m) { __sync_lock_release (m); }
   19472 
   19473 int
   19474 main (void)
   19475 {
   19476 
   19477   ;
   19478   return 0;
   19479 }
   19480 _ACEOF
   19481 if ac_fn_c_try_link "$LINENO"
   19482 then :
   19483   fc_cv_have_intel_atomic_primitives=true
   19484 
   19485 fi
   19486 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19487     conftest$ac_exeext conftest.$ac_ext
   19488 
   19489 fi
   19490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $fc_cv_have_intel_atomic_primitives" >&5
   19491 printf "%s\n" "$fc_cv_have_intel_atomic_primitives" >&6; }
   19492 if $fc_cv_have_intel_atomic_primitives; then
   19493 
   19494 printf "%s\n" "#define HAVE_INTEL_ATOMIC_PRIMITIVES 1" >>confdefs.h
   19495 
   19496 fi
   19497 
   19498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Solaris atomic operations" >&5
   19499 printf %s "checking for Solaris atomic operations... " >&6; }
   19500 if test ${fc_cv_have_solaris_atomic_ops+y}
   19501 then :
   19502   printf %s "(cached) " >&6
   19503 else $as_nop
   19504 
   19505 	fc_cv_have_solaris_atomic_ops=false
   19506 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19507 /* end confdefs.h.  */
   19508 
   19509 		#include <atomic.h>
   19510 		/* This requires Solaris Studio 12.2 or newer: */
   19511 		#include <mbarrier.h>
   19512 		void memory_barrier (void) { __machine_rw_barrier (); }
   19513 		int atomic_add (volatile unsigned *i) { return atomic_add_int_nv (i, 1); }
   19514 		void *atomic_ptr_cmpxchg (volatile void **target, void *cmp, void *newval) { return atomic_cas_ptr (target, cmp, newval); }
   19515 
   19516 int
   19517 main (void)
   19518 {
   19519 
   19520   ;
   19521   return 0;
   19522 }
   19523 _ACEOF
   19524 if ac_fn_c_try_link "$LINENO"
   19525 then :
   19526   fc_cv_have_solaris_atomic_ops=true
   19527 
   19528 fi
   19529 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19530     conftest$ac_exeext conftest.$ac_ext
   19531 
   19532 fi
   19533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $fc_cv_have_solaris_atomic_ops" >&5
   19534 printf "%s\n" "$fc_cv_have_solaris_atomic_ops" >&6; }
   19535 if $fc_cv_have_solaris_atomic_ops; then
   19536 
   19537 printf "%s\n" "#define HAVE_SOLARIS_ATOMIC_OPS 1" >>confdefs.h
   19538 
   19539 fi
   19540 
   19541 if test "$os_win32" = no && ! $have_pthread; then
   19542 	ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
   19543 if test "x$ac_cv_header_sched_h" = xyes
   19544 then :
   19545   printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
   19546 
   19547 fi
   19548 
   19549 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
   19550 printf %s "checking for library containing sched_yield... " >&6; }
   19551 if test ${ac_cv_search_sched_yield+y}
   19552 then :
   19553   printf %s "(cached) " >&6
   19554 else $as_nop
   19555   ac_func_search_save_LIBS=$LIBS
   19556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19557 /* end confdefs.h.  */
   19558 
   19559 /* Override any GCC internal prototype to avoid an error.
   19560    Use char because int might match the return type of a GCC
   19561    builtin and then its argument prototype would still apply.  */
   19562 char sched_yield ();
   19563 int
   19564 main (void)
   19565 {
   19566 return sched_yield ();
   19567   ;
   19568   return 0;
   19569 }
   19570 _ACEOF
   19571 for ac_lib in '' rt
   19572 do
   19573   if test -z "$ac_lib"; then
   19574     ac_res="none required"
   19575   else
   19576     ac_res=-l$ac_lib
   19577     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   19578   fi
   19579   if ac_fn_c_try_link "$LINENO"
   19580 then :
   19581   ac_cv_search_sched_yield=$ac_res
   19582 fi
   19583 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19584     conftest$ac_exeext
   19585   if test ${ac_cv_search_sched_yield+y}
   19586 then :
   19587   break
   19588 fi
   19589 done
   19590 if test ${ac_cv_search_sched_yield+y}
   19591 then :
   19592 
   19593 else $as_nop
   19594   ac_cv_search_sched_yield=no
   19595 fi
   19596 rm conftest.$ac_ext
   19597 LIBS=$ac_func_search_save_LIBS
   19598 fi
   19599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
   19600 printf "%s\n" "$ac_cv_search_sched_yield" >&6; }
   19601 ac_res=$ac_cv_search_sched_yield
   19602 if test "$ac_res" != no
   19603 then :
   19604   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   19605 
   19606 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
   19607 
   19608 fi
   19609 
   19610 fi
   19611 
   19612 have_pthread=false
   19613 if test "$os_win32" = no; then
   19614 
   19615 
   19616 ac_ext=c
   19617 ac_cpp='$CPP $CPPFLAGS'
   19618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19621 
   19622 ax_pthread_ok=no
   19623 
   19624 # We used to check for pthread.h first, but this fails if pthread.h
   19625 # requires special compiler flags (e.g. on True64 or Sequent).
   19626 # It gets checked for in the link test anyway.
   19627 
   19628 # First of all, check if the user has set any of the PTHREAD_LIBS,
   19629 # etcetera environment variables, and if threads linking works using
   19630 # them:
   19631 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
   19632         save_CFLAGS="$CFLAGS"
   19633         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   19634         save_LIBS="$LIBS"
   19635         LIBS="$PTHREAD_LIBS $LIBS"
   19636         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
   19637 printf %s "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
   19638         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19639 /* end confdefs.h.  */
   19640 
   19641 /* Override any GCC internal prototype to avoid an error.
   19642    Use char because int might match the return type of a GCC
   19643    builtin and then its argument prototype would still apply.  */
   19644 char pthread_join ();
   19645 int
   19646 main (void)
   19647 {
   19648 return pthread_join ();
   19649   ;
   19650   return 0;
   19651 }
   19652 _ACEOF
   19653 if ac_fn_c_try_link "$LINENO"
   19654 then :
   19655   ax_pthread_ok=yes
   19656 fi
   19657 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19658     conftest$ac_exeext conftest.$ac_ext
   19659         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
   19660 printf "%s\n" "$ax_pthread_ok" >&6; }
   19661         if test x"$ax_pthread_ok" = xno; then
   19662                 PTHREAD_LIBS=""
   19663                 PTHREAD_CFLAGS=""
   19664         fi
   19665         LIBS="$save_LIBS"
   19666         CFLAGS="$save_CFLAGS"
   19667 fi
   19668 
   19669 # We must check for the threads library under a number of different
   19670 # names; the ordering is very important because some systems
   19671 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
   19672 # libraries is broken (non-POSIX).
   19673 
   19674 # Create a list of thread flags to try.  Items starting with a "-" are
   19675 # C compiler flags, and other items are library names, except for "none"
   19676 # which indicates that we try without any flags at all, and "pthread-config"
   19677 # which is a program returning the flags for the Pth emulation library.
   19678 
   19679 ax_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
   19680 
   19681 # The ordering *is* (sometimes) important.  Some notes on the
   19682 # individual items follow:
   19683 
   19684 # pthreads: AIX (must check this before -lpthread)
   19685 # none: in case threads are in libc; should be tried before -Kthread and
   19686 #       other compiler flags to prevent continual compiler warnings
   19687 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
   19688 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
   19689 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
   19690 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
   19691 # -pthreads: Solaris/gcc
   19692 # -mthreads: Mingw32/gcc, Lynx/gcc
   19693 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
   19694 #      doesn't hurt to check since this sometimes defines pthreads too;
   19695 #      also defines -D_REENTRANT)
   19696 #      ... -mt is also the pthreads flag for HP/aCC
   19697 # pthread: Linux, etcetera
   19698 # --thread-safe: KAI C++
   19699 # pthread-config: use pthread-config program (for GNU Pth library)
   19700 
   19701 case ${host_os} in
   19702         solaris*)
   19703 
   19704         # On Solaris (at least, for some versions), libc contains stubbed
   19705         # (non-functional) versions of the pthreads routines, so link-based
   19706         # tests will erroneously succeed.  (We need to link with -pthreads/-mt/
   19707         # -lpthread.)  (The stubs are missing pthread_cleanup_push, or rather
   19708         # a function called by this macro, so we could check for that, but
   19709         # who knows whether they'll stub that too in a future libc.)  So,
   19710         # we'll just look for -pthreads and -lpthread first:
   19711 
   19712         ax_pthread_flags="-pthreads pthread -mt -pthread $ax_pthread_flags"
   19713         ;;
   19714 
   19715         darwin*)
   19716         ax_pthread_flags="-pthread $ax_pthread_flags"
   19717         ;;
   19718 	netbsd*)
   19719 	# use libc stubs, don't link against libpthread, to allow
   19720 	# dynamic loading
   19721 	ax_pthread_flags=""
   19722 	;;
   19723 esac
   19724 
   19725 # Clang doesn't consider unrecognized options an error unless we specify
   19726 # -Werror. We throw in some extra Clang-specific options to ensure that
   19727 # this doesn't happen for GCC, which also accepts -Werror.
   19728 
   19729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler needs -Werror to reject unknown flags" >&5
   19730 printf %s "checking if compiler needs -Werror to reject unknown flags... " >&6; }
   19731 save_CFLAGS="$CFLAGS"
   19732 ax_pthread_extra_flags="-Werror"
   19733 CFLAGS="$CFLAGS $ax_pthread_extra_flags -Wunknown-warning-option -Wsizeof-array-argument"
   19734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19735 /* end confdefs.h.  */
   19736 int foo(void);
   19737 int
   19738 main (void)
   19739 {
   19740 foo()
   19741   ;
   19742   return 0;
   19743 }
   19744 _ACEOF
   19745 if ac_fn_c_try_compile "$LINENO"
   19746 then :
   19747   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19748 printf "%s\n" "yes" >&6; }
   19749 else $as_nop
   19750   ax_pthread_extra_flags=
   19751                    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19752 printf "%s\n" "no" >&6; }
   19753 fi
   19754 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19755 CFLAGS="$save_CFLAGS"
   19756 
   19757 if test x"$ax_pthread_ok" = xno; then
   19758 for flag in $ax_pthread_flags; do
   19759 
   19760         case $flag in
   19761                 none)
   19762                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
   19763 printf %s "checking whether pthreads work without any flags... " >&6; }
   19764                 ;;
   19765 
   19766                 -*)
   19767                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
   19768 printf %s "checking whether pthreads work with $flag... " >&6; }
   19769                 PTHREAD_CFLAGS="$flag"
   19770                 ;;
   19771 
   19772                 pthread-config)
   19773                 # Extract the first word of "pthread-config", so it can be a program name with args.
   19774 set dummy pthread-config; ac_word=$2
   19775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19776 printf %s "checking for $ac_word... " >&6; }
   19777 if test ${ac_cv_prog_ax_pthread_config+y}
   19778 then :
   19779   printf %s "(cached) " >&6
   19780 else $as_nop
   19781   if test -n "$ax_pthread_config"; then
   19782   ac_cv_prog_ax_pthread_config="$ax_pthread_config" # Let the user override the test.
   19783 else
   19784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19785 for as_dir in $PATH
   19786 do
   19787   IFS=$as_save_IFS
   19788   case $as_dir in #(((
   19789     '') as_dir=./ ;;
   19790     */) ;;
   19791     *) as_dir=$as_dir/ ;;
   19792   esac
   19793     for ac_exec_ext in '' $ac_executable_extensions; do
   19794   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   19795     ac_cv_prog_ax_pthread_config="yes"
   19796     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   19797     break 2
   19798   fi
   19799 done
   19800   done
   19801 IFS=$as_save_IFS
   19802 
   19803   test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config="no"
   19804 fi
   19805 fi
   19806 ax_pthread_config=$ac_cv_prog_ax_pthread_config
   19807 if test -n "$ax_pthread_config"; then
   19808   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
   19809 printf "%s\n" "$ax_pthread_config" >&6; }
   19810 else
   19811   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19812 printf "%s\n" "no" >&6; }
   19813 fi
   19814 
   19815 
   19816                 if test x"$ax_pthread_config" = xno; then continue; fi
   19817                 PTHREAD_CFLAGS="`pthread-config --cflags`"
   19818                 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
   19819                 ;;
   19820 
   19821                 *)
   19822                 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
   19823 printf %s "checking for the pthreads library -l$flag... " >&6; }
   19824                 PTHREAD_LIBS="-l$flag"
   19825                 ;;
   19826         esac
   19827 
   19828         save_LIBS="$LIBS"
   19829         save_CFLAGS="$CFLAGS"
   19830         LIBS="$PTHREAD_LIBS $LIBS"
   19831         CFLAGS="$CFLAGS $PTHREAD_CFLAGS $ax_pthread_extra_flags"
   19832 
   19833         # Check for various functions.  We must include pthread.h,
   19834         # since some functions may be macros.  (On the Sequent, we
   19835         # need a special flag -Kthread to make this header compile.)
   19836         # We check for pthread_join because it is in -lpthread on IRIX
   19837         # while pthread_create is in libc.  We check for pthread_attr_init
   19838         # due to DEC craziness with -lpthreads.  We check for
   19839         # pthread_cleanup_push because it is one of the few pthread
   19840         # functions on Solaris that doesn't have a non-functional libc stub.
   19841         # We try pthread_create on general principles.
   19842         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19843 /* end confdefs.h.  */
   19844 #include <pthread.h>
   19845                         static void routine(void *a) { a = 0; }
   19846                         static void *start_routine(void *a) { return a; }
   19847 int
   19848 main (void)
   19849 {
   19850 pthread_t th; pthread_attr_t attr;
   19851                         pthread_create(&th, 0, start_routine, 0);
   19852                         pthread_join(th, 0);
   19853                         pthread_attr_init(&attr);
   19854                         pthread_cleanup_push(routine, 0);
   19855                         pthread_cleanup_pop(0) /* ; */
   19856   ;
   19857   return 0;
   19858 }
   19859 _ACEOF
   19860 if ac_fn_c_try_link "$LINENO"
   19861 then :
   19862   ax_pthread_ok=yes
   19863 fi
   19864 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19865     conftest$ac_exeext conftest.$ac_ext
   19866 
   19867         LIBS="$save_LIBS"
   19868         CFLAGS="$save_CFLAGS"
   19869 
   19870         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
   19871 printf "%s\n" "$ax_pthread_ok" >&6; }
   19872         if test "x$ax_pthread_ok" = xyes; then
   19873                 break;
   19874         fi
   19875 
   19876         PTHREAD_LIBS=""
   19877         PTHREAD_CFLAGS=""
   19878 done
   19879 fi
   19880 
   19881 # Various other checks:
   19882 if test "x$ax_pthread_ok" = xyes; then
   19883         save_LIBS="$LIBS"
   19884         LIBS="$PTHREAD_LIBS $LIBS"
   19885         save_CFLAGS="$CFLAGS"
   19886         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   19887 
   19888         # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
   19889         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
   19890 printf %s "checking for joinable pthread attribute... " >&6; }
   19891         attr_name=unknown
   19892         for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
   19893             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19894 /* end confdefs.h.  */
   19895 #include <pthread.h>
   19896 int
   19897 main (void)
   19898 {
   19899 int attr = $attr; return attr /* ; */
   19900   ;
   19901   return 0;
   19902 }
   19903 _ACEOF
   19904 if ac_fn_c_try_link "$LINENO"
   19905 then :
   19906   attr_name=$attr; break
   19907 fi
   19908 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19909     conftest$ac_exeext conftest.$ac_ext
   19910         done
   19911         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
   19912 printf "%s\n" "$attr_name" >&6; }
   19913         if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
   19914 
   19915 printf "%s\n" "#define PTHREAD_CREATE_JOINABLE $attr_name" >>confdefs.h
   19916 
   19917         fi
   19918 
   19919         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
   19920 printf %s "checking if more special flags are required for pthreads... " >&6; }
   19921         flag=no
   19922         case ${host_os} in
   19923             aix* | freebsd* | darwin*) flag="-D_THREAD_SAFE";;
   19924             osf* | hpux*) flag="-D_REENTRANT";;
   19925             solaris*)
   19926             if test "$GCC" = "yes"; then
   19927                 flag="-D_REENTRANT"
   19928             else
   19929                 # TODO: What about Clang on Solaris?
   19930                 flag="-mt -D_REENTRANT"
   19931             fi
   19932             ;;
   19933         esac
   19934         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $flag" >&5
   19935 printf "%s\n" "$flag" >&6; }
   19936         if test "x$flag" != xno; then
   19937             PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
   19938         fi
   19939 
   19940         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
   19941 printf %s "checking for PTHREAD_PRIO_INHERIT... " >&6; }
   19942 if test ${ax_cv_PTHREAD_PRIO_INHERIT+y}
   19943 then :
   19944   printf %s "(cached) " >&6
   19945 else $as_nop
   19946 
   19947                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19948 /* end confdefs.h.  */
   19949 #include <pthread.h>
   19950 int
   19951 main (void)
   19952 {
   19953 int i = PTHREAD_PRIO_INHERIT;
   19954   ;
   19955   return 0;
   19956 }
   19957 _ACEOF
   19958 if ac_fn_c_try_link "$LINENO"
   19959 then :
   19960   ax_cv_PTHREAD_PRIO_INHERIT=yes
   19961 else $as_nop
   19962   ax_cv_PTHREAD_PRIO_INHERIT=no
   19963 fi
   19964 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19965     conftest$ac_exeext conftest.$ac_ext
   19966 
   19967 fi
   19968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
   19969 printf "%s\n" "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
   19970         if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes"
   19971 then :
   19972 
   19973 printf "%s\n" "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
   19974 
   19975 fi
   19976 
   19977         LIBS="$save_LIBS"
   19978         CFLAGS="$save_CFLAGS"
   19979 
   19980         # More AIX lossage: compile with *_r variant
   19981         if test "x$GCC" != xyes; then
   19982             case $host_os in
   19983                 aix*)
   19984                 case "x/$CC" in #(
   19985   x*/c89|x*/c89_128|x*/c99|x*/c99_128|x*/cc|x*/cc128|x*/xlc|x*/xlc_v6|x*/xlc128|x*/xlc128_v6) :
   19986     #handle absolute path differently from PATH based program lookup
   19987                    case "x$CC" in #(
   19988   x/*) :
   19989     if as_fn_executable_p ${CC}_r
   19990 then :
   19991   PTHREAD_CC="${CC}_r"
   19992 fi ;; #(
   19993   *) :
   19994     for ac_prog in ${CC}_r
   19995 do
   19996   # Extract the first word of "$ac_prog", so it can be a program name with args.
   19997 set dummy $ac_prog; ac_word=$2
   19998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19999 printf %s "checking for $ac_word... " >&6; }
   20000 if test ${ac_cv_prog_PTHREAD_CC+y}
   20001 then :
   20002   printf %s "(cached) " >&6
   20003 else $as_nop
   20004   if test -n "$PTHREAD_CC"; then
   20005   ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
   20006 else
   20007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20008 for as_dir in $PATH
   20009 do
   20010   IFS=$as_save_IFS
   20011   case $as_dir in #(((
   20012     '') as_dir=./ ;;
   20013     */) ;;
   20014     *) as_dir=$as_dir/ ;;
   20015   esac
   20016     for ac_exec_ext in '' $ac_executable_extensions; do
   20017   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20018     ac_cv_prog_PTHREAD_CC="$ac_prog"
   20019     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20020     break 2
   20021   fi
   20022 done
   20023   done
   20024 IFS=$as_save_IFS
   20025 
   20026 fi
   20027 fi
   20028 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
   20029 if test -n "$PTHREAD_CC"; then
   20030   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
   20031 printf "%s\n" "$PTHREAD_CC" >&6; }
   20032 else
   20033   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20034 printf "%s\n" "no" >&6; }
   20035 fi
   20036 
   20037 
   20038   test -n "$PTHREAD_CC" && break
   20039 done
   20040 test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
   20041  ;;
   20042 esac ;; #(
   20043   *) :
   20044      ;;
   20045 esac
   20046                 ;;
   20047             esac
   20048         fi
   20049 fi
   20050 
   20051 test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
   20052 
   20053 
   20054 
   20055 
   20056 
   20057 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
   20058 if test x"$ax_pthread_ok" = xyes; then
   20059         have_pthread=true
   20060         :
   20061 else
   20062         ax_pthread_ok=no
   20063 
   20064 fi
   20065 ac_ext=c
   20066 ac_cpp='$CPP $CPPFLAGS'
   20067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20070 
   20071 
   20072 fi
   20073 if $have_pthread; then
   20074 	LIBS="$PTHREAD_LIBS $LIBS"
   20075 	CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   20076 	CC="$PTHREAD_CC"
   20077 
   20078 printf "%s\n" "#define HAVE_PTHREAD 1" >>confdefs.h
   20079 
   20080 fi
   20081  if $have_pthread; then
   20082   HAVE_PTHREAD_TRUE=
   20083   HAVE_PTHREAD_FALSE='#'
   20084 else
   20085   HAVE_PTHREAD_TRUE='#'
   20086   HAVE_PTHREAD_FALSE=
   20087 fi
   20088 
   20089 
   20090 
   20091 
   20092 #
   20093 # Let people not build/install docs if they don't have docbook
   20094 #
   20095 
   20096 # Extract the first word of "docbook2html", so it can be a program name with args.
   20097 set dummy docbook2html; ac_word=$2
   20098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20099 printf %s "checking for $ac_word... " >&6; }
   20100 if test ${ac_cv_prog_HASDOCBOOK+y}
   20101 then :
   20102   printf %s "(cached) " >&6
   20103 else $as_nop
   20104   if test -n "$HASDOCBOOK"; then
   20105   ac_cv_prog_HASDOCBOOK="$HASDOCBOOK" # Let the user override the test.
   20106 else
   20107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20108 for as_dir in $PATH
   20109 do
   20110   IFS=$as_save_IFS
   20111   case $as_dir in #(((
   20112     '') as_dir=./ ;;
   20113     */) ;;
   20114     *) as_dir=$as_dir/ ;;
   20115   esac
   20116     for ac_exec_ext in '' $ac_executable_extensions; do
   20117   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20118     ac_cv_prog_HASDOCBOOK="yes"
   20119     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20120     break 2
   20121   fi
   20122 done
   20123   done
   20124 IFS=$as_save_IFS
   20125 
   20126   test -z "$ac_cv_prog_HASDOCBOOK" && ac_cv_prog_HASDOCBOOK="no"
   20127 fi
   20128 fi
   20129 HASDOCBOOK=$ac_cv_prog_HASDOCBOOK
   20130 if test -n "$HASDOCBOOK"; then
   20131   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $HASDOCBOOK" >&5
   20132 printf "%s\n" "$HASDOCBOOK" >&6; }
   20133 else
   20134   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20135 printf "%s\n" "no" >&6; }
   20136 fi
   20137 
   20138 
   20139 
   20140  if test "x$HASDOCBOOK" = xyes; then
   20141   USEDOCBOOK_TRUE=
   20142   USEDOCBOOK_FALSE='#'
   20143 else
   20144   USEDOCBOOK_TRUE='#'
   20145   USEDOCBOOK_FALSE=
   20146 fi
   20147 
   20148 
   20149 default_docs="yes"
   20150 #
   20151 # Check if docs exist or can be created
   20152 #
   20153 if test x$HASDOCBOOK = xno; then
   20154 	if test -f $srcdir/doc/fonts-conf.5; then
   20155 		:
   20156 	else
   20157 		default_docs="no"
   20158 	fi
   20159 fi
   20160 
   20161 # Check whether --enable-docs was given.
   20162 if test ${enable_docs+y}
   20163 then :
   20164   enableval=$enable_docs;
   20165 else $as_nop
   20166   enable_docs=$default_docs
   20167 fi
   20168 
   20169 
   20170  if test "x$enable_docs" = xyes; then
   20171   ENABLE_DOCS_TRUE=
   20172   ENABLE_DOCS_FALSE='#'
   20173 else
   20174   ENABLE_DOCS_TRUE='#'
   20175   ENABLE_DOCS_FALSE=
   20176 fi
   20177 
   20178 
   20179 if test "x$enable_docs" = xyes; then
   20180 	tmp=funcs.$$
   20181 	cat $srcdir/doc/*.fncs | awk '
   20182 	/^@TITLE@/	{ if (!done) { printf ("%s\n", $2); done = 1; } }
   20183 	/^@FUNC@/	{ if (!done) { printf ("%s\n", $2); done = 1; } }
   20184 	/^@@/		{ done = 0; }' > $tmp
   20185 	DOCMAN3=`cat $tmp | awk '{ printf ("%s.3 ", $1); }'`
   20186 	echo DOCMAN3 $DOCMAN3
   20187 	rm -f $tmp
   20188 else
   20189 	DOCMAN3=""
   20190 fi
   20191 
   20192 
   20193 default_cache_build="yes"
   20194 if test $cross_compiling = "yes"; then
   20195 	default_cache_build="no"
   20196 fi
   20197 # Check whether --enable-cache-build was given.
   20198 if test ${enable_cache_build+y}
   20199 then :
   20200   enableval=$enable_cache_build;
   20201 else $as_nop
   20202   enable_cache_build=$default_cache_build
   20203 fi
   20204 
   20205 
   20206  if test "x$enable_cache_build" = xyes; then
   20207   ENABLE_CACHE_BUILD_TRUE=
   20208   ENABLE_CACHE_BUILD_FALSE='#'
   20209 else
   20210   ENABLE_CACHE_BUILD_TRUE='#'
   20211   ENABLE_CACHE_BUILD_FALSE=
   20212 fi
   20213 
   20214 
   20215 
   20216  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
   20217 printf %s "checking whether byte ordering is bigendian... " >&6; }
   20218 if test ${ac_cv_c_bigendian+y}
   20219 then :
   20220   printf %s "(cached) " >&6
   20221 else $as_nop
   20222   ac_cv_c_bigendian=unknown
   20223     # See if we're dealing with a universal compiler.
   20224     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20225 /* end confdefs.h.  */
   20226 #ifndef __APPLE_CC__
   20227 	       not a universal capable compiler
   20228 	     #endif
   20229 	     typedef int dummy;
   20230 
   20231 _ACEOF
   20232 if ac_fn_c_try_compile "$LINENO"
   20233 then :
   20234 
   20235 	# Check for potential -arch flags.  It is not universal unless
   20236 	# there are at least two -arch flags with different values.
   20237 	ac_arch=
   20238 	ac_prev=
   20239 	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
   20240 	 if test -n "$ac_prev"; then
   20241 	   case $ac_word in
   20242 	     i?86 | x86_64 | ppc | ppc64)
   20243 	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
   20244 		 ac_arch=$ac_word
   20245 	       else
   20246 		 ac_cv_c_bigendian=universal
   20247 		 break
   20248 	       fi
   20249 	       ;;
   20250 	   esac
   20251 	   ac_prev=
   20252 	 elif test "x$ac_word" = "x-arch"; then
   20253 	   ac_prev=arch
   20254 	 fi
   20255        done
   20256 fi
   20257 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   20258     if test $ac_cv_c_bigendian = unknown; then
   20259       # See if sys/param.h defines the BYTE_ORDER macro.
   20260       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20261 /* end confdefs.h.  */
   20262 #include <sys/types.h>
   20263 	     #include <sys/param.h>
   20264 
   20265 int
   20266 main (void)
   20267 {
   20268 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
   20269 		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
   20270 		     && LITTLE_ENDIAN)
   20271 	      bogus endian macros
   20272 	     #endif
   20273 
   20274   ;
   20275   return 0;
   20276 }
   20277 _ACEOF
   20278 if ac_fn_c_try_compile "$LINENO"
   20279 then :
   20280   # It does; now see whether it defined to BIG_ENDIAN or not.
   20281 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20282 /* end confdefs.h.  */
   20283 #include <sys/types.h>
   20284 		#include <sys/param.h>
   20285 
   20286 int
   20287 main (void)
   20288 {
   20289 #if BYTE_ORDER != BIG_ENDIAN
   20290 		 not big endian
   20291 		#endif
   20292 
   20293   ;
   20294   return 0;
   20295 }
   20296 _ACEOF
   20297 if ac_fn_c_try_compile "$LINENO"
   20298 then :
   20299   ac_cv_c_bigendian=yes
   20300 else $as_nop
   20301   ac_cv_c_bigendian=no
   20302 fi
   20303 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   20304 fi
   20305 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   20306     fi
   20307     if test $ac_cv_c_bigendian = unknown; then
   20308       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
   20309       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20310 /* end confdefs.h.  */
   20311 #include <limits.h>
   20312 
   20313 int
   20314 main (void)
   20315 {
   20316 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
   20317 	      bogus endian macros
   20318 	     #endif
   20319 
   20320   ;
   20321   return 0;
   20322 }
   20323 _ACEOF
   20324 if ac_fn_c_try_compile "$LINENO"
   20325 then :
   20326   # It does; now see whether it defined to _BIG_ENDIAN or not.
   20327 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20328 /* end confdefs.h.  */
   20329 #include <limits.h>
   20330 
   20331 int
   20332 main (void)
   20333 {
   20334 #ifndef _BIG_ENDIAN
   20335 		 not big endian
   20336 		#endif
   20337 
   20338   ;
   20339   return 0;
   20340 }
   20341 _ACEOF
   20342 if ac_fn_c_try_compile "$LINENO"
   20343 then :
   20344   ac_cv_c_bigendian=yes
   20345 else $as_nop
   20346   ac_cv_c_bigendian=no
   20347 fi
   20348 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   20349 fi
   20350 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   20351     fi
   20352     if test $ac_cv_c_bigendian = unknown; then
   20353       # Compile a test program.
   20354       if test "$cross_compiling" = yes
   20355 then :
   20356   # Try to guess by grepping values from an object file.
   20357 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20358 /* end confdefs.h.  */
   20359 unsigned short int ascii_mm[] =
   20360 		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
   20361 		unsigned short int ascii_ii[] =
   20362 		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
   20363 		int use_ascii (int i) {
   20364 		  return ascii_mm[i] + ascii_ii[i];
   20365 		}
   20366 		unsigned short int ebcdic_ii[] =
   20367 		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
   20368 		unsigned short int ebcdic_mm[] =
   20369 		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
   20370 		int use_ebcdic (int i) {
   20371 		  return ebcdic_mm[i] + ebcdic_ii[i];
   20372 		}
   20373 		extern int foo;
   20374 
   20375 int
   20376 main (void)
   20377 {
   20378 return use_ascii (foo) == use_ebcdic (foo);
   20379   ;
   20380   return 0;
   20381 }
   20382 _ACEOF
   20383 if ac_fn_c_try_compile "$LINENO"
   20384 then :
   20385   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
   20386 	      ac_cv_c_bigendian=yes
   20387 	    fi
   20388 	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
   20389 	      if test "$ac_cv_c_bigendian" = unknown; then
   20390 		ac_cv_c_bigendian=no
   20391 	      else
   20392 		# finding both strings is unlikely to happen, but who knows?
   20393 		ac_cv_c_bigendian=unknown
   20394 	      fi
   20395 	    fi
   20396 fi
   20397 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   20398 else $as_nop
   20399   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20400 /* end confdefs.h.  */
   20401 $ac_includes_default
   20402 int
   20403 main (void)
   20404 {
   20405 
   20406 	     /* Are we little or big endian?  From Harbison&Steele.  */
   20407 	     union
   20408 	     {
   20409 	       long int l;
   20410 	       char c[sizeof (long int)];
   20411 	     } u;
   20412 	     u.l = 1;
   20413 	     return u.c[sizeof (long int) - 1] == 1;
   20414 
   20415   ;
   20416   return 0;
   20417 }
   20418 _ACEOF
   20419 if ac_fn_c_try_run "$LINENO"
   20420 then :
   20421   ac_cv_c_bigendian=no
   20422 else $as_nop
   20423   ac_cv_c_bigendian=yes
   20424 fi
   20425 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   20426   conftest.$ac_objext conftest.beam conftest.$ac_ext
   20427 fi
   20428 
   20429     fi
   20430 fi
   20431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
   20432 printf "%s\n" "$ac_cv_c_bigendian" >&6; }
   20433  case $ac_cv_c_bigendian in #(
   20434    yes)
   20435      printf "%s\n" "#define WORDS_BIGENDIAN 1" >>confdefs.h
   20436 ;; #(
   20437    no)
   20438       ;; #(
   20439    universal)
   20440 
   20441 printf "%s\n" "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
   20442 
   20443      ;; #(
   20444    *)
   20445      as_fn_error $? "unknown endianness
   20446  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
   20447  esac
   20448 
   20449 # The cast to long int works around a bug in the HP C Compiler
   20450 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   20451 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   20452 # This bug is HP SR number 8606223364.
   20453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
   20454 printf %s "checking size of void *... " >&6; }
   20455 if test ${ac_cv_sizeof_void_p+y}
   20456 then :
   20457   printf %s "(cached) " >&6
   20458 else $as_nop
   20459   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"
   20460 then :
   20461 
   20462 else $as_nop
   20463   if test "$ac_cv_type_void_p" = yes; then
   20464      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   20465 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   20466 as_fn_error 77 "cannot compute sizeof (void *)
   20467 See \`config.log' for more details" "$LINENO" 5; }
   20468    else
   20469      ac_cv_sizeof_void_p=0
   20470    fi
   20471 fi
   20472 
   20473 fi
   20474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
   20475 printf "%s\n" "$ac_cv_sizeof_void_p" >&6; }
   20476 
   20477 
   20478 
   20479 printf "%s\n" "#define SIZEOF_VOID_P $ac_cv_sizeof_void_p" >>confdefs.h
   20480 
   20481 
   20482 # The cast to long int works around a bug in the HP C Compiler,
   20483 # see AC_CHECK_SIZEOF for more information.
   20484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking alignment of double" >&5
   20485 printf %s "checking alignment of double... " >&6; }
   20486 if test ${ac_cv_alignof_double+y}
   20487 then :
   20488   printf %s "(cached) " >&6
   20489 else $as_nop
   20490   if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_double"        "$ac_includes_default
   20491 typedef struct { char x; double y; } ac__type_alignof_;"
   20492 then :
   20493 
   20494 else $as_nop
   20495   if test "$ac_cv_type_double" = yes; then
   20496      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   20497 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   20498 as_fn_error 77 "cannot compute alignment of double
   20499 See \`config.log' for more details" "$LINENO" 5; }
   20500    else
   20501      ac_cv_alignof_double=0
   20502    fi
   20503 fi
   20504 
   20505 fi
   20506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_double" >&5
   20507 printf "%s\n" "$ac_cv_alignof_double" >&6; }
   20508 
   20509 
   20510 
   20511 printf "%s\n" "#define ALIGNOF_DOUBLE $ac_cv_alignof_double" >>confdefs.h
   20512 
   20513 
   20514 # The cast to long int works around a bug in the HP C Compiler,
   20515 # see AC_CHECK_SIZEOF for more information.
   20516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking alignment of void *" >&5
   20517 printf %s "checking alignment of void *... " >&6; }
   20518 if test ${ac_cv_alignof_void_p+y}
   20519 then :
   20520   printf %s "(cached) " >&6
   20521 else $as_nop
   20522   if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_void_p"        "$ac_includes_default
   20523 typedef struct { char x; void * y; } ac__type_alignof_;"
   20524 then :
   20525 
   20526 else $as_nop
   20527   if test "$ac_cv_type_void_p" = yes; then
   20528      { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   20529 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   20530 as_fn_error 77 "cannot compute alignment of void *
   20531 See \`config.log' for more details" "$LINENO" 5; }
   20532    else
   20533      ac_cv_alignof_void_p=0
   20534    fi
   20535 fi
   20536 
   20537 fi
   20538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_void_p" >&5
   20539 printf "%s\n" "$ac_cv_alignof_void_p" >&6; }
   20540 
   20541 
   20542 
   20543 printf "%s\n" "#define ALIGNOF_VOID_P $ac_cv_alignof_void_p" >>confdefs.h
   20544 
   20545 
   20546 
   20547 
   20548 
   20549 
   20550 
   20551 
   20552 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"
   20553 
   20554 cat >confcache <<\_ACEOF
   20555 # This file is a shell script that caches the results of configure
   20556 # tests run on this system so they can be shared between configure
   20557 # scripts and configure runs, see configure's option --config-cache.
   20558 # It is not useful on other systems.  If it contains results you don't
   20559 # want to keep, you may remove or edit it.
   20560 #
   20561 # config.status only pays attention to the cache file if you give it
   20562 # the --recheck option to rerun configure.
   20563 #
   20564 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   20565 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   20566 # following values.
   20567 
   20568 _ACEOF
   20569 
   20570 # The following way of writing the cache mishandles newlines in values,
   20571 # but we know of no workaround that is simple, portable, and efficient.
   20572 # So, we kill variables containing newlines.
   20573 # Ultrix sh set writes to stderr and can't be redirected directly,
   20574 # and sets the high bit in the cache file unless we assign to the vars.
   20575 (
   20576   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   20577     eval ac_val=\$$ac_var
   20578     case $ac_val in #(
   20579     *${as_nl}*)
   20580       case $ac_var in #(
   20581       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   20582 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   20583       esac
   20584       case $ac_var in #(
   20585       _ | IFS | as_nl) ;; #(
   20586       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   20587       *) { eval $ac_var=; unset $ac_var;} ;;
   20588       esac ;;
   20589     esac
   20590   done
   20591 
   20592   (set) 2>&1 |
   20593     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   20594     *${as_nl}ac_space=\ *)
   20595       # `set' does not quote correctly, so add quotes: double-quote
   20596       # substitution turns \\\\ into \\, and sed turns \\ into \.
   20597       sed -n \
   20598 	"s/'/'\\\\''/g;
   20599 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   20600       ;; #(
   20601     *)
   20602       # `set' quotes correctly as required by POSIX, so do not add quotes.
   20603       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   20604       ;;
   20605     esac |
   20606     sort
   20607 ) |
   20608   sed '
   20609      /^ac_cv_env_/b end
   20610      t clear
   20611      :clear
   20612      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   20613      t end
   20614      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   20615      :end' >>confcache
   20616 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   20617   if test -w "$cache_file"; then
   20618     if test "x$cache_file" != "x/dev/null"; then
   20619       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   20620 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   20621       if test ! -f "$cache_file" || test -h "$cache_file"; then
   20622 	cat confcache >"$cache_file"
   20623       else
   20624         case $cache_file in #(
   20625         */* | ?:*)
   20626 	  mv -f confcache "$cache_file"$$ &&
   20627 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   20628         *)
   20629 	  mv -f confcache "$cache_file" ;;
   20630 	esac
   20631       fi
   20632     fi
   20633   else
   20634     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   20635 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   20636   fi
   20637 fi
   20638 rm -f confcache
   20639 
   20640 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   20641 # Let make expand exec_prefix.
   20642 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   20643 
   20644 DEFS=-DHAVE_CONFIG_H
   20645 
   20646 ac_libobjs=
   20647 ac_ltlibobjs=
   20648 U=
   20649 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   20650   # 1. Remove the extension, and $U if already installed.
   20651   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   20652   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   20653   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   20654   #    will be set to the directory where LIBOBJS objects are built.
   20655   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   20656   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   20657 done
   20658 LIBOBJS=$ac_libobjs
   20659 
   20660 LTLIBOBJS=$ac_ltlibobjs
   20661 
   20662 
   20663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   20664 printf %s "checking that generated files are newer than configure... " >&6; }
   20665    if test -n "$am_sleep_pid"; then
   20666      # Hide warnings about reused PIDs.
   20667      wait $am_sleep_pid 2>/dev/null
   20668    fi
   20669    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   20670 printf "%s\n" "done" >&6; }
   20671  if test -n "$EXEEXT"; then
   20672   am__EXEEXT_TRUE=
   20673   am__EXEEXT_FALSE='#'
   20674 else
   20675   am__EXEEXT_TRUE='#'
   20676   am__EXEEXT_FALSE=
   20677 fi
   20678 
   20679 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   20680   as_fn_error $? "conditional \"AMDEP\" was never defined.
   20681 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20682 fi
   20683 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   20684   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   20685 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20686 fi
   20687 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
   20688   as_fn_error $? "conditional \"OS_WIN32\" was never defined.
   20689 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20690 fi
   20691 if test -z "${OS_DARWIN_TRUE}" && test -z "${OS_DARWIN_FALSE}"; then
   20692   as_fn_error $? "conditional \"OS_DARWIN\" was never defined.
   20693 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20694 fi
   20695 if test -z "${MS_LIB_AVAILABLE_TRUE}" && test -z "${MS_LIB_AVAILABLE_FALSE}"; then
   20696   as_fn_error $? "conditional \"MS_LIB_AVAILABLE\" was never defined.
   20697 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20698 fi
   20699 if test -z "${CROSS_COMPILING_TRUE}" && test -z "${CROSS_COMPILING_FALSE}"; then
   20700   as_fn_error $? "conditional \"CROSS_COMPILING\" was never defined.
   20701 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20702 fi
   20703 if test -z "${ENABLE_SHARED_TRUE}" && test -z "${ENABLE_SHARED_FALSE}"; then
   20704   as_fn_error $? "conditional \"ENABLE_SHARED\" was never defined.
   20705 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20706 fi
   20707 if test -z "${FREETYPE_PCF_LONG_FAMILY_NAMES_TRUE}" && test -z "${FREETYPE_PCF_LONG_FAMILY_NAMES_FALSE}"; then
   20708   as_fn_error $? "conditional \"FREETYPE_PCF_LONG_FAMILY_NAMES\" was never defined.
   20709 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20710 fi
   20711 if test -z "${ENABLE_JSONC_TRUE}" && test -z "${ENABLE_JSONC_FALSE}"; then
   20712   as_fn_error $? "conditional \"ENABLE_JSONC\" was never defined.
   20713 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20714 fi
   20715 if test -z "${HAVE_PTHREAD_TRUE}" && test -z "${HAVE_PTHREAD_FALSE}"; then
   20716   as_fn_error $? "conditional \"HAVE_PTHREAD\" was never defined.
   20717 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20718 fi
   20719 if test -z "${USEDOCBOOK_TRUE}" && test -z "${USEDOCBOOK_FALSE}"; then
   20720   as_fn_error $? "conditional \"USEDOCBOOK\" was never defined.
   20721 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20722 fi
   20723 if test -z "${ENABLE_DOCS_TRUE}" && test -z "${ENABLE_DOCS_FALSE}"; then
   20724   as_fn_error $? "conditional \"ENABLE_DOCS\" was never defined.
   20725 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20726 fi
   20727 if test -z "${ENABLE_CACHE_BUILD_TRUE}" && test -z "${ENABLE_CACHE_BUILD_FALSE}"; then
   20728   as_fn_error $? "conditional \"ENABLE_CACHE_BUILD\" was never defined.
   20729 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20730 fi
   20731 
   20732 
   20733 : "${CONFIG_STATUS=./config.status}"
   20734 ac_write_fail=0
   20735 ac_clean_files_save=$ac_clean_files
   20736 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   20737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   20738 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   20739 as_write_fail=0
   20740 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   20741 #! $SHELL
   20742 # Generated by $as_me.
   20743 # Run this file to recreate the current configuration.
   20744 # Compiler output produced by configure, useful for debugging
   20745 # configure, is in config.log if it exists.
   20746 
   20747 debug=false
   20748 ac_cs_recheck=false
   20749 ac_cs_silent=false
   20750 
   20751 SHELL=\${CONFIG_SHELL-$SHELL}
   20752 export SHELL
   20753 _ASEOF
   20754 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   20755 ## -------------------- ##
   20756 ## M4sh Initialization. ##
   20757 ## -------------------- ##
   20758 
   20759 # Be more Bourne compatible
   20760 DUALCASE=1; export DUALCASE # for MKS sh
   20761 as_nop=:
   20762 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   20763 then :
   20764   emulate sh
   20765   NULLCMD=:
   20766   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   20767   # is contrary to our usage.  Disable this feature.
   20768   alias -g '${1+"$@"}'='"$@"'
   20769   setopt NO_GLOB_SUBST
   20770 else $as_nop
   20771   case `(set -o) 2>/dev/null` in #(
   20772   *posix*) :
   20773     set -o posix ;; #(
   20774   *) :
   20775      ;;
   20776 esac
   20777 fi
   20778 
   20779 
   20780 
   20781 # Reset variables that may have inherited troublesome values from
   20782 # the environment.
   20783 
   20784 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   20785 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   20786 # side effect of setting IFS to empty, thus disabling word splitting.)
   20787 # Quoting is to prevent editors from complaining about space-tab.
   20788 as_nl='
   20789 '
   20790 export as_nl
   20791 IFS=" ""	$as_nl"
   20792 
   20793 PS1='$ '
   20794 PS2='> '
   20795 PS4='+ '
   20796 
   20797 # Ensure predictable behavior from utilities with locale-dependent output.
   20798 LC_ALL=C
   20799 export LC_ALL
   20800 LANGUAGE=C
   20801 export LANGUAGE
   20802 
   20803 # We cannot yet rely on "unset" to work, but we need these variables
   20804 # to be unset--not just set to an empty or harmless value--now, to
   20805 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   20806 # also avoids known problems related to "unset" and subshell syntax
   20807 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   20808 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   20809 do eval test \${$as_var+y} \
   20810   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   20811 done
   20812 
   20813 # Ensure that fds 0, 1, and 2 are open.
   20814 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   20815 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   20816 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   20817 
   20818 # The user is always right.
   20819 if ${PATH_SEPARATOR+false} :; then
   20820   PATH_SEPARATOR=:
   20821   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   20822     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   20823       PATH_SEPARATOR=';'
   20824   }
   20825 fi
   20826 
   20827 
   20828 # Find who we are.  Look in the path if we contain no directory separator.
   20829 as_myself=
   20830 case $0 in #((
   20831   *[\\/]* ) as_myself=$0 ;;
   20832   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20833 for as_dir in $PATH
   20834 do
   20835   IFS=$as_save_IFS
   20836   case $as_dir in #(((
   20837     '') as_dir=./ ;;
   20838     */) ;;
   20839     *) as_dir=$as_dir/ ;;
   20840   esac
   20841     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   20842   done
   20843 IFS=$as_save_IFS
   20844 
   20845      ;;
   20846 esac
   20847 # We did not find ourselves, most probably we were run as `sh COMMAND'
   20848 # in which case we are not to be found in the path.
   20849 if test "x$as_myself" = x; then
   20850   as_myself=$0
   20851 fi
   20852 if test ! -f "$as_myself"; then
   20853   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   20854   exit 1
   20855 fi
   20856 
   20857 
   20858 
   20859 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   20860 # ----------------------------------------
   20861 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   20862 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   20863 # script with STATUS, using 1 if that was 0.
   20864 as_fn_error ()
   20865 {
   20866   as_status=$1; test $as_status -eq 0 && as_status=1
   20867   if test "$4"; then
   20868     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   20869     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   20870   fi
   20871   printf "%s\n" "$as_me: error: $2" >&2
   20872   as_fn_exit $as_status
   20873 } # as_fn_error
   20874 
   20875 
   20876 
   20877 # as_fn_set_status STATUS
   20878 # -----------------------
   20879 # Set $? to STATUS, without forking.
   20880 as_fn_set_status ()
   20881 {
   20882   return $1
   20883 } # as_fn_set_status
   20884 
   20885 # as_fn_exit STATUS
   20886 # -----------------
   20887 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   20888 as_fn_exit ()
   20889 {
   20890   set +e
   20891   as_fn_set_status $1
   20892   exit $1
   20893 } # as_fn_exit
   20894 
   20895 # as_fn_unset VAR
   20896 # ---------------
   20897 # Portably unset VAR.
   20898 as_fn_unset ()
   20899 {
   20900   { eval $1=; unset $1;}
   20901 }
   20902 as_unset=as_fn_unset
   20903 
   20904 # as_fn_append VAR VALUE
   20905 # ----------------------
   20906 # Append the text in VALUE to the end of the definition contained in VAR. Take
   20907 # advantage of any shell optimizations that allow amortized linear growth over
   20908 # repeated appends, instead of the typical quadratic growth present in naive
   20909 # implementations.
   20910 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   20911 then :
   20912   eval 'as_fn_append ()
   20913   {
   20914     eval $1+=\$2
   20915   }'
   20916 else $as_nop
   20917   as_fn_append ()
   20918   {
   20919     eval $1=\$$1\$2
   20920   }
   20921 fi # as_fn_append
   20922 
   20923 # as_fn_arith ARG...
   20924 # ------------------
   20925 # Perform arithmetic evaluation on the ARGs, and store the result in the
   20926 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   20927 # must be portable across $(()) and expr.
   20928 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   20929 then :
   20930   eval 'as_fn_arith ()
   20931   {
   20932     as_val=$(( $* ))
   20933   }'
   20934 else $as_nop
   20935   as_fn_arith ()
   20936   {
   20937     as_val=`expr "$@" || test $? -eq 1`
   20938   }
   20939 fi # as_fn_arith
   20940 
   20941 
   20942 if expr a : '\(a\)' >/dev/null 2>&1 &&
   20943    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   20944   as_expr=expr
   20945 else
   20946   as_expr=false
   20947 fi
   20948 
   20949 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   20950   as_basename=basename
   20951 else
   20952   as_basename=false
   20953 fi
   20954 
   20955 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   20956   as_dirname=dirname
   20957 else
   20958   as_dirname=false
   20959 fi
   20960 
   20961 as_me=`$as_basename -- "$0" ||
   20962 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   20963 	 X"$0" : 'X\(//\)$' \| \
   20964 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   20965 printf "%s\n" X/"$0" |
   20966     sed '/^.*\/\([^/][^/]*\)\/*$/{
   20967 	    s//\1/
   20968 	    q
   20969 	  }
   20970 	  /^X\/\(\/\/\)$/{
   20971 	    s//\1/
   20972 	    q
   20973 	  }
   20974 	  /^X\/\(\/\).*/{
   20975 	    s//\1/
   20976 	    q
   20977 	  }
   20978 	  s/.*/./; q'`
   20979 
   20980 # Avoid depending upon Character Ranges.
   20981 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   20982 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   20983 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   20984 as_cr_digits='0123456789'
   20985 as_cr_alnum=$as_cr_Letters$as_cr_digits
   20986 
   20987 
   20988 # Determine whether it's possible to make 'echo' print without a newline.
   20989 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   20990 # for compatibility with existing Makefiles.
   20991 ECHO_C= ECHO_N= ECHO_T=
   20992 case `echo -n x` in #(((((
   20993 -n*)
   20994   case `echo 'xy\c'` in
   20995   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   20996   xy)  ECHO_C='\c';;
   20997   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   20998        ECHO_T='	';;
   20999   esac;;
   21000 *)
   21001   ECHO_N='-n';;
   21002 esac
   21003 
   21004 # For backward compatibility with old third-party macros, we provide
   21005 # the shell variables $as_echo and $as_echo_n.  New code should use
   21006 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   21007 as_echo='printf %s\n'
   21008 as_echo_n='printf %s'
   21009 
   21010 rm -f conf$$ conf$$.exe conf$$.file
   21011 if test -d conf$$.dir; then
   21012   rm -f conf$$.dir/conf$$.file
   21013 else
   21014   rm -f conf$$.dir
   21015   mkdir conf$$.dir 2>/dev/null
   21016 fi
   21017 if (echo >conf$$.file) 2>/dev/null; then
   21018   if ln -s conf$$.file conf$$ 2>/dev/null; then
   21019     as_ln_s='ln -s'
   21020     # ... but there are two gotchas:
   21021     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   21022     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   21023     # In both cases, we have to default to `cp -pR'.
   21024     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   21025       as_ln_s='cp -pR'
   21026   elif ln conf$$.file conf$$ 2>/dev/null; then
   21027     as_ln_s=ln
   21028   else
   21029     as_ln_s='cp -pR'
   21030   fi
   21031 else
   21032   as_ln_s='cp -pR'
   21033 fi
   21034 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   21035 rmdir conf$$.dir 2>/dev/null
   21036 
   21037 
   21038 # as_fn_mkdir_p
   21039 # -------------
   21040 # Create "$as_dir" as a directory, including parents if necessary.
   21041 as_fn_mkdir_p ()
   21042 {
   21043 
   21044   case $as_dir in #(
   21045   -*) as_dir=./$as_dir;;
   21046   esac
   21047   test -d "$as_dir" || eval $as_mkdir_p || {
   21048     as_dirs=
   21049     while :; do
   21050       case $as_dir in #(
   21051       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   21052       *) as_qdir=$as_dir;;
   21053       esac
   21054       as_dirs="'$as_qdir' $as_dirs"
   21055       as_dir=`$as_dirname -- "$as_dir" ||
   21056 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21057 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   21058 	 X"$as_dir" : 'X\(//\)$' \| \
   21059 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   21060 printf "%s\n" X"$as_dir" |
   21061     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21062 	    s//\1/
   21063 	    q
   21064 	  }
   21065 	  /^X\(\/\/\)[^/].*/{
   21066 	    s//\1/
   21067 	    q
   21068 	  }
   21069 	  /^X\(\/\/\)$/{
   21070 	    s//\1/
   21071 	    q
   21072 	  }
   21073 	  /^X\(\/\).*/{
   21074 	    s//\1/
   21075 	    q
   21076 	  }
   21077 	  s/.*/./; q'`
   21078       test -d "$as_dir" && break
   21079     done
   21080     test -z "$as_dirs" || eval "mkdir $as_dirs"
   21081   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   21082 
   21083 
   21084 } # as_fn_mkdir_p
   21085 if mkdir -p . 2>/dev/null; then
   21086   as_mkdir_p='mkdir -p "$as_dir"'
   21087 else
   21088   test -d ./-p && rmdir ./-p
   21089   as_mkdir_p=false
   21090 fi
   21091 
   21092 
   21093 # as_fn_executable_p FILE
   21094 # -----------------------
   21095 # Test if FILE is an executable regular file.
   21096 as_fn_executable_p ()
   21097 {
   21098   test -f "$1" && test -x "$1"
   21099 } # as_fn_executable_p
   21100 as_test_x='test -x'
   21101 as_executable_p=as_fn_executable_p
   21102 
   21103 # Sed expression to map a string onto a valid CPP name.
   21104 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   21105 
   21106 # Sed expression to map a string onto a valid variable name.
   21107 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   21108 
   21109 
   21110 exec 6>&1
   21111 ## ----------------------------------- ##
   21112 ## Main body of $CONFIG_STATUS script. ##
   21113 ## ----------------------------------- ##
   21114 _ASEOF
   21115 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   21116 
   21117 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21118 # Save the log message, to keep $0 and so on meaningful, and to
   21119 # report actual input values of CONFIG_FILES etc. instead of their
   21120 # values after options handling.
   21121 ac_log="
   21122 This file was extended by fontconfig $as_me 2.14.0, which was
   21123 generated by GNU Autoconf 2.71.  Invocation command line was
   21124 
   21125   CONFIG_FILES    = $CONFIG_FILES
   21126   CONFIG_HEADERS  = $CONFIG_HEADERS
   21127   CONFIG_LINKS    = $CONFIG_LINKS
   21128   CONFIG_COMMANDS = $CONFIG_COMMANDS
   21129   $ $0 $@
   21130 
   21131 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   21132 "
   21133 
   21134 _ACEOF
   21135 
   21136 case $ac_config_files in *"
   21137 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   21138 esac
   21139 
   21140 case $ac_config_headers in *"
   21141 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   21142 esac
   21143 
   21144 
   21145 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21146 # Files that config.status was made for.
   21147 config_files="$ac_config_files"
   21148 config_headers="$ac_config_headers"
   21149 config_commands="$ac_config_commands"
   21150 
   21151 _ACEOF
   21152 
   21153 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21154 ac_cs_usage="\
   21155 \`$as_me' instantiates files and other configuration actions
   21156 from templates according to the current configuration.  Unless the files
   21157 and actions are specified as TAGs, all are instantiated by default.
   21158 
   21159 Usage: $0 [OPTION]... [TAG]...
   21160 
   21161   -h, --help       print this help, then exit
   21162   -V, --version    print version number and configuration settings, then exit
   21163       --config     print configuration, then exit
   21164   -q, --quiet, --silent
   21165                    do not print progress messages
   21166   -d, --debug      don't remove temporary files
   21167       --recheck    update $as_me by reconfiguring in the same conditions
   21168       --file=FILE[:TEMPLATE]
   21169                    instantiate the configuration file FILE
   21170       --header=FILE[:TEMPLATE]
   21171                    instantiate the configuration header FILE
   21172 
   21173 Configuration files:
   21174 $config_files
   21175 
   21176 Configuration headers:
   21177 $config_headers
   21178 
   21179 Configuration commands:
   21180 $config_commands
   21181 
   21182 Report bugs to <https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/new>."
   21183 
   21184 _ACEOF
   21185 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   21186 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   21187 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21188 ac_cs_config='$ac_cs_config_escaped'
   21189 ac_cs_version="\\
   21190 fontconfig config.status 2.14.0
   21191 configured by $0, generated by GNU Autoconf 2.71,
   21192   with options \\"\$ac_cs_config\\"
   21193 
   21194 Copyright (C) 2021 Free Software Foundation, Inc.
   21195 This config.status script is free software; the Free Software Foundation
   21196 gives unlimited permission to copy, distribute and modify it."
   21197 
   21198 ac_pwd='$ac_pwd'
   21199 srcdir='$srcdir'
   21200 INSTALL='$INSTALL'
   21201 MKDIR_P='$MKDIR_P'
   21202 AWK='$AWK'
   21203 test -n "\$AWK" || AWK=awk
   21204 _ACEOF
   21205 
   21206 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21207 # The default lists apply if the user does not specify any file.
   21208 ac_need_defaults=:
   21209 while test $# != 0
   21210 do
   21211   case $1 in
   21212   --*=?*)
   21213     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21214     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   21215     ac_shift=:
   21216     ;;
   21217   --*=)
   21218     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21219     ac_optarg=
   21220     ac_shift=:
   21221     ;;
   21222   *)
   21223     ac_option=$1
   21224     ac_optarg=$2
   21225     ac_shift=shift
   21226     ;;
   21227   esac
   21228 
   21229   case $ac_option in
   21230   # Handling of the options.
   21231   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   21232     ac_cs_recheck=: ;;
   21233   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   21234     printf "%s\n" "$ac_cs_version"; exit ;;
   21235   --config | --confi | --conf | --con | --co | --c )
   21236     printf "%s\n" "$ac_cs_config"; exit ;;
   21237   --debug | --debu | --deb | --de | --d | -d )
   21238     debug=: ;;
   21239   --file | --fil | --fi | --f )
   21240     $ac_shift
   21241     case $ac_optarg in
   21242     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21243     '') as_fn_error $? "missing file argument" ;;
   21244     esac
   21245     as_fn_append CONFIG_FILES " '$ac_optarg'"
   21246     ac_need_defaults=false;;
   21247   --header | --heade | --head | --hea )
   21248     $ac_shift
   21249     case $ac_optarg in
   21250     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21251     esac
   21252     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   21253     ac_need_defaults=false;;
   21254   --he | --h)
   21255     # Conflict between --help and --header
   21256     as_fn_error $? "ambiguous option: \`$1'
   21257 Try \`$0 --help' for more information.";;
   21258   --help | --hel | -h )
   21259     printf "%s\n" "$ac_cs_usage"; exit ;;
   21260   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   21261   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   21262     ac_cs_silent=: ;;
   21263 
   21264   # This is an error.
   21265   -*) as_fn_error $? "unrecognized option: \`$1'
   21266 Try \`$0 --help' for more information." ;;
   21267 
   21268   *) as_fn_append ac_config_targets " $1"
   21269      ac_need_defaults=false ;;
   21270 
   21271   esac
   21272   shift
   21273 done
   21274 
   21275 ac_configure_extra_args=
   21276 
   21277 if $ac_cs_silent; then
   21278   exec 6>/dev/null
   21279   ac_configure_extra_args="$ac_configure_extra_args --silent"
   21280 fi
   21281 
   21282 _ACEOF
   21283 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21284 if \$ac_cs_recheck; then
   21285   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   21286   shift
   21287   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   21288   CONFIG_SHELL='$SHELL'
   21289   export CONFIG_SHELL
   21290   exec "\$@"
   21291 fi
   21292 
   21293 _ACEOF
   21294 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21295 exec 5>>config.log
   21296 {
   21297   echo
   21298   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   21299 ## Running $as_me. ##
   21300 _ASBOX
   21301   printf "%s\n" "$ac_log"
   21302 } >&5
   21303 
   21304 _ACEOF
   21305 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21306 #
   21307 # INIT-COMMANDS
   21308 #
   21309 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   21310 
   21311 
   21312 # The HP-UX ksh and POSIX shell print the target directory to stdout
   21313 # if CDPATH is set.
   21314 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   21315 
   21316 sed_quote_subst='$sed_quote_subst'
   21317 double_quote_subst='$double_quote_subst'
   21318 delay_variable_subst='$delay_variable_subst'
   21319 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   21320 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   21321 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   21322 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
   21323 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   21324 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   21325 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   21326 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   21327 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   21328 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   21329 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   21330 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   21331 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   21332 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   21333 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   21334 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   21335 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   21336 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   21337 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   21338 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   21339 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   21340 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   21341 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   21342 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   21343 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   21344 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   21345 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   21346 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   21347 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   21348 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   21349 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   21350 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   21351 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   21352 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   21353 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   21354 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   21355 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   21356 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   21357 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   21358 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   21359 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   21360 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   21361 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   21362 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   21363 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   21364 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   21365 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   21366 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21367 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21368 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   21369 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   21370 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   21371 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   21372 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   21373 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   21374 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   21375 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   21376 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   21377 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   21378 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"`'
   21379 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   21380 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   21381 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   21382 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   21383 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   21384 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   21385 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   21386 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   21387 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   21388 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   21389 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   21390 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   21391 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   21392 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   21393 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   21394 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   21395 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   21396 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   21397 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   21398 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   21399 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21400 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   21401 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   21402 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   21403 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   21404 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   21405 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   21406 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21407 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   21408 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21409 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   21410 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21411 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   21412 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21413 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21414 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   21415 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   21416 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   21417 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   21418 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   21419 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21420 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   21421 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   21422 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   21423 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   21424 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   21425 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   21426 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   21427 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   21428 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   21429 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   21430 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   21431 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   21432 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   21433 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   21434 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   21435 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21436 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   21437 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   21438 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   21439 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   21440 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   21441 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21442 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21443 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   21444 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   21445 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   21446 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   21447 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   21448 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   21449 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   21450 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   21451 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   21452 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   21453 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   21454 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   21455 
   21456 LTCC='$LTCC'
   21457 LTCFLAGS='$LTCFLAGS'
   21458 compiler='$compiler_DEFAULT'
   21459 
   21460 # A function that is used when there is no print builtin or printf.
   21461 func_fallback_echo ()
   21462 {
   21463   eval 'cat <<_LTECHO_EOF
   21464 \$1
   21465 _LTECHO_EOF'
   21466 }
   21467 
   21468 # Quote evaled strings.
   21469 for var in AS \
   21470 DLLTOOL \
   21471 OBJDUMP \
   21472 SHELL \
   21473 ECHO \
   21474 PATH_SEPARATOR \
   21475 SED \
   21476 GREP \
   21477 EGREP \
   21478 FGREP \
   21479 LD \
   21480 NM \
   21481 LN_S \
   21482 lt_SP2NL \
   21483 lt_NL2SP \
   21484 reload_flag \
   21485 deplibs_check_method \
   21486 file_magic_cmd \
   21487 file_magic_glob \
   21488 want_nocaseglob \
   21489 sharedlib_from_linklib_cmd \
   21490 AR \
   21491 AR_FLAGS \
   21492 archiver_list_spec \
   21493 STRIP \
   21494 RANLIB \
   21495 CC \
   21496 CFLAGS \
   21497 compiler \
   21498 lt_cv_sys_global_symbol_pipe \
   21499 lt_cv_sys_global_symbol_to_cdecl \
   21500 lt_cv_sys_global_symbol_to_import \
   21501 lt_cv_sys_global_symbol_to_c_name_address \
   21502 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   21503 lt_cv_nm_interface \
   21504 nm_file_list_spec \
   21505 lt_cv_truncate_bin \
   21506 lt_prog_compiler_no_builtin_flag \
   21507 lt_prog_compiler_pic \
   21508 lt_prog_compiler_wl \
   21509 lt_prog_compiler_static \
   21510 lt_cv_prog_compiler_c_o \
   21511 need_locks \
   21512 MANIFEST_TOOL \
   21513 DSYMUTIL \
   21514 NMEDIT \
   21515 LIPO \
   21516 OTOOL \
   21517 OTOOL64 \
   21518 shrext_cmds \
   21519 export_dynamic_flag_spec \
   21520 whole_archive_flag_spec \
   21521 compiler_needs_object \
   21522 with_gnu_ld \
   21523 allow_undefined_flag \
   21524 no_undefined_flag \
   21525 hardcode_libdir_flag_spec \
   21526 hardcode_libdir_separator \
   21527 exclude_expsyms \
   21528 include_expsyms \
   21529 file_list_spec \
   21530 variables_saved_for_relink \
   21531 libname_spec \
   21532 library_names_spec \
   21533 soname_spec \
   21534 install_override_mode \
   21535 finish_eval \
   21536 old_striplib \
   21537 striplib; do
   21538     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21539     *[\\\\\\\`\\"\\\$]*)
   21540       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21541       ;;
   21542     *)
   21543       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21544       ;;
   21545     esac
   21546 done
   21547 
   21548 # Double-quote double-evaled strings.
   21549 for var in reload_cmds \
   21550 old_postinstall_cmds \
   21551 old_postuninstall_cmds \
   21552 old_archive_cmds \
   21553 extract_expsyms_cmds \
   21554 old_archive_from_new_cmds \
   21555 old_archive_from_expsyms_cmds \
   21556 archive_cmds \
   21557 archive_expsym_cmds \
   21558 module_cmds \
   21559 module_expsym_cmds \
   21560 export_symbols_cmds \
   21561 prelink_cmds \
   21562 postlink_cmds \
   21563 postinstall_cmds \
   21564 postuninstall_cmds \
   21565 finish_cmds \
   21566 sys_lib_search_path_spec \
   21567 configure_time_dlsearch_path \
   21568 configure_time_lt_sys_library_path; do
   21569     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21570     *[\\\\\\\`\\"\\\$]*)
   21571       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21572       ;;
   21573     *)
   21574       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21575       ;;
   21576     esac
   21577 done
   21578 
   21579 ac_aux_dir='$ac_aux_dir'
   21580 
   21581 # See if we are running on zsh, and set the options that allow our
   21582 # commands through without removal of \ escapes INIT.
   21583 if test -n "\${ZSH_VERSION+set}"; then
   21584    setopt NO_GLOB_SUBST
   21585 fi
   21586 
   21587 
   21588     PACKAGE='$PACKAGE'
   21589     VERSION='$VERSION'
   21590     RM='$RM'
   21591     ofile='$ofile'
   21592 
   21593 
   21594 
   21595 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
   21596     # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
   21597     # from automake < 1.5.
   21598     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
   21599     # Capture the value of LINGUAS because we need it to compute CATALOGS.
   21600     LINGUAS="${LINGUAS-%UNSET%}"
   21601 
   21602 # variables for create stdint.h replacement
   21603 PACKAGE="$PACKAGE"
   21604 VERSION="$VERSION"
   21605 ac_stdint_h="$ac_stdint_h"
   21606 _ac_stdint_h=`printf "%s\n" "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
   21607 ac_cv_stdint_message="$ac_cv_stdint_message"
   21608 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
   21609 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
   21610 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
   21611 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
   21612 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
   21613 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
   21614 ac_cv_char_data_model="$ac_cv_char_data_model"
   21615 ac_cv_long_data_model="$ac_cv_long_data_model"
   21616 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
   21617 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
   21618 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
   21619 
   21620 
   21621 _ACEOF
   21622 
   21623 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21624 
   21625 # Handling of arguments.
   21626 for ac_config_target in $ac_config_targets
   21627 do
   21628   case $ac_config_target in
   21629     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   21630     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   21631     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   21632     "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
   21633     "$ac_stdint_h") CONFIG_COMMANDS="$CONFIG_COMMANDS $ac_stdint_h" ;;
   21634     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   21635     "fontconfig/Makefile") CONFIG_FILES="$CONFIG_FILES fontconfig/Makefile" ;;
   21636     "fc-lang/Makefile") CONFIG_FILES="$CONFIG_FILES fc-lang/Makefile" ;;
   21637     "fc-case/Makefile") CONFIG_FILES="$CONFIG_FILES fc-case/Makefile" ;;
   21638     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   21639     "conf.d/Makefile") CONFIG_FILES="$CONFIG_FILES conf.d/Makefile" ;;
   21640     "fc-cache/Makefile") CONFIG_FILES="$CONFIG_FILES fc-cache/Makefile" ;;
   21641     "fc-cat/Makefile") CONFIG_FILES="$CONFIG_FILES fc-cat/Makefile" ;;
   21642     "fc-conflist/Makefile") CONFIG_FILES="$CONFIG_FILES fc-conflist/Makefile" ;;
   21643     "fc-list/Makefile") CONFIG_FILES="$CONFIG_FILES fc-list/Makefile" ;;
   21644     "fc-match/Makefile") CONFIG_FILES="$CONFIG_FILES fc-match/Makefile" ;;
   21645     "fc-pattern/Makefile") CONFIG_FILES="$CONFIG_FILES fc-pattern/Makefile" ;;
   21646     "fc-query/Makefile") CONFIG_FILES="$CONFIG_FILES fc-query/Makefile" ;;
   21647     "fc-scan/Makefile") CONFIG_FILES="$CONFIG_FILES fc-scan/Makefile" ;;
   21648     "fc-validate/Makefile") CONFIG_FILES="$CONFIG_FILES fc-validate/Makefile" ;;
   21649     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   21650     "doc/version.sgml") CONFIG_FILES="$CONFIG_FILES doc/version.sgml" ;;
   21651     "its/Makefile") CONFIG_FILES="$CONFIG_FILES its/Makefile" ;;
   21652     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
   21653     "po-conf/Makefile.in") CONFIG_FILES="$CONFIG_FILES po-conf/Makefile.in" ;;
   21654     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
   21655     "fontconfig.pc") CONFIG_FILES="$CONFIG_FILES fontconfig.pc" ;;
   21656     "fontconfig-zip") CONFIG_FILES="$CONFIG_FILES fontconfig-zip" ;;
   21657 
   21658   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   21659   esac
   21660 done
   21661 
   21662 
   21663 # If the user did not use the arguments to specify the items to instantiate,
   21664 # then the envvar interface is used.  Set only those that are not.
   21665 # We use the long form for the default assignment because of an extremely
   21666 # bizarre bug on SunOS 4.1.3.
   21667 if $ac_need_defaults; then
   21668   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   21669   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   21670   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   21671 fi
   21672 
   21673 # Have a temporary directory for convenience.  Make it in the build tree
   21674 # simply because there is no reason against having it here, and in addition,
   21675 # creating and moving files from /tmp can sometimes cause problems.
   21676 # Hook for its removal unless debugging.
   21677 # Note that there is a small window in which the directory will not be cleaned:
   21678 # after its creation but before its name has been assigned to `$tmp'.
   21679 $debug ||
   21680 {
   21681   tmp= ac_tmp=
   21682   trap 'exit_status=$?
   21683   : "${ac_tmp:=$tmp}"
   21684   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   21685 ' 0
   21686   trap 'as_fn_exit 1' 1 2 13 15
   21687 }
   21688 # Create a (secure) tmp directory for tmp files.
   21689 
   21690 {
   21691   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   21692   test -d "$tmp"
   21693 }  ||
   21694 {
   21695   tmp=./conf$$-$RANDOM
   21696   (umask 077 && mkdir "$tmp")
   21697 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   21698 ac_tmp=$tmp
   21699 
   21700 # Set up the scripts for CONFIG_FILES section.
   21701 # No need to generate them if there are no CONFIG_FILES.
   21702 # This happens for instance with `./config.status config.h'.
   21703 if test -n "$CONFIG_FILES"; then
   21704 
   21705 
   21706 ac_cr=`echo X | tr X '\015'`
   21707 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   21708 # But we know of no other shell where ac_cr would be empty at this
   21709 # point, so we can use a bashism as a fallback.
   21710 if test "x$ac_cr" = x; then
   21711   eval ac_cr=\$\'\\r\'
   21712 fi
   21713 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   21714 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   21715   ac_cs_awk_cr='\\r'
   21716 else
   21717   ac_cs_awk_cr=$ac_cr
   21718 fi
   21719 
   21720 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   21721 _ACEOF
   21722 
   21723 
   21724 {
   21725   echo "cat >conf$$subs.awk <<_ACEOF" &&
   21726   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   21727   echo "_ACEOF"
   21728 } >conf$$subs.sh ||
   21729   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21730 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   21731 ac_delim='%!_!# '
   21732 for ac_last_try in false false false false false :; do
   21733   . ./conf$$subs.sh ||
   21734     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21735 
   21736   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   21737   if test $ac_delim_n = $ac_delim_num; then
   21738     break
   21739   elif $ac_last_try; then
   21740     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21741   else
   21742     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21743   fi
   21744 done
   21745 rm -f conf$$subs.sh
   21746 
   21747 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21748 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   21749 _ACEOF
   21750 sed -n '
   21751 h
   21752 s/^/S["/; s/!.*/"]=/
   21753 p
   21754 g
   21755 s/^[^!]*!//
   21756 :repl
   21757 t repl
   21758 s/'"$ac_delim"'$//
   21759 t delim
   21760 :nl
   21761 h
   21762 s/\(.\{148\}\)..*/\1/
   21763 t more1
   21764 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   21765 p
   21766 n
   21767 b repl
   21768 :more1
   21769 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21770 p
   21771 g
   21772 s/.\{148\}//
   21773 t nl
   21774 :delim
   21775 h
   21776 s/\(.\{148\}\)..*/\1/
   21777 t more2
   21778 s/["\\]/\\&/g; s/^/"/; s/$/"/
   21779 p
   21780 b
   21781 :more2
   21782 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21783 p
   21784 g
   21785 s/.\{148\}//
   21786 t delim
   21787 ' <conf$$subs.awk | sed '
   21788 /^[^""]/{
   21789   N
   21790   s/\n//
   21791 }
   21792 ' >>$CONFIG_STATUS || ac_write_fail=1
   21793 rm -f conf$$subs.awk
   21794 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21795 _ACAWK
   21796 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   21797   for (key in S) S_is_set[key] = 1
   21798   FS = ""
   21799 
   21800 }
   21801 {
   21802   line = $ 0
   21803   nfields = split(line, field, "@")
   21804   substed = 0
   21805   len = length(field[1])
   21806   for (i = 2; i < nfields; i++) {
   21807     key = field[i]
   21808     keylen = length(key)
   21809     if (S_is_set[key]) {
   21810       value = S[key]
   21811       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   21812       len += length(value) + length(field[++i])
   21813       substed = 1
   21814     } else
   21815       len += 1 + keylen
   21816   }
   21817 
   21818   print line
   21819 }
   21820 
   21821 _ACAWK
   21822 _ACEOF
   21823 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21824 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   21825   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   21826 else
   21827   cat
   21828 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   21829   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   21830 _ACEOF
   21831 
   21832 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   21833 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   21834 # trailing colons and then remove the whole line if VPATH becomes empty
   21835 # (actually we leave an empty line to preserve line numbers).
   21836 if test "x$srcdir" = x.; then
   21837   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   21838 h
   21839 s///
   21840 s/^/:/
   21841 s/[	 ]*$/:/
   21842 s/:\$(srcdir):/:/g
   21843 s/:\${srcdir}:/:/g
   21844 s/:@srcdir@:/:/g
   21845 s/^:*//
   21846 s/:*$//
   21847 x
   21848 s/\(=[	 ]*\).*/\1/
   21849 G
   21850 s/\n//
   21851 s/^[^=]*=[	 ]*$//
   21852 }'
   21853 fi
   21854 
   21855 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21856 fi # test -n "$CONFIG_FILES"
   21857 
   21858 # Set up the scripts for CONFIG_HEADERS section.
   21859 # No need to generate them if there are no CONFIG_HEADERS.
   21860 # This happens for instance with `./config.status Makefile'.
   21861 if test -n "$CONFIG_HEADERS"; then
   21862 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   21863 BEGIN {
   21864 _ACEOF
   21865 
   21866 # Transform confdefs.h into an awk script `defines.awk', embedded as
   21867 # here-document in config.status, that substitutes the proper values into
   21868 # config.h.in to produce config.h.
   21869 
   21870 # Create a delimiter string that does not exist in confdefs.h, to ease
   21871 # handling of long lines.
   21872 ac_delim='%!_!# '
   21873 for ac_last_try in false false :; do
   21874   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   21875   if test -z "$ac_tt"; then
   21876     break
   21877   elif $ac_last_try; then
   21878     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   21879   else
   21880     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21881   fi
   21882 done
   21883 
   21884 # For the awk script, D is an array of macro values keyed by name,
   21885 # likewise P contains macro parameters if any.  Preserve backslash
   21886 # newline sequences.
   21887 
   21888 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   21889 sed -n '
   21890 s/.\{148\}/&'"$ac_delim"'/g
   21891 t rset
   21892 :rset
   21893 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   21894 t def
   21895 d
   21896 :def
   21897 s/\\$//
   21898 t bsnl
   21899 s/["\\]/\\&/g
   21900 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21901 D["\1"]=" \3"/p
   21902 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   21903 d
   21904 :bsnl
   21905 s/["\\]/\\&/g
   21906 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21907 D["\1"]=" \3\\\\\\n"\\/p
   21908 t cont
   21909 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   21910 t cont
   21911 d
   21912 :cont
   21913 n
   21914 s/.\{148\}/&'"$ac_delim"'/g
   21915 t clear
   21916 :clear
   21917 s/\\$//
   21918 t bsnlc
   21919 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   21920 d
   21921 :bsnlc
   21922 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   21923 b cont
   21924 ' <confdefs.h | sed '
   21925 s/'"$ac_delim"'/"\\\
   21926 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   21927 
   21928 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21929   for (key in D) D_is_set[key] = 1
   21930   FS = ""
   21931 }
   21932 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   21933   line = \$ 0
   21934   split(line, arg, " ")
   21935   if (arg[1] == "#") {
   21936     defundef = arg[2]
   21937     mac1 = arg[3]
   21938   } else {
   21939     defundef = substr(arg[1], 2)
   21940     mac1 = arg[2]
   21941   }
   21942   split(mac1, mac2, "(") #)
   21943   macro = mac2[1]
   21944   prefix = substr(line, 1, index(line, defundef) - 1)
   21945   if (D_is_set[macro]) {
   21946     # Preserve the white space surrounding the "#".
   21947     print prefix "define", macro P[macro] D[macro]
   21948     next
   21949   } else {
   21950     # Replace #undef with comments.  This is necessary, for example,
   21951     # in the case of _POSIX_SOURCE, which is predefined and required
   21952     # on some systems where configure will not decide to define it.
   21953     if (defundef == "undef") {
   21954       print "/*", prefix defundef, macro, "*/"
   21955       next
   21956     }
   21957   }
   21958 }
   21959 { print }
   21960 _ACAWK
   21961 _ACEOF
   21962 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21963   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   21964 fi # test -n "$CONFIG_HEADERS"
   21965 
   21966 
   21967 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   21968 shift
   21969 for ac_tag
   21970 do
   21971   case $ac_tag in
   21972   :[FHLC]) ac_mode=$ac_tag; continue;;
   21973   esac
   21974   case $ac_mode$ac_tag in
   21975   :[FHL]*:*);;
   21976   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   21977   :[FH]-) ac_tag=-:-;;
   21978   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   21979   esac
   21980   ac_save_IFS=$IFS
   21981   IFS=:
   21982   set x $ac_tag
   21983   IFS=$ac_save_IFS
   21984   shift
   21985   ac_file=$1
   21986   shift
   21987 
   21988   case $ac_mode in
   21989   :L) ac_source=$1;;
   21990   :[FH])
   21991     ac_file_inputs=
   21992     for ac_f
   21993     do
   21994       case $ac_f in
   21995       -) ac_f="$ac_tmp/stdin";;
   21996       *) # Look for the file first in the build tree, then in the source tree
   21997 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   21998 	 # because $ac_f cannot contain `:'.
   21999 	 test -f "$ac_f" ||
   22000 	   case $ac_f in
   22001 	   [\\/$]*) false;;
   22002 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   22003 	   esac ||
   22004 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   22005       esac
   22006       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   22007       as_fn_append ac_file_inputs " '$ac_f'"
   22008     done
   22009 
   22010     # Let's still pretend it is `configure' which instantiates (i.e., don't
   22011     # use $as_me), people would be surprised to read:
   22012     #    /* config.h.  Generated by config.status.  */
   22013     configure_input='Generated from '`
   22014 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   22015 	`' by configure.'
   22016     if test x"$ac_file" != x-; then
   22017       configure_input="$ac_file.  $configure_input"
   22018       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   22019 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   22020     fi
   22021     # Neutralize special characters interpreted by sed in replacement strings.
   22022     case $configure_input in #(
   22023     *\&* | *\|* | *\\* )
   22024        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   22025        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   22026     *) ac_sed_conf_input=$configure_input;;
   22027     esac
   22028 
   22029     case $ac_tag in
   22030     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   22031       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   22032     esac
   22033     ;;
   22034   esac
   22035 
   22036   ac_dir=`$as_dirname -- "$ac_file" ||
   22037 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22038 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   22039 	 X"$ac_file" : 'X\(//\)$' \| \
   22040 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   22041 printf "%s\n" X"$ac_file" |
   22042     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22043 	    s//\1/
   22044 	    q
   22045 	  }
   22046 	  /^X\(\/\/\)[^/].*/{
   22047 	    s//\1/
   22048 	    q
   22049 	  }
   22050 	  /^X\(\/\/\)$/{
   22051 	    s//\1/
   22052 	    q
   22053 	  }
   22054 	  /^X\(\/\).*/{
   22055 	    s//\1/
   22056 	    q
   22057 	  }
   22058 	  s/.*/./; q'`
   22059   as_dir="$ac_dir"; as_fn_mkdir_p
   22060   ac_builddir=.
   22061 
   22062 case "$ac_dir" in
   22063 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22064 *)
   22065   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   22066   # A ".." for each directory in $ac_dir_suffix.
   22067   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   22068   case $ac_top_builddir_sub in
   22069   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22070   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   22071   esac ;;
   22072 esac
   22073 ac_abs_top_builddir=$ac_pwd
   22074 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   22075 # for backward compatibility:
   22076 ac_top_builddir=$ac_top_build_prefix
   22077 
   22078 case $srcdir in
   22079   .)  # We are building in place.
   22080     ac_srcdir=.
   22081     ac_top_srcdir=$ac_top_builddir_sub
   22082     ac_abs_top_srcdir=$ac_pwd ;;
   22083   [\\/]* | ?:[\\/]* )  # Absolute name.
   22084     ac_srcdir=$srcdir$ac_dir_suffix;
   22085     ac_top_srcdir=$srcdir
   22086     ac_abs_top_srcdir=$srcdir ;;
   22087   *) # Relative name.
   22088     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   22089     ac_top_srcdir=$ac_top_build_prefix$srcdir
   22090     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   22091 esac
   22092 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   22093 
   22094 
   22095   case $ac_mode in
   22096   :F)
   22097   #
   22098   # CONFIG_FILE
   22099   #
   22100 
   22101   case $INSTALL in
   22102   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   22103   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   22104   esac
   22105   ac_MKDIR_P=$MKDIR_P
   22106   case $MKDIR_P in
   22107   [\\/$]* | ?:[\\/]* ) ;;
   22108   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   22109   esac
   22110 _ACEOF
   22111 
   22112 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22113 # If the template does not know about datarootdir, expand it.
   22114 # FIXME: This hack should be removed a few years after 2.60.
   22115 ac_datarootdir_hack=; ac_datarootdir_seen=
   22116 ac_sed_dataroot='
   22117 /datarootdir/ {
   22118   p
   22119   q
   22120 }
   22121 /@datadir@/p
   22122 /@docdir@/p
   22123 /@infodir@/p
   22124 /@localedir@/p
   22125 /@mandir@/p'
   22126 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   22127 *datarootdir*) ac_datarootdir_seen=yes;;
   22128 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   22129   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   22130 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   22131 _ACEOF
   22132 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22133   ac_datarootdir_hack='
   22134   s&@datadir@&$datadir&g
   22135   s&@docdir@&$docdir&g
   22136   s&@infodir@&$infodir&g
   22137   s&@localedir@&$localedir&g
   22138   s&@mandir@&$mandir&g
   22139   s&\\\${datarootdir}&$datarootdir&g' ;;
   22140 esac
   22141 _ACEOF
   22142 
   22143 # Neutralize VPATH when `$srcdir' = `.'.
   22144 # Shell code in configure.ac might set extrasub.
   22145 # FIXME: do we really want to maintain this feature?
   22146 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22147 ac_sed_extra="$ac_vpsub
   22148 $extrasub
   22149 _ACEOF
   22150 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22151 :t
   22152 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   22153 s|@configure_input@|$ac_sed_conf_input|;t t
   22154 s&@top_builddir@&$ac_top_builddir_sub&;t t
   22155 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   22156 s&@srcdir@&$ac_srcdir&;t t
   22157 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   22158 s&@top_srcdir@&$ac_top_srcdir&;t t
   22159 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   22160 s&@builddir@&$ac_builddir&;t t
   22161 s&@abs_builddir@&$ac_abs_builddir&;t t
   22162 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   22163 s&@INSTALL@&$ac_INSTALL&;t t
   22164 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   22165 $ac_datarootdir_hack
   22166 "
   22167 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   22168   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22169 
   22170 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   22171   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   22172   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   22173       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   22174   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22175 which seems to be undefined.  Please make sure it is defined" >&5
   22176 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22177 which seems to be undefined.  Please make sure it is defined" >&2;}
   22178 
   22179   rm -f "$ac_tmp/stdin"
   22180   case $ac_file in
   22181   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   22182   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   22183   esac \
   22184   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22185  ;;
   22186   :H)
   22187   #
   22188   # CONFIG_HEADER
   22189   #
   22190   if test x"$ac_file" != x-; then
   22191     {
   22192       printf "%s\n" "/* $configure_input  */" >&1 \
   22193       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   22194     } >"$ac_tmp/config.h" \
   22195       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22196     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   22197       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   22198 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   22199     else
   22200       rm -f "$ac_file"
   22201       mv "$ac_tmp/config.h" "$ac_file" \
   22202 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22203     fi
   22204   else
   22205     printf "%s\n" "/* $configure_input  */" >&1 \
   22206       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   22207       || as_fn_error $? "could not create -" "$LINENO" 5
   22208   fi
   22209 # Compute "$ac_file"'s index in $config_headers.
   22210 _am_arg="$ac_file"
   22211 _am_stamp_count=1
   22212 for _am_header in $config_headers :; do
   22213   case $_am_header in
   22214     $_am_arg | $_am_arg:* )
   22215       break ;;
   22216     * )
   22217       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   22218   esac
   22219 done
   22220 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   22221 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22222 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   22223 	 X"$_am_arg" : 'X\(//\)$' \| \
   22224 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   22225 printf "%s\n" X"$_am_arg" |
   22226     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22227 	    s//\1/
   22228 	    q
   22229 	  }
   22230 	  /^X\(\/\/\)[^/].*/{
   22231 	    s//\1/
   22232 	    q
   22233 	  }
   22234 	  /^X\(\/\/\)$/{
   22235 	    s//\1/
   22236 	    q
   22237 	  }
   22238 	  /^X\(\/\).*/{
   22239 	    s//\1/
   22240 	    q
   22241 	  }
   22242 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   22243  ;;
   22244 
   22245   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   22246 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   22247  ;;
   22248   esac
   22249 
   22250 
   22251   case $ac_file$ac_mode in
   22252     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   22253   # Older Autoconf quotes --file arguments for eval, but not when files
   22254   # are listed without --file.  Let's play safe and only enable the eval
   22255   # if we detect the quoting.
   22256   # TODO: see whether this extra hack can be removed once we start
   22257   # requiring Autoconf 2.70 or later.
   22258   case $CONFIG_FILES in #(
   22259   *\'*) :
   22260     eval set x "$CONFIG_FILES" ;; #(
   22261   *) :
   22262     set x $CONFIG_FILES ;; #(
   22263   *) :
   22264      ;;
   22265 esac
   22266   shift
   22267   # Used to flag and report bootstrapping failures.
   22268   am_rc=0
   22269   for am_mf
   22270   do
   22271     # Strip MF so we end up with the name of the file.
   22272     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   22273     # Check whether this is an Automake generated Makefile which includes
   22274     # dependency-tracking related rules and includes.
   22275     # Grep'ing the whole file directly is not great: AIX grep has a line
   22276     # limit of 2048, but all sed's we know have understand at least 4000.
   22277     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   22278       || continue
   22279     am_dirpart=`$as_dirname -- "$am_mf" ||
   22280 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22281 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   22282 	 X"$am_mf" : 'X\(//\)$' \| \
   22283 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   22284 printf "%s\n" X"$am_mf" |
   22285     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22286 	    s//\1/
   22287 	    q
   22288 	  }
   22289 	  /^X\(\/\/\)[^/].*/{
   22290 	    s//\1/
   22291 	    q
   22292 	  }
   22293 	  /^X\(\/\/\)$/{
   22294 	    s//\1/
   22295 	    q
   22296 	  }
   22297 	  /^X\(\/\).*/{
   22298 	    s//\1/
   22299 	    q
   22300 	  }
   22301 	  s/.*/./; q'`
   22302     am_filepart=`$as_basename -- "$am_mf" ||
   22303 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   22304 	 X"$am_mf" : 'X\(//\)$' \| \
   22305 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   22306 printf "%s\n" X/"$am_mf" |
   22307     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22308 	    s//\1/
   22309 	    q
   22310 	  }
   22311 	  /^X\/\(\/\/\)$/{
   22312 	    s//\1/
   22313 	    q
   22314 	  }
   22315 	  /^X\/\(\/\).*/{
   22316 	    s//\1/
   22317 	    q
   22318 	  }
   22319 	  s/.*/./; q'`
   22320     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   22321       && sed -e '/# am--include-marker/d' "$am_filepart" \
   22322         | $MAKE -f - am--depfiles" >&5
   22323    (cd "$am_dirpart" \
   22324       && sed -e '/# am--include-marker/d' "$am_filepart" \
   22325         | $MAKE -f - am--depfiles) >&5 2>&5
   22326    ac_status=$?
   22327    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22328    (exit $ac_status); } || am_rc=$?
   22329   done
   22330   if test $am_rc -ne 0; then
   22331     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   22332 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   22333 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   22334     for automatic dependency tracking.  If GNU make was not used, consider
   22335     re-running the configure script with MAKE=\"gmake\" (or whatever is
   22336     necessary).  You can also try re-running configure with the
   22337     '--disable-dependency-tracking' option to at least be able to build
   22338     the package (albeit without support for automatic dependency tracking).
   22339 See \`config.log' for more details" "$LINENO" 5; }
   22340   fi
   22341   { am_dirpart=; unset am_dirpart;}
   22342   { am_filepart=; unset am_filepart;}
   22343   { am_mf=; unset am_mf;}
   22344   { am_rc=; unset am_rc;}
   22345   rm -f conftest-deps.mk
   22346 }
   22347  ;;
   22348     "libtool":C)
   22349 
   22350     # See if we are running on zsh, and set the options that allow our
   22351     # commands through without removal of \ escapes.
   22352     if test -n "${ZSH_VERSION+set}"; then
   22353       setopt NO_GLOB_SUBST
   22354     fi
   22355 
   22356     cfgfile=${ofile}T
   22357     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   22358     $RM "$cfgfile"
   22359 
   22360     cat <<_LT_EOF >> "$cfgfile"
   22361 #! $SHELL
   22362 # Generated automatically by $as_me ($PACKAGE) $VERSION
   22363 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   22364 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   22365 
   22366 # Provide generalized library-building support services.
   22367 # Written by Gordon Matzigkeit, 1996
   22368 
   22369 # Copyright (C) 2014 Free Software Foundation, Inc.
   22370 # This is free software; see the source for copying conditions.  There is NO
   22371 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   22372 
   22373 # GNU Libtool is free software; you can redistribute it and/or modify
   22374 # it under the terms of the GNU General Public License as published by
   22375 # the Free Software Foundation; either version 2 of of the License, or
   22376 # (at your option) any later version.
   22377 #
   22378 # As a special exception to the GNU General Public License, if you
   22379 # distribute this file as part of a program or library that is built
   22380 # using GNU Libtool, you may include this file under the  same
   22381 # distribution terms that you use for the rest of that program.
   22382 #
   22383 # GNU Libtool is distributed in the hope that it will be useful, but
   22384 # WITHOUT ANY WARRANTY; without even the implied warranty of
   22385 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   22386 # GNU General Public License for more details.
   22387 #
   22388 # You should have received a copy of the GNU General Public License
   22389 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   22390 
   22391 
   22392 # The names of the tagged configurations supported by this script.
   22393 available_tags=''
   22394 
   22395 # Configured defaults for sys_lib_dlsearch_path munging.
   22396 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   22397 
   22398 # ### BEGIN LIBTOOL CONFIG
   22399 
   22400 # Which release of libtool.m4 was used?
   22401 macro_version=$macro_version
   22402 macro_revision=$macro_revision
   22403 
   22404 # Whether or not to build static libraries.
   22405 build_old_libs=$enable_static
   22406 
   22407 # Assembler program.
   22408 AS=$lt_AS
   22409 
   22410 # DLL creation program.
   22411 DLLTOOL=$lt_DLLTOOL
   22412 
   22413 # Object dumper program.
   22414 OBJDUMP=$lt_OBJDUMP
   22415 
   22416 # Whether or not to build shared libraries.
   22417 build_libtool_libs=$enable_shared
   22418 
   22419 # What type of objects to build.
   22420 pic_mode=$pic_mode
   22421 
   22422 # Whether or not to optimize for fast installation.
   22423 fast_install=$enable_fast_install
   22424 
   22425 # Shared archive member basename,for filename based shared library versioning on AIX.
   22426 shared_archive_member_spec=$shared_archive_member_spec
   22427 
   22428 # Shell to use when invoking shell scripts.
   22429 SHELL=$lt_SHELL
   22430 
   22431 # An echo program that protects backslashes.
   22432 ECHO=$lt_ECHO
   22433 
   22434 # The PATH separator for the build system.
   22435 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   22436 
   22437 # The host system.
   22438 host_alias=$host_alias
   22439 host=$host
   22440 host_os=$host_os
   22441 
   22442 # The build system.
   22443 build_alias=$build_alias
   22444 build=$build
   22445 build_os=$build_os
   22446 
   22447 # A sed program that does not truncate output.
   22448 SED=$lt_SED
   22449 
   22450 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   22451 Xsed="\$SED -e 1s/^X//"
   22452 
   22453 # A grep program that handles long lines.
   22454 GREP=$lt_GREP
   22455 
   22456 # An ERE matcher.
   22457 EGREP=$lt_EGREP
   22458 
   22459 # A literal string matcher.
   22460 FGREP=$lt_FGREP
   22461 
   22462 # A BSD- or MS-compatible name lister.
   22463 NM=$lt_NM
   22464 
   22465 # Whether we need soft or hard links.
   22466 LN_S=$lt_LN_S
   22467 
   22468 # What is the maximum length of a command?
   22469 max_cmd_len=$max_cmd_len
   22470 
   22471 # Object file suffix (normally "o").
   22472 objext=$ac_objext
   22473 
   22474 # Executable file suffix (normally "").
   22475 exeext=$exeext
   22476 
   22477 # whether the shell understands "unset".
   22478 lt_unset=$lt_unset
   22479 
   22480 # turn spaces into newlines.
   22481 SP2NL=$lt_lt_SP2NL
   22482 
   22483 # turn newlines into spaces.
   22484 NL2SP=$lt_lt_NL2SP
   22485 
   22486 # convert \$build file names to \$host format.
   22487 to_host_file_cmd=$lt_cv_to_host_file_cmd
   22488 
   22489 # convert \$build files to toolchain format.
   22490 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   22491 
   22492 # Method to check whether dependent libraries are shared objects.
   22493 deplibs_check_method=$lt_deplibs_check_method
   22494 
   22495 # Command to use when deplibs_check_method = "file_magic".
   22496 file_magic_cmd=$lt_file_magic_cmd
   22497 
   22498 # How to find potential files when deplibs_check_method = "file_magic".
   22499 file_magic_glob=$lt_file_magic_glob
   22500 
   22501 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   22502 want_nocaseglob=$lt_want_nocaseglob
   22503 
   22504 # Command to associate shared and link libraries.
   22505 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   22506 
   22507 # The archiver.
   22508 AR=$lt_AR
   22509 
   22510 # Flags to create an archive.
   22511 AR_FLAGS=$lt_AR_FLAGS
   22512 
   22513 # How to feed a file listing to the archiver.
   22514 archiver_list_spec=$lt_archiver_list_spec
   22515 
   22516 # A symbol stripping program.
   22517 STRIP=$lt_STRIP
   22518 
   22519 # Commands used to install an old-style archive.
   22520 RANLIB=$lt_RANLIB
   22521 old_postinstall_cmds=$lt_old_postinstall_cmds
   22522 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   22523 
   22524 # Whether to use a lock for old archive extraction.
   22525 lock_old_archive_extraction=$lock_old_archive_extraction
   22526 
   22527 # A C compiler.
   22528 LTCC=$lt_CC
   22529 
   22530 # LTCC compiler flags.
   22531 LTCFLAGS=$lt_CFLAGS
   22532 
   22533 # Take the output of nm and produce a listing of raw symbols and C names.
   22534 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   22535 
   22536 # Transform the output of nm in a proper C declaration.
   22537 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   22538 
   22539 # Transform the output of nm into a list of symbols to manually relocate.
   22540 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   22541 
   22542 # Transform the output of nm in a C name address pair.
   22543 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   22544 
   22545 # Transform the output of nm in a C name address pair when lib prefix is needed.
   22546 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   22547 
   22548 # The name lister interface.
   22549 nm_interface=$lt_lt_cv_nm_interface
   22550 
   22551 # Specify filename containing input files for \$NM.
   22552 nm_file_list_spec=$lt_nm_file_list_spec
   22553 
   22554 # The root where to search for dependent libraries,and where our libraries should be installed.
   22555 lt_sysroot=$lt_sysroot
   22556 
   22557 # Command to truncate a binary pipe.
   22558 lt_truncate_bin=$lt_lt_cv_truncate_bin
   22559 
   22560 # The name of the directory that contains temporary libtool files.
   22561 objdir=$objdir
   22562 
   22563 # Used to examine libraries when file_magic_cmd begins with "file".
   22564 MAGIC_CMD=$MAGIC_CMD
   22565 
   22566 # Must we lock files when doing compilation?
   22567 need_locks=$lt_need_locks
   22568 
   22569 # Manifest tool.
   22570 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   22571 
   22572 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   22573 DSYMUTIL=$lt_DSYMUTIL
   22574 
   22575 # Tool to change global to local symbols on Mac OS X.
   22576 NMEDIT=$lt_NMEDIT
   22577 
   22578 # Tool to manipulate fat objects and archives on Mac OS X.
   22579 LIPO=$lt_LIPO
   22580 
   22581 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   22582 OTOOL=$lt_OTOOL
   22583 
   22584 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   22585 OTOOL64=$lt_OTOOL64
   22586 
   22587 # Old archive suffix (normally "a").
   22588 libext=$libext
   22589 
   22590 # Shared library suffix (normally ".so").
   22591 shrext_cmds=$lt_shrext_cmds
   22592 
   22593 # The commands to extract the exported symbol list from a shared archive.
   22594 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   22595 
   22596 # Variables whose values should be saved in libtool wrapper scripts and
   22597 # restored at link time.
   22598 variables_saved_for_relink=$lt_variables_saved_for_relink
   22599 
   22600 # Do we need the "lib" prefix for modules?
   22601 need_lib_prefix=$need_lib_prefix
   22602 
   22603 # Do we need a version for libraries?
   22604 need_version=$need_version
   22605 
   22606 # Library versioning type.
   22607 version_type=$version_type
   22608 
   22609 # Shared library runtime path variable.
   22610 runpath_var=$runpath_var
   22611 
   22612 # Shared library path variable.
   22613 shlibpath_var=$shlibpath_var
   22614 
   22615 # Is shlibpath searched before the hard-coded library search path?
   22616 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   22617 
   22618 # Format of library name prefix.
   22619 libname_spec=$lt_libname_spec
   22620 
   22621 # List of archive names.  First name is the real one, the rest are links.
   22622 # The last name is the one that the linker finds with -lNAME
   22623 library_names_spec=$lt_library_names_spec
   22624 
   22625 # The coded name of the library, if different from the real name.
   22626 soname_spec=$lt_soname_spec
   22627 
   22628 # Permission mode override for installation of shared libraries.
   22629 install_override_mode=$lt_install_override_mode
   22630 
   22631 # Command to use after installation of a shared archive.
   22632 postinstall_cmds=$lt_postinstall_cmds
   22633 
   22634 # Command to use after uninstallation of a shared archive.
   22635 postuninstall_cmds=$lt_postuninstall_cmds
   22636 
   22637 # Commands used to finish a libtool library installation in a directory.
   22638 finish_cmds=$lt_finish_cmds
   22639 
   22640 # As "finish_cmds", except a single script fragment to be evaled but
   22641 # not shown.
   22642 finish_eval=$lt_finish_eval
   22643 
   22644 # Whether we should hardcode library paths into libraries.
   22645 hardcode_into_libs=$hardcode_into_libs
   22646 
   22647 # Compile-time system search path for libraries.
   22648 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   22649 
   22650 # Detected run-time system search path for libraries.
   22651 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   22652 
   22653 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   22654 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   22655 
   22656 # Whether dlopen is supported.
   22657 dlopen_support=$enable_dlopen
   22658 
   22659 # Whether dlopen of programs is supported.
   22660 dlopen_self=$enable_dlopen_self
   22661 
   22662 # Whether dlopen of statically linked programs is supported.
   22663 dlopen_self_static=$enable_dlopen_self_static
   22664 
   22665 # Commands to strip libraries.
   22666 old_striplib=$lt_old_striplib
   22667 striplib=$lt_striplib
   22668 
   22669 
   22670 # The linker used to build libraries.
   22671 LD=$lt_LD
   22672 
   22673 # How to create reloadable object files.
   22674 reload_flag=$lt_reload_flag
   22675 reload_cmds=$lt_reload_cmds
   22676 
   22677 # Commands used to build an old-style archive.
   22678 old_archive_cmds=$lt_old_archive_cmds
   22679 
   22680 # A language specific compiler.
   22681 CC=$lt_compiler
   22682 
   22683 # Is the compiler the GNU compiler?
   22684 with_gcc=$GCC
   22685 
   22686 # Compiler flag to turn off builtin functions.
   22687 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   22688 
   22689 # Additional compiler flags for building library objects.
   22690 pic_flag=$lt_lt_prog_compiler_pic
   22691 
   22692 # How to pass a linker flag through the compiler.
   22693 wl=$lt_lt_prog_compiler_wl
   22694 
   22695 # Compiler flag to prevent dynamic linking.
   22696 link_static_flag=$lt_lt_prog_compiler_static
   22697 
   22698 # Does compiler simultaneously support -c and -o options?
   22699 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   22700 
   22701 # Whether or not to add -lc for building shared libraries.
   22702 build_libtool_need_lc=$archive_cmds_need_lc
   22703 
   22704 # Whether or not to disallow shared libs when runtime libs are static.
   22705 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   22706 
   22707 # Compiler flag to allow reflexive dlopens.
   22708 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   22709 
   22710 # Compiler flag to generate shared objects directly from archives.
   22711 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   22712 
   22713 # Whether the compiler copes with passing no objects directly.
   22714 compiler_needs_object=$lt_compiler_needs_object
   22715 
   22716 # Create an old-style archive from a shared archive.
   22717 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   22718 
   22719 # Create a temporary old-style archive to link instead of a shared archive.
   22720 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   22721 
   22722 # Commands used to build a shared archive.
   22723 archive_cmds=$lt_archive_cmds
   22724 archive_expsym_cmds=$lt_archive_expsym_cmds
   22725 
   22726 # Commands used to build a loadable module if different from building
   22727 # a shared archive.
   22728 module_cmds=$lt_module_cmds
   22729 module_expsym_cmds=$lt_module_expsym_cmds
   22730 
   22731 # Whether we are building with GNU ld or not.
   22732 with_gnu_ld=$lt_with_gnu_ld
   22733 
   22734 # Flag that allows shared libraries with undefined symbols to be built.
   22735 allow_undefined_flag=$lt_allow_undefined_flag
   22736 
   22737 # Flag that enforces no undefined symbols.
   22738 no_undefined_flag=$lt_no_undefined_flag
   22739 
   22740 # Flag to hardcode \$libdir into a binary during linking.
   22741 # This must work even if \$libdir does not exist
   22742 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   22743 
   22744 # Whether we need a single "-rpath" flag with a separated argument.
   22745 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   22746 
   22747 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22748 # DIR into the resulting binary.
   22749 hardcode_direct=$hardcode_direct
   22750 
   22751 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22752 # DIR into the resulting binary and the resulting library dependency is
   22753 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   22754 # library is relocated.
   22755 hardcode_direct_absolute=$hardcode_direct_absolute
   22756 
   22757 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   22758 # into the resulting binary.
   22759 hardcode_minus_L=$hardcode_minus_L
   22760 
   22761 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   22762 # into the resulting binary.
   22763 hardcode_shlibpath_var=$hardcode_shlibpath_var
   22764 
   22765 # Set to "yes" if building a shared library automatically hardcodes DIR
   22766 # into the library and all subsequent libraries and executables linked
   22767 # against it.
   22768 hardcode_automatic=$hardcode_automatic
   22769 
   22770 # Set to yes if linker adds runtime paths of dependent libraries
   22771 # to runtime path list.
   22772 inherit_rpath=$inherit_rpath
   22773 
   22774 # Whether libtool must link a program against all its dependency libraries.
   22775 link_all_deplibs=$link_all_deplibs
   22776 
   22777 # Set to "yes" if exported symbols are required.
   22778 always_export_symbols=$always_export_symbols
   22779 
   22780 # The commands to list exported symbols.
   22781 export_symbols_cmds=$lt_export_symbols_cmds
   22782 
   22783 # Symbols that should not be listed in the preloaded symbols.
   22784 exclude_expsyms=$lt_exclude_expsyms
   22785 
   22786 # Symbols that must always be exported.
   22787 include_expsyms=$lt_include_expsyms
   22788 
   22789 # Commands necessary for linking programs (against libraries) with templates.
   22790 prelink_cmds=$lt_prelink_cmds
   22791 
   22792 # Commands necessary for finishing linking programs.
   22793 postlink_cmds=$lt_postlink_cmds
   22794 
   22795 # Specify filename containing input files.
   22796 file_list_spec=$lt_file_list_spec
   22797 
   22798 # How to hardcode a shared library path into an executable.
   22799 hardcode_action=$hardcode_action
   22800 
   22801 # ### END LIBTOOL CONFIG
   22802 
   22803 _LT_EOF
   22804 
   22805     cat <<'_LT_EOF' >> "$cfgfile"
   22806 
   22807 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   22808 
   22809 # func_munge_path_list VARIABLE PATH
   22810 # -----------------------------------
   22811 # VARIABLE is name of variable containing _space_ separated list of
   22812 # directories to be munged by the contents of PATH, which is string
   22813 # having a format:
   22814 # "DIR[:DIR]:"
   22815 #       string "DIR[ DIR]" will be prepended to VARIABLE
   22816 # ":DIR[:DIR]"
   22817 #       string "DIR[ DIR]" will be appended to VARIABLE
   22818 # "DIRP[:DIRP]::[DIRA:]DIRA"
   22819 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   22820 #       "DIRA[ DIRA]" will be appended to VARIABLE
   22821 # "DIR[:DIR]"
   22822 #       VARIABLE will be replaced by "DIR[ DIR]"
   22823 func_munge_path_list ()
   22824 {
   22825     case x$2 in
   22826     x)
   22827         ;;
   22828     *:)
   22829         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   22830         ;;
   22831     x:*)
   22832         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   22833         ;;
   22834     *::*)
   22835         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   22836         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   22837         ;;
   22838     *)
   22839         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   22840         ;;
   22841     esac
   22842 }
   22843 
   22844 
   22845 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   22846 func_cc_basename ()
   22847 {
   22848     for cc_temp in $*""; do
   22849       case $cc_temp in
   22850         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   22851         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   22852         \-*) ;;
   22853         *) break;;
   22854       esac
   22855     done
   22856     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   22857 }
   22858 
   22859 
   22860 # ### END FUNCTIONS SHARED WITH CONFIGURE
   22861 
   22862 _LT_EOF
   22863 
   22864   case $host_os in
   22865   aix3*)
   22866     cat <<\_LT_EOF >> "$cfgfile"
   22867 # AIX sometimes has problems with the GCC collect2 program.  For some
   22868 # reason, if we set the COLLECT_NAMES environment variable, the problems
   22869 # vanish in a puff of smoke.
   22870 if test set != "${COLLECT_NAMES+set}"; then
   22871   COLLECT_NAMES=
   22872   export COLLECT_NAMES
   22873 fi
   22874 _LT_EOF
   22875     ;;
   22876   esac
   22877 
   22878 
   22879 
   22880 ltmain=$ac_aux_dir/ltmain.sh
   22881 
   22882 
   22883   # We use sed instead of cat because bash on DJGPP gets confused if
   22884   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   22885   # text mode, it properly converts lines to CR/LF.  This bash problem
   22886   # is reportedly fixed, but why not run on old versions too?
   22887   sed '$q' "$ltmain" >> "$cfgfile" \
   22888      || (rm -f "$cfgfile"; exit 1)
   22889 
   22890    mv -f "$cfgfile" "$ofile" ||
   22891     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   22892   chmod +x "$ofile"
   22893 
   22894  ;;
   22895     "po-directories":C)
   22896     for ac_file in $CONFIG_FILES; do
   22897       # Support "outfile[:infile[:infile...]]"
   22898       case "$ac_file" in
   22899         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
   22900       esac
   22901       # PO directories have a Makefile.in generated from Makefile.in.in.
   22902       case "$ac_file" in */Makefile.in)
   22903         # Adjust a relative srcdir.
   22904         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
   22905         ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
   22906         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
   22907         # In autoconf-2.13 it is called $ac_given_srcdir.
   22908         # In autoconf-2.50 it is called $srcdir.
   22909         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
   22910         case "$ac_given_srcdir" in
   22911           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
   22912           /*) top_srcdir="$ac_given_srcdir" ;;
   22913           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
   22914         esac
   22915         # Treat a directory as a PO directory if and only if it has a
   22916         # POTFILES.in file. This allows packages to have multiple PO
   22917         # directories under different names or in different locations.
   22918         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
   22919           rm -f "$ac_dir/POTFILES"
   22920           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
   22921           gt_tab=`printf '\t'`
   22922           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"
   22923           POMAKEFILEDEPS="POTFILES.in"
   22924           # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
   22925           # on $ac_dir but don't depend on user-specified configuration
   22926           # parameters.
   22927           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
   22928             # The LINGUAS file contains the set of available languages.
   22929             if test -n "$OBSOLETE_ALL_LINGUAS"; then
   22930               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
   22931             fi
   22932             ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
   22933             # Hide the ALL_LINGUAS assignment from automake < 1.5.
   22934             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
   22935             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
   22936           else
   22937             # The set of available languages was given in configure.in.
   22938             # Hide the ALL_LINGUAS assignment from automake < 1.5.
   22939             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
   22940           fi
   22941           # Compute POFILES
   22942           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
   22943           # Compute UPDATEPOFILES
   22944           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
   22945           # Compute DUMMYPOFILES
   22946           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
   22947           # Compute GMOFILES
   22948           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
   22949           case "$ac_given_srcdir" in
   22950             .) srcdirpre= ;;
   22951             *) srcdirpre='$(srcdir)/' ;;
   22952           esac
   22953           POFILES=
   22954           UPDATEPOFILES=
   22955           DUMMYPOFILES=
   22956           GMOFILES=
   22957           for lang in $ALL_LINGUAS; do
   22958             POFILES="$POFILES $srcdirpre$lang.po"
   22959             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
   22960             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
   22961             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
   22962           done
   22963           # CATALOGS depends on both $ac_dir and the user's LINGUAS
   22964           # environment variable.
   22965           INST_LINGUAS=
   22966           if test -n "$ALL_LINGUAS"; then
   22967             for presentlang in $ALL_LINGUAS; do
   22968               useit=no
   22969               if test "%UNSET%" != "$LINGUAS"; then
   22970                 desiredlanguages="$LINGUAS"
   22971               else
   22972                 desiredlanguages="$ALL_LINGUAS"
   22973               fi
   22974               for desiredlang in $desiredlanguages; do
   22975                 # Use the presentlang catalog if desiredlang is
   22976                 #   a. equal to presentlang, or
   22977                 #   b. a variant of presentlang (because in this case,
   22978                 #      presentlang can be used as a fallback for messages
   22979                 #      which are not translated in the desiredlang catalog).
   22980                 case "$desiredlang" in
   22981                   "$presentlang"*) useit=yes;;
   22982                 esac
   22983               done
   22984               if test $useit = yes; then
   22985                 INST_LINGUAS="$INST_LINGUAS $presentlang"
   22986               fi
   22987             done
   22988           fi
   22989           CATALOGS=
   22990           if test -n "$INST_LINGUAS"; then
   22991             for lang in $INST_LINGUAS; do
   22992               CATALOGS="$CATALOGS $lang.gmo"
   22993             done
   22994           fi
   22995           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
   22996           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"
   22997           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
   22998             if test -f "$f"; then
   22999               case "$f" in
   23000                 *.orig | *.bak | *~) ;;
   23001                 *) cat "$f" >> "$ac_dir/Makefile" ;;
   23002               esac
   23003             fi
   23004           done
   23005         fi
   23006         ;;
   23007       esac
   23008     done ;;
   23009     "$ac_stdint_h":C)
   23010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_stdint_h : $_ac_stdint_h" >&5
   23011 printf "%s\n" "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
   23012 ac_stdint=$tmp/_stdint.h
   23013 
   23014 echo "#ifndef" $_ac_stdint_h >$ac_stdint
   23015 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
   23016 echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint
   23017 echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint
   23018 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
   23019 if test "_$ac_cv_header_stdint_t" != "_" ; then
   23020 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
   23021 echo "#include <stdint.h>" >>$ac_stdint
   23022 echo "#endif" >>$ac_stdint
   23023 echo "#endif" >>$ac_stdint
   23024 else
   23025 
   23026 cat >>$ac_stdint <<STDINT_EOF
   23027 
   23028 /* ................... shortcircuit part ........................... */
   23029 
   23030 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
   23031 #include <stdint.h>
   23032 #else
   23033 #include <stddef.h>
   23034 
   23035 /* .................... configured part ............................ */
   23036 
   23037 STDINT_EOF
   23038 
   23039 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
   23040 if test "_$ac_cv_header_stdint_x" != "_" ; then
   23041   ac_header="$ac_cv_header_stdint_x"
   23042   echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
   23043 else
   23044   echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
   23045 fi
   23046 
   23047 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
   23048 if  test "_$ac_cv_header_stdint_o" != "_" ; then
   23049   ac_header="$ac_cv_header_stdint_o"
   23050   echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
   23051 else
   23052   echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
   23053 fi
   23054 
   23055 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
   23056 if  test "_$ac_cv_header_stdint_u" != "_" ; then
   23057   ac_header="$ac_cv_header_stdint_u"
   23058   echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
   23059 else
   23060   echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
   23061 fi
   23062 
   23063 echo "" >>$ac_stdint
   23064 
   23065 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
   23066   echo "#include <$ac_header>" >>$ac_stdint
   23067   echo "" >>$ac_stdint
   23068 fi fi
   23069 
   23070 echo "/* which 64bit typedef has been found */" >>$ac_stdint
   23071 if test "$ac_cv_type_uint64_t" = "yes" ; then
   23072 echo "#define   _STDINT_HAVE_UINT64_T" "1"  >>$ac_stdint
   23073 else
   23074 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
   23075 fi
   23076 if test "$ac_cv_type_u_int64_t" = "yes" ; then
   23077 echo "#define   _STDINT_HAVE_U_INT64_T" "1"  >>$ac_stdint
   23078 else
   23079 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
   23080 fi
   23081 echo "" >>$ac_stdint
   23082 
   23083 echo "/* which type model has been detected */" >>$ac_stdint
   23084 if test "_$ac_cv_char_data_model" != "_" ; then
   23085 echo "#define   _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
   23086 echo "#define   _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
   23087 else
   23088 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
   23089 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
   23090 fi
   23091 echo "" >>$ac_stdint
   23092 
   23093 echo "/* whether int_least types were detected */" >>$ac_stdint
   23094 if test "$ac_cv_type_int_least32_t" = "yes"; then
   23095 echo "#define   _STDINT_HAVE_INT_LEAST32_T" "1"  >>$ac_stdint
   23096 else
   23097 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
   23098 fi
   23099 echo "/* whether int_fast types were detected */" >>$ac_stdint
   23100 if test "$ac_cv_type_int_fast32_t" = "yes"; then
   23101 echo "#define   _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
   23102 else
   23103 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
   23104 fi
   23105 echo "/* whether intmax_t type was detected */" >>$ac_stdint
   23106 if test "$ac_cv_type_intmax_t" = "yes"; then
   23107 echo "#define   _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
   23108 else
   23109 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
   23110 fi
   23111 echo "" >>$ac_stdint
   23112 
   23113   cat >>$ac_stdint <<STDINT_EOF
   23114 /* .................... detections part ............................ */
   23115 
   23116 /* whether we need to define bitspecific types from compiler base types */
   23117 #ifndef _STDINT_HEADER_INTPTR
   23118 #ifndef _STDINT_HEADER_UINT32
   23119 #ifndef _STDINT_HEADER_U_INT32
   23120 #define _STDINT_NEED_INT_MODEL_T
   23121 #else
   23122 #define _STDINT_HAVE_U_INT_TYPES
   23123 #endif
   23124 #endif
   23125 #endif
   23126 
   23127 #ifdef _STDINT_HAVE_U_INT_TYPES
   23128 #undef _STDINT_NEED_INT_MODEL_T
   23129 #endif
   23130 
   23131 #ifdef  _STDINT_CHAR_MODEL
   23132 #if     _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
   23133 #ifndef _STDINT_BYTE_MODEL
   23134 #define _STDINT_BYTE_MODEL 12
   23135 #endif
   23136 #endif
   23137 #endif
   23138 
   23139 #ifndef _STDINT_HAVE_INT_LEAST32_T
   23140 #define _STDINT_NEED_INT_LEAST_T
   23141 #endif
   23142 
   23143 #ifndef _STDINT_HAVE_INT_FAST32_T
   23144 #define _STDINT_NEED_INT_FAST_T
   23145 #endif
   23146 
   23147 #ifndef _STDINT_HEADER_INTPTR
   23148 #define _STDINT_NEED_INTPTR_T
   23149 #ifndef _STDINT_HAVE_INTMAX_T
   23150 #define _STDINT_NEED_INTMAX_T
   23151 #endif
   23152 #endif
   23153 
   23154 
   23155 /* .................... definition part ............................ */
   23156 
   23157 /* some system headers have good uint64_t */
   23158 #ifndef _HAVE_UINT64_T
   23159 #if     defined _STDINT_HAVE_UINT64_T  || defined HAVE_UINT64_T
   23160 #define _HAVE_UINT64_T
   23161 #elif   defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
   23162 #define _HAVE_UINT64_T
   23163 typedef u_int64_t uint64_t;
   23164 #endif
   23165 #endif
   23166 
   23167 #ifndef _HAVE_UINT64_T
   23168 /* .. here are some common heuristics using compiler runtime specifics */
   23169 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
   23170 #define _HAVE_UINT64_T
   23171 #define _HAVE_LONGLONG_UINT64_T
   23172 typedef long long int64_t;
   23173 typedef unsigned long long uint64_t;
   23174 
   23175 #elif !defined __STRICT_ANSI__
   23176 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
   23177 #define _HAVE_UINT64_T
   23178 typedef __int64 int64_t;
   23179 typedef unsigned __int64 uint64_t;
   23180 
   23181 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
   23182 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
   23183 #if !defined _NO_LONGLONG
   23184 #define _HAVE_UINT64_T
   23185 #define _HAVE_LONGLONG_UINT64_T
   23186 typedef long long int64_t;
   23187 typedef unsigned long long uint64_t;
   23188 #endif
   23189 
   23190 #elif defined __alpha || (defined __mips && defined _ABIN32)
   23191 #if !defined _NO_LONGLONG
   23192 typedef long int64_t;
   23193 typedef unsigned long uint64_t;
   23194 #endif
   23195   /* compiler/cpu type to define int64_t */
   23196 #endif
   23197 #endif
   23198 #endif
   23199 
   23200 #if defined _STDINT_HAVE_U_INT_TYPES
   23201 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
   23202 typedef u_int8_t uint8_t;
   23203 typedef u_int16_t uint16_t;
   23204 typedef u_int32_t uint32_t;
   23205 
   23206 /* glibc compatibility */
   23207 #ifndef __int8_t_defined
   23208 #define __int8_t_defined
   23209 #endif
   23210 #endif
   23211 
   23212 #ifdef _STDINT_NEED_INT_MODEL_T
   23213 /* we must guess all the basic types. Apart from byte-adressable system, */
   23214 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
   23215 /* (btw, those nibble-addressable systems are way off, or so we assume) */
   23216 
   23217 
   23218 #if defined _STDINT_BYTE_MODEL
   23219 #if _STDINT_LONG_MODEL+0 == 242
   23220 /* 2:4:2 =  IP16 = a normal 16-bit system                */
   23221 typedef unsigned char   uint8_t;
   23222 typedef unsigned short  uint16_t;
   23223 typedef unsigned long   uint32_t;
   23224 #ifndef __int8_t_defined
   23225 #define __int8_t_defined
   23226 typedef          char    int8_t;
   23227 typedef          short   int16_t;
   23228 typedef          long    int32_t;
   23229 #endif
   23230 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
   23231 /* 2:4:4 =  LP32 = a 32-bit system derived from a 16-bit */
   23232 /* 4:4:4 = ILP32 = a normal 32-bit system                */
   23233 typedef unsigned char   uint8_t;
   23234 typedef unsigned short  uint16_t;
   23235 typedef unsigned int    uint32_t;
   23236 #ifndef __int8_t_defined
   23237 #define __int8_t_defined
   23238 typedef          char    int8_t;
   23239 typedef          short   int16_t;
   23240 typedef          int     int32_t;
   23241 #endif
   23242 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
   23243 /* 4:8:4 =  IP32 = a 32-bit system prepared for 64-bit    */
   23244 /* 4:8:8 =  LP64 = a normal 64-bit system                 */
   23245 typedef unsigned char   uint8_t;
   23246 typedef unsigned short  uint16_t;
   23247 typedef unsigned int    uint32_t;
   23248 #ifndef __int8_t_defined
   23249 #define __int8_t_defined
   23250 typedef          char    int8_t;
   23251 typedef          short   int16_t;
   23252 typedef          int     int32_t;
   23253 #endif
   23254 /* this system has a "long" of 64bit */
   23255 #ifndef _HAVE_UINT64_T
   23256 #define _HAVE_UINT64_T
   23257 typedef unsigned long   uint64_t;
   23258 typedef          long    int64_t;
   23259 #endif
   23260 #elif _STDINT_LONG_MODEL+0 == 448
   23261 /*      LLP64   a 64-bit system derived from a 32-bit system */
   23262 typedef unsigned char   uint8_t;
   23263 typedef unsigned short  uint16_t;
   23264 typedef unsigned int    uint32_t;
   23265 #ifndef __int8_t_defined
   23266 #define __int8_t_defined
   23267 typedef          char    int8_t;
   23268 typedef          short   int16_t;
   23269 typedef          int     int32_t;
   23270 #endif
   23271 /* assuming the system has a "long long" */
   23272 #ifndef _HAVE_UINT64_T
   23273 #define _HAVE_UINT64_T
   23274 #define _HAVE_LONGLONG_UINT64_T
   23275 typedef unsigned long long uint64_t;
   23276 typedef          long long  int64_t;
   23277 #endif
   23278 #else
   23279 #define _STDINT_NO_INT32_T
   23280 #endif
   23281 #else
   23282 #define _STDINT_NO_INT8_T
   23283 #define _STDINT_NO_INT32_T
   23284 #endif
   23285 #endif
   23286 
   23287 /*
   23288  * quote from SunOS-5.8 sys/inttypes.h:
   23289  * Use at your own risk.  As of February 1996, the committee is squarely
   23290  * behind the fixed sized types; the "least" and "fast" types are still being
   23291  * discussed.  The probability that the "fast" types may be removed before
   23292  * the standard is finalized is high enough that they are not currently
   23293  * implemented.
   23294  */
   23295 
   23296 #if defined _STDINT_NEED_INT_LEAST_T
   23297 typedef  int8_t    int_least8_t;
   23298 typedef  int16_t   int_least16_t;
   23299 typedef  int32_t   int_least32_t;
   23300 #ifdef _HAVE_UINT64_T
   23301 typedef  int64_t   int_least64_t;
   23302 #endif
   23303 
   23304 typedef uint8_t   uint_least8_t;
   23305 typedef uint16_t  uint_least16_t;
   23306 typedef uint32_t  uint_least32_t;
   23307 #ifdef _HAVE_UINT64_T
   23308 typedef uint64_t  uint_least64_t;
   23309 #endif
   23310   /* least types */
   23311 #endif
   23312 
   23313 #if defined _STDINT_NEED_INT_FAST_T
   23314 typedef  int8_t    int_fast8_t;
   23315 typedef  int       int_fast16_t;
   23316 typedef  int32_t   int_fast32_t;
   23317 #ifdef _HAVE_UINT64_T
   23318 typedef  int64_t   int_fast64_t;
   23319 #endif
   23320 
   23321 typedef uint8_t   uint_fast8_t;
   23322 typedef unsigned  uint_fast16_t;
   23323 typedef uint32_t  uint_fast32_t;
   23324 #ifdef _HAVE_UINT64_T
   23325 typedef uint64_t  uint_fast64_t;
   23326 #endif
   23327   /* fast types */
   23328 #endif
   23329 
   23330 #ifdef _STDINT_NEED_INTMAX_T
   23331 #ifdef _HAVE_UINT64_T
   23332 typedef  int64_t       intmax_t;
   23333 typedef uint64_t      uintmax_t;
   23334 #else
   23335 typedef          long  intmax_t;
   23336 typedef unsigned long uintmax_t;
   23337 #endif
   23338 #endif
   23339 
   23340 #ifdef _STDINT_NEED_INTPTR_T
   23341 #ifndef __intptr_t_defined
   23342 #define __intptr_t_defined
   23343 /* we encourage using "long" to store pointer values, never use "int" ! */
   23344 #if   _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
   23345 typedef  unsigned int   uintptr_t;
   23346 typedef           int    intptr_t;
   23347 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
   23348 typedef  unsigned long  uintptr_t;
   23349 typedef           long   intptr_t;
   23350 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
   23351 typedef        uint64_t uintptr_t;
   23352 typedef         int64_t  intptr_t;
   23353 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
   23354 typedef  unsigned long  uintptr_t;
   23355 typedef           long   intptr_t;
   23356 #endif
   23357 #endif
   23358 #endif
   23359 
   23360 /* The ISO C99 standard specifies that in C++ implementations these
   23361    should only be defined if explicitly requested.  */
   23362 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
   23363 #ifndef UINT32_C
   23364 
   23365 /* Signed.  */
   23366 # define INT8_C(c)      c
   23367 # define INT16_C(c)     c
   23368 # define INT32_C(c)     c
   23369 # ifdef _HAVE_LONGLONG_UINT64_T
   23370 #  define INT64_C(c)    c ## L
   23371 # else
   23372 #  define INT64_C(c)    c ## LL
   23373 # endif
   23374 
   23375 /* Unsigned.  */
   23376 # define UINT8_C(c)     c ## U
   23377 # define UINT16_C(c)    c ## U
   23378 # define UINT32_C(c)    c ## U
   23379 # ifdef _HAVE_LONGLONG_UINT64_T
   23380 #  define UINT64_C(c)   c ## UL
   23381 # else
   23382 #  define UINT64_C(c)   c ## ULL
   23383 # endif
   23384 
   23385 /* Maximal type.  */
   23386 # ifdef _HAVE_LONGLONG_UINT64_T
   23387 #  define INTMAX_C(c)   c ## L
   23388 #  define UINTMAX_C(c)  c ## UL
   23389 # else
   23390 #  define INTMAX_C(c)   c ## LL
   23391 #  define UINTMAX_C(c)  c ## ULL
   23392 # endif
   23393 
   23394   /* literalnumbers */
   23395 #endif
   23396 #endif
   23397 
   23398 /* These limits are merily those of a two complement byte-oriented system */
   23399 
   23400 /* Minimum of signed integral types.  */
   23401 # define INT8_MIN               (-128)
   23402 # define INT16_MIN              (-32767-1)
   23403 # define INT32_MIN              (-2147483647-1)
   23404 # define INT64_MIN              (-__INT64_C(9223372036854775807)-1)
   23405 /* Maximum of signed integral types.  */
   23406 # define INT8_MAX               (127)
   23407 # define INT16_MAX              (32767)
   23408 # define INT32_MAX              (2147483647)
   23409 # define INT64_MAX              (__INT64_C(9223372036854775807))
   23410 
   23411 /* Maximum of unsigned integral types.  */
   23412 # define UINT8_MAX              (255)
   23413 # define UINT16_MAX             (65535)
   23414 # define UINT32_MAX             (4294967295U)
   23415 # define UINT64_MAX             (__UINT64_C(18446744073709551615))
   23416 
   23417 /* Minimum of signed integral types having a minimum size.  */
   23418 # define INT_LEAST8_MIN         INT8_MIN
   23419 # define INT_LEAST16_MIN        INT16_MIN
   23420 # define INT_LEAST32_MIN        INT32_MIN
   23421 # define INT_LEAST64_MIN        INT64_MIN
   23422 /* Maximum of signed integral types having a minimum size.  */
   23423 # define INT_LEAST8_MAX         INT8_MAX
   23424 # define INT_LEAST16_MAX        INT16_MAX
   23425 # define INT_LEAST32_MAX        INT32_MAX
   23426 # define INT_LEAST64_MAX        INT64_MAX
   23427 
   23428 /* Maximum of unsigned integral types having a minimum size.  */
   23429 # define UINT_LEAST8_MAX        UINT8_MAX
   23430 # define UINT_LEAST16_MAX       UINT16_MAX
   23431 # define UINT_LEAST32_MAX       UINT32_MAX
   23432 # define UINT_LEAST64_MAX       UINT64_MAX
   23433 
   23434   /* shortcircuit*/
   23435 #endif
   23436   /* once */
   23437 #endif
   23438 #endif
   23439 STDINT_EOF
   23440 fi
   23441     if cmp -s $ac_stdint_h $ac_stdint 2>/dev/null; then
   23442       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_stdint_h is unchanged" >&5
   23443 printf "%s\n" "$as_me: $ac_stdint_h is unchanged" >&6;}
   23444     else
   23445       ac_dir=`$as_dirname -- "$ac_stdint_h" ||
   23446 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23447 	 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
   23448 	 X"$ac_stdint_h" : 'X\(//\)$' \| \
   23449 	 X"$ac_stdint_h" : 'X\(/\)' \| . 2>/dev/null ||
   23450 printf "%s\n" X"$ac_stdint_h" |
   23451     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23452 	    s//\1/
   23453 	    q
   23454 	  }
   23455 	  /^X\(\/\/\)[^/].*/{
   23456 	    s//\1/
   23457 	    q
   23458 	  }
   23459 	  /^X\(\/\/\)$/{
   23460 	    s//\1/
   23461 	    q
   23462 	  }
   23463 	  /^X\(\/\).*/{
   23464 	    s//\1/
   23465 	    q
   23466 	  }
   23467 	  s/.*/./; q'`
   23468       as_dir="$ac_dir"; as_fn_mkdir_p
   23469       rm -f $ac_stdint_h
   23470       mv $ac_stdint $ac_stdint_h
   23471     fi
   23472  ;;
   23473 
   23474   esac
   23475 done # for ac_tag
   23476 
   23477 
   23478 as_fn_exit 0
   23479 _ACEOF
   23480 ac_clean_files=$ac_clean_files_save
   23481 
   23482 test $ac_write_fail = 0 ||
   23483   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   23484 
   23485 
   23486 # configure is writing to config.log, and then calls config.status.
   23487 # config.status does its own redirection, appending to config.log.
   23488 # Unfortunately, on DOS this fails, as config.log is still kept open
   23489 # by configure, so config.status won't be able to write to it; its
   23490 # output is simply discarded.  So we exec the FD to /dev/null,
   23491 # effectively closing config.log, so it can be properly (re)opened and
   23492 # appended to by config.status.  When coming back to configure, we
   23493 # need to make the FD available again.
   23494 if test "$no_create" != yes; then
   23495   ac_cs_success=:
   23496   ac_config_status_args=
   23497   test "$silent" = yes &&
   23498     ac_config_status_args="$ac_config_status_args --quiet"
   23499   exec 5>/dev/null
   23500   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   23501   exec 5>>config.log
   23502   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   23503   # would make configure fail if this is the last instruction.
   23504   $ac_cs_success || as_fn_exit 1
   23505 fi
   23506 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   23507   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   23508 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   23509 fi
   23510 
   23511 
   23512