Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.8
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for fontconfig 2.13.1.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/new>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 test \$(( 1 + 1 )) = 2 || exit 1
    202 
    203   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    204     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    206     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    207     PATH=/empty FPATH=/empty; export PATH FPATH
    208     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    209       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    210   if (eval "$as_required") 2>/dev/null; then :
    211   as_have_required=yes
    212 else
    213   as_have_required=no
    214 fi
    215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    216 
    217 else
    218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    219 as_found=false
    220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    221 do
    222   IFS=$as_save_IFS
    223   test -z "$as_dir" && as_dir=.
    224   as_found=:
    225   case $as_dir in #(
    226 	 /*)
    227 	   for as_base in sh bash ksh sh5; do
    228 	     # Try only shells that exist, to save several forks.
    229 	     as_shell=$as_dir/$as_base
    230 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    231 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    232   CONFIG_SHELL=$as_shell as_have_required=yes
    233 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    234   break 2
    235 fi
    236 fi
    237 	   done;;
    238        esac
    239   as_found=false
    240 done
    241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    243   CONFIG_SHELL=$SHELL as_have_required=yes
    244 fi; }
    245 IFS=$as_save_IFS
    246 
    247 
    248       if test "x$CONFIG_SHELL" != x; then :
    249   export CONFIG_SHELL
    250              # We cannot yet assume a decent shell, so we have to provide a
    251 # neutralization value for shells without unset; and this also
    252 # works around shells that cannot unset nonexistent variables.
    253 # Preserve -v and -x to the replacement shell.
    254 BASH_ENV=/dev/null
    255 ENV=/dev/null
    256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    257 case $- in # ((((
    258   *v*x* | *x*v* ) as_opts=-vx ;;
    259   *v* ) as_opts=-v ;;
    260   *x* ) as_opts=-x ;;
    261   * ) as_opts= ;;
    262 esac
    263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    264 # Admittedly, this is quite paranoid, since all the known shells bail
    265 # out after a failed `exec'.
    266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno; then :
    271   $as_echo "$0: This script requires a shell more modern than all"
    272   $as_echo "$0: the shells that I found on your system."
    273   if test x${ZSH_VERSION+set} = xset ; then
    274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    276   else
    277     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    278 $0: https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/new
    279 $0: about your system, including any error possibly output
    280 $0: before this message. Then install a modern shell, or
    281 $0: manually run the script under such a shell if you do
    282 $0: have one."
    283   fi
    284   exit 1
    285 fi
    286 fi
    287 fi
    288 SHELL=${CONFIG_SHELL-/bin/sh}
    289 export SHELL
    290 # Unset more variables known to interfere with behavior of common tools.
    291 CLICOLOR_FORCE= GREP_OPTIONS=
    292 unset CLICOLOR_FORCE GREP_OPTIONS
    293 
    294 ## --------------------- ##
    295 ## M4sh Shell Functions. ##
    296 ## --------------------- ##
    297 # as_fn_unset VAR
    298 # ---------------
    299 # Portably unset VAR.
    300 as_fn_unset ()
    301 {
    302   { eval $1=; unset $1;}
    303 }
    304 as_unset=as_fn_unset
    305 
    306 # as_fn_set_status STATUS
    307 # -----------------------
    308 # Set $? to STATUS, without forking.
    309 as_fn_set_status ()
    310 {
    311   return $1
    312 } # as_fn_set_status
    313 
    314 # as_fn_exit STATUS
    315 # -----------------
    316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    317 as_fn_exit ()
    318 {
    319   set +e
    320   as_fn_set_status $1
    321   exit $1
    322 } # as_fn_exit
    323 
    324 # as_fn_mkdir_p
    325 # -------------
    326 # Create "$as_dir" as a directory, including parents if necessary.
    327 as_fn_mkdir_p ()
    328 {
    329 
    330   case $as_dir in #(
    331   -*) as_dir=./$as_dir;;
    332   esac
    333   test -d "$as_dir" || eval $as_mkdir_p || {
    334     as_dirs=
    335     while :; do
    336       case $as_dir in #(
    337       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    338       *) as_qdir=$as_dir;;
    339       esac
    340       as_dirs="'$as_qdir' $as_dirs"
    341       as_dir=`$as_dirname -- "$as_dir" ||
    342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    343 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    344 	 X"$as_dir" : 'X\(//\)$' \| \
    345 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    346 $as_echo X"$as_dir" |
    347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\/\)[^/].*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  /^X\(\/\/\)$/{
    356 	    s//\1/
    357 	    q
    358 	  }
    359 	  /^X\(\/\).*/{
    360 	    s//\1/
    361 	    q
    362 	  }
    363 	  s/.*/./; q'`
    364       test -d "$as_dir" && break
    365     done
    366     test -z "$as_dirs" || eval "mkdir $as_dirs"
    367   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    368 
    369 
    370 } # as_fn_mkdir_p
    371 
    372 # as_fn_executable_p FILE
    373 # -----------------------
    374 # Test if FILE is an executable regular file.
    375 as_fn_executable_p ()
    376 {
    377   test -f "$1" && test -x "$1"
    378 } # as_fn_executable_p
    379 # as_fn_append VAR VALUE
    380 # ----------------------
    381 # Append the text in VALUE to the end of the definition contained in VAR. Take
    382 # advantage of any shell optimizations that allow amortized linear growth over
    383 # repeated appends, instead of the typical quadratic growth present in naive
    384 # implementations.
    385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    386   eval 'as_fn_append ()
    387   {
    388     eval $1+=\$2
    389   }'
    390 else
    391   as_fn_append ()
    392   {
    393     eval $1=\$$1\$2
    394   }
    395 fi # as_fn_append
    396 
    397 # as_fn_arith ARG...
    398 # ------------------
    399 # Perform arithmetic evaluation on the ARGs, and store the result in the
    400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    401 # must be portable across $(()) and expr.
    402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    403   eval 'as_fn_arith ()
    404   {
    405     as_val=$(( $* ))
    406   }'
    407 else
    408   as_fn_arith ()
    409   {
    410     as_val=`expr "$@" || test $? -eq 1`
    411   }
    412 fi # as_fn_arith
    413 
    414 
    415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    416 # ----------------------------------------
    417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    419 # script with STATUS, using 1 if that was 0.
    420 as_fn_error ()
    421 {
    422   as_status=$1; test $as_status -eq 0 && as_status=1
    423   if test "$4"; then
    424     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    425     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    426   fi
    427   $as_echo "$as_me: error: $2" >&2
    428   as_fn_exit $as_status
    429 } # as_fn_error
    430 
    431 if expr a : '\(a\)' >/dev/null 2>&1 &&
    432    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    433   as_expr=expr
    434 else
    435   as_expr=false
    436 fi
    437 
    438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    439   as_basename=basename
    440 else
    441   as_basename=false
    442 fi
    443 
    444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    445   as_dirname=dirname
    446 else
    447   as_dirname=false
    448 fi
    449 
    450 as_me=`$as_basename -- "$0" ||
    451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    452 	 X"$0" : 'X\(//\)$' \| \
    453 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    454 $as_echo X/"$0" |
    455     sed '/^.*\/\([^/][^/]*\)\/*$/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  /^X\/\(\/\/\)$/{
    460 	    s//\1/
    461 	    q
    462 	  }
    463 	  /^X\/\(\/\).*/{
    464 	    s//\1/
    465 	    q
    466 	  }
    467 	  s/.*/./; q'`
    468 
    469 # Avoid depending upon Character Ranges.
    470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    473 as_cr_digits='0123456789'
    474 as_cr_alnum=$as_cr_Letters$as_cr_digits
    475 
    476 
    477   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    478   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    479   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    480   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    481   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    482   sed -n '
    483     p
    484     /[$]LINENO/=
    485   ' <$as_myself |
    486     sed '
    487       s/[$]LINENO.*/&-/
    488       t lineno
    489       b
    490       :lineno
    491       N
    492       :loop
    493       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    494       t loop
    495       s/-\n.*//
    496     ' >$as_me.lineno &&
    497   chmod +x "$as_me.lineno" ||
    498     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    499 
    500   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    501   # already done that, so ensure we don't try to do so again and fall
    502   # in an infinite loop.  This has already happened in practice.
    503   _as_can_reexec=no; export _as_can_reexec
    504   # Don't try to exec as it changes $[0], causing all sort of problems
    505   # (the dirname of $[0] is not the place where we might find the
    506   # original and so on.  Autoconf is especially sensitive to this).
    507   . "./$as_me.lineno"
    508   # Exit status is that of the last command.
    509   exit
    510 }
    511 
    512 ECHO_C= ECHO_N= ECHO_T=
    513 case `echo -n x` in #(((((
    514 -n*)
    515   case `echo 'xy\c'` in
    516   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    517   xy)  ECHO_C='\c';;
    518   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    519        ECHO_T='	';;
    520   esac;;
    521 *)
    522   ECHO_N='-n';;
    523 esac
    524 
    525 rm -f conf$$ conf$$.exe conf$$.file
    526 if test -d conf$$.dir; then
    527   rm -f conf$$.dir/conf$$.file
    528 else
    529   rm -f conf$$.dir
    530   mkdir conf$$.dir 2>/dev/null
    531 fi
    532 if (echo >conf$$.file) 2>/dev/null; then
    533   if ln -s conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s='ln -s'
    535     # ... but there are two gotchas:
    536     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    537     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    538     # In both cases, we have to default to `cp -pR'.
    539     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    540       as_ln_s='cp -pR'
    541   elif ln conf$$.file conf$$ 2>/dev/null; then
    542     as_ln_s=ln
    543   else
    544     as_ln_s='cp -pR'
    545   fi
    546 else
    547   as_ln_s='cp -pR'
    548 fi
    549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    550 rmdir conf$$.dir 2>/dev/null
    551 
    552 if mkdir -p . 2>/dev/null; then
    553   as_mkdir_p='mkdir -p "$as_dir"'
    554 else
    555   test -d ./-p && rmdir ./-p
    556   as_mkdir_p=false
    557 fi
    558 
    559 as_test_x='test -x'
    560 as_executable_p=as_fn_executable_p
    561 
    562 # Sed expression to map a string onto a valid CPP name.
    563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    564 
    565 # Sed expression to map a string onto a valid variable name.
    566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    567 
    568 SHELL=${CONFIG_SHELL-/bin/sh}
    569 
    570 
    571 test -n "$DJDIR" || exec 7<&0 </dev/null
    572 exec 6>&1
    573 
    574 # Name of the host.
    575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    576 # so uname gets run too.
    577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    578 
    579 #
    580 # Initializations.
    581 #
    582 ac_default_prefix=/usr/local
    583 ac_clean_files=
    584 ac_config_libobj_dir=.
    585 LIBOBJS=
    586 cross_compiling=no
    587 subdirs=
    588 MFLAGS=
    589 MAKEFLAGS=
    590 
    591 # Identity of this package.
    592 PACKAGE_NAME='fontconfig'
    593 PACKAGE_TARNAME='fontconfig'
    594 PACKAGE_VERSION='2.13.1'
    595 PACKAGE_STRING='fontconfig 2.13.1'
    596 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/new'
    597 PACKAGE_URL=''
    598 
    599 # Factoring default headers for most tests.
    600 ac_includes_default="\
    601 #include <stdio.h>
    602 #ifdef HAVE_SYS_TYPES_H
    603 # include <sys/types.h>
    604 #endif
    605 #ifdef HAVE_SYS_STAT_H
    606 # include <sys/stat.h>
    607 #endif
    608 #ifdef STDC_HEADERS
    609 # include <stdlib.h>
    610 # include <stddef.h>
    611 #else
    612 # ifdef HAVE_STDLIB_H
    613 #  include <stdlib.h>
    614 # endif
    615 #endif
    616 #ifdef HAVE_STRING_H
    617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    618 #  include <memory.h>
    619 # endif
    620 # include <string.h>
    621 #endif
    622 #ifdef HAVE_STRINGS_H
    623 # include <strings.h>
    624 #endif
    625 #ifdef HAVE_INTTYPES_H
    626 # include <inttypes.h>
    627 #endif
    628 #ifdef HAVE_STDINT_H
    629 # include <stdint.h>
    630 #endif
    631 #ifdef HAVE_UNISTD_H
    632 # include <unistd.h>
    633 #endif"
    634 
    635 gt_needs=
    636 ac_header_list=
    637 ac_subst_vars='am__EXEEXT_FALSE
    638 am__EXEEXT_TRUE
    639 LTLIBOBJS
    640 LIBOBJS
    641 PKGCONFIG_REQUIRES_PRIVATELY
    642 PKGCONFIG_REQUIRES
    643 DOCMAN3
    644 ENABLE_DOCS_FALSE
    645 ENABLE_DOCS_TRUE
    646 USEDOCBOOK_FALSE
    647 USEDOCBOOK_TRUE
    648 HASDOCBOOK
    649 HAVE_PTHREAD_FALSE
    650 HAVE_PTHREAD_TRUE
    651 PTHREAD_CFLAGS
    652 PTHREAD_LIBS
    653 PTHREAD_CC
    654 ax_pthread_config
    655 XMLDIR
    656 CONFIGDIR
    657 BASECONFIGDIR
    658 TEMPLATEDIR
    659 FC_FONTDATE
    660 FC_CACHEDIR
    661 fc_cachedir
    662 FC_FONTPATH
    663 FC_ADD_FONTS
    664 FC_DEFAULT_FONTS
    665 PREFERRED_HINTING
    666 ENABLE_JSONC_FALSE
    667 ENABLE_JSONC_TRUE
    668 JSONC_LIBS
    669 JSONC_CFLAGS
    670 LIBXML2_LIBS
    671 LIBXML2_CFLAGS
    672 PKG_EXPAT_LIBS
    673 PKG_EXPAT_CFLAGS
    674 HAVE_XMLPARSE_H
    675 EXPAT_LIBS
    676 EXPAT_CFLAGS
    677 UUID_LIBS
    678 UUID_CFLAGS
    679 FREETYPE_PCF_LONG_FAMILY_NAMES_FALSE
    680 FREETYPE_PCF_LONG_FAMILY_NAMES_TRUE
    681 FREETYPE_LIBS
    682 FREETYPE_CFLAGS
    683 ICONV_LIBS
    684 ICONV_CFLAGS
    685 ENABLE_SHARED_FALSE
    686 ENABLE_SHARED_TRUE
    687 CROSS_COMPILING_FALSE
    688 CROSS_COMPILING_TRUE
    689 EXEEXT_FOR_BUILD
    690 CC_FOR_BUILD
    691 WARN_CFLAGS
    692 MS_LIB_AVAILABLE_FALSE
    693 MS_LIB_AVAILABLE_TRUE
    694 ms_librarian
    695 POSUB
    696 LTLIBINTL
    697 LIBINTL
    698 INTLLIBS
    699 LTLIBICONV
    700 LIBICONV
    701 INTL_MACOSX_LIBS
    702 XGETTEXT_EXTRA_OPTIONS
    703 MSGMERGE
    704 XGETTEXT_015
    705 XGETTEXT
    706 GMSGFMT_015
    707 MSGFMT_015
    708 GMSGFMT
    709 MSGFMT
    710 GETTEXT_MACRO_VERSION
    711 USE_NLS
    712 GETTEXT_PACKAGE
    713 OS_WIN32_FALSE
    714 OS_WIN32_TRUE
    715 LIBT_CURRENT_MINUS_AGE
    716 LIBT_VERSION_INFO
    717 LIBT_REVISION
    718 LIBT_CURRENT
    719 LT_SYS_LIBRARY_PATH
    720 OTOOL64
    721 OTOOL
    722 LIPO
    723 NMEDIT
    724 DSYMUTIL
    725 MANIFEST_TOOL
    726 RANLIB
    727 ac_ct_AR
    728 AR
    729 NM
    730 ac_ct_DUMPBIN
    731 DUMPBIN
    732 LD
    733 FGREP
    734 SED
    735 host_os
    736 host_vendor
    737 host_cpu
    738 host
    739 build_os
    740 build_vendor
    741 build_cpu
    742 build
    743 LIBTOOL
    744 OBJDUMP
    745 DLLTOOL
    746 AS
    747 RM
    748 GPERF
    749 GIT
    750 pkgconfigdir
    751 PKG_CONFIG_LIBDIR
    752 PKG_CONFIG_PATH
    753 PKG_CONFIG
    754 LN_S
    755 EGREP
    756 GREP
    757 CPP
    758 am__fastdepCC_FALSE
    759 am__fastdepCC_TRUE
    760 CCDEPMODE
    761 am__nodep
    762 AMDEPBACKSLASH
    763 AMDEP_FALSE
    764 AMDEP_TRUE
    765 am__include
    766 DEPDIR
    767 OBJEXT
    768 EXEEXT
    769 ac_ct_CC
    770 CPPFLAGS
    771 LDFLAGS
    772 CFLAGS
    773 CC
    774 AM_BACKSLASH
    775 AM_DEFAULT_VERBOSITY
    776 AM_DEFAULT_V
    777 AM_V
    778 am__untar
    779 am__tar
    780 AMTAR
    781 am__leading_dot
    782 SET_MAKE
    783 AWK
    784 mkdir_p
    785 MKDIR_P
    786 INSTALL_STRIP_PROGRAM
    787 STRIP
    788 install_sh
    789 MAKEINFO
    790 AUTOHEADER
    791 AUTOMAKE
    792 AUTOCONF
    793 ACLOCAL
    794 VERSION
    795 PACKAGE
    796 CYGPATH_W
    797 am__isrc
    798 INSTALL_DATA
    799 INSTALL_SCRIPT
    800 INSTALL_PROGRAM
    801 target_alias
    802 host_alias
    803 build_alias
    804 LIBS
    805 ECHO_T
    806 ECHO_N
    807 ECHO_C
    808 DEFS
    809 mandir
    810 localedir
    811 libdir
    812 psdir
    813 pdfdir
    814 dvidir
    815 htmldir
    816 infodir
    817 docdir
    818 oldincludedir
    819 includedir
    820 localstatedir
    821 sharedstatedir
    822 sysconfdir
    823 datadir
    824 datarootdir
    825 libexecdir
    826 sbindir
    827 bindir
    828 program_transform_name
    829 prefix
    830 exec_prefix
    831 PACKAGE_URL
    832 PACKAGE_BUGREPORT
    833 PACKAGE_STRING
    834 PACKAGE_VERSION
    835 PACKAGE_TARNAME
    836 PACKAGE_NAME
    837 PATH_SEPARATOR
    838 SHELL
    839 am__quote'
    840 ac_subst_files=''
    841 ac_user_opts='
    842 enable_option_checking
    843 enable_silent_rules
    844 enable_dependency_tracking
    845 enable_largefile
    846 with_pkgconfigdir
    847 enable_static
    848 enable_shared
    849 with_pic
    850 enable_fast_install
    851 with_aix_soname
    852 with_gnu_ld
    853 with_sysroot
    854 enable_libtool_lock
    855 enable_nls
    856 enable_rpath
    857 with_libiconv_prefix
    858 with_libintl_prefix
    859 with_arch
    860 enable_iconv
    861 with_libiconv
    862 with_libiconv_includes
    863 with_libiconv_lib
    864 with_expat
    865 with_expat_includes
    866 with_expat_lib
    867 enable_libxml2
    868 with_default_hinting
    869 with_default_fonts
    870 with_add_fonts
    871 with_cache_dir
    872 with_templatedir
    873 with_baseconfigdir
    874 with_configdir
    875 with_xmldir
    876 enable_docs
    877 '
    878       ac_precious_vars='build_alias
    879 host_alias
    880 target_alias
    881 CC
    882 CFLAGS
    883 LDFLAGS
    884 LIBS
    885 CPPFLAGS
    886 CPP
    887 PKG_CONFIG
    888 PKG_CONFIG_PATH
    889 PKG_CONFIG_LIBDIR
    890 LT_SYS_LIBRARY_PATH
    891 CC_FOR_BUILD
    892 FREETYPE_CFLAGS
    893 FREETYPE_LIBS
    894 UUID_CFLAGS
    895 UUID_LIBS
    896 EXPAT_CFLAGS
    897 EXPAT_LIBS
    898 LIBXML2_CFLAGS
    899 LIBXML2_LIBS
    900 JSONC_CFLAGS
    901 JSONC_LIBS'
    902 
    903 
    904 # Initialize some variables set by options.
    905 ac_init_help=
    906 ac_init_version=false
    907 ac_unrecognized_opts=
    908 ac_unrecognized_sep=
    909 # The variables have the same names as the options, with
    910 # dashes changed to underlines.
    911 cache_file=/dev/null
    912 exec_prefix=NONE
    913 no_create=
    914 no_recursion=
    915 prefix=NONE
    916 program_prefix=NONE
    917 program_suffix=NONE
    918 program_transform_name=s,x,x,
    919 silent=
    920 site=
    921 srcdir=
    922 verbose=
    923 x_includes=NONE
    924 x_libraries=NONE
    925 
    926 # Installation directory options.
    927 # These are left unexpanded so users can "make install exec_prefix=/foo"
    928 # and all the variables that are supposed to be based on exec_prefix
    929 # by default will actually change.
    930 # Use braces instead of parens because sh, perl, etc. also accept them.
    931 # (The list follows the same order as the GNU Coding Standards.)
    932 bindir='${exec_prefix}/bin'
    933 sbindir='${exec_prefix}/sbin'
    934 libexecdir='${exec_prefix}/libexec'
    935 datarootdir='${prefix}/share'
    936 datadir='${datarootdir}'
    937 sysconfdir='${prefix}/etc'
    938 sharedstatedir='${prefix}/com'
    939 localstatedir='${prefix}/var'
    940 includedir='${prefix}/include'
    941 oldincludedir='/usr/include'
    942 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    943 infodir='${datarootdir}/info'
    944 htmldir='${docdir}'
    945 dvidir='${docdir}'
    946 pdfdir='${docdir}'
    947 psdir='${docdir}'
    948 libdir='${exec_prefix}/lib'
    949 localedir='${datarootdir}/locale'
    950 mandir='${datarootdir}/man'
    951 
    952 ac_prev=
    953 ac_dashdash=
    954 for ac_option
    955 do
    956   # If the previous option needs an argument, assign it.
    957   if test -n "$ac_prev"; then
    958     eval $ac_prev=\$ac_option
    959     ac_prev=
    960     continue
    961   fi
    962 
    963   case $ac_option in
    964   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    965   *=)   ac_optarg= ;;
    966   *)    ac_optarg=yes ;;
    967   esac
    968 
    969   # Accept the important Cygnus configure options, so we can diagnose typos.
    970 
    971   case $ac_dashdash$ac_option in
    972   --)
    973     ac_dashdash=yes ;;
    974 
    975   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    976     ac_prev=bindir ;;
    977   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    978     bindir=$ac_optarg ;;
    979 
    980   -build | --build | --buil | --bui | --bu)
    981     ac_prev=build_alias ;;
    982   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    983     build_alias=$ac_optarg ;;
    984 
    985   -cache-file | --cache-file | --cache-fil | --cache-fi \
    986   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    987     ac_prev=cache_file ;;
    988   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    989   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    990     cache_file=$ac_optarg ;;
    991 
    992   --config-cache | -C)
    993     cache_file=config.cache ;;
    994 
    995   -datadir | --datadir | --datadi | --datad)
    996     ac_prev=datadir ;;
    997   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    998     datadir=$ac_optarg ;;
    999 
   1000   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1001   | --dataroo | --dataro | --datar)
   1002     ac_prev=datarootdir ;;
   1003   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1004   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1005     datarootdir=$ac_optarg ;;
   1006 
   1007   -disable-* | --disable-*)
   1008     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1009     # Reject names that are not valid shell variable names.
   1010     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1011       as_fn_error $? "invalid feature name: $ac_useropt"
   1012     ac_useropt_orig=$ac_useropt
   1013     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1014     case $ac_user_opts in
   1015       *"
   1016 "enable_$ac_useropt"
   1017 "*) ;;
   1018       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1019 	 ac_unrecognized_sep=', ';;
   1020     esac
   1021     eval enable_$ac_useropt=no ;;
   1022 
   1023   -docdir | --docdir | --docdi | --doc | --do)
   1024     ac_prev=docdir ;;
   1025   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1026     docdir=$ac_optarg ;;
   1027 
   1028   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1029     ac_prev=dvidir ;;
   1030   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1031     dvidir=$ac_optarg ;;
   1032 
   1033   -enable-* | --enable-*)
   1034     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1035     # Reject names that are not valid shell variable names.
   1036     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1037       as_fn_error $? "invalid feature name: $ac_useropt"
   1038     ac_useropt_orig=$ac_useropt
   1039     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1040     case $ac_user_opts in
   1041       *"
   1042 "enable_$ac_useropt"
   1043 "*) ;;
   1044       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1045 	 ac_unrecognized_sep=', ';;
   1046     esac
   1047     eval enable_$ac_useropt=\$ac_optarg ;;
   1048 
   1049   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1050   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1051   | --exec | --exe | --ex)
   1052     ac_prev=exec_prefix ;;
   1053   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1054   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1055   | --exec=* | --exe=* | --ex=*)
   1056     exec_prefix=$ac_optarg ;;
   1057 
   1058   -gas | --gas | --ga | --g)
   1059     # Obsolete; use --with-gas.
   1060     with_gas=yes ;;
   1061 
   1062   -help | --help | --hel | --he | -h)
   1063     ac_init_help=long ;;
   1064   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1065     ac_init_help=recursive ;;
   1066   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1067     ac_init_help=short ;;
   1068 
   1069   -host | --host | --hos | --ho)
   1070     ac_prev=host_alias ;;
   1071   -host=* | --host=* | --hos=* | --ho=*)
   1072     host_alias=$ac_optarg ;;
   1073 
   1074   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1075     ac_prev=htmldir ;;
   1076   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1077   | --ht=*)
   1078     htmldir=$ac_optarg ;;
   1079 
   1080   -includedir | --includedir | --includedi | --included | --include \
   1081   | --includ | --inclu | --incl | --inc)
   1082     ac_prev=includedir ;;
   1083   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1084   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1085     includedir=$ac_optarg ;;
   1086 
   1087   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1088     ac_prev=infodir ;;
   1089   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1090     infodir=$ac_optarg ;;
   1091 
   1092   -libdir | --libdir | --libdi | --libd)
   1093     ac_prev=libdir ;;
   1094   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1095     libdir=$ac_optarg ;;
   1096 
   1097   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1098   | --libexe | --libex | --libe)
   1099     ac_prev=libexecdir ;;
   1100   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1101   | --libexe=* | --libex=* | --libe=*)
   1102     libexecdir=$ac_optarg ;;
   1103 
   1104   -localedir | --localedir | --localedi | --localed | --locale)
   1105     ac_prev=localedir ;;
   1106   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1107     localedir=$ac_optarg ;;
   1108 
   1109   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1110   | --localstate | --localstat | --localsta | --localst | --locals)
   1111     ac_prev=localstatedir ;;
   1112   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1113   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1114     localstatedir=$ac_optarg ;;
   1115 
   1116   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1117     ac_prev=mandir ;;
   1118   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1119     mandir=$ac_optarg ;;
   1120 
   1121   -nfp | --nfp | --nf)
   1122     # Obsolete; use --without-fp.
   1123     with_fp=no ;;
   1124 
   1125   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1126   | --no-cr | --no-c | -n)
   1127     no_create=yes ;;
   1128 
   1129   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1130   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1131     no_recursion=yes ;;
   1132 
   1133   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1134   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1135   | --oldin | --oldi | --old | --ol | --o)
   1136     ac_prev=oldincludedir ;;
   1137   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1138   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1139   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1140     oldincludedir=$ac_optarg ;;
   1141 
   1142   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1143     ac_prev=prefix ;;
   1144   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1145     prefix=$ac_optarg ;;
   1146 
   1147   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1148   | --program-pre | --program-pr | --program-p)
   1149     ac_prev=program_prefix ;;
   1150   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1151   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1152     program_prefix=$ac_optarg ;;
   1153 
   1154   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1155   | --program-suf | --program-su | --program-s)
   1156     ac_prev=program_suffix ;;
   1157   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1158   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1159     program_suffix=$ac_optarg ;;
   1160 
   1161   -program-transform-name | --program-transform-name \
   1162   | --program-transform-nam | --program-transform-na \
   1163   | --program-transform-n | --program-transform- \
   1164   | --program-transform | --program-transfor \
   1165   | --program-transfo | --program-transf \
   1166   | --program-trans | --program-tran \
   1167   | --progr-tra | --program-tr | --program-t)
   1168     ac_prev=program_transform_name ;;
   1169   -program-transform-name=* | --program-transform-name=* \
   1170   | --program-transform-nam=* | --program-transform-na=* \
   1171   | --program-transform-n=* | --program-transform-=* \
   1172   | --program-transform=* | --program-transfor=* \
   1173   | --program-transfo=* | --program-transf=* \
   1174   | --program-trans=* | --program-tran=* \
   1175   | --progr-tra=* | --program-tr=* | --program-t=*)
   1176     program_transform_name=$ac_optarg ;;
   1177 
   1178   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1179     ac_prev=pdfdir ;;
   1180   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1181     pdfdir=$ac_optarg ;;
   1182 
   1183   -psdir | --psdir | --psdi | --psd | --ps)
   1184     ac_prev=psdir ;;
   1185   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1186     psdir=$ac_optarg ;;
   1187 
   1188   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1189   | -silent | --silent | --silen | --sile | --sil)
   1190     silent=yes ;;
   1191 
   1192   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1193     ac_prev=sbindir ;;
   1194   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1195   | --sbi=* | --sb=*)
   1196     sbindir=$ac_optarg ;;
   1197 
   1198   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1199   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1200   | --sharedst | --shareds | --shared | --share | --shar \
   1201   | --sha | --sh)
   1202     ac_prev=sharedstatedir ;;
   1203   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1204   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1205   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1206   | --sha=* | --sh=*)
   1207     sharedstatedir=$ac_optarg ;;
   1208 
   1209   -site | --site | --sit)
   1210     ac_prev=site ;;
   1211   -site=* | --site=* | --sit=*)
   1212     site=$ac_optarg ;;
   1213 
   1214   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1215     ac_prev=srcdir ;;
   1216   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1217     srcdir=$ac_optarg ;;
   1218 
   1219   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1220   | --syscon | --sysco | --sysc | --sys | --sy)
   1221     ac_prev=sysconfdir ;;
   1222   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1223   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1224     sysconfdir=$ac_optarg ;;
   1225 
   1226   -target | --target | --targe | --targ | --tar | --ta | --t)
   1227     ac_prev=target_alias ;;
   1228   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1229     target_alias=$ac_optarg ;;
   1230 
   1231   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1232     verbose=yes ;;
   1233 
   1234   -version | --version | --versio | --versi | --vers | -V)
   1235     ac_init_version=: ;;
   1236 
   1237   -with-* | --with-*)
   1238     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1239     # Reject names that are not valid shell variable names.
   1240     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1241       as_fn_error $? "invalid package name: $ac_useropt"
   1242     ac_useropt_orig=$ac_useropt
   1243     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1244     case $ac_user_opts in
   1245       *"
   1246 "with_$ac_useropt"
   1247 "*) ;;
   1248       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1249 	 ac_unrecognized_sep=', ';;
   1250     esac
   1251     eval with_$ac_useropt=\$ac_optarg ;;
   1252 
   1253   -without-* | --without-*)
   1254     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1255     # Reject names that are not valid shell variable names.
   1256     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1257       as_fn_error $? "invalid package name: $ac_useropt"
   1258     ac_useropt_orig=$ac_useropt
   1259     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1260     case $ac_user_opts in
   1261       *"
   1262 "with_$ac_useropt"
   1263 "*) ;;
   1264       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1265 	 ac_unrecognized_sep=', ';;
   1266     esac
   1267     eval with_$ac_useropt=no ;;
   1268 
   1269   --x)
   1270     # Obsolete; use --with-x.
   1271     with_x=yes ;;
   1272 
   1273   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1274   | --x-incl | --x-inc | --x-in | --x-i)
   1275     ac_prev=x_includes ;;
   1276   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1277   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1278     x_includes=$ac_optarg ;;
   1279 
   1280   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1281   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1282     ac_prev=x_libraries ;;
   1283   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1284   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1285     x_libraries=$ac_optarg ;;
   1286 
   1287   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1288 Try \`$0 --help' for more information"
   1289     ;;
   1290 
   1291   *=*)
   1292     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1293     # Reject names that are not valid shell variable names.
   1294     case $ac_envvar in #(
   1295       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1296       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1297     esac
   1298     eval $ac_envvar=\$ac_optarg
   1299     export $ac_envvar ;;
   1300 
   1301   *)
   1302     # FIXME: should be removed in autoconf 3.0.
   1303     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1304     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1305       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1306     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1307     ;;
   1308 
   1309   esac
   1310 done
   1311 
   1312 if test -n "$ac_prev"; then
   1313   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1314   as_fn_error $? "missing argument to $ac_option"
   1315 fi
   1316 
   1317 if test -n "$ac_unrecognized_opts"; then
   1318   case $enable_option_checking in
   1319     no) ;;
   1320     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1321     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1322   esac
   1323 fi
   1324 
   1325 # Check all directory arguments for consistency.
   1326 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1327 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1328 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1329 		libdir localedir mandir
   1330 do
   1331   eval ac_val=\$$ac_var
   1332   # Remove trailing slashes.
   1333   case $ac_val in
   1334     */ )
   1335       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1336       eval $ac_var=\$ac_val;;
   1337   esac
   1338   # Be sure to have absolute directory names.
   1339   case $ac_val in
   1340     [\\/$]* | ?:[\\/]* )  continue;;
   1341     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1342   esac
   1343   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1344 done
   1345 
   1346 # There might be people who depend on the old broken behavior: `$host'
   1347 # used to hold the argument of --host etc.
   1348 # FIXME: To remove some day.
   1349 build=$build_alias
   1350 host=$host_alias
   1351 target=$target_alias
   1352 
   1353 # FIXME: To remove some day.
   1354 if test "x$host_alias" != x; then
   1355   if test "x$build_alias" = x; then
   1356     cross_compiling=maybe
   1357   elif test "x$build_alias" != "x$host_alias"; then
   1358     cross_compiling=yes
   1359   fi
   1360 fi
   1361 
   1362 ac_tool_prefix=
   1363 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1364 
   1365 test "$silent" = yes && exec 6>/dev/null
   1366 
   1367 
   1368 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1369 ac_ls_di=`ls -di .` &&
   1370 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1371   as_fn_error $? "working directory cannot be determined"
   1372 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1373   as_fn_error $? "pwd does not report name of working directory"
   1374 
   1375 
   1376 # Find the source files, if location was not specified.
   1377 if test -z "$srcdir"; then
   1378   ac_srcdir_defaulted=yes
   1379   # Try the directory containing this script, then the parent directory.
   1380   ac_confdir=`$as_dirname -- "$as_myself" ||
   1381 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1382 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1383 	 X"$as_myself" : 'X\(//\)$' \| \
   1384 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1385 $as_echo X"$as_myself" |
   1386     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1387 	    s//\1/
   1388 	    q
   1389 	  }
   1390 	  /^X\(\/\/\)[^/].*/{
   1391 	    s//\1/
   1392 	    q
   1393 	  }
   1394 	  /^X\(\/\/\)$/{
   1395 	    s//\1/
   1396 	    q
   1397 	  }
   1398 	  /^X\(\/\).*/{
   1399 	    s//\1/
   1400 	    q
   1401 	  }
   1402 	  s/.*/./; q'`
   1403   srcdir=$ac_confdir
   1404   if test ! -r "$srcdir/$ac_unique_file"; then
   1405     srcdir=..
   1406   fi
   1407 else
   1408   ac_srcdir_defaulted=no
   1409 fi
   1410 if test ! -r "$srcdir/$ac_unique_file"; then
   1411   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1412   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1413 fi
   1414 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1415 ac_abs_confdir=`(
   1416 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1417 	pwd)`
   1418 # When building in place, set srcdir=.
   1419 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1420   srcdir=.
   1421 fi
   1422 # Remove unnecessary trailing slashes from srcdir.
   1423 # Double slashes in file names in object file debugging info
   1424 # mess up M-x gdb in Emacs.
   1425 case $srcdir in
   1426 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1427 esac
   1428 for ac_var in $ac_precious_vars; do
   1429   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1430   eval ac_env_${ac_var}_value=\$${ac_var}
   1431   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1432   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1433 done
   1434 
   1435 #
   1436 # Report the --help message.
   1437 #
   1438 if test "$ac_init_help" = "long"; then
   1439   # Omit some internal or obsolete options to make the list less imposing.
   1440   # This message is too long to be a string in the A/UX 3.1 sh.
   1441   cat <<_ACEOF
   1442 \`configure' configures fontconfig 2.13.1 to adapt to many kinds of systems.
   1443 
   1444 Usage: $0 [OPTION]... [VAR=VALUE]...
   1445 
   1446 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1447 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1448 
   1449 Defaults for the options are specified in brackets.
   1450 
   1451 Configuration:
   1452   -h, --help              display this help and exit
   1453       --help=short        display options specific to this package
   1454       --help=recursive    display the short help of all the included packages
   1455   -V, --version           display version information and exit
   1456   -q, --quiet, --silent   do not print \`checking ...' messages
   1457       --cache-file=FILE   cache test results in FILE [disabled]
   1458   -C, --config-cache      alias for \`--cache-file=config.cache'
   1459   -n, --no-create         do not create output files
   1460       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1461 
   1462 Installation directories:
   1463   --prefix=PREFIX         install architecture-independent files in PREFIX
   1464                           [$ac_default_prefix]
   1465   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1466                           [PREFIX]
   1467 
   1468 By default, \`make install' will install all the files in
   1469 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1470 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1471 for instance \`--prefix=\$HOME'.
   1472 
   1473 For better control, use the options below.
   1474 
   1475 Fine tuning of the installation directories:
   1476   --bindir=DIR            user executables [EPREFIX/bin]
   1477   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1478   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1479   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1480   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1481   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1482   --libdir=DIR            object code libraries [EPREFIX/lib]
   1483   --includedir=DIR        C header files [PREFIX/include]
   1484   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1485   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1486   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1487   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1488   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1489   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1490   --docdir=DIR            documentation root [DATAROOTDIR/doc/fontconfig]
   1491   --htmldir=DIR           html documentation [DOCDIR]
   1492   --dvidir=DIR            dvi documentation [DOCDIR]
   1493   --pdfdir=DIR            pdf documentation [DOCDIR]
   1494   --psdir=DIR             ps documentation [DOCDIR]
   1495 _ACEOF
   1496 
   1497   cat <<\_ACEOF
   1498 
   1499 Program names:
   1500   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1501   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1502   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1503 
   1504 System types:
   1505   --build=BUILD     configure for building on BUILD [guessed]
   1506   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1507 _ACEOF
   1508 fi
   1509 
   1510 if test -n "$ac_init_help"; then
   1511   case $ac_init_help in
   1512      short | recursive ) echo "Configuration of fontconfig 2.13.1:";;
   1513    esac
   1514   cat <<\_ACEOF
   1515 
   1516 Optional Features:
   1517   --disable-option-checking  ignore unrecognized --enable/--with options
   1518   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1519   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1520   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1521   --disable-silent-rules  verbose build output (undo: "make V=0")
   1522   --enable-dependency-tracking
   1523                           do not reject slow dependency extractors
   1524   --disable-dependency-tracking
   1525                           speeds up one-time build
   1526   --disable-largefile     omit support for large files
   1527   --enable-static[=PKGS]  build static libraries [default=no]
   1528   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1529   --enable-fast-install[=PKGS]
   1530                           optimize for fast installation [default=yes]
   1531   --disable-libtool-lock  avoid locking (might break parallel builds)
   1532   --disable-nls           do not use Native Language Support
   1533   --disable-rpath         do not hardcode runtime library paths
   1534   --enable-iconv          Use iconv to support non-Unicode SFNT name
   1535   --enable-libxml2        Use libxml2 instead of Expat
   1536   --disable-docs          Don't build and install documentation
   1537 
   1538 Optional Packages:
   1539   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1540   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1541   --with-pkgconfigdir     pkg-config installation directory
   1542                           ['${libdir}/pkgconfig']
   1543   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1544                           both]
   1545   --with-aix-soname=aix|svr4|both
   1546                           shared library versioning (aka "SONAME") variant to
   1547                           provide on AIX, [default=aix].
   1548   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1549   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1550                           compiler's sysroot if not specified).
   1551   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1552   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
   1553   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
   1554   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
   1555   --without-libintl-prefix     don't search for libintl in includedir and libdir
   1556   --with-arch=ARCH        Force architecture to ARCH
   1557   --with-libiconv=DIR     Use libiconv in DIR
   1558   --with-libiconv-includes=DIR
   1559                           Use libiconv includes in DIR
   1560   --with-libiconv-lib=DIR Use libiconv library in DIR
   1561   --with-expat=DIR        Use Expat in DIR
   1562   --with-expat-includes=DIR
   1563                           Use Expat includes in DIR
   1564   --with-expat-lib=DIR
   1565   --with-default-hinting=NAME
   1566                           Enable your preferred hinting configuration
   1567                           (none/slight/medium/full) [default=slight]
   1568   --with-default-fonts=DIR
   1569                           Use fonts from DIR when config is busted
   1570   --with-add-fonts=DIR1,DIR2,...
   1571                           Find additional fonts in DIR1,DIR2,...
   1572   --with-cache-dir=DIR    Use DIR to store cache files
   1573                           [default=LOCALSTATEDIR/cache/fontconfig]
   1574   --with-templatedir=DIR  Use DIR to store the configuration template files
   1575                           [default=DATADIR/fontconfig/conf.avail]
   1576   --with-baseconfigdir=DIR
   1577                           Use DIR to store the base configuration files
   1578                           [default=SYSCONFDIR/fonts]
   1579   --with-configdir=DIR    Use DIR to store active configuration files
   1580                           [default=BASECONFIGDIR/conf.d]
   1581   --with-xmldir=DIR       Use DIR to store XML schema files
   1582                           [default=DATADIR/xml/fontconfig]
   1583 
   1584 Some influential environment variables:
   1585   CC          C compiler command
   1586   CFLAGS      C compiler flags
   1587   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1588               nonstandard directory <lib dir>
   1589   LIBS        libraries to pass to the linker, e.g. -l<library>
   1590   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1591               you have headers in a nonstandard directory <include dir>
   1592   CPP         C preprocessor
   1593   PKG_CONFIG  path to pkg-config utility
   1594   PKG_CONFIG_PATH
   1595               directories to add to pkg-config's search path
   1596   PKG_CONFIG_LIBDIR
   1597               path overriding pkg-config's built-in search path
   1598   LT_SYS_LIBRARY_PATH
   1599               User-defined run-time library search path.
   1600   CC_FOR_BUILD
   1601               build system C compiler
   1602   FREETYPE_CFLAGS
   1603               C compiler flags for FREETYPE, overriding pkg-config
   1604   FREETYPE_LIBS
   1605               linker flags for FREETYPE, overriding pkg-config
   1606   UUID_CFLAGS C compiler flags for UUID, overriding pkg-config
   1607   UUID_LIBS   linker flags for UUID, overriding pkg-config
   1608   EXPAT_CFLAGS
   1609               C compiler flags for EXPAT, overriding pkg-config
   1610   EXPAT_LIBS  linker flags for EXPAT, overriding pkg-config
   1611   LIBXML2_CFLAGS
   1612               C compiler flags for LIBXML2, overriding pkg-config
   1613   LIBXML2_LIBS
   1614               linker flags for LIBXML2, overriding pkg-config
   1615   JSONC_CFLAGS
   1616               C compiler flags for JSONC, overriding pkg-config
   1617   JSONC_LIBS  linker flags for JSONC, overriding pkg-config
   1618 
   1619 Use these variables to override the choices made by `configure' or to help
   1620 it to find libraries and programs with nonstandard names/locations.
   1621 
   1622 Report bugs to <https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/new>.
   1623 _ACEOF
   1624 ac_status=$?
   1625 fi
   1626 
   1627 if test "$ac_init_help" = "recursive"; then
   1628   # If there are subdirs, report their specific --help.
   1629   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1630     test -d "$ac_dir" ||
   1631       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1632       continue
   1633     ac_builddir=.
   1634 
   1635 case "$ac_dir" in
   1636 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1637 *)
   1638   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1639   # A ".." for each directory in $ac_dir_suffix.
   1640   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1641   case $ac_top_builddir_sub in
   1642   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1643   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1644   esac ;;
   1645 esac
   1646 ac_abs_top_builddir=$ac_pwd
   1647 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1648 # for backward compatibility:
   1649 ac_top_builddir=$ac_top_build_prefix
   1650 
   1651 case $srcdir in
   1652   .)  # We are building in place.
   1653     ac_srcdir=.
   1654     ac_top_srcdir=$ac_top_builddir_sub
   1655     ac_abs_top_srcdir=$ac_pwd ;;
   1656   [\\/]* | ?:[\\/]* )  # Absolute name.
   1657     ac_srcdir=$srcdir$ac_dir_suffix;
   1658     ac_top_srcdir=$srcdir
   1659     ac_abs_top_srcdir=$srcdir ;;
   1660   *) # Relative name.
   1661     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1662     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1663     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1664 esac
   1665 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1666 
   1667     cd "$ac_dir" || { ac_status=$?; continue; }
   1668     # Check for guested configure.
   1669     if test -f "$ac_srcdir/configure.gnu"; then
   1670       echo &&
   1671       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1672     elif test -f "$ac_srcdir/configure"; then
   1673       echo &&
   1674       $SHELL "$ac_srcdir/configure" --help=recursive
   1675     else
   1676       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1677     fi || ac_status=$?
   1678     cd "$ac_pwd" || { ac_status=$?; break; }
   1679   done
   1680 fi
   1681 
   1682 test -n "$ac_init_help" && exit $ac_status
   1683 if $ac_init_version; then
   1684   cat <<\_ACEOF
   1685 fontconfig configure 2.13.1
   1686 generated by GNU Autoconf 2.69
   1687 
   1688 Copyright (C) 2012 Free Software Foundation, Inc.
   1689 This configure script is free software; the Free Software Foundation
   1690 gives unlimited permission to copy, distribute and modify it.
   1691 _ACEOF
   1692   exit
   1693 fi
   1694 
   1695 ## ------------------------ ##
   1696 ## Autoconf initialization. ##
   1697 ## ------------------------ ##
   1698 
   1699 # ac_fn_c_try_compile LINENO
   1700 # --------------------------
   1701 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1702 ac_fn_c_try_compile ()
   1703 {
   1704   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1705   rm -f conftest.$ac_objext
   1706   if { { ac_try="$ac_compile"
   1707 case "(($ac_try" in
   1708   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1709   *) ac_try_echo=$ac_try;;
   1710 esac
   1711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1712 $as_echo "$ac_try_echo"; } >&5
   1713   (eval "$ac_compile") 2>conftest.err
   1714   ac_status=$?
   1715   if test -s conftest.err; then
   1716     grep -v '^ *+' conftest.err >conftest.er1
   1717     cat conftest.er1 >&5
   1718     mv -f conftest.er1 conftest.err
   1719   fi
   1720   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1721   test $ac_status = 0; } && {
   1722 	 test -z "$ac_c_werror_flag" ||
   1723 	 test ! -s conftest.err
   1724        } && test -s conftest.$ac_objext; then :
   1725   ac_retval=0
   1726 else
   1727   $as_echo "$as_me: failed program was:" >&5
   1728 sed 's/^/| /' conftest.$ac_ext >&5
   1729 
   1730 	ac_retval=1
   1731 fi
   1732   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1733   as_fn_set_status $ac_retval
   1734 
   1735 } # ac_fn_c_try_compile
   1736 
   1737 # ac_fn_c_try_cpp LINENO
   1738 # ----------------------
   1739 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1740 ac_fn_c_try_cpp ()
   1741 {
   1742   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1743   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1744 case "(($ac_try" in
   1745   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1746   *) ac_try_echo=$ac_try;;
   1747 esac
   1748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1749 $as_echo "$ac_try_echo"; } >&5
   1750   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1751   ac_status=$?
   1752   if test -s conftest.err; then
   1753     grep -v '^ *+' conftest.err >conftest.er1
   1754     cat conftest.er1 >&5
   1755     mv -f conftest.er1 conftest.err
   1756   fi
   1757   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1758   test $ac_status = 0; } > conftest.i && {
   1759 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1760 	 test ! -s conftest.err
   1761        }; then :
   1762   ac_retval=0
   1763 else
   1764   $as_echo "$as_me: failed program was:" >&5
   1765 sed 's/^/| /' conftest.$ac_ext >&5
   1766 
   1767     ac_retval=1
   1768 fi
   1769   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1770   as_fn_set_status $ac_retval
   1771 
   1772 } # ac_fn_c_try_cpp
   1773 
   1774 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1775 # -------------------------------------------------------
   1776 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1777 # the include files in INCLUDES and setting the cache variable VAR
   1778 # accordingly.
   1779 ac_fn_c_check_header_mongrel ()
   1780 {
   1781   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1782   if eval \${$3+:} false; then :
   1783   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1784 $as_echo_n "checking for $2... " >&6; }
   1785 if eval \${$3+:} false; then :
   1786   $as_echo_n "(cached) " >&6
   1787 fi
   1788 eval ac_res=\$$3
   1789 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1790 $as_echo "$ac_res" >&6; }
   1791 else
   1792   # Is the header compilable?
   1793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1794 $as_echo_n "checking $2 usability... " >&6; }
   1795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1796 /* end confdefs.h.  */
   1797 $4
   1798 #include <$2>
   1799 _ACEOF
   1800 if ac_fn_c_try_compile "$LINENO"; then :
   1801   ac_header_compiler=yes
   1802 else
   1803   ac_header_compiler=no
   1804 fi
   1805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1807 $as_echo "$ac_header_compiler" >&6; }
   1808 
   1809 # Is the header present?
   1810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1811 $as_echo_n "checking $2 presence... " >&6; }
   1812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1813 /* end confdefs.h.  */
   1814 #include <$2>
   1815 _ACEOF
   1816 if ac_fn_c_try_cpp "$LINENO"; then :
   1817   ac_header_preproc=yes
   1818 else
   1819   ac_header_preproc=no
   1820 fi
   1821 rm -f conftest.err conftest.i conftest.$ac_ext
   1822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1823 $as_echo "$ac_header_preproc" >&6; }
   1824 
   1825 # So?  What about this header?
   1826 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1827   yes:no: )
   1828     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1829 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1830     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1831 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1832     ;;
   1833   no:yes:* )
   1834     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1835 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1836     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1837 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1838     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1839 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1840     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1841 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1842     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1843 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1844 ( $as_echo "## ------------------------------------------------------------------------------ ##
   1845 ## Report this to https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/new ##
   1846 ## ------------------------------------------------------------------------------ ##"
   1847      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1848     ;;
   1849 esac
   1850   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1851 $as_echo_n "checking for $2... " >&6; }
   1852 if eval \${$3+:} false; then :
   1853   $as_echo_n "(cached) " >&6
   1854 else
   1855   eval "$3=\$ac_header_compiler"
   1856 fi
   1857 eval ac_res=\$$3
   1858 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1859 $as_echo "$ac_res" >&6; }
   1860 fi
   1861   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1862 
   1863 } # ac_fn_c_check_header_mongrel
   1864 
   1865 # ac_fn_c_try_run LINENO
   1866 # ----------------------
   1867 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1868 # that executables *can* be run.
   1869 ac_fn_c_try_run ()
   1870 {
   1871   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1872   if { { ac_try="$ac_link"
   1873 case "(($ac_try" in
   1874   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1875   *) ac_try_echo=$ac_try;;
   1876 esac
   1877 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1878 $as_echo "$ac_try_echo"; } >&5
   1879   (eval "$ac_link") 2>&5
   1880   ac_status=$?
   1881   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1882   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1883   { { case "(($ac_try" in
   1884   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1885   *) ac_try_echo=$ac_try;;
   1886 esac
   1887 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1888 $as_echo "$ac_try_echo"; } >&5
   1889   (eval "$ac_try") 2>&5
   1890   ac_status=$?
   1891   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1892   test $ac_status = 0; }; }; then :
   1893   ac_retval=0
   1894 else
   1895   $as_echo "$as_me: program exited with status $ac_status" >&5
   1896        $as_echo "$as_me: failed program was:" >&5
   1897 sed 's/^/| /' conftest.$ac_ext >&5
   1898 
   1899        ac_retval=$ac_status
   1900 fi
   1901   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1902   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1903   as_fn_set_status $ac_retval
   1904 
   1905 } # ac_fn_c_try_run
   1906 
   1907 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1908 # -------------------------------------------------------
   1909 # Tests whether HEADER exists and can be compiled using the include files in
   1910 # INCLUDES, setting the cache variable VAR accordingly.
   1911 ac_fn_c_check_header_compile ()
   1912 {
   1913   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1914   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1915 $as_echo_n "checking for $2... " >&6; }
   1916 if eval \${$3+:} false; then :
   1917   $as_echo_n "(cached) " >&6
   1918 else
   1919   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1920 /* end confdefs.h.  */
   1921 $4
   1922 #include <$2>
   1923 _ACEOF
   1924 if ac_fn_c_try_compile "$LINENO"; then :
   1925   eval "$3=yes"
   1926 else
   1927   eval "$3=no"
   1928 fi
   1929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1930 fi
   1931 eval ac_res=\$$3
   1932 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1933 $as_echo "$ac_res" >&6; }
   1934   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1935 
   1936 } # ac_fn_c_check_header_compile
   1937 
   1938 # ac_fn_c_try_link LINENO
   1939 # -----------------------
   1940 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1941 ac_fn_c_try_link ()
   1942 {
   1943   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1944   rm -f conftest.$ac_objext conftest$ac_exeext
   1945   if { { ac_try="$ac_link"
   1946 case "(($ac_try" in
   1947   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1948   *) ac_try_echo=$ac_try;;
   1949 esac
   1950 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1951 $as_echo "$ac_try_echo"; } >&5
   1952   (eval "$ac_link") 2>conftest.err
   1953   ac_status=$?
   1954   if test -s conftest.err; then
   1955     grep -v '^ *+' conftest.err >conftest.er1
   1956     cat conftest.er1 >&5
   1957     mv -f conftest.er1 conftest.err
   1958   fi
   1959   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1960   test $ac_status = 0; } && {
   1961 	 test -z "$ac_c_werror_flag" ||
   1962 	 test ! -s conftest.err
   1963        } && test -s conftest$ac_exeext && {
   1964 	 test "$cross_compiling" = yes ||
   1965 	 test -x conftest$ac_exeext
   1966        }; then :
   1967   ac_retval=0
   1968 else
   1969   $as_echo "$as_me: failed program was:" >&5
   1970 sed 's/^/| /' conftest.$ac_ext >&5
   1971 
   1972 	ac_retval=1
   1973 fi
   1974   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1975   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1976   # interfere with the next link command; also delete a directory that is
   1977   # left behind by Apple's compiler.  We do this before executing the actions.
   1978   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1979   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1980   as_fn_set_status $ac_retval
   1981 
   1982 } # ac_fn_c_try_link
   1983 
   1984 # ac_fn_c_check_func LINENO FUNC VAR
   1985 # ----------------------------------
   1986 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1987 ac_fn_c_check_func ()
   1988 {
   1989   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1990   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1991 $as_echo_n "checking for $2... " >&6; }
   1992 if eval \${$3+:} false; then :
   1993   $as_echo_n "(cached) " >&6
   1994 else
   1995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1996 /* end confdefs.h.  */
   1997 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1998    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1999 #define $2 innocuous_$2
   2000 
   2001 /* System header to define __stub macros and hopefully few prototypes,
   2002     which can conflict with char $2 (); below.
   2003     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   2004     <limits.h> exists even on freestanding compilers.  */
   2005 
   2006 #ifdef __STDC__
   2007 # include <limits.h>
   2008 #else
   2009 # include <assert.h>
   2010 #endif
   2011 
   2012 #undef $2
   2013 
   2014 /* Override any GCC internal prototype to avoid an error.
   2015    Use char because int might match the return type of a GCC
   2016    builtin and then its argument prototype would still apply.  */
   2017 #ifdef __cplusplus
   2018 extern "C"
   2019 #endif
   2020 char $2 ();
   2021 /* The GNU C library defines this for functions which it implements
   2022     to always fail with ENOSYS.  Some functions are actually named
   2023     something starting with __ and the normal name is an alias.  */
   2024 #if defined __stub_$2 || defined __stub___$2
   2025 choke me
   2026 #endif
   2027 
   2028 int
   2029 main ()
   2030 {
   2031 return $2 ();
   2032   ;
   2033   return 0;
   2034 }
   2035 _ACEOF
   2036 if ac_fn_c_try_link "$LINENO"; then :
   2037   eval "$3=yes"
   2038 else
   2039   eval "$3=no"
   2040 fi
   2041 rm -f core conftest.err conftest.$ac_objext \
   2042     conftest$ac_exeext conftest.$ac_ext
   2043 fi
   2044 eval ac_res=\$$3
   2045 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2046 $as_echo "$ac_res" >&6; }
   2047   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2048 
   2049 } # ac_fn_c_check_func
   2050 
   2051 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   2052 # ---------------------------------------------
   2053 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   2054 # accordingly.
   2055 ac_fn_c_check_decl ()
   2056 {
   2057   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2058   as_decl_name=`echo $2|sed 's/ *(.*//'`
   2059   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2060   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   2061 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   2062 if eval \${$3+:} false; then :
   2063   $as_echo_n "(cached) " >&6
   2064 else
   2065   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2066 /* end confdefs.h.  */
   2067 $4
   2068 int
   2069 main ()
   2070 {
   2071 #ifndef $as_decl_name
   2072 #ifdef __cplusplus
   2073   (void) $as_decl_use;
   2074 #else
   2075   (void) $as_decl_name;
   2076 #endif
   2077 #endif
   2078 
   2079   ;
   2080   return 0;
   2081 }
   2082 _ACEOF
   2083 if ac_fn_c_try_compile "$LINENO"; then :
   2084   eval "$3=yes"
   2085 else
   2086   eval "$3=no"
   2087 fi
   2088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2089 fi
   2090 eval ac_res=\$$3
   2091 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2092 $as_echo "$ac_res" >&6; }
   2093   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2094 
   2095 } # ac_fn_c_check_decl
   2096 
   2097 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   2098 # -------------------------------------------
   2099 # Tests whether TYPE exists after having included INCLUDES, setting cache
   2100 # variable VAR accordingly.
   2101 ac_fn_c_check_type ()
   2102 {
   2103   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2104   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2105 $as_echo_n "checking for $2... " >&6; }
   2106 if eval \${$3+:} false; then :
   2107   $as_echo_n "(cached) " >&6
   2108 else
   2109   eval "$3=no"
   2110   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2111 /* end confdefs.h.  */
   2112 $4
   2113 int
   2114 main ()
   2115 {
   2116 if (sizeof ($2))
   2117 	 return 0;
   2118   ;
   2119   return 0;
   2120 }
   2121 _ACEOF
   2122 if ac_fn_c_try_compile "$LINENO"; then :
   2123   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2124 /* end confdefs.h.  */
   2125 $4
   2126 int
   2127 main ()
   2128 {
   2129 if (sizeof (($2)))
   2130 	    return 0;
   2131   ;
   2132   return 0;
   2133 }
   2134 _ACEOF
   2135 if ac_fn_c_try_compile "$LINENO"; then :
   2136 
   2137 else
   2138   eval "$3=yes"
   2139 fi
   2140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2141 fi
   2142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2143 fi
   2144 eval ac_res=\$$3
   2145 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2146 $as_echo "$ac_res" >&6; }
   2147   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2148 
   2149 } # ac_fn_c_check_type
   2150 
   2151 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
   2152 # --------------------------------------------
   2153 # Tries to find the compile-time value of EXPR in a program that includes
   2154 # INCLUDES, setting VAR accordingly. Returns whether the value could be
   2155 # computed
   2156 ac_fn_c_compute_int ()
   2157 {
   2158   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2159   if test "$cross_compiling" = yes; then
   2160     # Depending upon the size, compute the lo and hi bounds.
   2161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2162 /* end confdefs.h.  */
   2163 $4
   2164 int
   2165 main ()
   2166 {
   2167 static int test_array [1 - 2 * !(($2) >= 0)];
   2168 test_array [0] = 0;
   2169 return test_array [0];
   2170 
   2171   ;
   2172   return 0;
   2173 }
   2174 _ACEOF
   2175 if ac_fn_c_try_compile "$LINENO"; then :
   2176   ac_lo=0 ac_mid=0
   2177   while :; do
   2178     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2179 /* end confdefs.h.  */
   2180 $4
   2181 int
   2182 main ()
   2183 {
   2184 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2185 test_array [0] = 0;
   2186 return test_array [0];
   2187 
   2188   ;
   2189   return 0;
   2190 }
   2191 _ACEOF
   2192 if ac_fn_c_try_compile "$LINENO"; then :
   2193   ac_hi=$ac_mid; break
   2194 else
   2195   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
   2196 			if test $ac_lo -le $ac_mid; then
   2197 			  ac_lo= ac_hi=
   2198 			  break
   2199 			fi
   2200 			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
   2201 fi
   2202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2203   done
   2204 else
   2205   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2206 /* end confdefs.h.  */
   2207 $4
   2208 int
   2209 main ()
   2210 {
   2211 static int test_array [1 - 2 * !(($2) < 0)];
   2212 test_array [0] = 0;
   2213 return test_array [0];
   2214 
   2215   ;
   2216   return 0;
   2217 }
   2218 _ACEOF
   2219 if ac_fn_c_try_compile "$LINENO"; then :
   2220   ac_hi=-1 ac_mid=-1
   2221   while :; do
   2222     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2223 /* end confdefs.h.  */
   2224 $4
   2225 int
   2226 main ()
   2227 {
   2228 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
   2229 test_array [0] = 0;
   2230 return test_array [0];
   2231 
   2232   ;
   2233   return 0;
   2234 }
   2235 _ACEOF
   2236 if ac_fn_c_try_compile "$LINENO"; then :
   2237   ac_lo=$ac_mid; break
   2238 else
   2239   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
   2240 			if test $ac_mid -le $ac_hi; then
   2241 			  ac_lo= ac_hi=
   2242 			  break
   2243 			fi
   2244 			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
   2245 fi
   2246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2247   done
   2248 else
   2249   ac_lo= ac_hi=
   2250 fi
   2251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2252 fi
   2253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2254 # Binary search between lo and hi bounds.
   2255 while test "x$ac_lo" != "x$ac_hi"; do
   2256   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
   2257   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2258 /* end confdefs.h.  */
   2259 $4
   2260 int
   2261 main ()
   2262 {
   2263 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2264 test_array [0] = 0;
   2265 return test_array [0];
   2266 
   2267   ;
   2268   return 0;
   2269 }
   2270 _ACEOF
   2271 if ac_fn_c_try_compile "$LINENO"; then :
   2272   ac_hi=$ac_mid
   2273 else
   2274   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
   2275 fi
   2276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2277 done
   2278 case $ac_lo in #((
   2279 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
   2280 '') ac_retval=1 ;;
   2281 esac
   2282   else
   2283     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2284 /* end confdefs.h.  */
   2285 $4
   2286 static long int longval () { return $2; }
   2287 static unsigned long int ulongval () { return $2; }
   2288 #include <stdio.h>
   2289 #include <stdlib.h>
   2290 int
   2291 main ()
   2292 {
   2293 
   2294   FILE *f = fopen ("conftest.val", "w");
   2295   if (! f)
   2296     return 1;
   2297   if (($2) < 0)
   2298     {
   2299       long int i = longval ();
   2300       if (i != ($2))
   2301 	return 1;
   2302       fprintf (f, "%ld", i);
   2303     }
   2304   else
   2305     {
   2306       unsigned long int i = ulongval ();
   2307       if (i != ($2))
   2308 	return 1;
   2309       fprintf (f, "%lu", i);
   2310     }
   2311   /* Do not output a trailing newline, as this causes \r\n confusion
   2312      on some platforms.  */
   2313   return ferror (f) || fclose (f) != 0;
   2314 
   2315   ;
   2316   return 0;
   2317 }
   2318 _ACEOF
   2319 if ac_fn_c_try_run "$LINENO"; then :
   2320   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
   2321 else
   2322   ac_retval=1
   2323 fi
   2324 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   2325   conftest.$ac_objext conftest.beam conftest.$ac_ext
   2326 rm -f conftest.val
   2327 
   2328   fi
   2329   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2330   as_fn_set_status $ac_retval
   2331 
   2332 } # ac_fn_c_compute_int
   2333 
   2334 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   2335 # ----------------------------------------------------
   2336 # Tries to find if the field MEMBER exists in type AGGR, after including
   2337 # INCLUDES, setting cache variable VAR accordingly.
   2338 ac_fn_c_check_member ()
   2339 {
   2340   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2341   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   2342 $as_echo_n "checking for $2.$3... " >&6; }
   2343 if eval \${$4+:} false; then :
   2344   $as_echo_n "(cached) " >&6
   2345 else
   2346   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2347 /* end confdefs.h.  */
   2348 $5
   2349 int
   2350 main ()
   2351 {
   2352 static $2 ac_aggr;
   2353 if (ac_aggr.$3)
   2354 return 0;
   2355   ;
   2356   return 0;
   2357 }
   2358 _ACEOF
   2359 if ac_fn_c_try_compile "$LINENO"; then :
   2360   eval "$4=yes"
   2361 else
   2362   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2363 /* end confdefs.h.  */
   2364 $5
   2365 int
   2366 main ()
   2367 {
   2368 static $2 ac_aggr;
   2369 if (sizeof ac_aggr.$3)
   2370 return 0;
   2371   ;
   2372   return 0;
   2373 }
   2374 _ACEOF
   2375 if ac_fn_c_try_compile "$LINENO"; then :
   2376   eval "$4=yes"
   2377 else
   2378   eval "$4=no"
   2379 fi
   2380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2381 fi
   2382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2383 fi
   2384 eval ac_res=\$$4
   2385 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2386 $as_echo "$ac_res" >&6; }
   2387   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2388 
   2389 } # ac_fn_c_check_member
   2390 cat >config.log <<_ACEOF
   2391 This file contains any messages produced by compilers while
   2392 running configure, to aid debugging if configure makes a mistake.
   2393 
   2394 It was created by fontconfig $as_me 2.13.1, which was
   2395 generated by GNU Autoconf 2.69.  Invocation command line was
   2396 
   2397   $ $0 $@
   2398 
   2399 _ACEOF
   2400 exec 5>>config.log
   2401 {
   2402 cat <<_ASUNAME
   2403 ## --------- ##
   2404 ## Platform. ##
   2405 ## --------- ##
   2406 
   2407 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2408 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2409 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2410 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2411 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2412 
   2413 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2414 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2415 
   2416 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2417 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2418 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2419 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2420 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2421 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2422 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2423 
   2424 _ASUNAME
   2425 
   2426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2427 for as_dir in $PATH
   2428 do
   2429   IFS=$as_save_IFS
   2430   test -z "$as_dir" && as_dir=.
   2431     $as_echo "PATH: $as_dir"
   2432   done
   2433 IFS=$as_save_IFS
   2434 
   2435 } >&5
   2436 
   2437 cat >&5 <<_ACEOF
   2438 
   2439 
   2440 ## ----------- ##
   2441 ## Core tests. ##
   2442 ## ----------- ##
   2443 
   2444 _ACEOF
   2445 
   2446 
   2447 # Keep a trace of the command line.
   2448 # Strip out --no-create and --no-recursion so they do not pile up.
   2449 # Strip out --silent because we don't want to record it for future runs.
   2450 # Also quote any args containing shell meta-characters.
   2451 # Make two passes to allow for proper duplicate-argument suppression.
   2452 ac_configure_args=
   2453 ac_configure_args0=
   2454 ac_configure_args1=
   2455 ac_must_keep_next=false
   2456 for ac_pass in 1 2
   2457 do
   2458   for ac_arg
   2459   do
   2460     case $ac_arg in
   2461     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2462     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2463     | -silent | --silent | --silen | --sile | --sil)
   2464       continue ;;
   2465     *\'*)
   2466       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2467     esac
   2468     case $ac_pass in
   2469     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2470     2)
   2471       as_fn_append ac_configure_args1 " '$ac_arg'"
   2472       if test $ac_must_keep_next = true; then
   2473 	ac_must_keep_next=false # Got value, back to normal.
   2474       else
   2475 	case $ac_arg in
   2476 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2477 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2478 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2479 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2480 	    case "$ac_configure_args0 " in
   2481 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2482 	    esac
   2483 	    ;;
   2484 	  -* ) ac_must_keep_next=true ;;
   2485 	esac
   2486       fi
   2487       as_fn_append ac_configure_args " '$ac_arg'"
   2488       ;;
   2489     esac
   2490   done
   2491 done
   2492 { ac_configure_args0=; unset ac_configure_args0;}
   2493 { ac_configure_args1=; unset ac_configure_args1;}
   2494 
   2495 # When interrupted or exit'd, cleanup temporary files, and complete
   2496 # config.log.  We remove comments because anyway the quotes in there
   2497 # would cause problems or look ugly.
   2498 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2499 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2500 trap 'exit_status=$?
   2501   # Save into config.log some information that might help in debugging.
   2502   {
   2503     echo
   2504 
   2505     $as_echo "## ---------------- ##
   2506 ## Cache variables. ##
   2507 ## ---------------- ##"
   2508     echo
   2509     # The following way of writing the cache mishandles newlines in values,
   2510 (
   2511   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2512     eval ac_val=\$$ac_var
   2513     case $ac_val in #(
   2514     *${as_nl}*)
   2515       case $ac_var in #(
   2516       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2517 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2518       esac
   2519       case $ac_var in #(
   2520       _ | IFS | as_nl) ;; #(
   2521       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2522       *) { eval $ac_var=; unset $ac_var;} ;;
   2523       esac ;;
   2524     esac
   2525   done
   2526   (set) 2>&1 |
   2527     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2528     *${as_nl}ac_space=\ *)
   2529       sed -n \
   2530 	"s/'\''/'\''\\\\'\'''\''/g;
   2531 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2532       ;; #(
   2533     *)
   2534       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2535       ;;
   2536     esac |
   2537     sort
   2538 )
   2539     echo
   2540 
   2541     $as_echo "## ----------------- ##
   2542 ## Output variables. ##
   2543 ## ----------------- ##"
   2544     echo
   2545     for ac_var in $ac_subst_vars
   2546     do
   2547       eval ac_val=\$$ac_var
   2548       case $ac_val in
   2549       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2550       esac
   2551       $as_echo "$ac_var='\''$ac_val'\''"
   2552     done | sort
   2553     echo
   2554 
   2555     if test -n "$ac_subst_files"; then
   2556       $as_echo "## ------------------- ##
   2557 ## File substitutions. ##
   2558 ## ------------------- ##"
   2559       echo
   2560       for ac_var in $ac_subst_files
   2561       do
   2562 	eval ac_val=\$$ac_var
   2563 	case $ac_val in
   2564 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2565 	esac
   2566 	$as_echo "$ac_var='\''$ac_val'\''"
   2567       done | sort
   2568       echo
   2569     fi
   2570 
   2571     if test -s confdefs.h; then
   2572       $as_echo "## ----------- ##
   2573 ## confdefs.h. ##
   2574 ## ----------- ##"
   2575       echo
   2576       cat confdefs.h
   2577       echo
   2578     fi
   2579     test "$ac_signal" != 0 &&
   2580       $as_echo "$as_me: caught signal $ac_signal"
   2581     $as_echo "$as_me: exit $exit_status"
   2582   } >&5
   2583   rm -f core *.core core.conftest.* &&
   2584     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2585     exit $exit_status
   2586 ' 0
   2587 for ac_signal in 1 2 13 15; do
   2588   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2589 done
   2590 ac_signal=0
   2591 
   2592 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2593 rm -f -r conftest* confdefs.h
   2594 
   2595 $as_echo "/* confdefs.h */" > confdefs.h
   2596 
   2597 # Predefined preprocessor variables.
   2598 
   2599 cat >>confdefs.h <<_ACEOF
   2600 #define PACKAGE_NAME "$PACKAGE_NAME"
   2601 _ACEOF
   2602 
   2603 cat >>confdefs.h <<_ACEOF
   2604 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2605 _ACEOF
   2606 
   2607 cat >>confdefs.h <<_ACEOF
   2608 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2609 _ACEOF
   2610 
   2611 cat >>confdefs.h <<_ACEOF
   2612 #define PACKAGE_STRING "$PACKAGE_STRING"
   2613 _ACEOF
   2614 
   2615 cat >>confdefs.h <<_ACEOF
   2616 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2617 _ACEOF
   2618 
   2619 cat >>confdefs.h <<_ACEOF
   2620 #define PACKAGE_URL "$PACKAGE_URL"
   2621 _ACEOF
   2622 
   2623 
   2624 # Let the site file select an alternate cache file if it wants to.
   2625 # Prefer an explicitly selected file to automatically selected ones.
   2626 ac_site_file1=NONE
   2627 ac_site_file2=NONE
   2628 if test -n "$CONFIG_SITE"; then
   2629   # We do not want a PATH search for config.site.
   2630   case $CONFIG_SITE in #((
   2631     -*)  ac_site_file1=./$CONFIG_SITE;;
   2632     */*) ac_site_file1=$CONFIG_SITE;;
   2633     *)   ac_site_file1=./$CONFIG_SITE;;
   2634   esac
   2635 elif test "x$prefix" != xNONE; then
   2636   ac_site_file1=$prefix/share/config.site
   2637   ac_site_file2=$prefix/etc/config.site
   2638 else
   2639   ac_site_file1=$ac_default_prefix/share/config.site
   2640   ac_site_file2=$ac_default_prefix/etc/config.site
   2641 fi
   2642 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2643 do
   2644   test "x$ac_site_file" = xNONE && continue
   2645   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2646     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2647 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2648     sed 's/^/| /' "$ac_site_file" >&5
   2649     . "$ac_site_file" \
   2650       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2651 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2652 as_fn_error $? "failed to load site script $ac_site_file
   2653 See \`config.log' for more details" "$LINENO" 5; }
   2654   fi
   2655 done
   2656 
   2657 if test -r "$cache_file"; then
   2658   # Some versions of bash will fail to source /dev/null (special files
   2659   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2660   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2661     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2662 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2663     case $cache_file in
   2664       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2665       *)                      . "./$cache_file";;
   2666     esac
   2667   fi
   2668 else
   2669   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2670 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2671   >$cache_file
   2672 fi
   2673 
   2674 gt_needs="$gt_needs "
   2675 as_fn_append ac_header_list " stdlib.h"
   2676 as_fn_append ac_header_list " unistd.h"
   2677 as_fn_append ac_header_list " sys/param.h"
   2678 # Check that the precious variables saved in the cache have kept the same
   2679 # value.
   2680 ac_cache_corrupted=false
   2681 for ac_var in $ac_precious_vars; do
   2682   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2683   eval ac_new_set=\$ac_env_${ac_var}_set
   2684   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2685   eval ac_new_val=\$ac_env_${ac_var}_value
   2686   case $ac_old_set,$ac_new_set in
   2687     set,)
   2688       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2689 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2690       ac_cache_corrupted=: ;;
   2691     ,set)
   2692       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2693 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2694       ac_cache_corrupted=: ;;
   2695     ,);;
   2696     *)
   2697       if test "x$ac_old_val" != "x$ac_new_val"; then
   2698 	# differences in whitespace do not lead to failure.
   2699 	ac_old_val_w=`echo x $ac_old_val`
   2700 	ac_new_val_w=`echo x $ac_new_val`
   2701 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2702 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2703 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2704 	  ac_cache_corrupted=:
   2705 	else
   2706 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2707 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2708 	  eval $ac_var=\$ac_old_val
   2709 	fi
   2710 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2711 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2712 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2713 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2714       fi;;
   2715   esac
   2716   # Pass precious variables to config.status.
   2717   if test "$ac_new_set" = set; then
   2718     case $ac_new_val in
   2719     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2720     *) ac_arg=$ac_var=$ac_new_val ;;
   2721     esac
   2722     case " $ac_configure_args " in
   2723       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2724       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2725     esac
   2726   fi
   2727 done
   2728 if $ac_cache_corrupted; then
   2729   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2730 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2731   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2732 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2733   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2734 fi
   2735 ## -------------------- ##
   2736 ## Main body of script. ##
   2737 ## -------------------- ##
   2738 
   2739 ac_ext=c
   2740 ac_cpp='$CPP $CPPFLAGS'
   2741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2744 
   2745 
   2746 am__api_version='1.16'
   2747 
   2748 ac_aux_dir=
   2749 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2750   if test -f "$ac_dir/install-sh"; then
   2751     ac_aux_dir=$ac_dir
   2752     ac_install_sh="$ac_aux_dir/install-sh -c"
   2753     break
   2754   elif test -f "$ac_dir/install.sh"; then
   2755     ac_aux_dir=$ac_dir
   2756     ac_install_sh="$ac_aux_dir/install.sh -c"
   2757     break
   2758   elif test -f "$ac_dir/shtool"; then
   2759     ac_aux_dir=$ac_dir
   2760     ac_install_sh="$ac_aux_dir/shtool install -c"
   2761     break
   2762   fi
   2763 done
   2764 if test -z "$ac_aux_dir"; then
   2765   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2766 fi
   2767 
   2768 # These three variables are undocumented and unsupported,
   2769 # and are intended to be withdrawn in a future Autoconf release.
   2770 # They can cause serious problems if a builder's source tree is in a directory
   2771 # whose full name contains unusual characters.
   2772 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2773 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2774 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2775 
   2776 
   2777 # Find a good install program.  We prefer a C program (faster),
   2778 # so one script is as good as another.  But avoid the broken or
   2779 # incompatible versions:
   2780 # SysV /etc/install, /usr/sbin/install
   2781 # SunOS /usr/etc/install
   2782 # IRIX /sbin/install
   2783 # AIX /bin/install
   2784 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2785 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2786 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2787 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2788 # OS/2's system install, which has a completely different semantic
   2789 # ./install, which can be erroneously created by make from ./install.sh.
   2790 # Reject install programs that cannot install multiple files.
   2791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2792 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2793 if test -z "$INSTALL"; then
   2794 if ${ac_cv_path_install+:} false; then :
   2795   $as_echo_n "(cached) " >&6
   2796 else
   2797   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2798 for as_dir in $PATH
   2799 do
   2800   IFS=$as_save_IFS
   2801   test -z "$as_dir" && as_dir=.
   2802     # Account for people who put trailing slashes in PATH elements.
   2803 case $as_dir/ in #((
   2804   ./ | .// | /[cC]/* | \
   2805   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2806   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2807   /usr/ucb/* ) ;;
   2808   *)
   2809     # OSF1 and SCO ODT 3.0 have their own names for install.
   2810     # Don't use installbsd from OSF since it installs stuff as root
   2811     # by default.
   2812     for ac_prog in ginstall scoinst install; do
   2813       for ac_exec_ext in '' $ac_executable_extensions; do
   2814 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2815 	  if test $ac_prog = install &&
   2816 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2817 	    # AIX install.  It has an incompatible calling convention.
   2818 	    :
   2819 	  elif test $ac_prog = install &&
   2820 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2821 	    # program-specific install script used by HP pwplus--don't use.
   2822 	    :
   2823 	  else
   2824 	    rm -rf conftest.one conftest.two conftest.dir
   2825 	    echo one > conftest.one
   2826 	    echo two > conftest.two
   2827 	    mkdir conftest.dir
   2828 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2829 	      test -s conftest.one && test -s conftest.two &&
   2830 	      test -s conftest.dir/conftest.one &&
   2831 	      test -s conftest.dir/conftest.two
   2832 	    then
   2833 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2834 	      break 3
   2835 	    fi
   2836 	  fi
   2837 	fi
   2838       done
   2839     done
   2840     ;;
   2841 esac
   2842 
   2843   done
   2844 IFS=$as_save_IFS
   2845 
   2846 rm -rf conftest.one conftest.two conftest.dir
   2847 
   2848 fi
   2849   if test "${ac_cv_path_install+set}" = set; then
   2850     INSTALL=$ac_cv_path_install
   2851   else
   2852     # As a last resort, use the slow shell script.  Don't cache a
   2853     # value for INSTALL within a source directory, because that will
   2854     # break other packages using the cache if that directory is
   2855     # removed, or if the value is a relative name.
   2856     INSTALL=$ac_install_sh
   2857   fi
   2858 fi
   2859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2860 $as_echo "$INSTALL" >&6; }
   2861 
   2862 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2863 # It thinks the first close brace ends the variable substitution.
   2864 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2865 
   2866 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2867 
   2868 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2869 
   2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2871 $as_echo_n "checking whether build environment is sane... " >&6; }
   2872 # Reject unsafe characters in $srcdir or the absolute working directory
   2873 # name.  Accept space and tab only in the latter.
   2874 am_lf='
   2875 '
   2876 case `pwd` in
   2877   *[\\\"\#\$\&\'\`$am_lf]*)
   2878     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2879 esac
   2880 case $srcdir in
   2881   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2882     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2883 esac
   2884 
   2885 # Do 'set' in a subshell so we don't clobber the current shell's
   2886 # arguments.  Must try -L first in case configure is actually a
   2887 # symlink; some systems play weird games with the mod time of symlinks
   2888 # (eg FreeBSD returns the mod time of the symlink's containing
   2889 # directory).
   2890 if (
   2891    am_has_slept=no
   2892    for am_try in 1 2; do
   2893      echo "timestamp, slept: $am_has_slept" > conftest.file
   2894      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2895      if test "$*" = "X"; then
   2896 	# -L didn't work.
   2897 	set X `ls -t "$srcdir/configure" conftest.file`
   2898      fi
   2899      if test "$*" != "X $srcdir/configure conftest.file" \
   2900 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2901 
   2902 	# If neither matched, then we have a broken ls.  This can happen
   2903 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2904 	# broken ls alias from the environment.  This has actually
   2905 	# happened.  Such a system could not be considered "sane".
   2906 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2907   alias in your environment" "$LINENO" 5
   2908      fi
   2909      if test "$2" = conftest.file || test $am_try -eq 2; then
   2910        break
   2911      fi
   2912      # Just in case.
   2913      sleep 1
   2914      am_has_slept=yes
   2915    done
   2916    test "$2" = conftest.file
   2917    )
   2918 then
   2919    # Ok.
   2920    :
   2921 else
   2922    as_fn_error $? "newly created file is older than distributed files!
   2923 Check your system clock" "$LINENO" 5
   2924 fi
   2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2926 $as_echo "yes" >&6; }
   2927 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2928 # generated files are strictly newer.
   2929 am_sleep_pid=
   2930 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2931   ( sleep 1 ) &
   2932   am_sleep_pid=$!
   2933 fi
   2934 
   2935 rm -f conftest.file
   2936 
   2937 test "$program_prefix" != NONE &&
   2938   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2939 # Use a double $ so make ignores it.
   2940 test "$program_suffix" != NONE &&
   2941   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2942 # Double any \ or $.
   2943 # By default was `s,x,x', remove it if useless.
   2944 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2945 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2946 
   2947 # Expand $ac_aux_dir to an absolute path.
   2948 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2949 
   2950 if test x"${MISSING+set}" != xset; then
   2951   case $am_aux_dir in
   2952   *\ * | *\	*)
   2953     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2954   *)
   2955     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2956   esac
   2957 fi
   2958 # Use eval to expand $SHELL
   2959 if eval "$MISSING --is-lightweight"; then
   2960   am_missing_run="$MISSING "
   2961 else
   2962   am_missing_run=
   2963   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2964 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2965 fi
   2966 
   2967 if test x"${install_sh+set}" != xset; then
   2968   case $am_aux_dir in
   2969   *\ * | *\	*)
   2970     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2971   *)
   2972     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2973   esac
   2974 fi
   2975 
   2976 # Installed binaries are usually stripped using 'strip' when the user
   2977 # run "make install-strip".  However 'strip' might not be the right
   2978 # tool to use in cross-compilation environments, therefore Automake
   2979 # will honor the 'STRIP' environment variable to overrule this program.
   2980 if test "$cross_compiling" != no; then
   2981   if test -n "$ac_tool_prefix"; then
   2982   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2983 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2985 $as_echo_n "checking for $ac_word... " >&6; }
   2986 if ${ac_cv_prog_STRIP+:} false; then :
   2987   $as_echo_n "(cached) " >&6
   2988 else
   2989   if test -n "$STRIP"; then
   2990   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2991 else
   2992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2993 for as_dir in $PATH
   2994 do
   2995   IFS=$as_save_IFS
   2996   test -z "$as_dir" && as_dir=.
   2997     for ac_exec_ext in '' $ac_executable_extensions; do
   2998   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2999     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3000     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3001     break 2
   3002   fi
   3003 done
   3004   done
   3005 IFS=$as_save_IFS
   3006 
   3007 fi
   3008 fi
   3009 STRIP=$ac_cv_prog_STRIP
   3010 if test -n "$STRIP"; then
   3011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3012 $as_echo "$STRIP" >&6; }
   3013 else
   3014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3015 $as_echo "no" >&6; }
   3016 fi
   3017 
   3018 
   3019 fi
   3020 if test -z "$ac_cv_prog_STRIP"; then
   3021   ac_ct_STRIP=$STRIP
   3022   # Extract the first word of "strip", so it can be a program name with args.
   3023 set dummy strip; ac_word=$2
   3024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3025 $as_echo_n "checking for $ac_word... " >&6; }
   3026 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   3027   $as_echo_n "(cached) " >&6
   3028 else
   3029   if test -n "$ac_ct_STRIP"; then
   3030   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3031 else
   3032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3033 for as_dir in $PATH
   3034 do
   3035   IFS=$as_save_IFS
   3036   test -z "$as_dir" && as_dir=.
   3037     for ac_exec_ext in '' $ac_executable_extensions; do
   3038   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3039     ac_cv_prog_ac_ct_STRIP="strip"
   3040     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3041     break 2
   3042   fi
   3043 done
   3044   done
   3045 IFS=$as_save_IFS
   3046 
   3047 fi
   3048 fi
   3049 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3050 if test -n "$ac_ct_STRIP"; then
   3051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3052 $as_echo "$ac_ct_STRIP" >&6; }
   3053 else
   3054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3055 $as_echo "no" >&6; }
   3056 fi
   3057 
   3058   if test "x$ac_ct_STRIP" = x; then
   3059     STRIP=":"
   3060   else
   3061     case $cross_compiling:$ac_tool_warned in
   3062 yes:)
   3063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3064 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3065 ac_tool_warned=yes ;;
   3066 esac
   3067     STRIP=$ac_ct_STRIP
   3068   fi
   3069 else
   3070   STRIP="$ac_cv_prog_STRIP"
   3071 fi
   3072 
   3073 fi
   3074 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3075 
   3076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   3077 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   3078 if test -z "$MKDIR_P"; then
   3079   if ${ac_cv_path_mkdir+:} false; then :
   3080   $as_echo_n "(cached) " >&6
   3081 else
   3082   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3083 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3084 do
   3085   IFS=$as_save_IFS
   3086   test -z "$as_dir" && as_dir=.
   3087     for ac_prog in mkdir gmkdir; do
   3088 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3089 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   3090 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3091 	     'mkdir (GNU coreutils) '* | \
   3092 	     'mkdir (coreutils) '* | \
   3093 	     'mkdir (fileutils) '4.1*)
   3094 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   3095 	       break 3;;
   3096 	   esac
   3097 	 done
   3098        done
   3099   done
   3100 IFS=$as_save_IFS
   3101 
   3102 fi
   3103 
   3104   test -d ./--version && rmdir ./--version
   3105   if test "${ac_cv_path_mkdir+set}" = set; then
   3106     MKDIR_P="$ac_cv_path_mkdir -p"
   3107   else
   3108     # As a last resort, use the slow shell script.  Don't cache a
   3109     # value for MKDIR_P within a source directory, because that will
   3110     # break other packages using the cache if that directory is
   3111     # removed, or if the value is a relative name.
   3112     MKDIR_P="$ac_install_sh -d"
   3113   fi
   3114 fi
   3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3116 $as_echo "$MKDIR_P" >&6; }
   3117 
   3118 for ac_prog in gawk mawk nawk awk
   3119 do
   3120   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3121 set dummy $ac_prog; ac_word=$2
   3122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3123 $as_echo_n "checking for $ac_word... " >&6; }
   3124 if ${ac_cv_prog_AWK+:} false; then :
   3125   $as_echo_n "(cached) " >&6
   3126 else
   3127   if test -n "$AWK"; then
   3128   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3129 else
   3130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3131 for as_dir in $PATH
   3132 do
   3133   IFS=$as_save_IFS
   3134   test -z "$as_dir" && as_dir=.
   3135     for ac_exec_ext in '' $ac_executable_extensions; do
   3136   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3137     ac_cv_prog_AWK="$ac_prog"
   3138     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3139     break 2
   3140   fi
   3141 done
   3142   done
   3143 IFS=$as_save_IFS
   3144 
   3145 fi
   3146 fi
   3147 AWK=$ac_cv_prog_AWK
   3148 if test -n "$AWK"; then
   3149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3150 $as_echo "$AWK" >&6; }
   3151 else
   3152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3153 $as_echo "no" >&6; }
   3154 fi
   3155 
   3156 
   3157   test -n "$AWK" && break
   3158 done
   3159 
   3160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3161 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3162 set x ${MAKE-make}
   3163 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3164 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   3165   $as_echo_n "(cached) " >&6
   3166 else
   3167   cat >conftest.make <<\_ACEOF
   3168 SHELL = /bin/sh
   3169 all:
   3170 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3171 _ACEOF
   3172 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3173 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3174   *@@@%%%=?*=@@@%%%*)
   3175     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3176   *)
   3177     eval ac_cv_prog_make_${ac_make}_set=no;;
   3178 esac
   3179 rm -f conftest.make
   3180 fi
   3181 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3183 $as_echo "yes" >&6; }
   3184   SET_MAKE=
   3185 else
   3186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3187 $as_echo "no" >&6; }
   3188   SET_MAKE="MAKE=${MAKE-make}"
   3189 fi
   3190 
   3191 rm -rf .tst 2>/dev/null
   3192 mkdir .tst 2>/dev/null
   3193 if test -d .tst; then
   3194   am__leading_dot=.
   3195 else
   3196   am__leading_dot=_
   3197 fi
   3198 rmdir .tst 2>/dev/null
   3199 
   3200 # Check whether --enable-silent-rules was given.
   3201 if test "${enable_silent_rules+set}" = set; then :
   3202   enableval=$enable_silent_rules;
   3203 fi
   3204 
   3205 case $enable_silent_rules in # (((
   3206   yes) AM_DEFAULT_VERBOSITY=0;;
   3207    no) AM_DEFAULT_VERBOSITY=1;;
   3208     *) AM_DEFAULT_VERBOSITY=1;;
   3209 esac
   3210 am_make=${MAKE-make}
   3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3212 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   3213 if ${am_cv_make_support_nested_variables+:} false; then :
   3214   $as_echo_n "(cached) " >&6
   3215 else
   3216   if $as_echo 'TRUE=$(BAR$(V))
   3217 BAR0=false
   3218 BAR1=true
   3219 V=1
   3220 am__doit:
   3221 	@$(TRUE)
   3222 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3223   am_cv_make_support_nested_variables=yes
   3224 else
   3225   am_cv_make_support_nested_variables=no
   3226 fi
   3227 fi
   3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3229 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   3230 if test $am_cv_make_support_nested_variables = yes; then
   3231     AM_V='$(V)'
   3232   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3233 else
   3234   AM_V=$AM_DEFAULT_VERBOSITY
   3235   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3236 fi
   3237 AM_BACKSLASH='\'
   3238 
   3239 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3240   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3241   # is not polluted with repeated "-I."
   3242   am__isrc=' -I$(srcdir)'
   3243   # test to see if srcdir already configured
   3244   if test -f $srcdir/config.status; then
   3245     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3246   fi
   3247 fi
   3248 
   3249 # test whether we have cygpath
   3250 if test -z "$CYGPATH_W"; then
   3251   if (cygpath --version) >/dev/null 2>/dev/null; then
   3252     CYGPATH_W='cygpath -w'
   3253   else
   3254     CYGPATH_W=echo
   3255   fi
   3256 fi
   3257 
   3258 
   3259 # Define the identity of the package.
   3260  PACKAGE='fontconfig'
   3261  VERSION='2.13.1'
   3262 
   3263 
   3264 cat >>confdefs.h <<_ACEOF
   3265 #define PACKAGE "$PACKAGE"
   3266 _ACEOF
   3267 
   3268 
   3269 cat >>confdefs.h <<_ACEOF
   3270 #define VERSION "$VERSION"
   3271 _ACEOF
   3272 
   3273 # Some tools Automake needs.
   3274 
   3275 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3276 
   3277 
   3278 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3279 
   3280 
   3281 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3282 
   3283 
   3284 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3285 
   3286 
   3287 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3288 
   3289 # For better backward compatibility.  To be removed once Automake 1.9.x
   3290 # dies out for good.  For more background, see:
   3291 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3292 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3293 mkdir_p='$(MKDIR_P)'
   3294 
   3295 # We need awk for the "check" target (and possibly the TAP driver).  The
   3296 # system "awk" is bad on some platforms.
   3297 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3298 # in the wild :-(  We should find a proper way to deprecate it ...
   3299 AMTAR='$${TAR-tar}'
   3300 
   3301 
   3302 # We'll loop over all known methods to create a tar archive until one works.
   3303 _am_tools='gnutar  pax cpio none'
   3304 
   3305 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3306 
   3307 
   3308 
   3309 
   3310 
   3311 
   3312 # POSIX will say in a future version that running "rm -f" with no argument
   3313 # is OK; and we want to be able to make that assumption in our Makefile
   3314 # recipes.  So use an aggressive probe to check that the usage we want is
   3315 # actually supported "in the wild" to an acceptable degree.
   3316 # See automake bug#10828.
   3317 # To make any issue more visible, cause the running configure to be aborted
   3318 # by default if the 'rm' program in use doesn't match our expectations; the
   3319 # user can still override this though.
   3320 if rm -f && rm -fr && rm -rf; then : OK; else
   3321   cat >&2 <<'END'
   3322 Oops!
   3323 
   3324 Your 'rm' program seems unable to run without file operands specified
   3325 on the command line, even when the '-f' option is present.  This is contrary
   3326 to the behaviour of most rm programs out there, and not conforming with
   3327 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3328 
   3329 Please tell bug-automake@gnu.org about your system, including the value
   3330 of your $PATH and any error possibly output before this message.  This
   3331 can help us improve future automake versions.
   3332 
   3333 END
   3334   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3335     echo 'Configuration will proceed anyway, since you have set the' >&2
   3336     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3337     echo >&2
   3338   else
   3339     cat >&2 <<'END'
   3340 Aborting the configuration process, to ensure you take notice of the issue.
   3341 
   3342 You can download and install GNU coreutils to get an 'rm' implementation
   3343 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3344 
   3345 If you want to complete the configuration process using your problematic
   3346 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3347 to "yes", and re-run configure.
   3348 
   3349 END
   3350     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3351   fi
   3352 fi
   3353 
   3354 # Check whether --enable-silent-rules was given.
   3355 if test "${enable_silent_rules+set}" = set; then :
   3356   enableval=$enable_silent_rules;
   3357 fi
   3358 
   3359 case $enable_silent_rules in # (((
   3360   yes) AM_DEFAULT_VERBOSITY=0;;
   3361    no) AM_DEFAULT_VERBOSITY=1;;
   3362     *) AM_DEFAULT_VERBOSITY=0;;
   3363 esac
   3364 am_make=${MAKE-make}
   3365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3366 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   3367 if ${am_cv_make_support_nested_variables+:} false; then :
   3368   $as_echo_n "(cached) " >&6
   3369 else
   3370   if $as_echo 'TRUE=$(BAR$(V))
   3371 BAR0=false
   3372 BAR1=true
   3373 V=1
   3374 am__doit:
   3375 	@$(TRUE)
   3376 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3377   am_cv_make_support_nested_variables=yes
   3378 else
   3379   am_cv_make_support_nested_variables=no
   3380 fi
   3381 fi
   3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3383 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   3384 if test $am_cv_make_support_nested_variables = yes; then
   3385     AM_V='$(V)'
   3386   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3387 else
   3388   AM_V=$AM_DEFAULT_VERBOSITY
   3389   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3390 fi
   3391 AM_BACKSLASH='\'
   3392 
   3393 
   3394 
   3395 ac_config_headers="$ac_config_headers config.h"
   3396 
   3397 
   3398 
   3399 ac_ext=c
   3400 ac_cpp='$CPP $CPPFLAGS'
   3401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3404 if test -n "$ac_tool_prefix"; then
   3405   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3406 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3408 $as_echo_n "checking for $ac_word... " >&6; }
   3409 if ${ac_cv_prog_CC+:} false; then :
   3410   $as_echo_n "(cached) " >&6
   3411 else
   3412   if test -n "$CC"; then
   3413   ac_cv_prog_CC="$CC" # Let the user override the test.
   3414 else
   3415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3416 for as_dir in $PATH
   3417 do
   3418   IFS=$as_save_IFS
   3419   test -z "$as_dir" && as_dir=.
   3420     for ac_exec_ext in '' $ac_executable_extensions; do
   3421   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3422     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3423     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3424     break 2
   3425   fi
   3426 done
   3427   done
   3428 IFS=$as_save_IFS
   3429 
   3430 fi
   3431 fi
   3432 CC=$ac_cv_prog_CC
   3433 if test -n "$CC"; then
   3434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3435 $as_echo "$CC" >&6; }
   3436 else
   3437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3438 $as_echo "no" >&6; }
   3439 fi
   3440 
   3441 
   3442 fi
   3443 if test -z "$ac_cv_prog_CC"; then
   3444   ac_ct_CC=$CC
   3445   # Extract the first word of "gcc", so it can be a program name with args.
   3446 set dummy gcc; ac_word=$2
   3447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3448 $as_echo_n "checking for $ac_word... " >&6; }
   3449 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3450   $as_echo_n "(cached) " >&6
   3451 else
   3452   if test -n "$ac_ct_CC"; then
   3453   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3454 else
   3455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3456 for as_dir in $PATH
   3457 do
   3458   IFS=$as_save_IFS
   3459   test -z "$as_dir" && as_dir=.
   3460     for ac_exec_ext in '' $ac_executable_extensions; do
   3461   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3462     ac_cv_prog_ac_ct_CC="gcc"
   3463     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3464     break 2
   3465   fi
   3466 done
   3467   done
   3468 IFS=$as_save_IFS
   3469 
   3470 fi
   3471 fi
   3472 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3473 if test -n "$ac_ct_CC"; then
   3474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3475 $as_echo "$ac_ct_CC" >&6; }
   3476 else
   3477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3478 $as_echo "no" >&6; }
   3479 fi
   3480 
   3481   if test "x$ac_ct_CC" = x; then
   3482     CC=""
   3483   else
   3484     case $cross_compiling:$ac_tool_warned in
   3485 yes:)
   3486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3487 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3488 ac_tool_warned=yes ;;
   3489 esac
   3490     CC=$ac_ct_CC
   3491   fi
   3492 else
   3493   CC="$ac_cv_prog_CC"
   3494 fi
   3495 
   3496 if test -z "$CC"; then
   3497           if test -n "$ac_tool_prefix"; then
   3498     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3499 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3501 $as_echo_n "checking for $ac_word... " >&6; }
   3502 if ${ac_cv_prog_CC+:} false; then :
   3503   $as_echo_n "(cached) " >&6
   3504 else
   3505   if test -n "$CC"; then
   3506   ac_cv_prog_CC="$CC" # Let the user override the test.
   3507 else
   3508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3509 for as_dir in $PATH
   3510 do
   3511   IFS=$as_save_IFS
   3512   test -z "$as_dir" && as_dir=.
   3513     for ac_exec_ext in '' $ac_executable_extensions; do
   3514   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3515     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3516     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3517     break 2
   3518   fi
   3519 done
   3520   done
   3521 IFS=$as_save_IFS
   3522 
   3523 fi
   3524 fi
   3525 CC=$ac_cv_prog_CC
   3526 if test -n "$CC"; then
   3527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3528 $as_echo "$CC" >&6; }
   3529 else
   3530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3531 $as_echo "no" >&6; }
   3532 fi
   3533 
   3534 
   3535   fi
   3536 fi
   3537 if test -z "$CC"; then
   3538   # Extract the first word of "cc", so it can be a program name with args.
   3539 set dummy cc; ac_word=$2
   3540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3541 $as_echo_n "checking for $ac_word... " >&6; }
   3542 if ${ac_cv_prog_CC+:} false; then :
   3543   $as_echo_n "(cached) " >&6
   3544 else
   3545   if test -n "$CC"; then
   3546   ac_cv_prog_CC="$CC" # Let the user override the test.
   3547 else
   3548   ac_prog_rejected=no
   3549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3550 for as_dir in $PATH
   3551 do
   3552   IFS=$as_save_IFS
   3553   test -z "$as_dir" && as_dir=.
   3554     for ac_exec_ext in '' $ac_executable_extensions; do
   3555   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3556     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3557        ac_prog_rejected=yes
   3558        continue
   3559      fi
   3560     ac_cv_prog_CC="cc"
   3561     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3562     break 2
   3563   fi
   3564 done
   3565   done
   3566 IFS=$as_save_IFS
   3567 
   3568 if test $ac_prog_rejected = yes; then
   3569   # We found a bogon in the path, so make sure we never use it.
   3570   set dummy $ac_cv_prog_CC
   3571   shift
   3572   if test $# != 0; then
   3573     # We chose a different compiler from the bogus one.
   3574     # However, it has the same basename, so the bogon will be chosen
   3575     # first if we set CC to just the basename; use the full file name.
   3576     shift
   3577     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3578   fi
   3579 fi
   3580 fi
   3581 fi
   3582 CC=$ac_cv_prog_CC
   3583 if test -n "$CC"; then
   3584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3585 $as_echo "$CC" >&6; }
   3586 else
   3587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3588 $as_echo "no" >&6; }
   3589 fi
   3590 
   3591 
   3592 fi
   3593 if test -z "$CC"; then
   3594   if test -n "$ac_tool_prefix"; then
   3595   for ac_prog in cl.exe
   3596   do
   3597     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3598 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3600 $as_echo_n "checking for $ac_word... " >&6; }
   3601 if ${ac_cv_prog_CC+:} false; then :
   3602   $as_echo_n "(cached) " >&6
   3603 else
   3604   if test -n "$CC"; then
   3605   ac_cv_prog_CC="$CC" # Let the user override the test.
   3606 else
   3607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3608 for as_dir in $PATH
   3609 do
   3610   IFS=$as_save_IFS
   3611   test -z "$as_dir" && as_dir=.
   3612     for ac_exec_ext in '' $ac_executable_extensions; do
   3613   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3614     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3615     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3616     break 2
   3617   fi
   3618 done
   3619   done
   3620 IFS=$as_save_IFS
   3621 
   3622 fi
   3623 fi
   3624 CC=$ac_cv_prog_CC
   3625 if test -n "$CC"; then
   3626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3627 $as_echo "$CC" >&6; }
   3628 else
   3629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3630 $as_echo "no" >&6; }
   3631 fi
   3632 
   3633 
   3634     test -n "$CC" && break
   3635   done
   3636 fi
   3637 if test -z "$CC"; then
   3638   ac_ct_CC=$CC
   3639   for ac_prog in cl.exe
   3640 do
   3641   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3642 set dummy $ac_prog; ac_word=$2
   3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3644 $as_echo_n "checking for $ac_word... " >&6; }
   3645 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3646   $as_echo_n "(cached) " >&6
   3647 else
   3648   if test -n "$ac_ct_CC"; then
   3649   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3650 else
   3651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3652 for as_dir in $PATH
   3653 do
   3654   IFS=$as_save_IFS
   3655   test -z "$as_dir" && as_dir=.
   3656     for ac_exec_ext in '' $ac_executable_extensions; do
   3657   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3658     ac_cv_prog_ac_ct_CC="$ac_prog"
   3659     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3660     break 2
   3661   fi
   3662 done
   3663   done
   3664 IFS=$as_save_IFS
   3665 
   3666 fi
   3667 fi
   3668 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3669 if test -n "$ac_ct_CC"; then
   3670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3671 $as_echo "$ac_ct_CC" >&6; }
   3672 else
   3673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3674 $as_echo "no" >&6; }
   3675 fi
   3676 
   3677 
   3678   test -n "$ac_ct_CC" && break
   3679 done
   3680 
   3681   if test "x$ac_ct_CC" = x; then
   3682     CC=""
   3683   else
   3684     case $cross_compiling:$ac_tool_warned in
   3685 yes:)
   3686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3687 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3688 ac_tool_warned=yes ;;
   3689 esac
   3690     CC=$ac_ct_CC
   3691   fi
   3692 fi
   3693 
   3694 fi
   3695 
   3696 
   3697 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3698 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3699 as_fn_error $? "no acceptable C compiler found in \$PATH
   3700 See \`config.log' for more details" "$LINENO" 5; }
   3701 
   3702 # Provide some information about the compiler.
   3703 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3704 set X $ac_compile
   3705 ac_compiler=$2
   3706 for ac_option in --version -v -V -qversion; do
   3707   { { ac_try="$ac_compiler $ac_option >&5"
   3708 case "(($ac_try" in
   3709   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3710   *) ac_try_echo=$ac_try;;
   3711 esac
   3712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3713 $as_echo "$ac_try_echo"; } >&5
   3714   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3715   ac_status=$?
   3716   if test -s conftest.err; then
   3717     sed '10a\
   3718 ... rest of stderr output deleted ...
   3719          10q' conftest.err >conftest.er1
   3720     cat conftest.er1 >&5
   3721   fi
   3722   rm -f conftest.er1 conftest.err
   3723   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3724   test $ac_status = 0; }
   3725 done
   3726 
   3727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3728 /* end confdefs.h.  */
   3729 
   3730 int
   3731 main ()
   3732 {
   3733 
   3734   ;
   3735   return 0;
   3736 }
   3737 _ACEOF
   3738 ac_clean_files_save=$ac_clean_files
   3739 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3740 # Try to create an executable without -o first, disregard a.out.
   3741 # It will help us diagnose broken compilers, and finding out an intuition
   3742 # of exeext.
   3743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3744 $as_echo_n "checking whether the C compiler works... " >&6; }
   3745 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3746 
   3747 # The possible output files:
   3748 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3749 
   3750 ac_rmfiles=
   3751 for ac_file in $ac_files
   3752 do
   3753   case $ac_file in
   3754     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3755     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3756   esac
   3757 done
   3758 rm -f $ac_rmfiles
   3759 
   3760 if { { ac_try="$ac_link_default"
   3761 case "(($ac_try" in
   3762   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3763   *) ac_try_echo=$ac_try;;
   3764 esac
   3765 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3766 $as_echo "$ac_try_echo"; } >&5
   3767   (eval "$ac_link_default") 2>&5
   3768   ac_status=$?
   3769   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3770   test $ac_status = 0; }; then :
   3771   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3772 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3773 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3774 # so that the user can short-circuit this test for compilers unknown to
   3775 # Autoconf.
   3776 for ac_file in $ac_files ''
   3777 do
   3778   test -f "$ac_file" || continue
   3779   case $ac_file in
   3780     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3781 	;;
   3782     [ab].out )
   3783 	# We found the default executable, but exeext='' is most
   3784 	# certainly right.
   3785 	break;;
   3786     *.* )
   3787 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3788 	then :; else
   3789 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3790 	fi
   3791 	# We set ac_cv_exeext here because the later test for it is not
   3792 	# safe: cross compilers may not add the suffix if given an `-o'
   3793 	# argument, so we may need to know it at that point already.
   3794 	# Even if this section looks crufty: it has the advantage of
   3795 	# actually working.
   3796 	break;;
   3797     * )
   3798 	break;;
   3799   esac
   3800 done
   3801 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3802 
   3803 else
   3804   ac_file=''
   3805 fi
   3806 if test -z "$ac_file"; then :
   3807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3808 $as_echo "no" >&6; }
   3809 $as_echo "$as_me: failed program was:" >&5
   3810 sed 's/^/| /' conftest.$ac_ext >&5
   3811 
   3812 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3813 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3814 as_fn_error 77 "C compiler cannot create executables
   3815 See \`config.log' for more details" "$LINENO" 5; }
   3816 else
   3817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3818 $as_echo "yes" >&6; }
   3819 fi
   3820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3821 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3823 $as_echo "$ac_file" >&6; }
   3824 ac_exeext=$ac_cv_exeext
   3825 
   3826 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3827 ac_clean_files=$ac_clean_files_save
   3828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3829 $as_echo_n "checking for suffix of executables... " >&6; }
   3830 if { { ac_try="$ac_link"
   3831 case "(($ac_try" in
   3832   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3833   *) ac_try_echo=$ac_try;;
   3834 esac
   3835 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3836 $as_echo "$ac_try_echo"; } >&5
   3837   (eval "$ac_link") 2>&5
   3838   ac_status=$?
   3839   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3840   test $ac_status = 0; }; then :
   3841   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3842 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3843 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3844 # `rm'.
   3845 for ac_file in conftest.exe conftest conftest.*; do
   3846   test -f "$ac_file" || continue
   3847   case $ac_file in
   3848     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3849     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3850 	  break;;
   3851     * ) break;;
   3852   esac
   3853 done
   3854 else
   3855   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3856 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3857 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3858 See \`config.log' for more details" "$LINENO" 5; }
   3859 fi
   3860 rm -f conftest conftest$ac_cv_exeext
   3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3862 $as_echo "$ac_cv_exeext" >&6; }
   3863 
   3864 rm -f conftest.$ac_ext
   3865 EXEEXT=$ac_cv_exeext
   3866 ac_exeext=$EXEEXT
   3867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3868 /* end confdefs.h.  */
   3869 #include <stdio.h>
   3870 int
   3871 main ()
   3872 {
   3873 FILE *f = fopen ("conftest.out", "w");
   3874  return ferror (f) || fclose (f) != 0;
   3875 
   3876   ;
   3877   return 0;
   3878 }
   3879 _ACEOF
   3880 ac_clean_files="$ac_clean_files conftest.out"
   3881 # Check that the compiler produces executables we can run.  If not, either
   3882 # the compiler is broken, or we cross compile.
   3883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3884 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3885 if test "$cross_compiling" != yes; then
   3886   { { ac_try="$ac_link"
   3887 case "(($ac_try" in
   3888   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3889   *) ac_try_echo=$ac_try;;
   3890 esac
   3891 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3892 $as_echo "$ac_try_echo"; } >&5
   3893   (eval "$ac_link") 2>&5
   3894   ac_status=$?
   3895   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3896   test $ac_status = 0; }
   3897   if { ac_try='./conftest$ac_cv_exeext'
   3898   { { case "(($ac_try" in
   3899   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3900   *) ac_try_echo=$ac_try;;
   3901 esac
   3902 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3903 $as_echo "$ac_try_echo"; } >&5
   3904   (eval "$ac_try") 2>&5
   3905   ac_status=$?
   3906   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3907   test $ac_status = 0; }; }; then
   3908     cross_compiling=no
   3909   else
   3910     if test "$cross_compiling" = maybe; then
   3911 	cross_compiling=yes
   3912     else
   3913 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3914 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3915 as_fn_error $? "cannot run C compiled programs.
   3916 If you meant to cross compile, use \`--host'.
   3917 See \`config.log' for more details" "$LINENO" 5; }
   3918     fi
   3919   fi
   3920 fi
   3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3922 $as_echo "$cross_compiling" >&6; }
   3923 
   3924 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3925 ac_clean_files=$ac_clean_files_save
   3926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3927 $as_echo_n "checking for suffix of object files... " >&6; }
   3928 if ${ac_cv_objext+:} false; then :
   3929   $as_echo_n "(cached) " >&6
   3930 else
   3931   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3932 /* end confdefs.h.  */
   3933 
   3934 int
   3935 main ()
   3936 {
   3937 
   3938   ;
   3939   return 0;
   3940 }
   3941 _ACEOF
   3942 rm -f conftest.o conftest.obj
   3943 if { { ac_try="$ac_compile"
   3944 case "(($ac_try" in
   3945   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3946   *) ac_try_echo=$ac_try;;
   3947 esac
   3948 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3949 $as_echo "$ac_try_echo"; } >&5
   3950   (eval "$ac_compile") 2>&5
   3951   ac_status=$?
   3952   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3953   test $ac_status = 0; }; then :
   3954   for ac_file in conftest.o conftest.obj conftest.*; do
   3955   test -f "$ac_file" || continue;
   3956   case $ac_file in
   3957     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3958     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3959        break;;
   3960   esac
   3961 done
   3962 else
   3963   $as_echo "$as_me: failed program was:" >&5
   3964 sed 's/^/| /' conftest.$ac_ext >&5
   3965 
   3966 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3967 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3968 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3969 See \`config.log' for more details" "$LINENO" 5; }
   3970 fi
   3971 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3972 fi
   3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3974 $as_echo "$ac_cv_objext" >&6; }
   3975 OBJEXT=$ac_cv_objext
   3976 ac_objext=$OBJEXT
   3977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3978 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3979 if ${ac_cv_c_compiler_gnu+:} false; then :
   3980   $as_echo_n "(cached) " >&6
   3981 else
   3982   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3983 /* end confdefs.h.  */
   3984 
   3985 int
   3986 main ()
   3987 {
   3988 #ifndef __GNUC__
   3989        choke me
   3990 #endif
   3991 
   3992   ;
   3993   return 0;
   3994 }
   3995 _ACEOF
   3996 if ac_fn_c_try_compile "$LINENO"; then :
   3997   ac_compiler_gnu=yes
   3998 else
   3999   ac_compiler_gnu=no
   4000 fi
   4001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4002 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4003 
   4004 fi
   4005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4006 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   4007 if test $ac_compiler_gnu = yes; then
   4008   GCC=yes
   4009 else
   4010   GCC=
   4011 fi
   4012 ac_test_CFLAGS=${CFLAGS+set}
   4013 ac_save_CFLAGS=$CFLAGS
   4014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4015 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   4016 if ${ac_cv_prog_cc_g+:} false; then :
   4017   $as_echo_n "(cached) " >&6
   4018 else
   4019   ac_save_c_werror_flag=$ac_c_werror_flag
   4020    ac_c_werror_flag=yes
   4021    ac_cv_prog_cc_g=no
   4022    CFLAGS="-g"
   4023    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4024 /* end confdefs.h.  */
   4025 
   4026 int
   4027 main ()
   4028 {
   4029 
   4030   ;
   4031   return 0;
   4032 }
   4033 _ACEOF
   4034 if ac_fn_c_try_compile "$LINENO"; then :
   4035   ac_cv_prog_cc_g=yes
   4036 else
   4037   CFLAGS=""
   4038       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4039 /* end confdefs.h.  */
   4040 
   4041 int
   4042 main ()
   4043 {
   4044 
   4045   ;
   4046   return 0;
   4047 }
   4048 _ACEOF
   4049 if ac_fn_c_try_compile "$LINENO"; then :
   4050 
   4051 else
   4052   ac_c_werror_flag=$ac_save_c_werror_flag
   4053 	 CFLAGS="-g"
   4054 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4055 /* end confdefs.h.  */
   4056 
   4057 int
   4058 main ()
   4059 {
   4060 
   4061   ;
   4062   return 0;
   4063 }
   4064 _ACEOF
   4065 if ac_fn_c_try_compile "$LINENO"; then :
   4066   ac_cv_prog_cc_g=yes
   4067 fi
   4068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4069 fi
   4070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4071 fi
   4072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4073    ac_c_werror_flag=$ac_save_c_werror_flag
   4074 fi
   4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4076 $as_echo "$ac_cv_prog_cc_g" >&6; }
   4077 if test "$ac_test_CFLAGS" = set; then
   4078   CFLAGS=$ac_save_CFLAGS
   4079 elif test $ac_cv_prog_cc_g = yes; then
   4080   if test "$GCC" = yes; then
   4081     CFLAGS="-g -O2"
   4082   else
   4083     CFLAGS="-g"
   4084   fi
   4085 else
   4086   if test "$GCC" = yes; then
   4087     CFLAGS="-O2"
   4088   else
   4089     CFLAGS=
   4090   fi
   4091 fi
   4092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   4093 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   4094 if ${ac_cv_prog_cc_c89+:} false; then :
   4095   $as_echo_n "(cached) " >&6
   4096 else
   4097   ac_cv_prog_cc_c89=no
   4098 ac_save_CC=$CC
   4099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4100 /* end confdefs.h.  */
   4101 #include <stdarg.h>
   4102 #include <stdio.h>
   4103 struct stat;
   4104 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   4105 struct buf { int x; };
   4106 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   4107 static char *e (p, i)
   4108      char **p;
   4109      int i;
   4110 {
   4111   return p[i];
   4112 }
   4113 static char *f (char * (*g) (char **, int), char **p, ...)
   4114 {
   4115   char *s;
   4116   va_list v;
   4117   va_start (v,p);
   4118   s = g (p, va_arg (v,int));
   4119   va_end (v);
   4120   return s;
   4121 }
   4122 
   4123 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   4124    function prototypes and stuff, but not '\xHH' hex character constants.
   4125    These don't provoke an error unfortunately, instead are silently treated
   4126    as 'x'.  The following induces an error, until -std is added to get
   4127    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   4128    array size at least.  It's necessary to write '\x00'==0 to get something
   4129    that's true only with -std.  */
   4130 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   4131 
   4132 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   4133    inside strings and character constants.  */
   4134 #define FOO(x) 'x'
   4135 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   4136 
   4137 int test (int i, double x);
   4138 struct s1 {int (*f) (int a);};
   4139 struct s2 {int (*f) (double a);};
   4140 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   4141 int argc;
   4142 char **argv;
   4143 int
   4144 main ()
   4145 {
   4146 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   4147   ;
   4148   return 0;
   4149 }
   4150 _ACEOF
   4151 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   4152 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4153 do
   4154   CC="$ac_save_CC $ac_arg"
   4155   if ac_fn_c_try_compile "$LINENO"; then :
   4156   ac_cv_prog_cc_c89=$ac_arg
   4157 fi
   4158 rm -f core conftest.err conftest.$ac_objext
   4159   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4160 done
   4161 rm -f conftest.$ac_ext
   4162 CC=$ac_save_CC
   4163 
   4164 fi
   4165 # AC_CACHE_VAL
   4166 case "x$ac_cv_prog_cc_c89" in
   4167   x)
   4168     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4169 $as_echo "none needed" >&6; } ;;
   4170   xno)
   4171     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4172 $as_echo "unsupported" >&6; } ;;
   4173   *)
   4174     CC="$CC $ac_cv_prog_cc_c89"
   4175     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4176 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4177 esac
   4178 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4179 
   4180 fi
   4181 
   4182 ac_ext=c
   4183 ac_cpp='$CPP $CPPFLAGS'
   4184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4187 
   4188 ac_ext=c
   4189 ac_cpp='$CPP $CPPFLAGS'
   4190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4194 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   4195 if ${am_cv_prog_cc_c_o+:} false; then :
   4196   $as_echo_n "(cached) " >&6
   4197 else
   4198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4199 /* end confdefs.h.  */
   4200 
   4201 int
   4202 main ()
   4203 {
   4204 
   4205   ;
   4206   return 0;
   4207 }
   4208 _ACEOF
   4209   # Make sure it works both with $CC and with simple cc.
   4210   # Following AC_PROG_CC_C_O, we do the test twice because some
   4211   # compilers refuse to overwrite an existing .o file with -o,
   4212   # though they will create one.
   4213   am_cv_prog_cc_c_o=yes
   4214   for am_i in 1 2; do
   4215     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4216    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4217    ac_status=$?
   4218    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4219    (exit $ac_status); } \
   4220          && test -f conftest2.$ac_objext; then
   4221       : OK
   4222     else
   4223       am_cv_prog_cc_c_o=no
   4224       break
   4225     fi
   4226   done
   4227   rm -f core conftest*
   4228   unset am_i
   4229 fi
   4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4231 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   4232 if test "$am_cv_prog_cc_c_o" != yes; then
   4233    # Losing compiler, so override with the script.
   4234    # FIXME: It is wrong to rewrite CC.
   4235    # But if we don't then we get into trouble of one sort or another.
   4236    # A longer-term fix would be to have automake use am__CC in this case,
   4237    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4238    CC="$am_aux_dir/compile $CC"
   4239 fi
   4240 ac_ext=c
   4241 ac_cpp='$CPP $CPPFLAGS'
   4242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4245 
   4246 DEPDIR="${am__leading_dot}deps"
   4247 
   4248 ac_config_commands="$ac_config_commands depfiles"
   4249 
   4250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   4251 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
   4252 cat > confinc.mk << 'END'
   4253 am__doit:
   4254 	@echo this is the am__doit target >confinc.out
   4255 .PHONY: am__doit
   4256 END
   4257 am__include="#"
   4258 am__quote=
   4259 # BSD make does it like this.
   4260 echo '.include "confinc.mk" # ignored' > confmf.BSD
   4261 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   4262 echo 'include confinc.mk # ignored' > confmf.GNU
   4263 _am_result=no
   4264 for s in GNU BSD; do
   4265   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   4266    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   4267    ac_status=$?
   4268    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4269    (exit $ac_status); }
   4270   case $?:`cat confinc.out 2>/dev/null` in #(
   4271   '0:this is the am__doit target') :
   4272     case $s in #(
   4273   BSD) :
   4274     am__include='.include' am__quote='"' ;; #(
   4275   *) :
   4276     am__include='include' am__quote='' ;;
   4277 esac ;; #(
   4278   *) :
   4279      ;;
   4280 esac
   4281   if test "$am__include" != "#"; then
   4282     _am_result="yes ($s style)"
   4283     break
   4284   fi
   4285 done
   4286 rm -f confinc.* confmf.*
   4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   4288 $as_echo "${_am_result}" >&6; }
   4289 
   4290 # Check whether --enable-dependency-tracking was given.
   4291 if test "${enable_dependency_tracking+set}" = set; then :
   4292   enableval=$enable_dependency_tracking;
   4293 fi
   4294 
   4295 if test "x$enable_dependency_tracking" != xno; then
   4296   am_depcomp="$ac_aux_dir/depcomp"
   4297   AMDEPBACKSLASH='\'
   4298   am__nodep='_no'
   4299 fi
   4300  if test "x$enable_dependency_tracking" != xno; then
   4301   AMDEP_TRUE=
   4302   AMDEP_FALSE='#'
   4303 else
   4304   AMDEP_TRUE='#'
   4305   AMDEP_FALSE=
   4306 fi
   4307 
   4308 
   4309 
   4310 depcc="$CC"   am_compiler_list=
   4311 
   4312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4313 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4314 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4315   $as_echo_n "(cached) " >&6
   4316 else
   4317   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4318   # We make a subdir and do the tests there.  Otherwise we can end up
   4319   # making bogus files that we don't know about and never remove.  For
   4320   # instance it was reported that on HP-UX the gcc test will end up
   4321   # making a dummy file named 'D' -- because '-MD' means "put the output
   4322   # in D".
   4323   rm -rf conftest.dir
   4324   mkdir conftest.dir
   4325   # Copy depcomp to subdir because otherwise we won't find it if we're
   4326   # using a relative directory.
   4327   cp "$am_depcomp" conftest.dir
   4328   cd conftest.dir
   4329   # We will build objects and dependencies in a subdirectory because
   4330   # it helps to detect inapplicable dependency modes.  For instance
   4331   # both Tru64's cc and ICC support -MD to output dependencies as a
   4332   # side effect of compilation, but ICC will put the dependencies in
   4333   # the current directory while Tru64 will put them in the object
   4334   # directory.
   4335   mkdir sub
   4336 
   4337   am_cv_CC_dependencies_compiler_type=none
   4338   if test "$am_compiler_list" = ""; then
   4339      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4340   fi
   4341   am__universal=false
   4342   case " $depcc " in #(
   4343      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4344      esac
   4345 
   4346   for depmode in $am_compiler_list; do
   4347     # Setup a source with many dependencies, because some compilers
   4348     # like to wrap large dependency lists on column 80 (with \), and
   4349     # we should not choose a depcomp mode which is confused by this.
   4350     #
   4351     # We need to recreate these files for each test, as the compiler may
   4352     # overwrite some of them when testing with obscure command lines.
   4353     # This happens at least with the AIX C compiler.
   4354     : > sub/conftest.c
   4355     for i in 1 2 3 4 5 6; do
   4356       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4357       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4358       # Solaris 10 /bin/sh.
   4359       echo '/* dummy */' > sub/conftst$i.h
   4360     done
   4361     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4362 
   4363     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4364     # mode.  It turns out that the SunPro C++ compiler does not properly
   4365     # handle '-M -o', and we need to detect this.  Also, some Intel
   4366     # versions had trouble with output in subdirs.
   4367     am__obj=sub/conftest.${OBJEXT-o}
   4368     am__minus_obj="-o $am__obj"
   4369     case $depmode in
   4370     gcc)
   4371       # This depmode causes a compiler race in universal mode.
   4372       test "$am__universal" = false || continue
   4373       ;;
   4374     nosideeffect)
   4375       # After this tag, mechanisms are not by side-effect, so they'll
   4376       # only be used when explicitly requested.
   4377       if test "x$enable_dependency_tracking" = xyes; then
   4378 	continue
   4379       else
   4380 	break
   4381       fi
   4382       ;;
   4383     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4384       # This compiler won't grok '-c -o', but also, the minuso test has
   4385       # not run yet.  These depmodes are late enough in the game, and
   4386       # so weak that their functioning should not be impacted.
   4387       am__obj=conftest.${OBJEXT-o}
   4388       am__minus_obj=
   4389       ;;
   4390     none) break ;;
   4391     esac
   4392     if depmode=$depmode \
   4393        source=sub/conftest.c object=$am__obj \
   4394        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4395        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4396          >/dev/null 2>conftest.err &&
   4397        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4398        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4399        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4400        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4401       # icc doesn't choke on unknown options, it will just issue warnings
   4402       # or remarks (even with -Werror).  So we grep stderr for any message
   4403       # that says an option was ignored or not supported.
   4404       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4405       #   icc: Command line warning: ignoring option '-M'; no argument required
   4406       # The diagnosis changed in icc 8.0:
   4407       #   icc: Command line remark: option '-MP' not supported
   4408       if (grep 'ignoring option' conftest.err ||
   4409           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4410         am_cv_CC_dependencies_compiler_type=$depmode
   4411         break
   4412       fi
   4413     fi
   4414   done
   4415 
   4416   cd ..
   4417   rm -rf conftest.dir
   4418 else
   4419   am_cv_CC_dependencies_compiler_type=none
   4420 fi
   4421 
   4422 fi
   4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4424 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4425 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4426 
   4427  if
   4428   test "x$enable_dependency_tracking" != xno \
   4429   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4430   am__fastdepCC_TRUE=
   4431   am__fastdepCC_FALSE='#'
   4432 else
   4433   am__fastdepCC_TRUE='#'
   4434   am__fastdepCC_FALSE=
   4435 fi
   4436 
   4437 
   4438 
   4439 ac_ext=c
   4440 ac_cpp='$CPP $CPPFLAGS'
   4441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4445 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4446 # On Suns, sometimes $CPP names a directory.
   4447 if test -n "$CPP" && test -d "$CPP"; then
   4448   CPP=
   4449 fi
   4450 if test -z "$CPP"; then
   4451   if ${ac_cv_prog_CPP+:} false; then :
   4452   $as_echo_n "(cached) " >&6
   4453 else
   4454       # Double quotes because CPP needs to be expanded
   4455     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4456     do
   4457       ac_preproc_ok=false
   4458 for ac_c_preproc_warn_flag in '' yes
   4459 do
   4460   # Use a header file that comes with gcc, so configuring glibc
   4461   # with a fresh cross-compiler works.
   4462   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4463   # <limits.h> exists even on freestanding compilers.
   4464   # On the NeXT, cc -E runs the code through the compiler's parser,
   4465   # not just through cpp. "Syntax error" is here to catch this case.
   4466   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4467 /* end confdefs.h.  */
   4468 #ifdef __STDC__
   4469 # include <limits.h>
   4470 #else
   4471 # include <assert.h>
   4472 #endif
   4473 		     Syntax error
   4474 _ACEOF
   4475 if ac_fn_c_try_cpp "$LINENO"; then :
   4476 
   4477 else
   4478   # Broken: fails on valid input.
   4479 continue
   4480 fi
   4481 rm -f conftest.err conftest.i conftest.$ac_ext
   4482 
   4483   # OK, works on sane cases.  Now check whether nonexistent headers
   4484   # can be detected and how.
   4485   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4486 /* end confdefs.h.  */
   4487 #include <ac_nonexistent.h>
   4488 _ACEOF
   4489 if ac_fn_c_try_cpp "$LINENO"; then :
   4490   # Broken: success on invalid input.
   4491 continue
   4492 else
   4493   # Passes both tests.
   4494 ac_preproc_ok=:
   4495 break
   4496 fi
   4497 rm -f conftest.err conftest.i conftest.$ac_ext
   4498 
   4499 done
   4500 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4501 rm -f conftest.i conftest.err conftest.$ac_ext
   4502 if $ac_preproc_ok; then :
   4503   break
   4504 fi
   4505 
   4506     done
   4507     ac_cv_prog_CPP=$CPP
   4508 
   4509 fi
   4510   CPP=$ac_cv_prog_CPP
   4511 else
   4512   ac_cv_prog_CPP=$CPP
   4513 fi
   4514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4515 $as_echo "$CPP" >&6; }
   4516 ac_preproc_ok=false
   4517 for ac_c_preproc_warn_flag in '' yes
   4518 do
   4519   # Use a header file that comes with gcc, so configuring glibc
   4520   # with a fresh cross-compiler works.
   4521   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4522   # <limits.h> exists even on freestanding compilers.
   4523   # On the NeXT, cc -E runs the code through the compiler's parser,
   4524   # not just through cpp. "Syntax error" is here to catch this case.
   4525   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4526 /* end confdefs.h.  */
   4527 #ifdef __STDC__
   4528 # include <limits.h>
   4529 #else
   4530 # include <assert.h>
   4531 #endif
   4532 		     Syntax error
   4533 _ACEOF
   4534 if ac_fn_c_try_cpp "$LINENO"; then :
   4535 
   4536 else
   4537   # Broken: fails on valid input.
   4538 continue
   4539 fi
   4540 rm -f conftest.err conftest.i conftest.$ac_ext
   4541 
   4542   # OK, works on sane cases.  Now check whether nonexistent headers
   4543   # can be detected and how.
   4544   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4545 /* end confdefs.h.  */
   4546 #include <ac_nonexistent.h>
   4547 _ACEOF
   4548 if ac_fn_c_try_cpp "$LINENO"; then :
   4549   # Broken: success on invalid input.
   4550 continue
   4551 else
   4552   # Passes both tests.
   4553 ac_preproc_ok=:
   4554 break
   4555 fi
   4556 rm -f conftest.err conftest.i conftest.$ac_ext
   4557 
   4558 done
   4559 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4560 rm -f conftest.i conftest.err conftest.$ac_ext
   4561 if $ac_preproc_ok; then :
   4562 
   4563 else
   4564   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4565 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4566 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4567 See \`config.log' for more details" "$LINENO" 5; }
   4568 fi
   4569 
   4570 ac_ext=c
   4571 ac_cpp='$CPP $CPPFLAGS'
   4572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4575 
   4576 
   4577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4578 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4579 if ${ac_cv_path_GREP+:} false; then :
   4580   $as_echo_n "(cached) " >&6
   4581 else
   4582   if test -z "$GREP"; then
   4583   ac_path_GREP_found=false
   4584   # Loop through the user's path and test for each of PROGNAME-LIST
   4585   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4586 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4587 do
   4588   IFS=$as_save_IFS
   4589   test -z "$as_dir" && as_dir=.
   4590     for ac_prog in grep ggrep; do
   4591     for ac_exec_ext in '' $ac_executable_extensions; do
   4592       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4593       as_fn_executable_p "$ac_path_GREP" || continue
   4594 # Check for GNU ac_path_GREP and select it if it is found.
   4595   # Check for GNU $ac_path_GREP
   4596 case `"$ac_path_GREP" --version 2>&1` in
   4597 *GNU*)
   4598   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4599 *)
   4600   ac_count=0
   4601   $as_echo_n 0123456789 >"conftest.in"
   4602   while :
   4603   do
   4604     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4605     mv "conftest.tmp" "conftest.in"
   4606     cp "conftest.in" "conftest.nl"
   4607     $as_echo 'GREP' >> "conftest.nl"
   4608     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4609     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4610     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4611     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4612       # Best one so far, save it but keep looking for a better one
   4613       ac_cv_path_GREP="$ac_path_GREP"
   4614       ac_path_GREP_max=$ac_count
   4615     fi
   4616     # 10*(2^10) chars as input seems more than enough
   4617     test $ac_count -gt 10 && break
   4618   done
   4619   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4620 esac
   4621 
   4622       $ac_path_GREP_found && break 3
   4623     done
   4624   done
   4625   done
   4626 IFS=$as_save_IFS
   4627   if test -z "$ac_cv_path_GREP"; then
   4628     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4629   fi
   4630 else
   4631   ac_cv_path_GREP=$GREP
   4632 fi
   4633 
   4634 fi
   4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4636 $as_echo "$ac_cv_path_GREP" >&6; }
   4637  GREP="$ac_cv_path_GREP"
   4638 
   4639 
   4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4641 $as_echo_n "checking for egrep... " >&6; }
   4642 if ${ac_cv_path_EGREP+:} false; then :
   4643   $as_echo_n "(cached) " >&6
   4644 else
   4645   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4646    then ac_cv_path_EGREP="$GREP -E"
   4647    else
   4648      if test -z "$EGREP"; then
   4649   ac_path_EGREP_found=false
   4650   # Loop through the user's path and test for each of PROGNAME-LIST
   4651   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4652 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4653 do
   4654   IFS=$as_save_IFS
   4655   test -z "$as_dir" && as_dir=.
   4656     for ac_prog in egrep; do
   4657     for ac_exec_ext in '' $ac_executable_extensions; do
   4658       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4659       as_fn_executable_p "$ac_path_EGREP" || continue
   4660 # Check for GNU ac_path_EGREP and select it if it is found.
   4661   # Check for GNU $ac_path_EGREP
   4662 case `"$ac_path_EGREP" --version 2>&1` in
   4663 *GNU*)
   4664   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4665 *)
   4666   ac_count=0
   4667   $as_echo_n 0123456789 >"conftest.in"
   4668   while :
   4669   do
   4670     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4671     mv "conftest.tmp" "conftest.in"
   4672     cp "conftest.in" "conftest.nl"
   4673     $as_echo 'EGREP' >> "conftest.nl"
   4674     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4675     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4676     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4677     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4678       # Best one so far, save it but keep looking for a better one
   4679       ac_cv_path_EGREP="$ac_path_EGREP"
   4680       ac_path_EGREP_max=$ac_count
   4681     fi
   4682     # 10*(2^10) chars as input seems more than enough
   4683     test $ac_count -gt 10 && break
   4684   done
   4685   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4686 esac
   4687 
   4688       $ac_path_EGREP_found && break 3
   4689     done
   4690   done
   4691   done
   4692 IFS=$as_save_IFS
   4693   if test -z "$ac_cv_path_EGREP"; then
   4694     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4695   fi
   4696 else
   4697   ac_cv_path_EGREP=$EGREP
   4698 fi
   4699 
   4700    fi
   4701 fi
   4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4703 $as_echo "$ac_cv_path_EGREP" >&6; }
   4704  EGREP="$ac_cv_path_EGREP"
   4705 
   4706 
   4707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4708 $as_echo_n "checking for ANSI C header files... " >&6; }
   4709 if ${ac_cv_header_stdc+:} false; then :
   4710   $as_echo_n "(cached) " >&6
   4711 else
   4712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4713 /* end confdefs.h.  */
   4714 #include <stdlib.h>
   4715 #include <stdarg.h>
   4716 #include <string.h>
   4717 #include <float.h>
   4718 
   4719 int
   4720 main ()
   4721 {
   4722 
   4723   ;
   4724   return 0;
   4725 }
   4726 _ACEOF
   4727 if ac_fn_c_try_compile "$LINENO"; then :
   4728   ac_cv_header_stdc=yes
   4729 else
   4730   ac_cv_header_stdc=no
   4731 fi
   4732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4733 
   4734 if test $ac_cv_header_stdc = yes; then
   4735   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4736   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4737 /* end confdefs.h.  */
   4738 #include <string.h>
   4739 
   4740 _ACEOF
   4741 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4742   $EGREP "memchr" >/dev/null 2>&1; then :
   4743 
   4744 else
   4745   ac_cv_header_stdc=no
   4746 fi
   4747 rm -f conftest*
   4748 
   4749 fi
   4750 
   4751 if test $ac_cv_header_stdc = yes; then
   4752   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4753   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4754 /* end confdefs.h.  */
   4755 #include <stdlib.h>
   4756 
   4757 _ACEOF
   4758 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4759   $EGREP "free" >/dev/null 2>&1; then :
   4760 
   4761 else
   4762   ac_cv_header_stdc=no
   4763 fi
   4764 rm -f conftest*
   4765 
   4766 fi
   4767 
   4768 if test $ac_cv_header_stdc = yes; then
   4769   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4770   if test "$cross_compiling" = yes; then :
   4771   :
   4772 else
   4773   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4774 /* end confdefs.h.  */
   4775 #include <ctype.h>
   4776 #include <stdlib.h>
   4777 #if ((' ' & 0x0FF) == 0x020)
   4778 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4779 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4780 #else
   4781 # define ISLOWER(c) \
   4782 		   (('a' <= (c) && (c) <= 'i') \
   4783 		     || ('j' <= (c) && (c) <= 'r') \
   4784 		     || ('s' <= (c) && (c) <= 'z'))
   4785 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4786 #endif
   4787 
   4788 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4789 int
   4790 main ()
   4791 {
   4792   int i;
   4793   for (i = 0; i < 256; i++)
   4794     if (XOR (islower (i), ISLOWER (i))
   4795 	|| toupper (i) != TOUPPER (i))
   4796       return 2;
   4797   return 0;
   4798 }
   4799 _ACEOF
   4800 if ac_fn_c_try_run "$LINENO"; then :
   4801 
   4802 else
   4803   ac_cv_header_stdc=no
   4804 fi
   4805 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4806   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4807 fi
   4808 
   4809 fi
   4810 fi
   4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4812 $as_echo "$ac_cv_header_stdc" >&6; }
   4813 if test $ac_cv_header_stdc = yes; then
   4814 
   4815 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4816 
   4817 fi
   4818 
   4819 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4820 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4821 		  inttypes.h stdint.h unistd.h
   4822 do :
   4823   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4824 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4825 "
   4826 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4827   cat >>confdefs.h <<_ACEOF
   4828 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4829 _ACEOF
   4830 
   4831 fi
   4832 
   4833 done
   4834 
   4835 
   4836 
   4837   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   4838 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   4839   MINIX=yes
   4840 else
   4841   MINIX=
   4842 fi
   4843 
   4844 
   4845   if test "$MINIX" = yes; then
   4846 
   4847 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   4848 
   4849 
   4850 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   4851 
   4852 
   4853 $as_echo "#define _MINIX 1" >>confdefs.h
   4854 
   4855   fi
   4856 
   4857 
   4858   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   4859 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   4860 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   4861   $as_echo_n "(cached) " >&6
   4862 else
   4863   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4864 /* end confdefs.h.  */
   4865 
   4866 #         define __EXTENSIONS__ 1
   4867           $ac_includes_default
   4868 int
   4869 main ()
   4870 {
   4871 
   4872   ;
   4873   return 0;
   4874 }
   4875 _ACEOF
   4876 if ac_fn_c_try_compile "$LINENO"; then :
   4877   ac_cv_safe_to_define___extensions__=yes
   4878 else
   4879   ac_cv_safe_to_define___extensions__=no
   4880 fi
   4881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4882 fi
   4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   4884 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   4885   test $ac_cv_safe_to_define___extensions__ = yes &&
   4886     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   4887 
   4888   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   4889 
   4890   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   4891 
   4892   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   4893 
   4894   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   4895 
   4896 
   4897 # Check whether --enable-largefile was given.
   4898 if test "${enable_largefile+set}" = set; then :
   4899   enableval=$enable_largefile;
   4900 fi
   4901 
   4902 if test "$enable_largefile" != no; then
   4903 
   4904   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
   4905 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
   4906 if ${ac_cv_sys_largefile_CC+:} false; then :
   4907   $as_echo_n "(cached) " >&6
   4908 else
   4909   ac_cv_sys_largefile_CC=no
   4910      if test "$GCC" != yes; then
   4911        ac_save_CC=$CC
   4912        while :; do
   4913 	 # IRIX 6.2 and later do not support large files by default,
   4914 	 # so use the C compiler's -n32 option if that helps.
   4915 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4916 /* end confdefs.h.  */
   4917 #include <sys/types.h>
   4918  /* Check that off_t can represent 2**63 - 1 correctly.
   4919     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   4920     since some C++ compilers masquerading as C compilers
   4921     incorrectly reject 9223372036854775807.  */
   4922 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   4923   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   4924 		       && LARGE_OFF_T % 2147483647 == 1)
   4925 		      ? 1 : -1];
   4926 int
   4927 main ()
   4928 {
   4929 
   4930   ;
   4931   return 0;
   4932 }
   4933 _ACEOF
   4934 	 if ac_fn_c_try_compile "$LINENO"; then :
   4935   break
   4936 fi
   4937 rm -f core conftest.err conftest.$ac_objext
   4938 	 CC="$CC -n32"
   4939 	 if ac_fn_c_try_compile "$LINENO"; then :
   4940   ac_cv_sys_largefile_CC=' -n32'; break
   4941 fi
   4942 rm -f core conftest.err conftest.$ac_objext
   4943 	 break
   4944        done
   4945        CC=$ac_save_CC
   4946        rm -f conftest.$ac_ext
   4947     fi
   4948 fi
   4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
   4950 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
   4951   if test "$ac_cv_sys_largefile_CC" != no; then
   4952     CC=$CC$ac_cv_sys_largefile_CC
   4953   fi
   4954 
   4955   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
   4956 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
   4957 if ${ac_cv_sys_file_offset_bits+:} false; then :
   4958   $as_echo_n "(cached) " >&6
   4959 else
   4960   while :; do
   4961   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4962 /* end confdefs.h.  */
   4963 #include <sys/types.h>
   4964  /* Check that off_t can represent 2**63 - 1 correctly.
   4965     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   4966     since some C++ compilers masquerading as C compilers
   4967     incorrectly reject 9223372036854775807.  */
   4968 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   4969   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   4970 		       && LARGE_OFF_T % 2147483647 == 1)
   4971 		      ? 1 : -1];
   4972 int
   4973 main ()
   4974 {
   4975 
   4976   ;
   4977   return 0;
   4978 }
   4979 _ACEOF
   4980 if ac_fn_c_try_compile "$LINENO"; then :
   4981   ac_cv_sys_file_offset_bits=no; break
   4982 fi
   4983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4984   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4985 /* end confdefs.h.  */
   4986 #define _FILE_OFFSET_BITS 64
   4987 #include <sys/types.h>
   4988  /* Check that off_t can represent 2**63 - 1 correctly.
   4989     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   4990     since some C++ compilers masquerading as C compilers
   4991     incorrectly reject 9223372036854775807.  */
   4992 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   4993   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   4994 		       && LARGE_OFF_T % 2147483647 == 1)
   4995 		      ? 1 : -1];
   4996 int
   4997 main ()
   4998 {
   4999 
   5000   ;
   5001   return 0;
   5002 }
   5003 _ACEOF
   5004 if ac_fn_c_try_compile "$LINENO"; then :
   5005   ac_cv_sys_file_offset_bits=64; break
   5006 fi
   5007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5008   ac_cv_sys_file_offset_bits=unknown
   5009   break
   5010 done
   5011 fi
   5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
   5013 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
   5014 case $ac_cv_sys_file_offset_bits in #(
   5015   no | unknown) ;;
   5016   *)
   5017 cat >>confdefs.h <<_ACEOF
   5018 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
   5019 _ACEOF
   5020 ;;
   5021 esac
   5022 rm -rf conftest*
   5023   if test $ac_cv_sys_file_offset_bits = unknown; then
   5024     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
   5025 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
   5026 if ${ac_cv_sys_large_files+:} false; then :
   5027   $as_echo_n "(cached) " >&6
   5028 else
   5029   while :; do
   5030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5031 /* end confdefs.h.  */
   5032 #include <sys/types.h>
   5033  /* Check that off_t can represent 2**63 - 1 correctly.
   5034     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   5035     since some C++ compilers masquerading as C compilers
   5036     incorrectly reject 9223372036854775807.  */
   5037 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   5038   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   5039 		       && LARGE_OFF_T % 2147483647 == 1)
   5040 		      ? 1 : -1];
   5041 int
   5042 main ()
   5043 {
   5044 
   5045   ;
   5046   return 0;
   5047 }
   5048 _ACEOF
   5049 if ac_fn_c_try_compile "$LINENO"; then :
   5050   ac_cv_sys_large_files=no; break
   5051 fi
   5052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5053   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5054 /* end confdefs.h.  */
   5055 #define _LARGE_FILES 1
   5056 #include <sys/types.h>
   5057  /* Check that off_t can represent 2**63 - 1 correctly.
   5058     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   5059     since some C++ compilers masquerading as C compilers
   5060     incorrectly reject 9223372036854775807.  */
   5061 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   5062   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   5063 		       && LARGE_OFF_T % 2147483647 == 1)
   5064 		      ? 1 : -1];
   5065 int
   5066 main ()
   5067 {
   5068 
   5069   ;
   5070   return 0;
   5071 }
   5072 _ACEOF
   5073 if ac_fn_c_try_compile "$LINENO"; then :
   5074   ac_cv_sys_large_files=1; break
   5075 fi
   5076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5077   ac_cv_sys_large_files=unknown
   5078   break
   5079 done
   5080 fi
   5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
   5082 $as_echo "$ac_cv_sys_large_files" >&6; }
   5083 case $ac_cv_sys_large_files in #(
   5084   no | unknown) ;;
   5085   *)
   5086 cat >>confdefs.h <<_ACEOF
   5087 #define _LARGE_FILES $ac_cv_sys_large_files
   5088 _ACEOF
   5089 ;;
   5090 esac
   5091 rm -rf conftest*
   5092   fi
   5093 
   5094 
   5095 fi
   5096 
   5097 
   5098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5099 $as_echo_n "checking whether ln -s works... " >&6; }
   5100 LN_S=$as_ln_s
   5101 if test "$LN_S" = "ln -s"; then
   5102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5103 $as_echo "yes" >&6; }
   5104 else
   5105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5106 $as_echo "no, using $LN_S" >&6; }
   5107 fi
   5108 
   5109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   5110 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   5111 set x ${MAKE-make}
   5112 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   5113 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   5114   $as_echo_n "(cached) " >&6
   5115 else
   5116   cat >conftest.make <<\_ACEOF
   5117 SHELL = /bin/sh
   5118 all:
   5119 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   5120 _ACEOF
   5121 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   5122 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   5123   *@@@%%%=?*=@@@%%%*)
   5124     eval ac_cv_prog_make_${ac_make}_set=yes;;
   5125   *)
   5126     eval ac_cv_prog_make_${ac_make}_set=no;;
   5127 esac
   5128 rm -f conftest.make
   5129 fi
   5130 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   5131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5132 $as_echo "yes" >&6; }
   5133   SET_MAKE=
   5134 else
   5135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5136 $as_echo "no" >&6; }
   5137   SET_MAKE="MAKE=${MAKE-make}"
   5138 fi
   5139 
   5140 
   5141 
   5142 
   5143 
   5144 
   5145 
   5146 
   5147 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   5148 	if test -n "$ac_tool_prefix"; then
   5149   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   5150 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   5151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5152 $as_echo_n "checking for $ac_word... " >&6; }
   5153 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   5154   $as_echo_n "(cached) " >&6
   5155 else
   5156   case $PKG_CONFIG in
   5157   [\\/]* | ?:[\\/]*)
   5158   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   5159   ;;
   5160   *)
   5161   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5162 for as_dir in $PATH
   5163 do
   5164   IFS=$as_save_IFS
   5165   test -z "$as_dir" && as_dir=.
   5166     for ac_exec_ext in '' $ac_executable_extensions; do
   5167   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5168     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   5169     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5170     break 2
   5171   fi
   5172 done
   5173   done
   5174 IFS=$as_save_IFS
   5175 
   5176   ;;
   5177 esac
   5178 fi
   5179 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   5180 if test -n "$PKG_CONFIG"; then
   5181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   5182 $as_echo "$PKG_CONFIG" >&6; }
   5183 else
   5184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5185 $as_echo "no" >&6; }
   5186 fi
   5187 
   5188 
   5189 fi
   5190 if test -z "$ac_cv_path_PKG_CONFIG"; then
   5191   ac_pt_PKG_CONFIG=$PKG_CONFIG
   5192   # Extract the first word of "pkg-config", so it can be a program name with args.
   5193 set dummy pkg-config; ac_word=$2
   5194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5195 $as_echo_n "checking for $ac_word... " >&6; }
   5196 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   5197   $as_echo_n "(cached) " >&6
   5198 else
   5199   case $ac_pt_PKG_CONFIG in
   5200   [\\/]* | ?:[\\/]*)
   5201   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   5202   ;;
   5203   *)
   5204   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5205 for as_dir in $PATH
   5206 do
   5207   IFS=$as_save_IFS
   5208   test -z "$as_dir" && as_dir=.
   5209     for ac_exec_ext in '' $ac_executable_extensions; do
   5210   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5211     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   5212     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5213     break 2
   5214   fi
   5215 done
   5216   done
   5217 IFS=$as_save_IFS
   5218 
   5219   ;;
   5220 esac
   5221 fi
   5222 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   5223 if test -n "$ac_pt_PKG_CONFIG"; then
   5224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   5225 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   5226 else
   5227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5228 $as_echo "no" >&6; }
   5229 fi
   5230 
   5231   if test "x$ac_pt_PKG_CONFIG" = x; then
   5232     PKG_CONFIG=""
   5233   else
   5234     case $cross_compiling:$ac_tool_warned in
   5235 yes:)
   5236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5237 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5238 ac_tool_warned=yes ;;
   5239 esac
   5240     PKG_CONFIG=$ac_pt_PKG_CONFIG
   5241   fi
   5242 else
   5243   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   5244 fi
   5245 
   5246 fi
   5247 if test -n "$PKG_CONFIG"; then
   5248 	_pkg_min_version=0.9.0
   5249 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   5250 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   5251 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   5252 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5253 $as_echo "yes" >&6; }
   5254 	else
   5255 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5256 $as_echo "no" >&6; }
   5257 		PKG_CONFIG=""
   5258 	fi
   5259 fi
   5260 
   5261 
   5262 
   5263 # Check whether --with-pkgconfigdir was given.
   5264 if test "${with_pkgconfigdir+set}" = set; then :
   5265   withval=$with_pkgconfigdir;
   5266 else
   5267   with_pkgconfigdir='${libdir}/pkgconfig'
   5268 fi
   5269 
   5270 pkgconfigdir=$with_pkgconfigdir
   5271 
   5272 
   5273 
   5274 
   5275 
   5276 
   5277 GIT=${GIT-"${am_missing_run}git"}
   5278 
   5279 
   5280 GPERF=${GPERF-"${am_missing_run}gperf"}
   5281 
   5282 
   5283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RM macro" >&5
   5284 $as_echo_n "checking for RM macro... " >&6; }
   5285 _predefined_rm=`make -p -f /dev/null 2>/dev/null|grep '^RM ='|sed -e 's/^RM = //'`
   5286 if test "x$_predefined_rm" = "x"; then
   5287 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no predefined RM" >&5
   5288 $as_echo "no predefined RM" >&6; }
   5289 	# Extract the first word of "rm", so it can be a program name with args.
   5290 set dummy rm; ac_word=$2
   5291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5292 $as_echo_n "checking for $ac_word... " >&6; }
   5293 if ${ac_cv_prog_RM+:} false; then :
   5294   $as_echo_n "(cached) " >&6
   5295 else
   5296   if test -n "$RM"; then
   5297   ac_cv_prog_RM="$RM" # Let the user override the test.
   5298 else
   5299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5300 for as_dir in $PATH
   5301 do
   5302   IFS=$as_save_IFS
   5303   test -z "$as_dir" && as_dir=.
   5304     for ac_exec_ext in '' $ac_executable_extensions; do
   5305   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5306     ac_cv_prog_RM="rm -f"
   5307     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5308     break 2
   5309   fi
   5310 done
   5311   done
   5312 IFS=$as_save_IFS
   5313 
   5314 fi
   5315 fi
   5316 RM=$ac_cv_prog_RM
   5317 if test -n "$RM"; then
   5318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
   5319 $as_echo "$RM" >&6; }
   5320 else
   5321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5322 $as_echo "no" >&6; }
   5323 fi
   5324 
   5325 
   5326 else
   5327 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_predefined_rm" >&5
   5328 $as_echo "$_predefined_rm" >&6; }
   5329 fi
   5330 
   5331 
   5332 case `pwd` in
   5333   *\ * | *\	*)
   5334     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5335 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5336 esac
   5337 
   5338 
   5339 
   5340 macro_version='2.4.6'
   5341 macro_revision='2.4.6'
   5342 
   5343 
   5344 
   5345 
   5346 
   5347 
   5348 
   5349 
   5350 
   5351 
   5352 
   5353 
   5354 
   5355 ltmain=$ac_aux_dir/ltmain.sh
   5356 
   5357 # Make sure we can run config.sub.
   5358 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   5359   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   5360 
   5361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   5362 $as_echo_n "checking build system type... " >&6; }
   5363 if ${ac_cv_build+:} false; then :
   5364   $as_echo_n "(cached) " >&6
   5365 else
   5366   ac_build_alias=$build_alias
   5367 test "x$ac_build_alias" = x &&
   5368   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   5369 test "x$ac_build_alias" = x &&
   5370   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   5371 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   5372   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   5373 
   5374 fi
   5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   5376 $as_echo "$ac_cv_build" >&6; }
   5377 case $ac_cv_build in
   5378 *-*-*) ;;
   5379 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   5380 esac
   5381 build=$ac_cv_build
   5382 ac_save_IFS=$IFS; IFS='-'
   5383 set x $ac_cv_build
   5384 shift
   5385 build_cpu=$1
   5386 build_vendor=$2
   5387 shift; shift
   5388 # Remember, the first character of IFS is used to create $*,
   5389 # except with old shells:
   5390 build_os=$*
   5391 IFS=$ac_save_IFS
   5392 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   5393 
   5394 
   5395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   5396 $as_echo_n "checking host system type... " >&6; }
   5397 if ${ac_cv_host+:} false; then :
   5398   $as_echo_n "(cached) " >&6
   5399 else
   5400   if test "x$host_alias" = x; then
   5401   ac_cv_host=$ac_cv_build
   5402 else
   5403   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   5404     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   5405 fi
   5406 
   5407 fi
   5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   5409 $as_echo "$ac_cv_host" >&6; }
   5410 case $ac_cv_host in
   5411 *-*-*) ;;
   5412 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   5413 esac
   5414 host=$ac_cv_host
   5415 ac_save_IFS=$IFS; IFS='-'
   5416 set x $ac_cv_host
   5417 shift
   5418 host_cpu=$1
   5419 host_vendor=$2
   5420 shift; shift
   5421 # Remember, the first character of IFS is used to create $*,
   5422 # except with old shells:
   5423 host_os=$*
   5424 IFS=$ac_save_IFS
   5425 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   5426 
   5427 
   5428 # Backslashify metacharacters that are still active within
   5429 # double-quoted strings.
   5430 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   5431 
   5432 # Same as above, but do not quote variable references.
   5433 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   5434 
   5435 # Sed substitution to delay expansion of an escaped shell variable in a
   5436 # double_quote_subst'ed string.
   5437 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   5438 
   5439 # Sed substitution to delay expansion of an escaped single quote.
   5440 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   5441 
   5442 # Sed substitution to avoid accidental globbing in evaled expressions
   5443 no_glob_subst='s/\*/\\\*/g'
   5444 
   5445 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   5446 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   5447 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   5448 
   5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   5450 $as_echo_n "checking how to print strings... " >&6; }
   5451 # Test print first, because it will be a builtin if present.
   5452 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   5453    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   5454   ECHO='print -r --'
   5455 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   5456   ECHO='printf %s\n'
   5457 else
   5458   # Use this function as a fallback that always works.
   5459   func_fallback_echo ()
   5460   {
   5461     eval 'cat <<_LTECHO_EOF
   5462 $1
   5463 _LTECHO_EOF'
   5464   }
   5465   ECHO='func_fallback_echo'
   5466 fi
   5467 
   5468 # func_echo_all arg...
   5469 # Invoke $ECHO with all args, space-separated.
   5470 func_echo_all ()
   5471 {
   5472     $ECHO ""
   5473 }
   5474 
   5475 case $ECHO in
   5476   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   5477 $as_echo "printf" >&6; } ;;
   5478   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   5479 $as_echo "print -r" >&6; } ;;
   5480   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   5481 $as_echo "cat" >&6; } ;;
   5482 esac
   5483 
   5484 
   5485 
   5486 
   5487 
   5488 
   5489 
   5490 
   5491 
   5492 
   5493 
   5494 
   5495 
   5496 
   5497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5498 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   5499 if ${ac_cv_path_SED+:} false; then :
   5500   $as_echo_n "(cached) " >&6
   5501 else
   5502             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5503      for ac_i in 1 2 3 4 5 6 7; do
   5504        ac_script="$ac_script$as_nl$ac_script"
   5505      done
   5506      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5507      { ac_script=; unset ac_script;}
   5508      if test -z "$SED"; then
   5509   ac_path_SED_found=false
   5510   # Loop through the user's path and test for each of PROGNAME-LIST
   5511   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5512 for as_dir in $PATH
   5513 do
   5514   IFS=$as_save_IFS
   5515   test -z "$as_dir" && as_dir=.
   5516     for ac_prog in sed gsed; do
   5517     for ac_exec_ext in '' $ac_executable_extensions; do
   5518       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   5519       as_fn_executable_p "$ac_path_SED" || continue
   5520 # Check for GNU ac_path_SED and select it if it is found.
   5521   # Check for GNU $ac_path_SED
   5522 case `"$ac_path_SED" --version 2>&1` in
   5523 *GNU*)
   5524   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5525 *)
   5526   ac_count=0
   5527   $as_echo_n 0123456789 >"conftest.in"
   5528   while :
   5529   do
   5530     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5531     mv "conftest.tmp" "conftest.in"
   5532     cp "conftest.in" "conftest.nl"
   5533     $as_echo '' >> "conftest.nl"
   5534     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5535     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5536     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5537     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5538       # Best one so far, save it but keep looking for a better one
   5539       ac_cv_path_SED="$ac_path_SED"
   5540       ac_path_SED_max=$ac_count
   5541     fi
   5542     # 10*(2^10) chars as input seems more than enough
   5543     test $ac_count -gt 10 && break
   5544   done
   5545   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5546 esac
   5547 
   5548       $ac_path_SED_found && break 3
   5549     done
   5550   done
   5551   done
   5552 IFS=$as_save_IFS
   5553   if test -z "$ac_cv_path_SED"; then
   5554     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5555   fi
   5556 else
   5557   ac_cv_path_SED=$SED
   5558 fi
   5559 
   5560 fi
   5561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5562 $as_echo "$ac_cv_path_SED" >&6; }
   5563  SED="$ac_cv_path_SED"
   5564   rm -f conftest.sed
   5565 
   5566 test -z "$SED" && SED=sed
   5567 Xsed="$SED -e 1s/^X//"
   5568 
   5569 
   5570 
   5571 
   5572 
   5573 
   5574 
   5575 
   5576 
   5577 
   5578 
   5579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5580 $as_echo_n "checking for fgrep... " >&6; }
   5581 if ${ac_cv_path_FGREP+:} false; then :
   5582   $as_echo_n "(cached) " >&6
   5583 else
   5584   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5585    then ac_cv_path_FGREP="$GREP -F"
   5586    else
   5587      if test -z "$FGREP"; then
   5588   ac_path_FGREP_found=false
   5589   # Loop through the user's path and test for each of PROGNAME-LIST
   5590   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5591 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5592 do
   5593   IFS=$as_save_IFS
   5594   test -z "$as_dir" && as_dir=.
   5595     for ac_prog in fgrep; do
   5596     for ac_exec_ext in '' $ac_executable_extensions; do
   5597       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   5598       as_fn_executable_p "$ac_path_FGREP" || continue
   5599 # Check for GNU ac_path_FGREP and select it if it is found.
   5600   # Check for GNU $ac_path_FGREP
   5601 case `"$ac_path_FGREP" --version 2>&1` in
   5602 *GNU*)
   5603   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5604 *)
   5605   ac_count=0
   5606   $as_echo_n 0123456789 >"conftest.in"
   5607   while :
   5608   do
   5609     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5610     mv "conftest.tmp" "conftest.in"
   5611     cp "conftest.in" "conftest.nl"
   5612     $as_echo 'FGREP' >> "conftest.nl"
   5613     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5614     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5615     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5616     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5617       # Best one so far, save it but keep looking for a better one
   5618       ac_cv_path_FGREP="$ac_path_FGREP"
   5619       ac_path_FGREP_max=$ac_count
   5620     fi
   5621     # 10*(2^10) chars as input seems more than enough
   5622     test $ac_count -gt 10 && break
   5623   done
   5624   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5625 esac
   5626 
   5627       $ac_path_FGREP_found && break 3
   5628     done
   5629   done
   5630   done
   5631 IFS=$as_save_IFS
   5632   if test -z "$ac_cv_path_FGREP"; then
   5633     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5634   fi
   5635 else
   5636   ac_cv_path_FGREP=$FGREP
   5637 fi
   5638 
   5639    fi
   5640 fi
   5641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5642 $as_echo "$ac_cv_path_FGREP" >&6; }
   5643  FGREP="$ac_cv_path_FGREP"
   5644 
   5645 
   5646 test -z "$GREP" && GREP=grep
   5647 
   5648 
   5649 
   5650 
   5651 
   5652 
   5653 
   5654 
   5655 
   5656 
   5657 
   5658 
   5659 
   5660 
   5661 
   5662 
   5663 
   5664 
   5665 
   5666 # Check whether --with-gnu-ld was given.
   5667 if test "${with_gnu_ld+set}" = set; then :
   5668   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   5669 else
   5670   with_gnu_ld=no
   5671 fi
   5672 
   5673 ac_prog=ld
   5674 if test yes = "$GCC"; then
   5675   # Check if gcc -print-prog-name=ld gives a path.
   5676   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5677 $as_echo_n "checking for ld used by $CC... " >&6; }
   5678   case $host in
   5679   *-*-mingw*)
   5680     # gcc leaves a trailing carriage return, which upsets mingw
   5681     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5682   *)
   5683     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5684   esac
   5685   case $ac_prog in
   5686     # Accept absolute paths.
   5687     [\\/]* | ?:[\\/]*)
   5688       re_direlt='/[^/][^/]*/\.\./'
   5689       # Canonicalize the pathname of ld
   5690       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5691       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5692 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5693       done
   5694       test -z "$LD" && LD=$ac_prog
   5695       ;;
   5696   "")
   5697     # If it fails, then pretend we aren't using GCC.
   5698     ac_prog=ld
   5699     ;;
   5700   *)
   5701     # If it is relative, then search for the first ld in PATH.
   5702     with_gnu_ld=unknown
   5703     ;;
   5704   esac
   5705 elif test yes = "$with_gnu_ld"; then
   5706   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5707 $as_echo_n "checking for GNU ld... " >&6; }
   5708 else
   5709   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5710 $as_echo_n "checking for non-GNU ld... " >&6; }
   5711 fi
   5712 if ${lt_cv_path_LD+:} false; then :
   5713   $as_echo_n "(cached) " >&6
   5714 else
   5715   if test -z "$LD"; then
   5716   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5717   for ac_dir in $PATH; do
   5718     IFS=$lt_save_ifs
   5719     test -z "$ac_dir" && ac_dir=.
   5720     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5721       lt_cv_path_LD=$ac_dir/$ac_prog
   5722       # Check to see if the program is GNU ld.  I'd rather use --version,
   5723       # but apparently some variants of GNU ld only accept -v.
   5724       # Break only if it was the GNU/non-GNU ld that we prefer.
   5725       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5726       *GNU* | *'with BFD'*)
   5727 	test no != "$with_gnu_ld" && break
   5728 	;;
   5729       *)
   5730 	test yes != "$with_gnu_ld" && break
   5731 	;;
   5732       esac
   5733     fi
   5734   done
   5735   IFS=$lt_save_ifs
   5736 else
   5737   lt_cv_path_LD=$LD # Let the user override the test with a path.
   5738 fi
   5739 fi
   5740 
   5741 LD=$lt_cv_path_LD
   5742 if test -n "$LD"; then
   5743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5744 $as_echo "$LD" >&6; }
   5745 else
   5746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5747 $as_echo "no" >&6; }
   5748 fi
   5749 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5751 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   5752 if ${lt_cv_prog_gnu_ld+:} false; then :
   5753   $as_echo_n "(cached) " >&6
   5754 else
   5755   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5756 case `$LD -v 2>&1 </dev/null` in
   5757 *GNU* | *'with BFD'*)
   5758   lt_cv_prog_gnu_ld=yes
   5759   ;;
   5760 *)
   5761   lt_cv_prog_gnu_ld=no
   5762   ;;
   5763 esac
   5764 fi
   5765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5766 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   5767 with_gnu_ld=$lt_cv_prog_gnu_ld
   5768 
   5769 
   5770 
   5771 
   5772 
   5773 
   5774 
   5775 
   5776 
   5777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5778 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5779 if ${lt_cv_path_NM+:} false; then :
   5780   $as_echo_n "(cached) " >&6
   5781 else
   5782   if test -n "$NM"; then
   5783   # Let the user override the test.
   5784   lt_cv_path_NM=$NM
   5785 else
   5786   lt_nm_to_check=${ac_tool_prefix}nm
   5787   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5788     lt_nm_to_check="$lt_nm_to_check nm"
   5789   fi
   5790   for lt_tmp_nm in $lt_nm_to_check; do
   5791     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5792     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5793       IFS=$lt_save_ifs
   5794       test -z "$ac_dir" && ac_dir=.
   5795       tmp_nm=$ac_dir/$lt_tmp_nm
   5796       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   5797 	# Check to see if the nm accepts a BSD-compat flag.
   5798 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   5799 	#   nm: unknown option "B" ignored
   5800 	# Tru64's nm complains that /dev/null is an invalid object file
   5801 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   5802 	case $build_os in
   5803 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   5804 	*) lt_bad_file=/dev/null ;;
   5805 	esac
   5806 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
   5807 	*$lt_bad_file* | *'Invalid file or object type'*)
   5808 	  lt_cv_path_NM="$tmp_nm -B"
   5809 	  break 2
   5810 	  ;;
   5811 	*)
   5812 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   5813 	  */dev/null*)
   5814 	    lt_cv_path_NM="$tmp_nm -p"
   5815 	    break 2
   5816 	    ;;
   5817 	  *)
   5818 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5819 	    continue # so that we can try to find one that supports BSD flags
   5820 	    ;;
   5821 	  esac
   5822 	  ;;
   5823 	esac
   5824       fi
   5825     done
   5826     IFS=$lt_save_ifs
   5827   done
   5828   : ${lt_cv_path_NM=no}
   5829 fi
   5830 fi
   5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5832 $as_echo "$lt_cv_path_NM" >&6; }
   5833 if test no != "$lt_cv_path_NM"; then
   5834   NM=$lt_cv_path_NM
   5835 else
   5836   # Didn't find any BSD compatible name lister, look for dumpbin.
   5837   if test -n "$DUMPBIN"; then :
   5838     # Let the user override the test.
   5839   else
   5840     if test -n "$ac_tool_prefix"; then
   5841   for ac_prog in dumpbin "link -dump"
   5842   do
   5843     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5844 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5846 $as_echo_n "checking for $ac_word... " >&6; }
   5847 if ${ac_cv_prog_DUMPBIN+:} false; then :
   5848   $as_echo_n "(cached) " >&6
   5849 else
   5850   if test -n "$DUMPBIN"; then
   5851   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5852 else
   5853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5854 for as_dir in $PATH
   5855 do
   5856   IFS=$as_save_IFS
   5857   test -z "$as_dir" && as_dir=.
   5858     for ac_exec_ext in '' $ac_executable_extensions; do
   5859   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5860     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5861     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5862     break 2
   5863   fi
   5864 done
   5865   done
   5866 IFS=$as_save_IFS
   5867 
   5868 fi
   5869 fi
   5870 DUMPBIN=$ac_cv_prog_DUMPBIN
   5871 if test -n "$DUMPBIN"; then
   5872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5873 $as_echo "$DUMPBIN" >&6; }
   5874 else
   5875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5876 $as_echo "no" >&6; }
   5877 fi
   5878 
   5879 
   5880     test -n "$DUMPBIN" && break
   5881   done
   5882 fi
   5883 if test -z "$DUMPBIN"; then
   5884   ac_ct_DUMPBIN=$DUMPBIN
   5885   for ac_prog in dumpbin "link -dump"
   5886 do
   5887   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5888 set dummy $ac_prog; ac_word=$2
   5889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5890 $as_echo_n "checking for $ac_word... " >&6; }
   5891 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   5892   $as_echo_n "(cached) " >&6
   5893 else
   5894   if test -n "$ac_ct_DUMPBIN"; then
   5895   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5896 else
   5897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5898 for as_dir in $PATH
   5899 do
   5900   IFS=$as_save_IFS
   5901   test -z "$as_dir" && as_dir=.
   5902     for ac_exec_ext in '' $ac_executable_extensions; do
   5903   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5904     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5905     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5906     break 2
   5907   fi
   5908 done
   5909   done
   5910 IFS=$as_save_IFS
   5911 
   5912 fi
   5913 fi
   5914 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5915 if test -n "$ac_ct_DUMPBIN"; then
   5916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5917 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5918 else
   5919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5920 $as_echo "no" >&6; }
   5921 fi
   5922 
   5923 
   5924   test -n "$ac_ct_DUMPBIN" && break
   5925 done
   5926 
   5927   if test "x$ac_ct_DUMPBIN" = x; then
   5928     DUMPBIN=":"
   5929   else
   5930     case $cross_compiling:$ac_tool_warned in
   5931 yes:)
   5932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5933 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5934 ac_tool_warned=yes ;;
   5935 esac
   5936     DUMPBIN=$ac_ct_DUMPBIN
   5937   fi
   5938 fi
   5939 
   5940     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
   5941     *COFF*)
   5942       DUMPBIN="$DUMPBIN -symbols -headers"
   5943       ;;
   5944     *)
   5945       DUMPBIN=:
   5946       ;;
   5947     esac
   5948   fi
   5949 
   5950   if test : != "$DUMPBIN"; then
   5951     NM=$DUMPBIN
   5952   fi
   5953 fi
   5954 test -z "$NM" && NM=nm
   5955 
   5956 
   5957 
   5958 
   5959 
   5960 
   5961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5962 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5963 if ${lt_cv_nm_interface+:} false; then :
   5964   $as_echo_n "(cached) " >&6
   5965 else
   5966   lt_cv_nm_interface="BSD nm"
   5967   echo "int some_variable = 0;" > conftest.$ac_ext
   5968   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5969   (eval "$ac_compile" 2>conftest.err)
   5970   cat conftest.err >&5
   5971   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5972   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5973   cat conftest.err >&5
   5974   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5975   cat conftest.out >&5
   5976   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5977     lt_cv_nm_interface="MS dumpbin"
   5978   fi
   5979   rm -f conftest*
   5980 fi
   5981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5982 $as_echo "$lt_cv_nm_interface" >&6; }
   5983 
   5984 # find the maximum length of command line arguments
   5985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5986 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   5987 if ${lt_cv_sys_max_cmd_len+:} false; then :
   5988   $as_echo_n "(cached) " >&6
   5989 else
   5990     i=0
   5991   teststring=ABCD
   5992 
   5993   case $build_os in
   5994   msdosdjgpp*)
   5995     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5996     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5997     # during glob expansion).  Even if it were fixed, the result of this
   5998     # check would be larger than it should be.
   5999     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6000     ;;
   6001 
   6002   gnu*)
   6003     # Under GNU Hurd, this test is not required because there is
   6004     # no limit to the length of command line arguments.
   6005     # Libtool will interpret -1 as no limit whatsoever
   6006     lt_cv_sys_max_cmd_len=-1;
   6007     ;;
   6008 
   6009   cygwin* | mingw* | cegcc*)
   6010     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6011     # about 5 minutes as the teststring grows exponentially.
   6012     # Worse, since 9x/ME are not pre-emptively multitasking,
   6013     # you end up with a "frozen" computer, even though with patience
   6014     # the test eventually succeeds (with a max line length of 256k).
   6015     # Instead, let's just punt: use the minimum linelength reported by
   6016     # all of the supported platforms: 8192 (on NT/2K/XP).
   6017     lt_cv_sys_max_cmd_len=8192;
   6018     ;;
   6019 
   6020   mint*)
   6021     # On MiNT this can take a long time and run out of memory.
   6022     lt_cv_sys_max_cmd_len=8192;
   6023     ;;
   6024 
   6025   amigaos*)
   6026     # On AmigaOS with pdksh, this test takes hours, literally.
   6027     # So we just punt and use a minimum line length of 8192.
   6028     lt_cv_sys_max_cmd_len=8192;
   6029     ;;
   6030 
   6031   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
   6032     # This has been around since 386BSD, at least.  Likely further.
   6033     if test -x /sbin/sysctl; then
   6034       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6035     elif test -x /usr/sbin/sysctl; then
   6036       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6037     else
   6038       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6039     fi
   6040     # And add a safety zone
   6041     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6042     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6043     ;;
   6044 
   6045   interix*)
   6046     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6047     lt_cv_sys_max_cmd_len=196608
   6048     ;;
   6049 
   6050   os2*)
   6051     # The test takes a long time on OS/2.
   6052     lt_cv_sys_max_cmd_len=8192
   6053     ;;
   6054 
   6055   osf*)
   6056     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6057     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6058     # nice to cause kernel panics so lets avoid the loop below.
   6059     # First set a reasonable default.
   6060     lt_cv_sys_max_cmd_len=16384
   6061     #
   6062     if test -x /sbin/sysconfig; then
   6063       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6064         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6065       esac
   6066     fi
   6067     ;;
   6068   sco3.2v5*)
   6069     lt_cv_sys_max_cmd_len=102400
   6070     ;;
   6071   sysv5* | sco5v6* | sysv4.2uw2*)
   6072     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6073     if test -n "$kargmax"; then
   6074       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   6075     else
   6076       lt_cv_sys_max_cmd_len=32768
   6077     fi
   6078     ;;
   6079   *)
   6080     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6081     if test -n "$lt_cv_sys_max_cmd_len" && \
   6082        test undefined != "$lt_cv_sys_max_cmd_len"; then
   6083       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6084       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6085     else
   6086       # Make teststring a little bigger before we do anything with it.
   6087       # a 1K string should be a reasonable start.
   6088       for i in 1 2 3 4 5 6 7 8; do
   6089         teststring=$teststring$teststring
   6090       done
   6091       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6092       # If test is not a shell built-in, we'll probably end up computing a
   6093       # maximum length that is only half of the actual maximum length, but
   6094       # we can't tell.
   6095       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   6096 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   6097 	      test 17 != "$i" # 1/2 MB should be enough
   6098       do
   6099         i=`expr $i + 1`
   6100         teststring=$teststring$teststring
   6101       done
   6102       # Only check the string length outside the loop.
   6103       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   6104       teststring=
   6105       # Add a significant safety factor because C++ compilers can tack on
   6106       # massive amounts of additional arguments before passing them to the
   6107       # linker.  It appears as though 1/2 is a usable value.
   6108       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6109     fi
   6110     ;;
   6111   esac
   6112 
   6113 fi
   6114 
   6115 if test -n "$lt_cv_sys_max_cmd_len"; then
   6116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   6117 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   6118 else
   6119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   6120 $as_echo "none" >&6; }
   6121 fi
   6122 max_cmd_len=$lt_cv_sys_max_cmd_len
   6123 
   6124 
   6125 
   6126 
   6127 
   6128 
   6129 : ${CP="cp -f"}
   6130 : ${MV="mv -f"}
   6131 : ${RM="rm -f"}
   6132 
   6133 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   6134   lt_unset=unset
   6135 else
   6136   lt_unset=false
   6137 fi
   6138 
   6139 
   6140 
   6141 
   6142 
   6143 # test EBCDIC or ASCII
   6144 case `echo X|tr X '\101'` in
   6145  A) # ASCII based system
   6146     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   6147   lt_SP2NL='tr \040 \012'
   6148   lt_NL2SP='tr \015\012 \040\040'
   6149   ;;
   6150  *) # EBCDIC based system
   6151   lt_SP2NL='tr \100 \n'
   6152   lt_NL2SP='tr \r\n \100\100'
   6153   ;;
   6154 esac
   6155 
   6156 
   6157 
   6158 
   6159 
   6160 
   6161 
   6162 
   6163 
   6164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   6165 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   6166 if ${lt_cv_to_host_file_cmd+:} false; then :
   6167   $as_echo_n "(cached) " >&6
   6168 else
   6169   case $host in
   6170   *-*-mingw* )
   6171     case $build in
   6172       *-*-mingw* ) # actually msys
   6173         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   6174         ;;
   6175       *-*-cygwin* )
   6176         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   6177         ;;
   6178       * ) # otherwise, assume *nix
   6179         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   6180         ;;
   6181     esac
   6182     ;;
   6183   *-*-cygwin* )
   6184     case $build in
   6185       *-*-mingw* ) # actually msys
   6186         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   6187         ;;
   6188       *-*-cygwin* )
   6189         lt_cv_to_host_file_cmd=func_convert_file_noop
   6190         ;;
   6191       * ) # otherwise, assume *nix
   6192         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   6193         ;;
   6194     esac
   6195     ;;
   6196   * ) # unhandled hosts (and "normal" native builds)
   6197     lt_cv_to_host_file_cmd=func_convert_file_noop
   6198     ;;
   6199 esac
   6200 
   6201 fi
   6202 
   6203 to_host_file_cmd=$lt_cv_to_host_file_cmd
   6204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   6205 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   6206 
   6207 
   6208 
   6209 
   6210 
   6211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   6212 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   6213 if ${lt_cv_to_tool_file_cmd+:} false; then :
   6214   $as_echo_n "(cached) " >&6
   6215 else
   6216   #assume ordinary cross tools, or native build.
   6217 lt_cv_to_tool_file_cmd=func_convert_file_noop
   6218 case $host in
   6219   *-*-mingw* )
   6220     case $build in
   6221       *-*-mingw* ) # actually msys
   6222         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   6223         ;;
   6224     esac
   6225     ;;
   6226 esac
   6227 
   6228 fi
   6229 
   6230 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   6232 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   6233 
   6234 
   6235 
   6236 
   6237 
   6238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   6239 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   6240 if ${lt_cv_ld_reload_flag+:} false; then :
   6241   $as_echo_n "(cached) " >&6
   6242 else
   6243   lt_cv_ld_reload_flag='-r'
   6244 fi
   6245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   6246 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   6247 reload_flag=$lt_cv_ld_reload_flag
   6248 case $reload_flag in
   6249 "" | " "*) ;;
   6250 *) reload_flag=" $reload_flag" ;;
   6251 esac
   6252 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6253 case $host_os in
   6254   cygwin* | mingw* | pw32* | cegcc*)
   6255     if test yes != "$GCC"; then
   6256       reload_cmds=false
   6257     fi
   6258     ;;
   6259   darwin*)
   6260     if test yes = "$GCC"; then
   6261       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   6262     else
   6263       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6264     fi
   6265     ;;
   6266 esac
   6267 
   6268 
   6269 
   6270 
   6271 
   6272 
   6273 
   6274 
   6275 
   6276 if test -n "$ac_tool_prefix"; then
   6277   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6278 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6280 $as_echo_n "checking for $ac_word... " >&6; }
   6281 if ${ac_cv_prog_OBJDUMP+:} false; then :
   6282   $as_echo_n "(cached) " >&6
   6283 else
   6284   if test -n "$OBJDUMP"; then
   6285   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6286 else
   6287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6288 for as_dir in $PATH
   6289 do
   6290   IFS=$as_save_IFS
   6291   test -z "$as_dir" && as_dir=.
   6292     for ac_exec_ext in '' $ac_executable_extensions; do
   6293   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6294     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6295     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6296     break 2
   6297   fi
   6298 done
   6299   done
   6300 IFS=$as_save_IFS
   6301 
   6302 fi
   6303 fi
   6304 OBJDUMP=$ac_cv_prog_OBJDUMP
   6305 if test -n "$OBJDUMP"; then
   6306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   6307 $as_echo "$OBJDUMP" >&6; }
   6308 else
   6309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6310 $as_echo "no" >&6; }
   6311 fi
   6312 
   6313 
   6314 fi
   6315 if test -z "$ac_cv_prog_OBJDUMP"; then
   6316   ac_ct_OBJDUMP=$OBJDUMP
   6317   # Extract the first word of "objdump", so it can be a program name with args.
   6318 set dummy objdump; ac_word=$2
   6319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6320 $as_echo_n "checking for $ac_word... " >&6; }
   6321 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   6322   $as_echo_n "(cached) " >&6
   6323 else
   6324   if test -n "$ac_ct_OBJDUMP"; then
   6325   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6326 else
   6327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6328 for as_dir in $PATH
   6329 do
   6330   IFS=$as_save_IFS
   6331   test -z "$as_dir" && as_dir=.
   6332     for ac_exec_ext in '' $ac_executable_extensions; do
   6333   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6334     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6335     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6336     break 2
   6337   fi
   6338 done
   6339   done
   6340 IFS=$as_save_IFS
   6341 
   6342 fi
   6343 fi
   6344 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6345 if test -n "$ac_ct_OBJDUMP"; then
   6346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6347 $as_echo "$ac_ct_OBJDUMP" >&6; }
   6348 else
   6349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6350 $as_echo "no" >&6; }
   6351 fi
   6352 
   6353   if test "x$ac_ct_OBJDUMP" = x; then
   6354     OBJDUMP="false"
   6355   else
   6356     case $cross_compiling:$ac_tool_warned in
   6357 yes:)
   6358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6359 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6360 ac_tool_warned=yes ;;
   6361 esac
   6362     OBJDUMP=$ac_ct_OBJDUMP
   6363   fi
   6364 else
   6365   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6366 fi
   6367 
   6368 test -z "$OBJDUMP" && OBJDUMP=objdump
   6369 
   6370 
   6371 
   6372 
   6373 
   6374 
   6375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6376 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   6377 if ${lt_cv_deplibs_check_method+:} false; then :
   6378   $as_echo_n "(cached) " >&6
   6379 else
   6380   lt_cv_file_magic_cmd='$MAGIC_CMD'
   6381 lt_cv_file_magic_test_file=
   6382 lt_cv_deplibs_check_method='unknown'
   6383 # Need to set the preceding variable on all platforms that support
   6384 # interlibrary dependencies.
   6385 # 'none' -- dependencies not supported.
   6386 # 'unknown' -- same as none, but documents that we really don't know.
   6387 # 'pass_all' -- all dependencies passed with no checks.
   6388 # 'test_compile' -- check by making test program.
   6389 # 'file_magic [[regex]]' -- check by looking for files in library path
   6390 # that responds to the $file_magic_cmd with a given extended regex.
   6391 # If you have 'file' or equivalent on your system and you're not sure
   6392 # whether 'pass_all' will *always* work, you probably want this one.
   6393 
   6394 case $host_os in
   6395 aix[4-9]*)
   6396   lt_cv_deplibs_check_method=pass_all
   6397   ;;
   6398 
   6399 beos*)
   6400   lt_cv_deplibs_check_method=pass_all
   6401   ;;
   6402 
   6403 bsdi[45]*)
   6404   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6405   lt_cv_file_magic_cmd='/usr/bin/file -L'
   6406   lt_cv_file_magic_test_file=/shlib/libc.so
   6407   ;;
   6408 
   6409 cygwin*)
   6410   # func_win32_libid is a shell function defined in ltmain.sh
   6411   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6412   lt_cv_file_magic_cmd='func_win32_libid'
   6413   ;;
   6414 
   6415 mingw* | pw32*)
   6416   # Base MSYS/MinGW do not provide the 'file' command needed by
   6417   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6418   # unless we find 'file', for example because we are cross-compiling.
   6419   if ( file / ) >/dev/null 2>&1; then
   6420     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6421     lt_cv_file_magic_cmd='func_win32_libid'
   6422   else
   6423     # Keep this pattern in sync with the one in func_win32_libid.
   6424     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   6425     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6426   fi
   6427   ;;
   6428 
   6429 cegcc*)
   6430   # use the weaker test based on 'objdump'. See mingw*.
   6431   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6432   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6433   ;;
   6434 
   6435 darwin* | rhapsody*)
   6436   lt_cv_deplibs_check_method=pass_all
   6437   ;;
   6438 
   6439 freebsd* | dragonfly*)
   6440   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6441     case $host_cpu in
   6442     i*86 )
   6443       # Not sure whether the presence of OpenBSD here was a mistake.
   6444       # Let's accept both of them until this is cleared up.
   6445       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6446       lt_cv_file_magic_cmd=/usr/bin/file
   6447       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6448       ;;
   6449     esac
   6450   else
   6451     lt_cv_deplibs_check_method=pass_all
   6452   fi
   6453   ;;
   6454 
   6455 haiku*)
   6456   lt_cv_deplibs_check_method=pass_all
   6457   ;;
   6458 
   6459 hpux10.20* | hpux11*)
   6460   lt_cv_file_magic_cmd=/usr/bin/file
   6461   case $host_cpu in
   6462   ia64*)
   6463     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6464     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6465     ;;
   6466   hppa*64*)
   6467     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]'
   6468     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6469     ;;
   6470   *)
   6471     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6472     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6473     ;;
   6474   esac
   6475   ;;
   6476 
   6477 interix[3-9]*)
   6478   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6479   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6480   ;;
   6481 
   6482 irix5* | irix6* | nonstopux*)
   6483   case $LD in
   6484   *-32|*"-32 ") libmagic=32-bit;;
   6485   *-n32|*"-n32 ") libmagic=N32;;
   6486   *-64|*"-64 ") libmagic=64-bit;;
   6487   *) libmagic=never-match;;
   6488   esac
   6489   lt_cv_deplibs_check_method=pass_all
   6490   ;;
   6491 
   6492 # This must be glibc/ELF.
   6493 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   6494   lt_cv_deplibs_check_method=pass_all
   6495   ;;
   6496 
   6497 netbsd*)
   6498   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6499     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6500   else
   6501     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6502   fi
   6503   ;;
   6504 
   6505 newos6*)
   6506   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6507   lt_cv_file_magic_cmd=/usr/bin/file
   6508   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6509   ;;
   6510 
   6511 *nto* | *qnx*)
   6512   lt_cv_deplibs_check_method=pass_all
   6513   ;;
   6514 
   6515 openbsd* | bitrig*)
   6516   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   6517     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6518   else
   6519     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6520   fi
   6521   ;;
   6522 
   6523 osf3* | osf4* | osf5*)
   6524   lt_cv_deplibs_check_method=pass_all
   6525   ;;
   6526 
   6527 rdos*)
   6528   lt_cv_deplibs_check_method=pass_all
   6529   ;;
   6530 
   6531 solaris*)
   6532   lt_cv_deplibs_check_method=pass_all
   6533   ;;
   6534 
   6535 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6536   lt_cv_deplibs_check_method=pass_all
   6537   ;;
   6538 
   6539 sysv4 | sysv4.3*)
   6540   case $host_vendor in
   6541   motorola)
   6542     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]'
   6543     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6544     ;;
   6545   ncr)
   6546     lt_cv_deplibs_check_method=pass_all
   6547     ;;
   6548   sequent)
   6549     lt_cv_file_magic_cmd='/bin/file'
   6550     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6551     ;;
   6552   sni)
   6553     lt_cv_file_magic_cmd='/bin/file'
   6554     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6555     lt_cv_file_magic_test_file=/lib/libc.so
   6556     ;;
   6557   siemens)
   6558     lt_cv_deplibs_check_method=pass_all
   6559     ;;
   6560   pc)
   6561     lt_cv_deplibs_check_method=pass_all
   6562     ;;
   6563   esac
   6564   ;;
   6565 
   6566 tpf*)
   6567   lt_cv_deplibs_check_method=pass_all
   6568   ;;
   6569 os2*)
   6570   lt_cv_deplibs_check_method=pass_all
   6571   ;;
   6572 esac
   6573 
   6574 fi
   6575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6576 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   6577 
   6578 file_magic_glob=
   6579 want_nocaseglob=no
   6580 if test "$build" = "$host"; then
   6581   case $host_os in
   6582   mingw* | pw32*)
   6583     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6584       want_nocaseglob=yes
   6585     else
   6586       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6587     fi
   6588     ;;
   6589   esac
   6590 fi
   6591 
   6592 file_magic_cmd=$lt_cv_file_magic_cmd
   6593 deplibs_check_method=$lt_cv_deplibs_check_method
   6594 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6595 
   6596 
   6597 
   6598 
   6599 
   6600 
   6601 
   6602 
   6603 
   6604 
   6605 
   6606 
   6607 
   6608 
   6609 
   6610 
   6611 
   6612 
   6613 
   6614 
   6615 
   6616 
   6617 if test -n "$ac_tool_prefix"; then
   6618   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6619 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6621 $as_echo_n "checking for $ac_word... " >&6; }
   6622 if ${ac_cv_prog_DLLTOOL+:} false; then :
   6623   $as_echo_n "(cached) " >&6
   6624 else
   6625   if test -n "$DLLTOOL"; then
   6626   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6627 else
   6628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6629 for as_dir in $PATH
   6630 do
   6631   IFS=$as_save_IFS
   6632   test -z "$as_dir" && as_dir=.
   6633     for ac_exec_ext in '' $ac_executable_extensions; do
   6634   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6635     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6636     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6637     break 2
   6638   fi
   6639 done
   6640   done
   6641 IFS=$as_save_IFS
   6642 
   6643 fi
   6644 fi
   6645 DLLTOOL=$ac_cv_prog_DLLTOOL
   6646 if test -n "$DLLTOOL"; then
   6647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6648 $as_echo "$DLLTOOL" >&6; }
   6649 else
   6650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6651 $as_echo "no" >&6; }
   6652 fi
   6653 
   6654 
   6655 fi
   6656 if test -z "$ac_cv_prog_DLLTOOL"; then
   6657   ac_ct_DLLTOOL=$DLLTOOL
   6658   # Extract the first word of "dlltool", so it can be a program name with args.
   6659 set dummy dlltool; ac_word=$2
   6660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6661 $as_echo_n "checking for $ac_word... " >&6; }
   6662 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   6663   $as_echo_n "(cached) " >&6
   6664 else
   6665   if test -n "$ac_ct_DLLTOOL"; then
   6666   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6667 else
   6668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6669 for as_dir in $PATH
   6670 do
   6671   IFS=$as_save_IFS
   6672   test -z "$as_dir" && as_dir=.
   6673     for ac_exec_ext in '' $ac_executable_extensions; do
   6674   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6675     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6676     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6677     break 2
   6678   fi
   6679 done
   6680   done
   6681 IFS=$as_save_IFS
   6682 
   6683 fi
   6684 fi
   6685 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6686 if test -n "$ac_ct_DLLTOOL"; then
   6687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6688 $as_echo "$ac_ct_DLLTOOL" >&6; }
   6689 else
   6690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6691 $as_echo "no" >&6; }
   6692 fi
   6693 
   6694   if test "x$ac_ct_DLLTOOL" = x; then
   6695     DLLTOOL="false"
   6696   else
   6697     case $cross_compiling:$ac_tool_warned in
   6698 yes:)
   6699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6700 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6701 ac_tool_warned=yes ;;
   6702 esac
   6703     DLLTOOL=$ac_ct_DLLTOOL
   6704   fi
   6705 else
   6706   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6707 fi
   6708 
   6709 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6710 
   6711 
   6712 
   6713 
   6714 
   6715 
   6716 
   6717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6718 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   6719 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   6720   $as_echo_n "(cached) " >&6
   6721 else
   6722   lt_cv_sharedlib_from_linklib_cmd='unknown'
   6723 
   6724 case $host_os in
   6725 cygwin* | mingw* | pw32* | cegcc*)
   6726   # two different shell functions defined in ltmain.sh;
   6727   # decide which one to use based on capabilities of $DLLTOOL
   6728   case `$DLLTOOL --help 2>&1` in
   6729   *--identify-strict*)
   6730     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6731     ;;
   6732   *)
   6733     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6734     ;;
   6735   esac
   6736   ;;
   6737 *)
   6738   # fallback: assume linklib IS sharedlib
   6739   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   6740   ;;
   6741 esac
   6742 
   6743 fi
   6744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6745 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6746 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6747 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6748 
   6749 
   6750 
   6751 
   6752 
   6753 
   6754 
   6755 if test -n "$ac_tool_prefix"; then
   6756   for ac_prog in ar
   6757   do
   6758     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6759 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6761 $as_echo_n "checking for $ac_word... " >&6; }
   6762 if ${ac_cv_prog_AR+:} false; then :
   6763   $as_echo_n "(cached) " >&6
   6764 else
   6765   if test -n "$AR"; then
   6766   ac_cv_prog_AR="$AR" # Let the user override the test.
   6767 else
   6768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6769 for as_dir in $PATH
   6770 do
   6771   IFS=$as_save_IFS
   6772   test -z "$as_dir" && as_dir=.
   6773     for ac_exec_ext in '' $ac_executable_extensions; do
   6774   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6775     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6776     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6777     break 2
   6778   fi
   6779 done
   6780   done
   6781 IFS=$as_save_IFS
   6782 
   6783 fi
   6784 fi
   6785 AR=$ac_cv_prog_AR
   6786 if test -n "$AR"; then
   6787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6788 $as_echo "$AR" >&6; }
   6789 else
   6790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6791 $as_echo "no" >&6; }
   6792 fi
   6793 
   6794 
   6795     test -n "$AR" && break
   6796   done
   6797 fi
   6798 if test -z "$AR"; then
   6799   ac_ct_AR=$AR
   6800   for ac_prog in ar
   6801 do
   6802   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6803 set dummy $ac_prog; ac_word=$2
   6804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6805 $as_echo_n "checking for $ac_word... " >&6; }
   6806 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   6807   $as_echo_n "(cached) " >&6
   6808 else
   6809   if test -n "$ac_ct_AR"; then
   6810   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6811 else
   6812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6813 for as_dir in $PATH
   6814 do
   6815   IFS=$as_save_IFS
   6816   test -z "$as_dir" && as_dir=.
   6817     for ac_exec_ext in '' $ac_executable_extensions; do
   6818   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6819     ac_cv_prog_ac_ct_AR="$ac_prog"
   6820     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6821     break 2
   6822   fi
   6823 done
   6824   done
   6825 IFS=$as_save_IFS
   6826 
   6827 fi
   6828 fi
   6829 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6830 if test -n "$ac_ct_AR"; then
   6831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6832 $as_echo "$ac_ct_AR" >&6; }
   6833 else
   6834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6835 $as_echo "no" >&6; }
   6836 fi
   6837 
   6838 
   6839   test -n "$ac_ct_AR" && break
   6840 done
   6841 
   6842   if test "x$ac_ct_AR" = x; then
   6843     AR="false"
   6844   else
   6845     case $cross_compiling:$ac_tool_warned in
   6846 yes:)
   6847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6848 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6849 ac_tool_warned=yes ;;
   6850 esac
   6851     AR=$ac_ct_AR
   6852   fi
   6853 fi
   6854 
   6855 : ${AR=ar}
   6856 : ${AR_FLAGS=cru}
   6857 
   6858 
   6859 
   6860 
   6861 
   6862 
   6863 
   6864 
   6865 
   6866 
   6867 
   6868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6869 $as_echo_n "checking for archiver @FILE support... " >&6; }
   6870 if ${lt_cv_ar_at_file+:} false; then :
   6871   $as_echo_n "(cached) " >&6
   6872 else
   6873   lt_cv_ar_at_file=no
   6874    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6875 /* end confdefs.h.  */
   6876 
   6877 int
   6878 main ()
   6879 {
   6880 
   6881   ;
   6882   return 0;
   6883 }
   6884 _ACEOF
   6885 if ac_fn_c_try_compile "$LINENO"; then :
   6886   echo conftest.$ac_objext > conftest.lst
   6887       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6888       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6889   (eval $lt_ar_try) 2>&5
   6890   ac_status=$?
   6891   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6892   test $ac_status = 0; }
   6893       if test 0 -eq "$ac_status"; then
   6894 	# Ensure the archiver fails upon bogus file names.
   6895 	rm -f conftest.$ac_objext libconftest.a
   6896 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6897   (eval $lt_ar_try) 2>&5
   6898   ac_status=$?
   6899   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6900   test $ac_status = 0; }
   6901 	if test 0 -ne "$ac_status"; then
   6902           lt_cv_ar_at_file=@
   6903         fi
   6904       fi
   6905       rm -f conftest.* libconftest.a
   6906 
   6907 fi
   6908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6909 
   6910 fi
   6911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6912 $as_echo "$lt_cv_ar_at_file" >&6; }
   6913 
   6914 if test no = "$lt_cv_ar_at_file"; then
   6915   archiver_list_spec=
   6916 else
   6917   archiver_list_spec=$lt_cv_ar_at_file
   6918 fi
   6919 
   6920 
   6921 
   6922 
   6923 
   6924 
   6925 
   6926 if test -n "$ac_tool_prefix"; then
   6927   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6928 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6930 $as_echo_n "checking for $ac_word... " >&6; }
   6931 if ${ac_cv_prog_STRIP+:} false; then :
   6932   $as_echo_n "(cached) " >&6
   6933 else
   6934   if test -n "$STRIP"; then
   6935   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6936 else
   6937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6938 for as_dir in $PATH
   6939 do
   6940   IFS=$as_save_IFS
   6941   test -z "$as_dir" && as_dir=.
   6942     for ac_exec_ext in '' $ac_executable_extensions; do
   6943   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6944     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6945     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6946     break 2
   6947   fi
   6948 done
   6949   done
   6950 IFS=$as_save_IFS
   6951 
   6952 fi
   6953 fi
   6954 STRIP=$ac_cv_prog_STRIP
   6955 if test -n "$STRIP"; then
   6956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6957 $as_echo "$STRIP" >&6; }
   6958 else
   6959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6960 $as_echo "no" >&6; }
   6961 fi
   6962 
   6963 
   6964 fi
   6965 if test -z "$ac_cv_prog_STRIP"; then
   6966   ac_ct_STRIP=$STRIP
   6967   # Extract the first word of "strip", so it can be a program name with args.
   6968 set dummy strip; ac_word=$2
   6969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6970 $as_echo_n "checking for $ac_word... " >&6; }
   6971 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   6972   $as_echo_n "(cached) " >&6
   6973 else
   6974   if test -n "$ac_ct_STRIP"; then
   6975   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6976 else
   6977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6978 for as_dir in $PATH
   6979 do
   6980   IFS=$as_save_IFS
   6981   test -z "$as_dir" && as_dir=.
   6982     for ac_exec_ext in '' $ac_executable_extensions; do
   6983   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6984     ac_cv_prog_ac_ct_STRIP="strip"
   6985     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6986     break 2
   6987   fi
   6988 done
   6989   done
   6990 IFS=$as_save_IFS
   6991 
   6992 fi
   6993 fi
   6994 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6995 if test -n "$ac_ct_STRIP"; then
   6996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6997 $as_echo "$ac_ct_STRIP" >&6; }
   6998 else
   6999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7000 $as_echo "no" >&6; }
   7001 fi
   7002 
   7003   if test "x$ac_ct_STRIP" = x; then
   7004     STRIP=":"
   7005   else
   7006     case $cross_compiling:$ac_tool_warned in
   7007 yes:)
   7008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7009 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7010 ac_tool_warned=yes ;;
   7011 esac
   7012     STRIP=$ac_ct_STRIP
   7013   fi
   7014 else
   7015   STRIP="$ac_cv_prog_STRIP"
   7016 fi
   7017 
   7018 test -z "$STRIP" && STRIP=:
   7019 
   7020 
   7021 
   7022 
   7023 
   7024 
   7025 if test -n "$ac_tool_prefix"; then
   7026   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   7027 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   7028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7029 $as_echo_n "checking for $ac_word... " >&6; }
   7030 if ${ac_cv_prog_RANLIB+:} false; then :
   7031   $as_echo_n "(cached) " >&6
   7032 else
   7033   if test -n "$RANLIB"; then
   7034   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   7035 else
   7036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7037 for as_dir in $PATH
   7038 do
   7039   IFS=$as_save_IFS
   7040   test -z "$as_dir" && as_dir=.
   7041     for ac_exec_ext in '' $ac_executable_extensions; do
   7042   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7043     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   7044     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7045     break 2
   7046   fi
   7047 done
   7048   done
   7049 IFS=$as_save_IFS
   7050 
   7051 fi
   7052 fi
   7053 RANLIB=$ac_cv_prog_RANLIB
   7054 if test -n "$RANLIB"; then
   7055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   7056 $as_echo "$RANLIB" >&6; }
   7057 else
   7058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7059 $as_echo "no" >&6; }
   7060 fi
   7061 
   7062 
   7063 fi
   7064 if test -z "$ac_cv_prog_RANLIB"; then
   7065   ac_ct_RANLIB=$RANLIB
   7066   # Extract the first word of "ranlib", so it can be a program name with args.
   7067 set dummy ranlib; ac_word=$2
   7068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7069 $as_echo_n "checking for $ac_word... " >&6; }
   7070 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   7071   $as_echo_n "(cached) " >&6
   7072 else
   7073   if test -n "$ac_ct_RANLIB"; then
   7074   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   7075 else
   7076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7077 for as_dir in $PATH
   7078 do
   7079   IFS=$as_save_IFS
   7080   test -z "$as_dir" && as_dir=.
   7081     for ac_exec_ext in '' $ac_executable_extensions; do
   7082   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7083     ac_cv_prog_ac_ct_RANLIB="ranlib"
   7084     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7085     break 2
   7086   fi
   7087 done
   7088   done
   7089 IFS=$as_save_IFS
   7090 
   7091 fi
   7092 fi
   7093 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   7094 if test -n "$ac_ct_RANLIB"; then
   7095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   7096 $as_echo "$ac_ct_RANLIB" >&6; }
   7097 else
   7098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7099 $as_echo "no" >&6; }
   7100 fi
   7101 
   7102   if test "x$ac_ct_RANLIB" = x; then
   7103     RANLIB=":"
   7104   else
   7105     case $cross_compiling:$ac_tool_warned in
   7106 yes:)
   7107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7108 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7109 ac_tool_warned=yes ;;
   7110 esac
   7111     RANLIB=$ac_ct_RANLIB
   7112   fi
   7113 else
   7114   RANLIB="$ac_cv_prog_RANLIB"
   7115 fi
   7116 
   7117 test -z "$RANLIB" && RANLIB=:
   7118 
   7119 
   7120 
   7121 
   7122 
   7123 
   7124 # Determine commands to create old-style static archives.
   7125 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7126 old_postinstall_cmds='chmod 644 $oldlib'
   7127 old_postuninstall_cmds=
   7128 
   7129 if test -n "$RANLIB"; then
   7130   case $host_os in
   7131   bitrig* | openbsd*)
   7132     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   7133     ;;
   7134   *)
   7135     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   7136     ;;
   7137   esac
   7138   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   7139 fi
   7140 
   7141 case $host_os in
   7142   darwin*)
   7143     lock_old_archive_extraction=yes ;;
   7144   *)
   7145     lock_old_archive_extraction=no ;;
   7146 esac
   7147 
   7148 
   7149 
   7150 
   7151 
   7152 
   7153 
   7154 
   7155 
   7156 
   7157 
   7158 
   7159 
   7160 
   7161 
   7162 
   7163 
   7164 
   7165 
   7166 
   7167 
   7168 
   7169 
   7170 
   7171 
   7172 
   7173 
   7174 
   7175 
   7176 
   7177 
   7178 
   7179 
   7180 
   7181 
   7182 
   7183 
   7184 
   7185 
   7186 # If no C compiler was specified, use CC.
   7187 LTCC=${LTCC-"$CC"}
   7188 
   7189 # If no C compiler flags were specified, use CFLAGS.
   7190 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7191 
   7192 # Allow CC to be a program name with arguments.
   7193 compiler=$CC
   7194 
   7195 
   7196 # Check for command to grab the raw symbol name followed by C symbol from nm.
   7197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   7198 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   7199 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   7200   $as_echo_n "(cached) " >&6
   7201 else
   7202 
   7203 # These are sane defaults that work on at least a few old systems.
   7204 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   7205 
   7206 # Character class describing NM global symbol codes.
   7207 symcode='[BCDEGRST]'
   7208 
   7209 # Regexp to match symbols that can be accessed directly from C.
   7210 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   7211 
   7212 # Define system-specific variables.
   7213 case $host_os in
   7214 aix*)
   7215   symcode='[BCDT]'
   7216   ;;
   7217 cygwin* | mingw* | pw32* | cegcc*)
   7218   symcode='[ABCDGISTW]'
   7219   ;;
   7220 hpux*)
   7221   if test ia64 = "$host_cpu"; then
   7222     symcode='[ABCDEGRST]'
   7223   fi
   7224   ;;
   7225 irix* | nonstopux*)
   7226   symcode='[BCDEGRST]'
   7227   ;;
   7228 osf*)
   7229   symcode='[BCDEGQRST]'
   7230   ;;
   7231 solaris*)
   7232   symcode='[BDRT]'
   7233   ;;
   7234 sco3.2v5*)
   7235   symcode='[DT]'
   7236   ;;
   7237 sysv4.2uw2*)
   7238   symcode='[DT]'
   7239   ;;
   7240 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   7241   symcode='[ABDT]'
   7242   ;;
   7243 sysv4)
   7244   symcode='[DFNSTU]'
   7245   ;;
   7246 esac
   7247 
   7248 # If we're using GNU nm, then use its standard symbol codes.
   7249 case `$NM -V 2>&1` in
   7250 *GNU* | *'with BFD'*)
   7251   symcode='[ABCDGIRSTW]' ;;
   7252 esac
   7253 
   7254 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7255   # Gets list of data symbols to import.
   7256   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
   7257   # Adjust the below global symbol transforms to fixup imported variables.
   7258   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   7259   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   7260   lt_c_name_lib_hook="\
   7261   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   7262   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   7263 else
   7264   # Disable hooks by default.
   7265   lt_cv_sys_global_symbol_to_import=
   7266   lt_cdecl_hook=
   7267   lt_c_name_hook=
   7268   lt_c_name_lib_hook=
   7269 fi
   7270 
   7271 # Transform an extracted symbol line into a proper C declaration.
   7272 # Some systems (esp. on ia64) link data and code symbols differently,
   7273 # so use this general approach.
   7274 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
   7275 $lt_cdecl_hook\
   7276 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   7277 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   7278 
   7279 # Transform an extracted symbol line into symbol name and symbol address
   7280 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
   7281 $lt_c_name_hook\
   7282 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7283 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   7284 
   7285 # Transform an extracted symbol line into symbol name with lib prefix and
   7286 # symbol address.
   7287 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
   7288 $lt_c_name_lib_hook\
   7289 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7290 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   7291 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   7292 
   7293 # Handle CRLF in mingw tool chain
   7294 opt_cr=
   7295 case $build_os in
   7296 mingw*)
   7297   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7298   ;;
   7299 esac
   7300 
   7301 # Try without a prefix underscore, then with it.
   7302 for ac_symprfx in "" "_"; do
   7303 
   7304   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7305   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7306 
   7307   # Write the raw and C identifiers.
   7308   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7309     # Fake it for dumpbin and say T for any non-static function,
   7310     # D for any global variable and I for any imported variable.
   7311     # Also find C++ and __fastcall symbols from MSVC++,
   7312     # which start with @ or ?.
   7313     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7314 "     {last_section=section; section=\$ 3};"\
   7315 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   7316 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7317 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   7318 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   7319 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   7320 "     \$ 0!~/External *\|/{next};"\
   7321 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7322 "     {if(hide[section]) next};"\
   7323 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   7324 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   7325 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   7326 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   7327 "     ' prfx=^$ac_symprfx"
   7328   else
   7329     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7330   fi
   7331   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   7332 
   7333   # Check to see that the pipe works correctly.
   7334   pipe_works=no
   7335 
   7336   rm -f conftest*
   7337   cat > conftest.$ac_ext <<_LT_EOF
   7338 #ifdef __cplusplus
   7339 extern "C" {
   7340 #endif
   7341 char nm_test_var;
   7342 void nm_test_func(void);
   7343 void nm_test_func(void){}
   7344 #ifdef __cplusplus
   7345 }
   7346 #endif
   7347 int main(){nm_test_var='a';nm_test_func();return(0);}
   7348 _LT_EOF
   7349 
   7350   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7351   (eval $ac_compile) 2>&5
   7352   ac_status=$?
   7353   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7354   test $ac_status = 0; }; then
   7355     # Now try to grab the symbols.
   7356     nlist=conftest.nm
   7357     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   7358   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   7359   ac_status=$?
   7360   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7361   test $ac_status = 0; } && test -s "$nlist"; then
   7362       # Try sorting and uniquifying the output.
   7363       if sort "$nlist" | uniq > "$nlist"T; then
   7364 	mv -f "$nlist"T "$nlist"
   7365       else
   7366 	rm -f "$nlist"T
   7367       fi
   7368 
   7369       # Make sure that we snagged all the symbols we need.
   7370       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7371 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7372 	  cat <<_LT_EOF > conftest.$ac_ext
   7373 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   7374 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   7375 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   7376    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   7377 # define LT_DLSYM_CONST
   7378 #elif defined __osf__
   7379 /* This system does not cope well with relocations in const data.  */
   7380 # define LT_DLSYM_CONST
   7381 #else
   7382 # define LT_DLSYM_CONST const
   7383 #endif
   7384 
   7385 #ifdef __cplusplus
   7386 extern "C" {
   7387 #endif
   7388 
   7389 _LT_EOF
   7390 	  # Now generate the symbol file.
   7391 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7392 
   7393 	  cat <<_LT_EOF >> conftest.$ac_ext
   7394 
   7395 /* The mapping between symbol names and symbols.  */
   7396 LT_DLSYM_CONST struct {
   7397   const char *name;
   7398   void       *address;
   7399 }
   7400 lt__PROGRAM__LTX_preloaded_symbols[] =
   7401 {
   7402   { "@PROGRAM@", (void *) 0 },
   7403 _LT_EOF
   7404 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7405 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7406   {0, (void *) 0}
   7407 };
   7408 
   7409 /* This works around a problem in FreeBSD linker */
   7410 #ifdef FREEBSD_WORKAROUND
   7411 static const void *lt_preloaded_setup() {
   7412   return lt__PROGRAM__LTX_preloaded_symbols;
   7413 }
   7414 #endif
   7415 
   7416 #ifdef __cplusplus
   7417 }
   7418 #endif
   7419 _LT_EOF
   7420 	  # Now try linking the two files.
   7421 	  mv conftest.$ac_objext conftstm.$ac_objext
   7422 	  lt_globsym_save_LIBS=$LIBS
   7423 	  lt_globsym_save_CFLAGS=$CFLAGS
   7424 	  LIBS=conftstm.$ac_objext
   7425 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7426 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7427   (eval $ac_link) 2>&5
   7428   ac_status=$?
   7429   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7430   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   7431 	    pipe_works=yes
   7432 	  fi
   7433 	  LIBS=$lt_globsym_save_LIBS
   7434 	  CFLAGS=$lt_globsym_save_CFLAGS
   7435 	else
   7436 	  echo "cannot find nm_test_func in $nlist" >&5
   7437 	fi
   7438       else
   7439 	echo "cannot find nm_test_var in $nlist" >&5
   7440       fi
   7441     else
   7442       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7443     fi
   7444   else
   7445     echo "$progname: failed program was:" >&5
   7446     cat conftest.$ac_ext >&5
   7447   fi
   7448   rm -rf conftest* conftst*
   7449 
   7450   # Do not use the global_symbol_pipe unless it works.
   7451   if test yes = "$pipe_works"; then
   7452     break
   7453   else
   7454     lt_cv_sys_global_symbol_pipe=
   7455   fi
   7456 done
   7457 
   7458 fi
   7459 
   7460 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7461   lt_cv_sys_global_symbol_to_cdecl=
   7462 fi
   7463 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7465 $as_echo "failed" >&6; }
   7466 else
   7467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7468 $as_echo "ok" >&6; }
   7469 fi
   7470 
   7471 # Response file support.
   7472 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7473   nm_file_list_spec='@'
   7474 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7475   nm_file_list_spec='@'
   7476 fi
   7477 
   7478 
   7479 
   7480 
   7481 
   7482 
   7483 
   7484 
   7485 
   7486 
   7487 
   7488 
   7489 
   7490 
   7491 
   7492 
   7493 
   7494 
   7495 
   7496 
   7497 
   7498 
   7499 
   7500 
   7501 
   7502 
   7503 
   7504 
   7505 
   7506 
   7507 
   7508 
   7509 
   7510 
   7511 
   7512 
   7513 
   7514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7515 $as_echo_n "checking for sysroot... " >&6; }
   7516 
   7517 # Check whether --with-sysroot was given.
   7518 if test "${with_sysroot+set}" = set; then :
   7519   withval=$with_sysroot;
   7520 else
   7521   with_sysroot=no
   7522 fi
   7523 
   7524 
   7525 lt_sysroot=
   7526 case $with_sysroot in #(
   7527  yes)
   7528    if test yes = "$GCC"; then
   7529      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   7530    fi
   7531    ;; #(
   7532  /*)
   7533    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   7534    ;; #(
   7535  no|'')
   7536    ;; #(
   7537  *)
   7538    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   7539 $as_echo "$with_sysroot" >&6; }
   7540    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7541    ;;
   7542 esac
   7543 
   7544  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7545 $as_echo "${lt_sysroot:-no}" >&6; }
   7546 
   7547 
   7548 
   7549 
   7550 
   7551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   7552 $as_echo_n "checking for a working dd... " >&6; }
   7553 if ${ac_cv_path_lt_DD+:} false; then :
   7554   $as_echo_n "(cached) " >&6
   7555 else
   7556   printf 0123456789abcdef0123456789abcdef >conftest.i
   7557 cat conftest.i conftest.i >conftest2.i
   7558 : ${lt_DD:=$DD}
   7559 if test -z "$lt_DD"; then
   7560   ac_path_lt_DD_found=false
   7561   # Loop through the user's path and test for each of PROGNAME-LIST
   7562   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7563 for as_dir in $PATH
   7564 do
   7565   IFS=$as_save_IFS
   7566   test -z "$as_dir" && as_dir=.
   7567     for ac_prog in dd; do
   7568     for ac_exec_ext in '' $ac_executable_extensions; do
   7569       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
   7570       as_fn_executable_p "$ac_path_lt_DD" || continue
   7571 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7572   cmp -s conftest.i conftest.out \
   7573   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   7574 fi
   7575       $ac_path_lt_DD_found && break 3
   7576     done
   7577   done
   7578   done
   7579 IFS=$as_save_IFS
   7580   if test -z "$ac_cv_path_lt_DD"; then
   7581     :
   7582   fi
   7583 else
   7584   ac_cv_path_lt_DD=$lt_DD
   7585 fi
   7586 
   7587 rm -f conftest.i conftest2.i conftest.out
   7588 fi
   7589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   7590 $as_echo "$ac_cv_path_lt_DD" >&6; }
   7591 
   7592 
   7593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   7594 $as_echo_n "checking how to truncate binary pipes... " >&6; }
   7595 if ${lt_cv_truncate_bin+:} false; then :
   7596   $as_echo_n "(cached) " >&6
   7597 else
   7598   printf 0123456789abcdef0123456789abcdef >conftest.i
   7599 cat conftest.i conftest.i >conftest2.i
   7600 lt_cv_truncate_bin=
   7601 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7602   cmp -s conftest.i conftest.out \
   7603   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   7604 fi
   7605 rm -f conftest.i conftest2.i conftest.out
   7606 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   7607 fi
   7608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   7609 $as_echo "$lt_cv_truncate_bin" >&6; }
   7610 
   7611 
   7612 
   7613 
   7614 
   7615 
   7616 
   7617 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   7618 func_cc_basename ()
   7619 {
   7620     for cc_temp in $*""; do
   7621       case $cc_temp in
   7622         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7623         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7624         \-*) ;;
   7625         *) break;;
   7626       esac
   7627     done
   7628     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7629 }
   7630 
   7631 # Check whether --enable-libtool-lock was given.
   7632 if test "${enable_libtool_lock+set}" = set; then :
   7633   enableval=$enable_libtool_lock;
   7634 fi
   7635 
   7636 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   7637 
   7638 # Some flags need to be propagated to the compiler or linker for good
   7639 # libtool support.
   7640 case $host in
   7641 ia64-*-hpux*)
   7642   # Find out what ABI is being produced by ac_compile, and set mode
   7643   # options accordingly.
   7644   echo 'int i;' > conftest.$ac_ext
   7645   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7646   (eval $ac_compile) 2>&5
   7647   ac_status=$?
   7648   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7649   test $ac_status = 0; }; then
   7650     case `/usr/bin/file conftest.$ac_objext` in
   7651       *ELF-32*)
   7652 	HPUX_IA64_MODE=32
   7653 	;;
   7654       *ELF-64*)
   7655 	HPUX_IA64_MODE=64
   7656 	;;
   7657     esac
   7658   fi
   7659   rm -rf conftest*
   7660   ;;
   7661 *-*-irix6*)
   7662   # Find out what ABI is being produced by ac_compile, and set linker
   7663   # options accordingly.
   7664   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7665   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7666   (eval $ac_compile) 2>&5
   7667   ac_status=$?
   7668   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7669   test $ac_status = 0; }; then
   7670     if test yes = "$lt_cv_prog_gnu_ld"; then
   7671       case `/usr/bin/file conftest.$ac_objext` in
   7672 	*32-bit*)
   7673 	  LD="${LD-ld} -melf32bsmip"
   7674 	  ;;
   7675 	*N32*)
   7676 	  LD="${LD-ld} -melf32bmipn32"
   7677 	  ;;
   7678 	*64-bit*)
   7679 	  LD="${LD-ld} -melf64bmip"
   7680 	;;
   7681       esac
   7682     else
   7683       case `/usr/bin/file conftest.$ac_objext` in
   7684 	*32-bit*)
   7685 	  LD="${LD-ld} -32"
   7686 	  ;;
   7687 	*N32*)
   7688 	  LD="${LD-ld} -n32"
   7689 	  ;;
   7690 	*64-bit*)
   7691 	  LD="${LD-ld} -64"
   7692 	  ;;
   7693       esac
   7694     fi
   7695   fi
   7696   rm -rf conftest*
   7697   ;;
   7698 
   7699 mips64*-*linux*)
   7700   # Find out what ABI is being produced by ac_compile, and set linker
   7701   # options accordingly.
   7702   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7703   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7704   (eval $ac_compile) 2>&5
   7705   ac_status=$?
   7706   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7707   test $ac_status = 0; }; then
   7708     emul=elf
   7709     case `/usr/bin/file conftest.$ac_objext` in
   7710       *32-bit*)
   7711 	emul="${emul}32"
   7712 	;;
   7713       *64-bit*)
   7714 	emul="${emul}64"
   7715 	;;
   7716     esac
   7717     case `/usr/bin/file conftest.$ac_objext` in
   7718       *MSB*)
   7719 	emul="${emul}btsmip"
   7720 	;;
   7721       *LSB*)
   7722 	emul="${emul}ltsmip"
   7723 	;;
   7724     esac
   7725     case `/usr/bin/file conftest.$ac_objext` in
   7726       *N32*)
   7727 	emul="${emul}n32"
   7728 	;;
   7729     esac
   7730     LD="${LD-ld} -m $emul"
   7731   fi
   7732   rm -rf conftest*
   7733   ;;
   7734 
   7735 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7736 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7737   # Find out what ABI is being produced by ac_compile, and set linker
   7738   # options accordingly.  Note that the listed cases only cover the
   7739   # situations where additional linker options are needed (such as when
   7740   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   7741   # vice versa); the common cases where no linker options are needed do
   7742   # not appear in the list.
   7743   echo 'int i;' > conftest.$ac_ext
   7744   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7745   (eval $ac_compile) 2>&5
   7746   ac_status=$?
   7747   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7748   test $ac_status = 0; }; then
   7749     case `/usr/bin/file conftest.o` in
   7750       *32-bit*)
   7751 	case $host in
   7752 	  x86_64-*kfreebsd*-gnu)
   7753 	    LD="${LD-ld} -m elf_i386_fbsd"
   7754 	    ;;
   7755 	  x86_64-*linux*)
   7756 	    case `/usr/bin/file conftest.o` in
   7757 	      *x86-64*)
   7758 		LD="${LD-ld} -m elf32_x86_64"
   7759 		;;
   7760 	      *)
   7761 		LD="${LD-ld} -m elf_i386"
   7762 		;;
   7763 	    esac
   7764 	    ;;
   7765 	  powerpc64le-*linux*)
   7766 	    LD="${LD-ld} -m elf32lppclinux"
   7767 	    ;;
   7768 	  powerpc64-*linux*)
   7769 	    LD="${LD-ld} -m elf32ppclinux"
   7770 	    ;;
   7771 	  s390x-*linux*)
   7772 	    LD="${LD-ld} -m elf_s390"
   7773 	    ;;
   7774 	  sparc64-*linux*)
   7775 	    LD="${LD-ld} -m elf32_sparc"
   7776 	    ;;
   7777 	esac
   7778 	;;
   7779       *64-bit*)
   7780 	case $host in
   7781 	  x86_64-*kfreebsd*-gnu)
   7782 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7783 	    ;;
   7784 	  x86_64-*linux*)
   7785 	    LD="${LD-ld} -m elf_x86_64"
   7786 	    ;;
   7787 	  powerpcle-*linux*)
   7788 	    LD="${LD-ld} -m elf64lppc"
   7789 	    ;;
   7790 	  powerpc-*linux*)
   7791 	    LD="${LD-ld} -m elf64ppc"
   7792 	    ;;
   7793 	  s390*-*linux*|s390*-*tpf*)
   7794 	    LD="${LD-ld} -m elf64_s390"
   7795 	    ;;
   7796 	  sparc*-*linux*)
   7797 	    LD="${LD-ld} -m elf64_sparc"
   7798 	    ;;
   7799 	esac
   7800 	;;
   7801     esac
   7802   fi
   7803   rm -rf conftest*
   7804   ;;
   7805 
   7806 *-*-sco3.2v5*)
   7807   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7808   SAVE_CFLAGS=$CFLAGS
   7809   CFLAGS="$CFLAGS -belf"
   7810   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7811 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   7812 if ${lt_cv_cc_needs_belf+:} false; then :
   7813   $as_echo_n "(cached) " >&6
   7814 else
   7815   ac_ext=c
   7816 ac_cpp='$CPP $CPPFLAGS'
   7817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7820 
   7821      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7822 /* end confdefs.h.  */
   7823 
   7824 int
   7825 main ()
   7826 {
   7827 
   7828   ;
   7829   return 0;
   7830 }
   7831 _ACEOF
   7832 if ac_fn_c_try_link "$LINENO"; then :
   7833   lt_cv_cc_needs_belf=yes
   7834 else
   7835   lt_cv_cc_needs_belf=no
   7836 fi
   7837 rm -f core conftest.err conftest.$ac_objext \
   7838     conftest$ac_exeext conftest.$ac_ext
   7839      ac_ext=c
   7840 ac_cpp='$CPP $CPPFLAGS'
   7841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7844 
   7845 fi
   7846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7847 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   7848   if test yes != "$lt_cv_cc_needs_belf"; then
   7849     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7850     CFLAGS=$SAVE_CFLAGS
   7851   fi
   7852   ;;
   7853 *-*solaris*)
   7854   # Find out what ABI is being produced by ac_compile, and set linker
   7855   # options accordingly.
   7856   echo 'int i;' > conftest.$ac_ext
   7857   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7858   (eval $ac_compile) 2>&5
   7859   ac_status=$?
   7860   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7861   test $ac_status = 0; }; then
   7862     case `/usr/bin/file conftest.o` in
   7863     *64-bit*)
   7864       case $lt_cv_prog_gnu_ld in
   7865       yes*)
   7866         case $host in
   7867         i?86-*-solaris*|x86_64-*-solaris*)
   7868           LD="${LD-ld} -m elf_x86_64"
   7869           ;;
   7870         sparc*-*-solaris*)
   7871           LD="${LD-ld} -m elf64_sparc"
   7872           ;;
   7873         esac
   7874         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7875         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7876           LD=${LD-ld}_sol2
   7877         fi
   7878         ;;
   7879       *)
   7880 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7881 	  LD="${LD-ld} -64"
   7882 	fi
   7883 	;;
   7884       esac
   7885       ;;
   7886     esac
   7887   fi
   7888   rm -rf conftest*
   7889   ;;
   7890 esac
   7891 
   7892 need_locks=$enable_libtool_lock
   7893 
   7894 if test -n "$ac_tool_prefix"; then
   7895   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7896 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7898 $as_echo_n "checking for $ac_word... " >&6; }
   7899 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   7900   $as_echo_n "(cached) " >&6
   7901 else
   7902   if test -n "$MANIFEST_TOOL"; then
   7903   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7904 else
   7905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7906 for as_dir in $PATH
   7907 do
   7908   IFS=$as_save_IFS
   7909   test -z "$as_dir" && as_dir=.
   7910     for ac_exec_ext in '' $ac_executable_extensions; do
   7911   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7912     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7913     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7914     break 2
   7915   fi
   7916 done
   7917   done
   7918 IFS=$as_save_IFS
   7919 
   7920 fi
   7921 fi
   7922 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7923 if test -n "$MANIFEST_TOOL"; then
   7924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7925 $as_echo "$MANIFEST_TOOL" >&6; }
   7926 else
   7927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7928 $as_echo "no" >&6; }
   7929 fi
   7930 
   7931 
   7932 fi
   7933 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7934   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7935   # Extract the first word of "mt", so it can be a program name with args.
   7936 set dummy mt; ac_word=$2
   7937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7938 $as_echo_n "checking for $ac_word... " >&6; }
   7939 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   7940   $as_echo_n "(cached) " >&6
   7941 else
   7942   if test -n "$ac_ct_MANIFEST_TOOL"; then
   7943   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7944 else
   7945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7946 for as_dir in $PATH
   7947 do
   7948   IFS=$as_save_IFS
   7949   test -z "$as_dir" && as_dir=.
   7950     for ac_exec_ext in '' $ac_executable_extensions; do
   7951   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7952     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7953     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7954     break 2
   7955   fi
   7956 done
   7957   done
   7958 IFS=$as_save_IFS
   7959 
   7960 fi
   7961 fi
   7962 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7963 if test -n "$ac_ct_MANIFEST_TOOL"; then
   7964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7965 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   7966 else
   7967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7968 $as_echo "no" >&6; }
   7969 fi
   7970 
   7971   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7972     MANIFEST_TOOL=":"
   7973   else
   7974     case $cross_compiling:$ac_tool_warned in
   7975 yes:)
   7976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7977 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7978 ac_tool_warned=yes ;;
   7979 esac
   7980     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7981   fi
   7982 else
   7983   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7984 fi
   7985 
   7986 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7988 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7989 if ${lt_cv_path_mainfest_tool+:} false; then :
   7990   $as_echo_n "(cached) " >&6
   7991 else
   7992   lt_cv_path_mainfest_tool=no
   7993   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7994   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7995   cat conftest.err >&5
   7996   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7997     lt_cv_path_mainfest_tool=yes
   7998   fi
   7999   rm -f conftest*
   8000 fi
   8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   8002 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   8003 if test yes != "$lt_cv_path_mainfest_tool"; then
   8004   MANIFEST_TOOL=:
   8005 fi
   8006 
   8007 
   8008 
   8009 
   8010 
   8011 
   8012   case $host_os in
   8013     rhapsody* | darwin*)
   8014     if test -n "$ac_tool_prefix"; then
   8015   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   8016 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   8017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8018 $as_echo_n "checking for $ac_word... " >&6; }
   8019 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   8020   $as_echo_n "(cached) " >&6
   8021 else
   8022   if test -n "$DSYMUTIL"; then
   8023   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   8024 else
   8025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8026 for as_dir in $PATH
   8027 do
   8028   IFS=$as_save_IFS
   8029   test -z "$as_dir" && as_dir=.
   8030     for ac_exec_ext in '' $ac_executable_extensions; do
   8031   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8032     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   8033     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8034     break 2
   8035   fi
   8036 done
   8037   done
   8038 IFS=$as_save_IFS
   8039 
   8040 fi
   8041 fi
   8042 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   8043 if test -n "$DSYMUTIL"; then
   8044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   8045 $as_echo "$DSYMUTIL" >&6; }
   8046 else
   8047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8048 $as_echo "no" >&6; }
   8049 fi
   8050 
   8051 
   8052 fi
   8053 if test -z "$ac_cv_prog_DSYMUTIL"; then
   8054   ac_ct_DSYMUTIL=$DSYMUTIL
   8055   # Extract the first word of "dsymutil", so it can be a program name with args.
   8056 set dummy dsymutil; ac_word=$2
   8057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8058 $as_echo_n "checking for $ac_word... " >&6; }
   8059 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   8060   $as_echo_n "(cached) " >&6
   8061 else
   8062   if test -n "$ac_ct_DSYMUTIL"; then
   8063   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   8064 else
   8065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8066 for as_dir in $PATH
   8067 do
   8068   IFS=$as_save_IFS
   8069   test -z "$as_dir" && as_dir=.
   8070     for ac_exec_ext in '' $ac_executable_extensions; do
   8071   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8072     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   8073     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8074     break 2
   8075   fi
   8076 done
   8077   done
   8078 IFS=$as_save_IFS
   8079 
   8080 fi
   8081 fi
   8082 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   8083 if test -n "$ac_ct_DSYMUTIL"; then
   8084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   8085 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   8086 else
   8087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8088 $as_echo "no" >&6; }
   8089 fi
   8090 
   8091   if test "x$ac_ct_DSYMUTIL" = x; then
   8092     DSYMUTIL=":"
   8093   else
   8094     case $cross_compiling:$ac_tool_warned in
   8095 yes:)
   8096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8097 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8098 ac_tool_warned=yes ;;
   8099 esac
   8100     DSYMUTIL=$ac_ct_DSYMUTIL
   8101   fi
   8102 else
   8103   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   8104 fi
   8105 
   8106     if test -n "$ac_tool_prefix"; then
   8107   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   8108 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   8109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8110 $as_echo_n "checking for $ac_word... " >&6; }
   8111 if ${ac_cv_prog_NMEDIT+:} false; then :
   8112   $as_echo_n "(cached) " >&6
   8113 else
   8114   if test -n "$NMEDIT"; then
   8115   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   8116 else
   8117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8118 for as_dir in $PATH
   8119 do
   8120   IFS=$as_save_IFS
   8121   test -z "$as_dir" && as_dir=.
   8122     for ac_exec_ext in '' $ac_executable_extensions; do
   8123   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8124     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   8125     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8126     break 2
   8127   fi
   8128 done
   8129   done
   8130 IFS=$as_save_IFS
   8131 
   8132 fi
   8133 fi
   8134 NMEDIT=$ac_cv_prog_NMEDIT
   8135 if test -n "$NMEDIT"; then
   8136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   8137 $as_echo "$NMEDIT" >&6; }
   8138 else
   8139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8140 $as_echo "no" >&6; }
   8141 fi
   8142 
   8143 
   8144 fi
   8145 if test -z "$ac_cv_prog_NMEDIT"; then
   8146   ac_ct_NMEDIT=$NMEDIT
   8147   # Extract the first word of "nmedit", so it can be a program name with args.
   8148 set dummy nmedit; ac_word=$2
   8149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8150 $as_echo_n "checking for $ac_word... " >&6; }
   8151 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   8152   $as_echo_n "(cached) " >&6
   8153 else
   8154   if test -n "$ac_ct_NMEDIT"; then
   8155   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   8156 else
   8157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8158 for as_dir in $PATH
   8159 do
   8160   IFS=$as_save_IFS
   8161   test -z "$as_dir" && as_dir=.
   8162     for ac_exec_ext in '' $ac_executable_extensions; do
   8163   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8164     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   8165     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8166     break 2
   8167   fi
   8168 done
   8169   done
   8170 IFS=$as_save_IFS
   8171 
   8172 fi
   8173 fi
   8174 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   8175 if test -n "$ac_ct_NMEDIT"; then
   8176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   8177 $as_echo "$ac_ct_NMEDIT" >&6; }
   8178 else
   8179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8180 $as_echo "no" >&6; }
   8181 fi
   8182 
   8183   if test "x$ac_ct_NMEDIT" = x; then
   8184     NMEDIT=":"
   8185   else
   8186     case $cross_compiling:$ac_tool_warned in
   8187 yes:)
   8188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8189 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8190 ac_tool_warned=yes ;;
   8191 esac
   8192     NMEDIT=$ac_ct_NMEDIT
   8193   fi
   8194 else
   8195   NMEDIT="$ac_cv_prog_NMEDIT"
   8196 fi
   8197 
   8198     if test -n "$ac_tool_prefix"; then
   8199   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   8200 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   8201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8202 $as_echo_n "checking for $ac_word... " >&6; }
   8203 if ${ac_cv_prog_LIPO+:} false; then :
   8204   $as_echo_n "(cached) " >&6
   8205 else
   8206   if test -n "$LIPO"; then
   8207   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8208 else
   8209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8210 for as_dir in $PATH
   8211 do
   8212   IFS=$as_save_IFS
   8213   test -z "$as_dir" && as_dir=.
   8214     for ac_exec_ext in '' $ac_executable_extensions; do
   8215   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8216     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   8217     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8218     break 2
   8219   fi
   8220 done
   8221   done
   8222 IFS=$as_save_IFS
   8223 
   8224 fi
   8225 fi
   8226 LIPO=$ac_cv_prog_LIPO
   8227 if test -n "$LIPO"; then
   8228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8229 $as_echo "$LIPO" >&6; }
   8230 else
   8231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8232 $as_echo "no" >&6; }
   8233 fi
   8234 
   8235 
   8236 fi
   8237 if test -z "$ac_cv_prog_LIPO"; then
   8238   ac_ct_LIPO=$LIPO
   8239   # Extract the first word of "lipo", so it can be a program name with args.
   8240 set dummy lipo; ac_word=$2
   8241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8242 $as_echo_n "checking for $ac_word... " >&6; }
   8243 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   8244   $as_echo_n "(cached) " >&6
   8245 else
   8246   if test -n "$ac_ct_LIPO"; then
   8247   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   8248 else
   8249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8250 for as_dir in $PATH
   8251 do
   8252   IFS=$as_save_IFS
   8253   test -z "$as_dir" && as_dir=.
   8254     for ac_exec_ext in '' $ac_executable_extensions; do
   8255   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8256     ac_cv_prog_ac_ct_LIPO="lipo"
   8257     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8258     break 2
   8259   fi
   8260 done
   8261   done
   8262 IFS=$as_save_IFS
   8263 
   8264 fi
   8265 fi
   8266 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   8267 if test -n "$ac_ct_LIPO"; then
   8268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   8269 $as_echo "$ac_ct_LIPO" >&6; }
   8270 else
   8271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8272 $as_echo "no" >&6; }
   8273 fi
   8274 
   8275   if test "x$ac_ct_LIPO" = x; then
   8276     LIPO=":"
   8277   else
   8278     case $cross_compiling:$ac_tool_warned in
   8279 yes:)
   8280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8281 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8282 ac_tool_warned=yes ;;
   8283 esac
   8284     LIPO=$ac_ct_LIPO
   8285   fi
   8286 else
   8287   LIPO="$ac_cv_prog_LIPO"
   8288 fi
   8289 
   8290     if test -n "$ac_tool_prefix"; then
   8291   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   8292 set dummy ${ac_tool_prefix}otool; ac_word=$2
   8293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8294 $as_echo_n "checking for $ac_word... " >&6; }
   8295 if ${ac_cv_prog_OTOOL+:} false; then :
   8296   $as_echo_n "(cached) " >&6
   8297 else
   8298   if test -n "$OTOOL"; then
   8299   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   8300 else
   8301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8302 for as_dir in $PATH
   8303 do
   8304   IFS=$as_save_IFS
   8305   test -z "$as_dir" && as_dir=.
   8306     for ac_exec_ext in '' $ac_executable_extensions; do
   8307   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8308     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   8309     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8310     break 2
   8311   fi
   8312 done
   8313   done
   8314 IFS=$as_save_IFS
   8315 
   8316 fi
   8317 fi
   8318 OTOOL=$ac_cv_prog_OTOOL
   8319 if test -n "$OTOOL"; then
   8320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   8321 $as_echo "$OTOOL" >&6; }
   8322 else
   8323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8324 $as_echo "no" >&6; }
   8325 fi
   8326 
   8327 
   8328 fi
   8329 if test -z "$ac_cv_prog_OTOOL"; then
   8330   ac_ct_OTOOL=$OTOOL
   8331   # Extract the first word of "otool", so it can be a program name with args.
   8332 set dummy otool; ac_word=$2
   8333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8334 $as_echo_n "checking for $ac_word... " >&6; }
   8335 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   8336   $as_echo_n "(cached) " >&6
   8337 else
   8338   if test -n "$ac_ct_OTOOL"; then
   8339   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8340 else
   8341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8342 for as_dir in $PATH
   8343 do
   8344   IFS=$as_save_IFS
   8345   test -z "$as_dir" && as_dir=.
   8346     for ac_exec_ext in '' $ac_executable_extensions; do
   8347   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8348     ac_cv_prog_ac_ct_OTOOL="otool"
   8349     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8350     break 2
   8351   fi
   8352 done
   8353   done
   8354 IFS=$as_save_IFS
   8355 
   8356 fi
   8357 fi
   8358 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8359 if test -n "$ac_ct_OTOOL"; then
   8360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8361 $as_echo "$ac_ct_OTOOL" >&6; }
   8362 else
   8363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8364 $as_echo "no" >&6; }
   8365 fi
   8366 
   8367   if test "x$ac_ct_OTOOL" = x; then
   8368     OTOOL=":"
   8369   else
   8370     case $cross_compiling:$ac_tool_warned in
   8371 yes:)
   8372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8373 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8374 ac_tool_warned=yes ;;
   8375 esac
   8376     OTOOL=$ac_ct_OTOOL
   8377   fi
   8378 else
   8379   OTOOL="$ac_cv_prog_OTOOL"
   8380 fi
   8381 
   8382     if test -n "$ac_tool_prefix"; then
   8383   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8384 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8386 $as_echo_n "checking for $ac_word... " >&6; }
   8387 if ${ac_cv_prog_OTOOL64+:} false; then :
   8388   $as_echo_n "(cached) " >&6
   8389 else
   8390   if test -n "$OTOOL64"; then
   8391   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8392 else
   8393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8394 for as_dir in $PATH
   8395 do
   8396   IFS=$as_save_IFS
   8397   test -z "$as_dir" && as_dir=.
   8398     for ac_exec_ext in '' $ac_executable_extensions; do
   8399   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8400     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8401     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8402     break 2
   8403   fi
   8404 done
   8405   done
   8406 IFS=$as_save_IFS
   8407 
   8408 fi
   8409 fi
   8410 OTOOL64=$ac_cv_prog_OTOOL64
   8411 if test -n "$OTOOL64"; then
   8412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8413 $as_echo "$OTOOL64" >&6; }
   8414 else
   8415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8416 $as_echo "no" >&6; }
   8417 fi
   8418 
   8419 
   8420 fi
   8421 if test -z "$ac_cv_prog_OTOOL64"; then
   8422   ac_ct_OTOOL64=$OTOOL64
   8423   # Extract the first word of "otool64", so it can be a program name with args.
   8424 set dummy otool64; ac_word=$2
   8425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8426 $as_echo_n "checking for $ac_word... " >&6; }
   8427 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   8428   $as_echo_n "(cached) " >&6
   8429 else
   8430   if test -n "$ac_ct_OTOOL64"; then
   8431   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8432 else
   8433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8434 for as_dir in $PATH
   8435 do
   8436   IFS=$as_save_IFS
   8437   test -z "$as_dir" && as_dir=.
   8438     for ac_exec_ext in '' $ac_executable_extensions; do
   8439   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8440     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8441     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8442     break 2
   8443   fi
   8444 done
   8445   done
   8446 IFS=$as_save_IFS
   8447 
   8448 fi
   8449 fi
   8450 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8451 if test -n "$ac_ct_OTOOL64"; then
   8452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8453 $as_echo "$ac_ct_OTOOL64" >&6; }
   8454 else
   8455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8456 $as_echo "no" >&6; }
   8457 fi
   8458 
   8459   if test "x$ac_ct_OTOOL64" = x; then
   8460     OTOOL64=":"
   8461   else
   8462     case $cross_compiling:$ac_tool_warned in
   8463 yes:)
   8464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8465 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8466 ac_tool_warned=yes ;;
   8467 esac
   8468     OTOOL64=$ac_ct_OTOOL64
   8469   fi
   8470 else
   8471   OTOOL64="$ac_cv_prog_OTOOL64"
   8472 fi
   8473 
   8474 
   8475 
   8476 
   8477 
   8478 
   8479 
   8480 
   8481 
   8482 
   8483 
   8484 
   8485 
   8486 
   8487 
   8488 
   8489 
   8490 
   8491 
   8492 
   8493 
   8494 
   8495 
   8496 
   8497 
   8498 
   8499 
   8500     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8501 $as_echo_n "checking for -single_module linker flag... " >&6; }
   8502 if ${lt_cv_apple_cc_single_mod+:} false; then :
   8503   $as_echo_n "(cached) " >&6
   8504 else
   8505   lt_cv_apple_cc_single_mod=no
   8506       if test -z "$LT_MULTI_MODULE"; then
   8507 	# By default we will add the -single_module flag. You can override
   8508 	# by either setting the environment variable LT_MULTI_MODULE
   8509 	# non-empty at configure time, or by adding -multi_module to the
   8510 	# link flags.
   8511 	rm -rf libconftest.dylib*
   8512 	echo "int foo(void){return 1;}" > conftest.c
   8513 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8514 -dynamiclib -Wl,-single_module conftest.c" >&5
   8515 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8516 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8517         _lt_result=$?
   8518 	# If there is a non-empty error log, and "single_module"
   8519 	# appears in it, assume the flag caused a linker warning
   8520         if test -s conftest.err && $GREP single_module conftest.err; then
   8521 	  cat conftest.err >&5
   8522 	# Otherwise, if the output was created with a 0 exit code from
   8523 	# the compiler, it worked.
   8524 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   8525 	  lt_cv_apple_cc_single_mod=yes
   8526 	else
   8527 	  cat conftest.err >&5
   8528 	fi
   8529 	rm -rf libconftest.dylib*
   8530 	rm -f conftest.*
   8531       fi
   8532 fi
   8533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8534 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   8535 
   8536     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8537 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   8538 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   8539   $as_echo_n "(cached) " >&6
   8540 else
   8541   lt_cv_ld_exported_symbols_list=no
   8542       save_LDFLAGS=$LDFLAGS
   8543       echo "_main" > conftest.sym
   8544       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8545       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8546 /* end confdefs.h.  */
   8547 
   8548 int
   8549 main ()
   8550 {
   8551 
   8552   ;
   8553   return 0;
   8554 }
   8555 _ACEOF
   8556 if ac_fn_c_try_link "$LINENO"; then :
   8557   lt_cv_ld_exported_symbols_list=yes
   8558 else
   8559   lt_cv_ld_exported_symbols_list=no
   8560 fi
   8561 rm -f core conftest.err conftest.$ac_objext \
   8562     conftest$ac_exeext conftest.$ac_ext
   8563 	LDFLAGS=$save_LDFLAGS
   8564 
   8565 fi
   8566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8567 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   8568 
   8569     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8570 $as_echo_n "checking for -force_load linker flag... " >&6; }
   8571 if ${lt_cv_ld_force_load+:} false; then :
   8572   $as_echo_n "(cached) " >&6
   8573 else
   8574   lt_cv_ld_force_load=no
   8575       cat > conftest.c << _LT_EOF
   8576 int forced_loaded() { return 2;}
   8577 _LT_EOF
   8578       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8579       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8580       echo "$AR cru libconftest.a conftest.o" >&5
   8581       $AR cru libconftest.a conftest.o 2>&5
   8582       echo "$RANLIB libconftest.a" >&5
   8583       $RANLIB libconftest.a 2>&5
   8584       cat > conftest.c << _LT_EOF
   8585 int main() { return 0;}
   8586 _LT_EOF
   8587       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8588       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8589       _lt_result=$?
   8590       if test -s conftest.err && $GREP force_load conftest.err; then
   8591 	cat conftest.err >&5
   8592       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   8593 	lt_cv_ld_force_load=yes
   8594       else
   8595 	cat conftest.err >&5
   8596       fi
   8597         rm -f conftest.err libconftest.a conftest conftest.c
   8598         rm -rf conftest.dSYM
   8599 
   8600 fi
   8601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8602 $as_echo "$lt_cv_ld_force_load" >&6; }
   8603     case $host_os in
   8604     rhapsody* | darwin1.[012])
   8605       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   8606     darwin1.*)
   8607       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8608     darwin*) # darwin 5.x on
   8609       # if running on 10.5 or later, the deployment target defaults
   8610       # to the OS version, if on x86, and 10.4, the deployment
   8611       # target defaults to 10.4. Don't you love it?
   8612       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   8613 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   8614 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   8615 	10.[012][,.]*)
   8616 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8617 	10.*)
   8618 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   8619       esac
   8620     ;;
   8621   esac
   8622     if test yes = "$lt_cv_apple_cc_single_mod"; then
   8623       _lt_dar_single_mod='$single_module'
   8624     fi
   8625     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   8626       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   8627     else
   8628       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   8629     fi
   8630     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   8631       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8632     else
   8633       _lt_dsymutil=
   8634     fi
   8635     ;;
   8636   esac
   8637 
   8638 # func_munge_path_list VARIABLE PATH
   8639 # -----------------------------------
   8640 # VARIABLE is name of variable containing _space_ separated list of
   8641 # directories to be munged by the contents of PATH, which is string
   8642 # having a format:
   8643 # "DIR[:DIR]:"
   8644 #       string "DIR[ DIR]" will be prepended to VARIABLE
   8645 # ":DIR[:DIR]"
   8646 #       string "DIR[ DIR]" will be appended to VARIABLE
   8647 # "DIRP[:DIRP]::[DIRA:]DIRA"
   8648 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   8649 #       "DIRA[ DIRA]" will be appended to VARIABLE
   8650 # "DIR[:DIR]"
   8651 #       VARIABLE will be replaced by "DIR[ DIR]"
   8652 func_munge_path_list ()
   8653 {
   8654     case x$2 in
   8655     x)
   8656         ;;
   8657     *:)
   8658         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   8659         ;;
   8660     x:*)
   8661         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   8662         ;;
   8663     *::*)
   8664         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   8665         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   8666         ;;
   8667     *)
   8668         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   8669         ;;
   8670     esac
   8671 }
   8672 
   8673 for ac_header in dlfcn.h
   8674 do :
   8675   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8676 "
   8677 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   8678   cat >>confdefs.h <<_ACEOF
   8679 #define HAVE_DLFCN_H 1
   8680 _ACEOF
   8681 
   8682 fi
   8683 
   8684 done
   8685 
   8686 
   8687 
   8688 
   8689 
   8690 # Set options
   8691 # Check whether --enable-static was given.
   8692 if test "${enable_static+set}" = set; then :
   8693   enableval=$enable_static; p=${PACKAGE-default}
   8694     case $enableval in
   8695     yes) enable_static=yes ;;
   8696     no) enable_static=no ;;
   8697     *)
   8698      enable_static=no
   8699       # Look at the argument we got.  We use all the common list separators.
   8700       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8701       for pkg in $enableval; do
   8702 	IFS=$lt_save_ifs
   8703 	if test "X$pkg" = "X$p"; then
   8704 	  enable_static=yes
   8705 	fi
   8706       done
   8707       IFS=$lt_save_ifs
   8708       ;;
   8709     esac
   8710 else
   8711   enable_static=no
   8712 fi
   8713 
   8714 
   8715 
   8716 
   8717 
   8718 
   8719 
   8720 enable_win32_dll=yes
   8721 
   8722 case $host in
   8723 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
   8724   if test -n "$ac_tool_prefix"; then
   8725   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
   8726 set dummy ${ac_tool_prefix}as; ac_word=$2
   8727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8728 $as_echo_n "checking for $ac_word... " >&6; }
   8729 if ${ac_cv_prog_AS+:} false; then :
   8730   $as_echo_n "(cached) " >&6
   8731 else
   8732   if test -n "$AS"; then
   8733   ac_cv_prog_AS="$AS" # Let the user override the test.
   8734 else
   8735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8736 for as_dir in $PATH
   8737 do
   8738   IFS=$as_save_IFS
   8739   test -z "$as_dir" && as_dir=.
   8740     for ac_exec_ext in '' $ac_executable_extensions; do
   8741   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8742     ac_cv_prog_AS="${ac_tool_prefix}as"
   8743     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8744     break 2
   8745   fi
   8746 done
   8747   done
   8748 IFS=$as_save_IFS
   8749 
   8750 fi
   8751 fi
   8752 AS=$ac_cv_prog_AS
   8753 if test -n "$AS"; then
   8754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
   8755 $as_echo "$AS" >&6; }
   8756 else
   8757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8758 $as_echo "no" >&6; }
   8759 fi
   8760 
   8761 
   8762 fi
   8763 if test -z "$ac_cv_prog_AS"; then
   8764   ac_ct_AS=$AS
   8765   # Extract the first word of "as", so it can be a program name with args.
   8766 set dummy as; ac_word=$2
   8767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8768 $as_echo_n "checking for $ac_word... " >&6; }
   8769 if ${ac_cv_prog_ac_ct_AS+:} false; then :
   8770   $as_echo_n "(cached) " >&6
   8771 else
   8772   if test -n "$ac_ct_AS"; then
   8773   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
   8774 else
   8775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8776 for as_dir in $PATH
   8777 do
   8778   IFS=$as_save_IFS
   8779   test -z "$as_dir" && as_dir=.
   8780     for ac_exec_ext in '' $ac_executable_extensions; do
   8781   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8782     ac_cv_prog_ac_ct_AS="as"
   8783     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8784     break 2
   8785   fi
   8786 done
   8787   done
   8788 IFS=$as_save_IFS
   8789 
   8790 fi
   8791 fi
   8792 ac_ct_AS=$ac_cv_prog_ac_ct_AS
   8793 if test -n "$ac_ct_AS"; then
   8794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
   8795 $as_echo "$ac_ct_AS" >&6; }
   8796 else
   8797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8798 $as_echo "no" >&6; }
   8799 fi
   8800 
   8801   if test "x$ac_ct_AS" = x; then
   8802     AS="false"
   8803   else
   8804     case $cross_compiling:$ac_tool_warned in
   8805 yes:)
   8806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8807 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8808 ac_tool_warned=yes ;;
   8809 esac
   8810     AS=$ac_ct_AS
   8811   fi
   8812 else
   8813   AS="$ac_cv_prog_AS"
   8814 fi
   8815 
   8816   if test -n "$ac_tool_prefix"; then
   8817   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   8818 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   8819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8820 $as_echo_n "checking for $ac_word... " >&6; }
   8821 if ${ac_cv_prog_DLLTOOL+:} false; then :
   8822   $as_echo_n "(cached) " >&6
   8823 else
   8824   if test -n "$DLLTOOL"; then
   8825   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   8826 else
   8827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8828 for as_dir in $PATH
   8829 do
   8830   IFS=$as_save_IFS
   8831   test -z "$as_dir" && as_dir=.
   8832     for ac_exec_ext in '' $ac_executable_extensions; do
   8833   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8834     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   8835     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8836     break 2
   8837   fi
   8838 done
   8839   done
   8840 IFS=$as_save_IFS
   8841 
   8842 fi
   8843 fi
   8844 DLLTOOL=$ac_cv_prog_DLLTOOL
   8845 if test -n "$DLLTOOL"; then
   8846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   8847 $as_echo "$DLLTOOL" >&6; }
   8848 else
   8849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8850 $as_echo "no" >&6; }
   8851 fi
   8852 
   8853 
   8854 fi
   8855 if test -z "$ac_cv_prog_DLLTOOL"; then
   8856   ac_ct_DLLTOOL=$DLLTOOL
   8857   # Extract the first word of "dlltool", so it can be a program name with args.
   8858 set dummy dlltool; ac_word=$2
   8859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8860 $as_echo_n "checking for $ac_word... " >&6; }
   8861 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   8862   $as_echo_n "(cached) " >&6
   8863 else
   8864   if test -n "$ac_ct_DLLTOOL"; then
   8865   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   8866 else
   8867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8868 for as_dir in $PATH
   8869 do
   8870   IFS=$as_save_IFS
   8871   test -z "$as_dir" && as_dir=.
   8872     for ac_exec_ext in '' $ac_executable_extensions; do
   8873   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8874     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   8875     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8876     break 2
   8877   fi
   8878 done
   8879   done
   8880 IFS=$as_save_IFS
   8881 
   8882 fi
   8883 fi
   8884 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   8885 if test -n "$ac_ct_DLLTOOL"; then
   8886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   8887 $as_echo "$ac_ct_DLLTOOL" >&6; }
   8888 else
   8889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8890 $as_echo "no" >&6; }
   8891 fi
   8892 
   8893   if test "x$ac_ct_DLLTOOL" = x; then
   8894     DLLTOOL="false"
   8895   else
   8896     case $cross_compiling:$ac_tool_warned in
   8897 yes:)
   8898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8899 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8900 ac_tool_warned=yes ;;
   8901 esac
   8902     DLLTOOL=$ac_ct_DLLTOOL
   8903   fi
   8904 else
   8905   DLLTOOL="$ac_cv_prog_DLLTOOL"
   8906 fi
   8907 
   8908   if test -n "$ac_tool_prefix"; then
   8909   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   8910 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   8911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8912 $as_echo_n "checking for $ac_word... " >&6; }
   8913 if ${ac_cv_prog_OBJDUMP+:} false; then :
   8914   $as_echo_n "(cached) " >&6
   8915 else
   8916   if test -n "$OBJDUMP"; then
   8917   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   8918 else
   8919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8920 for as_dir in $PATH
   8921 do
   8922   IFS=$as_save_IFS
   8923   test -z "$as_dir" && as_dir=.
   8924     for ac_exec_ext in '' $ac_executable_extensions; do
   8925   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8926     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   8927     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8928     break 2
   8929   fi
   8930 done
   8931   done
   8932 IFS=$as_save_IFS
   8933 
   8934 fi
   8935 fi
   8936 OBJDUMP=$ac_cv_prog_OBJDUMP
   8937 if test -n "$OBJDUMP"; then
   8938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   8939 $as_echo "$OBJDUMP" >&6; }
   8940 else
   8941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8942 $as_echo "no" >&6; }
   8943 fi
   8944 
   8945 
   8946 fi
   8947 if test -z "$ac_cv_prog_OBJDUMP"; then
   8948   ac_ct_OBJDUMP=$OBJDUMP
   8949   # Extract the first word of "objdump", so it can be a program name with args.
   8950 set dummy objdump; ac_word=$2
   8951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8952 $as_echo_n "checking for $ac_word... " >&6; }
   8953 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   8954   $as_echo_n "(cached) " >&6
   8955 else
   8956   if test -n "$ac_ct_OBJDUMP"; then
   8957   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   8958 else
   8959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8960 for as_dir in $PATH
   8961 do
   8962   IFS=$as_save_IFS
   8963   test -z "$as_dir" && as_dir=.
   8964     for ac_exec_ext in '' $ac_executable_extensions; do
   8965   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8966     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   8967     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8968     break 2
   8969   fi
   8970 done
   8971   done
   8972 IFS=$as_save_IFS
   8973 
   8974 fi
   8975 fi
   8976 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   8977 if test -n "$ac_ct_OBJDUMP"; then
   8978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   8979 $as_echo "$ac_ct_OBJDUMP" >&6; }
   8980 else
   8981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8982 $as_echo "no" >&6; }
   8983 fi
   8984 
   8985   if test "x$ac_ct_OBJDUMP" = x; then
   8986     OBJDUMP="false"
   8987   else
   8988     case $cross_compiling:$ac_tool_warned in
   8989 yes:)
   8990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8991 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8992 ac_tool_warned=yes ;;
   8993 esac
   8994     OBJDUMP=$ac_ct_OBJDUMP
   8995   fi
   8996 else
   8997   OBJDUMP="$ac_cv_prog_OBJDUMP"
   8998 fi
   8999 
   9000   ;;
   9001 esac
   9002 
   9003 test -z "$AS" && AS=as
   9004 
   9005 
   9006 
   9007 
   9008 
   9009 test -z "$DLLTOOL" && DLLTOOL=dlltool
   9010 
   9011 
   9012 
   9013 
   9014 
   9015 test -z "$OBJDUMP" && OBJDUMP=objdump
   9016 
   9017 
   9018 
   9019 
   9020 
   9021 
   9022 
   9023         enable_dlopen=no
   9024 
   9025 
   9026 
   9027             # Check whether --enable-shared was given.
   9028 if test "${enable_shared+set}" = set; then :
   9029   enableval=$enable_shared; p=${PACKAGE-default}
   9030     case $enableval in
   9031     yes) enable_shared=yes ;;
   9032     no) enable_shared=no ;;
   9033     *)
   9034       enable_shared=no
   9035       # Look at the argument we got.  We use all the common list separators.
   9036       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9037       for pkg in $enableval; do
   9038 	IFS=$lt_save_ifs
   9039 	if test "X$pkg" = "X$p"; then
   9040 	  enable_shared=yes
   9041 	fi
   9042       done
   9043       IFS=$lt_save_ifs
   9044       ;;
   9045     esac
   9046 else
   9047   enable_shared=yes
   9048 fi
   9049 
   9050 
   9051 
   9052 
   9053 
   9054 
   9055 
   9056 
   9057 
   9058 
   9059 
   9060 # Check whether --with-pic was given.
   9061 if test "${with_pic+set}" = set; then :
   9062   withval=$with_pic; lt_p=${PACKAGE-default}
   9063     case $withval in
   9064     yes|no) pic_mode=$withval ;;
   9065     *)
   9066       pic_mode=default
   9067       # Look at the argument we got.  We use all the common list separators.
   9068       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9069       for lt_pkg in $withval; do
   9070 	IFS=$lt_save_ifs
   9071 	if test "X$lt_pkg" = "X$lt_p"; then
   9072 	  pic_mode=yes
   9073 	fi
   9074       done
   9075       IFS=$lt_save_ifs
   9076       ;;
   9077     esac
   9078 else
   9079   pic_mode=default
   9080 fi
   9081 
   9082 
   9083 
   9084 
   9085 
   9086 
   9087 
   9088 
   9089   # Check whether --enable-fast-install was given.
   9090 if test "${enable_fast_install+set}" = set; then :
   9091   enableval=$enable_fast_install; p=${PACKAGE-default}
   9092     case $enableval in
   9093     yes) enable_fast_install=yes ;;
   9094     no) enable_fast_install=no ;;
   9095     *)
   9096       enable_fast_install=no
   9097       # Look at the argument we got.  We use all the common list separators.
   9098       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9099       for pkg in $enableval; do
   9100 	IFS=$lt_save_ifs
   9101 	if test "X$pkg" = "X$p"; then
   9102 	  enable_fast_install=yes
   9103 	fi
   9104       done
   9105       IFS=$lt_save_ifs
   9106       ;;
   9107     esac
   9108 else
   9109   enable_fast_install=yes
   9110 fi
   9111 
   9112 
   9113 
   9114 
   9115 
   9116 
   9117 
   9118 
   9119   shared_archive_member_spec=
   9120 case $host,$enable_shared in
   9121 power*-*-aix[5-9]*,yes)
   9122   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   9123 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
   9124 
   9125 # Check whether --with-aix-soname was given.
   9126 if test "${with_aix_soname+set}" = set; then :
   9127   withval=$with_aix_soname; case $withval in
   9128     aix|svr4|both)
   9129       ;;
   9130     *)
   9131       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   9132       ;;
   9133     esac
   9134     lt_cv_with_aix_soname=$with_aix_soname
   9135 else
   9136   if ${lt_cv_with_aix_soname+:} false; then :
   9137   $as_echo_n "(cached) " >&6
   9138 else
   9139   lt_cv_with_aix_soname=aix
   9140 fi
   9141 
   9142     with_aix_soname=$lt_cv_with_aix_soname
   9143 fi
   9144 
   9145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   9146 $as_echo "$with_aix_soname" >&6; }
   9147   if test aix != "$with_aix_soname"; then
   9148     # For the AIX way of multilib, we name the shared archive member
   9149     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   9150     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   9151     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   9152     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   9153     if test 64 = "${OBJECT_MODE-32}"; then
   9154       shared_archive_member_spec=shr_64
   9155     else
   9156       shared_archive_member_spec=shr
   9157     fi
   9158   fi
   9159   ;;
   9160 *)
   9161   with_aix_soname=aix
   9162   ;;
   9163 esac
   9164 
   9165 
   9166 
   9167 
   9168 
   9169 
   9170 
   9171 
   9172 
   9173 
   9174 # This can be used to rebuild libtool when needed
   9175 LIBTOOL_DEPS=$ltmain
   9176 
   9177 # Always use our own libtool.
   9178 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   9179 
   9180 
   9181 
   9182 
   9183 
   9184 
   9185 
   9186 
   9187 
   9188 
   9189 
   9190 
   9191 
   9192 
   9193 
   9194 
   9195 
   9196 
   9197 
   9198 
   9199 
   9200 
   9201 
   9202 
   9203 
   9204 
   9205 
   9206 
   9207 
   9208 
   9209 test -z "$LN_S" && LN_S="ln -s"
   9210 
   9211 
   9212 
   9213 
   9214 
   9215 
   9216 
   9217 
   9218 
   9219 
   9220 
   9221 
   9222 
   9223 
   9224 if test -n "${ZSH_VERSION+set}"; then
   9225    setopt NO_GLOB_SUBST
   9226 fi
   9227 
   9228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   9229 $as_echo_n "checking for objdir... " >&6; }
   9230 if ${lt_cv_objdir+:} false; then :
   9231   $as_echo_n "(cached) " >&6
   9232 else
   9233   rm -f .libs 2>/dev/null
   9234 mkdir .libs 2>/dev/null
   9235 if test -d .libs; then
   9236   lt_cv_objdir=.libs
   9237 else
   9238   # MS-DOS does not allow filenames that begin with a dot.
   9239   lt_cv_objdir=_libs
   9240 fi
   9241 rmdir .libs 2>/dev/null
   9242 fi
   9243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   9244 $as_echo "$lt_cv_objdir" >&6; }
   9245 objdir=$lt_cv_objdir
   9246 
   9247 
   9248 
   9249 
   9250 
   9251 cat >>confdefs.h <<_ACEOF
   9252 #define LT_OBJDIR "$lt_cv_objdir/"
   9253 _ACEOF
   9254 
   9255 
   9256 
   9257 
   9258 case $host_os in
   9259 aix3*)
   9260   # AIX sometimes has problems with the GCC collect2 program.  For some
   9261   # reason, if we set the COLLECT_NAMES environment variable, the problems
   9262   # vanish in a puff of smoke.
   9263   if test set != "${COLLECT_NAMES+set}"; then
   9264     COLLECT_NAMES=
   9265     export COLLECT_NAMES
   9266   fi
   9267   ;;
   9268 esac
   9269 
   9270 # Global variables:
   9271 ofile=libtool
   9272 can_build_shared=yes
   9273 
   9274 # All known linkers require a '.a' archive for static linking (except MSVC,
   9275 # which needs '.lib').
   9276 libext=a
   9277 
   9278 with_gnu_ld=$lt_cv_prog_gnu_ld
   9279 
   9280 old_CC=$CC
   9281 old_CFLAGS=$CFLAGS
   9282 
   9283 # Set sane defaults for various variables
   9284 test -z "$CC" && CC=cc
   9285 test -z "$LTCC" && LTCC=$CC
   9286 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   9287 test -z "$LD" && LD=ld
   9288 test -z "$ac_objext" && ac_objext=o
   9289 
   9290 func_cc_basename $compiler
   9291 cc_basename=$func_cc_basename_result
   9292 
   9293 
   9294 # Only perform the check for file, if the check method requires it
   9295 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   9296 case $deplibs_check_method in
   9297 file_magic*)
   9298   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   9299     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   9300 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   9301 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   9302   $as_echo_n "(cached) " >&6
   9303 else
   9304   case $MAGIC_CMD in
   9305 [\\/*] |  ?:[\\/]*)
   9306   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9307   ;;
   9308 *)
   9309   lt_save_MAGIC_CMD=$MAGIC_CMD
   9310   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9311   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9312   for ac_dir in $ac_dummy; do
   9313     IFS=$lt_save_ifs
   9314     test -z "$ac_dir" && ac_dir=.
   9315     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   9316       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   9317       if test -n "$file_magic_test_file"; then
   9318 	case $deplibs_check_method in
   9319 	"file_magic "*)
   9320 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9321 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9322 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9323 	    $EGREP "$file_magic_regex" > /dev/null; then
   9324 	    :
   9325 	  else
   9326 	    cat <<_LT_EOF 1>&2
   9327 
   9328 *** Warning: the command libtool uses to detect shared libraries,
   9329 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9330 *** The result is that libtool may fail to recognize shared libraries
   9331 *** as such.  This will affect the creation of libtool libraries that
   9332 *** depend on shared libraries, but programs linked with such libtool
   9333 *** libraries will work regardless of this problem.  Nevertheless, you
   9334 *** may want to report the problem to your system manager and/or to
   9335 *** bug-libtool (at] gnu.org
   9336 
   9337 _LT_EOF
   9338 	  fi ;;
   9339 	esac
   9340       fi
   9341       break
   9342     fi
   9343   done
   9344   IFS=$lt_save_ifs
   9345   MAGIC_CMD=$lt_save_MAGIC_CMD
   9346   ;;
   9347 esac
   9348 fi
   9349 
   9350 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9351 if test -n "$MAGIC_CMD"; then
   9352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9353 $as_echo "$MAGIC_CMD" >&6; }
   9354 else
   9355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9356 $as_echo "no" >&6; }
   9357 fi
   9358 
   9359 
   9360 
   9361 
   9362 
   9363 if test -z "$lt_cv_path_MAGIC_CMD"; then
   9364   if test -n "$ac_tool_prefix"; then
   9365     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   9366 $as_echo_n "checking for file... " >&6; }
   9367 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   9368   $as_echo_n "(cached) " >&6
   9369 else
   9370   case $MAGIC_CMD in
   9371 [\\/*] |  ?:[\\/]*)
   9372   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9373   ;;
   9374 *)
   9375   lt_save_MAGIC_CMD=$MAGIC_CMD
   9376   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9377   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9378   for ac_dir in $ac_dummy; do
   9379     IFS=$lt_save_ifs
   9380     test -z "$ac_dir" && ac_dir=.
   9381     if test -f "$ac_dir/file"; then
   9382       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   9383       if test -n "$file_magic_test_file"; then
   9384 	case $deplibs_check_method in
   9385 	"file_magic "*)
   9386 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9387 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9388 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9389 	    $EGREP "$file_magic_regex" > /dev/null; then
   9390 	    :
   9391 	  else
   9392 	    cat <<_LT_EOF 1>&2
   9393 
   9394 *** Warning: the command libtool uses to detect shared libraries,
   9395 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9396 *** The result is that libtool may fail to recognize shared libraries
   9397 *** as such.  This will affect the creation of libtool libraries that
   9398 *** depend on shared libraries, but programs linked with such libtool
   9399 *** libraries will work regardless of this problem.  Nevertheless, you
   9400 *** may want to report the problem to your system manager and/or to
   9401 *** bug-libtool (at] gnu.org
   9402 
   9403 _LT_EOF
   9404 	  fi ;;
   9405 	esac
   9406       fi
   9407       break
   9408     fi
   9409   done
   9410   IFS=$lt_save_ifs
   9411   MAGIC_CMD=$lt_save_MAGIC_CMD
   9412   ;;
   9413 esac
   9414 fi
   9415 
   9416 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9417 if test -n "$MAGIC_CMD"; then
   9418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9419 $as_echo "$MAGIC_CMD" >&6; }
   9420 else
   9421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9422 $as_echo "no" >&6; }
   9423 fi
   9424 
   9425 
   9426   else
   9427     MAGIC_CMD=:
   9428   fi
   9429 fi
   9430 
   9431   fi
   9432   ;;
   9433 esac
   9434 
   9435 # Use C for the default configuration in the libtool script
   9436 
   9437 lt_save_CC=$CC
   9438 ac_ext=c
   9439 ac_cpp='$CPP $CPPFLAGS'
   9440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9443 
   9444 
   9445 # Source file extension for C test sources.
   9446 ac_ext=c
   9447 
   9448 # Object file extension for compiled C test sources.
   9449 objext=o
   9450 objext=$objext
   9451 
   9452 # Code to be used in simple compile tests
   9453 lt_simple_compile_test_code="int some_variable = 0;"
   9454 
   9455 # Code to be used in simple link tests
   9456 lt_simple_link_test_code='int main(){return(0);}'
   9457 
   9458 
   9459 
   9460 
   9461 
   9462 
   9463 
   9464 # If no C compiler was specified, use CC.
   9465 LTCC=${LTCC-"$CC"}
   9466 
   9467 # If no C compiler flags were specified, use CFLAGS.
   9468 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   9469 
   9470 # Allow CC to be a program name with arguments.
   9471 compiler=$CC
   9472 
   9473 # Save the default compiler, since it gets overwritten when the other
   9474 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   9475 compiler_DEFAULT=$CC
   9476 
   9477 # save warnings/boilerplate of simple test code
   9478 ac_outfile=conftest.$ac_objext
   9479 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   9480 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9481 _lt_compiler_boilerplate=`cat conftest.err`
   9482 $RM conftest*
   9483 
   9484 ac_outfile=conftest.$ac_objext
   9485 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   9486 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9487 _lt_linker_boilerplate=`cat conftest.err`
   9488 $RM -r conftest*
   9489 
   9490 
   9491 ## CAVEAT EMPTOR:
   9492 ## There is no encapsulation within the following macros, do not change
   9493 ## the running order or otherwise move them around unless you know exactly
   9494 ## what you are doing...
   9495 if test -n "$compiler"; then
   9496 
   9497 lt_prog_compiler_no_builtin_flag=
   9498 
   9499 if test yes = "$GCC"; then
   9500   case $cc_basename in
   9501   nvcc*)
   9502     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   9503   *)
   9504     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   9505   esac
   9506 
   9507   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   9508 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   9509 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   9510   $as_echo_n "(cached) " >&6
   9511 else
   9512   lt_cv_prog_compiler_rtti_exceptions=no
   9513    ac_outfile=conftest.$ac_objext
   9514    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9515    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   9516    # Insert the option either (1) after the last *FLAGS variable, or
   9517    # (2) before a word containing "conftest.", or (3) at the end.
   9518    # Note that $ac_compile itself does not contain backslashes and begins
   9519    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9520    # The option is referenced via a variable to avoid confusing sed.
   9521    lt_compile=`echo "$ac_compile" | $SED \
   9522    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9523    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9524    -e 's:$: $lt_compiler_flag:'`
   9525    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9526    (eval "$lt_compile" 2>conftest.err)
   9527    ac_status=$?
   9528    cat conftest.err >&5
   9529    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9530    if (exit $ac_status) && test -s "$ac_outfile"; then
   9531      # The compiler can only warn and ignore the option if not recognized
   9532      # So say no if there are warnings other than the usual output.
   9533      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9534      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9535      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9536        lt_cv_prog_compiler_rtti_exceptions=yes
   9537      fi
   9538    fi
   9539    $RM conftest*
   9540 
   9541 fi
   9542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   9543 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   9544 
   9545 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   9546     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   9547 else
   9548     :
   9549 fi
   9550 
   9551 fi
   9552 
   9553 
   9554 
   9555 
   9556 
   9557 
   9558   lt_prog_compiler_wl=
   9559 lt_prog_compiler_pic=
   9560 lt_prog_compiler_static=
   9561 
   9562 
   9563   if test yes = "$GCC"; then
   9564     lt_prog_compiler_wl='-Wl,'
   9565     lt_prog_compiler_static='-static'
   9566 
   9567     case $host_os in
   9568       aix*)
   9569       # All AIX code is PIC.
   9570       if test ia64 = "$host_cpu"; then
   9571 	# AIX 5 now supports IA64 processor
   9572 	lt_prog_compiler_static='-Bstatic'
   9573       fi
   9574       lt_prog_compiler_pic='-fPIC'
   9575       ;;
   9576 
   9577     amigaos*)
   9578       case $host_cpu in
   9579       powerpc)
   9580             # see comment about AmigaOS4 .so support
   9581             lt_prog_compiler_pic='-fPIC'
   9582         ;;
   9583       m68k)
   9584             # FIXME: we need at least 68020 code to build shared libraries, but
   9585             # adding the '-m68020' flag to GCC prevents building anything better,
   9586             # like '-m68040'.
   9587             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9588         ;;
   9589       esac
   9590       ;;
   9591 
   9592     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9593       # PIC is the default for these OSes.
   9594       ;;
   9595 
   9596     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9597       # This hack is so that the source file can tell whether it is being
   9598       # built for inclusion in a dll (and should export symbols for example).
   9599       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9600       # (--disable-auto-import) libraries
   9601       lt_prog_compiler_pic='-DDLL_EXPORT'
   9602       case $host_os in
   9603       os2*)
   9604 	lt_prog_compiler_static='$wl-static'
   9605 	;;
   9606       esac
   9607       ;;
   9608 
   9609     darwin* | rhapsody*)
   9610       # PIC is the default on this platform
   9611       # Common symbols not allowed in MH_DYLIB files
   9612       lt_prog_compiler_pic='-fno-common'
   9613       ;;
   9614 
   9615     haiku*)
   9616       # PIC is the default for Haiku.
   9617       # The "-static" flag exists, but is broken.
   9618       lt_prog_compiler_static=
   9619       ;;
   9620 
   9621     hpux*)
   9622       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9623       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9624       # sets the default TLS model and affects inlining.
   9625       case $host_cpu in
   9626       hppa*64*)
   9627 	# +Z the default
   9628 	;;
   9629       *)
   9630 	lt_prog_compiler_pic='-fPIC'
   9631 	;;
   9632       esac
   9633       ;;
   9634 
   9635     interix[3-9]*)
   9636       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9637       # Instead, we relocate shared libraries at runtime.
   9638       ;;
   9639 
   9640     msdosdjgpp*)
   9641       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9642       # on systems that don't support them.
   9643       lt_prog_compiler_can_build_shared=no
   9644       enable_shared=no
   9645       ;;
   9646 
   9647     *nto* | *qnx*)
   9648       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9649       # it will coredump.
   9650       lt_prog_compiler_pic='-fPIC -shared'
   9651       ;;
   9652 
   9653     sysv4*MP*)
   9654       if test -d /usr/nec; then
   9655 	lt_prog_compiler_pic=-Kconform_pic
   9656       fi
   9657       ;;
   9658 
   9659     *)
   9660       lt_prog_compiler_pic='-fPIC'
   9661       ;;
   9662     esac
   9663 
   9664     case $cc_basename in
   9665     nvcc*) # Cuda Compiler Driver 2.2
   9666       lt_prog_compiler_wl='-Xlinker '
   9667       if test -n "$lt_prog_compiler_pic"; then
   9668         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   9669       fi
   9670       ;;
   9671     esac
   9672   else
   9673     # PORTME Check for flag to pass linker flags through the system compiler.
   9674     case $host_os in
   9675     aix*)
   9676       lt_prog_compiler_wl='-Wl,'
   9677       if test ia64 = "$host_cpu"; then
   9678 	# AIX 5 now supports IA64 processor
   9679 	lt_prog_compiler_static='-Bstatic'
   9680       else
   9681 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9682       fi
   9683       ;;
   9684 
   9685     darwin* | rhapsody*)
   9686       # PIC is the default on this platform
   9687       # Common symbols not allowed in MH_DYLIB files
   9688       lt_prog_compiler_pic='-fno-common'
   9689       case $cc_basename in
   9690       nagfor*)
   9691         # NAG Fortran compiler
   9692         lt_prog_compiler_wl='-Wl,-Wl,,'
   9693         lt_prog_compiler_pic='-PIC'
   9694         lt_prog_compiler_static='-Bstatic'
   9695         ;;
   9696       esac
   9697       ;;
   9698 
   9699     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9700       # This hack is so that the source file can tell whether it is being
   9701       # built for inclusion in a dll (and should export symbols for example).
   9702       lt_prog_compiler_pic='-DDLL_EXPORT'
   9703       case $host_os in
   9704       os2*)
   9705 	lt_prog_compiler_static='$wl-static'
   9706 	;;
   9707       esac
   9708       ;;
   9709 
   9710     hpux9* | hpux10* | hpux11*)
   9711       lt_prog_compiler_wl='-Wl,'
   9712       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9713       # not for PA HP-UX.
   9714       case $host_cpu in
   9715       hppa*64*|ia64*)
   9716 	# +Z the default
   9717 	;;
   9718       *)
   9719 	lt_prog_compiler_pic='+Z'
   9720 	;;
   9721       esac
   9722       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9723       lt_prog_compiler_static='$wl-a ${wl}archive'
   9724       ;;
   9725 
   9726     irix5* | irix6* | nonstopux*)
   9727       lt_prog_compiler_wl='-Wl,'
   9728       # PIC (with -KPIC) is the default.
   9729       lt_prog_compiler_static='-non_shared'
   9730       ;;
   9731 
   9732     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   9733       case $cc_basename in
   9734       # old Intel for x86_64, which still supported -KPIC.
   9735       ecc*)
   9736 	lt_prog_compiler_wl='-Wl,'
   9737 	lt_prog_compiler_pic='-KPIC'
   9738 	lt_prog_compiler_static='-static'
   9739         ;;
   9740       # icc used to be incompatible with GCC.
   9741       # ICC 10 doesn't accept -KPIC any more.
   9742       icc* | ifort*)
   9743 	lt_prog_compiler_wl='-Wl,'
   9744 	lt_prog_compiler_pic='-fPIC'
   9745 	lt_prog_compiler_static='-static'
   9746         ;;
   9747       # Lahey Fortran 8.1.
   9748       lf95*)
   9749 	lt_prog_compiler_wl='-Wl,'
   9750 	lt_prog_compiler_pic='--shared'
   9751 	lt_prog_compiler_static='--static'
   9752 	;;
   9753       nagfor*)
   9754 	# NAG Fortran compiler
   9755 	lt_prog_compiler_wl='-Wl,-Wl,,'
   9756 	lt_prog_compiler_pic='-PIC'
   9757 	lt_prog_compiler_static='-Bstatic'
   9758 	;;
   9759       tcc*)
   9760 	# Fabrice Bellard et al's Tiny C Compiler
   9761 	lt_prog_compiler_wl='-Wl,'
   9762 	lt_prog_compiler_pic='-fPIC'
   9763 	lt_prog_compiler_static='-static'
   9764 	;;
   9765       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9766         # Portland Group compilers (*not* the Pentium gcc compiler,
   9767 	# which looks to be a dead project)
   9768 	lt_prog_compiler_wl='-Wl,'
   9769 	lt_prog_compiler_pic='-fpic'
   9770 	lt_prog_compiler_static='-Bstatic'
   9771         ;;
   9772       ccc*)
   9773         lt_prog_compiler_wl='-Wl,'
   9774         # All Alpha code is PIC.
   9775         lt_prog_compiler_static='-non_shared'
   9776         ;;
   9777       xl* | bgxl* | bgf* | mpixl*)
   9778 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9779 	lt_prog_compiler_wl='-Wl,'
   9780 	lt_prog_compiler_pic='-qpic'
   9781 	lt_prog_compiler_static='-qstaticlink'
   9782 	;;
   9783       *)
   9784 	case `$CC -V 2>&1 | sed 5q` in
   9785 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   9786 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9787 	  lt_prog_compiler_pic='-KPIC'
   9788 	  lt_prog_compiler_static='-Bstatic'
   9789 	  lt_prog_compiler_wl=''
   9790 	  ;;
   9791 	*Sun\ F* | *Sun*Fortran*)
   9792 	  lt_prog_compiler_pic='-KPIC'
   9793 	  lt_prog_compiler_static='-Bstatic'
   9794 	  lt_prog_compiler_wl='-Qoption ld '
   9795 	  ;;
   9796 	*Sun\ C*)
   9797 	  # Sun C 5.9
   9798 	  lt_prog_compiler_pic='-KPIC'
   9799 	  lt_prog_compiler_static='-Bstatic'
   9800 	  lt_prog_compiler_wl='-Wl,'
   9801 	  ;;
   9802         *Intel*\ [CF]*Compiler*)
   9803 	  lt_prog_compiler_wl='-Wl,'
   9804 	  lt_prog_compiler_pic='-fPIC'
   9805 	  lt_prog_compiler_static='-static'
   9806 	  ;;
   9807 	*Portland\ Group*)
   9808 	  lt_prog_compiler_wl='-Wl,'
   9809 	  lt_prog_compiler_pic='-fpic'
   9810 	  lt_prog_compiler_static='-Bstatic'
   9811 	  ;;
   9812 	esac
   9813 	;;
   9814       esac
   9815       ;;
   9816 
   9817     newsos6)
   9818       lt_prog_compiler_pic='-KPIC'
   9819       lt_prog_compiler_static='-Bstatic'
   9820       ;;
   9821 
   9822     *nto* | *qnx*)
   9823       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9824       # it will coredump.
   9825       lt_prog_compiler_pic='-fPIC -shared'
   9826       ;;
   9827 
   9828     osf3* | osf4* | osf5*)
   9829       lt_prog_compiler_wl='-Wl,'
   9830       # All OSF/1 code is PIC.
   9831       lt_prog_compiler_static='-non_shared'
   9832       ;;
   9833 
   9834     rdos*)
   9835       lt_prog_compiler_static='-non_shared'
   9836       ;;
   9837 
   9838     solaris*)
   9839       lt_prog_compiler_pic='-KPIC'
   9840       lt_prog_compiler_static='-Bstatic'
   9841       case $cc_basename in
   9842       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   9843 	lt_prog_compiler_wl='-Qoption ld ';;
   9844       *)
   9845 	lt_prog_compiler_wl='-Wl,';;
   9846       esac
   9847       ;;
   9848 
   9849     sunos4*)
   9850       lt_prog_compiler_wl='-Qoption ld '
   9851       lt_prog_compiler_pic='-PIC'
   9852       lt_prog_compiler_static='-Bstatic'
   9853       ;;
   9854 
   9855     sysv4 | sysv4.2uw2* | sysv4.3*)
   9856       lt_prog_compiler_wl='-Wl,'
   9857       lt_prog_compiler_pic='-KPIC'
   9858       lt_prog_compiler_static='-Bstatic'
   9859       ;;
   9860 
   9861     sysv4*MP*)
   9862       if test -d /usr/nec; then
   9863 	lt_prog_compiler_pic='-Kconform_pic'
   9864 	lt_prog_compiler_static='-Bstatic'
   9865       fi
   9866       ;;
   9867 
   9868     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9869       lt_prog_compiler_wl='-Wl,'
   9870       lt_prog_compiler_pic='-KPIC'
   9871       lt_prog_compiler_static='-Bstatic'
   9872       ;;
   9873 
   9874     unicos*)
   9875       lt_prog_compiler_wl='-Wl,'
   9876       lt_prog_compiler_can_build_shared=no
   9877       ;;
   9878 
   9879     uts4*)
   9880       lt_prog_compiler_pic='-pic'
   9881       lt_prog_compiler_static='-Bstatic'
   9882       ;;
   9883 
   9884     *)
   9885       lt_prog_compiler_can_build_shared=no
   9886       ;;
   9887     esac
   9888   fi
   9889 
   9890 case $host_os in
   9891   # For platforms that do not support PIC, -DPIC is meaningless:
   9892   *djgpp*)
   9893     lt_prog_compiler_pic=
   9894     ;;
   9895   *)
   9896     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9897     ;;
   9898 esac
   9899 
   9900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9901 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   9902 if ${lt_cv_prog_compiler_pic+:} false; then :
   9903   $as_echo_n "(cached) " >&6
   9904 else
   9905   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   9906 fi
   9907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   9908 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   9909 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   9910 
   9911 #
   9912 # Check to make sure the PIC flag actually works.
   9913 #
   9914 if test -n "$lt_prog_compiler_pic"; then
   9915   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9916 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9917 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   9918   $as_echo_n "(cached) " >&6
   9919 else
   9920   lt_cv_prog_compiler_pic_works=no
   9921    ac_outfile=conftest.$ac_objext
   9922    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9923    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   9924    # Insert the option either (1) after the last *FLAGS variable, or
   9925    # (2) before a word containing "conftest.", or (3) at the end.
   9926    # Note that $ac_compile itself does not contain backslashes and begins
   9927    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9928    # The option is referenced via a variable to avoid confusing sed.
   9929    lt_compile=`echo "$ac_compile" | $SED \
   9930    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9931    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9932    -e 's:$: $lt_compiler_flag:'`
   9933    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9934    (eval "$lt_compile" 2>conftest.err)
   9935    ac_status=$?
   9936    cat conftest.err >&5
   9937    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9938    if (exit $ac_status) && test -s "$ac_outfile"; then
   9939      # The compiler can only warn and ignore the option if not recognized
   9940      # So say no if there are warnings other than the usual output.
   9941      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9942      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9943      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9944        lt_cv_prog_compiler_pic_works=yes
   9945      fi
   9946    fi
   9947    $RM conftest*
   9948 
   9949 fi
   9950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9951 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   9952 
   9953 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   9954     case $lt_prog_compiler_pic in
   9955      "" | " "*) ;;
   9956      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9957      esac
   9958 else
   9959     lt_prog_compiler_pic=
   9960      lt_prog_compiler_can_build_shared=no
   9961 fi
   9962 
   9963 fi
   9964 
   9965 
   9966 
   9967 
   9968 
   9969 
   9970 
   9971 
   9972 
   9973 
   9974 
   9975 #
   9976 # Check to make sure the static flag actually works.
   9977 #
   9978 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9980 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9981 if ${lt_cv_prog_compiler_static_works+:} false; then :
   9982   $as_echo_n "(cached) " >&6
   9983 else
   9984   lt_cv_prog_compiler_static_works=no
   9985    save_LDFLAGS=$LDFLAGS
   9986    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9987    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9988    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9989      # The linker can only warn and ignore the option if not recognized
   9990      # So say no if there are warnings
   9991      if test -s conftest.err; then
   9992        # Append any errors to the config.log.
   9993        cat conftest.err 1>&5
   9994        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9995        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9996        if diff conftest.exp conftest.er2 >/dev/null; then
   9997          lt_cv_prog_compiler_static_works=yes
   9998        fi
   9999      else
   10000        lt_cv_prog_compiler_static_works=yes
   10001      fi
   10002    fi
   10003    $RM -r conftest*
   10004    LDFLAGS=$save_LDFLAGS
   10005 
   10006 fi
   10007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   10008 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   10009 
   10010 if test yes = "$lt_cv_prog_compiler_static_works"; then
   10011     :
   10012 else
   10013     lt_prog_compiler_static=
   10014 fi
   10015 
   10016 
   10017 
   10018 
   10019 
   10020 
   10021 
   10022   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   10023 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   10024 if ${lt_cv_prog_compiler_c_o+:} false; then :
   10025   $as_echo_n "(cached) " >&6
   10026 else
   10027   lt_cv_prog_compiler_c_o=no
   10028    $RM -r conftest 2>/dev/null
   10029    mkdir conftest
   10030    cd conftest
   10031    mkdir out
   10032    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10033 
   10034    lt_compiler_flag="-o out/conftest2.$ac_objext"
   10035    # Insert the option either (1) after the last *FLAGS variable, or
   10036    # (2) before a word containing "conftest.", or (3) at the end.
   10037    # Note that $ac_compile itself does not contain backslashes and begins
   10038    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10039    lt_compile=`echo "$ac_compile" | $SED \
   10040    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10041    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10042    -e 's:$: $lt_compiler_flag:'`
   10043    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10044    (eval "$lt_compile" 2>out/conftest.err)
   10045    ac_status=$?
   10046    cat out/conftest.err >&5
   10047    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10048    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   10049    then
   10050      # The compiler can only warn and ignore the option if not recognized
   10051      # So say no if there are warnings
   10052      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   10053      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   10054      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   10055        lt_cv_prog_compiler_c_o=yes
   10056      fi
   10057    fi
   10058    chmod u+w . 2>&5
   10059    $RM conftest*
   10060    # SGI C++ compiler will create directory out/ii_files/ for
   10061    # template instantiation
   10062    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   10063    $RM out/* && rmdir out
   10064    cd ..
   10065    $RM -r conftest
   10066    $RM conftest*
   10067 
   10068 fi
   10069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   10070 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   10071 
   10072 
   10073 
   10074 
   10075 
   10076 
   10077   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   10078 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   10079 if ${lt_cv_prog_compiler_c_o+:} false; then :
   10080   $as_echo_n "(cached) " >&6
   10081 else
   10082   lt_cv_prog_compiler_c_o=no
   10083    $RM -r conftest 2>/dev/null
   10084    mkdir conftest
   10085    cd conftest
   10086    mkdir out
   10087    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10088 
   10089    lt_compiler_flag="-o out/conftest2.$ac_objext"
   10090    # Insert the option either (1) after the last *FLAGS variable, or
   10091    # (2) before a word containing "conftest.", or (3) at the end.
   10092    # Note that $ac_compile itself does not contain backslashes and begins
   10093    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10094    lt_compile=`echo "$ac_compile" | $SED \
   10095    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10096    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10097    -e 's:$: $lt_compiler_flag:'`
   10098    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10099    (eval "$lt_compile" 2>out/conftest.err)
   10100    ac_status=$?
   10101    cat out/conftest.err >&5
   10102    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10103    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   10104    then
   10105      # The compiler can only warn and ignore the option if not recognized
   10106      # So say no if there are warnings
   10107      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   10108      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   10109      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   10110        lt_cv_prog_compiler_c_o=yes
   10111      fi
   10112    fi
   10113    chmod u+w . 2>&5
   10114    $RM conftest*
   10115    # SGI C++ compiler will create directory out/ii_files/ for
   10116    # template instantiation
   10117    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   10118    $RM out/* && rmdir out
   10119    cd ..
   10120    $RM -r conftest
   10121    $RM conftest*
   10122 
   10123 fi
   10124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   10125 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   10126 
   10127 
   10128 
   10129 
   10130 hard_links=nottested
   10131 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   10132   # do not overwrite the value of need_locks provided by the user
   10133   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   10134 $as_echo_n "checking if we can lock with hard links... " >&6; }
   10135   hard_links=yes
   10136   $RM conftest*
   10137   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   10138   touch conftest.a
   10139   ln conftest.a conftest.b 2>&5 || hard_links=no
   10140   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   10141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   10142 $as_echo "$hard_links" >&6; }
   10143   if test no = "$hard_links"; then
   10144     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   10145 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   10146     need_locks=warn
   10147   fi
   10148 else
   10149   need_locks=no
   10150 fi
   10151 
   10152 
   10153 
   10154 
   10155 
   10156 
   10157   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   10158 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   10159 
   10160   runpath_var=
   10161   allow_undefined_flag=
   10162   always_export_symbols=no
   10163   archive_cmds=
   10164   archive_expsym_cmds=
   10165   compiler_needs_object=no
   10166   enable_shared_with_static_runtimes=no
   10167   export_dynamic_flag_spec=
   10168   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   10169   hardcode_automatic=no
   10170   hardcode_direct=no
   10171   hardcode_direct_absolute=no
   10172   hardcode_libdir_flag_spec=
   10173   hardcode_libdir_separator=
   10174   hardcode_minus_L=no
   10175   hardcode_shlibpath_var=unsupported
   10176   inherit_rpath=no
   10177   link_all_deplibs=unknown
   10178   module_cmds=
   10179   module_expsym_cmds=
   10180   old_archive_from_new_cmds=
   10181   old_archive_from_expsyms_cmds=
   10182   thread_safe_flag_spec=
   10183   whole_archive_flag_spec=
   10184   # include_expsyms should be a list of space-separated symbols to be *always*
   10185   # included in the symbol list
   10186   include_expsyms=
   10187   # exclude_expsyms can be an extended regexp of symbols to exclude
   10188   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   10189   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   10190   # as well as any symbol that contains 'd'.
   10191   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   10192   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   10193   # platforms (ab)use it in PIC code, but their linkers get confused if
   10194   # the symbol is explicitly referenced.  Since portable code cannot
   10195   # rely on this symbol name, it's probably fine to never include it in
   10196   # preloaded symbol tables.
   10197   # Exclude shared library initialization/finalization symbols.
   10198   extract_expsyms_cmds=
   10199 
   10200   case $host_os in
   10201   cygwin* | mingw* | pw32* | cegcc*)
   10202     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   10203     # When not using gcc, we currently assume that we are using
   10204     # Microsoft Visual C++.
   10205     if test yes != "$GCC"; then
   10206       with_gnu_ld=no
   10207     fi
   10208     ;;
   10209   interix*)
   10210     # we just hope/assume this is gcc and not c89 (= MSVC++)
   10211     with_gnu_ld=yes
   10212     ;;
   10213   openbsd* | bitrig*)
   10214     with_gnu_ld=no
   10215     ;;
   10216   esac
   10217 
   10218   ld_shlibs=yes
   10219 
   10220   # On some targets, GNU ld is compatible enough with the native linker
   10221   # that we're better off using the native interface for both.
   10222   lt_use_gnu_ld_interface=no
   10223   if test yes = "$with_gnu_ld"; then
   10224     case $host_os in
   10225       aix*)
   10226 	# The AIX port of GNU ld has always aspired to compatibility
   10227 	# with the native linker.  However, as the warning in the GNU ld
   10228 	# block says, versions before 2.19.5* couldn't really create working
   10229 	# shared libraries, regardless of the interface used.
   10230 	case `$LD -v 2>&1` in
   10231 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   10232 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   10233 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   10234 	  *)
   10235 	    lt_use_gnu_ld_interface=yes
   10236 	    ;;
   10237 	esac
   10238 	;;
   10239       *)
   10240 	lt_use_gnu_ld_interface=yes
   10241 	;;
   10242     esac
   10243   fi
   10244 
   10245   if test yes = "$lt_use_gnu_ld_interface"; then
   10246     # If archive_cmds runs LD, not CC, wlarc should be empty
   10247     wlarc='$wl'
   10248 
   10249     # Set some defaults for GNU ld with shared library support. These
   10250     # are reset later if shared libraries are not supported. Putting them
   10251     # here allows them to be overridden if necessary.
   10252     runpath_var=LD_RUN_PATH
   10253     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10254     export_dynamic_flag_spec='$wl--export-dynamic'
   10255     # ancient GNU ld didn't support --whole-archive et. al.
   10256     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   10257       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   10258     else
   10259       whole_archive_flag_spec=
   10260     fi
   10261     supports_anon_versioning=no
   10262     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
   10263       *GNU\ gold*) supports_anon_versioning=yes ;;
   10264       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   10265       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   10266       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   10267       *\ 2.11.*) ;; # other 2.11 versions
   10268       *) supports_anon_versioning=yes ;;
   10269     esac
   10270 
   10271     # See if GNU ld supports shared libraries.
   10272     case $host_os in
   10273     aix[3-9]*)
   10274       # On AIX/PPC, the GNU linker is very broken
   10275       if test ia64 != "$host_cpu"; then
   10276 	ld_shlibs=no
   10277 	cat <<_LT_EOF 1>&2
   10278 
   10279 *** Warning: the GNU linker, at least up to release 2.19, is reported
   10280 *** to be unable to reliably create shared libraries on AIX.
   10281 *** Therefore, libtool is disabling shared libraries support.  If you
   10282 *** really care for shared libraries, you may want to install binutils
   10283 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   10284 *** You will then need to restart the configuration process.
   10285 
   10286 _LT_EOF
   10287       fi
   10288       ;;
   10289 
   10290     amigaos*)
   10291       case $host_cpu in
   10292       powerpc)
   10293             # see comment about AmigaOS4 .so support
   10294             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10295             archive_expsym_cmds=''
   10296         ;;
   10297       m68k)
   10298             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)'
   10299             hardcode_libdir_flag_spec='-L$libdir'
   10300             hardcode_minus_L=yes
   10301         ;;
   10302       esac
   10303       ;;
   10304 
   10305     beos*)
   10306       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10307 	allow_undefined_flag=unsupported
   10308 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   10309 	# support --undefined.  This deserves some investigation.  FIXME
   10310 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10311       else
   10312 	ld_shlibs=no
   10313       fi
   10314       ;;
   10315 
   10316     cygwin* | mingw* | pw32* | cegcc*)
   10317       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   10318       # as there is no search path for DLLs.
   10319       hardcode_libdir_flag_spec='-L$libdir'
   10320       export_dynamic_flag_spec='$wl--export-all-symbols'
   10321       allow_undefined_flag=unsupported
   10322       always_export_symbols=no
   10323       enable_shared_with_static_runtimes=yes
   10324       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'
   10325       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   10326 
   10327       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   10328         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10329 	# If the export-symbols file already is a .def file, use it as
   10330 	# is; otherwise, prepend EXPORTS...
   10331 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10332           cp $export_symbols $output_objdir/$soname.def;
   10333         else
   10334           echo EXPORTS > $output_objdir/$soname.def;
   10335           cat $export_symbols >> $output_objdir/$soname.def;
   10336         fi~
   10337         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10338       else
   10339 	ld_shlibs=no
   10340       fi
   10341       ;;
   10342 
   10343     haiku*)
   10344       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10345       link_all_deplibs=yes
   10346       ;;
   10347 
   10348     os2*)
   10349       hardcode_libdir_flag_spec='-L$libdir'
   10350       hardcode_minus_L=yes
   10351       allow_undefined_flag=unsupported
   10352       shrext_cmds=.dll
   10353       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10354 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10355 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10356 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10357 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10358 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10359 	emximp -o $lib $output_objdir/$libname.def'
   10360       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10361 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10362 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10363 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10364 	prefix_cmds="$SED"~
   10365 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10366 	  prefix_cmds="$prefix_cmds -e 1d";
   10367 	fi~
   10368 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10369 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10370 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10371 	emximp -o $lib $output_objdir/$libname.def'
   10372       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10373       enable_shared_with_static_runtimes=yes
   10374       ;;
   10375 
   10376     interix[3-9]*)
   10377       hardcode_direct=no
   10378       hardcode_shlibpath_var=no
   10379       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10380       export_dynamic_flag_spec='$wl-E'
   10381       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   10382       # Instead, shared libraries are loaded at an image base (0x10000000 by
   10383       # default) and relocated if they conflict, which is a slow very memory
   10384       # consuming and fragmenting process.  To avoid this, we pick a random,
   10385       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   10386       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   10387       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   10388       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'
   10389       ;;
   10390 
   10391     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   10392       tmp_diet=no
   10393       if test linux-dietlibc = "$host_os"; then
   10394 	case $cc_basename in
   10395 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   10396 	esac
   10397       fi
   10398       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   10399 	 && test no = "$tmp_diet"
   10400       then
   10401 	tmp_addflag=' $pic_flag'
   10402 	tmp_sharedflag='-shared'
   10403 	case $cc_basename,$host_cpu in
   10404         pgcc*)				# Portland Group C compiler
   10405 	  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'
   10406 	  tmp_addflag=' $pic_flag'
   10407 	  ;;
   10408 	pgf77* | pgf90* | pgf95* | pgfortran*)
   10409 					# Portland Group f77 and f90 compilers
   10410 	  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'
   10411 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   10412 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   10413 	  tmp_addflag=' -i_dynamic' ;;
   10414 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   10415 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   10416 	ifc* | ifort*)			# Intel Fortran compiler
   10417 	  tmp_addflag=' -nofor_main' ;;
   10418 	lf95*)				# Lahey Fortran 8.1
   10419 	  whole_archive_flag_spec=
   10420 	  tmp_sharedflag='--shared' ;;
   10421         nagfor*)                        # NAGFOR 5.3
   10422           tmp_sharedflag='-Wl,-shared' ;;
   10423 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   10424 	  tmp_sharedflag='-qmkshrobj'
   10425 	  tmp_addflag= ;;
   10426 	nvcc*)	# Cuda Compiler Driver 2.2
   10427 	  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'
   10428 	  compiler_needs_object=yes
   10429 	  ;;
   10430 	esac
   10431 	case `$CC -V 2>&1 | sed 5q` in
   10432 	*Sun\ C*)			# Sun C 5.9
   10433 	  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'
   10434 	  compiler_needs_object=yes
   10435 	  tmp_sharedflag='-G' ;;
   10436 	*Sun\ F*)			# Sun Fortran 8.3
   10437 	  tmp_sharedflag='-G' ;;
   10438 	esac
   10439 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10440 
   10441         if test yes = "$supports_anon_versioning"; then
   10442           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10443             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10444             echo "local: *; };" >> $output_objdir/$libname.ver~
   10445             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   10446         fi
   10447 
   10448 	case $cc_basename in
   10449 	tcc*)
   10450 	  export_dynamic_flag_spec='-rdynamic'
   10451 	  ;;
   10452 	xlf* | bgf* | bgxlf* | mpixlf*)
   10453 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   10454 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   10455 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10456 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   10457 	  if test yes = "$supports_anon_versioning"; then
   10458 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10459               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10460               echo "local: *; };" >> $output_objdir/$libname.ver~
   10461               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   10462 	  fi
   10463 	  ;;
   10464 	esac
   10465       else
   10466         ld_shlibs=no
   10467       fi
   10468       ;;
   10469 
   10470     netbsd*)
   10471       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10472 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   10473 	wlarc=
   10474       else
   10475 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10476 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10477       fi
   10478       ;;
   10479 
   10480     solaris*)
   10481       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   10482 	ld_shlibs=no
   10483 	cat <<_LT_EOF 1>&2
   10484 
   10485 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   10486 *** create shared libraries on Solaris systems.  Therefore, libtool
   10487 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10488 *** binutils to release 2.9.1 or newer.  Another option is to modify
   10489 *** your PATH or compiler configuration so that the native linker is
   10490 *** used, and then restart.
   10491 
   10492 _LT_EOF
   10493       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10494 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10495 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10496       else
   10497 	ld_shlibs=no
   10498       fi
   10499       ;;
   10500 
   10501     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   10502       case `$LD -v 2>&1` in
   10503         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   10504 	ld_shlibs=no
   10505 	cat <<_LT_EOF 1>&2
   10506 
   10507 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   10508 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   10509 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10510 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   10511 *** your PATH or compiler configuration so that the native linker is
   10512 *** used, and then restart.
   10513 
   10514 _LT_EOF
   10515 	;;
   10516 	*)
   10517 	  # For security reasons, it is highly recommended that you always
   10518 	  # use absolute paths for naming shared libraries, and exclude the
   10519 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   10520 	  # requires that you compile everything twice, which is a pain.
   10521 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10522 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10523 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10524 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10525 	  else
   10526 	    ld_shlibs=no
   10527 	  fi
   10528 	;;
   10529       esac
   10530       ;;
   10531 
   10532     sunos4*)
   10533       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10534       wlarc=
   10535       hardcode_direct=yes
   10536       hardcode_shlibpath_var=no
   10537       ;;
   10538 
   10539     *)
   10540       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10541 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10542 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10543       else
   10544 	ld_shlibs=no
   10545       fi
   10546       ;;
   10547     esac
   10548 
   10549     if test no = "$ld_shlibs"; then
   10550       runpath_var=
   10551       hardcode_libdir_flag_spec=
   10552       export_dynamic_flag_spec=
   10553       whole_archive_flag_spec=
   10554     fi
   10555   else
   10556     # PORTME fill in a description of your system's linker (not GNU ld)
   10557     case $host_os in
   10558     aix3*)
   10559       allow_undefined_flag=unsupported
   10560       always_export_symbols=yes
   10561       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'
   10562       # Note: this linker hardcodes the directories in LIBPATH if there
   10563       # are no directories specified by -L.
   10564       hardcode_minus_L=yes
   10565       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   10566 	# Neither direct hardcoding nor static linking is supported with a
   10567 	# broken collect2.
   10568 	hardcode_direct=unsupported
   10569       fi
   10570       ;;
   10571 
   10572     aix[4-9]*)
   10573       if test ia64 = "$host_cpu"; then
   10574 	# On IA64, the linker does run time linking by default, so we don't
   10575 	# have to do anything special.
   10576 	aix_use_runtimelinking=no
   10577 	exp_sym_flag='-Bexport'
   10578 	no_entry_flag=
   10579       else
   10580 	# If we're using GNU nm, then we don't want the "-C" option.
   10581 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   10582 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   10583 	# weak defined symbols like other global defined symbols, whereas
   10584 	# GNU nm marks them as "W".
   10585 	# While the 'weak' keyword is ignored in the Export File, we need
   10586 	# it in the Import File for the 'aix-soname' feature, so we have
   10587 	# to replace the "-B" option with "-P" for AIX nm.
   10588 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   10589 	  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'
   10590 	else
   10591 	  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'
   10592 	fi
   10593 	aix_use_runtimelinking=no
   10594 
   10595 	# Test if we are trying to use run time linking or normal
   10596 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10597 	# have runtime linking enabled, and use it for executables.
   10598 	# For shared libraries, we enable/disable runtime linking
   10599 	# depending on the kind of the shared library created -
   10600 	# when "with_aix_soname,aix_use_runtimelinking" is:
   10601 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   10602 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   10603 	#            lib.a           static archive
   10604 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   10605 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   10606 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   10607 	#            lib.a(lib.so.V) shared, rtl:no
   10608 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   10609 	#            lib.a           static archive
   10610 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10611 	  for ld_flag in $LDFLAGS; do
   10612 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   10613 	    aix_use_runtimelinking=yes
   10614 	    break
   10615 	  fi
   10616 	  done
   10617 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   10618 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   10619 	    # so we don't have lib.a shared libs to link our executables.
   10620 	    # We have to force runtime linking in this case.
   10621 	    aix_use_runtimelinking=yes
   10622 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   10623 	  fi
   10624 	  ;;
   10625 	esac
   10626 
   10627 	exp_sym_flag='-bexport'
   10628 	no_entry_flag='-bnoentry'
   10629       fi
   10630 
   10631       # When large executables or shared objects are built, AIX ld can
   10632       # have problems creating the table of contents.  If linking a library
   10633       # or program results in "error TOC overflow" add -mminimal-toc to
   10634       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10635       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10636 
   10637       archive_cmds=''
   10638       hardcode_direct=yes
   10639       hardcode_direct_absolute=yes
   10640       hardcode_libdir_separator=':'
   10641       link_all_deplibs=yes
   10642       file_list_spec='$wl-f,'
   10643       case $with_aix_soname,$aix_use_runtimelinking in
   10644       aix,*) ;; # traditional, no import file
   10645       svr4,* | *,yes) # use import file
   10646 	# The Import File defines what to hardcode.
   10647 	hardcode_direct=no
   10648 	hardcode_direct_absolute=no
   10649 	;;
   10650       esac
   10651 
   10652       if test yes = "$GCC"; then
   10653 	case $host_os in aix4.[012]|aix4.[012].*)
   10654 	# We only want to do this on AIX 4.2 and lower, the check
   10655 	# below for broken collect2 doesn't work under 4.3+
   10656 	  collect2name=`$CC -print-prog-name=collect2`
   10657 	  if test -f "$collect2name" &&
   10658 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10659 	  then
   10660 	  # We have reworked collect2
   10661 	  :
   10662 	  else
   10663 	  # We have old collect2
   10664 	  hardcode_direct=unsupported
   10665 	  # It fails to find uninstalled libraries when the uninstalled
   10666 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10667 	  # to unsupported forces relinking
   10668 	  hardcode_minus_L=yes
   10669 	  hardcode_libdir_flag_spec='-L$libdir'
   10670 	  hardcode_libdir_separator=
   10671 	  fi
   10672 	  ;;
   10673 	esac
   10674 	shared_flag='-shared'
   10675 	if test yes = "$aix_use_runtimelinking"; then
   10676 	  shared_flag="$shared_flag "'$wl-G'
   10677 	fi
   10678 	# Need to ensure runtime linking is disabled for the traditional
   10679 	# shared library, or the linker may eventually find shared libraries
   10680 	# /with/ Import File - we do not want to mix them.
   10681 	shared_flag_aix='-shared'
   10682 	shared_flag_svr4='-shared $wl-G'
   10683       else
   10684 	# not using gcc
   10685 	if test ia64 = "$host_cpu"; then
   10686 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10687 	# chokes on -Wl,-G. The following line is correct:
   10688 	  shared_flag='-G'
   10689 	else
   10690 	  if test yes = "$aix_use_runtimelinking"; then
   10691 	    shared_flag='$wl-G'
   10692 	  else
   10693 	    shared_flag='$wl-bM:SRE'
   10694 	  fi
   10695 	  shared_flag_aix='$wl-bM:SRE'
   10696 	  shared_flag_svr4='$wl-G'
   10697 	fi
   10698       fi
   10699 
   10700       export_dynamic_flag_spec='$wl-bexpall'
   10701       # It seems that -bexpall does not export symbols beginning with
   10702       # underscore (_), so it is better to generate a list of symbols to export.
   10703       always_export_symbols=yes
   10704       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   10705 	# Warning - without using the other runtime loading flags (-brtl),
   10706 	# -berok will link without error, but may produce a broken library.
   10707 	allow_undefined_flag='-berok'
   10708         # Determine the default libpath from the value encoded in an
   10709         # empty executable.
   10710         if test set = "${lt_cv_aix_libpath+set}"; then
   10711   aix_libpath=$lt_cv_aix_libpath
   10712 else
   10713   if ${lt_cv_aix_libpath_+:} false; then :
   10714   $as_echo_n "(cached) " >&6
   10715 else
   10716   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10717 /* end confdefs.h.  */
   10718 
   10719 int
   10720 main ()
   10721 {
   10722 
   10723   ;
   10724   return 0;
   10725 }
   10726 _ACEOF
   10727 if ac_fn_c_try_link "$LINENO"; then :
   10728 
   10729   lt_aix_libpath_sed='
   10730       /Import File Strings/,/^$/ {
   10731 	  /^0/ {
   10732 	      s/^0  *\([^ ]*\) *$/\1/
   10733 	      p
   10734 	  }
   10735       }'
   10736   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10737   # Check for a 64-bit object if we didn't find anything.
   10738   if test -z "$lt_cv_aix_libpath_"; then
   10739     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10740   fi
   10741 fi
   10742 rm -f core conftest.err conftest.$ac_objext \
   10743     conftest$ac_exeext conftest.$ac_ext
   10744   if test -z "$lt_cv_aix_libpath_"; then
   10745     lt_cv_aix_libpath_=/usr/lib:/lib
   10746   fi
   10747 
   10748 fi
   10749 
   10750   aix_libpath=$lt_cv_aix_libpath_
   10751 fi
   10752 
   10753         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10754         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
   10755       else
   10756 	if test ia64 = "$host_cpu"; then
   10757 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   10758 	  allow_undefined_flag="-z nodefs"
   10759 	  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"
   10760 	else
   10761 	 # Determine the default libpath from the value encoded in an
   10762 	 # empty executable.
   10763 	 if test set = "${lt_cv_aix_libpath+set}"; then
   10764   aix_libpath=$lt_cv_aix_libpath
   10765 else
   10766   if ${lt_cv_aix_libpath_+:} false; then :
   10767   $as_echo_n "(cached) " >&6
   10768 else
   10769   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10770 /* end confdefs.h.  */
   10771 
   10772 int
   10773 main ()
   10774 {
   10775 
   10776   ;
   10777   return 0;
   10778 }
   10779 _ACEOF
   10780 if ac_fn_c_try_link "$LINENO"; then :
   10781 
   10782   lt_aix_libpath_sed='
   10783       /Import File Strings/,/^$/ {
   10784 	  /^0/ {
   10785 	      s/^0  *\([^ ]*\) *$/\1/
   10786 	      p
   10787 	  }
   10788       }'
   10789   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10790   # Check for a 64-bit object if we didn't find anything.
   10791   if test -z "$lt_cv_aix_libpath_"; then
   10792     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10793   fi
   10794 fi
   10795 rm -f core conftest.err conftest.$ac_objext \
   10796     conftest$ac_exeext conftest.$ac_ext
   10797   if test -z "$lt_cv_aix_libpath_"; then
   10798     lt_cv_aix_libpath_=/usr/lib:/lib
   10799   fi
   10800 
   10801 fi
   10802 
   10803   aix_libpath=$lt_cv_aix_libpath_
   10804 fi
   10805 
   10806 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10807 	  # Warning - without using the other run time loading flags,
   10808 	  # -berok will link without error, but may produce a broken library.
   10809 	  no_undefined_flag=' $wl-bernotok'
   10810 	  allow_undefined_flag=' $wl-berok'
   10811 	  if test yes = "$with_gnu_ld"; then
   10812 	    # We only use this code for GNU lds that support --whole-archive.
   10813 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   10814 	  else
   10815 	    # Exported symbols can be pulled into shared objects from archives
   10816 	    whole_archive_flag_spec='$convenience'
   10817 	  fi
   10818 	  archive_cmds_need_lc=yes
   10819 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   10820 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   10821 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   10822 	  if test svr4 != "$with_aix_soname"; then
   10823 	    # This is similar to how AIX traditionally builds its shared libraries.
   10824 	    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'
   10825 	  fi
   10826 	  if test aix != "$with_aix_soname"; then
   10827 	    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'
   10828 	  else
   10829 	    # used by -dlpreopen to get the symbols
   10830 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   10831 	  fi
   10832 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   10833 	fi
   10834       fi
   10835       ;;
   10836 
   10837     amigaos*)
   10838       case $host_cpu in
   10839       powerpc)
   10840             # see comment about AmigaOS4 .so support
   10841             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10842             archive_expsym_cmds=''
   10843         ;;
   10844       m68k)
   10845             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)'
   10846             hardcode_libdir_flag_spec='-L$libdir'
   10847             hardcode_minus_L=yes
   10848         ;;
   10849       esac
   10850       ;;
   10851 
   10852     bsdi[45]*)
   10853       export_dynamic_flag_spec=-rdynamic
   10854       ;;
   10855 
   10856     cygwin* | mingw* | pw32* | cegcc*)
   10857       # When not using gcc, we currently assume that we are using
   10858       # Microsoft Visual C++.
   10859       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10860       # no search path for DLLs.
   10861       case $cc_basename in
   10862       cl*)
   10863 	# Native MSVC
   10864 	hardcode_libdir_flag_spec=' '
   10865 	allow_undefined_flag=unsupported
   10866 	always_export_symbols=yes
   10867 	file_list_spec='@'
   10868 	# Tell ltmain to make .lib files, not .a files.
   10869 	libext=lib
   10870 	# Tell ltmain to make .dll files, not .so files.
   10871 	shrext_cmds=.dll
   10872 	# FIXME: Setting linknames here is a bad hack.
   10873 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   10874 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10875             cp "$export_symbols" "$output_objdir/$soname.def";
   10876             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   10877           else
   10878             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   10879           fi~
   10880           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   10881           linknames='
   10882 	# The linker will not automatically build a static lib if we build a DLL.
   10883 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   10884 	enable_shared_with_static_runtimes=yes
   10885 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   10886 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   10887 	# Don't use ranlib
   10888 	old_postinstall_cmds='chmod 644 $oldlib'
   10889 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   10890           lt_tool_outputfile="@TOOL_OUTPUT@"~
   10891           case $lt_outputfile in
   10892             *.exe|*.EXE) ;;
   10893             *)
   10894               lt_outputfile=$lt_outputfile.exe
   10895               lt_tool_outputfile=$lt_tool_outputfile.exe
   10896               ;;
   10897           esac~
   10898           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   10899             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   10900             $RM "$lt_outputfile.manifest";
   10901           fi'
   10902 	;;
   10903       *)
   10904 	# Assume MSVC wrapper
   10905 	hardcode_libdir_flag_spec=' '
   10906 	allow_undefined_flag=unsupported
   10907 	# Tell ltmain to make .lib files, not .a files.
   10908 	libext=lib
   10909 	# Tell ltmain to make .dll files, not .so files.
   10910 	shrext_cmds=.dll
   10911 	# FIXME: Setting linknames here is a bad hack.
   10912 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10913 	# The linker will automatically build a .lib file if we build a DLL.
   10914 	old_archive_from_new_cmds='true'
   10915 	# FIXME: Should let the user specify the lib program.
   10916 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10917 	enable_shared_with_static_runtimes=yes
   10918 	;;
   10919       esac
   10920       ;;
   10921 
   10922     darwin* | rhapsody*)
   10923 
   10924 
   10925   archive_cmds_need_lc=no
   10926   hardcode_direct=no
   10927   hardcode_automatic=yes
   10928   hardcode_shlibpath_var=unsupported
   10929   if test yes = "$lt_cv_ld_force_load"; then
   10930     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\"`'
   10931 
   10932   else
   10933     whole_archive_flag_spec=''
   10934   fi
   10935   link_all_deplibs=yes
   10936   allow_undefined_flag=$_lt_dar_allow_undefined
   10937   case $cc_basename in
   10938      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   10939      *) _lt_dar_can_shared=$GCC ;;
   10940   esac
   10941   if test yes = "$_lt_dar_can_shared"; then
   10942     output_verbose_link_cmd=func_echo_all
   10943     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   10944     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   10945     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"
   10946     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"
   10947 
   10948   else
   10949   ld_shlibs=no
   10950   fi
   10951 
   10952       ;;
   10953 
   10954     dgux*)
   10955       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10956       hardcode_libdir_flag_spec='-L$libdir'
   10957       hardcode_shlibpath_var=no
   10958       ;;
   10959 
   10960     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10961     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10962     # does not break anything, and helps significantly (at the cost of a little
   10963     # extra space).
   10964     freebsd2.2*)
   10965       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10966       hardcode_libdir_flag_spec='-R$libdir'
   10967       hardcode_direct=yes
   10968       hardcode_shlibpath_var=no
   10969       ;;
   10970 
   10971     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10972     freebsd2.*)
   10973       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10974       hardcode_direct=yes
   10975       hardcode_minus_L=yes
   10976       hardcode_shlibpath_var=no
   10977       ;;
   10978 
   10979     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10980     freebsd* | dragonfly*)
   10981       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10982       hardcode_libdir_flag_spec='-R$libdir'
   10983       hardcode_direct=yes
   10984       hardcode_shlibpath_var=no
   10985       ;;
   10986 
   10987     hpux9*)
   10988       if test yes = "$GCC"; then
   10989 	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'
   10990       else
   10991 	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'
   10992       fi
   10993       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10994       hardcode_libdir_separator=:
   10995       hardcode_direct=yes
   10996 
   10997       # hardcode_minus_L: Not really in the search PATH,
   10998       # but as the default location of the library.
   10999       hardcode_minus_L=yes
   11000       export_dynamic_flag_spec='$wl-E'
   11001       ;;
   11002 
   11003     hpux10*)
   11004       if test yes,no = "$GCC,$with_gnu_ld"; then
   11005 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11006       else
   11007 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   11008       fi
   11009       if test no = "$with_gnu_ld"; then
   11010 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11011 	hardcode_libdir_separator=:
   11012 	hardcode_direct=yes
   11013 	hardcode_direct_absolute=yes
   11014 	export_dynamic_flag_spec='$wl-E'
   11015 	# hardcode_minus_L: Not really in the search PATH,
   11016 	# but as the default location of the library.
   11017 	hardcode_minus_L=yes
   11018       fi
   11019       ;;
   11020 
   11021     hpux11*)
   11022       if test yes,no = "$GCC,$with_gnu_ld"; then
   11023 	case $host_cpu in
   11024 	hppa*64*)
   11025 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11026 	  ;;
   11027 	ia64*)
   11028 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   11029 	  ;;
   11030 	*)
   11031 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11032 	  ;;
   11033 	esac
   11034       else
   11035 	case $host_cpu in
   11036 	hppa*64*)
   11037 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11038 	  ;;
   11039 	ia64*)
   11040 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   11041 	  ;;
   11042 	*)
   11043 
   11044 	  # Older versions of the 11.00 compiler do not understand -b yet
   11045 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   11046 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   11047 $as_echo_n "checking if $CC understands -b... " >&6; }
   11048 if ${lt_cv_prog_compiler__b+:} false; then :
   11049   $as_echo_n "(cached) " >&6
   11050 else
   11051   lt_cv_prog_compiler__b=no
   11052    save_LDFLAGS=$LDFLAGS
   11053    LDFLAGS="$LDFLAGS -b"
   11054    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   11055    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   11056      # The linker can only warn and ignore the option if not recognized
   11057      # So say no if there are warnings
   11058      if test -s conftest.err; then
   11059        # Append any errors to the config.log.
   11060        cat conftest.err 1>&5
   11061        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   11062        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   11063        if diff conftest.exp conftest.er2 >/dev/null; then
   11064          lt_cv_prog_compiler__b=yes
   11065        fi
   11066      else
   11067        lt_cv_prog_compiler__b=yes
   11068      fi
   11069    fi
   11070    $RM -r conftest*
   11071    LDFLAGS=$save_LDFLAGS
   11072 
   11073 fi
   11074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   11075 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   11076 
   11077 if test yes = "$lt_cv_prog_compiler__b"; then
   11078     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11079 else
   11080     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   11081 fi
   11082 
   11083 	  ;;
   11084 	esac
   11085       fi
   11086       if test no = "$with_gnu_ld"; then
   11087 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11088 	hardcode_libdir_separator=:
   11089 
   11090 	case $host_cpu in
   11091 	hppa*64*|ia64*)
   11092 	  hardcode_direct=no
   11093 	  hardcode_shlibpath_var=no
   11094 	  ;;
   11095 	*)
   11096 	  hardcode_direct=yes
   11097 	  hardcode_direct_absolute=yes
   11098 	  export_dynamic_flag_spec='$wl-E'
   11099 
   11100 	  # hardcode_minus_L: Not really in the search PATH,
   11101 	  # but as the default location of the library.
   11102 	  hardcode_minus_L=yes
   11103 	  ;;
   11104 	esac
   11105       fi
   11106       ;;
   11107 
   11108     irix5* | irix6* | nonstopux*)
   11109       if test yes = "$GCC"; then
   11110 	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'
   11111 	# Try to use the -exported_symbol ld option, if it does not
   11112 	# work, assume that -exports_file does not work either and
   11113 	# implicitly export all symbols.
   11114 	# This should be the same for all languages, so no per-tag cache variable.
   11115 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   11116 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   11117 if ${lt_cv_irix_exported_symbol+:} false; then :
   11118   $as_echo_n "(cached) " >&6
   11119 else
   11120   save_LDFLAGS=$LDFLAGS
   11121 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   11122 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11123 /* end confdefs.h.  */
   11124 int foo (void) { return 0; }
   11125 _ACEOF
   11126 if ac_fn_c_try_link "$LINENO"; then :
   11127   lt_cv_irix_exported_symbol=yes
   11128 else
   11129   lt_cv_irix_exported_symbol=no
   11130 fi
   11131 rm -f core conftest.err conftest.$ac_objext \
   11132     conftest$ac_exeext conftest.$ac_ext
   11133            LDFLAGS=$save_LDFLAGS
   11134 fi
   11135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   11136 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   11137 	if test yes = "$lt_cv_irix_exported_symbol"; then
   11138           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'
   11139 	fi
   11140       else
   11141 	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'
   11142 	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'
   11143       fi
   11144       archive_cmds_need_lc='no'
   11145       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11146       hardcode_libdir_separator=:
   11147       inherit_rpath=yes
   11148       link_all_deplibs=yes
   11149       ;;
   11150 
   11151     linux*)
   11152       case $cc_basename in
   11153       tcc*)
   11154 	# Fabrice Bellard et al's Tiny C Compiler
   11155 	ld_shlibs=yes
   11156 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11157 	;;
   11158       esac
   11159       ;;
   11160 
   11161     netbsd*)
   11162       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11163 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   11164       else
   11165 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   11166       fi
   11167       hardcode_libdir_flag_spec='-R$libdir'
   11168       hardcode_direct=yes
   11169       hardcode_shlibpath_var=no
   11170       ;;
   11171 
   11172     newsos6)
   11173       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11174       hardcode_direct=yes
   11175       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11176       hardcode_libdir_separator=:
   11177       hardcode_shlibpath_var=no
   11178       ;;
   11179 
   11180     *nto* | *qnx*)
   11181       ;;
   11182 
   11183     openbsd* | bitrig*)
   11184       if test -f /usr/libexec/ld.so; then
   11185 	hardcode_direct=yes
   11186 	hardcode_shlibpath_var=no
   11187 	hardcode_direct_absolute=yes
   11188 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11189 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11190 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   11191 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11192 	  export_dynamic_flag_spec='$wl-E'
   11193 	else
   11194 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11195 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11196 	fi
   11197       else
   11198 	ld_shlibs=no
   11199       fi
   11200       ;;
   11201 
   11202     os2*)
   11203       hardcode_libdir_flag_spec='-L$libdir'
   11204       hardcode_minus_L=yes
   11205       allow_undefined_flag=unsupported
   11206       shrext_cmds=.dll
   11207       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11208 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11209 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11210 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11211 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   11212 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11213 	emximp -o $lib $output_objdir/$libname.def'
   11214       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11215 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11216 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11217 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11218 	prefix_cmds="$SED"~
   11219 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   11220 	  prefix_cmds="$prefix_cmds -e 1d";
   11221 	fi~
   11222 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   11223 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   11224 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11225 	emximp -o $lib $output_objdir/$libname.def'
   11226       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   11227       enable_shared_with_static_runtimes=yes
   11228       ;;
   11229 
   11230     osf3*)
   11231       if test yes = "$GCC"; then
   11232 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11233 	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'
   11234       else
   11235 	allow_undefined_flag=' -expect_unresolved \*'
   11236 	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'
   11237       fi
   11238       archive_cmds_need_lc='no'
   11239       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11240       hardcode_libdir_separator=:
   11241       ;;
   11242 
   11243     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   11244       if test yes = "$GCC"; then
   11245 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11246 	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'
   11247 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11248       else
   11249 	allow_undefined_flag=' -expect_unresolved \*'
   11250 	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'
   11251 	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~
   11252           $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'
   11253 
   11254 	# Both c and cxx compiler support -rpath directly
   11255 	hardcode_libdir_flag_spec='-rpath $libdir'
   11256       fi
   11257       archive_cmds_need_lc='no'
   11258       hardcode_libdir_separator=:
   11259       ;;
   11260 
   11261     solaris*)
   11262       no_undefined_flag=' -z defs'
   11263       if test yes = "$GCC"; then
   11264 	wlarc='$wl'
   11265 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11266 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11267           $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'
   11268       else
   11269 	case `$CC -V 2>&1` in
   11270 	*"Compilers 5.0"*)
   11271 	  wlarc=''
   11272 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11273 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11274             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   11275 	  ;;
   11276 	*)
   11277 	  wlarc='$wl'
   11278 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11279 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11280             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   11281 	  ;;
   11282 	esac
   11283       fi
   11284       hardcode_libdir_flag_spec='-R$libdir'
   11285       hardcode_shlibpath_var=no
   11286       case $host_os in
   11287       solaris2.[0-5] | solaris2.[0-5].*) ;;
   11288       *)
   11289 	# The compiler driver will combine and reorder linker options,
   11290 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   11291 	# but is careful enough not to reorder.
   11292 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   11293 	if test yes = "$GCC"; then
   11294 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   11295 	else
   11296 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   11297 	fi
   11298 	;;
   11299       esac
   11300       link_all_deplibs=yes
   11301       ;;
   11302 
   11303     sunos4*)
   11304       if test sequent = "$host_vendor"; then
   11305 	# Use $CC to link under sequent, because it throws in some extra .o
   11306 	# files that make .init and .fini sections work.
   11307 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11308       else
   11309 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   11310       fi
   11311       hardcode_libdir_flag_spec='-L$libdir'
   11312       hardcode_direct=yes
   11313       hardcode_minus_L=yes
   11314       hardcode_shlibpath_var=no
   11315       ;;
   11316 
   11317     sysv4)
   11318       case $host_vendor in
   11319 	sni)
   11320 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11321 	  hardcode_direct=yes # is this really true???
   11322 	;;
   11323 	siemens)
   11324 	  ## LD is ld it makes a PLAMLIB
   11325 	  ## CC just makes a GrossModule.
   11326 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   11327 	  reload_cmds='$CC -r -o $output$reload_objs'
   11328 	  hardcode_direct=no
   11329         ;;
   11330 	motorola)
   11331 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11332 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   11333 	;;
   11334       esac
   11335       runpath_var='LD_RUN_PATH'
   11336       hardcode_shlibpath_var=no
   11337       ;;
   11338 
   11339     sysv4.3*)
   11340       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11341       hardcode_shlibpath_var=no
   11342       export_dynamic_flag_spec='-Bexport'
   11343       ;;
   11344 
   11345     sysv4*MP*)
   11346       if test -d /usr/nec; then
   11347 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11348 	hardcode_shlibpath_var=no
   11349 	runpath_var=LD_RUN_PATH
   11350 	hardcode_runpath_var=yes
   11351 	ld_shlibs=yes
   11352       fi
   11353       ;;
   11354 
   11355     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11356       no_undefined_flag='$wl-z,text'
   11357       archive_cmds_need_lc=no
   11358       hardcode_shlibpath_var=no
   11359       runpath_var='LD_RUN_PATH'
   11360 
   11361       if test yes = "$GCC"; then
   11362 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11363 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11364       else
   11365 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11366 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11367       fi
   11368       ;;
   11369 
   11370     sysv5* | sco3.2v5* | sco5v6*)
   11371       # Note: We CANNOT use -z defs as we might desire, because we do not
   11372       # link with -lc, and that would cause any symbols used from libc to
   11373       # always be unresolved, which means just about no library would
   11374       # ever link correctly.  If we're not using GNU ld we use -z text
   11375       # though, which does catch some bad symbols but isn't as heavy-handed
   11376       # as -z defs.
   11377       no_undefined_flag='$wl-z,text'
   11378       allow_undefined_flag='$wl-z,nodefs'
   11379       archive_cmds_need_lc=no
   11380       hardcode_shlibpath_var=no
   11381       hardcode_libdir_flag_spec='$wl-R,$libdir'
   11382       hardcode_libdir_separator=':'
   11383       link_all_deplibs=yes
   11384       export_dynamic_flag_spec='$wl-Bexport'
   11385       runpath_var='LD_RUN_PATH'
   11386 
   11387       if test yes = "$GCC"; then
   11388 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11389 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11390       else
   11391 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11392 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11393       fi
   11394       ;;
   11395 
   11396     uts4*)
   11397       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11398       hardcode_libdir_flag_spec='-L$libdir'
   11399       hardcode_shlibpath_var=no
   11400       ;;
   11401 
   11402     *)
   11403       ld_shlibs=no
   11404       ;;
   11405     esac
   11406 
   11407     if test sni = "$host_vendor"; then
   11408       case $host in
   11409       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   11410 	export_dynamic_flag_spec='$wl-Blargedynsym'
   11411 	;;
   11412       esac
   11413     fi
   11414   fi
   11415 
   11416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   11417 $as_echo "$ld_shlibs" >&6; }
   11418 test no = "$ld_shlibs" && can_build_shared=no
   11419 
   11420 with_gnu_ld=$with_gnu_ld
   11421 
   11422 
   11423 
   11424 
   11425 
   11426 
   11427 
   11428 
   11429 
   11430 
   11431 
   11432 
   11433 
   11434 
   11435 
   11436 #
   11437 # Do we need to explicitly link libc?
   11438 #
   11439 case "x$archive_cmds_need_lc" in
   11440 x|xyes)
   11441   # Assume -lc should be added
   11442   archive_cmds_need_lc=yes
   11443 
   11444   if test yes,yes = "$GCC,$enable_shared"; then
   11445     case $archive_cmds in
   11446     *'~'*)
   11447       # FIXME: we may have to deal with multi-command sequences.
   11448       ;;
   11449     '$CC '*)
   11450       # Test whether the compiler implicitly links with -lc since on some
   11451       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   11452       # to ld, don't add -lc before -lgcc.
   11453       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   11454 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   11455 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   11456   $as_echo_n "(cached) " >&6
   11457 else
   11458   $RM conftest*
   11459 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11460 
   11461 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11462   (eval $ac_compile) 2>&5
   11463   ac_status=$?
   11464   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11465   test $ac_status = 0; } 2>conftest.err; then
   11466 	  soname=conftest
   11467 	  lib=conftest
   11468 	  libobjs=conftest.$ac_objext
   11469 	  deplibs=
   11470 	  wl=$lt_prog_compiler_wl
   11471 	  pic_flag=$lt_prog_compiler_pic
   11472 	  compiler_flags=-v
   11473 	  linker_flags=-v
   11474 	  verstring=
   11475 	  output_objdir=.
   11476 	  libname=conftest
   11477 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   11478 	  allow_undefined_flag=
   11479 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   11480   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   11481   ac_status=$?
   11482   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11483   test $ac_status = 0; }
   11484 	  then
   11485 	    lt_cv_archive_cmds_need_lc=no
   11486 	  else
   11487 	    lt_cv_archive_cmds_need_lc=yes
   11488 	  fi
   11489 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   11490 	else
   11491 	  cat conftest.err 1>&5
   11492 	fi
   11493 	$RM conftest*
   11494 
   11495 fi
   11496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   11497 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   11498       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   11499       ;;
   11500     esac
   11501   fi
   11502   ;;
   11503 esac
   11504 
   11505 
   11506 
   11507 
   11508 
   11509 
   11510 
   11511 
   11512 
   11513 
   11514 
   11515 
   11516 
   11517 
   11518 
   11519 
   11520 
   11521 
   11522 
   11523 
   11524 
   11525 
   11526 
   11527 
   11528 
   11529 
   11530 
   11531 
   11532 
   11533 
   11534 
   11535 
   11536 
   11537 
   11538 
   11539 
   11540 
   11541 
   11542 
   11543 
   11544 
   11545 
   11546 
   11547 
   11548 
   11549 
   11550 
   11551 
   11552 
   11553 
   11554 
   11555 
   11556 
   11557 
   11558 
   11559 
   11560 
   11561 
   11562 
   11563 
   11564 
   11565 
   11566 
   11567 
   11568 
   11569 
   11570 
   11571 
   11572 
   11573 
   11574 
   11575 
   11576 
   11577 
   11578 
   11579 
   11580 
   11581 
   11582 
   11583 
   11584 
   11585 
   11586 
   11587 
   11588 
   11589 
   11590 
   11591 
   11592 
   11593 
   11594 
   11595 
   11596 
   11597 
   11598 
   11599 
   11600 
   11601 
   11602 
   11603 
   11604 
   11605 
   11606 
   11607 
   11608 
   11609 
   11610 
   11611 
   11612 
   11613 
   11614 
   11615 
   11616 
   11617 
   11618 
   11619 
   11620 
   11621 
   11622 
   11623 
   11624 
   11625 
   11626 
   11627 
   11628 
   11629 
   11630 
   11631 
   11632 
   11633 
   11634 
   11635 
   11636 
   11637 
   11638 
   11639 
   11640 
   11641 
   11642 
   11643 
   11644 
   11645 
   11646 
   11647 
   11648 
   11649 
   11650 
   11651 
   11652 
   11653 
   11654 
   11655 
   11656   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11657 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   11658 
   11659 if test yes = "$GCC"; then
   11660   case $host_os in
   11661     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   11662     *) lt_awk_arg='/^libraries:/' ;;
   11663   esac
   11664   case $host_os in
   11665     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   11666     *) lt_sed_strip_eq='s|=/|/|g' ;;
   11667   esac
   11668   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11669   case $lt_search_path_spec in
   11670   *\;*)
   11671     # if the path contains ";" then we assume it to be the separator
   11672     # otherwise default to the standard path separator (i.e. ":") - it is
   11673     # assumed that no part of a normal pathname contains ";" but that should
   11674     # okay in the real world where ";" in dirpaths is itself problematic.
   11675     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11676     ;;
   11677   *)
   11678     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11679     ;;
   11680   esac
   11681   # Ok, now we have the path, separated by spaces, we can step through it
   11682   # and add multilib dir if necessary...
   11683   lt_tmp_lt_search_path_spec=
   11684   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11685   # ...but if some path component already ends with the multilib dir we assume
   11686   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   11687   case "$lt_multi_os_dir; $lt_search_path_spec " in
   11688   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   11689     lt_multi_os_dir=
   11690     ;;
   11691   esac
   11692   for lt_sys_path in $lt_search_path_spec; do
   11693     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   11694       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   11695     elif test -n "$lt_multi_os_dir"; then
   11696       test -d "$lt_sys_path" && \
   11697 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11698     fi
   11699   done
   11700   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11701 BEGIN {RS = " "; FS = "/|\n";} {
   11702   lt_foo = "";
   11703   lt_count = 0;
   11704   for (lt_i = NF; lt_i > 0; lt_i--) {
   11705     if ($lt_i != "" && $lt_i != ".") {
   11706       if ($lt_i == "..") {
   11707         lt_count++;
   11708       } else {
   11709         if (lt_count == 0) {
   11710           lt_foo = "/" $lt_i lt_foo;
   11711         } else {
   11712           lt_count--;
   11713         }
   11714       }
   11715     }
   11716   }
   11717   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11718   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11719 }'`
   11720   # AWK program above erroneously prepends '/' to C:/dos/paths
   11721   # for these hosts.
   11722   case $host_os in
   11723     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11724       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   11725   esac
   11726   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11727 else
   11728   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11729 fi
   11730 library_names_spec=
   11731 libname_spec='lib$name'
   11732 soname_spec=
   11733 shrext_cmds=.so
   11734 postinstall_cmds=
   11735 postuninstall_cmds=
   11736 finish_cmds=
   11737 finish_eval=
   11738 shlibpath_var=
   11739 shlibpath_overrides_runpath=unknown
   11740 version_type=none
   11741 dynamic_linker="$host_os ld.so"
   11742 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11743 need_lib_prefix=unknown
   11744 hardcode_into_libs=no
   11745 
   11746 # when you set need_version to no, make sure it does not cause -set_version
   11747 # flags to be left without arguments
   11748 need_version=unknown
   11749 
   11750 
   11751 
   11752 case $host_os in
   11753 aix3*)
   11754   version_type=linux # correct to gnu/linux during the next big refactor
   11755   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   11756   shlibpath_var=LIBPATH
   11757 
   11758   # AIX 3 has no versioning support, so we append a major version to the name.
   11759   soname_spec='$libname$release$shared_ext$major'
   11760   ;;
   11761 
   11762 aix[4-9]*)
   11763   version_type=linux # correct to gnu/linux during the next big refactor
   11764   need_lib_prefix=no
   11765   need_version=no
   11766   hardcode_into_libs=yes
   11767   if test ia64 = "$host_cpu"; then
   11768     # AIX 5 supports IA64
   11769     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   11770     shlibpath_var=LD_LIBRARY_PATH
   11771   else
   11772     # With GCC up to 2.95.x, collect2 would create an import file
   11773     # for dependence libraries.  The import file would start with
   11774     # the line '#! .'.  This would cause the generated library to
   11775     # depend on '.', always an invalid library.  This was fixed in
   11776     # development snapshots of GCC prior to 3.0.
   11777     case $host_os in
   11778       aix4 | aix4.[01] | aix4.[01].*)
   11779       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11780 	   echo ' yes '
   11781 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   11782 	:
   11783       else
   11784 	can_build_shared=no
   11785       fi
   11786       ;;
   11787     esac
   11788     # Using Import Files as archive members, it is possible to support
   11789     # filename-based versioning of shared library archives on AIX. While
   11790     # this would work for both with and without runtime linking, it will
   11791     # prevent static linking of such archives. So we do filename-based
   11792     # shared library versioning with .so extension only, which is used
   11793     # when both runtime linking and shared linking is enabled.
   11794     # Unfortunately, runtime linking may impact performance, so we do
   11795     # not want this to be the default eventually. Also, we use the
   11796     # versioned .so libs for executables only if there is the -brtl
   11797     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   11798     # To allow for filename-based versioning support, we need to create
   11799     # libNAME.so.V as an archive file, containing:
   11800     # *) an Import File, referring to the versioned filename of the
   11801     #    archive as well as the shared archive member, telling the
   11802     #    bitwidth (32 or 64) of that shared object, and providing the
   11803     #    list of exported symbols of that shared object, eventually
   11804     #    decorated with the 'weak' keyword
   11805     # *) the shared object with the F_LOADONLY flag set, to really avoid
   11806     #    it being seen by the linker.
   11807     # At run time we better use the real file rather than another symlink,
   11808     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   11809 
   11810     case $with_aix_soname,$aix_use_runtimelinking in
   11811     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   11812     # soname into executable. Probably we can add versioning support to
   11813     # collect2, so additional links can be useful in future.
   11814     aix,yes) # traditional libtool
   11815       dynamic_linker='AIX unversionable lib.so'
   11816       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11817       # instead of lib<name>.a to let people know that these are not
   11818       # typical AIX shared libraries.
   11819       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11820       ;;
   11821     aix,no) # traditional AIX only
   11822       dynamic_linker='AIX lib.a(lib.so.V)'
   11823       # We preserve .a as extension for shared libraries through AIX4.2
   11824       # and later when we are not doing run time linking.
   11825       library_names_spec='$libname$release.a $libname.a'
   11826       soname_spec='$libname$release$shared_ext$major'
   11827       ;;
   11828     svr4,*) # full svr4 only
   11829       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   11830       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11831       # We do not specify a path in Import Files, so LIBPATH fires.
   11832       shlibpath_overrides_runpath=yes
   11833       ;;
   11834     *,yes) # both, prefer svr4
   11835       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   11836       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11837       # unpreferred sharedlib libNAME.a needs extra handling
   11838       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"'
   11839       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"'
   11840       # We do not specify a path in Import Files, so LIBPATH fires.
   11841       shlibpath_overrides_runpath=yes
   11842       ;;
   11843     *,no) # both, prefer aix
   11844       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   11845       library_names_spec='$libname$release.a $libname.a'
   11846       soname_spec='$libname$release$shared_ext$major'
   11847       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   11848       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)'
   11849       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"'
   11850       ;;
   11851     esac
   11852     shlibpath_var=LIBPATH
   11853   fi
   11854   ;;
   11855 
   11856 amigaos*)
   11857   case $host_cpu in
   11858   powerpc)
   11859     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11860     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11861     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11862     ;;
   11863   m68k)
   11864     library_names_spec='$libname.ixlibrary $libname.a'
   11865     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11866     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'
   11867     ;;
   11868   esac
   11869   ;;
   11870 
   11871 beos*)
   11872   library_names_spec='$libname$shared_ext'
   11873   dynamic_linker="$host_os ld.so"
   11874   shlibpath_var=LIBRARY_PATH
   11875   ;;
   11876 
   11877 bsdi[45]*)
   11878   version_type=linux # correct to gnu/linux during the next big refactor
   11879   need_version=no
   11880   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11881   soname_spec='$libname$release$shared_ext$major'
   11882   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11883   shlibpath_var=LD_LIBRARY_PATH
   11884   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11885   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11886   # the default ld.so.conf also contains /usr/contrib/lib and
   11887   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11888   # libtool to hard-code these into programs
   11889   ;;
   11890 
   11891 cygwin* | mingw* | pw32* | cegcc*)
   11892   version_type=windows
   11893   shrext_cmds=.dll
   11894   need_version=no
   11895   need_lib_prefix=no
   11896 
   11897   case $GCC,$cc_basename in
   11898   yes,*)
   11899     # gcc
   11900     library_names_spec='$libname.dll.a'
   11901     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11902     postinstall_cmds='base_file=`basename \$file`~
   11903       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11904       dldir=$destdir/`dirname \$dlpath`~
   11905       test -d \$dldir || mkdir -p \$dldir~
   11906       $install_prog $dir/$dlname \$dldir/$dlname~
   11907       chmod a+x \$dldir/$dlname~
   11908       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11909         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11910       fi'
   11911     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11912       dlpath=$dir/\$dldll~
   11913        $RM \$dlpath'
   11914     shlibpath_overrides_runpath=yes
   11915 
   11916     case $host_os in
   11917     cygwin*)
   11918       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11919       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11920 
   11921       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11922       ;;
   11923     mingw* | cegcc*)
   11924       # MinGW DLLs use traditional 'lib' prefix
   11925       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11926       ;;
   11927     pw32*)
   11928       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11929       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11930       ;;
   11931     esac
   11932     dynamic_linker='Win32 ld.exe'
   11933     ;;
   11934 
   11935   *,cl*)
   11936     # Native MSVC
   11937     libname_spec='$name'
   11938     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11939     library_names_spec='$libname.dll.lib'
   11940 
   11941     case $build_os in
   11942     mingw*)
   11943       sys_lib_search_path_spec=
   11944       lt_save_ifs=$IFS
   11945       IFS=';'
   11946       for lt_path in $LIB
   11947       do
   11948         IFS=$lt_save_ifs
   11949         # Let DOS variable expansion print the short 8.3 style file name.
   11950         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   11951         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   11952       done
   11953       IFS=$lt_save_ifs
   11954       # Convert to MSYS style.
   11955       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   11956       ;;
   11957     cygwin*)
   11958       # Convert to unix form, then to dos form, then back to unix form
   11959       # but this time dos style (no spaces!) so that the unix form looks
   11960       # like /cygdrive/c/PROGRA~1:/cygdr...
   11961       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   11962       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   11963       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11964       ;;
   11965     *)
   11966       sys_lib_search_path_spec=$LIB
   11967       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   11968         # It is most probably a Windows format PATH.
   11969         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   11970       else
   11971         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11972       fi
   11973       # FIXME: find the short name or the path components, as spaces are
   11974       # common. (e.g. "Program Files" -> "PROGRA~1")
   11975       ;;
   11976     esac
   11977 
   11978     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11979     postinstall_cmds='base_file=`basename \$file`~
   11980       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11981       dldir=$destdir/`dirname \$dlpath`~
   11982       test -d \$dldir || mkdir -p \$dldir~
   11983       $install_prog $dir/$dlname \$dldir/$dlname'
   11984     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11985       dlpath=$dir/\$dldll~
   11986        $RM \$dlpath'
   11987     shlibpath_overrides_runpath=yes
   11988     dynamic_linker='Win32 link.exe'
   11989     ;;
   11990 
   11991   *)
   11992     # Assume MSVC wrapper
   11993     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   11994     dynamic_linker='Win32 ld.exe'
   11995     ;;
   11996   esac
   11997   # FIXME: first we should search . and the directory the executable is in
   11998   shlibpath_var=PATH
   11999   ;;
   12000 
   12001 darwin* | rhapsody*)
   12002   dynamic_linker="$host_os dyld"
   12003   version_type=darwin
   12004   need_lib_prefix=no
   12005   need_version=no
   12006   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   12007   soname_spec='$libname$release$major$shared_ext'
   12008   shlibpath_overrides_runpath=yes
   12009   shlibpath_var=DYLD_LIBRARY_PATH
   12010   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   12011 
   12012   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   12013   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   12014   ;;
   12015 
   12016 dgux*)
   12017   version_type=linux # correct to gnu/linux during the next big refactor
   12018   need_lib_prefix=no
   12019   need_version=no
   12020   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12021   soname_spec='$libname$release$shared_ext$major'
   12022   shlibpath_var=LD_LIBRARY_PATH
   12023   ;;
   12024 
   12025 freebsd* | dragonfly*)
   12026   # DragonFly does not have aout.  When/if they implement a new
   12027   # versioning mechanism, adjust this.
   12028   if test -x /usr/bin/objformat; then
   12029     objformat=`/usr/bin/objformat`
   12030   else
   12031     case $host_os in
   12032     freebsd[23].*) objformat=aout ;;
   12033     *) objformat=elf ;;
   12034     esac
   12035   fi
   12036   version_type=freebsd-$objformat
   12037   case $version_type in
   12038     freebsd-elf*)
   12039       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12040       soname_spec='$libname$release$shared_ext$major'
   12041       need_version=no
   12042       need_lib_prefix=no
   12043       ;;
   12044     freebsd-*)
   12045       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12046       need_version=yes
   12047       ;;
   12048   esac
   12049   shlibpath_var=LD_LIBRARY_PATH
   12050   case $host_os in
   12051   freebsd2.*)
   12052     shlibpath_overrides_runpath=yes
   12053     ;;
   12054   freebsd3.[01]* | freebsdelf3.[01]*)
   12055     shlibpath_overrides_runpath=yes
   12056     hardcode_into_libs=yes
   12057     ;;
   12058   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   12059   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   12060     shlibpath_overrides_runpath=no
   12061     hardcode_into_libs=yes
   12062     ;;
   12063   *) # from 4.6 on, and DragonFly
   12064     shlibpath_overrides_runpath=yes
   12065     hardcode_into_libs=yes
   12066     ;;
   12067   esac
   12068   ;;
   12069 
   12070 haiku*)
   12071   version_type=linux # correct to gnu/linux during the next big refactor
   12072   need_lib_prefix=no
   12073   need_version=no
   12074   dynamic_linker="$host_os runtime_loader"
   12075   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12076   soname_spec='$libname$release$shared_ext$major'
   12077   shlibpath_var=LIBRARY_PATH
   12078   shlibpath_overrides_runpath=no
   12079   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   12080   hardcode_into_libs=yes
   12081   ;;
   12082 
   12083 hpux9* | hpux10* | hpux11*)
   12084   # Give a soname corresponding to the major version so that dld.sl refuses to
   12085   # link against other versions.
   12086   version_type=sunos
   12087   need_lib_prefix=no
   12088   need_version=no
   12089   case $host_cpu in
   12090   ia64*)
   12091     shrext_cmds='.so'
   12092     hardcode_into_libs=yes
   12093     dynamic_linker="$host_os dld.so"
   12094     shlibpath_var=LD_LIBRARY_PATH
   12095     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12096     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12097     soname_spec='$libname$release$shared_ext$major'
   12098     if test 32 = "$HPUX_IA64_MODE"; then
   12099       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   12100       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   12101     else
   12102       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   12103       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   12104     fi
   12105     ;;
   12106   hppa*64*)
   12107     shrext_cmds='.sl'
   12108     hardcode_into_libs=yes
   12109     dynamic_linker="$host_os dld.sl"
   12110     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   12111     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12112     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12113     soname_spec='$libname$release$shared_ext$major'
   12114     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   12115     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12116     ;;
   12117   *)
   12118     shrext_cmds='.sl'
   12119     dynamic_linker="$host_os dld.sl"
   12120     shlibpath_var=SHLIB_PATH
   12121     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   12122     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12123     soname_spec='$libname$release$shared_ext$major'
   12124     ;;
   12125   esac
   12126   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   12127   postinstall_cmds='chmod 555 $lib'
   12128   # or fails outright, so override atomically:
   12129   install_override_mode=555
   12130   ;;
   12131 
   12132 interix[3-9]*)
   12133   version_type=linux # correct to gnu/linux during the next big refactor
   12134   need_lib_prefix=no
   12135   need_version=no
   12136   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12137   soname_spec='$libname$release$shared_ext$major'
   12138   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   12139   shlibpath_var=LD_LIBRARY_PATH
   12140   shlibpath_overrides_runpath=no
   12141   hardcode_into_libs=yes
   12142   ;;
   12143 
   12144 irix5* | irix6* | nonstopux*)
   12145   case $host_os in
   12146     nonstopux*) version_type=nonstopux ;;
   12147     *)
   12148 	if test yes = "$lt_cv_prog_gnu_ld"; then
   12149 		version_type=linux # correct to gnu/linux during the next big refactor
   12150 	else
   12151 		version_type=irix
   12152 	fi ;;
   12153   esac
   12154   need_lib_prefix=no
   12155   need_version=no
   12156   soname_spec='$libname$release$shared_ext$major'
   12157   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   12158   case $host_os in
   12159   irix5* | nonstopux*)
   12160     libsuff= shlibsuff=
   12161     ;;
   12162   *)
   12163     case $LD in # libtool.m4 will add one of these switches to LD
   12164     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   12165       libsuff= shlibsuff= libmagic=32-bit;;
   12166     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   12167       libsuff=32 shlibsuff=N32 libmagic=N32;;
   12168     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   12169       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   12170     *) libsuff= shlibsuff= libmagic=never-match;;
   12171     esac
   12172     ;;
   12173   esac
   12174   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   12175   shlibpath_overrides_runpath=no
   12176   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   12177   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   12178   hardcode_into_libs=yes
   12179   ;;
   12180 
   12181 # No shared lib support for Linux oldld, aout, or coff.
   12182 linux*oldld* | linux*aout* | linux*coff*)
   12183   dynamic_linker=no
   12184   ;;
   12185 
   12186 linux*android*)
   12187   version_type=none # Android doesn't support versioned libraries.
   12188   need_lib_prefix=no
   12189   need_version=no
   12190   library_names_spec='$libname$release$shared_ext'
   12191   soname_spec='$libname$release$shared_ext'
   12192   finish_cmds=
   12193   shlibpath_var=LD_LIBRARY_PATH
   12194   shlibpath_overrides_runpath=yes
   12195 
   12196   # This implies no fast_install, which is unacceptable.
   12197   # Some rework will be needed to allow for fast_install
   12198   # before this can be enabled.
   12199   hardcode_into_libs=yes
   12200 
   12201   dynamic_linker='Android linker'
   12202   # Don't embed -rpath directories since the linker doesn't support them.
   12203   hardcode_libdir_flag_spec='-L$libdir'
   12204   ;;
   12205 
   12206 # This must be glibc/ELF.
   12207 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12208   version_type=linux # correct to gnu/linux during the next big refactor
   12209   need_lib_prefix=no
   12210   need_version=no
   12211   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12212   soname_spec='$libname$release$shared_ext$major'
   12213   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   12214   shlibpath_var=LD_LIBRARY_PATH
   12215   shlibpath_overrides_runpath=no
   12216 
   12217   # Some binutils ld are patched to set DT_RUNPATH
   12218   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   12219   $as_echo_n "(cached) " >&6
   12220 else
   12221   lt_cv_shlibpath_overrides_runpath=no
   12222     save_LDFLAGS=$LDFLAGS
   12223     save_libdir=$libdir
   12224     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   12225 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   12226     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12227 /* end confdefs.h.  */
   12228 
   12229 int
   12230 main ()
   12231 {
   12232 
   12233   ;
   12234   return 0;
   12235 }
   12236 _ACEOF
   12237 if ac_fn_c_try_link "$LINENO"; then :
   12238   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   12239   lt_cv_shlibpath_overrides_runpath=yes
   12240 fi
   12241 fi
   12242 rm -f core conftest.err conftest.$ac_objext \
   12243     conftest$ac_exeext conftest.$ac_ext
   12244     LDFLAGS=$save_LDFLAGS
   12245     libdir=$save_libdir
   12246 
   12247 fi
   12248 
   12249   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   12250 
   12251   # This implies no fast_install, which is unacceptable.
   12252   # Some rework will be needed to allow for fast_install
   12253   # before this can be enabled.
   12254   hardcode_into_libs=yes
   12255 
   12256   # Add ABI-specific directories to the system library path.
   12257   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
   12258 
   12259   # Ideally, we could use ldconfig to report *all* directores which are
   12260   # searched for libraries, however this is still not possible.  Aside from not
   12261   # being certain /sbin/ldconfig is available, command
   12262   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   12263   # even though it is searched at run-time.  Try to do the best guess by
   12264   # appending ld.so.conf contents (and includes) to the search path.
   12265   if test -f /etc/ld.so.conf; then
   12266     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' ' '`
   12267     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   12268   fi
   12269 
   12270   # We used to test for /lib/ld.so.1 and disable shared libraries on
   12271   # powerpc, because MkLinux only supported shared libraries with the
   12272   # GNU dynamic linker.  Since this was broken with cross compilers,
   12273   # most powerpc-linux boxes support dynamic linking these days and
   12274   # people can always --disable-shared, the test was removed, and we
   12275   # assume the GNU/Linux dynamic linker is in use.
   12276   dynamic_linker='GNU/Linux ld.so'
   12277   ;;
   12278 
   12279 netbsd*)
   12280   version_type=sunos
   12281   need_lib_prefix=no
   12282   need_version=no
   12283   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   12284     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12285     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12286     dynamic_linker='NetBSD (a.out) ld.so'
   12287   else
   12288     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12289     soname_spec='$libname$release$shared_ext$major'
   12290     dynamic_linker='NetBSD ld.elf_so'
   12291   fi
   12292   shlibpath_var=LD_LIBRARY_PATH
   12293   shlibpath_overrides_runpath=yes
   12294   hardcode_into_libs=yes
   12295   ;;
   12296 
   12297 newsos6)
   12298   version_type=linux # correct to gnu/linux during the next big refactor
   12299   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12300   shlibpath_var=LD_LIBRARY_PATH
   12301   shlibpath_overrides_runpath=yes
   12302   ;;
   12303 
   12304 *nto* | *qnx*)
   12305   version_type=qnx
   12306   need_lib_prefix=no
   12307   need_version=no
   12308   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12309   soname_spec='$libname$release$shared_ext$major'
   12310   shlibpath_var=LD_LIBRARY_PATH
   12311   shlibpath_overrides_runpath=no
   12312   hardcode_into_libs=yes
   12313   dynamic_linker='ldqnx.so'
   12314   ;;
   12315 
   12316 openbsd* | bitrig*)
   12317   version_type=sunos
   12318   sys_lib_dlsearch_path_spec=/usr/lib
   12319   need_lib_prefix=no
   12320   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12321     need_version=no
   12322   else
   12323     need_version=yes
   12324   fi
   12325   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12326   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12327   shlibpath_var=LD_LIBRARY_PATH
   12328   shlibpath_overrides_runpath=yes
   12329   ;;
   12330 
   12331 os2*)
   12332   libname_spec='$name'
   12333   version_type=windows
   12334   shrext_cmds=.dll
   12335   need_version=no
   12336   need_lib_prefix=no
   12337   # OS/2 can only load a DLL with a base name of 8 characters or less.
   12338   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   12339     v=$($ECHO $release$versuffix | tr -d .-);
   12340     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   12341     $ECHO $n$v`$shared_ext'
   12342   library_names_spec='${libname}_dll.$libext'
   12343   dynamic_linker='OS/2 ld.exe'
   12344   shlibpath_var=BEGINLIBPATH
   12345   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12346   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12347   postinstall_cmds='base_file=`basename \$file`~
   12348     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   12349     dldir=$destdir/`dirname \$dlpath`~
   12350     test -d \$dldir || mkdir -p \$dldir~
   12351     $install_prog $dir/$dlname \$dldir/$dlname~
   12352     chmod a+x \$dldir/$dlname~
   12353     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12354       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   12355     fi'
   12356   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   12357     dlpath=$dir/\$dldll~
   12358     $RM \$dlpath'
   12359   ;;
   12360 
   12361 osf3* | osf4* | osf5*)
   12362   version_type=osf
   12363   need_lib_prefix=no
   12364   need_version=no
   12365   soname_spec='$libname$release$shared_ext$major'
   12366   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12367   shlibpath_var=LD_LIBRARY_PATH
   12368   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   12369   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12370   ;;
   12371 
   12372 rdos*)
   12373   dynamic_linker=no
   12374   ;;
   12375 
   12376 solaris*)
   12377   version_type=linux # correct to gnu/linux during the next big refactor
   12378   need_lib_prefix=no
   12379   need_version=no
   12380   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12381   soname_spec='$libname$release$shared_ext$major'
   12382   shlibpath_var=LD_LIBRARY_PATH
   12383   shlibpath_overrides_runpath=yes
   12384   hardcode_into_libs=yes
   12385   # ldd complains unless libraries are executable
   12386   postinstall_cmds='chmod +x $lib'
   12387   ;;
   12388 
   12389 sunos4*)
   12390   version_type=sunos
   12391   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12392   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   12393   shlibpath_var=LD_LIBRARY_PATH
   12394   shlibpath_overrides_runpath=yes
   12395   if test yes = "$with_gnu_ld"; then
   12396     need_lib_prefix=no
   12397   fi
   12398   need_version=yes
   12399   ;;
   12400 
   12401 sysv4 | sysv4.3*)
   12402   version_type=linux # correct to gnu/linux during the next big refactor
   12403   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12404   soname_spec='$libname$release$shared_ext$major'
   12405   shlibpath_var=LD_LIBRARY_PATH
   12406   case $host_vendor in
   12407     sni)
   12408       shlibpath_overrides_runpath=no
   12409       need_lib_prefix=no
   12410       runpath_var=LD_RUN_PATH
   12411       ;;
   12412     siemens)
   12413       need_lib_prefix=no
   12414       ;;
   12415     motorola)
   12416       need_lib_prefix=no
   12417       need_version=no
   12418       shlibpath_overrides_runpath=no
   12419       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   12420       ;;
   12421   esac
   12422   ;;
   12423 
   12424 sysv4*MP*)
   12425   if test -d /usr/nec; then
   12426     version_type=linux # correct to gnu/linux during the next big refactor
   12427     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   12428     soname_spec='$libname$shared_ext.$major'
   12429     shlibpath_var=LD_LIBRARY_PATH
   12430   fi
   12431   ;;
   12432 
   12433 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12434   version_type=sco
   12435   need_lib_prefix=no
   12436   need_version=no
   12437   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   12438   soname_spec='$libname$release$shared_ext$major'
   12439   shlibpath_var=LD_LIBRARY_PATH
   12440   shlibpath_overrides_runpath=yes
   12441   hardcode_into_libs=yes
   12442   if test yes = "$with_gnu_ld"; then
   12443     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   12444   else
   12445     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   12446     case $host_os in
   12447       sco3.2v5*)
   12448         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   12449 	;;
   12450     esac
   12451   fi
   12452   sys_lib_dlsearch_path_spec='/usr/lib'
   12453   ;;
   12454 
   12455 tpf*)
   12456   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   12457   version_type=linux # correct to gnu/linux during the next big refactor
   12458   need_lib_prefix=no
   12459   need_version=no
   12460   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12461   shlibpath_var=LD_LIBRARY_PATH
   12462   shlibpath_overrides_runpath=no
   12463   hardcode_into_libs=yes
   12464   ;;
   12465 
   12466 uts4*)
   12467   version_type=linux # correct to gnu/linux during the next big refactor
   12468   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12469   soname_spec='$libname$release$shared_ext$major'
   12470   shlibpath_var=LD_LIBRARY_PATH
   12471   ;;
   12472 
   12473 *)
   12474   dynamic_linker=no
   12475   ;;
   12476 esac
   12477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   12478 $as_echo "$dynamic_linker" >&6; }
   12479 test no = "$dynamic_linker" && can_build_shared=no
   12480 
   12481 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   12482 if test yes = "$GCC"; then
   12483   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   12484 fi
   12485 
   12486 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   12487   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   12488 fi
   12489 
   12490 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   12491   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   12492 fi
   12493 
   12494 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   12495 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   12496 
   12497 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   12498 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   12499 
   12500 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   12501 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   12502 
   12503 
   12504 
   12505 
   12506 
   12507 
   12508 
   12509 
   12510 
   12511 
   12512 
   12513 
   12514 
   12515 
   12516 
   12517 
   12518 
   12519 
   12520 
   12521 
   12522 
   12523 
   12524 
   12525 
   12526 
   12527 
   12528 
   12529 
   12530 
   12531 
   12532 
   12533 
   12534 
   12535 
   12536 
   12537 
   12538 
   12539 
   12540 
   12541 
   12542 
   12543 
   12544 
   12545 
   12546 
   12547 
   12548 
   12549 
   12550 
   12551 
   12552 
   12553 
   12554 
   12555 
   12556 
   12557 
   12558 
   12559 
   12560 
   12561 
   12562 
   12563 
   12564 
   12565 
   12566 
   12567 
   12568 
   12569 
   12570 
   12571 
   12572 
   12573 
   12574 
   12575 
   12576 
   12577 
   12578 
   12579 
   12580 
   12581 
   12582 
   12583 
   12584 
   12585 
   12586 
   12587 
   12588 
   12589 
   12590 
   12591 
   12592 
   12593 
   12594 
   12595 
   12596 
   12597 
   12598 
   12599   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   12600 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   12601 hardcode_action=
   12602 if test -n "$hardcode_libdir_flag_spec" ||
   12603    test -n "$runpath_var" ||
   12604    test yes = "$hardcode_automatic"; then
   12605 
   12606   # We can hardcode non-existent directories.
   12607   if test no != "$hardcode_direct" &&
   12608      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   12609      # have to relink, otherwise we might link with an installed library
   12610      # when we should be linking with a yet-to-be-installed one
   12611      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   12612      test no != "$hardcode_minus_L"; then
   12613     # Linking always hardcodes the temporary library directory.
   12614     hardcode_action=relink
   12615   else
   12616     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   12617     hardcode_action=immediate
   12618   fi
   12619 else
   12620   # We cannot hardcode anything, or else we can only hardcode existing
   12621   # directories.
   12622   hardcode_action=unsupported
   12623 fi
   12624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   12625 $as_echo "$hardcode_action" >&6; }
   12626 
   12627 if test relink = "$hardcode_action" ||
   12628    test yes = "$inherit_rpath"; then
   12629   # Fast installation is not supported
   12630   enable_fast_install=no
   12631 elif test yes = "$shlibpath_overrides_runpath" ||
   12632      test no = "$enable_shared"; then
   12633   # Fast installation is not necessary
   12634   enable_fast_install=needless
   12635 fi
   12636 
   12637 
   12638 
   12639 
   12640 
   12641 
   12642   if test yes != "$enable_dlopen"; then
   12643   enable_dlopen=unknown
   12644   enable_dlopen_self=unknown
   12645   enable_dlopen_self_static=unknown
   12646 else
   12647   lt_cv_dlopen=no
   12648   lt_cv_dlopen_libs=
   12649 
   12650   case $host_os in
   12651   beos*)
   12652     lt_cv_dlopen=load_add_on
   12653     lt_cv_dlopen_libs=
   12654     lt_cv_dlopen_self=yes
   12655     ;;
   12656 
   12657   mingw* | pw32* | cegcc*)
   12658     lt_cv_dlopen=LoadLibrary
   12659     lt_cv_dlopen_libs=
   12660     ;;
   12661 
   12662   cygwin*)
   12663     lt_cv_dlopen=dlopen
   12664     lt_cv_dlopen_libs=
   12665     ;;
   12666 
   12667   darwin*)
   12668     # if libdl is installed we need to link against it
   12669     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12670 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   12671 if ${ac_cv_lib_dl_dlopen+:} false; then :
   12672   $as_echo_n "(cached) " >&6
   12673 else
   12674   ac_check_lib_save_LIBS=$LIBS
   12675 LIBS="-ldl  $LIBS"
   12676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12677 /* end confdefs.h.  */
   12678 
   12679 /* Override any GCC internal prototype to avoid an error.
   12680    Use char because int might match the return type of a GCC
   12681    builtin and then its argument prototype would still apply.  */
   12682 #ifdef __cplusplus
   12683 extern "C"
   12684 #endif
   12685 char dlopen ();
   12686 int
   12687 main ()
   12688 {
   12689 return dlopen ();
   12690   ;
   12691   return 0;
   12692 }
   12693 _ACEOF
   12694 if ac_fn_c_try_link "$LINENO"; then :
   12695   ac_cv_lib_dl_dlopen=yes
   12696 else
   12697   ac_cv_lib_dl_dlopen=no
   12698 fi
   12699 rm -f core conftest.err conftest.$ac_objext \
   12700     conftest$ac_exeext conftest.$ac_ext
   12701 LIBS=$ac_check_lib_save_LIBS
   12702 fi
   12703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12704 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   12705 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   12706   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12707 else
   12708 
   12709     lt_cv_dlopen=dyld
   12710     lt_cv_dlopen_libs=
   12711     lt_cv_dlopen_self=yes
   12712 
   12713 fi
   12714 
   12715     ;;
   12716 
   12717   tpf*)
   12718     # Don't try to run any link tests for TPF.  We know it's impossible
   12719     # because TPF is a cross-compiler, and we know how we open DSOs.
   12720     lt_cv_dlopen=dlopen
   12721     lt_cv_dlopen_libs=
   12722     lt_cv_dlopen_self=no
   12723     ;;
   12724 
   12725   *)
   12726     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   12727 if test "x$ac_cv_func_shl_load" = xyes; then :
   12728   lt_cv_dlopen=shl_load
   12729 else
   12730   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   12731 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   12732 if ${ac_cv_lib_dld_shl_load+:} false; then :
   12733   $as_echo_n "(cached) " >&6
   12734 else
   12735   ac_check_lib_save_LIBS=$LIBS
   12736 LIBS="-ldld  $LIBS"
   12737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12738 /* end confdefs.h.  */
   12739 
   12740 /* Override any GCC internal prototype to avoid an error.
   12741    Use char because int might match the return type of a GCC
   12742    builtin and then its argument prototype would still apply.  */
   12743 #ifdef __cplusplus
   12744 extern "C"
   12745 #endif
   12746 char shl_load ();
   12747 int
   12748 main ()
   12749 {
   12750 return shl_load ();
   12751   ;
   12752   return 0;
   12753 }
   12754 _ACEOF
   12755 if ac_fn_c_try_link "$LINENO"; then :
   12756   ac_cv_lib_dld_shl_load=yes
   12757 else
   12758   ac_cv_lib_dld_shl_load=no
   12759 fi
   12760 rm -f core conftest.err conftest.$ac_objext \
   12761     conftest$ac_exeext conftest.$ac_ext
   12762 LIBS=$ac_check_lib_save_LIBS
   12763 fi
   12764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   12765 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   12766 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   12767   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   12768 else
   12769   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   12770 if test "x$ac_cv_func_dlopen" = xyes; then :
   12771   lt_cv_dlopen=dlopen
   12772 else
   12773   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12774 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   12775 if ${ac_cv_lib_dl_dlopen+:} false; then :
   12776   $as_echo_n "(cached) " >&6
   12777 else
   12778   ac_check_lib_save_LIBS=$LIBS
   12779 LIBS="-ldl  $LIBS"
   12780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12781 /* end confdefs.h.  */
   12782 
   12783 /* Override any GCC internal prototype to avoid an error.
   12784    Use char because int might match the return type of a GCC
   12785    builtin and then its argument prototype would still apply.  */
   12786 #ifdef __cplusplus
   12787 extern "C"
   12788 #endif
   12789 char dlopen ();
   12790 int
   12791 main ()
   12792 {
   12793 return dlopen ();
   12794   ;
   12795   return 0;
   12796 }
   12797 _ACEOF
   12798 if ac_fn_c_try_link "$LINENO"; then :
   12799   ac_cv_lib_dl_dlopen=yes
   12800 else
   12801   ac_cv_lib_dl_dlopen=no
   12802 fi
   12803 rm -f core conftest.err conftest.$ac_objext \
   12804     conftest$ac_exeext conftest.$ac_ext
   12805 LIBS=$ac_check_lib_save_LIBS
   12806 fi
   12807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12808 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   12809 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   12810   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12811 else
   12812   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   12813 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   12814 if ${ac_cv_lib_svld_dlopen+:} false; then :
   12815   $as_echo_n "(cached) " >&6
   12816 else
   12817   ac_check_lib_save_LIBS=$LIBS
   12818 LIBS="-lsvld  $LIBS"
   12819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12820 /* end confdefs.h.  */
   12821 
   12822 /* Override any GCC internal prototype to avoid an error.
   12823    Use char because int might match the return type of a GCC
   12824    builtin and then its argument prototype would still apply.  */
   12825 #ifdef __cplusplus
   12826 extern "C"
   12827 #endif
   12828 char dlopen ();
   12829 int
   12830 main ()
   12831 {
   12832 return dlopen ();
   12833   ;
   12834   return 0;
   12835 }
   12836 _ACEOF
   12837 if ac_fn_c_try_link "$LINENO"; then :
   12838   ac_cv_lib_svld_dlopen=yes
   12839 else
   12840   ac_cv_lib_svld_dlopen=no
   12841 fi
   12842 rm -f core conftest.err conftest.$ac_objext \
   12843     conftest$ac_exeext conftest.$ac_ext
   12844 LIBS=$ac_check_lib_save_LIBS
   12845 fi
   12846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   12847 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   12848 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   12849   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   12850 else
   12851   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   12852 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   12853 if ${ac_cv_lib_dld_dld_link+:} false; then :
   12854   $as_echo_n "(cached) " >&6
   12855 else
   12856   ac_check_lib_save_LIBS=$LIBS
   12857 LIBS="-ldld  $LIBS"
   12858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12859 /* end confdefs.h.  */
   12860 
   12861 /* Override any GCC internal prototype to avoid an error.
   12862    Use char because int might match the return type of a GCC
   12863    builtin and then its argument prototype would still apply.  */
   12864 #ifdef __cplusplus
   12865 extern "C"
   12866 #endif
   12867 char dld_link ();
   12868 int
   12869 main ()
   12870 {
   12871 return dld_link ();
   12872   ;
   12873   return 0;
   12874 }
   12875 _ACEOF
   12876 if ac_fn_c_try_link "$LINENO"; then :
   12877   ac_cv_lib_dld_dld_link=yes
   12878 else
   12879   ac_cv_lib_dld_dld_link=no
   12880 fi
   12881 rm -f core conftest.err conftest.$ac_objext \
   12882     conftest$ac_exeext conftest.$ac_ext
   12883 LIBS=$ac_check_lib_save_LIBS
   12884 fi
   12885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   12886 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   12887 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   12888   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   12889 fi
   12890 
   12891 
   12892 fi
   12893 
   12894 
   12895 fi
   12896 
   12897 
   12898 fi
   12899 
   12900 
   12901 fi
   12902 
   12903 
   12904 fi
   12905 
   12906     ;;
   12907   esac
   12908 
   12909   if test no = "$lt_cv_dlopen"; then
   12910     enable_dlopen=no
   12911   else
   12912     enable_dlopen=yes
   12913   fi
   12914 
   12915   case $lt_cv_dlopen in
   12916   dlopen)
   12917     save_CPPFLAGS=$CPPFLAGS
   12918     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   12919 
   12920     save_LDFLAGS=$LDFLAGS
   12921     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   12922 
   12923     save_LIBS=$LIBS
   12924     LIBS="$lt_cv_dlopen_libs $LIBS"
   12925 
   12926     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   12927 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   12928 if ${lt_cv_dlopen_self+:} false; then :
   12929   $as_echo_n "(cached) " >&6
   12930 else
   12931   	  if test yes = "$cross_compiling"; then :
   12932   lt_cv_dlopen_self=cross
   12933 else
   12934   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12935   lt_status=$lt_dlunknown
   12936   cat > conftest.$ac_ext <<_LT_EOF
   12937 #line $LINENO "configure"
   12938 #include "confdefs.h"
   12939 
   12940 #if HAVE_DLFCN_H
   12941 #include <dlfcn.h>
   12942 #endif
   12943 
   12944 #include <stdio.h>
   12945 
   12946 #ifdef RTLD_GLOBAL
   12947 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12948 #else
   12949 #  ifdef DL_GLOBAL
   12950 #    define LT_DLGLOBAL		DL_GLOBAL
   12951 #  else
   12952 #    define LT_DLGLOBAL		0
   12953 #  endif
   12954 #endif
   12955 
   12956 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12957    find out it does not work in some platform. */
   12958 #ifndef LT_DLLAZY_OR_NOW
   12959 #  ifdef RTLD_LAZY
   12960 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12961 #  else
   12962 #    ifdef DL_LAZY
   12963 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12964 #    else
   12965 #      ifdef RTLD_NOW
   12966 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12967 #      else
   12968 #        ifdef DL_NOW
   12969 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12970 #        else
   12971 #          define LT_DLLAZY_OR_NOW	0
   12972 #        endif
   12973 #      endif
   12974 #    endif
   12975 #  endif
   12976 #endif
   12977 
   12978 /* When -fvisibility=hidden is used, assume the code has been annotated
   12979    correspondingly for the symbols needed.  */
   12980 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12981 int fnord () __attribute__((visibility("default")));
   12982 #endif
   12983 
   12984 int fnord () { return 42; }
   12985 int main ()
   12986 {
   12987   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12988   int status = $lt_dlunknown;
   12989 
   12990   if (self)
   12991     {
   12992       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12993       else
   12994         {
   12995 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12996           else puts (dlerror ());
   12997 	}
   12998       /* dlclose (self); */
   12999     }
   13000   else
   13001     puts (dlerror ());
   13002 
   13003   return status;
   13004 }
   13005 _LT_EOF
   13006   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13007   (eval $ac_link) 2>&5
   13008   ac_status=$?
   13009   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13010   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   13011     (./conftest; exit; ) >&5 2>/dev/null
   13012     lt_status=$?
   13013     case x$lt_status in
   13014       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   13015       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   13016       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   13017     esac
   13018   else :
   13019     # compilation failed
   13020     lt_cv_dlopen_self=no
   13021   fi
   13022 fi
   13023 rm -fr conftest*
   13024 
   13025 
   13026 fi
   13027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   13028 $as_echo "$lt_cv_dlopen_self" >&6; }
   13029 
   13030     if test yes = "$lt_cv_dlopen_self"; then
   13031       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   13032       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   13033 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   13034 if ${lt_cv_dlopen_self_static+:} false; then :
   13035   $as_echo_n "(cached) " >&6
   13036 else
   13037   	  if test yes = "$cross_compiling"; then :
   13038   lt_cv_dlopen_self_static=cross
   13039 else
   13040   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   13041   lt_status=$lt_dlunknown
   13042   cat > conftest.$ac_ext <<_LT_EOF
   13043 #line $LINENO "configure"
   13044 #include "confdefs.h"
   13045 
   13046 #if HAVE_DLFCN_H
   13047 #include <dlfcn.h>
   13048 #endif
   13049 
   13050 #include <stdio.h>
   13051 
   13052 #ifdef RTLD_GLOBAL
   13053 #  define LT_DLGLOBAL		RTLD_GLOBAL
   13054 #else
   13055 #  ifdef DL_GLOBAL
   13056 #    define LT_DLGLOBAL		DL_GLOBAL
   13057 #  else
   13058 #    define LT_DLGLOBAL		0
   13059 #  endif
   13060 #endif
   13061 
   13062 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   13063    find out it does not work in some platform. */
   13064 #ifndef LT_DLLAZY_OR_NOW
   13065 #  ifdef RTLD_LAZY
   13066 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   13067 #  else
   13068 #    ifdef DL_LAZY
   13069 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   13070 #    else
   13071 #      ifdef RTLD_NOW
   13072 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   13073 #      else
   13074 #        ifdef DL_NOW
   13075 #          define LT_DLLAZY_OR_NOW	DL_NOW
   13076 #        else
   13077 #          define LT_DLLAZY_OR_NOW	0
   13078 #        endif
   13079 #      endif
   13080 #    endif
   13081 #  endif
   13082 #endif
   13083 
   13084 /* When -fvisibility=hidden is used, assume the code has been annotated
   13085    correspondingly for the symbols needed.  */
   13086 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   13087 int fnord () __attribute__((visibility("default")));
   13088 #endif
   13089 
   13090 int fnord () { return 42; }
   13091 int main ()
   13092 {
   13093   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   13094   int status = $lt_dlunknown;
   13095 
   13096   if (self)
   13097     {
   13098       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   13099       else
   13100         {
   13101 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   13102           else puts (dlerror ());
   13103 	}
   13104       /* dlclose (self); */
   13105     }
   13106   else
   13107     puts (dlerror ());
   13108 
   13109   return status;
   13110 }
   13111 _LT_EOF
   13112   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13113   (eval $ac_link) 2>&5
   13114   ac_status=$?
   13115   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13116   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   13117     (./conftest; exit; ) >&5 2>/dev/null
   13118     lt_status=$?
   13119     case x$lt_status in
   13120       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   13121       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   13122       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   13123     esac
   13124   else :
   13125     # compilation failed
   13126     lt_cv_dlopen_self_static=no
   13127   fi
   13128 fi
   13129 rm -fr conftest*
   13130 
   13131 
   13132 fi
   13133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   13134 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   13135     fi
   13136 
   13137     CPPFLAGS=$save_CPPFLAGS
   13138     LDFLAGS=$save_LDFLAGS
   13139     LIBS=$save_LIBS
   13140     ;;
   13141   esac
   13142 
   13143   case $lt_cv_dlopen_self in
   13144   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   13145   *) enable_dlopen_self=unknown ;;
   13146   esac
   13147 
   13148   case $lt_cv_dlopen_self_static in
   13149   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   13150   *) enable_dlopen_self_static=unknown ;;
   13151   esac
   13152 fi
   13153 
   13154 
   13155 
   13156 
   13157 
   13158 
   13159 
   13160 
   13161 
   13162 
   13163 
   13164 
   13165 
   13166 
   13167 
   13168 
   13169 
   13170 striplib=
   13171 old_striplib=
   13172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   13173 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   13174 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   13175   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   13176   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   13177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13178 $as_echo "yes" >&6; }
   13179 else
   13180 # FIXME - insert some real tests, host_os isn't really good enough
   13181   case $host_os in
   13182   darwin*)
   13183     if test -n "$STRIP"; then
   13184       striplib="$STRIP -x"
   13185       old_striplib="$STRIP -S"
   13186       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13187 $as_echo "yes" >&6; }
   13188     else
   13189       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13190 $as_echo "no" >&6; }
   13191     fi
   13192     ;;
   13193   *)
   13194     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13195 $as_echo "no" >&6; }
   13196     ;;
   13197   esac
   13198 fi
   13199 
   13200 
   13201 
   13202 
   13203 
   13204 
   13205 
   13206 
   13207 
   13208 
   13209 
   13210 
   13211   # Report what library types will actually be built
   13212   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   13213 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   13214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   13215 $as_echo "$can_build_shared" >&6; }
   13216 
   13217   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   13218 $as_echo_n "checking whether to build shared libraries... " >&6; }
   13219   test no = "$can_build_shared" && enable_shared=no
   13220 
   13221   # On AIX, shared libraries and static libraries use the same namespace, and
   13222   # are all built from PIC.
   13223   case $host_os in
   13224   aix3*)
   13225     test yes = "$enable_shared" && enable_static=no
   13226     if test -n "$RANLIB"; then
   13227       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   13228       postinstall_cmds='$RANLIB $lib'
   13229     fi
   13230     ;;
   13231 
   13232   aix[4-9]*)
   13233     if test ia64 != "$host_cpu"; then
   13234       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   13235       yes,aix,yes) ;;			# shared object as lib.so file only
   13236       yes,svr4,*) ;;			# shared object as lib.so archive member only
   13237       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   13238       esac
   13239     fi
   13240     ;;
   13241   esac
   13242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   13243 $as_echo "$enable_shared" >&6; }
   13244 
   13245   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   13246 $as_echo_n "checking whether to build static libraries... " >&6; }
   13247   # Make sure either enable_shared or enable_static is yes.
   13248   test yes = "$enable_shared" || enable_static=yes
   13249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   13250 $as_echo "$enable_static" >&6; }
   13251 
   13252 
   13253 
   13254 
   13255 fi
   13256 ac_ext=c
   13257 ac_cpp='$CPP $CPPFLAGS'
   13258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13261 
   13262 CC=$lt_save_CC
   13263 
   13264 
   13265 
   13266 
   13267 
   13268 
   13269 
   13270 
   13271 
   13272 
   13273 
   13274 
   13275 
   13276 
   13277 
   13278         ac_config_commands="$ac_config_commands libtool"
   13279 
   13280 
   13281 
   13282 
   13283 # Only expand once:
   13284 
   13285 
   13286 
   13287 
   13288 LIBT_CURRENT=13
   13289 LIBT_REVISION=0
   13290 
   13291 
   13292 LIBT_AGE=12
   13293 
   13294 LIBT_VERSION_INFO="$LIBT_CURRENT:$LIBT_REVISION:$LIBT_AGE"
   13295 
   13296 
   13297 LIBT_CURRENT_MINUS_AGE=`expr $LIBT_CURRENT - $LIBT_AGE`
   13298 
   13299 
   13300 PKGCONFIG_REQUIRES=
   13301 PKGCONFIG_REQUIRES_PRIVATELY=
   13302 
   13303 case "$host" in
   13304   *-*-mingw*)
   13305     os_win32=yes
   13306     ;;
   13307   *)
   13308     os_win32=no
   13309 esac
   13310  if test "$os_win32" = "yes"; then
   13311   OS_WIN32_TRUE=
   13312   OS_WIN32_FALSE='#'
   13313 else
   13314   OS_WIN32_TRUE='#'
   13315   OS_WIN32_FALSE=
   13316 fi
   13317 
   13318 
   13319 GETTEXT_PACKAGE=$PACKAGE
   13320 
   13321 
   13322 cat >>confdefs.h <<_ACEOF
   13323 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
   13324 _ACEOF
   13325 
   13326 
   13327 
   13328 
   13329   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
   13330 $as_echo_n "checking whether NLS is requested... " >&6; }
   13331     # Check whether --enable-nls was given.
   13332 if test "${enable_nls+set}" = set; then :
   13333   enableval=$enable_nls; USE_NLS=$enableval
   13334 else
   13335   USE_NLS=yes
   13336 fi
   13337 
   13338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
   13339 $as_echo "$USE_NLS" >&6; }
   13340 
   13341 
   13342 
   13343 
   13344       GETTEXT_MACRO_VERSION=0.19
   13345 
   13346 
   13347 
   13348 
   13349 # Prepare PATH_SEPARATOR.
   13350 # The user is always right.
   13351 if test "${PATH_SEPARATOR+set}" != set; then
   13352   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
   13353   # contains only /bin. Note that ksh looks also at the FPATH variable,
   13354   # so we have to set that as well for the test.
   13355   PATH_SEPARATOR=:
   13356   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   13357     && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   13358            || PATH_SEPARATOR=';'
   13359        }
   13360 fi
   13361 
   13362 # Find out how to test for executable files. Don't use a zero-byte file,
   13363 # as systems may use methods other than mode bits to determine executability.
   13364 cat >conf$$.file <<_ASEOF
   13365 #! /bin/sh
   13366 exit 0
   13367 _ASEOF
   13368 chmod +x conf$$.file
   13369 if test -x conf$$.file >/dev/null 2>&1; then
   13370   ac_executable_p="test -x"
   13371 else
   13372   ac_executable_p="test -f"
   13373 fi
   13374 rm -f conf$$.file
   13375 
   13376 # Extract the first word of "msgfmt", so it can be a program name with args.
   13377 set dummy msgfmt; ac_word=$2
   13378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13379 $as_echo_n "checking for $ac_word... " >&6; }
   13380 if ${ac_cv_path_MSGFMT+:} false; then :
   13381   $as_echo_n "(cached) " >&6
   13382 else
   13383   case "$MSGFMT" in
   13384   [\\/]* | ?:[\\/]*)
   13385     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
   13386     ;;
   13387   *)
   13388     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   13389     for ac_dir in $PATH; do
   13390       IFS="$ac_save_IFS"
   13391       test -z "$ac_dir" && ac_dir=.
   13392       for ac_exec_ext in '' $ac_executable_extensions; do
   13393         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   13394           echo "$as_me: trying $ac_dir/$ac_word..." >&5
   13395           if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
   13396      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   13397             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
   13398             break 2
   13399           fi
   13400         fi
   13401       done
   13402     done
   13403     IFS="$ac_save_IFS"
   13404   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
   13405     ;;
   13406 esac
   13407 fi
   13408 MSGFMT="$ac_cv_path_MSGFMT"
   13409 if test "$MSGFMT" != ":"; then
   13410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
   13411 $as_echo "$MSGFMT" >&6; }
   13412 else
   13413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13414 $as_echo "no" >&6; }
   13415 fi
   13416 
   13417   # Extract the first word of "gmsgfmt", so it can be a program name with args.
   13418 set dummy gmsgfmt; ac_word=$2
   13419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13420 $as_echo_n "checking for $ac_word... " >&6; }
   13421 if ${ac_cv_path_GMSGFMT+:} false; then :
   13422   $as_echo_n "(cached) " >&6
   13423 else
   13424   case $GMSGFMT in
   13425   [\\/]* | ?:[\\/]*)
   13426   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
   13427   ;;
   13428   *)
   13429   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13430 for as_dir in $PATH
   13431 do
   13432   IFS=$as_save_IFS
   13433   test -z "$as_dir" && as_dir=.
   13434     for ac_exec_ext in '' $ac_executable_extensions; do
   13435   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13436     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
   13437     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13438     break 2
   13439   fi
   13440 done
   13441   done
   13442 IFS=$as_save_IFS
   13443 
   13444   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
   13445   ;;
   13446 esac
   13447 fi
   13448 GMSGFMT=$ac_cv_path_GMSGFMT
   13449 if test -n "$GMSGFMT"; then
   13450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
   13451 $as_echo "$GMSGFMT" >&6; }
   13452 else
   13453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13454 $as_echo "no" >&6; }
   13455 fi
   13456 
   13457 
   13458 
   13459     case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
   13460     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
   13461     *) MSGFMT_015=$MSGFMT ;;
   13462   esac
   13463 
   13464   case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
   13465     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
   13466     *) GMSGFMT_015=$GMSGFMT ;;
   13467   esac
   13468 
   13469 
   13470 
   13471 # Prepare PATH_SEPARATOR.
   13472 # The user is always right.
   13473 if test "${PATH_SEPARATOR+set}" != set; then
   13474   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
   13475   # contains only /bin. Note that ksh looks also at the FPATH variable,
   13476   # so we have to set that as well for the test.
   13477   PATH_SEPARATOR=:
   13478   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   13479     && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   13480            || PATH_SEPARATOR=';'
   13481        }
   13482 fi
   13483 
   13484 # Find out how to test for executable files. Don't use a zero-byte file,
   13485 # as systems may use methods other than mode bits to determine executability.
   13486 cat >conf$$.file <<_ASEOF
   13487 #! /bin/sh
   13488 exit 0
   13489 _ASEOF
   13490 chmod +x conf$$.file
   13491 if test -x conf$$.file >/dev/null 2>&1; then
   13492   ac_executable_p="test -x"
   13493 else
   13494   ac_executable_p="test -f"
   13495 fi
   13496 rm -f conf$$.file
   13497 
   13498 # Extract the first word of "xgettext", so it can be a program name with args.
   13499 set dummy xgettext; ac_word=$2
   13500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13501 $as_echo_n "checking for $ac_word... " >&6; }
   13502 if ${ac_cv_path_XGETTEXT+:} false; then :
   13503   $as_echo_n "(cached) " >&6
   13504 else
   13505   case "$XGETTEXT" in
   13506   [\\/]* | ?:[\\/]*)
   13507     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
   13508     ;;
   13509   *)
   13510     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   13511     for ac_dir in $PATH; do
   13512       IFS="$ac_save_IFS"
   13513       test -z "$ac_dir" && ac_dir=.
   13514       for ac_exec_ext in '' $ac_executable_extensions; do
   13515         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   13516           echo "$as_me: trying $ac_dir/$ac_word..." >&5
   13517           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
   13518      (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
   13519             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
   13520             break 2
   13521           fi
   13522         fi
   13523       done
   13524     done
   13525     IFS="$ac_save_IFS"
   13526   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
   13527     ;;
   13528 esac
   13529 fi
   13530 XGETTEXT="$ac_cv_path_XGETTEXT"
   13531 if test "$XGETTEXT" != ":"; then
   13532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
   13533 $as_echo "$XGETTEXT" >&6; }
   13534 else
   13535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13536 $as_echo "no" >&6; }
   13537 fi
   13538 
   13539     rm -f messages.po
   13540 
   13541     case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
   13542     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
   13543     *) XGETTEXT_015=$XGETTEXT ;;
   13544   esac
   13545 
   13546 
   13547 
   13548 # Prepare PATH_SEPARATOR.
   13549 # The user is always right.
   13550 if test "${PATH_SEPARATOR+set}" != set; then
   13551   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
   13552   # contains only /bin. Note that ksh looks also at the FPATH variable,
   13553   # so we have to set that as well for the test.
   13554   PATH_SEPARATOR=:
   13555   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   13556     && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   13557            || PATH_SEPARATOR=';'
   13558        }
   13559 fi
   13560 
   13561 # Find out how to test for executable files. Don't use a zero-byte file,
   13562 # as systems may use methods other than mode bits to determine executability.
   13563 cat >conf$$.file <<_ASEOF
   13564 #! /bin/sh
   13565 exit 0
   13566 _ASEOF
   13567 chmod +x conf$$.file
   13568 if test -x conf$$.file >/dev/null 2>&1; then
   13569   ac_executable_p="test -x"
   13570 else
   13571   ac_executable_p="test -f"
   13572 fi
   13573 rm -f conf$$.file
   13574 
   13575 # Extract the first word of "msgmerge", so it can be a program name with args.
   13576 set dummy msgmerge; ac_word=$2
   13577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13578 $as_echo_n "checking for $ac_word... " >&6; }
   13579 if ${ac_cv_path_MSGMERGE+:} false; then :
   13580   $as_echo_n "(cached) " >&6
   13581 else
   13582   case "$MSGMERGE" in
   13583   [\\/]* | ?:[\\/]*)
   13584     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
   13585     ;;
   13586   *)
   13587     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   13588     for ac_dir in $PATH; do
   13589       IFS="$ac_save_IFS"
   13590       test -z "$ac_dir" && ac_dir=.
   13591       for ac_exec_ext in '' $ac_executable_extensions; do
   13592         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   13593           echo "$as_me: trying $ac_dir/$ac_word..." >&5
   13594           if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
   13595             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
   13596             break 2
   13597           fi
   13598         fi
   13599       done
   13600     done
   13601     IFS="$ac_save_IFS"
   13602   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
   13603     ;;
   13604 esac
   13605 fi
   13606 MSGMERGE="$ac_cv_path_MSGMERGE"
   13607 if test "$MSGMERGE" != ":"; then
   13608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
   13609 $as_echo "$MSGMERGE" >&6; }
   13610 else
   13611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13612 $as_echo "no" >&6; }
   13613 fi
   13614 
   13615 
   13616         test -n "$localedir" || localedir='${datadir}/locale'
   13617 
   13618 
   13619     test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
   13620 
   13621 
   13622   ac_config_commands="$ac_config_commands po-directories"
   13623 
   13624 
   13625 
   13626       if test "X$prefix" = "XNONE"; then
   13627     acl_final_prefix="$ac_default_prefix"
   13628   else
   13629     acl_final_prefix="$prefix"
   13630   fi
   13631   if test "X$exec_prefix" = "XNONE"; then
   13632     acl_final_exec_prefix='${prefix}'
   13633   else
   13634     acl_final_exec_prefix="$exec_prefix"
   13635   fi
   13636   acl_save_prefix="$prefix"
   13637   prefix="$acl_final_prefix"
   13638   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
   13639   prefix="$acl_save_prefix"
   13640 
   13641 
   13642 
   13643 # Check whether --with-gnu-ld was given.
   13644 if test "${with_gnu_ld+set}" = set; then :
   13645   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   13646 else
   13647   with_gnu_ld=no
   13648 fi
   13649 
   13650 # Prepare PATH_SEPARATOR.
   13651 # The user is always right.
   13652 if test "${PATH_SEPARATOR+set}" != set; then
   13653   # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
   13654   # contains only /bin. Note that ksh looks also at the FPATH variable,
   13655   # so we have to set that as well for the test.
   13656   PATH_SEPARATOR=:
   13657   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   13658     && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
   13659            || PATH_SEPARATOR=';'
   13660        }
   13661 fi
   13662 
   13663 ac_prog=ld
   13664 if test "$GCC" = yes; then
   13665   # Check if gcc -print-prog-name=ld gives a path.
   13666   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   13667 $as_echo_n "checking for ld used by $CC... " >&6; }
   13668   case $host in
   13669   *-*-mingw*)
   13670     # gcc leaves a trailing carriage return which upsets mingw
   13671     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   13672   *)
   13673     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   13674   esac
   13675   case $ac_prog in
   13676     # Accept absolute paths.
   13677     [\\/]* | ?:[\\/]*)
   13678       re_direlt='/[^/][^/]*/\.\./'
   13679       # Canonicalize the pathname of ld
   13680       ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
   13681       while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
   13682         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
   13683       done
   13684       test -z "$LD" && LD="$ac_prog"
   13685       ;;
   13686   "")
   13687     # If it fails, then pretend we aren't using GCC.
   13688     ac_prog=ld
   13689     ;;
   13690   *)
   13691     # If it is relative, then search for the first ld in PATH.
   13692     with_gnu_ld=unknown
   13693     ;;
   13694   esac
   13695 elif test "$with_gnu_ld" = yes; then
   13696   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   13697 $as_echo_n "checking for GNU ld... " >&6; }
   13698 else
   13699   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   13700 $as_echo_n "checking for non-GNU ld... " >&6; }
   13701 fi
   13702 if ${acl_cv_path_LD+:} false; then :
   13703   $as_echo_n "(cached) " >&6
   13704 else
   13705   if test -z "$LD"; then
   13706   acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   13707   for ac_dir in $PATH; do
   13708     IFS="$acl_save_ifs"
   13709     test -z "$ac_dir" && ac_dir=.
   13710     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   13711       acl_cv_path_LD="$ac_dir/$ac_prog"
   13712       # Check to see if the program is GNU ld.  I'd rather use --version,
   13713       # but apparently some variants of GNU ld only accept -v.
   13714       # Break only if it was the GNU/non-GNU ld that we prefer.
   13715       case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
   13716       *GNU* | *'with BFD'*)
   13717         test "$with_gnu_ld" != no && break
   13718         ;;
   13719       *)
   13720         test "$with_gnu_ld" != yes && break
   13721         ;;
   13722       esac
   13723     fi
   13724   done
   13725   IFS="$acl_save_ifs"
   13726 else
   13727   acl_cv_path_LD="$LD" # Let the user override the test with a path.
   13728 fi
   13729 fi
   13730 
   13731 LD="$acl_cv_path_LD"
   13732 if test -n "$LD"; then
   13733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   13734 $as_echo "$LD" >&6; }
   13735 else
   13736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13737 $as_echo "no" >&6; }
   13738 fi
   13739 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   13740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   13741 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   13742 if ${acl_cv_prog_gnu_ld+:} false; then :
   13743   $as_echo_n "(cached) " >&6
   13744 else
   13745   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   13746 case `$LD -v 2>&1 </dev/null` in
   13747 *GNU* | *'with BFD'*)
   13748   acl_cv_prog_gnu_ld=yes
   13749   ;;
   13750 *)
   13751   acl_cv_prog_gnu_ld=no
   13752   ;;
   13753 esac
   13754 fi
   13755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
   13756 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
   13757 with_gnu_ld=$acl_cv_prog_gnu_ld
   13758 
   13759 
   13760 
   13761 
   13762                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
   13763 $as_echo_n "checking for shared library run path origin... " >&6; }
   13764 if ${acl_cv_rpath+:} false; then :
   13765   $as_echo_n "(cached) " >&6
   13766 else
   13767 
   13768     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
   13769     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
   13770     . ./conftest.sh
   13771     rm -f ./conftest.sh
   13772     acl_cv_rpath=done
   13773 
   13774 fi
   13775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
   13776 $as_echo "$acl_cv_rpath" >&6; }
   13777   wl="$acl_cv_wl"
   13778   acl_libext="$acl_cv_libext"
   13779   acl_shlibext="$acl_cv_shlibext"
   13780   acl_libname_spec="$acl_cv_libname_spec"
   13781   acl_library_names_spec="$acl_cv_library_names_spec"
   13782   acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
   13783   acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
   13784   acl_hardcode_direct="$acl_cv_hardcode_direct"
   13785   acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
   13786     # Check whether --enable-rpath was given.
   13787 if test "${enable_rpath+set}" = set; then :
   13788   enableval=$enable_rpath; :
   13789 else
   13790   enable_rpath=yes
   13791 fi
   13792 
   13793 
   13794 
   13795 
   13796   acl_libdirstem=lib
   13797   acl_libdirstem2=
   13798   case "$host_os" in
   13799     solaris*)
   13800                                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
   13801 $as_echo_n "checking for 64-bit host... " >&6; }
   13802 if ${gl_cv_solaris_64bit+:} false; then :
   13803   $as_echo_n "(cached) " >&6
   13804 else
   13805   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13806 /* end confdefs.h.  */
   13807 
   13808 #ifdef _LP64
   13809 sixtyfour bits
   13810 #endif
   13811 
   13812 _ACEOF
   13813 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   13814   $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
   13815   gl_cv_solaris_64bit=yes
   13816 else
   13817   gl_cv_solaris_64bit=no
   13818 fi
   13819 rm -f conftest*
   13820 
   13821 
   13822 fi
   13823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
   13824 $as_echo "$gl_cv_solaris_64bit" >&6; }
   13825       if test $gl_cv_solaris_64bit = yes; then
   13826         acl_libdirstem=lib/64
   13827         case "$host_cpu" in
   13828           sparc*)        acl_libdirstem2=lib/sparcv9 ;;
   13829           i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
   13830         esac
   13831       fi
   13832       ;;
   13833     *)
   13834       searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
   13835       if test -n "$searchpath"; then
   13836         acl_save_IFS="${IFS= 	}"; IFS=":"
   13837         for searchdir in $searchpath; do
   13838           if test -d "$searchdir"; then
   13839             case "$searchdir" in
   13840               */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
   13841               */../ | */.. )
   13842                 # Better ignore directories of this form. They are misleading.
   13843                 ;;
   13844               *) searchdir=`cd "$searchdir" && pwd`
   13845                  case "$searchdir" in
   13846                    */lib64 ) acl_libdirstem=lib64 ;;
   13847                  esac ;;
   13848             esac
   13849           fi
   13850         done
   13851         IFS="$acl_save_IFS"
   13852       fi
   13853       ;;
   13854   esac
   13855   test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
   13856 
   13857 
   13858 
   13859 
   13860 
   13861 
   13862 
   13863 
   13864 
   13865 
   13866 
   13867 
   13868     use_additional=yes
   13869 
   13870   acl_save_prefix="$prefix"
   13871   prefix="$acl_final_prefix"
   13872   acl_save_exec_prefix="$exec_prefix"
   13873   exec_prefix="$acl_final_exec_prefix"
   13874 
   13875     eval additional_includedir=\"$includedir\"
   13876     eval additional_libdir=\"$libdir\"
   13877 
   13878   exec_prefix="$acl_save_exec_prefix"
   13879   prefix="$acl_save_prefix"
   13880 
   13881 
   13882 # Check whether --with-libiconv-prefix was given.
   13883 if test "${with_libiconv_prefix+set}" = set; then :
   13884   withval=$with_libiconv_prefix;
   13885     if test "X$withval" = "Xno"; then
   13886       use_additional=no
   13887     else
   13888       if test "X$withval" = "X"; then
   13889 
   13890   acl_save_prefix="$prefix"
   13891   prefix="$acl_final_prefix"
   13892   acl_save_exec_prefix="$exec_prefix"
   13893   exec_prefix="$acl_final_exec_prefix"
   13894 
   13895           eval additional_includedir=\"$includedir\"
   13896           eval additional_libdir=\"$libdir\"
   13897 
   13898   exec_prefix="$acl_save_exec_prefix"
   13899   prefix="$acl_save_prefix"
   13900 
   13901       else
   13902         additional_includedir="$withval/include"
   13903         additional_libdir="$withval/$acl_libdirstem"
   13904         if test "$acl_libdirstem2" != "$acl_libdirstem" \
   13905            && ! test -d "$withval/$acl_libdirstem"; then
   13906           additional_libdir="$withval/$acl_libdirstem2"
   13907         fi
   13908       fi
   13909     fi
   13910 
   13911 fi
   13912 
   13913       LIBICONV=
   13914   LTLIBICONV=
   13915   INCICONV=
   13916   LIBICONV_PREFIX=
   13917       HAVE_LIBICONV=
   13918   rpathdirs=
   13919   ltrpathdirs=
   13920   names_already_handled=
   13921   names_next_round='iconv '
   13922   while test -n "$names_next_round"; do
   13923     names_this_round="$names_next_round"
   13924     names_next_round=
   13925     for name in $names_this_round; do
   13926       already_handled=
   13927       for n in $names_already_handled; do
   13928         if test "$n" = "$name"; then
   13929           already_handled=yes
   13930           break
   13931         fi
   13932       done
   13933       if test -z "$already_handled"; then
   13934         names_already_handled="$names_already_handled $name"
   13935                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
   13936         eval value=\"\$HAVE_LIB$uppername\"
   13937         if test -n "$value"; then
   13938           if test "$value" = yes; then
   13939             eval value=\"\$LIB$uppername\"
   13940             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
   13941             eval value=\"\$LTLIB$uppername\"
   13942             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
   13943           else
   13944                                     :
   13945           fi
   13946         else
   13947                               found_dir=
   13948           found_la=
   13949           found_so=
   13950           found_a=
   13951           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
   13952           if test -n "$acl_shlibext"; then
   13953             shrext=".$acl_shlibext"             # typically: shrext=.so
   13954           else
   13955             shrext=
   13956           fi
   13957           if test $use_additional = yes; then
   13958             dir="$additional_libdir"
   13959                                     if test -n "$acl_shlibext"; then
   13960               if test -f "$dir/$libname$shrext"; then
   13961                 found_dir="$dir"
   13962                 found_so="$dir/$libname$shrext"
   13963               else
   13964                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
   13965                   ver=`(cd "$dir" && \
   13966                         for f in "$libname$shrext".*; do echo "$f"; done \
   13967                         | sed -e "s,^$libname$shrext\\\\.,," \
   13968                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
   13969                         | sed 1q ) 2>/dev/null`
   13970                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
   13971                     found_dir="$dir"
   13972                     found_so="$dir/$libname$shrext.$ver"
   13973                   fi
   13974                 else
   13975                   eval library_names=\"$acl_library_names_spec\"
   13976                   for f in $library_names; do
   13977                     if test -f "$dir/$f"; then
   13978                       found_dir="$dir"
   13979                       found_so="$dir/$f"
   13980                       break
   13981                     fi
   13982                   done
   13983                 fi
   13984               fi
   13985             fi
   13986                         if test "X$found_dir" = "X"; then
   13987               if test -f "$dir/$libname.$acl_libext"; then
   13988                 found_dir="$dir"
   13989                 found_a="$dir/$libname.$acl_libext"
   13990               fi
   13991             fi
   13992             if test "X$found_dir" != "X"; then
   13993               if test -f "$dir/$libname.la"; then
   13994                 found_la="$dir/$libname.la"
   13995               fi
   13996             fi
   13997           fi
   13998           if test "X$found_dir" = "X"; then
   13999             for x in $LDFLAGS $LTLIBICONV; do
   14000 
   14001   acl_save_prefix="$prefix"
   14002   prefix="$acl_final_prefix"
   14003   acl_save_exec_prefix="$exec_prefix"
   14004   exec_prefix="$acl_final_exec_prefix"
   14005   eval x=\"$x\"
   14006   exec_prefix="$acl_save_exec_prefix"
   14007   prefix="$acl_save_prefix"
   14008 
   14009               case "$x" in
   14010                 -L*)
   14011                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   14012                                     if test -n "$acl_shlibext"; then
   14013                     if test -f "$dir/$libname$shrext"; then
   14014                       found_dir="$dir"
   14015                       found_so="$dir/$libname$shrext"
   14016                     else
   14017                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
   14018                         ver=`(cd "$dir" && \
   14019                               for f in "$libname$shrext".*; do echo "$f"; done \
   14020                               | sed -e "s,^$libname$shrext\\\\.,," \
   14021                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
   14022                               | sed 1q ) 2>/dev/null`
   14023                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
   14024                           found_dir="$dir"
   14025                           found_so="$dir/$libname$shrext.$ver"
   14026                         fi
   14027                       else
   14028                         eval library_names=\"$acl_library_names_spec\"
   14029                         for f in $library_names; do
   14030                           if test -f "$dir/$f"; then
   14031                             found_dir="$dir"
   14032                             found_so="$dir/$f"
   14033                             break
   14034                           fi
   14035                         done
   14036                       fi
   14037                     fi
   14038                   fi
   14039                                     if test "X$found_dir" = "X"; then
   14040                     if test -f "$dir/$libname.$acl_libext"; then
   14041                       found_dir="$dir"
   14042                       found_a="$dir/$libname.$acl_libext"
   14043                     fi
   14044                   fi
   14045                   if test "X$found_dir" != "X"; then
   14046                     if test -f "$dir/$libname.la"; then
   14047                       found_la="$dir/$libname.la"
   14048                     fi
   14049                   fi
   14050                   ;;
   14051               esac
   14052               if test "X$found_dir" != "X"; then
   14053                 break
   14054               fi
   14055             done
   14056           fi
   14057           if test "X$found_dir" != "X"; then
   14058                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
   14059             if test "X$found_so" != "X"; then
   14060                                                         if test "$enable_rpath" = no \
   14061                  || test "X$found_dir" = "X/usr/$acl_libdirstem" \
   14062                  || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
   14063                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   14064               else
   14065                                                                                 haveit=
   14066                 for x in $ltrpathdirs; do
   14067                   if test "X$x" = "X$found_dir"; then
   14068                     haveit=yes
   14069                     break
   14070                   fi
   14071                 done
   14072                 if test -z "$haveit"; then
   14073                   ltrpathdirs="$ltrpathdirs $found_dir"
   14074                 fi
   14075                                 if test "$acl_hardcode_direct" = yes; then
   14076                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   14077                 else
   14078                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
   14079                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   14080                                                             haveit=
   14081                     for x in $rpathdirs; do
   14082                       if test "X$x" = "X$found_dir"; then
   14083                         haveit=yes
   14084                         break
   14085                       fi
   14086                     done
   14087                     if test -z "$haveit"; then
   14088                       rpathdirs="$rpathdirs $found_dir"
   14089                     fi
   14090                   else
   14091                                                                                 haveit=
   14092                     for x in $LDFLAGS $LIBICONV; do
   14093 
   14094   acl_save_prefix="$prefix"
   14095   prefix="$acl_final_prefix"
   14096   acl_save_exec_prefix="$exec_prefix"
   14097   exec_prefix="$acl_final_exec_prefix"
   14098   eval x=\"$x\"
   14099   exec_prefix="$acl_save_exec_prefix"
   14100   prefix="$acl_save_prefix"
   14101 
   14102                       if test "X$x" = "X-L$found_dir"; then
   14103                         haveit=yes
   14104                         break
   14105                       fi
   14106                     done
   14107                     if test -z "$haveit"; then
   14108                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
   14109                     fi
   14110                     if test "$acl_hardcode_minus_L" != no; then
   14111                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   14112                     else
   14113                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   14114                     fi
   14115                   fi
   14116                 fi
   14117               fi
   14118             else
   14119               if test "X$found_a" != "X"; then
   14120                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
   14121               else
   14122                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
   14123               fi
   14124             fi
   14125                         additional_includedir=
   14126             case "$found_dir" in
   14127               */$acl_libdirstem | */$acl_libdirstem/)
   14128                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
   14129                 if test "$name" = 'iconv'; then
   14130                   LIBICONV_PREFIX="$basedir"
   14131                 fi
   14132                 additional_includedir="$basedir/include"
   14133                 ;;
   14134               */$acl_libdirstem2 | */$acl_libdirstem2/)
   14135                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
   14136                 if test "$name" = 'iconv'; then
   14137                   LIBICONV_PREFIX="$basedir"
   14138                 fi
   14139                 additional_includedir="$basedir/include"
   14140                 ;;
   14141             esac
   14142             if test "X$additional_includedir" != "X"; then
   14143                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   14144                 haveit=
   14145                 if test "X$additional_includedir" = "X/usr/local/include"; then
   14146                   if test -n "$GCC"; then
   14147                     case $host_os in
   14148                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
   14149                     esac
   14150                   fi
   14151                 fi
   14152                 if test -z "$haveit"; then
   14153                   for x in $CPPFLAGS $INCICONV; do
   14154 
   14155   acl_save_prefix="$prefix"
   14156   prefix="$acl_final_prefix"
   14157   acl_save_exec_prefix="$exec_prefix"
   14158   exec_prefix="$acl_final_exec_prefix"
   14159   eval x=\"$x\"
   14160   exec_prefix="$acl_save_exec_prefix"
   14161   prefix="$acl_save_prefix"
   14162 
   14163                     if test "X$x" = "X-I$additional_includedir"; then
   14164                       haveit=yes
   14165                       break
   14166                     fi
   14167                   done
   14168                   if test -z "$haveit"; then
   14169                     if test -d "$additional_includedir"; then
   14170                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
   14171                     fi
   14172                   fi
   14173                 fi
   14174               fi
   14175             fi
   14176                         if test -n "$found_la"; then
   14177                                                         save_libdir="$libdir"
   14178               case "$found_la" in
   14179                 */* | *\\*) . "$found_la" ;;
   14180                 *) . "./$found_la" ;;
   14181               esac
   14182               libdir="$save_libdir"
   14183                             for dep in $dependency_libs; do
   14184                 case "$dep" in
   14185                   -L*)
   14186                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   14187                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
   14188                        && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
   14189                       haveit=
   14190                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
   14191                          || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
   14192                         if test -n "$GCC"; then
   14193                           case $host_os in
   14194                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
   14195                           esac
   14196                         fi
   14197                       fi
   14198                       if test -z "$haveit"; then
   14199                         haveit=
   14200                         for x in $LDFLAGS $LIBICONV; do
   14201 
   14202   acl_save_prefix="$prefix"
   14203   prefix="$acl_final_prefix"
   14204   acl_save_exec_prefix="$exec_prefix"
   14205   exec_prefix="$acl_final_exec_prefix"
   14206   eval x=\"$x\"
   14207   exec_prefix="$acl_save_exec_prefix"
   14208   prefix="$acl_save_prefix"
   14209 
   14210                           if test "X$x" = "X-L$additional_libdir"; then
   14211                             haveit=yes
   14212                             break
   14213                           fi
   14214                         done
   14215                         if test -z "$haveit"; then
   14216                           if test -d "$additional_libdir"; then
   14217                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
   14218                           fi
   14219                         fi
   14220                         haveit=
   14221                         for x in $LDFLAGS $LTLIBICONV; do
   14222 
   14223   acl_save_prefix="$prefix"
   14224   prefix="$acl_final_prefix"
   14225   acl_save_exec_prefix="$exec_prefix"
   14226   exec_prefix="$acl_final_exec_prefix"
   14227   eval x=\"$x\"
   14228   exec_prefix="$acl_save_exec_prefix"
   14229   prefix="$acl_save_prefix"
   14230 
   14231                           if test "X$x" = "X-L$additional_libdir"; then
   14232                             haveit=yes
   14233                             break
   14234                           fi
   14235                         done
   14236                         if test -z "$haveit"; then
   14237                           if test -d "$additional_libdir"; then
   14238                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
   14239                           fi
   14240                         fi
   14241                       fi
   14242                     fi
   14243                     ;;
   14244                   -R*)
   14245                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   14246                     if test "$enable_rpath" != no; then
   14247                                                                   haveit=
   14248                       for x in $rpathdirs; do
   14249                         if test "X$x" = "X$dir"; then
   14250                           haveit=yes
   14251                           break
   14252                         fi
   14253                       done
   14254                       if test -z "$haveit"; then
   14255                         rpathdirs="$rpathdirs $dir"
   14256                       fi
   14257                                                                   haveit=
   14258                       for x in $ltrpathdirs; do
   14259                         if test "X$x" = "X$dir"; then
   14260                           haveit=yes
   14261                           break
   14262                         fi
   14263                       done
   14264                       if test -z "$haveit"; then
   14265                         ltrpathdirs="$ltrpathdirs $dir"
   14266                       fi
   14267                     fi
   14268                     ;;
   14269                   -l*)
   14270                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
   14271                     ;;
   14272                   *.la)
   14273                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   14274                     ;;
   14275                   *)
   14276                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
   14277                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
   14278                     ;;
   14279                 esac
   14280               done
   14281             fi
   14282           else
   14283                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   14284             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
   14285           fi
   14286         fi
   14287       fi
   14288     done
   14289   done
   14290   if test "X$rpathdirs" != "X"; then
   14291     if test -n "$acl_hardcode_libdir_separator"; then
   14292                         alldirs=
   14293       for found_dir in $rpathdirs; do
   14294         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
   14295       done
   14296             acl_save_libdir="$libdir"
   14297       libdir="$alldirs"
   14298       eval flag=\"$acl_hardcode_libdir_flag_spec\"
   14299       libdir="$acl_save_libdir"
   14300       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   14301     else
   14302             for found_dir in $rpathdirs; do
   14303         acl_save_libdir="$libdir"
   14304         libdir="$found_dir"
   14305         eval flag=\"$acl_hardcode_libdir_flag_spec\"
   14306         libdir="$acl_save_libdir"
   14307         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   14308       done
   14309     fi
   14310   fi
   14311   if test "X$ltrpathdirs" != "X"; then
   14312             for found_dir in $ltrpathdirs; do
   14313       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
   14314     done
   14315   fi
   14316 
   14317 
   14318 
   14319 
   14320 
   14321 
   14322 
   14323 
   14324 
   14325 
   14326 
   14327 
   14328 
   14329 
   14330 
   14331 
   14332 
   14333 
   14334 
   14335 
   14336 
   14337 
   14338 
   14339 
   14340 
   14341 
   14342 
   14343 
   14344 
   14345 
   14346 
   14347     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
   14348 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
   14349 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
   14350   $as_echo_n "(cached) " >&6
   14351 else
   14352   gt_save_LIBS="$LIBS"
   14353      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
   14354      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14355 /* end confdefs.h.  */
   14356 #include <CoreFoundation/CFPreferences.h>
   14357 int
   14358 main ()
   14359 {
   14360 CFPreferencesCopyAppValue(NULL, NULL)
   14361   ;
   14362   return 0;
   14363 }
   14364 _ACEOF
   14365 if ac_fn_c_try_link "$LINENO"; then :
   14366   gt_cv_func_CFPreferencesCopyAppValue=yes
   14367 else
   14368   gt_cv_func_CFPreferencesCopyAppValue=no
   14369 fi
   14370 rm -f core conftest.err conftest.$ac_objext \
   14371     conftest$ac_exeext conftest.$ac_ext
   14372      LIBS="$gt_save_LIBS"
   14373 fi
   14374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
   14375 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
   14376   if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
   14377 
   14378 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
   14379 
   14380   fi
   14381     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
   14382 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
   14383 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
   14384   $as_echo_n "(cached) " >&6
   14385 else
   14386   gt_save_LIBS="$LIBS"
   14387      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
   14388      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14389 /* end confdefs.h.  */
   14390 #include <CoreFoundation/CFLocale.h>
   14391 int
   14392 main ()
   14393 {
   14394 CFLocaleCopyCurrent();
   14395   ;
   14396   return 0;
   14397 }
   14398 _ACEOF
   14399 if ac_fn_c_try_link "$LINENO"; then :
   14400   gt_cv_func_CFLocaleCopyCurrent=yes
   14401 else
   14402   gt_cv_func_CFLocaleCopyCurrent=no
   14403 fi
   14404 rm -f core conftest.err conftest.$ac_objext \
   14405     conftest$ac_exeext conftest.$ac_ext
   14406      LIBS="$gt_save_LIBS"
   14407 fi
   14408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
   14409 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
   14410   if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
   14411 
   14412 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
   14413 
   14414   fi
   14415   INTL_MACOSX_LIBS=
   14416   if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
   14417     INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
   14418   fi
   14419 
   14420 
   14421 
   14422 
   14423 
   14424 
   14425   LIBINTL=
   14426   LTLIBINTL=
   14427   POSUB=
   14428 
   14429     case " $gt_needs " in
   14430     *" need-formatstring-macros "*) gt_api_version=3 ;;
   14431     *" need-ngettext "*) gt_api_version=2 ;;
   14432     *) gt_api_version=1 ;;
   14433   esac
   14434   gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
   14435   gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
   14436 
   14437     if test "$USE_NLS" = "yes"; then
   14438     gt_use_preinstalled_gnugettext=no
   14439 
   14440 
   14441         if test $gt_api_version -ge 3; then
   14442           gt_revision_test_code='
   14443 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
   14444 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
   14445 #endif
   14446 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
   14447 '
   14448         else
   14449           gt_revision_test_code=
   14450         fi
   14451         if test $gt_api_version -ge 2; then
   14452           gt_expression_test_code=' + * ngettext ("", "", 0)'
   14453         else
   14454           gt_expression_test_code=
   14455         fi
   14456 
   14457         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
   14458 $as_echo_n "checking for GNU gettext in libc... " >&6; }
   14459 if eval \${$gt_func_gnugettext_libc+:} false; then :
   14460   $as_echo_n "(cached) " >&6
   14461 else
   14462   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14463 /* end confdefs.h.  */
   14464 
   14465 #include <libintl.h>
   14466 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
   14467 extern int _nl_msg_cat_cntr;
   14468 extern int *_nl_domain_bindings;
   14469 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_domain_bindings)
   14470 #else
   14471 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
   14472 #endif
   14473 $gt_revision_test_code
   14474 
   14475 int
   14476 main ()
   14477 {
   14478 
   14479 bindtextdomain ("", "");
   14480 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
   14481 
   14482   ;
   14483   return 0;
   14484 }
   14485 _ACEOF
   14486 if ac_fn_c_try_link "$LINENO"; then :
   14487   eval "$gt_func_gnugettext_libc=yes"
   14488 else
   14489   eval "$gt_func_gnugettext_libc=no"
   14490 fi
   14491 rm -f core conftest.err conftest.$ac_objext \
   14492     conftest$ac_exeext conftest.$ac_ext
   14493 fi
   14494 eval ac_res=\$$gt_func_gnugettext_libc
   14495 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   14496 $as_echo "$ac_res" >&6; }
   14497 
   14498         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
   14499 
   14500 
   14501 
   14502 
   14503 
   14504           am_save_CPPFLAGS="$CPPFLAGS"
   14505 
   14506   for element in $INCICONV; do
   14507     haveit=
   14508     for x in $CPPFLAGS; do
   14509 
   14510   acl_save_prefix="$prefix"
   14511   prefix="$acl_final_prefix"
   14512   acl_save_exec_prefix="$exec_prefix"
   14513   exec_prefix="$acl_final_exec_prefix"
   14514   eval x=\"$x\"
   14515   exec_prefix="$acl_save_exec_prefix"
   14516   prefix="$acl_save_prefix"
   14517 
   14518       if test "X$x" = "X$element"; then
   14519         haveit=yes
   14520         break
   14521       fi
   14522     done
   14523     if test -z "$haveit"; then
   14524       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   14525     fi
   14526   done
   14527 
   14528 
   14529   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
   14530 $as_echo_n "checking for iconv... " >&6; }
   14531 if ${am_cv_func_iconv+:} false; then :
   14532   $as_echo_n "(cached) " >&6
   14533 else
   14534 
   14535     am_cv_func_iconv="no, consider installing GNU libiconv"
   14536     am_cv_lib_iconv=no
   14537     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14538 /* end confdefs.h.  */
   14539 
   14540 #include <stdlib.h>
   14541 #include <iconv.h>
   14542 
   14543 int
   14544 main ()
   14545 {
   14546 iconv_t cd = iconv_open("","");
   14547            iconv(cd,NULL,NULL,NULL,NULL);
   14548            iconv_close(cd);
   14549   ;
   14550   return 0;
   14551 }
   14552 _ACEOF
   14553 if ac_fn_c_try_link "$LINENO"; then :
   14554   am_cv_func_iconv=yes
   14555 fi
   14556 rm -f core conftest.err conftest.$ac_objext \
   14557     conftest$ac_exeext conftest.$ac_ext
   14558     if test "$am_cv_func_iconv" != yes; then
   14559       am_save_LIBS="$LIBS"
   14560       LIBS="$LIBS $LIBICONV"
   14561       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14562 /* end confdefs.h.  */
   14563 
   14564 #include <stdlib.h>
   14565 #include <iconv.h>
   14566 
   14567 int
   14568 main ()
   14569 {
   14570 iconv_t cd = iconv_open("","");
   14571              iconv(cd,NULL,NULL,NULL,NULL);
   14572              iconv_close(cd);
   14573   ;
   14574   return 0;
   14575 }
   14576 _ACEOF
   14577 if ac_fn_c_try_link "$LINENO"; then :
   14578   am_cv_lib_iconv=yes
   14579         am_cv_func_iconv=yes
   14580 fi
   14581 rm -f core conftest.err conftest.$ac_objext \
   14582     conftest$ac_exeext conftest.$ac_ext
   14583       LIBS="$am_save_LIBS"
   14584     fi
   14585 
   14586 fi
   14587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
   14588 $as_echo "$am_cv_func_iconv" >&6; }
   14589   if test "$am_cv_func_iconv" = yes; then
   14590     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
   14591 $as_echo_n "checking for working iconv... " >&6; }
   14592 if ${am_cv_func_iconv_works+:} false; then :
   14593   $as_echo_n "(cached) " >&6
   14594 else
   14595 
   14596                   am_save_LIBS="$LIBS"
   14597       if test $am_cv_lib_iconv = yes; then
   14598         LIBS="$LIBS $LIBICONV"
   14599       fi
   14600       am_cv_func_iconv_works=no
   14601       for ac_iconv_const in '' 'const'; do
   14602         if test "$cross_compiling" = yes; then :
   14603   case "$host_os" in
   14604              aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
   14605              *)            am_cv_func_iconv_works="guessing yes" ;;
   14606            esac
   14607 else
   14608   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14609 /* end confdefs.h.  */
   14610 
   14611 #include <iconv.h>
   14612 #include <string.h>
   14613 
   14614 #ifndef ICONV_CONST
   14615 # define ICONV_CONST $ac_iconv_const
   14616 #endif
   14617 
   14618 int
   14619 main ()
   14620 {
   14621 int result = 0;
   14622   /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
   14623      returns.  */
   14624   {
   14625     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
   14626     if (cd_utf8_to_88591 != (iconv_t)(-1))
   14627       {
   14628         static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
   14629         char buf[10];
   14630         ICONV_CONST char *inptr = input;
   14631         size_t inbytesleft = strlen (input);
   14632         char *outptr = buf;
   14633         size_t outbytesleft = sizeof (buf);
   14634         size_t res = iconv (cd_utf8_to_88591,
   14635                             &inptr, &inbytesleft,
   14636                             &outptr, &outbytesleft);
   14637         if (res == 0)
   14638           result |= 1;
   14639         iconv_close (cd_utf8_to_88591);
   14640       }
   14641   }
   14642   /* Test against Solaris 10 bug: Failures are not distinguishable from
   14643      successful returns.  */
   14644   {
   14645     iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
   14646     if (cd_ascii_to_88591 != (iconv_t)(-1))
   14647       {
   14648         static ICONV_CONST char input[] = "\263";
   14649         char buf[10];
   14650         ICONV_CONST char *inptr = input;
   14651         size_t inbytesleft = strlen (input);
   14652         char *outptr = buf;
   14653         size_t outbytesleft = sizeof (buf);
   14654         size_t res = iconv (cd_ascii_to_88591,
   14655                             &inptr, &inbytesleft,
   14656                             &outptr, &outbytesleft);
   14657         if (res == 0)
   14658           result |= 2;
   14659         iconv_close (cd_ascii_to_88591);
   14660       }
   14661   }
   14662   /* Test against AIX 6.1..7.1 bug: Buffer overrun.  */
   14663   {
   14664     iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
   14665     if (cd_88591_to_utf8 != (iconv_t)(-1))
   14666       {
   14667         static ICONV_CONST char input[] = "\304";
   14668         static char buf[2] = { (char)0xDE, (char)0xAD };
   14669         ICONV_CONST char *inptr = input;
   14670         size_t inbytesleft = 1;
   14671         char *outptr = buf;
   14672         size_t outbytesleft = 1;
   14673         size_t res = iconv (cd_88591_to_utf8,
   14674                             &inptr, &inbytesleft,
   14675                             &outptr, &outbytesleft);
   14676         if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
   14677           result |= 4;
   14678         iconv_close (cd_88591_to_utf8);
   14679       }
   14680   }
   14681 #if 0 /* This bug could be worked around by the caller.  */
   14682   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
   14683   {
   14684     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
   14685     if (cd_88591_to_utf8 != (iconv_t)(-1))
   14686       {
   14687         static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
   14688         char buf[50];
   14689         ICONV_CONST char *inptr = input;
   14690         size_t inbytesleft = strlen (input);
   14691         char *outptr = buf;
   14692         size_t outbytesleft = sizeof (buf);
   14693         size_t res = iconv (cd_88591_to_utf8,
   14694                             &inptr, &inbytesleft,
   14695                             &outptr, &outbytesleft);
   14696         if ((int)res > 0)
   14697           result |= 8;
   14698         iconv_close (cd_88591_to_utf8);
   14699       }
   14700   }
   14701 #endif
   14702   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
   14703      provided.  */
   14704   if (/* Try standardized names.  */
   14705       iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
   14706       /* Try IRIX, OSF/1 names.  */
   14707       && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
   14708       /* Try AIX names.  */
   14709       && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
   14710       /* Try HP-UX names.  */
   14711       && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
   14712     result |= 16;
   14713   return result;
   14714 
   14715   ;
   14716   return 0;
   14717 }
   14718 _ACEOF
   14719 if ac_fn_c_try_run "$LINENO"; then :
   14720   am_cv_func_iconv_works=yes
   14721 fi
   14722 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   14723   conftest.$ac_objext conftest.beam conftest.$ac_ext
   14724 fi
   14725 
   14726         test "$am_cv_func_iconv_works" = no || break
   14727       done
   14728       LIBS="$am_save_LIBS"
   14729 
   14730 fi
   14731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
   14732 $as_echo "$am_cv_func_iconv_works" >&6; }
   14733     case "$am_cv_func_iconv_works" in
   14734       *no) am_func_iconv=no am_cv_lib_iconv=no ;;
   14735       *)   am_func_iconv=yes ;;
   14736     esac
   14737   else
   14738     am_func_iconv=no am_cv_lib_iconv=no
   14739   fi
   14740   if test "$am_func_iconv" = yes; then
   14741 
   14742 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
   14743 
   14744   fi
   14745   if test "$am_cv_lib_iconv" = yes; then
   14746     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
   14747 $as_echo_n "checking how to link with libiconv... " >&6; }
   14748     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
   14749 $as_echo "$LIBICONV" >&6; }
   14750   else
   14751             CPPFLAGS="$am_save_CPPFLAGS"
   14752     LIBICONV=
   14753     LTLIBICONV=
   14754   fi
   14755 
   14756 
   14757 
   14758 
   14759 
   14760 
   14761 
   14762 
   14763 
   14764 
   14765 
   14766     use_additional=yes
   14767 
   14768   acl_save_prefix="$prefix"
   14769   prefix="$acl_final_prefix"
   14770   acl_save_exec_prefix="$exec_prefix"
   14771   exec_prefix="$acl_final_exec_prefix"
   14772 
   14773     eval additional_includedir=\"$includedir\"
   14774     eval additional_libdir=\"$libdir\"
   14775 
   14776   exec_prefix="$acl_save_exec_prefix"
   14777   prefix="$acl_save_prefix"
   14778 
   14779 
   14780 # Check whether --with-libintl-prefix was given.
   14781 if test "${with_libintl_prefix+set}" = set; then :
   14782   withval=$with_libintl_prefix;
   14783     if test "X$withval" = "Xno"; then
   14784       use_additional=no
   14785     else
   14786       if test "X$withval" = "X"; then
   14787 
   14788   acl_save_prefix="$prefix"
   14789   prefix="$acl_final_prefix"
   14790   acl_save_exec_prefix="$exec_prefix"
   14791   exec_prefix="$acl_final_exec_prefix"
   14792 
   14793           eval additional_includedir=\"$includedir\"
   14794           eval additional_libdir=\"$libdir\"
   14795 
   14796   exec_prefix="$acl_save_exec_prefix"
   14797   prefix="$acl_save_prefix"
   14798 
   14799       else
   14800         additional_includedir="$withval/include"
   14801         additional_libdir="$withval/$acl_libdirstem"
   14802         if test "$acl_libdirstem2" != "$acl_libdirstem" \
   14803            && ! test -d "$withval/$acl_libdirstem"; then
   14804           additional_libdir="$withval/$acl_libdirstem2"
   14805         fi
   14806       fi
   14807     fi
   14808 
   14809 fi
   14810 
   14811       LIBINTL=
   14812   LTLIBINTL=
   14813   INCINTL=
   14814   LIBINTL_PREFIX=
   14815       HAVE_LIBINTL=
   14816   rpathdirs=
   14817   ltrpathdirs=
   14818   names_already_handled=
   14819   names_next_round='intl '
   14820   while test -n "$names_next_round"; do
   14821     names_this_round="$names_next_round"
   14822     names_next_round=
   14823     for name in $names_this_round; do
   14824       already_handled=
   14825       for n in $names_already_handled; do
   14826         if test "$n" = "$name"; then
   14827           already_handled=yes
   14828           break
   14829         fi
   14830       done
   14831       if test -z "$already_handled"; then
   14832         names_already_handled="$names_already_handled $name"
   14833                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
   14834         eval value=\"\$HAVE_LIB$uppername\"
   14835         if test -n "$value"; then
   14836           if test "$value" = yes; then
   14837             eval value=\"\$LIB$uppername\"
   14838             test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
   14839             eval value=\"\$LTLIB$uppername\"
   14840             test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
   14841           else
   14842                                     :
   14843           fi
   14844         else
   14845                               found_dir=
   14846           found_la=
   14847           found_so=
   14848           found_a=
   14849           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
   14850           if test -n "$acl_shlibext"; then
   14851             shrext=".$acl_shlibext"             # typically: shrext=.so
   14852           else
   14853             shrext=
   14854           fi
   14855           if test $use_additional = yes; then
   14856             dir="$additional_libdir"
   14857                                     if test -n "$acl_shlibext"; then
   14858               if test -f "$dir/$libname$shrext"; then
   14859                 found_dir="$dir"
   14860                 found_so="$dir/$libname$shrext"
   14861               else
   14862                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
   14863                   ver=`(cd "$dir" && \
   14864                         for f in "$libname$shrext".*; do echo "$f"; done \
   14865                         | sed -e "s,^$libname$shrext\\\\.,," \
   14866                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
   14867                         | sed 1q ) 2>/dev/null`
   14868                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
   14869                     found_dir="$dir"
   14870                     found_so="$dir/$libname$shrext.$ver"
   14871                   fi
   14872                 else
   14873                   eval library_names=\"$acl_library_names_spec\"
   14874                   for f in $library_names; do
   14875                     if test -f "$dir/$f"; then
   14876                       found_dir="$dir"
   14877                       found_so="$dir/$f"
   14878                       break
   14879                     fi
   14880                   done
   14881                 fi
   14882               fi
   14883             fi
   14884                         if test "X$found_dir" = "X"; then
   14885               if test -f "$dir/$libname.$acl_libext"; then
   14886                 found_dir="$dir"
   14887                 found_a="$dir/$libname.$acl_libext"
   14888               fi
   14889             fi
   14890             if test "X$found_dir" != "X"; then
   14891               if test -f "$dir/$libname.la"; then
   14892                 found_la="$dir/$libname.la"
   14893               fi
   14894             fi
   14895           fi
   14896           if test "X$found_dir" = "X"; then
   14897             for x in $LDFLAGS $LTLIBINTL; do
   14898 
   14899   acl_save_prefix="$prefix"
   14900   prefix="$acl_final_prefix"
   14901   acl_save_exec_prefix="$exec_prefix"
   14902   exec_prefix="$acl_final_exec_prefix"
   14903   eval x=\"$x\"
   14904   exec_prefix="$acl_save_exec_prefix"
   14905   prefix="$acl_save_prefix"
   14906 
   14907               case "$x" in
   14908                 -L*)
   14909                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   14910                                     if test -n "$acl_shlibext"; then
   14911                     if test -f "$dir/$libname$shrext"; then
   14912                       found_dir="$dir"
   14913                       found_so="$dir/$libname$shrext"
   14914                     else
   14915                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
   14916                         ver=`(cd "$dir" && \
   14917                               for f in "$libname$shrext".*; do echo "$f"; done \
   14918                               | sed -e "s,^$libname$shrext\\\\.,," \
   14919                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
   14920                               | sed 1q ) 2>/dev/null`
   14921                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
   14922                           found_dir="$dir"
   14923                           found_so="$dir/$libname$shrext.$ver"
   14924                         fi
   14925                       else
   14926                         eval library_names=\"$acl_library_names_spec\"
   14927                         for f in $library_names; do
   14928                           if test -f "$dir/$f"; then
   14929                             found_dir="$dir"
   14930                             found_so="$dir/$f"
   14931                             break
   14932                           fi
   14933                         done
   14934                       fi
   14935                     fi
   14936                   fi
   14937                                     if test "X$found_dir" = "X"; then
   14938                     if test -f "$dir/$libname.$acl_libext"; then
   14939                       found_dir="$dir"
   14940                       found_a="$dir/$libname.$acl_libext"
   14941                     fi
   14942                   fi
   14943                   if test "X$found_dir" != "X"; then
   14944                     if test -f "$dir/$libname.la"; then
   14945                       found_la="$dir/$libname.la"
   14946                     fi
   14947                   fi
   14948                   ;;
   14949               esac
   14950               if test "X$found_dir" != "X"; then
   14951                 break
   14952               fi
   14953             done
   14954           fi
   14955           if test "X$found_dir" != "X"; then
   14956                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
   14957             if test "X$found_so" != "X"; then
   14958                                                         if test "$enable_rpath" = no \
   14959                  || test "X$found_dir" = "X/usr/$acl_libdirstem" \
   14960                  || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
   14961                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   14962               else
   14963                                                                                 haveit=
   14964                 for x in $ltrpathdirs; do
   14965                   if test "X$x" = "X$found_dir"; then
   14966                     haveit=yes
   14967                     break
   14968                   fi
   14969                 done
   14970                 if test -z "$haveit"; then
   14971                   ltrpathdirs="$ltrpathdirs $found_dir"
   14972                 fi
   14973                                 if test "$acl_hardcode_direct" = yes; then
   14974                                                       LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   14975                 else
   14976                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
   14977                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   14978                                                             haveit=
   14979                     for x in $rpathdirs; do
   14980                       if test "X$x" = "X$found_dir"; then
   14981                         haveit=yes
   14982                         break
   14983                       fi
   14984                     done
   14985                     if test -z "$haveit"; then
   14986                       rpathdirs="$rpathdirs $found_dir"
   14987                     fi
   14988                   else
   14989                                                                                 haveit=
   14990                     for x in $LDFLAGS $LIBINTL; do
   14991 
   14992   acl_save_prefix="$prefix"
   14993   prefix="$acl_final_prefix"
   14994   acl_save_exec_prefix="$exec_prefix"
   14995   exec_prefix="$acl_final_exec_prefix"
   14996   eval x=\"$x\"
   14997   exec_prefix="$acl_save_exec_prefix"
   14998   prefix="$acl_save_prefix"
   14999 
   15000                       if test "X$x" = "X-L$found_dir"; then
   15001                         haveit=yes
   15002                         break
   15003                       fi
   15004                     done
   15005                     if test -z "$haveit"; then
   15006                       LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
   15007                     fi
   15008                     if test "$acl_hardcode_minus_L" != no; then
   15009                                                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   15010                     else
   15011                                                                                                                                                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
   15012                     fi
   15013                   fi
   15014                 fi
   15015               fi
   15016             else
   15017               if test "X$found_a" != "X"; then
   15018                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
   15019               else
   15020                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
   15021               fi
   15022             fi
   15023                         additional_includedir=
   15024             case "$found_dir" in
   15025               */$acl_libdirstem | */$acl_libdirstem/)
   15026                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
   15027                 if test "$name" = 'intl'; then
   15028                   LIBINTL_PREFIX="$basedir"
   15029                 fi
   15030                 additional_includedir="$basedir/include"
   15031                 ;;
   15032               */$acl_libdirstem2 | */$acl_libdirstem2/)
   15033                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
   15034                 if test "$name" = 'intl'; then
   15035                   LIBINTL_PREFIX="$basedir"
   15036                 fi
   15037                 additional_includedir="$basedir/include"
   15038                 ;;
   15039             esac
   15040             if test "X$additional_includedir" != "X"; then
   15041                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   15042                 haveit=
   15043                 if test "X$additional_includedir" = "X/usr/local/include"; then
   15044                   if test -n "$GCC"; then
   15045                     case $host_os in
   15046                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
   15047                     esac
   15048                   fi
   15049                 fi
   15050                 if test -z "$haveit"; then
   15051                   for x in $CPPFLAGS $INCINTL; do
   15052 
   15053   acl_save_prefix="$prefix"
   15054   prefix="$acl_final_prefix"
   15055   acl_save_exec_prefix="$exec_prefix"
   15056   exec_prefix="$acl_final_exec_prefix"
   15057   eval x=\"$x\"
   15058   exec_prefix="$acl_save_exec_prefix"
   15059   prefix="$acl_save_prefix"
   15060 
   15061                     if test "X$x" = "X-I$additional_includedir"; then
   15062                       haveit=yes
   15063                       break
   15064                     fi
   15065                   done
   15066                   if test -z "$haveit"; then
   15067                     if test -d "$additional_includedir"; then
   15068                                             INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
   15069                     fi
   15070                   fi
   15071                 fi
   15072               fi
   15073             fi
   15074                         if test -n "$found_la"; then
   15075                                                         save_libdir="$libdir"
   15076               case "$found_la" in
   15077                 */* | *\\*) . "$found_la" ;;
   15078                 *) . "./$found_la" ;;
   15079               esac
   15080               libdir="$save_libdir"
   15081                             for dep in $dependency_libs; do
   15082                 case "$dep" in
   15083                   -L*)
   15084                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   15085                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
   15086                        && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
   15087                       haveit=
   15088                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
   15089                          || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
   15090                         if test -n "$GCC"; then
   15091                           case $host_os in
   15092                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
   15093                           esac
   15094                         fi
   15095                       fi
   15096                       if test -z "$haveit"; then
   15097                         haveit=
   15098                         for x in $LDFLAGS $LIBINTL; do
   15099 
   15100   acl_save_prefix="$prefix"
   15101   prefix="$acl_final_prefix"
   15102   acl_save_exec_prefix="$exec_prefix"
   15103   exec_prefix="$acl_final_exec_prefix"
   15104   eval x=\"$x\"
   15105   exec_prefix="$acl_save_exec_prefix"
   15106   prefix="$acl_save_prefix"
   15107 
   15108                           if test "X$x" = "X-L$additional_libdir"; then
   15109                             haveit=yes
   15110                             break
   15111                           fi
   15112                         done
   15113                         if test -z "$haveit"; then
   15114                           if test -d "$additional_libdir"; then
   15115                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
   15116                           fi
   15117                         fi
   15118                         haveit=
   15119                         for x in $LDFLAGS $LTLIBINTL; do
   15120 
   15121   acl_save_prefix="$prefix"
   15122   prefix="$acl_final_prefix"
   15123   acl_save_exec_prefix="$exec_prefix"
   15124   exec_prefix="$acl_final_exec_prefix"
   15125   eval x=\"$x\"
   15126   exec_prefix="$acl_save_exec_prefix"
   15127   prefix="$acl_save_prefix"
   15128 
   15129                           if test "X$x" = "X-L$additional_libdir"; then
   15130                             haveit=yes
   15131                             break
   15132                           fi
   15133                         done
   15134                         if test -z "$haveit"; then
   15135                           if test -d "$additional_libdir"; then
   15136                                                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
   15137                           fi
   15138                         fi
   15139                       fi
   15140                     fi
   15141                     ;;
   15142                   -R*)
   15143                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   15144                     if test "$enable_rpath" != no; then
   15145                                                                   haveit=
   15146                       for x in $rpathdirs; do
   15147                         if test "X$x" = "X$dir"; then
   15148                           haveit=yes
   15149                           break
   15150                         fi
   15151                       done
   15152                       if test -z "$haveit"; then
   15153                         rpathdirs="$rpathdirs $dir"
   15154                       fi
   15155                                                                   haveit=
   15156                       for x in $ltrpathdirs; do
   15157                         if test "X$x" = "X$dir"; then
   15158                           haveit=yes
   15159                           break
   15160                         fi
   15161                       done
   15162                       if test -z "$haveit"; then
   15163                         ltrpathdirs="$ltrpathdirs $dir"
   15164                       fi
   15165                     fi
   15166                     ;;
   15167                   -l*)
   15168                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
   15169                     ;;
   15170                   *.la)
   15171                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   15172                     ;;
   15173                   *)
   15174                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
   15175                     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
   15176                     ;;
   15177                 esac
   15178               done
   15179             fi
   15180           else
   15181                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
   15182             LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
   15183           fi
   15184         fi
   15185       fi
   15186     done
   15187   done
   15188   if test "X$rpathdirs" != "X"; then
   15189     if test -n "$acl_hardcode_libdir_separator"; then
   15190                         alldirs=
   15191       for found_dir in $rpathdirs; do
   15192         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
   15193       done
   15194             acl_save_libdir="$libdir"
   15195       libdir="$alldirs"
   15196       eval flag=\"$acl_hardcode_libdir_flag_spec\"
   15197       libdir="$acl_save_libdir"
   15198       LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
   15199     else
   15200             for found_dir in $rpathdirs; do
   15201         acl_save_libdir="$libdir"
   15202         libdir="$found_dir"
   15203         eval flag=\"$acl_hardcode_libdir_flag_spec\"
   15204         libdir="$acl_save_libdir"
   15205         LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
   15206       done
   15207     fi
   15208   fi
   15209   if test "X$ltrpathdirs" != "X"; then
   15210             for found_dir in $ltrpathdirs; do
   15211       LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
   15212     done
   15213   fi
   15214 
   15215 
   15216 
   15217 
   15218 
   15219 
   15220           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
   15221 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
   15222 if eval \${$gt_func_gnugettext_libintl+:} false; then :
   15223   $as_echo_n "(cached) " >&6
   15224 else
   15225   gt_save_CPPFLAGS="$CPPFLAGS"
   15226             CPPFLAGS="$CPPFLAGS $INCINTL"
   15227             gt_save_LIBS="$LIBS"
   15228             LIBS="$LIBS $LIBINTL"
   15229                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15230 /* end confdefs.h.  */
   15231 
   15232 #include <libintl.h>
   15233 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
   15234 extern int _nl_msg_cat_cntr;
   15235 extern
   15236 #ifdef __cplusplus
   15237 "C"
   15238 #endif
   15239 const char *_nl_expand_alias (const char *);
   15240 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
   15241 #else
   15242 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
   15243 #endif
   15244 $gt_revision_test_code
   15245 
   15246 int
   15247 main ()
   15248 {
   15249 
   15250 bindtextdomain ("", "");
   15251 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
   15252 
   15253   ;
   15254   return 0;
   15255 }
   15256 _ACEOF
   15257 if ac_fn_c_try_link "$LINENO"; then :
   15258   eval "$gt_func_gnugettext_libintl=yes"
   15259 else
   15260   eval "$gt_func_gnugettext_libintl=no"
   15261 fi
   15262 rm -f core conftest.err conftest.$ac_objext \
   15263     conftest$ac_exeext conftest.$ac_ext
   15264                         if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
   15265               LIBS="$LIBS $LIBICONV"
   15266               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15267 /* end confdefs.h.  */
   15268 
   15269 #include <libintl.h>
   15270 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
   15271 extern int _nl_msg_cat_cntr;
   15272 extern
   15273 #ifdef __cplusplus
   15274 "C"
   15275 #endif
   15276 const char *_nl_expand_alias (const char *);
   15277 #define __GNU_GETTEXT_SYMBOL_EXPRESSION (_nl_msg_cat_cntr + *_nl_expand_alias (""))
   15278 #else
   15279 #define __GNU_GETTEXT_SYMBOL_EXPRESSION 0
   15280 #endif
   15281 $gt_revision_test_code
   15282 
   15283 int
   15284 main ()
   15285 {
   15286 
   15287 bindtextdomain ("", "");
   15288 return * gettext ("")$gt_expression_test_code + __GNU_GETTEXT_SYMBOL_EXPRESSION
   15289 
   15290   ;
   15291   return 0;
   15292 }
   15293 _ACEOF
   15294 if ac_fn_c_try_link "$LINENO"; then :
   15295   LIBINTL="$LIBINTL $LIBICONV"
   15296                  LTLIBINTL="$LTLIBINTL $LTLIBICONV"
   15297                  eval "$gt_func_gnugettext_libintl=yes"
   15298 
   15299 fi
   15300 rm -f core conftest.err conftest.$ac_objext \
   15301     conftest$ac_exeext conftest.$ac_ext
   15302             fi
   15303             CPPFLAGS="$gt_save_CPPFLAGS"
   15304             LIBS="$gt_save_LIBS"
   15305 fi
   15306 eval ac_res=\$$gt_func_gnugettext_libintl
   15307 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   15308 $as_echo "$ac_res" >&6; }
   15309         fi
   15310 
   15311                                         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
   15312            || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
   15313                 && test "$PACKAGE" != gettext-runtime \
   15314                 && test "$PACKAGE" != gettext-tools; }; then
   15315           gt_use_preinstalled_gnugettext=yes
   15316         else
   15317                     LIBINTL=
   15318           LTLIBINTL=
   15319           INCINTL=
   15320         fi
   15321 
   15322 
   15323 
   15324     if test -n "$INTL_MACOSX_LIBS"; then
   15325       if test "$gt_use_preinstalled_gnugettext" = "yes" \
   15326          || test "$nls_cv_use_gnu_gettext" = "yes"; then
   15327                 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
   15328         LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
   15329       fi
   15330     fi
   15331 
   15332     if test "$gt_use_preinstalled_gnugettext" = "yes" \
   15333        || test "$nls_cv_use_gnu_gettext" = "yes"; then
   15334 
   15335 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
   15336 
   15337     else
   15338       USE_NLS=no
   15339     fi
   15340   fi
   15341 
   15342   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
   15343 $as_echo_n "checking whether to use NLS... " >&6; }
   15344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
   15345 $as_echo "$USE_NLS" >&6; }
   15346   if test "$USE_NLS" = "yes"; then
   15347     { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
   15348 $as_echo_n "checking where the gettext function comes from... " >&6; }
   15349     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
   15350       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
   15351         gt_source="external libintl"
   15352       else
   15353         gt_source="libc"
   15354       fi
   15355     else
   15356       gt_source="included intl directory"
   15357     fi
   15358     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
   15359 $as_echo "$gt_source" >&6; }
   15360   fi
   15361 
   15362   if test "$USE_NLS" = "yes"; then
   15363 
   15364     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
   15365       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
   15366         { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
   15367 $as_echo_n "checking how to link with libintl... " >&6; }
   15368         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
   15369 $as_echo "$LIBINTL" >&6; }
   15370 
   15371   for element in $INCINTL; do
   15372     haveit=
   15373     for x in $CPPFLAGS; do
   15374 
   15375   acl_save_prefix="$prefix"
   15376   prefix="$acl_final_prefix"
   15377   acl_save_exec_prefix="$exec_prefix"
   15378   exec_prefix="$acl_final_exec_prefix"
   15379   eval x=\"$x\"
   15380   exec_prefix="$acl_save_exec_prefix"
   15381   prefix="$acl_save_prefix"
   15382 
   15383       if test "X$x" = "X$element"; then
   15384         haveit=yes
   15385         break
   15386       fi
   15387     done
   15388     if test -z "$haveit"; then
   15389       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   15390     fi
   15391   done
   15392 
   15393       fi
   15394 
   15395 
   15396 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
   15397 
   15398 
   15399 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
   15400 
   15401     fi
   15402 
   15403         POSUB=po
   15404   fi
   15405 
   15406 
   15407 
   15408     INTLLIBS="$LIBINTL"
   15409 
   15410 
   15411 
   15412 
   15413 
   15414 
   15415 
   15416 
   15417 if test "$os_win32" = "yes"; then
   15418   # Extract the first word of "lib.exe", so it can be a program name with args.
   15419 set dummy lib.exe; ac_word=$2
   15420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15421 $as_echo_n "checking for $ac_word... " >&6; }
   15422 if ${ac_cv_prog_ms_librarian+:} false; then :
   15423   $as_echo_n "(cached) " >&6
   15424 else
   15425   if test -n "$ms_librarian"; then
   15426   ac_cv_prog_ms_librarian="$ms_librarian" # Let the user override the test.
   15427 else
   15428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15429 for as_dir in $PATH
   15430 do
   15431   IFS=$as_save_IFS
   15432   test -z "$as_dir" && as_dir=.
   15433     for ac_exec_ext in '' $ac_executable_extensions; do
   15434   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   15435     ac_cv_prog_ms_librarian="yes"
   15436     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   15437     break 2
   15438   fi
   15439 done
   15440   done
   15441 IFS=$as_save_IFS
   15442 
   15443   test -z "$ac_cv_prog_ms_librarian" && ac_cv_prog_ms_librarian="no"
   15444 fi
   15445 fi
   15446 ms_librarian=$ac_cv_prog_ms_librarian
   15447 if test -n "$ms_librarian"; then
   15448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ms_librarian" >&5
   15449 $as_echo "$ms_librarian" >&6; }
   15450 else
   15451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15452 $as_echo "no" >&6; }
   15453 fi
   15454 
   15455 
   15456 fi
   15457  if test x$ms_librarian = xyes; then
   15458   MS_LIB_AVAILABLE_TRUE=
   15459   MS_LIB_AVAILABLE_FALSE='#'
   15460 else
   15461   MS_LIB_AVAILABLE_TRUE='#'
   15462   MS_LIB_AVAILABLE_FALSE=
   15463 fi
   15464 
   15465 
   15466 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   15467 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   15468   SUNCC="yes"
   15469 else
   15470   SUNCC="no"
   15471 fi
   15472 
   15473 WARN_CFLAGS=""
   15474 WARNING_CPP_DIRECTIVE="no"
   15475 if test "x$GCC" = "xyes"; then
   15476 	WARN_CFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes \
   15477 	-Wmissing-prototypes -Wmissing-declarations \
   15478 	-Wnested-externs -fno-strict-aliasing"
   15479 	WARNING_CPP_DIRECTIVE="yes"
   15480 elif test "x$SUNCC" = "xyes"; then
   15481 	WARN_CFLAGS="-v -fd"
   15482 	WARNING_CPP_DIRECTIVE="yes"
   15483 fi
   15484 if test "x$WARNING_CPP_DIRECTIVE" = "xyes"; then
   15485 
   15486 cat >>confdefs.h <<_ACEOF
   15487 #define HAVE_WARNING_CPP_DIRECTIVE 1
   15488 _ACEOF
   15489 
   15490 fi
   15491 
   15492 
   15493 
   15494 
   15495 # Put a plausible default for CC_FOR_BUILD in Makefile.
   15496 if test -z "$CC_FOR_BUILD"; then
   15497   if test "x$cross_compiling" = "xno"; then
   15498     CC_FOR_BUILD='$(CC)'
   15499   else
   15500     CC_FOR_BUILD=gcc
   15501   fi
   15502 fi
   15503 
   15504 # Also set EXEEXT_FOR_BUILD.
   15505 if test "x$cross_compiling" = "xno"; then
   15506   EXEEXT_FOR_BUILD='$(EXEEXT)'
   15507 else
   15508   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build system executable suffix" >&5
   15509 $as_echo_n "checking for build system executable suffix... " >&6; }
   15510 if ${bfd_cv_build_exeext+:} false; then :
   15511   $as_echo_n "(cached) " >&6
   15512 else
   15513   rm -f conftest*
   15514      echo 'int main () { return 0; }' > conftest.c
   15515      bfd_cv_build_exeext=
   15516      ${CC_FOR_BUILD} -o conftest conftest.c 1>&5 2>&5
   15517      for file in conftest.*; do
   15518        case $file in
   15519        *.c | *.o | *.obj | *.ilk | *.pdb) ;;
   15520        *) bfd_cv_build_exeext=`echo $file | sed -e s/conftest//` ;;
   15521        esac
   15522      done
   15523      rm -f conftest*
   15524      test x"${bfd_cv_build_exeext}" = x && bfd_cv_build_exeext=no
   15525 fi
   15526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_build_exeext" >&5
   15527 $as_echo "$bfd_cv_build_exeext" >&6; }
   15528   EXEEXT_FOR_BUILD=""
   15529   test x"${bfd_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${bfd_cv_build_exeext}
   15530 fi
   15531 
   15532 
   15533  if test $cross_compiling = yes; then
   15534   CROSS_COMPILING_TRUE=
   15535   CROSS_COMPILING_FALSE='#'
   15536 else
   15537   CROSS_COMPILING_TRUE='#'
   15538   CROSS_COMPILING_FALSE=
   15539 fi
   15540 
   15541  if test "$enable_shared" = "yes"; then
   15542   ENABLE_SHARED_TRUE=
   15543   ENABLE_SHARED_FALSE='#'
   15544 else
   15545   ENABLE_SHARED_TRUE='#'
   15546   ENABLE_SHARED_FALSE=
   15547 fi
   15548 
   15549 
   15550 
   15551 
   15552 # Check whether --with-arch was given.
   15553 if test "${with_arch+set}" = set; then :
   15554   withval=$with_arch; arch="$withval"
   15555 else
   15556   arch=auto
   15557 fi
   15558 
   15559 
   15560 if test "x$arch" != xauto; then
   15561 
   15562 cat >>confdefs.h <<_ACEOF
   15563 #define FC_ARCHITECTURE "$arch"
   15564 _ACEOF
   15565 
   15566 fi
   15567 
   15568 
   15569 
   15570 # Checks for header files.
   15571 ac_header_dirent=no
   15572 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
   15573   as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
   15574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
   15575 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
   15576 if eval \${$as_ac_Header+:} false; then :
   15577   $as_echo_n "(cached) " >&6
   15578 else
   15579   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15580 /* end confdefs.h.  */
   15581 #include <sys/types.h>
   15582 #include <$ac_hdr>
   15583 
   15584 int
   15585 main ()
   15586 {
   15587 if ((DIR *) 0)
   15588 return 0;
   15589   ;
   15590   return 0;
   15591 }
   15592 _ACEOF
   15593 if ac_fn_c_try_compile "$LINENO"; then :
   15594   eval "$as_ac_Header=yes"
   15595 else
   15596   eval "$as_ac_Header=no"
   15597 fi
   15598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15599 fi
   15600 eval ac_res=\$$as_ac_Header
   15601 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   15602 $as_echo "$ac_res" >&6; }
   15603 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   15604   cat >>confdefs.h <<_ACEOF
   15605 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
   15606 _ACEOF
   15607 
   15608 ac_header_dirent=$ac_hdr; break
   15609 fi
   15610 
   15611 done
   15612 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
   15613 if test $ac_header_dirent = dirent.h; then
   15614   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
   15615 $as_echo_n "checking for library containing opendir... " >&6; }
   15616 if ${ac_cv_search_opendir+:} false; then :
   15617   $as_echo_n "(cached) " >&6
   15618 else
   15619   ac_func_search_save_LIBS=$LIBS
   15620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15621 /* end confdefs.h.  */
   15622 
   15623 /* Override any GCC internal prototype to avoid an error.
   15624    Use char because int might match the return type of a GCC
   15625    builtin and then its argument prototype would still apply.  */
   15626 #ifdef __cplusplus
   15627 extern "C"
   15628 #endif
   15629 char opendir ();
   15630 int
   15631 main ()
   15632 {
   15633 return opendir ();
   15634   ;
   15635   return 0;
   15636 }
   15637 _ACEOF
   15638 for ac_lib in '' dir; do
   15639   if test -z "$ac_lib"; then
   15640     ac_res="none required"
   15641   else
   15642     ac_res=-l$ac_lib
   15643     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   15644   fi
   15645   if ac_fn_c_try_link "$LINENO"; then :
   15646   ac_cv_search_opendir=$ac_res
   15647 fi
   15648 rm -f core conftest.err conftest.$ac_objext \
   15649     conftest$ac_exeext
   15650   if ${ac_cv_search_opendir+:} false; then :
   15651   break
   15652 fi
   15653 done
   15654 if ${ac_cv_search_opendir+:} false; then :
   15655 
   15656 else
   15657   ac_cv_search_opendir=no
   15658 fi
   15659 rm conftest.$ac_ext
   15660 LIBS=$ac_func_search_save_LIBS
   15661 fi
   15662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
   15663 $as_echo "$ac_cv_search_opendir" >&6; }
   15664 ac_res=$ac_cv_search_opendir
   15665 if test "$ac_res" != no; then :
   15666   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   15667 
   15668 fi
   15669 
   15670 else
   15671   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
   15672 $as_echo_n "checking for library containing opendir... " >&6; }
   15673 if ${ac_cv_search_opendir+:} false; then :
   15674   $as_echo_n "(cached) " >&6
   15675 else
   15676   ac_func_search_save_LIBS=$LIBS
   15677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15678 /* end confdefs.h.  */
   15679 
   15680 /* Override any GCC internal prototype to avoid an error.
   15681    Use char because int might match the return type of a GCC
   15682    builtin and then its argument prototype would still apply.  */
   15683 #ifdef __cplusplus
   15684 extern "C"
   15685 #endif
   15686 char opendir ();
   15687 int
   15688 main ()
   15689 {
   15690 return opendir ();
   15691   ;
   15692   return 0;
   15693 }
   15694 _ACEOF
   15695 for ac_lib in '' x; do
   15696   if test -z "$ac_lib"; then
   15697     ac_res="none required"
   15698   else
   15699     ac_res=-l$ac_lib
   15700     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   15701   fi
   15702   if ac_fn_c_try_link "$LINENO"; then :
   15703   ac_cv_search_opendir=$ac_res
   15704 fi
   15705 rm -f core conftest.err conftest.$ac_objext \
   15706     conftest$ac_exeext
   15707   if ${ac_cv_search_opendir+:} false; then :
   15708   break
   15709 fi
   15710 done
   15711 if ${ac_cv_search_opendir+:} false; then :
   15712 
   15713 else
   15714   ac_cv_search_opendir=no
   15715 fi
   15716 rm conftest.$ac_ext
   15717 LIBS=$ac_func_search_save_LIBS
   15718 fi
   15719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
   15720 $as_echo "$ac_cv_search_opendir" >&6; }
   15721 ac_res=$ac_cv_search_opendir
   15722 if test "$ac_res" != no; then :
   15723   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   15724 
   15725 fi
   15726 
   15727 fi
   15728 
   15729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   15730 $as_echo_n "checking for ANSI C header files... " >&6; }
   15731 if ${ac_cv_header_stdc+:} false; then :
   15732   $as_echo_n "(cached) " >&6
   15733 else
   15734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15735 /* end confdefs.h.  */
   15736 #include <stdlib.h>
   15737 #include <stdarg.h>
   15738 #include <string.h>
   15739 #include <float.h>
   15740 
   15741 int
   15742 main ()
   15743 {
   15744 
   15745   ;
   15746   return 0;
   15747 }
   15748 _ACEOF
   15749 if ac_fn_c_try_compile "$LINENO"; then :
   15750   ac_cv_header_stdc=yes
   15751 else
   15752   ac_cv_header_stdc=no
   15753 fi
   15754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15755 
   15756 if test $ac_cv_header_stdc = yes; then
   15757   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   15758   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15759 /* end confdefs.h.  */
   15760 #include <string.h>
   15761 
   15762 _ACEOF
   15763 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   15764   $EGREP "memchr" >/dev/null 2>&1; then :
   15765 
   15766 else
   15767   ac_cv_header_stdc=no
   15768 fi
   15769 rm -f conftest*
   15770 
   15771 fi
   15772 
   15773 if test $ac_cv_header_stdc = yes; then
   15774   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   15775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15776 /* end confdefs.h.  */
   15777 #include <stdlib.h>
   15778 
   15779 _ACEOF
   15780 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   15781   $EGREP "free" >/dev/null 2>&1; then :
   15782 
   15783 else
   15784   ac_cv_header_stdc=no
   15785 fi
   15786 rm -f conftest*
   15787 
   15788 fi
   15789 
   15790 if test $ac_cv_header_stdc = yes; then
   15791   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   15792   if test "$cross_compiling" = yes; then :
   15793   :
   15794 else
   15795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15796 /* end confdefs.h.  */
   15797 #include <ctype.h>
   15798 #include <stdlib.h>
   15799 #if ((' ' & 0x0FF) == 0x020)
   15800 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   15801 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   15802 #else
   15803 # define ISLOWER(c) \
   15804 		   (('a' <= (c) && (c) <= 'i') \
   15805 		     || ('j' <= (c) && (c) <= 'r') \
   15806 		     || ('s' <= (c) && (c) <= 'z'))
   15807 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   15808 #endif
   15809 
   15810 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   15811 int
   15812 main ()
   15813 {
   15814   int i;
   15815   for (i = 0; i < 256; i++)
   15816     if (XOR (islower (i), ISLOWER (i))
   15817 	|| toupper (i) != TOUPPER (i))
   15818       return 2;
   15819   return 0;
   15820 }
   15821 _ACEOF
   15822 if ac_fn_c_try_run "$LINENO"; then :
   15823 
   15824 else
   15825   ac_cv_header_stdc=no
   15826 fi
   15827 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   15828   conftest.$ac_objext conftest.beam conftest.$ac_ext
   15829 fi
   15830 
   15831 fi
   15832 fi
   15833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   15834 $as_echo "$ac_cv_header_stdc" >&6; }
   15835 if test $ac_cv_header_stdc = yes; then
   15836 
   15837 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   15838 
   15839 fi
   15840 
   15841 for ac_header in fcntl.h stdlib.h string.h unistd.h sys/statvfs.h sys/vfs.h sys/statfs.h sys/param.h sys/mount.h
   15842 do :
   15843   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   15844 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   15845 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   15846   cat >>confdefs.h <<_ACEOF
   15847 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   15848 _ACEOF
   15849 
   15850 fi
   15851 
   15852 done
   15853 
   15854 # ------ AX CREATE STDINT H -------------------------------------
   15855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint types" >&5
   15856 $as_echo_n "checking for stdint types... " >&6; }
   15857 ac_stdint_h=`echo src/fcstdint.h`
   15858 # try to shortcircuit - if the default include path of the compiler
   15859 # can find a "stdint.h" header then we assume that all compilers can.
   15860 if ${ac_cv_header_stdint_t+:} false; then :
   15861   $as_echo_n "(cached) " >&6
   15862 else
   15863 
   15864 old_CXXFLAGS="$CXXFLAGS" ; CXXFLAGS=""
   15865 old_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS=""
   15866 old_CFLAGS="$CFLAGS"     ; CFLAGS=""
   15867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15868 /* end confdefs.h.  */
   15869 #include <stdint.h>
   15870 int
   15871 main ()
   15872 {
   15873 int_least32_t v = 0;
   15874   ;
   15875   return 0;
   15876 }
   15877 _ACEOF
   15878 if ac_fn_c_try_compile "$LINENO"; then :
   15879   ac_cv_stdint_result="(assuming C99 compatible system)"
   15880  ac_cv_header_stdint_t="stdint.h";
   15881 else
   15882   ac_cv_header_stdint_t=""
   15883 fi
   15884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15885 if test "$GCC" = "yes" && test ".$ac_cv_header_stdint_t" = "."; then
   15886 CFLAGS="-std=c99"
   15887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15888 /* end confdefs.h.  */
   15889 #include <stdint.h>
   15890 int
   15891 main ()
   15892 {
   15893 int_least32_t v = 0;
   15894   ;
   15895   return 0;
   15896 }
   15897 _ACEOF
   15898 if ac_fn_c_try_compile "$LINENO"; then :
   15899   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&5
   15900 $as_echo "$as_me: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&2;}
   15901 fi
   15902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15903 fi
   15904 CXXFLAGS="$old_CXXFLAGS"
   15905 CPPFLAGS="$old_CPPFLAGS"
   15906 CFLAGS="$old_CFLAGS"
   15907 fi
   15908 
   15909 
   15910 v="... $ac_cv_header_stdint_h"
   15911 if test "$ac_stdint_h" = "stdint.h" ; then
   15912  { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./stdint.h?)" >&5
   15913 $as_echo "(are you sure you want them in ./stdint.h?)" >&6; }
   15914 elif test "$ac_stdint_h" = "inttypes.h" ; then
   15915  { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./inttypes.h?)" >&5
   15916 $as_echo "(are you sure you want them in ./inttypes.h?)" >&6; }
   15917 elif test "_$ac_cv_header_stdint_t" = "_" ; then
   15918  { $as_echo "$as_me:${as_lineno-$LINENO}: result: (putting them into $ac_stdint_h)$v" >&5
   15919 $as_echo "(putting them into $ac_stdint_h)$v" >&6; }
   15920 else
   15921  ac_cv_header_stdint="$ac_cv_header_stdint_t"
   15922  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint (shortcircuit)" >&5
   15923 $as_echo "$ac_cv_header_stdint (shortcircuit)" >&6; }
   15924 fi
   15925 
   15926 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
   15927 
   15928 
   15929 inttype_headers=`echo  | sed -e 's/,/ /g'`
   15930 
   15931 ac_cv_stdint_result="(no helpful system typedefs seen)"
   15932 
   15933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
   15934 $as_echo_n "checking for stdint uintptr_t... " >&6; }
   15935 if ${ac_cv_header_stdint_x+:} false; then :
   15936   $as_echo_n "(cached) " >&6
   15937 else
   15938 
   15939  ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h)
   15940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
   15941 $as_echo "(..)" >&6; }
   15942   for i in    stdint.h inttypes.h sys/inttypes.h $inttype_headers
   15943   do
   15944    unset ac_cv_type_uintptr_t
   15945    unset ac_cv_type_uint64_t
   15946    ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <$i>
   15947 "
   15948 if test "x$ac_cv_type_uintptr_t" = xyes; then :
   15949   ac_cv_header_stdint_x=$i
   15950 else
   15951   continue
   15952 fi
   15953 
   15954    ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
   15955 "
   15956 if test "x$ac_cv_type_uint64_t" = xyes; then :
   15957   and64="/uint64_t"
   15958 else
   15959   and64=""
   15960 fi
   15961 
   15962    ac_cv_stdint_result="(seen uintptr_t$and64 in $i)"
   15963  break
   15964   done
   15965   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
   15966 $as_echo_n "checking for stdint uintptr_t... " >&6; }
   15967 
   15968 fi
   15969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_x" >&5
   15970 $as_echo "$ac_cv_header_stdint_x" >&6; }
   15971 
   15972 
   15973 if test "_$ac_cv_header_stdint_x" = "_" ; then
   15974 
   15975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
   15976 $as_echo_n "checking for stdint uint32_t... " >&6; }
   15977 if ${ac_cv_header_stdint_o+:} false; then :
   15978   $as_echo_n "(cached) " >&6
   15979 else
   15980 
   15981  ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h)
   15982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
   15983 $as_echo "(..)" >&6; }
   15984   for i in    inttypes.h sys/inttypes.h stdint.h $inttype_headers
   15985   do
   15986    unset ac_cv_type_uint32_t
   15987    unset ac_cv_type_uint64_t
   15988    ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <$i>
   15989 "
   15990 if test "x$ac_cv_type_uint32_t" = xyes; then :
   15991   ac_cv_header_stdint_o=$i
   15992 else
   15993   continue
   15994 fi
   15995 
   15996    ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
   15997 "
   15998 if test "x$ac_cv_type_uint64_t" = xyes; then :
   15999   and64="/uint64_t"
   16000 else
   16001   and64=""
   16002 fi
   16003 
   16004    ac_cv_stdint_result="(seen uint32_t$and64 in $i)"
   16005  break
   16006    break;
   16007   done
   16008   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
   16009 $as_echo_n "checking for stdint uint32_t... " >&6; }
   16010 
   16011 fi
   16012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_o" >&5
   16013 $as_echo "$ac_cv_header_stdint_o" >&6; }
   16014 
   16015 fi
   16016 
   16017 if test "_$ac_cv_header_stdint_x" = "_" ; then
   16018 if test "_$ac_cv_header_stdint_o" = "_" ; then
   16019 
   16020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
   16021 $as_echo_n "checking for stdint u_int32_t... " >&6; }
   16022 if ${ac_cv_header_stdint_u+:} false; then :
   16023   $as_echo_n "(cached) " >&6
   16024 else
   16025 
   16026  ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h)
   16027   { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
   16028 $as_echo "(..)" >&6; }
   16029   for i in    sys/types.h inttypes.h sys/inttypes.h $inttype_headers ; do
   16030    unset ac_cv_type_u_int32_t
   16031    unset ac_cv_type_u_int64_t
   16032    ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <$i>
   16033 "
   16034 if test "x$ac_cv_type_u_int32_t" = xyes; then :
   16035   ac_cv_header_stdint_u=$i
   16036 else
   16037   continue
   16038 fi
   16039 
   16040    ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include<$i>
   16041 "
   16042 if test "x$ac_cv_type_u_int64_t" = xyes; then :
   16043   and64="/u_int64_t"
   16044 else
   16045   and64=""
   16046 fi
   16047 
   16048    ac_cv_stdint_result="(seen u_int32_t$and64 in $i)"
   16049  break
   16050    break;
   16051   done
   16052   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
   16053 $as_echo_n "checking for stdint u_int32_t... " >&6; }
   16054 
   16055 fi
   16056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_u" >&5
   16057 $as_echo "$ac_cv_header_stdint_u" >&6; }
   16058 
   16059 fi fi
   16060 
   16061 if test "_$ac_cv_header_stdint_x" = "_" ; then
   16062    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint datatype model" >&5
   16063 $as_echo_n "checking for stdint datatype model... " >&6; }
   16064    { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
   16065 $as_echo "(..)" >&6; }
   16066 
   16067    # The cast to long int works around a bug in the HP C Compiler
   16068 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   16069 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   16070 # This bug is HP SR number 8606223364.
   16071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
   16072 $as_echo_n "checking size of char... " >&6; }
   16073 if ${ac_cv_sizeof_char+:} false; then :
   16074   $as_echo_n "(cached) " >&6
   16075 else
   16076   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
   16077 
   16078 else
   16079   if test "$ac_cv_type_char" = yes; then
   16080      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   16081 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   16082 as_fn_error 77 "cannot compute sizeof (char)
   16083 See \`config.log' for more details" "$LINENO" 5; }
   16084    else
   16085      ac_cv_sizeof_char=0
   16086    fi
   16087 fi
   16088 
   16089 fi
   16090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
   16091 $as_echo "$ac_cv_sizeof_char" >&6; }
   16092 
   16093 
   16094 
   16095 cat >>confdefs.h <<_ACEOF
   16096 #define SIZEOF_CHAR $ac_cv_sizeof_char
   16097 _ACEOF
   16098 
   16099 
   16100    # The cast to long int works around a bug in the HP C Compiler
   16101 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   16102 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   16103 # This bug is HP SR number 8606223364.
   16104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
   16105 $as_echo_n "checking size of short... " >&6; }
   16106 if ${ac_cv_sizeof_short+:} false; then :
   16107   $as_echo_n "(cached) " >&6
   16108 else
   16109   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
   16110 
   16111 else
   16112   if test "$ac_cv_type_short" = yes; then
   16113      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   16114 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   16115 as_fn_error 77 "cannot compute sizeof (short)
   16116 See \`config.log' for more details" "$LINENO" 5; }
   16117    else
   16118      ac_cv_sizeof_short=0
   16119    fi
   16120 fi
   16121 
   16122 fi
   16123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
   16124 $as_echo "$ac_cv_sizeof_short" >&6; }
   16125 
   16126 
   16127 
   16128 cat >>confdefs.h <<_ACEOF
   16129 #define SIZEOF_SHORT $ac_cv_sizeof_short
   16130 _ACEOF
   16131 
   16132 
   16133    # The cast to long int works around a bug in the HP C Compiler
   16134 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   16135 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   16136 # This bug is HP SR number 8606223364.
   16137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
   16138 $as_echo_n "checking size of int... " >&6; }
   16139 if ${ac_cv_sizeof_int+:} false; then :
   16140   $as_echo_n "(cached) " >&6
   16141 else
   16142   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
   16143 
   16144 else
   16145   if test "$ac_cv_type_int" = yes; then
   16146      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   16147 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   16148 as_fn_error 77 "cannot compute sizeof (int)
   16149 See \`config.log' for more details" "$LINENO" 5; }
   16150    else
   16151      ac_cv_sizeof_int=0
   16152    fi
   16153 fi
   16154 
   16155 fi
   16156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
   16157 $as_echo "$ac_cv_sizeof_int" >&6; }
   16158 
   16159 
   16160 
   16161 cat >>confdefs.h <<_ACEOF
   16162 #define SIZEOF_INT $ac_cv_sizeof_int
   16163 _ACEOF
   16164 
   16165 
   16166    # The cast to long int works around a bug in the HP C Compiler
   16167 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   16168 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   16169 # This bug is HP SR number 8606223364.
   16170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
   16171 $as_echo_n "checking size of long... " >&6; }
   16172 if ${ac_cv_sizeof_long+:} false; then :
   16173   $as_echo_n "(cached) " >&6
   16174 else
   16175   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
   16176 
   16177 else
   16178   if test "$ac_cv_type_long" = yes; then
   16179      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   16180 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   16181 as_fn_error 77 "cannot compute sizeof (long)
   16182 See \`config.log' for more details" "$LINENO" 5; }
   16183    else
   16184      ac_cv_sizeof_long=0
   16185    fi
   16186 fi
   16187 
   16188 fi
   16189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
   16190 $as_echo "$ac_cv_sizeof_long" >&6; }
   16191 
   16192 
   16193 
   16194 cat >>confdefs.h <<_ACEOF
   16195 #define SIZEOF_LONG $ac_cv_sizeof_long
   16196 _ACEOF
   16197 
   16198 
   16199    # The cast to long int works around a bug in the HP C Compiler
   16200 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   16201 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   16202 # This bug is HP SR number 8606223364.
   16203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
   16204 $as_echo_n "checking size of void*... " >&6; }
   16205 if ${ac_cv_sizeof_voidp+:} false; then :
   16206   $as_echo_n "(cached) " >&6
   16207 else
   16208   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp"        "$ac_includes_default"; then :
   16209 
   16210 else
   16211   if test "$ac_cv_type_voidp" = yes; then
   16212      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   16213 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   16214 as_fn_error 77 "cannot compute sizeof (void*)
   16215 See \`config.log' for more details" "$LINENO" 5; }
   16216    else
   16217      ac_cv_sizeof_voidp=0
   16218    fi
   16219 fi
   16220 
   16221 fi
   16222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
   16223 $as_echo "$ac_cv_sizeof_voidp" >&6; }
   16224 
   16225 
   16226 
   16227 cat >>confdefs.h <<_ACEOF
   16228 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
   16229 _ACEOF
   16230 
   16231 
   16232    ac_cv_char_data_model=""
   16233    ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_char"
   16234    ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_short"
   16235    ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_int"
   16236    ac_cv_long_data_model=""
   16237    ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_int"
   16238    ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_long"
   16239    ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
   16240    { $as_echo "$as_me:${as_lineno-$LINENO}: checking data model" >&5
   16241 $as_echo_n "checking data model... " >&6; }
   16242    case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
   16243     122/242)     ac_cv_data_model="IP16"  ; n="standard 16bit machine" ;;
   16244     122/244)     ac_cv_data_model="LP32"  ; n="standard 32bit machine" ;;
   16245     122/*)       ac_cv_data_model="i16"   ; n="unusual int16 model" ;;
   16246     124/444)     ac_cv_data_model="ILP32" ; n="standard 32bit unixish" ;;
   16247     124/488)     ac_cv_data_model="LP64"  ; n="standard 64bit unixish" ;;
   16248     124/448)     ac_cv_data_model="LLP64" ; n="unusual 64bit unixish" ;;
   16249     124/*)       ac_cv_data_model="i32"   ; n="unusual int32 model" ;;
   16250     128/888)     ac_cv_data_model="ILP64" ; n="unusual 64bit numeric" ;;
   16251     128/*)       ac_cv_data_model="i64"   ; n="unusual int64 model" ;;
   16252     222/*2)      ac_cv_data_model="DSP16" ; n="strict 16bit dsptype" ;;
   16253     333/*3)      ac_cv_data_model="DSP24" ; n="strict 24bit dsptype" ;;
   16254     444/*4)      ac_cv_data_model="DSP32" ; n="strict 32bit dsptype" ;;
   16255     666/*6)      ac_cv_data_model="DSP48" ; n="strict 48bit dsptype" ;;
   16256     888/*8)      ac_cv_data_model="DSP64" ; n="strict 64bit dsptype" ;;
   16257     222/*|333/*|444/*|666/*|888/*) :
   16258                  ac_cv_data_model="iDSP"  ; n="unusual dsptype" ;;
   16259      *)          ac_cv_data_model="none"  ; n="very unusual model" ;;
   16260    esac
   16261    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
   16262 $as_echo "$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6; }
   16263 
   16264 fi
   16265 
   16266 if test "_$ac_cv_header_stdint_x" != "_" ; then
   16267    ac_cv_header_stdint="$ac_cv_header_stdint_x"
   16268 elif  test "_$ac_cv_header_stdint_o" != "_" ; then
   16269    ac_cv_header_stdint="$ac_cv_header_stdint_o"
   16270 elif  test "_$ac_cv_header_stdint_u" != "_" ; then
   16271    ac_cv_header_stdint="$ac_cv_header_stdint_u"
   16272 else
   16273    ac_cv_header_stdint="stddef.h"
   16274 fi
   16275 
   16276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra inttypes in chosen header" >&5
   16277 $as_echo_n "checking for extra inttypes in chosen header... " >&6; }
   16278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ($ac_cv_header_stdint)" >&5
   16279 $as_echo "($ac_cv_header_stdint)" >&6; }
   16280 unset ac_cv_type_int_least32_t
   16281 unset ac_cv_type_int_fast32_t
   16282 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <$ac_cv_header_stdint>
   16283 "
   16284 if test "x$ac_cv_type_int_least32_t" = xyes; then :
   16285 
   16286 fi
   16287 
   16288 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include<$ac_cv_header_stdint>
   16289 "
   16290 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
   16291 
   16292 fi
   16293 
   16294 ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "#include <$ac_cv_header_stdint>
   16295 "
   16296 if test "x$ac_cv_type_intmax_t" = xyes; then :
   16297 
   16298 fi
   16299 
   16300 
   16301 fi # shortcircut to system "stdint.h"
   16302 # ------------------ PREPARE VARIABLES ------------------------------
   16303 if test "$GCC" = "yes" ; then
   16304 ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
   16305 else
   16306 ac_cv_stdint_message="using $CC"
   16307 fi
   16308 
   16309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
   16310 $as_echo "make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6; }
   16311 
   16312 # ----------------- DONE inttypes.h checks START header -------------
   16313 ac_config_commands="$ac_config_commands $ac_stdint_h"
   16314 
   16315 
   16316 
   16317 # Checks for typedefs, structures, and compiler characteristics.
   16318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
   16319 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
   16320 if ${ac_cv_c_const+:} false; then :
   16321   $as_echo_n "(cached) " >&6
   16322 else
   16323   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16324 /* end confdefs.h.  */
   16325 
   16326 int
   16327 main ()
   16328 {
   16329 
   16330 #ifndef __cplusplus
   16331   /* Ultrix mips cc rejects this sort of thing.  */
   16332   typedef int charset[2];
   16333   const charset cs = { 0, 0 };
   16334   /* SunOS 4.1.1 cc rejects this.  */
   16335   char const *const *pcpcc;
   16336   char **ppc;
   16337   /* NEC SVR4.0.2 mips cc rejects this.  */
   16338   struct point {int x, y;};
   16339   static struct point const zero = {0,0};
   16340   /* AIX XL C 1.02.0.0 rejects this.
   16341      It does not let you subtract one const X* pointer from another in
   16342      an arm of an if-expression whose if-part is not a constant
   16343      expression */
   16344   const char *g = "string";
   16345   pcpcc = &g + (g ? g-g : 0);
   16346   /* HPUX 7.0 cc rejects these. */
   16347   ++pcpcc;
   16348   ppc = (char**) pcpcc;
   16349   pcpcc = (char const *const *) ppc;
   16350   { /* SCO 3.2v4 cc rejects this sort of thing.  */
   16351     char tx;
   16352     char *t = &tx;
   16353     char const *s = 0 ? (char *) 0 : (char const *) 0;
   16354 
   16355     *t++ = 0;
   16356     if (s) return 0;
   16357   }
   16358   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
   16359     int x[] = {25, 17};
   16360     const int *foo = &x[0];
   16361     ++foo;
   16362   }
   16363   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
   16364     typedef const int *iptr;
   16365     iptr p = 0;
   16366     ++p;
   16367   }
   16368   { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
   16369        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
   16370     struct s { int j; const int *ap[3]; } bx;
   16371     struct s *b = &bx; b->j = 5;
   16372   }
   16373   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
   16374     const int foo = 10;
   16375     if (!foo) return 0;
   16376   }
   16377   return !cs[0] && !zero.x;
   16378 #endif
   16379 
   16380   ;
   16381   return 0;
   16382 }
   16383 _ACEOF
   16384 if ac_fn_c_try_compile "$LINENO"; then :
   16385   ac_cv_c_const=yes
   16386 else
   16387   ac_cv_c_const=no
   16388 fi
   16389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16390 fi
   16391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
   16392 $as_echo "$ac_cv_c_const" >&6; }
   16393 if test $ac_cv_c_const = no; then
   16394 
   16395 $as_echo "#define const /**/" >>confdefs.h
   16396 
   16397 fi
   16398 
   16399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
   16400 $as_echo_n "checking for inline... " >&6; }
   16401 if ${ac_cv_c_inline+:} false; then :
   16402   $as_echo_n "(cached) " >&6
   16403 else
   16404   ac_cv_c_inline=no
   16405 for ac_kw in inline __inline__ __inline; do
   16406   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16407 /* end confdefs.h.  */
   16408 #ifndef __cplusplus
   16409 typedef int foo_t;
   16410 static $ac_kw foo_t static_foo () {return 0; }
   16411 $ac_kw foo_t foo () {return 0; }
   16412 #endif
   16413 
   16414 _ACEOF
   16415 if ac_fn_c_try_compile "$LINENO"; then :
   16416   ac_cv_c_inline=$ac_kw
   16417 fi
   16418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16419   test "$ac_cv_c_inline" != no && break
   16420 done
   16421 
   16422 fi
   16423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
   16424 $as_echo "$ac_cv_c_inline" >&6; }
   16425 
   16426 case $ac_cv_c_inline in
   16427   inline | yes) ;;
   16428   *)
   16429     case $ac_cv_c_inline in
   16430       no) ac_val=;;
   16431       *) ac_val=$ac_cv_c_inline;;
   16432     esac
   16433     cat >>confdefs.h <<_ACEOF
   16434 #ifndef __cplusplus
   16435 #define inline $ac_val
   16436 #endif
   16437 _ACEOF
   16438     ;;
   16439 esac
   16440 
   16441 
   16442   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flexible array members" >&5
   16443 $as_echo_n "checking for flexible array members... " >&6; }
   16444 if ${ac_cv_c_flexmember+:} false; then :
   16445   $as_echo_n "(cached) " >&6
   16446 else
   16447   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16448 /* end confdefs.h.  */
   16449 #include <stdlib.h>
   16450 	    #include <stdio.h>
   16451 	    #include <stddef.h>
   16452 	    struct s { int n; double d[]; };
   16453 int
   16454 main ()
   16455 {
   16456 int m = getchar ();
   16457 	    struct s *p = malloc (offsetof (struct s, d)
   16458 				  + m * sizeof (double));
   16459 	    p->d[0] = 0.0;
   16460 	    return p->d != (double *) NULL;
   16461   ;
   16462   return 0;
   16463 }
   16464 _ACEOF
   16465 if ac_fn_c_try_compile "$LINENO"; then :
   16466   ac_cv_c_flexmember=yes
   16467 else
   16468   ac_cv_c_flexmember=no
   16469 fi
   16470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16471 fi
   16472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_flexmember" >&5
   16473 $as_echo "$ac_cv_c_flexmember" >&6; }
   16474   if test $ac_cv_c_flexmember = yes; then
   16475 
   16476 $as_echo "#define FLEXIBLE_ARRAY_MEMBER /**/" >>confdefs.h
   16477 
   16478   else
   16479     $as_echo "#define FLEXIBLE_ARRAY_MEMBER 1" >>confdefs.h
   16480 
   16481   fi
   16482 
   16483 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
   16484 if test "x$ac_cv_type_pid_t" = xyes; then :
   16485 
   16486 else
   16487 
   16488 cat >>confdefs.h <<_ACEOF
   16489 #define pid_t int
   16490 _ACEOF
   16491 
   16492 fi
   16493 
   16494 
   16495 # Checks for library functions.
   16496 for ac_func in vprintf
   16497 do :
   16498   ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
   16499 if test "x$ac_cv_func_vprintf" = xyes; then :
   16500   cat >>confdefs.h <<_ACEOF
   16501 #define HAVE_VPRINTF 1
   16502 _ACEOF
   16503 
   16504 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
   16505 if test "x$ac_cv_func__doprnt" = xyes; then :
   16506 
   16507 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
   16508 
   16509 fi
   16510 
   16511 fi
   16512 done
   16513 
   16514 
   16515 
   16516 
   16517 
   16518   for ac_header in $ac_header_list
   16519 do :
   16520   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   16521 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   16522 "
   16523 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   16524   cat >>confdefs.h <<_ACEOF
   16525 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   16526 _ACEOF
   16527 
   16528 fi
   16529 
   16530 done
   16531 
   16532 
   16533 
   16534 
   16535 
   16536 
   16537 
   16538 
   16539 for ac_func in getpagesize
   16540 do :
   16541   ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
   16542 if test "x$ac_cv_func_getpagesize" = xyes; then :
   16543   cat >>confdefs.h <<_ACEOF
   16544 #define HAVE_GETPAGESIZE 1
   16545 _ACEOF
   16546 
   16547 fi
   16548 done
   16549 
   16550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
   16551 $as_echo_n "checking for working mmap... " >&6; }
   16552 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
   16553   $as_echo_n "(cached) " >&6
   16554 else
   16555   if test "$cross_compiling" = yes; then :
   16556   ac_cv_func_mmap_fixed_mapped=no
   16557 else
   16558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16559 /* end confdefs.h.  */
   16560 $ac_includes_default
   16561 /* malloc might have been renamed as rpl_malloc. */
   16562 #undef malloc
   16563 
   16564 /* Thanks to Mike Haertel and Jim Avera for this test.
   16565    Here is a matrix of mmap possibilities:
   16566 	mmap private not fixed
   16567 	mmap private fixed at somewhere currently unmapped
   16568 	mmap private fixed at somewhere already mapped
   16569 	mmap shared not fixed
   16570 	mmap shared fixed at somewhere currently unmapped
   16571 	mmap shared fixed at somewhere already mapped
   16572    For private mappings, we should verify that changes cannot be read()
   16573    back from the file, nor mmap's back from the file at a different
   16574    address.  (There have been systems where private was not correctly
   16575    implemented like the infamous i386 svr4.0, and systems where the
   16576    VM page cache was not coherent with the file system buffer cache
   16577    like early versions of FreeBSD and possibly contemporary NetBSD.)
   16578    For shared mappings, we should conversely verify that changes get
   16579    propagated back to all the places they're supposed to be.
   16580 
   16581    Grep wants private fixed already mapped.
   16582    The main things grep needs to know about mmap are:
   16583    * does it exist and is it safe to write into the mmap'd area
   16584    * how to use it (BSD variants)  */
   16585 
   16586 #include <fcntl.h>
   16587 #include <sys/mman.h>
   16588 
   16589 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
   16590 char *malloc ();
   16591 #endif
   16592 
   16593 /* This mess was copied from the GNU getpagesize.h.  */
   16594 #ifndef HAVE_GETPAGESIZE
   16595 # ifdef _SC_PAGESIZE
   16596 #  define getpagesize() sysconf(_SC_PAGESIZE)
   16597 # else /* no _SC_PAGESIZE */
   16598 #  ifdef HAVE_SYS_PARAM_H
   16599 #   include <sys/param.h>
   16600 #   ifdef EXEC_PAGESIZE
   16601 #    define getpagesize() EXEC_PAGESIZE
   16602 #   else /* no EXEC_PAGESIZE */
   16603 #    ifdef NBPG
   16604 #     define getpagesize() NBPG * CLSIZE
   16605 #     ifndef CLSIZE
   16606 #      define CLSIZE 1
   16607 #     endif /* no CLSIZE */
   16608 #    else /* no NBPG */
   16609 #     ifdef NBPC
   16610 #      define getpagesize() NBPC
   16611 #     else /* no NBPC */
   16612 #      ifdef PAGESIZE
   16613 #       define getpagesize() PAGESIZE
   16614 #      endif /* PAGESIZE */
   16615 #     endif /* no NBPC */
   16616 #    endif /* no NBPG */
   16617 #   endif /* no EXEC_PAGESIZE */
   16618 #  else /* no HAVE_SYS_PARAM_H */
   16619 #   define getpagesize() 8192	/* punt totally */
   16620 #  endif /* no HAVE_SYS_PARAM_H */
   16621 # endif /* no _SC_PAGESIZE */
   16622 
   16623 #endif /* no HAVE_GETPAGESIZE */
   16624 
   16625 int
   16626 main ()
   16627 {
   16628   char *data, *data2, *data3;
   16629   const char *cdata2;
   16630   int i, pagesize;
   16631   int fd, fd2;
   16632 
   16633   pagesize = getpagesize ();
   16634 
   16635   /* First, make a file with some known garbage in it. */
   16636   data = (char *) malloc (pagesize);
   16637   if (!data)
   16638     return 1;
   16639   for (i = 0; i < pagesize; ++i)
   16640     *(data + i) = rand ();
   16641   umask (0);
   16642   fd = creat ("conftest.mmap", 0600);
   16643   if (fd < 0)
   16644     return 2;
   16645   if (write (fd, data, pagesize) != pagesize)
   16646     return 3;
   16647   close (fd);
   16648 
   16649   /* Next, check that the tail of a page is zero-filled.  File must have
   16650      non-zero length, otherwise we risk SIGBUS for entire page.  */
   16651   fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
   16652   if (fd2 < 0)
   16653     return 4;
   16654   cdata2 = "";
   16655   if (write (fd2, cdata2, 1) != 1)
   16656     return 5;
   16657   data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
   16658   if (data2 == MAP_FAILED)
   16659     return 6;
   16660   for (i = 0; i < pagesize; ++i)
   16661     if (*(data2 + i))
   16662       return 7;
   16663   close (fd2);
   16664   if (munmap (data2, pagesize))
   16665     return 8;
   16666 
   16667   /* Next, try to mmap the file at a fixed address which already has
   16668      something else allocated at it.  If we can, also make sure that
   16669      we see the same garbage.  */
   16670   fd = open ("conftest.mmap", O_RDWR);
   16671   if (fd < 0)
   16672     return 9;
   16673   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
   16674 		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
   16675     return 10;
   16676   for (i = 0; i < pagesize; ++i)
   16677     if (*(data + i) != *(data2 + i))
   16678       return 11;
   16679 
   16680   /* Finally, make sure that changes to the mapped area do not
   16681      percolate back to the file as seen by read().  (This is a bug on
   16682      some variants of i386 svr4.0.)  */
   16683   for (i = 0; i < pagesize; ++i)
   16684     *(data2 + i) = *(data2 + i) + 1;
   16685   data3 = (char *) malloc (pagesize);
   16686   if (!data3)
   16687     return 12;
   16688   if (read (fd, data3, pagesize) != pagesize)
   16689     return 13;
   16690   for (i = 0; i < pagesize; ++i)
   16691     if (*(data + i) != *(data3 + i))
   16692       return 14;
   16693   close (fd);
   16694   return 0;
   16695 }
   16696 _ACEOF
   16697 if ac_fn_c_try_run "$LINENO"; then :
   16698   ac_cv_func_mmap_fixed_mapped=yes
   16699 else
   16700   ac_cv_func_mmap_fixed_mapped=no
   16701 fi
   16702 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   16703   conftest.$ac_objext conftest.beam conftest.$ac_ext
   16704 fi
   16705 
   16706 fi
   16707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
   16708 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
   16709 if test $ac_cv_func_mmap_fixed_mapped = yes; then
   16710 
   16711 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
   16712 
   16713 fi
   16714 rm -f conftest.mmap conftest.txt
   16715 
   16716 for ac_func in link mkstemp mkostemp _mktemp_s mkdtemp getopt getopt_long getprogname getexecname rand random lrand48 random_r rand_r readlink fstatvfs fstatfs lstat strerror strerror_r
   16717 do :
   16718   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   16719 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   16720 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   16721   cat >>confdefs.h <<_ACEOF
   16722 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   16723 _ACEOF
   16724 
   16725 fi
   16726 done
   16727 
   16728 
   16729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_fadvise in fcntl.h" >&5
   16730 $as_echo_n "checking for posix_fadvise in fcntl.h... " >&6; }
   16731 if ${ac_cv_func_posix_fadvise+:} false; then :
   16732   $as_echo_n "(cached) " >&6
   16733 else
   16734   symbol="[^a-zA-Z_0-9]posix_fadvise[^a-zA-Z_0-9]"
   16735 ac_found=no
   16736 for ac_header in fcntl.h ; do
   16737   ac_safe=`echo "$ac_header" | sed 'y%./+-%__p_%' `
   16738   if test $ac_found != "yes" ; then
   16739       if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
   16740             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16741 /* end confdefs.h.  */
   16742 #include <$ac_header>
   16743 
   16744 _ACEOF
   16745 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   16746   $EGREP "$symbol" >/dev/null 2>&1; then :
   16747   ac_found="$ac_header"
   16748 fi
   16749 rm -f conftest*
   16750 
   16751       fi
   16752   fi
   16753 done
   16754 if test "$ac_found" != "no" ; then
   16755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_found" >&5
   16756 $as_echo "$ac_found" >&6; }
   16757   fc_func_posix_fadvise=1
   16758 else
   16759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16760 $as_echo "no" >&6; }
   16761   fc_func_posix_fadvise=0
   16762 fi
   16763 
   16764 fi
   16765 
   16766 
   16767 cat >>confdefs.h <<_ACEOF
   16768 #define HAVE_POSIX_FADVISE $fc_func_posix_fadvise
   16769 _ACEOF
   16770 
   16771 
   16772 #
   16773 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "#include <sys/stat.h>
   16774 "
   16775 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
   16776 
   16777 cat >>confdefs.h <<_ACEOF
   16778 #define HAVE_STRUCT_STAT_ST_MTIM 1
   16779 _ACEOF
   16780 
   16781 
   16782 fi
   16783 
   16784 
   16785 #
   16786 if test "x$ac_cv_func_fstatvfs" = "xyes"; then
   16787 	ac_fn_c_check_member "$LINENO" "struct statvfs" "f_basetype" "ac_cv_member_struct_statvfs_f_basetype" "#include <sys/statvfs.h>
   16788 "
   16789 if test "x$ac_cv_member_struct_statvfs_f_basetype" = xyes; then :
   16790 
   16791 cat >>confdefs.h <<_ACEOF
   16792 #define HAVE_STRUCT_STATVFS_F_BASETYPE 1
   16793 _ACEOF
   16794 
   16795 
   16796 fi
   16797 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_fstypename" "ac_cv_member_struct_statvfs_f_fstypename" "#include <sys/statvfs.h>
   16798 "
   16799 if test "x$ac_cv_member_struct_statvfs_f_fstypename" = xyes; then :
   16800 
   16801 cat >>confdefs.h <<_ACEOF
   16802 #define HAVE_STRUCT_STATVFS_F_FSTYPENAME 1
   16803 _ACEOF
   16804 
   16805 
   16806 fi
   16807 
   16808 fi
   16809 if test "x$ac_cv_func_fstatfs" = "xyes"; then
   16810 	ac_fn_c_check_member "$LINENO" "struct statfs" "f_flags" "ac_cv_member_struct_statfs_f_flags" "
   16811 #ifdef HAVE_SYS_VFS_H
   16812 #include <sys/vfs.h>
   16813 #endif
   16814 #ifdef HAVE_SYS_STATFS_H
   16815 #include <sys/statfs.h>
   16816 #endif
   16817 #ifdef HAVE_SYS_PARAM_H
   16818 #include <sys/param.h>
   16819 #endif
   16820 #ifdef HAVE_SYS_MOUNT_H
   16821 #include <sys/mount.h>
   16822 #endif
   16823 "
   16824 if test "x$ac_cv_member_struct_statfs_f_flags" = xyes; then :
   16825 
   16826 cat >>confdefs.h <<_ACEOF
   16827 #define HAVE_STRUCT_STATFS_F_FLAGS 1
   16828 _ACEOF
   16829 
   16830 
   16831 fi
   16832 ac_fn_c_check_member "$LINENO" "struct statfs" "f_fstypename" "ac_cv_member_struct_statfs_f_fstypename" "
   16833 #ifdef HAVE_SYS_VFS_H
   16834 #include <sys/vfs.h>
   16835 #endif
   16836 #ifdef HAVE_SYS_STATFS_H
   16837 #include <sys/statfs.h>
   16838 #endif
   16839 #ifdef HAVE_SYS_PARAM_H
   16840 #include <sys/param.h>
   16841 #endif
   16842 #ifdef HAVE_SYS_MOUNT_H
   16843 #include <sys/mount.h>
   16844 #endif
   16845 "
   16846 if test "x$ac_cv_member_struct_statfs_f_fstypename" = xyes; then :
   16847 
   16848 cat >>confdefs.h <<_ACEOF
   16849 #define HAVE_STRUCT_STATFS_F_FSTYPENAME 1
   16850 _ACEOF
   16851 
   16852 
   16853 fi
   16854 
   16855 fi
   16856 ac_fn_c_check_member "$LINENO" "struct dirent" "d_type" "ac_cv_member_struct_dirent_d_type" "#include <dirent.h>
   16857 "
   16858 if test "x$ac_cv_member_struct_dirent_d_type" = xyes; then :
   16859 
   16860 cat >>confdefs.h <<_ACEOF
   16861 #define HAVE_STRUCT_DIRENT_D_TYPE 1
   16862 _ACEOF
   16863 
   16864 
   16865 fi
   16866 
   16867 
   16868 # Check the argument type of the gperf hash/lookup function
   16869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking The type of len parameter of gperf hash/lookup function" >&5
   16870 $as_echo_n "checking The type of len parameter of gperf hash/lookup function... " >&6; }
   16871 fc_gperf_test="$(echo 'foo' | gperf -L ANSI-C)"
   16872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16873 /* end confdefs.h.  */
   16874 
   16875 	#include <string.h>
   16876 
   16877 	const char *in_word_set(register const char *, register size_t);
   16878 	$fc_gperf_test
   16879 
   16880 int
   16881 main ()
   16882 {
   16883 
   16884   ;
   16885   return 0;
   16886 }
   16887 _ACEOF
   16888 if ac_fn_c_try_compile "$LINENO"; then :
   16889   FC_GPERF_SIZE_T=size_t
   16890 else
   16891   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16892 /* end confdefs.h.  */
   16893 
   16894 		#include <string.h>
   16895 
   16896 		const char *in_word_set(register const char *, register unsigned int);
   16897 		$fc_gperf_test
   16898 
   16899 int
   16900 main ()
   16901 {
   16902 
   16903   ;
   16904   return 0;
   16905 }
   16906 _ACEOF
   16907 if ac_fn_c_try_compile "$LINENO"; then :
   16908   FC_GPERF_SIZE_T="unsigned int"
   16909 else
   16910   as_fn_error $? "Unable to determine the type of the len parameter of the gperf hash/lookup function" "$LINENO" 5
   16911 
   16912 fi
   16913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16914 fi
   16915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16916 
   16917 cat >>confdefs.h <<_ACEOF
   16918 #define FC_GPERF_SIZE_T $FC_GPERF_SIZE_T
   16919 _ACEOF
   16920 
   16921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC_GPERF_SIZE_T" >&5
   16922 $as_echo "$FC_GPERF_SIZE_T" >&6; }
   16923 
   16924 #
   16925 # Checks for iconv
   16926 #
   16927 # Check whether --enable-iconv was given.
   16928 if test "${enable_iconv+set}" = set; then :
   16929   enableval=$enable_iconv;
   16930 else
   16931   enable_iconv=no
   16932 fi
   16933 
   16934 
   16935 # Check whether --with-libiconv was given.
   16936 if test "${with_libiconv+set}" = set; then :
   16937   withval=$with_libiconv; if test "x$withval" = "xyes"; then
   16938 		libiconv_prefix=$prefix
   16939 	 else
   16940 		libiconv_prefix=$withval
   16941 	 fi
   16942 else
   16943   libiconv_prefix=auto
   16944 fi
   16945 
   16946 
   16947 # Check whether --with-libiconv-includes was given.
   16948 if test "${with_libiconv_includes+set}" = set; then :
   16949   withval=$with_libiconv_includes; libiconv_includes=$withval
   16950 else
   16951   libiconv_includes=auto
   16952 fi
   16953 
   16954 
   16955 # Check whether --with-libiconv-lib was given.
   16956 if test "${with_libiconv_lib+set}" = set; then :
   16957   withval=$with_libiconv_lib; libiconv_lib=$withval
   16958 else
   16959   libiconv_lib=auto
   16960 fi
   16961 
   16962 
   16963 # if no libiconv,libiconv-includes,libiconv-lib are specified,
   16964 # libc's iconv has a priority.
   16965 if test "$libiconv_includes" != "auto" -a -r ${libiconv_includes}/iconv.h; then
   16966 	libiconv_cflags="-I${libiconv_includes}"
   16967 elif test "$libiconv_prefix" != "auto" -a -r ${libiconv_prefix}/include/iconv.h; then
   16968 	libiconv_cflags="-I${libiconv_prefix}/include"
   16969 else
   16970 	libiconv_cflags=""
   16971 fi
   16972 libiconv_libs=""
   16973 if test "x$libiconv_cflags" != "x"; then
   16974 	if test "$libiconv_lib" != "auto" -a -d ${libiconv_lib}; then
   16975 		libiconv_libs="-L${libiconv_lib} -liconv"
   16976 	elif test "$libiconv_prefix" != "auto" -a -d ${libiconv_prefix}/lib; then
   16977 		libiconv_libs="-L${libiconv_prefix}/lib -liconv"
   16978 	else
   16979 		libiconv_libs="-liconv"
   16980 	fi
   16981 fi
   16982 
   16983 use_iconv=0
   16984 if test "x$enable_iconv" != "xno"; then
   16985 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a usable iconv" >&5
   16986 $as_echo_n "checking for a usable iconv... " >&6; }
   16987 	if test "x$libiconv_cflags" != "x" -o "x$libiconv_libs" != "x"; then
   16988 		iconvsaved_CFLAGS="$CFLAGS"
   16989 		iconvsaved_LIBS="$LIBS"
   16990 		CFLAGS="$CFLAGS $libiconv_cflags"
   16991 		LIBS="$LIBS $libiconv_libs"
   16992 
   16993 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16994 /* end confdefs.h.  */
   16995 #include <iconv.h>
   16996 int
   16997 main ()
   16998 {
   16999 iconv_open ("from", "to");
   17000   ;
   17001   return 0;
   17002 }
   17003 _ACEOF
   17004 if ac_fn_c_try_link "$LINENO"; then :
   17005   iconv_type="libiconv"
   17006 			 use_iconv=1
   17007 			 ICONV_CFLAGS="$libiconv_cflags"
   17008 			 ICONV_LIBS="$libiconv_libs"
   17009 
   17010 else
   17011   use_iconv=0
   17012 fi
   17013 rm -f core conftest.err conftest.$ac_objext \
   17014     conftest$ac_exeext conftest.$ac_ext
   17015 
   17016 		CFLAGS="$iconvsaved_CFLAGS"
   17017 		LIBS="$iconvsaved_LIBS"
   17018 	fi
   17019 	if test "x$use_iconv" = "x0"; then
   17020 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17021 /* end confdefs.h.  */
   17022 #include <iconv.h>
   17023 int
   17024 main ()
   17025 {
   17026 iconv_open ("from", "to");
   17027   ;
   17028   return 0;
   17029 }
   17030 _ACEOF
   17031 if ac_fn_c_try_link "$LINENO"; then :
   17032   iconv_type="libc"
   17033 			 use_iconv=1
   17034 else
   17035   iconv_type="not found"
   17036 			 use_iconv=0
   17037 fi
   17038 rm -f core conftest.err conftest.$ac_objext \
   17039     conftest$ac_exeext conftest.$ac_ext
   17040 	fi
   17041 
   17042 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $iconv_type" >&5
   17043 $as_echo "$iconv_type" >&6; }
   17044 
   17045 
   17046 fi
   17047 
   17048 cat >>confdefs.h <<_ACEOF
   17049 #define USE_ICONV $use_iconv
   17050 _ACEOF
   17051 
   17052 #
   17053 # Checks for FreeType
   17054 #
   17055 
   17056 pkg_failed=no
   17057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5
   17058 $as_echo_n "checking for FREETYPE... " >&6; }
   17059 
   17060 if test -n "$FREETYPE_CFLAGS"; then
   17061     pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
   17062  elif test -n "$PKG_CONFIG"; then
   17063     if test -n "$PKG_CONFIG" && \
   17064     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 21.0.15\""; } >&5
   17065   ($PKG_CONFIG --exists --print-errors "freetype2 >= 21.0.15") 2>&5
   17066   ac_status=$?
   17067   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17068   test $ac_status = 0; }; then
   17069   pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2 >= 21.0.15" 2>/dev/null`
   17070 		      test "x$?" != "x0" && pkg_failed=yes
   17071 else
   17072   pkg_failed=yes
   17073 fi
   17074  else
   17075     pkg_failed=untried
   17076 fi
   17077 if test -n "$FREETYPE_LIBS"; then
   17078     pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
   17079  elif test -n "$PKG_CONFIG"; then
   17080     if test -n "$PKG_CONFIG" && \
   17081     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 21.0.15\""; } >&5
   17082   ($PKG_CONFIG --exists --print-errors "freetype2 >= 21.0.15") 2>&5
   17083   ac_status=$?
   17084   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17085   test $ac_status = 0; }; then
   17086   pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2 >= 21.0.15" 2>/dev/null`
   17087 		      test "x$?" != "x0" && pkg_failed=yes
   17088 else
   17089   pkg_failed=yes
   17090 fi
   17091  else
   17092     pkg_failed=untried
   17093 fi
   17094 
   17095 
   17096 
   17097 if test $pkg_failed = yes; then
   17098    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17099 $as_echo "no" >&6; }
   17100 
   17101 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17102         _pkg_short_errors_supported=yes
   17103 else
   17104         _pkg_short_errors_supported=no
   17105 fi
   17106         if test $_pkg_short_errors_supported = yes; then
   17107 	        FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "freetype2 >= 21.0.15" 2>&1`
   17108         else
   17109 	        FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "freetype2 >= 21.0.15" 2>&1`
   17110         fi
   17111 	# Put the nasty error message in config.log where it belongs
   17112 	echo "$FREETYPE_PKG_ERRORS" >&5
   17113 
   17114 	as_fn_error $? "Package requirements (freetype2 >= 21.0.15) were not met:
   17115 
   17116 $FREETYPE_PKG_ERRORS
   17117 
   17118 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   17119 installed software in a non-standard prefix.
   17120 
   17121 Alternatively, you may set the environment variables FREETYPE_CFLAGS
   17122 and FREETYPE_LIBS to avoid the need to call pkg-config.
   17123 See the pkg-config man page for more details." "$LINENO" 5
   17124 elif test $pkg_failed = untried; then
   17125      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17126 $as_echo "no" >&6; }
   17127 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17128 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   17129 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   17130 is in your PATH or set the PKG_CONFIG environment variable to the full
   17131 path to pkg-config.
   17132 
   17133 Alternatively, you may set the environment variables FREETYPE_CFLAGS
   17134 and FREETYPE_LIBS to avoid the need to call pkg-config.
   17135 See the pkg-config man page for more details.
   17136 
   17137 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   17138 See \`config.log' for more details" "$LINENO" 5; }
   17139 else
   17140 	FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
   17141 	FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
   17142         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17143 $as_echo "yes" >&6; }
   17144 
   17145 fi
   17146 PKGCONFIG_REQUIRES="$PKGCONFIG_REQUIRES freetype2 >= 21.0.15"
   17147 
   17148 
   17149 
   17150 
   17151 fontconfig_save_libs="$LIBS"
   17152 fontconfig_save_cflags="$CFLAGS"
   17153 LIBS="$LIBS $FREETYPE_LIBS"
   17154 CFLAGS="$CFLAGS $FREETYPE_CFLAGS"
   17155 for ac_func in FT_Get_BDF_Property FT_Get_PS_Font_Info FT_Has_PS_Glyph_Names FT_Get_X11_Font_Format FT_Done_MM_Var
   17156 do :
   17157   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   17158 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   17159 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   17160   cat >>confdefs.h <<_ACEOF
   17161 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   17162 _ACEOF
   17163 
   17164 fi
   17165 done
   17166 
   17167 
   17168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17169 /* end confdefs.h.  */
   17170 
   17171 	#include <ft2build.h>
   17172 	#include FT_CONFIG_OPTIONS_H
   17173 	#ifndef PCF_CONFIG_OPTION_LONG_FAMILY_NAMES
   17174 	#  error "No pcf long family names support"
   17175 	#endif
   17176 
   17177 _ACEOF
   17178 if ac_fn_c_try_compile "$LINENO"; then :
   17179   have_pcf_long_family_names=yes
   17180 else
   17181   have_pcf_long_family_names=no
   17182 fi
   17183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17184  if test "x$have_pcf_long_family_names" = xyes; then
   17185   FREETYPE_PCF_LONG_FAMILY_NAMES_TRUE=
   17186   FREETYPE_PCF_LONG_FAMILY_NAMES_FALSE='#'
   17187 else
   17188   FREETYPE_PCF_LONG_FAMILY_NAMES_TRUE='#'
   17189   FREETYPE_PCF_LONG_FAMILY_NAMES_FALSE=
   17190 fi
   17191 
   17192 
   17193 LIBS="$fontconfig_save_libs"
   17194 CFLAGS="$fontconfig_save_cflags"
   17195 
   17196 #
   17197 # Check for uuid
   17198 #
   17199 if test "$os_win32" != "yes"; then
   17200 	use_pkgconfig_for_uuid=yes
   17201 	if test -n "${UUID_LIBS}"; then
   17202 		save_UUID_LIBS=$UUID_LIBS
   17203 	fi
   17204 
   17205 pkg_failed=no
   17206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UUID" >&5
   17207 $as_echo_n "checking for UUID... " >&6; }
   17208 
   17209 if test -n "$UUID_CFLAGS"; then
   17210     pkg_cv_UUID_CFLAGS="$UUID_CFLAGS"
   17211  elif test -n "$PKG_CONFIG"; then
   17212     if test -n "$PKG_CONFIG" && \
   17213     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid\""; } >&5
   17214   ($PKG_CONFIG --exists --print-errors "uuid") 2>&5
   17215   ac_status=$?
   17216   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17217   test $ac_status = 0; }; then
   17218   pkg_cv_UUID_CFLAGS=`$PKG_CONFIG --cflags "uuid" 2>/dev/null`
   17219 		      test "x$?" != "x0" && pkg_failed=yes
   17220 else
   17221   pkg_failed=yes
   17222 fi
   17223  else
   17224     pkg_failed=untried
   17225 fi
   17226 if test -n "$UUID_LIBS"; then
   17227     pkg_cv_UUID_LIBS="$UUID_LIBS"
   17228  elif test -n "$PKG_CONFIG"; then
   17229     if test -n "$PKG_CONFIG" && \
   17230     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid\""; } >&5
   17231   ($PKG_CONFIG --exists --print-errors "uuid") 2>&5
   17232   ac_status=$?
   17233   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17234   test $ac_status = 0; }; then
   17235   pkg_cv_UUID_LIBS=`$PKG_CONFIG --libs "uuid" 2>/dev/null`
   17236 		      test "x$?" != "x0" && pkg_failed=yes
   17237 else
   17238   pkg_failed=yes
   17239 fi
   17240  else
   17241     pkg_failed=untried
   17242 fi
   17243 
   17244 
   17245 
   17246 if test $pkg_failed = yes; then
   17247    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17248 $as_echo "no" >&6; }
   17249 
   17250 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17251         _pkg_short_errors_supported=yes
   17252 else
   17253         _pkg_short_errors_supported=no
   17254 fi
   17255         if test $_pkg_short_errors_supported = yes; then
   17256 	        UUID_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "uuid" 2>&1`
   17257         else
   17258 	        UUID_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "uuid" 2>&1`
   17259         fi
   17260 	# Put the nasty error message in config.log where it belongs
   17261 	echo "$UUID_PKG_ERRORS" >&5
   17262 
   17263 	use_pkgconfig_for_uuid=no
   17264 elif test $pkg_failed = untried; then
   17265      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17266 $as_echo "no" >&6; }
   17267 	use_pkgconfig_for_uuid=no
   17268 else
   17269 	UUID_CFLAGS=$pkg_cv_UUID_CFLAGS
   17270 	UUID_LIBS=$pkg_cv_UUID_LIBS
   17271         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17272 $as_echo "yes" >&6; }
   17273 	use_pkgconfig_for_uuid=yes
   17274 fi
   17275 	if test "x$use_pkgconfig_for_uuid" = "xno"; then
   17276 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where uuid functions comes from" >&5
   17277 $as_echo_n "checking where uuid functions comes from... " >&6; }
   17278 		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17279 /* end confdefs.h.  */
   17280 #include <uuid/uuid.h>
   17281 int
   17282 main ()
   17283 {
   17284 uuid_t a; uuid_generate(a);
   17285   ;
   17286   return 0;
   17287 }
   17288 _ACEOF
   17289 if ac_fn_c_try_link "$LINENO"; then :
   17290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin" >&5
   17291 $as_echo "builtin" >&6; }
   17292 			 UUID_CFLAGS=""
   17293 			 UUID_LIBS=""
   17294 
   17295 else
   17296   as_fn_error $? "
   17297 *** uuid is required. install util-linux.
   17298 			" "$LINENO" 5
   17299 fi
   17300 rm -f core conftest.err conftest.$ac_objext \
   17301     conftest$ac_exeext conftest.$ac_ext
   17302 	else
   17303 		if test -z "${save_UUID_LIBS+x}" && test "x${UUID_LIBS}" != "x"; then
   17304 			PKGCONFIG_REQUIRES_PRIVATELY="$PKGCONFIG_REQUIRES_PRIVATELY uuid"
   17305 		fi
   17306 	fi
   17307 else
   17308 	UUID_CFLAGS=""
   17309 	UUID_LIBS=""
   17310 fi
   17311 
   17312 
   17313 
   17314 #
   17315 # Check expat configuration
   17316 #
   17317 
   17318 # Check whether --with-expat was given.
   17319 if test "${with_expat+set}" = set; then :
   17320   withval=$with_expat; expat_prefix=$withval
   17321 else
   17322   expat_prefix=auto
   17323 fi
   17324 
   17325 
   17326 # Check whether --with-expat-includes was given.
   17327 if test "${with_expat_includes+set}" = set; then :
   17328   withval=$with_expat_includes; expat_includes=$withval
   17329 else
   17330   expat_includes=auto
   17331 fi
   17332 
   17333 
   17334 # Check whether --with-expat-lib was given.
   17335 if test "${with_expat_lib+set}" = set; then :
   17336   withval=$with_expat_lib; expat_lib=$withval
   17337 else
   17338   expat_lib=auto
   17339 fi
   17340 
   17341 
   17342 if test "$enable_libxml2" != "yes"; then
   17343 	use_pkgconfig_for_expat=yes
   17344 	if test "$expat_prefix" = "auto" -a "$expat_includes" = "auto" -a "$expat_lib" = "auto"; then
   17345 
   17346 pkg_failed=no
   17347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EXPAT" >&5
   17348 $as_echo_n "checking for EXPAT... " >&6; }
   17349 
   17350 if test -n "$EXPAT_CFLAGS"; then
   17351     pkg_cv_EXPAT_CFLAGS="$EXPAT_CFLAGS"
   17352  elif test -n "$PKG_CONFIG"; then
   17353     if test -n "$PKG_CONFIG" && \
   17354     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"expat\""; } >&5
   17355   ($PKG_CONFIG --exists --print-errors "expat") 2>&5
   17356   ac_status=$?
   17357   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17358   test $ac_status = 0; }; then
   17359   pkg_cv_EXPAT_CFLAGS=`$PKG_CONFIG --cflags "expat" 2>/dev/null`
   17360 		      test "x$?" != "x0" && pkg_failed=yes
   17361 else
   17362   pkg_failed=yes
   17363 fi
   17364  else
   17365     pkg_failed=untried
   17366 fi
   17367 if test -n "$EXPAT_LIBS"; then
   17368     pkg_cv_EXPAT_LIBS="$EXPAT_LIBS"
   17369  elif test -n "$PKG_CONFIG"; then
   17370     if test -n "$PKG_CONFIG" && \
   17371     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"expat\""; } >&5
   17372   ($PKG_CONFIG --exists --print-errors "expat") 2>&5
   17373   ac_status=$?
   17374   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17375   test $ac_status = 0; }; then
   17376   pkg_cv_EXPAT_LIBS=`$PKG_CONFIG --libs "expat" 2>/dev/null`
   17377 		      test "x$?" != "x0" && pkg_failed=yes
   17378 else
   17379   pkg_failed=yes
   17380 fi
   17381  else
   17382     pkg_failed=untried
   17383 fi
   17384 
   17385 
   17386 
   17387 if test $pkg_failed = yes; then
   17388    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17389 $as_echo "no" >&6; }
   17390 
   17391 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17392         _pkg_short_errors_supported=yes
   17393 else
   17394         _pkg_short_errors_supported=no
   17395 fi
   17396         if test $_pkg_short_errors_supported = yes; then
   17397 	        EXPAT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "expat" 2>&1`
   17398         else
   17399 	        EXPAT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "expat" 2>&1`
   17400         fi
   17401 	# Put the nasty error message in config.log where it belongs
   17402 	echo "$EXPAT_PKG_ERRORS" >&5
   17403 
   17404 	use_pkgconfig_for_expat=no
   17405 elif test $pkg_failed = untried; then
   17406      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17407 $as_echo "no" >&6; }
   17408 	use_pkgconfig_for_expat=no
   17409 else
   17410 	EXPAT_CFLAGS=$pkg_cv_EXPAT_CFLAGS
   17411 	EXPAT_LIBS=$pkg_cv_EXPAT_LIBS
   17412         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17413 $as_echo "yes" >&6; }
   17414 
   17415 fi
   17416 	else
   17417 		use_pkgconfig_for_expat=no
   17418 	fi
   17419 	if test "x$use_pkgconfig_for_expat" = "xno"; then
   17420 		if test "$expat_includes" != "auto" -a -r ${expat_includes}/expat.h; then
   17421 			EXPAT_CFLAGS="-I${expat_includes}"
   17422 		elif test "$expat_prefix" != "auto" -a -r ${expat_prefix}/include/expat.h; then
   17423 			EXPAT_CFLAGS="-I${expat_prefix}/include"
   17424 		else
   17425 			EXPAT_CFLAGS=""
   17426 		fi
   17427 		if test "$expat_lib" != "auto"; then
   17428 			EXPAT_LIBS="-L${expat_lib} -lexpat"
   17429 		elif test "$expat_prefix" != "auto"; then
   17430 			EXPAT_LIBS="-L${expat_prefix}/lib -lexpat"
   17431 		else
   17432 			EXPAT_LIBS="-lexpat"
   17433 		fi
   17434 		PKG_EXPAT_CFLAGS=$EXPAT_CFLAGS
   17435 		PKG_EXPAT_LIBS=$EXPAT_LIBS
   17436 	else
   17437 		PKGCONFIG_REQUIRES_PRIVATELY="$PKGCONFIG_REQUIRES_PRIVATELY expat"
   17438 		PKG_EXPAT_CFLAGS=
   17439 		PKG_EXPAT_LIBS=
   17440 	fi
   17441 
   17442 	expatsaved_CPPFLAGS="$CPPFLAGS"
   17443 	expatsaved_LIBS="$LIBS"
   17444 	CPPFLAGS="$CPPFLAGS $EXPAT_CFLAGS"
   17445 	LIBS="$LIBS $EXPAT_LIBS"
   17446 
   17447 	ac_fn_c_check_header_mongrel "$LINENO" "expat.h" "ac_cv_header_expat_h" "$ac_includes_default"
   17448 if test "x$ac_cv_header_expat_h" = xyes; then :
   17449 
   17450 fi
   17451 
   17452 
   17453 	if test "$ac_cv_header_expat_h" = "no"; then
   17454 		ac_fn_c_check_header_mongrel "$LINENO" "xmlparse.h" "ac_cv_header_xmlparse_h" "$ac_includes_default"
   17455 if test "x$ac_cv_header_xmlparse_h" = xyes; then :
   17456 
   17457 fi
   17458 
   17459 
   17460 		if test "$ac_cv_header_xmlparse_h" = "yes"; then
   17461 			HAVE_XMLPARSE_H=1
   17462 
   17463 
   17464 cat >>confdefs.h <<_ACEOF
   17465 #define HAVE_XMLPARSE_H $HAVE_XMLPARSE_H
   17466 _ACEOF
   17467 
   17468 		else
   17469 			as_fn_error $? "
   17470 *** expat is required. or try to use --enable-libxml2" "$LINENO" 5
   17471 		fi
   17472 	fi
   17473 	for ac_func in XML_SetDoctypeDeclHandler
   17474 do :
   17475   ac_fn_c_check_func "$LINENO" "XML_SetDoctypeDeclHandler" "ac_cv_func_XML_SetDoctypeDeclHandler"
   17476 if test "x$ac_cv_func_XML_SetDoctypeDeclHandler" = xyes; then :
   17477   cat >>confdefs.h <<_ACEOF
   17478 #define HAVE_XML_SETDOCTYPEDECLHANDLER 1
   17479 _ACEOF
   17480 
   17481 fi
   17482 done
   17483 
   17484 	if test "$ac_cv_func_XML_SetDoctypeDeclHandler" = "no"; then
   17485 		as_fn_error $? "
   17486 *** expat is required. or try to use --enable-libxml2" "$LINENO" 5
   17487 	fi
   17488 	CPPFLAGS="$expatsaved_CPPFLAGS"
   17489 	LIBS="$expatsaved_LIBS"
   17490 
   17491 
   17492 
   17493 
   17494 
   17495 fi
   17496 
   17497 #
   17498 # Check libxml2 configuration
   17499 #
   17500 # Check whether --enable-libxml2 was given.
   17501 if test "${enable_libxml2+set}" = set; then :
   17502   enableval=$enable_libxml2;
   17503 fi
   17504 
   17505 
   17506 if test "$enable_libxml2" = "yes"; then
   17507 
   17508 pkg_failed=no
   17509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXML2" >&5
   17510 $as_echo_n "checking for LIBXML2... " >&6; }
   17511 
   17512 if test -n "$LIBXML2_CFLAGS"; then
   17513     pkg_cv_LIBXML2_CFLAGS="$LIBXML2_CFLAGS"
   17514  elif test -n "$PKG_CONFIG"; then
   17515     if test -n "$PKG_CONFIG" && \
   17516     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.6\""; } >&5
   17517   ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.6") 2>&5
   17518   ac_status=$?
   17519   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17520   test $ac_status = 0; }; then
   17521   pkg_cv_LIBXML2_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6" 2>/dev/null`
   17522 		      test "x$?" != "x0" && pkg_failed=yes
   17523 else
   17524   pkg_failed=yes
   17525 fi
   17526  else
   17527     pkg_failed=untried
   17528 fi
   17529 if test -n "$LIBXML2_LIBS"; then
   17530     pkg_cv_LIBXML2_LIBS="$LIBXML2_LIBS"
   17531  elif test -n "$PKG_CONFIG"; then
   17532     if test -n "$PKG_CONFIG" && \
   17533     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.6\""; } >&5
   17534   ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.6") 2>&5
   17535   ac_status=$?
   17536   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17537   test $ac_status = 0; }; then
   17538   pkg_cv_LIBXML2_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6" 2>/dev/null`
   17539 		      test "x$?" != "x0" && pkg_failed=yes
   17540 else
   17541   pkg_failed=yes
   17542 fi
   17543  else
   17544     pkg_failed=untried
   17545 fi
   17546 
   17547 
   17548 
   17549 if test $pkg_failed = yes; then
   17550    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17551 $as_echo "no" >&6; }
   17552 
   17553 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17554         _pkg_short_errors_supported=yes
   17555 else
   17556         _pkg_short_errors_supported=no
   17557 fi
   17558         if test $_pkg_short_errors_supported = yes; then
   17559 	        LIBXML2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0 >= 2.6" 2>&1`
   17560         else
   17561 	        LIBXML2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0 >= 2.6" 2>&1`
   17562         fi
   17563 	# Put the nasty error message in config.log where it belongs
   17564 	echo "$LIBXML2_PKG_ERRORS" >&5
   17565 
   17566 	as_fn_error $? "Package requirements (libxml-2.0 >= 2.6) were not met:
   17567 
   17568 $LIBXML2_PKG_ERRORS
   17569 
   17570 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   17571 installed software in a non-standard prefix.
   17572 
   17573 Alternatively, you may set the environment variables LIBXML2_CFLAGS
   17574 and LIBXML2_LIBS to avoid the need to call pkg-config.
   17575 See the pkg-config man page for more details." "$LINENO" 5
   17576 elif test $pkg_failed = untried; then
   17577      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17578 $as_echo "no" >&6; }
   17579 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17580 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   17581 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   17582 is in your PATH or set the PKG_CONFIG environment variable to the full
   17583 path to pkg-config.
   17584 
   17585 Alternatively, you may set the environment variables LIBXML2_CFLAGS
   17586 and LIBXML2_LIBS to avoid the need to call pkg-config.
   17587 See the pkg-config man page for more details.
   17588 
   17589 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   17590 See \`config.log' for more details" "$LINENO" 5; }
   17591 else
   17592 	LIBXML2_CFLAGS=$pkg_cv_LIBXML2_CFLAGS
   17593 	LIBXML2_LIBS=$pkg_cv_LIBXML2_LIBS
   17594         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17595 $as_echo "yes" >&6; }
   17596 
   17597 fi
   17598     PKGCONFIG_REQUIRES_PRIVATELY="$PKGCONFIG_REQUIRES_PRIVATELY libxml-2.0 >= 2.6"
   17599 
   17600 cat >>confdefs.h <<_ACEOF
   17601 #define ENABLE_LIBXML2 1
   17602 _ACEOF
   17603 
   17604 
   17605 
   17606 
   17607 
   17608     fc_saved_CFLAGS="$CFLAGS"
   17609     CFLAGS="$CFLAGS $LIBXML2_CFLAGS"
   17610     { $as_echo "$as_me:${as_lineno-$LINENO}: checking SAX1 support in libxml2" >&5
   17611 $as_echo_n "checking SAX1 support in libxml2... " >&6; }
   17612     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17613 /* end confdefs.h.  */
   17614 
   17615 	#include <libxml/xmlversion.h>
   17616 	#if !defined(LIBXML_SAX1_ENABLED)
   17617 	#  include "error: No SAX1 support in libxml2"
   17618 	#endif
   17619 
   17620 _ACEOF
   17621 if ac_fn_c_try_compile "$LINENO"; then :
   17622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
   17623 $as_echo "found" >&6; }
   17624 else
   17625   as_fn_error $? "
   17626 *** SAX1 support in libxml2 is required. enable it or use expat instead." "$LINENO" 5
   17627 fi
   17628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17629     CFLAGS="$fc_saved_CFLAGS"
   17630 fi
   17631 
   17632 #
   17633 # Check json-c
   17634 #
   17635 
   17636 pkg_failed=no
   17637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JSONC" >&5
   17638 $as_echo_n "checking for JSONC... " >&6; }
   17639 
   17640 if test -n "$JSONC_CFLAGS"; then
   17641     pkg_cv_JSONC_CFLAGS="$JSONC_CFLAGS"
   17642  elif test -n "$PKG_CONFIG"; then
   17643     if test -n "$PKG_CONFIG" && \
   17644     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c\""; } >&5
   17645   ($PKG_CONFIG --exists --print-errors "json-c") 2>&5
   17646   ac_status=$?
   17647   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17648   test $ac_status = 0; }; then
   17649   pkg_cv_JSONC_CFLAGS=`$PKG_CONFIG --cflags "json-c" 2>/dev/null`
   17650 		      test "x$?" != "x0" && pkg_failed=yes
   17651 else
   17652   pkg_failed=yes
   17653 fi
   17654  else
   17655     pkg_failed=untried
   17656 fi
   17657 if test -n "$JSONC_LIBS"; then
   17658     pkg_cv_JSONC_LIBS="$JSONC_LIBS"
   17659  elif test -n "$PKG_CONFIG"; then
   17660     if test -n "$PKG_CONFIG" && \
   17661     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c\""; } >&5
   17662   ($PKG_CONFIG --exists --print-errors "json-c") 2>&5
   17663   ac_status=$?
   17664   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17665   test $ac_status = 0; }; then
   17666   pkg_cv_JSONC_LIBS=`$PKG_CONFIG --libs "json-c" 2>/dev/null`
   17667 		      test "x$?" != "x0" && pkg_failed=yes
   17668 else
   17669   pkg_failed=yes
   17670 fi
   17671  else
   17672     pkg_failed=untried
   17673 fi
   17674 
   17675 
   17676 
   17677 if test $pkg_failed = yes; then
   17678    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17679 $as_echo "no" >&6; }
   17680 
   17681 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17682         _pkg_short_errors_supported=yes
   17683 else
   17684         _pkg_short_errors_supported=no
   17685 fi
   17686         if test $_pkg_short_errors_supported = yes; then
   17687 	        JSONC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json-c" 2>&1`
   17688         else
   17689 	        JSONC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json-c" 2>&1`
   17690         fi
   17691 	# Put the nasty error message in config.log where it belongs
   17692 	echo "$JSONC_PKG_ERRORS" >&5
   17693 
   17694 	use_jsonc=no
   17695 elif test $pkg_failed = untried; then
   17696      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17697 $as_echo "no" >&6; }
   17698 	use_jsonc=no
   17699 else
   17700 	JSONC_CFLAGS=$pkg_cv_JSONC_CFLAGS
   17701 	JSONC_LIBS=$pkg_cv_JSONC_LIBS
   17702         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17703 $as_echo "yes" >&6; }
   17704 	use_jsonc=yes
   17705 fi
   17706 
   17707  if test "x$use_jsonc" = "xyes"; then
   17708   ENABLE_JSONC_TRUE=
   17709   ENABLE_JSONC_FALSE='#'
   17710 else
   17711   ENABLE_JSONC_TRUE='#'
   17712   ENABLE_JSONC_FALSE=
   17713 fi
   17714 
   17715 
   17716 
   17717 
   17718 #
   17719 # Set default hinting
   17720 #
   17721 
   17722 
   17723 # Check whether --with-default-hinting was given.
   17724 if test "${with_default_hinting+set}" = set; then :
   17725   withval=$with_default_hinting; preferred_hinting="$withval"
   17726 else
   17727   preferred_hinting=slight
   17728 fi
   17729 
   17730 
   17731 case "$preferred_hinting" in
   17732 none|slight|medium|full)
   17733 	PREFERRED_HINTING="$preferred_hinting"
   17734 
   17735 	;;
   17736 *)
   17737 	as_fn_error $? "Invalid hinting. please choose one of none, slight, medium, or full" "$LINENO" 5
   17738 	;;
   17739 esac
   17740 
   17741 #
   17742 # Set default font directory
   17743 #
   17744 
   17745 
   17746 # Check whether --with-default-fonts was given.
   17747 if test "${with_default_fonts+set}" = set; then :
   17748   withval=$with_default_fonts; default_fonts="$withval"
   17749 else
   17750   default_fonts=yes
   17751 fi
   17752 
   17753 
   17754 case "$default_fonts" in
   17755 yes)
   17756 	if test "$os_win32" = "yes"; then
   17757 		FC_DEFAULT_FONTS="WINDOWSFONTDIR"
   17758 
   17759 cat >>confdefs.h <<_ACEOF
   17760 #define FC_DEFAULT_FONTS "WINDOWSFONTDIR"
   17761 _ACEOF
   17762 
   17763 	else
   17764 		FC_DEFAULT_FONTS="/usr/share/fonts"
   17765 
   17766 cat >>confdefs.h <<_ACEOF
   17767 #define FC_DEFAULT_FONTS "/usr/share/fonts"
   17768 _ACEOF
   17769 
   17770 	fi
   17771 	;;
   17772 *)
   17773 	FC_DEFAULT_FONTS="$default_fonts"
   17774 
   17775 cat >>confdefs.h <<_ACEOF
   17776 #define FC_DEFAULT_FONTS "$default_fonts"
   17777 _ACEOF
   17778 
   17779 	;;
   17780 esac
   17781 
   17782 
   17783 
   17784 #
   17785 # Add more fonts if available.  By default, add only the directories
   17786 # with outline fonts; those with bitmaps can be added as desired in
   17787 # local.conf or ~/.fonts.conf
   17788 #
   17789 
   17790 # Check whether --with-add-fonts was given.
   17791 if test "${with_add_fonts+set}" = set; then :
   17792   withval=$with_add_fonts; add_fonts="$withval"
   17793 else
   17794   add_fonts=yes
   17795 fi
   17796 
   17797 
   17798 case "$add_fonts" in
   17799 yes)
   17800 	FC_ADD_FONTS=""
   17801 	for dir in /usr/X11R6/lib/X11 /usr/X11/lib/X11 /usr/lib/X11; do
   17802 		case x"$FC_ADD_FONTS" in
   17803 		x)
   17804 			sub="$dir/fonts"
   17805 			if test -d "$sub"; then
   17806 				case x$FC_ADD_FONTS in
   17807 				x)
   17808 					FC_ADD_FONTS="$sub"
   17809 					;;
   17810 				*)
   17811 					FC_ADD_FONTS="$FC_ADD_FONTS,$sub"
   17812 					;;
   17813 				esac
   17814 			fi
   17815 			;;
   17816 		esac
   17817 	done
   17818 
   17819 cat >>confdefs.h <<_ACEOF
   17820 #define FC_ADD_FONTS "$add_fonts"
   17821 _ACEOF
   17822 
   17823 	;;
   17824 no)
   17825 	FC_ADD_FONTS=""
   17826 	;;
   17827 *)
   17828 	FC_ADD_FONTS="$add_fonts"
   17829 
   17830 cat >>confdefs.h <<_ACEOF
   17831 #define FC_ADD_FONTS "$add_fonts"
   17832 _ACEOF
   17833 
   17834 	;;
   17835 esac
   17836 
   17837 
   17838 
   17839 FC_FONTPATH=""
   17840 
   17841 case "$FC_ADD_FONTS" in
   17842 "")
   17843 	;;
   17844 *)
   17845 	FC_FONTPATH=`echo $FC_ADD_FONTS |
   17846 			sed -e 's/^/<dir>/' -e 's/$/<\/dir>/' -e 's/,/<\/dir> <dir>/g'`
   17847 	;;
   17848 esac
   17849 
   17850 
   17851 
   17852 #
   17853 # Set default cache directory path
   17854 #
   17855 
   17856 # Check whether --with-cache-dir was given.
   17857 if test "${with_cache_dir+set}" = set; then :
   17858   withval=$with_cache_dir; fc_cachedir="$withval"
   17859 else
   17860   fc_cachedir=yes
   17861 fi
   17862 
   17863 
   17864 case $fc_cachedir in
   17865 no|yes)
   17866 	if test "$os_win32" = "yes"; then
   17867 		fc_cachedir="LOCAL_APPDATA_FONTCONFIG_CACHE"
   17868 	else
   17869 		fc_cachedir='${localstatedir}/cache/${PACKAGE}'
   17870 	fi
   17871 	;;
   17872 *)
   17873 	;;
   17874 esac
   17875 
   17876 FC_CACHEDIR=${fc_cachedir}
   17877 
   17878 
   17879 FC_FONTDATE=`LC_ALL=C date`
   17880 
   17881 
   17882 
   17883 #
   17884 # Set configuration paths
   17885 #
   17886 
   17887 
   17888 # Check whether --with-templatedir was given.
   17889 if test "${with_templatedir+set}" = set; then :
   17890   withval=$with_templatedir; templatedir="$withval"
   17891 else
   17892   templatedir=yes
   17893 fi
   17894 
   17895 
   17896 # Check whether --with-baseconfigdir was given.
   17897 if test "${with_baseconfigdir+set}" = set; then :
   17898   withval=$with_baseconfigdir; baseconfigdir="$withval"
   17899 else
   17900   baseconfigdir=yes
   17901 fi
   17902 
   17903 
   17904 # Check whether --with-configdir was given.
   17905 if test "${with_configdir+set}" = set; then :
   17906   withval=$with_configdir; configdir="$withval"
   17907 else
   17908   configdir=yes
   17909 fi
   17910 
   17911 
   17912 # Check whether --with-xmldir was given.
   17913 if test "${with_xmldir+set}" = set; then :
   17914   withval=$with_xmldir; xmldir="$withval"
   17915 else
   17916   xmldir=yes
   17917 fi
   17918 
   17919 
   17920 case "$templatedir" in
   17921 no|yes)
   17922 	templatedir='${datadir}'/fontconfig/conf.avail
   17923 	;;
   17924 *)
   17925 	;;
   17926 esac
   17927 case "$baseconfigdir" in
   17928 no|yes)
   17929 	baseconfigdir='${sysconfdir}'/fonts
   17930 	;;
   17931 *)
   17932 	;;
   17933 esac
   17934 case "$configdir" in
   17935 no|yes)
   17936 	configdir='${BASECONFIGDIR}'/conf.d
   17937 	;;
   17938 *)
   17939 	;;
   17940 esac
   17941 case "$xmldir" in
   17942 no|yes)
   17943 	xmldir='${datadir}'/xml/fontconfig
   17944 	;;
   17945 *)
   17946 	;;
   17947 esac
   17948 
   17949 TEMPLATEDIR=${templatedir}
   17950 BASECONFIGDIR=${baseconfigdir}
   17951 CONFIGDIR=${configdir}
   17952 XMLDIR=${xmldir}
   17953 
   17954 
   17955 
   17956 
   17957 
   17958 
   17959 
   17960 #
   17961 # Thread-safety primitives
   17962 #
   17963 
   17964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Intel atomic primitives" >&5
   17965 $as_echo_n "checking for Intel atomic primitives... " >&6; }
   17966 if ${fc_cv_have_intel_atomic_primitives+:} false; then :
   17967   $as_echo_n "(cached) " >&6
   17968 else
   17969 
   17970 	fc_cv_have_intel_atomic_primitives=false
   17971 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17972 /* end confdefs.h.  */
   17973 
   17974 		void memory_barrier (void) { __sync_synchronize (); }
   17975 		int atomic_add (int *i) { return __sync_fetch_and_add (i, 1); }
   17976 		int mutex_trylock (int *m) { return __sync_lock_test_and_set (m, 1); }
   17977 		void mutex_unlock (int *m) { __sync_lock_release (m); }
   17978 
   17979 int
   17980 main ()
   17981 {
   17982 
   17983   ;
   17984   return 0;
   17985 }
   17986 _ACEOF
   17987 if ac_fn_c_try_link "$LINENO"; then :
   17988   fc_cv_have_intel_atomic_primitives=true
   17989 
   17990 fi
   17991 rm -f core conftest.err conftest.$ac_objext \
   17992     conftest$ac_exeext conftest.$ac_ext
   17993 
   17994 fi
   17995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fc_cv_have_intel_atomic_primitives" >&5
   17996 $as_echo "$fc_cv_have_intel_atomic_primitives" >&6; }
   17997 if $fc_cv_have_intel_atomic_primitives; then
   17998 
   17999 $as_echo "#define HAVE_INTEL_ATOMIC_PRIMITIVES 1" >>confdefs.h
   18000 
   18001 fi
   18002 
   18003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Solaris atomic operations" >&5
   18004 $as_echo_n "checking for Solaris atomic operations... " >&6; }
   18005 if ${fc_cv_have_solaris_atomic_ops+:} false; then :
   18006   $as_echo_n "(cached) " >&6
   18007 else
   18008 
   18009 	fc_cv_have_solaris_atomic_ops=false
   18010 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18011 /* end confdefs.h.  */
   18012 
   18013 		#include <atomic.h>
   18014 		/* This requires Solaris Studio 12.2 or newer: */
   18015 		#include <mbarrier.h>
   18016 		void memory_barrier (void) { __machine_rw_barrier (); }
   18017 		int atomic_add (volatile unsigned *i) { return atomic_add_int_nv (i, 1); }
   18018 		void *atomic_ptr_cmpxchg (volatile void **target, void *cmp, void *newval) { return atomic_cas_ptr (target, cmp, newval); }
   18019 
   18020 int
   18021 main ()
   18022 {
   18023 
   18024   ;
   18025   return 0;
   18026 }
   18027 _ACEOF
   18028 if ac_fn_c_try_link "$LINENO"; then :
   18029   fc_cv_have_solaris_atomic_ops=true
   18030 
   18031 fi
   18032 rm -f core conftest.err conftest.$ac_objext \
   18033     conftest$ac_exeext conftest.$ac_ext
   18034 
   18035 fi
   18036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $fc_cv_have_solaris_atomic_ops" >&5
   18037 $as_echo "$fc_cv_have_solaris_atomic_ops" >&6; }
   18038 if $fc_cv_have_solaris_atomic_ops; then
   18039 
   18040 $as_echo "#define HAVE_SOLARIS_ATOMIC_OPS 1" >>confdefs.h
   18041 
   18042 fi
   18043 
   18044 if test "$os_win32" = no && ! $have_pthread; then
   18045 	for ac_header in sched.h
   18046 do :
   18047   ac_fn_c_check_header_mongrel "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
   18048 if test "x$ac_cv_header_sched_h" = xyes; then :
   18049   cat >>confdefs.h <<_ACEOF
   18050 #define HAVE_SCHED_H 1
   18051 _ACEOF
   18052 
   18053 fi
   18054 
   18055 done
   18056 
   18057 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
   18058 $as_echo_n "checking for library containing sched_yield... " >&6; }
   18059 if ${ac_cv_search_sched_yield+:} false; then :
   18060   $as_echo_n "(cached) " >&6
   18061 else
   18062   ac_func_search_save_LIBS=$LIBS
   18063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18064 /* end confdefs.h.  */
   18065 
   18066 /* Override any GCC internal prototype to avoid an error.
   18067    Use char because int might match the return type of a GCC
   18068    builtin and then its argument prototype would still apply.  */
   18069 #ifdef __cplusplus
   18070 extern "C"
   18071 #endif
   18072 char sched_yield ();
   18073 int
   18074 main ()
   18075 {
   18076 return sched_yield ();
   18077   ;
   18078   return 0;
   18079 }
   18080 _ACEOF
   18081 for ac_lib in '' rt; do
   18082   if test -z "$ac_lib"; then
   18083     ac_res="none required"
   18084   else
   18085     ac_res=-l$ac_lib
   18086     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   18087   fi
   18088   if ac_fn_c_try_link "$LINENO"; then :
   18089   ac_cv_search_sched_yield=$ac_res
   18090 fi
   18091 rm -f core conftest.err conftest.$ac_objext \
   18092     conftest$ac_exeext
   18093   if ${ac_cv_search_sched_yield+:} false; then :
   18094   break
   18095 fi
   18096 done
   18097 if ${ac_cv_search_sched_yield+:} false; then :
   18098 
   18099 else
   18100   ac_cv_search_sched_yield=no
   18101 fi
   18102 rm conftest.$ac_ext
   18103 LIBS=$ac_func_search_save_LIBS
   18104 fi
   18105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
   18106 $as_echo "$ac_cv_search_sched_yield" >&6; }
   18107 ac_res=$ac_cv_search_sched_yield
   18108 if test "$ac_res" != no; then :
   18109   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   18110 
   18111 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
   18112 
   18113 fi
   18114 
   18115 fi
   18116 
   18117 have_pthread=false
   18118 if test "$os_win32" = no; then
   18119 
   18120 
   18121 ac_ext=c
   18122 ac_cpp='$CPP $CPPFLAGS'
   18123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   18124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   18125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   18126 
   18127 ax_pthread_ok=no
   18128 
   18129 # We used to check for pthread.h first, but this fails if pthread.h
   18130 # requires special compiler flags (e.g. on True64 or Sequent).
   18131 # It gets checked for in the link test anyway.
   18132 
   18133 # First of all, check if the user has set any of the PTHREAD_LIBS,
   18134 # etcetera environment variables, and if threads linking works using
   18135 # them:
   18136 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
   18137         save_CFLAGS="$CFLAGS"
   18138         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   18139         save_LIBS="$LIBS"
   18140         LIBS="$PTHREAD_LIBS $LIBS"
   18141         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
   18142 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
   18143         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18144 /* end confdefs.h.  */
   18145 
   18146 /* Override any GCC internal prototype to avoid an error.
   18147    Use char because int might match the return type of a GCC
   18148    builtin and then its argument prototype would still apply.  */
   18149 #ifdef __cplusplus
   18150 extern "C"
   18151 #endif
   18152 char pthread_join ();
   18153 int
   18154 main ()
   18155 {
   18156 return pthread_join ();
   18157   ;
   18158   return 0;
   18159 }
   18160 _ACEOF
   18161 if ac_fn_c_try_link "$LINENO"; then :
   18162   ax_pthread_ok=yes
   18163 fi
   18164 rm -f core conftest.err conftest.$ac_objext \
   18165     conftest$ac_exeext conftest.$ac_ext
   18166         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
   18167 $as_echo "$ax_pthread_ok" >&6; }
   18168         if test x"$ax_pthread_ok" = xno; then
   18169                 PTHREAD_LIBS=""
   18170                 PTHREAD_CFLAGS=""
   18171         fi
   18172         LIBS="$save_LIBS"
   18173         CFLAGS="$save_CFLAGS"
   18174 fi
   18175 
   18176 # We must check for the threads library under a number of different
   18177 # names; the ordering is very important because some systems
   18178 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
   18179 # libraries is broken (non-POSIX).
   18180 
   18181 # Create a list of thread flags to try.  Items starting with a "-" are
   18182 # C compiler flags, and other items are library names, except for "none"
   18183 # which indicates that we try without any flags at all, and "pthread-config"
   18184 # which is a program returning the flags for the Pth emulation library.
   18185 
   18186 ax_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
   18187 
   18188 # The ordering *is* (sometimes) important.  Some notes on the
   18189 # individual items follow:
   18190 
   18191 # pthreads: AIX (must check this before -lpthread)
   18192 # none: in case threads are in libc; should be tried before -Kthread and
   18193 #       other compiler flags to prevent continual compiler warnings
   18194 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
   18195 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
   18196 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
   18197 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
   18198 # -pthreads: Solaris/gcc
   18199 # -mthreads: Mingw32/gcc, Lynx/gcc
   18200 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
   18201 #      doesn't hurt to check since this sometimes defines pthreads too;
   18202 #      also defines -D_REENTRANT)
   18203 #      ... -mt is also the pthreads flag for HP/aCC
   18204 # pthread: Linux, etcetera
   18205 # --thread-safe: KAI C++
   18206 # pthread-config: use pthread-config program (for GNU Pth library)
   18207 
   18208 case ${host_os} in
   18209         solaris*)
   18210 
   18211         # On Solaris (at least, for some versions), libc contains stubbed
   18212         # (non-functional) versions of the pthreads routines, so link-based
   18213         # tests will erroneously succeed.  (We need to link with -pthreads/-mt/
   18214         # -lpthread.)  (The stubs are missing pthread_cleanup_push, or rather
   18215         # a function called by this macro, so we could check for that, but
   18216         # who knows whether they'll stub that too in a future libc.)  So,
   18217         # we'll just look for -pthreads and -lpthread first:
   18218 
   18219         ax_pthread_flags="-pthreads pthread -mt -pthread $ax_pthread_flags"
   18220         ;;
   18221 
   18222         darwin*)
   18223         ax_pthread_flags="-pthread $ax_pthread_flags"
   18224         ;;
   18225 	netbsd*)
   18226 	# use libc stubs, don't link against libpthread, to allow
   18227 	# dynamic loading
   18228 	ax_pthread_flags=""
   18229 	;;
   18230 esac
   18231 
   18232 # Clang doesn't consider unrecognized options an error unless we specify
   18233 # -Werror. We throw in some extra Clang-specific options to ensure that
   18234 # this doesn't happen for GCC, which also accepts -Werror.
   18235 
   18236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler needs -Werror to reject unknown flags" >&5
   18237 $as_echo_n "checking if compiler needs -Werror to reject unknown flags... " >&6; }
   18238 save_CFLAGS="$CFLAGS"
   18239 ax_pthread_extra_flags="-Werror"
   18240 CFLAGS="$CFLAGS $ax_pthread_extra_flags -Wunknown-warning-option -Wsizeof-array-argument"
   18241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18242 /* end confdefs.h.  */
   18243 int foo(void);
   18244 int
   18245 main ()
   18246 {
   18247 foo()
   18248   ;
   18249   return 0;
   18250 }
   18251 _ACEOF
   18252 if ac_fn_c_try_compile "$LINENO"; then :
   18253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18254 $as_echo "yes" >&6; }
   18255 else
   18256   ax_pthread_extra_flags=
   18257                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18258 $as_echo "no" >&6; }
   18259 fi
   18260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18261 CFLAGS="$save_CFLAGS"
   18262 
   18263 if test x"$ax_pthread_ok" = xno; then
   18264 for flag in $ax_pthread_flags; do
   18265 
   18266         case $flag in
   18267                 none)
   18268                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
   18269 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
   18270                 ;;
   18271 
   18272                 -*)
   18273                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
   18274 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
   18275                 PTHREAD_CFLAGS="$flag"
   18276                 ;;
   18277 
   18278                 pthread-config)
   18279                 # Extract the first word of "pthread-config", so it can be a program name with args.
   18280 set dummy pthread-config; ac_word=$2
   18281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18282 $as_echo_n "checking for $ac_word... " >&6; }
   18283 if ${ac_cv_prog_ax_pthread_config+:} false; then :
   18284   $as_echo_n "(cached) " >&6
   18285 else
   18286   if test -n "$ax_pthread_config"; then
   18287   ac_cv_prog_ax_pthread_config="$ax_pthread_config" # Let the user override the test.
   18288 else
   18289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18290 for as_dir in $PATH
   18291 do
   18292   IFS=$as_save_IFS
   18293   test -z "$as_dir" && as_dir=.
   18294     for ac_exec_ext in '' $ac_executable_extensions; do
   18295   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18296     ac_cv_prog_ax_pthread_config="yes"
   18297     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18298     break 2
   18299   fi
   18300 done
   18301   done
   18302 IFS=$as_save_IFS
   18303 
   18304   test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config="no"
   18305 fi
   18306 fi
   18307 ax_pthread_config=$ac_cv_prog_ax_pthread_config
   18308 if test -n "$ax_pthread_config"; then
   18309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
   18310 $as_echo "$ax_pthread_config" >&6; }
   18311 else
   18312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18313 $as_echo "no" >&6; }
   18314 fi
   18315 
   18316 
   18317                 if test x"$ax_pthread_config" = xno; then continue; fi
   18318                 PTHREAD_CFLAGS="`pthread-config --cflags`"
   18319                 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
   18320                 ;;
   18321 
   18322                 *)
   18323                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
   18324 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
   18325                 PTHREAD_LIBS="-l$flag"
   18326                 ;;
   18327         esac
   18328 
   18329         save_LIBS="$LIBS"
   18330         save_CFLAGS="$CFLAGS"
   18331         LIBS="$PTHREAD_LIBS $LIBS"
   18332         CFLAGS="$CFLAGS $PTHREAD_CFLAGS $ax_pthread_extra_flags"
   18333 
   18334         # Check for various functions.  We must include pthread.h,
   18335         # since some functions may be macros.  (On the Sequent, we
   18336         # need a special flag -Kthread to make this header compile.)
   18337         # We check for pthread_join because it is in -lpthread on IRIX
   18338         # while pthread_create is in libc.  We check for pthread_attr_init
   18339         # due to DEC craziness with -lpthreads.  We check for
   18340         # pthread_cleanup_push because it is one of the few pthread
   18341         # functions on Solaris that doesn't have a non-functional libc stub.
   18342         # We try pthread_create on general principles.
   18343         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18344 /* end confdefs.h.  */
   18345 #include <pthread.h>
   18346                         static void routine(void *a) { a = 0; }
   18347                         static void *start_routine(void *a) { return a; }
   18348 int
   18349 main ()
   18350 {
   18351 pthread_t th; pthread_attr_t attr;
   18352                         pthread_create(&th, 0, start_routine, 0);
   18353                         pthread_join(th, 0);
   18354                         pthread_attr_init(&attr);
   18355                         pthread_cleanup_push(routine, 0);
   18356                         pthread_cleanup_pop(0) /* ; */
   18357   ;
   18358   return 0;
   18359 }
   18360 _ACEOF
   18361 if ac_fn_c_try_link "$LINENO"; then :
   18362   ax_pthread_ok=yes
   18363 fi
   18364 rm -f core conftest.err conftest.$ac_objext \
   18365     conftest$ac_exeext conftest.$ac_ext
   18366 
   18367         LIBS="$save_LIBS"
   18368         CFLAGS="$save_CFLAGS"
   18369 
   18370         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
   18371 $as_echo "$ax_pthread_ok" >&6; }
   18372         if test "x$ax_pthread_ok" = xyes; then
   18373                 break;
   18374         fi
   18375 
   18376         PTHREAD_LIBS=""
   18377         PTHREAD_CFLAGS=""
   18378 done
   18379 fi
   18380 
   18381 # Various other checks:
   18382 if test "x$ax_pthread_ok" = xyes; then
   18383         save_LIBS="$LIBS"
   18384         LIBS="$PTHREAD_LIBS $LIBS"
   18385         save_CFLAGS="$CFLAGS"
   18386         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   18387 
   18388         # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
   18389         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
   18390 $as_echo_n "checking for joinable pthread attribute... " >&6; }
   18391         attr_name=unknown
   18392         for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
   18393             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18394 /* end confdefs.h.  */
   18395 #include <pthread.h>
   18396 int
   18397 main ()
   18398 {
   18399 int attr = $attr; return attr /* ; */
   18400   ;
   18401   return 0;
   18402 }
   18403 _ACEOF
   18404 if ac_fn_c_try_link "$LINENO"; then :
   18405   attr_name=$attr; break
   18406 fi
   18407 rm -f core conftest.err conftest.$ac_objext \
   18408     conftest$ac_exeext conftest.$ac_ext
   18409         done
   18410         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
   18411 $as_echo "$attr_name" >&6; }
   18412         if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
   18413 
   18414 cat >>confdefs.h <<_ACEOF
   18415 #define PTHREAD_CREATE_JOINABLE $attr_name
   18416 _ACEOF
   18417 
   18418         fi
   18419 
   18420         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
   18421 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
   18422         flag=no
   18423         case ${host_os} in
   18424             aix* | freebsd* | darwin*) flag="-D_THREAD_SAFE";;
   18425             osf* | hpux*) flag="-D_REENTRANT";;
   18426             solaris*)
   18427             if test "$GCC" = "yes"; then
   18428                 flag="-D_REENTRANT"
   18429             else
   18430                 # TODO: What about Clang on Solaris?
   18431                 flag="-mt -D_REENTRANT"
   18432             fi
   18433             ;;
   18434         esac
   18435         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag" >&5
   18436 $as_echo "$flag" >&6; }
   18437         if test "x$flag" != xno; then
   18438             PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
   18439         fi
   18440 
   18441         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
   18442 $as_echo_n "checking for PTHREAD_PRIO_INHERIT... " >&6; }
   18443 if ${ax_cv_PTHREAD_PRIO_INHERIT+:} false; then :
   18444   $as_echo_n "(cached) " >&6
   18445 else
   18446 
   18447                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18448 /* end confdefs.h.  */
   18449 #include <pthread.h>
   18450 int
   18451 main ()
   18452 {
   18453 int i = PTHREAD_PRIO_INHERIT;
   18454   ;
   18455   return 0;
   18456 }
   18457 _ACEOF
   18458 if ac_fn_c_try_link "$LINENO"; then :
   18459   ax_cv_PTHREAD_PRIO_INHERIT=yes
   18460 else
   18461   ax_cv_PTHREAD_PRIO_INHERIT=no
   18462 fi
   18463 rm -f core conftest.err conftest.$ac_objext \
   18464     conftest$ac_exeext conftest.$ac_ext
   18465 
   18466 fi
   18467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
   18468 $as_echo "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
   18469         if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes"; then :
   18470 
   18471 $as_echo "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
   18472 
   18473 fi
   18474 
   18475         LIBS="$save_LIBS"
   18476         CFLAGS="$save_CFLAGS"
   18477 
   18478         # More AIX lossage: compile with *_r variant
   18479         if test "x$GCC" != xyes; then
   18480             case $host_os in
   18481                 aix*)
   18482                 case "x/$CC" in #(
   18483   x*/c89|x*/c89_128|x*/c99|x*/c99_128|x*/cc|x*/cc128|x*/xlc|x*/xlc_v6|x*/xlc128|x*/xlc128_v6) :
   18484     #handle absolute path differently from PATH based program lookup
   18485                    case "x$CC" in #(
   18486   x/*) :
   18487     if as_fn_executable_p ${CC}_r; then :
   18488   PTHREAD_CC="${CC}_r"
   18489 fi ;; #(
   18490   *) :
   18491     for ac_prog in ${CC}_r
   18492 do
   18493   # Extract the first word of "$ac_prog", so it can be a program name with args.
   18494 set dummy $ac_prog; ac_word=$2
   18495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18496 $as_echo_n "checking for $ac_word... " >&6; }
   18497 if ${ac_cv_prog_PTHREAD_CC+:} false; then :
   18498   $as_echo_n "(cached) " >&6
   18499 else
   18500   if test -n "$PTHREAD_CC"; then
   18501   ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
   18502 else
   18503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18504 for as_dir in $PATH
   18505 do
   18506   IFS=$as_save_IFS
   18507   test -z "$as_dir" && as_dir=.
   18508     for ac_exec_ext in '' $ac_executable_extensions; do
   18509   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18510     ac_cv_prog_PTHREAD_CC="$ac_prog"
   18511     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18512     break 2
   18513   fi
   18514 done
   18515   done
   18516 IFS=$as_save_IFS
   18517 
   18518 fi
   18519 fi
   18520 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
   18521 if test -n "$PTHREAD_CC"; then
   18522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
   18523 $as_echo "$PTHREAD_CC" >&6; }
   18524 else
   18525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18526 $as_echo "no" >&6; }
   18527 fi
   18528 
   18529 
   18530   test -n "$PTHREAD_CC" && break
   18531 done
   18532 test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
   18533  ;;
   18534 esac ;; #(
   18535   *) :
   18536      ;;
   18537 esac
   18538                 ;;
   18539             esac
   18540         fi
   18541 fi
   18542 
   18543 test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
   18544 
   18545 
   18546 
   18547 
   18548 
   18549 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
   18550 if test x"$ax_pthread_ok" = xyes; then
   18551         have_pthread=true
   18552         :
   18553 else
   18554         ax_pthread_ok=no
   18555 
   18556 fi
   18557 ac_ext=c
   18558 ac_cpp='$CPP $CPPFLAGS'
   18559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   18560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   18561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   18562 
   18563 
   18564 fi
   18565 if $have_pthread; then
   18566 	LIBS="$PTHREAD_LIBS $LIBS"
   18567 	CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   18568 	CC="$PTHREAD_CC"
   18569 
   18570 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
   18571 
   18572 fi
   18573  if $have_pthread; then
   18574   HAVE_PTHREAD_TRUE=
   18575   HAVE_PTHREAD_FALSE='#'
   18576 else
   18577   HAVE_PTHREAD_TRUE='#'
   18578   HAVE_PTHREAD_FALSE=
   18579 fi
   18580 
   18581 
   18582 
   18583 
   18584 #
   18585 # Let people not build/install docs if they don't have docbook
   18586 #
   18587 
   18588 # Extract the first word of "docbook2html", so it can be a program name with args.
   18589 set dummy docbook2html; ac_word=$2
   18590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18591 $as_echo_n "checking for $ac_word... " >&6; }
   18592 if ${ac_cv_prog_HASDOCBOOK+:} false; then :
   18593   $as_echo_n "(cached) " >&6
   18594 else
   18595   if test -n "$HASDOCBOOK"; then
   18596   ac_cv_prog_HASDOCBOOK="$HASDOCBOOK" # Let the user override the test.
   18597 else
   18598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18599 for as_dir in $PATH
   18600 do
   18601   IFS=$as_save_IFS
   18602   test -z "$as_dir" && as_dir=.
   18603     for ac_exec_ext in '' $ac_executable_extensions; do
   18604   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18605     ac_cv_prog_HASDOCBOOK="yes"
   18606     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18607     break 2
   18608   fi
   18609 done
   18610   done
   18611 IFS=$as_save_IFS
   18612 
   18613   test -z "$ac_cv_prog_HASDOCBOOK" && ac_cv_prog_HASDOCBOOK="no"
   18614 fi
   18615 fi
   18616 HASDOCBOOK=$ac_cv_prog_HASDOCBOOK
   18617 if test -n "$HASDOCBOOK"; then
   18618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HASDOCBOOK" >&5
   18619 $as_echo "$HASDOCBOOK" >&6; }
   18620 else
   18621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18622 $as_echo "no" >&6; }
   18623 fi
   18624 
   18625 
   18626 
   18627  if test "x$HASDOCBOOK" = xyes; then
   18628   USEDOCBOOK_TRUE=
   18629   USEDOCBOOK_FALSE='#'
   18630 else
   18631   USEDOCBOOK_TRUE='#'
   18632   USEDOCBOOK_FALSE=
   18633 fi
   18634 
   18635 
   18636 default_docs="yes"
   18637 #
   18638 # Check if docs exist or can be created
   18639 #
   18640 if test x$HASDOCBOOK = xno; then
   18641 	if test -f $srcdir/doc/fonts-conf.5; then
   18642 		:
   18643 	else
   18644 		default_docs="no"
   18645 	fi
   18646 fi
   18647 
   18648 # Check whether --enable-docs was given.
   18649 if test "${enable_docs+set}" = set; then :
   18650   enableval=$enable_docs;
   18651 else
   18652   enable_docs=$default_docs
   18653 fi
   18654 
   18655 
   18656  if test "x$enable_docs" = xyes; then
   18657   ENABLE_DOCS_TRUE=
   18658   ENABLE_DOCS_FALSE='#'
   18659 else
   18660   ENABLE_DOCS_TRUE='#'
   18661   ENABLE_DOCS_FALSE=
   18662 fi
   18663 
   18664 
   18665 if test "x$enable_docs" = xyes; then
   18666 	tmp=funcs.$$
   18667 	cat $srcdir/doc/*.fncs | awk '
   18668 	/^@TITLE@/	{ if (!done) { printf ("%s\n", $2); done = 1; } }
   18669 	/^@FUNC@/	{ if (!done) { printf ("%s\n", $2); done = 1; } }
   18670 	/^@@/		{ done = 0; }' > $tmp
   18671 	DOCMAN3=`cat $tmp | awk '{ printf ("%s.3 ", $1); }'`
   18672 	echo DOCMAN3 $DOCMAN3
   18673 	rm -f $tmp
   18674 else
   18675 	DOCMAN3=""
   18676 fi
   18677 
   18678 
   18679 
   18680  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
   18681 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
   18682 if ${ac_cv_c_bigendian+:} false; then :
   18683   $as_echo_n "(cached) " >&6
   18684 else
   18685   ac_cv_c_bigendian=unknown
   18686     # See if we're dealing with a universal compiler.
   18687     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18688 /* end confdefs.h.  */
   18689 #ifndef __APPLE_CC__
   18690 	       not a universal capable compiler
   18691 	     #endif
   18692 	     typedef int dummy;
   18693 
   18694 _ACEOF
   18695 if ac_fn_c_try_compile "$LINENO"; then :
   18696 
   18697 	# Check for potential -arch flags.  It is not universal unless
   18698 	# there are at least two -arch flags with different values.
   18699 	ac_arch=
   18700 	ac_prev=
   18701 	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
   18702 	 if test -n "$ac_prev"; then
   18703 	   case $ac_word in
   18704 	     i?86 | x86_64 | ppc | ppc64)
   18705 	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
   18706 		 ac_arch=$ac_word
   18707 	       else
   18708 		 ac_cv_c_bigendian=universal
   18709 		 break
   18710 	       fi
   18711 	       ;;
   18712 	   esac
   18713 	   ac_prev=
   18714 	 elif test "x$ac_word" = "x-arch"; then
   18715 	   ac_prev=arch
   18716 	 fi
   18717        done
   18718 fi
   18719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18720     if test $ac_cv_c_bigendian = unknown; then
   18721       # See if sys/param.h defines the BYTE_ORDER macro.
   18722       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18723 /* end confdefs.h.  */
   18724 #include <sys/types.h>
   18725 	     #include <sys/param.h>
   18726 
   18727 int
   18728 main ()
   18729 {
   18730 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
   18731 		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
   18732 		     && LITTLE_ENDIAN)
   18733 	      bogus endian macros
   18734 	     #endif
   18735 
   18736   ;
   18737   return 0;
   18738 }
   18739 _ACEOF
   18740 if ac_fn_c_try_compile "$LINENO"; then :
   18741   # It does; now see whether it defined to BIG_ENDIAN or not.
   18742 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18743 /* end confdefs.h.  */
   18744 #include <sys/types.h>
   18745 		#include <sys/param.h>
   18746 
   18747 int
   18748 main ()
   18749 {
   18750 #if BYTE_ORDER != BIG_ENDIAN
   18751 		 not big endian
   18752 		#endif
   18753 
   18754   ;
   18755   return 0;
   18756 }
   18757 _ACEOF
   18758 if ac_fn_c_try_compile "$LINENO"; then :
   18759   ac_cv_c_bigendian=yes
   18760 else
   18761   ac_cv_c_bigendian=no
   18762 fi
   18763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18764 fi
   18765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18766     fi
   18767     if test $ac_cv_c_bigendian = unknown; then
   18768       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
   18769       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18770 /* end confdefs.h.  */
   18771 #include <limits.h>
   18772 
   18773 int
   18774 main ()
   18775 {
   18776 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
   18777 	      bogus endian macros
   18778 	     #endif
   18779 
   18780   ;
   18781   return 0;
   18782 }
   18783 _ACEOF
   18784 if ac_fn_c_try_compile "$LINENO"; then :
   18785   # It does; now see whether it defined to _BIG_ENDIAN or not.
   18786 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18787 /* end confdefs.h.  */
   18788 #include <limits.h>
   18789 
   18790 int
   18791 main ()
   18792 {
   18793 #ifndef _BIG_ENDIAN
   18794 		 not big endian
   18795 		#endif
   18796 
   18797   ;
   18798   return 0;
   18799 }
   18800 _ACEOF
   18801 if ac_fn_c_try_compile "$LINENO"; then :
   18802   ac_cv_c_bigendian=yes
   18803 else
   18804   ac_cv_c_bigendian=no
   18805 fi
   18806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18807 fi
   18808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18809     fi
   18810     if test $ac_cv_c_bigendian = unknown; then
   18811       # Compile a test program.
   18812       if test "$cross_compiling" = yes; then :
   18813   # Try to guess by grepping values from an object file.
   18814 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18815 /* end confdefs.h.  */
   18816 short int ascii_mm[] =
   18817 		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
   18818 		short int ascii_ii[] =
   18819 		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
   18820 		int use_ascii (int i) {
   18821 		  return ascii_mm[i] + ascii_ii[i];
   18822 		}
   18823 		short int ebcdic_ii[] =
   18824 		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
   18825 		short int ebcdic_mm[] =
   18826 		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
   18827 		int use_ebcdic (int i) {
   18828 		  return ebcdic_mm[i] + ebcdic_ii[i];
   18829 		}
   18830 		extern int foo;
   18831 
   18832 int
   18833 main ()
   18834 {
   18835 return use_ascii (foo) == use_ebcdic (foo);
   18836   ;
   18837   return 0;
   18838 }
   18839 _ACEOF
   18840 if ac_fn_c_try_compile "$LINENO"; then :
   18841   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
   18842 	      ac_cv_c_bigendian=yes
   18843 	    fi
   18844 	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
   18845 	      if test "$ac_cv_c_bigendian" = unknown; then
   18846 		ac_cv_c_bigendian=no
   18847 	      else
   18848 		# finding both strings is unlikely to happen, but who knows?
   18849 		ac_cv_c_bigendian=unknown
   18850 	      fi
   18851 	    fi
   18852 fi
   18853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18854 else
   18855   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18856 /* end confdefs.h.  */
   18857 $ac_includes_default
   18858 int
   18859 main ()
   18860 {
   18861 
   18862 	     /* Are we little or big endian?  From Harbison&Steele.  */
   18863 	     union
   18864 	     {
   18865 	       long int l;
   18866 	       char c[sizeof (long int)];
   18867 	     } u;
   18868 	     u.l = 1;
   18869 	     return u.c[sizeof (long int) - 1] == 1;
   18870 
   18871   ;
   18872   return 0;
   18873 }
   18874 _ACEOF
   18875 if ac_fn_c_try_run "$LINENO"; then :
   18876   ac_cv_c_bigendian=no
   18877 else
   18878   ac_cv_c_bigendian=yes
   18879 fi
   18880 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   18881   conftest.$ac_objext conftest.beam conftest.$ac_ext
   18882 fi
   18883 
   18884     fi
   18885 fi
   18886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
   18887 $as_echo "$ac_cv_c_bigendian" >&6; }
   18888  case $ac_cv_c_bigendian in #(
   18889    yes)
   18890      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
   18891 ;; #(
   18892    no)
   18893       ;; #(
   18894    universal)
   18895 
   18896 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
   18897 
   18898      ;; #(
   18899    *)
   18900      as_fn_error $? "unknown endianness
   18901  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
   18902  esac
   18903 
   18904 # The cast to long int works around a bug in the HP C Compiler
   18905 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   18906 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   18907 # This bug is HP SR number 8606223364.
   18908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
   18909 $as_echo_n "checking size of void *... " >&6; }
   18910 if ${ac_cv_sizeof_void_p+:} false; then :
   18911   $as_echo_n "(cached) " >&6
   18912 else
   18913   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
   18914 
   18915 else
   18916   if test "$ac_cv_type_void_p" = yes; then
   18917      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18918 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18919 as_fn_error 77 "cannot compute sizeof (void *)
   18920 See \`config.log' for more details" "$LINENO" 5; }
   18921    else
   18922      ac_cv_sizeof_void_p=0
   18923    fi
   18924 fi
   18925 
   18926 fi
   18927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
   18928 $as_echo "$ac_cv_sizeof_void_p" >&6; }
   18929 
   18930 
   18931 
   18932 cat >>confdefs.h <<_ACEOF
   18933 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
   18934 _ACEOF
   18935 
   18936 
   18937 # The cast to long int works around a bug in the HP C Compiler,
   18938 # see AC_CHECK_SIZEOF for more information.
   18939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of double" >&5
   18940 $as_echo_n "checking alignment of double... " >&6; }
   18941 if ${ac_cv_alignof_double+:} false; then :
   18942   $as_echo_n "(cached) " >&6
   18943 else
   18944   if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_double"        "$ac_includes_default
   18945 #ifndef offsetof
   18946 # define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
   18947 #endif
   18948 typedef struct { char x; double y; } ac__type_alignof_;"; then :
   18949 
   18950 else
   18951   if test "$ac_cv_type_double" = yes; then
   18952      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18953 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18954 as_fn_error 77 "cannot compute alignment of double
   18955 See \`config.log' for more details" "$LINENO" 5; }
   18956    else
   18957      ac_cv_alignof_double=0
   18958    fi
   18959 fi
   18960 
   18961 fi
   18962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_double" >&5
   18963 $as_echo "$ac_cv_alignof_double" >&6; }
   18964 
   18965 
   18966 
   18967 cat >>confdefs.h <<_ACEOF
   18968 #define ALIGNOF_DOUBLE $ac_cv_alignof_double
   18969 _ACEOF
   18970 
   18971 
   18972 # The cast to long int works around a bug in the HP C Compiler,
   18973 # see AC_CHECK_SIZEOF for more information.
   18974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of void *" >&5
   18975 $as_echo_n "checking alignment of void *... " >&6; }
   18976 if ${ac_cv_alignof_void_p+:} false; then :
   18977   $as_echo_n "(cached) " >&6
   18978 else
   18979   if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_void_p"        "$ac_includes_default
   18980 #ifndef offsetof
   18981 # define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
   18982 #endif
   18983 typedef struct { char x; void * y; } ac__type_alignof_;"; then :
   18984 
   18985 else
   18986   if test "$ac_cv_type_void_p" = yes; then
   18987      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18988 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18989 as_fn_error 77 "cannot compute alignment of void *
   18990 See \`config.log' for more details" "$LINENO" 5; }
   18991    else
   18992      ac_cv_alignof_void_p=0
   18993    fi
   18994 fi
   18995 
   18996 fi
   18997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_void_p" >&5
   18998 $as_echo "$ac_cv_alignof_void_p" >&6; }
   18999 
   19000 
   19001 
   19002 cat >>confdefs.h <<_ACEOF
   19003 #define ALIGNOF_VOID_P $ac_cv_alignof_void_p
   19004 _ACEOF
   19005 
   19006 
   19007 
   19008 
   19009 
   19010 
   19011 
   19012 
   19013 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.spec fontconfig.pc fontconfig-zip"
   19014 
   19015 cat >confcache <<\_ACEOF
   19016 # This file is a shell script that caches the results of configure
   19017 # tests run on this system so they can be shared between configure
   19018 # scripts and configure runs, see configure's option --config-cache.
   19019 # It is not useful on other systems.  If it contains results you don't
   19020 # want to keep, you may remove or edit it.
   19021 #
   19022 # config.status only pays attention to the cache file if you give it
   19023 # the --recheck option to rerun configure.
   19024 #
   19025 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   19026 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   19027 # following values.
   19028 
   19029 _ACEOF
   19030 
   19031 # The following way of writing the cache mishandles newlines in values,
   19032 # but we know of no workaround that is simple, portable, and efficient.
   19033 # So, we kill variables containing newlines.
   19034 # Ultrix sh set writes to stderr and can't be redirected directly,
   19035 # and sets the high bit in the cache file unless we assign to the vars.
   19036 (
   19037   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   19038     eval ac_val=\$$ac_var
   19039     case $ac_val in #(
   19040     *${as_nl}*)
   19041       case $ac_var in #(
   19042       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   19043 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   19044       esac
   19045       case $ac_var in #(
   19046       _ | IFS | as_nl) ;; #(
   19047       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   19048       *) { eval $ac_var=; unset $ac_var;} ;;
   19049       esac ;;
   19050     esac
   19051   done
   19052 
   19053   (set) 2>&1 |
   19054     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   19055     *${as_nl}ac_space=\ *)
   19056       # `set' does not quote correctly, so add quotes: double-quote
   19057       # substitution turns \\\\ into \\, and sed turns \\ into \.
   19058       sed -n \
   19059 	"s/'/'\\\\''/g;
   19060 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   19061       ;; #(
   19062     *)
   19063       # `set' quotes correctly as required by POSIX, so do not add quotes.
   19064       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   19065       ;;
   19066     esac |
   19067     sort
   19068 ) |
   19069   sed '
   19070      /^ac_cv_env_/b end
   19071      t clear
   19072      :clear
   19073      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   19074      t end
   19075      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   19076      :end' >>confcache
   19077 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   19078   if test -w "$cache_file"; then
   19079     if test "x$cache_file" != "x/dev/null"; then
   19080       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   19081 $as_echo "$as_me: updating cache $cache_file" >&6;}
   19082       if test ! -f "$cache_file" || test -h "$cache_file"; then
   19083 	cat confcache >"$cache_file"
   19084       else
   19085         case $cache_file in #(
   19086         */* | ?:*)
   19087 	  mv -f confcache "$cache_file"$$ &&
   19088 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   19089         *)
   19090 	  mv -f confcache "$cache_file" ;;
   19091 	esac
   19092       fi
   19093     fi
   19094   else
   19095     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   19096 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   19097   fi
   19098 fi
   19099 rm -f confcache
   19100 
   19101 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   19102 # Let make expand exec_prefix.
   19103 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   19104 
   19105 DEFS=-DHAVE_CONFIG_H
   19106 
   19107 ac_libobjs=
   19108 ac_ltlibobjs=
   19109 U=
   19110 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   19111   # 1. Remove the extension, and $U if already installed.
   19112   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   19113   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   19114   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   19115   #    will be set to the directory where LIBOBJS objects are built.
   19116   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   19117   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   19118 done
   19119 LIBOBJS=$ac_libobjs
   19120 
   19121 LTLIBOBJS=$ac_ltlibobjs
   19122 
   19123 
   19124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   19125 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   19126    if test -n "$am_sleep_pid"; then
   19127      # Hide warnings about reused PIDs.
   19128      wait $am_sleep_pid 2>/dev/null
   19129    fi
   19130    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   19131 $as_echo "done" >&6; }
   19132  if test -n "$EXEEXT"; then
   19133   am__EXEEXT_TRUE=
   19134   am__EXEEXT_FALSE='#'
   19135 else
   19136   am__EXEEXT_TRUE='#'
   19137   am__EXEEXT_FALSE=
   19138 fi
   19139 
   19140 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   19141   as_fn_error $? "conditional \"AMDEP\" was never defined.
   19142 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19143 fi
   19144 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   19145   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   19146 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19147 fi
   19148 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
   19149   as_fn_error $? "conditional \"OS_WIN32\" was never defined.
   19150 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19151 fi
   19152 if test -z "${MS_LIB_AVAILABLE_TRUE}" && test -z "${MS_LIB_AVAILABLE_FALSE}"; then
   19153   as_fn_error $? "conditional \"MS_LIB_AVAILABLE\" was never defined.
   19154 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19155 fi
   19156 if test -z "${CROSS_COMPILING_TRUE}" && test -z "${CROSS_COMPILING_FALSE}"; then
   19157   as_fn_error $? "conditional \"CROSS_COMPILING\" was never defined.
   19158 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19159 fi
   19160 if test -z "${ENABLE_SHARED_TRUE}" && test -z "${ENABLE_SHARED_FALSE}"; then
   19161   as_fn_error $? "conditional \"ENABLE_SHARED\" was never defined.
   19162 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19163 fi
   19164 if test -z "${FREETYPE_PCF_LONG_FAMILY_NAMES_TRUE}" && test -z "${FREETYPE_PCF_LONG_FAMILY_NAMES_FALSE}"; then
   19165   as_fn_error $? "conditional \"FREETYPE_PCF_LONG_FAMILY_NAMES\" was never defined.
   19166 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19167 fi
   19168 if test -z "${ENABLE_JSONC_TRUE}" && test -z "${ENABLE_JSONC_FALSE}"; then
   19169   as_fn_error $? "conditional \"ENABLE_JSONC\" was never defined.
   19170 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19171 fi
   19172 if test -z "${HAVE_PTHREAD_TRUE}" && test -z "${HAVE_PTHREAD_FALSE}"; then
   19173   as_fn_error $? "conditional \"HAVE_PTHREAD\" was never defined.
   19174 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19175 fi
   19176 if test -z "${USEDOCBOOK_TRUE}" && test -z "${USEDOCBOOK_FALSE}"; then
   19177   as_fn_error $? "conditional \"USEDOCBOOK\" was never defined.
   19178 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19179 fi
   19180 if test -z "${ENABLE_DOCS_TRUE}" && test -z "${ENABLE_DOCS_FALSE}"; then
   19181   as_fn_error $? "conditional \"ENABLE_DOCS\" was never defined.
   19182 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19183 fi
   19184 
   19185 
   19186 : "${CONFIG_STATUS=./config.status}"
   19187 ac_write_fail=0
   19188 ac_clean_files_save=$ac_clean_files
   19189 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   19190 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   19191 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   19192 as_write_fail=0
   19193 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   19194 #! $SHELL
   19195 # Generated by $as_me.
   19196 # Run this file to recreate the current configuration.
   19197 # Compiler output produced by configure, useful for debugging
   19198 # configure, is in config.log if it exists.
   19199 
   19200 debug=false
   19201 ac_cs_recheck=false
   19202 ac_cs_silent=false
   19203 
   19204 SHELL=\${CONFIG_SHELL-$SHELL}
   19205 export SHELL
   19206 _ASEOF
   19207 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   19208 ## -------------------- ##
   19209 ## M4sh Initialization. ##
   19210 ## -------------------- ##
   19211 
   19212 # Be more Bourne compatible
   19213 DUALCASE=1; export DUALCASE # for MKS sh
   19214 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   19215   emulate sh
   19216   NULLCMD=:
   19217   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   19218   # is contrary to our usage.  Disable this feature.
   19219   alias -g '${1+"$@"}'='"$@"'
   19220   setopt NO_GLOB_SUBST
   19221 else
   19222   case `(set -o) 2>/dev/null` in #(
   19223   *posix*) :
   19224     set -o posix ;; #(
   19225   *) :
   19226      ;;
   19227 esac
   19228 fi
   19229 
   19230 
   19231 as_nl='
   19232 '
   19233 export as_nl
   19234 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   19235 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   19236 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   19237 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   19238 # Prefer a ksh shell builtin over an external printf program on Solaris,
   19239 # but without wasting forks for bash or zsh.
   19240 if test -z "$BASH_VERSION$ZSH_VERSION" \
   19241     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   19242   as_echo='print -r --'
   19243   as_echo_n='print -rn --'
   19244 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   19245   as_echo='printf %s\n'
   19246   as_echo_n='printf %s'
   19247 else
   19248   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   19249     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   19250     as_echo_n='/usr/ucb/echo -n'
   19251   else
   19252     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   19253     as_echo_n_body='eval
   19254       arg=$1;
   19255       case $arg in #(
   19256       *"$as_nl"*)
   19257 	expr "X$arg" : "X\\(.*\\)$as_nl";
   19258 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   19259       esac;
   19260       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   19261     '
   19262     export as_echo_n_body
   19263     as_echo_n='sh -c $as_echo_n_body as_echo'
   19264   fi
   19265   export as_echo_body
   19266   as_echo='sh -c $as_echo_body as_echo'
   19267 fi
   19268 
   19269 # The user is always right.
   19270 if test "${PATH_SEPARATOR+set}" != set; then
   19271   PATH_SEPARATOR=:
   19272   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   19273     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   19274       PATH_SEPARATOR=';'
   19275   }
   19276 fi
   19277 
   19278 
   19279 # IFS
   19280 # We need space, tab and new line, in precisely that order.  Quoting is
   19281 # there to prevent editors from complaining about space-tab.
   19282 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   19283 # splitting by setting IFS to empty value.)
   19284 IFS=" ""	$as_nl"
   19285 
   19286 # Find who we are.  Look in the path if we contain no directory separator.
   19287 as_myself=
   19288 case $0 in #((
   19289   *[\\/]* ) as_myself=$0 ;;
   19290   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19291 for as_dir in $PATH
   19292 do
   19293   IFS=$as_save_IFS
   19294   test -z "$as_dir" && as_dir=.
   19295     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   19296   done
   19297 IFS=$as_save_IFS
   19298 
   19299      ;;
   19300 esac
   19301 # We did not find ourselves, most probably we were run as `sh COMMAND'
   19302 # in which case we are not to be found in the path.
   19303 if test "x$as_myself" = x; then
   19304   as_myself=$0
   19305 fi
   19306 if test ! -f "$as_myself"; then
   19307   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   19308   exit 1
   19309 fi
   19310 
   19311 # Unset variables that we do not need and which cause bugs (e.g. in
   19312 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   19313 # suppresses any "Segmentation fault" message there.  '((' could
   19314 # trigger a bug in pdksh 5.2.14.
   19315 for as_var in BASH_ENV ENV MAIL MAILPATH
   19316 do eval test x\${$as_var+set} = xset \
   19317   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   19318 done
   19319 PS1='$ '
   19320 PS2='> '
   19321 PS4='+ '
   19322 
   19323 # NLS nuisances.
   19324 LC_ALL=C
   19325 export LC_ALL
   19326 LANGUAGE=C
   19327 export LANGUAGE
   19328 
   19329 # CDPATH.
   19330 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19331 
   19332 
   19333 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   19334 # ----------------------------------------
   19335 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   19336 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   19337 # script with STATUS, using 1 if that was 0.
   19338 as_fn_error ()
   19339 {
   19340   as_status=$1; test $as_status -eq 0 && as_status=1
   19341   if test "$4"; then
   19342     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   19343     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   19344   fi
   19345   $as_echo "$as_me: error: $2" >&2
   19346   as_fn_exit $as_status
   19347 } # as_fn_error
   19348 
   19349 
   19350 # as_fn_set_status STATUS
   19351 # -----------------------
   19352 # Set $? to STATUS, without forking.
   19353 as_fn_set_status ()
   19354 {
   19355   return $1
   19356 } # as_fn_set_status
   19357 
   19358 # as_fn_exit STATUS
   19359 # -----------------
   19360 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   19361 as_fn_exit ()
   19362 {
   19363   set +e
   19364   as_fn_set_status $1
   19365   exit $1
   19366 } # as_fn_exit
   19367 
   19368 # as_fn_unset VAR
   19369 # ---------------
   19370 # Portably unset VAR.
   19371 as_fn_unset ()
   19372 {
   19373   { eval $1=; unset $1;}
   19374 }
   19375 as_unset=as_fn_unset
   19376 # as_fn_append VAR VALUE
   19377 # ----------------------
   19378 # Append the text in VALUE to the end of the definition contained in VAR. Take
   19379 # advantage of any shell optimizations that allow amortized linear growth over
   19380 # repeated appends, instead of the typical quadratic growth present in naive
   19381 # implementations.
   19382 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   19383   eval 'as_fn_append ()
   19384   {
   19385     eval $1+=\$2
   19386   }'
   19387 else
   19388   as_fn_append ()
   19389   {
   19390     eval $1=\$$1\$2
   19391   }
   19392 fi # as_fn_append
   19393 
   19394 # as_fn_arith ARG...
   19395 # ------------------
   19396 # Perform arithmetic evaluation on the ARGs, and store the result in the
   19397 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   19398 # must be portable across $(()) and expr.
   19399 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   19400   eval 'as_fn_arith ()
   19401   {
   19402     as_val=$(( $* ))
   19403   }'
   19404 else
   19405   as_fn_arith ()
   19406   {
   19407     as_val=`expr "$@" || test $? -eq 1`
   19408   }
   19409 fi # as_fn_arith
   19410 
   19411 
   19412 if expr a : '\(a\)' >/dev/null 2>&1 &&
   19413    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   19414   as_expr=expr
   19415 else
   19416   as_expr=false
   19417 fi
   19418 
   19419 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   19420   as_basename=basename
   19421 else
   19422   as_basename=false
   19423 fi
   19424 
   19425 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   19426   as_dirname=dirname
   19427 else
   19428   as_dirname=false
   19429 fi
   19430 
   19431 as_me=`$as_basename -- "$0" ||
   19432 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   19433 	 X"$0" : 'X\(//\)$' \| \
   19434 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   19435 $as_echo X/"$0" |
   19436     sed '/^.*\/\([^/][^/]*\)\/*$/{
   19437 	    s//\1/
   19438 	    q
   19439 	  }
   19440 	  /^X\/\(\/\/\)$/{
   19441 	    s//\1/
   19442 	    q
   19443 	  }
   19444 	  /^X\/\(\/\).*/{
   19445 	    s//\1/
   19446 	    q
   19447 	  }
   19448 	  s/.*/./; q'`
   19449 
   19450 # Avoid depending upon Character Ranges.
   19451 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   19452 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   19453 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   19454 as_cr_digits='0123456789'
   19455 as_cr_alnum=$as_cr_Letters$as_cr_digits
   19456 
   19457 ECHO_C= ECHO_N= ECHO_T=
   19458 case `echo -n x` in #(((((
   19459 -n*)
   19460   case `echo 'xy\c'` in
   19461   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   19462   xy)  ECHO_C='\c';;
   19463   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   19464        ECHO_T='	';;
   19465   esac;;
   19466 *)
   19467   ECHO_N='-n';;
   19468 esac
   19469 
   19470 rm -f conf$$ conf$$.exe conf$$.file
   19471 if test -d conf$$.dir; then
   19472   rm -f conf$$.dir/conf$$.file
   19473 else
   19474   rm -f conf$$.dir
   19475   mkdir conf$$.dir 2>/dev/null
   19476 fi
   19477 if (echo >conf$$.file) 2>/dev/null; then
   19478   if ln -s conf$$.file conf$$ 2>/dev/null; then
   19479     as_ln_s='ln -s'
   19480     # ... but there are two gotchas:
   19481     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   19482     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   19483     # In both cases, we have to default to `cp -pR'.
   19484     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   19485       as_ln_s='cp -pR'
   19486   elif ln conf$$.file conf$$ 2>/dev/null; then
   19487     as_ln_s=ln
   19488   else
   19489     as_ln_s='cp -pR'
   19490   fi
   19491 else
   19492   as_ln_s='cp -pR'
   19493 fi
   19494 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   19495 rmdir conf$$.dir 2>/dev/null
   19496 
   19497 
   19498 # as_fn_mkdir_p
   19499 # -------------
   19500 # Create "$as_dir" as a directory, including parents if necessary.
   19501 as_fn_mkdir_p ()
   19502 {
   19503 
   19504   case $as_dir in #(
   19505   -*) as_dir=./$as_dir;;
   19506   esac
   19507   test -d "$as_dir" || eval $as_mkdir_p || {
   19508     as_dirs=
   19509     while :; do
   19510       case $as_dir in #(
   19511       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   19512       *) as_qdir=$as_dir;;
   19513       esac
   19514       as_dirs="'$as_qdir' $as_dirs"
   19515       as_dir=`$as_dirname -- "$as_dir" ||
   19516 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19517 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   19518 	 X"$as_dir" : 'X\(//\)$' \| \
   19519 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   19520 $as_echo X"$as_dir" |
   19521     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19522 	    s//\1/
   19523 	    q
   19524 	  }
   19525 	  /^X\(\/\/\)[^/].*/{
   19526 	    s//\1/
   19527 	    q
   19528 	  }
   19529 	  /^X\(\/\/\)$/{
   19530 	    s//\1/
   19531 	    q
   19532 	  }
   19533 	  /^X\(\/\).*/{
   19534 	    s//\1/
   19535 	    q
   19536 	  }
   19537 	  s/.*/./; q'`
   19538       test -d "$as_dir" && break
   19539     done
   19540     test -z "$as_dirs" || eval "mkdir $as_dirs"
   19541   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   19542 
   19543 
   19544 } # as_fn_mkdir_p
   19545 if mkdir -p . 2>/dev/null; then
   19546   as_mkdir_p='mkdir -p "$as_dir"'
   19547 else
   19548   test -d ./-p && rmdir ./-p
   19549   as_mkdir_p=false
   19550 fi
   19551 
   19552 
   19553 # as_fn_executable_p FILE
   19554 # -----------------------
   19555 # Test if FILE is an executable regular file.
   19556 as_fn_executable_p ()
   19557 {
   19558   test -f "$1" && test -x "$1"
   19559 } # as_fn_executable_p
   19560 as_test_x='test -x'
   19561 as_executable_p=as_fn_executable_p
   19562 
   19563 # Sed expression to map a string onto a valid CPP name.
   19564 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   19565 
   19566 # Sed expression to map a string onto a valid variable name.
   19567 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   19568 
   19569 
   19570 exec 6>&1
   19571 ## ----------------------------------- ##
   19572 ## Main body of $CONFIG_STATUS script. ##
   19573 ## ----------------------------------- ##
   19574 _ASEOF
   19575 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   19576 
   19577 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19578 # Save the log message, to keep $0 and so on meaningful, and to
   19579 # report actual input values of CONFIG_FILES etc. instead of their
   19580 # values after options handling.
   19581 ac_log="
   19582 This file was extended by fontconfig $as_me 2.13.1, which was
   19583 generated by GNU Autoconf 2.69.  Invocation command line was
   19584 
   19585   CONFIG_FILES    = $CONFIG_FILES
   19586   CONFIG_HEADERS  = $CONFIG_HEADERS
   19587   CONFIG_LINKS    = $CONFIG_LINKS
   19588   CONFIG_COMMANDS = $CONFIG_COMMANDS
   19589   $ $0 $@
   19590 
   19591 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   19592 "
   19593 
   19594 _ACEOF
   19595 
   19596 case $ac_config_files in *"
   19597 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   19598 esac
   19599 
   19600 case $ac_config_headers in *"
   19601 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   19602 esac
   19603 
   19604 
   19605 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19606 # Files that config.status was made for.
   19607 config_files="$ac_config_files"
   19608 config_headers="$ac_config_headers"
   19609 config_commands="$ac_config_commands"
   19610 
   19611 _ACEOF
   19612 
   19613 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19614 ac_cs_usage="\
   19615 \`$as_me' instantiates files and other configuration actions
   19616 from templates according to the current configuration.  Unless the files
   19617 and actions are specified as TAGs, all are instantiated by default.
   19618 
   19619 Usage: $0 [OPTION]... [TAG]...
   19620 
   19621   -h, --help       print this help, then exit
   19622   -V, --version    print version number and configuration settings, then exit
   19623       --config     print configuration, then exit
   19624   -q, --quiet, --silent
   19625                    do not print progress messages
   19626   -d, --debug      don't remove temporary files
   19627       --recheck    update $as_me by reconfiguring in the same conditions
   19628       --file=FILE[:TEMPLATE]
   19629                    instantiate the configuration file FILE
   19630       --header=FILE[:TEMPLATE]
   19631                    instantiate the configuration header FILE
   19632 
   19633 Configuration files:
   19634 $config_files
   19635 
   19636 Configuration headers:
   19637 $config_headers
   19638 
   19639 Configuration commands:
   19640 $config_commands
   19641 
   19642 Report bugs to <https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/new>."
   19643 
   19644 _ACEOF
   19645 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19646 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   19647 ac_cs_version="\\
   19648 fontconfig config.status 2.13.1
   19649 configured by $0, generated by GNU Autoconf 2.69,
   19650   with options \\"\$ac_cs_config\\"
   19651 
   19652 Copyright (C) 2012 Free Software Foundation, Inc.
   19653 This config.status script is free software; the Free Software Foundation
   19654 gives unlimited permission to copy, distribute and modify it."
   19655 
   19656 ac_pwd='$ac_pwd'
   19657 srcdir='$srcdir'
   19658 INSTALL='$INSTALL'
   19659 MKDIR_P='$MKDIR_P'
   19660 AWK='$AWK'
   19661 test -n "\$AWK" || AWK=awk
   19662 _ACEOF
   19663 
   19664 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19665 # The default lists apply if the user does not specify any file.
   19666 ac_need_defaults=:
   19667 while test $# != 0
   19668 do
   19669   case $1 in
   19670   --*=?*)
   19671     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19672     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   19673     ac_shift=:
   19674     ;;
   19675   --*=)
   19676     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19677     ac_optarg=
   19678     ac_shift=:
   19679     ;;
   19680   *)
   19681     ac_option=$1
   19682     ac_optarg=$2
   19683     ac_shift=shift
   19684     ;;
   19685   esac
   19686 
   19687   case $ac_option in
   19688   # Handling of the options.
   19689   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   19690     ac_cs_recheck=: ;;
   19691   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   19692     $as_echo "$ac_cs_version"; exit ;;
   19693   --config | --confi | --conf | --con | --co | --c )
   19694     $as_echo "$ac_cs_config"; exit ;;
   19695   --debug | --debu | --deb | --de | --d | -d )
   19696     debug=: ;;
   19697   --file | --fil | --fi | --f )
   19698     $ac_shift
   19699     case $ac_optarg in
   19700     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19701     '') as_fn_error $? "missing file argument" ;;
   19702     esac
   19703     as_fn_append CONFIG_FILES " '$ac_optarg'"
   19704     ac_need_defaults=false;;
   19705   --header | --heade | --head | --hea )
   19706     $ac_shift
   19707     case $ac_optarg in
   19708     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19709     esac
   19710     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   19711     ac_need_defaults=false;;
   19712   --he | --h)
   19713     # Conflict between --help and --header
   19714     as_fn_error $? "ambiguous option: \`$1'
   19715 Try \`$0 --help' for more information.";;
   19716   --help | --hel | -h )
   19717     $as_echo "$ac_cs_usage"; exit ;;
   19718   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   19719   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   19720     ac_cs_silent=: ;;
   19721 
   19722   # This is an error.
   19723   -*) as_fn_error $? "unrecognized option: \`$1'
   19724 Try \`$0 --help' for more information." ;;
   19725 
   19726   *) as_fn_append ac_config_targets " $1"
   19727      ac_need_defaults=false ;;
   19728 
   19729   esac
   19730   shift
   19731 done
   19732 
   19733 ac_configure_extra_args=
   19734 
   19735 if $ac_cs_silent; then
   19736   exec 6>/dev/null
   19737   ac_configure_extra_args="$ac_configure_extra_args --silent"
   19738 fi
   19739 
   19740 _ACEOF
   19741 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19742 if \$ac_cs_recheck; then
   19743   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   19744   shift
   19745   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   19746   CONFIG_SHELL='$SHELL'
   19747   export CONFIG_SHELL
   19748   exec "\$@"
   19749 fi
   19750 
   19751 _ACEOF
   19752 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19753 exec 5>>config.log
   19754 {
   19755   echo
   19756   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   19757 ## Running $as_me. ##
   19758 _ASBOX
   19759   $as_echo "$ac_log"
   19760 } >&5
   19761 
   19762 _ACEOF
   19763 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19764 #
   19765 # INIT-COMMANDS
   19766 #
   19767 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   19768 
   19769 
   19770 # The HP-UX ksh and POSIX shell print the target directory to stdout
   19771 # if CDPATH is set.
   19772 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19773 
   19774 sed_quote_subst='$sed_quote_subst'
   19775 double_quote_subst='$double_quote_subst'
   19776 delay_variable_subst='$delay_variable_subst'
   19777 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   19778 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   19779 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   19780 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
   19781 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   19782 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   19783 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   19784 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   19785 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   19786 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   19787 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   19788 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   19789 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   19790 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   19791 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   19792 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   19793 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   19794 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   19795 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   19796 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   19797 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   19798 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   19799 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   19800 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   19801 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   19802 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   19803 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   19804 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   19805 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   19806 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   19807 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   19808 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   19809 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   19810 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   19811 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   19812 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   19813 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   19814 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   19815 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   19816 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   19817 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   19818 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   19819 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   19820 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   19821 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   19822 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   19823 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   19824 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19825 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19826 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   19827 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   19828 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   19829 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   19830 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   19831 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   19832 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   19833 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   19834 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   19835 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   19836 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"`'
   19837 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   19838 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   19839 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   19840 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   19841 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   19842 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   19843 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   19844 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   19845 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   19846 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   19847 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   19848 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   19849 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   19850 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   19851 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   19852 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   19853 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   19854 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   19855 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   19856 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   19857 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19858 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   19859 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   19860 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   19861 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   19862 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   19863 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   19864 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19865 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   19866 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19867 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   19868 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19869 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   19870 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19871 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19872 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   19873 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   19874 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   19875 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   19876 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   19877 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19878 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   19879 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   19880 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   19881 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   19882 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   19883 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   19884 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   19885 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   19886 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   19887 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   19888 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   19889 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   19890 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   19891 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   19892 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   19893 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19894 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   19895 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   19896 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   19897 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   19898 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   19899 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19900 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19901 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   19902 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   19903 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   19904 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   19905 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   19906 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   19907 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   19908 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   19909 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   19910 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   19911 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   19912 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   19913 
   19914 LTCC='$LTCC'
   19915 LTCFLAGS='$LTCFLAGS'
   19916 compiler='$compiler_DEFAULT'
   19917 
   19918 # A function that is used when there is no print builtin or printf.
   19919 func_fallback_echo ()
   19920 {
   19921   eval 'cat <<_LTECHO_EOF
   19922 \$1
   19923 _LTECHO_EOF'
   19924 }
   19925 
   19926 # Quote evaled strings.
   19927 for var in AS \
   19928 DLLTOOL \
   19929 OBJDUMP \
   19930 SHELL \
   19931 ECHO \
   19932 PATH_SEPARATOR \
   19933 SED \
   19934 GREP \
   19935 EGREP \
   19936 FGREP \
   19937 LD \
   19938 NM \
   19939 LN_S \
   19940 lt_SP2NL \
   19941 lt_NL2SP \
   19942 reload_flag \
   19943 deplibs_check_method \
   19944 file_magic_cmd \
   19945 file_magic_glob \
   19946 want_nocaseglob \
   19947 sharedlib_from_linklib_cmd \
   19948 AR \
   19949 AR_FLAGS \
   19950 archiver_list_spec \
   19951 STRIP \
   19952 RANLIB \
   19953 CC \
   19954 CFLAGS \
   19955 compiler \
   19956 lt_cv_sys_global_symbol_pipe \
   19957 lt_cv_sys_global_symbol_to_cdecl \
   19958 lt_cv_sys_global_symbol_to_import \
   19959 lt_cv_sys_global_symbol_to_c_name_address \
   19960 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   19961 lt_cv_nm_interface \
   19962 nm_file_list_spec \
   19963 lt_cv_truncate_bin \
   19964 lt_prog_compiler_no_builtin_flag \
   19965 lt_prog_compiler_pic \
   19966 lt_prog_compiler_wl \
   19967 lt_prog_compiler_static \
   19968 lt_cv_prog_compiler_c_o \
   19969 need_locks \
   19970 MANIFEST_TOOL \
   19971 DSYMUTIL \
   19972 NMEDIT \
   19973 LIPO \
   19974 OTOOL \
   19975 OTOOL64 \
   19976 shrext_cmds \
   19977 export_dynamic_flag_spec \
   19978 whole_archive_flag_spec \
   19979 compiler_needs_object \
   19980 with_gnu_ld \
   19981 allow_undefined_flag \
   19982 no_undefined_flag \
   19983 hardcode_libdir_flag_spec \
   19984 hardcode_libdir_separator \
   19985 exclude_expsyms \
   19986 include_expsyms \
   19987 file_list_spec \
   19988 variables_saved_for_relink \
   19989 libname_spec \
   19990 library_names_spec \
   19991 soname_spec \
   19992 install_override_mode \
   19993 finish_eval \
   19994 old_striplib \
   19995 striplib; do
   19996     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19997     *[\\\\\\\`\\"\\\$]*)
   19998       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   19999       ;;
   20000     *)
   20001       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20002       ;;
   20003     esac
   20004 done
   20005 
   20006 # Double-quote double-evaled strings.
   20007 for var in reload_cmds \
   20008 old_postinstall_cmds \
   20009 old_postuninstall_cmds \
   20010 old_archive_cmds \
   20011 extract_expsyms_cmds \
   20012 old_archive_from_new_cmds \
   20013 old_archive_from_expsyms_cmds \
   20014 archive_cmds \
   20015 archive_expsym_cmds \
   20016 module_cmds \
   20017 module_expsym_cmds \
   20018 export_symbols_cmds \
   20019 prelink_cmds \
   20020 postlink_cmds \
   20021 postinstall_cmds \
   20022 postuninstall_cmds \
   20023 finish_cmds \
   20024 sys_lib_search_path_spec \
   20025 configure_time_dlsearch_path \
   20026 configure_time_lt_sys_library_path; do
   20027     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20028     *[\\\\\\\`\\"\\\$]*)
   20029       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20030       ;;
   20031     *)
   20032       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20033       ;;
   20034     esac
   20035 done
   20036 
   20037 ac_aux_dir='$ac_aux_dir'
   20038 
   20039 # See if we are running on zsh, and set the options that allow our
   20040 # commands through without removal of \ escapes INIT.
   20041 if test -n "\${ZSH_VERSION+set}"; then
   20042    setopt NO_GLOB_SUBST
   20043 fi
   20044 
   20045 
   20046     PACKAGE='$PACKAGE'
   20047     VERSION='$VERSION'
   20048     RM='$RM'
   20049     ofile='$ofile'
   20050 
   20051 
   20052 
   20053 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
   20054     # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
   20055     # from automake < 1.5.
   20056     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
   20057     # Capture the value of LINGUAS because we need it to compute CATALOGS.
   20058     LINGUAS="${LINGUAS-%UNSET%}"
   20059 
   20060 # variables for create stdint.h replacement
   20061 PACKAGE="$PACKAGE"
   20062 VERSION="$VERSION"
   20063 ac_stdint_h="$ac_stdint_h"
   20064 _ac_stdint_h=`$as_echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
   20065 ac_cv_stdint_message="$ac_cv_stdint_message"
   20066 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
   20067 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
   20068 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
   20069 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
   20070 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
   20071 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
   20072 ac_cv_char_data_model="$ac_cv_char_data_model"
   20073 ac_cv_long_data_model="$ac_cv_long_data_model"
   20074 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
   20075 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
   20076 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
   20077 
   20078 
   20079 _ACEOF
   20080 
   20081 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20082 
   20083 # Handling of arguments.
   20084 for ac_config_target in $ac_config_targets
   20085 do
   20086   case $ac_config_target in
   20087     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   20088     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   20089     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   20090     "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
   20091     "$ac_stdint_h") CONFIG_COMMANDS="$CONFIG_COMMANDS $ac_stdint_h" ;;
   20092     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   20093     "fontconfig/Makefile") CONFIG_FILES="$CONFIG_FILES fontconfig/Makefile" ;;
   20094     "fc-lang/Makefile") CONFIG_FILES="$CONFIG_FILES fc-lang/Makefile" ;;
   20095     "fc-case/Makefile") CONFIG_FILES="$CONFIG_FILES fc-case/Makefile" ;;
   20096     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   20097     "conf.d/Makefile") CONFIG_FILES="$CONFIG_FILES conf.d/Makefile" ;;
   20098     "fc-cache/Makefile") CONFIG_FILES="$CONFIG_FILES fc-cache/Makefile" ;;
   20099     "fc-cat/Makefile") CONFIG_FILES="$CONFIG_FILES fc-cat/Makefile" ;;
   20100     "fc-conflist/Makefile") CONFIG_FILES="$CONFIG_FILES fc-conflist/Makefile" ;;
   20101     "fc-list/Makefile") CONFIG_FILES="$CONFIG_FILES fc-list/Makefile" ;;
   20102     "fc-match/Makefile") CONFIG_FILES="$CONFIG_FILES fc-match/Makefile" ;;
   20103     "fc-pattern/Makefile") CONFIG_FILES="$CONFIG_FILES fc-pattern/Makefile" ;;
   20104     "fc-query/Makefile") CONFIG_FILES="$CONFIG_FILES fc-query/Makefile" ;;
   20105     "fc-scan/Makefile") CONFIG_FILES="$CONFIG_FILES fc-scan/Makefile" ;;
   20106     "fc-validate/Makefile") CONFIG_FILES="$CONFIG_FILES fc-validate/Makefile" ;;
   20107     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   20108     "doc/version.sgml") CONFIG_FILES="$CONFIG_FILES doc/version.sgml" ;;
   20109     "its/Makefile") CONFIG_FILES="$CONFIG_FILES its/Makefile" ;;
   20110     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
   20111     "po-conf/Makefile.in") CONFIG_FILES="$CONFIG_FILES po-conf/Makefile.in" ;;
   20112     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
   20113     "fontconfig.spec") CONFIG_FILES="$CONFIG_FILES fontconfig.spec" ;;
   20114     "fontconfig.pc") CONFIG_FILES="$CONFIG_FILES fontconfig.pc" ;;
   20115     "fontconfig-zip") CONFIG_FILES="$CONFIG_FILES fontconfig-zip" ;;
   20116 
   20117   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   20118   esac
   20119 done
   20120 
   20121 
   20122 # If the user did not use the arguments to specify the items to instantiate,
   20123 # then the envvar interface is used.  Set only those that are not.
   20124 # We use the long form for the default assignment because of an extremely
   20125 # bizarre bug on SunOS 4.1.3.
   20126 if $ac_need_defaults; then
   20127   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   20128   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   20129   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   20130 fi
   20131 
   20132 # Have a temporary directory for convenience.  Make it in the build tree
   20133 # simply because there is no reason against having it here, and in addition,
   20134 # creating and moving files from /tmp can sometimes cause problems.
   20135 # Hook for its removal unless debugging.
   20136 # Note that there is a small window in which the directory will not be cleaned:
   20137 # after its creation but before its name has been assigned to `$tmp'.
   20138 $debug ||
   20139 {
   20140   tmp= ac_tmp=
   20141   trap 'exit_status=$?
   20142   : "${ac_tmp:=$tmp}"
   20143   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   20144 ' 0
   20145   trap 'as_fn_exit 1' 1 2 13 15
   20146 }
   20147 # Create a (secure) tmp directory for tmp files.
   20148 
   20149 {
   20150   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   20151   test -d "$tmp"
   20152 }  ||
   20153 {
   20154   tmp=./conf$$-$RANDOM
   20155   (umask 077 && mkdir "$tmp")
   20156 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   20157 ac_tmp=$tmp
   20158 
   20159 # Set up the scripts for CONFIG_FILES section.
   20160 # No need to generate them if there are no CONFIG_FILES.
   20161 # This happens for instance with `./config.status config.h'.
   20162 if test -n "$CONFIG_FILES"; then
   20163 
   20164 
   20165 ac_cr=`echo X | tr X '\015'`
   20166 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   20167 # But we know of no other shell where ac_cr would be empty at this
   20168 # point, so we can use a bashism as a fallback.
   20169 if test "x$ac_cr" = x; then
   20170   eval ac_cr=\$\'\\r\'
   20171 fi
   20172 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   20173 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   20174   ac_cs_awk_cr='\\r'
   20175 else
   20176   ac_cs_awk_cr=$ac_cr
   20177 fi
   20178 
   20179 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   20180 _ACEOF
   20181 
   20182 
   20183 {
   20184   echo "cat >conf$$subs.awk <<_ACEOF" &&
   20185   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   20186   echo "_ACEOF"
   20187 } >conf$$subs.sh ||
   20188   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20189 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   20190 ac_delim='%!_!# '
   20191 for ac_last_try in false false false false false :; do
   20192   . ./conf$$subs.sh ||
   20193     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20194 
   20195   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   20196   if test $ac_delim_n = $ac_delim_num; then
   20197     break
   20198   elif $ac_last_try; then
   20199     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20200   else
   20201     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20202   fi
   20203 done
   20204 rm -f conf$$subs.sh
   20205 
   20206 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20207 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   20208 _ACEOF
   20209 sed -n '
   20210 h
   20211 s/^/S["/; s/!.*/"]=/
   20212 p
   20213 g
   20214 s/^[^!]*!//
   20215 :repl
   20216 t repl
   20217 s/'"$ac_delim"'$//
   20218 t delim
   20219 :nl
   20220 h
   20221 s/\(.\{148\}\)..*/\1/
   20222 t more1
   20223 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   20224 p
   20225 n
   20226 b repl
   20227 :more1
   20228 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20229 p
   20230 g
   20231 s/.\{148\}//
   20232 t nl
   20233 :delim
   20234 h
   20235 s/\(.\{148\}\)..*/\1/
   20236 t more2
   20237 s/["\\]/\\&/g; s/^/"/; s/$/"/
   20238 p
   20239 b
   20240 :more2
   20241 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20242 p
   20243 g
   20244 s/.\{148\}//
   20245 t delim
   20246 ' <conf$$subs.awk | sed '
   20247 /^[^""]/{
   20248   N
   20249   s/\n//
   20250 }
   20251 ' >>$CONFIG_STATUS || ac_write_fail=1
   20252 rm -f conf$$subs.awk
   20253 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20254 _ACAWK
   20255 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   20256   for (key in S) S_is_set[key] = 1
   20257   FS = ""
   20258 
   20259 }
   20260 {
   20261   line = $ 0
   20262   nfields = split(line, field, "@")
   20263   substed = 0
   20264   len = length(field[1])
   20265   for (i = 2; i < nfields; i++) {
   20266     key = field[i]
   20267     keylen = length(key)
   20268     if (S_is_set[key]) {
   20269       value = S[key]
   20270       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   20271       len += length(value) + length(field[++i])
   20272       substed = 1
   20273     } else
   20274       len += 1 + keylen
   20275   }
   20276 
   20277   print line
   20278 }
   20279 
   20280 _ACAWK
   20281 _ACEOF
   20282 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20283 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   20284   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   20285 else
   20286   cat
   20287 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   20288   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   20289 _ACEOF
   20290 
   20291 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   20292 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   20293 # trailing colons and then remove the whole line if VPATH becomes empty
   20294 # (actually we leave an empty line to preserve line numbers).
   20295 if test "x$srcdir" = x.; then
   20296   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   20297 h
   20298 s///
   20299 s/^/:/
   20300 s/[	 ]*$/:/
   20301 s/:\$(srcdir):/:/g
   20302 s/:\${srcdir}:/:/g
   20303 s/:@srcdir@:/:/g
   20304 s/^:*//
   20305 s/:*$//
   20306 x
   20307 s/\(=[	 ]*\).*/\1/
   20308 G
   20309 s/\n//
   20310 s/^[^=]*=[	 ]*$//
   20311 }'
   20312 fi
   20313 
   20314 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20315 fi # test -n "$CONFIG_FILES"
   20316 
   20317 # Set up the scripts for CONFIG_HEADERS section.
   20318 # No need to generate them if there are no CONFIG_HEADERS.
   20319 # This happens for instance with `./config.status Makefile'.
   20320 if test -n "$CONFIG_HEADERS"; then
   20321 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   20322 BEGIN {
   20323 _ACEOF
   20324 
   20325 # Transform confdefs.h into an awk script `defines.awk', embedded as
   20326 # here-document in config.status, that substitutes the proper values into
   20327 # config.h.in to produce config.h.
   20328 
   20329 # Create a delimiter string that does not exist in confdefs.h, to ease
   20330 # handling of long lines.
   20331 ac_delim='%!_!# '
   20332 for ac_last_try in false false :; do
   20333   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   20334   if test -z "$ac_tt"; then
   20335     break
   20336   elif $ac_last_try; then
   20337     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   20338   else
   20339     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20340   fi
   20341 done
   20342 
   20343 # For the awk script, D is an array of macro values keyed by name,
   20344 # likewise P contains macro parameters if any.  Preserve backslash
   20345 # newline sequences.
   20346 
   20347 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   20348 sed -n '
   20349 s/.\{148\}/&'"$ac_delim"'/g
   20350 t rset
   20351 :rset
   20352 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   20353 t def
   20354 d
   20355 :def
   20356 s/\\$//
   20357 t bsnl
   20358 s/["\\]/\\&/g
   20359 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20360 D["\1"]=" \3"/p
   20361 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   20362 d
   20363 :bsnl
   20364 s/["\\]/\\&/g
   20365 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20366 D["\1"]=" \3\\\\\\n"\\/p
   20367 t cont
   20368 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   20369 t cont
   20370 d
   20371 :cont
   20372 n
   20373 s/.\{148\}/&'"$ac_delim"'/g
   20374 t clear
   20375 :clear
   20376 s/\\$//
   20377 t bsnlc
   20378 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   20379 d
   20380 :bsnlc
   20381 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   20382 b cont
   20383 ' <confdefs.h | sed '
   20384 s/'"$ac_delim"'/"\\\
   20385 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   20386 
   20387 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20388   for (key in D) D_is_set[key] = 1
   20389   FS = ""
   20390 }
   20391 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   20392   line = \$ 0
   20393   split(line, arg, " ")
   20394   if (arg[1] == "#") {
   20395     defundef = arg[2]
   20396     mac1 = arg[3]
   20397   } else {
   20398     defundef = substr(arg[1], 2)
   20399     mac1 = arg[2]
   20400   }
   20401   split(mac1, mac2, "(") #)
   20402   macro = mac2[1]
   20403   prefix = substr(line, 1, index(line, defundef) - 1)
   20404   if (D_is_set[macro]) {
   20405     # Preserve the white space surrounding the "#".
   20406     print prefix "define", macro P[macro] D[macro]
   20407     next
   20408   } else {
   20409     # Replace #undef with comments.  This is necessary, for example,
   20410     # in the case of _POSIX_SOURCE, which is predefined and required
   20411     # on some systems where configure will not decide to define it.
   20412     if (defundef == "undef") {
   20413       print "/*", prefix defundef, macro, "*/"
   20414       next
   20415     }
   20416   }
   20417 }
   20418 { print }
   20419 _ACAWK
   20420 _ACEOF
   20421 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20422   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   20423 fi # test -n "$CONFIG_HEADERS"
   20424 
   20425 
   20426 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   20427 shift
   20428 for ac_tag
   20429 do
   20430   case $ac_tag in
   20431   :[FHLC]) ac_mode=$ac_tag; continue;;
   20432   esac
   20433   case $ac_mode$ac_tag in
   20434   :[FHL]*:*);;
   20435   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   20436   :[FH]-) ac_tag=-:-;;
   20437   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   20438   esac
   20439   ac_save_IFS=$IFS
   20440   IFS=:
   20441   set x $ac_tag
   20442   IFS=$ac_save_IFS
   20443   shift
   20444   ac_file=$1
   20445   shift
   20446 
   20447   case $ac_mode in
   20448   :L) ac_source=$1;;
   20449   :[FH])
   20450     ac_file_inputs=
   20451     for ac_f
   20452     do
   20453       case $ac_f in
   20454       -) ac_f="$ac_tmp/stdin";;
   20455       *) # Look for the file first in the build tree, then in the source tree
   20456 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   20457 	 # because $ac_f cannot contain `:'.
   20458 	 test -f "$ac_f" ||
   20459 	   case $ac_f in
   20460 	   [\\/$]*) false;;
   20461 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   20462 	   esac ||
   20463 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   20464       esac
   20465       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   20466       as_fn_append ac_file_inputs " '$ac_f'"
   20467     done
   20468 
   20469     # Let's still pretend it is `configure' which instantiates (i.e., don't
   20470     # use $as_me), people would be surprised to read:
   20471     #    /* config.h.  Generated by config.status.  */
   20472     configure_input='Generated from '`
   20473 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   20474 	`' by configure.'
   20475     if test x"$ac_file" != x-; then
   20476       configure_input="$ac_file.  $configure_input"
   20477       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   20478 $as_echo "$as_me: creating $ac_file" >&6;}
   20479     fi
   20480     # Neutralize special characters interpreted by sed in replacement strings.
   20481     case $configure_input in #(
   20482     *\&* | *\|* | *\\* )
   20483        ac_sed_conf_input=`$as_echo "$configure_input" |
   20484        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   20485     *) ac_sed_conf_input=$configure_input;;
   20486     esac
   20487 
   20488     case $ac_tag in
   20489     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   20490       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   20491     esac
   20492     ;;
   20493   esac
   20494 
   20495   ac_dir=`$as_dirname -- "$ac_file" ||
   20496 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20497 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   20498 	 X"$ac_file" : 'X\(//\)$' \| \
   20499 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   20500 $as_echo X"$ac_file" |
   20501     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20502 	    s//\1/
   20503 	    q
   20504 	  }
   20505 	  /^X\(\/\/\)[^/].*/{
   20506 	    s//\1/
   20507 	    q
   20508 	  }
   20509 	  /^X\(\/\/\)$/{
   20510 	    s//\1/
   20511 	    q
   20512 	  }
   20513 	  /^X\(\/\).*/{
   20514 	    s//\1/
   20515 	    q
   20516 	  }
   20517 	  s/.*/./; q'`
   20518   as_dir="$ac_dir"; as_fn_mkdir_p
   20519   ac_builddir=.
   20520 
   20521 case "$ac_dir" in
   20522 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20523 *)
   20524   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   20525   # A ".." for each directory in $ac_dir_suffix.
   20526   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   20527   case $ac_top_builddir_sub in
   20528   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20529   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   20530   esac ;;
   20531 esac
   20532 ac_abs_top_builddir=$ac_pwd
   20533 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   20534 # for backward compatibility:
   20535 ac_top_builddir=$ac_top_build_prefix
   20536 
   20537 case $srcdir in
   20538   .)  # We are building in place.
   20539     ac_srcdir=.
   20540     ac_top_srcdir=$ac_top_builddir_sub
   20541     ac_abs_top_srcdir=$ac_pwd ;;
   20542   [\\/]* | ?:[\\/]* )  # Absolute name.
   20543     ac_srcdir=$srcdir$ac_dir_suffix;
   20544     ac_top_srcdir=$srcdir
   20545     ac_abs_top_srcdir=$srcdir ;;
   20546   *) # Relative name.
   20547     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   20548     ac_top_srcdir=$ac_top_build_prefix$srcdir
   20549     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   20550 esac
   20551 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   20552 
   20553 
   20554   case $ac_mode in
   20555   :F)
   20556   #
   20557   # CONFIG_FILE
   20558   #
   20559 
   20560   case $INSTALL in
   20561   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   20562   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   20563   esac
   20564   ac_MKDIR_P=$MKDIR_P
   20565   case $MKDIR_P in
   20566   [\\/$]* | ?:[\\/]* ) ;;
   20567   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   20568   esac
   20569 _ACEOF
   20570 
   20571 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20572 # If the template does not know about datarootdir, expand it.
   20573 # FIXME: This hack should be removed a few years after 2.60.
   20574 ac_datarootdir_hack=; ac_datarootdir_seen=
   20575 ac_sed_dataroot='
   20576 /datarootdir/ {
   20577   p
   20578   q
   20579 }
   20580 /@datadir@/p
   20581 /@docdir@/p
   20582 /@infodir@/p
   20583 /@localedir@/p
   20584 /@mandir@/p'
   20585 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   20586 *datarootdir*) ac_datarootdir_seen=yes;;
   20587 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   20588   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   20589 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   20590 _ACEOF
   20591 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20592   ac_datarootdir_hack='
   20593   s&@datadir@&$datadir&g
   20594   s&@docdir@&$docdir&g
   20595   s&@infodir@&$infodir&g
   20596   s&@localedir@&$localedir&g
   20597   s&@mandir@&$mandir&g
   20598   s&\\\${datarootdir}&$datarootdir&g' ;;
   20599 esac
   20600 _ACEOF
   20601 
   20602 # Neutralize VPATH when `$srcdir' = `.'.
   20603 # Shell code in configure.ac might set extrasub.
   20604 # FIXME: do we really want to maintain this feature?
   20605 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20606 ac_sed_extra="$ac_vpsub
   20607 $extrasub
   20608 _ACEOF
   20609 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20610 :t
   20611 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   20612 s|@configure_input@|$ac_sed_conf_input|;t t
   20613 s&@top_builddir@&$ac_top_builddir_sub&;t t
   20614 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   20615 s&@srcdir@&$ac_srcdir&;t t
   20616 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   20617 s&@top_srcdir@&$ac_top_srcdir&;t t
   20618 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   20619 s&@builddir@&$ac_builddir&;t t
   20620 s&@abs_builddir@&$ac_abs_builddir&;t t
   20621 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   20622 s&@INSTALL@&$ac_INSTALL&;t t
   20623 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   20624 $ac_datarootdir_hack
   20625 "
   20626 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   20627   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20628 
   20629 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   20630   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   20631   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   20632       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   20633   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20634 which seems to be undefined.  Please make sure it is defined" >&5
   20635 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20636 which seems to be undefined.  Please make sure it is defined" >&2;}
   20637 
   20638   rm -f "$ac_tmp/stdin"
   20639   case $ac_file in
   20640   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   20641   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   20642   esac \
   20643   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20644  ;;
   20645   :H)
   20646   #
   20647   # CONFIG_HEADER
   20648   #
   20649   if test x"$ac_file" != x-; then
   20650     {
   20651       $as_echo "/* $configure_input  */" \
   20652       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   20653     } >"$ac_tmp/config.h" \
   20654       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20655     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   20656       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   20657 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   20658     else
   20659       rm -f "$ac_file"
   20660       mv "$ac_tmp/config.h" "$ac_file" \
   20661 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20662     fi
   20663   else
   20664     $as_echo "/* $configure_input  */" \
   20665       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   20666       || as_fn_error $? "could not create -" "$LINENO" 5
   20667   fi
   20668 # Compute "$ac_file"'s index in $config_headers.
   20669 _am_arg="$ac_file"
   20670 _am_stamp_count=1
   20671 for _am_header in $config_headers :; do
   20672   case $_am_header in
   20673     $_am_arg | $_am_arg:* )
   20674       break ;;
   20675     * )
   20676       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   20677   esac
   20678 done
   20679 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   20680 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20681 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   20682 	 X"$_am_arg" : 'X\(//\)$' \| \
   20683 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   20684 $as_echo X"$_am_arg" |
   20685     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20686 	    s//\1/
   20687 	    q
   20688 	  }
   20689 	  /^X\(\/\/\)[^/].*/{
   20690 	    s//\1/
   20691 	    q
   20692 	  }
   20693 	  /^X\(\/\/\)$/{
   20694 	    s//\1/
   20695 	    q
   20696 	  }
   20697 	  /^X\(\/\).*/{
   20698 	    s//\1/
   20699 	    q
   20700 	  }
   20701 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   20702  ;;
   20703 
   20704   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   20705 $as_echo "$as_me: executing $ac_file commands" >&6;}
   20706  ;;
   20707   esac
   20708 
   20709 
   20710   case $ac_file$ac_mode in
   20711     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   20712   # Older Autoconf quotes --file arguments for eval, but not when files
   20713   # are listed without --file.  Let's play safe and only enable the eval
   20714   # if we detect the quoting.
   20715   # TODO: see whether this extra hack can be removed once we start
   20716   # requiring Autoconf 2.70 or later.
   20717   case $CONFIG_FILES in #(
   20718   *\'*) :
   20719     eval set x "$CONFIG_FILES" ;; #(
   20720   *) :
   20721     set x $CONFIG_FILES ;; #(
   20722   *) :
   20723      ;;
   20724 esac
   20725   shift
   20726   # Used to flag and report bootstrapping failures.
   20727   am_rc=0
   20728   for am_mf
   20729   do
   20730     # Strip MF so we end up with the name of the file.
   20731     am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
   20732     # Check whether this is an Automake generated Makefile which includes
   20733     # dependency-tracking related rules and includes.
   20734     # Grep'ing the whole file directly is not great: AIX grep has a line
   20735     # limit of 2048, but all sed's we know have understand at least 4000.
   20736     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   20737       || continue
   20738     am_dirpart=`$as_dirname -- "$am_mf" ||
   20739 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20740 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   20741 	 X"$am_mf" : 'X\(//\)$' \| \
   20742 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   20743 $as_echo X"$am_mf" |
   20744     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20745 	    s//\1/
   20746 	    q
   20747 	  }
   20748 	  /^X\(\/\/\)[^/].*/{
   20749 	    s//\1/
   20750 	    q
   20751 	  }
   20752 	  /^X\(\/\/\)$/{
   20753 	    s//\1/
   20754 	    q
   20755 	  }
   20756 	  /^X\(\/\).*/{
   20757 	    s//\1/
   20758 	    q
   20759 	  }
   20760 	  s/.*/./; q'`
   20761     am_filepart=`$as_basename -- "$am_mf" ||
   20762 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   20763 	 X"$am_mf" : 'X\(//\)$' \| \
   20764 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   20765 $as_echo X/"$am_mf" |
   20766     sed '/^.*\/\([^/][^/]*\)\/*$/{
   20767 	    s//\1/
   20768 	    q
   20769 	  }
   20770 	  /^X\/\(\/\/\)$/{
   20771 	    s//\1/
   20772 	    q
   20773 	  }
   20774 	  /^X\/\(\/\).*/{
   20775 	    s//\1/
   20776 	    q
   20777 	  }
   20778 	  s/.*/./; q'`
   20779     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   20780       && sed -e '/# am--include-marker/d' "$am_filepart" \
   20781         | $MAKE -f - am--depfiles" >&5
   20782    (cd "$am_dirpart" \
   20783       && sed -e '/# am--include-marker/d' "$am_filepart" \
   20784         | $MAKE -f - am--depfiles) >&5 2>&5
   20785    ac_status=$?
   20786    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20787    (exit $ac_status); } || am_rc=$?
   20788   done
   20789   if test $am_rc -ne 0; then
   20790     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   20791 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   20792 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   20793     for automatic dependency tracking.  Try re-running configure with the
   20794     '--disable-dependency-tracking' option to at least be able to build
   20795     the package (albeit without support for automatic dependency tracking).
   20796 See \`config.log' for more details" "$LINENO" 5; }
   20797   fi
   20798   { am_dirpart=; unset am_dirpart;}
   20799   { am_filepart=; unset am_filepart;}
   20800   { am_mf=; unset am_mf;}
   20801   { am_rc=; unset am_rc;}
   20802   rm -f conftest-deps.mk
   20803 }
   20804  ;;
   20805     "libtool":C)
   20806 
   20807     # See if we are running on zsh, and set the options that allow our
   20808     # commands through without removal of \ escapes.
   20809     if test -n "${ZSH_VERSION+set}"; then
   20810       setopt NO_GLOB_SUBST
   20811     fi
   20812 
   20813     cfgfile=${ofile}T
   20814     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   20815     $RM "$cfgfile"
   20816 
   20817     cat <<_LT_EOF >> "$cfgfile"
   20818 #! $SHELL
   20819 # Generated automatically by $as_me ($PACKAGE) $VERSION
   20820 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   20821 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   20822 
   20823 # Provide generalized library-building support services.
   20824 # Written by Gordon Matzigkeit, 1996
   20825 
   20826 # Copyright (C) 2014 Free Software Foundation, Inc.
   20827 # This is free software; see the source for copying conditions.  There is NO
   20828 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   20829 
   20830 # GNU Libtool is free software; you can redistribute it and/or modify
   20831 # it under the terms of the GNU General Public License as published by
   20832 # the Free Software Foundation; either version 2 of of the License, or
   20833 # (at your option) any later version.
   20834 #
   20835 # As a special exception to the GNU General Public License, if you
   20836 # distribute this file as part of a program or library that is built
   20837 # using GNU Libtool, you may include this file under the  same
   20838 # distribution terms that you use for the rest of that program.
   20839 #
   20840 # GNU Libtool is distributed in the hope that it will be useful, but
   20841 # WITHOUT ANY WARRANTY; without even the implied warranty of
   20842 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   20843 # GNU General Public License for more details.
   20844 #
   20845 # You should have received a copy of the GNU General Public License
   20846 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   20847 
   20848 
   20849 # The names of the tagged configurations supported by this script.
   20850 available_tags=''
   20851 
   20852 # Configured defaults for sys_lib_dlsearch_path munging.
   20853 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   20854 
   20855 # ### BEGIN LIBTOOL CONFIG
   20856 
   20857 # Which release of libtool.m4 was used?
   20858 macro_version=$macro_version
   20859 macro_revision=$macro_revision
   20860 
   20861 # Whether or not to build static libraries.
   20862 build_old_libs=$enable_static
   20863 
   20864 # Assembler program.
   20865 AS=$lt_AS
   20866 
   20867 # DLL creation program.
   20868 DLLTOOL=$lt_DLLTOOL
   20869 
   20870 # Object dumper program.
   20871 OBJDUMP=$lt_OBJDUMP
   20872 
   20873 # Whether or not to build shared libraries.
   20874 build_libtool_libs=$enable_shared
   20875 
   20876 # What type of objects to build.
   20877 pic_mode=$pic_mode
   20878 
   20879 # Whether or not to optimize for fast installation.
   20880 fast_install=$enable_fast_install
   20881 
   20882 # Shared archive member basename,for filename based shared library versioning on AIX.
   20883 shared_archive_member_spec=$shared_archive_member_spec
   20884 
   20885 # Shell to use when invoking shell scripts.
   20886 SHELL=$lt_SHELL
   20887 
   20888 # An echo program that protects backslashes.
   20889 ECHO=$lt_ECHO
   20890 
   20891 # The PATH separator for the build system.
   20892 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   20893 
   20894 # The host system.
   20895 host_alias=$host_alias
   20896 host=$host
   20897 host_os=$host_os
   20898 
   20899 # The build system.
   20900 build_alias=$build_alias
   20901 build=$build
   20902 build_os=$build_os
   20903 
   20904 # A sed program that does not truncate output.
   20905 SED=$lt_SED
   20906 
   20907 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   20908 Xsed="\$SED -e 1s/^X//"
   20909 
   20910 # A grep program that handles long lines.
   20911 GREP=$lt_GREP
   20912 
   20913 # An ERE matcher.
   20914 EGREP=$lt_EGREP
   20915 
   20916 # A literal string matcher.
   20917 FGREP=$lt_FGREP
   20918 
   20919 # A BSD- or MS-compatible name lister.
   20920 NM=$lt_NM
   20921 
   20922 # Whether we need soft or hard links.
   20923 LN_S=$lt_LN_S
   20924 
   20925 # What is the maximum length of a command?
   20926 max_cmd_len=$max_cmd_len
   20927 
   20928 # Object file suffix (normally "o").
   20929 objext=$ac_objext
   20930 
   20931 # Executable file suffix (normally "").
   20932 exeext=$exeext
   20933 
   20934 # whether the shell understands "unset".
   20935 lt_unset=$lt_unset
   20936 
   20937 # turn spaces into newlines.
   20938 SP2NL=$lt_lt_SP2NL
   20939 
   20940 # turn newlines into spaces.
   20941 NL2SP=$lt_lt_NL2SP
   20942 
   20943 # convert \$build file names to \$host format.
   20944 to_host_file_cmd=$lt_cv_to_host_file_cmd
   20945 
   20946 # convert \$build files to toolchain format.
   20947 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   20948 
   20949 # Method to check whether dependent libraries are shared objects.
   20950 deplibs_check_method=$lt_deplibs_check_method
   20951 
   20952 # Command to use when deplibs_check_method = "file_magic".
   20953 file_magic_cmd=$lt_file_magic_cmd
   20954 
   20955 # How to find potential files when deplibs_check_method = "file_magic".
   20956 file_magic_glob=$lt_file_magic_glob
   20957 
   20958 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   20959 want_nocaseglob=$lt_want_nocaseglob
   20960 
   20961 # Command to associate shared and link libraries.
   20962 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   20963 
   20964 # The archiver.
   20965 AR=$lt_AR
   20966 
   20967 # Flags to create an archive.
   20968 AR_FLAGS=$lt_AR_FLAGS
   20969 
   20970 # How to feed a file listing to the archiver.
   20971 archiver_list_spec=$lt_archiver_list_spec
   20972 
   20973 # A symbol stripping program.
   20974 STRIP=$lt_STRIP
   20975 
   20976 # Commands used to install an old-style archive.
   20977 RANLIB=$lt_RANLIB
   20978 old_postinstall_cmds=$lt_old_postinstall_cmds
   20979 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   20980 
   20981 # Whether to use a lock for old archive extraction.
   20982 lock_old_archive_extraction=$lock_old_archive_extraction
   20983 
   20984 # A C compiler.
   20985 LTCC=$lt_CC
   20986 
   20987 # LTCC compiler flags.
   20988 LTCFLAGS=$lt_CFLAGS
   20989 
   20990 # Take the output of nm and produce a listing of raw symbols and C names.
   20991 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   20992 
   20993 # Transform the output of nm in a proper C declaration.
   20994 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   20995 
   20996 # Transform the output of nm into a list of symbols to manually relocate.
   20997 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   20998 
   20999 # Transform the output of nm in a C name address pair.
   21000 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   21001 
   21002 # Transform the output of nm in a C name address pair when lib prefix is needed.
   21003 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   21004 
   21005 # The name lister interface.
   21006 nm_interface=$lt_lt_cv_nm_interface
   21007 
   21008 # Specify filename containing input files for \$NM.
   21009 nm_file_list_spec=$lt_nm_file_list_spec
   21010 
   21011 # The root where to search for dependent libraries,and where our libraries should be installed.
   21012 lt_sysroot=$lt_sysroot
   21013 
   21014 # Command to truncate a binary pipe.
   21015 lt_truncate_bin=$lt_lt_cv_truncate_bin
   21016 
   21017 # The name of the directory that contains temporary libtool files.
   21018 objdir=$objdir
   21019 
   21020 # Used to examine libraries when file_magic_cmd begins with "file".
   21021 MAGIC_CMD=$MAGIC_CMD
   21022 
   21023 # Must we lock files when doing compilation?
   21024 need_locks=$lt_need_locks
   21025 
   21026 # Manifest tool.
   21027 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   21028 
   21029 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   21030 DSYMUTIL=$lt_DSYMUTIL
   21031 
   21032 # Tool to change global to local symbols on Mac OS X.
   21033 NMEDIT=$lt_NMEDIT
   21034 
   21035 # Tool to manipulate fat objects and archives on Mac OS X.
   21036 LIPO=$lt_LIPO
   21037 
   21038 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   21039 OTOOL=$lt_OTOOL
   21040 
   21041 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   21042 OTOOL64=$lt_OTOOL64
   21043 
   21044 # Old archive suffix (normally "a").
   21045 libext=$libext
   21046 
   21047 # Shared library suffix (normally ".so").
   21048 shrext_cmds=$lt_shrext_cmds
   21049 
   21050 # The commands to extract the exported symbol list from a shared archive.
   21051 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   21052 
   21053 # Variables whose values should be saved in libtool wrapper scripts and
   21054 # restored at link time.
   21055 variables_saved_for_relink=$lt_variables_saved_for_relink
   21056 
   21057 # Do we need the "lib" prefix for modules?
   21058 need_lib_prefix=$need_lib_prefix
   21059 
   21060 # Do we need a version for libraries?
   21061 need_version=$need_version
   21062 
   21063 # Library versioning type.
   21064 version_type=$version_type
   21065 
   21066 # Shared library runtime path variable.
   21067 runpath_var=$runpath_var
   21068 
   21069 # Shared library path variable.
   21070 shlibpath_var=$shlibpath_var
   21071 
   21072 # Is shlibpath searched before the hard-coded library search path?
   21073 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   21074 
   21075 # Format of library name prefix.
   21076 libname_spec=$lt_libname_spec
   21077 
   21078 # List of archive names.  First name is the real one, the rest are links.
   21079 # The last name is the one that the linker finds with -lNAME
   21080 library_names_spec=$lt_library_names_spec
   21081 
   21082 # The coded name of the library, if different from the real name.
   21083 soname_spec=$lt_soname_spec
   21084 
   21085 # Permission mode override for installation of shared libraries.
   21086 install_override_mode=$lt_install_override_mode
   21087 
   21088 # Command to use after installation of a shared archive.
   21089 postinstall_cmds=$lt_postinstall_cmds
   21090 
   21091 # Command to use after uninstallation of a shared archive.
   21092 postuninstall_cmds=$lt_postuninstall_cmds
   21093 
   21094 # Commands used to finish a libtool library installation in a directory.
   21095 finish_cmds=$lt_finish_cmds
   21096 
   21097 # As "finish_cmds", except a single script fragment to be evaled but
   21098 # not shown.
   21099 finish_eval=$lt_finish_eval
   21100 
   21101 # Whether we should hardcode library paths into libraries.
   21102 hardcode_into_libs=$hardcode_into_libs
   21103 
   21104 # Compile-time system search path for libraries.
   21105 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   21106 
   21107 # Detected run-time system search path for libraries.
   21108 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   21109 
   21110 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   21111 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   21112 
   21113 # Whether dlopen is supported.
   21114 dlopen_support=$enable_dlopen
   21115 
   21116 # Whether dlopen of programs is supported.
   21117 dlopen_self=$enable_dlopen_self
   21118 
   21119 # Whether dlopen of statically linked programs is supported.
   21120 dlopen_self_static=$enable_dlopen_self_static
   21121 
   21122 # Commands to strip libraries.
   21123 old_striplib=$lt_old_striplib
   21124 striplib=$lt_striplib
   21125 
   21126 
   21127 # The linker used to build libraries.
   21128 LD=$lt_LD
   21129 
   21130 # How to create reloadable object files.
   21131 reload_flag=$lt_reload_flag
   21132 reload_cmds=$lt_reload_cmds
   21133 
   21134 # Commands used to build an old-style archive.
   21135 old_archive_cmds=$lt_old_archive_cmds
   21136 
   21137 # A language specific compiler.
   21138 CC=$lt_compiler
   21139 
   21140 # Is the compiler the GNU compiler?
   21141 with_gcc=$GCC
   21142 
   21143 # Compiler flag to turn off builtin functions.
   21144 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   21145 
   21146 # Additional compiler flags for building library objects.
   21147 pic_flag=$lt_lt_prog_compiler_pic
   21148 
   21149 # How to pass a linker flag through the compiler.
   21150 wl=$lt_lt_prog_compiler_wl
   21151 
   21152 # Compiler flag to prevent dynamic linking.
   21153 link_static_flag=$lt_lt_prog_compiler_static
   21154 
   21155 # Does compiler simultaneously support -c and -o options?
   21156 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   21157 
   21158 # Whether or not to add -lc for building shared libraries.
   21159 build_libtool_need_lc=$archive_cmds_need_lc
   21160 
   21161 # Whether or not to disallow shared libs when runtime libs are static.
   21162 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   21163 
   21164 # Compiler flag to allow reflexive dlopens.
   21165 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   21166 
   21167 # Compiler flag to generate shared objects directly from archives.
   21168 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   21169 
   21170 # Whether the compiler copes with passing no objects directly.
   21171 compiler_needs_object=$lt_compiler_needs_object
   21172 
   21173 # Create an old-style archive from a shared archive.
   21174 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   21175 
   21176 # Create a temporary old-style archive to link instead of a shared archive.
   21177 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   21178 
   21179 # Commands used to build a shared archive.
   21180 archive_cmds=$lt_archive_cmds
   21181 archive_expsym_cmds=$lt_archive_expsym_cmds
   21182 
   21183 # Commands used to build a loadable module if different from building
   21184 # a shared archive.
   21185 module_cmds=$lt_module_cmds
   21186 module_expsym_cmds=$lt_module_expsym_cmds
   21187 
   21188 # Whether we are building with GNU ld or not.
   21189 with_gnu_ld=$lt_with_gnu_ld
   21190 
   21191 # Flag that allows shared libraries with undefined symbols to be built.
   21192 allow_undefined_flag=$lt_allow_undefined_flag
   21193 
   21194 # Flag that enforces no undefined symbols.
   21195 no_undefined_flag=$lt_no_undefined_flag
   21196 
   21197 # Flag to hardcode \$libdir into a binary during linking.
   21198 # This must work even if \$libdir does not exist
   21199 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   21200 
   21201 # Whether we need a single "-rpath" flag with a separated argument.
   21202 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   21203 
   21204 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21205 # DIR into the resulting binary.
   21206 hardcode_direct=$hardcode_direct
   21207 
   21208 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21209 # DIR into the resulting binary and the resulting library dependency is
   21210 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   21211 # library is relocated.
   21212 hardcode_direct_absolute=$hardcode_direct_absolute
   21213 
   21214 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   21215 # into the resulting binary.
   21216 hardcode_minus_L=$hardcode_minus_L
   21217 
   21218 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   21219 # into the resulting binary.
   21220 hardcode_shlibpath_var=$hardcode_shlibpath_var
   21221 
   21222 # Set to "yes" if building a shared library automatically hardcodes DIR
   21223 # into the library and all subsequent libraries and executables linked
   21224 # against it.
   21225 hardcode_automatic=$hardcode_automatic
   21226 
   21227 # Set to yes if linker adds runtime paths of dependent libraries
   21228 # to runtime path list.
   21229 inherit_rpath=$inherit_rpath
   21230 
   21231 # Whether libtool must link a program against all its dependency libraries.
   21232 link_all_deplibs=$link_all_deplibs
   21233 
   21234 # Set to "yes" if exported symbols are required.
   21235 always_export_symbols=$always_export_symbols
   21236 
   21237 # The commands to list exported symbols.
   21238 export_symbols_cmds=$lt_export_symbols_cmds
   21239 
   21240 # Symbols that should not be listed in the preloaded symbols.
   21241 exclude_expsyms=$lt_exclude_expsyms
   21242 
   21243 # Symbols that must always be exported.
   21244 include_expsyms=$lt_include_expsyms
   21245 
   21246 # Commands necessary for linking programs (against libraries) with templates.
   21247 prelink_cmds=$lt_prelink_cmds
   21248 
   21249 # Commands necessary for finishing linking programs.
   21250 postlink_cmds=$lt_postlink_cmds
   21251 
   21252 # Specify filename containing input files.
   21253 file_list_spec=$lt_file_list_spec
   21254 
   21255 # How to hardcode a shared library path into an executable.
   21256 hardcode_action=$hardcode_action
   21257 
   21258 # ### END LIBTOOL CONFIG
   21259 
   21260 _LT_EOF
   21261 
   21262     cat <<'_LT_EOF' >> "$cfgfile"
   21263 
   21264 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   21265 
   21266 # func_munge_path_list VARIABLE PATH
   21267 # -----------------------------------
   21268 # VARIABLE is name of variable containing _space_ separated list of
   21269 # directories to be munged by the contents of PATH, which is string
   21270 # having a format:
   21271 # "DIR[:DIR]:"
   21272 #       string "DIR[ DIR]" will be prepended to VARIABLE
   21273 # ":DIR[:DIR]"
   21274 #       string "DIR[ DIR]" will be appended to VARIABLE
   21275 # "DIRP[:DIRP]::[DIRA:]DIRA"
   21276 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   21277 #       "DIRA[ DIRA]" will be appended to VARIABLE
   21278 # "DIR[:DIR]"
   21279 #       VARIABLE will be replaced by "DIR[ DIR]"
   21280 func_munge_path_list ()
   21281 {
   21282     case x$2 in
   21283     x)
   21284         ;;
   21285     *:)
   21286         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   21287         ;;
   21288     x:*)
   21289         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   21290         ;;
   21291     *::*)
   21292         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   21293         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   21294         ;;
   21295     *)
   21296         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   21297         ;;
   21298     esac
   21299 }
   21300 
   21301 
   21302 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   21303 func_cc_basename ()
   21304 {
   21305     for cc_temp in $*""; do
   21306       case $cc_temp in
   21307         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   21308         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   21309         \-*) ;;
   21310         *) break;;
   21311       esac
   21312     done
   21313     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   21314 }
   21315 
   21316 
   21317 # ### END FUNCTIONS SHARED WITH CONFIGURE
   21318 
   21319 _LT_EOF
   21320 
   21321   case $host_os in
   21322   aix3*)
   21323     cat <<\_LT_EOF >> "$cfgfile"
   21324 # AIX sometimes has problems with the GCC collect2 program.  For some
   21325 # reason, if we set the COLLECT_NAMES environment variable, the problems
   21326 # vanish in a puff of smoke.
   21327 if test set != "${COLLECT_NAMES+set}"; then
   21328   COLLECT_NAMES=
   21329   export COLLECT_NAMES
   21330 fi
   21331 _LT_EOF
   21332     ;;
   21333   esac
   21334 
   21335 
   21336 ltmain=$ac_aux_dir/ltmain.sh
   21337 
   21338 
   21339   # We use sed instead of cat because bash on DJGPP gets confused if
   21340   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   21341   # text mode, it properly converts lines to CR/LF.  This bash problem
   21342   # is reportedly fixed, but why not run on old versions too?
   21343   sed '$q' "$ltmain" >> "$cfgfile" \
   21344      || (rm -f "$cfgfile"; exit 1)
   21345 
   21346    mv -f "$cfgfile" "$ofile" ||
   21347     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   21348   chmod +x "$ofile"
   21349 
   21350  ;;
   21351     "po-directories":C)
   21352     for ac_file in $CONFIG_FILES; do
   21353       # Support "outfile[:infile[:infile...]]"
   21354       case "$ac_file" in
   21355         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
   21356       esac
   21357       # PO directories have a Makefile.in generated from Makefile.in.in.
   21358       case "$ac_file" in */Makefile.in)
   21359         # Adjust a relative srcdir.
   21360         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
   21361         ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
   21362         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
   21363         # In autoconf-2.13 it is called $ac_given_srcdir.
   21364         # In autoconf-2.50 it is called $srcdir.
   21365         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
   21366         case "$ac_given_srcdir" in
   21367           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
   21368           /*) top_srcdir="$ac_given_srcdir" ;;
   21369           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
   21370         esac
   21371         # Treat a directory as a PO directory if and only if it has a
   21372         # POTFILES.in file. This allows packages to have multiple PO
   21373         # directories under different names or in different locations.
   21374         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
   21375           rm -f "$ac_dir/POTFILES"
   21376           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
   21377           gt_tab=`printf '\t'`
   21378           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"
   21379           POMAKEFILEDEPS="POTFILES.in"
   21380           # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
   21381           # on $ac_dir but don't depend on user-specified configuration
   21382           # parameters.
   21383           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
   21384             # The LINGUAS file contains the set of available languages.
   21385             if test -n "$OBSOLETE_ALL_LINGUAS"; then
   21386               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
   21387             fi
   21388             ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
   21389             # Hide the ALL_LINGUAS assignment from automake < 1.5.
   21390             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
   21391             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
   21392           else
   21393             # The set of available languages was given in configure.in.
   21394             # Hide the ALL_LINGUAS assignment from automake < 1.5.
   21395             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
   21396           fi
   21397           # Compute POFILES
   21398           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
   21399           # Compute UPDATEPOFILES
   21400           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
   21401           # Compute DUMMYPOFILES
   21402           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
   21403           # Compute GMOFILES
   21404           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
   21405           case "$ac_given_srcdir" in
   21406             .) srcdirpre= ;;
   21407             *) srcdirpre='$(srcdir)/' ;;
   21408           esac
   21409           POFILES=
   21410           UPDATEPOFILES=
   21411           DUMMYPOFILES=
   21412           GMOFILES=
   21413           for lang in $ALL_LINGUAS; do
   21414             POFILES="$POFILES $srcdirpre$lang.po"
   21415             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
   21416             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
   21417             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
   21418           done
   21419           # CATALOGS depends on both $ac_dir and the user's LINGUAS
   21420           # environment variable.
   21421           INST_LINGUAS=
   21422           if test -n "$ALL_LINGUAS"; then
   21423             for presentlang in $ALL_LINGUAS; do
   21424               useit=no
   21425               if test "%UNSET%" != "$LINGUAS"; then
   21426                 desiredlanguages="$LINGUAS"
   21427               else
   21428                 desiredlanguages="$ALL_LINGUAS"
   21429               fi
   21430               for desiredlang in $desiredlanguages; do
   21431                 # Use the presentlang catalog if desiredlang is
   21432                 #   a. equal to presentlang, or
   21433                 #   b. a variant of presentlang (because in this case,
   21434                 #      presentlang can be used as a fallback for messages
   21435                 #      which are not translated in the desiredlang catalog).
   21436                 case "$desiredlang" in
   21437                   "$presentlang"*) useit=yes;;
   21438                 esac
   21439               done
   21440               if test $useit = yes; then
   21441                 INST_LINGUAS="$INST_LINGUAS $presentlang"
   21442               fi
   21443             done
   21444           fi
   21445           CATALOGS=
   21446           if test -n "$INST_LINGUAS"; then
   21447             for lang in $INST_LINGUAS; do
   21448               CATALOGS="$CATALOGS $lang.gmo"
   21449             done
   21450           fi
   21451           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
   21452           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"
   21453           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
   21454             if test -f "$f"; then
   21455               case "$f" in
   21456                 *.orig | *.bak | *~) ;;
   21457                 *) cat "$f" >> "$ac_dir/Makefile" ;;
   21458               esac
   21459             fi
   21460           done
   21461         fi
   21462         ;;
   21463       esac
   21464     done ;;
   21465     "$ac_stdint_h":C)
   21466 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_stdint_h : $_ac_stdint_h" >&5
   21467 $as_echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
   21468 ac_stdint=$tmp/_stdint.h
   21469 
   21470 echo "#ifndef" $_ac_stdint_h >$ac_stdint
   21471 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
   21472 echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint
   21473 echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint
   21474 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
   21475 if test "_$ac_cv_header_stdint_t" != "_" ; then
   21476 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
   21477 echo "#include <stdint.h>" >>$ac_stdint
   21478 echo "#endif" >>$ac_stdint
   21479 echo "#endif" >>$ac_stdint
   21480 else
   21481 
   21482 cat >>$ac_stdint <<STDINT_EOF
   21483 
   21484 /* ................... shortcircuit part ........................... */
   21485 
   21486 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
   21487 #include <stdint.h>
   21488 #else
   21489 #include <stddef.h>
   21490 
   21491 /* .................... configured part ............................ */
   21492 
   21493 STDINT_EOF
   21494 
   21495 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
   21496 if test "_$ac_cv_header_stdint_x" != "_" ; then
   21497   ac_header="$ac_cv_header_stdint_x"
   21498   echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
   21499 else
   21500   echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
   21501 fi
   21502 
   21503 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
   21504 if  test "_$ac_cv_header_stdint_o" != "_" ; then
   21505   ac_header="$ac_cv_header_stdint_o"
   21506   echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
   21507 else
   21508   echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
   21509 fi
   21510 
   21511 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
   21512 if  test "_$ac_cv_header_stdint_u" != "_" ; then
   21513   ac_header="$ac_cv_header_stdint_u"
   21514   echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
   21515 else
   21516   echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
   21517 fi
   21518 
   21519 echo "" >>$ac_stdint
   21520 
   21521 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
   21522   echo "#include <$ac_header>" >>$ac_stdint
   21523   echo "" >>$ac_stdint
   21524 fi fi
   21525 
   21526 echo "/* which 64bit typedef has been found */" >>$ac_stdint
   21527 if test "$ac_cv_type_uint64_t" = "yes" ; then
   21528 echo "#define   _STDINT_HAVE_UINT64_T" "1"  >>$ac_stdint
   21529 else
   21530 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
   21531 fi
   21532 if test "$ac_cv_type_u_int64_t" = "yes" ; then
   21533 echo "#define   _STDINT_HAVE_U_INT64_T" "1"  >>$ac_stdint
   21534 else
   21535 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
   21536 fi
   21537 echo "" >>$ac_stdint
   21538 
   21539 echo "/* which type model has been detected */" >>$ac_stdint
   21540 if test "_$ac_cv_char_data_model" != "_" ; then
   21541 echo "#define   _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
   21542 echo "#define   _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
   21543 else
   21544 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
   21545 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
   21546 fi
   21547 echo "" >>$ac_stdint
   21548 
   21549 echo "/* whether int_least types were detected */" >>$ac_stdint
   21550 if test "$ac_cv_type_int_least32_t" = "yes"; then
   21551 echo "#define   _STDINT_HAVE_INT_LEAST32_T" "1"  >>$ac_stdint
   21552 else
   21553 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
   21554 fi
   21555 echo "/* whether int_fast types were detected */" >>$ac_stdint
   21556 if test "$ac_cv_type_int_fast32_t" = "yes"; then
   21557 echo "#define   _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
   21558 else
   21559 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
   21560 fi
   21561 echo "/* whether intmax_t type was detected */" >>$ac_stdint
   21562 if test "$ac_cv_type_intmax_t" = "yes"; then
   21563 echo "#define   _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
   21564 else
   21565 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
   21566 fi
   21567 echo "" >>$ac_stdint
   21568 
   21569   cat >>$ac_stdint <<STDINT_EOF
   21570 /* .................... detections part ............................ */
   21571 
   21572 /* whether we need to define bitspecific types from compiler base types */
   21573 #ifndef _STDINT_HEADER_INTPTR
   21574 #ifndef _STDINT_HEADER_UINT32
   21575 #ifndef _STDINT_HEADER_U_INT32
   21576 #define _STDINT_NEED_INT_MODEL_T
   21577 #else
   21578 #define _STDINT_HAVE_U_INT_TYPES
   21579 #endif
   21580 #endif
   21581 #endif
   21582 
   21583 #ifdef _STDINT_HAVE_U_INT_TYPES
   21584 #undef _STDINT_NEED_INT_MODEL_T
   21585 #endif
   21586 
   21587 #ifdef  _STDINT_CHAR_MODEL
   21588 #if     _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
   21589 #ifndef _STDINT_BYTE_MODEL
   21590 #define _STDINT_BYTE_MODEL 12
   21591 #endif
   21592 #endif
   21593 #endif
   21594 
   21595 #ifndef _STDINT_HAVE_INT_LEAST32_T
   21596 #define _STDINT_NEED_INT_LEAST_T
   21597 #endif
   21598 
   21599 #ifndef _STDINT_HAVE_INT_FAST32_T
   21600 #define _STDINT_NEED_INT_FAST_T
   21601 #endif
   21602 
   21603 #ifndef _STDINT_HEADER_INTPTR
   21604 #define _STDINT_NEED_INTPTR_T
   21605 #ifndef _STDINT_HAVE_INTMAX_T
   21606 #define _STDINT_NEED_INTMAX_T
   21607 #endif
   21608 #endif
   21609 
   21610 
   21611 /* .................... definition part ............................ */
   21612 
   21613 /* some system headers have good uint64_t */
   21614 #ifndef _HAVE_UINT64_T
   21615 #if     defined _STDINT_HAVE_UINT64_T  || defined HAVE_UINT64_T
   21616 #define _HAVE_UINT64_T
   21617 #elif   defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
   21618 #define _HAVE_UINT64_T
   21619 typedef u_int64_t uint64_t;
   21620 #endif
   21621 #endif
   21622 
   21623 #ifndef _HAVE_UINT64_T
   21624 /* .. here are some common heuristics using compiler runtime specifics */
   21625 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
   21626 #define _HAVE_UINT64_T
   21627 #define _HAVE_LONGLONG_UINT64_T
   21628 typedef long long int64_t;
   21629 typedef unsigned long long uint64_t;
   21630 
   21631 #elif !defined __STRICT_ANSI__
   21632 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
   21633 #define _HAVE_UINT64_T
   21634 typedef __int64 int64_t;
   21635 typedef unsigned __int64 uint64_t;
   21636 
   21637 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
   21638 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
   21639 #if !defined _NO_LONGLONG
   21640 #define _HAVE_UINT64_T
   21641 #define _HAVE_LONGLONG_UINT64_T
   21642 typedef long long int64_t;
   21643 typedef unsigned long long uint64_t;
   21644 #endif
   21645 
   21646 #elif defined __alpha || (defined __mips && defined _ABIN32)
   21647 #if !defined _NO_LONGLONG
   21648 typedef long int64_t;
   21649 typedef unsigned long uint64_t;
   21650 #endif
   21651   /* compiler/cpu type to define int64_t */
   21652 #endif
   21653 #endif
   21654 #endif
   21655 
   21656 #if defined _STDINT_HAVE_U_INT_TYPES
   21657 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
   21658 typedef u_int8_t uint8_t;
   21659 typedef u_int16_t uint16_t;
   21660 typedef u_int32_t uint32_t;
   21661 
   21662 /* glibc compatibility */
   21663 #ifndef __int8_t_defined
   21664 #define __int8_t_defined
   21665 #endif
   21666 #endif
   21667 
   21668 #ifdef _STDINT_NEED_INT_MODEL_T
   21669 /* we must guess all the basic types. Apart from byte-adressable system, */
   21670 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
   21671 /* (btw, those nibble-addressable systems are way off, or so we assume) */
   21672 
   21673 
   21674 #if defined _STDINT_BYTE_MODEL
   21675 #if _STDINT_LONG_MODEL+0 == 242
   21676 /* 2:4:2 =  IP16 = a normal 16-bit system                */
   21677 typedef unsigned char   uint8_t;
   21678 typedef unsigned short  uint16_t;
   21679 typedef unsigned long   uint32_t;
   21680 #ifndef __int8_t_defined
   21681 #define __int8_t_defined
   21682 typedef          char    int8_t;
   21683 typedef          short   int16_t;
   21684 typedef          long    int32_t;
   21685 #endif
   21686 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
   21687 /* 2:4:4 =  LP32 = a 32-bit system derived from a 16-bit */
   21688 /* 4:4:4 = ILP32 = a normal 32-bit system                */
   21689 typedef unsigned char   uint8_t;
   21690 typedef unsigned short  uint16_t;
   21691 typedef unsigned int    uint32_t;
   21692 #ifndef __int8_t_defined
   21693 #define __int8_t_defined
   21694 typedef          char    int8_t;
   21695 typedef          short   int16_t;
   21696 typedef          int     int32_t;
   21697 #endif
   21698 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
   21699 /* 4:8:4 =  IP32 = a 32-bit system prepared for 64-bit    */
   21700 /* 4:8:8 =  LP64 = a normal 64-bit system                 */
   21701 typedef unsigned char   uint8_t;
   21702 typedef unsigned short  uint16_t;
   21703 typedef unsigned int    uint32_t;
   21704 #ifndef __int8_t_defined
   21705 #define __int8_t_defined
   21706 typedef          char    int8_t;
   21707 typedef          short   int16_t;
   21708 typedef          int     int32_t;
   21709 #endif
   21710 /* this system has a "long" of 64bit */
   21711 #ifndef _HAVE_UINT64_T
   21712 #define _HAVE_UINT64_T
   21713 typedef unsigned long   uint64_t;
   21714 typedef          long    int64_t;
   21715 #endif
   21716 #elif _STDINT_LONG_MODEL+0 == 448
   21717 /*      LLP64   a 64-bit system derived from a 32-bit system */
   21718 typedef unsigned char   uint8_t;
   21719 typedef unsigned short  uint16_t;
   21720 typedef unsigned int    uint32_t;
   21721 #ifndef __int8_t_defined
   21722 #define __int8_t_defined
   21723 typedef          char    int8_t;
   21724 typedef          short   int16_t;
   21725 typedef          int     int32_t;
   21726 #endif
   21727 /* assuming the system has a "long long" */
   21728 #ifndef _HAVE_UINT64_T
   21729 #define _HAVE_UINT64_T
   21730 #define _HAVE_LONGLONG_UINT64_T
   21731 typedef unsigned long long uint64_t;
   21732 typedef          long long  int64_t;
   21733 #endif
   21734 #else
   21735 #define _STDINT_NO_INT32_T
   21736 #endif
   21737 #else
   21738 #define _STDINT_NO_INT8_T
   21739 #define _STDINT_NO_INT32_T
   21740 #endif
   21741 #endif
   21742 
   21743 /*
   21744  * quote from SunOS-5.8 sys/inttypes.h:
   21745  * Use at your own risk.  As of February 1996, the committee is squarely
   21746  * behind the fixed sized types; the "least" and "fast" types are still being
   21747  * discussed.  The probability that the "fast" types may be removed before
   21748  * the standard is finalized is high enough that they are not currently
   21749  * implemented.
   21750  */
   21751 
   21752 #if defined _STDINT_NEED_INT_LEAST_T
   21753 typedef  int8_t    int_least8_t;
   21754 typedef  int16_t   int_least16_t;
   21755 typedef  int32_t   int_least32_t;
   21756 #ifdef _HAVE_UINT64_T
   21757 typedef  int64_t   int_least64_t;
   21758 #endif
   21759 
   21760 typedef uint8_t   uint_least8_t;
   21761 typedef uint16_t  uint_least16_t;
   21762 typedef uint32_t  uint_least32_t;
   21763 #ifdef _HAVE_UINT64_T
   21764 typedef uint64_t  uint_least64_t;
   21765 #endif
   21766   /* least types */
   21767 #endif
   21768 
   21769 #if defined _STDINT_NEED_INT_FAST_T
   21770 typedef  int8_t    int_fast8_t;
   21771 typedef  int       int_fast16_t;
   21772 typedef  int32_t   int_fast32_t;
   21773 #ifdef _HAVE_UINT64_T
   21774 typedef  int64_t   int_fast64_t;
   21775 #endif
   21776 
   21777 typedef uint8_t   uint_fast8_t;
   21778 typedef unsigned  uint_fast16_t;
   21779 typedef uint32_t  uint_fast32_t;
   21780 #ifdef _HAVE_UINT64_T
   21781 typedef uint64_t  uint_fast64_t;
   21782 #endif
   21783   /* fast types */
   21784 #endif
   21785 
   21786 #ifdef _STDINT_NEED_INTMAX_T
   21787 #ifdef _HAVE_UINT64_T
   21788 typedef  int64_t       intmax_t;
   21789 typedef uint64_t      uintmax_t;
   21790 #else
   21791 typedef          long  intmax_t;
   21792 typedef unsigned long uintmax_t;
   21793 #endif
   21794 #endif
   21795 
   21796 #ifdef _STDINT_NEED_INTPTR_T
   21797 #ifndef __intptr_t_defined
   21798 #define __intptr_t_defined
   21799 /* we encourage using "long" to store pointer values, never use "int" ! */
   21800 #if   _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
   21801 typedef  unsigned int   uintptr_t;
   21802 typedef           int    intptr_t;
   21803 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
   21804 typedef  unsigned long  uintptr_t;
   21805 typedef           long   intptr_t;
   21806 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
   21807 typedef        uint64_t uintptr_t;
   21808 typedef         int64_t  intptr_t;
   21809 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
   21810 typedef  unsigned long  uintptr_t;
   21811 typedef           long   intptr_t;
   21812 #endif
   21813 #endif
   21814 #endif
   21815 
   21816 /* The ISO C99 standard specifies that in C++ implementations these
   21817    should only be defined if explicitly requested.  */
   21818 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
   21819 #ifndef UINT32_C
   21820 
   21821 /* Signed.  */
   21822 # define INT8_C(c)      c
   21823 # define INT16_C(c)     c
   21824 # define INT32_C(c)     c
   21825 # ifdef _HAVE_LONGLONG_UINT64_T
   21826 #  define INT64_C(c)    c ## L
   21827 # else
   21828 #  define INT64_C(c)    c ## LL
   21829 # endif
   21830 
   21831 /* Unsigned.  */
   21832 # define UINT8_C(c)     c ## U
   21833 # define UINT16_C(c)    c ## U
   21834 # define UINT32_C(c)    c ## U
   21835 # ifdef _HAVE_LONGLONG_UINT64_T
   21836 #  define UINT64_C(c)   c ## UL
   21837 # else
   21838 #  define UINT64_C(c)   c ## ULL
   21839 # endif
   21840 
   21841 /* Maximal type.  */
   21842 # ifdef _HAVE_LONGLONG_UINT64_T
   21843 #  define INTMAX_C(c)   c ## L
   21844 #  define UINTMAX_C(c)  c ## UL
   21845 # else
   21846 #  define INTMAX_C(c)   c ## LL
   21847 #  define UINTMAX_C(c)  c ## ULL
   21848 # endif
   21849 
   21850   /* literalnumbers */
   21851 #endif
   21852 #endif
   21853 
   21854 /* These limits are merily those of a two complement byte-oriented system */
   21855 
   21856 /* Minimum of signed integral types.  */
   21857 # define INT8_MIN               (-128)
   21858 # define INT16_MIN              (-32767-1)
   21859 # define INT32_MIN              (-2147483647-1)
   21860 # define INT64_MIN              (-__INT64_C(9223372036854775807)-1)
   21861 /* Maximum of signed integral types.  */
   21862 # define INT8_MAX               (127)
   21863 # define INT16_MAX              (32767)
   21864 # define INT32_MAX              (2147483647)
   21865 # define INT64_MAX              (__INT64_C(9223372036854775807))
   21866 
   21867 /* Maximum of unsigned integral types.  */
   21868 # define UINT8_MAX              (255)
   21869 # define UINT16_MAX             (65535)
   21870 # define UINT32_MAX             (4294967295U)
   21871 # define UINT64_MAX             (__UINT64_C(18446744073709551615))
   21872 
   21873 /* Minimum of signed integral types having a minimum size.  */
   21874 # define INT_LEAST8_MIN         INT8_MIN
   21875 # define INT_LEAST16_MIN        INT16_MIN
   21876 # define INT_LEAST32_MIN        INT32_MIN
   21877 # define INT_LEAST64_MIN        INT64_MIN
   21878 /* Maximum of signed integral types having a minimum size.  */
   21879 # define INT_LEAST8_MAX         INT8_MAX
   21880 # define INT_LEAST16_MAX        INT16_MAX
   21881 # define INT_LEAST32_MAX        INT32_MAX
   21882 # define INT_LEAST64_MAX        INT64_MAX
   21883 
   21884 /* Maximum of unsigned integral types having a minimum size.  */
   21885 # define UINT_LEAST8_MAX        UINT8_MAX
   21886 # define UINT_LEAST16_MAX       UINT16_MAX
   21887 # define UINT_LEAST32_MAX       UINT32_MAX
   21888 # define UINT_LEAST64_MAX       UINT64_MAX
   21889 
   21890   /* shortcircuit*/
   21891 #endif
   21892   /* once */
   21893 #endif
   21894 #endif
   21895 STDINT_EOF
   21896 fi
   21897     if cmp -s $ac_stdint_h $ac_stdint 2>/dev/null; then
   21898       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_stdint_h is unchanged" >&5
   21899 $as_echo "$as_me: $ac_stdint_h is unchanged" >&6;}
   21900     else
   21901       ac_dir=`$as_dirname -- "$ac_stdint_h" ||
   21902 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21903 	 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
   21904 	 X"$ac_stdint_h" : 'X\(//\)$' \| \
   21905 	 X"$ac_stdint_h" : 'X\(/\)' \| . 2>/dev/null ||
   21906 $as_echo X"$ac_stdint_h" |
   21907     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21908 	    s//\1/
   21909 	    q
   21910 	  }
   21911 	  /^X\(\/\/\)[^/].*/{
   21912 	    s//\1/
   21913 	    q
   21914 	  }
   21915 	  /^X\(\/\/\)$/{
   21916 	    s//\1/
   21917 	    q
   21918 	  }
   21919 	  /^X\(\/\).*/{
   21920 	    s//\1/
   21921 	    q
   21922 	  }
   21923 	  s/.*/./; q'`
   21924       as_dir="$ac_dir"; as_fn_mkdir_p
   21925       rm -f $ac_stdint_h
   21926       mv $ac_stdint $ac_stdint_h
   21927     fi
   21928  ;;
   21929 
   21930   esac
   21931 done # for ac_tag
   21932 
   21933 
   21934 as_fn_exit 0
   21935 _ACEOF
   21936 ac_clean_files=$ac_clean_files_save
   21937 
   21938 test $ac_write_fail = 0 ||
   21939   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   21940 
   21941 
   21942 # configure is writing to config.log, and then calls config.status.
   21943 # config.status does its own redirection, appending to config.log.
   21944 # Unfortunately, on DOS this fails, as config.log is still kept open
   21945 # by configure, so config.status won't be able to write to it; its
   21946 # output is simply discarded.  So we exec the FD to /dev/null,
   21947 # effectively closing config.log, so it can be properly (re)opened and
   21948 # appended to by config.status.  When coming back to configure, we
   21949 # need to make the FD available again.
   21950 if test "$no_create" != yes; then
   21951   ac_cs_success=:
   21952   ac_config_status_args=
   21953   test "$silent" = yes &&
   21954     ac_config_status_args="$ac_config_status_args --quiet"
   21955   exec 5>/dev/null
   21956   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   21957   exec 5>>config.log
   21958   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   21959   # would make configure fail if this is the last instruction.
   21960   $ac_cs_success || as_fn_exit 1
   21961 fi
   21962 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   21963   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   21964 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   21965 fi
   21966 
   21967