Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.10
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.71 for libXft 2.3.7.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libXft/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
      9 # Inc.
     10 #
     11 #
     12 # This configure script is free software; the Free Software Foundation
     13 # gives unlimited permission to copy, distribute and modify it.
     14 ## -------------------- ##
     15 ## M4sh Initialization. ##
     16 ## -------------------- ##
     17 
     18 # Be more Bourne compatible
     19 DUALCASE=1; export DUALCASE # for MKS sh
     20 as_nop=:
     21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     22 then :
     23   emulate sh
     24   NULLCMD=:
     25   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     26   # is contrary to our usage.  Disable this feature.
     27   alias -g '${1+"$@"}'='"$@"'
     28   setopt NO_GLOB_SUBST
     29 else $as_nop
     30   case `(set -o) 2>/dev/null` in #(
     31   *posix*) :
     32     set -o posix ;; #(
     33   *) :
     34      ;;
     35 esac
     36 fi
     37 
     38 
     39 
     40 # Reset variables that may have inherited troublesome values from
     41 # the environment.
     42 
     43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
     44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
     45 # side effect of setting IFS to empty, thus disabling word splitting.)
     46 # Quoting is to prevent editors from complaining about space-tab.
     47 as_nl='
     48 '
     49 export as_nl
     50 IFS=" ""	$as_nl"
     51 
     52 PS1='$ '
     53 PS2='> '
     54 PS4='+ '
     55 
     56 # Ensure predictable behavior from utilities with locale-dependent output.
     57 LC_ALL=C
     58 export LC_ALL
     59 LANGUAGE=C
     60 export LANGUAGE
     61 
     62 # We cannot yet rely on "unset" to work, but we need these variables
     63 # to be unset--not just set to an empty or harmless value--now, to
     64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
     65 # also avoids known problems related to "unset" and subshell syntax
     66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
     67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
     68 do eval test \${$as_var+y} \
     69   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     70 done
     71 
     72 # Ensure that fds 0, 1, and 2 are open.
     73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
     74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
     75 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
     76 
     77 # The user is always right.
     78 if ${PATH_SEPARATOR+false} :; then
     79   PATH_SEPARATOR=:
     80   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     81     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     82       PATH_SEPARATOR=';'
     83   }
     84 fi
     85 
     86 
     87 # Find who we are.  Look in the path if we contain no directory separator.
     88 as_myself=
     89 case $0 in #((
     90   *[\\/]* ) as_myself=$0 ;;
     91   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     92 for as_dir in $PATH
     93 do
     94   IFS=$as_save_IFS
     95   case $as_dir in #(((
     96     '') as_dir=./ ;;
     97     */) ;;
     98     *) as_dir=$as_dir/ ;;
     99   esac
    100     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 
    117 # Use a proper internal environment variable to ensure we don't fall
    118   # into an infinite loop, continuously re-executing ourselves.
    119   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    120     _as_can_reexec=no; export _as_can_reexec;
    121     # We cannot yet assume a decent shell, so we have to provide a
    122 # neutralization value for shells without unset; and this also
    123 # works around shells that cannot unset nonexistent variables.
    124 # Preserve -v and -x to the replacement shell.
    125 BASH_ENV=/dev/null
    126 ENV=/dev/null
    127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    128 case $- in # ((((
    129   *v*x* | *x*v* ) as_opts=-vx ;;
    130   *v* ) as_opts=-v ;;
    131   *x* ) as_opts=-x ;;
    132   * ) as_opts= ;;
    133 esac
    134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    135 # Admittedly, this is quite paranoid, since all the known shells bail
    136 # out after a failed `exec'.
    137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    138 exit 255
    139   fi
    140   # We don't want this to propagate to other subprocesses.
    141           { _as_can_reexec=; unset _as_can_reexec;}
    142 if test "x$CONFIG_SHELL" = x; then
    143   as_bourne_compatible="as_nop=:
    144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    145 then :
    146   emulate sh
    147   NULLCMD=:
    148   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    149   # is contrary to our usage.  Disable this feature.
    150   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    151   setopt NO_GLOB_SUBST
    152 else \$as_nop
    153   case \`(set -o) 2>/dev/null\` in #(
    154   *posix*) :
    155     set -o posix ;; #(
    156   *) :
    157      ;;
    158 esac
    159 fi
    160 "
    161   as_required="as_fn_return () { (exit \$1); }
    162 as_fn_success () { as_fn_return 0; }
    163 as_fn_failure () { as_fn_return 1; }
    164 as_fn_ret_success () { return 0; }
    165 as_fn_ret_failure () { return 1; }
    166 
    167 exitcode=0
    168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
    173 then :
    174 
    175 else \$as_nop
    176   exitcode=1; echo positional parameters were not saved.
    177 fi
    178 test x\$exitcode = x0 || exit 1
    179 blah=\$(echo \$(echo blah))
    180 test x\"\$blah\" = xblah || exit 1
    181 test -x / || exit 1"
    182   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    183   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    184   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    185   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    186 
    187   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    188     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    189     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    190     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    191     PATH=/empty FPATH=/empty; export PATH FPATH
    192     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    193       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    194 test \$(( 1 + 1 )) = 2 || exit 1"
    195   if (eval "$as_required") 2>/dev/null
    196 then :
    197   as_have_required=yes
    198 else $as_nop
    199   as_have_required=no
    200 fi
    201   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    202 then :
    203 
    204 else $as_nop
    205   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    206 as_found=false
    207 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    208 do
    209   IFS=$as_save_IFS
    210   case $as_dir in #(((
    211     '') as_dir=./ ;;
    212     */) ;;
    213     *) as_dir=$as_dir/ ;;
    214   esac
    215   as_found=:
    216   case $as_dir in #(
    217 	 /*)
    218 	   for as_base in sh bash ksh sh5; do
    219 	     # Try only shells that exist, to save several forks.
    220 	     as_shell=$as_dir$as_base
    221 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    222 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    223 then :
    224   CONFIG_SHELL=$as_shell as_have_required=yes
    225 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    226 then :
    227   break 2
    228 fi
    229 fi
    230 	   done;;
    231        esac
    232   as_found=false
    233 done
    234 IFS=$as_save_IFS
    235 if $as_found
    236 then :
    237 
    238 else $as_nop
    239   if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    240 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    241 then :
    242   CONFIG_SHELL=$SHELL as_have_required=yes
    243 fi
    244 fi
    245 
    246 
    247       if test "x$CONFIG_SHELL" != x
    248 then :
    249   export CONFIG_SHELL
    250              # We cannot yet assume a decent shell, so we have to provide a
    251 # neutralization value for shells without unset; and this also
    252 # works around shells that cannot unset nonexistent variables.
    253 # Preserve -v and -x to the replacement shell.
    254 BASH_ENV=/dev/null
    255 ENV=/dev/null
    256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    257 case $- in # ((((
    258   *v*x* | *x*v* ) as_opts=-vx ;;
    259   *v* ) as_opts=-v ;;
    260   *x* ) as_opts=-x ;;
    261   * ) as_opts= ;;
    262 esac
    263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    264 # Admittedly, this is quite paranoid, since all the known shells bail
    265 # out after a failed `exec'.
    266 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno
    271 then :
    272   printf "%s\n" "$0: This script requires a shell more modern than all"
    273   printf "%s\n" "$0: the shells that I found on your system."
    274   if test ${ZSH_VERSION+y} ; then
    275     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    276     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    277   else
    278     printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
    279 $0: https://gitlab.freedesktop.org/xorg/lib/libXft/issues
    280 $0: about your system, including any error possibly output
    281 $0: before this message. Then install a modern shell, or
    282 $0: manually run the script under such a shell if you do
    283 $0: have one."
    284   fi
    285   exit 1
    286 fi
    287 fi
    288 fi
    289 SHELL=${CONFIG_SHELL-/bin/sh}
    290 export SHELL
    291 # Unset more variables known to interfere with behavior of common tools.
    292 CLICOLOR_FORCE= GREP_OPTIONS=
    293 unset CLICOLOR_FORCE GREP_OPTIONS
    294 
    295 ## --------------------- ##
    296 ## M4sh Shell Functions. ##
    297 ## --------------------- ##
    298 # as_fn_unset VAR
    299 # ---------------
    300 # Portably unset VAR.
    301 as_fn_unset ()
    302 {
    303   { eval $1=; unset $1;}
    304 }
    305 as_unset=as_fn_unset
    306 
    307 
    308 # as_fn_set_status STATUS
    309 # -----------------------
    310 # Set $? to STATUS, without forking.
    311 as_fn_set_status ()
    312 {
    313   return $1
    314 } # as_fn_set_status
    315 
    316 # as_fn_exit STATUS
    317 # -----------------
    318 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    319 as_fn_exit ()
    320 {
    321   set +e
    322   as_fn_set_status $1
    323   exit $1
    324 } # as_fn_exit
    325 # as_fn_nop
    326 # ---------
    327 # Do nothing but, unlike ":", preserve the value of $?.
    328 as_fn_nop ()
    329 {
    330   return $?
    331 }
    332 as_nop=as_fn_nop
    333 
    334 # as_fn_mkdir_p
    335 # -------------
    336 # Create "$as_dir" as a directory, including parents if necessary.
    337 as_fn_mkdir_p ()
    338 {
    339 
    340   case $as_dir in #(
    341   -*) as_dir=./$as_dir;;
    342   esac
    343   test -d "$as_dir" || eval $as_mkdir_p || {
    344     as_dirs=
    345     while :; do
    346       case $as_dir in #(
    347       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    348       *) as_qdir=$as_dir;;
    349       esac
    350       as_dirs="'$as_qdir' $as_dirs"
    351       as_dir=`$as_dirname -- "$as_dir" ||
    352 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    353 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    354 	 X"$as_dir" : 'X\(//\)$' \| \
    355 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    356 printf "%s\n" X"$as_dir" |
    357     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    358 	    s//\1/
    359 	    q
    360 	  }
    361 	  /^X\(\/\/\)[^/].*/{
    362 	    s//\1/
    363 	    q
    364 	  }
    365 	  /^X\(\/\/\)$/{
    366 	    s//\1/
    367 	    q
    368 	  }
    369 	  /^X\(\/\).*/{
    370 	    s//\1/
    371 	    q
    372 	  }
    373 	  s/.*/./; q'`
    374       test -d "$as_dir" && break
    375     done
    376     test -z "$as_dirs" || eval "mkdir $as_dirs"
    377   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    378 
    379 
    380 } # as_fn_mkdir_p
    381 
    382 # as_fn_executable_p FILE
    383 # -----------------------
    384 # Test if FILE is an executable regular file.
    385 as_fn_executable_p ()
    386 {
    387   test -f "$1" && test -x "$1"
    388 } # as_fn_executable_p
    389 # as_fn_append VAR VALUE
    390 # ----------------------
    391 # Append the text in VALUE to the end of the definition contained in VAR. Take
    392 # advantage of any shell optimizations that allow amortized linear growth over
    393 # repeated appends, instead of the typical quadratic growth present in naive
    394 # implementations.
    395 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    396 then :
    397   eval 'as_fn_append ()
    398   {
    399     eval $1+=\$2
    400   }'
    401 else $as_nop
    402   as_fn_append ()
    403   {
    404     eval $1=\$$1\$2
    405   }
    406 fi # as_fn_append
    407 
    408 # as_fn_arith ARG...
    409 # ------------------
    410 # Perform arithmetic evaluation on the ARGs, and store the result in the
    411 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    412 # must be portable across $(()) and expr.
    413 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    414 then :
    415   eval 'as_fn_arith ()
    416   {
    417     as_val=$(( $* ))
    418   }'
    419 else $as_nop
    420   as_fn_arith ()
    421   {
    422     as_val=`expr "$@" || test $? -eq 1`
    423   }
    424 fi # as_fn_arith
    425 
    426 # as_fn_nop
    427 # ---------
    428 # Do nothing but, unlike ":", preserve the value of $?.
    429 as_fn_nop ()
    430 {
    431   return $?
    432 }
    433 as_nop=as_fn_nop
    434 
    435 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    436 # ----------------------------------------
    437 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    438 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    439 # script with STATUS, using 1 if that was 0.
    440 as_fn_error ()
    441 {
    442   as_status=$1; test $as_status -eq 0 && as_status=1
    443   if test "$4"; then
    444     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    445     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    446   fi
    447   printf "%s\n" "$as_me: error: $2" >&2
    448   as_fn_exit $as_status
    449 } # as_fn_error
    450 
    451 if expr a : '\(a\)' >/dev/null 2>&1 &&
    452    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    453   as_expr=expr
    454 else
    455   as_expr=false
    456 fi
    457 
    458 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    459   as_basename=basename
    460 else
    461   as_basename=false
    462 fi
    463 
    464 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    465   as_dirname=dirname
    466 else
    467   as_dirname=false
    468 fi
    469 
    470 as_me=`$as_basename -- "$0" ||
    471 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    472 	 X"$0" : 'X\(//\)$' \| \
    473 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    474 printf "%s\n" X/"$0" |
    475     sed '/^.*\/\([^/][^/]*\)\/*$/{
    476 	    s//\1/
    477 	    q
    478 	  }
    479 	  /^X\/\(\/\/\)$/{
    480 	    s//\1/
    481 	    q
    482 	  }
    483 	  /^X\/\(\/\).*/{
    484 	    s//\1/
    485 	    q
    486 	  }
    487 	  s/.*/./; q'`
    488 
    489 # Avoid depending upon Character Ranges.
    490 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    491 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    492 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    493 as_cr_digits='0123456789'
    494 as_cr_alnum=$as_cr_Letters$as_cr_digits
    495 
    496 
    497   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    498   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    499   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    500   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    501   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    502   sed -n '
    503     p
    504     /[$]LINENO/=
    505   ' <$as_myself |
    506     sed '
    507       s/[$]LINENO.*/&-/
    508       t lineno
    509       b
    510       :lineno
    511       N
    512       :loop
    513       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    514       t loop
    515       s/-\n.*//
    516     ' >$as_me.lineno &&
    517   chmod +x "$as_me.lineno" ||
    518     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    519 
    520   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    521   # already done that, so ensure we don't try to do so again and fall
    522   # in an infinite loop.  This has already happened in practice.
    523   _as_can_reexec=no; export _as_can_reexec
    524   # Don't try to exec as it changes $[0], causing all sort of problems
    525   # (the dirname of $[0] is not the place where we might find the
    526   # original and so on.  Autoconf is especially sensitive to this).
    527   . "./$as_me.lineno"
    528   # Exit status is that of the last command.
    529   exit
    530 }
    531 
    532 
    533 # Determine whether it's possible to make 'echo' print without a newline.
    534 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    535 # for compatibility with existing Makefiles.
    536 ECHO_C= ECHO_N= ECHO_T=
    537 case `echo -n x` in #(((((
    538 -n*)
    539   case `echo 'xy\c'` in
    540   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    541   xy)  ECHO_C='\c';;
    542   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    543        ECHO_T='	';;
    544   esac;;
    545 *)
    546   ECHO_N='-n';;
    547 esac
    548 
    549 # For backward compatibility with old third-party macros, we provide
    550 # the shell variables $as_echo and $as_echo_n.  New code should use
    551 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    552 as_echo='printf %s\n'
    553 as_echo_n='printf %s'
    554 
    555 
    556 rm -f conf$$ conf$$.exe conf$$.file
    557 if test -d conf$$.dir; then
    558   rm -f conf$$.dir/conf$$.file
    559 else
    560   rm -f conf$$.dir
    561   mkdir conf$$.dir 2>/dev/null
    562 fi
    563 if (echo >conf$$.file) 2>/dev/null; then
    564   if ln -s conf$$.file conf$$ 2>/dev/null; then
    565     as_ln_s='ln -s'
    566     # ... but there are two gotchas:
    567     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    568     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    569     # In both cases, we have to default to `cp -pR'.
    570     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    571       as_ln_s='cp -pR'
    572   elif ln conf$$.file conf$$ 2>/dev/null; then
    573     as_ln_s=ln
    574   else
    575     as_ln_s='cp -pR'
    576   fi
    577 else
    578   as_ln_s='cp -pR'
    579 fi
    580 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    581 rmdir conf$$.dir 2>/dev/null
    582 
    583 if mkdir -p . 2>/dev/null; then
    584   as_mkdir_p='mkdir -p "$as_dir"'
    585 else
    586   test -d ./-p && rmdir ./-p
    587   as_mkdir_p=false
    588 fi
    589 
    590 as_test_x='test -x'
    591 as_executable_p=as_fn_executable_p
    592 
    593 # Sed expression to map a string onto a valid CPP name.
    594 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    595 
    596 # Sed expression to map a string onto a valid variable name.
    597 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    598 
    599 SHELL=${CONFIG_SHELL-/bin/sh}
    600 
    601 
    602 test -n "$DJDIR" || exec 7<&0 </dev/null
    603 exec 6>&1
    604 
    605 # Name of the host.
    606 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    607 # so uname gets run too.
    608 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    609 
    610 #
    611 # Initializations.
    612 #
    613 ac_default_prefix=/usr/local
    614 ac_clean_files=
    615 ac_config_libobj_dir=.
    616 LIBOBJS=
    617 cross_compiling=no
    618 subdirs=
    619 MFLAGS=
    620 MAKEFLAGS=
    621 
    622 # Identity of this package.
    623 PACKAGE_NAME='libXft'
    624 PACKAGE_TARNAME='libXft'
    625 PACKAGE_VERSION='2.3.7'
    626 PACKAGE_STRING='libXft 2.3.7'
    627 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libXft/issues'
    628 PACKAGE_URL=''
    629 
    630 ac_unique_file="Makefile.am"
    631 # Factoring default headers for most tests.
    632 ac_includes_default="\
    633 #include <stddef.h>
    634 #ifdef HAVE_STDIO_H
    635 # include <stdio.h>
    636 #endif
    637 #ifdef HAVE_STDLIB_H
    638 # include <stdlib.h>
    639 #endif
    640 #ifdef HAVE_STRING_H
    641 # include <string.h>
    642 #endif
    643 #ifdef HAVE_INTTYPES_H
    644 # include <inttypes.h>
    645 #endif
    646 #ifdef HAVE_STDINT_H
    647 # include <stdint.h>
    648 #endif
    649 #ifdef HAVE_STRINGS_H
    650 # include <strings.h>
    651 #endif
    652 #ifdef HAVE_SYS_TYPES_H
    653 # include <sys/types.h>
    654 #endif
    655 #ifdef HAVE_SYS_STAT_H
    656 # include <sys/stat.h>
    657 #endif
    658 #ifdef HAVE_UNISTD_H
    659 # include <unistd.h>
    660 #endif"
    661 
    662 ac_header_c_list=
    663 ac_subst_vars='am__EXEEXT_FALSE
    664 am__EXEEXT_TRUE
    665 LTLIBOBJS
    666 LIBOBJS
    667 FONTCONFIG_LIBS
    668 FONTCONFIG_CFLAGS
    669 FREETYPE_LIBS
    670 FREETYPE_CFLAGS
    671 XRENDER_LIBS
    672 XRENDER_CFLAGS
    673 XFT_LT_VERSION
    674 MAN_SUBSTS
    675 XORG_MAN_PAGE
    676 ADMIN_MAN_DIR
    677 DRIVER_MAN_DIR
    678 MISC_MAN_DIR
    679 FILE_MAN_DIR
    680 LIB_MAN_DIR
    681 APP_MAN_DIR
    682 ADMIN_MAN_SUFFIX
    683 DRIVER_MAN_SUFFIX
    684 MISC_MAN_SUFFIX
    685 FILE_MAN_SUFFIX
    686 LIB_MAN_SUFFIX
    687 APP_MAN_SUFFIX
    688 INSTALL_CMD
    689 PKG_CONFIG_LIBDIR
    690 PKG_CONFIG_PATH
    691 PKG_CONFIG
    692 CHANGELOG_CMD
    693 STRICT_CFLAGS
    694 CWARNFLAGS
    695 BASE_CFLAGS
    696 LT_SYS_LIBRARY_PATH
    697 OTOOL64
    698 OTOOL
    699 LIPO
    700 NMEDIT
    701 DSYMUTIL
    702 MANIFEST_TOOL
    703 RANLIB
    704 ac_ct_AR
    705 AR
    706 DLLTOOL
    707 OBJDUMP
    708 FILECMD
    709 LN_S
    710 NM
    711 ac_ct_DUMPBIN
    712 DUMPBIN
    713 LD
    714 FGREP
    715 EGREP
    716 GREP
    717 SED
    718 am__fastdepCC_FALSE
    719 am__fastdepCC_TRUE
    720 CCDEPMODE
    721 am__nodep
    722 AMDEPBACKSLASH
    723 AMDEP_FALSE
    724 AMDEP_TRUE
    725 am__include
    726 DEPDIR
    727 OBJEXT
    728 EXEEXT
    729 ac_ct_CC
    730 CPPFLAGS
    731 LDFLAGS
    732 CFLAGS
    733 CC
    734 host_os
    735 host_vendor
    736 host_cpu
    737 host
    738 build_os
    739 build_vendor
    740 build_cpu
    741 build
    742 LIBTOOL
    743 AM_BACKSLASH
    744 AM_DEFAULT_VERBOSITY
    745 AM_DEFAULT_V
    746 AM_V
    747 CSCOPE
    748 ETAGS
    749 CTAGS
    750 am__untar
    751 am__tar
    752 AMTAR
    753 am__leading_dot
    754 SET_MAKE
    755 AWK
    756 mkdir_p
    757 MKDIR_P
    758 INSTALL_STRIP_PROGRAM
    759 STRIP
    760 install_sh
    761 MAKEINFO
    762 AUTOHEADER
    763 AUTOMAKE
    764 AUTOCONF
    765 ACLOCAL
    766 VERSION
    767 PACKAGE
    768 CYGPATH_W
    769 am__isrc
    770 INSTALL_DATA
    771 INSTALL_SCRIPT
    772 INSTALL_PROGRAM
    773 target_alias
    774 host_alias
    775 build_alias
    776 LIBS
    777 ECHO_T
    778 ECHO_N
    779 ECHO_C
    780 DEFS
    781 mandir
    782 localedir
    783 libdir
    784 psdir
    785 pdfdir
    786 dvidir
    787 htmldir
    788 infodir
    789 docdir
    790 oldincludedir
    791 includedir
    792 runstatedir
    793 localstatedir
    794 sharedstatedir
    795 sysconfdir
    796 datadir
    797 datarootdir
    798 libexecdir
    799 sbindir
    800 bindir
    801 program_transform_name
    802 prefix
    803 exec_prefix
    804 PACKAGE_URL
    805 PACKAGE_BUGREPORT
    806 PACKAGE_STRING
    807 PACKAGE_VERSION
    808 PACKAGE_TARNAME
    809 PACKAGE_NAME
    810 PATH_SEPARATOR
    811 SHELL
    812 am__quote'
    813 ac_subst_files=''
    814 ac_user_opts='
    815 enable_option_checking
    816 enable_silent_rules
    817 enable_shared
    818 enable_static
    819 with_pic
    820 enable_fast_install
    821 with_aix_soname
    822 enable_dependency_tracking
    823 with_gnu_ld
    824 with_sysroot
    825 enable_libtool_lock
    826 enable_selective_werror
    827 enable_strict_compilation
    828 '
    829       ac_precious_vars='build_alias
    830 host_alias
    831 target_alias
    832 CC
    833 CFLAGS
    834 LDFLAGS
    835 LIBS
    836 CPPFLAGS
    837 LT_SYS_LIBRARY_PATH
    838 PKG_CONFIG
    839 PKG_CONFIG_PATH
    840 PKG_CONFIG_LIBDIR
    841 XRENDER_CFLAGS
    842 XRENDER_LIBS
    843 FREETYPE_CFLAGS
    844 FREETYPE_LIBS
    845 FONTCONFIG_CFLAGS
    846 FONTCONFIG_LIBS'
    847 
    848 
    849 # Initialize some variables set by options.
    850 ac_init_help=
    851 ac_init_version=false
    852 ac_unrecognized_opts=
    853 ac_unrecognized_sep=
    854 # The variables have the same names as the options, with
    855 # dashes changed to underlines.
    856 cache_file=/dev/null
    857 exec_prefix=NONE
    858 no_create=
    859 no_recursion=
    860 prefix=NONE
    861 program_prefix=NONE
    862 program_suffix=NONE
    863 program_transform_name=s,x,x,
    864 silent=
    865 site=
    866 srcdir=
    867 verbose=
    868 x_includes=NONE
    869 x_libraries=NONE
    870 
    871 # Installation directory options.
    872 # These are left unexpanded so users can "make install exec_prefix=/foo"
    873 # and all the variables that are supposed to be based on exec_prefix
    874 # by default will actually change.
    875 # Use braces instead of parens because sh, perl, etc. also accept them.
    876 # (The list follows the same order as the GNU Coding Standards.)
    877 bindir='${exec_prefix}/bin'
    878 sbindir='${exec_prefix}/sbin'
    879 libexecdir='${exec_prefix}/libexec'
    880 datarootdir='${prefix}/share'
    881 datadir='${datarootdir}'
    882 sysconfdir='${prefix}/etc'
    883 sharedstatedir='${prefix}/com'
    884 localstatedir='${prefix}/var'
    885 runstatedir='${localstatedir}/run'
    886 includedir='${prefix}/include'
    887 oldincludedir='/usr/include'
    888 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    889 infodir='${datarootdir}/info'
    890 htmldir='${docdir}'
    891 dvidir='${docdir}'
    892 pdfdir='${docdir}'
    893 psdir='${docdir}'
    894 libdir='${exec_prefix}/lib'
    895 localedir='${datarootdir}/locale'
    896 mandir='${datarootdir}/man'
    897 
    898 ac_prev=
    899 ac_dashdash=
    900 for ac_option
    901 do
    902   # If the previous option needs an argument, assign it.
    903   if test -n "$ac_prev"; then
    904     eval $ac_prev=\$ac_option
    905     ac_prev=
    906     continue
    907   fi
    908 
    909   case $ac_option in
    910   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    911   *=)   ac_optarg= ;;
    912   *)    ac_optarg=yes ;;
    913   esac
    914 
    915   case $ac_dashdash$ac_option in
    916   --)
    917     ac_dashdash=yes ;;
    918 
    919   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    920     ac_prev=bindir ;;
    921   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    922     bindir=$ac_optarg ;;
    923 
    924   -build | --build | --buil | --bui | --bu)
    925     ac_prev=build_alias ;;
    926   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    927     build_alias=$ac_optarg ;;
    928 
    929   -cache-file | --cache-file | --cache-fil | --cache-fi \
    930   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    931     ac_prev=cache_file ;;
    932   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    933   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    934     cache_file=$ac_optarg ;;
    935 
    936   --config-cache | -C)
    937     cache_file=config.cache ;;
    938 
    939   -datadir | --datadir | --datadi | --datad)
    940     ac_prev=datadir ;;
    941   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    942     datadir=$ac_optarg ;;
    943 
    944   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    945   | --dataroo | --dataro | --datar)
    946     ac_prev=datarootdir ;;
    947   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    948   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    949     datarootdir=$ac_optarg ;;
    950 
    951   -disable-* | --disable-*)
    952     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    953     # Reject names that are not valid shell variable names.
    954     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    955       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    956     ac_useropt_orig=$ac_useropt
    957     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    958     case $ac_user_opts in
    959       *"
    960 "enable_$ac_useropt"
    961 "*) ;;
    962       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    963 	 ac_unrecognized_sep=', ';;
    964     esac
    965     eval enable_$ac_useropt=no ;;
    966 
    967   -docdir | --docdir | --docdi | --doc | --do)
    968     ac_prev=docdir ;;
    969   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    970     docdir=$ac_optarg ;;
    971 
    972   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    973     ac_prev=dvidir ;;
    974   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    975     dvidir=$ac_optarg ;;
    976 
    977   -enable-* | --enable-*)
    978     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    979     # Reject names that are not valid shell variable names.
    980     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    981       as_fn_error $? "invalid feature name: \`$ac_useropt'"
    982     ac_useropt_orig=$ac_useropt
    983     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    984     case $ac_user_opts in
    985       *"
    986 "enable_$ac_useropt"
    987 "*) ;;
    988       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    989 	 ac_unrecognized_sep=', ';;
    990     esac
    991     eval enable_$ac_useropt=\$ac_optarg ;;
    992 
    993   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    994   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    995   | --exec | --exe | --ex)
    996     ac_prev=exec_prefix ;;
    997   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    998   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    999   | --exec=* | --exe=* | --ex=*)
   1000     exec_prefix=$ac_optarg ;;
   1001 
   1002   -gas | --gas | --ga | --g)
   1003     # Obsolete; use --with-gas.
   1004     with_gas=yes ;;
   1005 
   1006   -help | --help | --hel | --he | -h)
   1007     ac_init_help=long ;;
   1008   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1009     ac_init_help=recursive ;;
   1010   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1011     ac_init_help=short ;;
   1012 
   1013   -host | --host | --hos | --ho)
   1014     ac_prev=host_alias ;;
   1015   -host=* | --host=* | --hos=* | --ho=*)
   1016     host_alias=$ac_optarg ;;
   1017 
   1018   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1019     ac_prev=htmldir ;;
   1020   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1021   | --ht=*)
   1022     htmldir=$ac_optarg ;;
   1023 
   1024   -includedir | --includedir | --includedi | --included | --include \
   1025   | --includ | --inclu | --incl | --inc)
   1026     ac_prev=includedir ;;
   1027   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1028   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1029     includedir=$ac_optarg ;;
   1030 
   1031   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1032     ac_prev=infodir ;;
   1033   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1034     infodir=$ac_optarg ;;
   1035 
   1036   -libdir | --libdir | --libdi | --libd)
   1037     ac_prev=libdir ;;
   1038   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1039     libdir=$ac_optarg ;;
   1040 
   1041   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1042   | --libexe | --libex | --libe)
   1043     ac_prev=libexecdir ;;
   1044   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1045   | --libexe=* | --libex=* | --libe=*)
   1046     libexecdir=$ac_optarg ;;
   1047 
   1048   -localedir | --localedir | --localedi | --localed | --locale)
   1049     ac_prev=localedir ;;
   1050   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1051     localedir=$ac_optarg ;;
   1052 
   1053   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1054   | --localstate | --localstat | --localsta | --localst | --locals)
   1055     ac_prev=localstatedir ;;
   1056   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1057   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1058     localstatedir=$ac_optarg ;;
   1059 
   1060   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1061     ac_prev=mandir ;;
   1062   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1063     mandir=$ac_optarg ;;
   1064 
   1065   -nfp | --nfp | --nf)
   1066     # Obsolete; use --without-fp.
   1067     with_fp=no ;;
   1068 
   1069   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1070   | --no-cr | --no-c | -n)
   1071     no_create=yes ;;
   1072 
   1073   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1074   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1075     no_recursion=yes ;;
   1076 
   1077   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1078   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1079   | --oldin | --oldi | --old | --ol | --o)
   1080     ac_prev=oldincludedir ;;
   1081   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1082   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1083   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1084     oldincludedir=$ac_optarg ;;
   1085 
   1086   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1087     ac_prev=prefix ;;
   1088   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1089     prefix=$ac_optarg ;;
   1090 
   1091   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1092   | --program-pre | --program-pr | --program-p)
   1093     ac_prev=program_prefix ;;
   1094   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1095   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1096     program_prefix=$ac_optarg ;;
   1097 
   1098   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1099   | --program-suf | --program-su | --program-s)
   1100     ac_prev=program_suffix ;;
   1101   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1102   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1103     program_suffix=$ac_optarg ;;
   1104 
   1105   -program-transform-name | --program-transform-name \
   1106   | --program-transform-nam | --program-transform-na \
   1107   | --program-transform-n | --program-transform- \
   1108   | --program-transform | --program-transfor \
   1109   | --program-transfo | --program-transf \
   1110   | --program-trans | --program-tran \
   1111   | --progr-tra | --program-tr | --program-t)
   1112     ac_prev=program_transform_name ;;
   1113   -program-transform-name=* | --program-transform-name=* \
   1114   | --program-transform-nam=* | --program-transform-na=* \
   1115   | --program-transform-n=* | --program-transform-=* \
   1116   | --program-transform=* | --program-transfor=* \
   1117   | --program-transfo=* | --program-transf=* \
   1118   | --program-trans=* | --program-tran=* \
   1119   | --progr-tra=* | --program-tr=* | --program-t=*)
   1120     program_transform_name=$ac_optarg ;;
   1121 
   1122   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1123     ac_prev=pdfdir ;;
   1124   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1125     pdfdir=$ac_optarg ;;
   1126 
   1127   -psdir | --psdir | --psdi | --psd | --ps)
   1128     ac_prev=psdir ;;
   1129   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1130     psdir=$ac_optarg ;;
   1131 
   1132   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1133   | -silent | --silent | --silen | --sile | --sil)
   1134     silent=yes ;;
   1135 
   1136   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1137   | --runstate | --runstat | --runsta | --runst | --runs \
   1138   | --run | --ru | --r)
   1139     ac_prev=runstatedir ;;
   1140   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1141   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1142   | --run=* | --ru=* | --r=*)
   1143     runstatedir=$ac_optarg ;;
   1144 
   1145   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1146     ac_prev=sbindir ;;
   1147   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1148   | --sbi=* | --sb=*)
   1149     sbindir=$ac_optarg ;;
   1150 
   1151   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1152   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1153   | --sharedst | --shareds | --shared | --share | --shar \
   1154   | --sha | --sh)
   1155     ac_prev=sharedstatedir ;;
   1156   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1157   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1158   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1159   | --sha=* | --sh=*)
   1160     sharedstatedir=$ac_optarg ;;
   1161 
   1162   -site | --site | --sit)
   1163     ac_prev=site ;;
   1164   -site=* | --site=* | --sit=*)
   1165     site=$ac_optarg ;;
   1166 
   1167   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1168     ac_prev=srcdir ;;
   1169   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1170     srcdir=$ac_optarg ;;
   1171 
   1172   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1173   | --syscon | --sysco | --sysc | --sys | --sy)
   1174     ac_prev=sysconfdir ;;
   1175   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1176   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1177     sysconfdir=$ac_optarg ;;
   1178 
   1179   -target | --target | --targe | --targ | --tar | --ta | --t)
   1180     ac_prev=target_alias ;;
   1181   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1182     target_alias=$ac_optarg ;;
   1183 
   1184   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1185     verbose=yes ;;
   1186 
   1187   -version | --version | --versio | --versi | --vers | -V)
   1188     ac_init_version=: ;;
   1189 
   1190   -with-* | --with-*)
   1191     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1192     # Reject names that are not valid shell variable names.
   1193     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1194       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1195     ac_useropt_orig=$ac_useropt
   1196     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1197     case $ac_user_opts in
   1198       *"
   1199 "with_$ac_useropt"
   1200 "*) ;;
   1201       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1202 	 ac_unrecognized_sep=', ';;
   1203     esac
   1204     eval with_$ac_useropt=\$ac_optarg ;;
   1205 
   1206   -without-* | --without-*)
   1207     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1208     # Reject names that are not valid shell variable names.
   1209     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1210       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1211     ac_useropt_orig=$ac_useropt
   1212     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1213     case $ac_user_opts in
   1214       *"
   1215 "with_$ac_useropt"
   1216 "*) ;;
   1217       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1218 	 ac_unrecognized_sep=', ';;
   1219     esac
   1220     eval with_$ac_useropt=no ;;
   1221 
   1222   --x)
   1223     # Obsolete; use --with-x.
   1224     with_x=yes ;;
   1225 
   1226   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1227   | --x-incl | --x-inc | --x-in | --x-i)
   1228     ac_prev=x_includes ;;
   1229   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1230   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1231     x_includes=$ac_optarg ;;
   1232 
   1233   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1234   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1235     ac_prev=x_libraries ;;
   1236   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1237   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1238     x_libraries=$ac_optarg ;;
   1239 
   1240   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1241 Try \`$0 --help' for more information"
   1242     ;;
   1243 
   1244   *=*)
   1245     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1246     # Reject names that are not valid shell variable names.
   1247     case $ac_envvar in #(
   1248       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1249       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1250     esac
   1251     eval $ac_envvar=\$ac_optarg
   1252     export $ac_envvar ;;
   1253 
   1254   *)
   1255     # FIXME: should be removed in autoconf 3.0.
   1256     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1257     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1258       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1259     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1260     ;;
   1261 
   1262   esac
   1263 done
   1264 
   1265 if test -n "$ac_prev"; then
   1266   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1267   as_fn_error $? "missing argument to $ac_option"
   1268 fi
   1269 
   1270 if test -n "$ac_unrecognized_opts"; then
   1271   case $enable_option_checking in
   1272     no) ;;
   1273     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1274     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1275   esac
   1276 fi
   1277 
   1278 # Check all directory arguments for consistency.
   1279 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1280 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1281 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1282 		libdir localedir mandir runstatedir
   1283 do
   1284   eval ac_val=\$$ac_var
   1285   # Remove trailing slashes.
   1286   case $ac_val in
   1287     */ )
   1288       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1289       eval $ac_var=\$ac_val;;
   1290   esac
   1291   # Be sure to have absolute directory names.
   1292   case $ac_val in
   1293     [\\/$]* | ?:[\\/]* )  continue;;
   1294     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1295   esac
   1296   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1297 done
   1298 
   1299 # There might be people who depend on the old broken behavior: `$host'
   1300 # used to hold the argument of --host etc.
   1301 # FIXME: To remove some day.
   1302 build=$build_alias
   1303 host=$host_alias
   1304 target=$target_alias
   1305 
   1306 # FIXME: To remove some day.
   1307 if test "x$host_alias" != x; then
   1308   if test "x$build_alias" = x; then
   1309     cross_compiling=maybe
   1310   elif test "x$build_alias" != "x$host_alias"; then
   1311     cross_compiling=yes
   1312   fi
   1313 fi
   1314 
   1315 ac_tool_prefix=
   1316 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1317 
   1318 test "$silent" = yes && exec 6>/dev/null
   1319 
   1320 
   1321 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1322 ac_ls_di=`ls -di .` &&
   1323 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1324   as_fn_error $? "working directory cannot be determined"
   1325 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1326   as_fn_error $? "pwd does not report name of working directory"
   1327 
   1328 
   1329 # Find the source files, if location was not specified.
   1330 if test -z "$srcdir"; then
   1331   ac_srcdir_defaulted=yes
   1332   # Try the directory containing this script, then the parent directory.
   1333   ac_confdir=`$as_dirname -- "$as_myself" ||
   1334 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1335 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1336 	 X"$as_myself" : 'X\(//\)$' \| \
   1337 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1338 printf "%s\n" X"$as_myself" |
   1339     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1340 	    s//\1/
   1341 	    q
   1342 	  }
   1343 	  /^X\(\/\/\)[^/].*/{
   1344 	    s//\1/
   1345 	    q
   1346 	  }
   1347 	  /^X\(\/\/\)$/{
   1348 	    s//\1/
   1349 	    q
   1350 	  }
   1351 	  /^X\(\/\).*/{
   1352 	    s//\1/
   1353 	    q
   1354 	  }
   1355 	  s/.*/./; q'`
   1356   srcdir=$ac_confdir
   1357   if test ! -r "$srcdir/$ac_unique_file"; then
   1358     srcdir=..
   1359   fi
   1360 else
   1361   ac_srcdir_defaulted=no
   1362 fi
   1363 if test ! -r "$srcdir/$ac_unique_file"; then
   1364   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1365   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1366 fi
   1367 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1368 ac_abs_confdir=`(
   1369 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1370 	pwd)`
   1371 # When building in place, set srcdir=.
   1372 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1373   srcdir=.
   1374 fi
   1375 # Remove unnecessary trailing slashes from srcdir.
   1376 # Double slashes in file names in object file debugging info
   1377 # mess up M-x gdb in Emacs.
   1378 case $srcdir in
   1379 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1380 esac
   1381 for ac_var in $ac_precious_vars; do
   1382   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1383   eval ac_env_${ac_var}_value=\$${ac_var}
   1384   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1385   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1386 done
   1387 
   1388 #
   1389 # Report the --help message.
   1390 #
   1391 if test "$ac_init_help" = "long"; then
   1392   # Omit some internal or obsolete options to make the list less imposing.
   1393   # This message is too long to be a string in the A/UX 3.1 sh.
   1394   cat <<_ACEOF
   1395 \`configure' configures libXft 2.3.7 to adapt to many kinds of systems.
   1396 
   1397 Usage: $0 [OPTION]... [VAR=VALUE]...
   1398 
   1399 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1400 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1401 
   1402 Defaults for the options are specified in brackets.
   1403 
   1404 Configuration:
   1405   -h, --help              display this help and exit
   1406       --help=short        display options specific to this package
   1407       --help=recursive    display the short help of all the included packages
   1408   -V, --version           display version information and exit
   1409   -q, --quiet, --silent   do not print \`checking ...' messages
   1410       --cache-file=FILE   cache test results in FILE [disabled]
   1411   -C, --config-cache      alias for \`--cache-file=config.cache'
   1412   -n, --no-create         do not create output files
   1413       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1414 
   1415 Installation directories:
   1416   --prefix=PREFIX         install architecture-independent files in PREFIX
   1417                           [$ac_default_prefix]
   1418   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1419                           [PREFIX]
   1420 
   1421 By default, \`make install' will install all the files in
   1422 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1423 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1424 for instance \`--prefix=\$HOME'.
   1425 
   1426 For better control, use the options below.
   1427 
   1428 Fine tuning of the installation directories:
   1429   --bindir=DIR            user executables [EPREFIX/bin]
   1430   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1431   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1432   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1433   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1434   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1435   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1436   --libdir=DIR            object code libraries [EPREFIX/lib]
   1437   --includedir=DIR        C header files [PREFIX/include]
   1438   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1439   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1440   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1441   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1442   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1443   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1444   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXft]
   1445   --htmldir=DIR           html documentation [DOCDIR]
   1446   --dvidir=DIR            dvi documentation [DOCDIR]
   1447   --pdfdir=DIR            pdf documentation [DOCDIR]
   1448   --psdir=DIR             ps documentation [DOCDIR]
   1449 _ACEOF
   1450 
   1451   cat <<\_ACEOF
   1452 
   1453 Program names:
   1454   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1455   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1456   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1457 
   1458 System types:
   1459   --build=BUILD     configure for building on BUILD [guessed]
   1460   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1461 _ACEOF
   1462 fi
   1463 
   1464 if test -n "$ac_init_help"; then
   1465   case $ac_init_help in
   1466      short | recursive ) echo "Configuration of libXft 2.3.7:";;
   1467    esac
   1468   cat <<\_ACEOF
   1469 
   1470 Optional Features:
   1471   --disable-option-checking  ignore unrecognized --enable/--with options
   1472   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1473   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1474   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1475   --disable-silent-rules  verbose build output (undo: "make V=0")
   1476   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1477   --enable-static[=PKGS]  build static libraries [default=yes]
   1478   --enable-fast-install[=PKGS]
   1479                           optimize for fast installation [default=yes]
   1480   --enable-dependency-tracking
   1481                           do not reject slow dependency extractors
   1482   --disable-dependency-tracking
   1483                           speeds up one-time build
   1484   --disable-libtool-lock  avoid locking (might break parallel builds)
   1485   --disable-selective-werror
   1486                           Turn off selective compiler errors. (default:
   1487                           enabled)
   1488   --enable-strict-compilation
   1489                           Enable all warnings from compiler and make them
   1490                           errors (default: disabled)
   1491 
   1492 Optional Packages:
   1493   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1494   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1495   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1496                           both]
   1497   --with-aix-soname=aix|svr4|both
   1498                           shared library versioning (aka "SONAME") variant to
   1499                           provide on AIX, [default=aix].
   1500   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1501   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1502                           compiler's sysroot if not specified).
   1503 
   1504 Some influential environment variables:
   1505   CC          C compiler command
   1506   CFLAGS      C compiler flags
   1507   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1508               nonstandard directory <lib dir>
   1509   LIBS        libraries to pass to the linker, e.g. -l<library>
   1510   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1511               you have headers in a nonstandard directory <include dir>
   1512   LT_SYS_LIBRARY_PATH
   1513               User-defined run-time library search path.
   1514   PKG_CONFIG  path to pkg-config utility
   1515   PKG_CONFIG_PATH
   1516               directories to add to pkg-config's search path
   1517   PKG_CONFIG_LIBDIR
   1518               path overriding pkg-config's built-in search path
   1519   XRENDER_CFLAGS
   1520               C compiler flags for XRENDER, overriding pkg-config
   1521   XRENDER_LIBS
   1522               linker flags for XRENDER, overriding pkg-config
   1523   FREETYPE_CFLAGS
   1524               C compiler flags for FREETYPE, overriding pkg-config
   1525   FREETYPE_LIBS
   1526               linker flags for FREETYPE, overriding pkg-config
   1527   FONTCONFIG_CFLAGS
   1528               C compiler flags for FONTCONFIG, overriding pkg-config
   1529   FONTCONFIG_LIBS
   1530               linker flags for FONTCONFIG, overriding pkg-config
   1531 
   1532 Use these variables to override the choices made by `configure' or to help
   1533 it to find libraries and programs with nonstandard names/locations.
   1534 
   1535 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libXft/issues>.
   1536 _ACEOF
   1537 ac_status=$?
   1538 fi
   1539 
   1540 if test "$ac_init_help" = "recursive"; then
   1541   # If there are subdirs, report their specific --help.
   1542   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1543     test -d "$ac_dir" ||
   1544       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1545       continue
   1546     ac_builddir=.
   1547 
   1548 case "$ac_dir" in
   1549 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1550 *)
   1551   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1552   # A ".." for each directory in $ac_dir_suffix.
   1553   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1554   case $ac_top_builddir_sub in
   1555   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1556   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1557   esac ;;
   1558 esac
   1559 ac_abs_top_builddir=$ac_pwd
   1560 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1561 # for backward compatibility:
   1562 ac_top_builddir=$ac_top_build_prefix
   1563 
   1564 case $srcdir in
   1565   .)  # We are building in place.
   1566     ac_srcdir=.
   1567     ac_top_srcdir=$ac_top_builddir_sub
   1568     ac_abs_top_srcdir=$ac_pwd ;;
   1569   [\\/]* | ?:[\\/]* )  # Absolute name.
   1570     ac_srcdir=$srcdir$ac_dir_suffix;
   1571     ac_top_srcdir=$srcdir
   1572     ac_abs_top_srcdir=$srcdir ;;
   1573   *) # Relative name.
   1574     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1575     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1576     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1577 esac
   1578 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1579 
   1580     cd "$ac_dir" || { ac_status=$?; continue; }
   1581     # Check for configure.gnu first; this name is used for a wrapper for
   1582     # Metaconfig's "Configure" on case-insensitive file systems.
   1583     if test -f "$ac_srcdir/configure.gnu"; then
   1584       echo &&
   1585       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1586     elif test -f "$ac_srcdir/configure"; then
   1587       echo &&
   1588       $SHELL "$ac_srcdir/configure" --help=recursive
   1589     else
   1590       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1591     fi || ac_status=$?
   1592     cd "$ac_pwd" || { ac_status=$?; break; }
   1593   done
   1594 fi
   1595 
   1596 test -n "$ac_init_help" && exit $ac_status
   1597 if $ac_init_version; then
   1598   cat <<\_ACEOF
   1599 libXft configure 2.3.7
   1600 generated by GNU Autoconf 2.71
   1601 
   1602 Copyright (C) 2021 Free Software Foundation, Inc.
   1603 This configure script is free software; the Free Software Foundation
   1604 gives unlimited permission to copy, distribute and modify it.
   1605 _ACEOF
   1606   exit
   1607 fi
   1608 
   1609 ## ------------------------ ##
   1610 ## Autoconf initialization. ##
   1611 ## ------------------------ ##
   1612 
   1613 # ac_fn_c_try_compile LINENO
   1614 # --------------------------
   1615 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1616 ac_fn_c_try_compile ()
   1617 {
   1618   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1619   rm -f conftest.$ac_objext conftest.beam
   1620   if { { ac_try="$ac_compile"
   1621 case "(($ac_try" in
   1622   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1623   *) ac_try_echo=$ac_try;;
   1624 esac
   1625 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1626 printf "%s\n" "$ac_try_echo"; } >&5
   1627   (eval "$ac_compile") 2>conftest.err
   1628   ac_status=$?
   1629   if test -s conftest.err; then
   1630     grep -v '^ *+' conftest.err >conftest.er1
   1631     cat conftest.er1 >&5
   1632     mv -f conftest.er1 conftest.err
   1633   fi
   1634   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1635   test $ac_status = 0; } && {
   1636 	 test -z "$ac_c_werror_flag" ||
   1637 	 test ! -s conftest.err
   1638        } && test -s conftest.$ac_objext
   1639 then :
   1640   ac_retval=0
   1641 else $as_nop
   1642   printf "%s\n" "$as_me: failed program was:" >&5
   1643 sed 's/^/| /' conftest.$ac_ext >&5
   1644 
   1645 	ac_retval=1
   1646 fi
   1647   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1648   as_fn_set_status $ac_retval
   1649 
   1650 } # ac_fn_c_try_compile
   1651 
   1652 # ac_fn_c_try_link LINENO
   1653 # -----------------------
   1654 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1655 ac_fn_c_try_link ()
   1656 {
   1657   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1658   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1659   if { { ac_try="$ac_link"
   1660 case "(($ac_try" in
   1661   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1662   *) ac_try_echo=$ac_try;;
   1663 esac
   1664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1665 printf "%s\n" "$ac_try_echo"; } >&5
   1666   (eval "$ac_link") 2>conftest.err
   1667   ac_status=$?
   1668   if test -s conftest.err; then
   1669     grep -v '^ *+' conftest.err >conftest.er1
   1670     cat conftest.er1 >&5
   1671     mv -f conftest.er1 conftest.err
   1672   fi
   1673   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1674   test $ac_status = 0; } && {
   1675 	 test -z "$ac_c_werror_flag" ||
   1676 	 test ! -s conftest.err
   1677        } && test -s conftest$ac_exeext && {
   1678 	 test "$cross_compiling" = yes ||
   1679 	 test -x conftest$ac_exeext
   1680        }
   1681 then :
   1682   ac_retval=0
   1683 else $as_nop
   1684   printf "%s\n" "$as_me: failed program was:" >&5
   1685 sed 's/^/| /' conftest.$ac_ext >&5
   1686 
   1687 	ac_retval=1
   1688 fi
   1689   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1690   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1691   # interfere with the next link command; also delete a directory that is
   1692   # left behind by Apple's compiler.  We do this before executing the actions.
   1693   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1694   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1695   as_fn_set_status $ac_retval
   1696 
   1697 } # ac_fn_c_try_link
   1698 
   1699 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1700 # -------------------------------------------------------
   1701 # Tests whether HEADER exists and can be compiled using the include files in
   1702 # INCLUDES, setting the cache variable VAR accordingly.
   1703 ac_fn_c_check_header_compile ()
   1704 {
   1705   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1706   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1707 printf %s "checking for $2... " >&6; }
   1708 if eval test \${$3+y}
   1709 then :
   1710   printf %s "(cached) " >&6
   1711 else $as_nop
   1712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1713 /* end confdefs.h.  */
   1714 $4
   1715 #include <$2>
   1716 _ACEOF
   1717 if ac_fn_c_try_compile "$LINENO"
   1718 then :
   1719   eval "$3=yes"
   1720 else $as_nop
   1721   eval "$3=no"
   1722 fi
   1723 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1724 fi
   1725 eval ac_res=\$$3
   1726 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1727 printf "%s\n" "$ac_res" >&6; }
   1728   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1729 
   1730 } # ac_fn_c_check_header_compile
   1731 
   1732 # ac_fn_c_check_func LINENO FUNC VAR
   1733 # ----------------------------------
   1734 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1735 ac_fn_c_check_func ()
   1736 {
   1737   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1738   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1739 printf %s "checking for $2... " >&6; }
   1740 if eval test \${$3+y}
   1741 then :
   1742   printf %s "(cached) " >&6
   1743 else $as_nop
   1744   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1745 /* end confdefs.h.  */
   1746 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1747    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1748 #define $2 innocuous_$2
   1749 
   1750 /* System header to define __stub macros and hopefully few prototypes,
   1751    which can conflict with char $2 (); below.  */
   1752 
   1753 #include <limits.h>
   1754 #undef $2
   1755 
   1756 /* Override any GCC internal prototype to avoid an error.
   1757    Use char because int might match the return type of a GCC
   1758    builtin and then its argument prototype would still apply.  */
   1759 #ifdef __cplusplus
   1760 extern "C"
   1761 #endif
   1762 char $2 ();
   1763 /* The GNU C library defines this for functions which it implements
   1764     to always fail with ENOSYS.  Some functions are actually named
   1765     something starting with __ and the normal name is an alias.  */
   1766 #if defined __stub_$2 || defined __stub___$2
   1767 choke me
   1768 #endif
   1769 
   1770 int
   1771 main (void)
   1772 {
   1773 return $2 ();
   1774   ;
   1775   return 0;
   1776 }
   1777 _ACEOF
   1778 if ac_fn_c_try_link "$LINENO"
   1779 then :
   1780   eval "$3=yes"
   1781 else $as_nop
   1782   eval "$3=no"
   1783 fi
   1784 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1785     conftest$ac_exeext conftest.$ac_ext
   1786 fi
   1787 eval ac_res=\$$3
   1788 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1789 printf "%s\n" "$ac_res" >&6; }
   1790   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1791 
   1792 } # ac_fn_c_check_func
   1793 
   1794 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1795 # ------------------------------------------------------------------
   1796 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1797 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1798 ac_fn_check_decl ()
   1799 {
   1800   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1801   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1802   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1803 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1804 if eval test \${$3+y}
   1805 then :
   1806   printf %s "(cached) " >&6
   1807 else $as_nop
   1808   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1809   eval ac_save_FLAGS=\$$6
   1810   as_fn_append $6 " $5"
   1811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1812 /* end confdefs.h.  */
   1813 $4
   1814 int
   1815 main (void)
   1816 {
   1817 #ifndef $as_decl_name
   1818 #ifdef __cplusplus
   1819   (void) $as_decl_use;
   1820 #else
   1821   (void) $as_decl_name;
   1822 #endif
   1823 #endif
   1824 
   1825   ;
   1826   return 0;
   1827 }
   1828 _ACEOF
   1829 if ac_fn_c_try_compile "$LINENO"
   1830 then :
   1831   eval "$3=yes"
   1832 else $as_nop
   1833   eval "$3=no"
   1834 fi
   1835 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1836   eval $6=\$ac_save_FLAGS
   1837 
   1838 fi
   1839 eval ac_res=\$$3
   1840 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1841 printf "%s\n" "$ac_res" >&6; }
   1842   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1843 
   1844 } # ac_fn_check_decl
   1845 ac_configure_args_raw=
   1846 for ac_arg
   1847 do
   1848   case $ac_arg in
   1849   *\'*)
   1850     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1851   esac
   1852   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1853 done
   1854 
   1855 case $ac_configure_args_raw in
   1856   *$as_nl*)
   1857     ac_safe_unquote= ;;
   1858   *)
   1859     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1860     ac_unsafe_a="$ac_unsafe_z#~"
   1861     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1862     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1863 esac
   1864 
   1865 cat >config.log <<_ACEOF
   1866 This file contains any messages produced by compilers while
   1867 running configure, to aid debugging if configure makes a mistake.
   1868 
   1869 It was created by libXft $as_me 2.3.7, which was
   1870 generated by GNU Autoconf 2.71.  Invocation command line was
   1871 
   1872   $ $0$ac_configure_args_raw
   1873 
   1874 _ACEOF
   1875 exec 5>>config.log
   1876 {
   1877 cat <<_ASUNAME
   1878 ## --------- ##
   1879 ## Platform. ##
   1880 ## --------- ##
   1881 
   1882 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1883 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1884 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1885 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1886 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1887 
   1888 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1889 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1890 
   1891 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1892 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1893 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1894 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1895 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1896 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1897 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1898 
   1899 _ASUNAME
   1900 
   1901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1902 for as_dir in $PATH
   1903 do
   1904   IFS=$as_save_IFS
   1905   case $as_dir in #(((
   1906     '') as_dir=./ ;;
   1907     */) ;;
   1908     *) as_dir=$as_dir/ ;;
   1909   esac
   1910     printf "%s\n" "PATH: $as_dir"
   1911   done
   1912 IFS=$as_save_IFS
   1913 
   1914 } >&5
   1915 
   1916 cat >&5 <<_ACEOF
   1917 
   1918 
   1919 ## ----------- ##
   1920 ## Core tests. ##
   1921 ## ----------- ##
   1922 
   1923 _ACEOF
   1924 
   1925 
   1926 # Keep a trace of the command line.
   1927 # Strip out --no-create and --no-recursion so they do not pile up.
   1928 # Strip out --silent because we don't want to record it for future runs.
   1929 # Also quote any args containing shell meta-characters.
   1930 # Make two passes to allow for proper duplicate-argument suppression.
   1931 ac_configure_args=
   1932 ac_configure_args0=
   1933 ac_configure_args1=
   1934 ac_must_keep_next=false
   1935 for ac_pass in 1 2
   1936 do
   1937   for ac_arg
   1938   do
   1939     case $ac_arg in
   1940     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1941     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1942     | -silent | --silent | --silen | --sile | --sil)
   1943       continue ;;
   1944     *\'*)
   1945       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1946     esac
   1947     case $ac_pass in
   1948     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1949     2)
   1950       as_fn_append ac_configure_args1 " '$ac_arg'"
   1951       if test $ac_must_keep_next = true; then
   1952 	ac_must_keep_next=false # Got value, back to normal.
   1953       else
   1954 	case $ac_arg in
   1955 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1956 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1957 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1958 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1959 	    case "$ac_configure_args0 " in
   1960 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1961 	    esac
   1962 	    ;;
   1963 	  -* ) ac_must_keep_next=true ;;
   1964 	esac
   1965       fi
   1966       as_fn_append ac_configure_args " '$ac_arg'"
   1967       ;;
   1968     esac
   1969   done
   1970 done
   1971 { ac_configure_args0=; unset ac_configure_args0;}
   1972 { ac_configure_args1=; unset ac_configure_args1;}
   1973 
   1974 # When interrupted or exit'd, cleanup temporary files, and complete
   1975 # config.log.  We remove comments because anyway the quotes in there
   1976 # would cause problems or look ugly.
   1977 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1978 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1979 trap 'exit_status=$?
   1980   # Sanitize IFS.
   1981   IFS=" ""	$as_nl"
   1982   # Save into config.log some information that might help in debugging.
   1983   {
   1984     echo
   1985 
   1986     printf "%s\n" "## ---------------- ##
   1987 ## Cache variables. ##
   1988 ## ---------------- ##"
   1989     echo
   1990     # The following way of writing the cache mishandles newlines in values,
   1991 (
   1992   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1993     eval ac_val=\$$ac_var
   1994     case $ac_val in #(
   1995     *${as_nl}*)
   1996       case $ac_var in #(
   1997       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1998 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1999       esac
   2000       case $ac_var in #(
   2001       _ | IFS | as_nl) ;; #(
   2002       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2003       *) { eval $ac_var=; unset $ac_var;} ;;
   2004       esac ;;
   2005     esac
   2006   done
   2007   (set) 2>&1 |
   2008     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2009     *${as_nl}ac_space=\ *)
   2010       sed -n \
   2011 	"s/'\''/'\''\\\\'\'''\''/g;
   2012 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2013       ;; #(
   2014     *)
   2015       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2016       ;;
   2017     esac |
   2018     sort
   2019 )
   2020     echo
   2021 
   2022     printf "%s\n" "## ----------------- ##
   2023 ## Output variables. ##
   2024 ## ----------------- ##"
   2025     echo
   2026     for ac_var in $ac_subst_vars
   2027     do
   2028       eval ac_val=\$$ac_var
   2029       case $ac_val in
   2030       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2031       esac
   2032       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2033     done | sort
   2034     echo
   2035 
   2036     if test -n "$ac_subst_files"; then
   2037       printf "%s\n" "## ------------------- ##
   2038 ## File substitutions. ##
   2039 ## ------------------- ##"
   2040       echo
   2041       for ac_var in $ac_subst_files
   2042       do
   2043 	eval ac_val=\$$ac_var
   2044 	case $ac_val in
   2045 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2046 	esac
   2047 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2048       done | sort
   2049       echo
   2050     fi
   2051 
   2052     if test -s confdefs.h; then
   2053       printf "%s\n" "## ----------- ##
   2054 ## confdefs.h. ##
   2055 ## ----------- ##"
   2056       echo
   2057       cat confdefs.h
   2058       echo
   2059     fi
   2060     test "$ac_signal" != 0 &&
   2061       printf "%s\n" "$as_me: caught signal $ac_signal"
   2062     printf "%s\n" "$as_me: exit $exit_status"
   2063   } >&5
   2064   rm -f core *.core core.conftest.* &&
   2065     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2066     exit $exit_status
   2067 ' 0
   2068 for ac_signal in 1 2 13 15; do
   2069   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2070 done
   2071 ac_signal=0
   2072 
   2073 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2074 rm -f -r conftest* confdefs.h
   2075 
   2076 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2077 
   2078 # Predefined preprocessor variables.
   2079 
   2080 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2081 
   2082 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2083 
   2084 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2085 
   2086 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2087 
   2088 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2089 
   2090 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2091 
   2092 
   2093 # Let the site file select an alternate cache file if it wants to.
   2094 # Prefer an explicitly selected file to automatically selected ones.
   2095 if test -n "$CONFIG_SITE"; then
   2096   ac_site_files="$CONFIG_SITE"
   2097 elif test "x$prefix" != xNONE; then
   2098   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2099 else
   2100   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2101 fi
   2102 
   2103 for ac_site_file in $ac_site_files
   2104 do
   2105   case $ac_site_file in #(
   2106   */*) :
   2107      ;; #(
   2108   *) :
   2109     ac_site_file=./$ac_site_file ;;
   2110 esac
   2111   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2112     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2113 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2114     sed 's/^/| /' "$ac_site_file" >&5
   2115     . "$ac_site_file" \
   2116       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2117 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2118 as_fn_error $? "failed to load site script $ac_site_file
   2119 See \`config.log' for more details" "$LINENO" 5; }
   2120   fi
   2121 done
   2122 
   2123 if test -r "$cache_file"; then
   2124   # Some versions of bash will fail to source /dev/null (special files
   2125   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2126   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2127     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2128 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2129     case $cache_file in
   2130       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2131       *)                      . "./$cache_file";;
   2132     esac
   2133   fi
   2134 else
   2135   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2136 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2137   >$cache_file
   2138 fi
   2139 
   2140 # Test code for whether the C compiler supports C89 (global declarations)
   2141 ac_c_conftest_c89_globals='
   2142 /* Does the compiler advertise C89 conformance?
   2143    Do not test the value of __STDC__, because some compilers set it to 0
   2144    while being otherwise adequately conformant. */
   2145 #if !defined __STDC__
   2146 # error "Compiler does not advertise C89 conformance"
   2147 #endif
   2148 
   2149 #include <stddef.h>
   2150 #include <stdarg.h>
   2151 struct stat;
   2152 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2153 struct buf { int x; };
   2154 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2155 static char *e (p, i)
   2156      char **p;
   2157      int i;
   2158 {
   2159   return p[i];
   2160 }
   2161 static char *f (char * (*g) (char **, int), char **p, ...)
   2162 {
   2163   char *s;
   2164   va_list v;
   2165   va_start (v,p);
   2166   s = g (p, va_arg (v,int));
   2167   va_end (v);
   2168   return s;
   2169 }
   2170 
   2171 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2172    function prototypes and stuff, but not \xHH hex character constants.
   2173    These do not provoke an error unfortunately, instead are silently treated
   2174    as an "x".  The following induces an error, until -std is added to get
   2175    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2176    array size at least.  It is necessary to write \x00 == 0 to get something
   2177    that is true only with -std.  */
   2178 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2179 
   2180 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2181    inside strings and character constants.  */
   2182 #define FOO(x) '\''x'\''
   2183 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2184 
   2185 int test (int i, double x);
   2186 struct s1 {int (*f) (int a);};
   2187 struct s2 {int (*f) (double a);};
   2188 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2189                int, int);'
   2190 
   2191 # Test code for whether the C compiler supports C89 (body of main).
   2192 ac_c_conftest_c89_main='
   2193 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2194 '
   2195 
   2196 # Test code for whether the C compiler supports C99 (global declarations)
   2197 ac_c_conftest_c99_globals='
   2198 // Does the compiler advertise C99 conformance?
   2199 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2200 # error "Compiler does not advertise C99 conformance"
   2201 #endif
   2202 
   2203 #include <stdbool.h>
   2204 extern int puts (const char *);
   2205 extern int printf (const char *, ...);
   2206 extern int dprintf (int, const char *, ...);
   2207 extern void *malloc (size_t);
   2208 
   2209 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2210 // dprintf is used instead of fprintf to avoid needing to declare
   2211 // FILE and stderr.
   2212 #define debug(...) dprintf (2, __VA_ARGS__)
   2213 #define showlist(...) puts (#__VA_ARGS__)
   2214 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2215 static void
   2216 test_varargs_macros (void)
   2217 {
   2218   int x = 1234;
   2219   int y = 5678;
   2220   debug ("Flag");
   2221   debug ("X = %d\n", x);
   2222   showlist (The first, second, and third items.);
   2223   report (x>y, "x is %d but y is %d", x, y);
   2224 }
   2225 
   2226 // Check long long types.
   2227 #define BIG64 18446744073709551615ull
   2228 #define BIG32 4294967295ul
   2229 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2230 #if !BIG_OK
   2231   #error "your preprocessor is broken"
   2232 #endif
   2233 #if BIG_OK
   2234 #else
   2235   #error "your preprocessor is broken"
   2236 #endif
   2237 static long long int bignum = -9223372036854775807LL;
   2238 static unsigned long long int ubignum = BIG64;
   2239 
   2240 struct incomplete_array
   2241 {
   2242   int datasize;
   2243   double data[];
   2244 };
   2245 
   2246 struct named_init {
   2247   int number;
   2248   const wchar_t *name;
   2249   double average;
   2250 };
   2251 
   2252 typedef const char *ccp;
   2253 
   2254 static inline int
   2255 test_restrict (ccp restrict text)
   2256 {
   2257   // See if C++-style comments work.
   2258   // Iterate through items via the restricted pointer.
   2259   // Also check for declarations in for loops.
   2260   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2261     continue;
   2262   return 0;
   2263 }
   2264 
   2265 // Check varargs and va_copy.
   2266 static bool
   2267 test_varargs (const char *format, ...)
   2268 {
   2269   va_list args;
   2270   va_start (args, format);
   2271   va_list args_copy;
   2272   va_copy (args_copy, args);
   2273 
   2274   const char *str = "";
   2275   int number = 0;
   2276   float fnumber = 0;
   2277 
   2278   while (*format)
   2279     {
   2280       switch (*format++)
   2281 	{
   2282 	case '\''s'\'': // string
   2283 	  str = va_arg (args_copy, const char *);
   2284 	  break;
   2285 	case '\''d'\'': // int
   2286 	  number = va_arg (args_copy, int);
   2287 	  break;
   2288 	case '\''f'\'': // float
   2289 	  fnumber = va_arg (args_copy, double);
   2290 	  break;
   2291 	default:
   2292 	  break;
   2293 	}
   2294     }
   2295   va_end (args_copy);
   2296   va_end (args);
   2297 
   2298   return *str && number && fnumber;
   2299 }
   2300 '
   2301 
   2302 # Test code for whether the C compiler supports C99 (body of main).
   2303 ac_c_conftest_c99_main='
   2304   // Check bool.
   2305   _Bool success = false;
   2306   success |= (argc != 0);
   2307 
   2308   // Check restrict.
   2309   if (test_restrict ("String literal") == 0)
   2310     success = true;
   2311   char *restrict newvar = "Another string";
   2312 
   2313   // Check varargs.
   2314   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2315   test_varargs_macros ();
   2316 
   2317   // Check flexible array members.
   2318   struct incomplete_array *ia =
   2319     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2320   ia->datasize = 10;
   2321   for (int i = 0; i < ia->datasize; ++i)
   2322     ia->data[i] = i * 1.234;
   2323 
   2324   // Check named initializers.
   2325   struct named_init ni = {
   2326     .number = 34,
   2327     .name = L"Test wide string",
   2328     .average = 543.34343,
   2329   };
   2330 
   2331   ni.number = 58;
   2332 
   2333   int dynamic_array[ni.number];
   2334   dynamic_array[0] = argv[0][0];
   2335   dynamic_array[ni.number - 1] = 543;
   2336 
   2337   // work around unused variable warnings
   2338   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2339 	 || dynamic_array[ni.number - 1] != 543);
   2340 '
   2341 
   2342 # Test code for whether the C compiler supports C11 (global declarations)
   2343 ac_c_conftest_c11_globals='
   2344 // Does the compiler advertise C11 conformance?
   2345 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2346 # error "Compiler does not advertise C11 conformance"
   2347 #endif
   2348 
   2349 // Check _Alignas.
   2350 char _Alignas (double) aligned_as_double;
   2351 char _Alignas (0) no_special_alignment;
   2352 extern char aligned_as_int;
   2353 char _Alignas (0) _Alignas (int) aligned_as_int;
   2354 
   2355 // Check _Alignof.
   2356 enum
   2357 {
   2358   int_alignment = _Alignof (int),
   2359   int_array_alignment = _Alignof (int[100]),
   2360   char_alignment = _Alignof (char)
   2361 };
   2362 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2363 
   2364 // Check _Noreturn.
   2365 int _Noreturn does_not_return (void) { for (;;) continue; }
   2366 
   2367 // Check _Static_assert.
   2368 struct test_static_assert
   2369 {
   2370   int x;
   2371   _Static_assert (sizeof (int) <= sizeof (long int),
   2372                   "_Static_assert does not work in struct");
   2373   long int y;
   2374 };
   2375 
   2376 // Check UTF-8 literals.
   2377 #define u8 syntax error!
   2378 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2379 
   2380 // Check duplicate typedefs.
   2381 typedef long *long_ptr;
   2382 typedef long int *long_ptr;
   2383 typedef long_ptr long_ptr;
   2384 
   2385 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2386 struct anonymous
   2387 {
   2388   union {
   2389     struct { int i; int j; };
   2390     struct { int k; long int l; } w;
   2391   };
   2392   int m;
   2393 } v1;
   2394 '
   2395 
   2396 # Test code for whether the C compiler supports C11 (body of main).
   2397 ac_c_conftest_c11_main='
   2398   _Static_assert ((offsetof (struct anonymous, i)
   2399 		   == offsetof (struct anonymous, w.k)),
   2400 		  "Anonymous union alignment botch");
   2401   v1.i = 2;
   2402   v1.w.k = 5;
   2403   ok |= v1.i != 5;
   2404 '
   2405 
   2406 # Test code for whether the C compiler supports C11 (complete).
   2407 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2408 ${ac_c_conftest_c99_globals}
   2409 ${ac_c_conftest_c11_globals}
   2410 
   2411 int
   2412 main (int argc, char **argv)
   2413 {
   2414   int ok = 0;
   2415   ${ac_c_conftest_c89_main}
   2416   ${ac_c_conftest_c99_main}
   2417   ${ac_c_conftest_c11_main}
   2418   return ok;
   2419 }
   2420 "
   2421 
   2422 # Test code for whether the C compiler supports C99 (complete).
   2423 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2424 ${ac_c_conftest_c99_globals}
   2425 
   2426 int
   2427 main (int argc, char **argv)
   2428 {
   2429   int ok = 0;
   2430   ${ac_c_conftest_c89_main}
   2431   ${ac_c_conftest_c99_main}
   2432   return ok;
   2433 }
   2434 "
   2435 
   2436 # Test code for whether the C compiler supports C89 (complete).
   2437 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2438 
   2439 int
   2440 main (int argc, char **argv)
   2441 {
   2442   int ok = 0;
   2443   ${ac_c_conftest_c89_main}
   2444   return ok;
   2445 }
   2446 "
   2447 
   2448 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2449 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2450 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2451 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2452 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2453 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2454 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2455 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2456 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2457 
   2458 # Auxiliary files required by this configure script.
   2459 ac_aux_files="compile config.guess config.sub ltmain.sh missing install-sh"
   2460 
   2461 # Locations in which to look for auxiliary files.
   2462 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2463 
   2464 # Search for a directory containing all of the required auxiliary files,
   2465 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2466 # If we don't find one directory that contains all the files we need,
   2467 # we report the set of missing files from the *first* directory in
   2468 # $ac_aux_dir_candidates and give up.
   2469 ac_missing_aux_files=""
   2470 ac_first_candidate=:
   2471 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2473 as_found=false
   2474 for as_dir in $ac_aux_dir_candidates
   2475 do
   2476   IFS=$as_save_IFS
   2477   case $as_dir in #(((
   2478     '') as_dir=./ ;;
   2479     */) ;;
   2480     *) as_dir=$as_dir/ ;;
   2481   esac
   2482   as_found=:
   2483 
   2484   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2485   ac_aux_dir_found=yes
   2486   ac_install_sh=
   2487   for ac_aux in $ac_aux_files
   2488   do
   2489     # As a special case, if "install-sh" is required, that requirement
   2490     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2491     # and $ac_install_sh is set appropriately for whichever one is found.
   2492     if test x"$ac_aux" = x"install-sh"
   2493     then
   2494       if test -f "${as_dir}install-sh"; then
   2495         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2496         ac_install_sh="${as_dir}install-sh -c"
   2497       elif test -f "${as_dir}install.sh"; then
   2498         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2499         ac_install_sh="${as_dir}install.sh -c"
   2500       elif test -f "${as_dir}shtool"; then
   2501         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2502         ac_install_sh="${as_dir}shtool install -c"
   2503       else
   2504         ac_aux_dir_found=no
   2505         if $ac_first_candidate; then
   2506           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2507         else
   2508           break
   2509         fi
   2510       fi
   2511     else
   2512       if test -f "${as_dir}${ac_aux}"; then
   2513         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2514       else
   2515         ac_aux_dir_found=no
   2516         if $ac_first_candidate; then
   2517           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2518         else
   2519           break
   2520         fi
   2521       fi
   2522     fi
   2523   done
   2524   if test "$ac_aux_dir_found" = yes; then
   2525     ac_aux_dir="$as_dir"
   2526     break
   2527   fi
   2528   ac_first_candidate=false
   2529 
   2530   as_found=false
   2531 done
   2532 IFS=$as_save_IFS
   2533 if $as_found
   2534 then :
   2535 
   2536 else $as_nop
   2537   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2538 fi
   2539 
   2540 
   2541 # These three variables are undocumented and unsupported,
   2542 # and are intended to be withdrawn in a future Autoconf release.
   2543 # They can cause serious problems if a builder's source tree is in a directory
   2544 # whose full name contains unusual characters.
   2545 if test -f "${ac_aux_dir}config.guess"; then
   2546   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2547 fi
   2548 if test -f "${ac_aux_dir}config.sub"; then
   2549   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2550 fi
   2551 if test -f "$ac_aux_dir/configure"; then
   2552   ac_configure="$SHELL ${ac_aux_dir}configure"
   2553 fi
   2554 
   2555 # Check that the precious variables saved in the cache have kept the same
   2556 # value.
   2557 ac_cache_corrupted=false
   2558 for ac_var in $ac_precious_vars; do
   2559   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2560   eval ac_new_set=\$ac_env_${ac_var}_set
   2561   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2562   eval ac_new_val=\$ac_env_${ac_var}_value
   2563   case $ac_old_set,$ac_new_set in
   2564     set,)
   2565       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2566 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2567       ac_cache_corrupted=: ;;
   2568     ,set)
   2569       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2570 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2571       ac_cache_corrupted=: ;;
   2572     ,);;
   2573     *)
   2574       if test "x$ac_old_val" != "x$ac_new_val"; then
   2575 	# differences in whitespace do not lead to failure.
   2576 	ac_old_val_w=`echo x $ac_old_val`
   2577 	ac_new_val_w=`echo x $ac_new_val`
   2578 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2579 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2580 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2581 	  ac_cache_corrupted=:
   2582 	else
   2583 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2584 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2585 	  eval $ac_var=\$ac_old_val
   2586 	fi
   2587 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2588 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2589 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2590 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2591       fi;;
   2592   esac
   2593   # Pass precious variables to config.status.
   2594   if test "$ac_new_set" = set; then
   2595     case $ac_new_val in
   2596     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2597     *) ac_arg=$ac_var=$ac_new_val ;;
   2598     esac
   2599     case " $ac_configure_args " in
   2600       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2601       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2602     esac
   2603   fi
   2604 done
   2605 if $ac_cache_corrupted; then
   2606   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2607 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2608   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2609 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2610   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   2611 	    and start over" "$LINENO" 5
   2612 fi
   2613 ## -------------------- ##
   2614 ## Main body of script. ##
   2615 ## -------------------- ##
   2616 
   2617 ac_ext=c
   2618 ac_cpp='$CPP $CPPFLAGS'
   2619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2622 
   2623 
   2624 
   2625 ac_config_headers="$ac_config_headers config.h"
   2626 
   2627 
   2628 # Initialize Automake
   2629 am__api_version='1.16'
   2630 
   2631 
   2632 
   2633   # Find a good install program.  We prefer a C program (faster),
   2634 # so one script is as good as another.  But avoid the broken or
   2635 # incompatible versions:
   2636 # SysV /etc/install, /usr/sbin/install
   2637 # SunOS /usr/etc/install
   2638 # IRIX /sbin/install
   2639 # AIX /bin/install
   2640 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2641 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2642 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2643 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2644 # OS/2's system install, which has a completely different semantic
   2645 # ./install, which can be erroneously created by make from ./install.sh.
   2646 # Reject install programs that cannot install multiple files.
   2647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2648 printf %s "checking for a BSD-compatible install... " >&6; }
   2649 if test -z "$INSTALL"; then
   2650 if test ${ac_cv_path_install+y}
   2651 then :
   2652   printf %s "(cached) " >&6
   2653 else $as_nop
   2654   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2655 for as_dir in $PATH
   2656 do
   2657   IFS=$as_save_IFS
   2658   case $as_dir in #(((
   2659     '') as_dir=./ ;;
   2660     */) ;;
   2661     *) as_dir=$as_dir/ ;;
   2662   esac
   2663     # Account for fact that we put trailing slashes in our PATH walk.
   2664 case $as_dir in #((
   2665   ./ | /[cC]/* | \
   2666   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2667   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2668   /usr/ucb/* ) ;;
   2669   *)
   2670     # OSF1 and SCO ODT 3.0 have their own names for install.
   2671     # Don't use installbsd from OSF since it installs stuff as root
   2672     # by default.
   2673     for ac_prog in ginstall scoinst install; do
   2674       for ac_exec_ext in '' $ac_executable_extensions; do
   2675 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2676 	  if test $ac_prog = install &&
   2677 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2678 	    # AIX install.  It has an incompatible calling convention.
   2679 	    :
   2680 	  elif test $ac_prog = install &&
   2681 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2682 	    # program-specific install script used by HP pwplus--don't use.
   2683 	    :
   2684 	  else
   2685 	    rm -rf conftest.one conftest.two conftest.dir
   2686 	    echo one > conftest.one
   2687 	    echo two > conftest.two
   2688 	    mkdir conftest.dir
   2689 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2690 	      test -s conftest.one && test -s conftest.two &&
   2691 	      test -s conftest.dir/conftest.one &&
   2692 	      test -s conftest.dir/conftest.two
   2693 	    then
   2694 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2695 	      break 3
   2696 	    fi
   2697 	  fi
   2698 	fi
   2699       done
   2700     done
   2701     ;;
   2702 esac
   2703 
   2704   done
   2705 IFS=$as_save_IFS
   2706 
   2707 rm -rf conftest.one conftest.two conftest.dir
   2708 
   2709 fi
   2710   if test ${ac_cv_path_install+y}; then
   2711     INSTALL=$ac_cv_path_install
   2712   else
   2713     # As a last resort, use the slow shell script.  Don't cache a
   2714     # value for INSTALL within a source directory, because that will
   2715     # break other packages using the cache if that directory is
   2716     # removed, or if the value is a relative name.
   2717     INSTALL=$ac_install_sh
   2718   fi
   2719 fi
   2720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2721 printf "%s\n" "$INSTALL" >&6; }
   2722 
   2723 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2724 # It thinks the first close brace ends the variable substitution.
   2725 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2726 
   2727 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2728 
   2729 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2730 
   2731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2732 printf %s "checking whether build environment is sane... " >&6; }
   2733 # Reject unsafe characters in $srcdir or the absolute working directory
   2734 # name.  Accept space and tab only in the latter.
   2735 am_lf='
   2736 '
   2737 case `pwd` in
   2738   *[\\\"\#\$\&\'\`$am_lf]*)
   2739     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2740 esac
   2741 case $srcdir in
   2742   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2743     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2744 esac
   2745 
   2746 # Do 'set' in a subshell so we don't clobber the current shell's
   2747 # arguments.  Must try -L first in case configure is actually a
   2748 # symlink; some systems play weird games with the mod time of symlinks
   2749 # (eg FreeBSD returns the mod time of the symlink's containing
   2750 # directory).
   2751 if (
   2752    am_has_slept=no
   2753    for am_try in 1 2; do
   2754      echo "timestamp, slept: $am_has_slept" > conftest.file
   2755      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2756      if test "$*" = "X"; then
   2757 	# -L didn't work.
   2758 	set X `ls -t "$srcdir/configure" conftest.file`
   2759      fi
   2760      if test "$*" != "X $srcdir/configure conftest.file" \
   2761 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2762 
   2763 	# If neither matched, then we have a broken ls.  This can happen
   2764 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2765 	# broken ls alias from the environment.  This has actually
   2766 	# happened.  Such a system could not be considered "sane".
   2767 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2768   alias in your environment" "$LINENO" 5
   2769      fi
   2770      if test "$2" = conftest.file || test $am_try -eq 2; then
   2771        break
   2772      fi
   2773      # Just in case.
   2774      sleep 1
   2775      am_has_slept=yes
   2776    done
   2777    test "$2" = conftest.file
   2778    )
   2779 then
   2780    # Ok.
   2781    :
   2782 else
   2783    as_fn_error $? "newly created file is older than distributed files!
   2784 Check your system clock" "$LINENO" 5
   2785 fi
   2786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2787 printf "%s\n" "yes" >&6; }
   2788 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2789 # generated files are strictly newer.
   2790 am_sleep_pid=
   2791 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2792   ( sleep 1 ) &
   2793   am_sleep_pid=$!
   2794 fi
   2795 
   2796 rm -f conftest.file
   2797 
   2798 test "$program_prefix" != NONE &&
   2799   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2800 # Use a double $ so make ignores it.
   2801 test "$program_suffix" != NONE &&
   2802   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2803 # Double any \ or $.
   2804 # By default was `s,x,x', remove it if useless.
   2805 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2806 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2807 
   2808 
   2809 # Expand $ac_aux_dir to an absolute path.
   2810 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2811 
   2812 
   2813   if test x"${MISSING+set}" != xset; then
   2814   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2815 fi
   2816 # Use eval to expand $SHELL
   2817 if eval "$MISSING --is-lightweight"; then
   2818   am_missing_run="$MISSING "
   2819 else
   2820   am_missing_run=
   2821   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2822 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2823 fi
   2824 
   2825 if test x"${install_sh+set}" != xset; then
   2826   case $am_aux_dir in
   2827   *\ * | *\	*)
   2828     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2829   *)
   2830     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2831   esac
   2832 fi
   2833 
   2834 # Installed binaries are usually stripped using 'strip' when the user
   2835 # run "make install-strip".  However 'strip' might not be the right
   2836 # tool to use in cross-compilation environments, therefore Automake
   2837 # will honor the 'STRIP' environment variable to overrule this program.
   2838 if test "$cross_compiling" != no; then
   2839   if test -n "$ac_tool_prefix"; then
   2840   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2841 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2843 printf %s "checking for $ac_word... " >&6; }
   2844 if test ${ac_cv_prog_STRIP+y}
   2845 then :
   2846   printf %s "(cached) " >&6
   2847 else $as_nop
   2848   if test -n "$STRIP"; then
   2849   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2850 else
   2851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2852 for as_dir in $PATH
   2853 do
   2854   IFS=$as_save_IFS
   2855   case $as_dir in #(((
   2856     '') as_dir=./ ;;
   2857     */) ;;
   2858     *) as_dir=$as_dir/ ;;
   2859   esac
   2860     for ac_exec_ext in '' $ac_executable_extensions; do
   2861   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2862     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2863     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2864     break 2
   2865   fi
   2866 done
   2867   done
   2868 IFS=$as_save_IFS
   2869 
   2870 fi
   2871 fi
   2872 STRIP=$ac_cv_prog_STRIP
   2873 if test -n "$STRIP"; then
   2874   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2875 printf "%s\n" "$STRIP" >&6; }
   2876 else
   2877   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2878 printf "%s\n" "no" >&6; }
   2879 fi
   2880 
   2881 
   2882 fi
   2883 if test -z "$ac_cv_prog_STRIP"; then
   2884   ac_ct_STRIP=$STRIP
   2885   # Extract the first word of "strip", so it can be a program name with args.
   2886 set dummy strip; ac_word=$2
   2887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2888 printf %s "checking for $ac_word... " >&6; }
   2889 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2890 then :
   2891   printf %s "(cached) " >&6
   2892 else $as_nop
   2893   if test -n "$ac_ct_STRIP"; then
   2894   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2895 else
   2896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2897 for as_dir in $PATH
   2898 do
   2899   IFS=$as_save_IFS
   2900   case $as_dir in #(((
   2901     '') as_dir=./ ;;
   2902     */) ;;
   2903     *) as_dir=$as_dir/ ;;
   2904   esac
   2905     for ac_exec_ext in '' $ac_executable_extensions; do
   2906   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2907     ac_cv_prog_ac_ct_STRIP="strip"
   2908     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2909     break 2
   2910   fi
   2911 done
   2912   done
   2913 IFS=$as_save_IFS
   2914 
   2915 fi
   2916 fi
   2917 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2918 if test -n "$ac_ct_STRIP"; then
   2919   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2920 printf "%s\n" "$ac_ct_STRIP" >&6; }
   2921 else
   2922   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2923 printf "%s\n" "no" >&6; }
   2924 fi
   2925 
   2926   if test "x$ac_ct_STRIP" = x; then
   2927     STRIP=":"
   2928   else
   2929     case $cross_compiling:$ac_tool_warned in
   2930 yes:)
   2931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2932 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2933 ac_tool_warned=yes ;;
   2934 esac
   2935     STRIP=$ac_ct_STRIP
   2936   fi
   2937 else
   2938   STRIP="$ac_cv_prog_STRIP"
   2939 fi
   2940 
   2941 fi
   2942 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2943 
   2944 
   2945   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   2946 printf %s "checking for a race-free mkdir -p... " >&6; }
   2947 if test -z "$MKDIR_P"; then
   2948   if test ${ac_cv_path_mkdir+y}
   2949 then :
   2950   printf %s "(cached) " >&6
   2951 else $as_nop
   2952   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2953 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2954 do
   2955   IFS=$as_save_IFS
   2956   case $as_dir in #(((
   2957     '') as_dir=./ ;;
   2958     */) ;;
   2959     *) as_dir=$as_dir/ ;;
   2960   esac
   2961     for ac_prog in mkdir gmkdir; do
   2962 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2963 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   2964 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2965 	     'mkdir ('*'coreutils) '* | \
   2966 	     'BusyBox '* | \
   2967 	     'mkdir (fileutils) '4.1*)
   2968 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   2969 	       break 3;;
   2970 	   esac
   2971 	 done
   2972        done
   2973   done
   2974 IFS=$as_save_IFS
   2975 
   2976 fi
   2977 
   2978   test -d ./--version && rmdir ./--version
   2979   if test ${ac_cv_path_mkdir+y}; then
   2980     MKDIR_P="$ac_cv_path_mkdir -p"
   2981   else
   2982     # As a last resort, use the slow shell script.  Don't cache a
   2983     # value for MKDIR_P within a source directory, because that will
   2984     # break other packages using the cache if that directory is
   2985     # removed, or if the value is a relative name.
   2986     MKDIR_P="$ac_install_sh -d"
   2987   fi
   2988 fi
   2989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2990 printf "%s\n" "$MKDIR_P" >&6; }
   2991 
   2992 for ac_prog in gawk mawk nawk awk
   2993 do
   2994   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2995 set dummy $ac_prog; ac_word=$2
   2996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2997 printf %s "checking for $ac_word... " >&6; }
   2998 if test ${ac_cv_prog_AWK+y}
   2999 then :
   3000   printf %s "(cached) " >&6
   3001 else $as_nop
   3002   if test -n "$AWK"; then
   3003   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3004 else
   3005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3006 for as_dir in $PATH
   3007 do
   3008   IFS=$as_save_IFS
   3009   case $as_dir in #(((
   3010     '') as_dir=./ ;;
   3011     */) ;;
   3012     *) as_dir=$as_dir/ ;;
   3013   esac
   3014     for ac_exec_ext in '' $ac_executable_extensions; do
   3015   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3016     ac_cv_prog_AWK="$ac_prog"
   3017     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3018     break 2
   3019   fi
   3020 done
   3021   done
   3022 IFS=$as_save_IFS
   3023 
   3024 fi
   3025 fi
   3026 AWK=$ac_cv_prog_AWK
   3027 if test -n "$AWK"; then
   3028   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3029 printf "%s\n" "$AWK" >&6; }
   3030 else
   3031   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3032 printf "%s\n" "no" >&6; }
   3033 fi
   3034 
   3035 
   3036   test -n "$AWK" && break
   3037 done
   3038 
   3039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3040 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3041 set x ${MAKE-make}
   3042 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3043 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3044 then :
   3045   printf %s "(cached) " >&6
   3046 else $as_nop
   3047   cat >conftest.make <<\_ACEOF
   3048 SHELL = /bin/sh
   3049 all:
   3050 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3051 _ACEOF
   3052 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3053 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3054   *@@@%%%=?*=@@@%%%*)
   3055     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3056   *)
   3057     eval ac_cv_prog_make_${ac_make}_set=no;;
   3058 esac
   3059 rm -f conftest.make
   3060 fi
   3061 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3062   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3063 printf "%s\n" "yes" >&6; }
   3064   SET_MAKE=
   3065 else
   3066   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3067 printf "%s\n" "no" >&6; }
   3068   SET_MAKE="MAKE=${MAKE-make}"
   3069 fi
   3070 
   3071 rm -rf .tst 2>/dev/null
   3072 mkdir .tst 2>/dev/null
   3073 if test -d .tst; then
   3074   am__leading_dot=.
   3075 else
   3076   am__leading_dot=_
   3077 fi
   3078 rmdir .tst 2>/dev/null
   3079 
   3080 # Check whether --enable-silent-rules was given.
   3081 if test ${enable_silent_rules+y}
   3082 then :
   3083   enableval=$enable_silent_rules;
   3084 fi
   3085 
   3086 case $enable_silent_rules in # (((
   3087   yes) AM_DEFAULT_VERBOSITY=0;;
   3088    no) AM_DEFAULT_VERBOSITY=1;;
   3089     *) AM_DEFAULT_VERBOSITY=1;;
   3090 esac
   3091 am_make=${MAKE-make}
   3092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3093 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3094 if test ${am_cv_make_support_nested_variables+y}
   3095 then :
   3096   printf %s "(cached) " >&6
   3097 else $as_nop
   3098   if printf "%s\n" 'TRUE=$(BAR$(V))
   3099 BAR0=false
   3100 BAR1=true
   3101 V=1
   3102 am__doit:
   3103 	@$(TRUE)
   3104 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3105   am_cv_make_support_nested_variables=yes
   3106 else
   3107   am_cv_make_support_nested_variables=no
   3108 fi
   3109 fi
   3110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3111 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3112 if test $am_cv_make_support_nested_variables = yes; then
   3113     AM_V='$(V)'
   3114   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3115 else
   3116   AM_V=$AM_DEFAULT_VERBOSITY
   3117   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3118 fi
   3119 AM_BACKSLASH='\'
   3120 
   3121 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3122   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3123   # is not polluted with repeated "-I."
   3124   am__isrc=' -I$(srcdir)'
   3125   # test to see if srcdir already configured
   3126   if test -f $srcdir/config.status; then
   3127     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3128   fi
   3129 fi
   3130 
   3131 # test whether we have cygpath
   3132 if test -z "$CYGPATH_W"; then
   3133   if (cygpath --version) >/dev/null 2>/dev/null; then
   3134     CYGPATH_W='cygpath -w'
   3135   else
   3136     CYGPATH_W=echo
   3137   fi
   3138 fi
   3139 
   3140 
   3141 # Define the identity of the package.
   3142  PACKAGE='libXft'
   3143  VERSION='2.3.7'
   3144 
   3145 
   3146 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3147 
   3148 
   3149 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3150 
   3151 # Some tools Automake needs.
   3152 
   3153 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3154 
   3155 
   3156 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3157 
   3158 
   3159 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3160 
   3161 
   3162 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3163 
   3164 
   3165 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3166 
   3167 # For better backward compatibility.  To be removed once Automake 1.9.x
   3168 # dies out for good.  For more background, see:
   3169 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3170 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3171 mkdir_p='$(MKDIR_P)'
   3172 
   3173 # We need awk for the "check" target (and possibly the TAP driver).  The
   3174 # system "awk" is bad on some platforms.
   3175 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3176 # in the wild :-(  We should find a proper way to deprecate it ...
   3177 AMTAR='$${TAR-tar}'
   3178 
   3179 
   3180 # We'll loop over all known methods to create a tar archive until one works.
   3181 _am_tools='gnutar  pax cpio none'
   3182 
   3183 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3184 
   3185 
   3186 
   3187 
   3188 
   3189 # Variables for tags utilities; see am/tags.am
   3190 if test -z "$CTAGS"; then
   3191   CTAGS=ctags
   3192 fi
   3193 
   3194 if test -z "$ETAGS"; then
   3195   ETAGS=etags
   3196 fi
   3197 
   3198 if test -z "$CSCOPE"; then
   3199   CSCOPE=cscope
   3200 fi
   3201 
   3202 
   3203 
   3204 # POSIX will say in a future version that running "rm -f" with no argument
   3205 # is OK; and we want to be able to make that assumption in our Makefile
   3206 # recipes.  So use an aggressive probe to check that the usage we want is
   3207 # actually supported "in the wild" to an acceptable degree.
   3208 # See automake bug#10828.
   3209 # To make any issue more visible, cause the running configure to be aborted
   3210 # by default if the 'rm' program in use doesn't match our expectations; the
   3211 # user can still override this though.
   3212 if rm -f && rm -fr && rm -rf; then : OK; else
   3213   cat >&2 <<'END'
   3214 Oops!
   3215 
   3216 Your 'rm' program seems unable to run without file operands specified
   3217 on the command line, even when the '-f' option is present.  This is contrary
   3218 to the behaviour of most rm programs out there, and not conforming with
   3219 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3220 
   3221 Please tell bug-automake@gnu.org about your system, including the value
   3222 of your $PATH and any error possibly output before this message.  This
   3223 can help us improve future automake versions.
   3224 
   3225 END
   3226   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3227     echo 'Configuration will proceed anyway, since you have set the' >&2
   3228     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3229     echo >&2
   3230   else
   3231     cat >&2 <<'END'
   3232 Aborting the configuration process, to ensure you take notice of the issue.
   3233 
   3234 You can download and install GNU coreutils to get an 'rm' implementation
   3235 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   3236 
   3237 If you want to complete the configuration process using your problematic
   3238 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3239 to "yes", and re-run configure.
   3240 
   3241 END
   3242     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3243   fi
   3244 fi
   3245 
   3246 
   3247 # Initialize libtool
   3248 case `pwd` in
   3249   *\ * | *\	*)
   3250     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   3251 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   3252 esac
   3253 
   3254 
   3255 
   3256 macro_version='2.4.7'
   3257 macro_revision='2.4.7'
   3258 
   3259 
   3260 
   3261 
   3262 
   3263 
   3264 
   3265 
   3266 
   3267 
   3268 
   3269 
   3270 
   3271 
   3272 ltmain=$ac_aux_dir/ltmain.sh
   3273 
   3274 
   3275 
   3276   # Make sure we can run config.sub.
   3277 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   3278   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   3279 
   3280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3281 printf %s "checking build system type... " >&6; }
   3282 if test ${ac_cv_build+y}
   3283 then :
   3284   printf %s "(cached) " >&6
   3285 else $as_nop
   3286   ac_build_alias=$build_alias
   3287 test "x$ac_build_alias" = x &&
   3288   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   3289 test "x$ac_build_alias" = x &&
   3290   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3291 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   3292   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   3293 
   3294 fi
   3295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3296 printf "%s\n" "$ac_cv_build" >&6; }
   3297 case $ac_cv_build in
   3298 *-*-*) ;;
   3299 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3300 esac
   3301 build=$ac_cv_build
   3302 ac_save_IFS=$IFS; IFS='-'
   3303 set x $ac_cv_build
   3304 shift
   3305 build_cpu=$1
   3306 build_vendor=$2
   3307 shift; shift
   3308 # Remember, the first character of IFS is used to create $*,
   3309 # except with old shells:
   3310 build_os=$*
   3311 IFS=$ac_save_IFS
   3312 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3313 
   3314 
   3315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3316 printf %s "checking host system type... " >&6; }
   3317 if test ${ac_cv_host+y}
   3318 then :
   3319   printf %s "(cached) " >&6
   3320 else $as_nop
   3321   if test "x$host_alias" = x; then
   3322   ac_cv_host=$ac_cv_build
   3323 else
   3324   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   3325     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   3326 fi
   3327 
   3328 fi
   3329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3330 printf "%s\n" "$ac_cv_host" >&6; }
   3331 case $ac_cv_host in
   3332 *-*-*) ;;
   3333 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3334 esac
   3335 host=$ac_cv_host
   3336 ac_save_IFS=$IFS; IFS='-'
   3337 set x $ac_cv_host
   3338 shift
   3339 host_cpu=$1
   3340 host_vendor=$2
   3341 shift; shift
   3342 # Remember, the first character of IFS is used to create $*,
   3343 # except with old shells:
   3344 host_os=$*
   3345 IFS=$ac_save_IFS
   3346 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3347 
   3348 
   3349 # Backslashify metacharacters that are still active within
   3350 # double-quoted strings.
   3351 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   3352 
   3353 # Same as above, but do not quote variable references.
   3354 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   3355 
   3356 # Sed substitution to delay expansion of an escaped shell variable in a
   3357 # double_quote_subst'ed string.
   3358 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   3359 
   3360 # Sed substitution to delay expansion of an escaped single quote.
   3361 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   3362 
   3363 # Sed substitution to avoid accidental globbing in evaled expressions
   3364 no_glob_subst='s/\*/\\\*/g'
   3365 
   3366 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   3367 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   3368 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   3369 
   3370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   3371 printf %s "checking how to print strings... " >&6; }
   3372 # Test print first, because it will be a builtin if present.
   3373 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   3374    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   3375   ECHO='print -r --'
   3376 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   3377   ECHO='printf %s\n'
   3378 else
   3379   # Use this function as a fallback that always works.
   3380   func_fallback_echo ()
   3381   {
   3382     eval 'cat <<_LTECHO_EOF
   3383 $1
   3384 _LTECHO_EOF'
   3385   }
   3386   ECHO='func_fallback_echo'
   3387 fi
   3388 
   3389 # func_echo_all arg...
   3390 # Invoke $ECHO with all args, space-separated.
   3391 func_echo_all ()
   3392 {
   3393     $ECHO ""
   3394 }
   3395 
   3396 case $ECHO in
   3397   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   3398 printf "%s\n" "printf" >&6; } ;;
   3399   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   3400 printf "%s\n" "print -r" >&6; } ;;
   3401   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   3402 printf "%s\n" "cat" >&6; } ;;
   3403 esac
   3404 
   3405 
   3406 
   3407 
   3408 
   3409 
   3410 
   3411 
   3412 
   3413 
   3414 
   3415 
   3416 
   3417 
   3418 
   3419 
   3420 
   3421 
   3422 
   3423 
   3424 
   3425 
   3426 
   3427 DEPDIR="${am__leading_dot}deps"
   3428 
   3429 ac_config_commands="$ac_config_commands depfiles"
   3430 
   3431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3432 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3433 cat > confinc.mk << 'END'
   3434 am__doit:
   3435 	@echo this is the am__doit target >confinc.out
   3436 .PHONY: am__doit
   3437 END
   3438 am__include="#"
   3439 am__quote=
   3440 # BSD make does it like this.
   3441 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3442 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3443 echo 'include confinc.mk # ignored' > confmf.GNU
   3444 _am_result=no
   3445 for s in GNU BSD; do
   3446   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3447    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3448    ac_status=$?
   3449    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3450    (exit $ac_status); }
   3451   case $?:`cat confinc.out 2>/dev/null` in #(
   3452   '0:this is the am__doit target') :
   3453     case $s in #(
   3454   BSD) :
   3455     am__include='.include' am__quote='"' ;; #(
   3456   *) :
   3457     am__include='include' am__quote='' ;;
   3458 esac ;; #(
   3459   *) :
   3460      ;;
   3461 esac
   3462   if test "$am__include" != "#"; then
   3463     _am_result="yes ($s style)"
   3464     break
   3465   fi
   3466 done
   3467 rm -f confinc.* confmf.*
   3468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3469 printf "%s\n" "${_am_result}" >&6; }
   3470 
   3471 # Check whether --enable-dependency-tracking was given.
   3472 if test ${enable_dependency_tracking+y}
   3473 then :
   3474   enableval=$enable_dependency_tracking;
   3475 fi
   3476 
   3477 if test "x$enable_dependency_tracking" != xno; then
   3478   am_depcomp="$ac_aux_dir/depcomp"
   3479   AMDEPBACKSLASH='\'
   3480   am__nodep='_no'
   3481 fi
   3482  if test "x$enable_dependency_tracking" != xno; then
   3483   AMDEP_TRUE=
   3484   AMDEP_FALSE='#'
   3485 else
   3486   AMDEP_TRUE='#'
   3487   AMDEP_FALSE=
   3488 fi
   3489 
   3490 
   3491 ac_ext=c
   3492 ac_cpp='$CPP $CPPFLAGS'
   3493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3496 if test -n "$ac_tool_prefix"; then
   3497   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3498 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3500 printf %s "checking for $ac_word... " >&6; }
   3501 if test ${ac_cv_prog_CC+y}
   3502 then :
   3503   printf %s "(cached) " >&6
   3504 else $as_nop
   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   case $as_dir in #(((
   3513     '') as_dir=./ ;;
   3514     */) ;;
   3515     *) as_dir=$as_dir/ ;;
   3516   esac
   3517     for ac_exec_ext in '' $ac_executable_extensions; do
   3518   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3519     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3520     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3521     break 2
   3522   fi
   3523 done
   3524   done
   3525 IFS=$as_save_IFS
   3526 
   3527 fi
   3528 fi
   3529 CC=$ac_cv_prog_CC
   3530 if test -n "$CC"; then
   3531   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3532 printf "%s\n" "$CC" >&6; }
   3533 else
   3534   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3535 printf "%s\n" "no" >&6; }
   3536 fi
   3537 
   3538 
   3539 fi
   3540 if test -z "$ac_cv_prog_CC"; then
   3541   ac_ct_CC=$CC
   3542   # Extract the first word of "gcc", so it can be a program name with args.
   3543 set dummy gcc; ac_word=$2
   3544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3545 printf %s "checking for $ac_word... " >&6; }
   3546 if test ${ac_cv_prog_ac_ct_CC+y}
   3547 then :
   3548   printf %s "(cached) " >&6
   3549 else $as_nop
   3550   if test -n "$ac_ct_CC"; then
   3551   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3552 else
   3553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3554 for as_dir in $PATH
   3555 do
   3556   IFS=$as_save_IFS
   3557   case $as_dir in #(((
   3558     '') as_dir=./ ;;
   3559     */) ;;
   3560     *) as_dir=$as_dir/ ;;
   3561   esac
   3562     for ac_exec_ext in '' $ac_executable_extensions; do
   3563   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3564     ac_cv_prog_ac_ct_CC="gcc"
   3565     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3566     break 2
   3567   fi
   3568 done
   3569   done
   3570 IFS=$as_save_IFS
   3571 
   3572 fi
   3573 fi
   3574 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3575 if test -n "$ac_ct_CC"; then
   3576   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3577 printf "%s\n" "$ac_ct_CC" >&6; }
   3578 else
   3579   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3580 printf "%s\n" "no" >&6; }
   3581 fi
   3582 
   3583   if test "x$ac_ct_CC" = x; then
   3584     CC=""
   3585   else
   3586     case $cross_compiling:$ac_tool_warned in
   3587 yes:)
   3588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3589 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3590 ac_tool_warned=yes ;;
   3591 esac
   3592     CC=$ac_ct_CC
   3593   fi
   3594 else
   3595   CC="$ac_cv_prog_CC"
   3596 fi
   3597 
   3598 if test -z "$CC"; then
   3599           if test -n "$ac_tool_prefix"; then
   3600     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3601 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3603 printf %s "checking for $ac_word... " >&6; }
   3604 if test ${ac_cv_prog_CC+y}
   3605 then :
   3606   printf %s "(cached) " >&6
   3607 else $as_nop
   3608   if test -n "$CC"; then
   3609   ac_cv_prog_CC="$CC" # Let the user override the test.
   3610 else
   3611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3612 for as_dir in $PATH
   3613 do
   3614   IFS=$as_save_IFS
   3615   case $as_dir in #(((
   3616     '') as_dir=./ ;;
   3617     */) ;;
   3618     *) as_dir=$as_dir/ ;;
   3619   esac
   3620     for ac_exec_ext in '' $ac_executable_extensions; do
   3621   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3622     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3623     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3624     break 2
   3625   fi
   3626 done
   3627   done
   3628 IFS=$as_save_IFS
   3629 
   3630 fi
   3631 fi
   3632 CC=$ac_cv_prog_CC
   3633 if test -n "$CC"; then
   3634   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3635 printf "%s\n" "$CC" >&6; }
   3636 else
   3637   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3638 printf "%s\n" "no" >&6; }
   3639 fi
   3640 
   3641 
   3642   fi
   3643 fi
   3644 if test -z "$CC"; then
   3645   # Extract the first word of "cc", so it can be a program name with args.
   3646 set dummy cc; ac_word=$2
   3647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3648 printf %s "checking for $ac_word... " >&6; }
   3649 if test ${ac_cv_prog_CC+y}
   3650 then :
   3651   printf %s "(cached) " >&6
   3652 else $as_nop
   3653   if test -n "$CC"; then
   3654   ac_cv_prog_CC="$CC" # Let the user override the test.
   3655 else
   3656   ac_prog_rejected=no
   3657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3658 for as_dir in $PATH
   3659 do
   3660   IFS=$as_save_IFS
   3661   case $as_dir in #(((
   3662     '') as_dir=./ ;;
   3663     */) ;;
   3664     *) as_dir=$as_dir/ ;;
   3665   esac
   3666     for ac_exec_ext in '' $ac_executable_extensions; do
   3667   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3668     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3669        ac_prog_rejected=yes
   3670        continue
   3671      fi
   3672     ac_cv_prog_CC="cc"
   3673     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3674     break 2
   3675   fi
   3676 done
   3677   done
   3678 IFS=$as_save_IFS
   3679 
   3680 if test $ac_prog_rejected = yes; then
   3681   # We found a bogon in the path, so make sure we never use it.
   3682   set dummy $ac_cv_prog_CC
   3683   shift
   3684   if test $# != 0; then
   3685     # We chose a different compiler from the bogus one.
   3686     # However, it has the same basename, so the bogon will be chosen
   3687     # first if we set CC to just the basename; use the full file name.
   3688     shift
   3689     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3690   fi
   3691 fi
   3692 fi
   3693 fi
   3694 CC=$ac_cv_prog_CC
   3695 if test -n "$CC"; then
   3696   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3697 printf "%s\n" "$CC" >&6; }
   3698 else
   3699   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3700 printf "%s\n" "no" >&6; }
   3701 fi
   3702 
   3703 
   3704 fi
   3705 if test -z "$CC"; then
   3706   if test -n "$ac_tool_prefix"; then
   3707   for ac_prog in cl.exe
   3708   do
   3709     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3710 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3712 printf %s "checking for $ac_word... " >&6; }
   3713 if test ${ac_cv_prog_CC+y}
   3714 then :
   3715   printf %s "(cached) " >&6
   3716 else $as_nop
   3717   if test -n "$CC"; then
   3718   ac_cv_prog_CC="$CC" # Let the user override the test.
   3719 else
   3720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3721 for as_dir in $PATH
   3722 do
   3723   IFS=$as_save_IFS
   3724   case $as_dir in #(((
   3725     '') as_dir=./ ;;
   3726     */) ;;
   3727     *) as_dir=$as_dir/ ;;
   3728   esac
   3729     for ac_exec_ext in '' $ac_executable_extensions; do
   3730   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3731     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3732     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3733     break 2
   3734   fi
   3735 done
   3736   done
   3737 IFS=$as_save_IFS
   3738 
   3739 fi
   3740 fi
   3741 CC=$ac_cv_prog_CC
   3742 if test -n "$CC"; then
   3743   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3744 printf "%s\n" "$CC" >&6; }
   3745 else
   3746   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3747 printf "%s\n" "no" >&6; }
   3748 fi
   3749 
   3750 
   3751     test -n "$CC" && break
   3752   done
   3753 fi
   3754 if test -z "$CC"; then
   3755   ac_ct_CC=$CC
   3756   for ac_prog in cl.exe
   3757 do
   3758   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3759 set dummy $ac_prog; ac_word=$2
   3760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3761 printf %s "checking for $ac_word... " >&6; }
   3762 if test ${ac_cv_prog_ac_ct_CC+y}
   3763 then :
   3764   printf %s "(cached) " >&6
   3765 else $as_nop
   3766   if test -n "$ac_ct_CC"; then
   3767   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3768 else
   3769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3770 for as_dir in $PATH
   3771 do
   3772   IFS=$as_save_IFS
   3773   case $as_dir in #(((
   3774     '') as_dir=./ ;;
   3775     */) ;;
   3776     *) as_dir=$as_dir/ ;;
   3777   esac
   3778     for ac_exec_ext in '' $ac_executable_extensions; do
   3779   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3780     ac_cv_prog_ac_ct_CC="$ac_prog"
   3781     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3782     break 2
   3783   fi
   3784 done
   3785   done
   3786 IFS=$as_save_IFS
   3787 
   3788 fi
   3789 fi
   3790 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3791 if test -n "$ac_ct_CC"; then
   3792   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3793 printf "%s\n" "$ac_ct_CC" >&6; }
   3794 else
   3795   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3796 printf "%s\n" "no" >&6; }
   3797 fi
   3798 
   3799 
   3800   test -n "$ac_ct_CC" && break
   3801 done
   3802 
   3803   if test "x$ac_ct_CC" = x; then
   3804     CC=""
   3805   else
   3806     case $cross_compiling:$ac_tool_warned in
   3807 yes:)
   3808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3809 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3810 ac_tool_warned=yes ;;
   3811 esac
   3812     CC=$ac_ct_CC
   3813   fi
   3814 fi
   3815 
   3816 fi
   3817 if test -z "$CC"; then
   3818   if test -n "$ac_tool_prefix"; then
   3819   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3820 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3822 printf %s "checking for $ac_word... " >&6; }
   3823 if test ${ac_cv_prog_CC+y}
   3824 then :
   3825   printf %s "(cached) " >&6
   3826 else $as_nop
   3827   if test -n "$CC"; then
   3828   ac_cv_prog_CC="$CC" # Let the user override the test.
   3829 else
   3830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3831 for as_dir in $PATH
   3832 do
   3833   IFS=$as_save_IFS
   3834   case $as_dir in #(((
   3835     '') as_dir=./ ;;
   3836     */) ;;
   3837     *) as_dir=$as_dir/ ;;
   3838   esac
   3839     for ac_exec_ext in '' $ac_executable_extensions; do
   3840   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3841     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3842     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3843     break 2
   3844   fi
   3845 done
   3846   done
   3847 IFS=$as_save_IFS
   3848 
   3849 fi
   3850 fi
   3851 CC=$ac_cv_prog_CC
   3852 if test -n "$CC"; then
   3853   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3854 printf "%s\n" "$CC" >&6; }
   3855 else
   3856   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3857 printf "%s\n" "no" >&6; }
   3858 fi
   3859 
   3860 
   3861 fi
   3862 if test -z "$ac_cv_prog_CC"; then
   3863   ac_ct_CC=$CC
   3864   # Extract the first word of "clang", so it can be a program name with args.
   3865 set dummy clang; ac_word=$2
   3866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3867 printf %s "checking for $ac_word... " >&6; }
   3868 if test ${ac_cv_prog_ac_ct_CC+y}
   3869 then :
   3870   printf %s "(cached) " >&6
   3871 else $as_nop
   3872   if test -n "$ac_ct_CC"; then
   3873   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3874 else
   3875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3876 for as_dir in $PATH
   3877 do
   3878   IFS=$as_save_IFS
   3879   case $as_dir in #(((
   3880     '') as_dir=./ ;;
   3881     */) ;;
   3882     *) as_dir=$as_dir/ ;;
   3883   esac
   3884     for ac_exec_ext in '' $ac_executable_extensions; do
   3885   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3886     ac_cv_prog_ac_ct_CC="clang"
   3887     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3888     break 2
   3889   fi
   3890 done
   3891   done
   3892 IFS=$as_save_IFS
   3893 
   3894 fi
   3895 fi
   3896 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3897 if test -n "$ac_ct_CC"; then
   3898   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3899 printf "%s\n" "$ac_ct_CC" >&6; }
   3900 else
   3901   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3902 printf "%s\n" "no" >&6; }
   3903 fi
   3904 
   3905   if test "x$ac_ct_CC" = x; then
   3906     CC=""
   3907   else
   3908     case $cross_compiling:$ac_tool_warned in
   3909 yes:)
   3910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3911 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3912 ac_tool_warned=yes ;;
   3913 esac
   3914     CC=$ac_ct_CC
   3915   fi
   3916 else
   3917   CC="$ac_cv_prog_CC"
   3918 fi
   3919 
   3920 fi
   3921 
   3922 
   3923 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3924 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3925 as_fn_error $? "no acceptable C compiler found in \$PATH
   3926 See \`config.log' for more details" "$LINENO" 5; }
   3927 
   3928 # Provide some information about the compiler.
   3929 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3930 set X $ac_compile
   3931 ac_compiler=$2
   3932 for ac_option in --version -v -V -qversion -version; do
   3933   { { ac_try="$ac_compiler $ac_option >&5"
   3934 case "(($ac_try" in
   3935   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3936   *) ac_try_echo=$ac_try;;
   3937 esac
   3938 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3939 printf "%s\n" "$ac_try_echo"; } >&5
   3940   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3941   ac_status=$?
   3942   if test -s conftest.err; then
   3943     sed '10a\
   3944 ... rest of stderr output deleted ...
   3945          10q' conftest.err >conftest.er1
   3946     cat conftest.er1 >&5
   3947   fi
   3948   rm -f conftest.er1 conftest.err
   3949   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3950   test $ac_status = 0; }
   3951 done
   3952 
   3953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3954 /* end confdefs.h.  */
   3955 
   3956 int
   3957 main (void)
   3958 {
   3959 
   3960   ;
   3961   return 0;
   3962 }
   3963 _ACEOF
   3964 ac_clean_files_save=$ac_clean_files
   3965 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3966 # Try to create an executable without -o first, disregard a.out.
   3967 # It will help us diagnose broken compilers, and finding out an intuition
   3968 # of exeext.
   3969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3970 printf %s "checking whether the C compiler works... " >&6; }
   3971 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3972 
   3973 # The possible output files:
   3974 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3975 
   3976 ac_rmfiles=
   3977 for ac_file in $ac_files
   3978 do
   3979   case $ac_file in
   3980     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3981     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3982   esac
   3983 done
   3984 rm -f $ac_rmfiles
   3985 
   3986 if { { ac_try="$ac_link_default"
   3987 case "(($ac_try" in
   3988   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3989   *) ac_try_echo=$ac_try;;
   3990 esac
   3991 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3992 printf "%s\n" "$ac_try_echo"; } >&5
   3993   (eval "$ac_link_default") 2>&5
   3994   ac_status=$?
   3995   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3996   test $ac_status = 0; }
   3997 then :
   3998   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3999 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   4000 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4001 # so that the user can short-circuit this test for compilers unknown to
   4002 # Autoconf.
   4003 for ac_file in $ac_files ''
   4004 do
   4005   test -f "$ac_file" || continue
   4006   case $ac_file in
   4007     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4008 	;;
   4009     [ab].out )
   4010 	# We found the default executable, but exeext='' is most
   4011 	# certainly right.
   4012 	break;;
   4013     *.* )
   4014 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4015 	then :; else
   4016 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4017 	fi
   4018 	# We set ac_cv_exeext here because the later test for it is not
   4019 	# safe: cross compilers may not add the suffix if given an `-o'
   4020 	# argument, so we may need to know it at that point already.
   4021 	# Even if this section looks crufty: it has the advantage of
   4022 	# actually working.
   4023 	break;;
   4024     * )
   4025 	break;;
   4026   esac
   4027 done
   4028 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4029 
   4030 else $as_nop
   4031   ac_file=''
   4032 fi
   4033 if test -z "$ac_file"
   4034 then :
   4035   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4036 printf "%s\n" "no" >&6; }
   4037 printf "%s\n" "$as_me: failed program was:" >&5
   4038 sed 's/^/| /' conftest.$ac_ext >&5
   4039 
   4040 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4041 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4042 as_fn_error 77 "C compiler cannot create executables
   4043 See \`config.log' for more details" "$LINENO" 5; }
   4044 else $as_nop
   4045   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4046 printf "%s\n" "yes" >&6; }
   4047 fi
   4048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4049 printf %s "checking for C compiler default output file name... " >&6; }
   4050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4051 printf "%s\n" "$ac_file" >&6; }
   4052 ac_exeext=$ac_cv_exeext
   4053 
   4054 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4055 ac_clean_files=$ac_clean_files_save
   4056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4057 printf %s "checking for suffix of executables... " >&6; }
   4058 if { { ac_try="$ac_link"
   4059 case "(($ac_try" in
   4060   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4061   *) ac_try_echo=$ac_try;;
   4062 esac
   4063 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4064 printf "%s\n" "$ac_try_echo"; } >&5
   4065   (eval "$ac_link") 2>&5
   4066   ac_status=$?
   4067   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4068   test $ac_status = 0; }
   4069 then :
   4070   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   4071 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   4072 # work properly (i.e., refer to `conftest.exe'), while it won't with
   4073 # `rm'.
   4074 for ac_file in conftest.exe conftest conftest.*; do
   4075   test -f "$ac_file" || continue
   4076   case $ac_file in
   4077     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4078     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4079 	  break;;
   4080     * ) break;;
   4081   esac
   4082 done
   4083 else $as_nop
   4084   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4085 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4086 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4087 See \`config.log' for more details" "$LINENO" 5; }
   4088 fi
   4089 rm -f conftest conftest$ac_cv_exeext
   4090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4091 printf "%s\n" "$ac_cv_exeext" >&6; }
   4092 
   4093 rm -f conftest.$ac_ext
   4094 EXEEXT=$ac_cv_exeext
   4095 ac_exeext=$EXEEXT
   4096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4097 /* end confdefs.h.  */
   4098 #include <stdio.h>
   4099 int
   4100 main (void)
   4101 {
   4102 FILE *f = fopen ("conftest.out", "w");
   4103  return ferror (f) || fclose (f) != 0;
   4104 
   4105   ;
   4106   return 0;
   4107 }
   4108 _ACEOF
   4109 ac_clean_files="$ac_clean_files conftest.out"
   4110 # Check that the compiler produces executables we can run.  If not, either
   4111 # the compiler is broken, or we cross compile.
   4112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4113 printf %s "checking whether we are cross compiling... " >&6; }
   4114 if test "$cross_compiling" != yes; then
   4115   { { ac_try="$ac_link"
   4116 case "(($ac_try" in
   4117   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4118   *) ac_try_echo=$ac_try;;
   4119 esac
   4120 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4121 printf "%s\n" "$ac_try_echo"; } >&5
   4122   (eval "$ac_link") 2>&5
   4123   ac_status=$?
   4124   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4125   test $ac_status = 0; }
   4126   if { ac_try='./conftest$ac_cv_exeext'
   4127   { { case "(($ac_try" in
   4128   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4129   *) ac_try_echo=$ac_try;;
   4130 esac
   4131 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4132 printf "%s\n" "$ac_try_echo"; } >&5
   4133   (eval "$ac_try") 2>&5
   4134   ac_status=$?
   4135   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4136   test $ac_status = 0; }; }; then
   4137     cross_compiling=no
   4138   else
   4139     if test "$cross_compiling" = maybe; then
   4140 	cross_compiling=yes
   4141     else
   4142 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4143 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4144 as_fn_error 77 "cannot run C compiled programs.
   4145 If you meant to cross compile, use \`--host'.
   4146 See \`config.log' for more details" "$LINENO" 5; }
   4147     fi
   4148   fi
   4149 fi
   4150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4151 printf "%s\n" "$cross_compiling" >&6; }
   4152 
   4153 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   4154 ac_clean_files=$ac_clean_files_save
   4155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4156 printf %s "checking for suffix of object files... " >&6; }
   4157 if test ${ac_cv_objext+y}
   4158 then :
   4159   printf %s "(cached) " >&6
   4160 else $as_nop
   4161   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4162 /* end confdefs.h.  */
   4163 
   4164 int
   4165 main (void)
   4166 {
   4167 
   4168   ;
   4169   return 0;
   4170 }
   4171 _ACEOF
   4172 rm -f conftest.o conftest.obj
   4173 if { { ac_try="$ac_compile"
   4174 case "(($ac_try" in
   4175   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4176   *) ac_try_echo=$ac_try;;
   4177 esac
   4178 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4179 printf "%s\n" "$ac_try_echo"; } >&5
   4180   (eval "$ac_compile") 2>&5
   4181   ac_status=$?
   4182   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4183   test $ac_status = 0; }
   4184 then :
   4185   for ac_file in conftest.o conftest.obj conftest.*; do
   4186   test -f "$ac_file" || continue;
   4187   case $ac_file in
   4188     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4189     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4190        break;;
   4191   esac
   4192 done
   4193 else $as_nop
   4194   printf "%s\n" "$as_me: failed program was:" >&5
   4195 sed 's/^/| /' conftest.$ac_ext >&5
   4196 
   4197 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4198 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   4199 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4200 See \`config.log' for more details" "$LINENO" 5; }
   4201 fi
   4202 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4203 fi
   4204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4205 printf "%s\n" "$ac_cv_objext" >&6; }
   4206 OBJEXT=$ac_cv_objext
   4207 ac_objext=$OBJEXT
   4208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4209 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4210 if test ${ac_cv_c_compiler_gnu+y}
   4211 then :
   4212   printf %s "(cached) " >&6
   4213 else $as_nop
   4214   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4215 /* end confdefs.h.  */
   4216 
   4217 int
   4218 main (void)
   4219 {
   4220 #ifndef __GNUC__
   4221        choke me
   4222 #endif
   4223 
   4224   ;
   4225   return 0;
   4226 }
   4227 _ACEOF
   4228 if ac_fn_c_try_compile "$LINENO"
   4229 then :
   4230   ac_compiler_gnu=yes
   4231 else $as_nop
   4232   ac_compiler_gnu=no
   4233 fi
   4234 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4235 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4236 
   4237 fi
   4238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4239 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4241 
   4242 if test $ac_compiler_gnu = yes; then
   4243   GCC=yes
   4244 else
   4245   GCC=
   4246 fi
   4247 ac_test_CFLAGS=${CFLAGS+y}
   4248 ac_save_CFLAGS=$CFLAGS
   4249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4250 printf %s "checking whether $CC accepts -g... " >&6; }
   4251 if test ${ac_cv_prog_cc_g+y}
   4252 then :
   4253   printf %s "(cached) " >&6
   4254 else $as_nop
   4255   ac_save_c_werror_flag=$ac_c_werror_flag
   4256    ac_c_werror_flag=yes
   4257    ac_cv_prog_cc_g=no
   4258    CFLAGS="-g"
   4259    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4260 /* end confdefs.h.  */
   4261 
   4262 int
   4263 main (void)
   4264 {
   4265 
   4266   ;
   4267   return 0;
   4268 }
   4269 _ACEOF
   4270 if ac_fn_c_try_compile "$LINENO"
   4271 then :
   4272   ac_cv_prog_cc_g=yes
   4273 else $as_nop
   4274   CFLAGS=""
   4275       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4276 /* end confdefs.h.  */
   4277 
   4278 int
   4279 main (void)
   4280 {
   4281 
   4282   ;
   4283   return 0;
   4284 }
   4285 _ACEOF
   4286 if ac_fn_c_try_compile "$LINENO"
   4287 then :
   4288 
   4289 else $as_nop
   4290   ac_c_werror_flag=$ac_save_c_werror_flag
   4291 	 CFLAGS="-g"
   4292 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4293 /* end confdefs.h.  */
   4294 
   4295 int
   4296 main (void)
   4297 {
   4298 
   4299   ;
   4300   return 0;
   4301 }
   4302 _ACEOF
   4303 if ac_fn_c_try_compile "$LINENO"
   4304 then :
   4305   ac_cv_prog_cc_g=yes
   4306 fi
   4307 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4308 fi
   4309 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4310 fi
   4311 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4312    ac_c_werror_flag=$ac_save_c_werror_flag
   4313 fi
   4314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4315 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4316 if test $ac_test_CFLAGS; then
   4317   CFLAGS=$ac_save_CFLAGS
   4318 elif test $ac_cv_prog_cc_g = yes; then
   4319   if test "$GCC" = yes; then
   4320     CFLAGS="-g -O2"
   4321   else
   4322     CFLAGS="-g"
   4323   fi
   4324 else
   4325   if test "$GCC" = yes; then
   4326     CFLAGS="-O2"
   4327   else
   4328     CFLAGS=
   4329   fi
   4330 fi
   4331 ac_prog_cc_stdc=no
   4332 if test x$ac_prog_cc_stdc = xno
   4333 then :
   4334   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4335 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4336 if test ${ac_cv_prog_cc_c11+y}
   4337 then :
   4338   printf %s "(cached) " >&6
   4339 else $as_nop
   4340   ac_cv_prog_cc_c11=no
   4341 ac_save_CC=$CC
   4342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4343 /* end confdefs.h.  */
   4344 $ac_c_conftest_c11_program
   4345 _ACEOF
   4346 for ac_arg in '' -std=gnu11
   4347 do
   4348   CC="$ac_save_CC $ac_arg"
   4349   if ac_fn_c_try_compile "$LINENO"
   4350 then :
   4351   ac_cv_prog_cc_c11=$ac_arg
   4352 fi
   4353 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4354   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4355 done
   4356 rm -f conftest.$ac_ext
   4357 CC=$ac_save_CC
   4358 fi
   4359 
   4360 if test "x$ac_cv_prog_cc_c11" = xno
   4361 then :
   4362   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4363 printf "%s\n" "unsupported" >&6; }
   4364 else $as_nop
   4365   if test "x$ac_cv_prog_cc_c11" = x
   4366 then :
   4367   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4368 printf "%s\n" "none needed" >&6; }
   4369 else $as_nop
   4370   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4371 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4372      CC="$CC $ac_cv_prog_cc_c11"
   4373 fi
   4374   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4375   ac_prog_cc_stdc=c11
   4376 fi
   4377 fi
   4378 if test x$ac_prog_cc_stdc = xno
   4379 then :
   4380   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4381 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4382 if test ${ac_cv_prog_cc_c99+y}
   4383 then :
   4384   printf %s "(cached) " >&6
   4385 else $as_nop
   4386   ac_cv_prog_cc_c99=no
   4387 ac_save_CC=$CC
   4388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4389 /* end confdefs.h.  */
   4390 $ac_c_conftest_c99_program
   4391 _ACEOF
   4392 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4393 do
   4394   CC="$ac_save_CC $ac_arg"
   4395   if ac_fn_c_try_compile "$LINENO"
   4396 then :
   4397   ac_cv_prog_cc_c99=$ac_arg
   4398 fi
   4399 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4400   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4401 done
   4402 rm -f conftest.$ac_ext
   4403 CC=$ac_save_CC
   4404 fi
   4405 
   4406 if test "x$ac_cv_prog_cc_c99" = xno
   4407 then :
   4408   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4409 printf "%s\n" "unsupported" >&6; }
   4410 else $as_nop
   4411   if test "x$ac_cv_prog_cc_c99" = x
   4412 then :
   4413   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4414 printf "%s\n" "none needed" >&6; }
   4415 else $as_nop
   4416   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4417 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4418      CC="$CC $ac_cv_prog_cc_c99"
   4419 fi
   4420   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4421   ac_prog_cc_stdc=c99
   4422 fi
   4423 fi
   4424 if test x$ac_prog_cc_stdc = xno
   4425 then :
   4426   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4427 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4428 if test ${ac_cv_prog_cc_c89+y}
   4429 then :
   4430   printf %s "(cached) " >&6
   4431 else $as_nop
   4432   ac_cv_prog_cc_c89=no
   4433 ac_save_CC=$CC
   4434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4435 /* end confdefs.h.  */
   4436 $ac_c_conftest_c89_program
   4437 _ACEOF
   4438 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4439 do
   4440   CC="$ac_save_CC $ac_arg"
   4441   if ac_fn_c_try_compile "$LINENO"
   4442 then :
   4443   ac_cv_prog_cc_c89=$ac_arg
   4444 fi
   4445 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4446   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4447 done
   4448 rm -f conftest.$ac_ext
   4449 CC=$ac_save_CC
   4450 fi
   4451 
   4452 if test "x$ac_cv_prog_cc_c89" = xno
   4453 then :
   4454   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4455 printf "%s\n" "unsupported" >&6; }
   4456 else $as_nop
   4457   if test "x$ac_cv_prog_cc_c89" = x
   4458 then :
   4459   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4460 printf "%s\n" "none needed" >&6; }
   4461 else $as_nop
   4462   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4463 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4464      CC="$CC $ac_cv_prog_cc_c89"
   4465 fi
   4466   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4467   ac_prog_cc_stdc=c89
   4468 fi
   4469 fi
   4470 
   4471 ac_ext=c
   4472 ac_cpp='$CPP $CPPFLAGS'
   4473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4476 
   4477 
   4478   ac_ext=c
   4479 ac_cpp='$CPP $CPPFLAGS'
   4480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4484 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4485 if test ${am_cv_prog_cc_c_o+y}
   4486 then :
   4487   printf %s "(cached) " >&6
   4488 else $as_nop
   4489   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4490 /* end confdefs.h.  */
   4491 
   4492 int
   4493 main (void)
   4494 {
   4495 
   4496   ;
   4497   return 0;
   4498 }
   4499 _ACEOF
   4500   # Make sure it works both with $CC and with simple cc.
   4501   # Following AC_PROG_CC_C_O, we do the test twice because some
   4502   # compilers refuse to overwrite an existing .o file with -o,
   4503   # though they will create one.
   4504   am_cv_prog_cc_c_o=yes
   4505   for am_i in 1 2; do
   4506     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4507    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4508    ac_status=$?
   4509    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4510    (exit $ac_status); } \
   4511          && test -f conftest2.$ac_objext; then
   4512       : OK
   4513     else
   4514       am_cv_prog_cc_c_o=no
   4515       break
   4516     fi
   4517   done
   4518   rm -f core conftest*
   4519   unset am_i
   4520 fi
   4521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4522 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4523 if test "$am_cv_prog_cc_c_o" != yes; then
   4524    # Losing compiler, so override with the script.
   4525    # FIXME: It is wrong to rewrite CC.
   4526    # But if we don't then we get into trouble of one sort or another.
   4527    # A longer-term fix would be to have automake use am__CC in this case,
   4528    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4529    CC="$am_aux_dir/compile $CC"
   4530 fi
   4531 ac_ext=c
   4532 ac_cpp='$CPP $CPPFLAGS'
   4533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4536 
   4537 
   4538 depcc="$CC"   am_compiler_list=
   4539 
   4540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4541 printf %s "checking dependency style of $depcc... " >&6; }
   4542 if test ${am_cv_CC_dependencies_compiler_type+y}
   4543 then :
   4544   printf %s "(cached) " >&6
   4545 else $as_nop
   4546   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4547   # We make a subdir and do the tests there.  Otherwise we can end up
   4548   # making bogus files that we don't know about and never remove.  For
   4549   # instance it was reported that on HP-UX the gcc test will end up
   4550   # making a dummy file named 'D' -- because '-MD' means "put the output
   4551   # in D".
   4552   rm -rf conftest.dir
   4553   mkdir conftest.dir
   4554   # Copy depcomp to subdir because otherwise we won't find it if we're
   4555   # using a relative directory.
   4556   cp "$am_depcomp" conftest.dir
   4557   cd conftest.dir
   4558   # We will build objects and dependencies in a subdirectory because
   4559   # it helps to detect inapplicable dependency modes.  For instance
   4560   # both Tru64's cc and ICC support -MD to output dependencies as a
   4561   # side effect of compilation, but ICC will put the dependencies in
   4562   # the current directory while Tru64 will put them in the object
   4563   # directory.
   4564   mkdir sub
   4565 
   4566   am_cv_CC_dependencies_compiler_type=none
   4567   if test "$am_compiler_list" = ""; then
   4568      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4569   fi
   4570   am__universal=false
   4571   case " $depcc " in #(
   4572      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4573      esac
   4574 
   4575   for depmode in $am_compiler_list; do
   4576     # Setup a source with many dependencies, because some compilers
   4577     # like to wrap large dependency lists on column 80 (with \), and
   4578     # we should not choose a depcomp mode which is confused by this.
   4579     #
   4580     # We need to recreate these files for each test, as the compiler may
   4581     # overwrite some of them when testing with obscure command lines.
   4582     # This happens at least with the AIX C compiler.
   4583     : > sub/conftest.c
   4584     for i in 1 2 3 4 5 6; do
   4585       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4586       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4587       # Solaris 10 /bin/sh.
   4588       echo '/* dummy */' > sub/conftst$i.h
   4589     done
   4590     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4591 
   4592     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4593     # mode.  It turns out that the SunPro C++ compiler does not properly
   4594     # handle '-M -o', and we need to detect this.  Also, some Intel
   4595     # versions had trouble with output in subdirs.
   4596     am__obj=sub/conftest.${OBJEXT-o}
   4597     am__minus_obj="-o $am__obj"
   4598     case $depmode in
   4599     gcc)
   4600       # This depmode causes a compiler race in universal mode.
   4601       test "$am__universal" = false || continue
   4602       ;;
   4603     nosideeffect)
   4604       # After this tag, mechanisms are not by side-effect, so they'll
   4605       # only be used when explicitly requested.
   4606       if test "x$enable_dependency_tracking" = xyes; then
   4607 	continue
   4608       else
   4609 	break
   4610       fi
   4611       ;;
   4612     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4613       # This compiler won't grok '-c -o', but also, the minuso test has
   4614       # not run yet.  These depmodes are late enough in the game, and
   4615       # so weak that their functioning should not be impacted.
   4616       am__obj=conftest.${OBJEXT-o}
   4617       am__minus_obj=
   4618       ;;
   4619     none) break ;;
   4620     esac
   4621     if depmode=$depmode \
   4622        source=sub/conftest.c object=$am__obj \
   4623        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4624        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4625          >/dev/null 2>conftest.err &&
   4626        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4627        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4628        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4629        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4630       # icc doesn't choke on unknown options, it will just issue warnings
   4631       # or remarks (even with -Werror).  So we grep stderr for any message
   4632       # that says an option was ignored or not supported.
   4633       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4634       #   icc: Command line warning: ignoring option '-M'; no argument required
   4635       # The diagnosis changed in icc 8.0:
   4636       #   icc: Command line remark: option '-MP' not supported
   4637       if (grep 'ignoring option' conftest.err ||
   4638           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4639         am_cv_CC_dependencies_compiler_type=$depmode
   4640         break
   4641       fi
   4642     fi
   4643   done
   4644 
   4645   cd ..
   4646   rm -rf conftest.dir
   4647 else
   4648   am_cv_CC_dependencies_compiler_type=none
   4649 fi
   4650 
   4651 fi
   4652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4653 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4654 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4655 
   4656  if
   4657   test "x$enable_dependency_tracking" != xno \
   4658   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4659   am__fastdepCC_TRUE=
   4660   am__fastdepCC_FALSE='#'
   4661 else
   4662   am__fastdepCC_TRUE='#'
   4663   am__fastdepCC_FALSE=
   4664 fi
   4665 
   4666 
   4667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4668 printf %s "checking for a sed that does not truncate output... " >&6; }
   4669 if test ${ac_cv_path_SED+y}
   4670 then :
   4671   printf %s "(cached) " >&6
   4672 else $as_nop
   4673             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4674      for ac_i in 1 2 3 4 5 6 7; do
   4675        ac_script="$ac_script$as_nl$ac_script"
   4676      done
   4677      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4678      { ac_script=; unset ac_script;}
   4679      if test -z "$SED"; then
   4680   ac_path_SED_found=false
   4681   # Loop through the user's path and test for each of PROGNAME-LIST
   4682   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4683 for as_dir in $PATH
   4684 do
   4685   IFS=$as_save_IFS
   4686   case $as_dir in #(((
   4687     '') as_dir=./ ;;
   4688     */) ;;
   4689     *) as_dir=$as_dir/ ;;
   4690   esac
   4691     for ac_prog in sed gsed
   4692    do
   4693     for ac_exec_ext in '' $ac_executable_extensions; do
   4694       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4695       as_fn_executable_p "$ac_path_SED" || continue
   4696 # Check for GNU ac_path_SED and select it if it is found.
   4697   # Check for GNU $ac_path_SED
   4698 case `"$ac_path_SED" --version 2>&1` in
   4699 *GNU*)
   4700   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4701 *)
   4702   ac_count=0
   4703   printf %s 0123456789 >"conftest.in"
   4704   while :
   4705   do
   4706     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4707     mv "conftest.tmp" "conftest.in"
   4708     cp "conftest.in" "conftest.nl"
   4709     printf "%s\n" '' >> "conftest.nl"
   4710     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4711     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4712     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4713     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4714       # Best one so far, save it but keep looking for a better one
   4715       ac_cv_path_SED="$ac_path_SED"
   4716       ac_path_SED_max=$ac_count
   4717     fi
   4718     # 10*(2^10) chars as input seems more than enough
   4719     test $ac_count -gt 10 && break
   4720   done
   4721   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4722 esac
   4723 
   4724       $ac_path_SED_found && break 3
   4725     done
   4726   done
   4727   done
   4728 IFS=$as_save_IFS
   4729   if test -z "$ac_cv_path_SED"; then
   4730     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4731   fi
   4732 else
   4733   ac_cv_path_SED=$SED
   4734 fi
   4735 
   4736 fi
   4737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4738 printf "%s\n" "$ac_cv_path_SED" >&6; }
   4739  SED="$ac_cv_path_SED"
   4740   rm -f conftest.sed
   4741 
   4742 test -z "$SED" && SED=sed
   4743 Xsed="$SED -e 1s/^X//"
   4744 
   4745 
   4746 
   4747 
   4748 
   4749 
   4750 
   4751 
   4752 
   4753 
   4754 
   4755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4756 printf %s "checking for grep that handles long lines and -e... " >&6; }
   4757 if test ${ac_cv_path_GREP+y}
   4758 then :
   4759   printf %s "(cached) " >&6
   4760 else $as_nop
   4761   if test -z "$GREP"; then
   4762   ac_path_GREP_found=false
   4763   # Loop through the user's path and test for each of PROGNAME-LIST
   4764   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4765 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4766 do
   4767   IFS=$as_save_IFS
   4768   case $as_dir in #(((
   4769     '') as_dir=./ ;;
   4770     */) ;;
   4771     *) as_dir=$as_dir/ ;;
   4772   esac
   4773     for ac_prog in grep ggrep
   4774    do
   4775     for ac_exec_ext in '' $ac_executable_extensions; do
   4776       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   4777       as_fn_executable_p "$ac_path_GREP" || continue
   4778 # Check for GNU ac_path_GREP and select it if it is found.
   4779   # Check for GNU $ac_path_GREP
   4780 case `"$ac_path_GREP" --version 2>&1` in
   4781 *GNU*)
   4782   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4783 *)
   4784   ac_count=0
   4785   printf %s 0123456789 >"conftest.in"
   4786   while :
   4787   do
   4788     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4789     mv "conftest.tmp" "conftest.in"
   4790     cp "conftest.in" "conftest.nl"
   4791     printf "%s\n" 'GREP' >> "conftest.nl"
   4792     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4793     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4794     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4795     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4796       # Best one so far, save it but keep looking for a better one
   4797       ac_cv_path_GREP="$ac_path_GREP"
   4798       ac_path_GREP_max=$ac_count
   4799     fi
   4800     # 10*(2^10) chars as input seems more than enough
   4801     test $ac_count -gt 10 && break
   4802   done
   4803   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4804 esac
   4805 
   4806       $ac_path_GREP_found && break 3
   4807     done
   4808   done
   4809   done
   4810 IFS=$as_save_IFS
   4811   if test -z "$ac_cv_path_GREP"; then
   4812     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4813   fi
   4814 else
   4815   ac_cv_path_GREP=$GREP
   4816 fi
   4817 
   4818 fi
   4819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4820 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   4821  GREP="$ac_cv_path_GREP"
   4822 
   4823 
   4824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4825 printf %s "checking for egrep... " >&6; }
   4826 if test ${ac_cv_path_EGREP+y}
   4827 then :
   4828   printf %s "(cached) " >&6
   4829 else $as_nop
   4830   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4831    then ac_cv_path_EGREP="$GREP -E"
   4832    else
   4833      if test -z "$EGREP"; then
   4834   ac_path_EGREP_found=false
   4835   # Loop through the user's path and test for each of PROGNAME-LIST
   4836   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4837 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4838 do
   4839   IFS=$as_save_IFS
   4840   case $as_dir in #(((
   4841     '') as_dir=./ ;;
   4842     */) ;;
   4843     *) as_dir=$as_dir/ ;;
   4844   esac
   4845     for ac_prog in egrep
   4846    do
   4847     for ac_exec_ext in '' $ac_executable_extensions; do
   4848       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   4849       as_fn_executable_p "$ac_path_EGREP" || continue
   4850 # Check for GNU ac_path_EGREP and select it if it is found.
   4851   # Check for GNU $ac_path_EGREP
   4852 case `"$ac_path_EGREP" --version 2>&1` in
   4853 *GNU*)
   4854   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4855 *)
   4856   ac_count=0
   4857   printf %s 0123456789 >"conftest.in"
   4858   while :
   4859   do
   4860     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4861     mv "conftest.tmp" "conftest.in"
   4862     cp "conftest.in" "conftest.nl"
   4863     printf "%s\n" 'EGREP' >> "conftest.nl"
   4864     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4865     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4866     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4867     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4868       # Best one so far, save it but keep looking for a better one
   4869       ac_cv_path_EGREP="$ac_path_EGREP"
   4870       ac_path_EGREP_max=$ac_count
   4871     fi
   4872     # 10*(2^10) chars as input seems more than enough
   4873     test $ac_count -gt 10 && break
   4874   done
   4875   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4876 esac
   4877 
   4878       $ac_path_EGREP_found && break 3
   4879     done
   4880   done
   4881   done
   4882 IFS=$as_save_IFS
   4883   if test -z "$ac_cv_path_EGREP"; then
   4884     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4885   fi
   4886 else
   4887   ac_cv_path_EGREP=$EGREP
   4888 fi
   4889 
   4890    fi
   4891 fi
   4892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4893 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   4894  EGREP="$ac_cv_path_EGREP"
   4895 
   4896 
   4897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4898 printf %s "checking for fgrep... " >&6; }
   4899 if test ${ac_cv_path_FGREP+y}
   4900 then :
   4901   printf %s "(cached) " >&6
   4902 else $as_nop
   4903   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4904    then ac_cv_path_FGREP="$GREP -F"
   4905    else
   4906      if test -z "$FGREP"; then
   4907   ac_path_FGREP_found=false
   4908   # Loop through the user's path and test for each of PROGNAME-LIST
   4909   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4910 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4911 do
   4912   IFS=$as_save_IFS
   4913   case $as_dir in #(((
   4914     '') as_dir=./ ;;
   4915     */) ;;
   4916     *) as_dir=$as_dir/ ;;
   4917   esac
   4918     for ac_prog in fgrep
   4919    do
   4920     for ac_exec_ext in '' $ac_executable_extensions; do
   4921       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   4922       as_fn_executable_p "$ac_path_FGREP" || continue
   4923 # Check for GNU ac_path_FGREP and select it if it is found.
   4924   # Check for GNU $ac_path_FGREP
   4925 case `"$ac_path_FGREP" --version 2>&1` in
   4926 *GNU*)
   4927   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4928 *)
   4929   ac_count=0
   4930   printf %s 0123456789 >"conftest.in"
   4931   while :
   4932   do
   4933     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4934     mv "conftest.tmp" "conftest.in"
   4935     cp "conftest.in" "conftest.nl"
   4936     printf "%s\n" 'FGREP' >> "conftest.nl"
   4937     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4938     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4939     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4940     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4941       # Best one so far, save it but keep looking for a better one
   4942       ac_cv_path_FGREP="$ac_path_FGREP"
   4943       ac_path_FGREP_max=$ac_count
   4944     fi
   4945     # 10*(2^10) chars as input seems more than enough
   4946     test $ac_count -gt 10 && break
   4947   done
   4948   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4949 esac
   4950 
   4951       $ac_path_FGREP_found && break 3
   4952     done
   4953   done
   4954   done
   4955 IFS=$as_save_IFS
   4956   if test -z "$ac_cv_path_FGREP"; then
   4957     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4958   fi
   4959 else
   4960   ac_cv_path_FGREP=$FGREP
   4961 fi
   4962 
   4963    fi
   4964 fi
   4965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4966 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   4967  FGREP="$ac_cv_path_FGREP"
   4968 
   4969 
   4970 test -z "$GREP" && GREP=grep
   4971 
   4972 
   4973 
   4974 
   4975 
   4976 
   4977 
   4978 
   4979 
   4980 
   4981 
   4982 
   4983 
   4984 
   4985 
   4986 
   4987 
   4988 
   4989 
   4990 # Check whether --with-gnu-ld was given.
   4991 if test ${with_gnu_ld+y}
   4992 then :
   4993   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   4994 else $as_nop
   4995   with_gnu_ld=no
   4996 fi
   4997 
   4998 ac_prog=ld
   4999 if test yes = "$GCC"; then
   5000   # Check if gcc -print-prog-name=ld gives a path.
   5001   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5002 printf %s "checking for ld used by $CC... " >&6; }
   5003   case $host in
   5004   *-*-mingw*)
   5005     # gcc leaves a trailing carriage return, which upsets mingw
   5006     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5007   *)
   5008     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5009   esac
   5010   case $ac_prog in
   5011     # Accept absolute paths.
   5012     [\\/]* | ?:[\\/]*)
   5013       re_direlt='/[^/][^/]*/\.\./'
   5014       # Canonicalize the pathname of ld
   5015       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5016       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5017 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5018       done
   5019       test -z "$LD" && LD=$ac_prog
   5020       ;;
   5021   "")
   5022     # If it fails, then pretend we aren't using GCC.
   5023     ac_prog=ld
   5024     ;;
   5025   *)
   5026     # If it is relative, then search for the first ld in PATH.
   5027     with_gnu_ld=unknown
   5028     ;;
   5029   esac
   5030 elif test yes = "$with_gnu_ld"; then
   5031   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5032 printf %s "checking for GNU ld... " >&6; }
   5033 else
   5034   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5035 printf %s "checking for non-GNU ld... " >&6; }
   5036 fi
   5037 if test ${lt_cv_path_LD+y}
   5038 then :
   5039   printf %s "(cached) " >&6
   5040 else $as_nop
   5041   if test -z "$LD"; then
   5042   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5043   for ac_dir in $PATH; do
   5044     IFS=$lt_save_ifs
   5045     test -z "$ac_dir" && ac_dir=.
   5046     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5047       lt_cv_path_LD=$ac_dir/$ac_prog
   5048       # Check to see if the program is GNU ld.  I'd rather use --version,
   5049       # but apparently some variants of GNU ld only accept -v.
   5050       # Break only if it was the GNU/non-GNU ld that we prefer.
   5051       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5052       *GNU* | *'with BFD'*)
   5053 	test no != "$with_gnu_ld" && break
   5054 	;;
   5055       *)
   5056 	test yes != "$with_gnu_ld" && break
   5057 	;;
   5058       esac
   5059     fi
   5060   done
   5061   IFS=$lt_save_ifs
   5062 else
   5063   lt_cv_path_LD=$LD # Let the user override the test with a path.
   5064 fi
   5065 fi
   5066 
   5067 LD=$lt_cv_path_LD
   5068 if test -n "$LD"; then
   5069   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5070 printf "%s\n" "$LD" >&6; }
   5071 else
   5072   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5073 printf "%s\n" "no" >&6; }
   5074 fi
   5075 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5077 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   5078 if test ${lt_cv_prog_gnu_ld+y}
   5079 then :
   5080   printf %s "(cached) " >&6
   5081 else $as_nop
   5082   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5083 case `$LD -v 2>&1 </dev/null` in
   5084 *GNU* | *'with BFD'*)
   5085   lt_cv_prog_gnu_ld=yes
   5086   ;;
   5087 *)
   5088   lt_cv_prog_gnu_ld=no
   5089   ;;
   5090 esac
   5091 fi
   5092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5093 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   5094 with_gnu_ld=$lt_cv_prog_gnu_ld
   5095 
   5096 
   5097 
   5098 
   5099 
   5100 
   5101 
   5102 
   5103 
   5104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5105 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5106 if test ${lt_cv_path_NM+y}
   5107 then :
   5108   printf %s "(cached) " >&6
   5109 else $as_nop
   5110   if test -n "$NM"; then
   5111   # Let the user override the test.
   5112   lt_cv_path_NM=$NM
   5113 else
   5114   lt_nm_to_check=${ac_tool_prefix}nm
   5115   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5116     lt_nm_to_check="$lt_nm_to_check nm"
   5117   fi
   5118   for lt_tmp_nm in $lt_nm_to_check; do
   5119     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5120     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5121       IFS=$lt_save_ifs
   5122       test -z "$ac_dir" && ac_dir=.
   5123       tmp_nm=$ac_dir/$lt_tmp_nm
   5124       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   5125 	# Check to see if the nm accepts a BSD-compat flag.
   5126 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   5127 	#   nm: unknown option "B" ignored
   5128 	# Tru64's nm complains that /dev/null is an invalid object file
   5129 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   5130 	case $build_os in
   5131 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   5132 	*) lt_bad_file=/dev/null ;;
   5133 	esac
   5134 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   5135 	*$lt_bad_file* | *'Invalid file or object type'*)
   5136 	  lt_cv_path_NM="$tmp_nm -B"
   5137 	  break 2
   5138 	  ;;
   5139 	*)
   5140 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   5141 	  */dev/null*)
   5142 	    lt_cv_path_NM="$tmp_nm -p"
   5143 	    break 2
   5144 	    ;;
   5145 	  *)
   5146 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5147 	    continue # so that we can try to find one that supports BSD flags
   5148 	    ;;
   5149 	  esac
   5150 	  ;;
   5151 	esac
   5152       fi
   5153     done
   5154     IFS=$lt_save_ifs
   5155   done
   5156   : ${lt_cv_path_NM=no}
   5157 fi
   5158 fi
   5159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5160 printf "%s\n" "$lt_cv_path_NM" >&6; }
   5161 if test no != "$lt_cv_path_NM"; then
   5162   NM=$lt_cv_path_NM
   5163 else
   5164   # Didn't find any BSD compatible name lister, look for dumpbin.
   5165   if test -n "$DUMPBIN"; then :
   5166     # Let the user override the test.
   5167   else
   5168     if test -n "$ac_tool_prefix"; then
   5169   for ac_prog in dumpbin "link -dump"
   5170   do
   5171     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5172 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5174 printf %s "checking for $ac_word... " >&6; }
   5175 if test ${ac_cv_prog_DUMPBIN+y}
   5176 then :
   5177   printf %s "(cached) " >&6
   5178 else $as_nop
   5179   if test -n "$DUMPBIN"; then
   5180   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5181 else
   5182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5183 for as_dir in $PATH
   5184 do
   5185   IFS=$as_save_IFS
   5186   case $as_dir in #(((
   5187     '') as_dir=./ ;;
   5188     */) ;;
   5189     *) as_dir=$as_dir/ ;;
   5190   esac
   5191     for ac_exec_ext in '' $ac_executable_extensions; do
   5192   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5193     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5194     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5195     break 2
   5196   fi
   5197 done
   5198   done
   5199 IFS=$as_save_IFS
   5200 
   5201 fi
   5202 fi
   5203 DUMPBIN=$ac_cv_prog_DUMPBIN
   5204 if test -n "$DUMPBIN"; then
   5205   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5206 printf "%s\n" "$DUMPBIN" >&6; }
   5207 else
   5208   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5209 printf "%s\n" "no" >&6; }
   5210 fi
   5211 
   5212 
   5213     test -n "$DUMPBIN" && break
   5214   done
   5215 fi
   5216 if test -z "$DUMPBIN"; then
   5217   ac_ct_DUMPBIN=$DUMPBIN
   5218   for ac_prog in dumpbin "link -dump"
   5219 do
   5220   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5221 set dummy $ac_prog; ac_word=$2
   5222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5223 printf %s "checking for $ac_word... " >&6; }
   5224 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   5225 then :
   5226   printf %s "(cached) " >&6
   5227 else $as_nop
   5228   if test -n "$ac_ct_DUMPBIN"; then
   5229   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5230 else
   5231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5232 for as_dir in $PATH
   5233 do
   5234   IFS=$as_save_IFS
   5235   case $as_dir in #(((
   5236     '') as_dir=./ ;;
   5237     */) ;;
   5238     *) as_dir=$as_dir/ ;;
   5239   esac
   5240     for ac_exec_ext in '' $ac_executable_extensions; do
   5241   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5242     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5243     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5244     break 2
   5245   fi
   5246 done
   5247   done
   5248 IFS=$as_save_IFS
   5249 
   5250 fi
   5251 fi
   5252 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5253 if test -n "$ac_ct_DUMPBIN"; then
   5254   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5255 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   5256 else
   5257   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5258 printf "%s\n" "no" >&6; }
   5259 fi
   5260 
   5261 
   5262   test -n "$ac_ct_DUMPBIN" && break
   5263 done
   5264 
   5265   if test "x$ac_ct_DUMPBIN" = x; then
   5266     DUMPBIN=":"
   5267   else
   5268     case $cross_compiling:$ac_tool_warned in
   5269 yes:)
   5270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5271 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5272 ac_tool_warned=yes ;;
   5273 esac
   5274     DUMPBIN=$ac_ct_DUMPBIN
   5275   fi
   5276 fi
   5277 
   5278     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   5279     *COFF*)
   5280       DUMPBIN="$DUMPBIN -symbols -headers"
   5281       ;;
   5282     *)
   5283       DUMPBIN=:
   5284       ;;
   5285     esac
   5286   fi
   5287 
   5288   if test : != "$DUMPBIN"; then
   5289     NM=$DUMPBIN
   5290   fi
   5291 fi
   5292 test -z "$NM" && NM=nm
   5293 
   5294 
   5295 
   5296 
   5297 
   5298 
   5299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5300 printf %s "checking the name lister ($NM) interface... " >&6; }
   5301 if test ${lt_cv_nm_interface+y}
   5302 then :
   5303   printf %s "(cached) " >&6
   5304 else $as_nop
   5305   lt_cv_nm_interface="BSD nm"
   5306   echo "int some_variable = 0;" > conftest.$ac_ext
   5307   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5308   (eval "$ac_compile" 2>conftest.err)
   5309   cat conftest.err >&5
   5310   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5311   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5312   cat conftest.err >&5
   5313   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5314   cat conftest.out >&5
   5315   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5316     lt_cv_nm_interface="MS dumpbin"
   5317   fi
   5318   rm -f conftest*
   5319 fi
   5320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5321 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   5322 
   5323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5324 printf %s "checking whether ln -s works... " >&6; }
   5325 LN_S=$as_ln_s
   5326 if test "$LN_S" = "ln -s"; then
   5327   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5328 printf "%s\n" "yes" >&6; }
   5329 else
   5330   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5331 printf "%s\n" "no, using $LN_S" >&6; }
   5332 fi
   5333 
   5334 # find the maximum length of command line arguments
   5335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5336 printf %s "checking the maximum length of command line arguments... " >&6; }
   5337 if test ${lt_cv_sys_max_cmd_len+y}
   5338 then :
   5339   printf %s "(cached) " >&6
   5340 else $as_nop
   5341     i=0
   5342   teststring=ABCD
   5343 
   5344   case $build_os in
   5345   msdosdjgpp*)
   5346     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5347     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5348     # during glob expansion).  Even if it were fixed, the result of this
   5349     # check would be larger than it should be.
   5350     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5351     ;;
   5352 
   5353   gnu*)
   5354     # Under GNU Hurd, this test is not required because there is
   5355     # no limit to the length of command line arguments.
   5356     # Libtool will interpret -1 as no limit whatsoever
   5357     lt_cv_sys_max_cmd_len=-1;
   5358     ;;
   5359 
   5360   cygwin* | mingw* | cegcc*)
   5361     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5362     # about 5 minutes as the teststring grows exponentially.
   5363     # Worse, since 9x/ME are not pre-emptively multitasking,
   5364     # you end up with a "frozen" computer, even though with patience
   5365     # the test eventually succeeds (with a max line length of 256k).
   5366     # Instead, let's just punt: use the minimum linelength reported by
   5367     # all of the supported platforms: 8192 (on NT/2K/XP).
   5368     lt_cv_sys_max_cmd_len=8192;
   5369     ;;
   5370 
   5371   mint*)
   5372     # On MiNT this can take a long time and run out of memory.
   5373     lt_cv_sys_max_cmd_len=8192;
   5374     ;;
   5375 
   5376   amigaos*)
   5377     # On AmigaOS with pdksh, this test takes hours, literally.
   5378     # So we just punt and use a minimum line length of 8192.
   5379     lt_cv_sys_max_cmd_len=8192;
   5380     ;;
   5381 
   5382   bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   5383     # This has been around since 386BSD, at least.  Likely further.
   5384     if test -x /sbin/sysctl; then
   5385       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5386     elif test -x /usr/sbin/sysctl; then
   5387       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5388     else
   5389       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5390     fi
   5391     # And add a safety zone
   5392     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5393     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5394     ;;
   5395 
   5396   interix*)
   5397     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5398     lt_cv_sys_max_cmd_len=196608
   5399     ;;
   5400 
   5401   os2*)
   5402     # The test takes a long time on OS/2.
   5403     lt_cv_sys_max_cmd_len=8192
   5404     ;;
   5405 
   5406   osf*)
   5407     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5408     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5409     # nice to cause kernel panics so lets avoid the loop below.
   5410     # First set a reasonable default.
   5411     lt_cv_sys_max_cmd_len=16384
   5412     #
   5413     if test -x /sbin/sysconfig; then
   5414       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5415         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5416       esac
   5417     fi
   5418     ;;
   5419   sco3.2v5*)
   5420     lt_cv_sys_max_cmd_len=102400
   5421     ;;
   5422   sysv5* | sco5v6* | sysv4.2uw2*)
   5423     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5424     if test -n "$kargmax"; then
   5425       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   5426     else
   5427       lt_cv_sys_max_cmd_len=32768
   5428     fi
   5429     ;;
   5430   *)
   5431     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5432     if test -n "$lt_cv_sys_max_cmd_len" && \
   5433        test undefined != "$lt_cv_sys_max_cmd_len"; then
   5434       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5435       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5436     else
   5437       # Make teststring a little bigger before we do anything with it.
   5438       # a 1K string should be a reasonable start.
   5439       for i in 1 2 3 4 5 6 7 8; do
   5440         teststring=$teststring$teststring
   5441       done
   5442       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5443       # If test is not a shell built-in, we'll probably end up computing a
   5444       # maximum length that is only half of the actual maximum length, but
   5445       # we can't tell.
   5446       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   5447 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5448 	      test 17 != "$i" # 1/2 MB should be enough
   5449       do
   5450         i=`expr $i + 1`
   5451         teststring=$teststring$teststring
   5452       done
   5453       # Only check the string length outside the loop.
   5454       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5455       teststring=
   5456       # Add a significant safety factor because C++ compilers can tack on
   5457       # massive amounts of additional arguments before passing them to the
   5458       # linker.  It appears as though 1/2 is a usable value.
   5459       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5460     fi
   5461     ;;
   5462   esac
   5463 
   5464 fi
   5465 
   5466 if test -n "$lt_cv_sys_max_cmd_len"; then
   5467   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5468 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   5469 else
   5470   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5471 printf "%s\n" "none" >&6; }
   5472 fi
   5473 max_cmd_len=$lt_cv_sys_max_cmd_len
   5474 
   5475 
   5476 
   5477 
   5478 
   5479 
   5480 : ${CP="cp -f"}
   5481 : ${MV="mv -f"}
   5482 : ${RM="rm -f"}
   5483 
   5484 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5485   lt_unset=unset
   5486 else
   5487   lt_unset=false
   5488 fi
   5489 
   5490 
   5491 
   5492 
   5493 
   5494 # test EBCDIC or ASCII
   5495 case `echo X|tr X '\101'` in
   5496  A) # ASCII based system
   5497     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5498   lt_SP2NL='tr \040 \012'
   5499   lt_NL2SP='tr \015\012 \040\040'
   5500   ;;
   5501  *) # EBCDIC based system
   5502   lt_SP2NL='tr \100 \n'
   5503   lt_NL2SP='tr \r\n \100\100'
   5504   ;;
   5505 esac
   5506 
   5507 
   5508 
   5509 
   5510 
   5511 
   5512 
   5513 
   5514 
   5515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5516 printf %s "checking how to convert $build file names to $host format... " >&6; }
   5517 if test ${lt_cv_to_host_file_cmd+y}
   5518 then :
   5519   printf %s "(cached) " >&6
   5520 else $as_nop
   5521   case $host in
   5522   *-*-mingw* )
   5523     case $build in
   5524       *-*-mingw* ) # actually msys
   5525         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5526         ;;
   5527       *-*-cygwin* )
   5528         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5529         ;;
   5530       * ) # otherwise, assume *nix
   5531         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5532         ;;
   5533     esac
   5534     ;;
   5535   *-*-cygwin* )
   5536     case $build in
   5537       *-*-mingw* ) # actually msys
   5538         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5539         ;;
   5540       *-*-cygwin* )
   5541         lt_cv_to_host_file_cmd=func_convert_file_noop
   5542         ;;
   5543       * ) # otherwise, assume *nix
   5544         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5545         ;;
   5546     esac
   5547     ;;
   5548   * ) # unhandled hosts (and "normal" native builds)
   5549     lt_cv_to_host_file_cmd=func_convert_file_noop
   5550     ;;
   5551 esac
   5552 
   5553 fi
   5554 
   5555 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5557 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   5558 
   5559 
   5560 
   5561 
   5562 
   5563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5564 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   5565 if test ${lt_cv_to_tool_file_cmd+y}
   5566 then :
   5567   printf %s "(cached) " >&6
   5568 else $as_nop
   5569   #assume ordinary cross tools, or native build.
   5570 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5571 case $host in
   5572   *-*-mingw* )
   5573     case $build in
   5574       *-*-mingw* ) # actually msys
   5575         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5576         ;;
   5577     esac
   5578     ;;
   5579 esac
   5580 
   5581 fi
   5582 
   5583 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5585 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   5586 
   5587 
   5588 
   5589 
   5590 
   5591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5592 printf %s "checking for $LD option to reload object files... " >&6; }
   5593 if test ${lt_cv_ld_reload_flag+y}
   5594 then :
   5595   printf %s "(cached) " >&6
   5596 else $as_nop
   5597   lt_cv_ld_reload_flag='-r'
   5598 fi
   5599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5600 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   5601 reload_flag=$lt_cv_ld_reload_flag
   5602 case $reload_flag in
   5603 "" | " "*) ;;
   5604 *) reload_flag=" $reload_flag" ;;
   5605 esac
   5606 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5607 case $host_os in
   5608   cygwin* | mingw* | pw32* | cegcc*)
   5609     if test yes != "$GCC"; then
   5610       reload_cmds=false
   5611     fi
   5612     ;;
   5613   darwin*)
   5614     if test yes = "$GCC"; then
   5615       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   5616     else
   5617       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5618     fi
   5619     ;;
   5620 esac
   5621 
   5622 
   5623 
   5624 
   5625 
   5626 
   5627 
   5628 
   5629 
   5630 if test -n "$ac_tool_prefix"; then
   5631   # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
   5632 set dummy ${ac_tool_prefix}file; ac_word=$2
   5633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5634 printf %s "checking for $ac_word... " >&6; }
   5635 if test ${ac_cv_prog_FILECMD+y}
   5636 then :
   5637   printf %s "(cached) " >&6
   5638 else $as_nop
   5639   if test -n "$FILECMD"; then
   5640   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   5641 else
   5642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5643 for as_dir in $PATH
   5644 do
   5645   IFS=$as_save_IFS
   5646   case $as_dir in #(((
   5647     '') as_dir=./ ;;
   5648     */) ;;
   5649     *) as_dir=$as_dir/ ;;
   5650   esac
   5651     for ac_exec_ext in '' $ac_executable_extensions; do
   5652   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5653     ac_cv_prog_FILECMD="${ac_tool_prefix}file"
   5654     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5655     break 2
   5656   fi
   5657 done
   5658   done
   5659 IFS=$as_save_IFS
   5660 
   5661 fi
   5662 fi
   5663 FILECMD=$ac_cv_prog_FILECMD
   5664 if test -n "$FILECMD"; then
   5665   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   5666 printf "%s\n" "$FILECMD" >&6; }
   5667 else
   5668   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5669 printf "%s\n" "no" >&6; }
   5670 fi
   5671 
   5672 
   5673 fi
   5674 if test -z "$ac_cv_prog_FILECMD"; then
   5675   ac_ct_FILECMD=$FILECMD
   5676   # Extract the first word of "file", so it can be a program name with args.
   5677 set dummy file; ac_word=$2
   5678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5679 printf %s "checking for $ac_word... " >&6; }
   5680 if test ${ac_cv_prog_ac_ct_FILECMD+y}
   5681 then :
   5682   printf %s "(cached) " >&6
   5683 else $as_nop
   5684   if test -n "$ac_ct_FILECMD"; then
   5685   ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
   5686 else
   5687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5688 for as_dir in $PATH
   5689 do
   5690   IFS=$as_save_IFS
   5691   case $as_dir in #(((
   5692     '') as_dir=./ ;;
   5693     */) ;;
   5694     *) as_dir=$as_dir/ ;;
   5695   esac
   5696     for ac_exec_ext in '' $ac_executable_extensions; do
   5697   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5698     ac_cv_prog_ac_ct_FILECMD="file"
   5699     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5700     break 2
   5701   fi
   5702 done
   5703   done
   5704 IFS=$as_save_IFS
   5705 
   5706 fi
   5707 fi
   5708 ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
   5709 if test -n "$ac_ct_FILECMD"; then
   5710   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
   5711 printf "%s\n" "$ac_ct_FILECMD" >&6; }
   5712 else
   5713   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5714 printf "%s\n" "no" >&6; }
   5715 fi
   5716 
   5717   if test "x$ac_ct_FILECMD" = x; then
   5718     FILECMD=":"
   5719   else
   5720     case $cross_compiling:$ac_tool_warned in
   5721 yes:)
   5722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5723 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5724 ac_tool_warned=yes ;;
   5725 esac
   5726     FILECMD=$ac_ct_FILECMD
   5727   fi
   5728 else
   5729   FILECMD="$ac_cv_prog_FILECMD"
   5730 fi
   5731 
   5732 
   5733 
   5734 
   5735 
   5736 
   5737 
   5738 if test -n "$ac_tool_prefix"; then
   5739   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5740 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5742 printf %s "checking for $ac_word... " >&6; }
   5743 if test ${ac_cv_prog_OBJDUMP+y}
   5744 then :
   5745   printf %s "(cached) " >&6
   5746 else $as_nop
   5747   if test -n "$OBJDUMP"; then
   5748   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5749 else
   5750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5751 for as_dir in $PATH
   5752 do
   5753   IFS=$as_save_IFS
   5754   case $as_dir in #(((
   5755     '') as_dir=./ ;;
   5756     */) ;;
   5757     *) as_dir=$as_dir/ ;;
   5758   esac
   5759     for ac_exec_ext in '' $ac_executable_extensions; do
   5760   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5761     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5762     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5763     break 2
   5764   fi
   5765 done
   5766   done
   5767 IFS=$as_save_IFS
   5768 
   5769 fi
   5770 fi
   5771 OBJDUMP=$ac_cv_prog_OBJDUMP
   5772 if test -n "$OBJDUMP"; then
   5773   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5774 printf "%s\n" "$OBJDUMP" >&6; }
   5775 else
   5776   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5777 printf "%s\n" "no" >&6; }
   5778 fi
   5779 
   5780 
   5781 fi
   5782 if test -z "$ac_cv_prog_OBJDUMP"; then
   5783   ac_ct_OBJDUMP=$OBJDUMP
   5784   # Extract the first word of "objdump", so it can be a program name with args.
   5785 set dummy objdump; ac_word=$2
   5786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5787 printf %s "checking for $ac_word... " >&6; }
   5788 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   5789 then :
   5790   printf %s "(cached) " >&6
   5791 else $as_nop
   5792   if test -n "$ac_ct_OBJDUMP"; then
   5793   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5794 else
   5795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5796 for as_dir in $PATH
   5797 do
   5798   IFS=$as_save_IFS
   5799   case $as_dir in #(((
   5800     '') as_dir=./ ;;
   5801     */) ;;
   5802     *) as_dir=$as_dir/ ;;
   5803   esac
   5804     for ac_exec_ext in '' $ac_executable_extensions; do
   5805   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5806     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5807     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5808     break 2
   5809   fi
   5810 done
   5811   done
   5812 IFS=$as_save_IFS
   5813 
   5814 fi
   5815 fi
   5816 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5817 if test -n "$ac_ct_OBJDUMP"; then
   5818   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5819 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   5820 else
   5821   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5822 printf "%s\n" "no" >&6; }
   5823 fi
   5824 
   5825   if test "x$ac_ct_OBJDUMP" = x; then
   5826     OBJDUMP="false"
   5827   else
   5828     case $cross_compiling:$ac_tool_warned in
   5829 yes:)
   5830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5831 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5832 ac_tool_warned=yes ;;
   5833 esac
   5834     OBJDUMP=$ac_ct_OBJDUMP
   5835   fi
   5836 else
   5837   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5838 fi
   5839 
   5840 test -z "$OBJDUMP" && OBJDUMP=objdump
   5841 
   5842 
   5843 
   5844 
   5845 
   5846 
   5847 
   5848 
   5849 
   5850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5851 printf %s "checking how to recognize dependent libraries... " >&6; }
   5852 if test ${lt_cv_deplibs_check_method+y}
   5853 then :
   5854   printf %s "(cached) " >&6
   5855 else $as_nop
   5856   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5857 lt_cv_file_magic_test_file=
   5858 lt_cv_deplibs_check_method='unknown'
   5859 # Need to set the preceding variable on all platforms that support
   5860 # interlibrary dependencies.
   5861 # 'none' -- dependencies not supported.
   5862 # 'unknown' -- same as none, but documents that we really don't know.
   5863 # 'pass_all' -- all dependencies passed with no checks.
   5864 # 'test_compile' -- check by making test program.
   5865 # 'file_magic [[regex]]' -- check by looking for files in library path
   5866 # that responds to the $file_magic_cmd with a given extended regex.
   5867 # If you have 'file' or equivalent on your system and you're not sure
   5868 # whether 'pass_all' will *always* work, you probably want this one.
   5869 
   5870 case $host_os in
   5871 aix[4-9]*)
   5872   lt_cv_deplibs_check_method=pass_all
   5873   ;;
   5874 
   5875 beos*)
   5876   lt_cv_deplibs_check_method=pass_all
   5877   ;;
   5878 
   5879 bsdi[45]*)
   5880   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5881   lt_cv_file_magic_cmd='$FILECMD -L'
   5882   lt_cv_file_magic_test_file=/shlib/libc.so
   5883   ;;
   5884 
   5885 cygwin*)
   5886   # func_win32_libid is a shell function defined in ltmain.sh
   5887   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5888   lt_cv_file_magic_cmd='func_win32_libid'
   5889   ;;
   5890 
   5891 mingw* | pw32*)
   5892   # Base MSYS/MinGW do not provide the 'file' command needed by
   5893   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5894   # unless we find 'file', for example because we are cross-compiling.
   5895   if ( file / ) >/dev/null 2>&1; then
   5896     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5897     lt_cv_file_magic_cmd='func_win32_libid'
   5898   else
   5899     # Keep this pattern in sync with the one in func_win32_libid.
   5900     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5901     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5902   fi
   5903   ;;
   5904 
   5905 cegcc*)
   5906   # use the weaker test based on 'objdump'. See mingw*.
   5907   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5908   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5909   ;;
   5910 
   5911 darwin* | rhapsody*)
   5912   lt_cv_deplibs_check_method=pass_all
   5913   ;;
   5914 
   5915 freebsd* | dragonfly* | midnightbsd*)
   5916   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5917     case $host_cpu in
   5918     i*86 )
   5919       # Not sure whether the presence of OpenBSD here was a mistake.
   5920       # Let's accept both of them until this is cleared up.
   5921       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5922       lt_cv_file_magic_cmd=$FILECMD
   5923       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5924       ;;
   5925     esac
   5926   else
   5927     lt_cv_deplibs_check_method=pass_all
   5928   fi
   5929   ;;
   5930 
   5931 haiku*)
   5932   lt_cv_deplibs_check_method=pass_all
   5933   ;;
   5934 
   5935 hpux10.20* | hpux11*)
   5936   lt_cv_file_magic_cmd=$FILECMD
   5937   case $host_cpu in
   5938   ia64*)
   5939     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5940     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5941     ;;
   5942   hppa*64*)
   5943     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]'
   5944     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5945     ;;
   5946   *)
   5947     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5948     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5949     ;;
   5950   esac
   5951   ;;
   5952 
   5953 interix[3-9]*)
   5954   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5955   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5956   ;;
   5957 
   5958 irix5* | irix6* | nonstopux*)
   5959   case $LD in
   5960   *-32|*"-32 ") libmagic=32-bit;;
   5961   *-n32|*"-n32 ") libmagic=N32;;
   5962   *-64|*"-64 ") libmagic=64-bit;;
   5963   *) libmagic=never-match;;
   5964   esac
   5965   lt_cv_deplibs_check_method=pass_all
   5966   ;;
   5967 
   5968 # This must be glibc/ELF.
   5969 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   5970   lt_cv_deplibs_check_method=pass_all
   5971   ;;
   5972 
   5973 netbsd* | netbsdelf*-gnu)
   5974   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5975     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5976   else
   5977     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5978   fi
   5979   ;;
   5980 
   5981 newos6*)
   5982   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5983   lt_cv_file_magic_cmd=$FILECMD
   5984   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5985   ;;
   5986 
   5987 *nto* | *qnx*)
   5988   lt_cv_deplibs_check_method=pass_all
   5989   ;;
   5990 
   5991 openbsd* | bitrig*)
   5992   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   5993     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5994   else
   5995     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5996   fi
   5997   ;;
   5998 
   5999 osf3* | osf4* | osf5*)
   6000   lt_cv_deplibs_check_method=pass_all
   6001   ;;
   6002 
   6003 rdos*)
   6004   lt_cv_deplibs_check_method=pass_all
   6005   ;;
   6006 
   6007 solaris*)
   6008   lt_cv_deplibs_check_method=pass_all
   6009   ;;
   6010 
   6011 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6012   lt_cv_deplibs_check_method=pass_all
   6013   ;;
   6014 
   6015 sysv4 | sysv4.3*)
   6016   case $host_vendor in
   6017   motorola)
   6018     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]'
   6019     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6020     ;;
   6021   ncr)
   6022     lt_cv_deplibs_check_method=pass_all
   6023     ;;
   6024   sequent)
   6025     lt_cv_file_magic_cmd='/bin/file'
   6026     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6027     ;;
   6028   sni)
   6029     lt_cv_file_magic_cmd='/bin/file'
   6030     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6031     lt_cv_file_magic_test_file=/lib/libc.so
   6032     ;;
   6033   siemens)
   6034     lt_cv_deplibs_check_method=pass_all
   6035     ;;
   6036   pc)
   6037     lt_cv_deplibs_check_method=pass_all
   6038     ;;
   6039   esac
   6040   ;;
   6041 
   6042 tpf*)
   6043   lt_cv_deplibs_check_method=pass_all
   6044   ;;
   6045 os2*)
   6046   lt_cv_deplibs_check_method=pass_all
   6047   ;;
   6048 esac
   6049 
   6050 fi
   6051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6052 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   6053 
   6054 file_magic_glob=
   6055 want_nocaseglob=no
   6056 if test "$build" = "$host"; then
   6057   case $host_os in
   6058   mingw* | pw32*)
   6059     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6060       want_nocaseglob=yes
   6061     else
   6062       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6063     fi
   6064     ;;
   6065   esac
   6066 fi
   6067 
   6068 file_magic_cmd=$lt_cv_file_magic_cmd
   6069 deplibs_check_method=$lt_cv_deplibs_check_method
   6070 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6071 
   6072 
   6073 
   6074 
   6075 
   6076 
   6077 
   6078 
   6079 
   6080 
   6081 
   6082 
   6083 
   6084 
   6085 
   6086 
   6087 
   6088 
   6089 
   6090 
   6091 
   6092 
   6093 if test -n "$ac_tool_prefix"; then
   6094   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6095 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6097 printf %s "checking for $ac_word... " >&6; }
   6098 if test ${ac_cv_prog_DLLTOOL+y}
   6099 then :
   6100   printf %s "(cached) " >&6
   6101 else $as_nop
   6102   if test -n "$DLLTOOL"; then
   6103   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6104 else
   6105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6106 for as_dir in $PATH
   6107 do
   6108   IFS=$as_save_IFS
   6109   case $as_dir in #(((
   6110     '') as_dir=./ ;;
   6111     */) ;;
   6112     *) as_dir=$as_dir/ ;;
   6113   esac
   6114     for ac_exec_ext in '' $ac_executable_extensions; do
   6115   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6116     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6117     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6118     break 2
   6119   fi
   6120 done
   6121   done
   6122 IFS=$as_save_IFS
   6123 
   6124 fi
   6125 fi
   6126 DLLTOOL=$ac_cv_prog_DLLTOOL
   6127 if test -n "$DLLTOOL"; then
   6128   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6129 printf "%s\n" "$DLLTOOL" >&6; }
   6130 else
   6131   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6132 printf "%s\n" "no" >&6; }
   6133 fi
   6134 
   6135 
   6136 fi
   6137 if test -z "$ac_cv_prog_DLLTOOL"; then
   6138   ac_ct_DLLTOOL=$DLLTOOL
   6139   # Extract the first word of "dlltool", so it can be a program name with args.
   6140 set dummy dlltool; ac_word=$2
   6141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6142 printf %s "checking for $ac_word... " >&6; }
   6143 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   6144 then :
   6145   printf %s "(cached) " >&6
   6146 else $as_nop
   6147   if test -n "$ac_ct_DLLTOOL"; then
   6148   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6149 else
   6150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6151 for as_dir in $PATH
   6152 do
   6153   IFS=$as_save_IFS
   6154   case $as_dir in #(((
   6155     '') as_dir=./ ;;
   6156     */) ;;
   6157     *) as_dir=$as_dir/ ;;
   6158   esac
   6159     for ac_exec_ext in '' $ac_executable_extensions; do
   6160   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6161     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6162     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6163     break 2
   6164   fi
   6165 done
   6166   done
   6167 IFS=$as_save_IFS
   6168 
   6169 fi
   6170 fi
   6171 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6172 if test -n "$ac_ct_DLLTOOL"; then
   6173   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6174 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   6175 else
   6176   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6177 printf "%s\n" "no" >&6; }
   6178 fi
   6179 
   6180   if test "x$ac_ct_DLLTOOL" = x; then
   6181     DLLTOOL="false"
   6182   else
   6183     case $cross_compiling:$ac_tool_warned in
   6184 yes:)
   6185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6186 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6187 ac_tool_warned=yes ;;
   6188 esac
   6189     DLLTOOL=$ac_ct_DLLTOOL
   6190   fi
   6191 else
   6192   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6193 fi
   6194 
   6195 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6196 
   6197 
   6198 
   6199 
   6200 
   6201 
   6202 
   6203 
   6204 
   6205 
   6206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6207 printf %s "checking how to associate runtime and link libraries... " >&6; }
   6208 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   6209 then :
   6210   printf %s "(cached) " >&6
   6211 else $as_nop
   6212   lt_cv_sharedlib_from_linklib_cmd='unknown'
   6213 
   6214 case $host_os in
   6215 cygwin* | mingw* | pw32* | cegcc*)
   6216   # two different shell functions defined in ltmain.sh;
   6217   # decide which one to use based on capabilities of $DLLTOOL
   6218   case `$DLLTOOL --help 2>&1` in
   6219   *--identify-strict*)
   6220     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6221     ;;
   6222   *)
   6223     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6224     ;;
   6225   esac
   6226   ;;
   6227 *)
   6228   # fallback: assume linklib IS sharedlib
   6229   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   6230   ;;
   6231 esac
   6232 
   6233 fi
   6234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6235 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6236 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6237 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6238 
   6239 
   6240 
   6241 
   6242 
   6243 
   6244 
   6245 
   6246 if test -n "$ac_tool_prefix"; then
   6247   for ac_prog in ar
   6248   do
   6249     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6250 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6252 printf %s "checking for $ac_word... " >&6; }
   6253 if test ${ac_cv_prog_AR+y}
   6254 then :
   6255   printf %s "(cached) " >&6
   6256 else $as_nop
   6257   if test -n "$AR"; then
   6258   ac_cv_prog_AR="$AR" # Let the user override the test.
   6259 else
   6260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6261 for as_dir in $PATH
   6262 do
   6263   IFS=$as_save_IFS
   6264   case $as_dir in #(((
   6265     '') as_dir=./ ;;
   6266     */) ;;
   6267     *) as_dir=$as_dir/ ;;
   6268   esac
   6269     for ac_exec_ext in '' $ac_executable_extensions; do
   6270   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6271     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6272     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6273     break 2
   6274   fi
   6275 done
   6276   done
   6277 IFS=$as_save_IFS
   6278 
   6279 fi
   6280 fi
   6281 AR=$ac_cv_prog_AR
   6282 if test -n "$AR"; then
   6283   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6284 printf "%s\n" "$AR" >&6; }
   6285 else
   6286   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6287 printf "%s\n" "no" >&6; }
   6288 fi
   6289 
   6290 
   6291     test -n "$AR" && break
   6292   done
   6293 fi
   6294 if test -z "$AR"; then
   6295   ac_ct_AR=$AR
   6296   for ac_prog in ar
   6297 do
   6298   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6299 set dummy $ac_prog; ac_word=$2
   6300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6301 printf %s "checking for $ac_word... " >&6; }
   6302 if test ${ac_cv_prog_ac_ct_AR+y}
   6303 then :
   6304   printf %s "(cached) " >&6
   6305 else $as_nop
   6306   if test -n "$ac_ct_AR"; then
   6307   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6308 else
   6309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6310 for as_dir in $PATH
   6311 do
   6312   IFS=$as_save_IFS
   6313   case $as_dir in #(((
   6314     '') as_dir=./ ;;
   6315     */) ;;
   6316     *) as_dir=$as_dir/ ;;
   6317   esac
   6318     for ac_exec_ext in '' $ac_executable_extensions; do
   6319   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6320     ac_cv_prog_ac_ct_AR="$ac_prog"
   6321     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6322     break 2
   6323   fi
   6324 done
   6325   done
   6326 IFS=$as_save_IFS
   6327 
   6328 fi
   6329 fi
   6330 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6331 if test -n "$ac_ct_AR"; then
   6332   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6333 printf "%s\n" "$ac_ct_AR" >&6; }
   6334 else
   6335   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6336 printf "%s\n" "no" >&6; }
   6337 fi
   6338 
   6339 
   6340   test -n "$ac_ct_AR" && break
   6341 done
   6342 
   6343   if test "x$ac_ct_AR" = x; then
   6344     AR="false"
   6345   else
   6346     case $cross_compiling:$ac_tool_warned in
   6347 yes:)
   6348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6349 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6350 ac_tool_warned=yes ;;
   6351 esac
   6352     AR=$ac_ct_AR
   6353   fi
   6354 fi
   6355 
   6356 : ${AR=ar}
   6357 
   6358 
   6359 
   6360 
   6361 
   6362 
   6363 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   6364 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   6365 # higher priority because thats what people were doing historically (setting
   6366 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   6367 # variable obsoleted/removed.
   6368 
   6369 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   6370 lt_ar_flags=$AR_FLAGS
   6371 
   6372 
   6373 
   6374 
   6375 
   6376 
   6377 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   6378 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   6379 
   6380 
   6381 
   6382 
   6383 
   6384 
   6385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6386 printf %s "checking for archiver @FILE support... " >&6; }
   6387 if test ${lt_cv_ar_at_file+y}
   6388 then :
   6389   printf %s "(cached) " >&6
   6390 else $as_nop
   6391   lt_cv_ar_at_file=no
   6392    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6393 /* end confdefs.h.  */
   6394 
   6395 int
   6396 main (void)
   6397 {
   6398 
   6399   ;
   6400   return 0;
   6401 }
   6402 _ACEOF
   6403 if ac_fn_c_try_compile "$LINENO"
   6404 then :
   6405   echo conftest.$ac_objext > conftest.lst
   6406       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6407       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6408   (eval $lt_ar_try) 2>&5
   6409   ac_status=$?
   6410   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6411   test $ac_status = 0; }
   6412       if test 0 -eq "$ac_status"; then
   6413 	# Ensure the archiver fails upon bogus file names.
   6414 	rm -f conftest.$ac_objext libconftest.a
   6415 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6416   (eval $lt_ar_try) 2>&5
   6417   ac_status=$?
   6418   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6419   test $ac_status = 0; }
   6420 	if test 0 -ne "$ac_status"; then
   6421           lt_cv_ar_at_file=@
   6422         fi
   6423       fi
   6424       rm -f conftest.* libconftest.a
   6425 
   6426 fi
   6427 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6428 
   6429 fi
   6430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6431 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   6432 
   6433 if test no = "$lt_cv_ar_at_file"; then
   6434   archiver_list_spec=
   6435 else
   6436   archiver_list_spec=$lt_cv_ar_at_file
   6437 fi
   6438 
   6439 
   6440 
   6441 
   6442 
   6443 
   6444 
   6445 if test -n "$ac_tool_prefix"; then
   6446   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6447 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6449 printf %s "checking for $ac_word... " >&6; }
   6450 if test ${ac_cv_prog_STRIP+y}
   6451 then :
   6452   printf %s "(cached) " >&6
   6453 else $as_nop
   6454   if test -n "$STRIP"; then
   6455   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6456 else
   6457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6458 for as_dir in $PATH
   6459 do
   6460   IFS=$as_save_IFS
   6461   case $as_dir in #(((
   6462     '') as_dir=./ ;;
   6463     */) ;;
   6464     *) as_dir=$as_dir/ ;;
   6465   esac
   6466     for ac_exec_ext in '' $ac_executable_extensions; do
   6467   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6468     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6469     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6470     break 2
   6471   fi
   6472 done
   6473   done
   6474 IFS=$as_save_IFS
   6475 
   6476 fi
   6477 fi
   6478 STRIP=$ac_cv_prog_STRIP
   6479 if test -n "$STRIP"; then
   6480   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6481 printf "%s\n" "$STRIP" >&6; }
   6482 else
   6483   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6484 printf "%s\n" "no" >&6; }
   6485 fi
   6486 
   6487 
   6488 fi
   6489 if test -z "$ac_cv_prog_STRIP"; then
   6490   ac_ct_STRIP=$STRIP
   6491   # Extract the first word of "strip", so it can be a program name with args.
   6492 set dummy strip; ac_word=$2
   6493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6494 printf %s "checking for $ac_word... " >&6; }
   6495 if test ${ac_cv_prog_ac_ct_STRIP+y}
   6496 then :
   6497   printf %s "(cached) " >&6
   6498 else $as_nop
   6499   if test -n "$ac_ct_STRIP"; then
   6500   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6501 else
   6502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6503 for as_dir in $PATH
   6504 do
   6505   IFS=$as_save_IFS
   6506   case $as_dir in #(((
   6507     '') as_dir=./ ;;
   6508     */) ;;
   6509     *) as_dir=$as_dir/ ;;
   6510   esac
   6511     for ac_exec_ext in '' $ac_executable_extensions; do
   6512   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6513     ac_cv_prog_ac_ct_STRIP="strip"
   6514     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6515     break 2
   6516   fi
   6517 done
   6518   done
   6519 IFS=$as_save_IFS
   6520 
   6521 fi
   6522 fi
   6523 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6524 if test -n "$ac_ct_STRIP"; then
   6525   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6526 printf "%s\n" "$ac_ct_STRIP" >&6; }
   6527 else
   6528   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6529 printf "%s\n" "no" >&6; }
   6530 fi
   6531 
   6532   if test "x$ac_ct_STRIP" = x; then
   6533     STRIP=":"
   6534   else
   6535     case $cross_compiling:$ac_tool_warned in
   6536 yes:)
   6537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6538 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6539 ac_tool_warned=yes ;;
   6540 esac
   6541     STRIP=$ac_ct_STRIP
   6542   fi
   6543 else
   6544   STRIP="$ac_cv_prog_STRIP"
   6545 fi
   6546 
   6547 test -z "$STRIP" && STRIP=:
   6548 
   6549 
   6550 
   6551 
   6552 
   6553 
   6554 if test -n "$ac_tool_prefix"; then
   6555   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6556 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6558 printf %s "checking for $ac_word... " >&6; }
   6559 if test ${ac_cv_prog_RANLIB+y}
   6560 then :
   6561   printf %s "(cached) " >&6
   6562 else $as_nop
   6563   if test -n "$RANLIB"; then
   6564   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6565 else
   6566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6567 for as_dir in $PATH
   6568 do
   6569   IFS=$as_save_IFS
   6570   case $as_dir in #(((
   6571     '') as_dir=./ ;;
   6572     */) ;;
   6573     *) as_dir=$as_dir/ ;;
   6574   esac
   6575     for ac_exec_ext in '' $ac_executable_extensions; do
   6576   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6577     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6578     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6579     break 2
   6580   fi
   6581 done
   6582   done
   6583 IFS=$as_save_IFS
   6584 
   6585 fi
   6586 fi
   6587 RANLIB=$ac_cv_prog_RANLIB
   6588 if test -n "$RANLIB"; then
   6589   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6590 printf "%s\n" "$RANLIB" >&6; }
   6591 else
   6592   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6593 printf "%s\n" "no" >&6; }
   6594 fi
   6595 
   6596 
   6597 fi
   6598 if test -z "$ac_cv_prog_RANLIB"; then
   6599   ac_ct_RANLIB=$RANLIB
   6600   # Extract the first word of "ranlib", so it can be a program name with args.
   6601 set dummy ranlib; ac_word=$2
   6602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6603 printf %s "checking for $ac_word... " >&6; }
   6604 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   6605 then :
   6606   printf %s "(cached) " >&6
   6607 else $as_nop
   6608   if test -n "$ac_ct_RANLIB"; then
   6609   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6610 else
   6611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6612 for as_dir in $PATH
   6613 do
   6614   IFS=$as_save_IFS
   6615   case $as_dir in #(((
   6616     '') as_dir=./ ;;
   6617     */) ;;
   6618     *) as_dir=$as_dir/ ;;
   6619   esac
   6620     for ac_exec_ext in '' $ac_executable_extensions; do
   6621   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6622     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6623     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6624     break 2
   6625   fi
   6626 done
   6627   done
   6628 IFS=$as_save_IFS
   6629 
   6630 fi
   6631 fi
   6632 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6633 if test -n "$ac_ct_RANLIB"; then
   6634   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6635 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   6636 else
   6637   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6638 printf "%s\n" "no" >&6; }
   6639 fi
   6640 
   6641   if test "x$ac_ct_RANLIB" = x; then
   6642     RANLIB=":"
   6643   else
   6644     case $cross_compiling:$ac_tool_warned in
   6645 yes:)
   6646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6647 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6648 ac_tool_warned=yes ;;
   6649 esac
   6650     RANLIB=$ac_ct_RANLIB
   6651   fi
   6652 else
   6653   RANLIB="$ac_cv_prog_RANLIB"
   6654 fi
   6655 
   6656 test -z "$RANLIB" && RANLIB=:
   6657 
   6658 
   6659 
   6660 
   6661 
   6662 
   6663 # Determine commands to create old-style static archives.
   6664 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6665 old_postinstall_cmds='chmod 644 $oldlib'
   6666 old_postuninstall_cmds=
   6667 
   6668 if test -n "$RANLIB"; then
   6669   case $host_os in
   6670   bitrig* | openbsd*)
   6671     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   6672     ;;
   6673   *)
   6674     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   6675     ;;
   6676   esac
   6677   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   6678 fi
   6679 
   6680 case $host_os in
   6681   darwin*)
   6682     lock_old_archive_extraction=yes ;;
   6683   *)
   6684     lock_old_archive_extraction=no ;;
   6685 esac
   6686 
   6687 
   6688 
   6689 
   6690 
   6691 
   6692 
   6693 
   6694 
   6695 
   6696 
   6697 
   6698 
   6699 
   6700 
   6701 
   6702 
   6703 
   6704 
   6705 
   6706 
   6707 
   6708 
   6709 
   6710 
   6711 
   6712 
   6713 
   6714 
   6715 
   6716 
   6717 
   6718 
   6719 
   6720 
   6721 
   6722 
   6723 
   6724 
   6725 # If no C compiler was specified, use CC.
   6726 LTCC=${LTCC-"$CC"}
   6727 
   6728 # If no C compiler flags were specified, use CFLAGS.
   6729 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6730 
   6731 # Allow CC to be a program name with arguments.
   6732 compiler=$CC
   6733 
   6734 
   6735 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6737 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   6738 if test ${lt_cv_sys_global_symbol_pipe+y}
   6739 then :
   6740   printf %s "(cached) " >&6
   6741 else $as_nop
   6742 
   6743 # These are sane defaults that work on at least a few old systems.
   6744 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6745 
   6746 # Character class describing NM global symbol codes.
   6747 symcode='[BCDEGRST]'
   6748 
   6749 # Regexp to match symbols that can be accessed directly from C.
   6750 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6751 
   6752 # Define system-specific variables.
   6753 case $host_os in
   6754 aix*)
   6755   symcode='[BCDT]'
   6756   ;;
   6757 cygwin* | mingw* | pw32* | cegcc*)
   6758   symcode='[ABCDGISTW]'
   6759   ;;
   6760 hpux*)
   6761   if test ia64 = "$host_cpu"; then
   6762     symcode='[ABCDEGRST]'
   6763   fi
   6764   ;;
   6765 irix* | nonstopux*)
   6766   symcode='[BCDEGRST]'
   6767   ;;
   6768 osf*)
   6769   symcode='[BCDEGQRST]'
   6770   ;;
   6771 solaris*)
   6772   symcode='[BDRT]'
   6773   ;;
   6774 sco3.2v5*)
   6775   symcode='[DT]'
   6776   ;;
   6777 sysv4.2uw2*)
   6778   symcode='[DT]'
   6779   ;;
   6780 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6781   symcode='[ABDT]'
   6782   ;;
   6783 sysv4)
   6784   symcode='[DFNSTU]'
   6785   ;;
   6786 esac
   6787 
   6788 # If we're using GNU nm, then use its standard symbol codes.
   6789 case `$NM -V 2>&1` in
   6790 *GNU* | *'with BFD'*)
   6791   symcode='[ABCDGIRSTW]' ;;
   6792 esac
   6793 
   6794 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6795   # Gets list of data symbols to import.
   6796   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   6797   # Adjust the below global symbol transforms to fixup imported variables.
   6798   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   6799   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   6800   lt_c_name_lib_hook="\
   6801   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   6802   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   6803 else
   6804   # Disable hooks by default.
   6805   lt_cv_sys_global_symbol_to_import=
   6806   lt_cdecl_hook=
   6807   lt_c_name_hook=
   6808   lt_c_name_lib_hook=
   6809 fi
   6810 
   6811 # Transform an extracted symbol line into a proper C declaration.
   6812 # Some systems (esp. on ia64) link data and code symbols differently,
   6813 # so use this general approach.
   6814 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   6815 $lt_cdecl_hook\
   6816 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   6817 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   6818 
   6819 # Transform an extracted symbol line into symbol name and symbol address
   6820 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   6821 $lt_c_name_hook\
   6822 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6823 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   6824 
   6825 # Transform an extracted symbol line into symbol name with lib prefix and
   6826 # symbol address.
   6827 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   6828 $lt_c_name_lib_hook\
   6829 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6830 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   6831 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   6832 
   6833 # Handle CRLF in mingw tool chain
   6834 opt_cr=
   6835 case $build_os in
   6836 mingw*)
   6837   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6838   ;;
   6839 esac
   6840 
   6841 # Try without a prefix underscore, then with it.
   6842 for ac_symprfx in "" "_"; do
   6843 
   6844   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6845   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6846 
   6847   # Write the raw and C identifiers.
   6848   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6849     # Fake it for dumpbin and say T for any non-static function,
   6850     # D for any global variable and I for any imported variable.
   6851     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   6852     # which start with @ or ?.
   6853     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6854 "     {last_section=section; section=\$ 3};"\
   6855 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   6856 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6857 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   6858 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   6859 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   6860 "     \$ 0!~/External *\|/{next};"\
   6861 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6862 "     {if(hide[section]) next};"\
   6863 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   6864 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   6865 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   6866 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   6867 "     ' prfx=^$ac_symprfx"
   6868   else
   6869     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6870   fi
   6871   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   6872 
   6873   # Check to see that the pipe works correctly.
   6874   pipe_works=no
   6875 
   6876   rm -f conftest*
   6877   cat > conftest.$ac_ext <<_LT_EOF
   6878 #ifdef __cplusplus
   6879 extern "C" {
   6880 #endif
   6881 char nm_test_var;
   6882 void nm_test_func(void);
   6883 void nm_test_func(void){}
   6884 #ifdef __cplusplus
   6885 }
   6886 #endif
   6887 int main(){nm_test_var='a';nm_test_func();return(0);}
   6888 _LT_EOF
   6889 
   6890   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6891   (eval $ac_compile) 2>&5
   6892   ac_status=$?
   6893   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6894   test $ac_status = 0; }; then
   6895     # Now try to grab the symbols.
   6896     nlist=conftest.nm
   6897     $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
   6898     if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
   6899       # Try sorting and uniquifying the output.
   6900       if sort "$nlist" | uniq > "$nlist"T; then
   6901 	mv -f "$nlist"T "$nlist"
   6902       else
   6903 	rm -f "$nlist"T
   6904       fi
   6905 
   6906       # Make sure that we snagged all the symbols we need.
   6907       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6908 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6909 	  cat <<_LT_EOF > conftest.$ac_ext
   6910 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6911 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   6912 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   6913    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6914 # define LT_DLSYM_CONST
   6915 #elif defined __osf__
   6916 /* This system does not cope well with relocations in const data.  */
   6917 # define LT_DLSYM_CONST
   6918 #else
   6919 # define LT_DLSYM_CONST const
   6920 #endif
   6921 
   6922 #ifdef __cplusplus
   6923 extern "C" {
   6924 #endif
   6925 
   6926 _LT_EOF
   6927 	  # Now generate the symbol file.
   6928 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6929 
   6930 	  cat <<_LT_EOF >> conftest.$ac_ext
   6931 
   6932 /* The mapping between symbol names and symbols.  */
   6933 LT_DLSYM_CONST struct {
   6934   const char *name;
   6935   void       *address;
   6936 }
   6937 lt__PROGRAM__LTX_preloaded_symbols[] =
   6938 {
   6939   { "@PROGRAM@", (void *) 0 },
   6940 _LT_EOF
   6941 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6942 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6943   {0, (void *) 0}
   6944 };
   6945 
   6946 /* This works around a problem in FreeBSD linker */
   6947 #ifdef FREEBSD_WORKAROUND
   6948 static const void *lt_preloaded_setup() {
   6949   return lt__PROGRAM__LTX_preloaded_symbols;
   6950 }
   6951 #endif
   6952 
   6953 #ifdef __cplusplus
   6954 }
   6955 #endif
   6956 _LT_EOF
   6957 	  # Now try linking the two files.
   6958 	  mv conftest.$ac_objext conftstm.$ac_objext
   6959 	  lt_globsym_save_LIBS=$LIBS
   6960 	  lt_globsym_save_CFLAGS=$CFLAGS
   6961 	  LIBS=conftstm.$ac_objext
   6962 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6963 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6964   (eval $ac_link) 2>&5
   6965   ac_status=$?
   6966   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6967   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   6968 	    pipe_works=yes
   6969 	  fi
   6970 	  LIBS=$lt_globsym_save_LIBS
   6971 	  CFLAGS=$lt_globsym_save_CFLAGS
   6972 	else
   6973 	  echo "cannot find nm_test_func in $nlist" >&5
   6974 	fi
   6975       else
   6976 	echo "cannot find nm_test_var in $nlist" >&5
   6977       fi
   6978     else
   6979       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6980     fi
   6981   else
   6982     echo "$progname: failed program was:" >&5
   6983     cat conftest.$ac_ext >&5
   6984   fi
   6985   rm -rf conftest* conftst*
   6986 
   6987   # Do not use the global_symbol_pipe unless it works.
   6988   if test yes = "$pipe_works"; then
   6989     break
   6990   else
   6991     lt_cv_sys_global_symbol_pipe=
   6992   fi
   6993 done
   6994 
   6995 fi
   6996 
   6997 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6998   lt_cv_sys_global_symbol_to_cdecl=
   6999 fi
   7000 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7001   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7002 printf "%s\n" "failed" >&6; }
   7003 else
   7004   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7005 printf "%s\n" "ok" >&6; }
   7006 fi
   7007 
   7008 # Response file support.
   7009 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7010   nm_file_list_spec='@'
   7011 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7012   nm_file_list_spec='@'
   7013 fi
   7014 
   7015 
   7016 
   7017 
   7018 
   7019 
   7020 
   7021 
   7022 
   7023 
   7024 
   7025 
   7026 
   7027 
   7028 
   7029 
   7030 
   7031 
   7032 
   7033 
   7034 
   7035 
   7036 
   7037 
   7038 
   7039 
   7040 
   7041 
   7042 
   7043 
   7044 
   7045 
   7046 
   7047 
   7048 
   7049 
   7050 
   7051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7052 printf %s "checking for sysroot... " >&6; }
   7053 
   7054 # Check whether --with-sysroot was given.
   7055 if test ${with_sysroot+y}
   7056 then :
   7057   withval=$with_sysroot;
   7058 else $as_nop
   7059   with_sysroot=no
   7060 fi
   7061 
   7062 
   7063 lt_sysroot=
   7064 case $with_sysroot in #(
   7065  yes)
   7066    if test yes = "$GCC"; then
   7067      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   7068    fi
   7069    ;; #(
   7070  /*)
   7071    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   7072    ;; #(
   7073  no|'')
   7074    ;; #(
   7075  *)
   7076    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   7077 printf "%s\n" "$with_sysroot" >&6; }
   7078    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7079    ;;
   7080 esac
   7081 
   7082  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7083 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   7084 
   7085 
   7086 
   7087 
   7088 
   7089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   7090 printf %s "checking for a working dd... " >&6; }
   7091 if test ${ac_cv_path_lt_DD+y}
   7092 then :
   7093   printf %s "(cached) " >&6
   7094 else $as_nop
   7095   printf 0123456789abcdef0123456789abcdef >conftest.i
   7096 cat conftest.i conftest.i >conftest2.i
   7097 : ${lt_DD:=$DD}
   7098 if test -z "$lt_DD"; then
   7099   ac_path_lt_DD_found=false
   7100   # Loop through the user's path and test for each of PROGNAME-LIST
   7101   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7102 for as_dir in $PATH
   7103 do
   7104   IFS=$as_save_IFS
   7105   case $as_dir in #(((
   7106     '') as_dir=./ ;;
   7107     */) ;;
   7108     *) as_dir=$as_dir/ ;;
   7109   esac
   7110     for ac_prog in dd
   7111    do
   7112     for ac_exec_ext in '' $ac_executable_extensions; do
   7113       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   7114       as_fn_executable_p "$ac_path_lt_DD" || continue
   7115 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7116   cmp -s conftest.i conftest.out \
   7117   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   7118 fi
   7119       $ac_path_lt_DD_found && break 3
   7120     done
   7121   done
   7122   done
   7123 IFS=$as_save_IFS
   7124   if test -z "$ac_cv_path_lt_DD"; then
   7125     :
   7126   fi
   7127 else
   7128   ac_cv_path_lt_DD=$lt_DD
   7129 fi
   7130 
   7131 rm -f conftest.i conftest2.i conftest.out
   7132 fi
   7133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   7134 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   7135 
   7136 
   7137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   7138 printf %s "checking how to truncate binary pipes... " >&6; }
   7139 if test ${lt_cv_truncate_bin+y}
   7140 then :
   7141   printf %s "(cached) " >&6
   7142 else $as_nop
   7143   printf 0123456789abcdef0123456789abcdef >conftest.i
   7144 cat conftest.i conftest.i >conftest2.i
   7145 lt_cv_truncate_bin=
   7146 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7147   cmp -s conftest.i conftest.out \
   7148   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   7149 fi
   7150 rm -f conftest.i conftest2.i conftest.out
   7151 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   7152 fi
   7153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   7154 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   7155 
   7156 
   7157 
   7158 
   7159 
   7160 
   7161 
   7162 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   7163 func_cc_basename ()
   7164 {
   7165     for cc_temp in $*""; do
   7166       case $cc_temp in
   7167         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7168         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7169         \-*) ;;
   7170         *) break;;
   7171       esac
   7172     done
   7173     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7174 }
   7175 
   7176 # Check whether --enable-libtool-lock was given.
   7177 if test ${enable_libtool_lock+y}
   7178 then :
   7179   enableval=$enable_libtool_lock;
   7180 fi
   7181 
   7182 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   7183 
   7184 # Some flags need to be propagated to the compiler or linker for good
   7185 # libtool support.
   7186 case $host in
   7187 ia64-*-hpux*)
   7188   # Find out what ABI is being produced by ac_compile, and set mode
   7189   # options accordingly.
   7190   echo 'int i;' > conftest.$ac_ext
   7191   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7192   (eval $ac_compile) 2>&5
   7193   ac_status=$?
   7194   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7195   test $ac_status = 0; }; then
   7196     case `$FILECMD conftest.$ac_objext` in
   7197       *ELF-32*)
   7198 	HPUX_IA64_MODE=32
   7199 	;;
   7200       *ELF-64*)
   7201 	HPUX_IA64_MODE=64
   7202 	;;
   7203     esac
   7204   fi
   7205   rm -rf conftest*
   7206   ;;
   7207 *-*-irix6*)
   7208   # Find out what ABI is being produced by ac_compile, and set linker
   7209   # options accordingly.
   7210   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7211   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7212   (eval $ac_compile) 2>&5
   7213   ac_status=$?
   7214   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7215   test $ac_status = 0; }; then
   7216     if test yes = "$lt_cv_prog_gnu_ld"; then
   7217       case `$FILECMD conftest.$ac_objext` in
   7218 	*32-bit*)
   7219 	  LD="${LD-ld} -melf32bsmip"
   7220 	  ;;
   7221 	*N32*)
   7222 	  LD="${LD-ld} -melf32bmipn32"
   7223 	  ;;
   7224 	*64-bit*)
   7225 	  LD="${LD-ld} -melf64bmip"
   7226 	;;
   7227       esac
   7228     else
   7229       case `$FILECMD conftest.$ac_objext` in
   7230 	*32-bit*)
   7231 	  LD="${LD-ld} -32"
   7232 	  ;;
   7233 	*N32*)
   7234 	  LD="${LD-ld} -n32"
   7235 	  ;;
   7236 	*64-bit*)
   7237 	  LD="${LD-ld} -64"
   7238 	  ;;
   7239       esac
   7240     fi
   7241   fi
   7242   rm -rf conftest*
   7243   ;;
   7244 
   7245 mips64*-*linux*)
   7246   # Find out what ABI is being produced by ac_compile, and set linker
   7247   # options accordingly.
   7248   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7249   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7250   (eval $ac_compile) 2>&5
   7251   ac_status=$?
   7252   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7253   test $ac_status = 0; }; then
   7254     emul=elf
   7255     case `$FILECMD conftest.$ac_objext` in
   7256       *32-bit*)
   7257 	emul="${emul}32"
   7258 	;;
   7259       *64-bit*)
   7260 	emul="${emul}64"
   7261 	;;
   7262     esac
   7263     case `$FILECMD conftest.$ac_objext` in
   7264       *MSB*)
   7265 	emul="${emul}btsmip"
   7266 	;;
   7267       *LSB*)
   7268 	emul="${emul}ltsmip"
   7269 	;;
   7270     esac
   7271     case `$FILECMD conftest.$ac_objext` in
   7272       *N32*)
   7273 	emul="${emul}n32"
   7274 	;;
   7275     esac
   7276     LD="${LD-ld} -m $emul"
   7277   fi
   7278   rm -rf conftest*
   7279   ;;
   7280 
   7281 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7282 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7283   # Find out what ABI is being produced by ac_compile, and set linker
   7284   # options accordingly.  Note that the listed cases only cover the
   7285   # situations where additional linker options are needed (such as when
   7286   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   7287   # vice versa); the common cases where no linker options are needed do
   7288   # not appear in the list.
   7289   echo 'int i;' > conftest.$ac_ext
   7290   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7291   (eval $ac_compile) 2>&5
   7292   ac_status=$?
   7293   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7294   test $ac_status = 0; }; then
   7295     case `$FILECMD conftest.o` in
   7296       *32-bit*)
   7297 	case $host in
   7298 	  x86_64-*kfreebsd*-gnu)
   7299 	    LD="${LD-ld} -m elf_i386_fbsd"
   7300 	    ;;
   7301 	  x86_64-*linux*)
   7302 	    case `$FILECMD conftest.o` in
   7303 	      *x86-64*)
   7304 		LD="${LD-ld} -m elf32_x86_64"
   7305 		;;
   7306 	      *)
   7307 		LD="${LD-ld} -m elf_i386"
   7308 		;;
   7309 	    esac
   7310 	    ;;
   7311 	  powerpc64le-*linux*)
   7312 	    LD="${LD-ld} -m elf32lppclinux"
   7313 	    ;;
   7314 	  powerpc64-*linux*)
   7315 	    LD="${LD-ld} -m elf32ppclinux"
   7316 	    ;;
   7317 	  s390x-*linux*)
   7318 	    LD="${LD-ld} -m elf_s390"
   7319 	    ;;
   7320 	  sparc64-*linux*)
   7321 	    LD="${LD-ld} -m elf32_sparc"
   7322 	    ;;
   7323 	esac
   7324 	;;
   7325       *64-bit*)
   7326 	case $host in
   7327 	  x86_64-*kfreebsd*-gnu)
   7328 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7329 	    ;;
   7330 	  x86_64-*linux*)
   7331 	    LD="${LD-ld} -m elf_x86_64"
   7332 	    ;;
   7333 	  powerpcle-*linux*)
   7334 	    LD="${LD-ld} -m elf64lppc"
   7335 	    ;;
   7336 	  powerpc-*linux*)
   7337 	    LD="${LD-ld} -m elf64ppc"
   7338 	    ;;
   7339 	  s390*-*linux*|s390*-*tpf*)
   7340 	    LD="${LD-ld} -m elf64_s390"
   7341 	    ;;
   7342 	  sparc*-*linux*)
   7343 	    LD="${LD-ld} -m elf64_sparc"
   7344 	    ;;
   7345 	esac
   7346 	;;
   7347     esac
   7348   fi
   7349   rm -rf conftest*
   7350   ;;
   7351 
   7352 *-*-sco3.2v5*)
   7353   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7354   SAVE_CFLAGS=$CFLAGS
   7355   CFLAGS="$CFLAGS -belf"
   7356   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7357 printf %s "checking whether the C compiler needs -belf... " >&6; }
   7358 if test ${lt_cv_cc_needs_belf+y}
   7359 then :
   7360   printf %s "(cached) " >&6
   7361 else $as_nop
   7362   ac_ext=c
   7363 ac_cpp='$CPP $CPPFLAGS'
   7364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7367 
   7368      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7369 /* end confdefs.h.  */
   7370 
   7371 int
   7372 main (void)
   7373 {
   7374 
   7375   ;
   7376   return 0;
   7377 }
   7378 _ACEOF
   7379 if ac_fn_c_try_link "$LINENO"
   7380 then :
   7381   lt_cv_cc_needs_belf=yes
   7382 else $as_nop
   7383   lt_cv_cc_needs_belf=no
   7384 fi
   7385 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7386     conftest$ac_exeext conftest.$ac_ext
   7387      ac_ext=c
   7388 ac_cpp='$CPP $CPPFLAGS'
   7389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7392 
   7393 fi
   7394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7395 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   7396   if test yes != "$lt_cv_cc_needs_belf"; then
   7397     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7398     CFLAGS=$SAVE_CFLAGS
   7399   fi
   7400   ;;
   7401 *-*solaris*)
   7402   # Find out what ABI is being produced by ac_compile, and set linker
   7403   # options accordingly.
   7404   echo 'int i;' > conftest.$ac_ext
   7405   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7406   (eval $ac_compile) 2>&5
   7407   ac_status=$?
   7408   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7409   test $ac_status = 0; }; then
   7410     case `$FILECMD conftest.o` in
   7411     *64-bit*)
   7412       case $lt_cv_prog_gnu_ld in
   7413       yes*)
   7414         case $host in
   7415         i?86-*-solaris*|x86_64-*-solaris*)
   7416           LD="${LD-ld} -m elf_x86_64"
   7417           ;;
   7418         sparc*-*-solaris*)
   7419           LD="${LD-ld} -m elf64_sparc"
   7420           ;;
   7421         esac
   7422         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7423         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7424           LD=${LD-ld}_sol2
   7425         fi
   7426         ;;
   7427       *)
   7428 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7429 	  LD="${LD-ld} -64"
   7430 	fi
   7431 	;;
   7432       esac
   7433       ;;
   7434     esac
   7435   fi
   7436   rm -rf conftest*
   7437   ;;
   7438 esac
   7439 
   7440 need_locks=$enable_libtool_lock
   7441 
   7442 if test -n "$ac_tool_prefix"; then
   7443   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7444 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7446 printf %s "checking for $ac_word... " >&6; }
   7447 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   7448 then :
   7449   printf %s "(cached) " >&6
   7450 else $as_nop
   7451   if test -n "$MANIFEST_TOOL"; then
   7452   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7453 else
   7454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7455 for as_dir in $PATH
   7456 do
   7457   IFS=$as_save_IFS
   7458   case $as_dir in #(((
   7459     '') as_dir=./ ;;
   7460     */) ;;
   7461     *) as_dir=$as_dir/ ;;
   7462   esac
   7463     for ac_exec_ext in '' $ac_executable_extensions; do
   7464   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7465     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7466     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7467     break 2
   7468   fi
   7469 done
   7470   done
   7471 IFS=$as_save_IFS
   7472 
   7473 fi
   7474 fi
   7475 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7476 if test -n "$MANIFEST_TOOL"; then
   7477   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7478 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   7479 else
   7480   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7481 printf "%s\n" "no" >&6; }
   7482 fi
   7483 
   7484 
   7485 fi
   7486 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7487   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7488   # Extract the first word of "mt", so it can be a program name with args.
   7489 set dummy mt; ac_word=$2
   7490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7491 printf %s "checking for $ac_word... " >&6; }
   7492 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   7493 then :
   7494   printf %s "(cached) " >&6
   7495 else $as_nop
   7496   if test -n "$ac_ct_MANIFEST_TOOL"; then
   7497   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7498 else
   7499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7500 for as_dir in $PATH
   7501 do
   7502   IFS=$as_save_IFS
   7503   case $as_dir in #(((
   7504     '') as_dir=./ ;;
   7505     */) ;;
   7506     *) as_dir=$as_dir/ ;;
   7507   esac
   7508     for ac_exec_ext in '' $ac_executable_extensions; do
   7509   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7510     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7511     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7512     break 2
   7513   fi
   7514 done
   7515   done
   7516 IFS=$as_save_IFS
   7517 
   7518 fi
   7519 fi
   7520 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7521 if test -n "$ac_ct_MANIFEST_TOOL"; then
   7522   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7523 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   7524 else
   7525   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7526 printf "%s\n" "no" >&6; }
   7527 fi
   7528 
   7529   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7530     MANIFEST_TOOL=":"
   7531   else
   7532     case $cross_compiling:$ac_tool_warned in
   7533 yes:)
   7534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7535 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7536 ac_tool_warned=yes ;;
   7537 esac
   7538     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7539   fi
   7540 else
   7541   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7542 fi
   7543 
   7544 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7546 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7547 if test ${lt_cv_path_mainfest_tool+y}
   7548 then :
   7549   printf %s "(cached) " >&6
   7550 else $as_nop
   7551   lt_cv_path_mainfest_tool=no
   7552   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7553   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7554   cat conftest.err >&5
   7555   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7556     lt_cv_path_mainfest_tool=yes
   7557   fi
   7558   rm -f conftest*
   7559 fi
   7560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   7561 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
   7562 if test yes != "$lt_cv_path_mainfest_tool"; then
   7563   MANIFEST_TOOL=:
   7564 fi
   7565 
   7566 
   7567 
   7568 
   7569 
   7570 
   7571   case $host_os in
   7572     rhapsody* | darwin*)
   7573     if test -n "$ac_tool_prefix"; then
   7574   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7575 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7577 printf %s "checking for $ac_word... " >&6; }
   7578 if test ${ac_cv_prog_DSYMUTIL+y}
   7579 then :
   7580   printf %s "(cached) " >&6
   7581 else $as_nop
   7582   if test -n "$DSYMUTIL"; then
   7583   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7584 else
   7585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7586 for as_dir in $PATH
   7587 do
   7588   IFS=$as_save_IFS
   7589   case $as_dir in #(((
   7590     '') as_dir=./ ;;
   7591     */) ;;
   7592     *) as_dir=$as_dir/ ;;
   7593   esac
   7594     for ac_exec_ext in '' $ac_executable_extensions; do
   7595   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7596     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7597     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7598     break 2
   7599   fi
   7600 done
   7601   done
   7602 IFS=$as_save_IFS
   7603 
   7604 fi
   7605 fi
   7606 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7607 if test -n "$DSYMUTIL"; then
   7608   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7609 printf "%s\n" "$DSYMUTIL" >&6; }
   7610 else
   7611   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7612 printf "%s\n" "no" >&6; }
   7613 fi
   7614 
   7615 
   7616 fi
   7617 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7618   ac_ct_DSYMUTIL=$DSYMUTIL
   7619   # Extract the first word of "dsymutil", so it can be a program name with args.
   7620 set dummy dsymutil; ac_word=$2
   7621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7622 printf %s "checking for $ac_word... " >&6; }
   7623 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   7624 then :
   7625   printf %s "(cached) " >&6
   7626 else $as_nop
   7627   if test -n "$ac_ct_DSYMUTIL"; then
   7628   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7629 else
   7630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7631 for as_dir in $PATH
   7632 do
   7633   IFS=$as_save_IFS
   7634   case $as_dir in #(((
   7635     '') as_dir=./ ;;
   7636     */) ;;
   7637     *) as_dir=$as_dir/ ;;
   7638   esac
   7639     for ac_exec_ext in '' $ac_executable_extensions; do
   7640   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7641     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7642     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7643     break 2
   7644   fi
   7645 done
   7646   done
   7647 IFS=$as_save_IFS
   7648 
   7649 fi
   7650 fi
   7651 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7652 if test -n "$ac_ct_DSYMUTIL"; then
   7653   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7654 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   7655 else
   7656   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7657 printf "%s\n" "no" >&6; }
   7658 fi
   7659 
   7660   if test "x$ac_ct_DSYMUTIL" = x; then
   7661     DSYMUTIL=":"
   7662   else
   7663     case $cross_compiling:$ac_tool_warned in
   7664 yes:)
   7665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7666 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7667 ac_tool_warned=yes ;;
   7668 esac
   7669     DSYMUTIL=$ac_ct_DSYMUTIL
   7670   fi
   7671 else
   7672   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7673 fi
   7674 
   7675     if test -n "$ac_tool_prefix"; then
   7676   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7677 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7679 printf %s "checking for $ac_word... " >&6; }
   7680 if test ${ac_cv_prog_NMEDIT+y}
   7681 then :
   7682   printf %s "(cached) " >&6
   7683 else $as_nop
   7684   if test -n "$NMEDIT"; then
   7685   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7686 else
   7687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7688 for as_dir in $PATH
   7689 do
   7690   IFS=$as_save_IFS
   7691   case $as_dir in #(((
   7692     '') as_dir=./ ;;
   7693     */) ;;
   7694     *) as_dir=$as_dir/ ;;
   7695   esac
   7696     for ac_exec_ext in '' $ac_executable_extensions; do
   7697   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7698     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7699     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7700     break 2
   7701   fi
   7702 done
   7703   done
   7704 IFS=$as_save_IFS
   7705 
   7706 fi
   7707 fi
   7708 NMEDIT=$ac_cv_prog_NMEDIT
   7709 if test -n "$NMEDIT"; then
   7710   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7711 printf "%s\n" "$NMEDIT" >&6; }
   7712 else
   7713   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7714 printf "%s\n" "no" >&6; }
   7715 fi
   7716 
   7717 
   7718 fi
   7719 if test -z "$ac_cv_prog_NMEDIT"; then
   7720   ac_ct_NMEDIT=$NMEDIT
   7721   # Extract the first word of "nmedit", so it can be a program name with args.
   7722 set dummy nmedit; ac_word=$2
   7723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7724 printf %s "checking for $ac_word... " >&6; }
   7725 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   7726 then :
   7727   printf %s "(cached) " >&6
   7728 else $as_nop
   7729   if test -n "$ac_ct_NMEDIT"; then
   7730   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7731 else
   7732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7733 for as_dir in $PATH
   7734 do
   7735   IFS=$as_save_IFS
   7736   case $as_dir in #(((
   7737     '') as_dir=./ ;;
   7738     */) ;;
   7739     *) as_dir=$as_dir/ ;;
   7740   esac
   7741     for ac_exec_ext in '' $ac_executable_extensions; do
   7742   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7743     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7744     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7745     break 2
   7746   fi
   7747 done
   7748   done
   7749 IFS=$as_save_IFS
   7750 
   7751 fi
   7752 fi
   7753 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7754 if test -n "$ac_ct_NMEDIT"; then
   7755   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7756 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   7757 else
   7758   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7759 printf "%s\n" "no" >&6; }
   7760 fi
   7761 
   7762   if test "x$ac_ct_NMEDIT" = x; then
   7763     NMEDIT=":"
   7764   else
   7765     case $cross_compiling:$ac_tool_warned in
   7766 yes:)
   7767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7768 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7769 ac_tool_warned=yes ;;
   7770 esac
   7771     NMEDIT=$ac_ct_NMEDIT
   7772   fi
   7773 else
   7774   NMEDIT="$ac_cv_prog_NMEDIT"
   7775 fi
   7776 
   7777     if test -n "$ac_tool_prefix"; then
   7778   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7779 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7781 printf %s "checking for $ac_word... " >&6; }
   7782 if test ${ac_cv_prog_LIPO+y}
   7783 then :
   7784   printf %s "(cached) " >&6
   7785 else $as_nop
   7786   if test -n "$LIPO"; then
   7787   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7788 else
   7789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7790 for as_dir in $PATH
   7791 do
   7792   IFS=$as_save_IFS
   7793   case $as_dir in #(((
   7794     '') as_dir=./ ;;
   7795     */) ;;
   7796     *) as_dir=$as_dir/ ;;
   7797   esac
   7798     for ac_exec_ext in '' $ac_executable_extensions; do
   7799   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7800     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7801     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7802     break 2
   7803   fi
   7804 done
   7805   done
   7806 IFS=$as_save_IFS
   7807 
   7808 fi
   7809 fi
   7810 LIPO=$ac_cv_prog_LIPO
   7811 if test -n "$LIPO"; then
   7812   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7813 printf "%s\n" "$LIPO" >&6; }
   7814 else
   7815   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7816 printf "%s\n" "no" >&6; }
   7817 fi
   7818 
   7819 
   7820 fi
   7821 if test -z "$ac_cv_prog_LIPO"; then
   7822   ac_ct_LIPO=$LIPO
   7823   # Extract the first word of "lipo", so it can be a program name with args.
   7824 set dummy lipo; ac_word=$2
   7825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7826 printf %s "checking for $ac_word... " >&6; }
   7827 if test ${ac_cv_prog_ac_ct_LIPO+y}
   7828 then :
   7829   printf %s "(cached) " >&6
   7830 else $as_nop
   7831   if test -n "$ac_ct_LIPO"; then
   7832   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7833 else
   7834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7835 for as_dir in $PATH
   7836 do
   7837   IFS=$as_save_IFS
   7838   case $as_dir in #(((
   7839     '') as_dir=./ ;;
   7840     */) ;;
   7841     *) as_dir=$as_dir/ ;;
   7842   esac
   7843     for ac_exec_ext in '' $ac_executable_extensions; do
   7844   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7845     ac_cv_prog_ac_ct_LIPO="lipo"
   7846     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7847     break 2
   7848   fi
   7849 done
   7850   done
   7851 IFS=$as_save_IFS
   7852 
   7853 fi
   7854 fi
   7855 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7856 if test -n "$ac_ct_LIPO"; then
   7857   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7858 printf "%s\n" "$ac_ct_LIPO" >&6; }
   7859 else
   7860   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7861 printf "%s\n" "no" >&6; }
   7862 fi
   7863 
   7864   if test "x$ac_ct_LIPO" = x; then
   7865     LIPO=":"
   7866   else
   7867     case $cross_compiling:$ac_tool_warned in
   7868 yes:)
   7869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7870 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7871 ac_tool_warned=yes ;;
   7872 esac
   7873     LIPO=$ac_ct_LIPO
   7874   fi
   7875 else
   7876   LIPO="$ac_cv_prog_LIPO"
   7877 fi
   7878 
   7879     if test -n "$ac_tool_prefix"; then
   7880   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7881 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7883 printf %s "checking for $ac_word... " >&6; }
   7884 if test ${ac_cv_prog_OTOOL+y}
   7885 then :
   7886   printf %s "(cached) " >&6
   7887 else $as_nop
   7888   if test -n "$OTOOL"; then
   7889   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7890 else
   7891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7892 for as_dir in $PATH
   7893 do
   7894   IFS=$as_save_IFS
   7895   case $as_dir in #(((
   7896     '') as_dir=./ ;;
   7897     */) ;;
   7898     *) as_dir=$as_dir/ ;;
   7899   esac
   7900     for ac_exec_ext in '' $ac_executable_extensions; do
   7901   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7902     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7903     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7904     break 2
   7905   fi
   7906 done
   7907   done
   7908 IFS=$as_save_IFS
   7909 
   7910 fi
   7911 fi
   7912 OTOOL=$ac_cv_prog_OTOOL
   7913 if test -n "$OTOOL"; then
   7914   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7915 printf "%s\n" "$OTOOL" >&6; }
   7916 else
   7917   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7918 printf "%s\n" "no" >&6; }
   7919 fi
   7920 
   7921 
   7922 fi
   7923 if test -z "$ac_cv_prog_OTOOL"; then
   7924   ac_ct_OTOOL=$OTOOL
   7925   # Extract the first word of "otool", so it can be a program name with args.
   7926 set dummy otool; ac_word=$2
   7927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7928 printf %s "checking for $ac_word... " >&6; }
   7929 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   7930 then :
   7931   printf %s "(cached) " >&6
   7932 else $as_nop
   7933   if test -n "$ac_ct_OTOOL"; then
   7934   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7935 else
   7936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7937 for as_dir in $PATH
   7938 do
   7939   IFS=$as_save_IFS
   7940   case $as_dir in #(((
   7941     '') as_dir=./ ;;
   7942     */) ;;
   7943     *) as_dir=$as_dir/ ;;
   7944   esac
   7945     for ac_exec_ext in '' $ac_executable_extensions; do
   7946   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7947     ac_cv_prog_ac_ct_OTOOL="otool"
   7948     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7949     break 2
   7950   fi
   7951 done
   7952   done
   7953 IFS=$as_save_IFS
   7954 
   7955 fi
   7956 fi
   7957 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7958 if test -n "$ac_ct_OTOOL"; then
   7959   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7960 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   7961 else
   7962   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7963 printf "%s\n" "no" >&6; }
   7964 fi
   7965 
   7966   if test "x$ac_ct_OTOOL" = x; then
   7967     OTOOL=":"
   7968   else
   7969     case $cross_compiling:$ac_tool_warned in
   7970 yes:)
   7971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7972 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7973 ac_tool_warned=yes ;;
   7974 esac
   7975     OTOOL=$ac_ct_OTOOL
   7976   fi
   7977 else
   7978   OTOOL="$ac_cv_prog_OTOOL"
   7979 fi
   7980 
   7981     if test -n "$ac_tool_prefix"; then
   7982   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7983 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7985 printf %s "checking for $ac_word... " >&6; }
   7986 if test ${ac_cv_prog_OTOOL64+y}
   7987 then :
   7988   printf %s "(cached) " >&6
   7989 else $as_nop
   7990   if test -n "$OTOOL64"; then
   7991   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7992 else
   7993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7994 for as_dir in $PATH
   7995 do
   7996   IFS=$as_save_IFS
   7997   case $as_dir in #(((
   7998     '') as_dir=./ ;;
   7999     */) ;;
   8000     *) as_dir=$as_dir/ ;;
   8001   esac
   8002     for ac_exec_ext in '' $ac_executable_extensions; do
   8003   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8004     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8005     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8006     break 2
   8007   fi
   8008 done
   8009   done
   8010 IFS=$as_save_IFS
   8011 
   8012 fi
   8013 fi
   8014 OTOOL64=$ac_cv_prog_OTOOL64
   8015 if test -n "$OTOOL64"; then
   8016   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8017 printf "%s\n" "$OTOOL64" >&6; }
   8018 else
   8019   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8020 printf "%s\n" "no" >&6; }
   8021 fi
   8022 
   8023 
   8024 fi
   8025 if test -z "$ac_cv_prog_OTOOL64"; then
   8026   ac_ct_OTOOL64=$OTOOL64
   8027   # Extract the first word of "otool64", so it can be a program name with args.
   8028 set dummy otool64; ac_word=$2
   8029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8030 printf %s "checking for $ac_word... " >&6; }
   8031 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   8032 then :
   8033   printf %s "(cached) " >&6
   8034 else $as_nop
   8035   if test -n "$ac_ct_OTOOL64"; then
   8036   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8037 else
   8038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8039 for as_dir in $PATH
   8040 do
   8041   IFS=$as_save_IFS
   8042   case $as_dir in #(((
   8043     '') as_dir=./ ;;
   8044     */) ;;
   8045     *) as_dir=$as_dir/ ;;
   8046   esac
   8047     for ac_exec_ext in '' $ac_executable_extensions; do
   8048   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8049     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8050     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8051     break 2
   8052   fi
   8053 done
   8054   done
   8055 IFS=$as_save_IFS
   8056 
   8057 fi
   8058 fi
   8059 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8060 if test -n "$ac_ct_OTOOL64"; then
   8061   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8062 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   8063 else
   8064   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8065 printf "%s\n" "no" >&6; }
   8066 fi
   8067 
   8068   if test "x$ac_ct_OTOOL64" = x; then
   8069     OTOOL64=":"
   8070   else
   8071     case $cross_compiling:$ac_tool_warned in
   8072 yes:)
   8073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8074 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8075 ac_tool_warned=yes ;;
   8076 esac
   8077     OTOOL64=$ac_ct_OTOOL64
   8078   fi
   8079 else
   8080   OTOOL64="$ac_cv_prog_OTOOL64"
   8081 fi
   8082 
   8083 
   8084 
   8085 
   8086 
   8087 
   8088 
   8089 
   8090 
   8091 
   8092 
   8093 
   8094 
   8095 
   8096 
   8097 
   8098 
   8099 
   8100 
   8101 
   8102 
   8103 
   8104 
   8105 
   8106 
   8107 
   8108 
   8109     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8110 printf %s "checking for -single_module linker flag... " >&6; }
   8111 if test ${lt_cv_apple_cc_single_mod+y}
   8112 then :
   8113   printf %s "(cached) " >&6
   8114 else $as_nop
   8115   lt_cv_apple_cc_single_mod=no
   8116       if test -z "$LT_MULTI_MODULE"; then
   8117 	# By default we will add the -single_module flag. You can override
   8118 	# by either setting the environment variable LT_MULTI_MODULE
   8119 	# non-empty at configure time, or by adding -multi_module to the
   8120 	# link flags.
   8121 	rm -rf libconftest.dylib*
   8122 	echo "int foo(void){return 1;}" > conftest.c
   8123 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8124 -dynamiclib -Wl,-single_module conftest.c" >&5
   8125 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8126 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8127         _lt_result=$?
   8128 	# If there is a non-empty error log, and "single_module"
   8129 	# appears in it, assume the flag caused a linker warning
   8130         if test -s conftest.err && $GREP single_module conftest.err; then
   8131 	  cat conftest.err >&5
   8132 	# Otherwise, if the output was created with a 0 exit code from
   8133 	# the compiler, it worked.
   8134 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   8135 	  lt_cv_apple_cc_single_mod=yes
   8136 	else
   8137 	  cat conftest.err >&5
   8138 	fi
   8139 	rm -rf libconftest.dylib*
   8140 	rm -f conftest.*
   8141       fi
   8142 fi
   8143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8144 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   8145 
   8146     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8147 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   8148 if test ${lt_cv_ld_exported_symbols_list+y}
   8149 then :
   8150   printf %s "(cached) " >&6
   8151 else $as_nop
   8152   lt_cv_ld_exported_symbols_list=no
   8153       save_LDFLAGS=$LDFLAGS
   8154       echo "_main" > conftest.sym
   8155       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8156       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8157 /* end confdefs.h.  */
   8158 
   8159 int
   8160 main (void)
   8161 {
   8162 
   8163   ;
   8164   return 0;
   8165 }
   8166 _ACEOF
   8167 if ac_fn_c_try_link "$LINENO"
   8168 then :
   8169   lt_cv_ld_exported_symbols_list=yes
   8170 else $as_nop
   8171   lt_cv_ld_exported_symbols_list=no
   8172 fi
   8173 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8174     conftest$ac_exeext conftest.$ac_ext
   8175 	LDFLAGS=$save_LDFLAGS
   8176 
   8177 fi
   8178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8179 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   8180 
   8181     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8182 printf %s "checking for -force_load linker flag... " >&6; }
   8183 if test ${lt_cv_ld_force_load+y}
   8184 then :
   8185   printf %s "(cached) " >&6
   8186 else $as_nop
   8187   lt_cv_ld_force_load=no
   8188       cat > conftest.c << _LT_EOF
   8189 int forced_loaded() { return 2;}
   8190 _LT_EOF
   8191       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8192       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8193       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   8194       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   8195       echo "$RANLIB libconftest.a" >&5
   8196       $RANLIB libconftest.a 2>&5
   8197       cat > conftest.c << _LT_EOF
   8198 int main() { return 0;}
   8199 _LT_EOF
   8200       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8201       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8202       _lt_result=$?
   8203       if test -s conftest.err && $GREP force_load conftest.err; then
   8204 	cat conftest.err >&5
   8205       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   8206 	lt_cv_ld_force_load=yes
   8207       else
   8208 	cat conftest.err >&5
   8209       fi
   8210         rm -f conftest.err libconftest.a conftest conftest.c
   8211         rm -rf conftest.dSYM
   8212 
   8213 fi
   8214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8215 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   8216     case $host_os in
   8217     rhapsody* | darwin1.[012])
   8218       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   8219     darwin1.*)
   8220       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8221     darwin*)
   8222       case $MACOSX_DEPLOYMENT_TARGET,$host in
   8223         10.[012],*|,*powerpc*-darwin[5-8]*)
   8224           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8225         *)
   8226           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   8227       esac
   8228     ;;
   8229   esac
   8230     if test yes = "$lt_cv_apple_cc_single_mod"; then
   8231       _lt_dar_single_mod='$single_module'
   8232     fi
   8233     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   8234       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   8235     else
   8236       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   8237     fi
   8238     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   8239       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8240     else
   8241       _lt_dsymutil=
   8242     fi
   8243     ;;
   8244   esac
   8245 
   8246 # func_munge_path_list VARIABLE PATH
   8247 # -----------------------------------
   8248 # VARIABLE is name of variable containing _space_ separated list of
   8249 # directories to be munged by the contents of PATH, which is string
   8250 # having a format:
   8251 # "DIR[:DIR]:"
   8252 #       string "DIR[ DIR]" will be prepended to VARIABLE
   8253 # ":DIR[:DIR]"
   8254 #       string "DIR[ DIR]" will be appended to VARIABLE
   8255 # "DIRP[:DIRP]::[DIRA:]DIRA"
   8256 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   8257 #       "DIRA[ DIRA]" will be appended to VARIABLE
   8258 # "DIR[:DIR]"
   8259 #       VARIABLE will be replaced by "DIR[ DIR]"
   8260 func_munge_path_list ()
   8261 {
   8262     case x$2 in
   8263     x)
   8264         ;;
   8265     *:)
   8266         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   8267         ;;
   8268     x:*)
   8269         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   8270         ;;
   8271     *::*)
   8272         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   8273         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   8274         ;;
   8275     *)
   8276         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   8277         ;;
   8278     esac
   8279 }
   8280 
   8281 ac_header= ac_cache=
   8282 for ac_item in $ac_header_c_list
   8283 do
   8284   if test $ac_cache; then
   8285     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   8286     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   8287       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   8288     fi
   8289     ac_header= ac_cache=
   8290   elif test $ac_header; then
   8291     ac_cache=$ac_item
   8292   else
   8293     ac_header=$ac_item
   8294   fi
   8295 done
   8296 
   8297 
   8298 
   8299 
   8300 
   8301 
   8302 
   8303 
   8304 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   8305 then :
   8306 
   8307 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   8308 
   8309 fi
   8310 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8311 "
   8312 if test "x$ac_cv_header_dlfcn_h" = xyes
   8313 then :
   8314   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   8315 
   8316 fi
   8317 
   8318 
   8319 
   8320 
   8321 
   8322 # Set options
   8323 
   8324 
   8325 
   8326         enable_dlopen=no
   8327 
   8328 
   8329   enable_win32_dll=no
   8330 
   8331 
   8332             # Check whether --enable-shared was given.
   8333 if test ${enable_shared+y}
   8334 then :
   8335   enableval=$enable_shared; p=${PACKAGE-default}
   8336     case $enableval in
   8337     yes) enable_shared=yes ;;
   8338     no) enable_shared=no ;;
   8339     *)
   8340       enable_shared=no
   8341       # Look at the argument we got.  We use all the common list separators.
   8342       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8343       for pkg in $enableval; do
   8344 	IFS=$lt_save_ifs
   8345 	if test "X$pkg" = "X$p"; then
   8346 	  enable_shared=yes
   8347 	fi
   8348       done
   8349       IFS=$lt_save_ifs
   8350       ;;
   8351     esac
   8352 else $as_nop
   8353   enable_shared=yes
   8354 fi
   8355 
   8356 
   8357 
   8358 
   8359 
   8360 
   8361 
   8362 
   8363 
   8364   # Check whether --enable-static was given.
   8365 if test ${enable_static+y}
   8366 then :
   8367   enableval=$enable_static; p=${PACKAGE-default}
   8368     case $enableval in
   8369     yes) enable_static=yes ;;
   8370     no) enable_static=no ;;
   8371     *)
   8372      enable_static=no
   8373       # Look at the argument we got.  We use all the common list separators.
   8374       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8375       for pkg in $enableval; do
   8376 	IFS=$lt_save_ifs
   8377 	if test "X$pkg" = "X$p"; then
   8378 	  enable_static=yes
   8379 	fi
   8380       done
   8381       IFS=$lt_save_ifs
   8382       ;;
   8383     esac
   8384 else $as_nop
   8385   enable_static=yes
   8386 fi
   8387 
   8388 
   8389 
   8390 
   8391 
   8392 
   8393 
   8394 
   8395 
   8396 
   8397 # Check whether --with-pic was given.
   8398 if test ${with_pic+y}
   8399 then :
   8400   withval=$with_pic; lt_p=${PACKAGE-default}
   8401     case $withval in
   8402     yes|no) pic_mode=$withval ;;
   8403     *)
   8404       pic_mode=default
   8405       # Look at the argument we got.  We use all the common list separators.
   8406       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8407       for lt_pkg in $withval; do
   8408 	IFS=$lt_save_ifs
   8409 	if test "X$lt_pkg" = "X$lt_p"; then
   8410 	  pic_mode=yes
   8411 	fi
   8412       done
   8413       IFS=$lt_save_ifs
   8414       ;;
   8415     esac
   8416 else $as_nop
   8417   pic_mode=default
   8418 fi
   8419 
   8420 
   8421 
   8422 
   8423 
   8424 
   8425 
   8426 
   8427   # Check whether --enable-fast-install was given.
   8428 if test ${enable_fast_install+y}
   8429 then :
   8430   enableval=$enable_fast_install; p=${PACKAGE-default}
   8431     case $enableval in
   8432     yes) enable_fast_install=yes ;;
   8433     no) enable_fast_install=no ;;
   8434     *)
   8435       enable_fast_install=no
   8436       # Look at the argument we got.  We use all the common list separators.
   8437       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8438       for pkg in $enableval; do
   8439 	IFS=$lt_save_ifs
   8440 	if test "X$pkg" = "X$p"; then
   8441 	  enable_fast_install=yes
   8442 	fi
   8443       done
   8444       IFS=$lt_save_ifs
   8445       ;;
   8446     esac
   8447 else $as_nop
   8448   enable_fast_install=yes
   8449 fi
   8450 
   8451 
   8452 
   8453 
   8454 
   8455 
   8456 
   8457 
   8458   shared_archive_member_spec=
   8459 case $host,$enable_shared in
   8460 power*-*-aix[5-9]*,yes)
   8461   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   8462 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   8463 
   8464 # Check whether --with-aix-soname was given.
   8465 if test ${with_aix_soname+y}
   8466 then :
   8467   withval=$with_aix_soname; case $withval in
   8468     aix|svr4|both)
   8469       ;;
   8470     *)
   8471       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   8472       ;;
   8473     esac
   8474     lt_cv_with_aix_soname=$with_aix_soname
   8475 else $as_nop
   8476   if test ${lt_cv_with_aix_soname+y}
   8477 then :
   8478   printf %s "(cached) " >&6
   8479 else $as_nop
   8480   lt_cv_with_aix_soname=aix
   8481 fi
   8482 
   8483     with_aix_soname=$lt_cv_with_aix_soname
   8484 fi
   8485 
   8486   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   8487 printf "%s\n" "$with_aix_soname" >&6; }
   8488   if test aix != "$with_aix_soname"; then
   8489     # For the AIX way of multilib, we name the shared archive member
   8490     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   8491     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   8492     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   8493     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   8494     if test 64 = "${OBJECT_MODE-32}"; then
   8495       shared_archive_member_spec=shr_64
   8496     else
   8497       shared_archive_member_spec=shr
   8498     fi
   8499   fi
   8500   ;;
   8501 *)
   8502   with_aix_soname=aix
   8503   ;;
   8504 esac
   8505 
   8506 
   8507 
   8508 
   8509 
   8510 
   8511 
   8512 
   8513 
   8514 
   8515 # This can be used to rebuild libtool when needed
   8516 LIBTOOL_DEPS=$ltmain
   8517 
   8518 # Always use our own libtool.
   8519 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8520 
   8521 
   8522 
   8523 
   8524 
   8525 
   8526 
   8527 
   8528 
   8529 
   8530 
   8531 
   8532 
   8533 
   8534 
   8535 
   8536 
   8537 
   8538 
   8539 
   8540 
   8541 
   8542 
   8543 
   8544 
   8545 
   8546 
   8547 
   8548 
   8549 
   8550 test -z "$LN_S" && LN_S="ln -s"
   8551 
   8552 
   8553 
   8554 
   8555 
   8556 
   8557 
   8558 
   8559 
   8560 
   8561 
   8562 
   8563 
   8564 
   8565 if test -n "${ZSH_VERSION+set}"; then
   8566    setopt NO_GLOB_SUBST
   8567 fi
   8568 
   8569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8570 printf %s "checking for objdir... " >&6; }
   8571 if test ${lt_cv_objdir+y}
   8572 then :
   8573   printf %s "(cached) " >&6
   8574 else $as_nop
   8575   rm -f .libs 2>/dev/null
   8576 mkdir .libs 2>/dev/null
   8577 if test -d .libs; then
   8578   lt_cv_objdir=.libs
   8579 else
   8580   # MS-DOS does not allow filenames that begin with a dot.
   8581   lt_cv_objdir=_libs
   8582 fi
   8583 rmdir .libs 2>/dev/null
   8584 fi
   8585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8586 printf "%s\n" "$lt_cv_objdir" >&6; }
   8587 objdir=$lt_cv_objdir
   8588 
   8589 
   8590 
   8591 
   8592 
   8593 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   8594 
   8595 
   8596 
   8597 
   8598 case $host_os in
   8599 aix3*)
   8600   # AIX sometimes has problems with the GCC collect2 program.  For some
   8601   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8602   # vanish in a puff of smoke.
   8603   if test set != "${COLLECT_NAMES+set}"; then
   8604     COLLECT_NAMES=
   8605     export COLLECT_NAMES
   8606   fi
   8607   ;;
   8608 esac
   8609 
   8610 # Global variables:
   8611 ofile=libtool
   8612 can_build_shared=yes
   8613 
   8614 # All known linkers require a '.a' archive for static linking (except MSVC and
   8615 # ICC, which need '.lib').
   8616 libext=a
   8617 
   8618 with_gnu_ld=$lt_cv_prog_gnu_ld
   8619 
   8620 old_CC=$CC
   8621 old_CFLAGS=$CFLAGS
   8622 
   8623 # Set sane defaults for various variables
   8624 test -z "$CC" && CC=cc
   8625 test -z "$LTCC" && LTCC=$CC
   8626 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8627 test -z "$LD" && LD=ld
   8628 test -z "$ac_objext" && ac_objext=o
   8629 
   8630 func_cc_basename $compiler
   8631 cc_basename=$func_cc_basename_result
   8632 
   8633 
   8634 # Only perform the check for file, if the check method requires it
   8635 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8636 case $deplibs_check_method in
   8637 file_magic*)
   8638   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8639     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8640 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   8641 if test ${lt_cv_path_MAGIC_CMD+y}
   8642 then :
   8643   printf %s "(cached) " >&6
   8644 else $as_nop
   8645   case $MAGIC_CMD in
   8646 [\\/*] |  ?:[\\/]*)
   8647   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8648   ;;
   8649 *)
   8650   lt_save_MAGIC_CMD=$MAGIC_CMD
   8651   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8652   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8653   for ac_dir in $ac_dummy; do
   8654     IFS=$lt_save_ifs
   8655     test -z "$ac_dir" && ac_dir=.
   8656     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   8657       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   8658       if test -n "$file_magic_test_file"; then
   8659 	case $deplibs_check_method in
   8660 	"file_magic "*)
   8661 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8662 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8663 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8664 	    $EGREP "$file_magic_regex" > /dev/null; then
   8665 	    :
   8666 	  else
   8667 	    cat <<_LT_EOF 1>&2
   8668 
   8669 *** Warning: the command libtool uses to detect shared libraries,
   8670 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8671 *** The result is that libtool may fail to recognize shared libraries
   8672 *** as such.  This will affect the creation of libtool libraries that
   8673 *** depend on shared libraries, but programs linked with such libtool
   8674 *** libraries will work regardless of this problem.  Nevertheless, you
   8675 *** may want to report the problem to your system manager and/or to
   8676 *** bug-libtool@gnu.org
   8677 
   8678 _LT_EOF
   8679 	  fi ;;
   8680 	esac
   8681       fi
   8682       break
   8683     fi
   8684   done
   8685   IFS=$lt_save_ifs
   8686   MAGIC_CMD=$lt_save_MAGIC_CMD
   8687   ;;
   8688 esac
   8689 fi
   8690 
   8691 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8692 if test -n "$MAGIC_CMD"; then
   8693   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8694 printf "%s\n" "$MAGIC_CMD" >&6; }
   8695 else
   8696   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8697 printf "%s\n" "no" >&6; }
   8698 fi
   8699 
   8700 
   8701 
   8702 
   8703 
   8704 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8705   if test -n "$ac_tool_prefix"; then
   8706     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8707 printf %s "checking for file... " >&6; }
   8708 if test ${lt_cv_path_MAGIC_CMD+y}
   8709 then :
   8710   printf %s "(cached) " >&6
   8711 else $as_nop
   8712   case $MAGIC_CMD in
   8713 [\\/*] |  ?:[\\/]*)
   8714   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8715   ;;
   8716 *)
   8717   lt_save_MAGIC_CMD=$MAGIC_CMD
   8718   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8719   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8720   for ac_dir in $ac_dummy; do
   8721     IFS=$lt_save_ifs
   8722     test -z "$ac_dir" && ac_dir=.
   8723     if test -f "$ac_dir/file"; then
   8724       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   8725       if test -n "$file_magic_test_file"; then
   8726 	case $deplibs_check_method in
   8727 	"file_magic "*)
   8728 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8729 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8730 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8731 	    $EGREP "$file_magic_regex" > /dev/null; then
   8732 	    :
   8733 	  else
   8734 	    cat <<_LT_EOF 1>&2
   8735 
   8736 *** Warning: the command libtool uses to detect shared libraries,
   8737 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8738 *** The result is that libtool may fail to recognize shared libraries
   8739 *** as such.  This will affect the creation of libtool libraries that
   8740 *** depend on shared libraries, but programs linked with such libtool
   8741 *** libraries will work regardless of this problem.  Nevertheless, you
   8742 *** may want to report the problem to your system manager and/or to
   8743 *** bug-libtool@gnu.org
   8744 
   8745 _LT_EOF
   8746 	  fi ;;
   8747 	esac
   8748       fi
   8749       break
   8750     fi
   8751   done
   8752   IFS=$lt_save_ifs
   8753   MAGIC_CMD=$lt_save_MAGIC_CMD
   8754   ;;
   8755 esac
   8756 fi
   8757 
   8758 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8759 if test -n "$MAGIC_CMD"; then
   8760   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8761 printf "%s\n" "$MAGIC_CMD" >&6; }
   8762 else
   8763   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8764 printf "%s\n" "no" >&6; }
   8765 fi
   8766 
   8767 
   8768   else
   8769     MAGIC_CMD=:
   8770   fi
   8771 fi
   8772 
   8773   fi
   8774   ;;
   8775 esac
   8776 
   8777 # Use C for the default configuration in the libtool script
   8778 
   8779 lt_save_CC=$CC
   8780 ac_ext=c
   8781 ac_cpp='$CPP $CPPFLAGS'
   8782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8785 
   8786 
   8787 # Source file extension for C test sources.
   8788 ac_ext=c
   8789 
   8790 # Object file extension for compiled C test sources.
   8791 objext=o
   8792 objext=$objext
   8793 
   8794 # Code to be used in simple compile tests
   8795 lt_simple_compile_test_code="int some_variable = 0;"
   8796 
   8797 # Code to be used in simple link tests
   8798 lt_simple_link_test_code='int main(){return(0);}'
   8799 
   8800 
   8801 
   8802 
   8803 
   8804 
   8805 
   8806 # If no C compiler was specified, use CC.
   8807 LTCC=${LTCC-"$CC"}
   8808 
   8809 # If no C compiler flags were specified, use CFLAGS.
   8810 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8811 
   8812 # Allow CC to be a program name with arguments.
   8813 compiler=$CC
   8814 
   8815 # Save the default compiler, since it gets overwritten when the other
   8816 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8817 compiler_DEFAULT=$CC
   8818 
   8819 # save warnings/boilerplate of simple test code
   8820 ac_outfile=conftest.$ac_objext
   8821 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8822 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8823 _lt_compiler_boilerplate=`cat conftest.err`
   8824 $RM conftest*
   8825 
   8826 ac_outfile=conftest.$ac_objext
   8827 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8828 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8829 _lt_linker_boilerplate=`cat conftest.err`
   8830 $RM -r conftest*
   8831 
   8832 
   8833 if test -n "$compiler"; then
   8834 
   8835 lt_prog_compiler_no_builtin_flag=
   8836 
   8837 if test yes = "$GCC"; then
   8838   case $cc_basename in
   8839   nvcc*)
   8840     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8841   *)
   8842     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8843   esac
   8844 
   8845   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8846 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8847 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   8848 then :
   8849   printf %s "(cached) " >&6
   8850 else $as_nop
   8851   lt_cv_prog_compiler_rtti_exceptions=no
   8852    ac_outfile=conftest.$ac_objext
   8853    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8854    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   8855    # Insert the option either (1) after the last *FLAGS variable, or
   8856    # (2) before a word containing "conftest.", or (3) at the end.
   8857    # Note that $ac_compile itself does not contain backslashes and begins
   8858    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8859    # The option is referenced via a variable to avoid confusing sed.
   8860    lt_compile=`echo "$ac_compile" | $SED \
   8861    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8862    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8863    -e 's:$: $lt_compiler_flag:'`
   8864    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8865    (eval "$lt_compile" 2>conftest.err)
   8866    ac_status=$?
   8867    cat conftest.err >&5
   8868    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8869    if (exit $ac_status) && test -s "$ac_outfile"; then
   8870      # The compiler can only warn and ignore the option if not recognized
   8871      # So say no if there are warnings other than the usual output.
   8872      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8873      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8874      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8875        lt_cv_prog_compiler_rtti_exceptions=yes
   8876      fi
   8877    fi
   8878    $RM conftest*
   8879 
   8880 fi
   8881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8882 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8883 
   8884 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   8885     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8886 else
   8887     :
   8888 fi
   8889 
   8890 fi
   8891 
   8892 
   8893 
   8894 
   8895 
   8896 
   8897   lt_prog_compiler_wl=
   8898 lt_prog_compiler_pic=
   8899 lt_prog_compiler_static=
   8900 
   8901 
   8902   if test yes = "$GCC"; then
   8903     lt_prog_compiler_wl='-Wl,'
   8904     lt_prog_compiler_static='-static'
   8905 
   8906     case $host_os in
   8907       aix*)
   8908       # All AIX code is PIC.
   8909       if test ia64 = "$host_cpu"; then
   8910 	# AIX 5 now supports IA64 processor
   8911 	lt_prog_compiler_static='-Bstatic'
   8912       fi
   8913       lt_prog_compiler_pic='-fPIC'
   8914       ;;
   8915 
   8916     amigaos*)
   8917       case $host_cpu in
   8918       powerpc)
   8919             # see comment about AmigaOS4 .so support
   8920             lt_prog_compiler_pic='-fPIC'
   8921         ;;
   8922       m68k)
   8923             # FIXME: we need at least 68020 code to build shared libraries, but
   8924             # adding the '-m68020' flag to GCC prevents building anything better,
   8925             # like '-m68040'.
   8926             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8927         ;;
   8928       esac
   8929       ;;
   8930 
   8931     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8932       # PIC is the default for these OSes.
   8933       ;;
   8934 
   8935     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8936       # This hack is so that the source file can tell whether it is being
   8937       # built for inclusion in a dll (and should export symbols for example).
   8938       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8939       # (--disable-auto-import) libraries
   8940       lt_prog_compiler_pic='-DDLL_EXPORT'
   8941       case $host_os in
   8942       os2*)
   8943 	lt_prog_compiler_static='$wl-static'
   8944 	;;
   8945       esac
   8946       ;;
   8947 
   8948     darwin* | rhapsody*)
   8949       # PIC is the default on this platform
   8950       # Common symbols not allowed in MH_DYLIB files
   8951       lt_prog_compiler_pic='-fno-common'
   8952       ;;
   8953 
   8954     haiku*)
   8955       # PIC is the default for Haiku.
   8956       # The "-static" flag exists, but is broken.
   8957       lt_prog_compiler_static=
   8958       ;;
   8959 
   8960     hpux*)
   8961       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8962       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8963       # sets the default TLS model and affects inlining.
   8964       case $host_cpu in
   8965       hppa*64*)
   8966 	# +Z the default
   8967 	;;
   8968       *)
   8969 	lt_prog_compiler_pic='-fPIC'
   8970 	;;
   8971       esac
   8972       ;;
   8973 
   8974     interix[3-9]*)
   8975       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8976       # Instead, we relocate shared libraries at runtime.
   8977       ;;
   8978 
   8979     msdosdjgpp*)
   8980       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8981       # on systems that don't support them.
   8982       lt_prog_compiler_can_build_shared=no
   8983       enable_shared=no
   8984       ;;
   8985 
   8986     *nto* | *qnx*)
   8987       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8988       # it will coredump.
   8989       lt_prog_compiler_pic='-fPIC -shared'
   8990       ;;
   8991 
   8992     sysv4*MP*)
   8993       if test -d /usr/nec; then
   8994 	lt_prog_compiler_pic=-Kconform_pic
   8995       fi
   8996       ;;
   8997 
   8998     *)
   8999       lt_prog_compiler_pic='-fPIC'
   9000       ;;
   9001     esac
   9002 
   9003     case $cc_basename in
   9004     nvcc*) # Cuda Compiler Driver 2.2
   9005       lt_prog_compiler_wl='-Xlinker '
   9006       if test -n "$lt_prog_compiler_pic"; then
   9007         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   9008       fi
   9009       ;;
   9010     esac
   9011   else
   9012     # PORTME Check for flag to pass linker flags through the system compiler.
   9013     case $host_os in
   9014     aix*)
   9015       lt_prog_compiler_wl='-Wl,'
   9016       if test ia64 = "$host_cpu"; then
   9017 	# AIX 5 now supports IA64 processor
   9018 	lt_prog_compiler_static='-Bstatic'
   9019       else
   9020 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9021       fi
   9022       ;;
   9023 
   9024     darwin* | rhapsody*)
   9025       # PIC is the default on this platform
   9026       # Common symbols not allowed in MH_DYLIB files
   9027       lt_prog_compiler_pic='-fno-common'
   9028       case $cc_basename in
   9029       nagfor*)
   9030         # NAG Fortran compiler
   9031         lt_prog_compiler_wl='-Wl,-Wl,,'
   9032         lt_prog_compiler_pic='-PIC'
   9033         lt_prog_compiler_static='-Bstatic'
   9034         ;;
   9035       esac
   9036       ;;
   9037 
   9038     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9039       # This hack is so that the source file can tell whether it is being
   9040       # built for inclusion in a dll (and should export symbols for example).
   9041       lt_prog_compiler_pic='-DDLL_EXPORT'
   9042       case $host_os in
   9043       os2*)
   9044 	lt_prog_compiler_static='$wl-static'
   9045 	;;
   9046       esac
   9047       ;;
   9048 
   9049     hpux9* | hpux10* | hpux11*)
   9050       lt_prog_compiler_wl='-Wl,'
   9051       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9052       # not for PA HP-UX.
   9053       case $host_cpu in
   9054       hppa*64*|ia64*)
   9055 	# +Z the default
   9056 	;;
   9057       *)
   9058 	lt_prog_compiler_pic='+Z'
   9059 	;;
   9060       esac
   9061       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9062       lt_prog_compiler_static='$wl-a ${wl}archive'
   9063       ;;
   9064 
   9065     irix5* | irix6* | nonstopux*)
   9066       lt_prog_compiler_wl='-Wl,'
   9067       # PIC (with -KPIC) is the default.
   9068       lt_prog_compiler_static='-non_shared'
   9069       ;;
   9070 
   9071     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   9072       case $cc_basename in
   9073       # old Intel for x86_64, which still supported -KPIC.
   9074       ecc*)
   9075 	lt_prog_compiler_wl='-Wl,'
   9076 	lt_prog_compiler_pic='-KPIC'
   9077 	lt_prog_compiler_static='-static'
   9078         ;;
   9079       # flang / f18. f95 an alias for gfortran or flang on Debian
   9080       flang* | f18* | f95*)
   9081 	lt_prog_compiler_wl='-Wl,'
   9082 	lt_prog_compiler_pic='-fPIC'
   9083 	lt_prog_compiler_static='-static'
   9084         ;;
   9085       # icc used to be incompatible with GCC.
   9086       # ICC 10 doesn't accept -KPIC any more.
   9087       icc* | ifort*)
   9088 	lt_prog_compiler_wl='-Wl,'
   9089 	lt_prog_compiler_pic='-fPIC'
   9090 	lt_prog_compiler_static='-static'
   9091         ;;
   9092       # Lahey Fortran 8.1.
   9093       lf95*)
   9094 	lt_prog_compiler_wl='-Wl,'
   9095 	lt_prog_compiler_pic='--shared'
   9096 	lt_prog_compiler_static='--static'
   9097 	;;
   9098       nagfor*)
   9099 	# NAG Fortran compiler
   9100 	lt_prog_compiler_wl='-Wl,-Wl,,'
   9101 	lt_prog_compiler_pic='-PIC'
   9102 	lt_prog_compiler_static='-Bstatic'
   9103 	;;
   9104       tcc*)
   9105 	# Fabrice Bellard et al's Tiny C Compiler
   9106 	lt_prog_compiler_wl='-Wl,'
   9107 	lt_prog_compiler_pic='-fPIC'
   9108 	lt_prog_compiler_static='-static'
   9109 	;;
   9110       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9111         # Portland Group compilers (*not* the Pentium gcc compiler,
   9112 	# which looks to be a dead project)
   9113 	lt_prog_compiler_wl='-Wl,'
   9114 	lt_prog_compiler_pic='-fpic'
   9115 	lt_prog_compiler_static='-Bstatic'
   9116         ;;
   9117       ccc*)
   9118         lt_prog_compiler_wl='-Wl,'
   9119         # All Alpha code is PIC.
   9120         lt_prog_compiler_static='-non_shared'
   9121         ;;
   9122       xl* | bgxl* | bgf* | mpixl*)
   9123 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9124 	lt_prog_compiler_wl='-Wl,'
   9125 	lt_prog_compiler_pic='-qpic'
   9126 	lt_prog_compiler_static='-qstaticlink'
   9127 	;;
   9128       *)
   9129 	case `$CC -V 2>&1 | $SED 5q` in
   9130 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   9131 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9132 	  lt_prog_compiler_pic='-KPIC'
   9133 	  lt_prog_compiler_static='-Bstatic'
   9134 	  lt_prog_compiler_wl=''
   9135 	  ;;
   9136 	*Sun\ F* | *Sun*Fortran*)
   9137 	  lt_prog_compiler_pic='-KPIC'
   9138 	  lt_prog_compiler_static='-Bstatic'
   9139 	  lt_prog_compiler_wl='-Qoption ld '
   9140 	  ;;
   9141 	*Sun\ C*)
   9142 	  # Sun C 5.9
   9143 	  lt_prog_compiler_pic='-KPIC'
   9144 	  lt_prog_compiler_static='-Bstatic'
   9145 	  lt_prog_compiler_wl='-Wl,'
   9146 	  ;;
   9147         *Intel*\ [CF]*Compiler*)
   9148 	  lt_prog_compiler_wl='-Wl,'
   9149 	  lt_prog_compiler_pic='-fPIC'
   9150 	  lt_prog_compiler_static='-static'
   9151 	  ;;
   9152 	*Portland\ Group*)
   9153 	  lt_prog_compiler_wl='-Wl,'
   9154 	  lt_prog_compiler_pic='-fpic'
   9155 	  lt_prog_compiler_static='-Bstatic'
   9156 	  ;;
   9157 	esac
   9158 	;;
   9159       esac
   9160       ;;
   9161 
   9162     newsos6)
   9163       lt_prog_compiler_pic='-KPIC'
   9164       lt_prog_compiler_static='-Bstatic'
   9165       ;;
   9166 
   9167     *nto* | *qnx*)
   9168       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9169       # it will coredump.
   9170       lt_prog_compiler_pic='-fPIC -shared'
   9171       ;;
   9172 
   9173     osf3* | osf4* | osf5*)
   9174       lt_prog_compiler_wl='-Wl,'
   9175       # All OSF/1 code is PIC.
   9176       lt_prog_compiler_static='-non_shared'
   9177       ;;
   9178 
   9179     rdos*)
   9180       lt_prog_compiler_static='-non_shared'
   9181       ;;
   9182 
   9183     solaris*)
   9184       lt_prog_compiler_pic='-KPIC'
   9185       lt_prog_compiler_static='-Bstatic'
   9186       case $cc_basename in
   9187       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   9188 	lt_prog_compiler_wl='-Qoption ld ';;
   9189       *)
   9190 	lt_prog_compiler_wl='-Wl,';;
   9191       esac
   9192       ;;
   9193 
   9194     sunos4*)
   9195       lt_prog_compiler_wl='-Qoption ld '
   9196       lt_prog_compiler_pic='-PIC'
   9197       lt_prog_compiler_static='-Bstatic'
   9198       ;;
   9199 
   9200     sysv4 | sysv4.2uw2* | sysv4.3*)
   9201       lt_prog_compiler_wl='-Wl,'
   9202       lt_prog_compiler_pic='-KPIC'
   9203       lt_prog_compiler_static='-Bstatic'
   9204       ;;
   9205 
   9206     sysv4*MP*)
   9207       if test -d /usr/nec; then
   9208 	lt_prog_compiler_pic='-Kconform_pic'
   9209 	lt_prog_compiler_static='-Bstatic'
   9210       fi
   9211       ;;
   9212 
   9213     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9214       lt_prog_compiler_wl='-Wl,'
   9215       lt_prog_compiler_pic='-KPIC'
   9216       lt_prog_compiler_static='-Bstatic'
   9217       ;;
   9218 
   9219     unicos*)
   9220       lt_prog_compiler_wl='-Wl,'
   9221       lt_prog_compiler_can_build_shared=no
   9222       ;;
   9223 
   9224     uts4*)
   9225       lt_prog_compiler_pic='-pic'
   9226       lt_prog_compiler_static='-Bstatic'
   9227       ;;
   9228 
   9229     *)
   9230       lt_prog_compiler_can_build_shared=no
   9231       ;;
   9232     esac
   9233   fi
   9234 
   9235 case $host_os in
   9236   # For platforms that do not support PIC, -DPIC is meaningless:
   9237   *djgpp*)
   9238     lt_prog_compiler_pic=
   9239     ;;
   9240   *)
   9241     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9242     ;;
   9243 esac
   9244 
   9245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9246 printf %s "checking for $compiler option to produce PIC... " >&6; }
   9247 if test ${lt_cv_prog_compiler_pic+y}
   9248 then :
   9249   printf %s "(cached) " >&6
   9250 else $as_nop
   9251   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   9252 fi
   9253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   9254 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   9255 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   9256 
   9257 #
   9258 # Check to make sure the PIC flag actually works.
   9259 #
   9260 if test -n "$lt_prog_compiler_pic"; then
   9261   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9262 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9263 if test ${lt_cv_prog_compiler_pic_works+y}
   9264 then :
   9265   printf %s "(cached) " >&6
   9266 else $as_nop
   9267   lt_cv_prog_compiler_pic_works=no
   9268    ac_outfile=conftest.$ac_objext
   9269    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9270    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   9271    # Insert the option either (1) after the last *FLAGS variable, or
   9272    # (2) before a word containing "conftest.", or (3) at the end.
   9273    # Note that $ac_compile itself does not contain backslashes and begins
   9274    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9275    # The option is referenced via a variable to avoid confusing sed.
   9276    lt_compile=`echo "$ac_compile" | $SED \
   9277    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9278    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9279    -e 's:$: $lt_compiler_flag:'`
   9280    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9281    (eval "$lt_compile" 2>conftest.err)
   9282    ac_status=$?
   9283    cat conftest.err >&5
   9284    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9285    if (exit $ac_status) && test -s "$ac_outfile"; then
   9286      # The compiler can only warn and ignore the option if not recognized
   9287      # So say no if there are warnings other than the usual output.
   9288      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9289      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9290      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9291        lt_cv_prog_compiler_pic_works=yes
   9292      fi
   9293    fi
   9294    $RM conftest*
   9295 
   9296 fi
   9297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9298 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   9299 
   9300 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   9301     case $lt_prog_compiler_pic in
   9302      "" | " "*) ;;
   9303      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9304      esac
   9305 else
   9306     lt_prog_compiler_pic=
   9307      lt_prog_compiler_can_build_shared=no
   9308 fi
   9309 
   9310 fi
   9311 
   9312 
   9313 
   9314 
   9315 
   9316 
   9317 
   9318 
   9319 
   9320 
   9321 
   9322 #
   9323 # Check to make sure the static flag actually works.
   9324 #
   9325 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9327 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9328 if test ${lt_cv_prog_compiler_static_works+y}
   9329 then :
   9330   printf %s "(cached) " >&6
   9331 else $as_nop
   9332   lt_cv_prog_compiler_static_works=no
   9333    save_LDFLAGS=$LDFLAGS
   9334    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9335    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9336    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9337      # The linker can only warn and ignore the option if not recognized
   9338      # So say no if there are warnings
   9339      if test -s conftest.err; then
   9340        # Append any errors to the config.log.
   9341        cat conftest.err 1>&5
   9342        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9343        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9344        if diff conftest.exp conftest.er2 >/dev/null; then
   9345          lt_cv_prog_compiler_static_works=yes
   9346        fi
   9347      else
   9348        lt_cv_prog_compiler_static_works=yes
   9349      fi
   9350    fi
   9351    $RM -r conftest*
   9352    LDFLAGS=$save_LDFLAGS
   9353 
   9354 fi
   9355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9356 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   9357 
   9358 if test yes = "$lt_cv_prog_compiler_static_works"; then
   9359     :
   9360 else
   9361     lt_prog_compiler_static=
   9362 fi
   9363 
   9364 
   9365 
   9366 
   9367 
   9368 
   9369 
   9370   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9371 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9372 if test ${lt_cv_prog_compiler_c_o+y}
   9373 then :
   9374   printf %s "(cached) " >&6
   9375 else $as_nop
   9376   lt_cv_prog_compiler_c_o=no
   9377    $RM -r conftest 2>/dev/null
   9378    mkdir conftest
   9379    cd conftest
   9380    mkdir out
   9381    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9382 
   9383    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9384    # Insert the option either (1) after the last *FLAGS variable, or
   9385    # (2) before a word containing "conftest.", or (3) at the end.
   9386    # Note that $ac_compile itself does not contain backslashes and begins
   9387    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9388    lt_compile=`echo "$ac_compile" | $SED \
   9389    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9390    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9391    -e 's:$: $lt_compiler_flag:'`
   9392    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9393    (eval "$lt_compile" 2>out/conftest.err)
   9394    ac_status=$?
   9395    cat out/conftest.err >&5
   9396    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9397    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9398    then
   9399      # The compiler can only warn and ignore the option if not recognized
   9400      # So say no if there are warnings
   9401      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9402      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9403      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9404        lt_cv_prog_compiler_c_o=yes
   9405      fi
   9406    fi
   9407    chmod u+w . 2>&5
   9408    $RM conftest*
   9409    # SGI C++ compiler will create directory out/ii_files/ for
   9410    # template instantiation
   9411    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9412    $RM out/* && rmdir out
   9413    cd ..
   9414    $RM -r conftest
   9415    $RM conftest*
   9416 
   9417 fi
   9418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9419 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9420 
   9421 
   9422 
   9423 
   9424 
   9425 
   9426   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9427 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9428 if test ${lt_cv_prog_compiler_c_o+y}
   9429 then :
   9430   printf %s "(cached) " >&6
   9431 else $as_nop
   9432   lt_cv_prog_compiler_c_o=no
   9433    $RM -r conftest 2>/dev/null
   9434    mkdir conftest
   9435    cd conftest
   9436    mkdir out
   9437    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9438 
   9439    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9440    # Insert the option either (1) after the last *FLAGS variable, or
   9441    # (2) before a word containing "conftest.", or (3) at the end.
   9442    # Note that $ac_compile itself does not contain backslashes and begins
   9443    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9444    lt_compile=`echo "$ac_compile" | $SED \
   9445    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9446    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9447    -e 's:$: $lt_compiler_flag:'`
   9448    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9449    (eval "$lt_compile" 2>out/conftest.err)
   9450    ac_status=$?
   9451    cat out/conftest.err >&5
   9452    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9453    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9454    then
   9455      # The compiler can only warn and ignore the option if not recognized
   9456      # So say no if there are warnings
   9457      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9458      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9459      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9460        lt_cv_prog_compiler_c_o=yes
   9461      fi
   9462    fi
   9463    chmod u+w . 2>&5
   9464    $RM conftest*
   9465    # SGI C++ compiler will create directory out/ii_files/ for
   9466    # template instantiation
   9467    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9468    $RM out/* && rmdir out
   9469    cd ..
   9470    $RM -r conftest
   9471    $RM conftest*
   9472 
   9473 fi
   9474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9475 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9476 
   9477 
   9478 
   9479 
   9480 hard_links=nottested
   9481 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   9482   # do not overwrite the value of need_locks provided by the user
   9483   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9484 printf %s "checking if we can lock with hard links... " >&6; }
   9485   hard_links=yes
   9486   $RM conftest*
   9487   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9488   touch conftest.a
   9489   ln conftest.a conftest.b 2>&5 || hard_links=no
   9490   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9491   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9492 printf "%s\n" "$hard_links" >&6; }
   9493   if test no = "$hard_links"; then
   9494     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   9495 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   9496     need_locks=warn
   9497   fi
   9498 else
   9499   need_locks=no
   9500 fi
   9501 
   9502 
   9503 
   9504 
   9505 
   9506 
   9507   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9508 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9509 
   9510   runpath_var=
   9511   allow_undefined_flag=
   9512   always_export_symbols=no
   9513   archive_cmds=
   9514   archive_expsym_cmds=
   9515   compiler_needs_object=no
   9516   enable_shared_with_static_runtimes=no
   9517   export_dynamic_flag_spec=
   9518   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9519   hardcode_automatic=no
   9520   hardcode_direct=no
   9521   hardcode_direct_absolute=no
   9522   hardcode_libdir_flag_spec=
   9523   hardcode_libdir_separator=
   9524   hardcode_minus_L=no
   9525   hardcode_shlibpath_var=unsupported
   9526   inherit_rpath=no
   9527   link_all_deplibs=unknown
   9528   module_cmds=
   9529   module_expsym_cmds=
   9530   old_archive_from_new_cmds=
   9531   old_archive_from_expsyms_cmds=
   9532   thread_safe_flag_spec=
   9533   whole_archive_flag_spec=
   9534   # include_expsyms should be a list of space-separated symbols to be *always*
   9535   # included in the symbol list
   9536   include_expsyms=
   9537   # exclude_expsyms can be an extended regexp of symbols to exclude
   9538   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   9539   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   9540   # as well as any symbol that contains 'd'.
   9541   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9542   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9543   # platforms (ab)use it in PIC code, but their linkers get confused if
   9544   # the symbol is explicitly referenced.  Since portable code cannot
   9545   # rely on this symbol name, it's probably fine to never include it in
   9546   # preloaded symbol tables.
   9547   # Exclude shared library initialization/finalization symbols.
   9548   extract_expsyms_cmds=
   9549 
   9550   case $host_os in
   9551   cygwin* | mingw* | pw32* | cegcc*)
   9552     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   9553     # When not using gcc, we currently assume that we are using
   9554     # Microsoft Visual C++ or Intel C++ Compiler.
   9555     if test yes != "$GCC"; then
   9556       with_gnu_ld=no
   9557     fi
   9558     ;;
   9559   interix*)
   9560     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   9561     with_gnu_ld=yes
   9562     ;;
   9563   openbsd* | bitrig*)
   9564     with_gnu_ld=no
   9565     ;;
   9566   linux* | k*bsd*-gnu | gnu*)
   9567     link_all_deplibs=no
   9568     ;;
   9569   esac
   9570 
   9571   ld_shlibs=yes
   9572 
   9573   # On some targets, GNU ld is compatible enough with the native linker
   9574   # that we're better off using the native interface for both.
   9575   lt_use_gnu_ld_interface=no
   9576   if test yes = "$with_gnu_ld"; then
   9577     case $host_os in
   9578       aix*)
   9579 	# The AIX port of GNU ld has always aspired to compatibility
   9580 	# with the native linker.  However, as the warning in the GNU ld
   9581 	# block says, versions before 2.19.5* couldn't really create working
   9582 	# shared libraries, regardless of the interface used.
   9583 	case `$LD -v 2>&1` in
   9584 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9585 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9586 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9587 	  *)
   9588 	    lt_use_gnu_ld_interface=yes
   9589 	    ;;
   9590 	esac
   9591 	;;
   9592       *)
   9593 	lt_use_gnu_ld_interface=yes
   9594 	;;
   9595     esac
   9596   fi
   9597 
   9598   if test yes = "$lt_use_gnu_ld_interface"; then
   9599     # If archive_cmds runs LD, not CC, wlarc should be empty
   9600     wlarc='$wl'
   9601 
   9602     # Set some defaults for GNU ld with shared library support. These
   9603     # are reset later if shared libraries are not supported. Putting them
   9604     # here allows them to be overridden if necessary.
   9605     runpath_var=LD_RUN_PATH
   9606     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9607     export_dynamic_flag_spec='$wl--export-dynamic'
   9608     # ancient GNU ld didn't support --whole-archive et. al.
   9609     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9610       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   9611     else
   9612       whole_archive_flag_spec=
   9613     fi
   9614     supports_anon_versioning=no
   9615     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   9616       *GNU\ gold*) supports_anon_versioning=yes ;;
   9617       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9618       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9619       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9620       *\ 2.11.*) ;; # other 2.11 versions
   9621       *) supports_anon_versioning=yes ;;
   9622     esac
   9623 
   9624     # See if GNU ld supports shared libraries.
   9625     case $host_os in
   9626     aix[3-9]*)
   9627       # On AIX/PPC, the GNU linker is very broken
   9628       if test ia64 != "$host_cpu"; then
   9629 	ld_shlibs=no
   9630 	cat <<_LT_EOF 1>&2
   9631 
   9632 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9633 *** to be unable to reliably create shared libraries on AIX.
   9634 *** Therefore, libtool is disabling shared libraries support.  If you
   9635 *** really care for shared libraries, you may want to install binutils
   9636 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9637 *** You will then need to restart the configuration process.
   9638 
   9639 _LT_EOF
   9640       fi
   9641       ;;
   9642 
   9643     amigaos*)
   9644       case $host_cpu in
   9645       powerpc)
   9646             # see comment about AmigaOS4 .so support
   9647             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9648             archive_expsym_cmds=''
   9649         ;;
   9650       m68k)
   9651             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)'
   9652             hardcode_libdir_flag_spec='-L$libdir'
   9653             hardcode_minus_L=yes
   9654         ;;
   9655       esac
   9656       ;;
   9657 
   9658     beos*)
   9659       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9660 	allow_undefined_flag=unsupported
   9661 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9662 	# support --undefined.  This deserves some investigation.  FIXME
   9663 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9664       else
   9665 	ld_shlibs=no
   9666       fi
   9667       ;;
   9668 
   9669     cygwin* | mingw* | pw32* | cegcc*)
   9670       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9671       # as there is no search path for DLLs.
   9672       hardcode_libdir_flag_spec='-L$libdir'
   9673       export_dynamic_flag_spec='$wl--export-all-symbols'
   9674       allow_undefined_flag=unsupported
   9675       always_export_symbols=no
   9676       enable_shared_with_static_runtimes=yes
   9677       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'
   9678       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   9679 
   9680       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9681         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9682 	# If the export-symbols file already is a .def file, use it as
   9683 	# is; otherwise, prepend EXPORTS...
   9684 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   9685           cp $export_symbols $output_objdir/$soname.def;
   9686         else
   9687           echo EXPORTS > $output_objdir/$soname.def;
   9688           cat $export_symbols >> $output_objdir/$soname.def;
   9689         fi~
   9690         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9691       else
   9692 	ld_shlibs=no
   9693       fi
   9694       ;;
   9695 
   9696     haiku*)
   9697       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9698       link_all_deplibs=yes
   9699       ;;
   9700 
   9701     os2*)
   9702       hardcode_libdir_flag_spec='-L$libdir'
   9703       hardcode_minus_L=yes
   9704       allow_undefined_flag=unsupported
   9705       shrext_cmds=.dll
   9706       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9707 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9708 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9709 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9710 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   9711 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9712 	emximp -o $lib $output_objdir/$libname.def'
   9713       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9714 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9715 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9716 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9717 	prefix_cmds="$SED"~
   9718 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   9719 	  prefix_cmds="$prefix_cmds -e 1d";
   9720 	fi~
   9721 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   9722 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   9723 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9724 	emximp -o $lib $output_objdir/$libname.def'
   9725       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   9726       enable_shared_with_static_runtimes=yes
   9727       file_list_spec='@'
   9728       ;;
   9729 
   9730     interix[3-9]*)
   9731       hardcode_direct=no
   9732       hardcode_shlibpath_var=no
   9733       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   9734       export_dynamic_flag_spec='$wl-E'
   9735       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9736       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9737       # default) and relocated if they conflict, which is a slow very memory
   9738       # consuming and fragmenting process.  To avoid this, we pick a random,
   9739       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9740       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9741       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9742       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'
   9743       ;;
   9744 
   9745     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9746       tmp_diet=no
   9747       if test linux-dietlibc = "$host_os"; then
   9748 	case $cc_basename in
   9749 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9750 	esac
   9751       fi
   9752       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9753 	 && test no = "$tmp_diet"
   9754       then
   9755 	tmp_addflag=' $pic_flag'
   9756 	tmp_sharedflag='-shared'
   9757 	case $cc_basename,$host_cpu in
   9758         pgcc*)				# Portland Group C compiler
   9759 	  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'
   9760 	  tmp_addflag=' $pic_flag'
   9761 	  ;;
   9762 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9763 					# Portland Group f77 and f90 compilers
   9764 	  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'
   9765 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9766 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9767 	  tmp_addflag=' -i_dynamic' ;;
   9768 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9769 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9770 	ifc* | ifort*)			# Intel Fortran compiler
   9771 	  tmp_addflag=' -nofor_main' ;;
   9772 	lf95*)				# Lahey Fortran 8.1
   9773 	  whole_archive_flag_spec=
   9774 	  tmp_sharedflag='--shared' ;;
   9775         nagfor*)                        # NAGFOR 5.3
   9776           tmp_sharedflag='-Wl,-shared' ;;
   9777 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9778 	  tmp_sharedflag='-qmkshrobj'
   9779 	  tmp_addflag= ;;
   9780 	nvcc*)	# Cuda Compiler Driver 2.2
   9781 	  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'
   9782 	  compiler_needs_object=yes
   9783 	  ;;
   9784 	esac
   9785 	case `$CC -V 2>&1 | $SED 5q` in
   9786 	*Sun\ C*)			# Sun C 5.9
   9787 	  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'
   9788 	  compiler_needs_object=yes
   9789 	  tmp_sharedflag='-G' ;;
   9790 	*Sun\ F*)			# Sun Fortran 8.3
   9791 	  tmp_sharedflag='-G' ;;
   9792 	esac
   9793 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9794 
   9795         if test yes = "$supports_anon_versioning"; then
   9796           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9797             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9798             echo "local: *; };" >> $output_objdir/$libname.ver~
   9799             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   9800         fi
   9801 
   9802 	case $cc_basename in
   9803 	tcc*)
   9804 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9805 	  export_dynamic_flag_spec='-rdynamic'
   9806 	  ;;
   9807 	xlf* | bgf* | bgxlf* | mpixlf*)
   9808 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9809 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9810 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9811 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   9812 	  if test yes = "$supports_anon_versioning"; then
   9813 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9814               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9815               echo "local: *; };" >> $output_objdir/$libname.ver~
   9816               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9817 	  fi
   9818 	  ;;
   9819 	esac
   9820       else
   9821         ld_shlibs=no
   9822       fi
   9823       ;;
   9824 
   9825     netbsd* | netbsdelf*-gnu)
   9826       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9827 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9828 	wlarc=
   9829       else
   9830 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9831 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9832       fi
   9833       ;;
   9834 
   9835     solaris*)
   9836       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9837 	ld_shlibs=no
   9838 	cat <<_LT_EOF 1>&2
   9839 
   9840 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9841 *** create shared libraries on Solaris systems.  Therefore, libtool
   9842 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9843 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9844 *** your PATH or compiler configuration so that the native linker is
   9845 *** used, and then restart.
   9846 
   9847 _LT_EOF
   9848       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9849 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9850 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9851       else
   9852 	ld_shlibs=no
   9853       fi
   9854       ;;
   9855 
   9856     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9857       case `$LD -v 2>&1` in
   9858         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9859 	ld_shlibs=no
   9860 	cat <<_LT_EOF 1>&2
   9861 
   9862 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   9863 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9864 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9865 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9866 *** your PATH or compiler configuration so that the native linker is
   9867 *** used, and then restart.
   9868 
   9869 _LT_EOF
   9870 	;;
   9871 	*)
   9872 	  # For security reasons, it is highly recommended that you always
   9873 	  # use absolute paths for naming shared libraries, and exclude the
   9874 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9875 	  # requires that you compile everything twice, which is a pain.
   9876 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9877 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9878 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9879 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9880 	  else
   9881 	    ld_shlibs=no
   9882 	  fi
   9883 	;;
   9884       esac
   9885       ;;
   9886 
   9887     sunos4*)
   9888       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9889       wlarc=
   9890       hardcode_direct=yes
   9891       hardcode_shlibpath_var=no
   9892       ;;
   9893 
   9894     *)
   9895       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9896 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9897 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9898       else
   9899 	ld_shlibs=no
   9900       fi
   9901       ;;
   9902     esac
   9903 
   9904     if test no = "$ld_shlibs"; then
   9905       runpath_var=
   9906       hardcode_libdir_flag_spec=
   9907       export_dynamic_flag_spec=
   9908       whole_archive_flag_spec=
   9909     fi
   9910   else
   9911     # PORTME fill in a description of your system's linker (not GNU ld)
   9912     case $host_os in
   9913     aix3*)
   9914       allow_undefined_flag=unsupported
   9915       always_export_symbols=yes
   9916       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'
   9917       # Note: this linker hardcodes the directories in LIBPATH if there
   9918       # are no directories specified by -L.
   9919       hardcode_minus_L=yes
   9920       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   9921 	# Neither direct hardcoding nor static linking is supported with a
   9922 	# broken collect2.
   9923 	hardcode_direct=unsupported
   9924       fi
   9925       ;;
   9926 
   9927     aix[4-9]*)
   9928       if test ia64 = "$host_cpu"; then
   9929 	# On IA64, the linker does run time linking by default, so we don't
   9930 	# have to do anything special.
   9931 	aix_use_runtimelinking=no
   9932 	exp_sym_flag='-Bexport'
   9933 	no_entry_flag=
   9934       else
   9935 	# If we're using GNU nm, then we don't want the "-C" option.
   9936 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   9937 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   9938 	# weak defined symbols like other global defined symbols, whereas
   9939 	# GNU nm marks them as "W".
   9940 	# While the 'weak' keyword is ignored in the Export File, we need
   9941 	# it in the Import File for the 'aix-soname' feature, so we have
   9942 	# to replace the "-B" option with "-P" for AIX nm.
   9943 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9944 	  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'
   9945 	else
   9946 	  export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
   9947 	fi
   9948 	aix_use_runtimelinking=no
   9949 
   9950 	# Test if we are trying to use run time linking or normal
   9951 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9952 	# have runtime linking enabled, and use it for executables.
   9953 	# For shared libraries, we enable/disable runtime linking
   9954 	# depending on the kind of the shared library created -
   9955 	# when "with_aix_soname,aix_use_runtimelinking" is:
   9956 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   9957 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   9958 	#            lib.a           static archive
   9959 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   9960 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   9961 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   9962 	#            lib.a(lib.so.V) shared, rtl:no
   9963 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   9964 	#            lib.a           static archive
   9965 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9966 	  for ld_flag in $LDFLAGS; do
   9967 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   9968 	    aix_use_runtimelinking=yes
   9969 	    break
   9970 	  fi
   9971 	  done
   9972 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   9973 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   9974 	    # so we don't have lib.a shared libs to link our executables.
   9975 	    # We have to force runtime linking in this case.
   9976 	    aix_use_runtimelinking=yes
   9977 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   9978 	  fi
   9979 	  ;;
   9980 	esac
   9981 
   9982 	exp_sym_flag='-bexport'
   9983 	no_entry_flag='-bnoentry'
   9984       fi
   9985 
   9986       # When large executables or shared objects are built, AIX ld can
   9987       # have problems creating the table of contents.  If linking a library
   9988       # or program results in "error TOC overflow" add -mminimal-toc to
   9989       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9990       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9991 
   9992       archive_cmds=''
   9993       hardcode_direct=yes
   9994       hardcode_direct_absolute=yes
   9995       hardcode_libdir_separator=':'
   9996       link_all_deplibs=yes
   9997       file_list_spec='$wl-f,'
   9998       case $with_aix_soname,$aix_use_runtimelinking in
   9999       aix,*) ;; # traditional, no import file
   10000       svr4,* | *,yes) # use import file
   10001 	# The Import File defines what to hardcode.
   10002 	hardcode_direct=no
   10003 	hardcode_direct_absolute=no
   10004 	;;
   10005       esac
   10006 
   10007       if test yes = "$GCC"; then
   10008 	case $host_os in aix4.[012]|aix4.[012].*)
   10009 	# We only want to do this on AIX 4.2 and lower, the check
   10010 	# below for broken collect2 doesn't work under 4.3+
   10011 	  collect2name=`$CC -print-prog-name=collect2`
   10012 	  if test -f "$collect2name" &&
   10013 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10014 	  then
   10015 	  # We have reworked collect2
   10016 	  :
   10017 	  else
   10018 	  # We have old collect2
   10019 	  hardcode_direct=unsupported
   10020 	  # It fails to find uninstalled libraries when the uninstalled
   10021 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10022 	  # to unsupported forces relinking
   10023 	  hardcode_minus_L=yes
   10024 	  hardcode_libdir_flag_spec='-L$libdir'
   10025 	  hardcode_libdir_separator=
   10026 	  fi
   10027 	  ;;
   10028 	esac
   10029 	shared_flag='-shared'
   10030 	if test yes = "$aix_use_runtimelinking"; then
   10031 	  shared_flag="$shared_flag "'$wl-G'
   10032 	fi
   10033 	# Need to ensure runtime linking is disabled for the traditional
   10034 	# shared library, or the linker may eventually find shared libraries
   10035 	# /with/ Import File - we do not want to mix them.
   10036 	shared_flag_aix='-shared'
   10037 	shared_flag_svr4='-shared $wl-G'
   10038       else
   10039 	# not using gcc
   10040 	if test ia64 = "$host_cpu"; then
   10041 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10042 	# chokes on -Wl,-G. The following line is correct:
   10043 	  shared_flag='-G'
   10044 	else
   10045 	  if test yes = "$aix_use_runtimelinking"; then
   10046 	    shared_flag='$wl-G'
   10047 	  else
   10048 	    shared_flag='$wl-bM:SRE'
   10049 	  fi
   10050 	  shared_flag_aix='$wl-bM:SRE'
   10051 	  shared_flag_svr4='$wl-G'
   10052 	fi
   10053       fi
   10054 
   10055       export_dynamic_flag_spec='$wl-bexpall'
   10056       # It seems that -bexpall does not export symbols beginning with
   10057       # underscore (_), so it is better to generate a list of symbols to export.
   10058       always_export_symbols=yes
   10059       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   10060 	# Warning - without using the other runtime loading flags (-brtl),
   10061 	# -berok will link without error, but may produce a broken library.
   10062 	allow_undefined_flag='-berok'
   10063         # Determine the default libpath from the value encoded in an
   10064         # empty executable.
   10065         if test set = "${lt_cv_aix_libpath+set}"; then
   10066   aix_libpath=$lt_cv_aix_libpath
   10067 else
   10068   if test ${lt_cv_aix_libpath_+y}
   10069 then :
   10070   printf %s "(cached) " >&6
   10071 else $as_nop
   10072   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10073 /* end confdefs.h.  */
   10074 
   10075 int
   10076 main (void)
   10077 {
   10078 
   10079   ;
   10080   return 0;
   10081 }
   10082 _ACEOF
   10083 if ac_fn_c_try_link "$LINENO"
   10084 then :
   10085 
   10086   lt_aix_libpath_sed='
   10087       /Import File Strings/,/^$/ {
   10088 	  /^0/ {
   10089 	      s/^0  *\([^ ]*\) *$/\1/
   10090 	      p
   10091 	  }
   10092       }'
   10093   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10094   # Check for a 64-bit object if we didn't find anything.
   10095   if test -z "$lt_cv_aix_libpath_"; then
   10096     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10097   fi
   10098 fi
   10099 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10100     conftest$ac_exeext conftest.$ac_ext
   10101   if test -z "$lt_cv_aix_libpath_"; then
   10102     lt_cv_aix_libpath_=/usr/lib:/lib
   10103   fi
   10104 
   10105 fi
   10106 
   10107   aix_libpath=$lt_cv_aix_libpath_
   10108 fi
   10109 
   10110         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10111         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
   10112       else
   10113 	if test ia64 = "$host_cpu"; then
   10114 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   10115 	  allow_undefined_flag="-z nodefs"
   10116 	  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"
   10117 	else
   10118 	 # Determine the default libpath from the value encoded in an
   10119 	 # empty executable.
   10120 	 if test set = "${lt_cv_aix_libpath+set}"; then
   10121   aix_libpath=$lt_cv_aix_libpath
   10122 else
   10123   if test ${lt_cv_aix_libpath_+y}
   10124 then :
   10125   printf %s "(cached) " >&6
   10126 else $as_nop
   10127   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10128 /* end confdefs.h.  */
   10129 
   10130 int
   10131 main (void)
   10132 {
   10133 
   10134   ;
   10135   return 0;
   10136 }
   10137 _ACEOF
   10138 if ac_fn_c_try_link "$LINENO"
   10139 then :
   10140 
   10141   lt_aix_libpath_sed='
   10142       /Import File Strings/,/^$/ {
   10143 	  /^0/ {
   10144 	      s/^0  *\([^ ]*\) *$/\1/
   10145 	      p
   10146 	  }
   10147       }'
   10148   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10149   # Check for a 64-bit object if we didn't find anything.
   10150   if test -z "$lt_cv_aix_libpath_"; then
   10151     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10152   fi
   10153 fi
   10154 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10155     conftest$ac_exeext conftest.$ac_ext
   10156   if test -z "$lt_cv_aix_libpath_"; then
   10157     lt_cv_aix_libpath_=/usr/lib:/lib
   10158   fi
   10159 
   10160 fi
   10161 
   10162   aix_libpath=$lt_cv_aix_libpath_
   10163 fi
   10164 
   10165 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10166 	  # Warning - without using the other run time loading flags,
   10167 	  # -berok will link without error, but may produce a broken library.
   10168 	  no_undefined_flag=' $wl-bernotok'
   10169 	  allow_undefined_flag=' $wl-berok'
   10170 	  if test yes = "$with_gnu_ld"; then
   10171 	    # We only use this code for GNU lds that support --whole-archive.
   10172 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   10173 	  else
   10174 	    # Exported symbols can be pulled into shared objects from archives
   10175 	    whole_archive_flag_spec='$convenience'
   10176 	  fi
   10177 	  archive_cmds_need_lc=yes
   10178 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   10179 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   10180 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   10181 	  if test svr4 != "$with_aix_soname"; then
   10182 	    # This is similar to how AIX traditionally builds its shared libraries.
   10183 	    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'
   10184 	  fi
   10185 	  if test aix != "$with_aix_soname"; then
   10186 	    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'
   10187 	  else
   10188 	    # used by -dlpreopen to get the symbols
   10189 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   10190 	  fi
   10191 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   10192 	fi
   10193       fi
   10194       ;;
   10195 
   10196     amigaos*)
   10197       case $host_cpu in
   10198       powerpc)
   10199             # see comment about AmigaOS4 .so support
   10200             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10201             archive_expsym_cmds=''
   10202         ;;
   10203       m68k)
   10204             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)'
   10205             hardcode_libdir_flag_spec='-L$libdir'
   10206             hardcode_minus_L=yes
   10207         ;;
   10208       esac
   10209       ;;
   10210 
   10211     bsdi[45]*)
   10212       export_dynamic_flag_spec=-rdynamic
   10213       ;;
   10214 
   10215     cygwin* | mingw* | pw32* | cegcc*)
   10216       # When not using gcc, we currently assume that we are using
   10217       # Microsoft Visual C++ or Intel C++ Compiler.
   10218       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10219       # no search path for DLLs.
   10220       case $cc_basename in
   10221       cl* | icl*)
   10222 	# Native MSVC or ICC
   10223 	hardcode_libdir_flag_spec=' '
   10224 	allow_undefined_flag=unsupported
   10225 	always_export_symbols=yes
   10226 	file_list_spec='@'
   10227 	# Tell ltmain to make .lib files, not .a files.
   10228 	libext=lib
   10229 	# Tell ltmain to make .dll files, not .so files.
   10230 	shrext_cmds=.dll
   10231 	# FIXME: Setting linknames here is a bad hack.
   10232 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   10233 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10234             cp "$export_symbols" "$output_objdir/$soname.def";
   10235             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   10236           else
   10237             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   10238           fi~
   10239           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   10240           linknames='
   10241 	# The linker will not automatically build a static lib if we build a DLL.
   10242 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   10243 	enable_shared_with_static_runtimes=yes
   10244 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   10245 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   10246 	# Don't use ranlib
   10247 	old_postinstall_cmds='chmod 644 $oldlib'
   10248 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   10249           lt_tool_outputfile="@TOOL_OUTPUT@"~
   10250           case $lt_outputfile in
   10251             *.exe|*.EXE) ;;
   10252             *)
   10253               lt_outputfile=$lt_outputfile.exe
   10254               lt_tool_outputfile=$lt_tool_outputfile.exe
   10255               ;;
   10256           esac~
   10257           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   10258             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   10259             $RM "$lt_outputfile.manifest";
   10260           fi'
   10261 	;;
   10262       *)
   10263 	# Assume MSVC and ICC wrapper
   10264 	hardcode_libdir_flag_spec=' '
   10265 	allow_undefined_flag=unsupported
   10266 	# Tell ltmain to make .lib files, not .a files.
   10267 	libext=lib
   10268 	# Tell ltmain to make .dll files, not .so files.
   10269 	shrext_cmds=.dll
   10270 	# FIXME: Setting linknames here is a bad hack.
   10271 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10272 	# The linker will automatically build a .lib file if we build a DLL.
   10273 	old_archive_from_new_cmds='true'
   10274 	# FIXME: Should let the user specify the lib program.
   10275 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10276 	enable_shared_with_static_runtimes=yes
   10277 	;;
   10278       esac
   10279       ;;
   10280 
   10281     darwin* | rhapsody*)
   10282 
   10283 
   10284   archive_cmds_need_lc=no
   10285   hardcode_direct=no
   10286   hardcode_automatic=yes
   10287   hardcode_shlibpath_var=unsupported
   10288   if test yes = "$lt_cv_ld_force_load"; then
   10289     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\"`'
   10290 
   10291   else
   10292     whole_archive_flag_spec=''
   10293   fi
   10294   link_all_deplibs=yes
   10295   allow_undefined_flag=$_lt_dar_allow_undefined
   10296   case $cc_basename in
   10297      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   10298      *) _lt_dar_can_shared=$GCC ;;
   10299   esac
   10300   if test yes = "$_lt_dar_can_shared"; then
   10301     output_verbose_link_cmd=func_echo_all
   10302     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   10303     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   10304     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"
   10305     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"
   10306 
   10307   else
   10308   ld_shlibs=no
   10309   fi
   10310 
   10311       ;;
   10312 
   10313     dgux*)
   10314       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10315       hardcode_libdir_flag_spec='-L$libdir'
   10316       hardcode_shlibpath_var=no
   10317       ;;
   10318 
   10319     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10320     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10321     # does not break anything, and helps significantly (at the cost of a little
   10322     # extra space).
   10323     freebsd2.2*)
   10324       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10325       hardcode_libdir_flag_spec='-R$libdir'
   10326       hardcode_direct=yes
   10327       hardcode_shlibpath_var=no
   10328       ;;
   10329 
   10330     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10331     freebsd2.*)
   10332       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10333       hardcode_direct=yes
   10334       hardcode_minus_L=yes
   10335       hardcode_shlibpath_var=no
   10336       ;;
   10337 
   10338     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10339     freebsd* | dragonfly* | midnightbsd*)
   10340       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10341       hardcode_libdir_flag_spec='-R$libdir'
   10342       hardcode_direct=yes
   10343       hardcode_shlibpath_var=no
   10344       ;;
   10345 
   10346     hpux9*)
   10347       if test yes = "$GCC"; then
   10348 	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'
   10349       else
   10350 	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'
   10351       fi
   10352       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10353       hardcode_libdir_separator=:
   10354       hardcode_direct=yes
   10355 
   10356       # hardcode_minus_L: Not really in the search PATH,
   10357       # but as the default location of the library.
   10358       hardcode_minus_L=yes
   10359       export_dynamic_flag_spec='$wl-E'
   10360       ;;
   10361 
   10362     hpux10*)
   10363       if test yes,no = "$GCC,$with_gnu_ld"; then
   10364 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10365       else
   10366 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10367       fi
   10368       if test no = "$with_gnu_ld"; then
   10369 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10370 	hardcode_libdir_separator=:
   10371 	hardcode_direct=yes
   10372 	hardcode_direct_absolute=yes
   10373 	export_dynamic_flag_spec='$wl-E'
   10374 	# hardcode_minus_L: Not really in the search PATH,
   10375 	# but as the default location of the library.
   10376 	hardcode_minus_L=yes
   10377       fi
   10378       ;;
   10379 
   10380     hpux11*)
   10381       if test yes,no = "$GCC,$with_gnu_ld"; then
   10382 	case $host_cpu in
   10383 	hppa*64*)
   10384 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10385 	  ;;
   10386 	ia64*)
   10387 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10388 	  ;;
   10389 	*)
   10390 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10391 	  ;;
   10392 	esac
   10393       else
   10394 	case $host_cpu in
   10395 	hppa*64*)
   10396 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10397 	  ;;
   10398 	ia64*)
   10399 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10400 	  ;;
   10401 	*)
   10402 
   10403 	  # Older versions of the 11.00 compiler do not understand -b yet
   10404 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10405 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10406 printf %s "checking if $CC understands -b... " >&6; }
   10407 if test ${lt_cv_prog_compiler__b+y}
   10408 then :
   10409   printf %s "(cached) " >&6
   10410 else $as_nop
   10411   lt_cv_prog_compiler__b=no
   10412    save_LDFLAGS=$LDFLAGS
   10413    LDFLAGS="$LDFLAGS -b"
   10414    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10415    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10416      # The linker can only warn and ignore the option if not recognized
   10417      # So say no if there are warnings
   10418      if test -s conftest.err; then
   10419        # Append any errors to the config.log.
   10420        cat conftest.err 1>&5
   10421        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10422        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10423        if diff conftest.exp conftest.er2 >/dev/null; then
   10424          lt_cv_prog_compiler__b=yes
   10425        fi
   10426      else
   10427        lt_cv_prog_compiler__b=yes
   10428      fi
   10429    fi
   10430    $RM -r conftest*
   10431    LDFLAGS=$save_LDFLAGS
   10432 
   10433 fi
   10434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10435 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   10436 
   10437 if test yes = "$lt_cv_prog_compiler__b"; then
   10438     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10439 else
   10440     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10441 fi
   10442 
   10443 	  ;;
   10444 	esac
   10445       fi
   10446       if test no = "$with_gnu_ld"; then
   10447 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10448 	hardcode_libdir_separator=:
   10449 
   10450 	case $host_cpu in
   10451 	hppa*64*|ia64*)
   10452 	  hardcode_direct=no
   10453 	  hardcode_shlibpath_var=no
   10454 	  ;;
   10455 	*)
   10456 	  hardcode_direct=yes
   10457 	  hardcode_direct_absolute=yes
   10458 	  export_dynamic_flag_spec='$wl-E'
   10459 
   10460 	  # hardcode_minus_L: Not really in the search PATH,
   10461 	  # but as the default location of the library.
   10462 	  hardcode_minus_L=yes
   10463 	  ;;
   10464 	esac
   10465       fi
   10466       ;;
   10467 
   10468     irix5* | irix6* | nonstopux*)
   10469       if test yes = "$GCC"; then
   10470 	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'
   10471 	# Try to use the -exported_symbol ld option, if it does not
   10472 	# work, assume that -exports_file does not work either and
   10473 	# implicitly export all symbols.
   10474 	# This should be the same for all languages, so no per-tag cache variable.
   10475 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   10476 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   10477 if test ${lt_cv_irix_exported_symbol+y}
   10478 then :
   10479   printf %s "(cached) " >&6
   10480 else $as_nop
   10481   save_LDFLAGS=$LDFLAGS
   10482 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   10483 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10484 /* end confdefs.h.  */
   10485 int foo (void) { return 0; }
   10486 _ACEOF
   10487 if ac_fn_c_try_link "$LINENO"
   10488 then :
   10489   lt_cv_irix_exported_symbol=yes
   10490 else $as_nop
   10491   lt_cv_irix_exported_symbol=no
   10492 fi
   10493 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10494     conftest$ac_exeext conftest.$ac_ext
   10495            LDFLAGS=$save_LDFLAGS
   10496 fi
   10497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   10498 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   10499 	if test yes = "$lt_cv_irix_exported_symbol"; then
   10500           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'
   10501 	fi
   10502 	link_all_deplibs=no
   10503       else
   10504 	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'
   10505 	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'
   10506       fi
   10507       archive_cmds_need_lc='no'
   10508       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10509       hardcode_libdir_separator=:
   10510       inherit_rpath=yes
   10511       link_all_deplibs=yes
   10512       ;;
   10513 
   10514     linux*)
   10515       case $cc_basename in
   10516       tcc*)
   10517 	# Fabrice Bellard et al's Tiny C Compiler
   10518 	ld_shlibs=yes
   10519 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10520 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10521 	;;
   10522       esac
   10523       ;;
   10524 
   10525     netbsd* | netbsdelf*-gnu)
   10526       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10527 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10528       else
   10529 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10530       fi
   10531       hardcode_libdir_flag_spec='-R$libdir'
   10532       hardcode_direct=yes
   10533       hardcode_shlibpath_var=no
   10534       ;;
   10535 
   10536     newsos6)
   10537       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10538       hardcode_direct=yes
   10539       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10540       hardcode_libdir_separator=:
   10541       hardcode_shlibpath_var=no
   10542       ;;
   10543 
   10544     *nto* | *qnx*)
   10545       ;;
   10546 
   10547     openbsd* | bitrig*)
   10548       if test -f /usr/libexec/ld.so; then
   10549 	hardcode_direct=yes
   10550 	hardcode_shlibpath_var=no
   10551 	hardcode_direct_absolute=yes
   10552 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   10553 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10554 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   10555 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10556 	  export_dynamic_flag_spec='$wl-E'
   10557 	else
   10558 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10559 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10560 	fi
   10561       else
   10562 	ld_shlibs=no
   10563       fi
   10564       ;;
   10565 
   10566     os2*)
   10567       hardcode_libdir_flag_spec='-L$libdir'
   10568       hardcode_minus_L=yes
   10569       allow_undefined_flag=unsupported
   10570       shrext_cmds=.dll
   10571       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10572 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10573 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10574 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10575 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10576 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10577 	emximp -o $lib $output_objdir/$libname.def'
   10578       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10579 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10580 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10581 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10582 	prefix_cmds="$SED"~
   10583 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10584 	  prefix_cmds="$prefix_cmds -e 1d";
   10585 	fi~
   10586 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10587 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10588 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10589 	emximp -o $lib $output_objdir/$libname.def'
   10590       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10591       enable_shared_with_static_runtimes=yes
   10592       file_list_spec='@'
   10593       ;;
   10594 
   10595     osf3*)
   10596       if test yes = "$GCC"; then
   10597 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10598 	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'
   10599       else
   10600 	allow_undefined_flag=' -expect_unresolved \*'
   10601 	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'
   10602       fi
   10603       archive_cmds_need_lc='no'
   10604       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10605       hardcode_libdir_separator=:
   10606       ;;
   10607 
   10608     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10609       if test yes = "$GCC"; then
   10610 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10611 	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'
   10612 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10613       else
   10614 	allow_undefined_flag=' -expect_unresolved \*'
   10615 	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'
   10616 	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~
   10617           $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'
   10618 
   10619 	# Both c and cxx compiler support -rpath directly
   10620 	hardcode_libdir_flag_spec='-rpath $libdir'
   10621       fi
   10622       archive_cmds_need_lc='no'
   10623       hardcode_libdir_separator=:
   10624       ;;
   10625 
   10626     solaris*)
   10627       no_undefined_flag=' -z defs'
   10628       if test yes = "$GCC"; then
   10629 	wlarc='$wl'
   10630 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10631 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10632           $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'
   10633       else
   10634 	case `$CC -V 2>&1` in
   10635 	*"Compilers 5.0"*)
   10636 	  wlarc=''
   10637 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10638 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10639             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10640 	  ;;
   10641 	*)
   10642 	  wlarc='$wl'
   10643 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10644 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10645             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10646 	  ;;
   10647 	esac
   10648       fi
   10649       hardcode_libdir_flag_spec='-R$libdir'
   10650       hardcode_shlibpath_var=no
   10651       case $host_os in
   10652       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10653       *)
   10654 	# The compiler driver will combine and reorder linker options,
   10655 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   10656 	# but is careful enough not to reorder.
   10657 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10658 	if test yes = "$GCC"; then
   10659 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   10660 	else
   10661 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10662 	fi
   10663 	;;
   10664       esac
   10665       link_all_deplibs=yes
   10666       ;;
   10667 
   10668     sunos4*)
   10669       if test sequent = "$host_vendor"; then
   10670 	# Use $CC to link under sequent, because it throws in some extra .o
   10671 	# files that make .init and .fini sections work.
   10672 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10673       else
   10674 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10675       fi
   10676       hardcode_libdir_flag_spec='-L$libdir'
   10677       hardcode_direct=yes
   10678       hardcode_minus_L=yes
   10679       hardcode_shlibpath_var=no
   10680       ;;
   10681 
   10682     sysv4)
   10683       case $host_vendor in
   10684 	sni)
   10685 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10686 	  hardcode_direct=yes # is this really true???
   10687 	;;
   10688 	siemens)
   10689 	  ## LD is ld it makes a PLAMLIB
   10690 	  ## CC just makes a GrossModule.
   10691 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10692 	  reload_cmds='$CC -r -o $output$reload_objs'
   10693 	  hardcode_direct=no
   10694         ;;
   10695 	motorola)
   10696 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10697 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10698 	;;
   10699       esac
   10700       runpath_var='LD_RUN_PATH'
   10701       hardcode_shlibpath_var=no
   10702       ;;
   10703 
   10704     sysv4.3*)
   10705       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10706       hardcode_shlibpath_var=no
   10707       export_dynamic_flag_spec='-Bexport'
   10708       ;;
   10709 
   10710     sysv4*MP*)
   10711       if test -d /usr/nec; then
   10712 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10713 	hardcode_shlibpath_var=no
   10714 	runpath_var=LD_RUN_PATH
   10715 	hardcode_runpath_var=yes
   10716 	ld_shlibs=yes
   10717       fi
   10718       ;;
   10719 
   10720     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10721       no_undefined_flag='$wl-z,text'
   10722       archive_cmds_need_lc=no
   10723       hardcode_shlibpath_var=no
   10724       runpath_var='LD_RUN_PATH'
   10725 
   10726       if test yes = "$GCC"; then
   10727 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10728 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10729       else
   10730 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10731 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10732       fi
   10733       ;;
   10734 
   10735     sysv5* | sco3.2v5* | sco5v6*)
   10736       # Note: We CANNOT use -z defs as we might desire, because we do not
   10737       # link with -lc, and that would cause any symbols used from libc to
   10738       # always be unresolved, which means just about no library would
   10739       # ever link correctly.  If we're not using GNU ld we use -z text
   10740       # though, which does catch some bad symbols but isn't as heavy-handed
   10741       # as -z defs.
   10742       no_undefined_flag='$wl-z,text'
   10743       allow_undefined_flag='$wl-z,nodefs'
   10744       archive_cmds_need_lc=no
   10745       hardcode_shlibpath_var=no
   10746       hardcode_libdir_flag_spec='$wl-R,$libdir'
   10747       hardcode_libdir_separator=':'
   10748       link_all_deplibs=yes
   10749       export_dynamic_flag_spec='$wl-Bexport'
   10750       runpath_var='LD_RUN_PATH'
   10751 
   10752       if test yes = "$GCC"; then
   10753 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10754 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10755       else
   10756 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10757 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10758       fi
   10759       ;;
   10760 
   10761     uts4*)
   10762       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10763       hardcode_libdir_flag_spec='-L$libdir'
   10764       hardcode_shlibpath_var=no
   10765       ;;
   10766 
   10767     *)
   10768       ld_shlibs=no
   10769       ;;
   10770     esac
   10771 
   10772     if test sni = "$host_vendor"; then
   10773       case $host in
   10774       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10775 	export_dynamic_flag_spec='$wl-Blargedynsym'
   10776 	;;
   10777       esac
   10778     fi
   10779   fi
   10780 
   10781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10782 printf "%s\n" "$ld_shlibs" >&6; }
   10783 test no = "$ld_shlibs" && can_build_shared=no
   10784 
   10785 with_gnu_ld=$with_gnu_ld
   10786 
   10787 
   10788 
   10789 
   10790 
   10791 
   10792 
   10793 
   10794 
   10795 
   10796 
   10797 
   10798 
   10799 
   10800 
   10801 #
   10802 # Do we need to explicitly link libc?
   10803 #
   10804 case "x$archive_cmds_need_lc" in
   10805 x|xyes)
   10806   # Assume -lc should be added
   10807   archive_cmds_need_lc=yes
   10808 
   10809   if test yes,yes = "$GCC,$enable_shared"; then
   10810     case $archive_cmds in
   10811     *'~'*)
   10812       # FIXME: we may have to deal with multi-command sequences.
   10813       ;;
   10814     '$CC '*)
   10815       # Test whether the compiler implicitly links with -lc since on some
   10816       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10817       # to ld, don't add -lc before -lgcc.
   10818       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10819 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   10820 if test ${lt_cv_archive_cmds_need_lc+y}
   10821 then :
   10822   printf %s "(cached) " >&6
   10823 else $as_nop
   10824   $RM conftest*
   10825 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10826 
   10827 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10828   (eval $ac_compile) 2>&5
   10829   ac_status=$?
   10830   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10831   test $ac_status = 0; } 2>conftest.err; then
   10832 	  soname=conftest
   10833 	  lib=conftest
   10834 	  libobjs=conftest.$ac_objext
   10835 	  deplibs=
   10836 	  wl=$lt_prog_compiler_wl
   10837 	  pic_flag=$lt_prog_compiler_pic
   10838 	  compiler_flags=-v
   10839 	  linker_flags=-v
   10840 	  verstring=
   10841 	  output_objdir=.
   10842 	  libname=conftest
   10843 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10844 	  allow_undefined_flag=
   10845 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10846   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10847   ac_status=$?
   10848   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10849   test $ac_status = 0; }
   10850 	  then
   10851 	    lt_cv_archive_cmds_need_lc=no
   10852 	  else
   10853 	    lt_cv_archive_cmds_need_lc=yes
   10854 	  fi
   10855 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10856 	else
   10857 	  cat conftest.err 1>&5
   10858 	fi
   10859 	$RM conftest*
   10860 
   10861 fi
   10862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10863 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   10864       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10865       ;;
   10866     esac
   10867   fi
   10868   ;;
   10869 esac
   10870 
   10871 
   10872 
   10873 
   10874 
   10875 
   10876 
   10877 
   10878 
   10879 
   10880 
   10881 
   10882 
   10883 
   10884 
   10885 
   10886 
   10887 
   10888 
   10889 
   10890 
   10891 
   10892 
   10893 
   10894 
   10895 
   10896 
   10897 
   10898 
   10899 
   10900 
   10901 
   10902 
   10903 
   10904 
   10905 
   10906 
   10907 
   10908 
   10909 
   10910 
   10911 
   10912 
   10913 
   10914 
   10915 
   10916 
   10917 
   10918 
   10919 
   10920 
   10921 
   10922 
   10923 
   10924 
   10925 
   10926 
   10927 
   10928 
   10929 
   10930 
   10931 
   10932 
   10933 
   10934 
   10935 
   10936 
   10937 
   10938 
   10939 
   10940 
   10941 
   10942 
   10943 
   10944 
   10945 
   10946 
   10947 
   10948 
   10949 
   10950 
   10951 
   10952 
   10953 
   10954 
   10955 
   10956 
   10957 
   10958 
   10959 
   10960 
   10961 
   10962 
   10963 
   10964 
   10965 
   10966 
   10967 
   10968 
   10969 
   10970 
   10971 
   10972 
   10973 
   10974 
   10975 
   10976 
   10977 
   10978 
   10979 
   10980 
   10981 
   10982 
   10983 
   10984 
   10985 
   10986 
   10987 
   10988 
   10989 
   10990 
   10991 
   10992 
   10993 
   10994 
   10995 
   10996 
   10997 
   10998 
   10999 
   11000 
   11001 
   11002 
   11003 
   11004 
   11005 
   11006 
   11007 
   11008 
   11009 
   11010 
   11011 
   11012 
   11013 
   11014 
   11015 
   11016 
   11017 
   11018 
   11019 
   11020 
   11021 
   11022   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11023 printf %s "checking dynamic linker characteristics... " >&6; }
   11024 
   11025 if test yes = "$GCC"; then
   11026   case $host_os in
   11027     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   11028     *) lt_awk_arg='/^libraries:/' ;;
   11029   esac
   11030   case $host_os in
   11031     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   11032     *) lt_sed_strip_eq='s|=/|/|g' ;;
   11033   esac
   11034   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11035   case $lt_search_path_spec in
   11036   *\;*)
   11037     # if the path contains ";" then we assume it to be the separator
   11038     # otherwise default to the standard path separator (i.e. ":") - it is
   11039     # assumed that no part of a normal pathname contains ";" but that should
   11040     # okay in the real world where ";" in dirpaths is itself problematic.
   11041     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11042     ;;
   11043   *)
   11044     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11045     ;;
   11046   esac
   11047   # Ok, now we have the path, separated by spaces, we can step through it
   11048   # and add multilib dir if necessary...
   11049   lt_tmp_lt_search_path_spec=
   11050   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11051   # ...but if some path component already ends with the multilib dir we assume
   11052   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   11053   case "$lt_multi_os_dir; $lt_search_path_spec " in
   11054   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   11055     lt_multi_os_dir=
   11056     ;;
   11057   esac
   11058   for lt_sys_path in $lt_search_path_spec; do
   11059     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   11060       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   11061     elif test -n "$lt_multi_os_dir"; then
   11062       test -d "$lt_sys_path" && \
   11063 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11064     fi
   11065   done
   11066   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11067 BEGIN {RS = " "; FS = "/|\n";} {
   11068   lt_foo = "";
   11069   lt_count = 0;
   11070   for (lt_i = NF; lt_i > 0; lt_i--) {
   11071     if ($lt_i != "" && $lt_i != ".") {
   11072       if ($lt_i == "..") {
   11073         lt_count++;
   11074       } else {
   11075         if (lt_count == 0) {
   11076           lt_foo = "/" $lt_i lt_foo;
   11077         } else {
   11078           lt_count--;
   11079         }
   11080       }
   11081     }
   11082   }
   11083   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11084   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11085 }'`
   11086   # AWK program above erroneously prepends '/' to C:/dos/paths
   11087   # for these hosts.
   11088   case $host_os in
   11089     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11090       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   11091   esac
   11092   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11093 else
   11094   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11095 fi
   11096 library_names_spec=
   11097 libname_spec='lib$name'
   11098 soname_spec=
   11099 shrext_cmds=.so
   11100 postinstall_cmds=
   11101 postuninstall_cmds=
   11102 finish_cmds=
   11103 finish_eval=
   11104 shlibpath_var=
   11105 shlibpath_overrides_runpath=unknown
   11106 version_type=none
   11107 dynamic_linker="$host_os ld.so"
   11108 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11109 need_lib_prefix=unknown
   11110 hardcode_into_libs=no
   11111 
   11112 # when you set need_version to no, make sure it does not cause -set_version
   11113 # flags to be left without arguments
   11114 need_version=unknown
   11115 
   11116 
   11117 
   11118 case $host_os in
   11119 aix3*)
   11120   version_type=linux # correct to gnu/linux during the next big refactor
   11121   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   11122   shlibpath_var=LIBPATH
   11123 
   11124   # AIX 3 has no versioning support, so we append a major version to the name.
   11125   soname_spec='$libname$release$shared_ext$major'
   11126   ;;
   11127 
   11128 aix[4-9]*)
   11129   version_type=linux # correct to gnu/linux during the next big refactor
   11130   need_lib_prefix=no
   11131   need_version=no
   11132   hardcode_into_libs=yes
   11133   if test ia64 = "$host_cpu"; then
   11134     # AIX 5 supports IA64
   11135     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   11136     shlibpath_var=LD_LIBRARY_PATH
   11137   else
   11138     # With GCC up to 2.95.x, collect2 would create an import file
   11139     # for dependence libraries.  The import file would start with
   11140     # the line '#! .'.  This would cause the generated library to
   11141     # depend on '.', always an invalid library.  This was fixed in
   11142     # development snapshots of GCC prior to 3.0.
   11143     case $host_os in
   11144       aix4 | aix4.[01] | aix4.[01].*)
   11145       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11146 	   echo ' yes '
   11147 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   11148 	:
   11149       else
   11150 	can_build_shared=no
   11151       fi
   11152       ;;
   11153     esac
   11154     # Using Import Files as archive members, it is possible to support
   11155     # filename-based versioning of shared library archives on AIX. While
   11156     # this would work for both with and without runtime linking, it will
   11157     # prevent static linking of such archives. So we do filename-based
   11158     # shared library versioning with .so extension only, which is used
   11159     # when both runtime linking and shared linking is enabled.
   11160     # Unfortunately, runtime linking may impact performance, so we do
   11161     # not want this to be the default eventually. Also, we use the
   11162     # versioned .so libs for executables only if there is the -brtl
   11163     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   11164     # To allow for filename-based versioning support, we need to create
   11165     # libNAME.so.V as an archive file, containing:
   11166     # *) an Import File, referring to the versioned filename of the
   11167     #    archive as well as the shared archive member, telling the
   11168     #    bitwidth (32 or 64) of that shared object, and providing the
   11169     #    list of exported symbols of that shared object, eventually
   11170     #    decorated with the 'weak' keyword
   11171     # *) the shared object with the F_LOADONLY flag set, to really avoid
   11172     #    it being seen by the linker.
   11173     # At run time we better use the real file rather than another symlink,
   11174     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   11175 
   11176     case $with_aix_soname,$aix_use_runtimelinking in
   11177     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   11178     # soname into executable. Probably we can add versioning support to
   11179     # collect2, so additional links can be useful in future.
   11180     aix,yes) # traditional libtool
   11181       dynamic_linker='AIX unversionable lib.so'
   11182       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11183       # instead of lib<name>.a to let people know that these are not
   11184       # typical AIX shared libraries.
   11185       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11186       ;;
   11187     aix,no) # traditional AIX only
   11188       dynamic_linker='AIX lib.a(lib.so.V)'
   11189       # We preserve .a as extension for shared libraries through AIX4.2
   11190       # and later when we are not doing run time linking.
   11191       library_names_spec='$libname$release.a $libname.a'
   11192       soname_spec='$libname$release$shared_ext$major'
   11193       ;;
   11194     svr4,*) # full svr4 only
   11195       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   11196       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11197       # We do not specify a path in Import Files, so LIBPATH fires.
   11198       shlibpath_overrides_runpath=yes
   11199       ;;
   11200     *,yes) # both, prefer svr4
   11201       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   11202       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11203       # unpreferred sharedlib libNAME.a needs extra handling
   11204       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"'
   11205       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"'
   11206       # We do not specify a path in Import Files, so LIBPATH fires.
   11207       shlibpath_overrides_runpath=yes
   11208       ;;
   11209     *,no) # both, prefer aix
   11210       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   11211       library_names_spec='$libname$release.a $libname.a'
   11212       soname_spec='$libname$release$shared_ext$major'
   11213       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   11214       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)'
   11215       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"'
   11216       ;;
   11217     esac
   11218     shlibpath_var=LIBPATH
   11219   fi
   11220   ;;
   11221 
   11222 amigaos*)
   11223   case $host_cpu in
   11224   powerpc)
   11225     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11226     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11227     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11228     ;;
   11229   m68k)
   11230     library_names_spec='$libname.ixlibrary $libname.a'
   11231     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11232     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'
   11233     ;;
   11234   esac
   11235   ;;
   11236 
   11237 beos*)
   11238   library_names_spec='$libname$shared_ext'
   11239   dynamic_linker="$host_os ld.so"
   11240   shlibpath_var=LIBRARY_PATH
   11241   ;;
   11242 
   11243 bsdi[45]*)
   11244   version_type=linux # correct to gnu/linux during the next big refactor
   11245   need_version=no
   11246   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11247   soname_spec='$libname$release$shared_ext$major'
   11248   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11249   shlibpath_var=LD_LIBRARY_PATH
   11250   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11251   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11252   # the default ld.so.conf also contains /usr/contrib/lib and
   11253   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11254   # libtool to hard-code these into programs
   11255   ;;
   11256 
   11257 cygwin* | mingw* | pw32* | cegcc*)
   11258   version_type=windows
   11259   shrext_cmds=.dll
   11260   need_version=no
   11261   need_lib_prefix=no
   11262 
   11263   case $GCC,$cc_basename in
   11264   yes,*)
   11265     # gcc
   11266     library_names_spec='$libname.dll.a'
   11267     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11268     postinstall_cmds='base_file=`basename \$file`~
   11269       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11270       dldir=$destdir/`dirname \$dlpath`~
   11271       test -d \$dldir || mkdir -p \$dldir~
   11272       $install_prog $dir/$dlname \$dldir/$dlname~
   11273       chmod a+x \$dldir/$dlname~
   11274       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11275         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11276       fi'
   11277     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11278       dlpath=$dir/\$dldll~
   11279        $RM \$dlpath'
   11280     shlibpath_overrides_runpath=yes
   11281 
   11282     case $host_os in
   11283     cygwin*)
   11284       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11285       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11286 
   11287       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11288       ;;
   11289     mingw* | cegcc*)
   11290       # MinGW DLLs use traditional 'lib' prefix
   11291       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11292       ;;
   11293     pw32*)
   11294       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11295       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11296       ;;
   11297     esac
   11298     dynamic_linker='Win32 ld.exe'
   11299     ;;
   11300 
   11301   *,cl* | *,icl*)
   11302     # Native MSVC or ICC
   11303     libname_spec='$name'
   11304     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11305     library_names_spec='$libname.dll.lib'
   11306 
   11307     case $build_os in
   11308     mingw*)
   11309       sys_lib_search_path_spec=
   11310       lt_save_ifs=$IFS
   11311       IFS=';'
   11312       for lt_path in $LIB
   11313       do
   11314         IFS=$lt_save_ifs
   11315         # Let DOS variable expansion print the short 8.3 style file name.
   11316         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   11317         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   11318       done
   11319       IFS=$lt_save_ifs
   11320       # Convert to MSYS style.
   11321       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   11322       ;;
   11323     cygwin*)
   11324       # Convert to unix form, then to dos form, then back to unix form
   11325       # but this time dos style (no spaces!) so that the unix form looks
   11326       # like /cygdrive/c/PROGRA~1:/cygdr...
   11327       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   11328       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   11329       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11330       ;;
   11331     *)
   11332       sys_lib_search_path_spec=$LIB
   11333       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   11334         # It is most probably a Windows format PATH.
   11335         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   11336       else
   11337         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11338       fi
   11339       # FIXME: find the short name or the path components, as spaces are
   11340       # common. (e.g. "Program Files" -> "PROGRA~1")
   11341       ;;
   11342     esac
   11343 
   11344     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11345     postinstall_cmds='base_file=`basename \$file`~
   11346       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11347       dldir=$destdir/`dirname \$dlpath`~
   11348       test -d \$dldir || mkdir -p \$dldir~
   11349       $install_prog $dir/$dlname \$dldir/$dlname'
   11350     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11351       dlpath=$dir/\$dldll~
   11352        $RM \$dlpath'
   11353     shlibpath_overrides_runpath=yes
   11354     dynamic_linker='Win32 link.exe'
   11355     ;;
   11356 
   11357   *)
   11358     # Assume MSVC and ICC wrapper
   11359     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   11360     dynamic_linker='Win32 ld.exe'
   11361     ;;
   11362   esac
   11363   # FIXME: first we should search . and the directory the executable is in
   11364   shlibpath_var=PATH
   11365   ;;
   11366 
   11367 darwin* | rhapsody*)
   11368   dynamic_linker="$host_os dyld"
   11369   version_type=darwin
   11370   need_lib_prefix=no
   11371   need_version=no
   11372   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   11373   soname_spec='$libname$release$major$shared_ext'
   11374   shlibpath_overrides_runpath=yes
   11375   shlibpath_var=DYLD_LIBRARY_PATH
   11376   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   11377 
   11378   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11379   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11380   ;;
   11381 
   11382 dgux*)
   11383   version_type=linux # correct to gnu/linux during the next big refactor
   11384   need_lib_prefix=no
   11385   need_version=no
   11386   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11387   soname_spec='$libname$release$shared_ext$major'
   11388   shlibpath_var=LD_LIBRARY_PATH
   11389   ;;
   11390 
   11391 freebsd* | dragonfly* | midnightbsd*)
   11392   # DragonFly does not have aout.  When/if they implement a new
   11393   # versioning mechanism, adjust this.
   11394   if test -x /usr/bin/objformat; then
   11395     objformat=`/usr/bin/objformat`
   11396   else
   11397     case $host_os in
   11398     freebsd[23].*) objformat=aout ;;
   11399     *) objformat=elf ;;
   11400     esac
   11401   fi
   11402   version_type=freebsd-$objformat
   11403   case $version_type in
   11404     freebsd-elf*)
   11405       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11406       soname_spec='$libname$release$shared_ext$major'
   11407       need_version=no
   11408       need_lib_prefix=no
   11409       ;;
   11410     freebsd-*)
   11411       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11412       need_version=yes
   11413       ;;
   11414   esac
   11415   shlibpath_var=LD_LIBRARY_PATH
   11416   case $host_os in
   11417   freebsd2.*)
   11418     shlibpath_overrides_runpath=yes
   11419     ;;
   11420   freebsd3.[01]* | freebsdelf3.[01]*)
   11421     shlibpath_overrides_runpath=yes
   11422     hardcode_into_libs=yes
   11423     ;;
   11424   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11425   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11426     shlibpath_overrides_runpath=no
   11427     hardcode_into_libs=yes
   11428     ;;
   11429   *) # from 4.6 on, and DragonFly
   11430     shlibpath_overrides_runpath=yes
   11431     hardcode_into_libs=yes
   11432     ;;
   11433   esac
   11434   ;;
   11435 
   11436 haiku*)
   11437   version_type=linux # correct to gnu/linux during the next big refactor
   11438   need_lib_prefix=no
   11439   need_version=no
   11440   dynamic_linker="$host_os runtime_loader"
   11441   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11442   soname_spec='$libname$release$shared_ext$major'
   11443   shlibpath_var=LIBRARY_PATH
   11444   shlibpath_overrides_runpath=no
   11445   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   11446   hardcode_into_libs=yes
   11447   ;;
   11448 
   11449 hpux9* | hpux10* | hpux11*)
   11450   # Give a soname corresponding to the major version so that dld.sl refuses to
   11451   # link against other versions.
   11452   version_type=sunos
   11453   need_lib_prefix=no
   11454   need_version=no
   11455   case $host_cpu in
   11456   ia64*)
   11457     shrext_cmds='.so'
   11458     hardcode_into_libs=yes
   11459     dynamic_linker="$host_os dld.so"
   11460     shlibpath_var=LD_LIBRARY_PATH
   11461     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11462     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11463     soname_spec='$libname$release$shared_ext$major'
   11464     if test 32 = "$HPUX_IA64_MODE"; then
   11465       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   11466       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   11467     else
   11468       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   11469       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   11470     fi
   11471     ;;
   11472   hppa*64*)
   11473     shrext_cmds='.sl'
   11474     hardcode_into_libs=yes
   11475     dynamic_linker="$host_os dld.sl"
   11476     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   11477     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11478     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11479     soname_spec='$libname$release$shared_ext$major'
   11480     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   11481     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11482     ;;
   11483   *)
   11484     shrext_cmds='.sl'
   11485     dynamic_linker="$host_os dld.sl"
   11486     shlibpath_var=SHLIB_PATH
   11487     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   11488     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11489     soname_spec='$libname$release$shared_ext$major'
   11490     ;;
   11491   esac
   11492   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   11493   postinstall_cmds='chmod 555 $lib'
   11494   # or fails outright, so override atomically:
   11495   install_override_mode=555
   11496   ;;
   11497 
   11498 interix[3-9]*)
   11499   version_type=linux # correct to gnu/linux during the next big refactor
   11500   need_lib_prefix=no
   11501   need_version=no
   11502   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11503   soname_spec='$libname$release$shared_ext$major'
   11504   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   11505   shlibpath_var=LD_LIBRARY_PATH
   11506   shlibpath_overrides_runpath=no
   11507   hardcode_into_libs=yes
   11508   ;;
   11509 
   11510 irix5* | irix6* | nonstopux*)
   11511   case $host_os in
   11512     nonstopux*) version_type=nonstopux ;;
   11513     *)
   11514 	if test yes = "$lt_cv_prog_gnu_ld"; then
   11515 		version_type=linux # correct to gnu/linux during the next big refactor
   11516 	else
   11517 		version_type=irix
   11518 	fi ;;
   11519   esac
   11520   need_lib_prefix=no
   11521   need_version=no
   11522   soname_spec='$libname$release$shared_ext$major'
   11523   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   11524   case $host_os in
   11525   irix5* | nonstopux*)
   11526     libsuff= shlibsuff=
   11527     ;;
   11528   *)
   11529     case $LD in # libtool.m4 will add one of these switches to LD
   11530     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   11531       libsuff= shlibsuff= libmagic=32-bit;;
   11532     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   11533       libsuff=32 shlibsuff=N32 libmagic=N32;;
   11534     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   11535       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   11536     *) libsuff= shlibsuff= libmagic=never-match;;
   11537     esac
   11538     ;;
   11539   esac
   11540   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   11541   shlibpath_overrides_runpath=no
   11542   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   11543   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   11544   hardcode_into_libs=yes
   11545   ;;
   11546 
   11547 # No shared lib support for Linux oldld, aout, or coff.
   11548 linux*oldld* | linux*aout* | linux*coff*)
   11549   dynamic_linker=no
   11550   ;;
   11551 
   11552 linux*android*)
   11553   version_type=none # Android doesn't support versioned libraries.
   11554   need_lib_prefix=no
   11555   need_version=no
   11556   library_names_spec='$libname$release$shared_ext'
   11557   soname_spec='$libname$release$shared_ext'
   11558   finish_cmds=
   11559   shlibpath_var=LD_LIBRARY_PATH
   11560   shlibpath_overrides_runpath=yes
   11561 
   11562   # This implies no fast_install, which is unacceptable.
   11563   # Some rework will be needed to allow for fast_install
   11564   # before this can be enabled.
   11565   hardcode_into_libs=yes
   11566 
   11567   dynamic_linker='Android linker'
   11568   # Don't embed -rpath directories since the linker doesn't support them.
   11569   hardcode_libdir_flag_spec='-L$libdir'
   11570   ;;
   11571 
   11572 # This must be glibc/ELF.
   11573 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   11574   version_type=linux # correct to gnu/linux during the next big refactor
   11575   need_lib_prefix=no
   11576   need_version=no
   11577   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11578   soname_spec='$libname$release$shared_ext$major'
   11579   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   11580   shlibpath_var=LD_LIBRARY_PATH
   11581   shlibpath_overrides_runpath=no
   11582 
   11583   # Some binutils ld are patched to set DT_RUNPATH
   11584   if test ${lt_cv_shlibpath_overrides_runpath+y}
   11585 then :
   11586   printf %s "(cached) " >&6
   11587 else $as_nop
   11588   lt_cv_shlibpath_overrides_runpath=no
   11589     save_LDFLAGS=$LDFLAGS
   11590     save_libdir=$libdir
   11591     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   11592 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   11593     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11594 /* end confdefs.h.  */
   11595 
   11596 int
   11597 main (void)
   11598 {
   11599 
   11600   ;
   11601   return 0;
   11602 }
   11603 _ACEOF
   11604 if ac_fn_c_try_link "$LINENO"
   11605 then :
   11606   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   11607 then :
   11608   lt_cv_shlibpath_overrides_runpath=yes
   11609 fi
   11610 fi
   11611 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11612     conftest$ac_exeext conftest.$ac_ext
   11613     LDFLAGS=$save_LDFLAGS
   11614     libdir=$save_libdir
   11615 
   11616 fi
   11617 
   11618   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   11619 
   11620   # This implies no fast_install, which is unacceptable.
   11621   # Some rework will be needed to allow for fast_install
   11622   # before this can be enabled.
   11623   hardcode_into_libs=yes
   11624 
   11625   # Ideally, we could use ldconfig to report *all* directores which are
   11626   # searched for libraries, however this is still not possible.  Aside from not
   11627   # being certain /sbin/ldconfig is available, command
   11628   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   11629   # even though it is searched at run-time.  Try to do the best guess by
   11630   # appending ld.so.conf contents (and includes) to the search path.
   11631   if test -f /etc/ld.so.conf; then
   11632     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' ' '`
   11633     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   11634   fi
   11635 
   11636   # We used to test for /lib/ld.so.1 and disable shared libraries on
   11637   # powerpc, because MkLinux only supported shared libraries with the
   11638   # GNU dynamic linker.  Since this was broken with cross compilers,
   11639   # most powerpc-linux boxes support dynamic linking these days and
   11640   # people can always --disable-shared, the test was removed, and we
   11641   # assume the GNU/Linux dynamic linker is in use.
   11642   dynamic_linker='GNU/Linux ld.so'
   11643   ;;
   11644 
   11645 netbsdelf*-gnu)
   11646   version_type=linux
   11647   need_lib_prefix=no
   11648   need_version=no
   11649   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   11650   soname_spec='${libname}${release}${shared_ext}$major'
   11651   shlibpath_var=LD_LIBRARY_PATH
   11652   shlibpath_overrides_runpath=no
   11653   hardcode_into_libs=yes
   11654   dynamic_linker='NetBSD ld.elf_so'
   11655   ;;
   11656 
   11657 netbsd*)
   11658   version_type=sunos
   11659   need_lib_prefix=no
   11660   need_version=no
   11661   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11662     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11663     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11664     dynamic_linker='NetBSD (a.out) ld.so'
   11665   else
   11666     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11667     soname_spec='$libname$release$shared_ext$major'
   11668     dynamic_linker='NetBSD ld.elf_so'
   11669   fi
   11670   shlibpath_var=LD_LIBRARY_PATH
   11671   shlibpath_overrides_runpath=yes
   11672   hardcode_into_libs=yes
   11673   ;;
   11674 
   11675 newsos6)
   11676   version_type=linux # correct to gnu/linux during the next big refactor
   11677   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11678   shlibpath_var=LD_LIBRARY_PATH
   11679   shlibpath_overrides_runpath=yes
   11680   ;;
   11681 
   11682 *nto* | *qnx*)
   11683   version_type=qnx
   11684   need_lib_prefix=no
   11685   need_version=no
   11686   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11687   soname_spec='$libname$release$shared_ext$major'
   11688   shlibpath_var=LD_LIBRARY_PATH
   11689   shlibpath_overrides_runpath=no
   11690   hardcode_into_libs=yes
   11691   dynamic_linker='ldqnx.so'
   11692   ;;
   11693 
   11694 openbsd* | bitrig*)
   11695   version_type=sunos
   11696   sys_lib_dlsearch_path_spec=/usr/lib
   11697   need_lib_prefix=no
   11698   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11699     need_version=no
   11700   else
   11701     need_version=yes
   11702   fi
   11703   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11704   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11705   shlibpath_var=LD_LIBRARY_PATH
   11706   shlibpath_overrides_runpath=yes
   11707   ;;
   11708 
   11709 os2*)
   11710   libname_spec='$name'
   11711   version_type=windows
   11712   shrext_cmds=.dll
   11713   need_version=no
   11714   need_lib_prefix=no
   11715   # OS/2 can only load a DLL with a base name of 8 characters or less.
   11716   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   11717     v=$($ECHO $release$versuffix | tr -d .-);
   11718     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   11719     $ECHO $n$v`$shared_ext'
   11720   library_names_spec='${libname}_dll.$libext'
   11721   dynamic_linker='OS/2 ld.exe'
   11722   shlibpath_var=BEGINLIBPATH
   11723   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11724   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11725   postinstall_cmds='base_file=`basename \$file`~
   11726     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   11727     dldir=$destdir/`dirname \$dlpath`~
   11728     test -d \$dldir || mkdir -p \$dldir~
   11729     $install_prog $dir/$dlname \$dldir/$dlname~
   11730     chmod a+x \$dldir/$dlname~
   11731     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11732       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11733     fi'
   11734   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   11735     dlpath=$dir/\$dldll~
   11736     $RM \$dlpath'
   11737   ;;
   11738 
   11739 osf3* | osf4* | osf5*)
   11740   version_type=osf
   11741   need_lib_prefix=no
   11742   need_version=no
   11743   soname_spec='$libname$release$shared_ext$major'
   11744   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11745   shlibpath_var=LD_LIBRARY_PATH
   11746   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11747   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11748   ;;
   11749 
   11750 rdos*)
   11751   dynamic_linker=no
   11752   ;;
   11753 
   11754 solaris*)
   11755   version_type=linux # correct to gnu/linux during the next big refactor
   11756   need_lib_prefix=no
   11757   need_version=no
   11758   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11759   soname_spec='$libname$release$shared_ext$major'
   11760   shlibpath_var=LD_LIBRARY_PATH
   11761   shlibpath_overrides_runpath=yes
   11762   hardcode_into_libs=yes
   11763   # ldd complains unless libraries are executable
   11764   postinstall_cmds='chmod +x $lib'
   11765   ;;
   11766 
   11767 sunos4*)
   11768   version_type=sunos
   11769   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11770   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   11771   shlibpath_var=LD_LIBRARY_PATH
   11772   shlibpath_overrides_runpath=yes
   11773   if test yes = "$with_gnu_ld"; then
   11774     need_lib_prefix=no
   11775   fi
   11776   need_version=yes
   11777   ;;
   11778 
   11779 sysv4 | sysv4.3*)
   11780   version_type=linux # correct to gnu/linux during the next big refactor
   11781   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11782   soname_spec='$libname$release$shared_ext$major'
   11783   shlibpath_var=LD_LIBRARY_PATH
   11784   case $host_vendor in
   11785     sni)
   11786       shlibpath_overrides_runpath=no
   11787       need_lib_prefix=no
   11788       runpath_var=LD_RUN_PATH
   11789       ;;
   11790     siemens)
   11791       need_lib_prefix=no
   11792       ;;
   11793     motorola)
   11794       need_lib_prefix=no
   11795       need_version=no
   11796       shlibpath_overrides_runpath=no
   11797       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11798       ;;
   11799   esac
   11800   ;;
   11801 
   11802 sysv4*MP*)
   11803   if test -d /usr/nec; then
   11804     version_type=linux # correct to gnu/linux during the next big refactor
   11805     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   11806     soname_spec='$libname$shared_ext.$major'
   11807     shlibpath_var=LD_LIBRARY_PATH
   11808   fi
   11809   ;;
   11810 
   11811 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11812   version_type=sco
   11813   need_lib_prefix=no
   11814   need_version=no
   11815   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   11816   soname_spec='$libname$release$shared_ext$major'
   11817   shlibpath_var=LD_LIBRARY_PATH
   11818   shlibpath_overrides_runpath=yes
   11819   hardcode_into_libs=yes
   11820   if test yes = "$with_gnu_ld"; then
   11821     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11822   else
   11823     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11824     case $host_os in
   11825       sco3.2v5*)
   11826         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11827 	;;
   11828     esac
   11829   fi
   11830   sys_lib_dlsearch_path_spec='/usr/lib'
   11831   ;;
   11832 
   11833 tpf*)
   11834   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11835   version_type=linux # correct to gnu/linux during the next big refactor
   11836   need_lib_prefix=no
   11837   need_version=no
   11838   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11839   shlibpath_var=LD_LIBRARY_PATH
   11840   shlibpath_overrides_runpath=no
   11841   hardcode_into_libs=yes
   11842   ;;
   11843 
   11844 uts4*)
   11845   version_type=linux # correct to gnu/linux during the next big refactor
   11846   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11847   soname_spec='$libname$release$shared_ext$major'
   11848   shlibpath_var=LD_LIBRARY_PATH
   11849   ;;
   11850 
   11851 *)
   11852   dynamic_linker=no
   11853   ;;
   11854 esac
   11855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11856 printf "%s\n" "$dynamic_linker" >&6; }
   11857 test no = "$dynamic_linker" && can_build_shared=no
   11858 
   11859 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11860 if test yes = "$GCC"; then
   11861   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11862 fi
   11863 
   11864 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   11865   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   11866 fi
   11867 
   11868 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   11869   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   11870 fi
   11871 
   11872 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   11873 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   11874 
   11875 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   11876 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   11877 
   11878 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   11879 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   11880 
   11881 
   11882 
   11883 
   11884 
   11885 
   11886 
   11887 
   11888 
   11889 
   11890 
   11891 
   11892 
   11893 
   11894 
   11895 
   11896 
   11897 
   11898 
   11899 
   11900 
   11901 
   11902 
   11903 
   11904 
   11905 
   11906 
   11907 
   11908 
   11909 
   11910 
   11911 
   11912 
   11913 
   11914 
   11915 
   11916 
   11917 
   11918 
   11919 
   11920 
   11921 
   11922 
   11923 
   11924 
   11925 
   11926 
   11927 
   11928 
   11929 
   11930 
   11931 
   11932 
   11933 
   11934 
   11935 
   11936 
   11937 
   11938 
   11939 
   11940 
   11941 
   11942 
   11943 
   11944 
   11945 
   11946 
   11947 
   11948 
   11949 
   11950 
   11951 
   11952 
   11953 
   11954 
   11955 
   11956 
   11957 
   11958 
   11959 
   11960 
   11961 
   11962 
   11963 
   11964 
   11965 
   11966 
   11967 
   11968 
   11969 
   11970 
   11971 
   11972 
   11973 
   11974 
   11975 
   11976 
   11977   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   11978 printf %s "checking how to hardcode library paths into programs... " >&6; }
   11979 hardcode_action=
   11980 if test -n "$hardcode_libdir_flag_spec" ||
   11981    test -n "$runpath_var" ||
   11982    test yes = "$hardcode_automatic"; then
   11983 
   11984   # We can hardcode non-existent directories.
   11985   if test no != "$hardcode_direct" &&
   11986      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   11987      # have to relink, otherwise we might link with an installed library
   11988      # when we should be linking with a yet-to-be-installed one
   11989      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   11990      test no != "$hardcode_minus_L"; then
   11991     # Linking always hardcodes the temporary library directory.
   11992     hardcode_action=relink
   11993   else
   11994     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   11995     hardcode_action=immediate
   11996   fi
   11997 else
   11998   # We cannot hardcode anything, or else we can only hardcode existing
   11999   # directories.
   12000   hardcode_action=unsupported
   12001 fi
   12002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   12003 printf "%s\n" "$hardcode_action" >&6; }
   12004 
   12005 if test relink = "$hardcode_action" ||
   12006    test yes = "$inherit_rpath"; then
   12007   # Fast installation is not supported
   12008   enable_fast_install=no
   12009 elif test yes = "$shlibpath_overrides_runpath" ||
   12010      test no = "$enable_shared"; then
   12011   # Fast installation is not necessary
   12012   enable_fast_install=needless
   12013 fi
   12014 
   12015 
   12016 
   12017 
   12018 
   12019 
   12020   if test yes != "$enable_dlopen"; then
   12021   enable_dlopen=unknown
   12022   enable_dlopen_self=unknown
   12023   enable_dlopen_self_static=unknown
   12024 else
   12025   lt_cv_dlopen=no
   12026   lt_cv_dlopen_libs=
   12027 
   12028   case $host_os in
   12029   beos*)
   12030     lt_cv_dlopen=load_add_on
   12031     lt_cv_dlopen_libs=
   12032     lt_cv_dlopen_self=yes
   12033     ;;
   12034 
   12035   mingw* | pw32* | cegcc*)
   12036     lt_cv_dlopen=LoadLibrary
   12037     lt_cv_dlopen_libs=
   12038     ;;
   12039 
   12040   cygwin*)
   12041     lt_cv_dlopen=dlopen
   12042     lt_cv_dlopen_libs=
   12043     ;;
   12044 
   12045   darwin*)
   12046     # if libdl is installed we need to link against it
   12047     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12048 printf %s "checking for dlopen in -ldl... " >&6; }
   12049 if test ${ac_cv_lib_dl_dlopen+y}
   12050 then :
   12051   printf %s "(cached) " >&6
   12052 else $as_nop
   12053   ac_check_lib_save_LIBS=$LIBS
   12054 LIBS="-ldl  $LIBS"
   12055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12056 /* end confdefs.h.  */
   12057 
   12058 /* Override any GCC internal prototype to avoid an error.
   12059    Use char because int might match the return type of a GCC
   12060    builtin and then its argument prototype would still apply.  */
   12061 char dlopen ();
   12062 int
   12063 main (void)
   12064 {
   12065 return dlopen ();
   12066   ;
   12067   return 0;
   12068 }
   12069 _ACEOF
   12070 if ac_fn_c_try_link "$LINENO"
   12071 then :
   12072   ac_cv_lib_dl_dlopen=yes
   12073 else $as_nop
   12074   ac_cv_lib_dl_dlopen=no
   12075 fi
   12076 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12077     conftest$ac_exeext conftest.$ac_ext
   12078 LIBS=$ac_check_lib_save_LIBS
   12079 fi
   12080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12081 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   12082 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12083 then :
   12084   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12085 else $as_nop
   12086 
   12087     lt_cv_dlopen=dyld
   12088     lt_cv_dlopen_libs=
   12089     lt_cv_dlopen_self=yes
   12090 
   12091 fi
   12092 
   12093     ;;
   12094 
   12095   tpf*)
   12096     # Don't try to run any link tests for TPF.  We know it's impossible
   12097     # because TPF is a cross-compiler, and we know how we open DSOs.
   12098     lt_cv_dlopen=dlopen
   12099     lt_cv_dlopen_libs=
   12100     lt_cv_dlopen_self=no
   12101     ;;
   12102 
   12103   *)
   12104     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   12105 if test "x$ac_cv_func_shl_load" = xyes
   12106 then :
   12107   lt_cv_dlopen=shl_load
   12108 else $as_nop
   12109   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   12110 printf %s "checking for shl_load in -ldld... " >&6; }
   12111 if test ${ac_cv_lib_dld_shl_load+y}
   12112 then :
   12113   printf %s "(cached) " >&6
   12114 else $as_nop
   12115   ac_check_lib_save_LIBS=$LIBS
   12116 LIBS="-ldld  $LIBS"
   12117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12118 /* end confdefs.h.  */
   12119 
   12120 /* Override any GCC internal prototype to avoid an error.
   12121    Use char because int might match the return type of a GCC
   12122    builtin and then its argument prototype would still apply.  */
   12123 char shl_load ();
   12124 int
   12125 main (void)
   12126 {
   12127 return shl_load ();
   12128   ;
   12129   return 0;
   12130 }
   12131 _ACEOF
   12132 if ac_fn_c_try_link "$LINENO"
   12133 then :
   12134   ac_cv_lib_dld_shl_load=yes
   12135 else $as_nop
   12136   ac_cv_lib_dld_shl_load=no
   12137 fi
   12138 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12139     conftest$ac_exeext conftest.$ac_ext
   12140 LIBS=$ac_check_lib_save_LIBS
   12141 fi
   12142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   12143 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   12144 if test "x$ac_cv_lib_dld_shl_load" = xyes
   12145 then :
   12146   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   12147 else $as_nop
   12148   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   12149 if test "x$ac_cv_func_dlopen" = xyes
   12150 then :
   12151   lt_cv_dlopen=dlopen
   12152 else $as_nop
   12153   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12154 printf %s "checking for dlopen in -ldl... " >&6; }
   12155 if test ${ac_cv_lib_dl_dlopen+y}
   12156 then :
   12157   printf %s "(cached) " >&6
   12158 else $as_nop
   12159   ac_check_lib_save_LIBS=$LIBS
   12160 LIBS="-ldl  $LIBS"
   12161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12162 /* end confdefs.h.  */
   12163 
   12164 /* Override any GCC internal prototype to avoid an error.
   12165    Use char because int might match the return type of a GCC
   12166    builtin and then its argument prototype would still apply.  */
   12167 char dlopen ();
   12168 int
   12169 main (void)
   12170 {
   12171 return dlopen ();
   12172   ;
   12173   return 0;
   12174 }
   12175 _ACEOF
   12176 if ac_fn_c_try_link "$LINENO"
   12177 then :
   12178   ac_cv_lib_dl_dlopen=yes
   12179 else $as_nop
   12180   ac_cv_lib_dl_dlopen=no
   12181 fi
   12182 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12183     conftest$ac_exeext conftest.$ac_ext
   12184 LIBS=$ac_check_lib_save_LIBS
   12185 fi
   12186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12187 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   12188 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12189 then :
   12190   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12191 else $as_nop
   12192   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   12193 printf %s "checking for dlopen in -lsvld... " >&6; }
   12194 if test ${ac_cv_lib_svld_dlopen+y}
   12195 then :
   12196   printf %s "(cached) " >&6
   12197 else $as_nop
   12198   ac_check_lib_save_LIBS=$LIBS
   12199 LIBS="-lsvld  $LIBS"
   12200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12201 /* end confdefs.h.  */
   12202 
   12203 /* Override any GCC internal prototype to avoid an error.
   12204    Use char because int might match the return type of a GCC
   12205    builtin and then its argument prototype would still apply.  */
   12206 char dlopen ();
   12207 int
   12208 main (void)
   12209 {
   12210 return dlopen ();
   12211   ;
   12212   return 0;
   12213 }
   12214 _ACEOF
   12215 if ac_fn_c_try_link "$LINENO"
   12216 then :
   12217   ac_cv_lib_svld_dlopen=yes
   12218 else $as_nop
   12219   ac_cv_lib_svld_dlopen=no
   12220 fi
   12221 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12222     conftest$ac_exeext conftest.$ac_ext
   12223 LIBS=$ac_check_lib_save_LIBS
   12224 fi
   12225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   12226 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   12227 if test "x$ac_cv_lib_svld_dlopen" = xyes
   12228 then :
   12229   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   12230 else $as_nop
   12231   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   12232 printf %s "checking for dld_link in -ldld... " >&6; }
   12233 if test ${ac_cv_lib_dld_dld_link+y}
   12234 then :
   12235   printf %s "(cached) " >&6
   12236 else $as_nop
   12237   ac_check_lib_save_LIBS=$LIBS
   12238 LIBS="-ldld  $LIBS"
   12239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12240 /* end confdefs.h.  */
   12241 
   12242 /* Override any GCC internal prototype to avoid an error.
   12243    Use char because int might match the return type of a GCC
   12244    builtin and then its argument prototype would still apply.  */
   12245 char dld_link ();
   12246 int
   12247 main (void)
   12248 {
   12249 return dld_link ();
   12250   ;
   12251   return 0;
   12252 }
   12253 _ACEOF
   12254 if ac_fn_c_try_link "$LINENO"
   12255 then :
   12256   ac_cv_lib_dld_dld_link=yes
   12257 else $as_nop
   12258   ac_cv_lib_dld_dld_link=no
   12259 fi
   12260 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12261     conftest$ac_exeext conftest.$ac_ext
   12262 LIBS=$ac_check_lib_save_LIBS
   12263 fi
   12264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   12265 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   12266 if test "x$ac_cv_lib_dld_dld_link" = xyes
   12267 then :
   12268   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   12269 fi
   12270 
   12271 
   12272 fi
   12273 
   12274 
   12275 fi
   12276 
   12277 
   12278 fi
   12279 
   12280 
   12281 fi
   12282 
   12283 
   12284 fi
   12285 
   12286     ;;
   12287   esac
   12288 
   12289   if test no = "$lt_cv_dlopen"; then
   12290     enable_dlopen=no
   12291   else
   12292     enable_dlopen=yes
   12293   fi
   12294 
   12295   case $lt_cv_dlopen in
   12296   dlopen)
   12297     save_CPPFLAGS=$CPPFLAGS
   12298     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   12299 
   12300     save_LDFLAGS=$LDFLAGS
   12301     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   12302 
   12303     save_LIBS=$LIBS
   12304     LIBS="$lt_cv_dlopen_libs $LIBS"
   12305 
   12306     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   12307 printf %s "checking whether a program can dlopen itself... " >&6; }
   12308 if test ${lt_cv_dlopen_self+y}
   12309 then :
   12310   printf %s "(cached) " >&6
   12311 else $as_nop
   12312   	  if test yes = "$cross_compiling"; then :
   12313   lt_cv_dlopen_self=cross
   12314 else
   12315   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12316   lt_status=$lt_dlunknown
   12317   cat > conftest.$ac_ext <<_LT_EOF
   12318 #line $LINENO "configure"
   12319 #include "confdefs.h"
   12320 
   12321 #if HAVE_DLFCN_H
   12322 #include <dlfcn.h>
   12323 #endif
   12324 
   12325 #include <stdio.h>
   12326 
   12327 #ifdef RTLD_GLOBAL
   12328 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12329 #else
   12330 #  ifdef DL_GLOBAL
   12331 #    define LT_DLGLOBAL		DL_GLOBAL
   12332 #  else
   12333 #    define LT_DLGLOBAL		0
   12334 #  endif
   12335 #endif
   12336 
   12337 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12338    find out it does not work in some platform. */
   12339 #ifndef LT_DLLAZY_OR_NOW
   12340 #  ifdef RTLD_LAZY
   12341 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12342 #  else
   12343 #    ifdef DL_LAZY
   12344 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12345 #    else
   12346 #      ifdef RTLD_NOW
   12347 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12348 #      else
   12349 #        ifdef DL_NOW
   12350 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12351 #        else
   12352 #          define LT_DLLAZY_OR_NOW	0
   12353 #        endif
   12354 #      endif
   12355 #    endif
   12356 #  endif
   12357 #endif
   12358 
   12359 /* When -fvisibility=hidden is used, assume the code has been annotated
   12360    correspondingly for the symbols needed.  */
   12361 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12362 int fnord () __attribute__((visibility("default")));
   12363 #endif
   12364 
   12365 int fnord () { return 42; }
   12366 int main ()
   12367 {
   12368   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12369   int status = $lt_dlunknown;
   12370 
   12371   if (self)
   12372     {
   12373       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12374       else
   12375         {
   12376 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12377           else puts (dlerror ());
   12378 	}
   12379       /* dlclose (self); */
   12380     }
   12381   else
   12382     puts (dlerror ());
   12383 
   12384   return status;
   12385 }
   12386 _LT_EOF
   12387   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12388   (eval $ac_link) 2>&5
   12389   ac_status=$?
   12390   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12391   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12392     (./conftest; exit; ) >&5 2>/dev/null
   12393     lt_status=$?
   12394     case x$lt_status in
   12395       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   12396       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   12397       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   12398     esac
   12399   else :
   12400     # compilation failed
   12401     lt_cv_dlopen_self=no
   12402   fi
   12403 fi
   12404 rm -fr conftest*
   12405 
   12406 
   12407 fi
   12408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   12409 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   12410 
   12411     if test yes = "$lt_cv_dlopen_self"; then
   12412       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   12413       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   12414 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   12415 if test ${lt_cv_dlopen_self_static+y}
   12416 then :
   12417   printf %s "(cached) " >&6
   12418 else $as_nop
   12419   	  if test yes = "$cross_compiling"; then :
   12420   lt_cv_dlopen_self_static=cross
   12421 else
   12422   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12423   lt_status=$lt_dlunknown
   12424   cat > conftest.$ac_ext <<_LT_EOF
   12425 #line $LINENO "configure"
   12426 #include "confdefs.h"
   12427 
   12428 #if HAVE_DLFCN_H
   12429 #include <dlfcn.h>
   12430 #endif
   12431 
   12432 #include <stdio.h>
   12433 
   12434 #ifdef RTLD_GLOBAL
   12435 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12436 #else
   12437 #  ifdef DL_GLOBAL
   12438 #    define LT_DLGLOBAL		DL_GLOBAL
   12439 #  else
   12440 #    define LT_DLGLOBAL		0
   12441 #  endif
   12442 #endif
   12443 
   12444 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12445    find out it does not work in some platform. */
   12446 #ifndef LT_DLLAZY_OR_NOW
   12447 #  ifdef RTLD_LAZY
   12448 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12449 #  else
   12450 #    ifdef DL_LAZY
   12451 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12452 #    else
   12453 #      ifdef RTLD_NOW
   12454 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12455 #      else
   12456 #        ifdef DL_NOW
   12457 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12458 #        else
   12459 #          define LT_DLLAZY_OR_NOW	0
   12460 #        endif
   12461 #      endif
   12462 #    endif
   12463 #  endif
   12464 #endif
   12465 
   12466 /* When -fvisibility=hidden is used, assume the code has been annotated
   12467    correspondingly for the symbols needed.  */
   12468 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12469 int fnord () __attribute__((visibility("default")));
   12470 #endif
   12471 
   12472 int fnord () { return 42; }
   12473 int main ()
   12474 {
   12475   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12476   int status = $lt_dlunknown;
   12477 
   12478   if (self)
   12479     {
   12480       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12481       else
   12482         {
   12483 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12484           else puts (dlerror ());
   12485 	}
   12486       /* dlclose (self); */
   12487     }
   12488   else
   12489     puts (dlerror ());
   12490 
   12491   return status;
   12492 }
   12493 _LT_EOF
   12494   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12495   (eval $ac_link) 2>&5
   12496   ac_status=$?
   12497   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12498   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12499     (./conftest; exit; ) >&5 2>/dev/null
   12500     lt_status=$?
   12501     case x$lt_status in
   12502       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   12503       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   12504       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   12505     esac
   12506   else :
   12507     # compilation failed
   12508     lt_cv_dlopen_self_static=no
   12509   fi
   12510 fi
   12511 rm -fr conftest*
   12512 
   12513 
   12514 fi
   12515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   12516 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   12517     fi
   12518 
   12519     CPPFLAGS=$save_CPPFLAGS
   12520     LDFLAGS=$save_LDFLAGS
   12521     LIBS=$save_LIBS
   12522     ;;
   12523   esac
   12524 
   12525   case $lt_cv_dlopen_self in
   12526   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   12527   *) enable_dlopen_self=unknown ;;
   12528   esac
   12529 
   12530   case $lt_cv_dlopen_self_static in
   12531   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   12532   *) enable_dlopen_self_static=unknown ;;
   12533   esac
   12534 fi
   12535 
   12536 
   12537 
   12538 
   12539 
   12540 
   12541 
   12542 
   12543 
   12544 
   12545 
   12546 
   12547 
   12548 
   12549 
   12550 
   12551 
   12552 striplib=
   12553 old_striplib=
   12554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   12555 printf %s "checking whether stripping libraries is possible... " >&6; }
   12556 if test -z "$STRIP"; then
   12557   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12558 printf "%s\n" "no" >&6; }
   12559 else
   12560   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   12561     old_striplib="$STRIP --strip-debug"
   12562     striplib="$STRIP --strip-unneeded"
   12563     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12564 printf "%s\n" "yes" >&6; }
   12565   else
   12566     case $host_os in
   12567     darwin*)
   12568       # FIXME - insert some real tests, host_os isn't really good enough
   12569       striplib="$STRIP -x"
   12570       old_striplib="$STRIP -S"
   12571       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12572 printf "%s\n" "yes" >&6; }
   12573       ;;
   12574     freebsd*)
   12575       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   12576         old_striplib="$STRIP --strip-debug"
   12577         striplib="$STRIP --strip-unneeded"
   12578         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12579 printf "%s\n" "yes" >&6; }
   12580       else
   12581         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12582 printf "%s\n" "no" >&6; }
   12583       fi
   12584       ;;
   12585     *)
   12586       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12587 printf "%s\n" "no" >&6; }
   12588       ;;
   12589     esac
   12590   fi
   12591 fi
   12592 
   12593 
   12594 
   12595 
   12596 
   12597 
   12598 
   12599 
   12600 
   12601 
   12602 
   12603 
   12604   # Report what library types will actually be built
   12605   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   12606 printf %s "checking if libtool supports shared libraries... " >&6; }
   12607   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   12608 printf "%s\n" "$can_build_shared" >&6; }
   12609 
   12610   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   12611 printf %s "checking whether to build shared libraries... " >&6; }
   12612   test no = "$can_build_shared" && enable_shared=no
   12613 
   12614   # On AIX, shared libraries and static libraries use the same namespace, and
   12615   # are all built from PIC.
   12616   case $host_os in
   12617   aix3*)
   12618     test yes = "$enable_shared" && enable_static=no
   12619     if test -n "$RANLIB"; then
   12620       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   12621       postinstall_cmds='$RANLIB $lib'
   12622     fi
   12623     ;;
   12624 
   12625   aix[4-9]*)
   12626     if test ia64 != "$host_cpu"; then
   12627       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   12628       yes,aix,yes) ;;			# shared object as lib.so file only
   12629       yes,svr4,*) ;;			# shared object as lib.so archive member only
   12630       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   12631       esac
   12632     fi
   12633     ;;
   12634   esac
   12635   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   12636 printf "%s\n" "$enable_shared" >&6; }
   12637 
   12638   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   12639 printf %s "checking whether to build static libraries... " >&6; }
   12640   # Make sure either enable_shared or enable_static is yes.
   12641   test yes = "$enable_shared" || enable_static=yes
   12642   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   12643 printf "%s\n" "$enable_static" >&6; }
   12644 
   12645 
   12646 
   12647 
   12648 fi
   12649 ac_ext=c
   12650 ac_cpp='$CPP $CPPFLAGS'
   12651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12654 
   12655 CC=$lt_save_CC
   12656 
   12657 
   12658 
   12659 
   12660 
   12661 
   12662 
   12663 
   12664 
   12665 
   12666 
   12667 
   12668 
   12669 
   12670 
   12671         ac_config_commands="$ac_config_commands libtool"
   12672 
   12673 
   12674 
   12675 
   12676 # Only expand once:
   12677 
   12678 
   12679 
   12680 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   12681 
   12682 
   12683 
   12684 
   12685 
   12686 
   12687 
   12688 
   12689 
   12690 
   12691 
   12692 
   12693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   12694 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   12695 if test ${ac_cv_c_undeclared_builtin_options+y}
   12696 then :
   12697   printf %s "(cached) " >&6
   12698 else $as_nop
   12699   ac_save_CFLAGS=$CFLAGS
   12700    ac_cv_c_undeclared_builtin_options='cannot detect'
   12701    for ac_arg in '' -fno-builtin; do
   12702      CFLAGS="$ac_save_CFLAGS $ac_arg"
   12703      # This test program should *not* compile successfully.
   12704      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12705 /* end confdefs.h.  */
   12706 
   12707 int
   12708 main (void)
   12709 {
   12710 (void) strchr;
   12711   ;
   12712   return 0;
   12713 }
   12714 _ACEOF
   12715 if ac_fn_c_try_compile "$LINENO"
   12716 then :
   12717 
   12718 else $as_nop
   12719   # This test program should compile successfully.
   12720         # No library function is consistently available on
   12721         # freestanding implementations, so test against a dummy
   12722         # declaration.  Include always-available headers on the
   12723         # off chance that they somehow elicit warnings.
   12724         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12725 /* end confdefs.h.  */
   12726 #include <float.h>
   12727 #include <limits.h>
   12728 #include <stdarg.h>
   12729 #include <stddef.h>
   12730 extern void ac_decl (int, char *);
   12731 
   12732 int
   12733 main (void)
   12734 {
   12735 (void) ac_decl (0, (char *) 0);
   12736   (void) ac_decl;
   12737 
   12738   ;
   12739   return 0;
   12740 }
   12741 _ACEOF
   12742 if ac_fn_c_try_compile "$LINENO"
   12743 then :
   12744   if test x"$ac_arg" = x
   12745 then :
   12746   ac_cv_c_undeclared_builtin_options='none needed'
   12747 else $as_nop
   12748   ac_cv_c_undeclared_builtin_options=$ac_arg
   12749 fi
   12750           break
   12751 fi
   12752 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12753 fi
   12754 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12755     done
   12756     CFLAGS=$ac_save_CFLAGS
   12757 
   12758 fi
   12759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   12760 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   12761   case $ac_cv_c_undeclared_builtin_options in #(
   12762   'cannot detect') :
   12763     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12764 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   12765 as_fn_error $? "cannot make $CC report undeclared builtins
   12766 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   12767   'none needed') :
   12768     ac_c_undeclared_builtin_options='' ;; #(
   12769   *) :
   12770     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   12771 esac
   12772 
   12773 
   12774 
   12775 
   12776 
   12777 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12778 if test "x$ac_cv_have_decl___clang__" = xyes
   12779 then :
   12780   CLANGCC="yes"
   12781 else $as_nop
   12782   CLANGCC="no"
   12783 fi
   12784 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12785 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   12786 then :
   12787   INTELCC="yes"
   12788 else $as_nop
   12789   INTELCC="no"
   12790 fi
   12791 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   12792 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   12793 then :
   12794   SUNCC="yes"
   12795 else $as_nop
   12796   SUNCC="no"
   12797 fi
   12798 
   12799 
   12800 
   12801 
   12802 
   12803 
   12804 
   12805 
   12806 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   12807 	if test -n "$ac_tool_prefix"; then
   12808   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   12809 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   12810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12811 printf %s "checking for $ac_word... " >&6; }
   12812 if test ${ac_cv_path_PKG_CONFIG+y}
   12813 then :
   12814   printf %s "(cached) " >&6
   12815 else $as_nop
   12816   case $PKG_CONFIG in
   12817   [\\/]* | ?:[\\/]*)
   12818   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   12819   ;;
   12820   *)
   12821   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12822 for as_dir in $PATH
   12823 do
   12824   IFS=$as_save_IFS
   12825   case $as_dir in #(((
   12826     '') as_dir=./ ;;
   12827     */) ;;
   12828     *) as_dir=$as_dir/ ;;
   12829   esac
   12830     for ac_exec_ext in '' $ac_executable_extensions; do
   12831   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12832     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   12833     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12834     break 2
   12835   fi
   12836 done
   12837   done
   12838 IFS=$as_save_IFS
   12839 
   12840   ;;
   12841 esac
   12842 fi
   12843 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   12844 if test -n "$PKG_CONFIG"; then
   12845   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   12846 printf "%s\n" "$PKG_CONFIG" >&6; }
   12847 else
   12848   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12849 printf "%s\n" "no" >&6; }
   12850 fi
   12851 
   12852 
   12853 fi
   12854 if test -z "$ac_cv_path_PKG_CONFIG"; then
   12855   ac_pt_PKG_CONFIG=$PKG_CONFIG
   12856   # Extract the first word of "pkg-config", so it can be a program name with args.
   12857 set dummy pkg-config; ac_word=$2
   12858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12859 printf %s "checking for $ac_word... " >&6; }
   12860 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   12861 then :
   12862   printf %s "(cached) " >&6
   12863 else $as_nop
   12864   case $ac_pt_PKG_CONFIG in
   12865   [\\/]* | ?:[\\/]*)
   12866   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   12867   ;;
   12868   *)
   12869   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12870 for as_dir in $PATH
   12871 do
   12872   IFS=$as_save_IFS
   12873   case $as_dir in #(((
   12874     '') as_dir=./ ;;
   12875     */) ;;
   12876     *) as_dir=$as_dir/ ;;
   12877   esac
   12878     for ac_exec_ext in '' $ac_executable_extensions; do
   12879   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   12880     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   12881     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   12882     break 2
   12883   fi
   12884 done
   12885   done
   12886 IFS=$as_save_IFS
   12887 
   12888   ;;
   12889 esac
   12890 fi
   12891 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   12892 if test -n "$ac_pt_PKG_CONFIG"; then
   12893   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   12894 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   12895 else
   12896   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12897 printf "%s\n" "no" >&6; }
   12898 fi
   12899 
   12900   if test "x$ac_pt_PKG_CONFIG" = x; then
   12901     PKG_CONFIG=""
   12902   else
   12903     case $cross_compiling:$ac_tool_warned in
   12904 yes:)
   12905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12906 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12907 ac_tool_warned=yes ;;
   12908 esac
   12909     PKG_CONFIG=$ac_pt_PKG_CONFIG
   12910   fi
   12911 else
   12912   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   12913 fi
   12914 
   12915 fi
   12916 if test -n "$PKG_CONFIG"; then
   12917 	_pkg_min_version=0.9.0
   12918 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   12919 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   12920 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   12921 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12922 printf "%s\n" "yes" >&6; }
   12923 	else
   12924 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12925 printf "%s\n" "no" >&6; }
   12926 		PKG_CONFIG=""
   12927 	fi
   12928 fi
   12929 
   12930 
   12931 
   12932 
   12933 
   12934 # Check whether --enable-selective-werror was given.
   12935 if test ${enable_selective_werror+y}
   12936 then :
   12937   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   12938 else $as_nop
   12939   SELECTIVE_WERROR=yes
   12940 fi
   12941 
   12942 
   12943 
   12944 
   12945 
   12946 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   12947 if test "x$SUNCC" = "xyes"; then
   12948     BASE_CFLAGS="-v"
   12949 else
   12950     BASE_CFLAGS=""
   12951 fi
   12952 
   12953 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   12954 
   12955 
   12956 
   12957 
   12958 
   12959 
   12960 
   12961 
   12962 
   12963 
   12964 
   12965 
   12966 
   12967 xorg_testset_save_CFLAGS="$CFLAGS"
   12968 
   12969 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12970 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12971 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12972 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12973 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   12974 then :
   12975   printf %s "(cached) " >&6
   12976 else $as_nop
   12977   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12978 /* end confdefs.h.  */
   12979 int i;
   12980 _ACEOF
   12981 if ac_fn_c_try_compile "$LINENO"
   12982 then :
   12983   xorg_cv_cc_flag_unknown_warning_option=yes
   12984 else $as_nop
   12985   xorg_cv_cc_flag_unknown_warning_option=no
   12986 fi
   12987 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12988 fi
   12989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12990 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12991 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12992 	CFLAGS="$xorg_testset_save_CFLAGS"
   12993 fi
   12994 
   12995 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12996 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12997 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12998 	fi
   12999 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13000 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13001 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13002 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13003 then :
   13004   printf %s "(cached) " >&6
   13005 else $as_nop
   13006   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13007 /* end confdefs.h.  */
   13008 int i;
   13009 _ACEOF
   13010 if ac_fn_c_try_compile "$LINENO"
   13011 then :
   13012   xorg_cv_cc_flag_unused_command_line_argument=yes
   13013 else $as_nop
   13014   xorg_cv_cc_flag_unused_command_line_argument=no
   13015 fi
   13016 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13017 fi
   13018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13019 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13020 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13021 	CFLAGS="$xorg_testset_save_CFLAGS"
   13022 fi
   13023 
   13024 found="no"
   13025 
   13026 	if test $found = "no" ; then
   13027 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13028 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13029 		fi
   13030 
   13031 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13032 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13033 		fi
   13034 
   13035 		CFLAGS="$CFLAGS -Wall"
   13036 
   13037 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   13038 printf %s "checking if $CC supports -Wall... " >&6; }
   13039 		cacheid=xorg_cv_cc_flag__Wall
   13040 		if eval test \${$cacheid+y}
   13041 then :
   13042   printf %s "(cached) " >&6
   13043 else $as_nop
   13044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13045 /* end confdefs.h.  */
   13046 int i;
   13047 int
   13048 main (void)
   13049 {
   13050 
   13051   ;
   13052   return 0;
   13053 }
   13054 _ACEOF
   13055 if ac_fn_c_try_link "$LINENO"
   13056 then :
   13057   eval $cacheid=yes
   13058 else $as_nop
   13059   eval $cacheid=no
   13060 fi
   13061 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13062     conftest$ac_exeext conftest.$ac_ext
   13063 fi
   13064 
   13065 
   13066 		CFLAGS="$xorg_testset_save_CFLAGS"
   13067 
   13068 		eval supported=\$$cacheid
   13069 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13070 printf "%s\n" "$supported" >&6; }
   13071 		if test "$supported" = "yes" ; then
   13072 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   13073 			found="yes"
   13074 		fi
   13075 	fi
   13076 
   13077 
   13078 
   13079 
   13080 
   13081 
   13082 
   13083 
   13084 
   13085 
   13086 
   13087 
   13088 
   13089 
   13090 
   13091 xorg_testset_save_CFLAGS="$CFLAGS"
   13092 
   13093 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13094 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13095 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13096 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13097 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13098 then :
   13099   printf %s "(cached) " >&6
   13100 else $as_nop
   13101   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13102 /* end confdefs.h.  */
   13103 int i;
   13104 _ACEOF
   13105 if ac_fn_c_try_compile "$LINENO"
   13106 then :
   13107   xorg_cv_cc_flag_unknown_warning_option=yes
   13108 else $as_nop
   13109   xorg_cv_cc_flag_unknown_warning_option=no
   13110 fi
   13111 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13112 fi
   13113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13114 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13115 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13116 	CFLAGS="$xorg_testset_save_CFLAGS"
   13117 fi
   13118 
   13119 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13120 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13121 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13122 	fi
   13123 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13124 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13125 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13126 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13127 then :
   13128   printf %s "(cached) " >&6
   13129 else $as_nop
   13130   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13131 /* end confdefs.h.  */
   13132 int i;
   13133 _ACEOF
   13134 if ac_fn_c_try_compile "$LINENO"
   13135 then :
   13136   xorg_cv_cc_flag_unused_command_line_argument=yes
   13137 else $as_nop
   13138   xorg_cv_cc_flag_unused_command_line_argument=no
   13139 fi
   13140 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13141 fi
   13142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13143 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13144 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13145 	CFLAGS="$xorg_testset_save_CFLAGS"
   13146 fi
   13147 
   13148 found="no"
   13149 
   13150 	if test $found = "no" ; then
   13151 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13152 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13153 		fi
   13154 
   13155 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13156 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13157 		fi
   13158 
   13159 		CFLAGS="$CFLAGS -Wpointer-arith"
   13160 
   13161 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   13162 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   13163 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   13164 		if eval test \${$cacheid+y}
   13165 then :
   13166   printf %s "(cached) " >&6
   13167 else $as_nop
   13168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13169 /* end confdefs.h.  */
   13170 int i;
   13171 int
   13172 main (void)
   13173 {
   13174 
   13175   ;
   13176   return 0;
   13177 }
   13178 _ACEOF
   13179 if ac_fn_c_try_link "$LINENO"
   13180 then :
   13181   eval $cacheid=yes
   13182 else $as_nop
   13183   eval $cacheid=no
   13184 fi
   13185 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13186     conftest$ac_exeext conftest.$ac_ext
   13187 fi
   13188 
   13189 
   13190 		CFLAGS="$xorg_testset_save_CFLAGS"
   13191 
   13192 		eval supported=\$$cacheid
   13193 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13194 printf "%s\n" "$supported" >&6; }
   13195 		if test "$supported" = "yes" ; then
   13196 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   13197 			found="yes"
   13198 		fi
   13199 	fi
   13200 
   13201 
   13202 
   13203 
   13204 
   13205 
   13206 
   13207 
   13208 
   13209 
   13210 
   13211 
   13212 
   13213 
   13214 
   13215 xorg_testset_save_CFLAGS="$CFLAGS"
   13216 
   13217 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13218 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13219 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13220 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13221 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13222 then :
   13223   printf %s "(cached) " >&6
   13224 else $as_nop
   13225   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13226 /* end confdefs.h.  */
   13227 int i;
   13228 _ACEOF
   13229 if ac_fn_c_try_compile "$LINENO"
   13230 then :
   13231   xorg_cv_cc_flag_unknown_warning_option=yes
   13232 else $as_nop
   13233   xorg_cv_cc_flag_unknown_warning_option=no
   13234 fi
   13235 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13236 fi
   13237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13238 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13239 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13240 	CFLAGS="$xorg_testset_save_CFLAGS"
   13241 fi
   13242 
   13243 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13244 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13245 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13246 	fi
   13247 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13248 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13249 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13250 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13251 then :
   13252   printf %s "(cached) " >&6
   13253 else $as_nop
   13254   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13255 /* end confdefs.h.  */
   13256 int i;
   13257 _ACEOF
   13258 if ac_fn_c_try_compile "$LINENO"
   13259 then :
   13260   xorg_cv_cc_flag_unused_command_line_argument=yes
   13261 else $as_nop
   13262   xorg_cv_cc_flag_unused_command_line_argument=no
   13263 fi
   13264 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13265 fi
   13266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13267 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13268 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13269 	CFLAGS="$xorg_testset_save_CFLAGS"
   13270 fi
   13271 
   13272 found="no"
   13273 
   13274 	if test $found = "no" ; then
   13275 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13276 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13277 		fi
   13278 
   13279 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13280 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13281 		fi
   13282 
   13283 		CFLAGS="$CFLAGS -Wmissing-declarations"
   13284 
   13285 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   13286 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   13287 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   13288 		if eval test \${$cacheid+y}
   13289 then :
   13290   printf %s "(cached) " >&6
   13291 else $as_nop
   13292   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13293 /* end confdefs.h.  */
   13294 int i;
   13295 int
   13296 main (void)
   13297 {
   13298 
   13299   ;
   13300   return 0;
   13301 }
   13302 _ACEOF
   13303 if ac_fn_c_try_link "$LINENO"
   13304 then :
   13305   eval $cacheid=yes
   13306 else $as_nop
   13307   eval $cacheid=no
   13308 fi
   13309 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13310     conftest$ac_exeext conftest.$ac_ext
   13311 fi
   13312 
   13313 
   13314 		CFLAGS="$xorg_testset_save_CFLAGS"
   13315 
   13316 		eval supported=\$$cacheid
   13317 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13318 printf "%s\n" "$supported" >&6; }
   13319 		if test "$supported" = "yes" ; then
   13320 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   13321 			found="yes"
   13322 		fi
   13323 	fi
   13324 
   13325 
   13326 
   13327 
   13328 
   13329 
   13330 
   13331 
   13332 
   13333 
   13334 
   13335 
   13336 
   13337 
   13338 
   13339 xorg_testset_save_CFLAGS="$CFLAGS"
   13340 
   13341 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13342 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13343 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13344 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13345 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13346 then :
   13347   printf %s "(cached) " >&6
   13348 else $as_nop
   13349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13350 /* end confdefs.h.  */
   13351 int i;
   13352 _ACEOF
   13353 if ac_fn_c_try_compile "$LINENO"
   13354 then :
   13355   xorg_cv_cc_flag_unknown_warning_option=yes
   13356 else $as_nop
   13357   xorg_cv_cc_flag_unknown_warning_option=no
   13358 fi
   13359 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13360 fi
   13361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13362 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13363 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13364 	CFLAGS="$xorg_testset_save_CFLAGS"
   13365 fi
   13366 
   13367 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13368 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13369 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13370 	fi
   13371 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13372 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13373 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13374 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13375 then :
   13376   printf %s "(cached) " >&6
   13377 else $as_nop
   13378   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13379 /* end confdefs.h.  */
   13380 int i;
   13381 _ACEOF
   13382 if ac_fn_c_try_compile "$LINENO"
   13383 then :
   13384   xorg_cv_cc_flag_unused_command_line_argument=yes
   13385 else $as_nop
   13386   xorg_cv_cc_flag_unused_command_line_argument=no
   13387 fi
   13388 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13389 fi
   13390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13391 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13392 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13393 	CFLAGS="$xorg_testset_save_CFLAGS"
   13394 fi
   13395 
   13396 found="no"
   13397 
   13398 	if test $found = "no" ; then
   13399 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13400 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13401 		fi
   13402 
   13403 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13404 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13405 		fi
   13406 
   13407 		CFLAGS="$CFLAGS -Wformat=2"
   13408 
   13409 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   13410 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   13411 		cacheid=xorg_cv_cc_flag__Wformat_2
   13412 		if eval test \${$cacheid+y}
   13413 then :
   13414   printf %s "(cached) " >&6
   13415 else $as_nop
   13416   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13417 /* end confdefs.h.  */
   13418 int i;
   13419 int
   13420 main (void)
   13421 {
   13422 
   13423   ;
   13424   return 0;
   13425 }
   13426 _ACEOF
   13427 if ac_fn_c_try_link "$LINENO"
   13428 then :
   13429   eval $cacheid=yes
   13430 else $as_nop
   13431   eval $cacheid=no
   13432 fi
   13433 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13434     conftest$ac_exeext conftest.$ac_ext
   13435 fi
   13436 
   13437 
   13438 		CFLAGS="$xorg_testset_save_CFLAGS"
   13439 
   13440 		eval supported=\$$cacheid
   13441 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13442 printf "%s\n" "$supported" >&6; }
   13443 		if test "$supported" = "yes" ; then
   13444 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   13445 			found="yes"
   13446 		fi
   13447 	fi
   13448 
   13449 	if test $found = "no" ; then
   13450 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13451 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13452 		fi
   13453 
   13454 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13455 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13456 		fi
   13457 
   13458 		CFLAGS="$CFLAGS -Wformat"
   13459 
   13460 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   13461 printf %s "checking if $CC supports -Wformat... " >&6; }
   13462 		cacheid=xorg_cv_cc_flag__Wformat
   13463 		if eval test \${$cacheid+y}
   13464 then :
   13465   printf %s "(cached) " >&6
   13466 else $as_nop
   13467   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13468 /* end confdefs.h.  */
   13469 int i;
   13470 int
   13471 main (void)
   13472 {
   13473 
   13474   ;
   13475   return 0;
   13476 }
   13477 _ACEOF
   13478 if ac_fn_c_try_link "$LINENO"
   13479 then :
   13480   eval $cacheid=yes
   13481 else $as_nop
   13482   eval $cacheid=no
   13483 fi
   13484 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13485     conftest$ac_exeext conftest.$ac_ext
   13486 fi
   13487 
   13488 
   13489 		CFLAGS="$xorg_testset_save_CFLAGS"
   13490 
   13491 		eval supported=\$$cacheid
   13492 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13493 printf "%s\n" "$supported" >&6; }
   13494 		if test "$supported" = "yes" ; then
   13495 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   13496 			found="yes"
   13497 		fi
   13498 	fi
   13499 
   13500 
   13501 
   13502 
   13503 
   13504 
   13505 
   13506 
   13507 
   13508 
   13509 
   13510 
   13511 
   13512 
   13513 
   13514 
   13515 
   13516 xorg_testset_save_CFLAGS="$CFLAGS"
   13517 
   13518 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13519 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13520 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13521 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13522 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13523 then :
   13524   printf %s "(cached) " >&6
   13525 else $as_nop
   13526   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13527 /* end confdefs.h.  */
   13528 int i;
   13529 _ACEOF
   13530 if ac_fn_c_try_compile "$LINENO"
   13531 then :
   13532   xorg_cv_cc_flag_unknown_warning_option=yes
   13533 else $as_nop
   13534   xorg_cv_cc_flag_unknown_warning_option=no
   13535 fi
   13536 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13537 fi
   13538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13539 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13540 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13541 	CFLAGS="$xorg_testset_save_CFLAGS"
   13542 fi
   13543 
   13544 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13545 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13546 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13547 	fi
   13548 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13549 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13550 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13551 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13552 then :
   13553   printf %s "(cached) " >&6
   13554 else $as_nop
   13555   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13556 /* end confdefs.h.  */
   13557 int i;
   13558 _ACEOF
   13559 if ac_fn_c_try_compile "$LINENO"
   13560 then :
   13561   xorg_cv_cc_flag_unused_command_line_argument=yes
   13562 else $as_nop
   13563   xorg_cv_cc_flag_unused_command_line_argument=no
   13564 fi
   13565 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13566 fi
   13567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13568 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13569 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13570 	CFLAGS="$xorg_testset_save_CFLAGS"
   13571 fi
   13572 
   13573 found="no"
   13574 
   13575 	if test $found = "no" ; then
   13576 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13577 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13578 		fi
   13579 
   13580 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13581 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13582 		fi
   13583 
   13584 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   13585 
   13586 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   13587 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   13588 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   13589 		if eval test \${$cacheid+y}
   13590 then :
   13591   printf %s "(cached) " >&6
   13592 else $as_nop
   13593   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13594 /* end confdefs.h.  */
   13595 int i;
   13596 int
   13597 main (void)
   13598 {
   13599 
   13600   ;
   13601   return 0;
   13602 }
   13603 _ACEOF
   13604 if ac_fn_c_try_link "$LINENO"
   13605 then :
   13606   eval $cacheid=yes
   13607 else $as_nop
   13608   eval $cacheid=no
   13609 fi
   13610 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13611     conftest$ac_exeext conftest.$ac_ext
   13612 fi
   13613 
   13614 
   13615 		CFLAGS="$xorg_testset_save_CFLAGS"
   13616 
   13617 		eval supported=\$$cacheid
   13618 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13619 printf "%s\n" "$supported" >&6; }
   13620 		if test "$supported" = "yes" ; then
   13621 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   13622 			found="yes"
   13623 		fi
   13624 	fi
   13625 
   13626 
   13627 
   13628 
   13629 
   13630 
   13631 
   13632 
   13633 
   13634 
   13635 
   13636 
   13637 
   13638 
   13639 
   13640 xorg_testset_save_CFLAGS="$CFLAGS"
   13641 
   13642 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13643 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13644 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13645 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13646 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13647 then :
   13648   printf %s "(cached) " >&6
   13649 else $as_nop
   13650   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13651 /* end confdefs.h.  */
   13652 int i;
   13653 _ACEOF
   13654 if ac_fn_c_try_compile "$LINENO"
   13655 then :
   13656   xorg_cv_cc_flag_unknown_warning_option=yes
   13657 else $as_nop
   13658   xorg_cv_cc_flag_unknown_warning_option=no
   13659 fi
   13660 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13661 fi
   13662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13663 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13664 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13665 	CFLAGS="$xorg_testset_save_CFLAGS"
   13666 fi
   13667 
   13668 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13669 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13670 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13671 	fi
   13672 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13673 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13674 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13675 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13676 then :
   13677   printf %s "(cached) " >&6
   13678 else $as_nop
   13679   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13680 /* end confdefs.h.  */
   13681 int i;
   13682 _ACEOF
   13683 if ac_fn_c_try_compile "$LINENO"
   13684 then :
   13685   xorg_cv_cc_flag_unused_command_line_argument=yes
   13686 else $as_nop
   13687   xorg_cv_cc_flag_unused_command_line_argument=no
   13688 fi
   13689 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13690 fi
   13691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13692 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13693 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13694 	CFLAGS="$xorg_testset_save_CFLAGS"
   13695 fi
   13696 
   13697 found="no"
   13698 
   13699 	if test $found = "no" ; then
   13700 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13701 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13702 		fi
   13703 
   13704 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13705 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13706 		fi
   13707 
   13708 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   13709 
   13710 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   13711 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   13712 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   13713 		if eval test \${$cacheid+y}
   13714 then :
   13715   printf %s "(cached) " >&6
   13716 else $as_nop
   13717   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13718 /* end confdefs.h.  */
   13719 int i;
   13720 int
   13721 main (void)
   13722 {
   13723 
   13724   ;
   13725   return 0;
   13726 }
   13727 _ACEOF
   13728 if ac_fn_c_try_link "$LINENO"
   13729 then :
   13730   eval $cacheid=yes
   13731 else $as_nop
   13732   eval $cacheid=no
   13733 fi
   13734 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13735     conftest$ac_exeext conftest.$ac_ext
   13736 fi
   13737 
   13738 
   13739 		CFLAGS="$xorg_testset_save_CFLAGS"
   13740 
   13741 		eval supported=\$$cacheid
   13742 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13743 printf "%s\n" "$supported" >&6; }
   13744 		if test "$supported" = "yes" ; then
   13745 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   13746 			found="yes"
   13747 		fi
   13748 	fi
   13749 
   13750 
   13751 
   13752 
   13753 
   13754 
   13755 
   13756 
   13757 
   13758 
   13759 
   13760 
   13761 
   13762 
   13763 
   13764 xorg_testset_save_CFLAGS="$CFLAGS"
   13765 
   13766 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13767 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13768 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13769 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13770 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13771 then :
   13772   printf %s "(cached) " >&6
   13773 else $as_nop
   13774   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13775 /* end confdefs.h.  */
   13776 int i;
   13777 _ACEOF
   13778 if ac_fn_c_try_compile "$LINENO"
   13779 then :
   13780   xorg_cv_cc_flag_unknown_warning_option=yes
   13781 else $as_nop
   13782   xorg_cv_cc_flag_unknown_warning_option=no
   13783 fi
   13784 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13785 fi
   13786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13787 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13788 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13789 	CFLAGS="$xorg_testset_save_CFLAGS"
   13790 fi
   13791 
   13792 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13793 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13794 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13795 	fi
   13796 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13797 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13798 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13799 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13800 then :
   13801   printf %s "(cached) " >&6
   13802 else $as_nop
   13803   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13804 /* end confdefs.h.  */
   13805 int i;
   13806 _ACEOF
   13807 if ac_fn_c_try_compile "$LINENO"
   13808 then :
   13809   xorg_cv_cc_flag_unused_command_line_argument=yes
   13810 else $as_nop
   13811   xorg_cv_cc_flag_unused_command_line_argument=no
   13812 fi
   13813 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13814 fi
   13815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13816 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13817 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13818 	CFLAGS="$xorg_testset_save_CFLAGS"
   13819 fi
   13820 
   13821 found="no"
   13822 
   13823 	if test $found = "no" ; then
   13824 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13825 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13826 		fi
   13827 
   13828 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13829 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13830 		fi
   13831 
   13832 		CFLAGS="$CFLAGS -Wnested-externs"
   13833 
   13834 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   13835 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   13836 		cacheid=xorg_cv_cc_flag__Wnested_externs
   13837 		if eval test \${$cacheid+y}
   13838 then :
   13839   printf %s "(cached) " >&6
   13840 else $as_nop
   13841   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13842 /* end confdefs.h.  */
   13843 int i;
   13844 int
   13845 main (void)
   13846 {
   13847 
   13848   ;
   13849   return 0;
   13850 }
   13851 _ACEOF
   13852 if ac_fn_c_try_link "$LINENO"
   13853 then :
   13854   eval $cacheid=yes
   13855 else $as_nop
   13856   eval $cacheid=no
   13857 fi
   13858 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13859     conftest$ac_exeext conftest.$ac_ext
   13860 fi
   13861 
   13862 
   13863 		CFLAGS="$xorg_testset_save_CFLAGS"
   13864 
   13865 		eval supported=\$$cacheid
   13866 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13867 printf "%s\n" "$supported" >&6; }
   13868 		if test "$supported" = "yes" ; then
   13869 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   13870 			found="yes"
   13871 		fi
   13872 	fi
   13873 
   13874 
   13875 
   13876 
   13877 
   13878 
   13879 
   13880 
   13881 
   13882 
   13883 
   13884 
   13885 
   13886 
   13887 
   13888 xorg_testset_save_CFLAGS="$CFLAGS"
   13889 
   13890 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13891 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13892 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13893 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13894 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13895 then :
   13896   printf %s "(cached) " >&6
   13897 else $as_nop
   13898   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13899 /* end confdefs.h.  */
   13900 int i;
   13901 _ACEOF
   13902 if ac_fn_c_try_compile "$LINENO"
   13903 then :
   13904   xorg_cv_cc_flag_unknown_warning_option=yes
   13905 else $as_nop
   13906   xorg_cv_cc_flag_unknown_warning_option=no
   13907 fi
   13908 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13909 fi
   13910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13911 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13912 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13913 	CFLAGS="$xorg_testset_save_CFLAGS"
   13914 fi
   13915 
   13916 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13917 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13918 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13919 	fi
   13920 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13921 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13922 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13923 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13924 then :
   13925   printf %s "(cached) " >&6
   13926 else $as_nop
   13927   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13928 /* end confdefs.h.  */
   13929 int i;
   13930 _ACEOF
   13931 if ac_fn_c_try_compile "$LINENO"
   13932 then :
   13933   xorg_cv_cc_flag_unused_command_line_argument=yes
   13934 else $as_nop
   13935   xorg_cv_cc_flag_unused_command_line_argument=no
   13936 fi
   13937 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13938 fi
   13939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13940 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13941 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13942 	CFLAGS="$xorg_testset_save_CFLAGS"
   13943 fi
   13944 
   13945 found="no"
   13946 
   13947 	if test $found = "no" ; then
   13948 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13949 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13950 		fi
   13951 
   13952 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13953 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13954 		fi
   13955 
   13956 		CFLAGS="$CFLAGS -Wbad-function-cast"
   13957 
   13958 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   13959 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   13960 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   13961 		if eval test \${$cacheid+y}
   13962 then :
   13963   printf %s "(cached) " >&6
   13964 else $as_nop
   13965   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13966 /* end confdefs.h.  */
   13967 int i;
   13968 int
   13969 main (void)
   13970 {
   13971 
   13972   ;
   13973   return 0;
   13974 }
   13975 _ACEOF
   13976 if ac_fn_c_try_link "$LINENO"
   13977 then :
   13978   eval $cacheid=yes
   13979 else $as_nop
   13980   eval $cacheid=no
   13981 fi
   13982 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13983     conftest$ac_exeext conftest.$ac_ext
   13984 fi
   13985 
   13986 
   13987 		CFLAGS="$xorg_testset_save_CFLAGS"
   13988 
   13989 		eval supported=\$$cacheid
   13990 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13991 printf "%s\n" "$supported" >&6; }
   13992 		if test "$supported" = "yes" ; then
   13993 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   13994 			found="yes"
   13995 		fi
   13996 	fi
   13997 
   13998 
   13999 
   14000 
   14001 
   14002 
   14003 
   14004 
   14005 
   14006 
   14007 
   14008 
   14009 
   14010 
   14011 
   14012 xorg_testset_save_CFLAGS="$CFLAGS"
   14013 
   14014 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14015 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14016 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14017 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14018 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14019 then :
   14020   printf %s "(cached) " >&6
   14021 else $as_nop
   14022   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14023 /* end confdefs.h.  */
   14024 int i;
   14025 _ACEOF
   14026 if ac_fn_c_try_compile "$LINENO"
   14027 then :
   14028   xorg_cv_cc_flag_unknown_warning_option=yes
   14029 else $as_nop
   14030   xorg_cv_cc_flag_unknown_warning_option=no
   14031 fi
   14032 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14033 fi
   14034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14035 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14036 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14037 	CFLAGS="$xorg_testset_save_CFLAGS"
   14038 fi
   14039 
   14040 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14041 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14042 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14043 	fi
   14044 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14045 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14046 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14047 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14048 then :
   14049   printf %s "(cached) " >&6
   14050 else $as_nop
   14051   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14052 /* end confdefs.h.  */
   14053 int i;
   14054 _ACEOF
   14055 if ac_fn_c_try_compile "$LINENO"
   14056 then :
   14057   xorg_cv_cc_flag_unused_command_line_argument=yes
   14058 else $as_nop
   14059   xorg_cv_cc_flag_unused_command_line_argument=no
   14060 fi
   14061 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14062 fi
   14063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14064 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14065 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14066 	CFLAGS="$xorg_testset_save_CFLAGS"
   14067 fi
   14068 
   14069 found="no"
   14070 
   14071 	if test $found = "no" ; then
   14072 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14073 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14074 		fi
   14075 
   14076 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14077 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14078 		fi
   14079 
   14080 		CFLAGS="$CFLAGS -Wold-style-definition"
   14081 
   14082 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   14083 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   14084 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   14085 		if eval test \${$cacheid+y}
   14086 then :
   14087   printf %s "(cached) " >&6
   14088 else $as_nop
   14089   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14090 /* end confdefs.h.  */
   14091 int i;
   14092 int
   14093 main (void)
   14094 {
   14095 
   14096   ;
   14097   return 0;
   14098 }
   14099 _ACEOF
   14100 if ac_fn_c_try_link "$LINENO"
   14101 then :
   14102   eval $cacheid=yes
   14103 else $as_nop
   14104   eval $cacheid=no
   14105 fi
   14106 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14107     conftest$ac_exeext conftest.$ac_ext
   14108 fi
   14109 
   14110 
   14111 		CFLAGS="$xorg_testset_save_CFLAGS"
   14112 
   14113 		eval supported=\$$cacheid
   14114 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14115 printf "%s\n" "$supported" >&6; }
   14116 		if test "$supported" = "yes" ; then
   14117 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   14118 			found="yes"
   14119 		fi
   14120 	fi
   14121 
   14122 	if test $found = "no" ; then
   14123 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14124 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14125 		fi
   14126 
   14127 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14128 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14129 		fi
   14130 
   14131 		CFLAGS="$CFLAGS -fd"
   14132 
   14133 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   14134 printf %s "checking if $CC supports -fd... " >&6; }
   14135 		cacheid=xorg_cv_cc_flag__fd
   14136 		if eval test \${$cacheid+y}
   14137 then :
   14138   printf %s "(cached) " >&6
   14139 else $as_nop
   14140   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14141 /* end confdefs.h.  */
   14142 int i;
   14143 int
   14144 main (void)
   14145 {
   14146 
   14147   ;
   14148   return 0;
   14149 }
   14150 _ACEOF
   14151 if ac_fn_c_try_link "$LINENO"
   14152 then :
   14153   eval $cacheid=yes
   14154 else $as_nop
   14155   eval $cacheid=no
   14156 fi
   14157 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14158     conftest$ac_exeext conftest.$ac_ext
   14159 fi
   14160 
   14161 
   14162 		CFLAGS="$xorg_testset_save_CFLAGS"
   14163 
   14164 		eval supported=\$$cacheid
   14165 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14166 printf "%s\n" "$supported" >&6; }
   14167 		if test "$supported" = "yes" ; then
   14168 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   14169 			found="yes"
   14170 		fi
   14171 	fi
   14172 
   14173 
   14174 
   14175 
   14176 
   14177 
   14178 
   14179 
   14180 
   14181 
   14182 
   14183 
   14184 
   14185 
   14186 
   14187 xorg_testset_save_CFLAGS="$CFLAGS"
   14188 
   14189 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14190 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14191 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14192 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14193 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14194 then :
   14195   printf %s "(cached) " >&6
   14196 else $as_nop
   14197   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14198 /* end confdefs.h.  */
   14199 int i;
   14200 _ACEOF
   14201 if ac_fn_c_try_compile "$LINENO"
   14202 then :
   14203   xorg_cv_cc_flag_unknown_warning_option=yes
   14204 else $as_nop
   14205   xorg_cv_cc_flag_unknown_warning_option=no
   14206 fi
   14207 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14208 fi
   14209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14210 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14211 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14212 	CFLAGS="$xorg_testset_save_CFLAGS"
   14213 fi
   14214 
   14215 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14216 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14217 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14218 	fi
   14219 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14220 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14221 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14222 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14223 then :
   14224   printf %s "(cached) " >&6
   14225 else $as_nop
   14226   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14227 /* end confdefs.h.  */
   14228 int i;
   14229 _ACEOF
   14230 if ac_fn_c_try_compile "$LINENO"
   14231 then :
   14232   xorg_cv_cc_flag_unused_command_line_argument=yes
   14233 else $as_nop
   14234   xorg_cv_cc_flag_unused_command_line_argument=no
   14235 fi
   14236 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14237 fi
   14238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14239 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14240 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14241 	CFLAGS="$xorg_testset_save_CFLAGS"
   14242 fi
   14243 
   14244 found="no"
   14245 
   14246 	if test $found = "no" ; then
   14247 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14248 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14249 		fi
   14250 
   14251 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14252 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14253 		fi
   14254 
   14255 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   14256 
   14257 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   14258 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   14259 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   14260 		if eval test \${$cacheid+y}
   14261 then :
   14262   printf %s "(cached) " >&6
   14263 else $as_nop
   14264   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14265 /* end confdefs.h.  */
   14266 int i;
   14267 int
   14268 main (void)
   14269 {
   14270 
   14271   ;
   14272   return 0;
   14273 }
   14274 _ACEOF
   14275 if ac_fn_c_try_link "$LINENO"
   14276 then :
   14277   eval $cacheid=yes
   14278 else $as_nop
   14279   eval $cacheid=no
   14280 fi
   14281 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14282     conftest$ac_exeext conftest.$ac_ext
   14283 fi
   14284 
   14285 
   14286 		CFLAGS="$xorg_testset_save_CFLAGS"
   14287 
   14288 		eval supported=\$$cacheid
   14289 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14290 printf "%s\n" "$supported" >&6; }
   14291 		if test "$supported" = "yes" ; then
   14292 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   14293 			found="yes"
   14294 		fi
   14295 	fi
   14296 
   14297 
   14298 
   14299 
   14300 
   14301 # This chunk adds additional warnings that could catch undesired effects.
   14302 
   14303 
   14304 
   14305 
   14306 
   14307 
   14308 
   14309 
   14310 
   14311 
   14312 
   14313 
   14314 
   14315 xorg_testset_save_CFLAGS="$CFLAGS"
   14316 
   14317 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14318 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14319 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14320 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14321 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14322 then :
   14323   printf %s "(cached) " >&6
   14324 else $as_nop
   14325   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14326 /* end confdefs.h.  */
   14327 int i;
   14328 _ACEOF
   14329 if ac_fn_c_try_compile "$LINENO"
   14330 then :
   14331   xorg_cv_cc_flag_unknown_warning_option=yes
   14332 else $as_nop
   14333   xorg_cv_cc_flag_unknown_warning_option=no
   14334 fi
   14335 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14336 fi
   14337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14338 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14339 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14340 	CFLAGS="$xorg_testset_save_CFLAGS"
   14341 fi
   14342 
   14343 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14344 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14345 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14346 	fi
   14347 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14348 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14349 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14350 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14351 then :
   14352   printf %s "(cached) " >&6
   14353 else $as_nop
   14354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14355 /* end confdefs.h.  */
   14356 int i;
   14357 _ACEOF
   14358 if ac_fn_c_try_compile "$LINENO"
   14359 then :
   14360   xorg_cv_cc_flag_unused_command_line_argument=yes
   14361 else $as_nop
   14362   xorg_cv_cc_flag_unused_command_line_argument=no
   14363 fi
   14364 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14365 fi
   14366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14367 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14368 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14369 	CFLAGS="$xorg_testset_save_CFLAGS"
   14370 fi
   14371 
   14372 found="no"
   14373 
   14374 	if test $found = "no" ; then
   14375 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14376 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14377 		fi
   14378 
   14379 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14380 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14381 		fi
   14382 
   14383 		CFLAGS="$CFLAGS -Wunused"
   14384 
   14385 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   14386 printf %s "checking if $CC supports -Wunused... " >&6; }
   14387 		cacheid=xorg_cv_cc_flag__Wunused
   14388 		if eval test \${$cacheid+y}
   14389 then :
   14390   printf %s "(cached) " >&6
   14391 else $as_nop
   14392   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14393 /* end confdefs.h.  */
   14394 int i;
   14395 int
   14396 main (void)
   14397 {
   14398 
   14399   ;
   14400   return 0;
   14401 }
   14402 _ACEOF
   14403 if ac_fn_c_try_link "$LINENO"
   14404 then :
   14405   eval $cacheid=yes
   14406 else $as_nop
   14407   eval $cacheid=no
   14408 fi
   14409 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14410     conftest$ac_exeext conftest.$ac_ext
   14411 fi
   14412 
   14413 
   14414 		CFLAGS="$xorg_testset_save_CFLAGS"
   14415 
   14416 		eval supported=\$$cacheid
   14417 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14418 printf "%s\n" "$supported" >&6; }
   14419 		if test "$supported" = "yes" ; then
   14420 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   14421 			found="yes"
   14422 		fi
   14423 	fi
   14424 
   14425 
   14426 
   14427 
   14428 
   14429 
   14430 
   14431 
   14432 
   14433 
   14434 
   14435 
   14436 
   14437 
   14438 
   14439 xorg_testset_save_CFLAGS="$CFLAGS"
   14440 
   14441 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14442 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14443 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14444 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14445 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14446 then :
   14447   printf %s "(cached) " >&6
   14448 else $as_nop
   14449   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14450 /* end confdefs.h.  */
   14451 int i;
   14452 _ACEOF
   14453 if ac_fn_c_try_compile "$LINENO"
   14454 then :
   14455   xorg_cv_cc_flag_unknown_warning_option=yes
   14456 else $as_nop
   14457   xorg_cv_cc_flag_unknown_warning_option=no
   14458 fi
   14459 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14460 fi
   14461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14462 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14463 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14464 	CFLAGS="$xorg_testset_save_CFLAGS"
   14465 fi
   14466 
   14467 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14468 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14469 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14470 	fi
   14471 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14472 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14473 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14474 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14475 then :
   14476   printf %s "(cached) " >&6
   14477 else $as_nop
   14478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14479 /* end confdefs.h.  */
   14480 int i;
   14481 _ACEOF
   14482 if ac_fn_c_try_compile "$LINENO"
   14483 then :
   14484   xorg_cv_cc_flag_unused_command_line_argument=yes
   14485 else $as_nop
   14486   xorg_cv_cc_flag_unused_command_line_argument=no
   14487 fi
   14488 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14489 fi
   14490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14491 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14492 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14493 	CFLAGS="$xorg_testset_save_CFLAGS"
   14494 fi
   14495 
   14496 found="no"
   14497 
   14498 	if test $found = "no" ; then
   14499 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14500 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14501 		fi
   14502 
   14503 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14504 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14505 		fi
   14506 
   14507 		CFLAGS="$CFLAGS -Wuninitialized"
   14508 
   14509 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   14510 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   14511 		cacheid=xorg_cv_cc_flag__Wuninitialized
   14512 		if eval test \${$cacheid+y}
   14513 then :
   14514   printf %s "(cached) " >&6
   14515 else $as_nop
   14516   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14517 /* end confdefs.h.  */
   14518 int i;
   14519 int
   14520 main (void)
   14521 {
   14522 
   14523   ;
   14524   return 0;
   14525 }
   14526 _ACEOF
   14527 if ac_fn_c_try_link "$LINENO"
   14528 then :
   14529   eval $cacheid=yes
   14530 else $as_nop
   14531   eval $cacheid=no
   14532 fi
   14533 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14534     conftest$ac_exeext conftest.$ac_ext
   14535 fi
   14536 
   14537 
   14538 		CFLAGS="$xorg_testset_save_CFLAGS"
   14539 
   14540 		eval supported=\$$cacheid
   14541 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14542 printf "%s\n" "$supported" >&6; }
   14543 		if test "$supported" = "yes" ; then
   14544 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   14545 			found="yes"
   14546 		fi
   14547 	fi
   14548 
   14549 
   14550 
   14551 
   14552 
   14553 
   14554 
   14555 
   14556 
   14557 
   14558 
   14559 
   14560 
   14561 
   14562 
   14563 xorg_testset_save_CFLAGS="$CFLAGS"
   14564 
   14565 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14566 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14567 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14568 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14569 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14570 then :
   14571   printf %s "(cached) " >&6
   14572 else $as_nop
   14573   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14574 /* end confdefs.h.  */
   14575 int i;
   14576 _ACEOF
   14577 if ac_fn_c_try_compile "$LINENO"
   14578 then :
   14579   xorg_cv_cc_flag_unknown_warning_option=yes
   14580 else $as_nop
   14581   xorg_cv_cc_flag_unknown_warning_option=no
   14582 fi
   14583 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14584 fi
   14585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14586 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14587 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14588 	CFLAGS="$xorg_testset_save_CFLAGS"
   14589 fi
   14590 
   14591 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14592 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14593 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14594 	fi
   14595 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14596 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14597 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14598 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14599 then :
   14600   printf %s "(cached) " >&6
   14601 else $as_nop
   14602   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14603 /* end confdefs.h.  */
   14604 int i;
   14605 _ACEOF
   14606 if ac_fn_c_try_compile "$LINENO"
   14607 then :
   14608   xorg_cv_cc_flag_unused_command_line_argument=yes
   14609 else $as_nop
   14610   xorg_cv_cc_flag_unused_command_line_argument=no
   14611 fi
   14612 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14613 fi
   14614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14615 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14616 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14617 	CFLAGS="$xorg_testset_save_CFLAGS"
   14618 fi
   14619 
   14620 found="no"
   14621 
   14622 	if test $found = "no" ; then
   14623 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14624 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14625 		fi
   14626 
   14627 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14628 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14629 		fi
   14630 
   14631 		CFLAGS="$CFLAGS -Wshadow"
   14632 
   14633 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   14634 printf %s "checking if $CC supports -Wshadow... " >&6; }
   14635 		cacheid=xorg_cv_cc_flag__Wshadow
   14636 		if eval test \${$cacheid+y}
   14637 then :
   14638   printf %s "(cached) " >&6
   14639 else $as_nop
   14640   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14641 /* end confdefs.h.  */
   14642 int i;
   14643 int
   14644 main (void)
   14645 {
   14646 
   14647   ;
   14648   return 0;
   14649 }
   14650 _ACEOF
   14651 if ac_fn_c_try_link "$LINENO"
   14652 then :
   14653   eval $cacheid=yes
   14654 else $as_nop
   14655   eval $cacheid=no
   14656 fi
   14657 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14658     conftest$ac_exeext conftest.$ac_ext
   14659 fi
   14660 
   14661 
   14662 		CFLAGS="$xorg_testset_save_CFLAGS"
   14663 
   14664 		eval supported=\$$cacheid
   14665 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14666 printf "%s\n" "$supported" >&6; }
   14667 		if test "$supported" = "yes" ; then
   14668 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   14669 			found="yes"
   14670 		fi
   14671 	fi
   14672 
   14673 
   14674 
   14675 
   14676 
   14677 
   14678 
   14679 
   14680 
   14681 
   14682 
   14683 
   14684 
   14685 
   14686 
   14687 xorg_testset_save_CFLAGS="$CFLAGS"
   14688 
   14689 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14690 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14691 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14692 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14693 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14694 then :
   14695   printf %s "(cached) " >&6
   14696 else $as_nop
   14697   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14698 /* end confdefs.h.  */
   14699 int i;
   14700 _ACEOF
   14701 if ac_fn_c_try_compile "$LINENO"
   14702 then :
   14703   xorg_cv_cc_flag_unknown_warning_option=yes
   14704 else $as_nop
   14705   xorg_cv_cc_flag_unknown_warning_option=no
   14706 fi
   14707 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14708 fi
   14709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14710 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14711 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14712 	CFLAGS="$xorg_testset_save_CFLAGS"
   14713 fi
   14714 
   14715 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14716 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14717 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14718 	fi
   14719 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14720 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14721 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14722 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14723 then :
   14724   printf %s "(cached) " >&6
   14725 else $as_nop
   14726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14727 /* end confdefs.h.  */
   14728 int i;
   14729 _ACEOF
   14730 if ac_fn_c_try_compile "$LINENO"
   14731 then :
   14732   xorg_cv_cc_flag_unused_command_line_argument=yes
   14733 else $as_nop
   14734   xorg_cv_cc_flag_unused_command_line_argument=no
   14735 fi
   14736 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14737 fi
   14738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14739 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14740 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14741 	CFLAGS="$xorg_testset_save_CFLAGS"
   14742 fi
   14743 
   14744 found="no"
   14745 
   14746 	if test $found = "no" ; then
   14747 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14748 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14749 		fi
   14750 
   14751 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14752 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14753 		fi
   14754 
   14755 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   14756 
   14757 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   14758 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   14759 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   14760 		if eval test \${$cacheid+y}
   14761 then :
   14762   printf %s "(cached) " >&6
   14763 else $as_nop
   14764   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14765 /* end confdefs.h.  */
   14766 int i;
   14767 int
   14768 main (void)
   14769 {
   14770 
   14771   ;
   14772   return 0;
   14773 }
   14774 _ACEOF
   14775 if ac_fn_c_try_link "$LINENO"
   14776 then :
   14777   eval $cacheid=yes
   14778 else $as_nop
   14779   eval $cacheid=no
   14780 fi
   14781 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14782     conftest$ac_exeext conftest.$ac_ext
   14783 fi
   14784 
   14785 
   14786 		CFLAGS="$xorg_testset_save_CFLAGS"
   14787 
   14788 		eval supported=\$$cacheid
   14789 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14790 printf "%s\n" "$supported" >&6; }
   14791 		if test "$supported" = "yes" ; then
   14792 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   14793 			found="yes"
   14794 		fi
   14795 	fi
   14796 
   14797 
   14798 
   14799 
   14800 
   14801 
   14802 
   14803 
   14804 
   14805 
   14806 
   14807 
   14808 
   14809 
   14810 
   14811 xorg_testset_save_CFLAGS="$CFLAGS"
   14812 
   14813 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14814 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14815 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14816 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14817 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14818 then :
   14819   printf %s "(cached) " >&6
   14820 else $as_nop
   14821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14822 /* end confdefs.h.  */
   14823 int i;
   14824 _ACEOF
   14825 if ac_fn_c_try_compile "$LINENO"
   14826 then :
   14827   xorg_cv_cc_flag_unknown_warning_option=yes
   14828 else $as_nop
   14829   xorg_cv_cc_flag_unknown_warning_option=no
   14830 fi
   14831 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14832 fi
   14833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14834 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14835 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14836 	CFLAGS="$xorg_testset_save_CFLAGS"
   14837 fi
   14838 
   14839 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14840 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14841 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14842 	fi
   14843 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14844 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14845 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14846 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14847 then :
   14848   printf %s "(cached) " >&6
   14849 else $as_nop
   14850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14851 /* end confdefs.h.  */
   14852 int i;
   14853 _ACEOF
   14854 if ac_fn_c_try_compile "$LINENO"
   14855 then :
   14856   xorg_cv_cc_flag_unused_command_line_argument=yes
   14857 else $as_nop
   14858   xorg_cv_cc_flag_unused_command_line_argument=no
   14859 fi
   14860 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14861 fi
   14862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14863 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14864 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14865 	CFLAGS="$xorg_testset_save_CFLAGS"
   14866 fi
   14867 
   14868 found="no"
   14869 
   14870 	if test $found = "no" ; then
   14871 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14872 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14873 		fi
   14874 
   14875 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14876 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14877 		fi
   14878 
   14879 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   14880 
   14881 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   14882 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   14883 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   14884 		if eval test \${$cacheid+y}
   14885 then :
   14886   printf %s "(cached) " >&6
   14887 else $as_nop
   14888   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14889 /* end confdefs.h.  */
   14890 int i;
   14891 int
   14892 main (void)
   14893 {
   14894 
   14895   ;
   14896   return 0;
   14897 }
   14898 _ACEOF
   14899 if ac_fn_c_try_link "$LINENO"
   14900 then :
   14901   eval $cacheid=yes
   14902 else $as_nop
   14903   eval $cacheid=no
   14904 fi
   14905 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14906     conftest$ac_exeext conftest.$ac_ext
   14907 fi
   14908 
   14909 
   14910 		CFLAGS="$xorg_testset_save_CFLAGS"
   14911 
   14912 		eval supported=\$$cacheid
   14913 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14914 printf "%s\n" "$supported" >&6; }
   14915 		if test "$supported" = "yes" ; then
   14916 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   14917 			found="yes"
   14918 		fi
   14919 	fi
   14920 
   14921 
   14922 
   14923 
   14924 
   14925 
   14926 
   14927 
   14928 
   14929 
   14930 
   14931 
   14932 
   14933 
   14934 
   14935 xorg_testset_save_CFLAGS="$CFLAGS"
   14936 
   14937 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14938 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14939 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14940 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14941 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14942 then :
   14943   printf %s "(cached) " >&6
   14944 else $as_nop
   14945   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14946 /* end confdefs.h.  */
   14947 int i;
   14948 _ACEOF
   14949 if ac_fn_c_try_compile "$LINENO"
   14950 then :
   14951   xorg_cv_cc_flag_unknown_warning_option=yes
   14952 else $as_nop
   14953   xorg_cv_cc_flag_unknown_warning_option=no
   14954 fi
   14955 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14956 fi
   14957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14958 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14959 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14960 	CFLAGS="$xorg_testset_save_CFLAGS"
   14961 fi
   14962 
   14963 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14964 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14965 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14966 	fi
   14967 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14968 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14969 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14970 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14971 then :
   14972   printf %s "(cached) " >&6
   14973 else $as_nop
   14974   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14975 /* end confdefs.h.  */
   14976 int i;
   14977 _ACEOF
   14978 if ac_fn_c_try_compile "$LINENO"
   14979 then :
   14980   xorg_cv_cc_flag_unused_command_line_argument=yes
   14981 else $as_nop
   14982   xorg_cv_cc_flag_unused_command_line_argument=no
   14983 fi
   14984 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14985 fi
   14986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14987 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14988 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14989 	CFLAGS="$xorg_testset_save_CFLAGS"
   14990 fi
   14991 
   14992 found="no"
   14993 
   14994 	if test $found = "no" ; then
   14995 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14996 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14997 		fi
   14998 
   14999 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15000 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15001 		fi
   15002 
   15003 		CFLAGS="$CFLAGS -Wredundant-decls"
   15004 
   15005 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   15006 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   15007 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   15008 		if eval test \${$cacheid+y}
   15009 then :
   15010   printf %s "(cached) " >&6
   15011 else $as_nop
   15012   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15013 /* end confdefs.h.  */
   15014 int i;
   15015 int
   15016 main (void)
   15017 {
   15018 
   15019   ;
   15020   return 0;
   15021 }
   15022 _ACEOF
   15023 if ac_fn_c_try_link "$LINENO"
   15024 then :
   15025   eval $cacheid=yes
   15026 else $as_nop
   15027   eval $cacheid=no
   15028 fi
   15029 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15030     conftest$ac_exeext conftest.$ac_ext
   15031 fi
   15032 
   15033 
   15034 		CFLAGS="$xorg_testset_save_CFLAGS"
   15035 
   15036 		eval supported=\$$cacheid
   15037 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15038 printf "%s\n" "$supported" >&6; }
   15039 		if test "$supported" = "yes" ; then
   15040 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   15041 			found="yes"
   15042 		fi
   15043 	fi
   15044 
   15045 
   15046 
   15047 
   15048 
   15049 
   15050 
   15051 
   15052 
   15053 
   15054 
   15055 
   15056 
   15057 
   15058 
   15059 xorg_testset_save_CFLAGS="$CFLAGS"
   15060 
   15061 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15062 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15063 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15064 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15065 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15066 then :
   15067   printf %s "(cached) " >&6
   15068 else $as_nop
   15069   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15070 /* end confdefs.h.  */
   15071 int i;
   15072 _ACEOF
   15073 if ac_fn_c_try_compile "$LINENO"
   15074 then :
   15075   xorg_cv_cc_flag_unknown_warning_option=yes
   15076 else $as_nop
   15077   xorg_cv_cc_flag_unknown_warning_option=no
   15078 fi
   15079 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15080 fi
   15081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15082 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15083 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15084 	CFLAGS="$xorg_testset_save_CFLAGS"
   15085 fi
   15086 
   15087 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15088 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15089 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15090 	fi
   15091 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15092 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15093 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15094 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15095 then :
   15096   printf %s "(cached) " >&6
   15097 else $as_nop
   15098   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15099 /* end confdefs.h.  */
   15100 int i;
   15101 _ACEOF
   15102 if ac_fn_c_try_compile "$LINENO"
   15103 then :
   15104   xorg_cv_cc_flag_unused_command_line_argument=yes
   15105 else $as_nop
   15106   xorg_cv_cc_flag_unused_command_line_argument=no
   15107 fi
   15108 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15109 fi
   15110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15111 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15112 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15113 	CFLAGS="$xorg_testset_save_CFLAGS"
   15114 fi
   15115 
   15116 found="no"
   15117 
   15118 	if test $found = "no" ; then
   15119 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15120 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15121 		fi
   15122 
   15123 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15124 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15125 		fi
   15126 
   15127 		CFLAGS="$CFLAGS -Wlogical-op"
   15128 
   15129 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   15130 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   15131 		cacheid=xorg_cv_cc_flag__Wlogical_op
   15132 		if eval test \${$cacheid+y}
   15133 then :
   15134   printf %s "(cached) " >&6
   15135 else $as_nop
   15136   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15137 /* end confdefs.h.  */
   15138 int i;
   15139 int
   15140 main (void)
   15141 {
   15142 
   15143   ;
   15144   return 0;
   15145 }
   15146 _ACEOF
   15147 if ac_fn_c_try_link "$LINENO"
   15148 then :
   15149   eval $cacheid=yes
   15150 else $as_nop
   15151   eval $cacheid=no
   15152 fi
   15153 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15154     conftest$ac_exeext conftest.$ac_ext
   15155 fi
   15156 
   15157 
   15158 		CFLAGS="$xorg_testset_save_CFLAGS"
   15159 
   15160 		eval supported=\$$cacheid
   15161 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15162 printf "%s\n" "$supported" >&6; }
   15163 		if test "$supported" = "yes" ; then
   15164 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   15165 			found="yes"
   15166 		fi
   15167 	fi
   15168 
   15169 
   15170 
   15171 # These are currently disabled because they are noisy.  They will be enabled
   15172 # in the future once the codebase is sufficiently modernized to silence
   15173 # them.  For now, I don't want them to drown out the other warnings.
   15174 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   15175 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   15176 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   15177 
   15178 # Turn some warnings into errors, so we don't accidently get successful builds
   15179 # when there are problems that should be fixed.
   15180 
   15181 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   15182 
   15183 
   15184 
   15185 
   15186 
   15187 
   15188 
   15189 
   15190 
   15191 
   15192 
   15193 
   15194 
   15195 xorg_testset_save_CFLAGS="$CFLAGS"
   15196 
   15197 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15198 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15199 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15200 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15201 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15202 then :
   15203   printf %s "(cached) " >&6
   15204 else $as_nop
   15205   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15206 /* end confdefs.h.  */
   15207 int i;
   15208 _ACEOF
   15209 if ac_fn_c_try_compile "$LINENO"
   15210 then :
   15211   xorg_cv_cc_flag_unknown_warning_option=yes
   15212 else $as_nop
   15213   xorg_cv_cc_flag_unknown_warning_option=no
   15214 fi
   15215 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15216 fi
   15217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15218 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15219 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15220 	CFLAGS="$xorg_testset_save_CFLAGS"
   15221 fi
   15222 
   15223 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15224 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15225 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15226 	fi
   15227 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15228 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15229 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15230 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15231 then :
   15232   printf %s "(cached) " >&6
   15233 else $as_nop
   15234   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15235 /* end confdefs.h.  */
   15236 int i;
   15237 _ACEOF
   15238 if ac_fn_c_try_compile "$LINENO"
   15239 then :
   15240   xorg_cv_cc_flag_unused_command_line_argument=yes
   15241 else $as_nop
   15242   xorg_cv_cc_flag_unused_command_line_argument=no
   15243 fi
   15244 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15245 fi
   15246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15247 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15248 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15249 	CFLAGS="$xorg_testset_save_CFLAGS"
   15250 fi
   15251 
   15252 found="no"
   15253 
   15254 	if test $found = "no" ; then
   15255 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15256 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15257 		fi
   15258 
   15259 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15260 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15261 		fi
   15262 
   15263 		CFLAGS="$CFLAGS -Werror=implicit"
   15264 
   15265 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   15266 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   15267 		cacheid=xorg_cv_cc_flag__Werror_implicit
   15268 		if eval test \${$cacheid+y}
   15269 then :
   15270   printf %s "(cached) " >&6
   15271 else $as_nop
   15272   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15273 /* end confdefs.h.  */
   15274 int i;
   15275 int
   15276 main (void)
   15277 {
   15278 
   15279   ;
   15280   return 0;
   15281 }
   15282 _ACEOF
   15283 if ac_fn_c_try_link "$LINENO"
   15284 then :
   15285   eval $cacheid=yes
   15286 else $as_nop
   15287   eval $cacheid=no
   15288 fi
   15289 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15290     conftest$ac_exeext conftest.$ac_ext
   15291 fi
   15292 
   15293 
   15294 		CFLAGS="$xorg_testset_save_CFLAGS"
   15295 
   15296 		eval supported=\$$cacheid
   15297 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15298 printf "%s\n" "$supported" >&6; }
   15299 		if test "$supported" = "yes" ; then
   15300 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   15301 			found="yes"
   15302 		fi
   15303 	fi
   15304 
   15305 	if test $found = "no" ; then
   15306 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15307 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15308 		fi
   15309 
   15310 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15311 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15312 		fi
   15313 
   15314 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15315 
   15316 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   15317 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   15318 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   15319 		if eval test \${$cacheid+y}
   15320 then :
   15321   printf %s "(cached) " >&6
   15322 else $as_nop
   15323   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15324 /* end confdefs.h.  */
   15325 int i;
   15326 int
   15327 main (void)
   15328 {
   15329 
   15330   ;
   15331   return 0;
   15332 }
   15333 _ACEOF
   15334 if ac_fn_c_try_link "$LINENO"
   15335 then :
   15336   eval $cacheid=yes
   15337 else $as_nop
   15338   eval $cacheid=no
   15339 fi
   15340 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15341     conftest$ac_exeext conftest.$ac_ext
   15342 fi
   15343 
   15344 
   15345 		CFLAGS="$xorg_testset_save_CFLAGS"
   15346 
   15347 		eval supported=\$$cacheid
   15348 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15349 printf "%s\n" "$supported" >&6; }
   15350 		if test "$supported" = "yes" ; then
   15351 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   15352 			found="yes"
   15353 		fi
   15354 	fi
   15355 
   15356 
   15357 
   15358 
   15359 
   15360 
   15361 
   15362 
   15363 
   15364 
   15365 
   15366 
   15367 
   15368 
   15369 
   15370 xorg_testset_save_CFLAGS="$CFLAGS"
   15371 
   15372 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15373 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15374 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15375 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15376 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15377 then :
   15378   printf %s "(cached) " >&6
   15379 else $as_nop
   15380   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15381 /* end confdefs.h.  */
   15382 int i;
   15383 _ACEOF
   15384 if ac_fn_c_try_compile "$LINENO"
   15385 then :
   15386   xorg_cv_cc_flag_unknown_warning_option=yes
   15387 else $as_nop
   15388   xorg_cv_cc_flag_unknown_warning_option=no
   15389 fi
   15390 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15391 fi
   15392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15393 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15394 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15395 	CFLAGS="$xorg_testset_save_CFLAGS"
   15396 fi
   15397 
   15398 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15399 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15400 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15401 	fi
   15402 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15403 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15404 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15405 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15406 then :
   15407   printf %s "(cached) " >&6
   15408 else $as_nop
   15409   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15410 /* end confdefs.h.  */
   15411 int i;
   15412 _ACEOF
   15413 if ac_fn_c_try_compile "$LINENO"
   15414 then :
   15415   xorg_cv_cc_flag_unused_command_line_argument=yes
   15416 else $as_nop
   15417   xorg_cv_cc_flag_unused_command_line_argument=no
   15418 fi
   15419 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15420 fi
   15421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15422 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15423 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15424 	CFLAGS="$xorg_testset_save_CFLAGS"
   15425 fi
   15426 
   15427 found="no"
   15428 
   15429 	if test $found = "no" ; then
   15430 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15431 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15432 		fi
   15433 
   15434 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15435 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15436 		fi
   15437 
   15438 		CFLAGS="$CFLAGS -Werror=nonnull"
   15439 
   15440 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   15441 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   15442 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   15443 		if eval test \${$cacheid+y}
   15444 then :
   15445   printf %s "(cached) " >&6
   15446 else $as_nop
   15447   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15448 /* end confdefs.h.  */
   15449 int i;
   15450 int
   15451 main (void)
   15452 {
   15453 
   15454   ;
   15455   return 0;
   15456 }
   15457 _ACEOF
   15458 if ac_fn_c_try_link "$LINENO"
   15459 then :
   15460   eval $cacheid=yes
   15461 else $as_nop
   15462   eval $cacheid=no
   15463 fi
   15464 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15465     conftest$ac_exeext conftest.$ac_ext
   15466 fi
   15467 
   15468 
   15469 		CFLAGS="$xorg_testset_save_CFLAGS"
   15470 
   15471 		eval supported=\$$cacheid
   15472 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15473 printf "%s\n" "$supported" >&6; }
   15474 		if test "$supported" = "yes" ; then
   15475 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   15476 			found="yes"
   15477 		fi
   15478 	fi
   15479 
   15480 
   15481 
   15482 
   15483 
   15484 
   15485 
   15486 
   15487 
   15488 
   15489 
   15490 
   15491 
   15492 
   15493 
   15494 xorg_testset_save_CFLAGS="$CFLAGS"
   15495 
   15496 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15497 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15498 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15499 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15500 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15501 then :
   15502   printf %s "(cached) " >&6
   15503 else $as_nop
   15504   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15505 /* end confdefs.h.  */
   15506 int i;
   15507 _ACEOF
   15508 if ac_fn_c_try_compile "$LINENO"
   15509 then :
   15510   xorg_cv_cc_flag_unknown_warning_option=yes
   15511 else $as_nop
   15512   xorg_cv_cc_flag_unknown_warning_option=no
   15513 fi
   15514 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15515 fi
   15516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15517 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15518 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15519 	CFLAGS="$xorg_testset_save_CFLAGS"
   15520 fi
   15521 
   15522 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15523 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15524 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15525 	fi
   15526 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15527 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15528 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15529 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15530 then :
   15531   printf %s "(cached) " >&6
   15532 else $as_nop
   15533   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15534 /* end confdefs.h.  */
   15535 int i;
   15536 _ACEOF
   15537 if ac_fn_c_try_compile "$LINENO"
   15538 then :
   15539   xorg_cv_cc_flag_unused_command_line_argument=yes
   15540 else $as_nop
   15541   xorg_cv_cc_flag_unused_command_line_argument=no
   15542 fi
   15543 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15544 fi
   15545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15546 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15547 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15548 	CFLAGS="$xorg_testset_save_CFLAGS"
   15549 fi
   15550 
   15551 found="no"
   15552 
   15553 	if test $found = "no" ; then
   15554 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15555 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15556 		fi
   15557 
   15558 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15559 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15560 		fi
   15561 
   15562 		CFLAGS="$CFLAGS -Werror=init-self"
   15563 
   15564 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   15565 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   15566 		cacheid=xorg_cv_cc_flag__Werror_init_self
   15567 		if eval test \${$cacheid+y}
   15568 then :
   15569   printf %s "(cached) " >&6
   15570 else $as_nop
   15571   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15572 /* end confdefs.h.  */
   15573 int i;
   15574 int
   15575 main (void)
   15576 {
   15577 
   15578   ;
   15579   return 0;
   15580 }
   15581 _ACEOF
   15582 if ac_fn_c_try_link "$LINENO"
   15583 then :
   15584   eval $cacheid=yes
   15585 else $as_nop
   15586   eval $cacheid=no
   15587 fi
   15588 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15589     conftest$ac_exeext conftest.$ac_ext
   15590 fi
   15591 
   15592 
   15593 		CFLAGS="$xorg_testset_save_CFLAGS"
   15594 
   15595 		eval supported=\$$cacheid
   15596 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15597 printf "%s\n" "$supported" >&6; }
   15598 		if test "$supported" = "yes" ; then
   15599 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   15600 			found="yes"
   15601 		fi
   15602 	fi
   15603 
   15604 
   15605 
   15606 
   15607 
   15608 
   15609 
   15610 
   15611 
   15612 
   15613 
   15614 
   15615 
   15616 
   15617 
   15618 xorg_testset_save_CFLAGS="$CFLAGS"
   15619 
   15620 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15621 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15622 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15623 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15624 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15625 then :
   15626   printf %s "(cached) " >&6
   15627 else $as_nop
   15628   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15629 /* end confdefs.h.  */
   15630 int i;
   15631 _ACEOF
   15632 if ac_fn_c_try_compile "$LINENO"
   15633 then :
   15634   xorg_cv_cc_flag_unknown_warning_option=yes
   15635 else $as_nop
   15636   xorg_cv_cc_flag_unknown_warning_option=no
   15637 fi
   15638 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15639 fi
   15640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15641 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15642 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15643 	CFLAGS="$xorg_testset_save_CFLAGS"
   15644 fi
   15645 
   15646 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15647 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15648 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15649 	fi
   15650 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15651 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15652 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15653 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15654 then :
   15655   printf %s "(cached) " >&6
   15656 else $as_nop
   15657   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15658 /* end confdefs.h.  */
   15659 int i;
   15660 _ACEOF
   15661 if ac_fn_c_try_compile "$LINENO"
   15662 then :
   15663   xorg_cv_cc_flag_unused_command_line_argument=yes
   15664 else $as_nop
   15665   xorg_cv_cc_flag_unused_command_line_argument=no
   15666 fi
   15667 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15668 fi
   15669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15670 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15671 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15672 	CFLAGS="$xorg_testset_save_CFLAGS"
   15673 fi
   15674 
   15675 found="no"
   15676 
   15677 	if test $found = "no" ; then
   15678 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15679 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15680 		fi
   15681 
   15682 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15683 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15684 		fi
   15685 
   15686 		CFLAGS="$CFLAGS -Werror=main"
   15687 
   15688 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   15689 printf %s "checking if $CC supports -Werror=main... " >&6; }
   15690 		cacheid=xorg_cv_cc_flag__Werror_main
   15691 		if eval test \${$cacheid+y}
   15692 then :
   15693   printf %s "(cached) " >&6
   15694 else $as_nop
   15695   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15696 /* end confdefs.h.  */
   15697 int i;
   15698 int
   15699 main (void)
   15700 {
   15701 
   15702   ;
   15703   return 0;
   15704 }
   15705 _ACEOF
   15706 if ac_fn_c_try_link "$LINENO"
   15707 then :
   15708   eval $cacheid=yes
   15709 else $as_nop
   15710   eval $cacheid=no
   15711 fi
   15712 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15713     conftest$ac_exeext conftest.$ac_ext
   15714 fi
   15715 
   15716 
   15717 		CFLAGS="$xorg_testset_save_CFLAGS"
   15718 
   15719 		eval supported=\$$cacheid
   15720 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15721 printf "%s\n" "$supported" >&6; }
   15722 		if test "$supported" = "yes" ; then
   15723 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   15724 			found="yes"
   15725 		fi
   15726 	fi
   15727 
   15728 
   15729 
   15730 
   15731 
   15732 
   15733 
   15734 
   15735 
   15736 
   15737 
   15738 
   15739 
   15740 
   15741 
   15742 xorg_testset_save_CFLAGS="$CFLAGS"
   15743 
   15744 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15745 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15746 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15747 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15748 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15749 then :
   15750   printf %s "(cached) " >&6
   15751 else $as_nop
   15752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15753 /* end confdefs.h.  */
   15754 int i;
   15755 _ACEOF
   15756 if ac_fn_c_try_compile "$LINENO"
   15757 then :
   15758   xorg_cv_cc_flag_unknown_warning_option=yes
   15759 else $as_nop
   15760   xorg_cv_cc_flag_unknown_warning_option=no
   15761 fi
   15762 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15763 fi
   15764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15765 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15766 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15767 	CFLAGS="$xorg_testset_save_CFLAGS"
   15768 fi
   15769 
   15770 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15771 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15772 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15773 	fi
   15774 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15775 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15776 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15777 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15778 then :
   15779   printf %s "(cached) " >&6
   15780 else $as_nop
   15781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15782 /* end confdefs.h.  */
   15783 int i;
   15784 _ACEOF
   15785 if ac_fn_c_try_compile "$LINENO"
   15786 then :
   15787   xorg_cv_cc_flag_unused_command_line_argument=yes
   15788 else $as_nop
   15789   xorg_cv_cc_flag_unused_command_line_argument=no
   15790 fi
   15791 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15792 fi
   15793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15794 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15795 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15796 	CFLAGS="$xorg_testset_save_CFLAGS"
   15797 fi
   15798 
   15799 found="no"
   15800 
   15801 	if test $found = "no" ; then
   15802 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15803 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15804 		fi
   15805 
   15806 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15807 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15808 		fi
   15809 
   15810 		CFLAGS="$CFLAGS -Werror=missing-braces"
   15811 
   15812 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   15813 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   15814 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   15815 		if eval test \${$cacheid+y}
   15816 then :
   15817   printf %s "(cached) " >&6
   15818 else $as_nop
   15819   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15820 /* end confdefs.h.  */
   15821 int i;
   15822 int
   15823 main (void)
   15824 {
   15825 
   15826   ;
   15827   return 0;
   15828 }
   15829 _ACEOF
   15830 if ac_fn_c_try_link "$LINENO"
   15831 then :
   15832   eval $cacheid=yes
   15833 else $as_nop
   15834   eval $cacheid=no
   15835 fi
   15836 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15837     conftest$ac_exeext conftest.$ac_ext
   15838 fi
   15839 
   15840 
   15841 		CFLAGS="$xorg_testset_save_CFLAGS"
   15842 
   15843 		eval supported=\$$cacheid
   15844 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15845 printf "%s\n" "$supported" >&6; }
   15846 		if test "$supported" = "yes" ; then
   15847 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   15848 			found="yes"
   15849 		fi
   15850 	fi
   15851 
   15852 
   15853 
   15854 
   15855 
   15856 
   15857 
   15858 
   15859 
   15860 
   15861 
   15862 
   15863 
   15864 
   15865 
   15866 xorg_testset_save_CFLAGS="$CFLAGS"
   15867 
   15868 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15869 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15870 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15871 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15872 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15873 then :
   15874   printf %s "(cached) " >&6
   15875 else $as_nop
   15876   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15877 /* end confdefs.h.  */
   15878 int i;
   15879 _ACEOF
   15880 if ac_fn_c_try_compile "$LINENO"
   15881 then :
   15882   xorg_cv_cc_flag_unknown_warning_option=yes
   15883 else $as_nop
   15884   xorg_cv_cc_flag_unknown_warning_option=no
   15885 fi
   15886 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15887 fi
   15888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15889 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15890 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15891 	CFLAGS="$xorg_testset_save_CFLAGS"
   15892 fi
   15893 
   15894 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15895 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15896 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15897 	fi
   15898 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15899 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15900 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15901 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15902 then :
   15903   printf %s "(cached) " >&6
   15904 else $as_nop
   15905   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15906 /* end confdefs.h.  */
   15907 int i;
   15908 _ACEOF
   15909 if ac_fn_c_try_compile "$LINENO"
   15910 then :
   15911   xorg_cv_cc_flag_unused_command_line_argument=yes
   15912 else $as_nop
   15913   xorg_cv_cc_flag_unused_command_line_argument=no
   15914 fi
   15915 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15916 fi
   15917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15918 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15919 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15920 	CFLAGS="$xorg_testset_save_CFLAGS"
   15921 fi
   15922 
   15923 found="no"
   15924 
   15925 	if test $found = "no" ; then
   15926 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15927 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15928 		fi
   15929 
   15930 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15931 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15932 		fi
   15933 
   15934 		CFLAGS="$CFLAGS -Werror=sequence-point"
   15935 
   15936 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   15937 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   15938 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   15939 		if eval test \${$cacheid+y}
   15940 then :
   15941   printf %s "(cached) " >&6
   15942 else $as_nop
   15943   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15944 /* end confdefs.h.  */
   15945 int i;
   15946 int
   15947 main (void)
   15948 {
   15949 
   15950   ;
   15951   return 0;
   15952 }
   15953 _ACEOF
   15954 if ac_fn_c_try_link "$LINENO"
   15955 then :
   15956   eval $cacheid=yes
   15957 else $as_nop
   15958   eval $cacheid=no
   15959 fi
   15960 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15961     conftest$ac_exeext conftest.$ac_ext
   15962 fi
   15963 
   15964 
   15965 		CFLAGS="$xorg_testset_save_CFLAGS"
   15966 
   15967 		eval supported=\$$cacheid
   15968 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15969 printf "%s\n" "$supported" >&6; }
   15970 		if test "$supported" = "yes" ; then
   15971 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   15972 			found="yes"
   15973 		fi
   15974 	fi
   15975 
   15976 
   15977 
   15978 
   15979 
   15980 
   15981 
   15982 
   15983 
   15984 
   15985 
   15986 
   15987 
   15988 
   15989 
   15990 xorg_testset_save_CFLAGS="$CFLAGS"
   15991 
   15992 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15993 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15994 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15995 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15996 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15997 then :
   15998   printf %s "(cached) " >&6
   15999 else $as_nop
   16000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16001 /* end confdefs.h.  */
   16002 int i;
   16003 _ACEOF
   16004 if ac_fn_c_try_compile "$LINENO"
   16005 then :
   16006   xorg_cv_cc_flag_unknown_warning_option=yes
   16007 else $as_nop
   16008   xorg_cv_cc_flag_unknown_warning_option=no
   16009 fi
   16010 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16011 fi
   16012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16013 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16014 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16015 	CFLAGS="$xorg_testset_save_CFLAGS"
   16016 fi
   16017 
   16018 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16019 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16020 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16021 	fi
   16022 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16023 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16024 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16025 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16026 then :
   16027   printf %s "(cached) " >&6
   16028 else $as_nop
   16029   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16030 /* end confdefs.h.  */
   16031 int i;
   16032 _ACEOF
   16033 if ac_fn_c_try_compile "$LINENO"
   16034 then :
   16035   xorg_cv_cc_flag_unused_command_line_argument=yes
   16036 else $as_nop
   16037   xorg_cv_cc_flag_unused_command_line_argument=no
   16038 fi
   16039 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16040 fi
   16041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16042 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16043 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16044 	CFLAGS="$xorg_testset_save_CFLAGS"
   16045 fi
   16046 
   16047 found="no"
   16048 
   16049 	if test $found = "no" ; then
   16050 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16051 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16052 		fi
   16053 
   16054 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16055 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16056 		fi
   16057 
   16058 		CFLAGS="$CFLAGS -Werror=return-type"
   16059 
   16060 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   16061 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   16062 		cacheid=xorg_cv_cc_flag__Werror_return_type
   16063 		if eval test \${$cacheid+y}
   16064 then :
   16065   printf %s "(cached) " >&6
   16066 else $as_nop
   16067   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16068 /* end confdefs.h.  */
   16069 int i;
   16070 int
   16071 main (void)
   16072 {
   16073 
   16074   ;
   16075   return 0;
   16076 }
   16077 _ACEOF
   16078 if ac_fn_c_try_link "$LINENO"
   16079 then :
   16080   eval $cacheid=yes
   16081 else $as_nop
   16082   eval $cacheid=no
   16083 fi
   16084 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16085     conftest$ac_exeext conftest.$ac_ext
   16086 fi
   16087 
   16088 
   16089 		CFLAGS="$xorg_testset_save_CFLAGS"
   16090 
   16091 		eval supported=\$$cacheid
   16092 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16093 printf "%s\n" "$supported" >&6; }
   16094 		if test "$supported" = "yes" ; then
   16095 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   16096 			found="yes"
   16097 		fi
   16098 	fi
   16099 
   16100 	if test $found = "no" ; then
   16101 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16102 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16103 		fi
   16104 
   16105 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16106 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16107 		fi
   16108 
   16109 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16110 
   16111 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   16112 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   16113 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   16114 		if eval test \${$cacheid+y}
   16115 then :
   16116   printf %s "(cached) " >&6
   16117 else $as_nop
   16118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16119 /* end confdefs.h.  */
   16120 int i;
   16121 int
   16122 main (void)
   16123 {
   16124 
   16125   ;
   16126   return 0;
   16127 }
   16128 _ACEOF
   16129 if ac_fn_c_try_link "$LINENO"
   16130 then :
   16131   eval $cacheid=yes
   16132 else $as_nop
   16133   eval $cacheid=no
   16134 fi
   16135 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16136     conftest$ac_exeext conftest.$ac_ext
   16137 fi
   16138 
   16139 
   16140 		CFLAGS="$xorg_testset_save_CFLAGS"
   16141 
   16142 		eval supported=\$$cacheid
   16143 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16144 printf "%s\n" "$supported" >&6; }
   16145 		if test "$supported" = "yes" ; then
   16146 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16147 			found="yes"
   16148 		fi
   16149 	fi
   16150 
   16151 
   16152 
   16153 
   16154 
   16155 
   16156 
   16157 
   16158 
   16159 
   16160 
   16161 
   16162 
   16163 
   16164 
   16165 xorg_testset_save_CFLAGS="$CFLAGS"
   16166 
   16167 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16168 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16169 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16170 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16171 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16172 then :
   16173   printf %s "(cached) " >&6
   16174 else $as_nop
   16175   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16176 /* end confdefs.h.  */
   16177 int i;
   16178 _ACEOF
   16179 if ac_fn_c_try_compile "$LINENO"
   16180 then :
   16181   xorg_cv_cc_flag_unknown_warning_option=yes
   16182 else $as_nop
   16183   xorg_cv_cc_flag_unknown_warning_option=no
   16184 fi
   16185 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16186 fi
   16187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16188 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16189 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16190 	CFLAGS="$xorg_testset_save_CFLAGS"
   16191 fi
   16192 
   16193 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16194 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16195 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16196 	fi
   16197 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16198 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16199 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16200 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16201 then :
   16202   printf %s "(cached) " >&6
   16203 else $as_nop
   16204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16205 /* end confdefs.h.  */
   16206 int i;
   16207 _ACEOF
   16208 if ac_fn_c_try_compile "$LINENO"
   16209 then :
   16210   xorg_cv_cc_flag_unused_command_line_argument=yes
   16211 else $as_nop
   16212   xorg_cv_cc_flag_unused_command_line_argument=no
   16213 fi
   16214 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16215 fi
   16216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16217 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16218 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16219 	CFLAGS="$xorg_testset_save_CFLAGS"
   16220 fi
   16221 
   16222 found="no"
   16223 
   16224 	if test $found = "no" ; then
   16225 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16226 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16227 		fi
   16228 
   16229 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16230 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16231 		fi
   16232 
   16233 		CFLAGS="$CFLAGS -Werror=trigraphs"
   16234 
   16235 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   16236 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   16237 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   16238 		if eval test \${$cacheid+y}
   16239 then :
   16240   printf %s "(cached) " >&6
   16241 else $as_nop
   16242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16243 /* end confdefs.h.  */
   16244 int i;
   16245 int
   16246 main (void)
   16247 {
   16248 
   16249   ;
   16250   return 0;
   16251 }
   16252 _ACEOF
   16253 if ac_fn_c_try_link "$LINENO"
   16254 then :
   16255   eval $cacheid=yes
   16256 else $as_nop
   16257   eval $cacheid=no
   16258 fi
   16259 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16260     conftest$ac_exeext conftest.$ac_ext
   16261 fi
   16262 
   16263 
   16264 		CFLAGS="$xorg_testset_save_CFLAGS"
   16265 
   16266 		eval supported=\$$cacheid
   16267 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16268 printf "%s\n" "$supported" >&6; }
   16269 		if test "$supported" = "yes" ; then
   16270 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   16271 			found="yes"
   16272 		fi
   16273 	fi
   16274 
   16275 
   16276 
   16277 
   16278 
   16279 
   16280 
   16281 
   16282 
   16283 
   16284 
   16285 
   16286 
   16287 
   16288 
   16289 xorg_testset_save_CFLAGS="$CFLAGS"
   16290 
   16291 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16292 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16293 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16294 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16295 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16296 then :
   16297   printf %s "(cached) " >&6
   16298 else $as_nop
   16299   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16300 /* end confdefs.h.  */
   16301 int i;
   16302 _ACEOF
   16303 if ac_fn_c_try_compile "$LINENO"
   16304 then :
   16305   xorg_cv_cc_flag_unknown_warning_option=yes
   16306 else $as_nop
   16307   xorg_cv_cc_flag_unknown_warning_option=no
   16308 fi
   16309 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16310 fi
   16311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16312 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16313 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16314 	CFLAGS="$xorg_testset_save_CFLAGS"
   16315 fi
   16316 
   16317 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16318 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16319 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16320 	fi
   16321 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16322 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16323 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16324 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16325 then :
   16326   printf %s "(cached) " >&6
   16327 else $as_nop
   16328   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16329 /* end confdefs.h.  */
   16330 int i;
   16331 _ACEOF
   16332 if ac_fn_c_try_compile "$LINENO"
   16333 then :
   16334   xorg_cv_cc_flag_unused_command_line_argument=yes
   16335 else $as_nop
   16336   xorg_cv_cc_flag_unused_command_line_argument=no
   16337 fi
   16338 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16339 fi
   16340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16341 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16342 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16343 	CFLAGS="$xorg_testset_save_CFLAGS"
   16344 fi
   16345 
   16346 found="no"
   16347 
   16348 	if test $found = "no" ; then
   16349 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16350 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16351 		fi
   16352 
   16353 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16354 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16355 		fi
   16356 
   16357 		CFLAGS="$CFLAGS -Werror=array-bounds"
   16358 
   16359 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   16360 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   16361 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   16362 		if eval test \${$cacheid+y}
   16363 then :
   16364   printf %s "(cached) " >&6
   16365 else $as_nop
   16366   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16367 /* end confdefs.h.  */
   16368 int i;
   16369 int
   16370 main (void)
   16371 {
   16372 
   16373   ;
   16374   return 0;
   16375 }
   16376 _ACEOF
   16377 if ac_fn_c_try_link "$LINENO"
   16378 then :
   16379   eval $cacheid=yes
   16380 else $as_nop
   16381   eval $cacheid=no
   16382 fi
   16383 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16384     conftest$ac_exeext conftest.$ac_ext
   16385 fi
   16386 
   16387 
   16388 		CFLAGS="$xorg_testset_save_CFLAGS"
   16389 
   16390 		eval supported=\$$cacheid
   16391 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16392 printf "%s\n" "$supported" >&6; }
   16393 		if test "$supported" = "yes" ; then
   16394 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   16395 			found="yes"
   16396 		fi
   16397 	fi
   16398 
   16399 
   16400 
   16401 
   16402 
   16403 
   16404 
   16405 
   16406 
   16407 
   16408 
   16409 
   16410 
   16411 
   16412 
   16413 xorg_testset_save_CFLAGS="$CFLAGS"
   16414 
   16415 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16416 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16417 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16418 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16419 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16420 then :
   16421   printf %s "(cached) " >&6
   16422 else $as_nop
   16423   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16424 /* end confdefs.h.  */
   16425 int i;
   16426 _ACEOF
   16427 if ac_fn_c_try_compile "$LINENO"
   16428 then :
   16429   xorg_cv_cc_flag_unknown_warning_option=yes
   16430 else $as_nop
   16431   xorg_cv_cc_flag_unknown_warning_option=no
   16432 fi
   16433 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16434 fi
   16435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16436 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16437 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16438 	CFLAGS="$xorg_testset_save_CFLAGS"
   16439 fi
   16440 
   16441 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16442 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16443 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16444 	fi
   16445 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16446 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16447 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16448 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16449 then :
   16450   printf %s "(cached) " >&6
   16451 else $as_nop
   16452   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16453 /* end confdefs.h.  */
   16454 int i;
   16455 _ACEOF
   16456 if ac_fn_c_try_compile "$LINENO"
   16457 then :
   16458   xorg_cv_cc_flag_unused_command_line_argument=yes
   16459 else $as_nop
   16460   xorg_cv_cc_flag_unused_command_line_argument=no
   16461 fi
   16462 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16463 fi
   16464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16465 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16466 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16467 	CFLAGS="$xorg_testset_save_CFLAGS"
   16468 fi
   16469 
   16470 found="no"
   16471 
   16472 	if test $found = "no" ; then
   16473 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16474 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16475 		fi
   16476 
   16477 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16478 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16479 		fi
   16480 
   16481 		CFLAGS="$CFLAGS -Werror=write-strings"
   16482 
   16483 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   16484 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   16485 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   16486 		if eval test \${$cacheid+y}
   16487 then :
   16488   printf %s "(cached) " >&6
   16489 else $as_nop
   16490   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16491 /* end confdefs.h.  */
   16492 int i;
   16493 int
   16494 main (void)
   16495 {
   16496 
   16497   ;
   16498   return 0;
   16499 }
   16500 _ACEOF
   16501 if ac_fn_c_try_link "$LINENO"
   16502 then :
   16503   eval $cacheid=yes
   16504 else $as_nop
   16505   eval $cacheid=no
   16506 fi
   16507 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16508     conftest$ac_exeext conftest.$ac_ext
   16509 fi
   16510 
   16511 
   16512 		CFLAGS="$xorg_testset_save_CFLAGS"
   16513 
   16514 		eval supported=\$$cacheid
   16515 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16516 printf "%s\n" "$supported" >&6; }
   16517 		if test "$supported" = "yes" ; then
   16518 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   16519 			found="yes"
   16520 		fi
   16521 	fi
   16522 
   16523 
   16524 
   16525 
   16526 
   16527 
   16528 
   16529 
   16530 
   16531 
   16532 
   16533 
   16534 
   16535 
   16536 
   16537 xorg_testset_save_CFLAGS="$CFLAGS"
   16538 
   16539 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16540 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16541 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16542 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16543 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16544 then :
   16545   printf %s "(cached) " >&6
   16546 else $as_nop
   16547   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16548 /* end confdefs.h.  */
   16549 int i;
   16550 _ACEOF
   16551 if ac_fn_c_try_compile "$LINENO"
   16552 then :
   16553   xorg_cv_cc_flag_unknown_warning_option=yes
   16554 else $as_nop
   16555   xorg_cv_cc_flag_unknown_warning_option=no
   16556 fi
   16557 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16558 fi
   16559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16560 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16561 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16562 	CFLAGS="$xorg_testset_save_CFLAGS"
   16563 fi
   16564 
   16565 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16566 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16567 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16568 	fi
   16569 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16570 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16571 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16572 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16573 then :
   16574   printf %s "(cached) " >&6
   16575 else $as_nop
   16576   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16577 /* end confdefs.h.  */
   16578 int i;
   16579 _ACEOF
   16580 if ac_fn_c_try_compile "$LINENO"
   16581 then :
   16582   xorg_cv_cc_flag_unused_command_line_argument=yes
   16583 else $as_nop
   16584   xorg_cv_cc_flag_unused_command_line_argument=no
   16585 fi
   16586 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16587 fi
   16588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16589 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16590 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16591 	CFLAGS="$xorg_testset_save_CFLAGS"
   16592 fi
   16593 
   16594 found="no"
   16595 
   16596 	if test $found = "no" ; then
   16597 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16598 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16599 		fi
   16600 
   16601 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16602 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16603 		fi
   16604 
   16605 		CFLAGS="$CFLAGS -Werror=address"
   16606 
   16607 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   16608 printf %s "checking if $CC supports -Werror=address... " >&6; }
   16609 		cacheid=xorg_cv_cc_flag__Werror_address
   16610 		if eval test \${$cacheid+y}
   16611 then :
   16612   printf %s "(cached) " >&6
   16613 else $as_nop
   16614   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16615 /* end confdefs.h.  */
   16616 int i;
   16617 int
   16618 main (void)
   16619 {
   16620 
   16621   ;
   16622   return 0;
   16623 }
   16624 _ACEOF
   16625 if ac_fn_c_try_link "$LINENO"
   16626 then :
   16627   eval $cacheid=yes
   16628 else $as_nop
   16629   eval $cacheid=no
   16630 fi
   16631 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16632     conftest$ac_exeext conftest.$ac_ext
   16633 fi
   16634 
   16635 
   16636 		CFLAGS="$xorg_testset_save_CFLAGS"
   16637 
   16638 		eval supported=\$$cacheid
   16639 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16640 printf "%s\n" "$supported" >&6; }
   16641 		if test "$supported" = "yes" ; then
   16642 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   16643 			found="yes"
   16644 		fi
   16645 	fi
   16646 
   16647 
   16648 
   16649 
   16650 
   16651 
   16652 
   16653 
   16654 
   16655 
   16656 
   16657 
   16658 
   16659 
   16660 
   16661 xorg_testset_save_CFLAGS="$CFLAGS"
   16662 
   16663 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16664 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16665 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16666 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16667 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16668 then :
   16669   printf %s "(cached) " >&6
   16670 else $as_nop
   16671   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16672 /* end confdefs.h.  */
   16673 int i;
   16674 _ACEOF
   16675 if ac_fn_c_try_compile "$LINENO"
   16676 then :
   16677   xorg_cv_cc_flag_unknown_warning_option=yes
   16678 else $as_nop
   16679   xorg_cv_cc_flag_unknown_warning_option=no
   16680 fi
   16681 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16682 fi
   16683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16684 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16685 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16686 	CFLAGS="$xorg_testset_save_CFLAGS"
   16687 fi
   16688 
   16689 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16690 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16691 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16692 	fi
   16693 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16694 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16695 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16696 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16697 then :
   16698   printf %s "(cached) " >&6
   16699 else $as_nop
   16700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16701 /* end confdefs.h.  */
   16702 int i;
   16703 _ACEOF
   16704 if ac_fn_c_try_compile "$LINENO"
   16705 then :
   16706   xorg_cv_cc_flag_unused_command_line_argument=yes
   16707 else $as_nop
   16708   xorg_cv_cc_flag_unused_command_line_argument=no
   16709 fi
   16710 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16711 fi
   16712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16713 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16714 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16715 	CFLAGS="$xorg_testset_save_CFLAGS"
   16716 fi
   16717 
   16718 found="no"
   16719 
   16720 	if test $found = "no" ; then
   16721 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16722 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16723 		fi
   16724 
   16725 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16726 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16727 		fi
   16728 
   16729 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   16730 
   16731 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   16732 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   16733 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   16734 		if eval test \${$cacheid+y}
   16735 then :
   16736   printf %s "(cached) " >&6
   16737 else $as_nop
   16738   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16739 /* end confdefs.h.  */
   16740 int i;
   16741 int
   16742 main (void)
   16743 {
   16744 
   16745   ;
   16746   return 0;
   16747 }
   16748 _ACEOF
   16749 if ac_fn_c_try_link "$LINENO"
   16750 then :
   16751   eval $cacheid=yes
   16752 else $as_nop
   16753   eval $cacheid=no
   16754 fi
   16755 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16756     conftest$ac_exeext conftest.$ac_ext
   16757 fi
   16758 
   16759 
   16760 		CFLAGS="$xorg_testset_save_CFLAGS"
   16761 
   16762 		eval supported=\$$cacheid
   16763 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16764 printf "%s\n" "$supported" >&6; }
   16765 		if test "$supported" = "yes" ; then
   16766 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   16767 			found="yes"
   16768 		fi
   16769 	fi
   16770 
   16771 	if test $found = "no" ; then
   16772 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16773 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16774 		fi
   16775 
   16776 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16777 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16778 		fi
   16779 
   16780 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16781 
   16782 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   16783 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   16784 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   16785 		if eval test \${$cacheid+y}
   16786 then :
   16787   printf %s "(cached) " >&6
   16788 else $as_nop
   16789   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16790 /* end confdefs.h.  */
   16791 int i;
   16792 int
   16793 main (void)
   16794 {
   16795 
   16796   ;
   16797   return 0;
   16798 }
   16799 _ACEOF
   16800 if ac_fn_c_try_link "$LINENO"
   16801 then :
   16802   eval $cacheid=yes
   16803 else $as_nop
   16804   eval $cacheid=no
   16805 fi
   16806 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16807     conftest$ac_exeext conftest.$ac_ext
   16808 fi
   16809 
   16810 
   16811 		CFLAGS="$xorg_testset_save_CFLAGS"
   16812 
   16813 		eval supported=\$$cacheid
   16814 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16815 printf "%s\n" "$supported" >&6; }
   16816 		if test "$supported" = "yes" ; then
   16817 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16818 			found="yes"
   16819 		fi
   16820 	fi
   16821 
   16822 
   16823 
   16824 
   16825 
   16826 
   16827 
   16828 
   16829 
   16830 
   16831 
   16832 
   16833 
   16834 
   16835 
   16836 xorg_testset_save_CFLAGS="$CFLAGS"
   16837 
   16838 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16839 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16840 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16841 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16842 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16843 then :
   16844   printf %s "(cached) " >&6
   16845 else $as_nop
   16846   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16847 /* end confdefs.h.  */
   16848 int i;
   16849 _ACEOF
   16850 if ac_fn_c_try_compile "$LINENO"
   16851 then :
   16852   xorg_cv_cc_flag_unknown_warning_option=yes
   16853 else $as_nop
   16854   xorg_cv_cc_flag_unknown_warning_option=no
   16855 fi
   16856 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16857 fi
   16858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16859 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16860 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16861 	CFLAGS="$xorg_testset_save_CFLAGS"
   16862 fi
   16863 
   16864 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16865 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16866 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16867 	fi
   16868 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16869 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16870 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16871 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16872 then :
   16873   printf %s "(cached) " >&6
   16874 else $as_nop
   16875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16876 /* end confdefs.h.  */
   16877 int i;
   16878 _ACEOF
   16879 if ac_fn_c_try_compile "$LINENO"
   16880 then :
   16881   xorg_cv_cc_flag_unused_command_line_argument=yes
   16882 else $as_nop
   16883   xorg_cv_cc_flag_unused_command_line_argument=no
   16884 fi
   16885 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16886 fi
   16887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16888 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16889 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16890 	CFLAGS="$xorg_testset_save_CFLAGS"
   16891 fi
   16892 
   16893 found="no"
   16894 
   16895 	if test $found = "no" ; then
   16896 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16897 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16898 		fi
   16899 
   16900 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16901 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16902 		fi
   16903 
   16904 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   16905 
   16906 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   16907 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   16908 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   16909 		if eval test \${$cacheid+y}
   16910 then :
   16911   printf %s "(cached) " >&6
   16912 else $as_nop
   16913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16914 /* end confdefs.h.  */
   16915 int i;
   16916 int
   16917 main (void)
   16918 {
   16919 
   16920   ;
   16921   return 0;
   16922 }
   16923 _ACEOF
   16924 if ac_fn_c_try_link "$LINENO"
   16925 then :
   16926   eval $cacheid=yes
   16927 else $as_nop
   16928   eval $cacheid=no
   16929 fi
   16930 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16931     conftest$ac_exeext conftest.$ac_ext
   16932 fi
   16933 
   16934 
   16935 		CFLAGS="$xorg_testset_save_CFLAGS"
   16936 
   16937 		eval supported=\$$cacheid
   16938 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16939 printf "%s\n" "$supported" >&6; }
   16940 		if test "$supported" = "yes" ; then
   16941 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   16942 			found="yes"
   16943 		fi
   16944 	fi
   16945 
   16946  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   16947 else
   16948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: You have chosen not to turn some select compiler warnings into errors.  This should not be necessary.  Please report why you needed to do so in a bug report at $PACKAGE_BUGREPORT" >&5
   16949 printf "%s\n" "$as_me: WARNING: You have chosen not to turn some select compiler warnings into errors.  This should not be necessary.  Please report why you needed to do so in a bug report at $PACKAGE_BUGREPORT" >&2;}
   16950 
   16951 
   16952 
   16953 
   16954 
   16955 
   16956 
   16957 
   16958 
   16959 
   16960 
   16961 
   16962 
   16963 xorg_testset_save_CFLAGS="$CFLAGS"
   16964 
   16965 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16966 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16967 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16968 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16969 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16970 then :
   16971   printf %s "(cached) " >&6
   16972 else $as_nop
   16973   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16974 /* end confdefs.h.  */
   16975 int i;
   16976 _ACEOF
   16977 if ac_fn_c_try_compile "$LINENO"
   16978 then :
   16979   xorg_cv_cc_flag_unknown_warning_option=yes
   16980 else $as_nop
   16981   xorg_cv_cc_flag_unknown_warning_option=no
   16982 fi
   16983 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16984 fi
   16985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16986 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16987 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16988 	CFLAGS="$xorg_testset_save_CFLAGS"
   16989 fi
   16990 
   16991 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16992 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16993 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16994 	fi
   16995 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16996 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16997 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16998 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16999 then :
   17000   printf %s "(cached) " >&6
   17001 else $as_nop
   17002   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17003 /* end confdefs.h.  */
   17004 int i;
   17005 _ACEOF
   17006 if ac_fn_c_try_compile "$LINENO"
   17007 then :
   17008   xorg_cv_cc_flag_unused_command_line_argument=yes
   17009 else $as_nop
   17010   xorg_cv_cc_flag_unused_command_line_argument=no
   17011 fi
   17012 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17013 fi
   17014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17015 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17016 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17017 	CFLAGS="$xorg_testset_save_CFLAGS"
   17018 fi
   17019 
   17020 found="no"
   17021 
   17022 	if test $found = "no" ; then
   17023 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17024 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17025 		fi
   17026 
   17027 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17028 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17029 		fi
   17030 
   17031 		CFLAGS="$CFLAGS -Wimplicit"
   17032 
   17033 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   17034 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   17035 		cacheid=xorg_cv_cc_flag__Wimplicit
   17036 		if eval test \${$cacheid+y}
   17037 then :
   17038   printf %s "(cached) " >&6
   17039 else $as_nop
   17040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17041 /* end confdefs.h.  */
   17042 int i;
   17043 int
   17044 main (void)
   17045 {
   17046 
   17047   ;
   17048   return 0;
   17049 }
   17050 _ACEOF
   17051 if ac_fn_c_try_link "$LINENO"
   17052 then :
   17053   eval $cacheid=yes
   17054 else $as_nop
   17055   eval $cacheid=no
   17056 fi
   17057 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17058     conftest$ac_exeext conftest.$ac_ext
   17059 fi
   17060 
   17061 
   17062 		CFLAGS="$xorg_testset_save_CFLAGS"
   17063 
   17064 		eval supported=\$$cacheid
   17065 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17066 printf "%s\n" "$supported" >&6; }
   17067 		if test "$supported" = "yes" ; then
   17068 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   17069 			found="yes"
   17070 		fi
   17071 	fi
   17072 
   17073 
   17074 
   17075 
   17076 
   17077 
   17078 
   17079 
   17080 
   17081 
   17082 
   17083 
   17084 
   17085 
   17086 
   17087 xorg_testset_save_CFLAGS="$CFLAGS"
   17088 
   17089 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17090 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17091 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17092 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17093 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17094 then :
   17095   printf %s "(cached) " >&6
   17096 else $as_nop
   17097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17098 /* end confdefs.h.  */
   17099 int i;
   17100 _ACEOF
   17101 if ac_fn_c_try_compile "$LINENO"
   17102 then :
   17103   xorg_cv_cc_flag_unknown_warning_option=yes
   17104 else $as_nop
   17105   xorg_cv_cc_flag_unknown_warning_option=no
   17106 fi
   17107 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17108 fi
   17109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17110 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17111 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17112 	CFLAGS="$xorg_testset_save_CFLAGS"
   17113 fi
   17114 
   17115 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17116 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17117 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17118 	fi
   17119 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17120 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17121 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17122 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17123 then :
   17124   printf %s "(cached) " >&6
   17125 else $as_nop
   17126   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17127 /* end confdefs.h.  */
   17128 int i;
   17129 _ACEOF
   17130 if ac_fn_c_try_compile "$LINENO"
   17131 then :
   17132   xorg_cv_cc_flag_unused_command_line_argument=yes
   17133 else $as_nop
   17134   xorg_cv_cc_flag_unused_command_line_argument=no
   17135 fi
   17136 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17137 fi
   17138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17139 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17140 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17141 	CFLAGS="$xorg_testset_save_CFLAGS"
   17142 fi
   17143 
   17144 found="no"
   17145 
   17146 	if test $found = "no" ; then
   17147 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17148 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17149 		fi
   17150 
   17151 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17152 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17153 		fi
   17154 
   17155 		CFLAGS="$CFLAGS -Wnonnull"
   17156 
   17157 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   17158 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   17159 		cacheid=xorg_cv_cc_flag__Wnonnull
   17160 		if eval test \${$cacheid+y}
   17161 then :
   17162   printf %s "(cached) " >&6
   17163 else $as_nop
   17164   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17165 /* end confdefs.h.  */
   17166 int i;
   17167 int
   17168 main (void)
   17169 {
   17170 
   17171   ;
   17172   return 0;
   17173 }
   17174 _ACEOF
   17175 if ac_fn_c_try_link "$LINENO"
   17176 then :
   17177   eval $cacheid=yes
   17178 else $as_nop
   17179   eval $cacheid=no
   17180 fi
   17181 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17182     conftest$ac_exeext conftest.$ac_ext
   17183 fi
   17184 
   17185 
   17186 		CFLAGS="$xorg_testset_save_CFLAGS"
   17187 
   17188 		eval supported=\$$cacheid
   17189 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17190 printf "%s\n" "$supported" >&6; }
   17191 		if test "$supported" = "yes" ; then
   17192 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   17193 			found="yes"
   17194 		fi
   17195 	fi
   17196 
   17197 
   17198 
   17199 
   17200 
   17201 
   17202 
   17203 
   17204 
   17205 
   17206 
   17207 
   17208 
   17209 
   17210 
   17211 xorg_testset_save_CFLAGS="$CFLAGS"
   17212 
   17213 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17214 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17215 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17216 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17217 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17218 then :
   17219   printf %s "(cached) " >&6
   17220 else $as_nop
   17221   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17222 /* end confdefs.h.  */
   17223 int i;
   17224 _ACEOF
   17225 if ac_fn_c_try_compile "$LINENO"
   17226 then :
   17227   xorg_cv_cc_flag_unknown_warning_option=yes
   17228 else $as_nop
   17229   xorg_cv_cc_flag_unknown_warning_option=no
   17230 fi
   17231 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17232 fi
   17233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17234 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17235 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17236 	CFLAGS="$xorg_testset_save_CFLAGS"
   17237 fi
   17238 
   17239 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17240 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17241 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17242 	fi
   17243 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17244 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17245 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17246 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17247 then :
   17248   printf %s "(cached) " >&6
   17249 else $as_nop
   17250   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17251 /* end confdefs.h.  */
   17252 int i;
   17253 _ACEOF
   17254 if ac_fn_c_try_compile "$LINENO"
   17255 then :
   17256   xorg_cv_cc_flag_unused_command_line_argument=yes
   17257 else $as_nop
   17258   xorg_cv_cc_flag_unused_command_line_argument=no
   17259 fi
   17260 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17261 fi
   17262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17263 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17264 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17265 	CFLAGS="$xorg_testset_save_CFLAGS"
   17266 fi
   17267 
   17268 found="no"
   17269 
   17270 	if test $found = "no" ; then
   17271 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17272 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17273 		fi
   17274 
   17275 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17276 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17277 		fi
   17278 
   17279 		CFLAGS="$CFLAGS -Winit-self"
   17280 
   17281 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   17282 printf %s "checking if $CC supports -Winit-self... " >&6; }
   17283 		cacheid=xorg_cv_cc_flag__Winit_self
   17284 		if eval test \${$cacheid+y}
   17285 then :
   17286   printf %s "(cached) " >&6
   17287 else $as_nop
   17288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17289 /* end confdefs.h.  */
   17290 int i;
   17291 int
   17292 main (void)
   17293 {
   17294 
   17295   ;
   17296   return 0;
   17297 }
   17298 _ACEOF
   17299 if ac_fn_c_try_link "$LINENO"
   17300 then :
   17301   eval $cacheid=yes
   17302 else $as_nop
   17303   eval $cacheid=no
   17304 fi
   17305 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17306     conftest$ac_exeext conftest.$ac_ext
   17307 fi
   17308 
   17309 
   17310 		CFLAGS="$xorg_testset_save_CFLAGS"
   17311 
   17312 		eval supported=\$$cacheid
   17313 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17314 printf "%s\n" "$supported" >&6; }
   17315 		if test "$supported" = "yes" ; then
   17316 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   17317 			found="yes"
   17318 		fi
   17319 	fi
   17320 
   17321 
   17322 
   17323 
   17324 
   17325 
   17326 
   17327 
   17328 
   17329 
   17330 
   17331 
   17332 
   17333 
   17334 
   17335 xorg_testset_save_CFLAGS="$CFLAGS"
   17336 
   17337 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17338 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17339 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17340 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17341 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17342 then :
   17343   printf %s "(cached) " >&6
   17344 else $as_nop
   17345   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17346 /* end confdefs.h.  */
   17347 int i;
   17348 _ACEOF
   17349 if ac_fn_c_try_compile "$LINENO"
   17350 then :
   17351   xorg_cv_cc_flag_unknown_warning_option=yes
   17352 else $as_nop
   17353   xorg_cv_cc_flag_unknown_warning_option=no
   17354 fi
   17355 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17356 fi
   17357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17358 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17359 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17360 	CFLAGS="$xorg_testset_save_CFLAGS"
   17361 fi
   17362 
   17363 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17364 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17365 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17366 	fi
   17367 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17368 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17369 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17370 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17371 then :
   17372   printf %s "(cached) " >&6
   17373 else $as_nop
   17374   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17375 /* end confdefs.h.  */
   17376 int i;
   17377 _ACEOF
   17378 if ac_fn_c_try_compile "$LINENO"
   17379 then :
   17380   xorg_cv_cc_flag_unused_command_line_argument=yes
   17381 else $as_nop
   17382   xorg_cv_cc_flag_unused_command_line_argument=no
   17383 fi
   17384 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17385 fi
   17386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17387 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17388 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17389 	CFLAGS="$xorg_testset_save_CFLAGS"
   17390 fi
   17391 
   17392 found="no"
   17393 
   17394 	if test $found = "no" ; then
   17395 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17396 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17397 		fi
   17398 
   17399 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17400 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17401 		fi
   17402 
   17403 		CFLAGS="$CFLAGS -Wmain"
   17404 
   17405 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   17406 printf %s "checking if $CC supports -Wmain... " >&6; }
   17407 		cacheid=xorg_cv_cc_flag__Wmain
   17408 		if eval test \${$cacheid+y}
   17409 then :
   17410   printf %s "(cached) " >&6
   17411 else $as_nop
   17412   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17413 /* end confdefs.h.  */
   17414 int i;
   17415 int
   17416 main (void)
   17417 {
   17418 
   17419   ;
   17420   return 0;
   17421 }
   17422 _ACEOF
   17423 if ac_fn_c_try_link "$LINENO"
   17424 then :
   17425   eval $cacheid=yes
   17426 else $as_nop
   17427   eval $cacheid=no
   17428 fi
   17429 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17430     conftest$ac_exeext conftest.$ac_ext
   17431 fi
   17432 
   17433 
   17434 		CFLAGS="$xorg_testset_save_CFLAGS"
   17435 
   17436 		eval supported=\$$cacheid
   17437 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17438 printf "%s\n" "$supported" >&6; }
   17439 		if test "$supported" = "yes" ; then
   17440 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   17441 			found="yes"
   17442 		fi
   17443 	fi
   17444 
   17445 
   17446 
   17447 
   17448 
   17449 
   17450 
   17451 
   17452 
   17453 
   17454 
   17455 
   17456 
   17457 
   17458 
   17459 xorg_testset_save_CFLAGS="$CFLAGS"
   17460 
   17461 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17462 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17463 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17464 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17465 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17466 then :
   17467   printf %s "(cached) " >&6
   17468 else $as_nop
   17469   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17470 /* end confdefs.h.  */
   17471 int i;
   17472 _ACEOF
   17473 if ac_fn_c_try_compile "$LINENO"
   17474 then :
   17475   xorg_cv_cc_flag_unknown_warning_option=yes
   17476 else $as_nop
   17477   xorg_cv_cc_flag_unknown_warning_option=no
   17478 fi
   17479 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17480 fi
   17481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17482 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17483 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17484 	CFLAGS="$xorg_testset_save_CFLAGS"
   17485 fi
   17486 
   17487 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17488 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17489 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17490 	fi
   17491 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17492 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17493 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17494 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17495 then :
   17496   printf %s "(cached) " >&6
   17497 else $as_nop
   17498   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17499 /* end confdefs.h.  */
   17500 int i;
   17501 _ACEOF
   17502 if ac_fn_c_try_compile "$LINENO"
   17503 then :
   17504   xorg_cv_cc_flag_unused_command_line_argument=yes
   17505 else $as_nop
   17506   xorg_cv_cc_flag_unused_command_line_argument=no
   17507 fi
   17508 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17509 fi
   17510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17511 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17512 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17513 	CFLAGS="$xorg_testset_save_CFLAGS"
   17514 fi
   17515 
   17516 found="no"
   17517 
   17518 	if test $found = "no" ; then
   17519 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17520 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17521 		fi
   17522 
   17523 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17524 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17525 		fi
   17526 
   17527 		CFLAGS="$CFLAGS -Wmissing-braces"
   17528 
   17529 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   17530 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   17531 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   17532 		if eval test \${$cacheid+y}
   17533 then :
   17534   printf %s "(cached) " >&6
   17535 else $as_nop
   17536   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17537 /* end confdefs.h.  */
   17538 int i;
   17539 int
   17540 main (void)
   17541 {
   17542 
   17543   ;
   17544   return 0;
   17545 }
   17546 _ACEOF
   17547 if ac_fn_c_try_link "$LINENO"
   17548 then :
   17549   eval $cacheid=yes
   17550 else $as_nop
   17551   eval $cacheid=no
   17552 fi
   17553 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17554     conftest$ac_exeext conftest.$ac_ext
   17555 fi
   17556 
   17557 
   17558 		CFLAGS="$xorg_testset_save_CFLAGS"
   17559 
   17560 		eval supported=\$$cacheid
   17561 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17562 printf "%s\n" "$supported" >&6; }
   17563 		if test "$supported" = "yes" ; then
   17564 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   17565 			found="yes"
   17566 		fi
   17567 	fi
   17568 
   17569 
   17570 
   17571 
   17572 
   17573 
   17574 
   17575 
   17576 
   17577 
   17578 
   17579 
   17580 
   17581 
   17582 
   17583 xorg_testset_save_CFLAGS="$CFLAGS"
   17584 
   17585 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17586 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17587 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17588 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17589 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17590 then :
   17591   printf %s "(cached) " >&6
   17592 else $as_nop
   17593   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17594 /* end confdefs.h.  */
   17595 int i;
   17596 _ACEOF
   17597 if ac_fn_c_try_compile "$LINENO"
   17598 then :
   17599   xorg_cv_cc_flag_unknown_warning_option=yes
   17600 else $as_nop
   17601   xorg_cv_cc_flag_unknown_warning_option=no
   17602 fi
   17603 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17604 fi
   17605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17606 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17607 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17608 	CFLAGS="$xorg_testset_save_CFLAGS"
   17609 fi
   17610 
   17611 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17612 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17613 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17614 	fi
   17615 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17616 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17617 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17618 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17619 then :
   17620   printf %s "(cached) " >&6
   17621 else $as_nop
   17622   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17623 /* end confdefs.h.  */
   17624 int i;
   17625 _ACEOF
   17626 if ac_fn_c_try_compile "$LINENO"
   17627 then :
   17628   xorg_cv_cc_flag_unused_command_line_argument=yes
   17629 else $as_nop
   17630   xorg_cv_cc_flag_unused_command_line_argument=no
   17631 fi
   17632 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17633 fi
   17634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17635 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17636 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17637 	CFLAGS="$xorg_testset_save_CFLAGS"
   17638 fi
   17639 
   17640 found="no"
   17641 
   17642 	if test $found = "no" ; then
   17643 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17644 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17645 		fi
   17646 
   17647 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17648 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17649 		fi
   17650 
   17651 		CFLAGS="$CFLAGS -Wsequence-point"
   17652 
   17653 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   17654 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   17655 		cacheid=xorg_cv_cc_flag__Wsequence_point
   17656 		if eval test \${$cacheid+y}
   17657 then :
   17658   printf %s "(cached) " >&6
   17659 else $as_nop
   17660   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17661 /* end confdefs.h.  */
   17662 int i;
   17663 int
   17664 main (void)
   17665 {
   17666 
   17667   ;
   17668   return 0;
   17669 }
   17670 _ACEOF
   17671 if ac_fn_c_try_link "$LINENO"
   17672 then :
   17673   eval $cacheid=yes
   17674 else $as_nop
   17675   eval $cacheid=no
   17676 fi
   17677 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17678     conftest$ac_exeext conftest.$ac_ext
   17679 fi
   17680 
   17681 
   17682 		CFLAGS="$xorg_testset_save_CFLAGS"
   17683 
   17684 		eval supported=\$$cacheid
   17685 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17686 printf "%s\n" "$supported" >&6; }
   17687 		if test "$supported" = "yes" ; then
   17688 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   17689 			found="yes"
   17690 		fi
   17691 	fi
   17692 
   17693 
   17694 
   17695 
   17696 
   17697 
   17698 
   17699 
   17700 
   17701 
   17702 
   17703 
   17704 
   17705 
   17706 
   17707 xorg_testset_save_CFLAGS="$CFLAGS"
   17708 
   17709 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17710 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17711 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17712 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17713 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17714 then :
   17715   printf %s "(cached) " >&6
   17716 else $as_nop
   17717   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17718 /* end confdefs.h.  */
   17719 int i;
   17720 _ACEOF
   17721 if ac_fn_c_try_compile "$LINENO"
   17722 then :
   17723   xorg_cv_cc_flag_unknown_warning_option=yes
   17724 else $as_nop
   17725   xorg_cv_cc_flag_unknown_warning_option=no
   17726 fi
   17727 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17728 fi
   17729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17730 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17731 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17732 	CFLAGS="$xorg_testset_save_CFLAGS"
   17733 fi
   17734 
   17735 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17736 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17737 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17738 	fi
   17739 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17740 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17741 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17742 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17743 then :
   17744   printf %s "(cached) " >&6
   17745 else $as_nop
   17746   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17747 /* end confdefs.h.  */
   17748 int i;
   17749 _ACEOF
   17750 if ac_fn_c_try_compile "$LINENO"
   17751 then :
   17752   xorg_cv_cc_flag_unused_command_line_argument=yes
   17753 else $as_nop
   17754   xorg_cv_cc_flag_unused_command_line_argument=no
   17755 fi
   17756 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17757 fi
   17758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17759 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17760 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17761 	CFLAGS="$xorg_testset_save_CFLAGS"
   17762 fi
   17763 
   17764 found="no"
   17765 
   17766 	if test $found = "no" ; then
   17767 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17768 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17769 		fi
   17770 
   17771 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17772 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17773 		fi
   17774 
   17775 		CFLAGS="$CFLAGS -Wreturn-type"
   17776 
   17777 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   17778 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   17779 		cacheid=xorg_cv_cc_flag__Wreturn_type
   17780 		if eval test \${$cacheid+y}
   17781 then :
   17782   printf %s "(cached) " >&6
   17783 else $as_nop
   17784   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17785 /* end confdefs.h.  */
   17786 int i;
   17787 int
   17788 main (void)
   17789 {
   17790 
   17791   ;
   17792   return 0;
   17793 }
   17794 _ACEOF
   17795 if ac_fn_c_try_link "$LINENO"
   17796 then :
   17797   eval $cacheid=yes
   17798 else $as_nop
   17799   eval $cacheid=no
   17800 fi
   17801 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17802     conftest$ac_exeext conftest.$ac_ext
   17803 fi
   17804 
   17805 
   17806 		CFLAGS="$xorg_testset_save_CFLAGS"
   17807 
   17808 		eval supported=\$$cacheid
   17809 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17810 printf "%s\n" "$supported" >&6; }
   17811 		if test "$supported" = "yes" ; then
   17812 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   17813 			found="yes"
   17814 		fi
   17815 	fi
   17816 
   17817 
   17818 
   17819 
   17820 
   17821 
   17822 
   17823 
   17824 
   17825 
   17826 
   17827 
   17828 
   17829 
   17830 
   17831 xorg_testset_save_CFLAGS="$CFLAGS"
   17832 
   17833 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17834 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17835 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17836 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17837 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17838 then :
   17839   printf %s "(cached) " >&6
   17840 else $as_nop
   17841   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17842 /* end confdefs.h.  */
   17843 int i;
   17844 _ACEOF
   17845 if ac_fn_c_try_compile "$LINENO"
   17846 then :
   17847   xorg_cv_cc_flag_unknown_warning_option=yes
   17848 else $as_nop
   17849   xorg_cv_cc_flag_unknown_warning_option=no
   17850 fi
   17851 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17852 fi
   17853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17854 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17855 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17856 	CFLAGS="$xorg_testset_save_CFLAGS"
   17857 fi
   17858 
   17859 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17860 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17861 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17862 	fi
   17863 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17864 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17865 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17866 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17867 then :
   17868   printf %s "(cached) " >&6
   17869 else $as_nop
   17870   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17871 /* end confdefs.h.  */
   17872 int i;
   17873 _ACEOF
   17874 if ac_fn_c_try_compile "$LINENO"
   17875 then :
   17876   xorg_cv_cc_flag_unused_command_line_argument=yes
   17877 else $as_nop
   17878   xorg_cv_cc_flag_unused_command_line_argument=no
   17879 fi
   17880 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17881 fi
   17882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17883 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17884 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17885 	CFLAGS="$xorg_testset_save_CFLAGS"
   17886 fi
   17887 
   17888 found="no"
   17889 
   17890 	if test $found = "no" ; then
   17891 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17892 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17893 		fi
   17894 
   17895 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17896 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17897 		fi
   17898 
   17899 		CFLAGS="$CFLAGS -Wtrigraphs"
   17900 
   17901 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   17902 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   17903 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   17904 		if eval test \${$cacheid+y}
   17905 then :
   17906   printf %s "(cached) " >&6
   17907 else $as_nop
   17908   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17909 /* end confdefs.h.  */
   17910 int i;
   17911 int
   17912 main (void)
   17913 {
   17914 
   17915   ;
   17916   return 0;
   17917 }
   17918 _ACEOF
   17919 if ac_fn_c_try_link "$LINENO"
   17920 then :
   17921   eval $cacheid=yes
   17922 else $as_nop
   17923   eval $cacheid=no
   17924 fi
   17925 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17926     conftest$ac_exeext conftest.$ac_ext
   17927 fi
   17928 
   17929 
   17930 		CFLAGS="$xorg_testset_save_CFLAGS"
   17931 
   17932 		eval supported=\$$cacheid
   17933 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17934 printf "%s\n" "$supported" >&6; }
   17935 		if test "$supported" = "yes" ; then
   17936 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   17937 			found="yes"
   17938 		fi
   17939 	fi
   17940 
   17941 
   17942 
   17943 
   17944 
   17945 
   17946 
   17947 
   17948 
   17949 
   17950 
   17951 
   17952 
   17953 
   17954 
   17955 xorg_testset_save_CFLAGS="$CFLAGS"
   17956 
   17957 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17958 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17959 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17960 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17961 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17962 then :
   17963   printf %s "(cached) " >&6
   17964 else $as_nop
   17965   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17966 /* end confdefs.h.  */
   17967 int i;
   17968 _ACEOF
   17969 if ac_fn_c_try_compile "$LINENO"
   17970 then :
   17971   xorg_cv_cc_flag_unknown_warning_option=yes
   17972 else $as_nop
   17973   xorg_cv_cc_flag_unknown_warning_option=no
   17974 fi
   17975 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17976 fi
   17977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17978 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17979 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17980 	CFLAGS="$xorg_testset_save_CFLAGS"
   17981 fi
   17982 
   17983 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17984 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17985 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17986 	fi
   17987 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17988 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17989 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17990 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17991 then :
   17992   printf %s "(cached) " >&6
   17993 else $as_nop
   17994   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17995 /* end confdefs.h.  */
   17996 int i;
   17997 _ACEOF
   17998 if ac_fn_c_try_compile "$LINENO"
   17999 then :
   18000   xorg_cv_cc_flag_unused_command_line_argument=yes
   18001 else $as_nop
   18002   xorg_cv_cc_flag_unused_command_line_argument=no
   18003 fi
   18004 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18005 fi
   18006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18007 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18008 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18009 	CFLAGS="$xorg_testset_save_CFLAGS"
   18010 fi
   18011 
   18012 found="no"
   18013 
   18014 	if test $found = "no" ; then
   18015 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18016 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18017 		fi
   18018 
   18019 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18020 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18021 		fi
   18022 
   18023 		CFLAGS="$CFLAGS -Warray-bounds"
   18024 
   18025 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   18026 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   18027 		cacheid=xorg_cv_cc_flag__Warray_bounds
   18028 		if eval test \${$cacheid+y}
   18029 then :
   18030   printf %s "(cached) " >&6
   18031 else $as_nop
   18032   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18033 /* end confdefs.h.  */
   18034 int i;
   18035 int
   18036 main (void)
   18037 {
   18038 
   18039   ;
   18040   return 0;
   18041 }
   18042 _ACEOF
   18043 if ac_fn_c_try_link "$LINENO"
   18044 then :
   18045   eval $cacheid=yes
   18046 else $as_nop
   18047   eval $cacheid=no
   18048 fi
   18049 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18050     conftest$ac_exeext conftest.$ac_ext
   18051 fi
   18052 
   18053 
   18054 		CFLAGS="$xorg_testset_save_CFLAGS"
   18055 
   18056 		eval supported=\$$cacheid
   18057 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18058 printf "%s\n" "$supported" >&6; }
   18059 		if test "$supported" = "yes" ; then
   18060 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   18061 			found="yes"
   18062 		fi
   18063 	fi
   18064 
   18065 
   18066 
   18067 
   18068 
   18069 
   18070 
   18071 
   18072 
   18073 
   18074 
   18075 
   18076 
   18077 
   18078 
   18079 xorg_testset_save_CFLAGS="$CFLAGS"
   18080 
   18081 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18082 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18083 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18084 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18085 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18086 then :
   18087   printf %s "(cached) " >&6
   18088 else $as_nop
   18089   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18090 /* end confdefs.h.  */
   18091 int i;
   18092 _ACEOF
   18093 if ac_fn_c_try_compile "$LINENO"
   18094 then :
   18095   xorg_cv_cc_flag_unknown_warning_option=yes
   18096 else $as_nop
   18097   xorg_cv_cc_flag_unknown_warning_option=no
   18098 fi
   18099 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18100 fi
   18101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18102 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18103 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18104 	CFLAGS="$xorg_testset_save_CFLAGS"
   18105 fi
   18106 
   18107 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18108 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18109 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18110 	fi
   18111 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18112 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18113 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18114 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18115 then :
   18116   printf %s "(cached) " >&6
   18117 else $as_nop
   18118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18119 /* end confdefs.h.  */
   18120 int i;
   18121 _ACEOF
   18122 if ac_fn_c_try_compile "$LINENO"
   18123 then :
   18124   xorg_cv_cc_flag_unused_command_line_argument=yes
   18125 else $as_nop
   18126   xorg_cv_cc_flag_unused_command_line_argument=no
   18127 fi
   18128 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18129 fi
   18130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18131 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18132 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18133 	CFLAGS="$xorg_testset_save_CFLAGS"
   18134 fi
   18135 
   18136 found="no"
   18137 
   18138 	if test $found = "no" ; then
   18139 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18140 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18141 		fi
   18142 
   18143 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18144 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18145 		fi
   18146 
   18147 		CFLAGS="$CFLAGS -Wwrite-strings"
   18148 
   18149 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   18150 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   18151 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   18152 		if eval test \${$cacheid+y}
   18153 then :
   18154   printf %s "(cached) " >&6
   18155 else $as_nop
   18156   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18157 /* end confdefs.h.  */
   18158 int i;
   18159 int
   18160 main (void)
   18161 {
   18162 
   18163   ;
   18164   return 0;
   18165 }
   18166 _ACEOF
   18167 if ac_fn_c_try_link "$LINENO"
   18168 then :
   18169   eval $cacheid=yes
   18170 else $as_nop
   18171   eval $cacheid=no
   18172 fi
   18173 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18174     conftest$ac_exeext conftest.$ac_ext
   18175 fi
   18176 
   18177 
   18178 		CFLAGS="$xorg_testset_save_CFLAGS"
   18179 
   18180 		eval supported=\$$cacheid
   18181 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18182 printf "%s\n" "$supported" >&6; }
   18183 		if test "$supported" = "yes" ; then
   18184 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   18185 			found="yes"
   18186 		fi
   18187 	fi
   18188 
   18189 
   18190 
   18191 
   18192 
   18193 
   18194 
   18195 
   18196 
   18197 
   18198 
   18199 
   18200 
   18201 
   18202 
   18203 xorg_testset_save_CFLAGS="$CFLAGS"
   18204 
   18205 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18206 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18207 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18208 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18209 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18210 then :
   18211   printf %s "(cached) " >&6
   18212 else $as_nop
   18213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18214 /* end confdefs.h.  */
   18215 int i;
   18216 _ACEOF
   18217 if ac_fn_c_try_compile "$LINENO"
   18218 then :
   18219   xorg_cv_cc_flag_unknown_warning_option=yes
   18220 else $as_nop
   18221   xorg_cv_cc_flag_unknown_warning_option=no
   18222 fi
   18223 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18224 fi
   18225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18226 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18227 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18228 	CFLAGS="$xorg_testset_save_CFLAGS"
   18229 fi
   18230 
   18231 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18232 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18233 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18234 	fi
   18235 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18236 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18237 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18238 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18239 then :
   18240   printf %s "(cached) " >&6
   18241 else $as_nop
   18242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18243 /* end confdefs.h.  */
   18244 int i;
   18245 _ACEOF
   18246 if ac_fn_c_try_compile "$LINENO"
   18247 then :
   18248   xorg_cv_cc_flag_unused_command_line_argument=yes
   18249 else $as_nop
   18250   xorg_cv_cc_flag_unused_command_line_argument=no
   18251 fi
   18252 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18253 fi
   18254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18255 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18256 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18257 	CFLAGS="$xorg_testset_save_CFLAGS"
   18258 fi
   18259 
   18260 found="no"
   18261 
   18262 	if test $found = "no" ; then
   18263 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18264 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18265 		fi
   18266 
   18267 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18268 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18269 		fi
   18270 
   18271 		CFLAGS="$CFLAGS -Waddress"
   18272 
   18273 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   18274 printf %s "checking if $CC supports -Waddress... " >&6; }
   18275 		cacheid=xorg_cv_cc_flag__Waddress
   18276 		if eval test \${$cacheid+y}
   18277 then :
   18278   printf %s "(cached) " >&6
   18279 else $as_nop
   18280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18281 /* end confdefs.h.  */
   18282 int i;
   18283 int
   18284 main (void)
   18285 {
   18286 
   18287   ;
   18288   return 0;
   18289 }
   18290 _ACEOF
   18291 if ac_fn_c_try_link "$LINENO"
   18292 then :
   18293   eval $cacheid=yes
   18294 else $as_nop
   18295   eval $cacheid=no
   18296 fi
   18297 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18298     conftest$ac_exeext conftest.$ac_ext
   18299 fi
   18300 
   18301 
   18302 		CFLAGS="$xorg_testset_save_CFLAGS"
   18303 
   18304 		eval supported=\$$cacheid
   18305 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18306 printf "%s\n" "$supported" >&6; }
   18307 		if test "$supported" = "yes" ; then
   18308 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   18309 			found="yes"
   18310 		fi
   18311 	fi
   18312 
   18313 
   18314 
   18315 
   18316 
   18317 
   18318 
   18319 
   18320 
   18321 
   18322 
   18323 
   18324 
   18325 
   18326 
   18327 xorg_testset_save_CFLAGS="$CFLAGS"
   18328 
   18329 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18330 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18331 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18332 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18333 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18334 then :
   18335   printf %s "(cached) " >&6
   18336 else $as_nop
   18337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18338 /* end confdefs.h.  */
   18339 int i;
   18340 _ACEOF
   18341 if ac_fn_c_try_compile "$LINENO"
   18342 then :
   18343   xorg_cv_cc_flag_unknown_warning_option=yes
   18344 else $as_nop
   18345   xorg_cv_cc_flag_unknown_warning_option=no
   18346 fi
   18347 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18348 fi
   18349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18350 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18351 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18352 	CFLAGS="$xorg_testset_save_CFLAGS"
   18353 fi
   18354 
   18355 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18356 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18357 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18358 	fi
   18359 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18360 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18361 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18362 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18363 then :
   18364   printf %s "(cached) " >&6
   18365 else $as_nop
   18366   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18367 /* end confdefs.h.  */
   18368 int i;
   18369 _ACEOF
   18370 if ac_fn_c_try_compile "$LINENO"
   18371 then :
   18372   xorg_cv_cc_flag_unused_command_line_argument=yes
   18373 else $as_nop
   18374   xorg_cv_cc_flag_unused_command_line_argument=no
   18375 fi
   18376 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18377 fi
   18378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18379 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18380 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18381 	CFLAGS="$xorg_testset_save_CFLAGS"
   18382 fi
   18383 
   18384 found="no"
   18385 
   18386 	if test $found = "no" ; then
   18387 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18388 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18389 		fi
   18390 
   18391 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18392 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18393 		fi
   18394 
   18395 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   18396 
   18397 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   18398 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   18399 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   18400 		if eval test \${$cacheid+y}
   18401 then :
   18402   printf %s "(cached) " >&6
   18403 else $as_nop
   18404   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18405 /* end confdefs.h.  */
   18406 int i;
   18407 int
   18408 main (void)
   18409 {
   18410 
   18411   ;
   18412   return 0;
   18413 }
   18414 _ACEOF
   18415 if ac_fn_c_try_link "$LINENO"
   18416 then :
   18417   eval $cacheid=yes
   18418 else $as_nop
   18419   eval $cacheid=no
   18420 fi
   18421 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18422     conftest$ac_exeext conftest.$ac_ext
   18423 fi
   18424 
   18425 
   18426 		CFLAGS="$xorg_testset_save_CFLAGS"
   18427 
   18428 		eval supported=\$$cacheid
   18429 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18430 printf "%s\n" "$supported" >&6; }
   18431 		if test "$supported" = "yes" ; then
   18432 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   18433 			found="yes"
   18434 		fi
   18435 	fi
   18436 
   18437 
   18438 
   18439 
   18440 
   18441 
   18442 
   18443 
   18444 
   18445 
   18446 
   18447 
   18448 
   18449 
   18450 
   18451 xorg_testset_save_CFLAGS="$CFLAGS"
   18452 
   18453 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18454 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18455 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18456 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18457 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18458 then :
   18459   printf %s "(cached) " >&6
   18460 else $as_nop
   18461   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18462 /* end confdefs.h.  */
   18463 int i;
   18464 _ACEOF
   18465 if ac_fn_c_try_compile "$LINENO"
   18466 then :
   18467   xorg_cv_cc_flag_unknown_warning_option=yes
   18468 else $as_nop
   18469   xorg_cv_cc_flag_unknown_warning_option=no
   18470 fi
   18471 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18472 fi
   18473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18474 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18475 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18476 	CFLAGS="$xorg_testset_save_CFLAGS"
   18477 fi
   18478 
   18479 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18480 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18481 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18482 	fi
   18483 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18484 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18485 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18486 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18487 then :
   18488   printf %s "(cached) " >&6
   18489 else $as_nop
   18490   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18491 /* end confdefs.h.  */
   18492 int i;
   18493 _ACEOF
   18494 if ac_fn_c_try_compile "$LINENO"
   18495 then :
   18496   xorg_cv_cc_flag_unused_command_line_argument=yes
   18497 else $as_nop
   18498   xorg_cv_cc_flag_unused_command_line_argument=no
   18499 fi
   18500 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18501 fi
   18502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18503 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18504 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18505 	CFLAGS="$xorg_testset_save_CFLAGS"
   18506 fi
   18507 
   18508 found="no"
   18509 
   18510 	if test $found = "no" ; then
   18511 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18512 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18513 		fi
   18514 
   18515 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18516 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18517 		fi
   18518 
   18519 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   18520 
   18521 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   18522 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   18523 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   18524 		if eval test \${$cacheid+y}
   18525 then :
   18526   printf %s "(cached) " >&6
   18527 else $as_nop
   18528   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18529 /* end confdefs.h.  */
   18530 int i;
   18531 int
   18532 main (void)
   18533 {
   18534 
   18535   ;
   18536   return 0;
   18537 }
   18538 _ACEOF
   18539 if ac_fn_c_try_link "$LINENO"
   18540 then :
   18541   eval $cacheid=yes
   18542 else $as_nop
   18543   eval $cacheid=no
   18544 fi
   18545 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18546     conftest$ac_exeext conftest.$ac_ext
   18547 fi
   18548 
   18549 
   18550 		CFLAGS="$xorg_testset_save_CFLAGS"
   18551 
   18552 		eval supported=\$$cacheid
   18553 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18554 printf "%s\n" "$supported" >&6; }
   18555 		if test "$supported" = "yes" ; then
   18556 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   18557 			found="yes"
   18558 		fi
   18559 	fi
   18560 
   18561 
   18562 fi
   18563 
   18564 
   18565 
   18566 
   18567 
   18568 
   18569 
   18570 		CWARNFLAGS="$BASE_CFLAGS"
   18571 		if  test "x$GCC" = xyes ; then
   18572 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   18573 		fi
   18574 
   18575 
   18576 
   18577 
   18578 
   18579 
   18580 
   18581 
   18582 # Check whether --enable-strict-compilation was given.
   18583 if test ${enable_strict_compilation+y}
   18584 then :
   18585   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   18586 else $as_nop
   18587   STRICT_COMPILE=no
   18588 fi
   18589 
   18590 
   18591 
   18592 
   18593 
   18594 
   18595 STRICT_CFLAGS=""
   18596 
   18597 
   18598 
   18599 
   18600 
   18601 
   18602 
   18603 
   18604 
   18605 
   18606 
   18607 
   18608 
   18609 xorg_testset_save_CFLAGS="$CFLAGS"
   18610 
   18611 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18612 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18613 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18614 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18615 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18616 then :
   18617   printf %s "(cached) " >&6
   18618 else $as_nop
   18619   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18620 /* end confdefs.h.  */
   18621 int i;
   18622 _ACEOF
   18623 if ac_fn_c_try_compile "$LINENO"
   18624 then :
   18625   xorg_cv_cc_flag_unknown_warning_option=yes
   18626 else $as_nop
   18627   xorg_cv_cc_flag_unknown_warning_option=no
   18628 fi
   18629 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18630 fi
   18631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18632 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18633 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18634 	CFLAGS="$xorg_testset_save_CFLAGS"
   18635 fi
   18636 
   18637 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18638 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18639 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18640 	fi
   18641 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18642 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18643 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18644 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18645 then :
   18646   printf %s "(cached) " >&6
   18647 else $as_nop
   18648   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18649 /* end confdefs.h.  */
   18650 int i;
   18651 _ACEOF
   18652 if ac_fn_c_try_compile "$LINENO"
   18653 then :
   18654   xorg_cv_cc_flag_unused_command_line_argument=yes
   18655 else $as_nop
   18656   xorg_cv_cc_flag_unused_command_line_argument=no
   18657 fi
   18658 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18659 fi
   18660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18661 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18662 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18663 	CFLAGS="$xorg_testset_save_CFLAGS"
   18664 fi
   18665 
   18666 found="no"
   18667 
   18668 	if test $found = "no" ; then
   18669 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18670 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18671 		fi
   18672 
   18673 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18674 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18675 		fi
   18676 
   18677 		CFLAGS="$CFLAGS -pedantic"
   18678 
   18679 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   18680 printf %s "checking if $CC supports -pedantic... " >&6; }
   18681 		cacheid=xorg_cv_cc_flag__pedantic
   18682 		if eval test \${$cacheid+y}
   18683 then :
   18684   printf %s "(cached) " >&6
   18685 else $as_nop
   18686   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18687 /* end confdefs.h.  */
   18688 int i;
   18689 int
   18690 main (void)
   18691 {
   18692 
   18693   ;
   18694   return 0;
   18695 }
   18696 _ACEOF
   18697 if ac_fn_c_try_link "$LINENO"
   18698 then :
   18699   eval $cacheid=yes
   18700 else $as_nop
   18701   eval $cacheid=no
   18702 fi
   18703 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18704     conftest$ac_exeext conftest.$ac_ext
   18705 fi
   18706 
   18707 
   18708 		CFLAGS="$xorg_testset_save_CFLAGS"
   18709 
   18710 		eval supported=\$$cacheid
   18711 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18712 printf "%s\n" "$supported" >&6; }
   18713 		if test "$supported" = "yes" ; then
   18714 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   18715 			found="yes"
   18716 		fi
   18717 	fi
   18718 
   18719 
   18720 
   18721 
   18722 
   18723 
   18724 
   18725 
   18726 
   18727 
   18728 
   18729 
   18730 
   18731 
   18732 
   18733 xorg_testset_save_CFLAGS="$CFLAGS"
   18734 
   18735 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18736 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18737 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18738 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18739 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18740 then :
   18741   printf %s "(cached) " >&6
   18742 else $as_nop
   18743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18744 /* end confdefs.h.  */
   18745 int i;
   18746 _ACEOF
   18747 if ac_fn_c_try_compile "$LINENO"
   18748 then :
   18749   xorg_cv_cc_flag_unknown_warning_option=yes
   18750 else $as_nop
   18751   xorg_cv_cc_flag_unknown_warning_option=no
   18752 fi
   18753 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18754 fi
   18755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18756 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18757 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18758 	CFLAGS="$xorg_testset_save_CFLAGS"
   18759 fi
   18760 
   18761 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18762 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18763 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18764 	fi
   18765 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18766 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18767 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18768 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18769 then :
   18770   printf %s "(cached) " >&6
   18771 else $as_nop
   18772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18773 /* end confdefs.h.  */
   18774 int i;
   18775 _ACEOF
   18776 if ac_fn_c_try_compile "$LINENO"
   18777 then :
   18778   xorg_cv_cc_flag_unused_command_line_argument=yes
   18779 else $as_nop
   18780   xorg_cv_cc_flag_unused_command_line_argument=no
   18781 fi
   18782 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18783 fi
   18784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18785 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18786 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18787 	CFLAGS="$xorg_testset_save_CFLAGS"
   18788 fi
   18789 
   18790 found="no"
   18791 
   18792 	if test $found = "no" ; then
   18793 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18794 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18795 		fi
   18796 
   18797 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18798 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18799 		fi
   18800 
   18801 		CFLAGS="$CFLAGS -Werror"
   18802 
   18803 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   18804 printf %s "checking if $CC supports -Werror... " >&6; }
   18805 		cacheid=xorg_cv_cc_flag__Werror
   18806 		if eval test \${$cacheid+y}
   18807 then :
   18808   printf %s "(cached) " >&6
   18809 else $as_nop
   18810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18811 /* end confdefs.h.  */
   18812 int i;
   18813 int
   18814 main (void)
   18815 {
   18816 
   18817   ;
   18818   return 0;
   18819 }
   18820 _ACEOF
   18821 if ac_fn_c_try_link "$LINENO"
   18822 then :
   18823   eval $cacheid=yes
   18824 else $as_nop
   18825   eval $cacheid=no
   18826 fi
   18827 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18828     conftest$ac_exeext conftest.$ac_ext
   18829 fi
   18830 
   18831 
   18832 		CFLAGS="$xorg_testset_save_CFLAGS"
   18833 
   18834 		eval supported=\$$cacheid
   18835 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18836 printf "%s\n" "$supported" >&6; }
   18837 		if test "$supported" = "yes" ; then
   18838 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   18839 			found="yes"
   18840 		fi
   18841 	fi
   18842 
   18843 	if test $found = "no" ; then
   18844 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18845 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18846 		fi
   18847 
   18848 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18849 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18850 		fi
   18851 
   18852 		CFLAGS="$CFLAGS -errwarn"
   18853 
   18854 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   18855 printf %s "checking if $CC supports -errwarn... " >&6; }
   18856 		cacheid=xorg_cv_cc_flag__errwarn
   18857 		if eval test \${$cacheid+y}
   18858 then :
   18859   printf %s "(cached) " >&6
   18860 else $as_nop
   18861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18862 /* end confdefs.h.  */
   18863 int i;
   18864 int
   18865 main (void)
   18866 {
   18867 
   18868   ;
   18869   return 0;
   18870 }
   18871 _ACEOF
   18872 if ac_fn_c_try_link "$LINENO"
   18873 then :
   18874   eval $cacheid=yes
   18875 else $as_nop
   18876   eval $cacheid=no
   18877 fi
   18878 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18879     conftest$ac_exeext conftest.$ac_ext
   18880 fi
   18881 
   18882 
   18883 		CFLAGS="$xorg_testset_save_CFLAGS"
   18884 
   18885 		eval supported=\$$cacheid
   18886 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18887 printf "%s\n" "$supported" >&6; }
   18888 		if test "$supported" = "yes" ; then
   18889 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   18890 			found="yes"
   18891 		fi
   18892 	fi
   18893 
   18894 
   18895 
   18896 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   18897 # activate it with -Werror, so we add it here explicitly.
   18898 
   18899 
   18900 
   18901 
   18902 
   18903 
   18904 
   18905 
   18906 
   18907 
   18908 
   18909 
   18910 
   18911 xorg_testset_save_CFLAGS="$CFLAGS"
   18912 
   18913 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18914 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18915 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18916 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18917 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18918 then :
   18919   printf %s "(cached) " >&6
   18920 else $as_nop
   18921   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18922 /* end confdefs.h.  */
   18923 int i;
   18924 _ACEOF
   18925 if ac_fn_c_try_compile "$LINENO"
   18926 then :
   18927   xorg_cv_cc_flag_unknown_warning_option=yes
   18928 else $as_nop
   18929   xorg_cv_cc_flag_unknown_warning_option=no
   18930 fi
   18931 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18932 fi
   18933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18934 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18935 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18936 	CFLAGS="$xorg_testset_save_CFLAGS"
   18937 fi
   18938 
   18939 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18940 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18941 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18942 	fi
   18943 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18944 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18945 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18946 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18947 then :
   18948   printf %s "(cached) " >&6
   18949 else $as_nop
   18950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18951 /* end confdefs.h.  */
   18952 int i;
   18953 _ACEOF
   18954 if ac_fn_c_try_compile "$LINENO"
   18955 then :
   18956   xorg_cv_cc_flag_unused_command_line_argument=yes
   18957 else $as_nop
   18958   xorg_cv_cc_flag_unused_command_line_argument=no
   18959 fi
   18960 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18961 fi
   18962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18963 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18964 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18965 	CFLAGS="$xorg_testset_save_CFLAGS"
   18966 fi
   18967 
   18968 found="no"
   18969 
   18970 	if test $found = "no" ; then
   18971 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18972 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18973 		fi
   18974 
   18975 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18976 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18977 		fi
   18978 
   18979 		CFLAGS="$CFLAGS -Werror=attributes"
   18980 
   18981 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   18982 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   18983 		cacheid=xorg_cv_cc_flag__Werror_attributes
   18984 		if eval test \${$cacheid+y}
   18985 then :
   18986   printf %s "(cached) " >&6
   18987 else $as_nop
   18988   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18989 /* end confdefs.h.  */
   18990 int i;
   18991 int
   18992 main (void)
   18993 {
   18994 
   18995   ;
   18996   return 0;
   18997 }
   18998 _ACEOF
   18999 if ac_fn_c_try_link "$LINENO"
   19000 then :
   19001   eval $cacheid=yes
   19002 else $as_nop
   19003   eval $cacheid=no
   19004 fi
   19005 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19006     conftest$ac_exeext conftest.$ac_ext
   19007 fi
   19008 
   19009 
   19010 		CFLAGS="$xorg_testset_save_CFLAGS"
   19011 
   19012 		eval supported=\$$cacheid
   19013 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19014 printf "%s\n" "$supported" >&6; }
   19015 		if test "$supported" = "yes" ; then
   19016 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   19017 			found="yes"
   19018 		fi
   19019 	fi
   19020 
   19021 
   19022 
   19023 if test "x$STRICT_COMPILE" = "xyes"; then
   19024     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   19025     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   19026 fi
   19027 
   19028 
   19029 
   19030 
   19031 
   19032 
   19033 cat >>confdefs.h <<_ACEOF
   19034 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   19035 _ACEOF
   19036 
   19037 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   19038 	if test "x$PVM" = "x"; then
   19039 		PVM="0"
   19040 	fi
   19041 
   19042 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   19043 
   19044 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   19045 	if test "x$PVP" = "x"; then
   19046 		PVP="0"
   19047 	fi
   19048 
   19049 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   19050 
   19051 
   19052 
   19053 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   19054 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   19055 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   19056 touch \$(top_srcdir)/ChangeLog; \
   19057 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   19058 
   19059 
   19060 
   19061 
   19062 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   19063 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   19064 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   19065 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   19066 touch \$(top_srcdir)/INSTALL; \
   19067 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   19068 
   19069 
   19070 
   19071 
   19072 
   19073 
   19074 case $host_os in
   19075     solaris*)
   19076         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   19077         # check for a man page file found in later versions that use
   19078         # traditional section numbers instead
   19079         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   19080 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   19081 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   19082 then :
   19083   printf %s "(cached) " >&6
   19084 else $as_nop
   19085   test "$cross_compiling" = yes &&
   19086   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   19087 if test -r "/usr/share/man/man7/attributes.7"; then
   19088   ac_cv_file__usr_share_man_man7_attributes_7=yes
   19089 else
   19090   ac_cv_file__usr_share_man_man7_attributes_7=no
   19091 fi
   19092 fi
   19093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   19094 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   19095 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   19096 then :
   19097   SYSV_MAN_SECTIONS=false
   19098 else $as_nop
   19099   SYSV_MAN_SECTIONS=true
   19100 fi
   19101 
   19102         ;;
   19103     *) SYSV_MAN_SECTIONS=false ;;
   19104 esac
   19105 
   19106 if test x$APP_MAN_SUFFIX = x    ; then
   19107     APP_MAN_SUFFIX=1
   19108 fi
   19109 if test x$APP_MAN_DIR = x    ; then
   19110     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   19111 fi
   19112 
   19113 if test x$LIB_MAN_SUFFIX = x    ; then
   19114     LIB_MAN_SUFFIX=3
   19115 fi
   19116 if test x$LIB_MAN_DIR = x    ; then
   19117     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   19118 fi
   19119 
   19120 if test x$FILE_MAN_SUFFIX = x    ; then
   19121     case $SYSV_MAN_SECTIONS in
   19122 	true)				FILE_MAN_SUFFIX=4  ;;
   19123 	*)				FILE_MAN_SUFFIX=5  ;;
   19124     esac
   19125 fi
   19126 if test x$FILE_MAN_DIR = x    ; then
   19127     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   19128 fi
   19129 
   19130 if test x$MISC_MAN_SUFFIX = x    ; then
   19131     case $SYSV_MAN_SECTIONS in
   19132 	true)				MISC_MAN_SUFFIX=5  ;;
   19133 	*)				MISC_MAN_SUFFIX=7  ;;
   19134     esac
   19135 fi
   19136 if test x$MISC_MAN_DIR = x    ; then
   19137     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   19138 fi
   19139 
   19140 if test x$DRIVER_MAN_SUFFIX = x    ; then
   19141     case $SYSV_MAN_SECTIONS in
   19142 	true)				DRIVER_MAN_SUFFIX=7  ;;
   19143 	*)				DRIVER_MAN_SUFFIX=4  ;;
   19144     esac
   19145 fi
   19146 if test x$DRIVER_MAN_DIR = x    ; then
   19147     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   19148 fi
   19149 
   19150 if test x$ADMIN_MAN_SUFFIX = x    ; then
   19151     case $SYSV_MAN_SECTIONS in
   19152 	true)				ADMIN_MAN_SUFFIX=1m ;;
   19153 	*)				ADMIN_MAN_SUFFIX=8  ;;
   19154     esac
   19155 fi
   19156 if test x$ADMIN_MAN_DIR = x    ; then
   19157     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   19158 fi
   19159 
   19160 
   19161 
   19162 
   19163 
   19164 
   19165 
   19166 
   19167 
   19168 
   19169 
   19170 
   19171 
   19172 
   19173 
   19174 XORG_MAN_PAGE="X Version 11"
   19175 
   19176 MAN_SUBSTS="\
   19177 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19178 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19179 	-e 's|__xservername__|Xorg|g' \
   19180 	-e 's|__xconfigfile__|xorg.conf|g' \
   19181 	-e 's|__projectroot__|\$(prefix)|g' \
   19182 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   19183 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   19184 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   19185 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   19186 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   19187 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   19188 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   19189 
   19190 
   19191 
   19192 # Check whether --enable-silent-rules was given.
   19193 if test ${enable_silent_rules+y}
   19194 then :
   19195   enableval=$enable_silent_rules;
   19196 fi
   19197 
   19198 case $enable_silent_rules in # (((
   19199   yes) AM_DEFAULT_VERBOSITY=0;;
   19200    no) AM_DEFAULT_VERBOSITY=1;;
   19201     *) AM_DEFAULT_VERBOSITY=0;;
   19202 esac
   19203 am_make=${MAKE-make}
   19204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   19205 printf %s "checking whether $am_make supports nested variables... " >&6; }
   19206 if test ${am_cv_make_support_nested_variables+y}
   19207 then :
   19208   printf %s "(cached) " >&6
   19209 else $as_nop
   19210   if printf "%s\n" 'TRUE=$(BAR$(V))
   19211 BAR0=false
   19212 BAR1=true
   19213 V=1
   19214 am__doit:
   19215 	@$(TRUE)
   19216 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   19217   am_cv_make_support_nested_variables=yes
   19218 else
   19219   am_cv_make_support_nested_variables=no
   19220 fi
   19221 fi
   19222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   19223 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   19224 if test $am_cv_make_support_nested_variables = yes; then
   19225     AM_V='$(V)'
   19226   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   19227 else
   19228   AM_V=$AM_DEFAULT_VERBOSITY
   19229   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   19230 fi
   19231 AM_BACKSLASH='\'
   19232 
   19233 
   19234 
   19235 # Set library version for Xft.h from package version set in AC_INIT
   19236 # copied from PACKAGE_VERSION_* settings in XORG_VERSION
   19237 ac_config_headers="$ac_config_headers include/X11/Xft/Xft.h"
   19238 
   19239 
   19240 cat >>confdefs.h <<_ACEOF
   19241 #define XFT_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   19242 _ACEOF
   19243 
   19244 
   19245 cat >>confdefs.h <<_ACEOF
   19246 #define XFT_MINOR `echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   19247 _ACEOF
   19248 
   19249 
   19250 cat >>confdefs.h <<_ACEOF
   19251 #define XFT_REVISION `echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   19252 _ACEOF
   19253 
   19254 
   19255 XFT_LT_VERSION=`echo $PACKAGE_VERSION | tr '.' ':'`
   19256 
   19257 
   19258 #
   19259 # Check for Xrender
   19260 #
   19261 
   19262 pkg_failed=no
   19263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xrender >= 0.8.2 x11" >&5
   19264 printf %s "checking for xrender >= 0.8.2 x11... " >&6; }
   19265 
   19266 if test -n "$XRENDER_CFLAGS"; then
   19267     pkg_cv_XRENDER_CFLAGS="$XRENDER_CFLAGS"
   19268  elif test -n "$PKG_CONFIG"; then
   19269     if test -n "$PKG_CONFIG" && \
   19270     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrender >= 0.8.2 x11\""; } >&5
   19271   ($PKG_CONFIG --exists --print-errors "xrender >= 0.8.2 x11") 2>&5
   19272   ac_status=$?
   19273   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19274   test $ac_status = 0; }; then
   19275   pkg_cv_XRENDER_CFLAGS=`$PKG_CONFIG --cflags "xrender >= 0.8.2 x11" 2>/dev/null`
   19276 		      test "x$?" != "x0" && pkg_failed=yes
   19277 else
   19278   pkg_failed=yes
   19279 fi
   19280  else
   19281     pkg_failed=untried
   19282 fi
   19283 if test -n "$XRENDER_LIBS"; then
   19284     pkg_cv_XRENDER_LIBS="$XRENDER_LIBS"
   19285  elif test -n "$PKG_CONFIG"; then
   19286     if test -n "$PKG_CONFIG" && \
   19287     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrender >= 0.8.2 x11\""; } >&5
   19288   ($PKG_CONFIG --exists --print-errors "xrender >= 0.8.2 x11") 2>&5
   19289   ac_status=$?
   19290   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19291   test $ac_status = 0; }; then
   19292   pkg_cv_XRENDER_LIBS=`$PKG_CONFIG --libs "xrender >= 0.8.2 x11" 2>/dev/null`
   19293 		      test "x$?" != "x0" && pkg_failed=yes
   19294 else
   19295   pkg_failed=yes
   19296 fi
   19297  else
   19298     pkg_failed=untried
   19299 fi
   19300 
   19301 
   19302 
   19303 if test $pkg_failed = yes; then
   19304         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19305 printf "%s\n" "no" >&6; }
   19306 
   19307 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19308         _pkg_short_errors_supported=yes
   19309 else
   19310         _pkg_short_errors_supported=no
   19311 fi
   19312         if test $_pkg_short_errors_supported = yes; then
   19313 	        XRENDER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xrender >= 0.8.2 x11" 2>&1`
   19314         else
   19315 	        XRENDER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xrender >= 0.8.2 x11" 2>&1`
   19316         fi
   19317 	# Put the nasty error message in config.log where it belongs
   19318 	echo "$XRENDER_PKG_ERRORS" >&5
   19319 
   19320 	as_fn_error $? "Package requirements (xrender >= 0.8.2 x11) were not met:
   19321 
   19322 $XRENDER_PKG_ERRORS
   19323 
   19324 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19325 installed software in a non-standard prefix.
   19326 
   19327 Alternatively, you may set the environment variables XRENDER_CFLAGS
   19328 and XRENDER_LIBS to avoid the need to call pkg-config.
   19329 See the pkg-config man page for more details." "$LINENO" 5
   19330 elif test $pkg_failed = untried; then
   19331         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19332 printf "%s\n" "no" >&6; }
   19333 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19334 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   19335 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19336 is in your PATH or set the PKG_CONFIG environment variable to the full
   19337 path to pkg-config.
   19338 
   19339 Alternatively, you may set the environment variables XRENDER_CFLAGS
   19340 and XRENDER_LIBS to avoid the need to call pkg-config.
   19341 See the pkg-config man page for more details.
   19342 
   19343 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19344 See \`config.log' for more details" "$LINENO" 5; }
   19345 else
   19346 	XRENDER_CFLAGS=$pkg_cv_XRENDER_CFLAGS
   19347 	XRENDER_LIBS=$pkg_cv_XRENDER_LIBS
   19348         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19349 printf "%s\n" "yes" >&6; }
   19350 
   19351 fi
   19352 
   19353 # Check freetype configuration
   19354 
   19355 pkg_failed=no
   19356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for freetype2 >= 2.1.6" >&5
   19357 printf %s "checking for freetype2 >= 2.1.6... " >&6; }
   19358 
   19359 if test -n "$FREETYPE_CFLAGS"; then
   19360     pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
   19361  elif test -n "$PKG_CONFIG"; then
   19362     if test -n "$PKG_CONFIG" && \
   19363     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 2.1.6\""; } >&5
   19364   ($PKG_CONFIG --exists --print-errors "freetype2 >= 2.1.6") 2>&5
   19365   ac_status=$?
   19366   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19367   test $ac_status = 0; }; then
   19368   pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2 >= 2.1.6" 2>/dev/null`
   19369 		      test "x$?" != "x0" && pkg_failed=yes
   19370 else
   19371   pkg_failed=yes
   19372 fi
   19373  else
   19374     pkg_failed=untried
   19375 fi
   19376 if test -n "$FREETYPE_LIBS"; then
   19377     pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
   19378  elif test -n "$PKG_CONFIG"; then
   19379     if test -n "$PKG_CONFIG" && \
   19380     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 2.1.6\""; } >&5
   19381   ($PKG_CONFIG --exists --print-errors "freetype2 >= 2.1.6") 2>&5
   19382   ac_status=$?
   19383   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19384   test $ac_status = 0; }; then
   19385   pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2 >= 2.1.6" 2>/dev/null`
   19386 		      test "x$?" != "x0" && pkg_failed=yes
   19387 else
   19388   pkg_failed=yes
   19389 fi
   19390  else
   19391     pkg_failed=untried
   19392 fi
   19393 
   19394 
   19395 
   19396 if test $pkg_failed = yes; then
   19397         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19398 printf "%s\n" "no" >&6; }
   19399 
   19400 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19401         _pkg_short_errors_supported=yes
   19402 else
   19403         _pkg_short_errors_supported=no
   19404 fi
   19405         if test $_pkg_short_errors_supported = yes; then
   19406 	        FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "freetype2 >= 2.1.6" 2>&1`
   19407         else
   19408 	        FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "freetype2 >= 2.1.6" 2>&1`
   19409         fi
   19410 	# Put the nasty error message in config.log where it belongs
   19411 	echo "$FREETYPE_PKG_ERRORS" >&5
   19412 
   19413 	as_fn_error $? "Package requirements (freetype2 >= 2.1.6) were not met:
   19414 
   19415 $FREETYPE_PKG_ERRORS
   19416 
   19417 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19418 installed software in a non-standard prefix.
   19419 
   19420 Alternatively, you may set the environment variables FREETYPE_CFLAGS
   19421 and FREETYPE_LIBS to avoid the need to call pkg-config.
   19422 See the pkg-config man page for more details." "$LINENO" 5
   19423 elif test $pkg_failed = untried; then
   19424         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19425 printf "%s\n" "no" >&6; }
   19426 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19427 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   19428 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19429 is in your PATH or set the PKG_CONFIG environment variable to the full
   19430 path to pkg-config.
   19431 
   19432 Alternatively, you may set the environment variables FREETYPE_CFLAGS
   19433 and FREETYPE_LIBS to avoid the need to call pkg-config.
   19434 See the pkg-config man page for more details.
   19435 
   19436 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19437 See \`config.log' for more details" "$LINENO" 5; }
   19438 else
   19439 	FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
   19440 	FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
   19441         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19442 printf "%s\n" "yes" >&6; }
   19443 
   19444 fi
   19445 
   19446 # Check fontconfig configuration
   19447 
   19448 pkg_failed=no
   19449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fontconfig >= 2.5.92" >&5
   19450 printf %s "checking for fontconfig >= 2.5.92... " >&6; }
   19451 
   19452 if test -n "$FONTCONFIG_CFLAGS"; then
   19453     pkg_cv_FONTCONFIG_CFLAGS="$FONTCONFIG_CFLAGS"
   19454  elif test -n "$PKG_CONFIG"; then
   19455     if test -n "$PKG_CONFIG" && \
   19456     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.5.92\""; } >&5
   19457   ($PKG_CONFIG --exists --print-errors "fontconfig >= 2.5.92") 2>&5
   19458   ac_status=$?
   19459   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19460   test $ac_status = 0; }; then
   19461   pkg_cv_FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.5.92" 2>/dev/null`
   19462 		      test "x$?" != "x0" && pkg_failed=yes
   19463 else
   19464   pkg_failed=yes
   19465 fi
   19466  else
   19467     pkg_failed=untried
   19468 fi
   19469 if test -n "$FONTCONFIG_LIBS"; then
   19470     pkg_cv_FONTCONFIG_LIBS="$FONTCONFIG_LIBS"
   19471  elif test -n "$PKG_CONFIG"; then
   19472     if test -n "$PKG_CONFIG" && \
   19473     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.5.92\""; } >&5
   19474   ($PKG_CONFIG --exists --print-errors "fontconfig >= 2.5.92") 2>&5
   19475   ac_status=$?
   19476   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19477   test $ac_status = 0; }; then
   19478   pkg_cv_FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.5.92" 2>/dev/null`
   19479 		      test "x$?" != "x0" && pkg_failed=yes
   19480 else
   19481   pkg_failed=yes
   19482 fi
   19483  else
   19484     pkg_failed=untried
   19485 fi
   19486 
   19487 
   19488 
   19489 if test $pkg_failed = yes; then
   19490         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19491 printf "%s\n" "no" >&6; }
   19492 
   19493 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19494         _pkg_short_errors_supported=yes
   19495 else
   19496         _pkg_short_errors_supported=no
   19497 fi
   19498         if test $_pkg_short_errors_supported = yes; then
   19499 	        FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fontconfig >= 2.5.92" 2>&1`
   19500         else
   19501 	        FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fontconfig >= 2.5.92" 2>&1`
   19502         fi
   19503 	# Put the nasty error message in config.log where it belongs
   19504 	echo "$FONTCONFIG_PKG_ERRORS" >&5
   19505 
   19506 	as_fn_error $? "Package requirements (fontconfig >= 2.5.92) were not met:
   19507 
   19508 $FONTCONFIG_PKG_ERRORS
   19509 
   19510 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19511 installed software in a non-standard prefix.
   19512 
   19513 Alternatively, you may set the environment variables FONTCONFIG_CFLAGS
   19514 and FONTCONFIG_LIBS to avoid the need to call pkg-config.
   19515 See the pkg-config man page for more details." "$LINENO" 5
   19516 elif test $pkg_failed = untried; then
   19517         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19518 printf "%s\n" "no" >&6; }
   19519 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19520 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   19521 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19522 is in your PATH or set the PKG_CONFIG environment variable to the full
   19523 path to pkg-config.
   19524 
   19525 Alternatively, you may set the environment variables FONTCONFIG_CFLAGS
   19526 and FONTCONFIG_LIBS to avoid the need to call pkg-config.
   19527 See the pkg-config man page for more details.
   19528 
   19529 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19530 See \`config.log' for more details" "$LINENO" 5; }
   19531 else
   19532 	FONTCONFIG_CFLAGS=$pkg_cv_FONTCONFIG_CFLAGS
   19533 	FONTCONFIG_LIBS=$pkg_cv_FONTCONFIG_LIBS
   19534         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19535 printf "%s\n" "yes" >&6; }
   19536 
   19537 fi
   19538 
   19539 
   19540 
   19541 
   19542 
   19543 
   19544 
   19545 
   19546 if test "$VERSION" = "" ; then
   19547        VERSION=$PACKAGE_VERSION;
   19548 fi
   19549 
   19550 ac_config_files="$ac_config_files Makefile xft.pc src/Makefile man/Makefile"
   19551 
   19552 cat >confcache <<\_ACEOF
   19553 # This file is a shell script that caches the results of configure
   19554 # tests run on this system so they can be shared between configure
   19555 # scripts and configure runs, see configure's option --config-cache.
   19556 # It is not useful on other systems.  If it contains results you don't
   19557 # want to keep, you may remove or edit it.
   19558 #
   19559 # config.status only pays attention to the cache file if you give it
   19560 # the --recheck option to rerun configure.
   19561 #
   19562 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   19563 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   19564 # following values.
   19565 
   19566 _ACEOF
   19567 
   19568 # The following way of writing the cache mishandles newlines in values,
   19569 # but we know of no workaround that is simple, portable, and efficient.
   19570 # So, we kill variables containing newlines.
   19571 # Ultrix sh set writes to stderr and can't be redirected directly,
   19572 # and sets the high bit in the cache file unless we assign to the vars.
   19573 (
   19574   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   19575     eval ac_val=\$$ac_var
   19576     case $ac_val in #(
   19577     *${as_nl}*)
   19578       case $ac_var in #(
   19579       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   19580 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   19581       esac
   19582       case $ac_var in #(
   19583       _ | IFS | as_nl) ;; #(
   19584       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   19585       *) { eval $ac_var=; unset $ac_var;} ;;
   19586       esac ;;
   19587     esac
   19588   done
   19589 
   19590   (set) 2>&1 |
   19591     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   19592     *${as_nl}ac_space=\ *)
   19593       # `set' does not quote correctly, so add quotes: double-quote
   19594       # substitution turns \\\\ into \\, and sed turns \\ into \.
   19595       sed -n \
   19596 	"s/'/'\\\\''/g;
   19597 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   19598       ;; #(
   19599     *)
   19600       # `set' quotes correctly as required by POSIX, so do not add quotes.
   19601       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   19602       ;;
   19603     esac |
   19604     sort
   19605 ) |
   19606   sed '
   19607      /^ac_cv_env_/b end
   19608      t clear
   19609      :clear
   19610      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   19611      t end
   19612      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   19613      :end' >>confcache
   19614 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   19615   if test -w "$cache_file"; then
   19616     if test "x$cache_file" != "x/dev/null"; then
   19617       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   19618 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   19619       if test ! -f "$cache_file" || test -h "$cache_file"; then
   19620 	cat confcache >"$cache_file"
   19621       else
   19622         case $cache_file in #(
   19623         */* | ?:*)
   19624 	  mv -f confcache "$cache_file"$$ &&
   19625 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   19626         *)
   19627 	  mv -f confcache "$cache_file" ;;
   19628 	esac
   19629       fi
   19630     fi
   19631   else
   19632     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   19633 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   19634   fi
   19635 fi
   19636 rm -f confcache
   19637 
   19638 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   19639 # Let make expand exec_prefix.
   19640 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   19641 
   19642 DEFS=-DHAVE_CONFIG_H
   19643 
   19644 ac_libobjs=
   19645 ac_ltlibobjs=
   19646 U=
   19647 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   19648   # 1. Remove the extension, and $U if already installed.
   19649   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   19650   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   19651   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   19652   #    will be set to the directory where LIBOBJS objects are built.
   19653   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   19654   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   19655 done
   19656 LIBOBJS=$ac_libobjs
   19657 
   19658 LTLIBOBJS=$ac_ltlibobjs
   19659 
   19660 
   19661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   19662 printf %s "checking that generated files are newer than configure... " >&6; }
   19663    if test -n "$am_sleep_pid"; then
   19664      # Hide warnings about reused PIDs.
   19665      wait $am_sleep_pid 2>/dev/null
   19666    fi
   19667    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   19668 printf "%s\n" "done" >&6; }
   19669  if test -n "$EXEEXT"; then
   19670   am__EXEEXT_TRUE=
   19671   am__EXEEXT_FALSE='#'
   19672 else
   19673   am__EXEEXT_TRUE='#'
   19674   am__EXEEXT_FALSE=
   19675 fi
   19676 
   19677 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   19678   as_fn_error $? "conditional \"AMDEP\" was never defined.
   19679 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19680 fi
   19681 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   19682   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   19683 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19684 fi
   19685 
   19686 : "${CONFIG_STATUS=./config.status}"
   19687 ac_write_fail=0
   19688 ac_clean_files_save=$ac_clean_files
   19689 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   19690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   19691 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   19692 as_write_fail=0
   19693 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   19694 #! $SHELL
   19695 # Generated by $as_me.
   19696 # Run this file to recreate the current configuration.
   19697 # Compiler output produced by configure, useful for debugging
   19698 # configure, is in config.log if it exists.
   19699 
   19700 debug=false
   19701 ac_cs_recheck=false
   19702 ac_cs_silent=false
   19703 
   19704 SHELL=\${CONFIG_SHELL-$SHELL}
   19705 export SHELL
   19706 _ASEOF
   19707 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   19708 ## -------------------- ##
   19709 ## M4sh Initialization. ##
   19710 ## -------------------- ##
   19711 
   19712 # Be more Bourne compatible
   19713 DUALCASE=1; export DUALCASE # for MKS sh
   19714 as_nop=:
   19715 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   19716 then :
   19717   emulate sh
   19718   NULLCMD=:
   19719   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   19720   # is contrary to our usage.  Disable this feature.
   19721   alias -g '${1+"$@"}'='"$@"'
   19722   setopt NO_GLOB_SUBST
   19723 else $as_nop
   19724   case `(set -o) 2>/dev/null` in #(
   19725   *posix*) :
   19726     set -o posix ;; #(
   19727   *) :
   19728      ;;
   19729 esac
   19730 fi
   19731 
   19732 
   19733 
   19734 # Reset variables that may have inherited troublesome values from
   19735 # the environment.
   19736 
   19737 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   19738 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   19739 # side effect of setting IFS to empty, thus disabling word splitting.)
   19740 # Quoting is to prevent editors from complaining about space-tab.
   19741 as_nl='
   19742 '
   19743 export as_nl
   19744 IFS=" ""	$as_nl"
   19745 
   19746 PS1='$ '
   19747 PS2='> '
   19748 PS4='+ '
   19749 
   19750 # Ensure predictable behavior from utilities with locale-dependent output.
   19751 LC_ALL=C
   19752 export LC_ALL
   19753 LANGUAGE=C
   19754 export LANGUAGE
   19755 
   19756 # We cannot yet rely on "unset" to work, but we need these variables
   19757 # to be unset--not just set to an empty or harmless value--now, to
   19758 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   19759 # also avoids known problems related to "unset" and subshell syntax
   19760 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   19761 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   19762 do eval test \${$as_var+y} \
   19763   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   19764 done
   19765 
   19766 # Ensure that fds 0, 1, and 2 are open.
   19767 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   19768 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   19769 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   19770 
   19771 # The user is always right.
   19772 if ${PATH_SEPARATOR+false} :; then
   19773   PATH_SEPARATOR=:
   19774   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   19775     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   19776       PATH_SEPARATOR=';'
   19777   }
   19778 fi
   19779 
   19780 
   19781 # Find who we are.  Look in the path if we contain no directory separator.
   19782 as_myself=
   19783 case $0 in #((
   19784   *[\\/]* ) as_myself=$0 ;;
   19785   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19786 for as_dir in $PATH
   19787 do
   19788   IFS=$as_save_IFS
   19789   case $as_dir in #(((
   19790     '') as_dir=./ ;;
   19791     */) ;;
   19792     *) as_dir=$as_dir/ ;;
   19793   esac
   19794     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   19795   done
   19796 IFS=$as_save_IFS
   19797 
   19798      ;;
   19799 esac
   19800 # We did not find ourselves, most probably we were run as `sh COMMAND'
   19801 # in which case we are not to be found in the path.
   19802 if test "x$as_myself" = x; then
   19803   as_myself=$0
   19804 fi
   19805 if test ! -f "$as_myself"; then
   19806   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   19807   exit 1
   19808 fi
   19809 
   19810 
   19811 
   19812 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   19813 # ----------------------------------------
   19814 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   19815 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   19816 # script with STATUS, using 1 if that was 0.
   19817 as_fn_error ()
   19818 {
   19819   as_status=$1; test $as_status -eq 0 && as_status=1
   19820   if test "$4"; then
   19821     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   19822     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   19823   fi
   19824   printf "%s\n" "$as_me: error: $2" >&2
   19825   as_fn_exit $as_status
   19826 } # as_fn_error
   19827 
   19828 
   19829 
   19830 # as_fn_set_status STATUS
   19831 # -----------------------
   19832 # Set $? to STATUS, without forking.
   19833 as_fn_set_status ()
   19834 {
   19835   return $1
   19836 } # as_fn_set_status
   19837 
   19838 # as_fn_exit STATUS
   19839 # -----------------
   19840 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   19841 as_fn_exit ()
   19842 {
   19843   set +e
   19844   as_fn_set_status $1
   19845   exit $1
   19846 } # as_fn_exit
   19847 
   19848 # as_fn_unset VAR
   19849 # ---------------
   19850 # Portably unset VAR.
   19851 as_fn_unset ()
   19852 {
   19853   { eval $1=; unset $1;}
   19854 }
   19855 as_unset=as_fn_unset
   19856 
   19857 # as_fn_append VAR VALUE
   19858 # ----------------------
   19859 # Append the text in VALUE to the end of the definition contained in VAR. Take
   19860 # advantage of any shell optimizations that allow amortized linear growth over
   19861 # repeated appends, instead of the typical quadratic growth present in naive
   19862 # implementations.
   19863 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   19864 then :
   19865   eval 'as_fn_append ()
   19866   {
   19867     eval $1+=\$2
   19868   }'
   19869 else $as_nop
   19870   as_fn_append ()
   19871   {
   19872     eval $1=\$$1\$2
   19873   }
   19874 fi # as_fn_append
   19875 
   19876 # as_fn_arith ARG...
   19877 # ------------------
   19878 # Perform arithmetic evaluation on the ARGs, and store the result in the
   19879 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   19880 # must be portable across $(()) and expr.
   19881 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   19882 then :
   19883   eval 'as_fn_arith ()
   19884   {
   19885     as_val=$(( $* ))
   19886   }'
   19887 else $as_nop
   19888   as_fn_arith ()
   19889   {
   19890     as_val=`expr "$@" || test $? -eq 1`
   19891   }
   19892 fi # as_fn_arith
   19893 
   19894 
   19895 if expr a : '\(a\)' >/dev/null 2>&1 &&
   19896    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   19897   as_expr=expr
   19898 else
   19899   as_expr=false
   19900 fi
   19901 
   19902 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   19903   as_basename=basename
   19904 else
   19905   as_basename=false
   19906 fi
   19907 
   19908 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   19909   as_dirname=dirname
   19910 else
   19911   as_dirname=false
   19912 fi
   19913 
   19914 as_me=`$as_basename -- "$0" ||
   19915 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   19916 	 X"$0" : 'X\(//\)$' \| \
   19917 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   19918 printf "%s\n" X/"$0" |
   19919     sed '/^.*\/\([^/][^/]*\)\/*$/{
   19920 	    s//\1/
   19921 	    q
   19922 	  }
   19923 	  /^X\/\(\/\/\)$/{
   19924 	    s//\1/
   19925 	    q
   19926 	  }
   19927 	  /^X\/\(\/\).*/{
   19928 	    s//\1/
   19929 	    q
   19930 	  }
   19931 	  s/.*/./; q'`
   19932 
   19933 # Avoid depending upon Character Ranges.
   19934 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   19935 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   19936 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   19937 as_cr_digits='0123456789'
   19938 as_cr_alnum=$as_cr_Letters$as_cr_digits
   19939 
   19940 
   19941 # Determine whether it's possible to make 'echo' print without a newline.
   19942 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   19943 # for compatibility with existing Makefiles.
   19944 ECHO_C= ECHO_N= ECHO_T=
   19945 case `echo -n x` in #(((((
   19946 -n*)
   19947   case `echo 'xy\c'` in
   19948   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   19949   xy)  ECHO_C='\c';;
   19950   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   19951        ECHO_T='	';;
   19952   esac;;
   19953 *)
   19954   ECHO_N='-n';;
   19955 esac
   19956 
   19957 # For backward compatibility with old third-party macros, we provide
   19958 # the shell variables $as_echo and $as_echo_n.  New code should use
   19959 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   19960 as_echo='printf %s\n'
   19961 as_echo_n='printf %s'
   19962 
   19963 rm -f conf$$ conf$$.exe conf$$.file
   19964 if test -d conf$$.dir; then
   19965   rm -f conf$$.dir/conf$$.file
   19966 else
   19967   rm -f conf$$.dir
   19968   mkdir conf$$.dir 2>/dev/null
   19969 fi
   19970 if (echo >conf$$.file) 2>/dev/null; then
   19971   if ln -s conf$$.file conf$$ 2>/dev/null; then
   19972     as_ln_s='ln -s'
   19973     # ... but there are two gotchas:
   19974     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   19975     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   19976     # In both cases, we have to default to `cp -pR'.
   19977     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   19978       as_ln_s='cp -pR'
   19979   elif ln conf$$.file conf$$ 2>/dev/null; then
   19980     as_ln_s=ln
   19981   else
   19982     as_ln_s='cp -pR'
   19983   fi
   19984 else
   19985   as_ln_s='cp -pR'
   19986 fi
   19987 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   19988 rmdir conf$$.dir 2>/dev/null
   19989 
   19990 
   19991 # as_fn_mkdir_p
   19992 # -------------
   19993 # Create "$as_dir" as a directory, including parents if necessary.
   19994 as_fn_mkdir_p ()
   19995 {
   19996 
   19997   case $as_dir in #(
   19998   -*) as_dir=./$as_dir;;
   19999   esac
   20000   test -d "$as_dir" || eval $as_mkdir_p || {
   20001     as_dirs=
   20002     while :; do
   20003       case $as_dir in #(
   20004       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   20005       *) as_qdir=$as_dir;;
   20006       esac
   20007       as_dirs="'$as_qdir' $as_dirs"
   20008       as_dir=`$as_dirname -- "$as_dir" ||
   20009 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20010 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   20011 	 X"$as_dir" : 'X\(//\)$' \| \
   20012 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   20013 printf "%s\n" X"$as_dir" |
   20014     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20015 	    s//\1/
   20016 	    q
   20017 	  }
   20018 	  /^X\(\/\/\)[^/].*/{
   20019 	    s//\1/
   20020 	    q
   20021 	  }
   20022 	  /^X\(\/\/\)$/{
   20023 	    s//\1/
   20024 	    q
   20025 	  }
   20026 	  /^X\(\/\).*/{
   20027 	    s//\1/
   20028 	    q
   20029 	  }
   20030 	  s/.*/./; q'`
   20031       test -d "$as_dir" && break
   20032     done
   20033     test -z "$as_dirs" || eval "mkdir $as_dirs"
   20034   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   20035 
   20036 
   20037 } # as_fn_mkdir_p
   20038 if mkdir -p . 2>/dev/null; then
   20039   as_mkdir_p='mkdir -p "$as_dir"'
   20040 else
   20041   test -d ./-p && rmdir ./-p
   20042   as_mkdir_p=false
   20043 fi
   20044 
   20045 
   20046 # as_fn_executable_p FILE
   20047 # -----------------------
   20048 # Test if FILE is an executable regular file.
   20049 as_fn_executable_p ()
   20050 {
   20051   test -f "$1" && test -x "$1"
   20052 } # as_fn_executable_p
   20053 as_test_x='test -x'
   20054 as_executable_p=as_fn_executable_p
   20055 
   20056 # Sed expression to map a string onto a valid CPP name.
   20057 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   20058 
   20059 # Sed expression to map a string onto a valid variable name.
   20060 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   20061 
   20062 
   20063 exec 6>&1
   20064 ## ----------------------------------- ##
   20065 ## Main body of $CONFIG_STATUS script. ##
   20066 ## ----------------------------------- ##
   20067 _ASEOF
   20068 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   20069 
   20070 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20071 # Save the log message, to keep $0 and so on meaningful, and to
   20072 # report actual input values of CONFIG_FILES etc. instead of their
   20073 # values after options handling.
   20074 ac_log="
   20075 This file was extended by libXft $as_me 2.3.7, which was
   20076 generated by GNU Autoconf 2.71.  Invocation command line was
   20077 
   20078   CONFIG_FILES    = $CONFIG_FILES
   20079   CONFIG_HEADERS  = $CONFIG_HEADERS
   20080   CONFIG_LINKS    = $CONFIG_LINKS
   20081   CONFIG_COMMANDS = $CONFIG_COMMANDS
   20082   $ $0 $@
   20083 
   20084 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   20085 "
   20086 
   20087 _ACEOF
   20088 
   20089 case $ac_config_files in *"
   20090 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   20091 esac
   20092 
   20093 case $ac_config_headers in *"
   20094 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   20095 esac
   20096 
   20097 
   20098 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20099 # Files that config.status was made for.
   20100 config_files="$ac_config_files"
   20101 config_headers="$ac_config_headers"
   20102 config_commands="$ac_config_commands"
   20103 
   20104 _ACEOF
   20105 
   20106 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20107 ac_cs_usage="\
   20108 \`$as_me' instantiates files and other configuration actions
   20109 from templates according to the current configuration.  Unless the files
   20110 and actions are specified as TAGs, all are instantiated by default.
   20111 
   20112 Usage: $0 [OPTION]... [TAG]...
   20113 
   20114   -h, --help       print this help, then exit
   20115   -V, --version    print version number and configuration settings, then exit
   20116       --config     print configuration, then exit
   20117   -q, --quiet, --silent
   20118                    do not print progress messages
   20119   -d, --debug      don't remove temporary files
   20120       --recheck    update $as_me by reconfiguring in the same conditions
   20121       --file=FILE[:TEMPLATE]
   20122                    instantiate the configuration file FILE
   20123       --header=FILE[:TEMPLATE]
   20124                    instantiate the configuration header FILE
   20125 
   20126 Configuration files:
   20127 $config_files
   20128 
   20129 Configuration headers:
   20130 $config_headers
   20131 
   20132 Configuration commands:
   20133 $config_commands
   20134 
   20135 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libXft/issues>."
   20136 
   20137 _ACEOF
   20138 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   20139 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   20140 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20141 ac_cs_config='$ac_cs_config_escaped'
   20142 ac_cs_version="\\
   20143 libXft config.status 2.3.7
   20144 configured by $0, generated by GNU Autoconf 2.71,
   20145   with options \\"\$ac_cs_config\\"
   20146 
   20147 Copyright (C) 2021 Free Software Foundation, Inc.
   20148 This config.status script is free software; the Free Software Foundation
   20149 gives unlimited permission to copy, distribute and modify it."
   20150 
   20151 ac_pwd='$ac_pwd'
   20152 srcdir='$srcdir'
   20153 INSTALL='$INSTALL'
   20154 MKDIR_P='$MKDIR_P'
   20155 AWK='$AWK'
   20156 test -n "\$AWK" || AWK=awk
   20157 _ACEOF
   20158 
   20159 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20160 # The default lists apply if the user does not specify any file.
   20161 ac_need_defaults=:
   20162 while test $# != 0
   20163 do
   20164   case $1 in
   20165   --*=?*)
   20166     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20167     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   20168     ac_shift=:
   20169     ;;
   20170   --*=)
   20171     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   20172     ac_optarg=
   20173     ac_shift=:
   20174     ;;
   20175   *)
   20176     ac_option=$1
   20177     ac_optarg=$2
   20178     ac_shift=shift
   20179     ;;
   20180   esac
   20181 
   20182   case $ac_option in
   20183   # Handling of the options.
   20184   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   20185     ac_cs_recheck=: ;;
   20186   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   20187     printf "%s\n" "$ac_cs_version"; exit ;;
   20188   --config | --confi | --conf | --con | --co | --c )
   20189     printf "%s\n" "$ac_cs_config"; exit ;;
   20190   --debug | --debu | --deb | --de | --d | -d )
   20191     debug=: ;;
   20192   --file | --fil | --fi | --f )
   20193     $ac_shift
   20194     case $ac_optarg in
   20195     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20196     '') as_fn_error $? "missing file argument" ;;
   20197     esac
   20198     as_fn_append CONFIG_FILES " '$ac_optarg'"
   20199     ac_need_defaults=false;;
   20200   --header | --heade | --head | --hea )
   20201     $ac_shift
   20202     case $ac_optarg in
   20203     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20204     esac
   20205     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   20206     ac_need_defaults=false;;
   20207   --he | --h)
   20208     # Conflict between --help and --header
   20209     as_fn_error $? "ambiguous option: \`$1'
   20210 Try \`$0 --help' for more information.";;
   20211   --help | --hel | -h )
   20212     printf "%s\n" "$ac_cs_usage"; exit ;;
   20213   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   20214   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   20215     ac_cs_silent=: ;;
   20216 
   20217   # This is an error.
   20218   -*) as_fn_error $? "unrecognized option: \`$1'
   20219 Try \`$0 --help' for more information." ;;
   20220 
   20221   *) as_fn_append ac_config_targets " $1"
   20222      ac_need_defaults=false ;;
   20223 
   20224   esac
   20225   shift
   20226 done
   20227 
   20228 ac_configure_extra_args=
   20229 
   20230 if $ac_cs_silent; then
   20231   exec 6>/dev/null
   20232   ac_configure_extra_args="$ac_configure_extra_args --silent"
   20233 fi
   20234 
   20235 _ACEOF
   20236 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20237 if \$ac_cs_recheck; then
   20238   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   20239   shift
   20240   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   20241   CONFIG_SHELL='$SHELL'
   20242   export CONFIG_SHELL
   20243   exec "\$@"
   20244 fi
   20245 
   20246 _ACEOF
   20247 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20248 exec 5>>config.log
   20249 {
   20250   echo
   20251   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   20252 ## Running $as_me. ##
   20253 _ASBOX
   20254   printf "%s\n" "$ac_log"
   20255 } >&5
   20256 
   20257 _ACEOF
   20258 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20259 #
   20260 # INIT-COMMANDS
   20261 #
   20262 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   20263 
   20264 
   20265 # The HP-UX ksh and POSIX shell print the target directory to stdout
   20266 # if CDPATH is set.
   20267 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   20268 
   20269 sed_quote_subst='$sed_quote_subst'
   20270 double_quote_subst='$double_quote_subst'
   20271 delay_variable_subst='$delay_variable_subst'
   20272 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   20273 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   20274 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   20275 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   20276 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   20277 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   20278 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   20279 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   20280 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   20281 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   20282 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   20283 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   20284 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   20285 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   20286 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   20287 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   20288 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   20289 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   20290 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   20291 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   20292 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   20293 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   20294 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   20295 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   20296 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   20297 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   20298 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   20299 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   20300 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   20301 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   20302 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   20303 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   20304 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   20305 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   20306 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   20307 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   20308 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   20309 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   20310 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   20311 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   20312 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   20313 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   20314 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   20315 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   20316 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   20317 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   20318 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   20319 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   20320 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20321 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20322 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   20323 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   20324 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   20325 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   20326 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   20327 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   20328 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   20329 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   20330 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   20331 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   20332 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"`'
   20333 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   20334 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   20335 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   20336 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   20337 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   20338 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   20339 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   20340 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   20341 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   20342 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   20343 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   20344 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   20345 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   20346 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   20347 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   20348 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   20349 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   20350 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   20351 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   20352 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   20353 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20354 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   20355 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   20356 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   20357 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   20358 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   20359 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   20360 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20361 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   20362 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20363 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   20364 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20365 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   20366 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20367 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20368 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   20369 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   20370 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   20371 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   20372 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   20373 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20374 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   20375 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   20376 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   20377 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   20378 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   20379 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   20380 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   20381 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   20382 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   20383 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   20384 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   20385 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   20386 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   20387 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   20388 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   20389 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20390 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   20391 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   20392 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   20393 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   20394 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   20395 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20396 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20397 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   20398 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   20399 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   20400 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   20401 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   20402 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   20403 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   20404 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   20405 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   20406 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   20407 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   20408 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   20409 
   20410 LTCC='$LTCC'
   20411 LTCFLAGS='$LTCFLAGS'
   20412 compiler='$compiler_DEFAULT'
   20413 
   20414 # A function that is used when there is no print builtin or printf.
   20415 func_fallback_echo ()
   20416 {
   20417   eval 'cat <<_LTECHO_EOF
   20418 \$1
   20419 _LTECHO_EOF'
   20420 }
   20421 
   20422 # Quote evaled strings.
   20423 for var in SHELL \
   20424 ECHO \
   20425 PATH_SEPARATOR \
   20426 SED \
   20427 GREP \
   20428 EGREP \
   20429 FGREP \
   20430 LD \
   20431 NM \
   20432 LN_S \
   20433 lt_SP2NL \
   20434 lt_NL2SP \
   20435 reload_flag \
   20436 FILECMD \
   20437 OBJDUMP \
   20438 deplibs_check_method \
   20439 file_magic_cmd \
   20440 file_magic_glob \
   20441 want_nocaseglob \
   20442 DLLTOOL \
   20443 sharedlib_from_linklib_cmd \
   20444 AR \
   20445 archiver_list_spec \
   20446 STRIP \
   20447 RANLIB \
   20448 CC \
   20449 CFLAGS \
   20450 compiler \
   20451 lt_cv_sys_global_symbol_pipe \
   20452 lt_cv_sys_global_symbol_to_cdecl \
   20453 lt_cv_sys_global_symbol_to_import \
   20454 lt_cv_sys_global_symbol_to_c_name_address \
   20455 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   20456 lt_cv_nm_interface \
   20457 nm_file_list_spec \
   20458 lt_cv_truncate_bin \
   20459 lt_prog_compiler_no_builtin_flag \
   20460 lt_prog_compiler_pic \
   20461 lt_prog_compiler_wl \
   20462 lt_prog_compiler_static \
   20463 lt_cv_prog_compiler_c_o \
   20464 need_locks \
   20465 MANIFEST_TOOL \
   20466 DSYMUTIL \
   20467 NMEDIT \
   20468 LIPO \
   20469 OTOOL \
   20470 OTOOL64 \
   20471 shrext_cmds \
   20472 export_dynamic_flag_spec \
   20473 whole_archive_flag_spec \
   20474 compiler_needs_object \
   20475 with_gnu_ld \
   20476 allow_undefined_flag \
   20477 no_undefined_flag \
   20478 hardcode_libdir_flag_spec \
   20479 hardcode_libdir_separator \
   20480 exclude_expsyms \
   20481 include_expsyms \
   20482 file_list_spec \
   20483 variables_saved_for_relink \
   20484 libname_spec \
   20485 library_names_spec \
   20486 soname_spec \
   20487 install_override_mode \
   20488 finish_eval \
   20489 old_striplib \
   20490 striplib; do
   20491     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20492     *[\\\\\\\`\\"\\\$]*)
   20493       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20494       ;;
   20495     *)
   20496       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20497       ;;
   20498     esac
   20499 done
   20500 
   20501 # Double-quote double-evaled strings.
   20502 for var in reload_cmds \
   20503 old_postinstall_cmds \
   20504 old_postuninstall_cmds \
   20505 old_archive_cmds \
   20506 extract_expsyms_cmds \
   20507 old_archive_from_new_cmds \
   20508 old_archive_from_expsyms_cmds \
   20509 archive_cmds \
   20510 archive_expsym_cmds \
   20511 module_cmds \
   20512 module_expsym_cmds \
   20513 export_symbols_cmds \
   20514 prelink_cmds \
   20515 postlink_cmds \
   20516 postinstall_cmds \
   20517 postuninstall_cmds \
   20518 finish_cmds \
   20519 sys_lib_search_path_spec \
   20520 configure_time_dlsearch_path \
   20521 configure_time_lt_sys_library_path; do
   20522     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20523     *[\\\\\\\`\\"\\\$]*)
   20524       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20525       ;;
   20526     *)
   20527       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20528       ;;
   20529     esac
   20530 done
   20531 
   20532 ac_aux_dir='$ac_aux_dir'
   20533 
   20534 # See if we are running on zsh, and set the options that allow our
   20535 # commands through without removal of \ escapes INIT.
   20536 if test -n "\${ZSH_VERSION+set}"; then
   20537    setopt NO_GLOB_SUBST
   20538 fi
   20539 
   20540 
   20541     PACKAGE='$PACKAGE'
   20542     VERSION='$VERSION'
   20543     RM='$RM'
   20544     ofile='$ofile'
   20545 
   20546 
   20547 
   20548 
   20549 _ACEOF
   20550 
   20551 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20552 
   20553 # Handling of arguments.
   20554 for ac_config_target in $ac_config_targets
   20555 do
   20556   case $ac_config_target in
   20557     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   20558     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   20559     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   20560     "include/X11/Xft/Xft.h") CONFIG_HEADERS="$CONFIG_HEADERS include/X11/Xft/Xft.h" ;;
   20561     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   20562     "xft.pc") CONFIG_FILES="$CONFIG_FILES xft.pc" ;;
   20563     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   20564     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   20565 
   20566   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   20567   esac
   20568 done
   20569 
   20570 
   20571 # If the user did not use the arguments to specify the items to instantiate,
   20572 # then the envvar interface is used.  Set only those that are not.
   20573 # We use the long form for the default assignment because of an extremely
   20574 # bizarre bug on SunOS 4.1.3.
   20575 if $ac_need_defaults; then
   20576   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   20577   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   20578   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   20579 fi
   20580 
   20581 # Have a temporary directory for convenience.  Make it in the build tree
   20582 # simply because there is no reason against having it here, and in addition,
   20583 # creating and moving files from /tmp can sometimes cause problems.
   20584 # Hook for its removal unless debugging.
   20585 # Note that there is a small window in which the directory will not be cleaned:
   20586 # after its creation but before its name has been assigned to `$tmp'.
   20587 $debug ||
   20588 {
   20589   tmp= ac_tmp=
   20590   trap 'exit_status=$?
   20591   : "${ac_tmp:=$tmp}"
   20592   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   20593 ' 0
   20594   trap 'as_fn_exit 1' 1 2 13 15
   20595 }
   20596 # Create a (secure) tmp directory for tmp files.
   20597 
   20598 {
   20599   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   20600   test -d "$tmp"
   20601 }  ||
   20602 {
   20603   tmp=./conf$$-$RANDOM
   20604   (umask 077 && mkdir "$tmp")
   20605 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   20606 ac_tmp=$tmp
   20607 
   20608 # Set up the scripts for CONFIG_FILES section.
   20609 # No need to generate them if there are no CONFIG_FILES.
   20610 # This happens for instance with `./config.status config.h'.
   20611 if test -n "$CONFIG_FILES"; then
   20612 
   20613 
   20614 ac_cr=`echo X | tr X '\015'`
   20615 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   20616 # But we know of no other shell where ac_cr would be empty at this
   20617 # point, so we can use a bashism as a fallback.
   20618 if test "x$ac_cr" = x; then
   20619   eval ac_cr=\$\'\\r\'
   20620 fi
   20621 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   20622 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   20623   ac_cs_awk_cr='\\r'
   20624 else
   20625   ac_cs_awk_cr=$ac_cr
   20626 fi
   20627 
   20628 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   20629 _ACEOF
   20630 
   20631 
   20632 {
   20633   echo "cat >conf$$subs.awk <<_ACEOF" &&
   20634   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   20635   echo "_ACEOF"
   20636 } >conf$$subs.sh ||
   20637   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20638 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   20639 ac_delim='%!_!# '
   20640 for ac_last_try in false false false false false :; do
   20641   . ./conf$$subs.sh ||
   20642     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20643 
   20644   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   20645   if test $ac_delim_n = $ac_delim_num; then
   20646     break
   20647   elif $ac_last_try; then
   20648     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20649   else
   20650     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20651   fi
   20652 done
   20653 rm -f conf$$subs.sh
   20654 
   20655 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20656 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   20657 _ACEOF
   20658 sed -n '
   20659 h
   20660 s/^/S["/; s/!.*/"]=/
   20661 p
   20662 g
   20663 s/^[^!]*!//
   20664 :repl
   20665 t repl
   20666 s/'"$ac_delim"'$//
   20667 t delim
   20668 :nl
   20669 h
   20670 s/\(.\{148\}\)..*/\1/
   20671 t more1
   20672 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   20673 p
   20674 n
   20675 b repl
   20676 :more1
   20677 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20678 p
   20679 g
   20680 s/.\{148\}//
   20681 t nl
   20682 :delim
   20683 h
   20684 s/\(.\{148\}\)..*/\1/
   20685 t more2
   20686 s/["\\]/\\&/g; s/^/"/; s/$/"/
   20687 p
   20688 b
   20689 :more2
   20690 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20691 p
   20692 g
   20693 s/.\{148\}//
   20694 t delim
   20695 ' <conf$$subs.awk | sed '
   20696 /^[^""]/{
   20697   N
   20698   s/\n//
   20699 }
   20700 ' >>$CONFIG_STATUS || ac_write_fail=1
   20701 rm -f conf$$subs.awk
   20702 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20703 _ACAWK
   20704 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   20705   for (key in S) S_is_set[key] = 1
   20706   FS = ""
   20707 
   20708 }
   20709 {
   20710   line = $ 0
   20711   nfields = split(line, field, "@")
   20712   substed = 0
   20713   len = length(field[1])
   20714   for (i = 2; i < nfields; i++) {
   20715     key = field[i]
   20716     keylen = length(key)
   20717     if (S_is_set[key]) {
   20718       value = S[key]
   20719       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   20720       len += length(value) + length(field[++i])
   20721       substed = 1
   20722     } else
   20723       len += 1 + keylen
   20724   }
   20725 
   20726   print line
   20727 }
   20728 
   20729 _ACAWK
   20730 _ACEOF
   20731 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20732 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   20733   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   20734 else
   20735   cat
   20736 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   20737   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   20738 _ACEOF
   20739 
   20740 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   20741 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   20742 # trailing colons and then remove the whole line if VPATH becomes empty
   20743 # (actually we leave an empty line to preserve line numbers).
   20744 if test "x$srcdir" = x.; then
   20745   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   20746 h
   20747 s///
   20748 s/^/:/
   20749 s/[	 ]*$/:/
   20750 s/:\$(srcdir):/:/g
   20751 s/:\${srcdir}:/:/g
   20752 s/:@srcdir@:/:/g
   20753 s/^:*//
   20754 s/:*$//
   20755 x
   20756 s/\(=[	 ]*\).*/\1/
   20757 G
   20758 s/\n//
   20759 s/^[^=]*=[	 ]*$//
   20760 }'
   20761 fi
   20762 
   20763 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20764 fi # test -n "$CONFIG_FILES"
   20765 
   20766 # Set up the scripts for CONFIG_HEADERS section.
   20767 # No need to generate them if there are no CONFIG_HEADERS.
   20768 # This happens for instance with `./config.status Makefile'.
   20769 if test -n "$CONFIG_HEADERS"; then
   20770 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   20771 BEGIN {
   20772 _ACEOF
   20773 
   20774 # Transform confdefs.h into an awk script `defines.awk', embedded as
   20775 # here-document in config.status, that substitutes the proper values into
   20776 # config.h.in to produce config.h.
   20777 
   20778 # Create a delimiter string that does not exist in confdefs.h, to ease
   20779 # handling of long lines.
   20780 ac_delim='%!_!# '
   20781 for ac_last_try in false false :; do
   20782   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   20783   if test -z "$ac_tt"; then
   20784     break
   20785   elif $ac_last_try; then
   20786     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   20787   else
   20788     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20789   fi
   20790 done
   20791 
   20792 # For the awk script, D is an array of macro values keyed by name,
   20793 # likewise P contains macro parameters if any.  Preserve backslash
   20794 # newline sequences.
   20795 
   20796 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   20797 sed -n '
   20798 s/.\{148\}/&'"$ac_delim"'/g
   20799 t rset
   20800 :rset
   20801 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   20802 t def
   20803 d
   20804 :def
   20805 s/\\$//
   20806 t bsnl
   20807 s/["\\]/\\&/g
   20808 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20809 D["\1"]=" \3"/p
   20810 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   20811 d
   20812 :bsnl
   20813 s/["\\]/\\&/g
   20814 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20815 D["\1"]=" \3\\\\\\n"\\/p
   20816 t cont
   20817 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   20818 t cont
   20819 d
   20820 :cont
   20821 n
   20822 s/.\{148\}/&'"$ac_delim"'/g
   20823 t clear
   20824 :clear
   20825 s/\\$//
   20826 t bsnlc
   20827 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   20828 d
   20829 :bsnlc
   20830 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   20831 b cont
   20832 ' <confdefs.h | sed '
   20833 s/'"$ac_delim"'/"\\\
   20834 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   20835 
   20836 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20837   for (key in D) D_is_set[key] = 1
   20838   FS = ""
   20839 }
   20840 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   20841   line = \$ 0
   20842   split(line, arg, " ")
   20843   if (arg[1] == "#") {
   20844     defundef = arg[2]
   20845     mac1 = arg[3]
   20846   } else {
   20847     defundef = substr(arg[1], 2)
   20848     mac1 = arg[2]
   20849   }
   20850   split(mac1, mac2, "(") #)
   20851   macro = mac2[1]
   20852   prefix = substr(line, 1, index(line, defundef) - 1)
   20853   if (D_is_set[macro]) {
   20854     # Preserve the white space surrounding the "#".
   20855     print prefix "define", macro P[macro] D[macro]
   20856     next
   20857   } else {
   20858     # Replace #undef with comments.  This is necessary, for example,
   20859     # in the case of _POSIX_SOURCE, which is predefined and required
   20860     # on some systems where configure will not decide to define it.
   20861     if (defundef == "undef") {
   20862       print "/*", prefix defundef, macro, "*/"
   20863       next
   20864     }
   20865   }
   20866 }
   20867 { print }
   20868 _ACAWK
   20869 _ACEOF
   20870 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20871   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   20872 fi # test -n "$CONFIG_HEADERS"
   20873 
   20874 
   20875 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   20876 shift
   20877 for ac_tag
   20878 do
   20879   case $ac_tag in
   20880   :[FHLC]) ac_mode=$ac_tag; continue;;
   20881   esac
   20882   case $ac_mode$ac_tag in
   20883   :[FHL]*:*);;
   20884   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   20885   :[FH]-) ac_tag=-:-;;
   20886   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   20887   esac
   20888   ac_save_IFS=$IFS
   20889   IFS=:
   20890   set x $ac_tag
   20891   IFS=$ac_save_IFS
   20892   shift
   20893   ac_file=$1
   20894   shift
   20895 
   20896   case $ac_mode in
   20897   :L) ac_source=$1;;
   20898   :[FH])
   20899     ac_file_inputs=
   20900     for ac_f
   20901     do
   20902       case $ac_f in
   20903       -) ac_f="$ac_tmp/stdin";;
   20904       *) # Look for the file first in the build tree, then in the source tree
   20905 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   20906 	 # because $ac_f cannot contain `:'.
   20907 	 test -f "$ac_f" ||
   20908 	   case $ac_f in
   20909 	   [\\/$]*) false;;
   20910 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   20911 	   esac ||
   20912 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   20913       esac
   20914       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   20915       as_fn_append ac_file_inputs " '$ac_f'"
   20916     done
   20917 
   20918     # Let's still pretend it is `configure' which instantiates (i.e., don't
   20919     # use $as_me), people would be surprised to read:
   20920     #    /* config.h.  Generated by config.status.  */
   20921     configure_input='Generated from '`
   20922 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   20923 	`' by configure.'
   20924     if test x"$ac_file" != x-; then
   20925       configure_input="$ac_file.  $configure_input"
   20926       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   20927 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   20928     fi
   20929     # Neutralize special characters interpreted by sed in replacement strings.
   20930     case $configure_input in #(
   20931     *\&* | *\|* | *\\* )
   20932        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   20933        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   20934     *) ac_sed_conf_input=$configure_input;;
   20935     esac
   20936 
   20937     case $ac_tag in
   20938     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   20939       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   20940     esac
   20941     ;;
   20942   esac
   20943 
   20944   ac_dir=`$as_dirname -- "$ac_file" ||
   20945 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20946 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   20947 	 X"$ac_file" : 'X\(//\)$' \| \
   20948 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   20949 printf "%s\n" X"$ac_file" |
   20950     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20951 	    s//\1/
   20952 	    q
   20953 	  }
   20954 	  /^X\(\/\/\)[^/].*/{
   20955 	    s//\1/
   20956 	    q
   20957 	  }
   20958 	  /^X\(\/\/\)$/{
   20959 	    s//\1/
   20960 	    q
   20961 	  }
   20962 	  /^X\(\/\).*/{
   20963 	    s//\1/
   20964 	    q
   20965 	  }
   20966 	  s/.*/./; q'`
   20967   as_dir="$ac_dir"; as_fn_mkdir_p
   20968   ac_builddir=.
   20969 
   20970 case "$ac_dir" in
   20971 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20972 *)
   20973   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   20974   # A ".." for each directory in $ac_dir_suffix.
   20975   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   20976   case $ac_top_builddir_sub in
   20977   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20978   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   20979   esac ;;
   20980 esac
   20981 ac_abs_top_builddir=$ac_pwd
   20982 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   20983 # for backward compatibility:
   20984 ac_top_builddir=$ac_top_build_prefix
   20985 
   20986 case $srcdir in
   20987   .)  # We are building in place.
   20988     ac_srcdir=.
   20989     ac_top_srcdir=$ac_top_builddir_sub
   20990     ac_abs_top_srcdir=$ac_pwd ;;
   20991   [\\/]* | ?:[\\/]* )  # Absolute name.
   20992     ac_srcdir=$srcdir$ac_dir_suffix;
   20993     ac_top_srcdir=$srcdir
   20994     ac_abs_top_srcdir=$srcdir ;;
   20995   *) # Relative name.
   20996     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   20997     ac_top_srcdir=$ac_top_build_prefix$srcdir
   20998     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   20999 esac
   21000 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   21001 
   21002 
   21003   case $ac_mode in
   21004   :F)
   21005   #
   21006   # CONFIG_FILE
   21007   #
   21008 
   21009   case $INSTALL in
   21010   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   21011   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   21012   esac
   21013   ac_MKDIR_P=$MKDIR_P
   21014   case $MKDIR_P in
   21015   [\\/$]* | ?:[\\/]* ) ;;
   21016   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   21017   esac
   21018 _ACEOF
   21019 
   21020 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21021 # If the template does not know about datarootdir, expand it.
   21022 # FIXME: This hack should be removed a few years after 2.60.
   21023 ac_datarootdir_hack=; ac_datarootdir_seen=
   21024 ac_sed_dataroot='
   21025 /datarootdir/ {
   21026   p
   21027   q
   21028 }
   21029 /@datadir@/p
   21030 /@docdir@/p
   21031 /@infodir@/p
   21032 /@localedir@/p
   21033 /@mandir@/p'
   21034 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   21035 *datarootdir*) ac_datarootdir_seen=yes;;
   21036 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   21037   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   21038 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   21039 _ACEOF
   21040 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21041   ac_datarootdir_hack='
   21042   s&@datadir@&$datadir&g
   21043   s&@docdir@&$docdir&g
   21044   s&@infodir@&$infodir&g
   21045   s&@localedir@&$localedir&g
   21046   s&@mandir@&$mandir&g
   21047   s&\\\${datarootdir}&$datarootdir&g' ;;
   21048 esac
   21049 _ACEOF
   21050 
   21051 # Neutralize VPATH when `$srcdir' = `.'.
   21052 # Shell code in configure.ac might set extrasub.
   21053 # FIXME: do we really want to maintain this feature?
   21054 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21055 ac_sed_extra="$ac_vpsub
   21056 $extrasub
   21057 _ACEOF
   21058 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21059 :t
   21060 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   21061 s|@configure_input@|$ac_sed_conf_input|;t t
   21062 s&@top_builddir@&$ac_top_builddir_sub&;t t
   21063 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   21064 s&@srcdir@&$ac_srcdir&;t t
   21065 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   21066 s&@top_srcdir@&$ac_top_srcdir&;t t
   21067 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   21068 s&@builddir@&$ac_builddir&;t t
   21069 s&@abs_builddir@&$ac_abs_builddir&;t t
   21070 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   21071 s&@INSTALL@&$ac_INSTALL&;t t
   21072 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   21073 $ac_datarootdir_hack
   21074 "
   21075 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   21076   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21077 
   21078 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   21079   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   21080   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   21081       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   21082   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21083 which seems to be undefined.  Please make sure it is defined" >&5
   21084 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   21085 which seems to be undefined.  Please make sure it is defined" >&2;}
   21086 
   21087   rm -f "$ac_tmp/stdin"
   21088   case $ac_file in
   21089   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   21090   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   21091   esac \
   21092   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21093  ;;
   21094   :H)
   21095   #
   21096   # CONFIG_HEADER
   21097   #
   21098   if test x"$ac_file" != x-; then
   21099     {
   21100       printf "%s\n" "/* $configure_input  */" >&1 \
   21101       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   21102     } >"$ac_tmp/config.h" \
   21103       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21104     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   21105       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   21106 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   21107     else
   21108       rm -f "$ac_file"
   21109       mv "$ac_tmp/config.h" "$ac_file" \
   21110 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   21111     fi
   21112   else
   21113     printf "%s\n" "/* $configure_input  */" >&1 \
   21114       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   21115       || as_fn_error $? "could not create -" "$LINENO" 5
   21116   fi
   21117 # Compute "$ac_file"'s index in $config_headers.
   21118 _am_arg="$ac_file"
   21119 _am_stamp_count=1
   21120 for _am_header in $config_headers :; do
   21121   case $_am_header in
   21122     $_am_arg | $_am_arg:* )
   21123       break ;;
   21124     * )
   21125       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   21126   esac
   21127 done
   21128 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   21129 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21130 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   21131 	 X"$_am_arg" : 'X\(//\)$' \| \
   21132 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   21133 printf "%s\n" X"$_am_arg" |
   21134     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21135 	    s//\1/
   21136 	    q
   21137 	  }
   21138 	  /^X\(\/\/\)[^/].*/{
   21139 	    s//\1/
   21140 	    q
   21141 	  }
   21142 	  /^X\(\/\/\)$/{
   21143 	    s//\1/
   21144 	    q
   21145 	  }
   21146 	  /^X\(\/\).*/{
   21147 	    s//\1/
   21148 	    q
   21149 	  }
   21150 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   21151  ;;
   21152 
   21153   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   21154 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   21155  ;;
   21156   esac
   21157 
   21158 
   21159   case $ac_file$ac_mode in
   21160     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   21161   # Older Autoconf quotes --file arguments for eval, but not when files
   21162   # are listed without --file.  Let's play safe and only enable the eval
   21163   # if we detect the quoting.
   21164   # TODO: see whether this extra hack can be removed once we start
   21165   # requiring Autoconf 2.70 or later.
   21166   case $CONFIG_FILES in #(
   21167   *\'*) :
   21168     eval set x "$CONFIG_FILES" ;; #(
   21169   *) :
   21170     set x $CONFIG_FILES ;; #(
   21171   *) :
   21172      ;;
   21173 esac
   21174   shift
   21175   # Used to flag and report bootstrapping failures.
   21176   am_rc=0
   21177   for am_mf
   21178   do
   21179     # Strip MF so we end up with the name of the file.
   21180     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   21181     # Check whether this is an Automake generated Makefile which includes
   21182     # dependency-tracking related rules and includes.
   21183     # Grep'ing the whole file directly is not great: AIX grep has a line
   21184     # limit of 2048, but all sed's we know have understand at least 4000.
   21185     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   21186       || continue
   21187     am_dirpart=`$as_dirname -- "$am_mf" ||
   21188 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21189 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   21190 	 X"$am_mf" : 'X\(//\)$' \| \
   21191 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   21192 printf "%s\n" X"$am_mf" |
   21193     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21194 	    s//\1/
   21195 	    q
   21196 	  }
   21197 	  /^X\(\/\/\)[^/].*/{
   21198 	    s//\1/
   21199 	    q
   21200 	  }
   21201 	  /^X\(\/\/\)$/{
   21202 	    s//\1/
   21203 	    q
   21204 	  }
   21205 	  /^X\(\/\).*/{
   21206 	    s//\1/
   21207 	    q
   21208 	  }
   21209 	  s/.*/./; q'`
   21210     am_filepart=`$as_basename -- "$am_mf" ||
   21211 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   21212 	 X"$am_mf" : 'X\(//\)$' \| \
   21213 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   21214 printf "%s\n" X/"$am_mf" |
   21215     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21216 	    s//\1/
   21217 	    q
   21218 	  }
   21219 	  /^X\/\(\/\/\)$/{
   21220 	    s//\1/
   21221 	    q
   21222 	  }
   21223 	  /^X\/\(\/\).*/{
   21224 	    s//\1/
   21225 	    q
   21226 	  }
   21227 	  s/.*/./; q'`
   21228     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   21229       && sed -e '/# am--include-marker/d' "$am_filepart" \
   21230         | $MAKE -f - am--depfiles" >&5
   21231    (cd "$am_dirpart" \
   21232       && sed -e '/# am--include-marker/d' "$am_filepart" \
   21233         | $MAKE -f - am--depfiles) >&5 2>&5
   21234    ac_status=$?
   21235    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21236    (exit $ac_status); } || am_rc=$?
   21237   done
   21238   if test $am_rc -ne 0; then
   21239     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   21240 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   21241 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   21242     for automatic dependency tracking.  If GNU make was not used, consider
   21243     re-running the configure script with MAKE=\"gmake\" (or whatever is
   21244     necessary).  You can also try re-running configure with the
   21245     '--disable-dependency-tracking' option to at least be able to build
   21246     the package (albeit without support for automatic dependency tracking).
   21247 See \`config.log' for more details" "$LINENO" 5; }
   21248   fi
   21249   { am_dirpart=; unset am_dirpart;}
   21250   { am_filepart=; unset am_filepart;}
   21251   { am_mf=; unset am_mf;}
   21252   { am_rc=; unset am_rc;}
   21253   rm -f conftest-deps.mk
   21254 }
   21255  ;;
   21256     "libtool":C)
   21257 
   21258     # See if we are running on zsh, and set the options that allow our
   21259     # commands through without removal of \ escapes.
   21260     if test -n "${ZSH_VERSION+set}"; then
   21261       setopt NO_GLOB_SUBST
   21262     fi
   21263 
   21264     cfgfile=${ofile}T
   21265     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   21266     $RM "$cfgfile"
   21267 
   21268     cat <<_LT_EOF >> "$cfgfile"
   21269 #! $SHELL
   21270 # Generated automatically by $as_me ($PACKAGE) $VERSION
   21271 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   21272 
   21273 # Provide generalized library-building support services.
   21274 # Written by Gordon Matzigkeit, 1996
   21275 
   21276 # Copyright (C) 2014 Free Software Foundation, Inc.
   21277 # This is free software; see the source for copying conditions.  There is NO
   21278 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   21279 
   21280 # GNU Libtool is free software; you can redistribute it and/or modify
   21281 # it under the terms of the GNU General Public License as published by
   21282 # the Free Software Foundation; either version 2 of of the License, or
   21283 # (at your option) any later version.
   21284 #
   21285 # As a special exception to the GNU General Public License, if you
   21286 # distribute this file as part of a program or library that is built
   21287 # using GNU Libtool, you may include this file under the  same
   21288 # distribution terms that you use for the rest of that program.
   21289 #
   21290 # GNU Libtool is distributed in the hope that it will be useful, but
   21291 # WITHOUT ANY WARRANTY; without even the implied warranty of
   21292 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   21293 # GNU General Public License for more details.
   21294 #
   21295 # You should have received a copy of the GNU General Public License
   21296 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   21297 
   21298 
   21299 # The names of the tagged configurations supported by this script.
   21300 available_tags=''
   21301 
   21302 # Configured defaults for sys_lib_dlsearch_path munging.
   21303 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   21304 
   21305 # ### BEGIN LIBTOOL CONFIG
   21306 
   21307 # Which release of libtool.m4 was used?
   21308 macro_version=$macro_version
   21309 macro_revision=$macro_revision
   21310 
   21311 # Whether or not to build shared libraries.
   21312 build_libtool_libs=$enable_shared
   21313 
   21314 # Whether or not to build static libraries.
   21315 build_old_libs=$enable_static
   21316 
   21317 # What type of objects to build.
   21318 pic_mode=$pic_mode
   21319 
   21320 # Whether or not to optimize for fast installation.
   21321 fast_install=$enable_fast_install
   21322 
   21323 # Shared archive member basename,for filename based shared library versioning on AIX.
   21324 shared_archive_member_spec=$shared_archive_member_spec
   21325 
   21326 # Shell to use when invoking shell scripts.
   21327 SHELL=$lt_SHELL
   21328 
   21329 # An echo program that protects backslashes.
   21330 ECHO=$lt_ECHO
   21331 
   21332 # The PATH separator for the build system.
   21333 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   21334 
   21335 # The host system.
   21336 host_alias=$host_alias
   21337 host=$host
   21338 host_os=$host_os
   21339 
   21340 # The build system.
   21341 build_alias=$build_alias
   21342 build=$build
   21343 build_os=$build_os
   21344 
   21345 # A sed program that does not truncate output.
   21346 SED=$lt_SED
   21347 
   21348 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   21349 Xsed="\$SED -e 1s/^X//"
   21350 
   21351 # A grep program that handles long lines.
   21352 GREP=$lt_GREP
   21353 
   21354 # An ERE matcher.
   21355 EGREP=$lt_EGREP
   21356 
   21357 # A literal string matcher.
   21358 FGREP=$lt_FGREP
   21359 
   21360 # A BSD- or MS-compatible name lister.
   21361 NM=$lt_NM
   21362 
   21363 # Whether we need soft or hard links.
   21364 LN_S=$lt_LN_S
   21365 
   21366 # What is the maximum length of a command?
   21367 max_cmd_len=$max_cmd_len
   21368 
   21369 # Object file suffix (normally "o").
   21370 objext=$ac_objext
   21371 
   21372 # Executable file suffix (normally "").
   21373 exeext=$exeext
   21374 
   21375 # whether the shell understands "unset".
   21376 lt_unset=$lt_unset
   21377 
   21378 # turn spaces into newlines.
   21379 SP2NL=$lt_lt_SP2NL
   21380 
   21381 # turn newlines into spaces.
   21382 NL2SP=$lt_lt_NL2SP
   21383 
   21384 # convert \$build file names to \$host format.
   21385 to_host_file_cmd=$lt_cv_to_host_file_cmd
   21386 
   21387 # convert \$build files to toolchain format.
   21388 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   21389 
   21390 # A file(cmd) program that detects file types.
   21391 FILECMD=$lt_FILECMD
   21392 
   21393 # An object symbol dumper.
   21394 OBJDUMP=$lt_OBJDUMP
   21395 
   21396 # Method to check whether dependent libraries are shared objects.
   21397 deplibs_check_method=$lt_deplibs_check_method
   21398 
   21399 # Command to use when deplibs_check_method = "file_magic".
   21400 file_magic_cmd=$lt_file_magic_cmd
   21401 
   21402 # How to find potential files when deplibs_check_method = "file_magic".
   21403 file_magic_glob=$lt_file_magic_glob
   21404 
   21405 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   21406 want_nocaseglob=$lt_want_nocaseglob
   21407 
   21408 # DLL creation program.
   21409 DLLTOOL=$lt_DLLTOOL
   21410 
   21411 # Command to associate shared and link libraries.
   21412 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   21413 
   21414 # The archiver.
   21415 AR=$lt_AR
   21416 
   21417 # Flags to create an archive (by configure).
   21418 lt_ar_flags=$lt_ar_flags
   21419 
   21420 # Flags to create an archive.
   21421 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   21422 
   21423 # How to feed a file listing to the archiver.
   21424 archiver_list_spec=$lt_archiver_list_spec
   21425 
   21426 # A symbol stripping program.
   21427 STRIP=$lt_STRIP
   21428 
   21429 # Commands used to install an old-style archive.
   21430 RANLIB=$lt_RANLIB
   21431 old_postinstall_cmds=$lt_old_postinstall_cmds
   21432 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   21433 
   21434 # Whether to use a lock for old archive extraction.
   21435 lock_old_archive_extraction=$lock_old_archive_extraction
   21436 
   21437 # A C compiler.
   21438 LTCC=$lt_CC
   21439 
   21440 # LTCC compiler flags.
   21441 LTCFLAGS=$lt_CFLAGS
   21442 
   21443 # Take the output of nm and produce a listing of raw symbols and C names.
   21444 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   21445 
   21446 # Transform the output of nm in a proper C declaration.
   21447 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   21448 
   21449 # Transform the output of nm into a list of symbols to manually relocate.
   21450 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   21451 
   21452 # Transform the output of nm in a C name address pair.
   21453 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   21454 
   21455 # Transform the output of nm in a C name address pair when lib prefix is needed.
   21456 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   21457 
   21458 # The name lister interface.
   21459 nm_interface=$lt_lt_cv_nm_interface
   21460 
   21461 # Specify filename containing input files for \$NM.
   21462 nm_file_list_spec=$lt_nm_file_list_spec
   21463 
   21464 # The root where to search for dependent libraries,and where our libraries should be installed.
   21465 lt_sysroot=$lt_sysroot
   21466 
   21467 # Command to truncate a binary pipe.
   21468 lt_truncate_bin=$lt_lt_cv_truncate_bin
   21469 
   21470 # The name of the directory that contains temporary libtool files.
   21471 objdir=$objdir
   21472 
   21473 # Used to examine libraries when file_magic_cmd begins with "file".
   21474 MAGIC_CMD=$MAGIC_CMD
   21475 
   21476 # Must we lock files when doing compilation?
   21477 need_locks=$lt_need_locks
   21478 
   21479 # Manifest tool.
   21480 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   21481 
   21482 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   21483 DSYMUTIL=$lt_DSYMUTIL
   21484 
   21485 # Tool to change global to local symbols on Mac OS X.
   21486 NMEDIT=$lt_NMEDIT
   21487 
   21488 # Tool to manipulate fat objects and archives on Mac OS X.
   21489 LIPO=$lt_LIPO
   21490 
   21491 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   21492 OTOOL=$lt_OTOOL
   21493 
   21494 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   21495 OTOOL64=$lt_OTOOL64
   21496 
   21497 # Old archive suffix (normally "a").
   21498 libext=$libext
   21499 
   21500 # Shared library suffix (normally ".so").
   21501 shrext_cmds=$lt_shrext_cmds
   21502 
   21503 # The commands to extract the exported symbol list from a shared archive.
   21504 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   21505 
   21506 # Variables whose values should be saved in libtool wrapper scripts and
   21507 # restored at link time.
   21508 variables_saved_for_relink=$lt_variables_saved_for_relink
   21509 
   21510 # Do we need the "lib" prefix for modules?
   21511 need_lib_prefix=$need_lib_prefix
   21512 
   21513 # Do we need a version for libraries?
   21514 need_version=$need_version
   21515 
   21516 # Library versioning type.
   21517 version_type=$version_type
   21518 
   21519 # Shared library runtime path variable.
   21520 runpath_var=$runpath_var
   21521 
   21522 # Shared library path variable.
   21523 shlibpath_var=$shlibpath_var
   21524 
   21525 # Is shlibpath searched before the hard-coded library search path?
   21526 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   21527 
   21528 # Format of library name prefix.
   21529 libname_spec=$lt_libname_spec
   21530 
   21531 # List of archive names.  First name is the real one, the rest are links.
   21532 # The last name is the one that the linker finds with -lNAME
   21533 library_names_spec=$lt_library_names_spec
   21534 
   21535 # The coded name of the library, if different from the real name.
   21536 soname_spec=$lt_soname_spec
   21537 
   21538 # Permission mode override for installation of shared libraries.
   21539 install_override_mode=$lt_install_override_mode
   21540 
   21541 # Command to use after installation of a shared archive.
   21542 postinstall_cmds=$lt_postinstall_cmds
   21543 
   21544 # Command to use after uninstallation of a shared archive.
   21545 postuninstall_cmds=$lt_postuninstall_cmds
   21546 
   21547 # Commands used to finish a libtool library installation in a directory.
   21548 finish_cmds=$lt_finish_cmds
   21549 
   21550 # As "finish_cmds", except a single script fragment to be evaled but
   21551 # not shown.
   21552 finish_eval=$lt_finish_eval
   21553 
   21554 # Whether we should hardcode library paths into libraries.
   21555 hardcode_into_libs=$hardcode_into_libs
   21556 
   21557 # Compile-time system search path for libraries.
   21558 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   21559 
   21560 # Detected run-time system search path for libraries.
   21561 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   21562 
   21563 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   21564 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   21565 
   21566 # Whether dlopen is supported.
   21567 dlopen_support=$enable_dlopen
   21568 
   21569 # Whether dlopen of programs is supported.
   21570 dlopen_self=$enable_dlopen_self
   21571 
   21572 # Whether dlopen of statically linked programs is supported.
   21573 dlopen_self_static=$enable_dlopen_self_static
   21574 
   21575 # Commands to strip libraries.
   21576 old_striplib=$lt_old_striplib
   21577 striplib=$lt_striplib
   21578 
   21579 
   21580 # The linker used to build libraries.
   21581 LD=$lt_LD
   21582 
   21583 # How to create reloadable object files.
   21584 reload_flag=$lt_reload_flag
   21585 reload_cmds=$lt_reload_cmds
   21586 
   21587 # Commands used to build an old-style archive.
   21588 old_archive_cmds=$lt_old_archive_cmds
   21589 
   21590 # A language specific compiler.
   21591 CC=$lt_compiler
   21592 
   21593 # Is the compiler the GNU compiler?
   21594 with_gcc=$GCC
   21595 
   21596 # Compiler flag to turn off builtin functions.
   21597 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   21598 
   21599 # Additional compiler flags for building library objects.
   21600 pic_flag=$lt_lt_prog_compiler_pic
   21601 
   21602 # How to pass a linker flag through the compiler.
   21603 wl=$lt_lt_prog_compiler_wl
   21604 
   21605 # Compiler flag to prevent dynamic linking.
   21606 link_static_flag=$lt_lt_prog_compiler_static
   21607 
   21608 # Does compiler simultaneously support -c and -o options?
   21609 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   21610 
   21611 # Whether or not to add -lc for building shared libraries.
   21612 build_libtool_need_lc=$archive_cmds_need_lc
   21613 
   21614 # Whether or not to disallow shared libs when runtime libs are static.
   21615 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   21616 
   21617 # Compiler flag to allow reflexive dlopens.
   21618 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   21619 
   21620 # Compiler flag to generate shared objects directly from archives.
   21621 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   21622 
   21623 # Whether the compiler copes with passing no objects directly.
   21624 compiler_needs_object=$lt_compiler_needs_object
   21625 
   21626 # Create an old-style archive from a shared archive.
   21627 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   21628 
   21629 # Create a temporary old-style archive to link instead of a shared archive.
   21630 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   21631 
   21632 # Commands used to build a shared archive.
   21633 archive_cmds=$lt_archive_cmds
   21634 archive_expsym_cmds=$lt_archive_expsym_cmds
   21635 
   21636 # Commands used to build a loadable module if different from building
   21637 # a shared archive.
   21638 module_cmds=$lt_module_cmds
   21639 module_expsym_cmds=$lt_module_expsym_cmds
   21640 
   21641 # Whether we are building with GNU ld or not.
   21642 with_gnu_ld=$lt_with_gnu_ld
   21643 
   21644 # Flag that allows shared libraries with undefined symbols to be built.
   21645 allow_undefined_flag=$lt_allow_undefined_flag
   21646 
   21647 # Flag that enforces no undefined symbols.
   21648 no_undefined_flag=$lt_no_undefined_flag
   21649 
   21650 # Flag to hardcode \$libdir into a binary during linking.
   21651 # This must work even if \$libdir does not exist
   21652 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   21653 
   21654 # Whether we need a single "-rpath" flag with a separated argument.
   21655 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   21656 
   21657 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21658 # DIR into the resulting binary.
   21659 hardcode_direct=$hardcode_direct
   21660 
   21661 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21662 # DIR into the resulting binary and the resulting library dependency is
   21663 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   21664 # library is relocated.
   21665 hardcode_direct_absolute=$hardcode_direct_absolute
   21666 
   21667 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   21668 # into the resulting binary.
   21669 hardcode_minus_L=$hardcode_minus_L
   21670 
   21671 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   21672 # into the resulting binary.
   21673 hardcode_shlibpath_var=$hardcode_shlibpath_var
   21674 
   21675 # Set to "yes" if building a shared library automatically hardcodes DIR
   21676 # into the library and all subsequent libraries and executables linked
   21677 # against it.
   21678 hardcode_automatic=$hardcode_automatic
   21679 
   21680 # Set to yes if linker adds runtime paths of dependent libraries
   21681 # to runtime path list.
   21682 inherit_rpath=$inherit_rpath
   21683 
   21684 # Whether libtool must link a program against all its dependency libraries.
   21685 link_all_deplibs=$link_all_deplibs
   21686 
   21687 # Set to "yes" if exported symbols are required.
   21688 always_export_symbols=$always_export_symbols
   21689 
   21690 # The commands to list exported symbols.
   21691 export_symbols_cmds=$lt_export_symbols_cmds
   21692 
   21693 # Symbols that should not be listed in the preloaded symbols.
   21694 exclude_expsyms=$lt_exclude_expsyms
   21695 
   21696 # Symbols that must always be exported.
   21697 include_expsyms=$lt_include_expsyms
   21698 
   21699 # Commands necessary for linking programs (against libraries) with templates.
   21700 prelink_cmds=$lt_prelink_cmds
   21701 
   21702 # Commands necessary for finishing linking programs.
   21703 postlink_cmds=$lt_postlink_cmds
   21704 
   21705 # Specify filename containing input files.
   21706 file_list_spec=$lt_file_list_spec
   21707 
   21708 # How to hardcode a shared library path into an executable.
   21709 hardcode_action=$hardcode_action
   21710 
   21711 # ### END LIBTOOL CONFIG
   21712 
   21713 _LT_EOF
   21714 
   21715     cat <<'_LT_EOF' >> "$cfgfile"
   21716 
   21717 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   21718 
   21719 # func_munge_path_list VARIABLE PATH
   21720 # -----------------------------------
   21721 # VARIABLE is name of variable containing _space_ separated list of
   21722 # directories to be munged by the contents of PATH, which is string
   21723 # having a format:
   21724 # "DIR[:DIR]:"
   21725 #       string "DIR[ DIR]" will be prepended to VARIABLE
   21726 # ":DIR[:DIR]"
   21727 #       string "DIR[ DIR]" will be appended to VARIABLE
   21728 # "DIRP[:DIRP]::[DIRA:]DIRA"
   21729 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   21730 #       "DIRA[ DIRA]" will be appended to VARIABLE
   21731 # "DIR[:DIR]"
   21732 #       VARIABLE will be replaced by "DIR[ DIR]"
   21733 func_munge_path_list ()
   21734 {
   21735     case x$2 in
   21736     x)
   21737         ;;
   21738     *:)
   21739         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   21740         ;;
   21741     x:*)
   21742         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   21743         ;;
   21744     *::*)
   21745         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   21746         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   21747         ;;
   21748     *)
   21749         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   21750         ;;
   21751     esac
   21752 }
   21753 
   21754 
   21755 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   21756 func_cc_basename ()
   21757 {
   21758     for cc_temp in $*""; do
   21759       case $cc_temp in
   21760         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   21761         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   21762         \-*) ;;
   21763         *) break;;
   21764       esac
   21765     done
   21766     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   21767 }
   21768 
   21769 
   21770 # ### END FUNCTIONS SHARED WITH CONFIGURE
   21771 
   21772 _LT_EOF
   21773 
   21774   case $host_os in
   21775   aix3*)
   21776     cat <<\_LT_EOF >> "$cfgfile"
   21777 # AIX sometimes has problems with the GCC collect2 program.  For some
   21778 # reason, if we set the COLLECT_NAMES environment variable, the problems
   21779 # vanish in a puff of smoke.
   21780 if test set != "${COLLECT_NAMES+set}"; then
   21781   COLLECT_NAMES=
   21782   export COLLECT_NAMES
   21783 fi
   21784 _LT_EOF
   21785     ;;
   21786   esac
   21787 
   21788 
   21789 
   21790 ltmain=$ac_aux_dir/ltmain.sh
   21791 
   21792 
   21793   # We use sed instead of cat because bash on DJGPP gets confused if
   21794   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   21795   # text mode, it properly converts lines to CR/LF.  This bash problem
   21796   # is reportedly fixed, but why not run on old versions too?
   21797   $SED '$q' "$ltmain" >> "$cfgfile" \
   21798      || (rm -f "$cfgfile"; exit 1)
   21799 
   21800    mv -f "$cfgfile" "$ofile" ||
   21801     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   21802   chmod +x "$ofile"
   21803 
   21804  ;;
   21805 
   21806   esac
   21807 done # for ac_tag
   21808 
   21809 
   21810 as_fn_exit 0
   21811 _ACEOF
   21812 ac_clean_files=$ac_clean_files_save
   21813 
   21814 test $ac_write_fail = 0 ||
   21815   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   21816 
   21817 
   21818 # configure is writing to config.log, and then calls config.status.
   21819 # config.status does its own redirection, appending to config.log.
   21820 # Unfortunately, on DOS this fails, as config.log is still kept open
   21821 # by configure, so config.status won't be able to write to it; its
   21822 # output is simply discarded.  So we exec the FD to /dev/null,
   21823 # effectively closing config.log, so it can be properly (re)opened and
   21824 # appended to by config.status.  When coming back to configure, we
   21825 # need to make the FD available again.
   21826 if test "$no_create" != yes; then
   21827   ac_cs_success=:
   21828   ac_config_status_args=
   21829   test "$silent" = yes &&
   21830     ac_config_status_args="$ac_config_status_args --quiet"
   21831   exec 5>/dev/null
   21832   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   21833   exec 5>>config.log
   21834   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   21835   # would make configure fail if this is the last instruction.
   21836   $ac_cs_success || as_fn_exit 1
   21837 fi
   21838 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   21839   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   21840 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   21841 fi
   21842 
   21843 
   21844