Home | History | Annotate | Line # | Download | only in dist
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.73 for libXrender 0.9.13.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxrender/-/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2026 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 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     21 then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # contradicts POSIX and common usage.  Disable this.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else case e in #(
     29   e) case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac ;;
     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 case $# in # ((
    135   0) exec $CONFIG_SHELL $as_opts "$as_myself" ;;
    136   *) exec $CONFIG_SHELL $as_opts "$as_myself" "$@" ;;
    137 esac
    138 # Admittedly, this is quite paranoid, since all the known shells bail
    139 # out after a failed 'exec'.
    140 printf '%s\n' "$0: could not re-execute with $CONFIG_SHELL" >&2
    141 exit 255
    142   fi
    143   # We don't want this to propagate to other subprocesses.
    144           { _as_can_reexec=; unset _as_can_reexec;}
    145 if test "x$CONFIG_SHELL" = x; then
    146   as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    147 then :
    148   emulate sh
    149   NULLCMD=:
    150   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    151   # contradicts POSIX and common usage.  Disable this.
    152   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    153   setopt NO_GLOB_SUBST
    154 else case e in #(
    155   e) case \`(set -o) 2>/dev/null\` in #(
    156   *posix*) :
    157     set -o posix ;; #(
    158   *) :
    159      ;;
    160 esac ;;
    161 esac
    162 fi
    163 "
    164   as_required="as_fn_return () { (exit \$1); }
    165 as_fn_success () { as_fn_return 0; }
    166 as_fn_failure () { as_fn_return 1; }
    167 as_fn_ret_success () { return 0; }
    168 as_fn_ret_failure () { return 1; }
    169 
    170 exitcode=0
    171 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    172 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    173 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    174 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    175 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
    176 then :
    177 
    178 else case e in #(
    179   e) exitcode=1; echo positional parameters were not saved. ;;
    180 esac
    181 fi
    182 test x\$exitcode = x0 || exit 1
    183 blah=\$(echo \$(echo blah))
    184 test x\"\$blah\" = xblah || exit 1
    185 test -x / || exit 1"
    186   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    187   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    188   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    189   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    190 
    191   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    192     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    193     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    194     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    195     PATH=/empty FPATH=/empty; export PATH FPATH
    196     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    197       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    198 test \$(( 1 + 1 )) = 2 || exit 1"
    199   if (eval "$as_required") 2>/dev/null
    200 then :
    201   as_have_required=yes
    202 else case e in #(
    203   e) as_have_required=no ;;
    204 esac
    205 fi
    206   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    207 then :
    208 
    209 else case e in #(
    210   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    211 as_found=false
    212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    213 do
    214   IFS=$as_save_IFS
    215   case $as_dir in #(((
    216     '') as_dir=./ ;;
    217     */) ;;
    218     *) as_dir=$as_dir/ ;;
    219   esac
    220   as_found=:
    221   case $as_dir in #(
    222 	 /*)
    223 	   for as_base in sh bash ksh sh5; do
    224 	     # Try only shells that exist, to save several forks.
    225 	     as_shell=$as_dir$as_base
    226 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    227 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    228 then :
    229   CONFIG_SHELL=$as_shell as_have_required=yes
    230 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    231 then :
    232   break 2
    233 fi
    234 fi
    235 	   done;;
    236        esac
    237   as_found=false
    238 done
    239 IFS=$as_save_IFS
    240 if $as_found
    241 then :
    242 
    243 else case e in #(
    244   e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    245 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    246 then :
    247   CONFIG_SHELL=$SHELL as_have_required=yes
    248 fi ;;
    249 esac
    250 fi
    251 
    252 
    253       if test "x$CONFIG_SHELL" != x
    254 then :
    255   export CONFIG_SHELL
    256              # We cannot yet assume a decent shell, so we have to provide a
    257 # neutralization value for shells without unset; and this also
    258 # works around shells that cannot unset nonexistent variables.
    259 # Preserve -v and -x to the replacement shell.
    260 BASH_ENV=/dev/null
    261 ENV=/dev/null
    262 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    263 case $- in # ((((
    264   *v*x* | *x*v* ) as_opts=-vx ;;
    265   *v* ) as_opts=-v ;;
    266   *x* ) as_opts=-x ;;
    267   * ) as_opts= ;;
    268 esac
    269 case $# in # ((
    270   0) exec $CONFIG_SHELL $as_opts "$as_myself" ;;
    271   *) exec $CONFIG_SHELL $as_opts "$as_myself" "$@" ;;
    272 esac
    273 # Admittedly, this is quite paranoid, since all the known shells bail
    274 # out after a failed 'exec'.
    275 printf '%s\n' "$0: could not re-execute with $CONFIG_SHELL" >&2
    276 exit 255
    277 fi
    278 
    279     if test x$as_have_required = xno
    280 then :
    281   printf '%s\n' "$0: This script requires a shell more modern than all"
    282   printf '%s\n' "$0: the shells that I found on your system."
    283   if test ${ZSH_VERSION+y} ; then
    284     printf '%s\n' "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    285     printf '%s\n' "$0: be upgraded to zsh 4.3.4 or later."
    286   else
    287     printf '%s\n' "$0: Please tell bug-autoconf (at] gnu.org and
    288 $0: https://gitlab.freedesktop.org/xorg/lib/libxrender/-/issues
    289 $0: about your system, including any error possibly output
    290 $0: before this message. Then install a modern shell, or
    291 $0: manually run the script under such a shell if you do
    292 $0: have one."
    293   fi
    294   exit 1
    295 fi ;;
    296 esac
    297 fi
    298 fi
    299 SHELL=${CONFIG_SHELL-/bin/sh}
    300 export SHELL
    301 # Unset more variables known to interfere with behavior of common tools.
    302 CLICOLOR_FORCE= GREP_OPTIONS=
    303 unset CLICOLOR_FORCE GREP_OPTIONS
    304 
    305 ## --------------------- ##
    306 ## M4sh Shell Functions. ##
    307 ## --------------------- ##
    308 # as_fn_unset VAR
    309 # ---------------
    310 # Portably unset VAR.
    311 as_fn_unset ()
    312 {
    313   { eval $1=; unset $1;}
    314 }
    315 as_unset=as_fn_unset
    316 
    317 
    318 # as_fn_set_status STATUS
    319 # -----------------------
    320 # Set $? to STATUS, without forking.
    321 as_fn_set_status ()
    322 {
    323   return $1
    324 } # as_fn_set_status
    325 
    326 # as_fn_exit STATUS
    327 # -----------------
    328 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    329 as_fn_exit ()
    330 {
    331   set +e
    332   as_fn_set_status $1
    333   exit $1
    334 } # as_fn_exit
    335 
    336 # as_fn_mkdir_p
    337 # -------------
    338 # Create "$as_dir" as a directory, including parents if necessary.
    339 as_fn_mkdir_p ()
    340 {
    341 
    342   case $as_dir in #(
    343   -*) as_dir=./$as_dir;;
    344   esac
    345   test -d "$as_dir" || eval $as_mkdir_p || {
    346     as_dirs=
    347     while :; do
    348       case $as_dir in #(
    349       *\'*) as_qdir=`printf '%s\n' "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    350       *) as_qdir=$as_dir;;
    351       esac
    352       as_dirs="'$as_qdir' $as_dirs"
    353       as_dir=`$as_dirname -- "$as_dir" ||
    354 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    355 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    356 	 X"$as_dir" : 'X\(//\)$' \| \
    357 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    358 printf '%s\n' X"$as_dir" |
    359     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    360 	    s//\1/
    361 	    q
    362 	  }
    363 	  /^X\(\/\/\)[^/].*/{
    364 	    s//\1/
    365 	    q
    366 	  }
    367 	  /^X\(\/\/\)$/{
    368 	    s//\1/
    369 	    q
    370 	  }
    371 	  /^X\(\/\).*/{
    372 	    s//\1/
    373 	    q
    374 	  }
    375 	  s/.*/./; q'`
    376       test -d "$as_dir" && break
    377     done
    378     test -z "$as_dirs" || eval "mkdir $as_dirs"
    379   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    380 
    381 
    382 } # as_fn_mkdir_p
    383 
    384 # as_fn_executable_p FILE
    385 # -----------------------
    386 # Test if FILE is an executable regular file.
    387 as_fn_executable_p ()
    388 {
    389   test -f "$1" && test -x "$1"
    390 } # as_fn_executable_p
    391 # as_fn_append VAR VALUE
    392 # ----------------------
    393 # Append the text in VALUE to the end of the definition contained in VAR. Take
    394 # advantage of any shell optimizations that allow amortized linear growth over
    395 # repeated appends, instead of the typical quadratic growth present in naive
    396 # implementations.
    397 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    398 then :
    399   eval 'as_fn_append ()
    400   {
    401     eval $1+=\$2
    402   }'
    403 else case e in #(
    404   e) as_fn_append ()
    405   {
    406     eval $1=\$$1\$2
    407   } ;;
    408 esac
    409 fi # as_fn_append
    410 
    411 # as_fn_arith ARG...
    412 # ------------------
    413 # Perform arithmetic evaluation on the ARGs, and store the result in the
    414 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    415 # must be portable across $(()) and expr.
    416 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    417 then :
    418   eval 'as_fn_arith ()
    419   {
    420     as_val=$(( $* ))
    421   }'
    422 else case e in #(
    423   e) as_fn_arith ()
    424   {
    425     as_val=`expr "$@" || test $? -eq 1`
    426   } ;;
    427 esac
    428 fi # as_fn_arith
    429 
    430 
    431 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    432 # ----------------------------------------
    433 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    434 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    435 # script with STATUS, using 1 if that was 0.
    436 as_fn_error ()
    437 {
    438   as_status=$1; test $as_status -eq 0 && as_status=1
    439   if test "$4"; then
    440     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    441     printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    442   fi
    443   printf '%s\n' "$as_me: error: $2" >&2
    444   as_fn_exit $as_status
    445 } # as_fn_error
    446 
    447 if expr a : '\(a\)' >/dev/null 2>&1 &&
    448    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    449   as_expr=expr
    450 else
    451   as_expr=false
    452 fi
    453 
    454 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    455   as_basename=basename
    456 else
    457   as_basename=false
    458 fi
    459 
    460 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    461   as_dirname=dirname
    462 else
    463   as_dirname=false
    464 fi
    465 
    466 as_me=`$as_basename -- "$0" ||
    467 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    468 	 X"$0" : 'X\(//\)$' \| \
    469 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    470 printf '%s\n' X/"$0" |
    471     sed '/^.*\/\([^/][^/]*\)\/*$/{
    472 	    s//\1/
    473 	    q
    474 	  }
    475 	  /^X\/\(\/\/\)$/{
    476 	    s//\1/
    477 	    q
    478 	  }
    479 	  /^X\/\(\/\).*/{
    480 	    s//\1/
    481 	    q
    482 	  }
    483 	  s/.*/./; q'`
    484 
    485 # Avoid depending upon Character Ranges.
    486 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    487 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    488 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    489 as_cr_digits='0123456789'
    490 as_cr_alnum=$as_cr_Letters$as_cr_digits
    491 
    492 
    493   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    494   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    495   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    496   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    497   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    498   sed -n '
    499     p
    500     /[$]LINENO/=
    501   ' <$as_myself |
    502     sed '
    503       t clear
    504       :clear
    505       s/[$]LINENO.*/&-/
    506       t lineno
    507       b
    508       :lineno
    509       N
    510       :loop
    511       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    512       t loop
    513       s/-\n.*//
    514     ' >$as_me.lineno &&
    515   chmod +x "$as_me.lineno" ||
    516     { printf '%s\n' "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    517 
    518   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    519   # already done that, so ensure we don't try to do so again and fall
    520   # in an infinite loop.  This has already happened in practice.
    521   _as_can_reexec=no; export _as_can_reexec
    522   # Don't try to exec as it changes $[0], causing all sort of problems
    523   # (the dirname of $[0] is not the place where we might find the
    524   # original and so on.  Autoconf is especially sensitive to this).
    525   . "./$as_me.lineno"
    526   # Exit status is that of the last command.
    527   exit
    528 }
    529 
    530 rm -f conf$$ conf$$.exe conf$$.file
    531 if test -d conf$$.dir; then
    532   rm -f conf$$.dir/conf$$.file
    533 else
    534   rm -f conf$$.dir
    535   mkdir conf$$.dir 2>/dev/null
    536 fi
    537 if (echo >conf$$.file) 2>/dev/null; then
    538   if ln -s conf$$.file conf$$ 2>/dev/null; then
    539     as_ln_s='ln -s'
    540     # ... but there are two gotchas:
    541     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
    542     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
    543     # In both cases, we have to default to 'cp -pR'.
    544     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    545       as_ln_s='cp -pR'
    546   elif ln conf$$.file conf$$ 2>/dev/null; then
    547     as_ln_s=ln
    548   else
    549     as_ln_s='cp -pR'
    550   fi
    551 else
    552   as_ln_s='cp -pR'
    553 fi
    554 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    555 rmdir conf$$.dir 2>/dev/null
    556 
    557 if mkdir -p . 2>/dev/null; then
    558   as_mkdir_p='mkdir -p "$as_dir"'
    559 else
    560   test -d ./-p && rmdir ./-p
    561   as_mkdir_p=false
    562 fi
    563 
    564 as_test_x='test -x'
    565 as_executable_p=as_fn_executable_p
    566 
    567 # Sed expression to map a string onto a valid CPP name.
    568 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
    569 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
    570 
    571 # Sed expression to map a string onto a valid variable name.
    572 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
    573 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
    574 
    575 SHELL=${CONFIG_SHELL-/bin/sh}
    576 
    577 
    578 test -n "$DJDIR" || exec 7<&0 </dev/null
    579 exec 6>&1
    580 
    581 # Name of the host.
    582 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    583 # so uname gets run too.
    584 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    585 
    586 #
    587 # Initializations.
    588 #
    589 ac_default_prefix=/usr/local
    590 ac_clean_CONFIG_STATUS=
    591 ac_clean_files=
    592 ac_config_libobj_dir=.
    593 LIBOBJS=
    594 cross_compiling=no
    595 subdirs=
    596 MFLAGS=
    597 MAKEFLAGS=
    598 
    599 # Identity of this package.
    600 PACKAGE_NAME='libXrender'
    601 PACKAGE_TARNAME='libXrender'
    602 PACKAGE_VERSION='0.9.13'
    603 PACKAGE_STRING='libXrender 0.9.13'
    604 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libxrender/-/issues'
    605 PACKAGE_URL=''
    606 
    607 ac_unique_file="Makefile.am"
    608 # Factoring default headers for most tests.
    609 ac_includes_default="\
    610 #include <stddef.h>
    611 #ifdef HAVE_STDIO_H
    612 # include <stdio.h>
    613 #endif
    614 #ifdef HAVE_STDLIB_H
    615 # include <stdlib.h>
    616 #endif
    617 #ifdef HAVE_STRING_H
    618 # include <string.h>
    619 #endif
    620 #ifdef HAVE_INTTYPES_H
    621 # include <inttypes.h>
    622 #endif
    623 #ifdef HAVE_STDINT_H
    624 # include <stdint.h>
    625 #endif
    626 #ifdef HAVE_STRINGS_H
    627 # include <strings.h>
    628 #endif
    629 #ifdef HAVE_SYS_TYPES_H
    630 # include <sys/types.h>
    631 #endif
    632 #ifdef HAVE_SYS_STAT_H
    633 # include <sys/stat.h>
    634 #endif
    635 #ifdef HAVE_UNISTD_H
    636 # include <unistd.h>
    637 #endif"
    638 
    639 ac_header_c_list=
    640 ac_subst_vars='am__EXEEXT_FALSE
    641 am__EXEEXT_TRUE
    642 LTLIBOBJS
    643 LIBOBJS
    644 RENDER_LIBS
    645 RENDER_CFLAGS
    646 RENDER_VERSION
    647 XTMALLOC_ZERO_CFLAGS
    648 XMALLOC_ZERO_CFLAGS
    649 MALLOC_ZERO_CFLAGS
    650 MAN_SUBSTS
    651 XORG_MAN_PAGE
    652 ADMIN_MAN_DIR
    653 DRIVER_MAN_DIR
    654 MISC_MAN_DIR
    655 FILE_MAN_DIR
    656 LIB_MAN_DIR
    657 APP_MAN_DIR
    658 ADMIN_MAN_SUFFIX
    659 DRIVER_MAN_SUFFIX
    660 MISC_MAN_SUFFIX
    661 FILE_MAN_SUFFIX
    662 LIB_MAN_SUFFIX
    663 APP_MAN_SUFFIX
    664 INSTALL_CMD
    665 PKG_CONFIG_LIBDIR
    666 PKG_CONFIG_PATH
    667 PKG_CONFIG
    668 CHANGELOG_CMD
    669 STRICT_CFLAGS
    670 CWARNFLAGS
    671 BASE_CFLAGS
    672 LT_SYS_LIBRARY_PATH
    673 OTOOL64
    674 OTOOL
    675 LIPO
    676 NMEDIT
    677 DSYMUTIL
    678 MANIFEST_TOOL
    679 RANLIB
    680 ac_ct_AR
    681 AR
    682 DLLTOOL
    683 OBJDUMP
    684 FILECMD
    685 LN_S
    686 NM
    687 ac_ct_DUMPBIN
    688 DUMPBIN
    689 LD
    690 FGREP
    691 EGREP
    692 GREP
    693 SED
    694 am__fastdepCC_FALSE
    695 am__fastdepCC_TRUE
    696 CCDEPMODE
    697 am__nodep
    698 AMDEPBACKSLASH
    699 AMDEP_FALSE
    700 AMDEP_TRUE
    701 am__include
    702 DEPDIR
    703 OBJEXT
    704 EXEEXT
    705 ac_ct_CC
    706 CPPFLAGS
    707 LDFLAGS
    708 CFLAGS
    709 CC
    710 host_os
    711 host_vendor
    712 host_cpu
    713 host
    714 build_os
    715 build_vendor
    716 build_cpu
    717 build
    718 LIBTOOL
    719 am__xargs_n
    720 am__rm_f_notfound
    721 AM_BACKSLASH
    722 AM_DEFAULT_VERBOSITY
    723 AM_DEFAULT_V
    724 AM_V
    725 CSCOPE
    726 ETAGS
    727 CTAGS
    728 am__tar_ignore_stderr
    729 am__untar
    730 am__tar
    731 AMTAR
    732 am__leading_dot
    733 SET_MAKE
    734 AWK
    735 mkdir_p
    736 MKDIR_P
    737 INSTALL_STRIP_PROGRAM
    738 STRIP
    739 install_sh
    740 MAKEINFO
    741 AUTOHEADER
    742 AUTOMAKE
    743 AUTOCONF
    744 ACLOCAL
    745 VERSION
    746 PACKAGE
    747 CYGPATH_W
    748 am__isrc
    749 INSTALL_DATA
    750 INSTALL_SCRIPT
    751 INSTALL_PROGRAM
    752 PACKAGE_BRIEF
    753 ECHO_T
    754 ECHO_N
    755 ECHO_C
    756 target_alias
    757 host_alias
    758 build_alias
    759 LIBS
    760 DEFS
    761 mandir
    762 localedir
    763 libdir
    764 psdir
    765 pdfdir
    766 dvidir
    767 htmldir
    768 infodir
    769 docdir
    770 oldincludedir
    771 includedir
    772 runstatedir
    773 localstatedir
    774 sharedstatedir
    775 sysconfdir
    776 datadir
    777 datarootdir
    778 libexecdir
    779 sbindir
    780 bindir
    781 program_transform_name
    782 prefix
    783 exec_prefix
    784 PACKAGE_URL
    785 PACKAGE_BUGREPORT
    786 PACKAGE_STRING
    787 PACKAGE_VERSION
    788 PACKAGE_TARNAME
    789 PACKAGE_NAME
    790 PATH_SEPARATOR
    791 SHELL
    792 am__quote'
    793 ac_subst_files=''
    794 ac_user_opts='
    795 enable_option_checking
    796 enable_silent_rules
    797 enable_shared
    798 enable_static
    799 enable_pic
    800 with_pic
    801 enable_cxx_stdlib
    802 enable_fast_install
    803 enable_aix_soname
    804 with_aix_soname
    805 enable_dependency_tracking
    806 with_gnu_ld
    807 with_sysroot
    808 enable_libtool_lock
    809 enable_selective_werror
    810 enable_strict_compilation
    811 enable_malloc0returnsnull
    812 '
    813       ac_precious_vars='build_alias
    814 host_alias
    815 target_alias
    816 CC
    817 CFLAGS
    818 LDFLAGS
    819 LIBS
    820 CPPFLAGS
    821 LT_SYS_LIBRARY_PATH
    822 PKG_CONFIG
    823 PKG_CONFIG_PATH
    824 PKG_CONFIG_LIBDIR
    825 RENDER_CFLAGS
    826 RENDER_LIBS'
    827 
    828 
    829 # Initialize some variables set by options.
    830 ac_init_help=
    831 ac_init_version=false
    832 ac_unrecognized_opts=
    833 ac_unrecognized_sep=
    834 # The variables have the same names as the options, with
    835 # dashes changed to underlines.
    836 cache_file=/dev/null
    837 exec_prefix=NONE
    838 no_create=
    839 no_recursion=
    840 prefix=NONE
    841 program_prefix=NONE
    842 program_suffix=NONE
    843 program_transform_name=s,x,x,
    844 silent=
    845 site=
    846 srcdir=
    847 verbose=
    848 x_includes=NONE
    849 x_libraries=NONE
    850 
    851 # Installation directory options.
    852 # These are left unexpanded so users can "make install exec_prefix=/foo"
    853 # and all the variables that are supposed to be based on exec_prefix
    854 # by default will actually change.
    855 # Use braces instead of parens because sh, perl, etc. also accept them.
    856 # (The list follows the same order as the GNU Coding Standards.)
    857 bindir='${exec_prefix}/bin'
    858 sbindir='${exec_prefix}/sbin'
    859 libexecdir='${exec_prefix}/libexec'
    860 datarootdir='${prefix}/share'
    861 datadir='${datarootdir}'
    862 sysconfdir='${prefix}/etc'
    863 sharedstatedir='${prefix}/com'
    864 localstatedir='${prefix}/var'
    865 runstatedir='${localstatedir}/run'
    866 includedir='${prefix}/include'
    867 oldincludedir='/usr/include'
    868 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    869 infodir='${datarootdir}/info'
    870 htmldir='${docdir}'
    871 dvidir='${docdir}'
    872 pdfdir='${docdir}'
    873 psdir='${docdir}'
    874 libdir='${exec_prefix}/lib'
    875 localedir='${datarootdir}/locale'
    876 mandir='${datarootdir}/man'
    877 
    878 ac_prev=
    879 ac_dashdash=
    880 for ac_option
    881 do
    882   # If the previous option needs an argument, assign it.
    883   if test -n "$ac_prev"; then
    884     eval $ac_prev=\$ac_option
    885     ac_prev=
    886     continue
    887   fi
    888 
    889   case $ac_option in
    890   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    891   *=)   ac_optarg= ;;
    892   *)    ac_optarg=yes ;;
    893   esac
    894 
    895   case $ac_dashdash$ac_option in
    896   --)
    897     ac_dashdash=yes ;;
    898 
    899   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    900     ac_prev=bindir ;;
    901   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    902     bindir=$ac_optarg ;;
    903 
    904   -build | --build | --buil | --bui | --bu)
    905     ac_prev=build_alias ;;
    906   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    907     build_alias=$ac_optarg ;;
    908 
    909   -cache-file | --cache-file | --cache-fil | --cache-fi \
    910   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    911     ac_prev=cache_file ;;
    912   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    913   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    914     cache_file=$ac_optarg ;;
    915 
    916   --config-cache | -C)
    917     cache_file=config.cache ;;
    918 
    919   -datadir | --datadir | --datadi | --datad)
    920     ac_prev=datadir ;;
    921   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    922     datadir=$ac_optarg ;;
    923 
    924   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    925   | --dataroo | --dataro | --datar)
    926     ac_prev=datarootdir ;;
    927   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    928   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    929     datarootdir=$ac_optarg ;;
    930 
    931   -disable-* | --disable-*)
    932     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    933     # Reject names that are not valid shell variable names.
    934     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    935       as_fn_error $? "invalid feature name: '$ac_useropt'"
    936     ac_useropt_orig=$ac_useropt
    937     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
    938     case $ac_user_opts in
    939       *"
    940 "enable_$ac_useropt"
    941 "*) ;;
    942       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    943 	 ac_unrecognized_sep=', ';;
    944     esac
    945     eval enable_$ac_useropt=no ;;
    946 
    947   -docdir | --docdir | --docdi | --doc | --do)
    948     ac_prev=docdir ;;
    949   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    950     docdir=$ac_optarg ;;
    951 
    952   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    953     ac_prev=dvidir ;;
    954   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    955     dvidir=$ac_optarg ;;
    956 
    957   -enable-* | --enable-*)
    958     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    959     # Reject names that are not valid shell variable names.
    960     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    961       as_fn_error $? "invalid feature name: '$ac_useropt'"
    962     ac_useropt_orig=$ac_useropt
    963     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
    964     case $ac_user_opts in
    965       *"
    966 "enable_$ac_useropt"
    967 "*) ;;
    968       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    969 	 ac_unrecognized_sep=', ';;
    970     esac
    971     eval enable_$ac_useropt=\$ac_optarg ;;
    972 
    973   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    974   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    975   | --exec | --exe | --ex)
    976     ac_prev=exec_prefix ;;
    977   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    978   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    979   | --exec=* | --exe=* | --ex=*)
    980     exec_prefix=$ac_optarg ;;
    981 
    982   -gas | --gas | --ga | --g)
    983     # Obsolete; use --with-gas.
    984     with_gas=yes ;;
    985 
    986   -help | --help | --hel | --he | -h)
    987     ac_init_help=long ;;
    988   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    989     ac_init_help=recursive ;;
    990   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    991     ac_init_help=short ;;
    992 
    993   -host | --host | --hos | --ho)
    994     ac_prev=host_alias ;;
    995   -host=* | --host=* | --hos=* | --ho=*)
    996     host_alias=$ac_optarg ;;
    997 
    998   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    999     ac_prev=htmldir ;;
   1000   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1001   | --ht=*)
   1002     htmldir=$ac_optarg ;;
   1003 
   1004   -includedir | --includedir | --includedi | --included | --include \
   1005   | --includ | --inclu | --incl | --inc)
   1006     ac_prev=includedir ;;
   1007   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1008   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1009     includedir=$ac_optarg ;;
   1010 
   1011   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1012     ac_prev=infodir ;;
   1013   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1014     infodir=$ac_optarg ;;
   1015 
   1016   -libdir | --libdir | --libdi | --libd)
   1017     ac_prev=libdir ;;
   1018   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1019     libdir=$ac_optarg ;;
   1020 
   1021   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1022   | --libexe | --libex | --libe)
   1023     ac_prev=libexecdir ;;
   1024   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1025   | --libexe=* | --libex=* | --libe=*)
   1026     libexecdir=$ac_optarg ;;
   1027 
   1028   -localedir | --localedir | --localedi | --localed | --locale)
   1029     ac_prev=localedir ;;
   1030   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1031     localedir=$ac_optarg ;;
   1032 
   1033   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1034   | --localstate | --localstat | --localsta | --localst | --locals)
   1035     ac_prev=localstatedir ;;
   1036   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1037   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1038     localstatedir=$ac_optarg ;;
   1039 
   1040   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1041     ac_prev=mandir ;;
   1042   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1043     mandir=$ac_optarg ;;
   1044 
   1045   -nfp | --nfp | --nf)
   1046     # Obsolete; use --without-fp.
   1047     with_fp=no ;;
   1048 
   1049   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1050   | --no-cr | --no-c | -n)
   1051     no_create=yes ;;
   1052 
   1053   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1054   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1055     no_recursion=yes ;;
   1056 
   1057   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1058   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1059   | --oldin | --oldi | --old | --ol | --o)
   1060     ac_prev=oldincludedir ;;
   1061   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1062   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1063   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1064     oldincludedir=$ac_optarg ;;
   1065 
   1066   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1067     ac_prev=prefix ;;
   1068   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1069     prefix=$ac_optarg ;;
   1070 
   1071   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1072   | --program-pre | --program-pr | --program-p)
   1073     ac_prev=program_prefix ;;
   1074   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1075   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1076     program_prefix=$ac_optarg ;;
   1077 
   1078   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1079   | --program-suf | --program-su | --program-s)
   1080     ac_prev=program_suffix ;;
   1081   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1082   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1083     program_suffix=$ac_optarg ;;
   1084 
   1085   -program-transform-name | --program-transform-name \
   1086   | --program-transform-nam | --program-transform-na \
   1087   | --program-transform-n | --program-transform- \
   1088   | --program-transform | --program-transfor \
   1089   | --program-transfo | --program-transf \
   1090   | --program-trans | --program-tran \
   1091   | --progr-tra | --program-tr | --program-t)
   1092     ac_prev=program_transform_name ;;
   1093   -program-transform-name=* | --program-transform-name=* \
   1094   | --program-transform-nam=* | --program-transform-na=* \
   1095   | --program-transform-n=* | --program-transform-=* \
   1096   | --program-transform=* | --program-transfor=* \
   1097   | --program-transfo=* | --program-transf=* \
   1098   | --program-trans=* | --program-tran=* \
   1099   | --progr-tra=* | --program-tr=* | --program-t=*)
   1100     program_transform_name=$ac_optarg ;;
   1101 
   1102   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1103     ac_prev=pdfdir ;;
   1104   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1105     pdfdir=$ac_optarg ;;
   1106 
   1107   -psdir | --psdir | --psdi | --psd | --ps)
   1108     ac_prev=psdir ;;
   1109   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1110     psdir=$ac_optarg ;;
   1111 
   1112   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1113   | -silent | --silent | --silen | --sile | --sil)
   1114     silent=yes ;;
   1115 
   1116   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1117   | --runstate | --runstat | --runsta | --runst | --runs \
   1118   | --run | --ru | --r)
   1119     ac_prev=runstatedir ;;
   1120   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1121   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1122   | --run=* | --ru=* | --r=*)
   1123     runstatedir=$ac_optarg ;;
   1124 
   1125   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1126     ac_prev=sbindir ;;
   1127   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1128   | --sbi=* | --sb=*)
   1129     sbindir=$ac_optarg ;;
   1130 
   1131   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1132   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1133   | --sharedst | --shareds | --shared | --share | --shar \
   1134   | --sha | --sh)
   1135     ac_prev=sharedstatedir ;;
   1136   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1137   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1138   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1139   | --sha=* | --sh=*)
   1140     sharedstatedir=$ac_optarg ;;
   1141 
   1142   -site | --site | --sit)
   1143     ac_prev=site ;;
   1144   -site=* | --site=* | --sit=*)
   1145     site=$ac_optarg ;;
   1146 
   1147   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1148     ac_prev=srcdir ;;
   1149   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1150     srcdir=$ac_optarg ;;
   1151 
   1152   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1153   | --syscon | --sysco | --sysc | --sys | --sy)
   1154     ac_prev=sysconfdir ;;
   1155   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1156   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1157     sysconfdir=$ac_optarg ;;
   1158 
   1159   -target | --target | --targe | --targ | --tar | --ta | --t)
   1160     ac_prev=target_alias ;;
   1161   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1162     target_alias=$ac_optarg ;;
   1163 
   1164   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1165     verbose=yes ;;
   1166 
   1167   -version | --version | --versio | --versi | --vers | -V)
   1168     ac_init_version=: ;;
   1169 
   1170   -with-* | --with-*)
   1171     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1172     # Reject names that are not valid shell variable names.
   1173     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1174       as_fn_error $? "invalid package name: '$ac_useropt'"
   1175     ac_useropt_orig=$ac_useropt
   1176     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
   1177     case $ac_user_opts in
   1178       *"
   1179 "with_$ac_useropt"
   1180 "*) ;;
   1181       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1182 	 ac_unrecognized_sep=', ';;
   1183     esac
   1184     eval with_$ac_useropt=\$ac_optarg ;;
   1185 
   1186   -without-* | --without-*)
   1187     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1188     # Reject names that are not valid shell variable names.
   1189     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1190       as_fn_error $? "invalid package name: '$ac_useropt'"
   1191     ac_useropt_orig=$ac_useropt
   1192     ac_useropt=`printf '%s\n' "$ac_useropt" | sed 's/[-+.]/_/g'`
   1193     case $ac_user_opts in
   1194       *"
   1195 "with_$ac_useropt"
   1196 "*) ;;
   1197       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1198 	 ac_unrecognized_sep=', ';;
   1199     esac
   1200     eval with_$ac_useropt=no ;;
   1201 
   1202   --x)
   1203     # Obsolete; use --with-x.
   1204     with_x=yes ;;
   1205 
   1206   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1207   | --x-incl | --x-inc | --x-in | --x-i)
   1208     ac_prev=x_includes ;;
   1209   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1210   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1211     x_includes=$ac_optarg ;;
   1212 
   1213   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1214   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1215     ac_prev=x_libraries ;;
   1216   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1217   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1218     x_libraries=$ac_optarg ;;
   1219 
   1220   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1221 Try '$0 --help' for more information"
   1222     ;;
   1223 
   1224   *=*)
   1225     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1226     # Reject names that are not valid shell variable names.
   1227     case $ac_envvar in #(
   1228       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1229       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1230     esac
   1231     eval $ac_envvar=\$ac_optarg
   1232     export $ac_envvar ;;
   1233 
   1234   *)
   1235     # FIXME: should be removed in autoconf 3.0.
   1236     printf '%s\n' "$as_me: WARNING: you should use --build, --host, --target" >&2
   1237     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1238       printf '%s\n' "$as_me: WARNING: invalid host type: $ac_option" >&2
   1239     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1240     ;;
   1241 
   1242   esac
   1243 done
   1244 
   1245 if test -n "$ac_prev"; then
   1246   ac_option=--`printf '%s\n' $ac_prev | sed 's/_/-/g'`
   1247   as_fn_error $? "missing argument to $ac_option"
   1248 fi
   1249 
   1250 if test -n "$ac_unrecognized_opts"; then
   1251   case $enable_option_checking in
   1252     no) ;;
   1253     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1254     *)     printf '%s\n' "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1255   esac
   1256 fi
   1257 
   1258 # Check all directory arguments for consistency.
   1259 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1260 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1261 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1262 		libdir localedir mandir runstatedir
   1263 do
   1264   eval ac_val=\$$ac_var
   1265   # Remove trailing slashes.
   1266   case $ac_val in
   1267     */ )
   1268       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1269       eval $ac_var=\$ac_val;;
   1270   esac
   1271   # Be sure to have absolute directory names.
   1272   case $ac_val in
   1273     [\\/$]* | ?:[\\/]* )  continue;;
   1274     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1275   esac
   1276   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1277 done
   1278 
   1279 # There might be people who depend on the old broken behavior: '$host'
   1280 # used to hold the argument of --host etc.
   1281 # FIXME: To remove some day.
   1282 build=$build_alias
   1283 host=$host_alias
   1284 target=$target_alias
   1285 
   1286 # FIXME: To remove some day.
   1287 if test "x$host_alias" != x; then
   1288   if test "x$build_alias" = x; then
   1289     cross_compiling=maybe
   1290   elif test "x$build_alias" != "x$host_alias"; then
   1291     cross_compiling=yes
   1292   fi
   1293 fi
   1294 
   1295 ac_tool_prefix=
   1296 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1297 
   1298 test "$silent" = yes && exec 6>/dev/null
   1299 
   1300 
   1301 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1302 ac_ls_di=`ls -di .` &&
   1303 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1304   as_fn_error $? "working directory cannot be determined"
   1305 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1306   as_fn_error $? "pwd does not report name of working directory"
   1307 
   1308 
   1309 # Find the source files, if location was not specified.
   1310 if test -z "$srcdir"; then
   1311   ac_srcdir_defaulted=yes
   1312   # Try the directory containing this script, then the parent directory.
   1313   ac_confdir=`$as_dirname -- "$as_myself" ||
   1314 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1315 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1316 	 X"$as_myself" : 'X\(//\)$' \| \
   1317 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1318 printf '%s\n' X"$as_myself" |
   1319     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1320 	    s//\1/
   1321 	    q
   1322 	  }
   1323 	  /^X\(\/\/\)[^/].*/{
   1324 	    s//\1/
   1325 	    q
   1326 	  }
   1327 	  /^X\(\/\/\)$/{
   1328 	    s//\1/
   1329 	    q
   1330 	  }
   1331 	  /^X\(\/\).*/{
   1332 	    s//\1/
   1333 	    q
   1334 	  }
   1335 	  s/.*/./; q'`
   1336   srcdir=$ac_confdir
   1337   if test ! -r "$srcdir/$ac_unique_file"; then
   1338     srcdir=..
   1339   fi
   1340 else
   1341   ac_srcdir_defaulted=no
   1342 fi
   1343 if test ! -r "$srcdir/$ac_unique_file"; then
   1344   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1345   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1346 fi
   1347 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1348 ac_abs_confdir=`(
   1349 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1350 	pwd)`
   1351 # When building in place, set srcdir=.
   1352 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1353   srcdir=.
   1354 fi
   1355 # Remove unnecessary trailing slashes from srcdir.
   1356 # Double slashes in file names in object file debugging info
   1357 # mess up M-x gdb in Emacs.
   1358 case $srcdir in
   1359 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1360 esac
   1361 for ac_var in $ac_precious_vars; do
   1362   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1363   eval ac_env_${ac_var}_value=\$${ac_var}
   1364   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1365   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1366 done
   1367 
   1368 #
   1369 # Report the --help message.
   1370 #
   1371 if test "$ac_init_help" = "long"; then
   1372   # Omit some internal or obsolete options to make the list less imposing.
   1373   # This message is too long to be a string in the A/UX 3.1 sh.
   1374   cat <<_ACEOF
   1375 'configure' configures libXrender 0.9.13 to adapt to many kinds of systems.
   1376 
   1377 Usage: $0 [OPTION]... [VAR=VALUE]...
   1378 
   1379 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1380 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1381 
   1382 Defaults for the options are specified in brackets.
   1383 
   1384 Configuration:
   1385   -h, --help              display this help and exit
   1386       --help=short        display options specific to this package
   1387       --help=recursive    display the short help of all the included packages
   1388   -V, --version           display version information and exit
   1389   -q, --quiet, --silent   do not print 'checking ...' messages
   1390       --cache-file=FILE   cache test results in FILE [disabled]
   1391   -C, --config-cache      alias for '--cache-file=config.cache'
   1392   -n, --no-create         do not create output files
   1393       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1394 
   1395 Installation directories:
   1396   --prefix=PREFIX         install architecture-independent files in PREFIX
   1397                           [$ac_default_prefix]
   1398   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1399                           [PREFIX]
   1400 
   1401 By default, 'make install' will install all the files in
   1402 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1403 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1404 for instance '--prefix=\$HOME'.
   1405 
   1406 For better control, use the options below.
   1407 
   1408 Fine tuning of the installation directories:
   1409   --bindir=DIR            user executables [EPREFIX/bin]
   1410   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1411   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1412   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1413   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1414   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1415   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1416   --libdir=DIR            object code libraries [EPREFIX/lib]
   1417   --includedir=DIR        C header files [PREFIX/include]
   1418   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1419   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1420   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1421   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1422   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1423   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1424   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXrender]
   1425   --htmldir=DIR           html documentation [DOCDIR]
   1426   --dvidir=DIR            dvi documentation [DOCDIR]
   1427   --pdfdir=DIR            pdf documentation [DOCDIR]
   1428   --psdir=DIR             ps documentation [DOCDIR]
   1429 _ACEOF
   1430 
   1431   cat <<\_ACEOF
   1432 
   1433 Program names:
   1434   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1435   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1436   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1437 
   1438 System types:
   1439   --build=BUILD     configure for building on BUILD [guessed]
   1440   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1441 _ACEOF
   1442 fi
   1443 
   1444 if test -n "$ac_init_help"; then
   1445   case $ac_init_help in
   1446      short | recursive ) echo "Configuration of libXrender 0.9.13:";;
   1447    esac
   1448   cat <<\_ACEOF
   1449 
   1450 Optional Features:
   1451   --disable-option-checking  ignore unrecognized --enable/--with options
   1452   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1453   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1454   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1455   --disable-silent-rules  verbose build output (undo: "make V=0")
   1456   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1457   --enable-static[=PKGS]  build static libraries [default=yes]
   1458   --enable-pic[=PKGS]     try to use only PIC/non-PIC objects [default=use
   1459                           both]
   1460   --enable-cxx-stdlib[=PKGS]
   1461                           let the compiler frontend decide what standard
   1462                           libraries to link when building C++ shared libraries
   1463                           and modules [default=no]
   1464   --enable-fast-install[=PKGS]
   1465                           optimize for fast installation [default=yes]
   1466   --enable-aix-soname=aix|svr4|both
   1467                           shared library versioning (aka "SONAME") variant to
   1468                           provide on AIX, [default=aix].
   1469   --enable-dependency-tracking
   1470                           do not reject slow dependency extractors
   1471   --disable-dependency-tracking
   1472                           speeds up one-time build
   1473   --disable-libtool-lock  avoid locking (might break parallel builds)
   1474   --disable-selective-werror
   1475                           Turn off selective compiler errors. (default:
   1476                           enabled)
   1477   --enable-strict-compilation
   1478                           Enable all warnings from compiler and make them
   1479                           errors (default: disabled)
   1480   --enable-malloc0returnsnull
   1481                           assume malloc(0) can return NULL (default: yes)
   1482 
   1483 Optional Packages:
   1484   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1485   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1486   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1487   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1488                           compiler's sysroot if not specified).
   1489 
   1490 Some influential environment variables:
   1491   CC          C compiler command
   1492   CFLAGS      C compiler flags
   1493   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1494               nonstandard directory <lib dir>
   1495   LIBS        libraries to pass to the linker, e.g. -l<library>
   1496   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1497               you have headers in a nonstandard directory <include dir>
   1498   LT_SYS_LIBRARY_PATH
   1499               User-defined run-time library search path.
   1500   PKG_CONFIG  path to pkg-config utility
   1501   PKG_CONFIG_PATH
   1502               directories to add to pkg-config's search path
   1503   PKG_CONFIG_LIBDIR
   1504               path overriding pkg-config's built-in search path
   1505   RENDER_CFLAGS
   1506               C compiler flags for RENDER, overriding pkg-config
   1507   RENDER_LIBS linker flags for RENDER, overriding pkg-config
   1508 
   1509 Use these variables to override the choices made by 'configure' or to help
   1510 it to find libraries and programs with nonstandard names/locations.
   1511 
   1512 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxrender/-/issues>.
   1513 _ACEOF
   1514 ac_status=$?
   1515 fi
   1516 
   1517 if test "$ac_init_help" = "recursive"; then
   1518   # If there are subdirs, report their specific --help.
   1519   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1520     test -d "$ac_dir" ||
   1521       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1522       continue
   1523     ac_builddir=.
   1524 
   1525 case "$ac_dir" in
   1526 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1527 *)
   1528   ac_dir_suffix=/`printf '%s\n' "$ac_dir" | sed 's|^\.[\\/]||'`
   1529   # A ".." for each directory in $ac_dir_suffix.
   1530   ac_top_builddir_sub=`printf '%s\n' "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1531   case $ac_top_builddir_sub in
   1532   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1533   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1534   esac ;;
   1535 esac
   1536 ac_abs_top_builddir=$ac_pwd
   1537 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1538 # for backward compatibility:
   1539 ac_top_builddir=$ac_top_build_prefix
   1540 
   1541 case $srcdir in
   1542   .)  # We are building in place.
   1543     ac_srcdir=.
   1544     ac_top_srcdir=$ac_top_builddir_sub
   1545     ac_abs_top_srcdir=$ac_pwd ;;
   1546   [\\/]* | ?:[\\/]* )  # Absolute name.
   1547     ac_srcdir=$srcdir$ac_dir_suffix;
   1548     ac_top_srcdir=$srcdir
   1549     ac_abs_top_srcdir=$srcdir ;;
   1550   *) # Relative name.
   1551     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1552     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1553     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1554 esac
   1555 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1556 
   1557     cd "$ac_dir" || { ac_status=$?; continue; }
   1558     # Check for configure.gnu first; this name is used for a wrapper for
   1559     # Metaconfig's "Configure" on case-insensitive file systems.
   1560     if test -f "$ac_srcdir/configure.gnu"; then
   1561       echo &&
   1562       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1563     elif test -f "$ac_srcdir/configure"; then
   1564       echo &&
   1565       $SHELL "$ac_srcdir/configure" --help=recursive
   1566     else
   1567       printf '%s\n' "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1568     fi || ac_status=$?
   1569     cd "$ac_pwd" || { ac_status=$?; break; }
   1570   done
   1571 fi
   1572 
   1573 test -n "$ac_init_help" && exit $ac_status
   1574 if $ac_init_version; then
   1575   cat <<\_ACEOF
   1576 libXrender configure 0.9.13
   1577 generated by GNU Autoconf 2.73
   1578 
   1579 Copyright (C) 2026 Free Software Foundation, Inc.
   1580 This configure script is free software; the Free Software Foundation
   1581 gives unlimited permission to copy, distribute and modify it.
   1582 _ACEOF
   1583   exit
   1584 fi
   1585 
   1586 ## ------------------------ ##
   1587 ## Autoconf initialization. ##
   1588 ## ------------------------ ##
   1589 
   1590 # ac_fn_c_try_compile LINENO
   1591 # --------------------------
   1592 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1593 ac_fn_c_try_compile ()
   1594 {
   1595   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1596   rm -f conftest.$ac_objext conftest.beam
   1597   if { { ac_try="$ac_compile"
   1598 case "(($ac_try" in
   1599   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1600   *) ac_try_echo=$ac_try;;
   1601 esac
   1602 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1603 printf '%s\n' "$ac_try_echo"; } >&5
   1604   (eval "$ac_compile") 2>conftest.err
   1605   ac_status=$?
   1606   if test -s conftest.err; then
   1607     grep -v '^ *+' conftest.err >conftest.er1
   1608     cat conftest.er1 >&5
   1609     mv -f conftest.er1 conftest.err
   1610   fi
   1611   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1612   test $ac_status = 0; } && {
   1613 	 test -z "$ac_c_werror_flag" ||
   1614 	 test ! -s conftest.err
   1615        } && test -s conftest.$ac_objext
   1616 then :
   1617   ac_retval=0
   1618 else case e in #(
   1619   e) printf '%s\n' "$as_me: failed program was:" >&5
   1620 sed 's/^/| /' conftest.$ac_ext >&5
   1621 
   1622 	ac_retval=1 ;;
   1623 esac
   1624 fi
   1625   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1626   as_fn_set_status $ac_retval
   1627 
   1628 } # ac_fn_c_try_compile
   1629 
   1630 # ac_fn_c_try_link LINENO
   1631 # -----------------------
   1632 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1633 ac_fn_c_try_link ()
   1634 {
   1635   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1636   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1637   if { { ac_try="$ac_link"
   1638 case "(($ac_try" in
   1639   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1640   *) ac_try_echo=$ac_try;;
   1641 esac
   1642 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1643 printf '%s\n' "$ac_try_echo"; } >&5
   1644   (eval "$ac_link") 2>conftest.err
   1645   ac_status=$?
   1646   if test -s conftest.err; then
   1647     grep -v '^ *+' conftest.err >conftest.er1
   1648     cat conftest.er1 >&5
   1649     mv -f conftest.er1 conftest.err
   1650   fi
   1651   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1652   test $ac_status = 0; } && {
   1653 	 test -z "$ac_c_werror_flag" ||
   1654 	 test ! -s conftest.err
   1655        } && test -s conftest$ac_exeext && {
   1656 	 test "$cross_compiling" = yes ||
   1657 	 test -x conftest$ac_exeext
   1658        }
   1659 then :
   1660   ac_retval=0
   1661 else case e in #(
   1662   e) printf '%s\n' "$as_me: failed program was:" >&5
   1663 sed 's/^/| /' conftest.$ac_ext >&5
   1664 
   1665 	ac_retval=1 ;;
   1666 esac
   1667 fi
   1668   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1669   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1670   # interfere with the next link command; also delete a directory that is
   1671   # left behind by Apple's compiler.  We do this before executing the actions.
   1672   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1673   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1674   as_fn_set_status $ac_retval
   1675 
   1676 } # ac_fn_c_try_link
   1677 
   1678 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1679 # -------------------------------------------------------
   1680 # Tests whether HEADER exists and can be compiled using the include files in
   1681 # INCLUDES, setting the cache variable VAR accordingly.
   1682 ac_fn_c_check_header_compile ()
   1683 {
   1684   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1685   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1686 printf %s "checking for $2... " >&6; }
   1687 if eval test \${$3+y}
   1688 then :
   1689   printf %s "(cached) " >&6
   1690 else case e in #(
   1691   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1692 /* end confdefs.h.  */
   1693 $4
   1694 #include <$2>
   1695 _ACEOF
   1696 if ac_fn_c_try_compile "$LINENO"
   1697 then :
   1698   eval "$3=yes"
   1699 else case e in #(
   1700   e) eval "$3=no" ;;
   1701 esac
   1702 fi
   1703 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1704 esac
   1705 fi
   1706 eval ac_res=\$$3
   1707 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1708 printf '%s\n' "$ac_res" >&6; }
   1709   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1710 
   1711 } # ac_fn_c_check_header_compile
   1712 
   1713 # ac_fn_c_check_func LINENO FUNC VAR
   1714 # ----------------------------------
   1715 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1716 ac_fn_c_check_func ()
   1717 {
   1718   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1719   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1720 printf %s "checking for $2... " >&6; }
   1721 if eval test \${$3+y}
   1722 then :
   1723   printf %s "(cached) " >&6
   1724 else case e in #(
   1725   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1726 /* end confdefs.h.  */
   1727 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1728    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1729 #define $2 innocuous_$2
   1730 
   1731 /* System header to define __stub macros and hopefully few prototypes,
   1732    which can conflict with char $2 (void); below.  */
   1733 
   1734 #include <limits.h>
   1735 #undef $2
   1736 
   1737 /* Override any GCC internal prototype to avoid an error.
   1738    Use char because int might match the return type of a GCC
   1739    builtin and then its argument prototype would still apply.  */
   1740 #ifdef __cplusplus
   1741 extern "C"
   1742 #endif
   1743 char $2 (void);
   1744 /* The GNU C library defines this for functions which it implements
   1745     to always fail with ENOSYS.  Some functions are actually named
   1746     something starting with __ and the normal name is an alias.  */
   1747 #if defined __stub_$2 || defined __stub___$2
   1748 choke me
   1749 #endif
   1750 
   1751 int
   1752 main (void)
   1753 {
   1754 return $2 ();
   1755   ;
   1756   return 0;
   1757 }
   1758 _ACEOF
   1759 if ac_fn_c_try_link "$LINENO"
   1760 then :
   1761   eval "$3=yes"
   1762 else case e in #(
   1763   e) eval "$3=no" ;;
   1764 esac
   1765 fi
   1766 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1767     conftest$ac_exeext conftest.$ac_ext ;;
   1768 esac
   1769 fi
   1770 eval ac_res=\$$3
   1771 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1772 printf '%s\n' "$ac_res" >&6; }
   1773   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1774 
   1775 } # ac_fn_c_check_func
   1776 
   1777 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1778 # ------------------------------------------------------------------
   1779 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1780 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1781 ac_fn_check_decl ()
   1782 {
   1783   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1784   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1785   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1786 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1787 if eval test \${$3+y}
   1788 then :
   1789   printf %s "(cached) " >&6
   1790 else case e in #(
   1791   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1792   eval ac_save_FLAGS=\$$6
   1793   as_fn_append $6 " $5"
   1794   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1795 /* end confdefs.h.  */
   1796 $4
   1797 int
   1798 main (void)
   1799 {
   1800 #ifndef $as_decl_name
   1801 #ifdef __cplusplus
   1802   (void) $as_decl_use;
   1803 #else
   1804   (void) $as_decl_name;
   1805 #endif
   1806 #endif
   1807 
   1808   ;
   1809   return 0;
   1810 }
   1811 _ACEOF
   1812 if ac_fn_c_try_compile "$LINENO"
   1813 then :
   1814   eval "$3=yes"
   1815 else case e in #(
   1816   e) eval "$3=no" ;;
   1817 esac
   1818 fi
   1819 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1820   eval $6=\$ac_save_FLAGS
   1821  ;;
   1822 esac
   1823 fi
   1824 eval ac_res=\$$3
   1825 	       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1826 printf '%s\n' "$ac_res" >&6; }
   1827   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1828 
   1829 } # ac_fn_check_decl
   1830 ac_configure_args_raw=
   1831 for ac_arg
   1832 do
   1833   case $ac_arg in
   1834   *\'*)
   1835     ac_arg=`printf '%s\n' "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1836   esac
   1837   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1838 done
   1839 
   1840 case $ac_configure_args_raw in
   1841   *$as_nl*)
   1842     ac_safe_unquote= ;;
   1843   *)
   1844     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1845     ac_unsafe_a="$ac_unsafe_z#~"
   1846     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1847     ac_configure_args_raw=`      printf '%s\n' "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1848 esac
   1849 
   1850 cat >config.log <<_ACEOF
   1851 This file contains any messages produced by compilers while
   1852 running configure, to aid debugging if configure makes a mistake.
   1853 
   1854 It was created by libXrender $as_me 0.9.13, which was
   1855 generated by GNU Autoconf 2.73.  Invocation command line was
   1856 
   1857   $ $0$ac_configure_args_raw
   1858 
   1859 _ACEOF
   1860 exec 5>>config.log
   1861 {
   1862 cat <<_ASUNAME
   1863 ## --------- ##
   1864 ## Platform. ##
   1865 ## --------- ##
   1866 
   1867 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1868 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1869 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1870 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1871 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1872 
   1873 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1874 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1875 
   1876 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1877 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1878 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1879 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1880 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1881 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1882 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1883 
   1884 _ASUNAME
   1885 
   1886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1887 for as_dir in $PATH
   1888 do
   1889   IFS=$as_save_IFS
   1890   case $as_dir in #(((
   1891     '') as_dir=./ ;;
   1892     */) ;;
   1893     *) as_dir=$as_dir/ ;;
   1894   esac
   1895     printf '%s\n' "PATH: $as_dir"
   1896   done
   1897 IFS=$as_save_IFS
   1898 
   1899 } >&5
   1900 
   1901 cat >&5 <<_ACEOF
   1902 
   1903 
   1904 ## ----------- ##
   1905 ## Core tests. ##
   1906 ## ----------- ##
   1907 
   1908 _ACEOF
   1909 
   1910 
   1911 # Keep a trace of the command line.
   1912 # Strip out --no-create and --no-recursion so they do not pile up.
   1913 # Strip out --silent because we don't want to record it for future runs.
   1914 # Also quote any args containing shell meta-characters.
   1915 # Make two passes to allow for proper duplicate-argument suppression.
   1916 ac_configure_args=
   1917 ac_configure_args0=
   1918 ac_configure_args1=
   1919 ac_must_keep_next=false
   1920 for ac_pass in 1 2
   1921 do
   1922   for ac_arg
   1923   do
   1924     case $ac_arg in
   1925     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1926     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1927     | -silent | --silent | --silen | --sile | --sil)
   1928       continue ;;
   1929     *\'*)
   1930       ac_arg=`printf '%s\n' "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1931     esac
   1932     case $ac_pass in
   1933     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1934     2)
   1935       as_fn_append ac_configure_args1 " '$ac_arg'"
   1936       if test $ac_must_keep_next = true; then
   1937 	ac_must_keep_next=false # Got value, back to normal.
   1938       else
   1939 	case $ac_arg in
   1940 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1941 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1942 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1943 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1944 	    case "$ac_configure_args0 " in
   1945 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1946 	    esac
   1947 	    ;;
   1948 	  -* ) ac_must_keep_next=true ;;
   1949 	esac
   1950       fi
   1951       as_fn_append ac_configure_args " '$ac_arg'"
   1952       ;;
   1953     esac
   1954   done
   1955 done
   1956 { ac_configure_args0=; unset ac_configure_args0;}
   1957 { ac_configure_args1=; unset ac_configure_args1;}
   1958 
   1959 # Dump the cache to stdout.  It can be in a pipe (this is a requirement).
   1960 ac_cache_dump ()
   1961 {
   1962   # The following way of writing the cache mishandles newlines in values,
   1963 # but we know of no workaround that is simple, portable, and efficient.
   1964 # So, we kill variables containing newlines.
   1965 # Ultrix sh set writes to stderr and can't be redirected directly,
   1966 # and sets the high bit in the cache file unless we assign to the vars.
   1967 (
   1968   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   1969     eval ac_val=\$$ac_var
   1970     case $ac_val in #(
   1971     *${as_nl}*)
   1972       case $ac_var in #(
   1973       *_cv_*) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1974 printf '%s\n' "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1975       esac
   1976       case $ac_var in #(
   1977       _ | IFS | as_nl) ;; #(
   1978       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1979       *) { eval $ac_var=; unset $ac_var;} ;;
   1980       esac ;;
   1981     esac
   1982   done
   1983 
   1984   (set) 2>&1 |
   1985     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   1986     *${as_nl}ac_space=\ *)
   1987       # 'set' does not quote correctly, so add quotes: double-quote
   1988       # substitution turns \\\\ into \\, and sed turns \\ into \.
   1989       sed -n \
   1990 	"s/'/'\\\\''/g;
   1991 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   1992       ;; #(
   1993     *)
   1994       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   1995       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1996       ;;
   1997     esac |
   1998     sort
   1999 )
   2000 }
   2001 
   2002 # Print debugging info to stdout.
   2003 ac_dump_debugging_info ()
   2004 {
   2005   echo
   2006 
   2007   printf '%s\n' "## ---------------- ##
   2008 ## Cache variables. ##
   2009 ## ---------------- ##"
   2010   echo
   2011   ac_cache_dump
   2012   echo
   2013 
   2014   printf '%s\n' "## ----------------- ##
   2015 ## Output variables. ##
   2016 ## ----------------- ##"
   2017   echo
   2018   for ac_var in $ac_subst_vars
   2019   do
   2020     eval ac_val=\$$ac_var
   2021     case $ac_val in
   2022     *\'*) ac_val=`printf '%s\n' "$ac_val" | sed "s/'/'\\\\\\\\''/g"`;;
   2023     esac
   2024     printf '%s\n' "$ac_var='$ac_val'"
   2025   done | sort
   2026   echo
   2027 
   2028   if test -n "$ac_subst_files"; then
   2029     printf '%s\n' "## ------------------- ##
   2030 ## File substitutions. ##
   2031 ## ------------------- ##"
   2032     echo
   2033     for ac_var in $ac_subst_files
   2034     do
   2035       eval ac_val=\$$ac_var
   2036       case $ac_val in
   2037       *\'*) ac_val=`printf '%s\n' "$ac_val" | sed "s/'/'\\\\\\\\''/g"`;;
   2038       esac
   2039       printf '%s\n' "$ac_var='$ac_val'"
   2040     done | sort
   2041     echo
   2042   fi
   2043 
   2044   if test -s confdefs.h; then
   2045     printf '%s\n' "## ----------- ##
   2046 ## confdefs.h. ##
   2047 ## ----------- ##"
   2048     echo
   2049     cat confdefs.h
   2050     echo
   2051   fi
   2052   test "$ac_signal" != 0 &&
   2053     printf '%s\n' "$as_me: caught signal $ac_signal"
   2054   printf '%s\n' "$as_me: exit $exit_status"
   2055 }
   2056 
   2057 # When interrupted or exit'd, cleanup temporary files, and complete
   2058 # config.log.
   2059 ac_exit_trap ()
   2060 {
   2061   exit_status=
   2062   # Sanitize IFS.
   2063   IFS=" ""	$as_nl"
   2064   # Save into config.log some information that might help in debugging.
   2065   ac_dump_debugging_info >&5
   2066   eval "rm -f $ac_clean_CONFIG_STATUS core *.core core.conftest.*" &&
   2067     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2068     exit $exit_status
   2069 }
   2070 
   2071 trap 'ac_exit_trap $?' 0
   2072 for ac_signal in 1 2 13 15; do
   2073   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2074 done
   2075 ac_signal=0
   2076 
   2077 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2078 rm -f -r conftest* confdefs.h
   2079 
   2080 printf '%s\n' "/* confdefs.h */" > confdefs.h
   2081 
   2082 # Predefined preprocessor variables.
   2083 
   2084 printf '%s\n' "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2085 
   2086 printf '%s\n' "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2087 
   2088 printf '%s\n' "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2089 
   2090 printf '%s\n' "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2091 
   2092 printf '%s\n' "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2093 
   2094 printf '%s\n' "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2095 
   2096 
   2097 # Let the site file select an alternate cache file if it wants to.
   2098 # Prefer an explicitly selected file to automatically selected ones.
   2099 if test -n "$CONFIG_SITE"; then
   2100   ac_site_files="$CONFIG_SITE"
   2101 elif test "x$prefix" != xNONE; then
   2102   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2103 else
   2104   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2105 fi
   2106 
   2107 for ac_site_file in $ac_site_files
   2108 do
   2109   case $ac_site_file in #(
   2110   */*) :
   2111      ;; #(
   2112   *) :
   2113     ac_site_file=./$ac_site_file ;;
   2114 esac
   2115   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2116     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2117 printf '%s\n' "$as_me: loading site script $ac_site_file" >&6;}
   2118     sed 's/^/| /' "$ac_site_file" >&5
   2119     . "$ac_site_file" \
   2120       || { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2121 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   2122 as_fn_error $? "failed to load site script $ac_site_file
   2123 See 'config.log' for more details" "$LINENO" 5; }
   2124   fi
   2125 done
   2126 
   2127 if test -r "$cache_file"; then
   2128   # Some versions of bash will fail to source /dev/null (special files
   2129   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2130   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2131     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2132 printf '%s\n' "$as_me: loading cache $cache_file" >&6;}
   2133     case $cache_file in
   2134       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2135       *)                      . "./$cache_file";;
   2136     esac
   2137   fi
   2138 else
   2139   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2140 printf '%s\n' "$as_me: creating cache $cache_file" >&6;}
   2141   >$cache_file
   2142 fi
   2143 
   2144 # Test code for whether the C compiler supports C23 (global declarations)
   2145 ac_c_conftest_c23_globals='
   2146 /* Does the compiler advertise conformance to C17 or earlier?
   2147    Although GCC 14 does not do that, even with -std=gnu23,
   2148    it is close enough, and defines __STDC_VERSION == 202000L.  */
   2149 #if !defined __STDC_VERSION__ || __STDC_VERSION__ <= 201710L
   2150 # error "Compiler advertises conformance to C17 or earlier"
   2151 #endif
   2152 
   2153 // Check alignas.
   2154 char alignas (double) c23_aligned_as_double;
   2155 char alignas (0) c23_no_special_alignment;
   2156 extern char c23_aligned_as_int;
   2157 char alignas (0) alignas (int) c23_aligned_as_int;
   2158 
   2159 // Check alignof.
   2160 enum
   2161 {
   2162   c23_int_alignment = alignof (int),
   2163   c23_int_array_alignment = alignof (int[100]),
   2164   c23_char_alignment = alignof (char)
   2165 };
   2166 static_assert (0 < -alignof (int), "alignof is signed");
   2167 
   2168 int function_with_unnamed_parameter (int) { return 0; }
   2169 
   2170 void c23_noreturn ();
   2171 
   2172 /* Test parsing of string and char UTF-8 literals (including hex escapes).
   2173    The parens pacify GCC 15.  */
   2174 bool use_u8 = (!sizeof u8"\xFF") == (!u8'\''x'\'');
   2175 
   2176 bool check_that_bool_works = true | false | !nullptr;
   2177 #if !true
   2178 # error "true does not work in #if"
   2179 #endif
   2180 #if false
   2181 #elifdef __STDC_VERSION__
   2182 #else
   2183 # error "#elifdef does not work"
   2184 #endif
   2185 
   2186 #ifndef __has_c_attribute
   2187 # error "__has_c_attribute not defined"
   2188 #endif
   2189 
   2190 #ifndef __has_include
   2191 # error "__has_include not defined"
   2192 #endif
   2193 
   2194 #define LPAREN() (
   2195 #define FORTY_TWO(x) 42
   2196 #define VA_OPT_TEST(r, x, ...) __VA_OPT__ (FORTY_TWO r x))
   2197 static_assert (VA_OPT_TEST (LPAREN (), 0, <:-) == 42);
   2198 
   2199 static_assert (0b101010 == 42);
   2200 static_assert (0B101010 == 42);
   2201 static_assert (0xDEAD'\''BEEF == 3'\''735'\''928'\''559);
   2202 static_assert (0.500'\''000'\''000 == 0.5);
   2203 
   2204 enum unsignedish : unsigned int { uione = 1 };
   2205 static_assert (0 < -uione);
   2206 
   2207 #include <stddef.h>
   2208 constexpr nullptr_t null_pointer = nullptr;
   2209 
   2210 static typeof (1 + 1L) two () { return 2; }
   2211 static long int three () { return 3; }
   2212 '
   2213 
   2214 # Test code for whether the C compiler supports C23 (body of main).
   2215 ac_c_conftest_c23_main='
   2216   {
   2217     label_before_declaration:
   2218       int arr[10] = {};
   2219       if (arr[0])
   2220         goto label_before_declaration;
   2221       if (!arr[0])
   2222         goto label_at_end_of_block;
   2223     label_at_end_of_block:
   2224   }
   2225   ok |= !null_pointer;
   2226   ok |= two != three;
   2227 '
   2228 
   2229 # Test code for whether the C compiler supports C23 (complete).
   2230 ac_c_conftest_c23_program="${ac_c_conftest_c23_globals}
   2231 
   2232 int
   2233 main (int, char **)
   2234 {
   2235   int ok = 0;
   2236   ${ac_c_conftest_c23_main}
   2237   return ok;
   2238 }
   2239 "
   2240 
   2241 # Test code for whether the C compiler supports C89 (global declarations)
   2242 ac_c_conftest_c89_globals='
   2243 /* Do not test the value of __STDC__, because some compilers define it to 0
   2244    or do not define it, while otherwise adequately conforming.  */
   2245 
   2246 #include <stddef.h>
   2247 #include <stdarg.h>
   2248 struct stat;
   2249 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2250 struct buf { int x; };
   2251 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2252 static char *e (char **p, int i)
   2253 {
   2254   return p[i];
   2255 }
   2256 static char *f (char * (*g) (char **, int), char **p, ...)
   2257 {
   2258   char *s;
   2259   va_list v;
   2260   va_start (v,p);
   2261   s = g (p, va_arg (v,int));
   2262   va_end (v);
   2263   return s;
   2264 }
   2265 
   2266 /* C89 style stringification. */
   2267 #define noexpand_stringify(a) #a
   2268 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2269 
   2270 /* C89 style token pasting.  Exercises some of the corner cases that
   2271    e.g. old MSVC gets wrong, but not very hard. */
   2272 #define noexpand_concat(a,b) a##b
   2273 #define expand_concat(a,b) noexpand_concat(a,b)
   2274 extern int vA;
   2275 extern int vbee;
   2276 #define aye A
   2277 #define bee B
   2278 int *pvA = &expand_concat(v,aye);
   2279 int *pvbee = &noexpand_concat(v,bee);
   2280 
   2281 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2282    function prototypes and stuff, but not \xHH hex character constants.
   2283    These do not provoke an error unfortunately, instead are silently treated
   2284    as an "x".  The following induces an error, until -std is added to get
   2285    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2286    array size at least.  It is necessary to write \x00 == 0 to get something
   2287    that is true only with -std.  */
   2288 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2289 
   2290 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2291    inside strings and character constants.  */
   2292 #define FOO(x) '\''x'\''
   2293 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2294 
   2295 int test (int i, double x);
   2296 struct s1 {int (*f) (int a);};
   2297 struct s2 {int (*f) (double a);};
   2298 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2299                int, int);'
   2300 
   2301 # Test code for whether the C compiler supports C89 (body of main).
   2302 ac_c_conftest_c89_main='
   2303 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2304 '
   2305 
   2306 # Test code for whether the C compiler supports C99 (global declarations)
   2307 ac_c_conftest_c99_globals='
   2308 /* Does the compiler advertise C99 conformance? */
   2309 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2310 # error "Compiler does not advertise C99 conformance"
   2311 #endif
   2312 
   2313 // See if C++-style comments work.
   2314 
   2315 #include <stdbool.h>
   2316 extern int puts (const char *);
   2317 extern int printf (const char *, ...);
   2318 extern int dprintf (int, const char *, ...);
   2319 extern void *malloc (size_t);
   2320 extern void free (void *);
   2321 
   2322 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2323 // dprintf is used instead of fprintf to avoid needing to declare
   2324 // FILE and stderr, and "aND" is used instead of "and" to work around
   2325 // GCC bug 40564 which is irrelevant here.
   2326 #define debug(...) dprintf (2, __VA_ARGS__)
   2327 #define showlist(...) puts (#__VA_ARGS__)
   2328 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2329 static void
   2330 test_varargs_macros (void)
   2331 {
   2332   int x = 1234;
   2333   int y = 5678;
   2334   debug ("Flag");
   2335   debug ("X = %d\n", x);
   2336   showlist (The first, second, aND third items.);
   2337   report (x>y, "x is %d but y is %d", x, y);
   2338 }
   2339 
   2340 // Check long long types.
   2341 #define BIG64 18446744073709551615ull
   2342 #define BIG32 4294967295ul
   2343 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2344 #if !BIG_OK
   2345   #error "your preprocessor is broken"
   2346 #endif
   2347 #if BIG_OK
   2348 #else
   2349   #error "your preprocessor is broken"
   2350 #endif
   2351 static long long int bignum = -9223372036854775807LL;
   2352 static unsigned long long int ubignum = BIG64;
   2353 
   2354 struct incomplete_array
   2355 {
   2356   int datasize;
   2357   double data[];
   2358 };
   2359 
   2360 struct named_init {
   2361   int number;
   2362   const wchar_t *name;
   2363   double average;
   2364 };
   2365 
   2366 typedef const char *ccp;
   2367 
   2368 static inline int
   2369 test_restrict (ccp restrict text)
   2370 {
   2371   // Iterate through items via the restricted pointer.
   2372   // Also check for declarations in for loops.
   2373   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2374     continue;
   2375   return 0;
   2376 }
   2377 
   2378 // Check varargs and va_copy.
   2379 static bool
   2380 test_varargs (const char *format, ...)
   2381 {
   2382   va_list args;
   2383   va_start (args, format);
   2384   va_list args_copy;
   2385   va_copy (args_copy, args);
   2386 
   2387   const char *str = "";
   2388   int number = 0;
   2389   float fnumber = 0;
   2390 
   2391   while (*format)
   2392     {
   2393       switch (*format++)
   2394 	{
   2395 	case '\''s'\'': // string
   2396 	  str = va_arg (args_copy, const char *);
   2397 	  break;
   2398 	case '\''d'\'': // int
   2399 	  number = va_arg (args_copy, int);
   2400 	  break;
   2401 	case '\''f'\'': // float
   2402 	  fnumber = va_arg (args_copy, double);
   2403 	  break;
   2404 	default:
   2405 	  break;
   2406 	}
   2407     }
   2408   va_end (args_copy);
   2409   va_end (args);
   2410 
   2411   return *str && number && fnumber;
   2412 }
   2413 '
   2414 
   2415 # Test code for whether the C compiler supports C99 (body of main).
   2416 ac_c_conftest_c99_main='
   2417   // Check bool.
   2418   _Bool success = false;
   2419   success |= (argc != 0);
   2420 
   2421   // Check restrict.
   2422   if (test_restrict ("String literal") == 0)
   2423     success = true;
   2424   const char *restrict newvar = "Another string";
   2425 
   2426   // Check varargs.
   2427   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2428   test_varargs_macros ();
   2429 
   2430   // Check flexible array members.
   2431   static struct incomplete_array *volatile incomplete_array_pointer;
   2432   struct incomplete_array *ia = incomplete_array_pointer;
   2433   ia->datasize = 10;
   2434   for (int i = 0; i < ia->datasize; ++i)
   2435     ia->data[i] = i * 1.234;
   2436   // Work around memory leak warnings.
   2437   free (ia);
   2438 
   2439   // Check named initializers.
   2440   struct named_init ni = {
   2441     .number = 34,
   2442     .name = L"Test wide string",
   2443     .average = 543.34343,
   2444   };
   2445 
   2446   ni.number = 58;
   2447 
   2448   // Do not test for VLAs, as some otherwise-conforming compilers lack them.
   2449   // C code should instead use __STDC_NO_VLA__; see Autoconf manual.
   2450 
   2451   // work around unused variable warnings
   2452   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2453 	 || ni.number != 58);
   2454 '
   2455 
   2456 # Test code for whether the C compiler supports C11 (global declarations)
   2457 ac_c_conftest_c11_globals='
   2458 /* Does the compiler advertise C11 conformance? */
   2459 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2460 # error "Compiler does not advertise C11 conformance"
   2461 #endif
   2462 
   2463 // Check _Alignas.
   2464 char _Alignas (double) aligned_as_double;
   2465 char _Alignas (0) no_special_alignment;
   2466 extern char aligned_as_int;
   2467 char _Alignas (0) _Alignas (int) aligned_as_int;
   2468 
   2469 // Check _Alignof.
   2470 enum
   2471 {
   2472   int_alignment = _Alignof (int),
   2473   int_array_alignment = _Alignof (int[100]),
   2474   char_alignment = _Alignof (char)
   2475 };
   2476 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2477 
   2478 // Check _Noreturn.
   2479 int _Noreturn does_not_return (void) { for (;;) continue; }
   2480 
   2481 // Check _Static_assert.
   2482 struct test_static_assert
   2483 {
   2484   int x;
   2485   _Static_assert (sizeof (int) <= sizeof (long int),
   2486                   "_Static_assert does not work in struct");
   2487   long int y;
   2488 };
   2489 
   2490 // Check UTF-8 literals.
   2491 #define u8 syntax error!
   2492 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2493 
   2494 // Check duplicate typedefs.
   2495 typedef long *long_ptr;
   2496 typedef long int *long_ptr;
   2497 typedef long_ptr long_ptr;
   2498 
   2499 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2500 struct anonymous
   2501 {
   2502   union {
   2503     struct { int i; int j; };
   2504     struct { int k; long int l; } w;
   2505   };
   2506   int m;
   2507 } v1;
   2508 '
   2509 
   2510 # Test code for whether the C compiler supports C11 (body of main).
   2511 ac_c_conftest_c11_main='
   2512   _Static_assert ((offsetof (struct anonymous, i)
   2513 		   == offsetof (struct anonymous, w.k)),
   2514 		  "Anonymous union alignment botch");
   2515   v1.i = 2;
   2516   v1.w.k = 5;
   2517   ok |= v1.i != 5;
   2518 '
   2519 
   2520 # Test code for whether the C compiler supports C11 (complete).
   2521 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2522 ${ac_c_conftest_c99_globals}
   2523 ${ac_c_conftest_c11_globals}
   2524 
   2525 int
   2526 main (int argc, char **argv)
   2527 {
   2528   int ok = 0;
   2529   ${ac_c_conftest_c89_main}
   2530   ${ac_c_conftest_c99_main}
   2531   ${ac_c_conftest_c11_main}
   2532   return ok;
   2533 }
   2534 "
   2535 
   2536 # Test code for whether the C compiler supports C99 (complete).
   2537 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2538 ${ac_c_conftest_c99_globals}
   2539 
   2540 int
   2541 main (int argc, char **argv)
   2542 {
   2543   int ok = 0;
   2544   ${ac_c_conftest_c89_main}
   2545   ${ac_c_conftest_c99_main}
   2546   return ok;
   2547 }
   2548 "
   2549 
   2550 # Test code for whether the C compiler supports C89 (complete).
   2551 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2552 
   2553 int
   2554 main (int argc, char **argv)
   2555 {
   2556   int ok = 0;
   2557   ${ac_c_conftest_c89_main}
   2558   return ok;
   2559 }
   2560 "
   2561 
   2562 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2563 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2564 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2565 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2566 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2567 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2568 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2569 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2570 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2571 
   2572 # Auxiliary files required by this configure script.
   2573 ac_aux_files="compile config.guess config.sub ltmain.sh missing install-sh"
   2574 
   2575 # Locations in which to look for auxiliary files.
   2576 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2577 
   2578 # Search for a directory containing all of the required auxiliary files,
   2579 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2580 # If we don't find one directory that contains all the files we need,
   2581 # we report the set of missing files from the *first* directory in
   2582 # $ac_aux_dir_candidates and give up.
   2583 ac_missing_aux_files=""
   2584 ac_first_candidate=:
   2585 printf '%s\n' "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2587 as_found=false
   2588 for as_dir in $ac_aux_dir_candidates
   2589 do
   2590   IFS=$as_save_IFS
   2591   case $as_dir in #(((
   2592     '') as_dir=./ ;;
   2593     */) ;;
   2594     *) as_dir=$as_dir/ ;;
   2595   esac
   2596   as_found=:
   2597 
   2598   printf '%s\n' "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2599   ac_aux_dir_found=yes
   2600   ac_install_sh=
   2601   for ac_aux in $ac_aux_files
   2602   do
   2603     # As a special case, if "install-sh" is required, that requirement
   2604     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2605     # and $ac_install_sh is set appropriately for whichever one is found.
   2606     if test x"$ac_aux" = x"install-sh"
   2607     then
   2608       if test -f "${as_dir}install-sh"; then
   2609         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2610         ac_install_sh="${as_dir}install-sh -c"
   2611       elif test -f "${as_dir}install.sh"; then
   2612         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2613         ac_install_sh="${as_dir}install.sh -c"
   2614       elif test -f "${as_dir}shtool"; then
   2615         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2616         ac_install_sh="${as_dir}shtool install -c"
   2617       else
   2618         ac_aux_dir_found=no
   2619         if $ac_first_candidate; then
   2620           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2621         else
   2622           break
   2623         fi
   2624       fi
   2625     else
   2626       if test -f "${as_dir}${ac_aux}"; then
   2627         printf '%s\n' "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2628       else
   2629         ac_aux_dir_found=no
   2630         if $ac_first_candidate; then
   2631           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2632         else
   2633           break
   2634         fi
   2635       fi
   2636     fi
   2637   done
   2638   if test "$ac_aux_dir_found" = yes; then
   2639     ac_aux_dir="$as_dir"
   2640     break
   2641   fi
   2642   ac_first_candidate=false
   2643 
   2644   as_found=false
   2645 done
   2646 IFS=$as_save_IFS
   2647 if $as_found
   2648 then :
   2649 
   2650 else case e in #(
   2651   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2652 esac
   2653 fi
   2654 
   2655 
   2656 # These three variables are undocumented and unsupported,
   2657 # and are intended to be withdrawn in a future Autoconf release.
   2658 # They can cause serious problems if a builder's source tree is in a directory
   2659 # whose full name contains unusual characters.
   2660 if test -f "${ac_aux_dir}config.guess"; then
   2661   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2662 fi
   2663 if test -f "${ac_aux_dir}config.sub"; then
   2664   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2665 fi
   2666 if test -f "$ac_aux_dir/configure"; then
   2667   ac_configure="$SHELL ${ac_aux_dir}configure"
   2668 fi
   2669 
   2670 # Check that the precious variables saved in the cache have kept the same
   2671 # value.
   2672 ac_cache_corrupted=false
   2673 for ac_var in $ac_precious_vars; do
   2674   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2675   eval ac_new_set=\$ac_env_${ac_var}_set
   2676   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2677   eval ac_new_val=\$ac_env_${ac_var}_value
   2678   case $ac_old_set,$ac_new_set in
   2679     set,)
   2680       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2681 printf '%s\n' "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2682       ac_cache_corrupted=: ;;
   2683     ,set)
   2684       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2685 printf '%s\n' "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2686       ac_cache_corrupted=: ;;
   2687     ,);;
   2688     *)
   2689       if test "x$ac_old_val" != "x$ac_new_val"; then
   2690 	# differences in whitespace do not lead to failure.
   2691 	ac_old_val_w=
   2692 	for ac_val in x $ac_old_val; do
   2693 	  ac_old_val_w="$ac_old_val_w $ac_val"
   2694 	done
   2695 	ac_new_val_w=
   2696 	for ac_val in x $ac_new_val; do
   2697 	  ac_new_val_w="$ac_new_val_w $ac_val"
   2698 	done
   2699 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2700 	  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2701 printf '%s\n' "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2702 	  ac_cache_corrupted=:
   2703 	else
   2704 	  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2705 printf '%s\n' "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2706 	  eval $ac_var=\$ac_old_val
   2707 	fi
   2708 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2709 printf '%s\n' "$as_me:   former value:  '$ac_old_val'" >&2;}
   2710 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2711 printf '%s\n' "$as_me:   current value: '$ac_new_val'" >&2;}
   2712       fi;;
   2713   esac
   2714   # Pass precious variables to config.status.
   2715   if test "$ac_new_set" = set; then
   2716     case $ac_new_val in
   2717     *\'*) ac_arg=$ac_var=`printf '%s\n' "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2718     *) ac_arg=$ac_var=$ac_new_val ;;
   2719     esac
   2720     case " $ac_configure_args " in
   2721       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2722       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2723     esac
   2724   fi
   2725 done
   2726 if $ac_cache_corrupted; then
   2727   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2728 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   2729   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2730 printf '%s\n' "$as_me: error: changes in the environment can compromise the build" >&2;}
   2731   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2732 	    and start over" "$LINENO" 5
   2733 fi
   2734 ## -------------------- ##
   2735 ## Main body of script. ##
   2736 ## -------------------- ##
   2737 
   2738 
   2739 # Determine whether it's possible to make 'echo' print without a newline.
   2740 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   2741 # for compatibility with existing Makefiles.
   2742 ECHO_C= ECHO_N= ECHO_T=
   2743 case `echo -n x` in #(((((
   2744 -n*)
   2745   case `echo 'xy\c'` in
   2746   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   2747   xy)  ECHO_C='\c';;
   2748   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   2749        ECHO_T='	';;
   2750   esac;;
   2751 *)
   2752   ECHO_N='-n';;
   2753 esac
   2754 
   2755 ac_ext=c
   2756 ac_cpp='$CPP $CPPFLAGS'
   2757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2760 
   2761 
   2762 
   2763 ac_config_headers="$ac_config_headers config.h"
   2764 
   2765 
   2766 
   2767 PACKAGE_BRIEF="Library for the Render Extension to the X11 protocol"
   2768 
   2769 
   2770 # Initialize Automake
   2771 am__api_version='1.19'
   2772 
   2773 
   2774 
   2775   # Find a good install program.  We prefer a C program (faster),
   2776 # so one script is as good as another.  But avoid the broken or
   2777 # incompatible versions:
   2778 # SysV /etc/install, /usr/sbin/install
   2779 # SunOS /usr/etc/install
   2780 # IRIX /sbin/install
   2781 # AIX /bin/install
   2782 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2783 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2784 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2785 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2786 # OS/2's system install, which has a completely different semantic
   2787 # ./install, which can be erroneously created by make from ./install.sh.
   2788 # Reject install programs that cannot install multiple files.
   2789 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2790 printf %s "checking for a BSD-compatible install... " >&6; }
   2791 if test -z "$INSTALL"; then
   2792 if test ${ac_cv_path_install+y}
   2793 then :
   2794   printf %s "(cached) " >&6
   2795 else case e in #(
   2796   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2797 for as_dir in $PATH
   2798 do
   2799   IFS=$as_save_IFS
   2800   case $as_dir in #(((
   2801     '') as_dir=./ ;;
   2802     */) ;;
   2803     *) as_dir=$as_dir/ ;;
   2804   esac
   2805     # Account for fact that we put trailing slashes in our PATH walk.
   2806 case $as_dir in #((
   2807   ./ | /[cC]/* | \
   2808   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2809   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2810   /usr/ucb/* ) ;;
   2811   *)
   2812     # OSF/1 and SCO ODT 3.0 have their own names for install.
   2813     # Don't use installbsd from OSF/1 since it installs stuff as root
   2814     # by default.
   2815     for ac_prog in ginstall scoinst install; do
   2816       for ac_exec_ext in '' $ac_executable_extensions; do
   2817 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2818 	  if test $ac_prog = install &&
   2819 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2820 	    # AIX install.  It has an incompatible calling convention.
   2821 	    :
   2822 	  elif test $ac_prog = install &&
   2823 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2824 	    # program-specific install script used by HP pwplus--don't use.
   2825 	    :
   2826 	  else
   2827 	    rm -rf conftest.one conftest.two conftest.dir
   2828 	    echo one > conftest.one
   2829 	    echo two > conftest.two
   2830 	    mkdir conftest.dir
   2831 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2832 	      test -s conftest.one && test -s conftest.two &&
   2833 	      test -s conftest.dir/conftest.one &&
   2834 	      test -s conftest.dir/conftest.two
   2835 	    then
   2836 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2837 	      break 3
   2838 	    fi
   2839 	  fi
   2840 	fi
   2841       done
   2842     done
   2843     ;;
   2844 esac
   2845 
   2846   done
   2847 IFS=$as_save_IFS
   2848 
   2849 rm -rf conftest.one conftest.two conftest.dir
   2850  ;;
   2851 esac
   2852 fi
   2853   if test ${ac_cv_path_install+y}; then
   2854     INSTALL=$ac_cv_path_install
   2855   else
   2856     # As a last resort, use the slow shell script.  Don't cache a
   2857     # value for INSTALL within a source directory, because that will
   2858     # break other packages using the cache if that directory is
   2859     # removed, or if the value is a relative name.
   2860     INSTALL=$ac_install_sh
   2861   fi
   2862 fi
   2863 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2864 printf '%s\n' "$INSTALL" >&6; }
   2865 
   2866 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2867 # It thinks the first close brace ends the variable substitution.
   2868 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2869 
   2870 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2871 
   2872 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2873 
   2874 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
   2875 printf %s "checking whether sleep supports fractional seconds... " >&6; }
   2876 if test ${am_cv_sleep_fractional_seconds+y}
   2877 then :
   2878   printf %s "(cached) " >&6
   2879 else case e in #(
   2880   e) if sleep 0.001 2>/dev/null
   2881 then :
   2882   am_cv_sleep_fractional_seconds=yes
   2883 else case e in #(
   2884   e) am_cv_sleep_fractional_seconds=no ;;
   2885 esac
   2886 fi
   2887  ;;
   2888 esac
   2889 fi
   2890 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
   2891 printf '%s\n' "$am_cv_sleep_fractional_seconds" >&6; }
   2892 
   2893 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
   2894 printf %s "checking filesystem timestamp resolution... " >&6; }
   2895 if test ${am_cv_filesystem_timestamp_resolution+y}
   2896 then :
   2897   printf %s "(cached) " >&6
   2898 else case e in #(
   2899   e) # Default to the worst case.
   2900 am_cv_filesystem_timestamp_resolution=2
   2901 
   2902 # Only try to go finer than 1 sec if sleep can do it.
   2903 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
   2904 # - 1 sec is not much of a win compared to 2 sec, and
   2905 # - it takes 2 seconds to perform the test whether 1 sec works.
   2906 #
   2907 # Instead, just use the default 2s on platforms that have 1s resolution,
   2908 # accept the extra 1s delay when using $sleep in the Automake tests, in
   2909 # exchange for not incurring the 2s delay for running the test for all
   2910 # packages.
   2911 #
   2912 am_try_resolutions=
   2913 if test "$am_cv_sleep_fractional_seconds" = yes; then
   2914   # Even a millisecond often causes a bunch of false positives,
   2915   # so just try a hundredth of a second. The time saved between .001 and
   2916   # .01 is not terribly consequential.
   2917   am_try_resolutions="0.01 0.1 $am_try_resolutions"
   2918 fi
   2919 
   2920 # In order to catch current-generation FAT out, we must *modify* files
   2921 # that already exist; the *creation* timestamp is finer.  Use names
   2922 # that make ls -t sort them differently when they have equal
   2923 # timestamps than when they have distinct timestamps, keeping
   2924 # in mind that ls -t prints the *newest* file first.
   2925 rm -f conftest.ts?
   2926 : > conftest.ts1
   2927 : > conftest.ts2
   2928 : > conftest.ts3
   2929 
   2930 # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
   2931 # clobber the current shell's arguments. (Outer-level square brackets
   2932 # are removed by m4; they're present so that m4 does not expand
   2933 # <dollar><star>; be careful, easy to get confused.)
   2934 if (
   2935      set X `ls -t conftest.ts[12]` &&
   2936      {
   2937        test "$*" != "X conftest.ts1 conftest.ts2" ||
   2938        test "$*" != "X conftest.ts2 conftest.ts1";
   2939      }
   2940 ); then :; else
   2941   # If neither matched, then we have a broken ls.  This can happen
   2942   # if, for instance, CONFIG_SHELL is bash and it inherits a
   2943   # broken ls alias from the environment.  This has actually
   2944   # happened.  Such a system could not be considered "sane".
   2945   printf '%s\n' ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
   2946   { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2947 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   2948 as_fn_error $? "ls -t produces unexpected output.
   2949 Make sure there is not a broken ls alias in your environment.
   2950 See 'config.log' for more details" "$LINENO" 5; }
   2951 fi
   2952 
   2953 for am_try_res in $am_try_resolutions; do
   2954   # Any one fine-grained sleep might happen to cross the boundary
   2955   # between two values of a coarser actual resolution, but if we do
   2956   # two fine-grained sleeps in a row, at least one of them will fall
   2957   # entirely within a coarse interval.
   2958   echo alpha > conftest.ts1
   2959   sleep $am_try_res
   2960   echo beta > conftest.ts2
   2961   sleep $am_try_res
   2962   echo gamma > conftest.ts3
   2963 
   2964   # We assume that 'ls -t' will make use of high-resolution
   2965   # timestamps if the operating system supports them at all.
   2966   if (set X `ls -t conftest.ts?` &&
   2967       test "$2" = conftest.ts3 &&
   2968       test "$3" = conftest.ts2 &&
   2969       test "$4" = conftest.ts1); then
   2970     #
   2971     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
   2972     # because we don't need to test make.
   2973     make_ok=true
   2974     if test $am_try_res != 1; then
   2975       # But if we've succeeded so far with a subsecond resolution, we
   2976       # have one more thing to check: make. It can happen that
   2977       # everything else supports the subsecond mtimes, but make doesn't;
   2978       # notably on macOS, which ships make 3.81 from 2006 (the last one
   2979       # released under GPLv2). https://bugs.gnu.org/68808
   2980       #
   2981       # We test $MAKE if it is defined in the environment, else "make".
   2982       # It might get overridden later, but our hope is that in practice
   2983       # it does not matter: it is the system "make" which is (by far)
   2984       # the most likely to be broken, whereas if the user overrides it,
   2985       # probably they did so with a better, or at least not worse, make.
   2986       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
   2987       #
   2988       # Create a Makefile (real tab character here):
   2989       rm -f conftest.mk
   2990       echo 'conftest.ts1: conftest.ts2' >conftest.mk
   2991       echo '	touch conftest.ts2' >>conftest.mk
   2992       #
   2993       # Now, running
   2994       #   touch conftest.ts1; touch conftest.ts2; make
   2995       # should touch ts1 because ts2 is newer. This could happen by luck,
   2996       # but most often, it will fail if make's support is insufficient. So
   2997       # test for several consecutive successes.
   2998       #
   2999       # (We reuse conftest.ts[12] because we still want to modify existing
   3000       # files, not create new ones, per above.)
   3001       n=0
   3002       make=${MAKE-make}
   3003       until test $n -eq 3; do
   3004         echo one > conftest.ts1
   3005         sleep $am_try_res
   3006         echo two > conftest.ts2 # ts2 should now be newer than ts1
   3007         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
   3008           make_ok=false
   3009           break # out of $n loop
   3010         fi
   3011         n=`expr $n + 1`
   3012       done
   3013     fi
   3014     #
   3015     if $make_ok; then
   3016       # Everything we know to check worked out, so call this resolution good.
   3017       am_cv_filesystem_timestamp_resolution=$am_try_res
   3018       break # out of $am_try_res loop
   3019     fi
   3020     # Otherwise, we'll go on to check the next resolution.
   3021   fi
   3022 done
   3023 rm -f conftest.ts?
   3024 # (end _am_filesystem_timestamp_resolution)
   3025  ;;
   3026 esac
   3027 fi
   3028 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
   3029 printf '%s\n' "$am_cv_filesystem_timestamp_resolution" >&6; }
   3030 
   3031 # This check should not be cached, as it may vary across builds of
   3032 # different projects.
   3033 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3034 printf %s "checking whether build environment is sane... " >&6; }
   3035 # Reject unsafe characters in $srcdir or the absolute working directory
   3036 # name.  Accept space and tab only in the latter.
   3037 am_lf='
   3038 '
   3039 case `pwd` in
   3040   *[\\\"\#\$\&\'\`$am_lf]*)
   3041     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3042 printf '%s\n' "no" >&6; }
   3043     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3044 esac
   3045 case $srcdir in
   3046   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3047     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3048 printf '%s\n' "no" >&6; }
   3049     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   3050 esac
   3051 
   3052 # Do 'set' in a subshell so we don't clobber the current shell's
   3053 # arguments.  Must try -L first in case configure is actually a
   3054 # symlink; some systems play weird games with the mod time of symlinks
   3055 # (eg FreeBSD returns the mod time of the symlink's containing
   3056 # directory).
   3057 am_build_env_is_sane=no
   3058 am_has_slept=no
   3059 rm -f conftest.file
   3060 for am_try in 1 2; do
   3061   echo "timestamp, slept: $am_has_slept" > conftest.file
   3062   if (
   3063     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3064     if test "$*" = "X"; then
   3065       # -L didn't work.
   3066       set X `ls -t "$srcdir/configure" conftest.file`
   3067     fi
   3068     test "$2" = conftest.file
   3069   ); then
   3070     am_build_env_is_sane=yes
   3071     break
   3072   fi
   3073   # Just in case.
   3074   sleep "$am_cv_filesystem_timestamp_resolution"
   3075   am_has_slept=yes
   3076 done
   3077 
   3078 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
   3079 printf '%s\n' "$am_build_env_is_sane" >&6; }
   3080 if test "$am_build_env_is_sane" = no; then
   3081   as_fn_error $? "newly created file is older than distributed files!
   3082 Check your system clock" "$LINENO" 5
   3083 fi
   3084 
   3085 # If we didn't sleep, we still need to ensure time stamps of config.status and
   3086 # generated files are strictly newer.
   3087 am_sleep_pid=
   3088 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
   3089 then :
   3090 
   3091 else case e in #(
   3092   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
   3093   am_sleep_pid=$!
   3094  ;;
   3095 esac
   3096 fi
   3097 
   3098 rm -f conftest.file
   3099 
   3100 test "$program_prefix" != NONE &&
   3101   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3102 # Use a double $ so make ignores it.
   3103 test "$program_suffix" != NONE &&
   3104   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3105 # Double any \ or $.
   3106 # By default was 's,x,x', remove it if useless.
   3107 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3108 program_transform_name=`printf '%s\n' "$program_transform_name" | sed "$ac_script"`
   3109 
   3110 
   3111 # Expand $ac_aux_dir to an absolute path.
   3112 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   3113 
   3114 
   3115   if test x"${MISSING+set}" != xset; then
   3116   MISSING="\${SHELL} '$am_aux_dir/missing'"
   3117 fi
   3118 # Use eval to expand $SHELL
   3119 if eval "$MISSING --is-lightweight"; then
   3120   am_missing_run="$MISSING "
   3121 else
   3122   am_missing_run=
   3123   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3124 printf '%s\n' "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3125 fi
   3126 
   3127 if test x"${install_sh+set}" != xset; then
   3128   case $am_aux_dir in
   3129   *\ * | *\	*)
   3130     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3131   *)
   3132     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3133   esac
   3134 fi
   3135 
   3136 # Installed binaries are usually stripped using 'strip' when the user
   3137 # run "make install-strip".  However 'strip' might not be the right
   3138 # tool to use in cross-compilation environments, therefore Automake
   3139 # will honor the 'STRIP' environment variable to overrule this program.
   3140 if test "$cross_compiling" != no; then
   3141   if test -n "$ac_tool_prefix"; then
   3142   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3143 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3144 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3145 printf %s "checking for $ac_word... " >&6; }
   3146 if test ${ac_cv_prog_STRIP+y}
   3147 then :
   3148   printf %s "(cached) " >&6
   3149 else case e in #(
   3150   e) if test -n "$STRIP"; then
   3151   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3152 else
   3153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3154 for as_dir in $PATH
   3155 do
   3156   IFS=$as_save_IFS
   3157   case $as_dir in #(((
   3158     '') as_dir=./ ;;
   3159     */) ;;
   3160     *) as_dir=$as_dir/ ;;
   3161   esac
   3162     for ac_exec_ext in '' $ac_executable_extensions; do
   3163   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3164     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3165     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3166     break 2
   3167   fi
   3168 done
   3169   done
   3170 IFS=$as_save_IFS
   3171 
   3172 fi ;;
   3173 esac
   3174 fi
   3175 STRIP=$ac_cv_prog_STRIP
   3176 if test -n "$STRIP"; then
   3177   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3178 printf '%s\n' "$STRIP" >&6; }
   3179 else
   3180   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3181 printf '%s\n' "no" >&6; }
   3182 fi
   3183 
   3184 
   3185 fi
   3186 if test -z "$ac_cv_prog_STRIP"; then
   3187   ac_ct_STRIP=$STRIP
   3188   # Extract the first word of "strip", so it can be a program name with args.
   3189 set dummy strip; ac_word=$2
   3190 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3191 printf %s "checking for $ac_word... " >&6; }
   3192 if test ${ac_cv_prog_ac_ct_STRIP+y}
   3193 then :
   3194   printf %s "(cached) " >&6
   3195 else case e in #(
   3196   e) if test -n "$ac_ct_STRIP"; then
   3197   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3198 else
   3199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3200 for as_dir in $PATH
   3201 do
   3202   IFS=$as_save_IFS
   3203   case $as_dir in #(((
   3204     '') as_dir=./ ;;
   3205     */) ;;
   3206     *) as_dir=$as_dir/ ;;
   3207   esac
   3208     for ac_exec_ext in '' $ac_executable_extensions; do
   3209   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3210     ac_cv_prog_ac_ct_STRIP="strip"
   3211     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3212     break 2
   3213   fi
   3214 done
   3215   done
   3216 IFS=$as_save_IFS
   3217 
   3218 fi ;;
   3219 esac
   3220 fi
   3221 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3222 if test -n "$ac_ct_STRIP"; then
   3223   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3224 printf '%s\n' "$ac_ct_STRIP" >&6; }
   3225 else
   3226   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3227 printf '%s\n' "no" >&6; }
   3228 fi
   3229 
   3230   if test "x$ac_ct_STRIP" = x; then
   3231     STRIP=":"
   3232   else
   3233     case $cross_compiling:$ac_tool_warned in
   3234 yes:)
   3235 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3236 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3237 ac_tool_warned=yes ;;
   3238 esac
   3239     STRIP=$ac_ct_STRIP
   3240   fi
   3241 else
   3242   STRIP="$ac_cv_prog_STRIP"
   3243 fi
   3244 
   3245 fi
   3246 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3247 
   3248 
   3249   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   3250 printf %s "checking for a race-free mkdir -p... " >&6; }
   3251 if test -z "$MKDIR_P"; then
   3252   if test ${ac_cv_path_mkdir+y}
   3253 then :
   3254   printf %s "(cached) " >&6
   3255 else case e in #(
   3256   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3257 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3258 do
   3259   IFS=$as_save_IFS
   3260   case $as_dir in #(((
   3261     '') as_dir=./ ;;
   3262     */) ;;
   3263     *) as_dir=$as_dir/ ;;
   3264   esac
   3265     for ac_prog in mkdir gmkdir; do
   3266 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3267 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3268 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3269 	     'mkdir ('*'coreutils) '* | \
   3270 	     *'BusyBox '* | \
   3271 	     'mkdir (fileutils) '4.1*)
   3272 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3273 	       break 3;;
   3274 	   esac
   3275 	 done
   3276        done
   3277   done
   3278 IFS=$as_save_IFS
   3279  ;;
   3280 esac
   3281 fi
   3282 
   3283   test -d ./--version && rmdir ./--version
   3284   if test ${ac_cv_path_mkdir+y}; then
   3285     MKDIR_P="$ac_cv_path_mkdir -p"
   3286   else
   3287     # As a last resort, use plain mkdir -p,
   3288     # in the hope it doesn't have the bugs of ancient mkdir.
   3289     MKDIR_P='mkdir -p'
   3290   fi
   3291 fi
   3292 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3293 printf '%s\n' "$MKDIR_P" >&6; }
   3294 
   3295 for ac_prog in gawk mawk nawk awk 'busybox awk'
   3296 do
   3297   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3298 set dummy $ac_prog; ac_word=$2
   3299 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3300 printf %s "checking for $ac_word... " >&6; }
   3301 if test ${ac_cv_prog_AWK+y}
   3302 then :
   3303   printf %s "(cached) " >&6
   3304 else case e in #(
   3305   e) if test -n "$AWK"; then
   3306   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3307 else
   3308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3309 for as_dir in $PATH
   3310 do
   3311   IFS=$as_save_IFS
   3312   case $as_dir in #(((
   3313     '') as_dir=./ ;;
   3314     */) ;;
   3315     *) as_dir=$as_dir/ ;;
   3316   esac
   3317     for ac_exec_ext in '' $ac_executable_extensions; do
   3318   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3319     ac_cv_prog_AWK="$ac_prog"
   3320     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3321     break 2
   3322   fi
   3323 done
   3324   done
   3325 IFS=$as_save_IFS
   3326 
   3327 fi ;;
   3328 esac
   3329 fi
   3330 AWK=$ac_cv_prog_AWK
   3331 if test -n "$AWK"; then
   3332   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3333 printf '%s\n' "$AWK" >&6; }
   3334 else
   3335   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3336 printf '%s\n' "no" >&6; }
   3337 fi
   3338 
   3339 
   3340   test -n "$AWK" && break
   3341 done
   3342 
   3343 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3344 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3345 set x ${MAKE-make}
   3346 ac_make=`printf '%s\n' "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3347 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3348 then :
   3349   printf %s "(cached) " >&6
   3350 else case e in #(
   3351   e) cat >conftest.make <<\_ACEOF
   3352 SHELL = /bin/sh
   3353 all:
   3354 	@printf '%s\n' '@@@%%%=$(MAKE)=@@@%%%'
   3355 _ACEOF
   3356 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3357 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3358   *@@@%%%=?*=@@@%%%*)
   3359     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3360   *)
   3361     eval ac_cv_prog_make_${ac_make}_set=no;;
   3362 esac
   3363 rm -f conftest.make ;;
   3364 esac
   3365 fi
   3366 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3367   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3368 printf '%s\n' "yes" >&6; }
   3369   SET_MAKE=
   3370 else
   3371   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3372 printf '%s\n' "no" >&6; }
   3373   SET_MAKE="MAKE=${MAKE-make}"
   3374 fi
   3375 
   3376 rm -rf .tst 2>/dev/null
   3377 mkdir .tst 2>/dev/null
   3378 if test -d .tst; then
   3379   am__leading_dot=.
   3380 else
   3381   am__leading_dot=_
   3382 fi
   3383 rmdir .tst 2>/dev/null
   3384 
   3385 AM_DEFAULT_VERBOSITY=1
   3386 # Check whether --enable-silent-rules was given.
   3387 if test ${enable_silent_rules+y}
   3388 then :
   3389   enableval=$enable_silent_rules;
   3390 fi
   3391 
   3392 am_make=${MAKE-make}
   3393 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3394 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3395 if test ${am_cv_make_support_nested_variables+y}
   3396 then :
   3397   printf %s "(cached) " >&6
   3398 else case e in #(
   3399   e) if printf '%s\n' 'TRUE=$(BAR$(V))
   3400 BAR0=false
   3401 BAR1=true
   3402 V=1
   3403 am__doit:
   3404 	@$(TRUE)
   3405 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3406   am_cv_make_support_nested_variables=yes
   3407 else
   3408   am_cv_make_support_nested_variables=no
   3409 fi ;;
   3410 esac
   3411 fi
   3412 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3413 printf '%s\n' "$am_cv_make_support_nested_variables" >&6; }
   3414 AM_BACKSLASH='\'
   3415 
   3416 am__rm_f_notfound=
   3417 if (rm -f && rm -fr && rm -rf) 2>/dev/null
   3418 then :
   3419 
   3420 else case e in #(
   3421   e) am__rm_f_notfound='""' ;;
   3422 esac
   3423 fi
   3424 
   3425 
   3426 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
   3427 printf %s "checking xargs -n works... " >&6; }
   3428 if test ${am_cv_xargs_n_works+y}
   3429 then :
   3430   printf %s "(cached) " >&6
   3431 else case e in #(
   3432   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
   3433 3"
   3434 then :
   3435   am_cv_xargs_n_works=yes
   3436 else case e in #(
   3437   e) am_cv_xargs_n_works=no ;;
   3438 esac
   3439 fi ;;
   3440 esac
   3441 fi
   3442 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
   3443 printf '%s\n' "$am_cv_xargs_n_works" >&6; }
   3444 if test "$am_cv_xargs_n_works" = yes
   3445 then :
   3446   am__xargs_n='xargs -n'
   3447 else case e in #(
   3448   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
   3449  ;;
   3450 esac
   3451 fi
   3452 
   3453 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3454   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3455   # is not polluted with repeated "-I."
   3456   am__isrc=' -I$(srcdir)'
   3457   # test to see if srcdir already configured
   3458   if test -f $srcdir/config.status; then
   3459     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3460   fi
   3461 fi
   3462 
   3463 # test whether we have cygpath
   3464 if test -z "$CYGPATH_W"; then
   3465   if (cygpath --version) >/dev/null 2>/dev/null; then
   3466     CYGPATH_W='cygpath -w'
   3467   else
   3468     CYGPATH_W=echo
   3469   fi
   3470 fi
   3471 
   3472 
   3473 # Define the identity of the package.
   3474  PACKAGE='libXrender'
   3475  VERSION='0.9.13'
   3476 
   3477 
   3478 printf '%s\n' "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3479 
   3480 
   3481 printf '%s\n' "#define VERSION \"$VERSION\"" >>confdefs.h
   3482 
   3483 # Some tools Automake needs.
   3484 
   3485 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3486 
   3487 
   3488 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3489 
   3490 
   3491 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3492 
   3493 
   3494 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3495 
   3496 
   3497 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3498 
   3499 # For better backward compatibility.  To be removed once Automake 1.9.x
   3500 # dies out for good.  For more background, see:
   3501 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3502 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3503 mkdir_p='$(MKDIR_P)'
   3504 
   3505 # We need awk for the "check" target (and possibly the TAP driver).  The
   3506 # system "awk" is bad on some platforms.
   3507 # Always define AMTAR for backward compatibility.  It's still used
   3508 # in the wild, let's not break things.
   3509 AMTAR='$${TAR-tar}'
   3510 
   3511 
   3512 # The dist rules treat anything $(am__tar) writes to standard error as
   3513 # a failure (automake bug#19614).  Set this to "yes" for archivers that
   3514 # write there when all is well; cpio reports a block count.
   3515 am__tar_ignore_stderr=no
   3516 
   3517 # We'll loop over all known methods to create a tar archive until one works.
   3518 _am_tools='gnutar plaintar pax cpio none'
   3519 
   3520 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
   3521       # There is notably a 21 bits limit for the UID and the GID.  In fact,
   3522       # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
   3523       # and bug#13588).
   3524       am_max_uid=2097151 # 2^21 - 1
   3525       am_max_gid=$am_max_uid
   3526       # The $UID and $GID variables are not portable, so we need to resort
   3527       # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
   3528       # below are definitely unexpected, so allow the users to see them
   3529       # (that is, avoid stderr redirection).
   3530       am_uid=`id -u || echo unknown`
   3531       am_gid=`id -g || echo unknown`
   3532       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
   3533 printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
   3534       if test x$am_uid = xunknown; then
   3535         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
   3536 printf '%s\n' "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
   3537       elif test $am_uid -le $am_max_uid; then
   3538         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3539 printf '%s\n' "yes" >&6; }
   3540       else
   3541         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3542 printf '%s\n' "no" >&6; }
   3543         _am_tools=none
   3544       fi
   3545       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
   3546 printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
   3547       if test x$gm_gid = xunknown; then
   3548         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
   3549 printf '%s\n' "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
   3550       elif test $am_gid -le $am_max_gid; then
   3551         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3552 printf '%s\n' "yes" >&6; }
   3553       else
   3554         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3555 printf '%s\n' "no" >&6; }
   3556         _am_tools=none
   3557       fi
   3558 
   3559   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
   3560 printf %s "checking how to create a ustar tar archive... " >&6; }
   3561 
   3562   # Go ahead even if we have the value already cached.  We do so because we
   3563   # need to set the values for the 'am__tar' and 'am__untar' variables.
   3564   _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
   3565 
   3566   for _am_tool in $_am_tools; do
   3567     am__tar_ignore_stderr=no
   3568     case $_am_tool in
   3569     gnutar)
   3570       for _am_tar in tar gnutar gtar; do
   3571         { echo "$as_me:$LINENO: $_am_tar --version | grep GNU >/dev/null" >&5
   3572    ($_am_tar --version | grep GNU >/dev/null) >&5 2>&5
   3573    ac_status=$?
   3574    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3575    (exit $ac_status); } && break
   3576       done
   3577       am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
   3578       am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
   3579       am__untar="$_am_tar -xf -"
   3580       ;;
   3581     plaintar)
   3582       # Must skip GNU tar: if it does not support --format= it doesn't create
   3583       # ustar tarball either.
   3584       (tar --version | grep GNU) >/dev/null 2>&1 && continue
   3585       am__tar='tar chf - "$$tardir"'
   3586       am__tar_='tar chf - "$tardir"'
   3587       am__untar='tar xf -'
   3588       ;;
   3589     pax)
   3590       am__tar='pax -L -x ustar -w "$$tardir"'
   3591       am__tar_='pax -L -x ustar -w "$tardir"'
   3592       am__untar='pax -r'
   3593       ;;
   3594     cpio)
   3595       am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
   3596       am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
   3597       am__untar='cpio -i -H ustar -d'
   3598       am__tar_ignore_stderr=yes
   3599       ;;
   3600     none)
   3601       am__tar=false
   3602       am__tar_=false
   3603       am__untar=false
   3604       ;;
   3605     esac
   3606 
   3607     # If the value was cached, stop now.  We just wanted to have am__tar
   3608     # and am__untar set.
   3609     test -n "${am_cv_prog_tar_ustar}" && break
   3610 
   3611     # tar/untar a dummy directory, and stop if the command works.
   3612     rm -rf conftest.dir
   3613     mkdir conftest.dir
   3614     echo GrepMe > conftest.dir/file
   3615     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
   3616    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
   3617    ac_status=$?
   3618    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3619    (exit $ac_status); }
   3620     rm -rf conftest.dir
   3621     if test -s conftest.tar; then
   3622       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
   3623    ($am__untar <conftest.tar) >&5 2>&5
   3624    ac_status=$?
   3625    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3626    (exit $ac_status); }
   3627       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
   3628    (cat conftest.dir/file) >&5 2>&5
   3629    ac_status=$?
   3630    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3631    (exit $ac_status); }
   3632       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
   3633     fi
   3634   done
   3635   rm -rf conftest.dir
   3636 
   3637   if test ${am_cv_prog_tar_ustar+y}
   3638 then :
   3639   printf %s "(cached) " >&6
   3640 else case e in #(
   3641   e) am_cv_prog_tar_ustar=$_am_tool ;;
   3642 esac
   3643 fi
   3644 
   3645   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
   3646 printf '%s\n' "$am_cv_prog_tar_ustar" >&6; }
   3647 
   3648 
   3649 
   3650 
   3651 
   3652 
   3653 # Variables for tags utilities; see am/tags.am
   3654 if test -z "$CTAGS"; then
   3655   CTAGS=ctags
   3656 fi
   3657 
   3658 if test -z "$ETAGS"; then
   3659   ETAGS=etags
   3660 fi
   3661 
   3662 if test -z "$CSCOPE"; then
   3663   CSCOPE=cscope
   3664 fi
   3665 
   3666 
   3667 
   3668 
   3669 
   3670 
   3671 
   3672 
   3673 # Initialize libtool
   3674 case `pwd` in
   3675   *\ * | *\	*)
   3676     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   3677 printf '%s\n' "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   3678 esac
   3679 
   3680 
   3681 
   3682 macro_version='2.6.2'
   3683 macro_revision='2.6.2'
   3684 
   3685 
   3686 
   3687 
   3688 
   3689 
   3690 
   3691 
   3692 
   3693 
   3694 
   3695 
   3696 
   3697 
   3698 ltmain=$ac_aux_dir/ltmain.sh
   3699 
   3700 
   3701 
   3702   # Make sure we can run config.sub.
   3703 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   3704   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   3705 
   3706 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3707 printf %s "checking build system type... " >&6; }
   3708 if test ${ac_cv_build+y}
   3709 then :
   3710   printf %s "(cached) " >&6
   3711 else case e in #(
   3712   e) ac_build_alias=$build_alias
   3713 test "x$ac_build_alias" = x &&
   3714   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   3715 test "x$ac_build_alias" = x &&
   3716   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3717 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   3718   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   3719  ;;
   3720 esac
   3721 fi
   3722 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3723 printf '%s\n' "$ac_cv_build" >&6; }
   3724 case $ac_cv_build in
   3725 *-*-*) ;;
   3726 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3727 esac
   3728 build=$ac_cv_build
   3729 ac_save_IFS=$IFS; IFS='-'
   3730 set x $ac_cv_build
   3731 shift
   3732 build_cpu=$1
   3733 build_vendor=$2
   3734 shift; shift
   3735 # Remember, the first character of IFS is used to create $*,
   3736 # except with old shells:
   3737 build_os=$*
   3738 IFS=$ac_save_IFS
   3739 case $build_os in *\ *) build_os=`printf '%s\n' "$build_os" | sed 's/ /-/g'`;; esac
   3740 
   3741 
   3742 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3743 printf %s "checking host system type... " >&6; }
   3744 if test ${ac_cv_host+y}
   3745 then :
   3746   printf %s "(cached) " >&6
   3747 else case e in #(
   3748   e) if test "x$host_alias" = x; then
   3749   ac_cv_host=$ac_cv_build
   3750 else
   3751   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   3752     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   3753 fi
   3754  ;;
   3755 esac
   3756 fi
   3757 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3758 printf '%s\n' "$ac_cv_host" >&6; }
   3759 case $ac_cv_host in
   3760 *-*-*) ;;
   3761 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3762 esac
   3763 host=$ac_cv_host
   3764 ac_save_IFS=$IFS; IFS='-'
   3765 set x $ac_cv_host
   3766 shift
   3767 host_cpu=$1
   3768 host_vendor=$2
   3769 shift; shift
   3770 # Remember, the first character of IFS is used to create $*,
   3771 # except with old shells:
   3772 host_os=$*
   3773 IFS=$ac_save_IFS
   3774 case $host_os in *\ *) host_os=`printf '%s\n' "$host_os" | sed 's/ /-/g'`;; esac
   3775 
   3776 
   3777 # Backslashify metacharacters that are still active within
   3778 # double-quoted strings.
   3779 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   3780 
   3781 # Same as above, but do not quote variable references.
   3782 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   3783 
   3784 # Sed substitution to delay expansion of an escaped shell variable in a
   3785 # double_quote_subst'ed string.
   3786 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   3787 
   3788 # Sed substitution to delay expansion of an escaped single quote.
   3789 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   3790 
   3791 # Sed substitution to avoid accidental globbing in evaled expressions
   3792 no_glob_subst='s/\*/\\\*/g'
   3793 
   3794 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   3795 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   3796 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   3797 
   3798 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   3799 printf %s "checking how to print strings... " >&6; }
   3800 # Test print first, because it will be a builtin if present.
   3801 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   3802    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   3803   ECHO='print -r --'
   3804 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   3805   ECHO='printf %s\n'
   3806 else
   3807   # Use this function as a fallback that always works.
   3808   func_fallback_echo ()
   3809   {
   3810     eval 'cat <<_LTECHO_EOF
   3811 $1
   3812 _LTECHO_EOF'
   3813   }
   3814   ECHO='func_fallback_echo'
   3815 fi
   3816 
   3817 # func_echo_all arg...
   3818 # Invoke $ECHO with all args, space-separated.
   3819 func_echo_all ()
   3820 {
   3821     $ECHO ""
   3822 }
   3823 
   3824 case $ECHO in
   3825   printf*) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   3826 printf '%s\n' "printf" >&6; } ;;
   3827   print*) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   3828 printf '%s\n' "print -r" >&6; } ;;
   3829   *) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   3830 printf '%s\n' "cat" >&6; } ;;
   3831 esac
   3832 
   3833 
   3834 
   3835 
   3836 
   3837 
   3838 
   3839 
   3840 
   3841 
   3842 
   3843 
   3844 
   3845 
   3846 
   3847 
   3848 
   3849 
   3850 
   3851 
   3852 
   3853 
   3854 
   3855 
   3856 
   3857 
   3858 DEPDIR="${am__leading_dot}deps"
   3859 
   3860 ac_config_commands="$ac_config_commands depfiles"
   3861 
   3862 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3863 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3864 cat > confinc.mk << 'END'
   3865 am__doit:
   3866 	@echo this is the am__doit target >confinc.out
   3867 .PHONY: am__doit
   3868 END
   3869 am__include="#"
   3870 am__quote=
   3871 # BSD make does it like this.
   3872 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3873 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3874 echo 'include confinc.mk # ignored' > confmf.GNU
   3875 _am_result=no
   3876 for s in GNU BSD; do
   3877   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3878    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3879    ac_status=$?
   3880    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3881    (exit $ac_status); }
   3882   case $?:`cat confinc.out 2>/dev/null` in #(
   3883   '0:this is the am__doit target') :
   3884     case $s in #(
   3885   BSD) :
   3886     am__include='.include' am__quote='"' ;; #(
   3887   *) :
   3888     am__include='include' am__quote='' ;;
   3889 esac ;; #(
   3890   *) :
   3891      ;;
   3892 esac
   3893   if test "$am__include" != "#"; then
   3894     _am_result="yes ($s style)"
   3895     break
   3896   fi
   3897 done
   3898 rm -f confinc.* confmf.*
   3899 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3900 printf '%s\n' "${_am_result}" >&6; }
   3901 
   3902 # Check whether --enable-dependency-tracking was given.
   3903 if test ${enable_dependency_tracking+y}
   3904 then :
   3905   enableval=$enable_dependency_tracking;
   3906 fi
   3907 
   3908 if test "x$enable_dependency_tracking" != xno; then
   3909   am_depcomp="$ac_aux_dir/depcomp"
   3910   AMDEPBACKSLASH='\'
   3911   am__nodep='_no'
   3912 fi
   3913  if test "x$enable_dependency_tracking" != xno; then
   3914   AMDEP_TRUE=
   3915   AMDEP_FALSE='#'
   3916 else
   3917   AMDEP_TRUE='#'
   3918   AMDEP_FALSE=
   3919 fi
   3920 
   3921 
   3922 ac_ext=c
   3923 ac_cpp='$CPP $CPPFLAGS'
   3924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3927 if test -n "$ac_tool_prefix"; then
   3928   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3929 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3930 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3931 printf %s "checking for $ac_word... " >&6; }
   3932 if test ${ac_cv_prog_CC+y}
   3933 then :
   3934   printf %s "(cached) " >&6
   3935 else case e in #(
   3936   e) if test -n "$CC"; then
   3937   ac_cv_prog_CC="$CC" # Let the user override the test.
   3938 else
   3939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3940 for as_dir in $PATH
   3941 do
   3942   IFS=$as_save_IFS
   3943   case $as_dir in #(((
   3944     '') as_dir=./ ;;
   3945     */) ;;
   3946     *) as_dir=$as_dir/ ;;
   3947   esac
   3948     for ac_exec_ext in '' $ac_executable_extensions; do
   3949   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3950     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3951     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3952     break 2
   3953   fi
   3954 done
   3955   done
   3956 IFS=$as_save_IFS
   3957 
   3958 fi ;;
   3959 esac
   3960 fi
   3961 CC=$ac_cv_prog_CC
   3962 if test -n "$CC"; then
   3963   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3964 printf '%s\n' "$CC" >&6; }
   3965 else
   3966   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3967 printf '%s\n' "no" >&6; }
   3968 fi
   3969 
   3970 
   3971 fi
   3972 if test -z "$ac_cv_prog_CC"; then
   3973   ac_ct_CC=$CC
   3974   # Extract the first word of "gcc", so it can be a program name with args.
   3975 set dummy gcc; ac_word=$2
   3976 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3977 printf %s "checking for $ac_word... " >&6; }
   3978 if test ${ac_cv_prog_ac_ct_CC+y}
   3979 then :
   3980   printf %s "(cached) " >&6
   3981 else case e in #(
   3982   e) if test -n "$ac_ct_CC"; then
   3983   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3984 else
   3985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3986 for as_dir in $PATH
   3987 do
   3988   IFS=$as_save_IFS
   3989   case $as_dir in #(((
   3990     '') as_dir=./ ;;
   3991     */) ;;
   3992     *) as_dir=$as_dir/ ;;
   3993   esac
   3994     for ac_exec_ext in '' $ac_executable_extensions; do
   3995   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3996     ac_cv_prog_ac_ct_CC="gcc"
   3997     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3998     break 2
   3999   fi
   4000 done
   4001   done
   4002 IFS=$as_save_IFS
   4003 
   4004 fi ;;
   4005 esac
   4006 fi
   4007 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4008 if test -n "$ac_ct_CC"; then
   4009   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4010 printf '%s\n' "$ac_ct_CC" >&6; }
   4011 else
   4012   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4013 printf '%s\n' "no" >&6; }
   4014 fi
   4015 
   4016   if test "x$ac_ct_CC" = x; then
   4017     CC=""
   4018   else
   4019     case $cross_compiling:$ac_tool_warned in
   4020 yes:)
   4021 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4022 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4023 ac_tool_warned=yes ;;
   4024 esac
   4025     CC=$ac_ct_CC
   4026   fi
   4027 else
   4028   CC="$ac_cv_prog_CC"
   4029 fi
   4030 
   4031 if test -z "$CC"; then
   4032           if test -n "$ac_tool_prefix"; then
   4033     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   4034 set dummy ${ac_tool_prefix}cc; ac_word=$2
   4035 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4036 printf %s "checking for $ac_word... " >&6; }
   4037 if test ${ac_cv_prog_CC+y}
   4038 then :
   4039   printf %s "(cached) " >&6
   4040 else case e in #(
   4041   e) if test -n "$CC"; then
   4042   ac_cv_prog_CC="$CC" # Let the user override the test.
   4043 else
   4044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4045 for as_dir in $PATH
   4046 do
   4047   IFS=$as_save_IFS
   4048   case $as_dir in #(((
   4049     '') as_dir=./ ;;
   4050     */) ;;
   4051     *) as_dir=$as_dir/ ;;
   4052   esac
   4053     for ac_exec_ext in '' $ac_executable_extensions; do
   4054   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4055     ac_cv_prog_CC="${ac_tool_prefix}cc"
   4056     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4057     break 2
   4058   fi
   4059 done
   4060   done
   4061 IFS=$as_save_IFS
   4062 
   4063 fi ;;
   4064 esac
   4065 fi
   4066 CC=$ac_cv_prog_CC
   4067 if test -n "$CC"; then
   4068   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4069 printf '%s\n' "$CC" >&6; }
   4070 else
   4071   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4072 printf '%s\n' "no" >&6; }
   4073 fi
   4074 
   4075 
   4076   fi
   4077 fi
   4078 if test -z "$CC"; then
   4079   # Extract the first word of "cc", so it can be a program name with args.
   4080 set dummy cc; ac_word=$2
   4081 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4082 printf %s "checking for $ac_word... " >&6; }
   4083 if test ${ac_cv_prog_CC+y}
   4084 then :
   4085   printf %s "(cached) " >&6
   4086 else case e in #(
   4087   e) if test -n "$CC"; then
   4088   ac_cv_prog_CC="$CC" # Let the user override the test.
   4089 else
   4090   ac_prog_rejected=no
   4091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4092 for as_dir in $PATH
   4093 do
   4094   IFS=$as_save_IFS
   4095   case $as_dir in #(((
   4096     '') as_dir=./ ;;
   4097     */) ;;
   4098     *) as_dir=$as_dir/ ;;
   4099   esac
   4100     for ac_exec_ext in '' $ac_executable_extensions; do
   4101   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4102     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   4103        ac_prog_rejected=yes
   4104        continue
   4105      fi
   4106     ac_cv_prog_CC="cc"
   4107     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4108     break 2
   4109   fi
   4110 done
   4111   done
   4112 IFS=$as_save_IFS
   4113 
   4114 if test $ac_prog_rejected = yes; then
   4115   # We found a bogon in the path, so make sure we never use it.
   4116   set dummy $ac_cv_prog_CC
   4117   shift
   4118   if test $# != 0; then
   4119     # We chose a different compiler from the bogus one.
   4120     # However, it has the same basename, so the bogon will be chosen
   4121     # first if we set CC to just the basename; use the full file name.
   4122     shift
   4123     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   4124   fi
   4125 fi
   4126 fi ;;
   4127 esac
   4128 fi
   4129 CC=$ac_cv_prog_CC
   4130 if test -n "$CC"; then
   4131   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4132 printf '%s\n' "$CC" >&6; }
   4133 else
   4134   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4135 printf '%s\n' "no" >&6; }
   4136 fi
   4137 
   4138 
   4139 fi
   4140 if test -z "$CC"; then
   4141   if test -n "$ac_tool_prefix"; then
   4142   for ac_prog in cl.exe
   4143   do
   4144     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4145 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4146 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4147 printf %s "checking for $ac_word... " >&6; }
   4148 if test ${ac_cv_prog_CC+y}
   4149 then :
   4150   printf %s "(cached) " >&6
   4151 else case e in #(
   4152   e) if test -n "$CC"; then
   4153   ac_cv_prog_CC="$CC" # Let the user override the test.
   4154 else
   4155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4156 for as_dir in $PATH
   4157 do
   4158   IFS=$as_save_IFS
   4159   case $as_dir in #(((
   4160     '') as_dir=./ ;;
   4161     */) ;;
   4162     *) as_dir=$as_dir/ ;;
   4163   esac
   4164     for ac_exec_ext in '' $ac_executable_extensions; do
   4165   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4166     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   4167     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4168     break 2
   4169   fi
   4170 done
   4171   done
   4172 IFS=$as_save_IFS
   4173 
   4174 fi ;;
   4175 esac
   4176 fi
   4177 CC=$ac_cv_prog_CC
   4178 if test -n "$CC"; then
   4179   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4180 printf '%s\n' "$CC" >&6; }
   4181 else
   4182   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4183 printf '%s\n' "no" >&6; }
   4184 fi
   4185 
   4186 
   4187     test -n "$CC" && break
   4188   done
   4189 fi
   4190 if test -z "$CC"; then
   4191   ac_ct_CC=$CC
   4192   for ac_prog in cl.exe
   4193 do
   4194   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4195 set dummy $ac_prog; ac_word=$2
   4196 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4197 printf %s "checking for $ac_word... " >&6; }
   4198 if test ${ac_cv_prog_ac_ct_CC+y}
   4199 then :
   4200   printf %s "(cached) " >&6
   4201 else case e in #(
   4202   e) if test -n "$ac_ct_CC"; then
   4203   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4204 else
   4205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4206 for as_dir in $PATH
   4207 do
   4208   IFS=$as_save_IFS
   4209   case $as_dir in #(((
   4210     '') as_dir=./ ;;
   4211     */) ;;
   4212     *) as_dir=$as_dir/ ;;
   4213   esac
   4214     for ac_exec_ext in '' $ac_executable_extensions; do
   4215   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4216     ac_cv_prog_ac_ct_CC="$ac_prog"
   4217     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4218     break 2
   4219   fi
   4220 done
   4221   done
   4222 IFS=$as_save_IFS
   4223 
   4224 fi ;;
   4225 esac
   4226 fi
   4227 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4228 if test -n "$ac_ct_CC"; then
   4229   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4230 printf '%s\n' "$ac_ct_CC" >&6; }
   4231 else
   4232   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4233 printf '%s\n' "no" >&6; }
   4234 fi
   4235 
   4236 
   4237   test -n "$ac_ct_CC" && break
   4238 done
   4239 
   4240   if test "x$ac_ct_CC" = x; then
   4241     CC=""
   4242   else
   4243     case $cross_compiling:$ac_tool_warned in
   4244 yes:)
   4245 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4246 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4247 ac_tool_warned=yes ;;
   4248 esac
   4249     CC=$ac_ct_CC
   4250   fi
   4251 fi
   4252 
   4253 fi
   4254 if test -z "$CC"; then
   4255   if test -n "$ac_tool_prefix"; then
   4256   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   4257 set dummy ${ac_tool_prefix}clang; ac_word=$2
   4258 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4259 printf %s "checking for $ac_word... " >&6; }
   4260 if test ${ac_cv_prog_CC+y}
   4261 then :
   4262   printf %s "(cached) " >&6
   4263 else case e in #(
   4264   e) if test -n "$CC"; then
   4265   ac_cv_prog_CC="$CC" # Let the user override the test.
   4266 else
   4267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4268 for as_dir in $PATH
   4269 do
   4270   IFS=$as_save_IFS
   4271   case $as_dir in #(((
   4272     '') as_dir=./ ;;
   4273     */) ;;
   4274     *) as_dir=$as_dir/ ;;
   4275   esac
   4276     for ac_exec_ext in '' $ac_executable_extensions; do
   4277   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4278     ac_cv_prog_CC="${ac_tool_prefix}clang"
   4279     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4280     break 2
   4281   fi
   4282 done
   4283   done
   4284 IFS=$as_save_IFS
   4285 
   4286 fi ;;
   4287 esac
   4288 fi
   4289 CC=$ac_cv_prog_CC
   4290 if test -n "$CC"; then
   4291   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4292 printf '%s\n' "$CC" >&6; }
   4293 else
   4294   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4295 printf '%s\n' "no" >&6; }
   4296 fi
   4297 
   4298 
   4299 fi
   4300 if test -z "$ac_cv_prog_CC"; then
   4301   ac_ct_CC=$CC
   4302   # Extract the first word of "clang", so it can be a program name with args.
   4303 set dummy clang; ac_word=$2
   4304 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4305 printf %s "checking for $ac_word... " >&6; }
   4306 if test ${ac_cv_prog_ac_ct_CC+y}
   4307 then :
   4308   printf %s "(cached) " >&6
   4309 else case e in #(
   4310   e) if test -n "$ac_ct_CC"; then
   4311   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4312 else
   4313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4314 for as_dir in $PATH
   4315 do
   4316   IFS=$as_save_IFS
   4317   case $as_dir in #(((
   4318     '') as_dir=./ ;;
   4319     */) ;;
   4320     *) as_dir=$as_dir/ ;;
   4321   esac
   4322     for ac_exec_ext in '' $ac_executable_extensions; do
   4323   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4324     ac_cv_prog_ac_ct_CC="clang"
   4325     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4326     break 2
   4327   fi
   4328 done
   4329   done
   4330 IFS=$as_save_IFS
   4331 
   4332 fi ;;
   4333 esac
   4334 fi
   4335 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4336 if test -n "$ac_ct_CC"; then
   4337   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4338 printf '%s\n' "$ac_ct_CC" >&6; }
   4339 else
   4340   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4341 printf '%s\n' "no" >&6; }
   4342 fi
   4343 
   4344   if test "x$ac_ct_CC" = x; then
   4345     CC=""
   4346   else
   4347     case $cross_compiling:$ac_tool_warned in
   4348 yes:)
   4349 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4350 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4351 ac_tool_warned=yes ;;
   4352 esac
   4353     CC=$ac_ct_CC
   4354   fi
   4355 else
   4356   CC="$ac_cv_prog_CC"
   4357 fi
   4358 
   4359 fi
   4360 
   4361 
   4362 test -z "$CC" && { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4363 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4364 as_fn_error $? "no acceptable C compiler found in \$PATH
   4365 See 'config.log' for more details" "$LINENO" 5; }
   4366 
   4367 # Provide some information about the compiler.
   4368 printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4369 set X $ac_compile
   4370 ac_compiler=$2
   4371 for ac_option in --version -v -V -qversion -version; do
   4372   { { ac_try="$ac_compiler $ac_option >&5"
   4373 case "(($ac_try" in
   4374   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4375   *) ac_try_echo=$ac_try;;
   4376 esac
   4377 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4378 printf '%s\n' "$ac_try_echo"; } >&5
   4379   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4380   ac_status=$?
   4381   if test -s conftest.err; then
   4382     sed '10a\
   4383 ... rest of stderr output deleted ...
   4384          10q' conftest.err >conftest.er1
   4385     cat conftest.er1 >&5
   4386   fi
   4387   rm -f conftest.er1 conftest.err
   4388   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4389   test $ac_status = 0; }
   4390 done
   4391 
   4392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4393 /* end confdefs.h.  */
   4394 
   4395 int
   4396 main (void)
   4397 {
   4398 
   4399   ;
   4400   return 0;
   4401 }
   4402 _ACEOF
   4403 ac_clean_files_save=$ac_clean_files
   4404 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   4405 # Try to create an executable without -o first, disregard a.out.
   4406 # It will help us diagnose broken compilers, and finding out an intuition
   4407 # of exeext.
   4408 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4409 printf %s "checking whether the C compiler works... " >&6; }
   4410 ac_link_default=`printf '%s\n' "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4411 
   4412 # The possible output files:
   4413 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4414 
   4415 ac_rmfiles=
   4416 for ac_file in $ac_files
   4417 do
   4418   case $ac_file in
   4419     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4420     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4421   esac
   4422 done
   4423 rm -f $ac_rmfiles
   4424 
   4425 if { { ac_try="$ac_link_default"
   4426 case "(($ac_try" in
   4427   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4428   *) ac_try_echo=$ac_try;;
   4429 esac
   4430 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4431 printf '%s\n' "$ac_try_echo"; } >&5
   4432   (eval "$ac_link_default") 2>&5
   4433   ac_status=$?
   4434   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4435   test $ac_status = 0; }
   4436 then :
   4437   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   4438 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   4439 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4440 # so that the user can short-circuit this test for compilers unknown to
   4441 # Autoconf.
   4442 for ac_file in $ac_files ''
   4443 do
   4444   test -f "$ac_file" || continue
   4445   case $ac_file in
   4446     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4447 	;;
   4448     [ab].out )
   4449 	# We found the default executable, but exeext='' is most
   4450 	# certainly right.
   4451 	break;;
   4452     *.* )
   4453 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4454 	then :; else
   4455 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4456 	fi
   4457 	# We set ac_cv_exeext here because the later test for it is not
   4458 	# safe: cross compilers may not add the suffix if given an '-o'
   4459 	# argument, so we may need to know it at that point already.
   4460 	# Even if this section looks crufty: it has the advantage of
   4461 	# actually working.
   4462 	break;;
   4463     * )
   4464 	break;;
   4465   esac
   4466 done
   4467 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4468 
   4469 else case e in #(
   4470   e) ac_file='' ;;
   4471 esac
   4472 fi
   4473 if test -z "$ac_file"
   4474 then :
   4475   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4476 printf '%s\n' "no" >&6; }
   4477 printf '%s\n' "$as_me: failed program was:" >&5
   4478 sed 's/^/| /' conftest.$ac_ext >&5
   4479 
   4480 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4481 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4482 as_fn_error 77 "C compiler cannot create executables
   4483 See 'config.log' for more details" "$LINENO" 5; }
   4484 else case e in #(
   4485   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4486 printf '%s\n' "yes" >&6; } ;;
   4487 esac
   4488 fi
   4489 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4490 printf %s "checking for C compiler default output file name... " >&6; }
   4491 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4492 printf '%s\n' "$ac_file" >&6; }
   4493 ac_exeext=$ac_cv_exeext
   4494 
   4495 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4496 ac_clean_files=$ac_clean_files_save
   4497 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4498 printf %s "checking for suffix of executables... " >&6; }
   4499 if { { ac_try="$ac_link"
   4500 case "(($ac_try" in
   4501   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4502   *) ac_try_echo=$ac_try;;
   4503 esac
   4504 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4505 printf '%s\n' "$ac_try_echo"; } >&5
   4506   (eval "$ac_link") 2>&5
   4507   ac_status=$?
   4508   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4509   test $ac_status = 0; }
   4510 then :
   4511   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   4512 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   4513 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   4514 # 'rm'.
   4515 for ac_file in conftest.exe conftest conftest.*; do
   4516   test -f "$ac_file" || continue
   4517   case $ac_file in
   4518     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4519     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4520 	  break;;
   4521     * ) break;;
   4522   esac
   4523 done
   4524 else case e in #(
   4525   e) { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4526 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4527 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4528 See 'config.log' for more details" "$LINENO" 5; } ;;
   4529 esac
   4530 fi
   4531 rm -f conftest conftest$ac_cv_exeext
   4532 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4533 printf '%s\n' "$ac_cv_exeext" >&6; }
   4534 
   4535 rm -f conftest.$ac_ext
   4536 EXEEXT=$ac_cv_exeext
   4537 ac_exeext=$EXEEXT
   4538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4539 /* end confdefs.h.  */
   4540 #include <stdio.h>
   4541 int
   4542 main (void)
   4543 {
   4544 FILE *f = fopen ("conftest.out", "w");
   4545  if (!f)
   4546   return 1;
   4547  return ferror (f) || fclose (f) != 0;
   4548 
   4549   ;
   4550   return 0;
   4551 }
   4552 _ACEOF
   4553 ac_clean_files="$ac_clean_files conftest.out"
   4554 # Check that the compiler produces executables we can run.  If not, either
   4555 # the compiler is broken, or we cross compile.
   4556 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4557 printf %s "checking whether we are cross compiling... " >&6; }
   4558 if test "$cross_compiling" != yes; then
   4559   { { ac_try="$ac_link"
   4560 case "(($ac_try" in
   4561   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4562   *) ac_try_echo=$ac_try;;
   4563 esac
   4564 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4565 printf '%s\n' "$ac_try_echo"; } >&5
   4566   (eval "$ac_link") 2>&5
   4567   ac_status=$?
   4568   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4569   test $ac_status = 0; }
   4570   if { ac_try='./conftest$ac_cv_exeext'
   4571   { { case "(($ac_try" in
   4572   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4573   *) ac_try_echo=$ac_try;;
   4574 esac
   4575 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4576 printf '%s\n' "$ac_try_echo"; } >&5
   4577   (eval "$ac_try") 2>&5
   4578   ac_status=$?
   4579   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4580   test $ac_status = 0; }; }; then
   4581     cross_compiling=no
   4582   else
   4583     if test "$cross_compiling" = maybe; then
   4584 	cross_compiling=yes
   4585     else
   4586 	{ { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4587 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4588 as_fn_error 77 "cannot run C compiled programs.
   4589 If you meant to cross compile, use '--host'.
   4590 See 'config.log' for more details" "$LINENO" 5; }
   4591     fi
   4592   fi
   4593 fi
   4594 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4595 printf '%s\n' "$cross_compiling" >&6; }
   4596 
   4597 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   4598   conftest.o conftest.obj conftest.out
   4599 ac_clean_files=$ac_clean_files_save
   4600 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4601 printf %s "checking for suffix of object files... " >&6; }
   4602 if test ${ac_cv_objext+y}
   4603 then :
   4604   printf %s "(cached) " >&6
   4605 else case e in #(
   4606   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4607 /* end confdefs.h.  */
   4608 
   4609 int
   4610 main (void)
   4611 {
   4612 
   4613   ;
   4614   return 0;
   4615 }
   4616 _ACEOF
   4617 rm -f conftest.o conftest.obj
   4618 if { { ac_try="$ac_compile"
   4619 case "(($ac_try" in
   4620   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4621   *) ac_try_echo=$ac_try;;
   4622 esac
   4623 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4624 printf '%s\n' "$ac_try_echo"; } >&5
   4625   (eval "$ac_compile") 2>&5
   4626   ac_status=$?
   4627   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4628   test $ac_status = 0; }
   4629 then :
   4630   for ac_file in conftest.o conftest.obj conftest.*; do
   4631   test -f "$ac_file" || continue;
   4632   case $ac_file in
   4633     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4634     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4635        break;;
   4636   esac
   4637 done
   4638 else case e in #(
   4639   e) printf '%s\n' "$as_me: failed program was:" >&5
   4640 sed 's/^/| /' conftest.$ac_ext >&5
   4641 
   4642 { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4643 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   4644 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4645 See 'config.log' for more details" "$LINENO" 5; } ;;
   4646 esac
   4647 fi
   4648 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   4649 esac
   4650 fi
   4651 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4652 printf '%s\n' "$ac_cv_objext" >&6; }
   4653 OBJEXT=$ac_cv_objext
   4654 ac_objext=$OBJEXT
   4655 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4656 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4657 if test ${ac_cv_c_compiler_gnu+y}
   4658 then :
   4659   printf %s "(cached) " >&6
   4660 else case e in #(
   4661   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4662 /* end confdefs.h.  */
   4663 
   4664 int
   4665 main (void)
   4666 {
   4667 #ifndef __GNUC__
   4668        choke me
   4669 #endif
   4670 
   4671   ;
   4672   return 0;
   4673 }
   4674 _ACEOF
   4675 if ac_fn_c_try_compile "$LINENO"
   4676 then :
   4677   ac_compiler_gnu=yes
   4678 else case e in #(
   4679   e) ac_compiler_gnu=no ;;
   4680 esac
   4681 fi
   4682 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4683 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4684  ;;
   4685 esac
   4686 fi
   4687 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4688 printf '%s\n' "$ac_cv_c_compiler_gnu" >&6; }
   4689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4690 
   4691 if test $ac_compiler_gnu = yes; then
   4692   GCC=yes
   4693 else
   4694   GCC=
   4695 fi
   4696 ac_test_CFLAGS=${CFLAGS+y}
   4697 ac_save_CFLAGS=$CFLAGS
   4698 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4699 printf %s "checking whether $CC accepts -g... " >&6; }
   4700 if test ${ac_cv_prog_cc_g+y}
   4701 then :
   4702   printf %s "(cached) " >&6
   4703 else case e in #(
   4704   e) ac_save_c_werror_flag=$ac_c_werror_flag
   4705    ac_c_werror_flag=yes
   4706    ac_cv_prog_cc_g=no
   4707    CFLAGS="-g"
   4708    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4709 /* end confdefs.h.  */
   4710 
   4711 int
   4712 main (void)
   4713 {
   4714 
   4715   ;
   4716   return 0;
   4717 }
   4718 _ACEOF
   4719 if ac_fn_c_try_compile "$LINENO"
   4720 then :
   4721   ac_cv_prog_cc_g=yes
   4722 else case e in #(
   4723   e) CFLAGS=""
   4724       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4725 /* end confdefs.h.  */
   4726 
   4727 int
   4728 main (void)
   4729 {
   4730 
   4731   ;
   4732   return 0;
   4733 }
   4734 _ACEOF
   4735 if ac_fn_c_try_compile "$LINENO"
   4736 then :
   4737 
   4738 else case e in #(
   4739   e) ac_c_werror_flag=$ac_save_c_werror_flag
   4740 	 CFLAGS="-g"
   4741 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4742 /* end confdefs.h.  */
   4743 
   4744 int
   4745 main (void)
   4746 {
   4747 
   4748   ;
   4749   return 0;
   4750 }
   4751 _ACEOF
   4752 if ac_fn_c_try_compile "$LINENO"
   4753 then :
   4754   ac_cv_prog_cc_g=yes
   4755 fi
   4756 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4757 esac
   4758 fi
   4759 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4760 esac
   4761 fi
   4762 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4763    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   4764 esac
   4765 fi
   4766 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4767 printf '%s\n' "$ac_cv_prog_cc_g" >&6; }
   4768 if test $ac_test_CFLAGS; then
   4769   CFLAGS=$ac_save_CFLAGS
   4770 elif test $ac_cv_prog_cc_g = yes; then
   4771   if test "$GCC" = yes; then
   4772     CFLAGS="-g -O2"
   4773   else
   4774     CFLAGS="-g"
   4775   fi
   4776 else
   4777   if test "$GCC" = yes; then
   4778     CFLAGS="-O2"
   4779   else
   4780     CFLAGS=
   4781   fi
   4782 fi
   4783 ac_prog_cc_stdc=no
   4784 if test x$ac_prog_cc_stdc = xno
   4785 then :
   4786   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C23 features" >&5
   4787 printf %s "checking for $CC option to enable C23 features... " >&6; }
   4788 if test ${ac_cv_prog_cc_c23+y}
   4789 then :
   4790   printf %s "(cached) " >&6
   4791 else case e in #(
   4792   e) ac_cv_prog_cc_c23=no
   4793 ac_save_CC=$CC
   4794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4795 /* end confdefs.h.  */
   4796 $ac_c_conftest_c23_program
   4797 _ACEOF
   4798 for ac_arg in '' -std=gnu23
   4799 do
   4800   CC="$ac_save_CC $ac_arg"
   4801   if ac_fn_c_try_compile "$LINENO"
   4802 then :
   4803   ac_cv_prog_cc_c23=$ac_arg
   4804 fi
   4805 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4806   test "x$ac_cv_prog_cc_c23" != "xno" && break
   4807 done
   4808 rm -f conftest.$ac_ext
   4809 CC=$ac_save_CC ;;
   4810 esac
   4811 fi
   4812 
   4813 if test "x$ac_cv_prog_cc_c23" = xno
   4814 then :
   4815   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4816 printf '%s\n' "unsupported" >&6; }
   4817 else case e in #(
   4818   e) if test "x$ac_cv_prog_cc_c23" = x
   4819 then :
   4820   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4821 printf '%s\n' "none needed" >&6; }
   4822 else case e in #(
   4823   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c23" >&5
   4824 printf '%s\n' "$ac_cv_prog_cc_c23" >&6; }
   4825      CC="$CC $ac_cv_prog_cc_c23" ;;
   4826 esac
   4827 fi
   4828   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c23
   4829   ac_prog_cc_stdc=c23 ;;
   4830 esac
   4831 fi
   4832 fi
   4833 if test x$ac_prog_cc_stdc = xno
   4834 then :
   4835   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4836 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4837 if test ${ac_cv_prog_cc_c11+y}
   4838 then :
   4839   printf %s "(cached) " >&6
   4840 else case e in #(
   4841   e) ac_cv_prog_cc_c11=no
   4842 ac_save_CC=$CC
   4843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4844 /* end confdefs.h.  */
   4845 $ac_c_conftest_c11_program
   4846 _ACEOF
   4847 for ac_arg in '' -std=gnu11 -std:c11
   4848 do
   4849   CC="$ac_save_CC $ac_arg"
   4850   if ac_fn_c_try_compile "$LINENO"
   4851 then :
   4852   ac_cv_prog_cc_c11=$ac_arg
   4853 fi
   4854 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4855   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4856 done
   4857 rm -f conftest.$ac_ext
   4858 CC=$ac_save_CC ;;
   4859 esac
   4860 fi
   4861 
   4862 if test "x$ac_cv_prog_cc_c11" = xno
   4863 then :
   4864   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4865 printf '%s\n' "unsupported" >&6; }
   4866 else case e in #(
   4867   e) if test "x$ac_cv_prog_cc_c11" = x
   4868 then :
   4869   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4870 printf '%s\n' "none needed" >&6; }
   4871 else case e in #(
   4872   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4873 printf '%s\n' "$ac_cv_prog_cc_c11" >&6; }
   4874      CC="$CC $ac_cv_prog_cc_c11" ;;
   4875 esac
   4876 fi
   4877   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4878   ac_prog_cc_stdc=c11 ;;
   4879 esac
   4880 fi
   4881 fi
   4882 if test x$ac_prog_cc_stdc = xno
   4883 then :
   4884   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4885 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4886 if test ${ac_cv_prog_cc_c99+y}
   4887 then :
   4888   printf %s "(cached) " >&6
   4889 else case e in #(
   4890   e) ac_cv_prog_cc_c99=no
   4891 ac_save_CC=$CC
   4892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4893 /* end confdefs.h.  */
   4894 $ac_c_conftest_c99_program
   4895 _ACEOF
   4896 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4897 do
   4898   CC="$ac_save_CC $ac_arg"
   4899   if ac_fn_c_try_compile "$LINENO"
   4900 then :
   4901   ac_cv_prog_cc_c99=$ac_arg
   4902 fi
   4903 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4904   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4905 done
   4906 rm -f conftest.$ac_ext
   4907 CC=$ac_save_CC ;;
   4908 esac
   4909 fi
   4910 
   4911 if test "x$ac_cv_prog_cc_c99" = xno
   4912 then :
   4913   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4914 printf '%s\n' "unsupported" >&6; }
   4915 else case e in #(
   4916   e) if test "x$ac_cv_prog_cc_c99" = x
   4917 then :
   4918   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4919 printf '%s\n' "none needed" >&6; }
   4920 else case e in #(
   4921   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4922 printf '%s\n' "$ac_cv_prog_cc_c99" >&6; }
   4923      CC="$CC $ac_cv_prog_cc_c99" ;;
   4924 esac
   4925 fi
   4926   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4927   ac_prog_cc_stdc=c99 ;;
   4928 esac
   4929 fi
   4930 fi
   4931 if test x$ac_prog_cc_stdc = xno
   4932 then :
   4933   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4934 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4935 if test ${ac_cv_prog_cc_c89+y}
   4936 then :
   4937   printf %s "(cached) " >&6
   4938 else case e in #(
   4939   e) ac_cv_prog_cc_c89=no
   4940 ac_save_CC=$CC
   4941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4942 /* end confdefs.h.  */
   4943 $ac_c_conftest_c89_program
   4944 _ACEOF
   4945 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4946 do
   4947   CC="$ac_save_CC $ac_arg"
   4948   if ac_fn_c_try_compile "$LINENO"
   4949 then :
   4950   ac_cv_prog_cc_c89=$ac_arg
   4951 fi
   4952 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4953   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4954 done
   4955 rm -f conftest.$ac_ext
   4956 CC=$ac_save_CC ;;
   4957 esac
   4958 fi
   4959 
   4960 if test "x$ac_cv_prog_cc_c89" = xno
   4961 then :
   4962   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4963 printf '%s\n' "unsupported" >&6; }
   4964 else case e in #(
   4965   e) if test "x$ac_cv_prog_cc_c89" = x
   4966 then :
   4967   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4968 printf '%s\n' "none needed" >&6; }
   4969 else case e in #(
   4970   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4971 printf '%s\n' "$ac_cv_prog_cc_c89" >&6; }
   4972      CC="$CC $ac_cv_prog_cc_c89" ;;
   4973 esac
   4974 fi
   4975   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4976   ac_prog_cc_stdc=c89 ;;
   4977 esac
   4978 fi
   4979 fi
   4980 
   4981 ac_ext=c
   4982 ac_cpp='$CPP $CPPFLAGS'
   4983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4986 
   4987 
   4988   ac_ext=c
   4989 ac_cpp='$CPP $CPPFLAGS'
   4990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4993 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4994 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4995 if test ${am_cv_prog_cc_c_o+y}
   4996 then :
   4997   printf %s "(cached) " >&6
   4998 else case e in #(
   4999   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5000 /* end confdefs.h.  */
   5001 
   5002 int
   5003 main (void)
   5004 {
   5005 
   5006   ;
   5007   return 0;
   5008 }
   5009 _ACEOF
   5010   # Make sure it works both with $CC and with simple cc.
   5011   # Following AC_PROG_CC_C_O, we do the test twice because some
   5012   # compilers refuse to overwrite an existing .o file with -o,
   5013   # though they will create one.
   5014   am_cv_prog_cc_c_o=yes
   5015   for am_i in 1 2; do
   5016     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   5017    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   5018    ac_status=$?
   5019    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5020    (exit $ac_status); } \
   5021          && test -f conftest2.$ac_objext; then
   5022       : OK
   5023     else
   5024       am_cv_prog_cc_c_o=no
   5025       break
   5026     fi
   5027   done
   5028   # aligned with autoconf, so not including core; see bug#72225.
   5029   rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
   5030     conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
   5031     conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
   5032   unset am_i ;;
   5033 esac
   5034 fi
   5035 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   5036 printf '%s\n' "$am_cv_prog_cc_c_o" >&6; }
   5037 if test "$am_cv_prog_cc_c_o" != yes; then
   5038    # Losing compiler, so override with the script.
   5039    # FIXME: It is wrong to rewrite CC.
   5040    # But if we don't then we get into trouble of one sort or another.
   5041    # A longer-term fix would be to have automake use am__CC in this case,
   5042    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   5043    CC="$am_aux_dir/compile $CC"
   5044 fi
   5045 ac_ext=c
   5046 ac_cpp='$CPP $CPPFLAGS'
   5047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5050 
   5051 
   5052 depcc="$CC"   am_compiler_list=
   5053 
   5054 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   5055 printf %s "checking dependency style of $depcc... " >&6; }
   5056 if test ${am_cv_CC_dependencies_compiler_type+y}
   5057 then :
   5058   printf %s "(cached) " >&6
   5059 else case e in #(
   5060   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5061   # We make a subdir and do the tests there.  Otherwise we can end up
   5062   # making bogus files that we don't know about and never remove.  For
   5063   # instance it was reported that on HP-UX the gcc test will end up
   5064   # making a dummy file named 'D' -- because '-MD' means "put the output
   5065   # in D".
   5066   rm -rf conftest.dir
   5067   mkdir conftest.dir
   5068   # Copy depcomp to subdir because otherwise we won't find it if we're
   5069   # using a relative directory.
   5070   cp "$am_depcomp" conftest.dir
   5071   cd conftest.dir
   5072   # We will build objects and dependencies in a subdirectory because
   5073   # it helps to detect inapplicable dependency modes.  For instance
   5074   # both Tru64's cc and ICC support -MD to output dependencies as a
   5075   # side effect of compilation, but ICC will put the dependencies in
   5076   # the current directory while Tru64 will put them in the object
   5077   # directory.
   5078   mkdir sub
   5079 
   5080   am_cv_CC_dependencies_compiler_type=none
   5081   if test "$am_compiler_list" = ""; then
   5082      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5083   fi
   5084   am__universal=false
   5085   case " $depcc " in #(
   5086      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5087      esac
   5088 
   5089   for depmode in $am_compiler_list; do
   5090     # Setup a source with many dependencies, because some compilers
   5091     # like to wrap large dependency lists on column 80 (with \), and
   5092     # we should not choose a depcomp mode which is confused by this.
   5093     #
   5094     # We need to recreate these files for each test, as the compiler may
   5095     # overwrite some of them when testing with obscure command lines.
   5096     # This happens at least with the AIX C compiler.
   5097     : > sub/conftest.c
   5098     for i in 1 2 3 4 5 6; do
   5099       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5100       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   5101       # Solaris 10 /bin/sh.
   5102       echo '/* dummy */' > sub/conftst$i.h
   5103     done
   5104     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5105 
   5106     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   5107     # mode.  It turns out that the SunPro C++ compiler does not properly
   5108     # handle '-M -o', and we need to detect this.  Also, some Intel
   5109     # versions had trouble with output in subdirs.
   5110     am__obj=sub/conftest.${OBJEXT-o}
   5111     am__minus_obj="-o $am__obj"
   5112     case $depmode in
   5113     gcc)
   5114       # This depmode causes a compiler race in universal mode.
   5115       test "$am__universal" = false || continue
   5116       ;;
   5117     nosideeffect)
   5118       # After this tag, mechanisms are not by side-effect, so they'll
   5119       # only be used when explicitly requested.
   5120       if test "x$enable_dependency_tracking" = xyes; then
   5121 	continue
   5122       else
   5123 	break
   5124       fi
   5125       ;;
   5126     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   5127       # This compiler won't grok '-c -o', but also, the minuso test has
   5128       # not run yet.  These depmodes are late enough in the game, and
   5129       # so weak that their functioning should not be impacted.
   5130       am__obj=conftest.${OBJEXT-o}
   5131       am__minus_obj=
   5132       ;;
   5133     none) break ;;
   5134     esac
   5135     if depmode=$depmode \
   5136        source=sub/conftest.c object=$am__obj \
   5137        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5138        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5139          >/dev/null 2>conftest.err &&
   5140        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5141        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5142        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5143        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5144       # icc doesn't choke on unknown options, it will just issue warnings
   5145       # or remarks (even with -Werror).  So we grep stderr for any message
   5146       # that says an option was ignored or not supported.
   5147       # When given -MP, icc 7.0 and 7.1 complain thus:
   5148       #   icc: Command line warning: ignoring option '-M'; no argument required
   5149       # The diagnosis changed in icc 8.0:
   5150       #   icc: Command line remark: option '-MP' not supported
   5151       if (grep 'ignoring option' conftest.err ||
   5152           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5153         am_cv_CC_dependencies_compiler_type=$depmode
   5154         break
   5155       fi
   5156     fi
   5157   done
   5158 
   5159   cd ..
   5160   rm -rf conftest.dir
   5161 else
   5162   am_cv_CC_dependencies_compiler_type=none
   5163 fi
   5164  ;;
   5165 esac
   5166 fi
   5167 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   5168 printf '%s\n' "$am_cv_CC_dependencies_compiler_type" >&6; }
   5169 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   5170 
   5171  if
   5172   test "x$enable_dependency_tracking" != xno \
   5173   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   5174   am__fastdepCC_TRUE=
   5175   am__fastdepCC_FALSE='#'
   5176 else
   5177   am__fastdepCC_TRUE='#'
   5178   am__fastdepCC_FALSE=
   5179 fi
   5180 
   5181 
   5182 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5183 printf %s "checking for a sed that does not truncate output... " >&6; }
   5184 if test ${ac_cv_path_SED+y}
   5185 then :
   5186   printf %s "(cached) " >&6
   5187 else case e in #(
   5188   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5189      for ac_i in 1 2 3 4 5 6 7; do
   5190        ac_script="$ac_script$as_nl$ac_script"
   5191      done
   5192      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5193      { ac_script=; unset ac_script;}
   5194      if test -z "$SED"; then
   5195   ac_path_SED_found=false
   5196   # Loop through the user's path and test for each of PROGNAME-LIST
   5197   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5198 for as_dir in $PATH
   5199 do
   5200   IFS=$as_save_IFS
   5201   case $as_dir in #(((
   5202     '') as_dir=./ ;;
   5203     */) ;;
   5204     *) as_dir=$as_dir/ ;;
   5205   esac
   5206     for ac_prog in sed gsed
   5207    do
   5208     for ac_exec_ext in '' $ac_executable_extensions; do
   5209       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5210       as_fn_executable_p "$ac_path_SED" || continue
   5211 # Check for GNU ac_path_SED and select it if it is found.
   5212   # Check for GNU $ac_path_SED
   5213 case `"$ac_path_SED" --version 2>&1` in #(
   5214 *GNU*)
   5215   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5216 #(
   5217 *)
   5218   ac_count=0
   5219   printf %s 0123456789 >"conftest.in"
   5220   while :
   5221   do
   5222     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5223     mv "conftest.tmp" "conftest.in"
   5224     cp "conftest.in" "conftest.nl"
   5225     printf '%s\n' '' >> "conftest.nl"
   5226     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5227     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5228     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5229     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5230       # Best one so far, save it but keep looking for a better one
   5231       ac_cv_path_SED="$ac_path_SED"
   5232       ac_path_SED_max=$ac_count
   5233     fi
   5234     # 10*(2^10) chars as input seems more than enough
   5235     test $ac_count -gt 10 && break
   5236   done
   5237   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5238 esac
   5239 
   5240       $ac_path_SED_found && break 3
   5241     done
   5242   done
   5243   done
   5244 IFS=$as_save_IFS
   5245   if test -z "$ac_cv_path_SED"; then
   5246     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5247   fi
   5248 else
   5249   ac_cv_path_SED=$SED
   5250 fi
   5251  ;;
   5252 esac
   5253 fi
   5254 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5255 printf '%s\n' "$ac_cv_path_SED" >&6; }
   5256  SED="$ac_cv_path_SED"
   5257   rm -f conftest.sed
   5258 
   5259 test -z "$SED" && SED=sed
   5260 Xsed="$SED -e 1s/^X//"
   5261 
   5262 
   5263 
   5264 
   5265 
   5266 
   5267 
   5268 
   5269 
   5270 
   5271 
   5272 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   5273 printf %s "checking for grep that handles long lines and -e... " >&6; }
   5274 if test ${ac_cv_path_GREP+y}
   5275 then :
   5276   printf %s "(cached) " >&6
   5277 else case e in #(
   5278   e) if test -z "$GREP"; then
   5279   ac_path_GREP_found=false
   5280   # Loop through the user's path and test for each of PROGNAME-LIST
   5281   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5282 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5283 do
   5284   IFS=$as_save_IFS
   5285   case $as_dir in #(((
   5286     '') as_dir=./ ;;
   5287     */) ;;
   5288     *) as_dir=$as_dir/ ;;
   5289   esac
   5290     for ac_prog in grep ggrep
   5291    do
   5292     for ac_exec_ext in '' $ac_executable_extensions; do
   5293       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   5294       as_fn_executable_p "$ac_path_GREP" || continue
   5295 # Check for GNU ac_path_GREP and select it if it is found.
   5296   # Check for GNU $ac_path_GREP
   5297 case `"$ac_path_GREP" --version 2>&1` in #(
   5298 *GNU*)
   5299   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   5300 #(
   5301 *)
   5302   ac_count=0
   5303   printf %s 0123456789 >"conftest.in"
   5304   while :
   5305   do
   5306     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5307     mv "conftest.tmp" "conftest.in"
   5308     cp "conftest.in" "conftest.nl"
   5309     printf '%s\n' 'GREP' >> "conftest.nl"
   5310     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5311     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5312     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5313     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   5314       # Best one so far, save it but keep looking for a better one
   5315       ac_cv_path_GREP="$ac_path_GREP"
   5316       ac_path_GREP_max=$ac_count
   5317     fi
   5318     # 10*(2^10) chars as input seems more than enough
   5319     test $ac_count -gt 10 && break
   5320   done
   5321   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5322 esac
   5323 
   5324       $ac_path_GREP_found && break 3
   5325     done
   5326   done
   5327   done
   5328 IFS=$as_save_IFS
   5329   if test -z "$ac_cv_path_GREP"; then
   5330     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5331   fi
   5332 else
   5333   ac_cv_path_GREP=$GREP
   5334 fi
   5335  ;;
   5336 esac
   5337 fi
   5338 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   5339 printf '%s\n' "$ac_cv_path_GREP" >&6; }
   5340  GREP="$ac_cv_path_GREP"
   5341 
   5342 
   5343 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   5344 printf %s "checking for egrep... " >&6; }
   5345 if test ${ac_cv_path_EGREP+y}
   5346 then :
   5347   printf %s "(cached) " >&6
   5348 else case e in #(
   5349   e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   5350    then ac_cv_path_EGREP="$GREP -E"
   5351    else
   5352      if test -z "$EGREP"; then
   5353   ac_path_EGREP_found=false
   5354   # Loop through the user's path and test for each of PROGNAME-LIST
   5355   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5356 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5357 do
   5358   IFS=$as_save_IFS
   5359   case $as_dir in #(((
   5360     '') as_dir=./ ;;
   5361     */) ;;
   5362     *) as_dir=$as_dir/ ;;
   5363   esac
   5364     for ac_prog in egrep
   5365    do
   5366     for ac_exec_ext in '' $ac_executable_extensions; do
   5367       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   5368       as_fn_executable_p "$ac_path_EGREP" || continue
   5369 # Check for GNU ac_path_EGREP and select it if it is found.
   5370   # Check for GNU $ac_path_EGREP
   5371 case `"$ac_path_EGREP" --version 2>&1` in #(
   5372 *GNU*)
   5373   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   5374 #(
   5375 *)
   5376   ac_count=0
   5377   printf %s 0123456789 >"conftest.in"
   5378   while :
   5379   do
   5380     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5381     mv "conftest.tmp" "conftest.in"
   5382     cp "conftest.in" "conftest.nl"
   5383     printf '%s\n' 'EGREP' >> "conftest.nl"
   5384     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5385     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5386     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5387     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   5388       # Best one so far, save it but keep looking for a better one
   5389       ac_cv_path_EGREP="$ac_path_EGREP"
   5390       ac_path_EGREP_max=$ac_count
   5391     fi
   5392     # 10*(2^10) chars as input seems more than enough
   5393     test $ac_count -gt 10 && break
   5394   done
   5395   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5396 esac
   5397 
   5398       $ac_path_EGREP_found && break 3
   5399     done
   5400   done
   5401   done
   5402 IFS=$as_save_IFS
   5403   if test -z "$ac_cv_path_EGREP"; then
   5404     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5405   fi
   5406 else
   5407   ac_cv_path_EGREP=$EGREP
   5408 fi
   5409 
   5410    fi ;;
   5411 esac
   5412 fi
   5413 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   5414 printf '%s\n' "$ac_cv_path_EGREP" >&6; }
   5415  EGREP="$ac_cv_path_EGREP"
   5416 
   5417          EGREP_TRADITIONAL=$EGREP
   5418  ac_cv_path_EGREP_TRADITIONAL=$EGREP
   5419 
   5420 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5421 printf %s "checking for fgrep... " >&6; }
   5422 if test ${ac_cv_path_FGREP+y}
   5423 then :
   5424   printf %s "(cached) " >&6
   5425 else case e in #(
   5426   e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5427    then ac_cv_path_FGREP="$GREP -F"
   5428    else
   5429      if test -z "$FGREP"; then
   5430   ac_path_FGREP_found=false
   5431   # Loop through the user's path and test for each of PROGNAME-LIST
   5432   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5433 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5434 do
   5435   IFS=$as_save_IFS
   5436   case $as_dir in #(((
   5437     '') as_dir=./ ;;
   5438     */) ;;
   5439     *) as_dir=$as_dir/ ;;
   5440   esac
   5441     for ac_prog in fgrep
   5442    do
   5443     for ac_exec_ext in '' $ac_executable_extensions; do
   5444       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   5445       as_fn_executable_p "$ac_path_FGREP" || continue
   5446 # Check for GNU ac_path_FGREP and select it if it is found.
   5447   # Check for GNU $ac_path_FGREP
   5448 case `"$ac_path_FGREP" --version 2>&1` in #(
   5449 *GNU*)
   5450   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5451 #(
   5452 *)
   5453   ac_count=0
   5454   printf %s 0123456789 >"conftest.in"
   5455   while :
   5456   do
   5457     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5458     mv "conftest.tmp" "conftest.in"
   5459     cp "conftest.in" "conftest.nl"
   5460     printf '%s\n' 'FGREP' >> "conftest.nl"
   5461     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5462     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5463     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5464     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5465       # Best one so far, save it but keep looking for a better one
   5466       ac_cv_path_FGREP="$ac_path_FGREP"
   5467       ac_path_FGREP_max=$ac_count
   5468     fi
   5469     # 10*(2^10) chars as input seems more than enough
   5470     test $ac_count -gt 10 && break
   5471   done
   5472   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5473 esac
   5474 
   5475       $ac_path_FGREP_found && break 3
   5476     done
   5477   done
   5478   done
   5479 IFS=$as_save_IFS
   5480   if test -z "$ac_cv_path_FGREP"; then
   5481     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5482   fi
   5483 else
   5484   ac_cv_path_FGREP=$FGREP
   5485 fi
   5486 
   5487    fi ;;
   5488 esac
   5489 fi
   5490 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5491 printf '%s\n' "$ac_cv_path_FGREP" >&6; }
   5492  FGREP="$ac_cv_path_FGREP"
   5493 
   5494 
   5495 test -z "$GREP" && GREP=grep
   5496 
   5497 
   5498 
   5499 
   5500 
   5501 
   5502 
   5503 
   5504 
   5505 
   5506 
   5507 
   5508 
   5509 
   5510 
   5511 
   5512 
   5513 
   5514 
   5515 # Check whether --with-gnu-ld was given.
   5516 if test ${with_gnu_ld+y}
   5517 then :
   5518   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   5519 else case e in #(
   5520   e) with_gnu_ld=no ;;
   5521 esac
   5522 fi
   5523 
   5524 ac_prog=ld
   5525 if test yes = "$GCC"; then
   5526   # Check if gcc -print-prog-name=ld gives a path.
   5527   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5528 printf %s "checking for ld used by $CC... " >&6; }
   5529   case $host in
   5530   *-*-mingw* | *-*-windows*)
   5531     # gcc leaves a trailing carriage return, which upsets mingw
   5532     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5533   *)
   5534     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5535   esac
   5536   case $ac_prog in
   5537     # Accept absolute paths.
   5538     [\\/]* | ?:[\\/]*)
   5539       re_direlt='/[^/][^/]*/\.\./'
   5540       # Canonicalize the pathname of ld
   5541       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5542       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5543 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5544       done
   5545       test -z "$LD" && LD=$ac_prog
   5546       ;;
   5547   "")
   5548     # If it fails, then pretend we aren't using GCC.
   5549     ac_prog=ld
   5550     ;;
   5551   *)
   5552     # If it is relative, then search for the first ld in PATH.
   5553     with_gnu_ld=unknown
   5554     ;;
   5555   esac
   5556 elif test yes = "$with_gnu_ld"; then
   5557   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5558 printf %s "checking for GNU ld... " >&6; }
   5559 else
   5560   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5561 printf %s "checking for non-GNU ld... " >&6; }
   5562 fi
   5563 if test ${lt_cv_path_LD+y}
   5564 then :
   5565   printf %s "(cached) " >&6
   5566 else case e in #(
   5567   e) if test -z "$LD"; then
   5568   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5569   for ac_dir in $PATH; do
   5570     IFS=$lt_save_ifs
   5571     test -z "$ac_dir" && ac_dir=.
   5572     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5573       lt_cv_path_LD=$ac_dir/$ac_prog
   5574       # Check to see if the program is GNU ld.  I'd rather use --version,
   5575       # but apparently some variants of GNU ld only accept -v.
   5576       # Break only if it was the GNU/non-GNU ld that we prefer.
   5577       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5578       *GNU* | *'with BFD'*)
   5579 	test no != "$with_gnu_ld" && break
   5580 	;;
   5581       *)
   5582 	test yes != "$with_gnu_ld" && break
   5583 	;;
   5584       esac
   5585     fi
   5586   done
   5587   IFS=$lt_save_ifs
   5588 else
   5589   lt_cv_path_LD=$LD # Let the user override the test with a path.
   5590 fi ;;
   5591 esac
   5592 fi
   5593 
   5594 LD=$lt_cv_path_LD
   5595 if test -n "$LD"; then
   5596   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5597 printf '%s\n' "$LD" >&6; }
   5598 else
   5599   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5600 printf '%s\n' "no" >&6; }
   5601 fi
   5602 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5603 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5604 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   5605 if test ${lt_cv_prog_gnu_ld+y}
   5606 then :
   5607   printf %s "(cached) " >&6
   5608 else case e in #(
   5609   e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5610 case `$LD -v 2>&1 </dev/null` in
   5611 *GNU* | *'with BFD'*)
   5612   lt_cv_prog_gnu_ld=yes
   5613   ;;
   5614 *)
   5615   lt_cv_prog_gnu_ld=no
   5616   ;;
   5617 esac ;;
   5618 esac
   5619 fi
   5620 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5621 printf '%s\n' "$lt_cv_prog_gnu_ld" >&6; }
   5622 with_gnu_ld=$lt_cv_prog_gnu_ld
   5623 
   5624 
   5625 
   5626 
   5627 
   5628 
   5629 
   5630 
   5631 
   5632 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5633 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5634 if test ${lt_cv_path_NM+y}
   5635 then :
   5636   printf %s "(cached) " >&6
   5637 else case e in #(
   5638   e) if test -n "$NM"; then
   5639   # Let the user override the test.
   5640   lt_cv_path_NM=$NM
   5641 else
   5642   lt_nm_to_check=${ac_tool_prefix}nm
   5643   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5644     lt_nm_to_check="$lt_nm_to_check nm"
   5645   fi
   5646   for lt_tmp_nm in $lt_nm_to_check; do
   5647     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5648     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5649       IFS=$lt_save_ifs
   5650       test -z "$ac_dir" && ac_dir=.
   5651       tmp_nm=$ac_dir/$lt_tmp_nm
   5652       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   5653 	# Check to see if the nm accepts a BSD-compat flag.
   5654 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   5655 	#   nm: unknown option "B" ignored
   5656 	# Tru64's nm complains that /dev/null is an invalid object file
   5657 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   5658 	case $build_os in
   5659 	mingw* | windows*) lt_bad_file=conftest.nm/nofile ;;
   5660 	*) lt_bad_file=/dev/null ;;
   5661 	esac
   5662 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   5663 	*$lt_bad_file* | *'Invalid file or object type'*)
   5664 	  lt_cv_path_NM="$tmp_nm -B"
   5665 	  break 2
   5666 	  ;;
   5667 	*)
   5668 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   5669 	  */dev/null*)
   5670 	    lt_cv_path_NM="$tmp_nm -p"
   5671 	    break 2
   5672 	    ;;
   5673 	  *)
   5674 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5675 	    continue # so that we can try to find one that supports BSD flags
   5676 	    ;;
   5677 	  esac
   5678 	  ;;
   5679 	esac
   5680       fi
   5681     done
   5682     IFS=$lt_save_ifs
   5683   done
   5684   : ${lt_cv_path_NM=no}
   5685 fi ;;
   5686 esac
   5687 fi
   5688 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5689 printf '%s\n' "$lt_cv_path_NM" >&6; }
   5690 if test no != "$lt_cv_path_NM"; then
   5691   NM=$lt_cv_path_NM
   5692 else
   5693   # Didn't find any BSD compatible name lister, look for dumpbin.
   5694   if test -n "$DUMPBIN"; then :
   5695     # Let the user override the test.
   5696   else
   5697     if test -n "$ac_tool_prefix"; then
   5698   for ac_prog in dumpbin "link -dump"
   5699   do
   5700     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5701 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5702 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5703 printf %s "checking for $ac_word... " >&6; }
   5704 if test ${ac_cv_prog_DUMPBIN+y}
   5705 then :
   5706   printf %s "(cached) " >&6
   5707 else case e in #(
   5708   e) if test -n "$DUMPBIN"; then
   5709   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5710 else
   5711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5712 for as_dir in $PATH
   5713 do
   5714   IFS=$as_save_IFS
   5715   case $as_dir in #(((
   5716     '') as_dir=./ ;;
   5717     */) ;;
   5718     *) as_dir=$as_dir/ ;;
   5719   esac
   5720     for ac_exec_ext in '' $ac_executable_extensions; do
   5721   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5722     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5723     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5724     break 2
   5725   fi
   5726 done
   5727   done
   5728 IFS=$as_save_IFS
   5729 
   5730 fi ;;
   5731 esac
   5732 fi
   5733 DUMPBIN=$ac_cv_prog_DUMPBIN
   5734 if test -n "$DUMPBIN"; then
   5735   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5736 printf '%s\n' "$DUMPBIN" >&6; }
   5737 else
   5738   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5739 printf '%s\n' "no" >&6; }
   5740 fi
   5741 
   5742 
   5743     test -n "$DUMPBIN" && break
   5744   done
   5745 fi
   5746 if test -z "$DUMPBIN"; then
   5747   ac_ct_DUMPBIN=$DUMPBIN
   5748   for ac_prog in dumpbin "link -dump"
   5749 do
   5750   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5751 set dummy $ac_prog; ac_word=$2
   5752 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5753 printf %s "checking for $ac_word... " >&6; }
   5754 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   5755 then :
   5756   printf %s "(cached) " >&6
   5757 else case e in #(
   5758   e) if test -n "$ac_ct_DUMPBIN"; then
   5759   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5760 else
   5761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5762 for as_dir in $PATH
   5763 do
   5764   IFS=$as_save_IFS
   5765   case $as_dir in #(((
   5766     '') as_dir=./ ;;
   5767     */) ;;
   5768     *) as_dir=$as_dir/ ;;
   5769   esac
   5770     for ac_exec_ext in '' $ac_executable_extensions; do
   5771   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5772     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5773     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5774     break 2
   5775   fi
   5776 done
   5777   done
   5778 IFS=$as_save_IFS
   5779 
   5780 fi ;;
   5781 esac
   5782 fi
   5783 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5784 if test -n "$ac_ct_DUMPBIN"; then
   5785   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5786 printf '%s\n' "$ac_ct_DUMPBIN" >&6; }
   5787 else
   5788   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5789 printf '%s\n' "no" >&6; }
   5790 fi
   5791 
   5792 
   5793   test -n "$ac_ct_DUMPBIN" && break
   5794 done
   5795 
   5796   if test "x$ac_ct_DUMPBIN" = x; then
   5797     DUMPBIN=":"
   5798   else
   5799     case $cross_compiling:$ac_tool_warned in
   5800 yes:)
   5801 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5802 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5803 ac_tool_warned=yes ;;
   5804 esac
   5805     DUMPBIN=$ac_ct_DUMPBIN
   5806   fi
   5807 fi
   5808 
   5809     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   5810     *COFF*)
   5811       DUMPBIN="$DUMPBIN -symbols -headers"
   5812       ;;
   5813     *)
   5814       DUMPBIN=:
   5815       ;;
   5816     esac
   5817   fi
   5818 
   5819   if test : != "$DUMPBIN"; then
   5820     NM=$DUMPBIN
   5821   fi
   5822 fi
   5823 test -z "$NM" && NM=nm
   5824 
   5825 
   5826 
   5827 
   5828 
   5829 
   5830 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5831 printf %s "checking the name lister ($NM) interface... " >&6; }
   5832 if test ${lt_cv_nm_interface+y}
   5833 then :
   5834   printf %s "(cached) " >&6
   5835 else case e in #(
   5836   e) lt_cv_nm_interface="BSD nm"
   5837   echo "int some_variable = 0;" > conftest.$ac_ext
   5838   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5839   (eval "$ac_compile" 2>conftest.err)
   5840   cat conftest.err >&5
   5841   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5842   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5843   cat conftest.err >&5
   5844   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5845   cat conftest.out >&5
   5846   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5847     lt_cv_nm_interface="MS dumpbin"
   5848   fi
   5849   rm -f conftest* ;;
   5850 esac
   5851 fi
   5852 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5853 printf '%s\n' "$lt_cv_nm_interface" >&6; }
   5854 
   5855 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5856 printf %s "checking whether ln -s works... " >&6; }
   5857 LN_S=$as_ln_s
   5858 if test "$LN_S" = "ln -s"; then
   5859   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5860 printf '%s\n' "yes" >&6; }
   5861 else
   5862   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5863 printf '%s\n' "no, using $LN_S" >&6; }
   5864 fi
   5865 
   5866 # find the maximum length of command line arguments
   5867 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5868 printf %s "checking the maximum length of command line arguments... " >&6; }
   5869 if test ${lt_cv_sys_max_cmd_len+y}
   5870 then :
   5871   printf %s "(cached) " >&6
   5872 else case e in #(
   5873   e)   i=0
   5874   teststring=ABCD
   5875 
   5876   case $build_os in
   5877   msdosdjgpp*)
   5878     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5879     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5880     # during glob expansion).  Even if it were fixed, the result of this
   5881     # check would be larger than it should be.
   5882     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5883     ;;
   5884 
   5885   gnu* | ironclad*)
   5886     # Under GNU Hurd and Ironclad, this test is not required because there
   5887     # is no limit to the length of command line arguments.
   5888     # Libtool will interpret -1 as no limit whatsoever
   5889     lt_cv_sys_max_cmd_len=-1;
   5890     ;;
   5891 
   5892   cygwin* | mingw* | windows* | cegcc*)
   5893     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5894     # about 5 minutes as the teststring grows exponentially.
   5895     # Worse, since 9x/ME are not pre-emptively multitasking,
   5896     # you end up with a "frozen" computer, even though with patience
   5897     # the test eventually succeeds (with a max line length of 256k).
   5898     # Instead, let's just punt: use the minimum linelength reported by
   5899     # all of the supported platforms: 8192 (on NT/2K/XP).
   5900     lt_cv_sys_max_cmd_len=8192;
   5901     ;;
   5902 
   5903   mint*)
   5904     # On MiNT this can take a long time and run out of memory.
   5905     lt_cv_sys_max_cmd_len=8192;
   5906     ;;
   5907 
   5908   amigaos*)
   5909     # On AmigaOS with pdksh, this test takes hours, literally.
   5910     # So we just punt and use a minimum line length of 8192.
   5911     lt_cv_sys_max_cmd_len=8192;
   5912     ;;
   5913 
   5914   darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   5915     # This has been around since 386BSD, at least.  Likely further.
   5916     if test -x /sbin/sysctl; then
   5917       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5918     elif test -x /usr/sbin/sysctl; then
   5919       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5920     else
   5921       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5922     fi
   5923     # And add a safety zone
   5924     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5925     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5926     ;;
   5927 
   5928   interix*)
   5929     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5930     lt_cv_sys_max_cmd_len=196608
   5931     ;;
   5932 
   5933   os2*)
   5934     # The test takes a long time on OS/2.
   5935     lt_cv_sys_max_cmd_len=8192
   5936     ;;
   5937 
   5938   osf*)
   5939     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5940     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5941     # nice to cause kernel panics so lets avoid the loop below.
   5942     # First set a reasonable default.
   5943     lt_cv_sys_max_cmd_len=16384
   5944     #
   5945     if test -x /sbin/sysconfig; then
   5946       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5947         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5948       esac
   5949     fi
   5950     ;;
   5951   sco3.2v5*)
   5952     lt_cv_sys_max_cmd_len=102400
   5953     ;;
   5954   sysv5* | sco5v6* | sysv4.2uw2*)
   5955     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5956     if test -n "$kargmax"; then
   5957       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   5958     else
   5959       lt_cv_sys_max_cmd_len=32768
   5960     fi
   5961     ;;
   5962   *)
   5963     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5964     if test -n "$lt_cv_sys_max_cmd_len" && \
   5965        test undefined != "$lt_cv_sys_max_cmd_len"; then
   5966       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5967       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5968     else
   5969       # Make teststring a little bigger before we do anything with it.
   5970       # a 1K string should be a reasonable start.
   5971       for i in 1 2 3 4 5 6 7 8; do
   5972         teststring=$teststring$teststring
   5973       done
   5974       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5975       # If test is not a shell built-in, we'll probably end up computing a
   5976       # maximum length that is only half of the actual maximum length, but
   5977       # we can't tell.
   5978       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   5979 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5980 	      test 17 != "$i" # 1/2 MB should be enough
   5981       do
   5982         i=`expr $i + 1`
   5983         teststring=$teststring$teststring
   5984       done
   5985       # Only check the string length outside the loop.
   5986       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5987       teststring=
   5988       # Add a significant safety factor because C++ compilers can tack on
   5989       # massive amounts of additional arguments before passing them to the
   5990       # linker.  It appears as though 1/2 is a usable value.
   5991       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5992     fi
   5993     ;;
   5994   esac
   5995  ;;
   5996 esac
   5997 fi
   5998 
   5999 if test -n "$lt_cv_sys_max_cmd_len"; then
   6000   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   6001 printf '%s\n' "$lt_cv_sys_max_cmd_len" >&6; }
   6002 else
   6003   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: none" >&5
   6004 printf '%s\n' "none" >&6; }
   6005 fi
   6006 max_cmd_len=$lt_cv_sys_max_cmd_len
   6007 
   6008 
   6009 
   6010 
   6011 
   6012 
   6013 : ${CP="cp -f"}
   6014 : ${MV="mv -f"}
   6015 : ${RM="rm -f"}
   6016 
   6017 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   6018   lt_unset=unset
   6019 else
   6020   lt_unset=false
   6021 fi
   6022 
   6023 
   6024 
   6025 
   6026 
   6027 # test EBCDIC or ASCII
   6028 case `echo X|tr X '\101'` in
   6029  A) # ASCII based system
   6030     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   6031   lt_SP2NL='tr \040 \012'
   6032   lt_NL2SP='tr \015\012 \040\040'
   6033   ;;
   6034  *) # EBCDIC based system
   6035   lt_SP2NL='tr \100 \n'
   6036   lt_NL2SP='tr \r\n \100\100'
   6037   ;;
   6038 esac
   6039 
   6040 
   6041 
   6042 
   6043 
   6044 
   6045 
   6046 
   6047 
   6048 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   6049 printf %s "checking how to convert $build file names to $host format... " >&6; }
   6050 if test ${lt_cv_to_host_file_cmd+y}
   6051 then :
   6052   printf %s "(cached) " >&6
   6053 else case e in #(
   6054   e) case $host in
   6055   *-*-mingw* )
   6056     case $build in
   6057       *-*-mingw* | *-*-windows* ) # actually msys
   6058         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   6059         ;;
   6060       *-*-cygwin* )
   6061         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   6062         ;;
   6063       * ) # otherwise, assume *nix
   6064         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   6065         ;;
   6066     esac
   6067     ;;
   6068   *-*-cygwin* )
   6069     case $build in
   6070       *-*-mingw* | *-*-windows* ) # actually msys
   6071         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   6072         ;;
   6073       *-*-cygwin* )
   6074         lt_cv_to_host_file_cmd=func_convert_file_noop
   6075         ;;
   6076       * ) # otherwise, assume *nix
   6077         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   6078         ;;
   6079     esac
   6080     ;;
   6081   * ) # unhandled hosts (and "normal" native builds)
   6082     lt_cv_to_host_file_cmd=func_convert_file_noop
   6083     ;;
   6084 esac
   6085  ;;
   6086 esac
   6087 fi
   6088 
   6089 to_host_file_cmd=$lt_cv_to_host_file_cmd
   6090 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   6091 printf '%s\n' "$lt_cv_to_host_file_cmd" >&6; }
   6092 
   6093 
   6094 
   6095 
   6096 
   6097 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   6098 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   6099 if test ${lt_cv_to_tool_file_cmd+y}
   6100 then :
   6101   printf %s "(cached) " >&6
   6102 else case e in #(
   6103   e) #assume ordinary cross tools, or native build.
   6104 lt_cv_to_tool_file_cmd=func_convert_file_noop
   6105 case $host in
   6106   *-*-mingw* | *-*-windows* )
   6107     case $build in
   6108       *-*-mingw* | *-*-windows* ) # actually msys
   6109         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   6110         ;;
   6111     esac
   6112     ;;
   6113 esac
   6114  ;;
   6115 esac
   6116 fi
   6117 
   6118 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   6119 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   6120 printf '%s\n' "$lt_cv_to_tool_file_cmd" >&6; }
   6121 
   6122 
   6123 
   6124 
   6125 
   6126 case $host in #(
   6127   *-*-mingw* | *-*-windows* | *-*-cygwin*) :
   6128     case $build in #(
   6129   *-*-mingw* | *-*-windows* | *-*-cygwin*) :
   6130     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether cygpath is installed" >&5
   6131 printf %s "checking whether cygpath is installed... " >&6; }
   6132       if test ${lt_cv_cygpath_installed+y}
   6133 then :
   6134   printf %s "(cached) " >&6
   6135 else case e in #(
   6136   e) lt_cv_cygpath_installed=ignoring
   6137           cygpath --help &> /dev/null
   6138           _lt_result=$?
   6139           if test 0 = "$_lt_result"
   6140 then :
   6141   lt_cv_cygpath_installed=yes
   6142 else case e in #(
   6143   e) lt_cv_cygpath_installed=no ;;
   6144 esac
   6145 fi
   6146          ;;
   6147 esac
   6148 fi
   6149 
   6150       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cygpath_installed" >&5
   6151 printf '%s\n' "$lt_cv_cygpath_installed" >&6; }
   6152 
   6153 
   6154 
   6155 
   6156       if test "xyes" != "x$lt_cv_cygpath_installed"
   6157 then :
   6158 
   6159           { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to use cmd with one slash or two slashes" >&5
   6160 printf %s "checking whether to use cmd with one slash or two slashes... " >&6; }
   6161           if test ${lt_cv_cmd_slashes+y}
   6162 then :
   6163   printf %s "(cached) " >&6
   6164 else case e in #(
   6165   e)
   6166               _lt_result=`cmd /c echo one-slash works. Not checked //c echo two-slashes 2>/dev/null`
   6167               if test 0 != $?
   6168 then :
   6169   as_fn_error $? "Do not know how to convert paths" "$LINENO" 5
   6170 fi
   6171               case $_lt_result in #(
   6172   one-slash*) :
   6173     lt_cv_cmd_slashes="one" ;; #(
   6174   two-slashes*) :
   6175     lt_cv_cmd_slashes="two" ;; #(
   6176   *) :
   6177     as_fn_error $? "Do not know how to convert paths" "$LINENO" 5
   6178                ;;
   6179 esac
   6180              ;;
   6181 esac
   6182 fi
   6183 
   6184           { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cmd_slashes" >&5
   6185 printf '%s\n' "$lt_cv_cmd_slashes" >&6; }
   6186 
   6187 fi
   6188      ;; #(
   6189   *) :
   6190      ;;
   6191 esac
   6192 
   6193  ;; #(
   6194   *) :
   6195      ;;
   6196 esac
   6197 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   6198 printf %s "checking for $LD option to reload object files... " >&6; }
   6199 if test ${lt_cv_ld_reload_flag+y}
   6200 then :
   6201   printf %s "(cached) " >&6
   6202 else case e in #(
   6203   e) lt_cv_ld_reload_flag='-r' ;;
   6204 esac
   6205 fi
   6206 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   6207 printf '%s\n' "$lt_cv_ld_reload_flag" >&6; }
   6208 reload_flag=$lt_cv_ld_reload_flag
   6209 case $reload_flag in
   6210 "" | " "*) ;;
   6211 *) reload_flag=" $reload_flag" ;;
   6212 esac
   6213 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6214 case $host_os in
   6215   cygwin* | mingw* | windows* | pw32* | cegcc*)
   6216     if test yes != "$GCC"; then
   6217       reload_cmds=false
   6218     fi
   6219     ;;
   6220   darwin*)
   6221     if test yes = "$GCC"; then
   6222       reload_cmds='$LTCC $LTCFLAGS $stdlibflag $wl-r -o $output$reload_objs'
   6223     else
   6224       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6225     fi
   6226     ;;
   6227 esac
   6228 
   6229 
   6230 
   6231 
   6232 
   6233 
   6234 
   6235 
   6236 
   6237 # Extract the first word of "file", so it can be a program name with args.
   6238 set dummy file; ac_word=$2
   6239 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6240 printf %s "checking for $ac_word... " >&6; }
   6241 if test ${ac_cv_prog_FILECMD+y}
   6242 then :
   6243   printf %s "(cached) " >&6
   6244 else case e in #(
   6245   e) if test -n "$FILECMD"; then
   6246   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   6247 else
   6248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6249 for as_dir in $PATH
   6250 do
   6251   IFS=$as_save_IFS
   6252   case $as_dir in #(((
   6253     '') as_dir=./ ;;
   6254     */) ;;
   6255     *) as_dir=$as_dir/ ;;
   6256   esac
   6257     for ac_exec_ext in '' $ac_executable_extensions; do
   6258   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6259     ac_cv_prog_FILECMD="file"
   6260     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6261     break 2
   6262   fi
   6263 done
   6264   done
   6265 IFS=$as_save_IFS
   6266 
   6267   test -z "$ac_cv_prog_FILECMD" && ac_cv_prog_FILECMD=":"
   6268 fi ;;
   6269 esac
   6270 fi
   6271 FILECMD=$ac_cv_prog_FILECMD
   6272 if test -n "$FILECMD"; then
   6273   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   6274 printf '%s\n' "$FILECMD" >&6; }
   6275 else
   6276   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6277 printf '%s\n' "no" >&6; }
   6278 fi
   6279 
   6280 
   6281 
   6282 
   6283 
   6284 
   6285 
   6286 
   6287 if test -n "$ac_tool_prefix"; then
   6288   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6289 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6290 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6291 printf %s "checking for $ac_word... " >&6; }
   6292 if test ${ac_cv_prog_OBJDUMP+y}
   6293 then :
   6294   printf %s "(cached) " >&6
   6295 else case e in #(
   6296   e) if test -n "$OBJDUMP"; then
   6297   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6298 else
   6299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6300 for as_dir in $PATH
   6301 do
   6302   IFS=$as_save_IFS
   6303   case $as_dir in #(((
   6304     '') as_dir=./ ;;
   6305     */) ;;
   6306     *) as_dir=$as_dir/ ;;
   6307   esac
   6308     for ac_exec_ext in '' $ac_executable_extensions; do
   6309   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6310     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6311     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6312     break 2
   6313   fi
   6314 done
   6315   done
   6316 IFS=$as_save_IFS
   6317 
   6318 fi ;;
   6319 esac
   6320 fi
   6321 OBJDUMP=$ac_cv_prog_OBJDUMP
   6322 if test -n "$OBJDUMP"; then
   6323   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   6324 printf '%s\n' "$OBJDUMP" >&6; }
   6325 else
   6326   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6327 printf '%s\n' "no" >&6; }
   6328 fi
   6329 
   6330 
   6331 fi
   6332 if test -z "$ac_cv_prog_OBJDUMP"; then
   6333   ac_ct_OBJDUMP=$OBJDUMP
   6334   # Extract the first word of "objdump", so it can be a program name with args.
   6335 set dummy objdump; ac_word=$2
   6336 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6337 printf %s "checking for $ac_word... " >&6; }
   6338 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   6339 then :
   6340   printf %s "(cached) " >&6
   6341 else case e in #(
   6342   e) if test -n "$ac_ct_OBJDUMP"; then
   6343   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6344 else
   6345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6346 for as_dir in $PATH
   6347 do
   6348   IFS=$as_save_IFS
   6349   case $as_dir in #(((
   6350     '') as_dir=./ ;;
   6351     */) ;;
   6352     *) as_dir=$as_dir/ ;;
   6353   esac
   6354     for ac_exec_ext in '' $ac_executable_extensions; do
   6355   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6356     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6357     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6358     break 2
   6359   fi
   6360 done
   6361   done
   6362 IFS=$as_save_IFS
   6363 
   6364 fi ;;
   6365 esac
   6366 fi
   6367 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6368 if test -n "$ac_ct_OBJDUMP"; then
   6369   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6370 printf '%s\n' "$ac_ct_OBJDUMP" >&6; }
   6371 else
   6372   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6373 printf '%s\n' "no" >&6; }
   6374 fi
   6375 
   6376   if test "x$ac_ct_OBJDUMP" = x; then
   6377     OBJDUMP="false"
   6378   else
   6379     case $cross_compiling:$ac_tool_warned in
   6380 yes:)
   6381 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6382 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6383 ac_tool_warned=yes ;;
   6384 esac
   6385     OBJDUMP=$ac_ct_OBJDUMP
   6386   fi
   6387 else
   6388   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6389 fi
   6390 
   6391 test -z "$OBJDUMP" && OBJDUMP=objdump
   6392 
   6393 
   6394 
   6395 
   6396 
   6397 
   6398 
   6399 
   6400 
   6401 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6402 printf %s "checking how to recognize dependent libraries... " >&6; }
   6403 if test ${lt_cv_deplibs_check_method+y}
   6404 then :
   6405   printf %s "(cached) " >&6
   6406 else case e in #(
   6407   e) lt_cv_file_magic_cmd='$MAGIC_CMD'
   6408 lt_cv_file_magic_test_file=
   6409 lt_cv_deplibs_check_method='unknown'
   6410 # Need to set the preceding variable on all platforms that support
   6411 # interlibrary dependencies.
   6412 # 'none' -- dependencies not supported.
   6413 # 'unknown' -- same as none, but documents that we really don't know.
   6414 # 'pass_all' -- all dependencies passed with no checks.
   6415 # 'file_magic [[regex]]' -- check by looking for files in library path
   6416 # that responds to the $file_magic_cmd with a given extended regex.
   6417 # If you have 'file' or equivalent on your system and you're not sure
   6418 # whether 'pass_all' will *always* work, you probably want this one.
   6419 
   6420 case $host_os in
   6421 aix[4-9]*)
   6422   lt_cv_deplibs_check_method=pass_all
   6423   ;;
   6424 
   6425 beos*)
   6426   lt_cv_deplibs_check_method=pass_all
   6427   ;;
   6428 
   6429 bsdi[45]*)
   6430   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6431   lt_cv_file_magic_cmd='$FILECMD -L'
   6432   lt_cv_file_magic_test_file=/shlib/libc.so
   6433   ;;
   6434 
   6435 cygwin*)
   6436   # func_win32_libid is a shell function defined in ltmain.sh
   6437   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6438   lt_cv_file_magic_cmd='func_win32_libid'
   6439   ;;
   6440 
   6441 mingw* | windows* | pw32*)
   6442   # Base MSYS/MinGW do not provide the 'file' command needed by
   6443   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6444   # unless we find 'file', for example because we are cross-compiling.
   6445   if ( file / ) >/dev/null 2>&1; then
   6446     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6447     lt_cv_file_magic_cmd='func_win32_libid'
   6448   else
   6449     # Keep this pattern in sync with the one in func_win32_libid.
   6450     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|pe-aarch64)'
   6451     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6452   fi
   6453   ;;
   6454 
   6455 cegcc*)
   6456   # use the weaker test based on 'objdump'. See mingw*.
   6457   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6458   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6459   ;;
   6460 
   6461 darwin* | rhapsody*)
   6462   lt_cv_deplibs_check_method=pass_all
   6463   ;;
   6464 
   6465 freebsd* | dragonfly* | midnightbsd*)
   6466   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6467     case $host_cpu in
   6468     i*86 )
   6469       # Not sure whether the presence of OpenBSD here was a mistake.
   6470       # Let's accept both of them until this is cleared up.
   6471       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6472       lt_cv_file_magic_cmd=$FILECMD
   6473       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6474       ;;
   6475     esac
   6476   else
   6477     lt_cv_deplibs_check_method=pass_all
   6478   fi
   6479   ;;
   6480 
   6481 haiku*)
   6482   lt_cv_deplibs_check_method=pass_all
   6483   ;;
   6484 
   6485 hpux10.20* | hpux11*)
   6486   lt_cv_file_magic_cmd=$FILECMD
   6487   case $host_cpu in
   6488   ia64*)
   6489     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6490     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6491     ;;
   6492   hppa*64*)
   6493     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]'
   6494     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6495     ;;
   6496   *)
   6497     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6498     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6499     ;;
   6500   esac
   6501   ;;
   6502 
   6503 interix[3-9]*)
   6504   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6505   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6506   ;;
   6507 
   6508 irix5* | irix6* | nonstopux*)
   6509   case $LD in
   6510   *-32|*"-32 ") libmagic=32-bit;;
   6511   *-n32|*"-n32 ") libmagic=N32;;
   6512   *-64|*"-64 ") libmagic=64-bit;;
   6513   *) libmagic=never-match;;
   6514   esac
   6515   lt_cv_deplibs_check_method=pass_all
   6516   ;;
   6517 
   6518 *-mlibc)
   6519   lt_cv_deplibs_check_method=pass_all
   6520   ;;
   6521 
   6522 # This must be glibc/ELF.
   6523 linux* | ironclad*-gnu | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   6524   lt_cv_deplibs_check_method=pass_all
   6525   ;;
   6526 
   6527 netbsd* | netbsdelf*-gnu)
   6528   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6529     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6530   else
   6531     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6532   fi
   6533   ;;
   6534 
   6535 newos6*)
   6536   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6537   lt_cv_file_magic_cmd=$FILECMD
   6538   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6539   ;;
   6540 
   6541 *nto* | *qnx*)
   6542   lt_cv_deplibs_check_method=pass_all
   6543   ;;
   6544 
   6545 openbsd*)
   6546   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   6547     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6548   else
   6549     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6550   fi
   6551   ;;
   6552 
   6553 osf3* | osf4* | osf5*)
   6554   lt_cv_deplibs_check_method=pass_all
   6555   ;;
   6556 
   6557 rdos*)
   6558   lt_cv_deplibs_check_method=pass_all
   6559   ;;
   6560 
   6561 serenity*)
   6562   lt_cv_deplibs_check_method=pass_all
   6563   ;;
   6564 
   6565 solaris*)
   6566   lt_cv_deplibs_check_method=pass_all
   6567   ;;
   6568 
   6569 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6570   lt_cv_deplibs_check_method=pass_all
   6571   ;;
   6572 
   6573 sysv4 | sysv4.3*)
   6574   case $host_vendor in
   6575   motorola)
   6576     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]'
   6577     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6578     ;;
   6579   ncr)
   6580     lt_cv_deplibs_check_method=pass_all
   6581     ;;
   6582   sequent)
   6583     lt_cv_file_magic_cmd='/bin/file'
   6584     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6585     ;;
   6586   sni)
   6587     lt_cv_file_magic_cmd='/bin/file'
   6588     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6589     lt_cv_file_magic_test_file=/lib/libc.so
   6590     ;;
   6591   siemens)
   6592     lt_cv_deplibs_check_method=pass_all
   6593     ;;
   6594   pc)
   6595     lt_cv_deplibs_check_method=pass_all
   6596     ;;
   6597   esac
   6598   ;;
   6599 
   6600 tpf*)
   6601   lt_cv_deplibs_check_method=pass_all
   6602   ;;
   6603 os2*)
   6604   lt_cv_deplibs_check_method=pass_all
   6605   ;;
   6606 esac
   6607  ;;
   6608 esac
   6609 fi
   6610 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6611 printf '%s\n' "$lt_cv_deplibs_check_method" >&6; }
   6612 
   6613 file_magic_glob=
   6614 want_nocaseglob=no
   6615 if test "$build" = "$host"; then
   6616   case $host_os in
   6617   mingw* | windows* | pw32*)
   6618     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6619       want_nocaseglob=yes
   6620     else
   6621       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6622     fi
   6623     ;;
   6624   esac
   6625 fi
   6626 
   6627 file_magic_cmd=$lt_cv_file_magic_cmd
   6628 deplibs_check_method=$lt_cv_deplibs_check_method
   6629 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6630 
   6631 
   6632 
   6633 
   6634 
   6635 
   6636 
   6637 
   6638 
   6639 
   6640 
   6641 
   6642 
   6643 
   6644 
   6645 
   6646 
   6647 
   6648 
   6649 
   6650 
   6651 
   6652 if test -n "$ac_tool_prefix"; then
   6653   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6654 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6655 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6656 printf %s "checking for $ac_word... " >&6; }
   6657 if test ${ac_cv_prog_DLLTOOL+y}
   6658 then :
   6659   printf %s "(cached) " >&6
   6660 else case e in #(
   6661   e) if test -n "$DLLTOOL"; then
   6662   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6663 else
   6664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6665 for as_dir in $PATH
   6666 do
   6667   IFS=$as_save_IFS
   6668   case $as_dir in #(((
   6669     '') as_dir=./ ;;
   6670     */) ;;
   6671     *) as_dir=$as_dir/ ;;
   6672   esac
   6673     for ac_exec_ext in '' $ac_executable_extensions; do
   6674   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6675     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6676     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6677     break 2
   6678   fi
   6679 done
   6680   done
   6681 IFS=$as_save_IFS
   6682 
   6683 fi ;;
   6684 esac
   6685 fi
   6686 DLLTOOL=$ac_cv_prog_DLLTOOL
   6687 if test -n "$DLLTOOL"; then
   6688   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6689 printf '%s\n' "$DLLTOOL" >&6; }
   6690 else
   6691   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6692 printf '%s\n' "no" >&6; }
   6693 fi
   6694 
   6695 
   6696 fi
   6697 if test -z "$ac_cv_prog_DLLTOOL"; then
   6698   ac_ct_DLLTOOL=$DLLTOOL
   6699   # Extract the first word of "dlltool", so it can be a program name with args.
   6700 set dummy dlltool; ac_word=$2
   6701 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6702 printf %s "checking for $ac_word... " >&6; }
   6703 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   6704 then :
   6705   printf %s "(cached) " >&6
   6706 else case e in #(
   6707   e) if test -n "$ac_ct_DLLTOOL"; then
   6708   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6709 else
   6710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6711 for as_dir in $PATH
   6712 do
   6713   IFS=$as_save_IFS
   6714   case $as_dir in #(((
   6715     '') as_dir=./ ;;
   6716     */) ;;
   6717     *) as_dir=$as_dir/ ;;
   6718   esac
   6719     for ac_exec_ext in '' $ac_executable_extensions; do
   6720   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6721     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6722     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6723     break 2
   6724   fi
   6725 done
   6726   done
   6727 IFS=$as_save_IFS
   6728 
   6729 fi ;;
   6730 esac
   6731 fi
   6732 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6733 if test -n "$ac_ct_DLLTOOL"; then
   6734   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6735 printf '%s\n' "$ac_ct_DLLTOOL" >&6; }
   6736 else
   6737   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6738 printf '%s\n' "no" >&6; }
   6739 fi
   6740 
   6741   if test "x$ac_ct_DLLTOOL" = x; then
   6742     DLLTOOL="false"
   6743   else
   6744     case $cross_compiling:$ac_tool_warned in
   6745 yes:)
   6746 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6747 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6748 ac_tool_warned=yes ;;
   6749 esac
   6750     DLLTOOL=$ac_ct_DLLTOOL
   6751   fi
   6752 else
   6753   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6754 fi
   6755 
   6756 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6757 
   6758 
   6759 
   6760 
   6761 
   6762 
   6763 
   6764 
   6765 
   6766 
   6767 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6768 printf %s "checking how to associate runtime and link libraries... " >&6; }
   6769 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   6770 then :
   6771   printf %s "(cached) " >&6
   6772 else case e in #(
   6773   e) lt_cv_sharedlib_from_linklib_cmd='unknown'
   6774 
   6775 case $host_os in
   6776 cygwin* | mingw* | windows* | pw32* | cegcc*)
   6777   # two different shell functions defined in ltmain.sh;
   6778   # decide which one to use based on capabilities of $DLLTOOL
   6779   case `$DLLTOOL --help 2>&1` in
   6780   *--identify-strict*)
   6781     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6782     ;;
   6783   *)
   6784     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6785     ;;
   6786   esac
   6787   ;;
   6788 *)
   6789   # fallback: assume linklib IS sharedlib
   6790   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   6791   ;;
   6792 esac
   6793  ;;
   6794 esac
   6795 fi
   6796 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6797 printf '%s\n' "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6798 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6799 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6800 
   6801 
   6802 
   6803 
   6804 
   6805 
   6806 
   6807 
   6808 if test -n "$ac_tool_prefix"; then
   6809   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6810 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6811 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6812 printf %s "checking for $ac_word... " >&6; }
   6813 if test ${ac_cv_prog_RANLIB+y}
   6814 then :
   6815   printf %s "(cached) " >&6
   6816 else case e in #(
   6817   e) if test -n "$RANLIB"; then
   6818   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6819 else
   6820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6821 for as_dir in $PATH
   6822 do
   6823   IFS=$as_save_IFS
   6824   case $as_dir in #(((
   6825     '') as_dir=./ ;;
   6826     */) ;;
   6827     *) as_dir=$as_dir/ ;;
   6828   esac
   6829     for ac_exec_ext in '' $ac_executable_extensions; do
   6830   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6831     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6832     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6833     break 2
   6834   fi
   6835 done
   6836   done
   6837 IFS=$as_save_IFS
   6838 
   6839 fi ;;
   6840 esac
   6841 fi
   6842 RANLIB=$ac_cv_prog_RANLIB
   6843 if test -n "$RANLIB"; then
   6844   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6845 printf '%s\n' "$RANLIB" >&6; }
   6846 else
   6847   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6848 printf '%s\n' "no" >&6; }
   6849 fi
   6850 
   6851 
   6852 fi
   6853 if test -z "$ac_cv_prog_RANLIB"; then
   6854   ac_ct_RANLIB=$RANLIB
   6855   # Extract the first word of "ranlib", so it can be a program name with args.
   6856 set dummy ranlib; ac_word=$2
   6857 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6858 printf %s "checking for $ac_word... " >&6; }
   6859 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   6860 then :
   6861   printf %s "(cached) " >&6
   6862 else case e in #(
   6863   e) if test -n "$ac_ct_RANLIB"; then
   6864   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6865 else
   6866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6867 for as_dir in $PATH
   6868 do
   6869   IFS=$as_save_IFS
   6870   case $as_dir in #(((
   6871     '') as_dir=./ ;;
   6872     */) ;;
   6873     *) as_dir=$as_dir/ ;;
   6874   esac
   6875     for ac_exec_ext in '' $ac_executable_extensions; do
   6876   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6877     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6878     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6879     break 2
   6880   fi
   6881 done
   6882   done
   6883 IFS=$as_save_IFS
   6884 
   6885 fi ;;
   6886 esac
   6887 fi
   6888 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6889 if test -n "$ac_ct_RANLIB"; then
   6890   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6891 printf '%s\n' "$ac_ct_RANLIB" >&6; }
   6892 else
   6893   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6894 printf '%s\n' "no" >&6; }
   6895 fi
   6896 
   6897   if test "x$ac_ct_RANLIB" = x; then
   6898     RANLIB=":"
   6899   else
   6900     case $cross_compiling:$ac_tool_warned in
   6901 yes:)
   6902 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6903 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6904 ac_tool_warned=yes ;;
   6905 esac
   6906     RANLIB=$ac_ct_RANLIB
   6907   fi
   6908 else
   6909   RANLIB="$ac_cv_prog_RANLIB"
   6910 fi
   6911 
   6912 if test -n "$ac_tool_prefix"; then
   6913   for ac_prog in ar
   6914   do
   6915     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6916 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6917 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6918 printf %s "checking for $ac_word... " >&6; }
   6919 if test ${ac_cv_prog_AR+y}
   6920 then :
   6921   printf %s "(cached) " >&6
   6922 else case e in #(
   6923   e) if test -n "$AR"; then
   6924   ac_cv_prog_AR="$AR" # Let the user override the test.
   6925 else
   6926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6927 for as_dir in $PATH
   6928 do
   6929   IFS=$as_save_IFS
   6930   case $as_dir in #(((
   6931     '') as_dir=./ ;;
   6932     */) ;;
   6933     *) as_dir=$as_dir/ ;;
   6934   esac
   6935     for ac_exec_ext in '' $ac_executable_extensions; do
   6936   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6937     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6938     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6939     break 2
   6940   fi
   6941 done
   6942   done
   6943 IFS=$as_save_IFS
   6944 
   6945 fi ;;
   6946 esac
   6947 fi
   6948 AR=$ac_cv_prog_AR
   6949 if test -n "$AR"; then
   6950   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6951 printf '%s\n' "$AR" >&6; }
   6952 else
   6953   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6954 printf '%s\n' "no" >&6; }
   6955 fi
   6956 
   6957 
   6958     test -n "$AR" && break
   6959   done
   6960 fi
   6961 if test -z "$AR"; then
   6962   ac_ct_AR=$AR
   6963   for ac_prog in ar
   6964 do
   6965   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6966 set dummy $ac_prog; ac_word=$2
   6967 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6968 printf %s "checking for $ac_word... " >&6; }
   6969 if test ${ac_cv_prog_ac_ct_AR+y}
   6970 then :
   6971   printf %s "(cached) " >&6
   6972 else case e in #(
   6973   e) if test -n "$ac_ct_AR"; then
   6974   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6975 else
   6976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6977 for as_dir in $PATH
   6978 do
   6979   IFS=$as_save_IFS
   6980   case $as_dir in #(((
   6981     '') as_dir=./ ;;
   6982     */) ;;
   6983     *) as_dir=$as_dir/ ;;
   6984   esac
   6985     for ac_exec_ext in '' $ac_executable_extensions; do
   6986   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6987     ac_cv_prog_ac_ct_AR="$ac_prog"
   6988     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6989     break 2
   6990   fi
   6991 done
   6992   done
   6993 IFS=$as_save_IFS
   6994 
   6995 fi ;;
   6996 esac
   6997 fi
   6998 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6999 if test -n "$ac_ct_AR"; then
   7000   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   7001 printf '%s\n' "$ac_ct_AR" >&6; }
   7002 else
   7003   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7004 printf '%s\n' "no" >&6; }
   7005 fi
   7006 
   7007 
   7008   test -n "$ac_ct_AR" && break
   7009 done
   7010 
   7011   if test "x$ac_ct_AR" = x; then
   7012     AR="false"
   7013   else
   7014     case $cross_compiling:$ac_tool_warned in
   7015 yes:)
   7016 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7017 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7018 ac_tool_warned=yes ;;
   7019 esac
   7020     AR=$ac_ct_AR
   7021   fi
   7022 fi
   7023 
   7024 : ${AR=ar}
   7025 
   7026 
   7027 
   7028 
   7029 
   7030 
   7031 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   7032 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   7033 # higher priority because that's what people were doing historically (setting
   7034 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   7035 # variable obsoleted/removed.
   7036 
   7037 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   7038 lt_ar_flags=$AR_FLAGS
   7039 
   7040 
   7041 
   7042 
   7043 
   7044 
   7045 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   7046 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   7047 
   7048 
   7049 
   7050 
   7051 
   7052 
   7053 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   7054 printf %s "checking for archiver @FILE support... " >&6; }
   7055 if test ${lt_cv_ar_at_file+y}
   7056 then :
   7057   printf %s "(cached) " >&6
   7058 else case e in #(
   7059   e) lt_cv_ar_at_file=no
   7060    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7061 /* end confdefs.h.  */
   7062 
   7063 int
   7064 main (void)
   7065 {
   7066 
   7067   ;
   7068   return 0;
   7069 }
   7070 _ACEOF
   7071 if ac_fn_c_try_compile "$LINENO"
   7072 then :
   7073   echo conftest.$ac_objext > conftest.lst
   7074       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   7075       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   7076   (eval $lt_ar_try) 2>&5
   7077   ac_status=$?
   7078   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7079   test $ac_status = 0; }
   7080       if test 0 -eq "$ac_status"; then
   7081 	# Ensure the archiver fails upon bogus file names.
   7082 	rm -f conftest.$ac_objext libconftest.a
   7083 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   7084   (eval $lt_ar_try) 2>&5
   7085   ac_status=$?
   7086   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7087   test $ac_status = 0; }
   7088 	if test 0 -ne "$ac_status"; then
   7089           lt_cv_ar_at_file=@
   7090         fi
   7091       fi
   7092       rm -f conftest.* libconftest.a
   7093 
   7094 fi
   7095 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7096    ;;
   7097 esac
   7098 fi
   7099 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   7100 printf '%s\n' "$lt_cv_ar_at_file" >&6; }
   7101 
   7102 if test no = "$lt_cv_ar_at_file"; then
   7103   archiver_list_spec=
   7104 else
   7105   archiver_list_spec=$lt_cv_ar_at_file
   7106 fi
   7107 
   7108 
   7109 
   7110 
   7111 
   7112 
   7113 
   7114 if test -n "$ac_tool_prefix"; then
   7115   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   7116 set dummy ${ac_tool_prefix}strip; ac_word=$2
   7117 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7118 printf %s "checking for $ac_word... " >&6; }
   7119 if test ${ac_cv_prog_STRIP+y}
   7120 then :
   7121   printf %s "(cached) " >&6
   7122 else case e in #(
   7123   e) if test -n "$STRIP"; then
   7124   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   7125 else
   7126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7127 for as_dir in $PATH
   7128 do
   7129   IFS=$as_save_IFS
   7130   case $as_dir in #(((
   7131     '') as_dir=./ ;;
   7132     */) ;;
   7133     *) as_dir=$as_dir/ ;;
   7134   esac
   7135     for ac_exec_ext in '' $ac_executable_extensions; do
   7136   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7137     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7138     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7139     break 2
   7140   fi
   7141 done
   7142   done
   7143 IFS=$as_save_IFS
   7144 
   7145 fi ;;
   7146 esac
   7147 fi
   7148 STRIP=$ac_cv_prog_STRIP
   7149 if test -n "$STRIP"; then
   7150   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   7151 printf '%s\n' "$STRIP" >&6; }
   7152 else
   7153   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7154 printf '%s\n' "no" >&6; }
   7155 fi
   7156 
   7157 
   7158 fi
   7159 if test -z "$ac_cv_prog_STRIP"; then
   7160   ac_ct_STRIP=$STRIP
   7161   # Extract the first word of "strip", so it can be a program name with args.
   7162 set dummy strip; ac_word=$2
   7163 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7164 printf %s "checking for $ac_word... " >&6; }
   7165 if test ${ac_cv_prog_ac_ct_STRIP+y}
   7166 then :
   7167   printf %s "(cached) " >&6
   7168 else case e in #(
   7169   e) if test -n "$ac_ct_STRIP"; then
   7170   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7171 else
   7172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7173 for as_dir in $PATH
   7174 do
   7175   IFS=$as_save_IFS
   7176   case $as_dir in #(((
   7177     '') as_dir=./ ;;
   7178     */) ;;
   7179     *) as_dir=$as_dir/ ;;
   7180   esac
   7181     for ac_exec_ext in '' $ac_executable_extensions; do
   7182   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7183     ac_cv_prog_ac_ct_STRIP="strip"
   7184     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7185     break 2
   7186   fi
   7187 done
   7188   done
   7189 IFS=$as_save_IFS
   7190 
   7191 fi ;;
   7192 esac
   7193 fi
   7194 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7195 if test -n "$ac_ct_STRIP"; then
   7196   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   7197 printf '%s\n' "$ac_ct_STRIP" >&6; }
   7198 else
   7199   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7200 printf '%s\n' "no" >&6; }
   7201 fi
   7202 
   7203   if test "x$ac_ct_STRIP" = x; then
   7204     STRIP=":"
   7205   else
   7206     case $cross_compiling:$ac_tool_warned in
   7207 yes:)
   7208 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7209 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7210 ac_tool_warned=yes ;;
   7211 esac
   7212     STRIP=$ac_ct_STRIP
   7213   fi
   7214 else
   7215   STRIP="$ac_cv_prog_STRIP"
   7216 fi
   7217 
   7218 test -z "$STRIP" && STRIP=:
   7219 
   7220 
   7221 
   7222 
   7223 
   7224 
   7225 
   7226 test -z "$RANLIB" && RANLIB=:
   7227 
   7228 
   7229 
   7230 
   7231 
   7232 
   7233 # Determine commands to create old-style static archives.
   7234 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7235 old_postinstall_cmds='chmod 644 $oldlib'
   7236 old_postuninstall_cmds=
   7237 
   7238 if test -n "$RANLIB"; then
   7239   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   7240   old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   7241 fi
   7242 
   7243 case $host_os in
   7244   darwin*)
   7245     lock_old_archive_extraction=yes ;;
   7246   *)
   7247     lock_old_archive_extraction=no ;;
   7248 esac
   7249 
   7250 
   7251 
   7252 
   7253 
   7254 
   7255 
   7256 
   7257 
   7258 
   7259 
   7260 
   7261 
   7262 
   7263 
   7264 
   7265 
   7266 
   7267 
   7268 
   7269 
   7270 
   7271 
   7272 
   7273 
   7274 
   7275 
   7276 
   7277 
   7278 
   7279 
   7280 
   7281 
   7282 
   7283 
   7284 
   7285 
   7286 
   7287 
   7288 # If no C compiler was specified, use CC.
   7289 LTCC=${LTCC-"$CC"}
   7290 
   7291 # If no C compiler flags were specified, use CFLAGS.
   7292 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7293 
   7294 # Allow CC to be a program name with arguments.
   7295 compiler=$CC
   7296 
   7297 
   7298 # Check for command to grab the raw symbol name followed by C symbol from nm.
   7299 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   7300 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   7301 if test ${lt_cv_sys_global_symbol_pipe+y}
   7302 then :
   7303   printf %s "(cached) " >&6
   7304 else case e in #(
   7305   e)
   7306 # These are sane defaults that work on at least a few old systems.
   7307 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   7308 
   7309 # Character class describing NM global symbol codes.
   7310 symcode='[BCDEGRST]'
   7311 
   7312 # Regexp to match symbols that can be accessed directly from C.
   7313 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   7314 
   7315 # Define system-specific variables.
   7316 case $host_os in
   7317 aix*)
   7318   symcode='[BCDT]'
   7319   ;;
   7320 cygwin* | mingw* | windows* | pw32* | cegcc*)
   7321   symcode='[ABCDGISTW]'
   7322   ;;
   7323 hpux*)
   7324   if test ia64 = "$host_cpu"; then
   7325     symcode='[ABCDEGRST]'
   7326   fi
   7327   ;;
   7328 irix* | nonstopux*)
   7329   symcode='[BCDEGRST]'
   7330   ;;
   7331 osf*)
   7332   symcode='[BCDEGQRST]'
   7333   ;;
   7334 solaris*)
   7335   symcode='[BCDRT]'
   7336   ;;
   7337 sco3.2v5*)
   7338   symcode='[DT]'
   7339   ;;
   7340 sysv4.2uw2*)
   7341   symcode='[DT]'
   7342   ;;
   7343 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   7344   symcode='[ABDT]'
   7345   ;;
   7346 sysv4)
   7347   symcode='[DFNSTU]'
   7348   ;;
   7349 esac
   7350 
   7351 # If we're using GNU nm, then use its standard symbol codes.
   7352 case `$NM -V 2>&1` in
   7353 *GNU* | *'with BFD'*)
   7354   symcode='[ABCDGIRSTW]' ;;
   7355 esac
   7356 
   7357 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7358   # Gets list of data symbols to import.
   7359   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \([a-zA-Z_][a-zA-Z0-9_]*\)$/\1/p'"
   7360   # Adjust the below global symbol transforms to fixup imported variables.
   7361   lt_cdecl_hook=" -e 's/^I .* \([a-zA-Z_][a-zA-Z0-9_]*\)$/extern __declspec(dllimport) char \1;/p'"
   7362   lt_c_name_hook=" -e 's/^I .* \([a-zA-Z_][a-zA-Z0-9_]*\)$/  {\"\1\", (void *) 0},/p'"
   7363   lt_c_name_lib_hook="\
   7364   -e 's/^I .* \(lib[a-zA-Z_][a-zA-Z0-9_]*\)$/  {\"\1\", (void *) 0},/p'\
   7365   -e 's/^I .* \([a-zA-Z_][a-zA-Z0-9_]*\)$/  {\"lib\1\", (void *) 0},/p'"
   7366 else
   7367   # Disable hooks by default.
   7368   lt_cv_sys_global_symbol_to_import=
   7369   lt_cdecl_hook=
   7370   lt_c_name_hook=
   7371   lt_c_name_lib_hook=
   7372 fi
   7373 
   7374 # Transform an extracted symbol line into a proper C declaration.
   7375 # Some systems (esp. on ia64) link data and code symbols differently,
   7376 # so use this general approach.
   7377 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   7378 $lt_cdecl_hook\
   7379 " -e 's/^T .* \([a-zA-Z_][a-zA-Z0-9_]*\)$/extern int \1();/p'"\
   7380 " -e 's/^$symcode$symcode* .* \([a-zA-Z_][a-zA-Z0-9_]*\)$/extern char \1;/p'"
   7381 
   7382 # Transform an extracted symbol line into symbol name and symbol address
   7383 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   7384 $lt_c_name_hook\
   7385 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7386 " -e 's/^$symcode$symcode* .* \([a-zA-Z_][a-zA-Z0-9_]*\)$/  {\"\1\", (void *) \&\1},/p'"
   7387 
   7388 # Transform an extracted symbol line into symbol name with lib prefix and
   7389 # symbol address.
   7390 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   7391 $lt_c_name_lib_hook\
   7392 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7393 " -e 's/^$symcode$symcode* .* \(lib[a-zA-Z_][a-zA-Z0-9_]*\)$/  {\"\1\", (void *) \&\1},/p'"\
   7394 " -e 's/^$symcode$symcode* .* \([a-zA-Z_][a-zA-Z0-9_]*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   7395 
   7396 # Handle CRLF in mingw tool chain
   7397 opt_cr=
   7398 case $build_os in
   7399 mingw* | windows*)
   7400   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7401   ;;
   7402 esac
   7403 
   7404 # Try without a prefix underscore, then with it.
   7405 for ac_symprfx in "" "_"; do
   7406 
   7407   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7408   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7409 
   7410   # Write the raw and C identifiers.
   7411   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7412     # Fake it for dumpbin and say T for any non-static function,
   7413     # D for any global variable and I for any imported variable.
   7414     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   7415     # which start with @ or ?.  And Cygwin gawk-4.1.4-3 and newer
   7416     # treats input as binary, have to drop carriage return first.
   7417     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7418 "     {sub(/\\r\$/,\"\")};"\
   7419 "     {last_section=section; section=\$ 3};"\
   7420 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   7421 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7422 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   7423 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   7424 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   7425 "     \$ 0!~/External *\|/{next};"\
   7426 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7427 "     {if(hide[section]) next};"\
   7428 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   7429 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   7430 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   7431 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   7432 "     ' prfx=^$ac_symprfx"
   7433   else
   7434     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7435   fi
   7436   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   7437 
   7438   # Check to see that the pipe works correctly.
   7439   pipe_works=no
   7440 
   7441   rm -f conftest*
   7442   cat > conftest.$ac_ext <<_LT_EOF
   7443 #ifdef __cplusplus
   7444 extern "C" {
   7445 #endif
   7446 char nm_test_var;
   7447 void nm_test_func(void);
   7448 void nm_test_func(void){}
   7449 #ifdef __cplusplus
   7450 }
   7451 #endif
   7452 int main(void){nm_test_var='a';nm_test_func();return(0);}
   7453 _LT_EOF
   7454 
   7455   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7456   (eval $ac_compile) 2>&5
   7457   ac_status=$?
   7458   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7459   test $ac_status = 0; }; then
   7460     # Now try to grab the symbols.
   7461     nlist=conftest.nm
   7462     $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
   7463     if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
   7464       # Try sorting and uniquifying the output.
   7465       if sort "$nlist" | uniq > "$nlist"T; then
   7466 	mv -f "$nlist"T "$nlist"
   7467       else
   7468 	rm -f "$nlist"T
   7469       fi
   7470 
   7471       # Make sure that we snagged all the symbols we need.
   7472       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7473 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7474 	  cat <<_LT_EOF > conftest.$ac_ext
   7475 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   7476 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   7477 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   7478    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   7479 # define LT_DLSYM_CONST
   7480 #elif defined __osf__
   7481 /* This system does not cope well with relocations in const data.  */
   7482 # define LT_DLSYM_CONST
   7483 #else
   7484 # define LT_DLSYM_CONST const
   7485 #endif
   7486 
   7487 #ifdef __cplusplus
   7488 extern "C" {
   7489 #endif
   7490 
   7491 _LT_EOF
   7492 	  # Now generate the symbol file.
   7493 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7494 
   7495 	  cat <<_LT_EOF >> conftest.$ac_ext
   7496 
   7497 /* The mapping between symbol names and symbols.  */
   7498 LT_DLSYM_CONST struct {
   7499   const char *name;
   7500   void       *address;
   7501 }
   7502 lt__PROGRAM__LTX_preloaded_symbols[] =
   7503 {
   7504   { "@PROGRAM@", (void *) 0 },
   7505 _LT_EOF
   7506 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7507 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7508   {0, (void *) 0}
   7509 };
   7510 
   7511 /* This works around a problem in FreeBSD linker */
   7512 #ifdef FREEBSD_WORKAROUND
   7513 static const void *lt_preloaded_setup() {
   7514   return lt__PROGRAM__LTX_preloaded_symbols;
   7515 }
   7516 #endif
   7517 
   7518 #ifdef __cplusplus
   7519 }
   7520 #endif
   7521 _LT_EOF
   7522 	  # Now try linking the two files.
   7523 	  mv conftest.$ac_objext conftstm.$ac_objext
   7524 	  lt_globsym_save_LIBS=$LIBS
   7525 	  lt_globsym_save_CFLAGS=$CFLAGS
   7526 	  LIBS=conftstm.$ac_objext
   7527 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7528 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7529   (eval $ac_link) 2>&5
   7530   ac_status=$?
   7531   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7532   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   7533 	    pipe_works=yes
   7534 	  fi
   7535 	  LIBS=$lt_globsym_save_LIBS
   7536 	  CFLAGS=$lt_globsym_save_CFLAGS
   7537 	else
   7538 	  echo "cannot find nm_test_func in $nlist" >&5
   7539 	fi
   7540       else
   7541 	echo "cannot find nm_test_var in $nlist" >&5
   7542       fi
   7543     else
   7544       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7545     fi
   7546   else
   7547     echo "$progname: failed program was:" >&5
   7548     cat conftest.$ac_ext >&5
   7549   fi
   7550   rm -rf conftest* conftst*
   7551 
   7552   # Do not use the global_symbol_pipe unless it works.
   7553   if test yes = "$pipe_works"; then
   7554     break
   7555   else
   7556     lt_cv_sys_global_symbol_pipe=
   7557   fi
   7558 done
   7559  ;;
   7560 esac
   7561 fi
   7562 
   7563 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7564   lt_cv_sys_global_symbol_to_cdecl=
   7565 fi
   7566 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7567   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7568 printf '%s\n' "failed" >&6; }
   7569 else
   7570   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7571 printf '%s\n' "ok" >&6; }
   7572 fi
   7573 
   7574 # Response file support.
   7575 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7576   nm_file_list_spec='@'
   7577 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7578   nm_file_list_spec='@'
   7579 fi
   7580 
   7581 
   7582 
   7583 
   7584 
   7585 
   7586 
   7587 
   7588 
   7589 
   7590 
   7591 
   7592 
   7593 
   7594 
   7595 
   7596 
   7597 
   7598 
   7599 
   7600 
   7601 
   7602 
   7603 
   7604 
   7605 
   7606 
   7607 
   7608 
   7609 
   7610 
   7611 
   7612 
   7613 
   7614 
   7615 
   7616 
   7617 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7618 printf %s "checking for sysroot... " >&6; }
   7619 
   7620 # Check whether --with-sysroot was given.
   7621 if test ${with_sysroot+y}
   7622 then :
   7623   withval=$with_sysroot;
   7624 else case e in #(
   7625   e) with_sysroot=no ;;
   7626 esac
   7627 fi
   7628 
   7629 
   7630 lt_sysroot=
   7631 case $with_sysroot in #(
   7632  yes)
   7633    if test yes = "$GCC"; then
   7634      # Trim trailing / since we'll always append absolute paths and we want
   7635      # to avoid //, if only for less confusing output for the user.
   7636      lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'`
   7637    fi
   7638    ;; #(
   7639  /*)
   7640    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   7641    ;; #(
   7642  no|'')
   7643    ;; #(
   7644  *)
   7645    { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   7646 printf '%s\n' "$with_sysroot" >&6; }
   7647    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7648    ;;
   7649 esac
   7650 
   7651  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7652 printf '%s\n' "${lt_sysroot:-no}" >&6; }
   7653 
   7654 
   7655 
   7656 
   7657 
   7658 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   7659 printf %s "checking for a working dd... " >&6; }
   7660 if test ${ac_cv_path_lt_DD+y}
   7661 then :
   7662   printf %s "(cached) " >&6
   7663 else case e in #(
   7664   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   7665 cat conftest.i conftest.i >conftest2.i
   7666 : ${lt_DD:=$DD}
   7667 if test -z "$lt_DD"; then
   7668   ac_path_lt_DD_found=false
   7669   # Loop through the user's path and test for each of PROGNAME-LIST
   7670   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7671 for as_dir in $PATH
   7672 do
   7673   IFS=$as_save_IFS
   7674   case $as_dir in #(((
   7675     '') as_dir=./ ;;
   7676     */) ;;
   7677     *) as_dir=$as_dir/ ;;
   7678   esac
   7679     for ac_prog in dd
   7680    do
   7681     for ac_exec_ext in '' $ac_executable_extensions; do
   7682       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   7683       as_fn_executable_p "$ac_path_lt_DD" || continue
   7684 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7685   cmp -s conftest.i conftest.out \
   7686   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   7687 fi
   7688       $ac_path_lt_DD_found && break 3
   7689     done
   7690   done
   7691   done
   7692 IFS=$as_save_IFS
   7693   if test -z "$ac_cv_path_lt_DD"; then
   7694     :
   7695   fi
   7696 else
   7697   ac_cv_path_lt_DD=$lt_DD
   7698 fi
   7699 
   7700 rm -f conftest.i conftest2.i conftest.out ;;
   7701 esac
   7702 fi
   7703 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   7704 printf '%s\n' "$ac_cv_path_lt_DD" >&6; }
   7705 
   7706 
   7707 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   7708 printf %s "checking how to truncate binary pipes... " >&6; }
   7709 if test ${lt_cv_truncate_bin+y}
   7710 then :
   7711   printf %s "(cached) " >&6
   7712 else case e in #(
   7713   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   7714 cat conftest.i conftest.i >conftest2.i
   7715 lt_cv_truncate_bin=
   7716 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7717   cmp -s conftest.i conftest.out \
   7718   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   7719 fi
   7720 rm -f conftest.i conftest2.i conftest.out
   7721 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;;
   7722 esac
   7723 fi
   7724 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   7725 printf '%s\n' "$lt_cv_truncate_bin" >&6; }
   7726 
   7727 
   7728 
   7729 
   7730 
   7731 
   7732 
   7733 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   7734 func_cc_basename ()
   7735 {
   7736     for cc_temp in $*""; do
   7737       case $cc_temp in
   7738         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7739         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7740         \-*) ;;
   7741         *) break;;
   7742       esac
   7743     done
   7744     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7745 }
   7746 
   7747 # Check whether --enable-libtool-lock was given.
   7748 if test ${enable_libtool_lock+y}
   7749 then :
   7750   enableval=$enable_libtool_lock;
   7751 fi
   7752 
   7753 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   7754 
   7755 # Some flags need to be propagated to the compiler or linker for good
   7756 # libtool support.
   7757 case $host in
   7758 ia64-*-hpux*)
   7759   # Find out what ABI is being produced by ac_compile, and set mode
   7760   # options accordingly.
   7761   echo 'int i;' > conftest.$ac_ext
   7762   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7763   (eval $ac_compile) 2>&5
   7764   ac_status=$?
   7765   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7766   test $ac_status = 0; }; then
   7767     case `$FILECMD conftest.$ac_objext` in
   7768       *ELF-32*)
   7769 	HPUX_IA64_MODE=32
   7770 	;;
   7771       *ELF-64*)
   7772 	HPUX_IA64_MODE=64
   7773 	;;
   7774     esac
   7775   fi
   7776   rm -rf conftest*
   7777   ;;
   7778 *-*-irix6*)
   7779   # Find out what ABI is being produced by ac_compile, and set linker
   7780   # options accordingly.
   7781   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7782   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7783   (eval $ac_compile) 2>&5
   7784   ac_status=$?
   7785   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7786   test $ac_status = 0; }; then
   7787     if test yes = "$lt_cv_prog_gnu_ld"; then
   7788       case `$FILECMD conftest.$ac_objext` in
   7789 	*32-bit*)
   7790 	  LD="${LD-ld} -melf32bsmip"
   7791 	  ;;
   7792 	*N32*)
   7793 	  LD="${LD-ld} -melf32bmipn32"
   7794 	  ;;
   7795 	*64-bit*)
   7796 	  LD="${LD-ld} -melf64bmip"
   7797 	;;
   7798       esac
   7799     else
   7800       case `$FILECMD conftest.$ac_objext` in
   7801 	*32-bit*)
   7802 	  LD="${LD-ld} -32"
   7803 	  ;;
   7804 	*N32*)
   7805 	  LD="${LD-ld} -n32"
   7806 	  ;;
   7807 	*64-bit*)
   7808 	  LD="${LD-ld} -64"
   7809 	  ;;
   7810       esac
   7811     fi
   7812   fi
   7813   rm -rf conftest*
   7814   ;;
   7815 
   7816 mips64*-*linux*)
   7817   # Find out what ABI is being produced by ac_compile, and set linker
   7818   # options accordingly.
   7819   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7820   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7821   (eval $ac_compile) 2>&5
   7822   ac_status=$?
   7823   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7824   test $ac_status = 0; }; then
   7825     emul=elf
   7826     case `$FILECMD conftest.$ac_objext` in
   7827       *32-bit*)
   7828 	emul="${emul}32"
   7829 	;;
   7830       *64-bit*)
   7831 	emul="${emul}64"
   7832 	;;
   7833     esac
   7834     case `$FILECMD conftest.$ac_objext` in
   7835       *MSB*)
   7836 	emul="${emul}btsmip"
   7837 	;;
   7838       *LSB*)
   7839 	emul="${emul}ltsmip"
   7840 	;;
   7841     esac
   7842     case `$FILECMD conftest.$ac_objext` in
   7843       *N32*)
   7844 	emul="${emul}n32"
   7845 	;;
   7846     esac
   7847     LD="${LD-ld} -m $emul"
   7848   fi
   7849   rm -rf conftest*
   7850   ;;
   7851 
   7852 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7853 s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*)
   7854   # Find out what ABI is being produced by ac_compile, and set linker
   7855   # options accordingly.  Note that the listed cases only cover the
   7856   # situations where additional linker options are needed (such as when
   7857   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   7858   # vice versa); the common cases where no linker options are needed do
   7859   # not appear in the list.
   7860   echo 'int i;' > conftest.$ac_ext
   7861   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7862   (eval $ac_compile) 2>&5
   7863   ac_status=$?
   7864   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7865   test $ac_status = 0; }; then
   7866     case `$FILECMD conftest.o` in
   7867       *32-bit*)
   7868 	case $host in
   7869 	  x86_64-*kfreebsd*-gnu)
   7870 	    LD="${LD-ld} -m elf_i386_fbsd"
   7871 	    ;;
   7872 	  x86_64-*linux*|x86_64-gnu*)
   7873 	    case `$FILECMD conftest.o` in
   7874 	      *x86-64*)
   7875 		LD="${LD-ld} -m elf32_x86_64"
   7876 		;;
   7877 	      *)
   7878 		LD="${LD-ld} -m elf_i386"
   7879 		;;
   7880 	    esac
   7881 	    ;;
   7882 	  powerpc64le-*linux*)
   7883 	    LD="${LD-ld} -m elf32lppclinux"
   7884 	    ;;
   7885 	  powerpc64-*linux*)
   7886 	    LD="${LD-ld} -m elf32ppclinux"
   7887 	    ;;
   7888 	  s390x-*linux*)
   7889 	    LD="${LD-ld} -m elf_s390"
   7890 	    ;;
   7891 	  sparc64-*linux*)
   7892 	    LD="${LD-ld} -m elf32_sparc"
   7893 	    ;;
   7894 	esac
   7895 	;;
   7896       *64-bit*)
   7897 	case $host in
   7898 	  x86_64-*kfreebsd*-gnu)
   7899 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7900 	    ;;
   7901 	  x86_64-*linux*|x86_64-gnu*)
   7902 	    LD="${LD-ld} -m elf_x86_64"
   7903 	    ;;
   7904 	  powerpcle-*linux*)
   7905 	    LD="${LD-ld} -m elf64lppc"
   7906 	    ;;
   7907 	  powerpc-*linux*)
   7908 	    LD="${LD-ld} -m elf64ppc"
   7909 	    ;;
   7910 	  s390*-*linux*|s390*-*tpf*)
   7911 	    LD="${LD-ld} -m elf64_s390"
   7912 	    ;;
   7913 	  sparc*-*linux*)
   7914 	    LD="${LD-ld} -m elf64_sparc"
   7915 	    ;;
   7916 	esac
   7917 	;;
   7918     esac
   7919   fi
   7920   rm -rf conftest*
   7921   ;;
   7922 
   7923 *-*-sco3.2v5*)
   7924   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7925   SAVE_CFLAGS=$CFLAGS
   7926   CFLAGS="$CFLAGS -belf"
   7927   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7928 printf %s "checking whether the C compiler needs -belf... " >&6; }
   7929 if test ${lt_cv_cc_needs_belf+y}
   7930 then :
   7931   printf %s "(cached) " >&6
   7932 else case e in #(
   7933   e) ac_ext=c
   7934 ac_cpp='$CPP $CPPFLAGS'
   7935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7938 
   7939      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7940 /* end confdefs.h.  */
   7941 
   7942 int
   7943 main (void)
   7944 {
   7945 
   7946   ;
   7947   return 0;
   7948 }
   7949 _ACEOF
   7950 if ac_fn_c_try_link "$LINENO"
   7951 then :
   7952   lt_cv_cc_needs_belf=yes
   7953 else case e in #(
   7954   e) lt_cv_cc_needs_belf=no ;;
   7955 esac
   7956 fi
   7957 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7958     conftest$ac_exeext conftest.$ac_ext
   7959      ac_ext=c
   7960 ac_cpp='$CPP $CPPFLAGS'
   7961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7964  ;;
   7965 esac
   7966 fi
   7967 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7968 printf '%s\n' "$lt_cv_cc_needs_belf" >&6; }
   7969   if test yes != "$lt_cv_cc_needs_belf"; then
   7970     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7971     CFLAGS=$SAVE_CFLAGS
   7972   fi
   7973   ;;
   7974 *-*solaris*)
   7975   # Find out what ABI is being produced by ac_compile, and set linker
   7976   # options accordingly.
   7977   echo 'int i;' > conftest.$ac_ext
   7978   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7979   (eval $ac_compile) 2>&5
   7980   ac_status=$?
   7981   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7982   test $ac_status = 0; }; then
   7983     case `$FILECMD conftest.o` in
   7984     *64-bit*)
   7985       case $lt_cv_prog_gnu_ld in
   7986       yes*)
   7987         case $host in
   7988         i?86-*-solaris*|x86_64-*-solaris*)
   7989           LD="${LD-ld} -m elf_x86_64"
   7990           ;;
   7991         sparc*-*-solaris*)
   7992           LD="${LD-ld} -m elf64_sparc"
   7993           ;;
   7994         esac
   7995         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7996         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7997           LD=${LD-ld}_sol2
   7998         fi
   7999         ;;
   8000       *)
   8001 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   8002 	  LD="${LD-ld} -64"
   8003 	fi
   8004 	;;
   8005       esac
   8006       ;;
   8007     esac
   8008   fi
   8009   rm -rf conftest*
   8010   ;;
   8011 esac
   8012 
   8013 need_locks=$enable_libtool_lock
   8014 
   8015 if test -n "$ac_tool_prefix"; then
   8016   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   8017 set dummy ${ac_tool_prefix}mt; ac_word=$2
   8018 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8019 printf %s "checking for $ac_word... " >&6; }
   8020 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   8021 then :
   8022   printf %s "(cached) " >&6
   8023 else case e in #(
   8024   e) if test -n "$MANIFEST_TOOL"; then
   8025   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   8026 else
   8027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8028 for as_dir in $PATH
   8029 do
   8030   IFS=$as_save_IFS
   8031   case $as_dir in #(((
   8032     '') as_dir=./ ;;
   8033     */) ;;
   8034     *) as_dir=$as_dir/ ;;
   8035   esac
   8036     for ac_exec_ext in '' $ac_executable_extensions; do
   8037   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8038     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   8039     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8040     break 2
   8041   fi
   8042 done
   8043   done
   8044 IFS=$as_save_IFS
   8045 
   8046 fi ;;
   8047 esac
   8048 fi
   8049 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   8050 if test -n "$MANIFEST_TOOL"; then
   8051   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   8052 printf '%s\n' "$MANIFEST_TOOL" >&6; }
   8053 else
   8054   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8055 printf '%s\n' "no" >&6; }
   8056 fi
   8057 
   8058 
   8059 fi
   8060 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   8061   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   8062   # Extract the first word of "mt", so it can be a program name with args.
   8063 set dummy mt; ac_word=$2
   8064 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8065 printf %s "checking for $ac_word... " >&6; }
   8066 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   8067 then :
   8068   printf %s "(cached) " >&6
   8069 else case e in #(
   8070   e) if test -n "$ac_ct_MANIFEST_TOOL"; then
   8071   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   8072 else
   8073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8074 for as_dir in $PATH
   8075 do
   8076   IFS=$as_save_IFS
   8077   case $as_dir in #(((
   8078     '') as_dir=./ ;;
   8079     */) ;;
   8080     *) as_dir=$as_dir/ ;;
   8081   esac
   8082     for ac_exec_ext in '' $ac_executable_extensions; do
   8083   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8084     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   8085     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8086     break 2
   8087   fi
   8088 done
   8089   done
   8090 IFS=$as_save_IFS
   8091 
   8092 fi ;;
   8093 esac
   8094 fi
   8095 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   8096 if test -n "$ac_ct_MANIFEST_TOOL"; then
   8097   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   8098 printf '%s\n' "$ac_ct_MANIFEST_TOOL" >&6; }
   8099 else
   8100   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8101 printf '%s\n' "no" >&6; }
   8102 fi
   8103 
   8104   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   8105     MANIFEST_TOOL=":"
   8106   else
   8107     case $cross_compiling:$ac_tool_warned in
   8108 yes:)
   8109 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8110 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8111 ac_tool_warned=yes ;;
   8112 esac
   8113     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   8114   fi
   8115 else
   8116   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   8117 fi
   8118 
   8119 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   8120 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   8121 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   8122 if test ${lt_cv_path_manifest_tool+y}
   8123 then :
   8124   printf %s "(cached) " >&6
   8125 else case e in #(
   8126   e) lt_cv_path_manifest_tool=no
   8127   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   8128   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   8129   cat conftest.err >&5
   8130   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   8131     lt_cv_path_manifest_tool=yes
   8132   fi
   8133   rm -f conftest* ;;
   8134 esac
   8135 fi
   8136 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_manifest_tool" >&5
   8137 printf '%s\n' "$lt_cv_path_manifest_tool" >&6; }
   8138 if test yes != "$lt_cv_path_manifest_tool"; then
   8139   MANIFEST_TOOL=:
   8140 fi
   8141 
   8142 
   8143 
   8144 
   8145 
   8146 
   8147   case $host_os in
   8148     rhapsody* | darwin*)
   8149     if test -n "$ac_tool_prefix"; then
   8150   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   8151 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   8152 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8153 printf %s "checking for $ac_word... " >&6; }
   8154 if test ${ac_cv_prog_DSYMUTIL+y}
   8155 then :
   8156   printf %s "(cached) " >&6
   8157 else case e in #(
   8158   e) if test -n "$DSYMUTIL"; then
   8159   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   8160 else
   8161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8162 for as_dir in $PATH
   8163 do
   8164   IFS=$as_save_IFS
   8165   case $as_dir in #(((
   8166     '') as_dir=./ ;;
   8167     */) ;;
   8168     *) as_dir=$as_dir/ ;;
   8169   esac
   8170     for ac_exec_ext in '' $ac_executable_extensions; do
   8171   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8172     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   8173     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8174     break 2
   8175   fi
   8176 done
   8177   done
   8178 IFS=$as_save_IFS
   8179 
   8180 fi ;;
   8181 esac
   8182 fi
   8183 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   8184 if test -n "$DSYMUTIL"; then
   8185   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   8186 printf '%s\n' "$DSYMUTIL" >&6; }
   8187 else
   8188   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8189 printf '%s\n' "no" >&6; }
   8190 fi
   8191 
   8192 
   8193 fi
   8194 if test -z "$ac_cv_prog_DSYMUTIL"; then
   8195   ac_ct_DSYMUTIL=$DSYMUTIL
   8196   # Extract the first word of "dsymutil", so it can be a program name with args.
   8197 set dummy dsymutil; ac_word=$2
   8198 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8199 printf %s "checking for $ac_word... " >&6; }
   8200 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   8201 then :
   8202   printf %s "(cached) " >&6
   8203 else case e in #(
   8204   e) if test -n "$ac_ct_DSYMUTIL"; then
   8205   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   8206 else
   8207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8208 for as_dir in $PATH
   8209 do
   8210   IFS=$as_save_IFS
   8211   case $as_dir in #(((
   8212     '') as_dir=./ ;;
   8213     */) ;;
   8214     *) as_dir=$as_dir/ ;;
   8215   esac
   8216     for ac_exec_ext in '' $ac_executable_extensions; do
   8217   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8218     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   8219     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8220     break 2
   8221   fi
   8222 done
   8223   done
   8224 IFS=$as_save_IFS
   8225 
   8226 fi ;;
   8227 esac
   8228 fi
   8229 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   8230 if test -n "$ac_ct_DSYMUTIL"; then
   8231   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   8232 printf '%s\n' "$ac_ct_DSYMUTIL" >&6; }
   8233 else
   8234   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8235 printf '%s\n' "no" >&6; }
   8236 fi
   8237 
   8238   if test "x$ac_ct_DSYMUTIL" = x; then
   8239     DSYMUTIL=":"
   8240   else
   8241     case $cross_compiling:$ac_tool_warned in
   8242 yes:)
   8243 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8244 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8245 ac_tool_warned=yes ;;
   8246 esac
   8247     DSYMUTIL=$ac_ct_DSYMUTIL
   8248   fi
   8249 else
   8250   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   8251 fi
   8252 
   8253     if test -n "$ac_tool_prefix"; then
   8254   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   8255 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   8256 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8257 printf %s "checking for $ac_word... " >&6; }
   8258 if test ${ac_cv_prog_NMEDIT+y}
   8259 then :
   8260   printf %s "(cached) " >&6
   8261 else case e in #(
   8262   e) if test -n "$NMEDIT"; then
   8263   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   8264 else
   8265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8266 for as_dir in $PATH
   8267 do
   8268   IFS=$as_save_IFS
   8269   case $as_dir in #(((
   8270     '') as_dir=./ ;;
   8271     */) ;;
   8272     *) as_dir=$as_dir/ ;;
   8273   esac
   8274     for ac_exec_ext in '' $ac_executable_extensions; do
   8275   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8276     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   8277     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8278     break 2
   8279   fi
   8280 done
   8281   done
   8282 IFS=$as_save_IFS
   8283 
   8284 fi ;;
   8285 esac
   8286 fi
   8287 NMEDIT=$ac_cv_prog_NMEDIT
   8288 if test -n "$NMEDIT"; then
   8289   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   8290 printf '%s\n' "$NMEDIT" >&6; }
   8291 else
   8292   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8293 printf '%s\n' "no" >&6; }
   8294 fi
   8295 
   8296 
   8297 fi
   8298 if test -z "$ac_cv_prog_NMEDIT"; then
   8299   ac_ct_NMEDIT=$NMEDIT
   8300   # Extract the first word of "nmedit", so it can be a program name with args.
   8301 set dummy nmedit; ac_word=$2
   8302 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8303 printf %s "checking for $ac_word... " >&6; }
   8304 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   8305 then :
   8306   printf %s "(cached) " >&6
   8307 else case e in #(
   8308   e) if test -n "$ac_ct_NMEDIT"; then
   8309   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   8310 else
   8311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8312 for as_dir in $PATH
   8313 do
   8314   IFS=$as_save_IFS
   8315   case $as_dir in #(((
   8316     '') as_dir=./ ;;
   8317     */) ;;
   8318     *) as_dir=$as_dir/ ;;
   8319   esac
   8320     for ac_exec_ext in '' $ac_executable_extensions; do
   8321   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8322     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   8323     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8324     break 2
   8325   fi
   8326 done
   8327   done
   8328 IFS=$as_save_IFS
   8329 
   8330 fi ;;
   8331 esac
   8332 fi
   8333 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   8334 if test -n "$ac_ct_NMEDIT"; then
   8335   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   8336 printf '%s\n' "$ac_ct_NMEDIT" >&6; }
   8337 else
   8338   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8339 printf '%s\n' "no" >&6; }
   8340 fi
   8341 
   8342   if test "x$ac_ct_NMEDIT" = x; then
   8343     NMEDIT=":"
   8344   else
   8345     case $cross_compiling:$ac_tool_warned in
   8346 yes:)
   8347 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8348 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8349 ac_tool_warned=yes ;;
   8350 esac
   8351     NMEDIT=$ac_ct_NMEDIT
   8352   fi
   8353 else
   8354   NMEDIT="$ac_cv_prog_NMEDIT"
   8355 fi
   8356 
   8357     if test -n "$ac_tool_prefix"; then
   8358   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   8359 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   8360 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8361 printf %s "checking for $ac_word... " >&6; }
   8362 if test ${ac_cv_prog_LIPO+y}
   8363 then :
   8364   printf %s "(cached) " >&6
   8365 else case e in #(
   8366   e) if test -n "$LIPO"; then
   8367   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8368 else
   8369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8370 for as_dir in $PATH
   8371 do
   8372   IFS=$as_save_IFS
   8373   case $as_dir in #(((
   8374     '') as_dir=./ ;;
   8375     */) ;;
   8376     *) as_dir=$as_dir/ ;;
   8377   esac
   8378     for ac_exec_ext in '' $ac_executable_extensions; do
   8379   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8380     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   8381     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8382     break 2
   8383   fi
   8384 done
   8385   done
   8386 IFS=$as_save_IFS
   8387 
   8388 fi ;;
   8389 esac
   8390 fi
   8391 LIPO=$ac_cv_prog_LIPO
   8392 if test -n "$LIPO"; then
   8393   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8394 printf '%s\n' "$LIPO" >&6; }
   8395 else
   8396   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8397 printf '%s\n' "no" >&6; }
   8398 fi
   8399 
   8400 
   8401 fi
   8402 if test -z "$ac_cv_prog_LIPO"; then
   8403   ac_ct_LIPO=$LIPO
   8404   # Extract the first word of "lipo", so it can be a program name with args.
   8405 set dummy lipo; ac_word=$2
   8406 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8407 printf %s "checking for $ac_word... " >&6; }
   8408 if test ${ac_cv_prog_ac_ct_LIPO+y}
   8409 then :
   8410   printf %s "(cached) " >&6
   8411 else case e in #(
   8412   e) if test -n "$ac_ct_LIPO"; then
   8413   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   8414 else
   8415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8416 for as_dir in $PATH
   8417 do
   8418   IFS=$as_save_IFS
   8419   case $as_dir in #(((
   8420     '') as_dir=./ ;;
   8421     */) ;;
   8422     *) as_dir=$as_dir/ ;;
   8423   esac
   8424     for ac_exec_ext in '' $ac_executable_extensions; do
   8425   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8426     ac_cv_prog_ac_ct_LIPO="lipo"
   8427     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8428     break 2
   8429   fi
   8430 done
   8431   done
   8432 IFS=$as_save_IFS
   8433 
   8434 fi ;;
   8435 esac
   8436 fi
   8437 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   8438 if test -n "$ac_ct_LIPO"; then
   8439   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   8440 printf '%s\n' "$ac_ct_LIPO" >&6; }
   8441 else
   8442   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8443 printf '%s\n' "no" >&6; }
   8444 fi
   8445 
   8446   if test "x$ac_ct_LIPO" = x; then
   8447     LIPO=":"
   8448   else
   8449     case $cross_compiling:$ac_tool_warned in
   8450 yes:)
   8451 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8452 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8453 ac_tool_warned=yes ;;
   8454 esac
   8455     LIPO=$ac_ct_LIPO
   8456   fi
   8457 else
   8458   LIPO="$ac_cv_prog_LIPO"
   8459 fi
   8460 
   8461     if test -n "$ac_tool_prefix"; then
   8462   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   8463 set dummy ${ac_tool_prefix}otool; ac_word=$2
   8464 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8465 printf %s "checking for $ac_word... " >&6; }
   8466 if test ${ac_cv_prog_OTOOL+y}
   8467 then :
   8468   printf %s "(cached) " >&6
   8469 else case e in #(
   8470   e) if test -n "$OTOOL"; then
   8471   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   8472 else
   8473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8474 for as_dir in $PATH
   8475 do
   8476   IFS=$as_save_IFS
   8477   case $as_dir in #(((
   8478     '') as_dir=./ ;;
   8479     */) ;;
   8480     *) as_dir=$as_dir/ ;;
   8481   esac
   8482     for ac_exec_ext in '' $ac_executable_extensions; do
   8483   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8484     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   8485     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8486     break 2
   8487   fi
   8488 done
   8489   done
   8490 IFS=$as_save_IFS
   8491 
   8492 fi ;;
   8493 esac
   8494 fi
   8495 OTOOL=$ac_cv_prog_OTOOL
   8496 if test -n "$OTOOL"; then
   8497   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   8498 printf '%s\n' "$OTOOL" >&6; }
   8499 else
   8500   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8501 printf '%s\n' "no" >&6; }
   8502 fi
   8503 
   8504 
   8505 fi
   8506 if test -z "$ac_cv_prog_OTOOL"; then
   8507   ac_ct_OTOOL=$OTOOL
   8508   # Extract the first word of "otool", so it can be a program name with args.
   8509 set dummy otool; ac_word=$2
   8510 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8511 printf %s "checking for $ac_word... " >&6; }
   8512 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   8513 then :
   8514   printf %s "(cached) " >&6
   8515 else case e in #(
   8516   e) if test -n "$ac_ct_OTOOL"; then
   8517   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8518 else
   8519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8520 for as_dir in $PATH
   8521 do
   8522   IFS=$as_save_IFS
   8523   case $as_dir in #(((
   8524     '') as_dir=./ ;;
   8525     */) ;;
   8526     *) as_dir=$as_dir/ ;;
   8527   esac
   8528     for ac_exec_ext in '' $ac_executable_extensions; do
   8529   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8530     ac_cv_prog_ac_ct_OTOOL="otool"
   8531     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8532     break 2
   8533   fi
   8534 done
   8535   done
   8536 IFS=$as_save_IFS
   8537 
   8538 fi ;;
   8539 esac
   8540 fi
   8541 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8542 if test -n "$ac_ct_OTOOL"; then
   8543   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8544 printf '%s\n' "$ac_ct_OTOOL" >&6; }
   8545 else
   8546   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8547 printf '%s\n' "no" >&6; }
   8548 fi
   8549 
   8550   if test "x$ac_ct_OTOOL" = x; then
   8551     OTOOL=":"
   8552   else
   8553     case $cross_compiling:$ac_tool_warned in
   8554 yes:)
   8555 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8556 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8557 ac_tool_warned=yes ;;
   8558 esac
   8559     OTOOL=$ac_ct_OTOOL
   8560   fi
   8561 else
   8562   OTOOL="$ac_cv_prog_OTOOL"
   8563 fi
   8564 
   8565     if test -n "$ac_tool_prefix"; then
   8566   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8567 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8568 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8569 printf %s "checking for $ac_word... " >&6; }
   8570 if test ${ac_cv_prog_OTOOL64+y}
   8571 then :
   8572   printf %s "(cached) " >&6
   8573 else case e in #(
   8574   e) if test -n "$OTOOL64"; then
   8575   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8576 else
   8577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8578 for as_dir in $PATH
   8579 do
   8580   IFS=$as_save_IFS
   8581   case $as_dir in #(((
   8582     '') as_dir=./ ;;
   8583     */) ;;
   8584     *) as_dir=$as_dir/ ;;
   8585   esac
   8586     for ac_exec_ext in '' $ac_executable_extensions; do
   8587   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8588     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8589     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8590     break 2
   8591   fi
   8592 done
   8593   done
   8594 IFS=$as_save_IFS
   8595 
   8596 fi ;;
   8597 esac
   8598 fi
   8599 OTOOL64=$ac_cv_prog_OTOOL64
   8600 if test -n "$OTOOL64"; then
   8601   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8602 printf '%s\n' "$OTOOL64" >&6; }
   8603 else
   8604   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8605 printf '%s\n' "no" >&6; }
   8606 fi
   8607 
   8608 
   8609 fi
   8610 if test -z "$ac_cv_prog_OTOOL64"; then
   8611   ac_ct_OTOOL64=$OTOOL64
   8612   # Extract the first word of "otool64", so it can be a program name with args.
   8613 set dummy otool64; ac_word=$2
   8614 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8615 printf %s "checking for $ac_word... " >&6; }
   8616 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   8617 then :
   8618   printf %s "(cached) " >&6
   8619 else case e in #(
   8620   e) if test -n "$ac_ct_OTOOL64"; then
   8621   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8622 else
   8623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8624 for as_dir in $PATH
   8625 do
   8626   IFS=$as_save_IFS
   8627   case $as_dir in #(((
   8628     '') as_dir=./ ;;
   8629     */) ;;
   8630     *) as_dir=$as_dir/ ;;
   8631   esac
   8632     for ac_exec_ext in '' $ac_executable_extensions; do
   8633   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8634     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8635     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8636     break 2
   8637   fi
   8638 done
   8639   done
   8640 IFS=$as_save_IFS
   8641 
   8642 fi ;;
   8643 esac
   8644 fi
   8645 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8646 if test -n "$ac_ct_OTOOL64"; then
   8647   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8648 printf '%s\n' "$ac_ct_OTOOL64" >&6; }
   8649 else
   8650   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8651 printf '%s\n' "no" >&6; }
   8652 fi
   8653 
   8654   if test "x$ac_ct_OTOOL64" = x; then
   8655     OTOOL64=":"
   8656   else
   8657     case $cross_compiling:$ac_tool_warned in
   8658 yes:)
   8659 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8660 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8661 ac_tool_warned=yes ;;
   8662 esac
   8663     OTOOL64=$ac_ct_OTOOL64
   8664   fi
   8665 else
   8666   OTOOL64="$ac_cv_prog_OTOOL64"
   8667 fi
   8668 
   8669 
   8670 
   8671 
   8672 
   8673 
   8674 
   8675 
   8676 
   8677 
   8678 
   8679 
   8680 
   8681 
   8682 
   8683 
   8684 
   8685 
   8686 
   8687 
   8688 
   8689 
   8690 
   8691 
   8692 
   8693 
   8694 
   8695     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8696 printf %s "checking for -single_module linker flag... " >&6; }
   8697 if test ${lt_cv_apple_cc_single_mod+y}
   8698 then :
   8699   printf %s "(cached) " >&6
   8700 else case e in #(
   8701   e) lt_cv_apple_cc_single_mod=no
   8702       if test -z "$LT_MULTI_MODULE"; then
   8703 	# By default we will add the -single_module flag. You can override
   8704 	# by either setting the environment variable LT_MULTI_MODULE
   8705 	# non-empty at configure time, or by adding -multi_module to the
   8706 	# link flags.
   8707 	rm -rf libconftest.dylib*
   8708 	echo "int foo(void){return 1;}" > conftest.c
   8709 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8710 -dynamiclib -Wl,-single_module conftest.c" >&5
   8711 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8712 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8713         _lt_result=$?
   8714 	# If there is a non-empty error log, and "single_module"
   8715 	# appears in it, assume the flag caused a linker warning
   8716         if test -s conftest.err && $GREP single_module conftest.err; then
   8717 	  cat conftest.err >&5
   8718 	# Otherwise, if the output was created with a 0 exit code from
   8719 	# the compiler, it worked.
   8720 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   8721 	  lt_cv_apple_cc_single_mod=yes
   8722 	else
   8723 	  cat conftest.err >&5
   8724 	fi
   8725 	rm -rf libconftest.dylib*
   8726 	rm -f conftest.*
   8727       fi ;;
   8728 esac
   8729 fi
   8730 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8731 printf '%s\n' "$lt_cv_apple_cc_single_mod" >&6; }
   8732 
   8733     # Feature test to disable chained fixups since it is not
   8734     # compatible with '-undefined dynamic_lookup'
   8735     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for -no_fixup_chains linker flag" >&5
   8736 printf %s "checking for -no_fixup_chains linker flag... " >&6; }
   8737 if test ${lt_cv_support_no_fixup_chains+y}
   8738 then :
   8739   printf %s "(cached) " >&6
   8740 else case e in #(
   8741   e)  save_LDFLAGS=$LDFLAGS
   8742         LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains"
   8743         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8744 /* end confdefs.h.  */
   8745 
   8746 int
   8747 main (void)
   8748 {
   8749 
   8750   ;
   8751   return 0;
   8752 }
   8753 _ACEOF
   8754 if ac_fn_c_try_link "$LINENO"
   8755 then :
   8756   lt_cv_support_no_fixup_chains=yes
   8757 else case e in #(
   8758   e) lt_cv_support_no_fixup_chains=no
   8759          ;;
   8760 esac
   8761 fi
   8762 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8763     conftest$ac_exeext conftest.$ac_ext
   8764         LDFLAGS=$save_LDFLAGS
   8765 
   8766      ;;
   8767 esac
   8768 fi
   8769 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_support_no_fixup_chains" >&5
   8770 printf '%s\n' "$lt_cv_support_no_fixup_chains" >&6; }
   8771 
   8772     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8773 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   8774 if test ${lt_cv_ld_exported_symbols_list+y}
   8775 then :
   8776   printf %s "(cached) " >&6
   8777 else case e in #(
   8778   e) lt_cv_ld_exported_symbols_list=no
   8779       save_LDFLAGS=$LDFLAGS
   8780       echo "_main" > conftest.sym
   8781       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8782       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8783 /* end confdefs.h.  */
   8784 
   8785 int
   8786 main (void)
   8787 {
   8788 
   8789   ;
   8790   return 0;
   8791 }
   8792 _ACEOF
   8793 if ac_fn_c_try_link "$LINENO"
   8794 then :
   8795   lt_cv_ld_exported_symbols_list=yes
   8796 else case e in #(
   8797   e) lt_cv_ld_exported_symbols_list=no ;;
   8798 esac
   8799 fi
   8800 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8801     conftest$ac_exeext conftest.$ac_ext
   8802 	LDFLAGS=$save_LDFLAGS
   8803      ;;
   8804 esac
   8805 fi
   8806 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8807 printf '%s\n' "$lt_cv_ld_exported_symbols_list" >&6; }
   8808 
   8809     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8810 printf %s "checking for -force_load linker flag... " >&6; }
   8811 if test ${lt_cv_ld_force_load+y}
   8812 then :
   8813   printf %s "(cached) " >&6
   8814 else case e in #(
   8815   e) lt_cv_ld_force_load=no
   8816       cat > conftest.c << _LT_EOF
   8817 int forced_loaded() { return 2;}
   8818 _LT_EOF
   8819       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8820       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8821       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   8822       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   8823       echo "$RANLIB libconftest.a" >&5
   8824       $RANLIB libconftest.a 2>&5
   8825       cat > conftest.c << _LT_EOF
   8826 int main(void) { return 0;}
   8827 _LT_EOF
   8828       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8829       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8830       _lt_result=$?
   8831       if test -s conftest.err && $GREP force_load conftest.err; then
   8832 	cat conftest.err >&5
   8833       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   8834 	lt_cv_ld_force_load=yes
   8835       else
   8836 	cat conftest.err >&5
   8837       fi
   8838         rm -f conftest.err libconftest.a conftest conftest.c
   8839         rm -rf conftest.dSYM
   8840      ;;
   8841 esac
   8842 fi
   8843 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8844 printf '%s\n' "$lt_cv_ld_force_load" >&6; }
   8845     case $host_os in
   8846     rhapsody* | darwin1.[012])
   8847       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   8848     darwin1.*)
   8849       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8850     darwin*)
   8851       case $MACOSX_DEPLOYMENT_TARGET,$host in
   8852         10.[012],*|,*powerpc*-darwin[5-8]*)
   8853           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8854         *)
   8855           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup'
   8856           if test yes = "$lt_cv_support_no_fixup_chains"; then
   8857             as_fn_append _lt_dar_allow_undefined ' $wl-no_fixup_chains'
   8858           fi
   8859         ;;
   8860       esac
   8861     ;;
   8862   esac
   8863     if test yes = "$lt_cv_apple_cc_single_mod"; then
   8864       _lt_dar_single_mod='$single_module'
   8865     fi
   8866     _lt_dar_needs_single_mod=no
   8867     case $host_os in
   8868     rhapsody* | darwin1.*)
   8869       _lt_dar_needs_single_mod=yes ;;
   8870     darwin*)
   8871       # When targeting Mac OS X 10.4 (darwin 8) or later,
   8872       # -single_module is the default and -multi_module is unsupported.
   8873       # The toolchain on macOS 10.14 (darwin 18) and later cannot
   8874       # target any OS version that needs -single_module.
   8875       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   8876       10.0,*-darwin[567].*|10.[0-3],*-darwin[5-9].*|10.[0-3],*-darwin1[0-7].*)
   8877         _lt_dar_needs_single_mod=yes ;;
   8878       esac
   8879     ;;
   8880     esac
   8881     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   8882       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   8883     else
   8884       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   8885     fi
   8886     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   8887       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8888     else
   8889       _lt_dsymutil=
   8890     fi
   8891     ;;
   8892   esac
   8893 
   8894 # func_munge_path_list VARIABLE PATH
   8895 # -----------------------------------
   8896 # VARIABLE is name of variable containing _space_ separated list of
   8897 # directories to be munged by the contents of PATH, which is string
   8898 # having a format:
   8899 # "DIR[:DIR]:"
   8900 #       string "DIR[ DIR]" will be prepended to VARIABLE
   8901 # ":DIR[:DIR]"
   8902 #       string "DIR[ DIR]" will be appended to VARIABLE
   8903 # "DIRP[:DIRP]::[DIRA:]DIRA"
   8904 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   8905 #       "DIRA[ DIRA]" will be appended to VARIABLE
   8906 # "DIR[:DIR]"
   8907 #       VARIABLE will be replaced by "DIR[ DIR]"
   8908 func_munge_path_list ()
   8909 {
   8910     case x$2 in
   8911     x)
   8912         ;;
   8913     *:)
   8914         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   8915         ;;
   8916     x:*)
   8917         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   8918         ;;
   8919     *::*)
   8920         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   8921         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   8922         ;;
   8923     *)
   8924         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   8925         ;;
   8926     esac
   8927 }
   8928 
   8929 ac_header= ac_cache=
   8930 for ac_item in $ac_header_c_list
   8931 do
   8932   if test $ac_cache; then
   8933     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   8934     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   8935       printf '%s\n' "#define $ac_item 1" >> confdefs.h
   8936     fi
   8937     ac_header= ac_cache=
   8938   elif test $ac_header; then
   8939     ac_cache=$ac_item
   8940   else
   8941     ac_header=$ac_item
   8942   fi
   8943 done
   8944 
   8945 
   8946 
   8947 
   8948 
   8949 
   8950 
   8951 
   8952 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   8953 then :
   8954 
   8955 printf '%s\n' "#define STDC_HEADERS 1" >>confdefs.h
   8956 
   8957 fi
   8958 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8959 "
   8960 if test "x$ac_cv_header_dlfcn_h" = xyes
   8961 then :
   8962   printf '%s\n' "#define HAVE_DLFCN_H 1" >>confdefs.h
   8963 
   8964 fi
   8965 
   8966 
   8967 
   8968 
   8969 
   8970 # Set options
   8971 
   8972 
   8973 
   8974         enable_dlopen=no
   8975 
   8976 
   8977   enable_win32_dll=no
   8978 
   8979 
   8980             # Check whether --enable-shared was given.
   8981 if test ${enable_shared+y}
   8982 then :
   8983   enableval=$enable_shared; p=${PACKAGE-default}
   8984     case $enableval in
   8985     yes) enable_shared=yes ;;
   8986     no) enable_shared=no ;;
   8987     *)
   8988       enable_shared=no
   8989       # Look at the argument we got.  We use all the common list separators.
   8990       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8991       for pkg in $enableval; do
   8992 	IFS=$lt_save_ifs
   8993 	if test "X$pkg" = "X$p"; then
   8994 	  enable_shared=yes
   8995 	fi
   8996       done
   8997       IFS=$lt_save_ifs
   8998       ;;
   8999     esac
   9000 else case e in #(
   9001   e) enable_shared=yes ;;
   9002 esac
   9003 fi
   9004 
   9005 
   9006 
   9007 
   9008 
   9009 
   9010 
   9011 
   9012 
   9013   # Check whether --enable-static was given.
   9014 if test ${enable_static+y}
   9015 then :
   9016   enableval=$enable_static; p=${PACKAGE-default}
   9017     case $enableval in
   9018     yes) enable_static=yes ;;
   9019     no) enable_static=no ;;
   9020     *)
   9021      enable_static=no
   9022       # Look at the argument we got.  We use all the common list separators.
   9023       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9024       for pkg in $enableval; do
   9025 	IFS=$lt_save_ifs
   9026 	if test "X$pkg" = "X$p"; then
   9027 	  enable_static=yes
   9028 	fi
   9029       done
   9030       IFS=$lt_save_ifs
   9031       ;;
   9032     esac
   9033 else case e in #(
   9034   e) enable_static=yes ;;
   9035 esac
   9036 fi
   9037 
   9038 
   9039 
   9040 
   9041 
   9042 
   9043 
   9044 
   9045 
   9046   # Check whether --enable-pic was given.
   9047 if test ${enable_pic+y}
   9048 then :
   9049   enableval=$enable_pic; lt_p=${PACKAGE-default}
   9050      case $enableval in
   9051      yes|no) pic_mode=$enableval ;;
   9052      *)
   9053        pic_mode=default
   9054        # Look at the argument we got.  We use all the common list separators.
   9055        lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9056        for lt_pkg in $enableval; do
   9057 	 IFS=$lt_save_ifs
   9058 	 if test "X$lt_pkg" = "X$lt_p"; then
   9059 	   pic_mode=yes
   9060 	 fi
   9061        done
   9062        IFS=$lt_save_ifs
   9063        ;;
   9064      esac
   9065 else case e in #(
   9066   e)           # Check whether --with-pic was given.
   9067 if test ${with_pic+y}
   9068 then :
   9069   withval=$with_pic; lt_p=${PACKAGE-default}
   9070 	 case $withval in
   9071 	 yes|no) pic_mode=$withval ;;
   9072 	 *)
   9073 	   pic_mode=default
   9074 	   # Look at the argument we got.  We use all the common list separators.
   9075 	   lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9076 	   for lt_pkg in $withval; do
   9077 	     IFS=$lt_save_ifs
   9078 	     if test "X$lt_pkg" = "X$lt_p"; then
   9079 	       pic_mode=yes
   9080 	     fi
   9081 	   done
   9082 	   IFS=$lt_save_ifs
   9083 	   ;;
   9084 	 esac
   9085 else case e in #(
   9086   e) pic_mode=default ;;
   9087 esac
   9088 fi
   9089 
   9090      ;;
   9091 esac
   9092 fi
   9093 
   9094 
   9095 
   9096 
   9097 
   9098 
   9099 
   9100 
   9101   stdlibflag=-nostdlib
   9102 # Check whether --enable-cxx-stdlib was given.
   9103 if test ${enable_cxx_stdlib+y}
   9104 then :
   9105   enableval=$enable_cxx_stdlib; p=${PACKAGE-default}
   9106     case $enableval in
   9107     yes) enable_cxx_stdlib=yes ;;
   9108     no) enable_cxx_stdlib=no ;;
   9109     *)
   9110      enable_cxx_stdlib=no
   9111       # Look at the argument we got.  We use all the common list separators.
   9112       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9113       for pkg in $enableval; do
   9114 	IFS=$lt_save_ifs
   9115 	if test "X$pkg" = "X$p"; then
   9116 	  enable_cxx_stdlib=yes
   9117 	fi
   9118       done
   9119       IFS=$lt_save_ifs
   9120       ;;
   9121     esac
   9122 else case e in #(
   9123   e) enable_cxx_stdlib=no ;;
   9124 esac
   9125 fi
   9126 
   9127 
   9128 if test yes = "$enable_cxx_stdlib"; then
   9129   stdlibflag=
   9130 fi
   9131 
   9132 
   9133 
   9134 
   9135 
   9136 
   9137 
   9138 
   9139 
   9140 
   9141 
   9142   # Check whether --enable-fast-install was given.
   9143 if test ${enable_fast_install+y}
   9144 then :
   9145   enableval=$enable_fast_install; p=${PACKAGE-default}
   9146     case $enableval in
   9147     yes) enable_fast_install=yes ;;
   9148     no) enable_fast_install=no ;;
   9149     *)
   9150       enable_fast_install=no
   9151       # Look at the argument we got.  We use all the common list separators.
   9152       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9153       for pkg in $enableval; do
   9154 	IFS=$lt_save_ifs
   9155 	if test "X$pkg" = "X$p"; then
   9156 	  enable_fast_install=yes
   9157 	fi
   9158       done
   9159       IFS=$lt_save_ifs
   9160       ;;
   9161     esac
   9162 else case e in #(
   9163   e) enable_fast_install=yes ;;
   9164 esac
   9165 fi
   9166 
   9167 
   9168 
   9169 
   9170 
   9171 
   9172 
   9173 
   9174   shared_archive_member_spec=
   9175 case $host,$enable_shared in
   9176 power*-*-aix[5-9]*,yes)
   9177   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   9178 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   9179   # Check whether --enable-aix-soname was given.
   9180 if test ${enable_aix_soname+y}
   9181 then :
   9182   enableval=$enable_aix_soname; case $enableval in
   9183      aix|svr4|both)
   9184        ;;
   9185      *)
   9186        as_fn_error $? "Unknown argument to --enable-aix-soname" "$LINENO" 5
   9187        ;;
   9188      esac
   9189      lt_cv_with_aix_soname=$enable_aix_soname
   9190 else case e in #(
   9191   e) # Check whether --with-aix-soname was given.
   9192 if test ${with_aix_soname+y}
   9193 then :
   9194   withval=$with_aix_soname; case $withval in
   9195          aix|svr4|both)
   9196            ;;
   9197          *)
   9198            as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   9199            ;;
   9200          esac
   9201          lt_cv_with_aix_soname=$with_aix_soname
   9202 else case e in #(
   9203   e) if test ${lt_cv_with_aix_soname+y}
   9204 then :
   9205   printf %s "(cached) " >&6
   9206 else case e in #(
   9207   e) lt_cv_with_aix_soname=aix ;;
   9208 esac
   9209 fi
   9210  ;;
   9211 esac
   9212 fi
   9213 
   9214      enable_aix_soname=$lt_cv_with_aix_soname ;;
   9215 esac
   9216 fi
   9217 
   9218   with_aix_soname=$enable_aix_soname
   9219   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   9220 printf '%s\n' "$with_aix_soname" >&6; }
   9221   if test aix != "$with_aix_soname"; then
   9222     # For the AIX way of multilib, we name the shared archive member
   9223     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   9224     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   9225     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   9226     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   9227     if test 64 = "${OBJECT_MODE-32}"; then
   9228       shared_archive_member_spec=shr_64
   9229     else
   9230       shared_archive_member_spec=shr
   9231     fi
   9232   fi
   9233   ;;
   9234 power*-*-aix[5-9]*,'')
   9235   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: for $host, specify if building shared libraries for versioning (svr4|both)" >&5
   9236 printf '%s\n' "$as_me: WARNING: for $host, specify if building shared libraries for versioning (svr4|both)" >&2;}
   9237   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   9238 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   9239   with_aix_soname=aix
   9240   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: (default) $with_aix_soname" >&5
   9241 printf '%s\n' "(default) $with_aix_soname" >&6; }
   9242   ;;
   9243 *)
   9244   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   9245 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   9246   with_aix_soname=aix
   9247   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: (default) $with_aix_soname" >&5
   9248 printf '%s\n' "(default) $with_aix_soname" >&6; }
   9249   ;;
   9250 esac
   9251 
   9252 
   9253 
   9254 
   9255 
   9256 
   9257 
   9258 
   9259 
   9260 
   9261 # This can be used to rebuild libtool when needed
   9262 LIBTOOL_DEPS=$ltmain
   9263 
   9264 # Always use our own libtool.
   9265 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   9266 
   9267 
   9268 
   9269 
   9270 
   9271 
   9272 
   9273 
   9274 
   9275 
   9276 
   9277 
   9278 
   9279 
   9280 
   9281 
   9282 
   9283 
   9284 
   9285 
   9286 
   9287 
   9288 
   9289 
   9290 
   9291 
   9292 
   9293 
   9294 
   9295 
   9296 test -z "$LN_S" && LN_S="ln -s"
   9297 
   9298 
   9299 
   9300 
   9301 
   9302 
   9303 
   9304 
   9305 
   9306 
   9307 
   9308 
   9309 
   9310 
   9311 if test -n "${ZSH_VERSION+set}"; then
   9312    setopt NO_GLOB_SUBST
   9313 fi
   9314 
   9315 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   9316 printf %s "checking for objdir... " >&6; }
   9317 if test ${lt_cv_objdir+y}
   9318 then :
   9319   printf %s "(cached) " >&6
   9320 else case e in #(
   9321   e) rm -f .libs 2>/dev/null
   9322 mkdir .libs 2>/dev/null
   9323 if test -d .libs; then
   9324   lt_cv_objdir=.libs
   9325 else
   9326   # MS-DOS does not allow filenames that begin with a dot.
   9327   lt_cv_objdir=_libs
   9328 fi
   9329 rmdir .libs 2>/dev/null ;;
   9330 esac
   9331 fi
   9332 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   9333 printf '%s\n' "$lt_cv_objdir" >&6; }
   9334 objdir=$lt_cv_objdir
   9335 
   9336 
   9337 
   9338 
   9339 
   9340 printf '%s\n' "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   9341 
   9342 
   9343 
   9344 
   9345 case $host_os in
   9346 aix3*)
   9347   # AIX sometimes has problems with the GCC collect2 program.  For some
   9348   # reason, if we set the COLLECT_NAMES environment variable, the problems
   9349   # vanish in a puff of smoke.
   9350   if test set != "${COLLECT_NAMES+set}"; then
   9351     COLLECT_NAMES=
   9352     export COLLECT_NAMES
   9353   fi
   9354   ;;
   9355 esac
   9356 
   9357 # Global variables:
   9358 ofile=libtool
   9359 can_build_shared=yes
   9360 
   9361 # All known linkers require a '.a' archive for static linking (except MSVC and
   9362 # ICC, which need '.lib').
   9363 libext=a
   9364 
   9365 with_gnu_ld=$lt_cv_prog_gnu_ld
   9366 
   9367 old_CC=$CC
   9368 old_CFLAGS=$CFLAGS
   9369 
   9370 # Set sane defaults for various variables
   9371 test -z "$CC" && CC=cc
   9372 test -z "$LTCC" && LTCC=$CC
   9373 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   9374 test -z "$LD" && LD=ld
   9375 test -z "$ac_objext" && ac_objext=o
   9376 
   9377 func_cc_basename $compiler
   9378 cc_basename=$func_cc_basename_result
   9379 
   9380 
   9381 # Only perform the check for file, if the check method requires it
   9382 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   9383 case $deplibs_check_method in
   9384 file_magic*)
   9385   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   9386     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   9387 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   9388 if test ${lt_cv_path_MAGIC_CMD+y}
   9389 then :
   9390   printf %s "(cached) " >&6
   9391 else case e in #(
   9392   e) case $MAGIC_CMD in
   9393 [\\/*] |  ?:[\\/]*)
   9394   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9395   ;;
   9396 *)
   9397   lt_save_MAGIC_CMD=$MAGIC_CMD
   9398   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9399   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9400   for ac_dir in $ac_dummy; do
   9401     IFS=$lt_save_ifs
   9402     test -z "$ac_dir" && ac_dir=.
   9403     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   9404       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   9405       if test -n "$file_magic_test_file"; then
   9406 	case $deplibs_check_method in
   9407 	"file_magic "*)
   9408 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9409 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9410 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9411 	    $EGREP "$file_magic_regex" > /dev/null; then
   9412 	    :
   9413 	  else
   9414 	    cat <<_LT_EOF 1>&2
   9415 
   9416 *** Warning: the command libtool uses to detect shared libraries,
   9417 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9418 *** The result is that libtool may fail to recognize shared libraries
   9419 *** as such.  This will affect the creation of libtool libraries that
   9420 *** depend on shared libraries, but programs linked with such libtool
   9421 *** libraries will work regardless of this problem.  Nevertheless, you
   9422 *** may want to report the problem to your system manager and/or to
   9423 *** bug-libtool@gnu.org
   9424 
   9425 _LT_EOF
   9426 	  fi ;;
   9427 	esac
   9428       fi
   9429       break
   9430     fi
   9431   done
   9432   IFS=$lt_save_ifs
   9433   MAGIC_CMD=$lt_save_MAGIC_CMD
   9434   ;;
   9435 esac ;;
   9436 esac
   9437 fi
   9438 
   9439 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9440 if test -n "$MAGIC_CMD"; then
   9441   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9442 printf '%s\n' "$MAGIC_CMD" >&6; }
   9443 else
   9444   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9445 printf '%s\n' "no" >&6; }
   9446 fi
   9447 
   9448 
   9449 
   9450 
   9451 
   9452 if test -z "$lt_cv_path_MAGIC_CMD"; then
   9453   if test -n "$ac_tool_prefix"; then
   9454     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   9455 printf %s "checking for file... " >&6; }
   9456 if test ${lt_cv_path_MAGIC_CMD+y}
   9457 then :
   9458   printf %s "(cached) " >&6
   9459 else case e in #(
   9460   e) case $MAGIC_CMD in
   9461 [\\/*] |  ?:[\\/]*)
   9462   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9463   ;;
   9464 *)
   9465   lt_save_MAGIC_CMD=$MAGIC_CMD
   9466   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9467   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9468   for ac_dir in $ac_dummy; do
   9469     IFS=$lt_save_ifs
   9470     test -z "$ac_dir" && ac_dir=.
   9471     if test -f "$ac_dir/file"; then
   9472       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   9473       if test -n "$file_magic_test_file"; then
   9474 	case $deplibs_check_method in
   9475 	"file_magic "*)
   9476 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9477 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9478 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9479 	    $EGREP "$file_magic_regex" > /dev/null; then
   9480 	    :
   9481 	  else
   9482 	    cat <<_LT_EOF 1>&2
   9483 
   9484 *** Warning: the command libtool uses to detect shared libraries,
   9485 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9486 *** The result is that libtool may fail to recognize shared libraries
   9487 *** as such.  This will affect the creation of libtool libraries that
   9488 *** depend on shared libraries, but programs linked with such libtool
   9489 *** libraries will work regardless of this problem.  Nevertheless, you
   9490 *** may want to report the problem to your system manager and/or to
   9491 *** bug-libtool@gnu.org
   9492 
   9493 _LT_EOF
   9494 	  fi ;;
   9495 	esac
   9496       fi
   9497       break
   9498     fi
   9499   done
   9500   IFS=$lt_save_ifs
   9501   MAGIC_CMD=$lt_save_MAGIC_CMD
   9502   ;;
   9503 esac ;;
   9504 esac
   9505 fi
   9506 
   9507 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9508 if test -n "$MAGIC_CMD"; then
   9509   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9510 printf '%s\n' "$MAGIC_CMD" >&6; }
   9511 else
   9512   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9513 printf '%s\n' "no" >&6; }
   9514 fi
   9515 
   9516 
   9517   else
   9518     MAGIC_CMD=:
   9519   fi
   9520 fi
   9521 
   9522   fi
   9523   ;;
   9524 esac
   9525 
   9526 # Use C for the default configuration in the libtool script
   9527 
   9528 lt_save_CC=$CC
   9529 ac_ext=c
   9530 ac_cpp='$CPP $CPPFLAGS'
   9531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9534 
   9535 
   9536 # Source file extension for C test sources.
   9537 ac_ext=c
   9538 
   9539 # Object file extension for compiled C test sources.
   9540 objext=o
   9541 objext=$objext
   9542 
   9543 # Code to be used in simple compile tests
   9544 lt_simple_compile_test_code="int some_variable = 0;"
   9545 
   9546 # Code to be used in simple link tests
   9547 lt_simple_link_test_code='int main(void){return(0);}'
   9548 
   9549 
   9550 
   9551 
   9552 
   9553 
   9554 
   9555 # If no C compiler was specified, use CC.
   9556 LTCC=${LTCC-"$CC"}
   9557 
   9558 # If no C compiler flags were specified, use CFLAGS.
   9559 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   9560 
   9561 # Allow CC to be a program name with arguments.
   9562 compiler=$CC
   9563 
   9564 # Save the default compiler, since it gets overwritten when the other
   9565 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   9566 compiler_DEFAULT=$CC
   9567 
   9568 # save warnings/boilerplate of simple test code
   9569 ac_outfile=conftest.$ac_objext
   9570 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   9571 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9572 _lt_compiler_boilerplate=`cat conftest.err`
   9573 $RM conftest*
   9574 
   9575 ac_outfile=conftest.$ac_objext
   9576 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   9577 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9578 _lt_linker_boilerplate=`cat conftest.err`
   9579 $RM -r conftest*
   9580 
   9581 
   9582 ## CAVEAT EMPTOR:
   9583 ## There is no encapsulation within the following macros, do not change
   9584 ## the running order or otherwise move them around unless you know exactly
   9585 ## what you are doing...
   9586 if test -n "$compiler"; then
   9587 
   9588 lt_prog_compiler_no_builtin_flag=
   9589 
   9590 if test yes = "$GCC"; then
   9591   case $cc_basename in
   9592   nvcc*)
   9593     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   9594   *)
   9595     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   9596   esac
   9597 
   9598   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   9599 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   9600 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   9601 then :
   9602   printf %s "(cached) " >&6
   9603 else case e in #(
   9604   e) lt_cv_prog_compiler_rtti_exceptions=no
   9605    ac_outfile=conftest.$ac_objext
   9606    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9607    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   9608    # Insert the option either (1) after the last *FLAGS variable, or
   9609    # (2) before a word containing "conftest.", or (3) at the end.
   9610    # Note that $ac_compile itself does not contain backslashes and begins
   9611    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9612    # The option is referenced via a variable to avoid confusing sed.
   9613    lt_compile=`echo "$ac_compile" | $SED \
   9614    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9615    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9616    -e 's:$: $lt_compiler_flag:'`
   9617    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9618    (eval "$lt_compile" 2>conftest.err)
   9619    ac_status=$?
   9620    cat conftest.err >&5
   9621    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9622    if (exit $ac_status) && test -s "$ac_outfile"; then
   9623      # The compiler can only warn and ignore the option if not recognized
   9624      # So say no if there are warnings other than the usual output.
   9625      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.expsym
   9626      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9627      if test ! -s conftest.er2 || diff conftest.expsym conftest.er2 >/dev/null; then
   9628        lt_cv_prog_compiler_rtti_exceptions=yes
   9629      fi
   9630    fi
   9631    $RM conftest*
   9632  ;;
   9633 esac
   9634 fi
   9635 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   9636 printf '%s\n' "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   9637 
   9638 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   9639     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   9640 else
   9641     :
   9642 fi
   9643 
   9644 fi
   9645 
   9646 
   9647 
   9648 
   9649 
   9650 
   9651   lt_prog_compiler_wl=
   9652 lt_prog_compiler_pic=
   9653 lt_prog_compiler_static=
   9654 
   9655 
   9656   if test yes = "$GCC"; then
   9657     lt_prog_compiler_wl='-Wl,'
   9658     lt_prog_compiler_static='-static'
   9659 
   9660     case $host_os in
   9661       aix*)
   9662       # All AIX code is PIC.
   9663       if test ia64 = "$host_cpu"; then
   9664 	# AIX 5 now supports IA64 processor
   9665 	lt_prog_compiler_static='-Bstatic'
   9666       fi
   9667       lt_prog_compiler_pic='-fPIC'
   9668       ;;
   9669 
   9670     amigaos*)
   9671       case $host_cpu in
   9672       powerpc)
   9673             # see comment about AmigaOS4 .so support
   9674             lt_prog_compiler_pic='-fPIC'
   9675         ;;
   9676       m68k)
   9677             # FIXME: we need at least 68020 code to build shared libraries, but
   9678             # adding the '-m68020' flag to GCC prevents building anything better,
   9679             # like '-m68040'.
   9680             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9681         ;;
   9682       esac
   9683       ;;
   9684 
   9685     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9686       # PIC is the default for these OSes.
   9687       ;;
   9688 
   9689     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   9690       # This hack is so that the source file can tell whether it is being
   9691       # built for inclusion in a dll (and should export symbols for example).
   9692       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9693       # (--disable-auto-import) libraries
   9694       lt_prog_compiler_pic='-DDLL_EXPORT'
   9695       case $host_os in
   9696       os2*)
   9697 	lt_prog_compiler_static='$wl-static'
   9698 	;;
   9699       esac
   9700       ;;
   9701 
   9702     darwin* | rhapsody*)
   9703       # PIC is the default on this platform
   9704       # Common symbols not allowed in MH_DYLIB files
   9705       lt_prog_compiler_pic='-fno-common'
   9706       ;;
   9707 
   9708     haiku*)
   9709       # PIC is the default for Haiku.
   9710       # The "-static" flag exists, but is broken.
   9711       lt_prog_compiler_static=
   9712       ;;
   9713 
   9714     hpux*)
   9715       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9716       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9717       # sets the default TLS model and affects inlining.
   9718       case $host_cpu in
   9719       hppa*64*)
   9720 	# +Z the default
   9721 	;;
   9722       *)
   9723 	lt_prog_compiler_pic='-fPIC'
   9724 	;;
   9725       esac
   9726       ;;
   9727 
   9728     interix[3-9]*)
   9729       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9730       # Instead, we relocate shared libraries at runtime.
   9731       ;;
   9732 
   9733     msdosdjgpp*)
   9734       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9735       # on systems that don't support them.
   9736       lt_prog_compiler_can_build_shared=no
   9737       enable_shared=no
   9738       ;;
   9739 
   9740     *nto* | *qnx*)
   9741       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9742       # it will coredump.
   9743       lt_prog_compiler_pic='-fPIC -shared'
   9744       ;;
   9745 
   9746     sysv4*MP*)
   9747       if test -d /usr/nec; then
   9748 	lt_prog_compiler_pic=-Kconform_pic
   9749       fi
   9750       ;;
   9751 
   9752     *)
   9753       lt_prog_compiler_pic='-fPIC'
   9754       ;;
   9755     esac
   9756 
   9757     case $cc_basename in
   9758     nvcc*) # Cuda Compiler Driver 2.2
   9759       lt_prog_compiler_wl='-Xlinker '
   9760       if test -n "$lt_prog_compiler_pic"; then
   9761         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   9762       fi
   9763       ;;
   9764     esac
   9765   else
   9766     # PORTME Check for flag to pass linker flags through the system compiler.
   9767     case $host_os in
   9768     aix*)
   9769       lt_prog_compiler_wl='-Wl,'
   9770       if test ia64 = "$host_cpu"; then
   9771 	# AIX 5 now supports IA64 processor
   9772 	lt_prog_compiler_static='-Bstatic'
   9773       else
   9774 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.expsym'
   9775       fi
   9776       ;;
   9777 
   9778     darwin* | rhapsody*)
   9779       # PIC is the default on this platform
   9780       # Common symbols not allowed in MH_DYLIB files
   9781       lt_prog_compiler_pic='-fno-common'
   9782       case $cc_basename in
   9783       nagfor*)
   9784         # NAG Fortran compiler
   9785         lt_prog_compiler_wl='-Wl,-Wl,,'
   9786         lt_prog_compiler_pic='-PIC'
   9787         lt_prog_compiler_static='-Bstatic'
   9788         ;;
   9789       esac
   9790       ;;
   9791 
   9792     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   9793       # This hack is so that the source file can tell whether it is being
   9794       # built for inclusion in a dll (and should export symbols for example).
   9795       lt_prog_compiler_pic='-DDLL_EXPORT'
   9796       case $host_os in
   9797       os2*)
   9798 	lt_prog_compiler_static='$wl-static'
   9799 	;;
   9800       esac
   9801       ;;
   9802 
   9803     hpux9* | hpux10* | hpux11*)
   9804       lt_prog_compiler_wl='-Wl,'
   9805       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9806       # not for PA HP-UX.
   9807       case $host_cpu in
   9808       hppa*64*|ia64*)
   9809 	# +Z the default
   9810 	;;
   9811       *)
   9812 	lt_prog_compiler_pic='+Z'
   9813 	;;
   9814       esac
   9815       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9816       lt_prog_compiler_static='$wl-a ${wl}archive'
   9817       ;;
   9818 
   9819     irix5* | irix6* | nonstopux*)
   9820       lt_prog_compiler_wl='-Wl,'
   9821       # PIC (with -KPIC) is the default.
   9822       lt_prog_compiler_static='-non_shared'
   9823       ;;
   9824 
   9825     *-mlibc)
   9826       lt_prog_compiler_wl='-Wl,'
   9827       lt_prog_compiler_pic='-fPIC'
   9828       lt_prog_compiler_static='-static'
   9829       ;;
   9830 
   9831     linux* | ironclad*-gnu | k*bsd*-gnu | kopensolaris*-gnu | gnu* | freebsd*)
   9832       case $cc_basename in
   9833       # old Intel for x86_64, which still supported -KPIC.
   9834       ecc*)
   9835 	lt_prog_compiler_wl='-Wl,'
   9836 	lt_prog_compiler_pic='-KPIC'
   9837 	lt_prog_compiler_static='-static'
   9838         ;;
   9839       *flang* | ftn | f18* | f95*)
   9840         # Flang compiler.
   9841 	lt_prog_compiler_wl='-Wl,'
   9842 	lt_prog_compiler_pic='-fPIC'
   9843 	lt_prog_compiler_static='-static'
   9844         ;;
   9845       # icc used to be incompatible with GCC.
   9846       # ICC 10 doesn't accept -KPIC any more.
   9847       icc* | ifort* | icx* | ifx*)
   9848 	lt_prog_compiler_wl='-Wl,'
   9849 	lt_prog_compiler_pic='-fPIC'
   9850 	lt_prog_compiler_static='-static'
   9851         ;;
   9852       # Lahey Fortran 8.1.
   9853       lf95*)
   9854 	lt_prog_compiler_wl='-Wl,'
   9855 	lt_prog_compiler_pic='--shared'
   9856 	lt_prog_compiler_static='--static'
   9857 	;;
   9858       nagfor*)
   9859 	# NAG Fortran compiler
   9860 	lt_prog_compiler_wl='-Wl,-Wl,,'
   9861 	lt_prog_compiler_pic='-PIC'
   9862 	lt_prog_compiler_static='-Bstatic'
   9863 	;;
   9864       tcc*)
   9865 	# Fabrice Bellard et al's Tiny C Compiler
   9866 	lt_prog_compiler_wl='-Wl,'
   9867 	lt_prog_compiler_pic='-fPIC'
   9868 	lt_prog_compiler_static='-static'
   9869 	;;
   9870       slimcc*)
   9871 	# Hsiang-Ying Fu and Jim Huang's x86_64 SlimCC compiler
   9872 	lt_prog_compiler_wl='-Wl,'
   9873 	lt_prog_compiler_pic='-fPIC'
   9874 	lt_prog_compiler_static='-static'
   9875 	;;
   9876       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9877         # Portland Group compilers (*not* the Pentium gcc compiler,
   9878 	# which looks to be a dead project)
   9879 	lt_prog_compiler_wl='-Wl,'
   9880 	lt_prog_compiler_pic='-fpic'
   9881 	lt_prog_compiler_static='-Bstatic'
   9882         ;;
   9883       ccc*)
   9884         lt_prog_compiler_wl='-Wl,'
   9885         # All Alpha code is PIC.
   9886         lt_prog_compiler_static='-non_shared'
   9887         ;;
   9888       xl* | bgxl* | bgf* | mpixl*)
   9889 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9890 	lt_prog_compiler_wl='-Wl,'
   9891 	lt_prog_compiler_pic='-qpic'
   9892 	lt_prog_compiler_static='-qstaticlink'
   9893 	;;
   9894       *)
   9895 	case `$CC -V 2>&1 | $SED 5q` in
   9896 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   9897 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9898 	  lt_prog_compiler_pic='-KPIC'
   9899 	  lt_prog_compiler_static='-Bstatic'
   9900 	  lt_prog_compiler_wl=''
   9901 	  ;;
   9902 	*Sun\ F* | *Sun*Fortran*)
   9903 	  lt_prog_compiler_pic='-KPIC'
   9904 	  lt_prog_compiler_static='-Bstatic'
   9905 	  lt_prog_compiler_wl='-Qoption ld '
   9906 	  ;;
   9907 	*Sun\ C*)
   9908 	  # Sun C 5.9
   9909 	  lt_prog_compiler_pic='-KPIC'
   9910 	  lt_prog_compiler_static='-Bstatic'
   9911 	  lt_prog_compiler_wl='-Wl,'
   9912 	  ;;
   9913         *Intel*\ [CF]*Compiler*)
   9914 	  lt_prog_compiler_wl='-Wl,'
   9915 	  lt_prog_compiler_pic='-fPIC'
   9916 	  lt_prog_compiler_static='-static'
   9917 	  ;;
   9918 	*Portland\ Group*)
   9919 	  lt_prog_compiler_wl='-Wl,'
   9920 	  lt_prog_compiler_pic='-fpic'
   9921 	  lt_prog_compiler_static='-Bstatic'
   9922 	  ;;
   9923 	esac
   9924 	;;
   9925       esac
   9926       ;;
   9927 
   9928     newsos6)
   9929       lt_prog_compiler_pic='-KPIC'
   9930       lt_prog_compiler_static='-Bstatic'
   9931       ;;
   9932 
   9933     *nto* | *qnx*)
   9934       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9935       # it will coredump.
   9936       lt_prog_compiler_pic='-fPIC -shared'
   9937       ;;
   9938 
   9939     osf3* | osf4* | osf5*)
   9940       lt_prog_compiler_wl='-Wl,'
   9941       # All OSF/1 code is PIC.
   9942       lt_prog_compiler_static='-non_shared'
   9943       ;;
   9944 
   9945     rdos*)
   9946       lt_prog_compiler_static='-non_shared'
   9947       ;;
   9948 
   9949     serenity*)
   9950       ;;
   9951 
   9952     solaris*)
   9953       lt_prog_compiler_pic='-KPIC'
   9954       lt_prog_compiler_static='-Bstatic'
   9955       case $cc_basename in
   9956       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   9957 	lt_prog_compiler_wl='-Qoption ld ';;
   9958       *)
   9959 	lt_prog_compiler_wl='-Wl,';;
   9960       esac
   9961       ;;
   9962 
   9963     sunos4*)
   9964       lt_prog_compiler_wl='-Qoption ld '
   9965       lt_prog_compiler_pic='-PIC'
   9966       lt_prog_compiler_static='-Bstatic'
   9967       ;;
   9968 
   9969     sysv4 | sysv4.2uw2* | sysv4.3*)
   9970       lt_prog_compiler_wl='-Wl,'
   9971       lt_prog_compiler_pic='-KPIC'
   9972       lt_prog_compiler_static='-Bstatic'
   9973       ;;
   9974 
   9975     sysv4*MP*)
   9976       if test -d /usr/nec; then
   9977 	lt_prog_compiler_pic='-Kconform_pic'
   9978 	lt_prog_compiler_static='-Bstatic'
   9979       fi
   9980       ;;
   9981 
   9982     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9983       lt_prog_compiler_wl='-Wl,'
   9984       lt_prog_compiler_pic='-KPIC'
   9985       lt_prog_compiler_static='-Bstatic'
   9986       ;;
   9987 
   9988     unicos*)
   9989       lt_prog_compiler_wl='-Wl,'
   9990       lt_prog_compiler_can_build_shared=no
   9991       ;;
   9992 
   9993     uts4*)
   9994       lt_prog_compiler_pic='-pic'
   9995       lt_prog_compiler_static='-Bstatic'
   9996       ;;
   9997 
   9998     *)
   9999       lt_prog_compiler_can_build_shared=no
   10000       ;;
   10001     esac
   10002   fi
   10003 
   10004 case $host_os in
   10005   # For platforms that do not support PIC, -DPIC is meaningless:
   10006   *djgpp*)
   10007     lt_prog_compiler_pic=
   10008     ;;
   10009   *)
   10010     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   10011     ;;
   10012 esac
   10013 
   10014 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   10015 printf %s "checking for $compiler option to produce PIC... " >&6; }
   10016 if test ${lt_cv_prog_compiler_pic+y}
   10017 then :
   10018   printf %s "(cached) " >&6
   10019 else case e in #(
   10020   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
   10021 esac
   10022 fi
   10023 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   10024 printf '%s\n' "$lt_cv_prog_compiler_pic" >&6; }
   10025 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   10026 
   10027 #
   10028 # Check to make sure the PIC flag actually works.
   10029 #
   10030 if test -n "$lt_prog_compiler_pic"; then
   10031   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   10032 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   10033 if test ${lt_cv_prog_compiler_pic_works+y}
   10034 then :
   10035   printf %s "(cached) " >&6
   10036 else case e in #(
   10037   e) lt_cv_prog_compiler_pic_works=no
   10038    ac_outfile=conftest.$ac_objext
   10039    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10040    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   10041    # Insert the option either (1) after the last *FLAGS variable, or
   10042    # (2) before a word containing "conftest.", or (3) at the end.
   10043    # Note that $ac_compile itself does not contain backslashes and begins
   10044    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10045    # The option is referenced via a variable to avoid confusing sed.
   10046    lt_compile=`echo "$ac_compile" | $SED \
   10047    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10048    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10049    -e 's:$: $lt_compiler_flag:'`
   10050    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10051    (eval "$lt_compile" 2>conftest.err)
   10052    ac_status=$?
   10053    cat conftest.err >&5
   10054    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10055    if (exit $ac_status) && test -s "$ac_outfile"; then
   10056      # The compiler can only warn and ignore the option if not recognized
   10057      # So say no if there are warnings other than the usual output.
   10058      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.expsym
   10059      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10060      if test ! -s conftest.er2 || diff conftest.expsym conftest.er2 >/dev/null; then
   10061        lt_cv_prog_compiler_pic_works=yes
   10062      fi
   10063    fi
   10064    $RM conftest*
   10065  ;;
   10066 esac
   10067 fi
   10068 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   10069 printf '%s\n' "$lt_cv_prog_compiler_pic_works" >&6; }
   10070 
   10071 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   10072     case $lt_prog_compiler_pic in
   10073      "" | " "*) ;;
   10074      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   10075      esac
   10076 else
   10077     lt_prog_compiler_pic=
   10078      lt_prog_compiler_can_build_shared=no
   10079 fi
   10080 
   10081 fi
   10082 
   10083 
   10084 
   10085 
   10086 
   10087 
   10088 
   10089 
   10090 
   10091 
   10092 
   10093 #
   10094 # Check to make sure the static flag actually works.
   10095 #
   10096 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   10097 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   10098 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   10099 if test ${lt_cv_prog_compiler_static_works+y}
   10100 then :
   10101   printf %s "(cached) " >&6
   10102 else case e in #(
   10103   e) lt_cv_prog_compiler_static_works=no
   10104    save_LDFLAGS=$LDFLAGS
   10105    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   10106    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10107    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10108      # The linker can only warn and ignore the option if not recognized
   10109      # So say no if there are warnings
   10110      if test -s conftest.err; then
   10111        # Append any errors to the config.log.
   10112        cat conftest.err 1>&5
   10113        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.expsym
   10114        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10115        if diff conftest.expsym conftest.er2 >/dev/null; then
   10116          lt_cv_prog_compiler_static_works=yes
   10117        fi
   10118      else
   10119        lt_cv_prog_compiler_static_works=yes
   10120      fi
   10121    fi
   10122    $RM -r conftest*
   10123    LDFLAGS=$save_LDFLAGS
   10124  ;;
   10125 esac
   10126 fi
   10127 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   10128 printf '%s\n' "$lt_cv_prog_compiler_static_works" >&6; }
   10129 
   10130 if test yes = "$lt_cv_prog_compiler_static_works"; then
   10131     :
   10132 else
   10133     lt_prog_compiler_static=
   10134 fi
   10135 
   10136 
   10137 
   10138 
   10139 
   10140 
   10141 
   10142   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   10143 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   10144 if test ${lt_cv_prog_compiler_c_o+y}
   10145 then :
   10146   printf %s "(cached) " >&6
   10147 else case e in #(
   10148   e) lt_cv_prog_compiler_c_o=no
   10149    $RM -r conftest 2>/dev/null
   10150    mkdir conftest
   10151    cd conftest
   10152    mkdir out
   10153    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10154 
   10155    lt_compiler_flag="-o out/conftest2.$ac_objext"
   10156    # Insert the option either (1) after the last *FLAGS variable, or
   10157    # (2) before a word containing "conftest.", or (3) at the end.
   10158    # Note that $ac_compile itself does not contain backslashes and begins
   10159    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10160    lt_compile=`echo "$ac_compile" | $SED \
   10161    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10162    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10163    -e 's:$: $lt_compiler_flag:'`
   10164    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10165    (eval "$lt_compile" 2>out/conftest.err)
   10166    ac_status=$?
   10167    cat out/conftest.err >&5
   10168    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10169    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   10170    then
   10171      # The compiler can only warn and ignore the option if not recognized
   10172      # So say no if there are warnings
   10173      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.expsym
   10174      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   10175      if test ! -s out/conftest.er2 || diff out/conftest.expsym out/conftest.er2 >/dev/null; then
   10176        lt_cv_prog_compiler_c_o=yes
   10177      fi
   10178    fi
   10179    chmod u+w . 2>&5
   10180    $RM conftest*
   10181    # SGI C++ compiler will create directory out/ii_files/ for
   10182    # template instantiation
   10183    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   10184    $RM out/* && rmdir out
   10185    cd ..
   10186    $RM -r conftest
   10187    $RM conftest*
   10188  ;;
   10189 esac
   10190 fi
   10191 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   10192 printf '%s\n' "$lt_cv_prog_compiler_c_o" >&6; }
   10193 
   10194 
   10195 
   10196 
   10197 
   10198 
   10199   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   10200 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   10201 if test ${lt_cv_prog_compiler_c_o+y}
   10202 then :
   10203   printf %s "(cached) " >&6
   10204 else case e in #(
   10205   e) lt_cv_prog_compiler_c_o=no
   10206    $RM -r conftest 2>/dev/null
   10207    mkdir conftest
   10208    cd conftest
   10209    mkdir out
   10210    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10211 
   10212    lt_compiler_flag="-o out/conftest2.$ac_objext"
   10213    # Insert the option either (1) after the last *FLAGS variable, or
   10214    # (2) before a word containing "conftest.", or (3) at the end.
   10215    # Note that $ac_compile itself does not contain backslashes and begins
   10216    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10217    lt_compile=`echo "$ac_compile" | $SED \
   10218    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10219    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10220    -e 's:$: $lt_compiler_flag:'`
   10221    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10222    (eval "$lt_compile" 2>out/conftest.err)
   10223    ac_status=$?
   10224    cat out/conftest.err >&5
   10225    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10226    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   10227    then
   10228      # The compiler can only warn and ignore the option if not recognized
   10229      # So say no if there are warnings
   10230      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.expsym
   10231      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   10232      if test ! -s out/conftest.er2 || diff out/conftest.expsym out/conftest.er2 >/dev/null; then
   10233        lt_cv_prog_compiler_c_o=yes
   10234      fi
   10235    fi
   10236    chmod u+w . 2>&5
   10237    $RM conftest*
   10238    # SGI C++ compiler will create directory out/ii_files/ for
   10239    # template instantiation
   10240    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   10241    $RM out/* && rmdir out
   10242    cd ..
   10243    $RM -r conftest
   10244    $RM conftest*
   10245  ;;
   10246 esac
   10247 fi
   10248 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   10249 printf '%s\n' "$lt_cv_prog_compiler_c_o" >&6; }
   10250 
   10251 
   10252 
   10253 
   10254 hard_links=nottested
   10255 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   10256   # do not overwrite the value of need_locks provided by the user
   10257   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   10258 printf %s "checking if we can lock with hard links... " >&6; }
   10259   hard_links=yes
   10260   $RM conftest*
   10261   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   10262   touch conftest.a
   10263   ln conftest.a conftest.b 2>&5 || hard_links=no
   10264   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   10265   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   10266 printf '%s\n' "$hard_links" >&6; }
   10267   if test no = "$hard_links"; then
   10268     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   10269 printf '%s\n' "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   10270     need_locks=warn
   10271   fi
   10272 else
   10273   need_locks=no
   10274 fi
   10275 
   10276 
   10277 
   10278 
   10279 
   10280 
   10281   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   10282 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   10283 
   10284   runpath_var=
   10285   allow_undefined_flag=
   10286   always_export_symbols=no
   10287   archive_cmds=
   10288   archive_expsym_cmds=
   10289   compiler_needs_object=no
   10290   enable_shared_with_static_runtimes=no
   10291   export_dynamic_flag_spec=
   10292   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   10293   hardcode_automatic=no
   10294   hardcode_direct=no
   10295   hardcode_direct_absolute=no
   10296   hardcode_libdir_flag_spec=
   10297   hardcode_libdir_separator=
   10298   hardcode_minus_L=no
   10299   hardcode_shlibpath_var=unsupported
   10300   inherit_rpath=no
   10301   link_all_deplibs=unknown
   10302   module_cmds=
   10303   module_expsym_cmds=
   10304   old_archive_from_new_cmds=
   10305   old_archive_from_expsyms_cmds=
   10306   thread_safe_flag_spec=
   10307   whole_archive_flag_spec=
   10308   # include_expsyms should be a list of space-separated symbols to be *always*
   10309   # included in the symbol list
   10310   include_expsyms=
   10311   # exclude_expsyms can be an extended regexp of symbols to exclude
   10312   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   10313   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   10314   # as well as any symbol that contains 'd'.
   10315   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   10316   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   10317   # platforms (ab)use it in PIC code, but their linkers get confused if
   10318   # the symbol is explicitly referenced.  Since portable code cannot
   10319   # rely on this symbol name, it's probably fine to never include it in
   10320   # preloaded symbol tables.
   10321   # Exclude shared library initialization/finalization symbols.
   10322   extract_expsyms_cmds=
   10323 
   10324   case $host_os in
   10325   cygwin* | mingw* | windows* | pw32* | cegcc*)
   10326     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   10327     # When not using gcc, we currently assume that we are using
   10328     # Microsoft Visual C++ or Intel C++ Compiler.
   10329     if test yes != "$GCC"; then
   10330       with_gnu_ld=no
   10331     fi
   10332     ;;
   10333   interix*)
   10334     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   10335     with_gnu_ld=yes
   10336     ;;
   10337   esac
   10338 
   10339   ld_shlibs=yes
   10340 
   10341   # On some targets, GNU ld is compatible enough with the native linker
   10342   # that we're better off using the native interface for both.
   10343   lt_use_gnu_ld_interface=no
   10344   if test yes = "$with_gnu_ld"; then
   10345     case $host_os in
   10346       aix*)
   10347 	# The AIX port of GNU ld has always aspired to compatibility
   10348 	# with the native linker.  However, as the warning in the GNU ld
   10349 	# block says, versions before 2.19.5* couldn't really create working
   10350 	# shared libraries, regardless of the interface used.
   10351 	case `$LD -v 2>&1` in
   10352 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   10353 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   10354 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   10355 	  *)
   10356 	    lt_use_gnu_ld_interface=yes
   10357 	    ;;
   10358 	esac
   10359 	;;
   10360       *)
   10361 	lt_use_gnu_ld_interface=yes
   10362 	;;
   10363     esac
   10364   fi
   10365 
   10366   if test yes = "$lt_use_gnu_ld_interface"; then
   10367     # If archive_cmds runs LD, not CC, wlarc should be empty
   10368     wlarc='$wl'
   10369 
   10370     # Set some defaults for GNU ld with shared library support. These
   10371     # are reset later if shared libraries are not supported. Putting them
   10372     # here allows them to be overridden if necessary.
   10373     runpath_var=LD_RUN_PATH
   10374     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10375     export_dynamic_flag_spec='$wl--export-dynamic'
   10376     # ancient GNU ld didn't support --whole-archive et. al.
   10377     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   10378       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   10379     else
   10380       whole_archive_flag_spec=
   10381     fi
   10382     supports_anon_versioning=no
   10383     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   10384       *GNU\ gold*) supports_anon_versioning=yes ;;
   10385       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   10386       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   10387       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   10388       *\ 2.11.*) ;; # other 2.11 versions
   10389       *) supports_anon_versioning=yes ;;
   10390     esac
   10391 
   10392     # See if GNU ld supports shared libraries.
   10393     case $host_os in
   10394     aix[3-9]*)
   10395       # On AIX/PPC, the GNU linker is very broken
   10396       if test ia64 != "$host_cpu"; then
   10397 	ld_shlibs=no
   10398 	cat <<_LT_EOF 1>&2
   10399 
   10400 *** Warning: the GNU linker, at least up to release 2.19, is reported
   10401 *** to be unable to reliably create shared libraries on AIX.
   10402 *** Therefore, libtool is disabling shared libraries support.  If you
   10403 *** really care for shared libraries, you may want to install binutils
   10404 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   10405 *** You will then need to restart the configuration process.
   10406 
   10407 _LT_EOF
   10408       fi
   10409       ;;
   10410 
   10411     amigaos*)
   10412       case $host_cpu in
   10413       powerpc)
   10414             # see comment about AmigaOS4 .so support
   10415             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10416             archive_expsym_cmds=''
   10417         ;;
   10418       m68k)
   10419             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)'
   10420             hardcode_libdir_flag_spec='-L$libdir'
   10421             hardcode_minus_L=yes
   10422         ;;
   10423       esac
   10424       ;;
   10425 
   10426     beos*)
   10427       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10428 	allow_undefined_flag=unsupported
   10429 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   10430 	# support --undefined.  This deserves some investigation.  FIXME
   10431 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10432       else
   10433 	ld_shlibs=no
   10434       fi
   10435       ;;
   10436 
   10437     cygwin* | mingw* | windows* | pw32* | cegcc*)
   10438       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   10439       # as there is no search path for DLLs.
   10440       hardcode_libdir_flag_spec='-L$libdir'
   10441       export_dynamic_flag_spec='$wl--export-all-symbols'
   10442       allow_undefined_flag=unsupported
   10443       always_export_symbols=no
   10444       enable_shared_with_static_runtimes=yes
   10445       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'
   10446       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   10447       file_list_spec='@'
   10448 
   10449       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   10450         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10451 	# If the export-symbols file already is a .def file, use it as
   10452 	# is; otherwise, prepend EXPORTS...
   10453 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10454           cp $export_symbols $output_objdir/$soname.def;
   10455         else
   10456           echo EXPORTS > $output_objdir/$soname.def;
   10457           cat $export_symbols >> $output_objdir/$soname.def;
   10458         fi~
   10459         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10460       else
   10461 	ld_shlibs=no
   10462       fi
   10463       ;;
   10464 
   10465     haiku*)
   10466       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10467       link_all_deplibs=no
   10468       ;;
   10469 
   10470     os2*)
   10471       hardcode_libdir_flag_spec='-L$libdir'
   10472       hardcode_minus_L=yes
   10473       allow_undefined_flag=unsupported
   10474       shrext_cmds=.dll
   10475       archive_cmds='echo "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10476 	echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10477 	echo "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10478 	echo EXPORTS >> $output_objdir/$libname.def~
   10479 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10480 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10481 	emximp -o $lib $output_objdir/$libname.def'
   10482       archive_expsym_cmds='echo "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10483 	echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10484 	echo "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10485 	echo EXPORTS >> $output_objdir/$libname.def~
   10486 	prefix_cmds="$SED"~
   10487 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10488 	  prefix_cmds="$prefix_cmds -e 1d";
   10489 	fi~
   10490 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10491 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10492 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10493 	emximp -o $lib $output_objdir/$libname.def'
   10494       enable_shared_with_static_runtimes=yes
   10495       file_list_spec='@'
   10496       ;;
   10497 
   10498     interix[3-9]*)
   10499       hardcode_direct=no
   10500       hardcode_shlibpath_var=no
   10501       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10502       export_dynamic_flag_spec='$wl-E'
   10503       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   10504       # Instead, shared libraries are loaded at an image base (0x10000000 by
   10505       # default) and relocated if they conflict, which is a slow very memory
   10506       # consuming and fragmenting process.  To avoid this, we pick a random,
   10507       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   10508       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   10509       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   10510       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'
   10511       ;;
   10512 
   10513     *-mlibc)
   10514 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10515 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10516       ;;
   10517 
   10518     gnu* | linux* | tpf* | ironclad*-gnu | k*bsd*-gnu | kopensolaris*-gnu)
   10519       tmp_diet=no
   10520       if test linux-dietlibc = "$host_os"; then
   10521 	case $cc_basename in
   10522 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   10523 	esac
   10524       fi
   10525       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   10526 	 && test no = "$tmp_diet"
   10527       then
   10528 	tmp_addflag=' $pic_flag'
   10529 	tmp_sharedflag='-shared'
   10530 	case $cc_basename,$host_cpu in
   10531         pgcc*)				# Portland Group C compiler
   10532 	  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'
   10533 	  tmp_addflag=' $pic_flag'
   10534 	  ;;
   10535 	pgf77* | pgf90* | pgf95* | pgfortran*)
   10536 					# Portland Group f77 and f90 compilers
   10537 	  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'
   10538 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   10539 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   10540 	  tmp_addflag=' -i_dynamic' ;;
   10541 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   10542 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   10543 	ifc* | ifort* | ifx*)		# Intel Fortran compiler
   10544 	  tmp_addflag=' -nofor_main' ;;
   10545 	lf95*)				# Lahey Fortran 8.1
   10546 	  whole_archive_flag_spec=
   10547 	  tmp_sharedflag='--shared' ;;
   10548         nagfor*)                        # NAGFOR 5.3
   10549           tmp_sharedflag='-Wl,-shared' ;;
   10550 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   10551 	  tmp_sharedflag='-qmkshrobj'
   10552 	  tmp_addflag= ;;
   10553 	nvcc*)	# Cuda Compiler Driver 2.2
   10554 	  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'
   10555 	  compiler_needs_object=yes
   10556 	  ;;
   10557 	esac
   10558 	case `$CC -V 2>&1 | $SED 5q` in
   10559 	*Sun\ C*)			# Sun C 5.9
   10560 	  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'
   10561 	  compiler_needs_object=yes
   10562 	  tmp_sharedflag='-G' ;;
   10563 	*Sun\ F*)			# Sun Fortran 8.3
   10564 	  tmp_sharedflag='-G' ;;
   10565 	esac
   10566 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10567 
   10568         if test yes = "$supports_anon_versioning"; then
   10569           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10570             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10571             echo "local: *; };" >> $output_objdir/$libname.ver~
   10572             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   10573         fi
   10574 
   10575 	case $cc_basename in
   10576 	tcc*)
   10577 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10578 	  export_dynamic_flag_spec='-rdynamic'
   10579 	  ;;
   10580 	xlf* | bgf* | bgxlf* | mpixlf*)
   10581 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   10582 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   10583 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10584 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   10585 	  if test yes = "$supports_anon_versioning"; then
   10586 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10587               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10588               echo "local: *; };" >> $output_objdir/$libname.ver~
   10589               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   10590 	  fi
   10591 	  ;;
   10592 	esac
   10593       else
   10594         ld_shlibs=no
   10595       fi
   10596       ;;
   10597 
   10598     netbsd* | netbsdelf*-gnu)
   10599       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10600 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   10601 	wlarc=
   10602       else
   10603 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10604 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10605       fi
   10606       ;;
   10607 
   10608     solaris*)
   10609       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   10610 	ld_shlibs=no
   10611 	cat <<_LT_EOF 1>&2
   10612 
   10613 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   10614 *** create shared libraries on Solaris systems.  Therefore, libtool
   10615 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10616 *** binutils to release 2.9.1 or newer.  Another option is to modify
   10617 *** your PATH or compiler configuration so that the native linker is
   10618 *** used, and then restart.
   10619 
   10620 _LT_EOF
   10621       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10622 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10623 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10624       else
   10625 	ld_shlibs=no
   10626       fi
   10627       ;;
   10628 
   10629     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   10630       case `$LD -v 2>&1` in
   10631         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   10632 	ld_shlibs=no
   10633 	cat <<_LT_EOF 1>&2
   10634 
   10635 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   10636 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   10637 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10638 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   10639 *** your PATH or compiler configuration so that the native linker is
   10640 *** used, and then restart.
   10641 
   10642 _LT_EOF
   10643 	;;
   10644 	*)
   10645 	  # For security reasons, it is highly recommended that you always
   10646 	  # use absolute paths for naming shared libraries, and exclude the
   10647 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   10648 	  # requires that you compile everything twice, which is a pain.
   10649 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10650 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10651 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10652 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10653 	  else
   10654 	    ld_shlibs=no
   10655 	  fi
   10656 	;;
   10657       esac
   10658       ;;
   10659 
   10660     sunos4*)
   10661       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10662       wlarc=
   10663       hardcode_direct=yes
   10664       hardcode_shlibpath_var=no
   10665       ;;
   10666 
   10667     *)
   10668       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10669 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10670 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10671       else
   10672 	ld_shlibs=no
   10673       fi
   10674       ;;
   10675     esac
   10676 
   10677     if test no = "$ld_shlibs"; then
   10678       runpath_var=
   10679       hardcode_libdir_flag_spec=
   10680       export_dynamic_flag_spec=
   10681       whole_archive_flag_spec=
   10682     fi
   10683   else
   10684     # PORTME fill in a description of your system's linker (not GNU ld)
   10685     case $host_os in
   10686     aix3*)
   10687       allow_undefined_flag=unsupported
   10688       always_export_symbols=yes
   10689       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'
   10690       # Note: this linker hardcodes the directories in LIBPATH if there
   10691       # are no directories specified by -L.
   10692       hardcode_minus_L=yes
   10693       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   10694 	# Neither direct hardcoding nor static linking is supported with a
   10695 	# broken collect2.
   10696 	hardcode_direct=unsupported
   10697       fi
   10698       ;;
   10699 
   10700     aix[4-9]*)
   10701       if test ia64 = "$host_cpu"; then
   10702 	# On IA64, the linker does run time linking by default, so we don't
   10703 	# have to do anything special.
   10704 	aix_use_runtimelinking=no
   10705 	exp_sym_flag='-Bexport'
   10706 	no_entry_flag=
   10707       else
   10708 	# If we're using GNU nm, then we don't want the "-C" option.
   10709 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   10710 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   10711 	# weak defined symbols like other global defined symbols, whereas
   10712 	# GNU nm marks them as "W".
   10713 	# While the 'weak' keyword is ignored in the Export File, we need
   10714 	# it in the Import File for the 'aix-soname' feature, so we have
   10715 	# to replace the "-B" option with "-P" for AIX nm.
   10716 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   10717 	  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'
   10718 	else
   10719 	  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'
   10720 	fi
   10721 	aix_use_runtimelinking=no
   10722 
   10723 	# Test if we are trying to use run time linking or normal
   10724 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10725 	# have runtime linking enabled, and use it for executables.
   10726 	# For shared libraries, we enable/disable runtime linking
   10727 	# depending on the kind of the shared library created -
   10728 	# when "with_aix_soname,aix_use_runtimelinking" is:
   10729 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   10730 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   10731 	#            lib.a           static archive
   10732 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   10733 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   10734 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   10735 	#            lib.a(lib.so.V) shared, rtl:no
   10736 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   10737 	#            lib.a           static archive
   10738 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10739 	  for ld_flag in $LDFLAGS; do
   10740 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   10741 	    aix_use_runtimelinking=yes
   10742 	    break
   10743 	  fi
   10744 	  done
   10745 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   10746 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   10747 	    # so we don't have lib.a shared libs to link our executables.
   10748 	    # We have to force runtime linking in this case.
   10749 	    aix_use_runtimelinking=yes
   10750 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   10751 	  fi
   10752 	  ;;
   10753 	esac
   10754 
   10755 	exp_sym_flag='-bexport'
   10756 	no_entry_flag='-bnoentry'
   10757       fi
   10758 
   10759       # When large executables or shared objects are built, AIX ld can
   10760       # have problems creating the table of contents.  If linking a library
   10761       # or program results in "error TOC overflow" add -mminimal-toc to
   10762       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10763       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10764 
   10765       archive_cmds=''
   10766       hardcode_direct=yes
   10767       hardcode_direct_absolute=yes
   10768       hardcode_libdir_separator=':'
   10769       link_all_deplibs=yes
   10770       file_list_spec='$wl-f,'
   10771       case $with_aix_soname,$aix_use_runtimelinking in
   10772       aix,*) ;; # traditional, no import file
   10773       svr4,* | *,yes) # use import file
   10774 	# The Import File defines what to hardcode.
   10775 	hardcode_direct=no
   10776 	hardcode_direct_absolute=no
   10777 	;;
   10778       esac
   10779 
   10780       if test yes = "$GCC"; then
   10781 	case $host_os in aix4.[012]|aix4.[012].*)
   10782 	# We only want to do this on AIX 4.2 and lower, the check
   10783 	# below for broken collect2 doesn't work under 4.3+
   10784 	  collect2name=`$CC -print-prog-name=collect2`
   10785 	  if test -f "$collect2name" &&
   10786 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10787 	  then
   10788 	  # We have reworked collect2
   10789 	  :
   10790 	  else
   10791 	  # We have old collect2
   10792 	  hardcode_direct=unsupported
   10793 	  # It fails to find uninstalled libraries when the uninstalled
   10794 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10795 	  # to unsupported forces relinking
   10796 	  hardcode_minus_L=yes
   10797 	  hardcode_libdir_flag_spec='-L$libdir'
   10798 	  hardcode_libdir_separator=
   10799 	  fi
   10800 	  ;;
   10801 	esac
   10802 	shared_flag='-shared'
   10803 	if test yes = "$aix_use_runtimelinking"; then
   10804 	  shared_flag="$shared_flag "'$wl-G'
   10805 	fi
   10806 	# Need to ensure runtime linking is disabled for the traditional
   10807 	# shared library, or the linker may eventually find shared libraries
   10808 	# /with/ Import File - we do not want to mix them.
   10809 	shared_flag_aix='-shared'
   10810 	shared_flag_svr4='-shared $wl-G'
   10811       else
   10812 	# not using gcc
   10813 	if test ia64 = "$host_cpu"; then
   10814 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10815 	# chokes on -Wl,-G. The following line is correct:
   10816 	  shared_flag='-G'
   10817 	else
   10818 	  if test yes = "$aix_use_runtimelinking"; then
   10819 	    shared_flag='$wl-G'
   10820 	  else
   10821 	    shared_flag='$wl-bM:SRE'
   10822 	  fi
   10823 	  shared_flag_aix='$wl-bM:SRE'
   10824 	  shared_flag_svr4='$wl-G'
   10825 	fi
   10826       fi
   10827 
   10828       export_dynamic_flag_spec='$wl-bexpall'
   10829       # It seems that -bexpall does not export symbols beginning with
   10830       # underscore (_), so it is better to generate a list of symbols to export.
   10831       always_export_symbols=yes
   10832       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   10833 	# Warning - without using the other runtime loading flags (-brtl),
   10834 	# -berok will link without error, but may produce a broken library.
   10835 	allow_undefined_flag='-berok'
   10836         # Determine the default libpath from the value encoded in an
   10837         # empty executable.
   10838         if test set = "${lt_cv_aix_libpath+set}"; then
   10839   aix_libpath=$lt_cv_aix_libpath
   10840 else
   10841   if test ${lt_cv_aix_libpath_+y}
   10842 then :
   10843   printf %s "(cached) " >&6
   10844 else case e in #(
   10845   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10846 /* end confdefs.h.  */
   10847 
   10848 int
   10849 main (void)
   10850 {
   10851 
   10852   ;
   10853   return 0;
   10854 }
   10855 _ACEOF
   10856 if ac_fn_c_try_link "$LINENO"
   10857 then :
   10858 
   10859   lt_aix_libpath_sed='
   10860       /Import File Strings/,/^$/ {
   10861 	  /^0/ {
   10862 	      s/^0  *\([^ ]*\) *$/\1/
   10863 	      p
   10864 	  }
   10865       }'
   10866   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10867   # Check for a 64-bit object if we didn't find anything.
   10868   if test -z "$lt_cv_aix_libpath_"; then
   10869     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10870   fi
   10871 fi
   10872 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10873     conftest$ac_exeext conftest.$ac_ext
   10874   if test -z "$lt_cv_aix_libpath_"; then
   10875     lt_cv_aix_libpath_=/usr/lib:/lib
   10876   fi
   10877    ;;
   10878 esac
   10879 fi
   10880 
   10881   aix_libpath=$lt_cv_aix_libpath_
   10882 fi
   10883 
   10884         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10885         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
   10886       else
   10887 	if test ia64 = "$host_cpu"; then
   10888 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   10889 	  allow_undefined_flag="-z nodefs"
   10890 	  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"
   10891 	else
   10892 	 # Determine the default libpath from the value encoded in an
   10893 	 # empty executable.
   10894 	 if test set = "${lt_cv_aix_libpath+set}"; then
   10895   aix_libpath=$lt_cv_aix_libpath
   10896 else
   10897   if test ${lt_cv_aix_libpath_+y}
   10898 then :
   10899   printf %s "(cached) " >&6
   10900 else case e in #(
   10901   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10902 /* end confdefs.h.  */
   10903 
   10904 int
   10905 main (void)
   10906 {
   10907 
   10908   ;
   10909   return 0;
   10910 }
   10911 _ACEOF
   10912 if ac_fn_c_try_link "$LINENO"
   10913 then :
   10914 
   10915   lt_aix_libpath_sed='
   10916       /Import File Strings/,/^$/ {
   10917 	  /^0/ {
   10918 	      s/^0  *\([^ ]*\) *$/\1/
   10919 	      p
   10920 	  }
   10921       }'
   10922   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10923   # Check for a 64-bit object if we didn't find anything.
   10924   if test -z "$lt_cv_aix_libpath_"; then
   10925     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10926   fi
   10927 fi
   10928 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10929     conftest$ac_exeext conftest.$ac_ext
   10930   if test -z "$lt_cv_aix_libpath_"; then
   10931     lt_cv_aix_libpath_=/usr/lib:/lib
   10932   fi
   10933    ;;
   10934 esac
   10935 fi
   10936 
   10937   aix_libpath=$lt_cv_aix_libpath_
   10938 fi
   10939 
   10940 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10941 	  # Warning - without using the other run time loading flags,
   10942 	  # -berok will link without error, but may produce a broken library.
   10943 	  no_undefined_flag=' $wl-bernotok'
   10944 	  allow_undefined_flag=' $wl-berok'
   10945 	  if test yes = "$with_gnu_ld"; then
   10946 	    # We only use this code for GNU lds that support --whole-archive.
   10947 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   10948 	  else
   10949 	    # Exported symbols can be pulled into shared objects from archives
   10950 	    whole_archive_flag_spec='$convenience'
   10951 	  fi
   10952 	  archive_cmds_need_lc=yes
   10953 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   10954 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   10955 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   10956 	  if test svr4 != "$with_aix_soname"; then
   10957 	    # This is similar to how AIX traditionally builds its shared libraries.
   10958 	    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'
   10959 	  fi
   10960 	  if test aix != "$with_aix_soname"; then
   10961 	    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'
   10962 	  else
   10963 	    # used by -dlpreopen to get the symbols
   10964 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   10965 	  fi
   10966 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   10967 	fi
   10968       fi
   10969       ;;
   10970 
   10971     amigaos*)
   10972       case $host_cpu in
   10973       powerpc)
   10974             # see comment about AmigaOS4 .so support
   10975             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10976             archive_expsym_cmds=''
   10977         ;;
   10978       m68k)
   10979             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)'
   10980             hardcode_libdir_flag_spec='-L$libdir'
   10981             hardcode_minus_L=yes
   10982         ;;
   10983       esac
   10984       ;;
   10985 
   10986     bsdi[45]*)
   10987       export_dynamic_flag_spec=-rdynamic
   10988       ;;
   10989 
   10990     cygwin* | mingw* | windows* | pw32* | cegcc*)
   10991       # When not using gcc, we currently assume that we are using
   10992       # Microsoft Visual C++ or Intel C++ Compiler.
   10993       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10994       # no search path for DLLs.
   10995       case $cc_basename in
   10996       cl* | icl* | icx* | icpx*)
   10997 	# Native MSVC and Intel compilers
   10998 	hardcode_libdir_flag_spec=' '
   10999 	allow_undefined_flag=unsupported
   11000 	always_export_symbols=yes
   11001 	file_list_spec='@'
   11002 	# Tell ltmain to make .lib files, not .a files.
   11003 	libext=lib
   11004 	# Tell ltmain to make .dll files, not .so files.
   11005 	shrext_cmds=.dll
   11006 	# FIXME: Setting linknames here is a bad hack.
   11007 	# A check exists to verify if there are linker flags, which will use
   11008 	# different commands when linking.
   11009 	archive_cmds='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   11010 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   11011             cp "$export_symbols" "$output_objdir/$soname.def";
   11012             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.expsym";
   11013           else
   11014             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.expsym;
   11015           fi~
   11016           if test -z "$linker_flags"; then
   11017              $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.expsym" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib";
   11018           else
   11019              $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.expsym" -Wl,$linker_flags-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib";
   11020           fi~
   11021           linknames='
   11022 	# The linker will not automatically build a static lib if we build a DLL.
   11023 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   11024 	enable_shared_with_static_runtimes=yes
   11025 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   11026 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   11027 	# Don't use ranlib
   11028 	old_postinstall_cmds='chmod 644 $oldlib'
   11029 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   11030           lt_tool_outputfile="@TOOL_OUTPUT@"~
   11031           case $lt_outputfile in
   11032             *.exe|*.EXE) ;;
   11033             *)
   11034               lt_outputfile=$lt_outputfile.exe
   11035               lt_tool_outputfile=$lt_tool_outputfile.exe
   11036               ;;
   11037           esac~
   11038           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   11039             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   11040             $RM "$lt_outputfile.manifest";
   11041           fi'
   11042 	;;
   11043       *)
   11044 	# Assume MSVC and ICC wrapper
   11045 	hardcode_libdir_flag_spec=' '
   11046 	allow_undefined_flag=unsupported
   11047 	# Tell ltmain to make .lib files, not .a files.
   11048 	libext=lib
   11049 	# Tell ltmain to make .dll files, not .so files.
   11050 	shrext_cmds=.dll
   11051 	# FIXME: Setting linknames here is a bad hack.
   11052 	archive_cmds='$CC -Fe$lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   11053 	# The linker will automatically build a .lib file if we build a DLL.
   11054 	old_archive_from_new_cmds='true'
   11055 	# FIXME: Should let the user specify the lib program.
   11056 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   11057 	enable_shared_with_static_runtimes=yes
   11058 	;;
   11059       esac
   11060       ;;
   11061 
   11062     darwin* | rhapsody*)
   11063 
   11064 
   11065   archive_cmds_need_lc=no
   11066   hardcode_direct=no
   11067   hardcode_automatic=yes
   11068   hardcode_shlibpath_var=unsupported
   11069   if test yes = "$lt_cv_ld_force_load"; then
   11070     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\"`'
   11071 
   11072   else
   11073     whole_archive_flag_spec=''
   11074   fi
   11075   link_all_deplibs=yes
   11076   allow_undefined_flag=$_lt_dar_allow_undefined
   11077   case $cc_basename in
   11078      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   11079      *) _lt_dar_can_shared=$GCC ;;
   11080   esac
   11081   if test yes = "$_lt_dar_can_shared"; then
   11082     output_verbose_link_cmd=func_echo_all
   11083     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   11084     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   11085     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"
   11086     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"
   11087 
   11088   else
   11089   ld_shlibs=no
   11090   fi
   11091 
   11092       ;;
   11093 
   11094     dgux*)
   11095       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11096       hardcode_libdir_flag_spec='-L$libdir'
   11097       hardcode_shlibpath_var=no
   11098       ;;
   11099 
   11100     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   11101     # support.  Future versions do this automatically, but an explicit c++rt0.o
   11102     # does not break anything, and helps significantly (at the cost of a little
   11103     # extra space).
   11104     freebsd2.2*)
   11105       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   11106       hardcode_libdir_flag_spec='-R$libdir'
   11107       hardcode_direct=yes
   11108       hardcode_shlibpath_var=no
   11109       ;;
   11110 
   11111     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   11112     freebsd2.*)
   11113       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   11114       hardcode_direct=yes
   11115       hardcode_minus_L=yes
   11116       hardcode_shlibpath_var=no
   11117       ;;
   11118 
   11119     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   11120     freebsd* | dragonfly* | midnightbsd*)
   11121       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11122       hardcode_libdir_flag_spec='-R$libdir'
   11123       hardcode_direct=yes
   11124       hardcode_shlibpath_var=no
   11125       ;;
   11126 
   11127     hpux9*)
   11128       if test yes = "$GCC"; then
   11129 	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'
   11130       else
   11131 	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'
   11132       fi
   11133       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11134       hardcode_libdir_separator=:
   11135       hardcode_direct=yes
   11136 
   11137       # hardcode_minus_L: Not really in the search PATH,
   11138       # but as the default location of the library.
   11139       hardcode_minus_L=yes
   11140       export_dynamic_flag_spec='$wl-E'
   11141       ;;
   11142 
   11143     hpux10*)
   11144       if test yes,no = "$GCC,$with_gnu_ld"; then
   11145 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11146       else
   11147 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   11148       fi
   11149       if test no = "$with_gnu_ld"; then
   11150 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11151 	hardcode_libdir_separator=:
   11152 	hardcode_direct=yes
   11153 	hardcode_direct_absolute=yes
   11154 	export_dynamic_flag_spec='$wl-E'
   11155 	# hardcode_minus_L: Not really in the search PATH,
   11156 	# but as the default location of the library.
   11157 	hardcode_minus_L=yes
   11158       fi
   11159       ;;
   11160 
   11161     hpux11*)
   11162       if test yes,no = "$GCC,$with_gnu_ld"; then
   11163 	case $host_cpu in
   11164 	hppa*64*)
   11165 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11166 	  ;;
   11167 	ia64*)
   11168 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   11169 	  ;;
   11170 	*)
   11171 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11172 	  ;;
   11173 	esac
   11174       else
   11175 	case $host_cpu in
   11176 	hppa*64*)
   11177 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11178 	  ;;
   11179 	ia64*)
   11180 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   11181 	  ;;
   11182 	*)
   11183 
   11184 	  # Older versions of the 11.00 compiler do not understand -b yet
   11185 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   11186 	  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   11187 printf %s "checking if $CC understands -b... " >&6; }
   11188 if test ${lt_cv_prog_compiler__b+y}
   11189 then :
   11190   printf %s "(cached) " >&6
   11191 else case e in #(
   11192   e) lt_cv_prog_compiler__b=no
   11193    save_LDFLAGS=$LDFLAGS
   11194    LDFLAGS="$LDFLAGS -b"
   11195    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   11196    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   11197      # The linker can only warn and ignore the option if not recognized
   11198      # So say no if there are warnings
   11199      if test -s conftest.err; then
   11200        # Append any errors to the config.log.
   11201        cat conftest.err 1>&5
   11202        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.expsym
   11203        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   11204        if diff conftest.expsym conftest.er2 >/dev/null; then
   11205          lt_cv_prog_compiler__b=yes
   11206        fi
   11207      else
   11208        lt_cv_prog_compiler__b=yes
   11209      fi
   11210    fi
   11211    $RM -r conftest*
   11212    LDFLAGS=$save_LDFLAGS
   11213  ;;
   11214 esac
   11215 fi
   11216 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   11217 printf '%s\n' "$lt_cv_prog_compiler__b" >&6; }
   11218 
   11219 if test yes = "$lt_cv_prog_compiler__b"; then
   11220     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11221 else
   11222     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   11223 fi
   11224 
   11225 	  ;;
   11226 	esac
   11227       fi
   11228       if test no = "$with_gnu_ld"; then
   11229 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11230 	hardcode_libdir_separator=:
   11231 
   11232 	case $host_cpu in
   11233 	hppa*64*|ia64*)
   11234 	  hardcode_direct=no
   11235 	  hardcode_shlibpath_var=no
   11236 	  ;;
   11237 	*)
   11238 	  hardcode_direct=yes
   11239 	  hardcode_direct_absolute=yes
   11240 	  export_dynamic_flag_spec='$wl-E'
   11241 
   11242 	  # hardcode_minus_L: Not really in the search PATH,
   11243 	  # but as the default location of the library.
   11244 	  hardcode_minus_L=yes
   11245 	  ;;
   11246 	esac
   11247       fi
   11248       ;;
   11249 
   11250     irix5* | irix6* | nonstopux*)
   11251       if test yes = "$GCC"; then
   11252 	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'
   11253 	# Try to use the -exported_symbol ld option, if it does not
   11254 	# work, assume that -exports_file does not work either and
   11255 	# implicitly export all symbols.
   11256 	# This should be the same for all languages, so no per-tag cache variable.
   11257 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   11258 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   11259 if test ${lt_cv_irix_exported_symbol+y}
   11260 then :
   11261   printf %s "(cached) " >&6
   11262 else case e in #(
   11263   e) save_LDFLAGS=$LDFLAGS
   11264 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   11265 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11266 /* end confdefs.h.  */
   11267 int foo (void) { return 0; }
   11268 _ACEOF
   11269 if ac_fn_c_try_link "$LINENO"
   11270 then :
   11271   lt_cv_irix_exported_symbol=yes
   11272 else case e in #(
   11273   e) lt_cv_irix_exported_symbol=no ;;
   11274 esac
   11275 fi
   11276 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11277     conftest$ac_exeext conftest.$ac_ext
   11278            LDFLAGS=$save_LDFLAGS ;;
   11279 esac
   11280 fi
   11281 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   11282 printf '%s\n' "$lt_cv_irix_exported_symbol" >&6; }
   11283 	if test yes = "$lt_cv_irix_exported_symbol"; then
   11284           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'
   11285 	fi
   11286       else
   11287 	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'
   11288 	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'
   11289       fi
   11290       archive_cmds_need_lc='no'
   11291       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11292       hardcode_libdir_separator=:
   11293       inherit_rpath=yes
   11294       link_all_deplibs=yes
   11295       ;;
   11296 
   11297     *-mlibc)
   11298       ;;
   11299 
   11300     linux*)
   11301       case $cc_basename in
   11302       tcc*)
   11303 	# Fabrice Bellard et al's Tiny C Compiler
   11304 	ld_shlibs=yes
   11305 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11306 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11307 	;;
   11308       esac
   11309       ;;
   11310 
   11311     netbsd* | netbsdelf*-gnu)
   11312       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11313 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   11314       else
   11315 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   11316       fi
   11317       hardcode_libdir_flag_spec='-R$libdir'
   11318       hardcode_direct=yes
   11319       hardcode_shlibpath_var=no
   11320       ;;
   11321 
   11322     newsos6)
   11323       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11324       hardcode_direct=yes
   11325       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11326       hardcode_libdir_separator=:
   11327       hardcode_shlibpath_var=no
   11328       ;;
   11329 
   11330     *nto* | *qnx*)
   11331       ;;
   11332 
   11333     openbsd*)
   11334       if test -f /usr/libexec/ld.so; then
   11335 	hardcode_direct=yes
   11336 	hardcode_shlibpath_var=no
   11337 	hardcode_direct_absolute=yes
   11338 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11339 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11340 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   11341 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11342 	  export_dynamic_flag_spec='$wl-E'
   11343 	else
   11344 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11345 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11346 	fi
   11347       else
   11348 	ld_shlibs=no
   11349       fi
   11350       ;;
   11351 
   11352     os2*)
   11353       hardcode_libdir_flag_spec='-L$libdir'
   11354       hardcode_minus_L=yes
   11355       allow_undefined_flag=unsupported
   11356       shrext_cmds=.dll
   11357       archive_cmds='echo "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11358 	echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11359 	echo "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11360 	echo EXPORTS >> $output_objdir/$libname.def~
   11361 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   11362 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11363 	emximp -o $lib $output_objdir/$libname.def'
   11364       archive_expsym_cmds='echo "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11365 	echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11366 	echo "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11367 	echo EXPORTS >> $output_objdir/$libname.def~
   11368 	prefix_cmds="$SED"~
   11369 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   11370 	  prefix_cmds="$prefix_cmds -e 1d";
   11371 	fi~
   11372 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   11373 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   11374 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11375 	emximp -o $lib $output_objdir/$libname.def'
   11376       enable_shared_with_static_runtimes=yes
   11377       file_list_spec='@'
   11378       ;;
   11379 
   11380     osf3*)
   11381       if test yes = "$GCC"; then
   11382 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11383 	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'
   11384       else
   11385 	allow_undefined_flag=' -expect_unresolved \*'
   11386 	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'
   11387       fi
   11388       archive_cmds_need_lc='no'
   11389       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11390       hardcode_libdir_separator=:
   11391       ;;
   11392 
   11393     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   11394       if test yes = "$GCC"; then
   11395 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11396 	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'
   11397 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11398       else
   11399 	allow_undefined_flag=' -expect_unresolved \*'
   11400 	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'
   11401 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.expsym; done; printf "%s\\n" "-hidden">> $lib.expsym~
   11402           $CC -shared$allow_undefined_flag $wl-input $wl$lib.expsym $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.expsym'
   11403 
   11404 	# Both c and cxx compiler support -rpath directly
   11405 	hardcode_libdir_flag_spec='-rpath $libdir'
   11406       fi
   11407       archive_cmds_need_lc='no'
   11408       hardcode_libdir_separator=:
   11409       ;;
   11410 
   11411     serenity*)
   11412       ;;
   11413 
   11414     solaris*)
   11415       no_undefined_flag=' -z defs'
   11416       if test yes = "$GCC"; then
   11417 	wlarc='$wl'
   11418 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11419 	archive_expsym_cmds='echo "{ global:" > $lib.expsym~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.expsym~echo "local: *; };" >> $lib.expsym~
   11420           $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.expsym $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.expsym'
   11421       else
   11422 	case `$CC -V 2>&1` in
   11423 	*"Compilers 5.0"*)
   11424 	  wlarc=''
   11425 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11426 	  archive_expsym_cmds='echo "{ global:" > $lib.expsym~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.expsym~echo "local: *; };" >> $lib.expsym~
   11427             $LD -G$allow_undefined_flag -M $lib.expsym -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.expsym'
   11428 	  ;;
   11429 	*)
   11430 	  wlarc='$wl'
   11431 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11432 	  archive_expsym_cmds='echo "{ global:" > $lib.expsym~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.expsym~echo "local: *; };" >> $lib.expsym~
   11433             $CC -G$allow_undefined_flag -M $lib.expsym -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.expsym'
   11434 	  ;;
   11435 	esac
   11436       fi
   11437       hardcode_libdir_flag_spec='-R$libdir'
   11438       hardcode_shlibpath_var=no
   11439       case $host_os in
   11440       solaris2.[0-5] | solaris2.[0-5].*) ;;
   11441       *)
   11442 	# The compiler driver will combine and reorder linker options,
   11443 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   11444 	# but is careful enough not to reorder.
   11445 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   11446 	if test yes = "$GCC"; then
   11447 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   11448 	else
   11449 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   11450 	fi
   11451 	;;
   11452       esac
   11453       link_all_deplibs=yes
   11454       ;;
   11455 
   11456     sunos4*)
   11457       if test sequent = "$host_vendor"; then
   11458 	# Use $CC to link under sequent, because it throws in some extra .o
   11459 	# files that make .init and .fini sections work.
   11460 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11461       else
   11462 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   11463       fi
   11464       hardcode_libdir_flag_spec='-L$libdir'
   11465       hardcode_direct=yes
   11466       hardcode_minus_L=yes
   11467       hardcode_shlibpath_var=no
   11468       ;;
   11469 
   11470     sysv4)
   11471       case $host_vendor in
   11472 	sni)
   11473 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11474 	  hardcode_direct=yes # is this really true???
   11475 	;;
   11476 	siemens)
   11477 	  ## LD is ld it makes a PLAMLIB
   11478 	  ## CC just makes a GrossModule.
   11479 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   11480 	  reload_cmds='$CC -r -o $output$reload_objs'
   11481 	  hardcode_direct=no
   11482         ;;
   11483 	motorola)
   11484 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11485 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   11486 	;;
   11487       esac
   11488       runpath_var='LD_RUN_PATH'
   11489       hardcode_shlibpath_var=no
   11490       ;;
   11491 
   11492     sysv4.3*)
   11493       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11494       hardcode_shlibpath_var=no
   11495       export_dynamic_flag_spec='-Bexport'
   11496       ;;
   11497 
   11498     sysv4*MP*)
   11499       if test -d /usr/nec; then
   11500 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11501 	hardcode_shlibpath_var=no
   11502 	runpath_var=LD_RUN_PATH
   11503 	hardcode_runpath_var=yes
   11504 	ld_shlibs=yes
   11505       fi
   11506       ;;
   11507 
   11508     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11509       no_undefined_flag='$wl-z,text'
   11510       archive_cmds_need_lc=no
   11511       hardcode_shlibpath_var=no
   11512       runpath_var='LD_RUN_PATH'
   11513 
   11514       if test yes = "$GCC"; then
   11515 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11516 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11517       else
   11518 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11519 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11520       fi
   11521       ;;
   11522 
   11523     sysv5* | sco3.2v5* | sco5v6*)
   11524       # Note: We CANNOT use -z defs as we might desire, because we do not
   11525       # link with -lc, and that would cause any symbols used from libc to
   11526       # always be unresolved, which means just about no library would
   11527       # ever link correctly.  If we're not using GNU ld we use -z text
   11528       # though, which does catch some bad symbols but isn't as heavy-handed
   11529       # as -z defs.
   11530       no_undefined_flag='$wl-z,text'
   11531       allow_undefined_flag='$wl-z,nodefs'
   11532       archive_cmds_need_lc=no
   11533       hardcode_shlibpath_var=no
   11534       hardcode_libdir_flag_spec='$wl-R,$libdir'
   11535       hardcode_libdir_separator=':'
   11536       link_all_deplibs=yes
   11537       export_dynamic_flag_spec='$wl-Bexport'
   11538       runpath_var='LD_RUN_PATH'
   11539 
   11540       if test yes = "$GCC"; then
   11541 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11542 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11543       else
   11544 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11545 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11546       fi
   11547       ;;
   11548 
   11549     uts4*)
   11550       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11551       hardcode_libdir_flag_spec='-L$libdir'
   11552       hardcode_shlibpath_var=no
   11553       ;;
   11554 
   11555     *)
   11556       ld_shlibs=no
   11557       ;;
   11558     esac
   11559 
   11560     if test sni = "$host_vendor"; then
   11561       case $host in
   11562       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   11563 	export_dynamic_flag_spec='$wl-Blargedynsym'
   11564 	;;
   11565       esac
   11566     fi
   11567   fi
   11568 
   11569 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   11570 printf '%s\n' "$ld_shlibs" >&6; }
   11571 test no = "$ld_shlibs" && can_build_shared=no
   11572 
   11573 with_gnu_ld=$with_gnu_ld
   11574 
   11575 
   11576 
   11577 
   11578 
   11579 
   11580 
   11581 
   11582 
   11583 
   11584 
   11585 
   11586 
   11587 
   11588 
   11589 #
   11590 # Do we need to explicitly link libc?
   11591 #
   11592 case "x$archive_cmds_need_lc" in
   11593 x|xyes)
   11594   # Assume -lc should be added
   11595   archive_cmds_need_lc=yes
   11596 
   11597   if test yes,yes = "$GCC,$enable_shared"; then
   11598     case $archive_cmds in
   11599     *'~'*)
   11600       # FIXME: we may have to deal with multi-command sequences.
   11601       ;;
   11602     '$CC '*)
   11603       # Test whether the compiler implicitly links with -lc since on some
   11604       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   11605       # to ld, don't add -lc before -lgcc.
   11606       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   11607 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   11608 if test ${lt_cv_archive_cmds_need_lc+y}
   11609 then :
   11610   printf %s "(cached) " >&6
   11611 else case e in #(
   11612   e) $RM conftest*
   11613 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11614 
   11615 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11616   (eval $ac_compile) 2>&5
   11617   ac_status=$?
   11618   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11619   test $ac_status = 0; } 2>conftest.err; then
   11620 	  soname=conftest
   11621 	  lib=conftest
   11622 	  libobjs=conftest.$ac_objext
   11623 	  deplibs=
   11624 	  wl=$lt_prog_compiler_wl
   11625 	  pic_flag=$lt_prog_compiler_pic
   11626 	  compiler_flags=-v
   11627 	  linker_flags=-v
   11628 	  verstring=
   11629 	  output_objdir=.
   11630 	  libname=conftest
   11631 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   11632 	  allow_undefined_flag=
   11633 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   11634   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   11635   ac_status=$?
   11636   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11637   test $ac_status = 0; }
   11638 	  then
   11639 	    lt_cv_archive_cmds_need_lc=no
   11640 	  else
   11641 	    lt_cv_archive_cmds_need_lc=yes
   11642 	  fi
   11643 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   11644 	else
   11645 	  cat conftest.err 1>&5
   11646 	fi
   11647 	$RM conftest*
   11648 	 ;;
   11649 esac
   11650 fi
   11651 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   11652 printf '%s\n' "$lt_cv_archive_cmds_need_lc" >&6; }
   11653       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   11654       ;;
   11655     esac
   11656   fi
   11657   ;;
   11658 esac
   11659 
   11660 
   11661 
   11662 
   11663 
   11664 
   11665 
   11666 
   11667 
   11668 
   11669 
   11670 
   11671 
   11672 
   11673 
   11674 
   11675 
   11676 
   11677 
   11678 
   11679 
   11680 
   11681 
   11682 
   11683 
   11684 
   11685 
   11686 
   11687 
   11688 
   11689 
   11690 
   11691 
   11692 
   11693 
   11694 
   11695 
   11696 
   11697 
   11698 
   11699 
   11700 
   11701 
   11702 
   11703 
   11704 
   11705 
   11706 
   11707 
   11708 
   11709 
   11710 
   11711 
   11712 
   11713 
   11714 
   11715 
   11716 
   11717 
   11718 
   11719 
   11720 
   11721 
   11722 
   11723 
   11724 
   11725 
   11726 
   11727 
   11728 
   11729 
   11730 
   11731 
   11732 
   11733 
   11734 
   11735 
   11736 
   11737 
   11738 
   11739 
   11740 
   11741 
   11742 
   11743 
   11744 
   11745 
   11746 
   11747 
   11748 
   11749 
   11750 
   11751 
   11752 
   11753 
   11754 
   11755 
   11756 
   11757 
   11758 
   11759 
   11760 
   11761 
   11762 
   11763 
   11764 
   11765 
   11766 
   11767 
   11768 
   11769 
   11770 
   11771 
   11772 
   11773 
   11774 
   11775 
   11776 
   11777 
   11778 
   11779 
   11780 
   11781 
   11782 
   11783 
   11784 
   11785 
   11786 
   11787 
   11788 
   11789 
   11790 
   11791 
   11792 
   11793 
   11794 
   11795 
   11796 
   11797 
   11798 
   11799 
   11800 
   11801 
   11802 
   11803 
   11804 
   11805 
   11806 
   11807 
   11808 
   11809 
   11810 
   11811   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11812 printf %s "checking dynamic linker characteristics... " >&6; }
   11813 
   11814 if test yes = "$GCC"; then
   11815   case $host_os in
   11816     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   11817     *) lt_awk_arg='/^libraries:/' ;;
   11818   esac
   11819   case $host_os in
   11820     mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   11821     *) lt_sed_strip_eq='s|=/|/|g' ;;
   11822   esac
   11823   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11824   case $lt_search_path_spec in
   11825   *\;*)
   11826     # if the path contains ";" then we assume it to be the separator
   11827     # otherwise default to the standard path separator (i.e. ":") - it is
   11828     # assumed that no part of a normal pathname contains ";" but that should
   11829     # okay in the real world where ";" in dirpaths is itself problematic.
   11830     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11831     ;;
   11832   *)
   11833     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11834     ;;
   11835   esac
   11836   # Ok, now we have the path, separated by spaces, we can step through it
   11837   # and add multilib dir if necessary...
   11838   lt_tmp_lt_search_path_spec=
   11839   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11840   # ...but if some path component already ends with the multilib dir we assume
   11841   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   11842   case "$lt_multi_os_dir; $lt_search_path_spec " in
   11843   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   11844     lt_multi_os_dir=
   11845     ;;
   11846   esac
   11847   for lt_sys_path in $lt_search_path_spec; do
   11848     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   11849       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   11850     elif test -n "$lt_multi_os_dir"; then
   11851       test -d "$lt_sys_path" && \
   11852 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11853     fi
   11854   done
   11855   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11856 BEGIN {RS = " "; FS = "/|\n";} {
   11857   lt_foo = "";
   11858   lt_count = 0;
   11859   for (lt_i = NF; lt_i > 0; lt_i--) {
   11860     if ($lt_i != "" && $lt_i != ".") {
   11861       if ($lt_i == "..") {
   11862         lt_count++;
   11863       } else {
   11864         if (lt_count == 0) {
   11865           lt_foo = "/" $lt_i lt_foo;
   11866         } else {
   11867           lt_count--;
   11868         }
   11869       }
   11870     }
   11871   }
   11872   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11873   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11874 }'`
   11875   # AWK program above erroneously prepends '/' to C:/dos/paths
   11876   # for these hosts.
   11877   case $host_os in
   11878     mingw* | windows* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11879       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   11880   esac
   11881   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11882 else
   11883   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11884 fi
   11885 library_names_spec=
   11886 libname_spec='lib$name'
   11887 soname_spec=
   11888 shrext_cmds=.so
   11889 postinstall_cmds=
   11890 postuninstall_cmds=
   11891 finish_cmds=
   11892 finish_eval=
   11893 shlibpath_var=
   11894 shlibpath_overrides_runpath=unknown
   11895 version_type=none
   11896 dynamic_linker="$host_os ld.so"
   11897 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11898 need_lib_prefix=unknown
   11899 hardcode_into_libs=no
   11900 
   11901 # when you set need_version to no, make sure it does not cause -set_version
   11902 # flags to be left without arguments
   11903 need_version=unknown
   11904 
   11905 
   11906 
   11907 case $host_os in
   11908 aix3*)
   11909   version_type=linux # correct to gnu/linux during the next big refactor
   11910   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   11911   shlibpath_var=LIBPATH
   11912 
   11913   # AIX 3 has no versioning support, so we append a major version to the name.
   11914   soname_spec='$libname$release$shared_ext$major'
   11915   ;;
   11916 
   11917 aix[4-9]*)
   11918   version_type=linux # correct to gnu/linux during the next big refactor
   11919   need_lib_prefix=no
   11920   need_version=no
   11921   hardcode_into_libs=yes
   11922   if test ia64 = "$host_cpu"; then
   11923     # AIX 5 supports IA64
   11924     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   11925     shlibpath_var=LD_LIBRARY_PATH
   11926   else
   11927     # With GCC up to 2.95.x, collect2 would create an import file
   11928     # for dependence libraries.  The import file would start with
   11929     # the line '#! .'.  This would cause the generated library to
   11930     # depend on '.', always an invalid library.  This was fixed in
   11931     # development snapshots of GCC prior to 3.0.
   11932     case $host_os in
   11933       aix4 | aix4.[01] | aix4.[01].*)
   11934       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11935 	   echo ' yes '
   11936 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   11937 	:
   11938       else
   11939 	can_build_shared=no
   11940       fi
   11941       ;;
   11942     esac
   11943     # Using Import Files as archive members, it is possible to support
   11944     # filename-based versioning of shared library archives on AIX. While
   11945     # this would work for both with and without runtime linking, it will
   11946     # prevent static linking of such archives. So we do filename-based
   11947     # shared library versioning with .so extension only, which is used
   11948     # when both runtime linking and shared linking is enabled.
   11949     # Unfortunately, runtime linking may impact performance, so we do
   11950     # not want this to be the default eventually. Also, we use the
   11951     # versioned .so libs for executables only if there is the -brtl
   11952     # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
   11953     # To allow for filename-based versioning support, we need to create
   11954     # libNAME.so.V as an archive file, containing:
   11955     # *) an Import File, referring to the versioned filename of the
   11956     #    archive as well as the shared archive member, telling the
   11957     #    bitwidth (32 or 64) of that shared object, and providing the
   11958     #    list of exported symbols of that shared object, eventually
   11959     #    decorated with the 'weak' keyword
   11960     # *) the shared object with the F_LOADONLY flag set, to really avoid
   11961     #    it being seen by the linker.
   11962     # At run time we better use the real file rather than another symlink,
   11963     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   11964 
   11965     case $with_aix_soname,$aix_use_runtimelinking in
   11966     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   11967     # soname into executable. Probably we can add versioning support to
   11968     # collect2, so additional links can be useful in future.
   11969     aix,yes) # traditional libtool
   11970       dynamic_linker='AIX unversionable lib.so'
   11971       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11972       # instead of lib<name>.a to let people know that these are not
   11973       # typical AIX shared libraries.
   11974       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11975       ;;
   11976     aix,no) # traditional AIX only
   11977       dynamic_linker='AIX lib.a(lib.so.V)'
   11978       # We preserve .a as extension for shared libraries through AIX4.2
   11979       # and later when we are not doing run time linking.
   11980       library_names_spec='$libname$release.a $libname.a'
   11981       soname_spec='$libname$release$shared_ext$major'
   11982       ;;
   11983     svr4,*) # full svr4 only
   11984       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   11985       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11986       # We do not specify a path in Import Files, so LIBPATH fires.
   11987       shlibpath_overrides_runpath=yes
   11988       ;;
   11989     *,yes) # both, prefer svr4
   11990       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   11991       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11992       # unpreferred sharedlib libNAME.a needs extra handling
   11993       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"'
   11994       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"'
   11995       # We do not specify a path in Import Files, so LIBPATH fires.
   11996       shlibpath_overrides_runpath=yes
   11997       ;;
   11998     *,no) # both, prefer aix
   11999       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   12000       library_names_spec='$libname$release.a $libname.a'
   12001       soname_spec='$libname$release$shared_ext$major'
   12002       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   12003       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)'
   12004       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"'
   12005       ;;
   12006     esac
   12007     shlibpath_var=LIBPATH
   12008   fi
   12009   ;;
   12010 
   12011 amigaos*)
   12012   case $host_cpu in
   12013   powerpc)
   12014     # Since July 2007 AmigaOS4 officially supports .so libraries.
   12015     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   12016     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12017     ;;
   12018   m68k)
   12019     library_names_spec='$libname.ixlibrary $libname.a'
   12020     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   12021     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'
   12022     ;;
   12023   esac
   12024   ;;
   12025 
   12026 beos*)
   12027   library_names_spec='$libname$shared_ext'
   12028   dynamic_linker="$host_os ld.so"
   12029   shlibpath_var=LIBRARY_PATH
   12030   ;;
   12031 
   12032 bsdi[45]*)
   12033   version_type=linux # correct to gnu/linux during the next big refactor
   12034   need_version=no
   12035   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12036   soname_spec='$libname$release$shared_ext$major'
   12037   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   12038   shlibpath_var=LD_LIBRARY_PATH
   12039   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   12040   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   12041   # the default ld.so.conf also contains /usr/contrib/lib and
   12042   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   12043   # libtool to hard-code these into programs
   12044   ;;
   12045 
   12046 cygwin* | mingw* | windows* | pw32* | cegcc*)
   12047   version_type=windows
   12048   shrext_cmds=.dll
   12049   need_version=no
   12050   need_lib_prefix=no
   12051 
   12052   case $GCC,$cc_basename in
   12053   yes,*)
   12054     # gcc
   12055     library_names_spec='$libname.dll.a'
   12056     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   12057     # If user builds GCC with multilib enabled,
   12058     # it should just install on $(libdir)
   12059     # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
   12060     if test xyes = x"$multilib"; then
   12061       postinstall_cmds='base_file=`basename \$file`~
   12062         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   12063         dldir=$destdir/`dirname \$dlpath`~
   12064         $install_prog $dir/$dlname $destdir/$dlname~
   12065         chmod a+x $destdir/$dlname~
   12066         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12067           eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
   12068         fi'
   12069     else
   12070       postinstall_cmds='base_file=`basename \$file`~
   12071         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   12072         dldir=$destdir/`dirname \$dlpath`~
   12073         test -d \$dldir || mkdir -p \$dldir~
   12074         $install_prog $dir/$dlname \$dldir/$dlname~
   12075         chmod a+x \$dldir/$dlname~
   12076         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12077           eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   12078         fi'
   12079     fi
   12080     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   12081       dlpath=$dir/\$dldll~
   12082        $RM \$dlpath'
   12083     shlibpath_overrides_runpath=yes
   12084 
   12085     case $host_os in
   12086     cygwin*)
   12087       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   12088       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12089 
   12090       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   12091       ;;
   12092     mingw* | windows* | cegcc*)
   12093       # MinGW DLLs use traditional 'lib' prefix
   12094       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12095       ;;
   12096     pw32*)
   12097       # pw32 DLLs use 'pw' prefix rather than 'lib'
   12098       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12099       ;;
   12100     esac
   12101     dynamic_linker='Win32 ld.exe'
   12102     ;;
   12103 
   12104   *,cl* | *,icl* | *,icx*)
   12105     # Native MSVC and Intel compilers
   12106     libname_spec='$name'
   12107     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12108     library_names_spec='$libname.dll.lib'
   12109 
   12110     case $build_os in
   12111     mingw* | windows*)
   12112       sys_lib_search_path_spec=
   12113       lt_save_ifs=$IFS
   12114       IFS=';'
   12115       for lt_path in $LIB
   12116       do
   12117         IFS=$lt_save_ifs
   12118         # Let DOS variable expansion print the short 8.3 style file name.
   12119         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   12120         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   12121       done
   12122       IFS=$lt_save_ifs
   12123       # Convert to MSYS style.
   12124       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   12125       ;;
   12126     cygwin*)
   12127       # Convert to unix form, then to dos form, then back to unix form
   12128       # but this time dos style (no spaces!) so that the unix form looks
   12129       # like /cygdrive/c/PROGRA~1:/cygdr...
   12130       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   12131       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   12132       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   12133       ;;
   12134     *)
   12135       sys_lib_search_path_spec=$LIB
   12136       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   12137         # It is most probably a Windows format PATH.
   12138         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   12139       else
   12140         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   12141       fi
   12142       # FIXME: find the short name or the path components, as spaces are
   12143       # common. (e.g. "Program Files" -> "PROGRA~1")
   12144       ;;
   12145     esac
   12146 
   12147     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   12148     postinstall_cmds='base_file=`basename \$file`~
   12149       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   12150       dldir=$destdir/`dirname \$dlpath`~
   12151       test -d \$dldir || mkdir -p \$dldir~
   12152       $install_prog $dir/$dlname \$dldir/$dlname'
   12153     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   12154       dlpath=$dir/\$dldll~
   12155        $RM \$dlpath'
   12156     shlibpath_overrides_runpath=yes
   12157     dynamic_linker='Win32 link.exe'
   12158     ;;
   12159 
   12160   *)
   12161     # Assume MSVC and ICC wrapper
   12162     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   12163     dynamic_linker='Win32 ld.exe'
   12164     ;;
   12165   esac
   12166   # FIXME: first we should search . and the directory the executable is in
   12167   shlibpath_var=PATH
   12168   ;;
   12169 
   12170 darwin* | rhapsody*)
   12171   dynamic_linker="$host_os dyld"
   12172   version_type=darwin
   12173   need_lib_prefix=no
   12174   need_version=no
   12175   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   12176   soname_spec='$libname$release$major$shared_ext'
   12177   shlibpath_overrides_runpath=yes
   12178   shlibpath_var=DYLD_LIBRARY_PATH
   12179   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   12180 
   12181   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   12182   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   12183   ;;
   12184 
   12185 dgux*)
   12186   version_type=linux # correct to gnu/linux during the next big refactor
   12187   need_lib_prefix=no
   12188   need_version=no
   12189   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12190   soname_spec='$libname$release$shared_ext$major'
   12191   shlibpath_var=LD_LIBRARY_PATH
   12192   ;;
   12193 
   12194 freebsd* | dragonfly* | midnightbsd*)
   12195   # DragonFly does not have aout.  When/if they implement a new
   12196   # versioning mechanism, adjust this.
   12197   if test -x /usr/bin/objformat; then
   12198     objformat=`/usr/bin/objformat`
   12199   else
   12200     case $host_os in
   12201     freebsd[23].*) objformat=aout ;;
   12202     *) objformat=elf ;;
   12203     esac
   12204   fi
   12205   version_type=freebsd-$objformat
   12206   case $version_type in
   12207     freebsd-elf*)
   12208       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12209       soname_spec='$libname$release$shared_ext$major'
   12210       need_version=no
   12211       need_lib_prefix=no
   12212       ;;
   12213     freebsd-*)
   12214       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12215       need_version=yes
   12216       ;;
   12217   esac
   12218   case $host_cpu in
   12219     powerpc64)
   12220       # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
   12221       # binaries.  See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
   12222       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12223 /* end confdefs.h.  */
   12224 int test_pointer_size[sizeof (void *) - 5];
   12225 
   12226 _ACEOF
   12227 if ac_fn_c_try_compile "$LINENO"
   12228 then :
   12229   shlibpath_var=LD_LIBRARY_PATH
   12230 else case e in #(
   12231   e) shlibpath_var=LD_32_LIBRARY_PATH ;;
   12232 esac
   12233 fi
   12234 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12235       ;;
   12236     *)
   12237       shlibpath_var=LD_LIBRARY_PATH
   12238       ;;
   12239   esac
   12240   case $host_os in
   12241   freebsd2.*)
   12242     shlibpath_overrides_runpath=yes
   12243     ;;
   12244   freebsd3.[01]* | freebsdelf3.[01]*)
   12245     shlibpath_overrides_runpath=yes
   12246     hardcode_into_libs=yes
   12247     ;;
   12248   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   12249   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   12250     shlibpath_overrides_runpath=no
   12251     hardcode_into_libs=yes
   12252     ;;
   12253   *) # from 4.6 on, and DragonFly
   12254     shlibpath_overrides_runpath=yes
   12255     hardcode_into_libs=yes
   12256     ;;
   12257   esac
   12258   ;;
   12259 
   12260 haiku*)
   12261   version_type=linux # correct to gnu/linux during the next big refactor
   12262   need_lib_prefix=no
   12263   need_version=no
   12264   dynamic_linker="$host_os runtime_loader"
   12265   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12266   soname_spec='$libname$release$shared_ext$major'
   12267   shlibpath_var=LIBRARY_PATH
   12268   shlibpath_overrides_runpath=no
   12269   sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib'
   12270   sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib'
   12271   hardcode_into_libs=no
   12272   ;;
   12273 
   12274 hpux9* | hpux10* | hpux11*)
   12275   # Give a soname corresponding to the major version so that dld.sl refuses to
   12276   # link against other versions.
   12277   version_type=sunos
   12278   need_lib_prefix=no
   12279   need_version=no
   12280   case $host_cpu in
   12281   ia64*)
   12282     shrext_cmds='.so'
   12283     hardcode_into_libs=yes
   12284     dynamic_linker="$host_os dld.so"
   12285     shlibpath_var=LD_LIBRARY_PATH
   12286     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12287     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12288     soname_spec='$libname$release$shared_ext$major'
   12289     if test 32 = "$HPUX_IA64_MODE"; then
   12290       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   12291       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   12292     else
   12293       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   12294       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   12295     fi
   12296     ;;
   12297   hppa*64*)
   12298     shrext_cmds='.sl'
   12299     hardcode_into_libs=yes
   12300     dynamic_linker="$host_os dld.sl"
   12301     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   12302     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12303     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12304     soname_spec='$libname$release$shared_ext$major'
   12305     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   12306     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12307     ;;
   12308   *)
   12309     shrext_cmds='.sl'
   12310     dynamic_linker="$host_os dld.sl"
   12311     shlibpath_var=SHLIB_PATH
   12312     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   12313     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12314     soname_spec='$libname$release$shared_ext$major'
   12315     ;;
   12316   esac
   12317   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   12318   postinstall_cmds='chmod 555 $lib'
   12319   # or fails outright, so override atomically:
   12320   install_override_mode=555
   12321   ;;
   12322 
   12323 interix[3-9]*)
   12324   version_type=linux # correct to gnu/linux during the next big refactor
   12325   need_lib_prefix=no
   12326   need_version=no
   12327   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12328   soname_spec='$libname$release$shared_ext$major'
   12329   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   12330   shlibpath_var=LD_LIBRARY_PATH
   12331   shlibpath_overrides_runpath=no
   12332   hardcode_into_libs=yes
   12333   ;;
   12334 
   12335 irix5* | irix6* | nonstopux*)
   12336   case $host_os in
   12337     nonstopux*) version_type=nonstopux ;;
   12338     *)
   12339 	if test yes = "$lt_cv_prog_gnu_ld"; then
   12340 		version_type=linux # correct to gnu/linux during the next big refactor
   12341 	else
   12342 		version_type=irix
   12343 	fi ;;
   12344   esac
   12345   need_lib_prefix=no
   12346   need_version=no
   12347   soname_spec='$libname$release$shared_ext$major'
   12348   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   12349   case $host_os in
   12350   irix5* | nonstopux*)
   12351     libsuff= shlibsuff=
   12352     ;;
   12353   *)
   12354     case $LD in # libtool.m4 will add one of these switches to LD
   12355     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   12356       libsuff= shlibsuff= libmagic=32-bit;;
   12357     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   12358       libsuff=32 shlibsuff=N32 libmagic=N32;;
   12359     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   12360       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   12361     *) libsuff= shlibsuff= libmagic=never-match;;
   12362     esac
   12363     ;;
   12364   esac
   12365   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   12366   shlibpath_overrides_runpath=no
   12367   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   12368   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   12369   hardcode_into_libs=yes
   12370   ;;
   12371 
   12372 *-mlibc)
   12373   version_type=linux # correct to gnu/linux during the next big refactor
   12374   need_lib_prefix=no
   12375   need_version=no
   12376   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12377   soname_spec='$libname$release$shared_ext$major'
   12378   dynamic_linker='mlibc ld.so'
   12379   shlibpath_var=LD_LIBRARY_PATH
   12380   shlibpath_overrides_runpath=no
   12381   hardcode_into_libs=yes
   12382   ;;
   12383 
   12384 # No shared lib support for Linux oldld, aout, or coff.
   12385 linux*oldld* | linux*aout* | linux*coff*)
   12386   dynamic_linker=no
   12387   ;;
   12388 
   12389 linux*android*)
   12390   version_type=none # Android doesn't support versioned libraries.
   12391   need_lib_prefix=no
   12392   need_version=no
   12393   library_names_spec='$libname$release$shared_ext $libname$shared_ext'
   12394   soname_spec='$libname$release$shared_ext'
   12395   finish_cmds=
   12396   shlibpath_var=LD_LIBRARY_PATH
   12397   shlibpath_overrides_runpath=yes
   12398 
   12399   # This implies no fast_install, which is unacceptable.
   12400   # Some rework will be needed to allow for fast_install
   12401   # before this can be enabled.
   12402   hardcode_into_libs=yes
   12403 
   12404   dynamic_linker='Android linker'
   12405   # -rpath works at least for libraries that are not overridden by
   12406   # libraries installed in system locations.
   12407   hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   12408   ;;
   12409 
   12410 # This must be glibc/ELF.
   12411 linux* | ironclad*-gnu | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12412   version_type=linux # correct to gnu/linux during the next big refactor
   12413   need_lib_prefix=no
   12414   need_version=no
   12415   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12416   soname_spec='$libname$release$shared_ext$major'
   12417   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   12418   shlibpath_var=LD_LIBRARY_PATH
   12419   shlibpath_overrides_runpath=no
   12420 
   12421   # Some binutils ld are patched to set DT_RUNPATH
   12422   if test ${lt_cv_shlibpath_overrides_runpath+y}
   12423 then :
   12424   printf %s "(cached) " >&6
   12425 else case e in #(
   12426   e) lt_cv_shlibpath_overrides_runpath=no
   12427     save_LDFLAGS=$LDFLAGS
   12428     save_libdir=$libdir
   12429     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   12430 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   12431     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12432 /* end confdefs.h.  */
   12433 
   12434 int
   12435 main (void)
   12436 {
   12437 
   12438   ;
   12439   return 0;
   12440 }
   12441 _ACEOF
   12442 if ac_fn_c_try_link "$LINENO"
   12443 then :
   12444   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   12445 then :
   12446   lt_cv_shlibpath_overrides_runpath=yes
   12447 fi
   12448 fi
   12449 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12450     conftest$ac_exeext conftest.$ac_ext
   12451     LDFLAGS=$save_LDFLAGS
   12452     libdir=$save_libdir
   12453      ;;
   12454 esac
   12455 fi
   12456 
   12457   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   12458 
   12459   # This implies no fast_install, which is unacceptable.
   12460   # Some rework will be needed to allow for fast_install
   12461   # before this can be enabled.
   12462   hardcode_into_libs=yes
   12463 
   12464   # Ideally, we could use ldconfig to report *all* directories which are
   12465   # searched for libraries, however this is still not possible.  Aside from not
   12466   # being certain /sbin/ldconfig is available, command
   12467   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   12468   # even though it is searched at run-time.  Try to do the best guess by
   12469   # appending ld.so.conf contents (and includes) to the search path.
   12470   if test -f /etc/ld.so.conf; then
   12471     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' ' '`
   12472     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   12473   fi
   12474 
   12475   # We used to test for /lib/ld.so.1 and disable shared libraries on
   12476   # powerpc, because MkLinux only supported shared libraries with the
   12477   # GNU dynamic linker.  Since this was broken with cross compilers,
   12478   # most powerpc-linux boxes support dynamic linking these days and
   12479   # people can always --disable-shared, the test was removed, and we
   12480   # assume the GNU/Linux dynamic linker is in use.
   12481   dynamic_linker='GNU/Linux ld.so'
   12482   ;;
   12483 
   12484 netbsdelf*-gnu)
   12485   version_type=linux
   12486   need_lib_prefix=no
   12487   need_version=no
   12488   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12489   soname_spec='$libname$release$shared_ext$major'
   12490   shlibpath_var=LD_LIBRARY_PATH
   12491   shlibpath_overrides_runpath=no
   12492   hardcode_into_libs=yes
   12493   dynamic_linker='NetBSD ld.elf_so'
   12494   enable_cxx_stdlib=yes
   12495   stdlibflag=
   12496   ;;
   12497 
   12498 netbsd*)
   12499   version_type=sunos
   12500   need_lib_prefix=no
   12501   need_version=no
   12502   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   12503     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12504     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12505     dynamic_linker='NetBSD (a.out) ld.so'
   12506   else
   12507     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12508     soname_spec='$libname$release$shared_ext$major'
   12509     dynamic_linker='NetBSD ld.elf_so'
   12510   fi
   12511   shlibpath_var=LD_LIBRARY_PATH
   12512   shlibpath_overrides_runpath=yes
   12513   hardcode_into_libs=yes
   12514   enable_cxx_stdlib=yes
   12515   stdlibflag=
   12516   ;;
   12517 
   12518 newsos6)
   12519   version_type=linux # correct to gnu/linux during the next big refactor
   12520   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12521   shlibpath_var=LD_LIBRARY_PATH
   12522   shlibpath_overrides_runpath=yes
   12523   ;;
   12524 
   12525 *nto* | *qnx*)
   12526   version_type=qnx
   12527   need_lib_prefix=no
   12528   need_version=no
   12529   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12530   soname_spec='$libname$release$shared_ext$major'
   12531   shlibpath_var=LD_LIBRARY_PATH
   12532   shlibpath_overrides_runpath=no
   12533   hardcode_into_libs=yes
   12534   dynamic_linker='ldqnx.so'
   12535   ;;
   12536 
   12537 openbsd*)
   12538   version_type=sunos
   12539   sys_lib_dlsearch_path_spec=/usr/lib
   12540   need_lib_prefix=no
   12541   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12542     need_version=no
   12543   else
   12544     need_version=yes
   12545   fi
   12546   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12547   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12548   shlibpath_var=LD_LIBRARY_PATH
   12549   shlibpath_overrides_runpath=yes
   12550   ;;
   12551 
   12552 os2*)
   12553   libname_spec='$name'
   12554   version_type=windows
   12555   shrext_cmds=.dll
   12556   need_version=no
   12557   need_lib_prefix=no
   12558   # OS/2 can only load a DLL with a base name of 8 characters or less.
   12559   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   12560     n=$($ECHO $libname | tr -d .-);
   12561     l=${#n}; test 3 -lt "$l" && l=3; mr=$((8 - $l));
   12562     r=$($ECHO $release | tr -d .-);
   12563     l=${#r}; test 2 -lt "$l" && l=2; mv=$(($mr - $l));
   12564     v=$($ECHO $versuffix | tr -d .- | cut -b -$mv);
   12565     r=$($ECHO $r | cut -b -$(($mr - ${#v})));
   12566     n=$($ECHO $n | cut -b -$((8 - ${#r} - ${#v})));
   12567     $ECHO $n$r$v`$shared_ext'
   12568   library_names_spec='${libname}_dll.$libext'
   12569   dynamic_linker='OS/2 ld.exe'
   12570   shlibpath_var=BEGINLIBPATH
   12571   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12572   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12573   postinstall_cmds='base_file=`basename \$file`~
   12574     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   12575     dldir=$destdir/`dirname \$dlpath`~
   12576     test -d \$dldir || mkdir -p \$dldir~
   12577     $install_prog $dir/$dlname \$dldir/$dlname~
   12578     chmod a+x \$dldir/$dlname~
   12579     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12580       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   12581     fi'
   12582   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   12583     dlpath=$dir/\$dldll~
   12584     $RM \$dlpath'
   12585   ;;
   12586 
   12587 osf3* | osf4* | osf5*)
   12588   version_type=osf
   12589   need_lib_prefix=no
   12590   need_version=no
   12591   soname_spec='$libname$release$shared_ext$major'
   12592   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12593   shlibpath_var=LD_LIBRARY_PATH
   12594   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   12595   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12596   ;;
   12597 
   12598 rdos*)
   12599   dynamic_linker=no
   12600   ;;
   12601 
   12602 serenity*)
   12603   version_type=linux # correct to gnu/linux during the next big refactor
   12604   need_lib_prefix=no
   12605   need_version=no
   12606   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12607   soname_spec='$libname$release$shared_ext$major'
   12608   shlibpath_var=LD_LIBRARY_PATH
   12609   shlibpath_overrides_runpath=no
   12610   dynamic_linker='SerenityOS LibELF'
   12611   ;;
   12612 
   12613 solaris*)
   12614   version_type=linux # correct to gnu/linux during the next big refactor
   12615   need_lib_prefix=no
   12616   need_version=no
   12617   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12618   soname_spec='$libname$release$shared_ext$major'
   12619   shlibpath_var=LD_LIBRARY_PATH
   12620   shlibpath_overrides_runpath=yes
   12621   hardcode_into_libs=yes
   12622   # ldd complains unless libraries are executable
   12623   postinstall_cmds='chmod +x $lib'
   12624   ;;
   12625 
   12626 sunos4*)
   12627   version_type=sunos
   12628   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12629   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   12630   shlibpath_var=LD_LIBRARY_PATH
   12631   shlibpath_overrides_runpath=yes
   12632   if test yes = "$with_gnu_ld"; then
   12633     need_lib_prefix=no
   12634   fi
   12635   need_version=yes
   12636   ;;
   12637 
   12638 sysv4 | sysv4.3*)
   12639   version_type=linux # correct to gnu/linux during the next big refactor
   12640   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12641   soname_spec='$libname$release$shared_ext$major'
   12642   shlibpath_var=LD_LIBRARY_PATH
   12643   case $host_vendor in
   12644     sni)
   12645       shlibpath_overrides_runpath=no
   12646       need_lib_prefix=no
   12647       runpath_var=LD_RUN_PATH
   12648       ;;
   12649     siemens)
   12650       need_lib_prefix=no
   12651       ;;
   12652     motorola)
   12653       need_lib_prefix=no
   12654       need_version=no
   12655       shlibpath_overrides_runpath=no
   12656       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   12657       ;;
   12658   esac
   12659   ;;
   12660 
   12661 sysv4*MP*)
   12662   if test -d /usr/nec; then
   12663     version_type=linux # correct to gnu/linux during the next big refactor
   12664     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   12665     soname_spec='$libname$shared_ext.$major'
   12666     shlibpath_var=LD_LIBRARY_PATH
   12667   fi
   12668   ;;
   12669 
   12670 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12671   version_type=sco
   12672   need_lib_prefix=no
   12673   need_version=no
   12674   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   12675   soname_spec='$libname$release$shared_ext$major'
   12676   shlibpath_var=LD_LIBRARY_PATH
   12677   shlibpath_overrides_runpath=yes
   12678   hardcode_into_libs=yes
   12679   if test yes = "$with_gnu_ld"; then
   12680     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   12681   else
   12682     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   12683     case $host_os in
   12684       sco3.2v5*)
   12685         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   12686 	;;
   12687     esac
   12688   fi
   12689   sys_lib_dlsearch_path_spec='/usr/lib'
   12690   ;;
   12691 
   12692 tpf*)
   12693   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   12694   version_type=linux # correct to gnu/linux during the next big refactor
   12695   need_lib_prefix=no
   12696   need_version=no
   12697   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12698   shlibpath_var=LD_LIBRARY_PATH
   12699   shlibpath_overrides_runpath=no
   12700   hardcode_into_libs=yes
   12701   ;;
   12702 
   12703 uts4*)
   12704   version_type=linux # correct to gnu/linux during the next big refactor
   12705   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12706   soname_spec='$libname$release$shared_ext$major'
   12707   shlibpath_var=LD_LIBRARY_PATH
   12708   ;;
   12709 
   12710 emscripten*)
   12711   version_type=none
   12712   need_lib_prefix=no
   12713   need_version=no
   12714   library_names_spec='$libname$release$shared_ext'
   12715   soname_spec='$libname$release$shared_ext'
   12716   finish_cmds=
   12717   dynamic_linker="Emscripten linker"
   12718   lt_prog_compiler_wl=
   12719 lt_prog_compiler_pic=
   12720 lt_prog_compiler_static=
   12721 
   12722 
   12723   if test yes = "$GCC"; then
   12724     lt_prog_compiler_wl='-Wl,'
   12725     lt_prog_compiler_static='-static'
   12726 
   12727     case $host_os in
   12728       aix*)
   12729       # All AIX code is PIC.
   12730       if test ia64 = "$host_cpu"; then
   12731 	# AIX 5 now supports IA64 processor
   12732 	lt_prog_compiler_static='-Bstatic'
   12733       fi
   12734       lt_prog_compiler_pic='-fPIC'
   12735       ;;
   12736 
   12737     amigaos*)
   12738       case $host_cpu in
   12739       powerpc)
   12740             # see comment about AmigaOS4 .so support
   12741             lt_prog_compiler_pic='-fPIC'
   12742         ;;
   12743       m68k)
   12744             # FIXME: we need at least 68020 code to build shared libraries, but
   12745             # adding the '-m68020' flag to GCC prevents building anything better,
   12746             # like '-m68040'.
   12747             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   12748         ;;
   12749       esac
   12750       ;;
   12751 
   12752     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12753       # PIC is the default for these OSes.
   12754       ;;
   12755 
   12756     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   12757       # This hack is so that the source file can tell whether it is being
   12758       # built for inclusion in a dll (and should export symbols for example).
   12759       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12760       # (--disable-auto-import) libraries
   12761       lt_prog_compiler_pic='-DDLL_EXPORT'
   12762       case $host_os in
   12763       os2*)
   12764 	lt_prog_compiler_static='$wl-static'
   12765 	;;
   12766       esac
   12767       ;;
   12768 
   12769     darwin* | rhapsody*)
   12770       # PIC is the default on this platform
   12771       # Common symbols not allowed in MH_DYLIB files
   12772       lt_prog_compiler_pic='-fno-common'
   12773       ;;
   12774 
   12775     haiku*)
   12776       # PIC is the default for Haiku.
   12777       # The "-static" flag exists, but is broken.
   12778       lt_prog_compiler_static=
   12779       ;;
   12780 
   12781     hpux*)
   12782       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   12783       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   12784       # sets the default TLS model and affects inlining.
   12785       case $host_cpu in
   12786       hppa*64*)
   12787 	# +Z the default
   12788 	;;
   12789       *)
   12790 	lt_prog_compiler_pic='-fPIC'
   12791 	;;
   12792       esac
   12793       ;;
   12794 
   12795     interix[3-9]*)
   12796       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12797       # Instead, we relocate shared libraries at runtime.
   12798       ;;
   12799 
   12800     msdosdjgpp*)
   12801       # Just because we use GCC doesn't mean we suddenly get shared libraries
   12802       # on systems that don't support them.
   12803       lt_prog_compiler_can_build_shared=no
   12804       enable_shared=no
   12805       ;;
   12806 
   12807     *nto* | *qnx*)
   12808       # QNX uses GNU C++, but need to define -shared option too, otherwise
   12809       # it will coredump.
   12810       lt_prog_compiler_pic='-fPIC -shared'
   12811       ;;
   12812 
   12813     sysv4*MP*)
   12814       if test -d /usr/nec; then
   12815 	lt_prog_compiler_pic=-Kconform_pic
   12816       fi
   12817       ;;
   12818 
   12819     *)
   12820       lt_prog_compiler_pic='-fPIC'
   12821       ;;
   12822     esac
   12823 
   12824     case $cc_basename in
   12825     nvcc*) # Cuda Compiler Driver 2.2
   12826       lt_prog_compiler_wl='-Xlinker '
   12827       if test -n "$lt_prog_compiler_pic"; then
   12828         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   12829       fi
   12830       ;;
   12831     esac
   12832   else
   12833     # PORTME Check for flag to pass linker flags through the system compiler.
   12834     case $host_os in
   12835     aix*)
   12836       lt_prog_compiler_wl='-Wl,'
   12837       if test ia64 = "$host_cpu"; then
   12838 	# AIX 5 now supports IA64 processor
   12839 	lt_prog_compiler_static='-Bstatic'
   12840       else
   12841 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.expsym'
   12842       fi
   12843       ;;
   12844 
   12845     darwin* | rhapsody*)
   12846       # PIC is the default on this platform
   12847       # Common symbols not allowed in MH_DYLIB files
   12848       lt_prog_compiler_pic='-fno-common'
   12849       case $cc_basename in
   12850       nagfor*)
   12851         # NAG Fortran compiler
   12852         lt_prog_compiler_wl='-Wl,-Wl,,'
   12853         lt_prog_compiler_pic='-PIC'
   12854         lt_prog_compiler_static='-Bstatic'
   12855         ;;
   12856       esac
   12857       ;;
   12858 
   12859     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   12860       # This hack is so that the source file can tell whether it is being
   12861       # built for inclusion in a dll (and should export symbols for example).
   12862       lt_prog_compiler_pic='-DDLL_EXPORT'
   12863       case $host_os in
   12864       os2*)
   12865 	lt_prog_compiler_static='$wl-static'
   12866 	;;
   12867       esac
   12868       ;;
   12869 
   12870     hpux9* | hpux10* | hpux11*)
   12871       lt_prog_compiler_wl='-Wl,'
   12872       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12873       # not for PA HP-UX.
   12874       case $host_cpu in
   12875       hppa*64*|ia64*)
   12876 	# +Z the default
   12877 	;;
   12878       *)
   12879 	lt_prog_compiler_pic='+Z'
   12880 	;;
   12881       esac
   12882       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   12883       lt_prog_compiler_static='$wl-a ${wl}archive'
   12884       ;;
   12885 
   12886     irix5* | irix6* | nonstopux*)
   12887       lt_prog_compiler_wl='-Wl,'
   12888       # PIC (with -KPIC) is the default.
   12889       lt_prog_compiler_static='-non_shared'
   12890       ;;
   12891 
   12892     *-mlibc)
   12893       lt_prog_compiler_wl='-Wl,'
   12894       lt_prog_compiler_pic='-fPIC'
   12895       lt_prog_compiler_static='-static'
   12896       ;;
   12897 
   12898     linux* | ironclad*-gnu | k*bsd*-gnu | kopensolaris*-gnu | gnu* | freebsd*)
   12899       case $cc_basename in
   12900       # old Intel for x86_64, which still supported -KPIC.
   12901       ecc*)
   12902 	lt_prog_compiler_wl='-Wl,'
   12903 	lt_prog_compiler_pic='-KPIC'
   12904 	lt_prog_compiler_static='-static'
   12905         ;;
   12906       *flang* | ftn | f18* | f95*)
   12907         # Flang compiler.
   12908 	lt_prog_compiler_wl='-Wl,'
   12909 	lt_prog_compiler_pic='-fPIC'
   12910 	lt_prog_compiler_static='-static'
   12911         ;;
   12912       # icc used to be incompatible with GCC.
   12913       # ICC 10 doesn't accept -KPIC any more.
   12914       icc* | ifort* | icx* | ifx*)
   12915 	lt_prog_compiler_wl='-Wl,'
   12916 	lt_prog_compiler_pic='-fPIC'
   12917 	lt_prog_compiler_static='-static'
   12918         ;;
   12919       # Lahey Fortran 8.1.
   12920       lf95*)
   12921 	lt_prog_compiler_wl='-Wl,'
   12922 	lt_prog_compiler_pic='--shared'
   12923 	lt_prog_compiler_static='--static'
   12924 	;;
   12925       nagfor*)
   12926 	# NAG Fortran compiler
   12927 	lt_prog_compiler_wl='-Wl,-Wl,,'
   12928 	lt_prog_compiler_pic='-PIC'
   12929 	lt_prog_compiler_static='-Bstatic'
   12930 	;;
   12931       tcc*)
   12932 	# Fabrice Bellard et al's Tiny C Compiler
   12933 	lt_prog_compiler_wl='-Wl,'
   12934 	lt_prog_compiler_pic='-fPIC'
   12935 	lt_prog_compiler_static='-static'
   12936 	;;
   12937       slimcc*)
   12938 	# Hsiang-Ying Fu and Jim Huang's x86_64 SlimCC compiler
   12939 	lt_prog_compiler_wl='-Wl,'
   12940 	lt_prog_compiler_pic='-fPIC'
   12941 	lt_prog_compiler_static='-static'
   12942 	;;
   12943       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   12944         # Portland Group compilers (*not* the Pentium gcc compiler,
   12945 	# which looks to be a dead project)
   12946 	lt_prog_compiler_wl='-Wl,'
   12947 	lt_prog_compiler_pic='-fpic'
   12948 	lt_prog_compiler_static='-Bstatic'
   12949         ;;
   12950       ccc*)
   12951         lt_prog_compiler_wl='-Wl,'
   12952         # All Alpha code is PIC.
   12953         lt_prog_compiler_static='-non_shared'
   12954         ;;
   12955       xl* | bgxl* | bgf* | mpixl*)
   12956 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   12957 	lt_prog_compiler_wl='-Wl,'
   12958 	lt_prog_compiler_pic='-qpic'
   12959 	lt_prog_compiler_static='-qstaticlink'
   12960 	;;
   12961       *)
   12962 	case `$CC -V 2>&1 | $SED 5q` in
   12963 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   12964 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   12965 	  lt_prog_compiler_pic='-KPIC'
   12966 	  lt_prog_compiler_static='-Bstatic'
   12967 	  lt_prog_compiler_wl=''
   12968 	  ;;
   12969 	*Sun\ F* | *Sun*Fortran*)
   12970 	  lt_prog_compiler_pic='-KPIC'
   12971 	  lt_prog_compiler_static='-Bstatic'
   12972 	  lt_prog_compiler_wl='-Qoption ld '
   12973 	  ;;
   12974 	*Sun\ C*)
   12975 	  # Sun C 5.9
   12976 	  lt_prog_compiler_pic='-KPIC'
   12977 	  lt_prog_compiler_static='-Bstatic'
   12978 	  lt_prog_compiler_wl='-Wl,'
   12979 	  ;;
   12980         *Intel*\ [CF]*Compiler*)
   12981 	  lt_prog_compiler_wl='-Wl,'
   12982 	  lt_prog_compiler_pic='-fPIC'
   12983 	  lt_prog_compiler_static='-static'
   12984 	  ;;
   12985 	*Portland\ Group*)
   12986 	  lt_prog_compiler_wl='-Wl,'
   12987 	  lt_prog_compiler_pic='-fpic'
   12988 	  lt_prog_compiler_static='-Bstatic'
   12989 	  ;;
   12990 	esac
   12991 	;;
   12992       esac
   12993       ;;
   12994 
   12995     newsos6)
   12996       lt_prog_compiler_pic='-KPIC'
   12997       lt_prog_compiler_static='-Bstatic'
   12998       ;;
   12999 
   13000     *nto* | *qnx*)
   13001       # QNX uses GNU C++, but need to define -shared option too, otherwise
   13002       # it will coredump.
   13003       lt_prog_compiler_pic='-fPIC -shared'
   13004       ;;
   13005 
   13006     osf3* | osf4* | osf5*)
   13007       lt_prog_compiler_wl='-Wl,'
   13008       # All OSF/1 code is PIC.
   13009       lt_prog_compiler_static='-non_shared'
   13010       ;;
   13011 
   13012     rdos*)
   13013       lt_prog_compiler_static='-non_shared'
   13014       ;;
   13015 
   13016     serenity*)
   13017       ;;
   13018 
   13019     solaris*)
   13020       lt_prog_compiler_pic='-KPIC'
   13021       lt_prog_compiler_static='-Bstatic'
   13022       case $cc_basename in
   13023       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   13024 	lt_prog_compiler_wl='-Qoption ld ';;
   13025       *)
   13026 	lt_prog_compiler_wl='-Wl,';;
   13027       esac
   13028       ;;
   13029 
   13030     sunos4*)
   13031       lt_prog_compiler_wl='-Qoption ld '
   13032       lt_prog_compiler_pic='-PIC'
   13033       lt_prog_compiler_static='-Bstatic'
   13034       ;;
   13035 
   13036     sysv4 | sysv4.2uw2* | sysv4.3*)
   13037       lt_prog_compiler_wl='-Wl,'
   13038       lt_prog_compiler_pic='-KPIC'
   13039       lt_prog_compiler_static='-Bstatic'
   13040       ;;
   13041 
   13042     sysv4*MP*)
   13043       if test -d /usr/nec; then
   13044 	lt_prog_compiler_pic='-Kconform_pic'
   13045 	lt_prog_compiler_static='-Bstatic'
   13046       fi
   13047       ;;
   13048 
   13049     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   13050       lt_prog_compiler_wl='-Wl,'
   13051       lt_prog_compiler_pic='-KPIC'
   13052       lt_prog_compiler_static='-Bstatic'
   13053       ;;
   13054 
   13055     unicos*)
   13056       lt_prog_compiler_wl='-Wl,'
   13057       lt_prog_compiler_can_build_shared=no
   13058       ;;
   13059 
   13060     uts4*)
   13061       lt_prog_compiler_pic='-pic'
   13062       lt_prog_compiler_static='-Bstatic'
   13063       ;;
   13064 
   13065     *)
   13066       lt_prog_compiler_can_build_shared=no
   13067       ;;
   13068     esac
   13069   fi
   13070 
   13071 case $host_os in
   13072   # For platforms that do not support PIC, -DPIC is meaningless:
   13073   *djgpp*)
   13074     lt_prog_compiler_pic=
   13075     ;;
   13076   *)
   13077     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   13078     ;;
   13079 esac
   13080 
   13081 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   13082 printf %s "checking for $compiler option to produce PIC... " >&6; }
   13083 if test ${lt_cv_prog_compiler_pic+y}
   13084 then :
   13085   printf %s "(cached) " >&6
   13086 else case e in #(
   13087   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
   13088 esac
   13089 fi
   13090 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   13091 printf '%s\n' "$lt_cv_prog_compiler_pic" >&6; }
   13092 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   13093 
   13094 #
   13095 # Check to make sure the PIC flag actually works.
   13096 #
   13097 if test -n "$lt_prog_compiler_pic"; then
   13098   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   13099 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   13100 if test ${lt_cv_prog_compiler_pic_works+y}
   13101 then :
   13102   printf %s "(cached) " >&6
   13103 else case e in #(
   13104   e) lt_cv_prog_compiler_pic_works=no
   13105    ac_outfile=conftest.$ac_objext
   13106    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13107    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   13108    # Insert the option either (1) after the last *FLAGS variable, or
   13109    # (2) before a word containing "conftest.", or (3) at the end.
   13110    # Note that $ac_compile itself does not contain backslashes and begins
   13111    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13112    # The option is referenced via a variable to avoid confusing sed.
   13113    lt_compile=`echo "$ac_compile" | $SED \
   13114    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13115    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13116    -e 's:$: $lt_compiler_flag:'`
   13117    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   13118    (eval "$lt_compile" 2>conftest.err)
   13119    ac_status=$?
   13120    cat conftest.err >&5
   13121    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13122    if (exit $ac_status) && test -s "$ac_outfile"; then
   13123      # The compiler can only warn and ignore the option if not recognized
   13124      # So say no if there are warnings other than the usual output.
   13125      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.expsym
   13126      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13127      if test ! -s conftest.er2 || diff conftest.expsym conftest.er2 >/dev/null; then
   13128        lt_cv_prog_compiler_pic_works=yes
   13129      fi
   13130    fi
   13131    $RM conftest*
   13132  ;;
   13133 esac
   13134 fi
   13135 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   13136 printf '%s\n' "$lt_cv_prog_compiler_pic_works" >&6; }
   13137 
   13138 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   13139     case $lt_prog_compiler_pic in
   13140      "" | " "*) ;;
   13141      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   13142      esac
   13143 else
   13144     lt_prog_compiler_pic=
   13145      lt_prog_compiler_can_build_shared=no
   13146 fi
   13147 
   13148 fi
   13149 
   13150 
   13151 
   13152 
   13153 
   13154 #
   13155 # Check to make sure the static flag actually works.
   13156 #
   13157 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   13158 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   13159 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   13160 if test ${lt_cv_prog_compiler_static_works+y}
   13161 then :
   13162   printf %s "(cached) " >&6
   13163 else case e in #(
   13164   e) lt_cv_prog_compiler_static_works=no
   13165    save_LDFLAGS=$LDFLAGS
   13166    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13167    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   13168    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13169      # The linker can only warn and ignore the option if not recognized
   13170      # So say no if there are warnings
   13171      if test -s conftest.err; then
   13172        # Append any errors to the config.log.
   13173        cat conftest.err 1>&5
   13174        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.expsym
   13175        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13176        if diff conftest.expsym conftest.er2 >/dev/null; then
   13177          lt_cv_prog_compiler_static_works=yes
   13178        fi
   13179      else
   13180        lt_cv_prog_compiler_static_works=yes
   13181      fi
   13182    fi
   13183    $RM -r conftest*
   13184    LDFLAGS=$save_LDFLAGS
   13185  ;;
   13186 esac
   13187 fi
   13188 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   13189 printf '%s\n' "$lt_cv_prog_compiler_static_works" >&6; }
   13190 
   13191 if test yes = "$lt_cv_prog_compiler_static_works"; then
   13192     :
   13193 else
   13194     lt_prog_compiler_static=
   13195 fi
   13196 
   13197 
   13198 
   13199 ='-fPIC'
   13200   archive_cmds='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
   13201   archive_expsym_cmds='$SED "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib -s EXPORTED_FUNCTIONS=@$output_objdir/$soname.expsym'
   13202   archive_cmds_need_lc=no
   13203   no_undefined_flag=
   13204   ;;
   13205 
   13206 *)
   13207   dynamic_linker=no
   13208   ;;
   13209 esac
   13210 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   13211 printf '%s\n' "$dynamic_linker" >&6; }
   13212 test no = "$dynamic_linker" && can_build_shared=no
   13213 
   13214 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13215 if test yes = "$GCC"; then
   13216   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13217 fi
   13218 
   13219 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   13220   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   13221 fi
   13222 
   13223 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   13224   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   13225 fi
   13226 
   13227 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   13228 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   13229 
   13230 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   13231 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   13232 
   13233 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   13234 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   13235 
   13236 
   13237 
   13238 
   13239 
   13240 
   13241 
   13242 
   13243 
   13244 
   13245 
   13246 
   13247 
   13248 
   13249 
   13250 
   13251 
   13252 
   13253 
   13254 
   13255 
   13256 
   13257 
   13258 
   13259 
   13260 
   13261 
   13262 
   13263 
   13264 
   13265 
   13266 
   13267 
   13268 
   13269 
   13270 
   13271 
   13272 
   13273 
   13274 
   13275 
   13276 
   13277 
   13278 
   13279 
   13280 
   13281 
   13282 
   13283 
   13284 
   13285 
   13286 
   13287 
   13288 
   13289 
   13290 
   13291 
   13292 
   13293 
   13294 
   13295 
   13296 
   13297 
   13298 
   13299 
   13300 
   13301 
   13302 
   13303 
   13304 
   13305 
   13306 
   13307 
   13308 
   13309 
   13310 
   13311 
   13312 
   13313 
   13314 
   13315 
   13316 
   13317 
   13318 
   13319 
   13320 
   13321 
   13322 
   13323 
   13324 
   13325 
   13326 
   13327 
   13328 
   13329 
   13330 
   13331 
   13332   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   13333 printf %s "checking how to hardcode library paths into programs... " >&6; }
   13334 hardcode_action=
   13335 if test -n "$hardcode_libdir_flag_spec" ||
   13336    test -n "$runpath_var" ||
   13337    test yes = "$hardcode_automatic"; then
   13338 
   13339   # We can hardcode non-existent directories.
   13340   if test no != "$hardcode_direct" &&
   13341      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13342      # have to relink, otherwise we might link with an installed library
   13343      # when we should be linking with a yet-to-be-installed one
   13344      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   13345      test no != "$hardcode_minus_L"; then
   13346     # Linking always hardcodes the temporary library directory.
   13347     hardcode_action=relink
   13348   else
   13349     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13350     hardcode_action=immediate
   13351   fi
   13352 else
   13353   # We cannot hardcode anything, or else we can only hardcode existing
   13354   # directories.
   13355   hardcode_action=unsupported
   13356 fi
   13357 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   13358 printf '%s\n' "$hardcode_action" >&6; }
   13359 
   13360 if test relink = "$hardcode_action" ||
   13361    test yes = "$inherit_rpath"; then
   13362   # Fast installation is not supported
   13363   enable_fast_install=no
   13364 elif test yes = "$shlibpath_overrides_runpath" ||
   13365      test no = "$enable_shared"; then
   13366   # Fast installation is not necessary
   13367   enable_fast_install=needless
   13368 fi
   13369 
   13370 
   13371 
   13372 
   13373 
   13374 
   13375   if test yes != "$enable_dlopen"; then
   13376   enable_dlopen=unknown
   13377   enable_dlopen_self=unknown
   13378   enable_dlopen_self_static=unknown
   13379 else
   13380   lt_cv_dlopen=no
   13381   lt_cv_dlopen_libs=
   13382 
   13383   case $host_os in
   13384   beos*)
   13385     lt_cv_dlopen=load_add_on
   13386     lt_cv_dlopen_libs=
   13387     lt_cv_dlopen_self=yes
   13388     ;;
   13389 
   13390   mingw* | windows* | pw32* | cegcc*)
   13391     lt_cv_dlopen=LoadLibrary
   13392     lt_cv_dlopen_libs=
   13393     ;;
   13394 
   13395   cygwin*)
   13396     lt_cv_dlopen=dlopen
   13397     lt_cv_dlopen_libs=
   13398     ;;
   13399 
   13400   darwin*)
   13401     # if libdl is installed we need to link against it
   13402     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   13403 printf %s "checking for dlopen in -ldl... " >&6; }
   13404 if test ${ac_cv_lib_dl_dlopen+y}
   13405 then :
   13406   printf %s "(cached) " >&6
   13407 else case e in #(
   13408   e) ac_check_lib_save_LIBS=$LIBS
   13409 LIBS="-ldl  $LIBS"
   13410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13411 /* end confdefs.h.  */
   13412 
   13413 /* Override any GCC internal prototype to avoid an error.
   13414    Use char because int might match the return type of a GCC
   13415    builtin and then its argument prototype would still apply.
   13416    The 'extern "C"' is for builds by C++ compilers;
   13417    although this is not generally supported in C code supporting it here
   13418    has little cost and some practical benefit (sr 110532).  */
   13419 #ifdef __cplusplus
   13420 extern "C"
   13421 #endif
   13422 char dlopen (void);
   13423 int
   13424 main (void)
   13425 {
   13426 return dlopen ();
   13427   ;
   13428   return 0;
   13429 }
   13430 _ACEOF
   13431 if ac_fn_c_try_link "$LINENO"
   13432 then :
   13433   ac_cv_lib_dl_dlopen=yes
   13434 else case e in #(
   13435   e) ac_cv_lib_dl_dlopen=no ;;
   13436 esac
   13437 fi
   13438 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13439     conftest$ac_exeext conftest.$ac_ext
   13440 LIBS=$ac_check_lib_save_LIBS ;;
   13441 esac
   13442 fi
   13443 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   13444 printf '%s\n' "$ac_cv_lib_dl_dlopen" >&6; }
   13445 if test "x$ac_cv_lib_dl_dlopen" = xyes
   13446 then :
   13447   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   13448 else case e in #(
   13449   e)
   13450     lt_cv_dlopen=dyld
   13451     lt_cv_dlopen_libs=
   13452     lt_cv_dlopen_self=yes
   13453      ;;
   13454 esac
   13455 fi
   13456 
   13457     ;;
   13458 
   13459   tpf*)
   13460     # Don't try to run any link tests for TPF.  We know it's impossible
   13461     # because TPF is a cross-compiler, and we know how we open DSOs.
   13462     lt_cv_dlopen=dlopen
   13463     lt_cv_dlopen_libs=
   13464     lt_cv_dlopen_self=no
   13465     ;;
   13466 
   13467   *)
   13468     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   13469 if test "x$ac_cv_func_shl_load" = xyes
   13470 then :
   13471   lt_cv_dlopen=shl_load
   13472 else case e in #(
   13473   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   13474 printf %s "checking for shl_load in -ldld... " >&6; }
   13475 if test ${ac_cv_lib_dld_shl_load+y}
   13476 then :
   13477   printf %s "(cached) " >&6
   13478 else case e in #(
   13479   e) ac_check_lib_save_LIBS=$LIBS
   13480 LIBS="-ldld  $LIBS"
   13481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13482 /* end confdefs.h.  */
   13483 
   13484 /* Override any GCC internal prototype to avoid an error.
   13485    Use char because int might match the return type of a GCC
   13486    builtin and then its argument prototype would still apply.
   13487    The 'extern "C"' is for builds by C++ compilers;
   13488    although this is not generally supported in C code supporting it here
   13489    has little cost and some practical benefit (sr 110532).  */
   13490 #ifdef __cplusplus
   13491 extern "C"
   13492 #endif
   13493 char shl_load (void);
   13494 int
   13495 main (void)
   13496 {
   13497 return shl_load ();
   13498   ;
   13499   return 0;
   13500 }
   13501 _ACEOF
   13502 if ac_fn_c_try_link "$LINENO"
   13503 then :
   13504   ac_cv_lib_dld_shl_load=yes
   13505 else case e in #(
   13506   e) ac_cv_lib_dld_shl_load=no ;;
   13507 esac
   13508 fi
   13509 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13510     conftest$ac_exeext conftest.$ac_ext
   13511 LIBS=$ac_check_lib_save_LIBS ;;
   13512 esac
   13513 fi
   13514 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   13515 printf '%s\n' "$ac_cv_lib_dld_shl_load" >&6; }
   13516 if test "x$ac_cv_lib_dld_shl_load" = xyes
   13517 then :
   13518   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   13519 else case e in #(
   13520   e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   13521 if test "x$ac_cv_func_dlopen" = xyes
   13522 then :
   13523   lt_cv_dlopen=dlopen
   13524 else case e in #(
   13525   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   13526 printf %s "checking for dlopen in -ldl... " >&6; }
   13527 if test ${ac_cv_lib_dl_dlopen+y}
   13528 then :
   13529   printf %s "(cached) " >&6
   13530 else case e in #(
   13531   e) ac_check_lib_save_LIBS=$LIBS
   13532 LIBS="-ldl  $LIBS"
   13533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13534 /* end confdefs.h.  */
   13535 
   13536 /* Override any GCC internal prototype to avoid an error.
   13537    Use char because int might match the return type of a GCC
   13538    builtin and then its argument prototype would still apply.
   13539    The 'extern "C"' is for builds by C++ compilers;
   13540    although this is not generally supported in C code supporting it here
   13541    has little cost and some practical benefit (sr 110532).  */
   13542 #ifdef __cplusplus
   13543 extern "C"
   13544 #endif
   13545 char dlopen (void);
   13546 int
   13547 main (void)
   13548 {
   13549 return dlopen ();
   13550   ;
   13551   return 0;
   13552 }
   13553 _ACEOF
   13554 if ac_fn_c_try_link "$LINENO"
   13555 then :
   13556   ac_cv_lib_dl_dlopen=yes
   13557 else case e in #(
   13558   e) ac_cv_lib_dl_dlopen=no ;;
   13559 esac
   13560 fi
   13561 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13562     conftest$ac_exeext conftest.$ac_ext
   13563 LIBS=$ac_check_lib_save_LIBS ;;
   13564 esac
   13565 fi
   13566 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   13567 printf '%s\n' "$ac_cv_lib_dl_dlopen" >&6; }
   13568 if test "x$ac_cv_lib_dl_dlopen" = xyes
   13569 then :
   13570   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   13571 else case e in #(
   13572   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   13573 printf %s "checking for dlopen in -lsvld... " >&6; }
   13574 if test ${ac_cv_lib_svld_dlopen+y}
   13575 then :
   13576   printf %s "(cached) " >&6
   13577 else case e in #(
   13578   e) ac_check_lib_save_LIBS=$LIBS
   13579 LIBS="-lsvld  $LIBS"
   13580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13581 /* end confdefs.h.  */
   13582 
   13583 /* Override any GCC internal prototype to avoid an error.
   13584    Use char because int might match the return type of a GCC
   13585    builtin and then its argument prototype would still apply.
   13586    The 'extern "C"' is for builds by C++ compilers;
   13587    although this is not generally supported in C code supporting it here
   13588    has little cost and some practical benefit (sr 110532).  */
   13589 #ifdef __cplusplus
   13590 extern "C"
   13591 #endif
   13592 char dlopen (void);
   13593 int
   13594 main (void)
   13595 {
   13596 return dlopen ();
   13597   ;
   13598   return 0;
   13599 }
   13600 _ACEOF
   13601 if ac_fn_c_try_link "$LINENO"
   13602 then :
   13603   ac_cv_lib_svld_dlopen=yes
   13604 else case e in #(
   13605   e) ac_cv_lib_svld_dlopen=no ;;
   13606 esac
   13607 fi
   13608 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13609     conftest$ac_exeext conftest.$ac_ext
   13610 LIBS=$ac_check_lib_save_LIBS ;;
   13611 esac
   13612 fi
   13613 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   13614 printf '%s\n' "$ac_cv_lib_svld_dlopen" >&6; }
   13615 if test "x$ac_cv_lib_svld_dlopen" = xyes
   13616 then :
   13617   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   13618 else case e in #(
   13619   e) { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   13620 printf %s "checking for dld_link in -ldld... " >&6; }
   13621 if test ${ac_cv_lib_dld_dld_link+y}
   13622 then :
   13623   printf %s "(cached) " >&6
   13624 else case e in #(
   13625   e) ac_check_lib_save_LIBS=$LIBS
   13626 LIBS="-ldld  $LIBS"
   13627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13628 /* end confdefs.h.  */
   13629 
   13630 /* Override any GCC internal prototype to avoid an error.
   13631    Use char because int might match the return type of a GCC
   13632    builtin and then its argument prototype would still apply.
   13633    The 'extern "C"' is for builds by C++ compilers;
   13634    although this is not generally supported in C code supporting it here
   13635    has little cost and some practical benefit (sr 110532).  */
   13636 #ifdef __cplusplus
   13637 extern "C"
   13638 #endif
   13639 char dld_link (void);
   13640 int
   13641 main (void)
   13642 {
   13643 return dld_link ();
   13644   ;
   13645   return 0;
   13646 }
   13647 _ACEOF
   13648 if ac_fn_c_try_link "$LINENO"
   13649 then :
   13650   ac_cv_lib_dld_dld_link=yes
   13651 else case e in #(
   13652   e) ac_cv_lib_dld_dld_link=no ;;
   13653 esac
   13654 fi
   13655 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13656     conftest$ac_exeext conftest.$ac_ext
   13657 LIBS=$ac_check_lib_save_LIBS ;;
   13658 esac
   13659 fi
   13660 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   13661 printf '%s\n' "$ac_cv_lib_dld_dld_link" >&6; }
   13662 if test "x$ac_cv_lib_dld_dld_link" = xyes
   13663 then :
   13664   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   13665 fi
   13666 
   13667 	       ;;
   13668 esac
   13669 fi
   13670 
   13671 	     ;;
   13672 esac
   13673 fi
   13674 
   13675 	   ;;
   13676 esac
   13677 fi
   13678 
   13679 	 ;;
   13680 esac
   13681 fi
   13682 
   13683        ;;
   13684 esac
   13685 fi
   13686 
   13687     ;;
   13688   esac
   13689 
   13690   if test no = "$lt_cv_dlopen"; then
   13691     enable_dlopen=no
   13692   else
   13693     enable_dlopen=yes
   13694   fi
   13695 
   13696   case $lt_cv_dlopen in
   13697   dlopen)
   13698     save_CPPFLAGS=$CPPFLAGS
   13699     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   13700 
   13701     save_LDFLAGS=$LDFLAGS
   13702     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   13703 
   13704     save_LIBS=$LIBS
   13705     LIBS="$lt_cv_dlopen_libs $LIBS"
   13706 
   13707     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   13708 printf %s "checking whether a program can dlopen itself... " >&6; }
   13709 if test ${lt_cv_dlopen_self+y}
   13710 then :
   13711   printf %s "(cached) " >&6
   13712 else case e in #(
   13713   e) 	  if test yes = "$cross_compiling"; then :
   13714   lt_cv_dlopen_self=cross
   13715 else
   13716   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   13717   lt_status=$lt_dlunknown
   13718   cat > conftest.$ac_ext <<_LT_EOF
   13719 #line $LINENO "configure"
   13720 #include "confdefs.h"
   13721 
   13722 #if HAVE_DLFCN_H
   13723 #include <dlfcn.h>
   13724 #endif
   13725 
   13726 #include <stdio.h>
   13727 
   13728 #ifdef RTLD_GLOBAL
   13729 #  define LT_DLGLOBAL		RTLD_GLOBAL
   13730 #else
   13731 #  ifdef DL_GLOBAL
   13732 #    define LT_DLGLOBAL		DL_GLOBAL
   13733 #  else
   13734 #    define LT_DLGLOBAL		0
   13735 #  endif
   13736 #endif
   13737 
   13738 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   13739    find out it does not work in some platform. */
   13740 #ifndef LT_DLLAZY_OR_NOW
   13741 #  ifdef RTLD_LAZY
   13742 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   13743 #  else
   13744 #    ifdef DL_LAZY
   13745 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   13746 #    else
   13747 #      ifdef RTLD_NOW
   13748 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   13749 #      else
   13750 #        ifdef DL_NOW
   13751 #          define LT_DLLAZY_OR_NOW	DL_NOW
   13752 #        else
   13753 #          define LT_DLLAZY_OR_NOW	0
   13754 #        endif
   13755 #      endif
   13756 #    endif
   13757 #  endif
   13758 #endif
   13759 
   13760 /* When -fvisibility=hidden is used, assume the code has been annotated
   13761    correspondingly for the symbols needed.  */
   13762 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   13763 int fnord (void) __attribute__((visibility("default")));
   13764 #endif
   13765 
   13766 int fnord (void) { return 42; }
   13767 int main (void)
   13768 {
   13769   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   13770   int status = $lt_dlunknown;
   13771 
   13772   if (self)
   13773     {
   13774       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   13775       else
   13776         {
   13777 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   13778           else puts (dlerror ());
   13779 	}
   13780       /* dlclose (self); */
   13781     }
   13782   else
   13783     puts (dlerror ());
   13784 
   13785   return status;
   13786 }
   13787 _LT_EOF
   13788   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13789   (eval $ac_link) 2>&5
   13790   ac_status=$?
   13791   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13792   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   13793     (./conftest; exit; ) >&5 2>/dev/null
   13794     lt_status=$?
   13795     case x$lt_status in
   13796       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   13797       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   13798       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   13799     esac
   13800   else :
   13801     # compilation failed
   13802     lt_cv_dlopen_self=no
   13803   fi
   13804 fi
   13805 rm -fr conftest*
   13806 
   13807      ;;
   13808 esac
   13809 fi
   13810 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   13811 printf '%s\n' "$lt_cv_dlopen_self" >&6; }
   13812 
   13813     if test yes = "$lt_cv_dlopen_self"; then
   13814       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   13815       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   13816 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   13817 if test ${lt_cv_dlopen_self_static+y}
   13818 then :
   13819   printf %s "(cached) " >&6
   13820 else case e in #(
   13821   e) 	  if test yes = "$cross_compiling"; then :
   13822   lt_cv_dlopen_self_static=cross
   13823 else
   13824   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   13825   lt_status=$lt_dlunknown
   13826   cat > conftest.$ac_ext <<_LT_EOF
   13827 #line $LINENO "configure"
   13828 #include "confdefs.h"
   13829 
   13830 #if HAVE_DLFCN_H
   13831 #include <dlfcn.h>
   13832 #endif
   13833 
   13834 #include <stdio.h>
   13835 
   13836 #ifdef RTLD_GLOBAL
   13837 #  define LT_DLGLOBAL		RTLD_GLOBAL
   13838 #else
   13839 #  ifdef DL_GLOBAL
   13840 #    define LT_DLGLOBAL		DL_GLOBAL
   13841 #  else
   13842 #    define LT_DLGLOBAL		0
   13843 #  endif
   13844 #endif
   13845 
   13846 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   13847    find out it does not work in some platform. */
   13848 #ifndef LT_DLLAZY_OR_NOW
   13849 #  ifdef RTLD_LAZY
   13850 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   13851 #  else
   13852 #    ifdef DL_LAZY
   13853 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   13854 #    else
   13855 #      ifdef RTLD_NOW
   13856 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   13857 #      else
   13858 #        ifdef DL_NOW
   13859 #          define LT_DLLAZY_OR_NOW	DL_NOW
   13860 #        else
   13861 #          define LT_DLLAZY_OR_NOW	0
   13862 #        endif
   13863 #      endif
   13864 #    endif
   13865 #  endif
   13866 #endif
   13867 
   13868 /* When -fvisibility=hidden is used, assume the code has been annotated
   13869    correspondingly for the symbols needed.  */
   13870 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   13871 int fnord (void) __attribute__((visibility("default")));
   13872 #endif
   13873 
   13874 int fnord (void) { return 42; }
   13875 int main (void)
   13876 {
   13877   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   13878   int status = $lt_dlunknown;
   13879 
   13880   if (self)
   13881     {
   13882       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   13883       else
   13884         {
   13885 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   13886           else puts (dlerror ());
   13887 	}
   13888       /* dlclose (self); */
   13889     }
   13890   else
   13891     puts (dlerror ());
   13892 
   13893   return status;
   13894 }
   13895 _LT_EOF
   13896   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13897   (eval $ac_link) 2>&5
   13898   ac_status=$?
   13899   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13900   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   13901     (./conftest; exit; ) >&5 2>/dev/null
   13902     lt_status=$?
   13903     case x$lt_status in
   13904       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   13905       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   13906       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   13907     esac
   13908   else :
   13909     # compilation failed
   13910     lt_cv_dlopen_self_static=no
   13911   fi
   13912 fi
   13913 rm -fr conftest*
   13914 
   13915        ;;
   13916 esac
   13917 fi
   13918 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   13919 printf '%s\n' "$lt_cv_dlopen_self_static" >&6; }
   13920     fi
   13921 
   13922     CPPFLAGS=$save_CPPFLAGS
   13923     LDFLAGS=$save_LDFLAGS
   13924     LIBS=$save_LIBS
   13925     ;;
   13926   esac
   13927 
   13928   case $lt_cv_dlopen_self in
   13929   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   13930   *) enable_dlopen_self=unknown ;;
   13931   esac
   13932 
   13933   case $lt_cv_dlopen_self_static in
   13934   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   13935   *) enable_dlopen_self_static=unknown ;;
   13936   esac
   13937 fi
   13938 
   13939 
   13940 
   13941 
   13942 
   13943 
   13944 
   13945 
   13946 
   13947 
   13948 
   13949 
   13950 
   13951 
   13952 
   13953 
   13954 
   13955 striplib=
   13956 old_striplib=
   13957 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   13958 printf %s "checking whether stripping libraries is possible... " >&6; }
   13959 if test -z "$STRIP"; then
   13960   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13961 printf '%s\n' "no" >&6; }
   13962 else
   13963   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   13964     old_striplib="$STRIP --strip-debug"
   13965     striplib="$STRIP --strip-unneeded"
   13966     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13967 printf '%s\n' "yes" >&6; }
   13968   else
   13969     case $host_os in
   13970     darwin*)
   13971       # FIXME - insert some real tests, host_os isn't really good enough
   13972       striplib="$STRIP -x"
   13973       old_striplib="$STRIP -S"
   13974       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13975 printf '%s\n' "yes" >&6; }
   13976       ;;
   13977     freebsd*)
   13978       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   13979         old_striplib="$STRIP --strip-debug"
   13980         striplib="$STRIP --strip-unneeded"
   13981         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13982 printf '%s\n' "yes" >&6; }
   13983       else
   13984         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13985 printf '%s\n' "no" >&6; }
   13986       fi
   13987       ;;
   13988     *)
   13989       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13990 printf '%s\n' "no" >&6; }
   13991       ;;
   13992     esac
   13993   fi
   13994 fi
   13995 
   13996 
   13997 
   13998 
   13999 
   14000 
   14001 
   14002 
   14003 
   14004 
   14005 
   14006 
   14007   # Report what library types will actually be built
   14008   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   14009 printf %s "checking if libtool supports shared libraries... " >&6; }
   14010   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   14011 printf '%s\n' "$can_build_shared" >&6; }
   14012 
   14013   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   14014 printf %s "checking whether to build shared libraries... " >&6; }
   14015   test no = "$can_build_shared" && enable_shared=no
   14016 
   14017   # On AIX, shared libraries and static libraries use the same namespace, and
   14018   # are all built from PIC.
   14019   case $host_os in
   14020   aix3*)
   14021     test yes = "$enable_shared" && enable_static=no
   14022     if test -n "$RANLIB"; then
   14023       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   14024       postinstall_cmds='$RANLIB $lib'
   14025     fi
   14026     ;;
   14027 
   14028   aix[4-9]*)
   14029     if test ia64 != "$host_cpu"; then
   14030       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   14031       yes,aix,yes) ;;			# shared object as lib.so file only
   14032       yes,svr4,*) ;;			# shared object as lib.so archive member only
   14033       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   14034       esac
   14035     fi
   14036     ;;
   14037   esac
   14038   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   14039 printf '%s\n' "$enable_shared" >&6; }
   14040 
   14041   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   14042 printf %s "checking whether to build static libraries... " >&6; }
   14043   # Make sure either enable_shared or enable_static is yes.
   14044   test yes = "$enable_shared" || enable_static=yes
   14045   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   14046 printf '%s\n' "$enable_static" >&6; }
   14047 
   14048 
   14049 
   14050 
   14051 fi
   14052 ac_ext=c
   14053 ac_cpp='$CPP $CPPFLAGS'
   14054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14057 
   14058 CC=$lt_save_CC
   14059 
   14060 
   14061 
   14062 
   14063 
   14064 
   14065 
   14066 
   14067 
   14068 
   14069 
   14070 
   14071 
   14072 
   14073 
   14074 
   14075 
   14076 
   14077 
   14078 
   14079 
   14080 
   14081         ac_config_commands="$ac_config_commands libtool"
   14082 
   14083 
   14084 
   14085 
   14086 # Only expand once:
   14087 
   14088 
   14089 
   14090 # Require X.Org macros 1.8 or later for AC_PROG_INSTALL
   14091 
   14092 
   14093 
   14094 
   14095 
   14096 
   14097 
   14098 
   14099 
   14100 
   14101 
   14102 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC options to detect undeclared functions" >&5
   14103 printf %s "checking for $CC options to detect undeclared functions... " >&6; }
   14104 if test ${ac_cv_c_undeclared_builtin_options+y}
   14105 then :
   14106   printf %s "(cached) " >&6
   14107 else case e in #(
   14108   e) ac_save_CFLAGS=$CFLAGS
   14109    ac_cv_c_undeclared_builtin_options='cannot detect'
   14110    for ac_arg in '' -fno-builtin; do
   14111      CFLAGS="$ac_save_CFLAGS $ac_arg"
   14112      # This test program should *not* compile successfully.
   14113      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14114 /* end confdefs.h.  */
   14115 
   14116 int
   14117 main (void)
   14118 {
   14119 (void) strchr;
   14120   ;
   14121   return 0;
   14122 }
   14123 _ACEOF
   14124 if ac_fn_c_try_compile "$LINENO"
   14125 then :
   14126 
   14127 else case e in #(
   14128   e) # This test program should compile successfully.
   14129         # No library function is consistently available on
   14130         # freestanding implementations, so test against a dummy
   14131         # declaration.  Include always-available headers on the
   14132         # off chance that they somehow elicit warnings.
   14133         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14134 /* end confdefs.h.  */
   14135 #include <float.h>
   14136 #include <limits.h>
   14137 #include <stdarg.h>
   14138 #include <stddef.h>
   14139 extern void ac_decl (int, char *);
   14140 
   14141 int
   14142 main (void)
   14143 {
   14144 (void) ac_decl (0, (char *) 0);
   14145   (void) ac_decl;
   14146 
   14147   ;
   14148   return 0;
   14149 }
   14150 _ACEOF
   14151 if ac_fn_c_try_compile "$LINENO"
   14152 then :
   14153   if test x"$ac_arg" = x
   14154 then :
   14155   ac_cv_c_undeclared_builtin_options='none needed'
   14156 else case e in #(
   14157   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   14158 esac
   14159 fi
   14160           break
   14161 fi
   14162 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14163 esac
   14164 fi
   14165 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14166     done
   14167     CFLAGS=$ac_save_CFLAGS
   14168    ;;
   14169 esac
   14170 fi
   14171 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   14172 printf '%s\n' "$ac_cv_c_undeclared_builtin_options" >&6; }
   14173   case $ac_cv_c_undeclared_builtin_options in #(
   14174   'cannot detect') :
   14175     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   14176 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   14177 as_fn_error $? "cannot make $CC report undeclared builtins
   14178 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   14179   'none needed') :
   14180     ac_c_undeclared_builtin_options='' ;; #(
   14181   *) :
   14182     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   14183 esac
   14184 
   14185 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $CC options to ignore future-version functions" >&5
   14186 printf %s "checking for $CC options to ignore future-version functions... " >&6; }
   14187 if test ${ac_cv_c_future_darwin_options+y}
   14188 then :
   14189   printf %s "(cached) " >&6
   14190 else case e in #(
   14191   e)       ac_compile_saved="$ac_compile"
   14192    ac_compile="$ac_compile -Werror=unguarded-availability-new"
   14193    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14194 /* end confdefs.h.  */
   14195 #if ! (defined __APPLE__ && defined __MACH__)
   14196 	   #error "-Werror=unguarded-availability-new not needed here"
   14197 	  #endif
   14198 
   14199 int
   14200 main (void)
   14201 {
   14202 
   14203   ;
   14204   return 0;
   14205 }
   14206 _ACEOF
   14207 if ac_fn_c_try_compile "$LINENO"
   14208 then :
   14209   ac_cv_c_future_darwin_options='-Werror=unguarded-availability-new'
   14210 else case e in #(
   14211   e) ac_cv_c_future_darwin_options='none needed' ;;
   14212 esac
   14213 fi
   14214 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14215    ac_compile="$ac_compile_saved"
   14216    ;;
   14217 esac
   14218 fi
   14219 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_future_darwin_options" >&5
   14220 printf '%s\n' "$ac_cv_c_future_darwin_options" >&6; }
   14221  case $ac_cv_c_future_darwin_options in #(
   14222   'none needed') :
   14223     ac_c_future_darwin_options='' ;; #(
   14224   *) :
   14225     ac_c_future_darwin_options=$ac_cv_c_future_darwin_options ;;
   14226 esac
   14227 
   14228 
   14229 
   14230 
   14231 
   14232 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS"
   14233 if test "x$ac_cv_have_decl___clang__" = xyes
   14234 then :
   14235   CLANGCC="yes"
   14236 else case e in #(
   14237   e) CLANGCC="no" ;;
   14238 esac
   14239 fi
   14240 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS"
   14241 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   14242 then :
   14243   INTELCC="yes"
   14244 else case e in #(
   14245   e) INTELCC="no" ;;
   14246 esac
   14247 fi
   14248 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options$ac_c_future_darwin_options" "CFLAGS"
   14249 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   14250 then :
   14251   SUNCC="yes"
   14252 else case e in #(
   14253   e) SUNCC="no" ;;
   14254 esac
   14255 fi
   14256 
   14257 
   14258 
   14259 
   14260 
   14261 
   14262 
   14263 
   14264 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   14265 	if test -n "$ac_tool_prefix"; then
   14266   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   14267 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   14268 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14269 printf %s "checking for $ac_word... " >&6; }
   14270 if test ${ac_cv_path_PKG_CONFIG+y}
   14271 then :
   14272   printf %s "(cached) " >&6
   14273 else case e in #(
   14274   e) case $PKG_CONFIG in
   14275   [\\/]* | ?:[\\/]*)
   14276   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   14277   ;;
   14278   *)
   14279   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14280 for as_dir in $PATH
   14281 do
   14282   IFS=$as_save_IFS
   14283   case $as_dir in #(((
   14284     '') as_dir=./ ;;
   14285     */) ;;
   14286     *) as_dir=$as_dir/ ;;
   14287   esac
   14288     for ac_exec_ext in '' $ac_executable_extensions; do
   14289   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14290     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   14291     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14292     break 2
   14293   fi
   14294 done
   14295   done
   14296 IFS=$as_save_IFS
   14297 
   14298   ;;
   14299 esac ;;
   14300 esac
   14301 fi
   14302 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   14303 if test -n "$PKG_CONFIG"; then
   14304   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   14305 printf '%s\n' "$PKG_CONFIG" >&6; }
   14306 else
   14307   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14308 printf '%s\n' "no" >&6; }
   14309 fi
   14310 
   14311 
   14312 fi
   14313 if test -z "$ac_cv_path_PKG_CONFIG"; then
   14314   ac_pt_PKG_CONFIG=$PKG_CONFIG
   14315   # Extract the first word of "pkg-config", so it can be a program name with args.
   14316 set dummy pkg-config; ac_word=$2
   14317 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14318 printf %s "checking for $ac_word... " >&6; }
   14319 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   14320 then :
   14321   printf %s "(cached) " >&6
   14322 else case e in #(
   14323   e) case $ac_pt_PKG_CONFIG in
   14324   [\\/]* | ?:[\\/]*)
   14325   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   14326   ;;
   14327   *)
   14328   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14329 for as_dir in $PATH
   14330 do
   14331   IFS=$as_save_IFS
   14332   case $as_dir in #(((
   14333     '') as_dir=./ ;;
   14334     */) ;;
   14335     *) as_dir=$as_dir/ ;;
   14336   esac
   14337     for ac_exec_ext in '' $ac_executable_extensions; do
   14338   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14339     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   14340     printf '%s\n' "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14341     break 2
   14342   fi
   14343 done
   14344   done
   14345 IFS=$as_save_IFS
   14346 
   14347   ;;
   14348 esac ;;
   14349 esac
   14350 fi
   14351 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   14352 if test -n "$ac_pt_PKG_CONFIG"; then
   14353   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   14354 printf '%s\n' "$ac_pt_PKG_CONFIG" >&6; }
   14355 else
   14356   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14357 printf '%s\n' "no" >&6; }
   14358 fi
   14359 
   14360   if test "x$ac_pt_PKG_CONFIG" = x; then
   14361     PKG_CONFIG=""
   14362   else
   14363     case $cross_compiling:$ac_tool_warned in
   14364 yes:)
   14365 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14366 printf '%s\n' "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14367 ac_tool_warned=yes ;;
   14368 esac
   14369     PKG_CONFIG=$ac_pt_PKG_CONFIG
   14370   fi
   14371 else
   14372   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   14373 fi
   14374 
   14375 fi
   14376 if test -n "$PKG_CONFIG"; then
   14377 	_pkg_min_version=0.9.0
   14378 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   14379 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   14380 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   14381 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14382 printf '%s\n' "yes" >&6; }
   14383 	else
   14384 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14385 printf '%s\n' "no" >&6; }
   14386 		PKG_CONFIG=""
   14387 	fi
   14388 fi
   14389 
   14390 
   14391 
   14392 
   14393 
   14394 # Check whether --enable-selective-werror was given.
   14395 if test ${enable_selective_werror+y}
   14396 then :
   14397   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   14398 else case e in #(
   14399   e) SELECTIVE_WERROR=yes ;;
   14400 esac
   14401 fi
   14402 
   14403 
   14404 
   14405 
   14406 
   14407 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   14408 if test "x$SUNCC" = "xyes"; then
   14409     BASE_CFLAGS="-v"
   14410 else
   14411     BASE_CFLAGS=""
   14412 fi
   14413 
   14414 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   14415 
   14416 
   14417 
   14418 
   14419 
   14420 
   14421 
   14422 
   14423 
   14424 
   14425 
   14426 
   14427 
   14428 xorg_testset_save_CFLAGS="$CFLAGS"
   14429 
   14430 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14431 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14432 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14433 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14434 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14435 then :
   14436   printf %s "(cached) " >&6
   14437 else case e in #(
   14438   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14439 /* end confdefs.h.  */
   14440 int i;
   14441 _ACEOF
   14442 if ac_fn_c_try_compile "$LINENO"
   14443 then :
   14444   xorg_cv_cc_flag_unknown_warning_option=yes
   14445 else case e in #(
   14446   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14447 esac
   14448 fi
   14449 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14450 esac
   14451 fi
   14452 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14453 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14454 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14455 	CFLAGS="$xorg_testset_save_CFLAGS"
   14456 fi
   14457 
   14458 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14459 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14460 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14461 	fi
   14462 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14463 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14464 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14465 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14466 then :
   14467   printf %s "(cached) " >&6
   14468 else case e in #(
   14469   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14470 /* end confdefs.h.  */
   14471 int i;
   14472 _ACEOF
   14473 if ac_fn_c_try_compile "$LINENO"
   14474 then :
   14475   xorg_cv_cc_flag_unused_command_line_argument=yes
   14476 else case e in #(
   14477   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14478 esac
   14479 fi
   14480 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14481 esac
   14482 fi
   14483 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14484 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14485 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14486 	CFLAGS="$xorg_testset_save_CFLAGS"
   14487 fi
   14488 
   14489 found="no"
   14490 
   14491 	if test $found = "no" ; then
   14492 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14493 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14494 		fi
   14495 
   14496 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14497 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14498 		fi
   14499 
   14500 		CFLAGS="$CFLAGS -Wall"
   14501 
   14502 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   14503 printf %s "checking if $CC supports -Wall... " >&6; }
   14504 		cacheid=xorg_cv_cc_flag__Wall
   14505 		if eval test \${$cacheid+y}
   14506 then :
   14507   printf %s "(cached) " >&6
   14508 else case e in #(
   14509   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14510 /* end confdefs.h.  */
   14511 int i;
   14512 int
   14513 main (void)
   14514 {
   14515 
   14516   ;
   14517   return 0;
   14518 }
   14519 _ACEOF
   14520 if ac_fn_c_try_link "$LINENO"
   14521 then :
   14522   eval $cacheid=yes
   14523 else case e in #(
   14524   e) eval $cacheid=no ;;
   14525 esac
   14526 fi
   14527 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14528     conftest$ac_exeext conftest.$ac_ext ;;
   14529 esac
   14530 fi
   14531 
   14532 
   14533 		CFLAGS="$xorg_testset_save_CFLAGS"
   14534 
   14535 		eval supported=\$$cacheid
   14536 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14537 printf '%s\n' "$supported" >&6; }
   14538 		if test "$supported" = "yes" ; then
   14539 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   14540 			found="yes"
   14541 		fi
   14542 	fi
   14543 
   14544 
   14545 
   14546 
   14547 
   14548 
   14549 
   14550 
   14551 
   14552 
   14553 
   14554 
   14555 
   14556 
   14557 
   14558 xorg_testset_save_CFLAGS="$CFLAGS"
   14559 
   14560 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14561 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14562 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14563 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14564 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14565 then :
   14566   printf %s "(cached) " >&6
   14567 else case e in #(
   14568   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14569 /* end confdefs.h.  */
   14570 int i;
   14571 _ACEOF
   14572 if ac_fn_c_try_compile "$LINENO"
   14573 then :
   14574   xorg_cv_cc_flag_unknown_warning_option=yes
   14575 else case e in #(
   14576   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14577 esac
   14578 fi
   14579 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14580 esac
   14581 fi
   14582 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14583 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14584 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14585 	CFLAGS="$xorg_testset_save_CFLAGS"
   14586 fi
   14587 
   14588 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14589 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14590 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14591 	fi
   14592 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14593 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14594 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14595 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14596 then :
   14597   printf %s "(cached) " >&6
   14598 else case e in #(
   14599   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14600 /* end confdefs.h.  */
   14601 int i;
   14602 _ACEOF
   14603 if ac_fn_c_try_compile "$LINENO"
   14604 then :
   14605   xorg_cv_cc_flag_unused_command_line_argument=yes
   14606 else case e in #(
   14607   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14608 esac
   14609 fi
   14610 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14611 esac
   14612 fi
   14613 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14614 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14615 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14616 	CFLAGS="$xorg_testset_save_CFLAGS"
   14617 fi
   14618 
   14619 found="no"
   14620 
   14621 	if test $found = "no" ; then
   14622 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14623 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14624 		fi
   14625 
   14626 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14627 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14628 		fi
   14629 
   14630 		CFLAGS="$CFLAGS -Wpointer-arith"
   14631 
   14632 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   14633 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   14634 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   14635 		if eval test \${$cacheid+y}
   14636 then :
   14637   printf %s "(cached) " >&6
   14638 else case e in #(
   14639   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14640 /* end confdefs.h.  */
   14641 int i;
   14642 int
   14643 main (void)
   14644 {
   14645 
   14646   ;
   14647   return 0;
   14648 }
   14649 _ACEOF
   14650 if ac_fn_c_try_link "$LINENO"
   14651 then :
   14652   eval $cacheid=yes
   14653 else case e in #(
   14654   e) eval $cacheid=no ;;
   14655 esac
   14656 fi
   14657 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14658     conftest$ac_exeext conftest.$ac_ext ;;
   14659 esac
   14660 fi
   14661 
   14662 
   14663 		CFLAGS="$xorg_testset_save_CFLAGS"
   14664 
   14665 		eval supported=\$$cacheid
   14666 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14667 printf '%s\n' "$supported" >&6; }
   14668 		if test "$supported" = "yes" ; then
   14669 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   14670 			found="yes"
   14671 		fi
   14672 	fi
   14673 
   14674 
   14675 
   14676 
   14677 
   14678 
   14679 
   14680 
   14681 
   14682 
   14683 
   14684 
   14685 
   14686 
   14687 
   14688 xorg_testset_save_CFLAGS="$CFLAGS"
   14689 
   14690 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14691 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14692 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14693 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14694 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14695 then :
   14696   printf %s "(cached) " >&6
   14697 else case e in #(
   14698   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14699 /* end confdefs.h.  */
   14700 int i;
   14701 _ACEOF
   14702 if ac_fn_c_try_compile "$LINENO"
   14703 then :
   14704   xorg_cv_cc_flag_unknown_warning_option=yes
   14705 else case e in #(
   14706   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14707 esac
   14708 fi
   14709 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14710 esac
   14711 fi
   14712 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14713 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14714 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14715 	CFLAGS="$xorg_testset_save_CFLAGS"
   14716 fi
   14717 
   14718 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14719 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14720 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14721 	fi
   14722 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14723 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14724 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14725 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14726 then :
   14727   printf %s "(cached) " >&6
   14728 else case e in #(
   14729   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14730 /* end confdefs.h.  */
   14731 int i;
   14732 _ACEOF
   14733 if ac_fn_c_try_compile "$LINENO"
   14734 then :
   14735   xorg_cv_cc_flag_unused_command_line_argument=yes
   14736 else case e in #(
   14737   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14738 esac
   14739 fi
   14740 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14741 esac
   14742 fi
   14743 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14744 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14745 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14746 	CFLAGS="$xorg_testset_save_CFLAGS"
   14747 fi
   14748 
   14749 found="no"
   14750 
   14751 	if test $found = "no" ; then
   14752 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14753 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14754 		fi
   14755 
   14756 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14757 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14758 		fi
   14759 
   14760 		CFLAGS="$CFLAGS -Wmissing-declarations"
   14761 
   14762 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   14763 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   14764 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   14765 		if eval test \${$cacheid+y}
   14766 then :
   14767   printf %s "(cached) " >&6
   14768 else case e in #(
   14769   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14770 /* end confdefs.h.  */
   14771 int i;
   14772 int
   14773 main (void)
   14774 {
   14775 
   14776   ;
   14777   return 0;
   14778 }
   14779 _ACEOF
   14780 if ac_fn_c_try_link "$LINENO"
   14781 then :
   14782   eval $cacheid=yes
   14783 else case e in #(
   14784   e) eval $cacheid=no ;;
   14785 esac
   14786 fi
   14787 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14788     conftest$ac_exeext conftest.$ac_ext ;;
   14789 esac
   14790 fi
   14791 
   14792 
   14793 		CFLAGS="$xorg_testset_save_CFLAGS"
   14794 
   14795 		eval supported=\$$cacheid
   14796 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14797 printf '%s\n' "$supported" >&6; }
   14798 		if test "$supported" = "yes" ; then
   14799 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   14800 			found="yes"
   14801 		fi
   14802 	fi
   14803 
   14804 
   14805 
   14806 
   14807 
   14808 
   14809 
   14810 
   14811 
   14812 
   14813 
   14814 
   14815 
   14816 
   14817 
   14818 xorg_testset_save_CFLAGS="$CFLAGS"
   14819 
   14820 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14821 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14822 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14823 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14824 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14825 then :
   14826   printf %s "(cached) " >&6
   14827 else case e in #(
   14828   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14829 /* end confdefs.h.  */
   14830 int i;
   14831 _ACEOF
   14832 if ac_fn_c_try_compile "$LINENO"
   14833 then :
   14834   xorg_cv_cc_flag_unknown_warning_option=yes
   14835 else case e in #(
   14836   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14837 esac
   14838 fi
   14839 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14840 esac
   14841 fi
   14842 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14843 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14844 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14845 	CFLAGS="$xorg_testset_save_CFLAGS"
   14846 fi
   14847 
   14848 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14849 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14850 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14851 	fi
   14852 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14853 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14854 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14855 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14856 then :
   14857   printf %s "(cached) " >&6
   14858 else case e in #(
   14859   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14860 /* end confdefs.h.  */
   14861 int i;
   14862 _ACEOF
   14863 if ac_fn_c_try_compile "$LINENO"
   14864 then :
   14865   xorg_cv_cc_flag_unused_command_line_argument=yes
   14866 else case e in #(
   14867   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14868 esac
   14869 fi
   14870 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14871 esac
   14872 fi
   14873 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14874 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14875 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14876 	CFLAGS="$xorg_testset_save_CFLAGS"
   14877 fi
   14878 
   14879 found="no"
   14880 
   14881 	if test $found = "no" ; then
   14882 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14883 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14884 		fi
   14885 
   14886 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14887 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14888 		fi
   14889 
   14890 		CFLAGS="$CFLAGS -Wformat=2"
   14891 
   14892 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   14893 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   14894 		cacheid=xorg_cv_cc_flag__Wformat_2
   14895 		if eval test \${$cacheid+y}
   14896 then :
   14897   printf %s "(cached) " >&6
   14898 else case e in #(
   14899   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14900 /* end confdefs.h.  */
   14901 int i;
   14902 int
   14903 main (void)
   14904 {
   14905 
   14906   ;
   14907   return 0;
   14908 }
   14909 _ACEOF
   14910 if ac_fn_c_try_link "$LINENO"
   14911 then :
   14912   eval $cacheid=yes
   14913 else case e in #(
   14914   e) eval $cacheid=no ;;
   14915 esac
   14916 fi
   14917 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14918     conftest$ac_exeext conftest.$ac_ext ;;
   14919 esac
   14920 fi
   14921 
   14922 
   14923 		CFLAGS="$xorg_testset_save_CFLAGS"
   14924 
   14925 		eval supported=\$$cacheid
   14926 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14927 printf '%s\n' "$supported" >&6; }
   14928 		if test "$supported" = "yes" ; then
   14929 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   14930 			found="yes"
   14931 		fi
   14932 	fi
   14933 
   14934 	if test $found = "no" ; then
   14935 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14936 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14937 		fi
   14938 
   14939 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14940 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14941 		fi
   14942 
   14943 		CFLAGS="$CFLAGS -Wformat"
   14944 
   14945 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   14946 printf %s "checking if $CC supports -Wformat... " >&6; }
   14947 		cacheid=xorg_cv_cc_flag__Wformat
   14948 		if eval test \${$cacheid+y}
   14949 then :
   14950   printf %s "(cached) " >&6
   14951 else case e in #(
   14952   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14953 /* end confdefs.h.  */
   14954 int i;
   14955 int
   14956 main (void)
   14957 {
   14958 
   14959   ;
   14960   return 0;
   14961 }
   14962 _ACEOF
   14963 if ac_fn_c_try_link "$LINENO"
   14964 then :
   14965   eval $cacheid=yes
   14966 else case e in #(
   14967   e) eval $cacheid=no ;;
   14968 esac
   14969 fi
   14970 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14971     conftest$ac_exeext conftest.$ac_ext ;;
   14972 esac
   14973 fi
   14974 
   14975 
   14976 		CFLAGS="$xorg_testset_save_CFLAGS"
   14977 
   14978 		eval supported=\$$cacheid
   14979 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14980 printf '%s\n' "$supported" >&6; }
   14981 		if test "$supported" = "yes" ; then
   14982 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   14983 			found="yes"
   14984 		fi
   14985 	fi
   14986 
   14987 
   14988 
   14989 
   14990 
   14991 
   14992 
   14993 
   14994 
   14995 
   14996 
   14997 
   14998 
   14999 
   15000 
   15001 
   15002 
   15003 xorg_testset_save_CFLAGS="$CFLAGS"
   15004 
   15005 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15006 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15007 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15008 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15009 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15010 then :
   15011   printf %s "(cached) " >&6
   15012 else case e in #(
   15013   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15014 /* end confdefs.h.  */
   15015 int i;
   15016 _ACEOF
   15017 if ac_fn_c_try_compile "$LINENO"
   15018 then :
   15019   xorg_cv_cc_flag_unknown_warning_option=yes
   15020 else case e in #(
   15021   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15022 esac
   15023 fi
   15024 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15025 esac
   15026 fi
   15027 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15028 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15029 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15030 	CFLAGS="$xorg_testset_save_CFLAGS"
   15031 fi
   15032 
   15033 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15034 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15035 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15036 	fi
   15037 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15038 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15039 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15040 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15041 then :
   15042   printf %s "(cached) " >&6
   15043 else case e in #(
   15044   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15045 /* end confdefs.h.  */
   15046 int i;
   15047 _ACEOF
   15048 if ac_fn_c_try_compile "$LINENO"
   15049 then :
   15050   xorg_cv_cc_flag_unused_command_line_argument=yes
   15051 else case e in #(
   15052   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15053 esac
   15054 fi
   15055 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15056 esac
   15057 fi
   15058 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15059 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15060 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15061 	CFLAGS="$xorg_testset_save_CFLAGS"
   15062 fi
   15063 
   15064 found="no"
   15065 
   15066 	if test $found = "no" ; then
   15067 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15068 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15069 		fi
   15070 
   15071 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15072 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15073 		fi
   15074 
   15075 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   15076 
   15077 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   15078 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   15079 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   15080 		if eval test \${$cacheid+y}
   15081 then :
   15082   printf %s "(cached) " >&6
   15083 else case e in #(
   15084   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15085 /* end confdefs.h.  */
   15086 int i;
   15087 int
   15088 main (void)
   15089 {
   15090 
   15091   ;
   15092   return 0;
   15093 }
   15094 _ACEOF
   15095 if ac_fn_c_try_link "$LINENO"
   15096 then :
   15097   eval $cacheid=yes
   15098 else case e in #(
   15099   e) eval $cacheid=no ;;
   15100 esac
   15101 fi
   15102 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15103     conftest$ac_exeext conftest.$ac_ext ;;
   15104 esac
   15105 fi
   15106 
   15107 
   15108 		CFLAGS="$xorg_testset_save_CFLAGS"
   15109 
   15110 		eval supported=\$$cacheid
   15111 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15112 printf '%s\n' "$supported" >&6; }
   15113 		if test "$supported" = "yes" ; then
   15114 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   15115 			found="yes"
   15116 		fi
   15117 	fi
   15118 
   15119 
   15120 
   15121 
   15122 
   15123 
   15124 
   15125 
   15126 
   15127 
   15128 
   15129 
   15130 
   15131 
   15132 
   15133 xorg_testset_save_CFLAGS="$CFLAGS"
   15134 
   15135 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15136 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15137 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15138 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15139 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15140 then :
   15141   printf %s "(cached) " >&6
   15142 else case e in #(
   15143   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15144 /* end confdefs.h.  */
   15145 int i;
   15146 _ACEOF
   15147 if ac_fn_c_try_compile "$LINENO"
   15148 then :
   15149   xorg_cv_cc_flag_unknown_warning_option=yes
   15150 else case e in #(
   15151   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15152 esac
   15153 fi
   15154 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15155 esac
   15156 fi
   15157 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15158 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15159 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15160 	CFLAGS="$xorg_testset_save_CFLAGS"
   15161 fi
   15162 
   15163 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15164 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15165 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15166 	fi
   15167 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15168 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15169 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15170 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15171 then :
   15172   printf %s "(cached) " >&6
   15173 else case e in #(
   15174   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15175 /* end confdefs.h.  */
   15176 int i;
   15177 _ACEOF
   15178 if ac_fn_c_try_compile "$LINENO"
   15179 then :
   15180   xorg_cv_cc_flag_unused_command_line_argument=yes
   15181 else case e in #(
   15182   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15183 esac
   15184 fi
   15185 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15186 esac
   15187 fi
   15188 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15189 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15190 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15191 	CFLAGS="$xorg_testset_save_CFLAGS"
   15192 fi
   15193 
   15194 found="no"
   15195 
   15196 	if test $found = "no" ; then
   15197 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15198 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15199 		fi
   15200 
   15201 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15202 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15203 		fi
   15204 
   15205 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   15206 
   15207 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   15208 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   15209 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   15210 		if eval test \${$cacheid+y}
   15211 then :
   15212   printf %s "(cached) " >&6
   15213 else case e in #(
   15214   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15215 /* end confdefs.h.  */
   15216 int i;
   15217 int
   15218 main (void)
   15219 {
   15220 
   15221   ;
   15222   return 0;
   15223 }
   15224 _ACEOF
   15225 if ac_fn_c_try_link "$LINENO"
   15226 then :
   15227   eval $cacheid=yes
   15228 else case e in #(
   15229   e) eval $cacheid=no ;;
   15230 esac
   15231 fi
   15232 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15233     conftest$ac_exeext conftest.$ac_ext ;;
   15234 esac
   15235 fi
   15236 
   15237 
   15238 		CFLAGS="$xorg_testset_save_CFLAGS"
   15239 
   15240 		eval supported=\$$cacheid
   15241 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15242 printf '%s\n' "$supported" >&6; }
   15243 		if test "$supported" = "yes" ; then
   15244 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   15245 			found="yes"
   15246 		fi
   15247 	fi
   15248 
   15249 
   15250 
   15251 
   15252 
   15253 
   15254 
   15255 
   15256 
   15257 
   15258 
   15259 
   15260 
   15261 
   15262 
   15263 xorg_testset_save_CFLAGS="$CFLAGS"
   15264 
   15265 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15266 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15267 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15268 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15269 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15270 then :
   15271   printf %s "(cached) " >&6
   15272 else case e in #(
   15273   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15274 /* end confdefs.h.  */
   15275 int i;
   15276 _ACEOF
   15277 if ac_fn_c_try_compile "$LINENO"
   15278 then :
   15279   xorg_cv_cc_flag_unknown_warning_option=yes
   15280 else case e in #(
   15281   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15282 esac
   15283 fi
   15284 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15285 esac
   15286 fi
   15287 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15288 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15289 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15290 	CFLAGS="$xorg_testset_save_CFLAGS"
   15291 fi
   15292 
   15293 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15294 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15295 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15296 	fi
   15297 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15298 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15299 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15300 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15301 then :
   15302   printf %s "(cached) " >&6
   15303 else case e in #(
   15304   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15305 /* end confdefs.h.  */
   15306 int i;
   15307 _ACEOF
   15308 if ac_fn_c_try_compile "$LINENO"
   15309 then :
   15310   xorg_cv_cc_flag_unused_command_line_argument=yes
   15311 else case e in #(
   15312   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15313 esac
   15314 fi
   15315 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15316 esac
   15317 fi
   15318 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15319 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15320 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15321 	CFLAGS="$xorg_testset_save_CFLAGS"
   15322 fi
   15323 
   15324 found="no"
   15325 
   15326 	if test $found = "no" ; then
   15327 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15328 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15329 		fi
   15330 
   15331 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15332 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15333 		fi
   15334 
   15335 		CFLAGS="$CFLAGS -Wnested-externs"
   15336 
   15337 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   15338 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   15339 		cacheid=xorg_cv_cc_flag__Wnested_externs
   15340 		if eval test \${$cacheid+y}
   15341 then :
   15342   printf %s "(cached) " >&6
   15343 else case e in #(
   15344   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15345 /* end confdefs.h.  */
   15346 int i;
   15347 int
   15348 main (void)
   15349 {
   15350 
   15351   ;
   15352   return 0;
   15353 }
   15354 _ACEOF
   15355 if ac_fn_c_try_link "$LINENO"
   15356 then :
   15357   eval $cacheid=yes
   15358 else case e in #(
   15359   e) eval $cacheid=no ;;
   15360 esac
   15361 fi
   15362 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15363     conftest$ac_exeext conftest.$ac_ext ;;
   15364 esac
   15365 fi
   15366 
   15367 
   15368 		CFLAGS="$xorg_testset_save_CFLAGS"
   15369 
   15370 		eval supported=\$$cacheid
   15371 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15372 printf '%s\n' "$supported" >&6; }
   15373 		if test "$supported" = "yes" ; then
   15374 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   15375 			found="yes"
   15376 		fi
   15377 	fi
   15378 
   15379 
   15380 
   15381 
   15382 
   15383 
   15384 
   15385 
   15386 
   15387 
   15388 
   15389 
   15390 
   15391 
   15392 
   15393 xorg_testset_save_CFLAGS="$CFLAGS"
   15394 
   15395 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15396 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15397 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15398 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15399 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15400 then :
   15401   printf %s "(cached) " >&6
   15402 else case e in #(
   15403   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15404 /* end confdefs.h.  */
   15405 int i;
   15406 _ACEOF
   15407 if ac_fn_c_try_compile "$LINENO"
   15408 then :
   15409   xorg_cv_cc_flag_unknown_warning_option=yes
   15410 else case e in #(
   15411   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15412 esac
   15413 fi
   15414 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15415 esac
   15416 fi
   15417 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15418 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15419 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15420 	CFLAGS="$xorg_testset_save_CFLAGS"
   15421 fi
   15422 
   15423 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15424 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15425 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15426 	fi
   15427 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15428 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15429 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15430 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15431 then :
   15432   printf %s "(cached) " >&6
   15433 else case e in #(
   15434   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15435 /* end confdefs.h.  */
   15436 int i;
   15437 _ACEOF
   15438 if ac_fn_c_try_compile "$LINENO"
   15439 then :
   15440   xorg_cv_cc_flag_unused_command_line_argument=yes
   15441 else case e in #(
   15442   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15443 esac
   15444 fi
   15445 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15446 esac
   15447 fi
   15448 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15449 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15450 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15451 	CFLAGS="$xorg_testset_save_CFLAGS"
   15452 fi
   15453 
   15454 found="no"
   15455 
   15456 	if test $found = "no" ; then
   15457 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15458 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15459 		fi
   15460 
   15461 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15462 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15463 		fi
   15464 
   15465 		CFLAGS="$CFLAGS -Wbad-function-cast"
   15466 
   15467 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   15468 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   15469 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   15470 		if eval test \${$cacheid+y}
   15471 then :
   15472   printf %s "(cached) " >&6
   15473 else case e in #(
   15474   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15475 /* end confdefs.h.  */
   15476 int i;
   15477 int
   15478 main (void)
   15479 {
   15480 
   15481   ;
   15482   return 0;
   15483 }
   15484 _ACEOF
   15485 if ac_fn_c_try_link "$LINENO"
   15486 then :
   15487   eval $cacheid=yes
   15488 else case e in #(
   15489   e) eval $cacheid=no ;;
   15490 esac
   15491 fi
   15492 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15493     conftest$ac_exeext conftest.$ac_ext ;;
   15494 esac
   15495 fi
   15496 
   15497 
   15498 		CFLAGS="$xorg_testset_save_CFLAGS"
   15499 
   15500 		eval supported=\$$cacheid
   15501 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15502 printf '%s\n' "$supported" >&6; }
   15503 		if test "$supported" = "yes" ; then
   15504 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   15505 			found="yes"
   15506 		fi
   15507 	fi
   15508 
   15509 
   15510 
   15511 
   15512 
   15513 
   15514 
   15515 
   15516 
   15517 
   15518 
   15519 
   15520 
   15521 
   15522 
   15523 xorg_testset_save_CFLAGS="$CFLAGS"
   15524 
   15525 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15526 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15527 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15528 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15529 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15530 then :
   15531   printf %s "(cached) " >&6
   15532 else case e in #(
   15533   e) 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_unknown_warning_option=yes
   15540 else case e in #(
   15541   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15542 esac
   15543 fi
   15544 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15545 esac
   15546 fi
   15547 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15548 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15549 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15550 	CFLAGS="$xorg_testset_save_CFLAGS"
   15551 fi
   15552 
   15553 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15554 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15555 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15556 	fi
   15557 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15558 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15559 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15560 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15561 then :
   15562   printf %s "(cached) " >&6
   15563 else case e in #(
   15564   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15565 /* end confdefs.h.  */
   15566 int i;
   15567 _ACEOF
   15568 if ac_fn_c_try_compile "$LINENO"
   15569 then :
   15570   xorg_cv_cc_flag_unused_command_line_argument=yes
   15571 else case e in #(
   15572   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15573 esac
   15574 fi
   15575 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15576 esac
   15577 fi
   15578 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15579 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15580 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15581 	CFLAGS="$xorg_testset_save_CFLAGS"
   15582 fi
   15583 
   15584 found="no"
   15585 
   15586 	if test $found = "no" ; then
   15587 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15588 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15589 		fi
   15590 
   15591 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15592 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15593 		fi
   15594 
   15595 		CFLAGS="$CFLAGS -Wold-style-definition"
   15596 
   15597 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   15598 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   15599 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   15600 		if eval test \${$cacheid+y}
   15601 then :
   15602   printf %s "(cached) " >&6
   15603 else case e in #(
   15604   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15605 /* end confdefs.h.  */
   15606 int i;
   15607 int
   15608 main (void)
   15609 {
   15610 
   15611   ;
   15612   return 0;
   15613 }
   15614 _ACEOF
   15615 if ac_fn_c_try_link "$LINENO"
   15616 then :
   15617   eval $cacheid=yes
   15618 else case e in #(
   15619   e) eval $cacheid=no ;;
   15620 esac
   15621 fi
   15622 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15623     conftest$ac_exeext conftest.$ac_ext ;;
   15624 esac
   15625 fi
   15626 
   15627 
   15628 		CFLAGS="$xorg_testset_save_CFLAGS"
   15629 
   15630 		eval supported=\$$cacheid
   15631 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15632 printf '%s\n' "$supported" >&6; }
   15633 		if test "$supported" = "yes" ; then
   15634 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   15635 			found="yes"
   15636 		fi
   15637 	fi
   15638 
   15639 	if test $found = "no" ; then
   15640 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15641 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15642 		fi
   15643 
   15644 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15645 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15646 		fi
   15647 
   15648 		CFLAGS="$CFLAGS -fd"
   15649 
   15650 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   15651 printf %s "checking if $CC supports -fd... " >&6; }
   15652 		cacheid=xorg_cv_cc_flag__fd
   15653 		if eval test \${$cacheid+y}
   15654 then :
   15655   printf %s "(cached) " >&6
   15656 else case e in #(
   15657   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15658 /* end confdefs.h.  */
   15659 int i;
   15660 int
   15661 main (void)
   15662 {
   15663 
   15664   ;
   15665   return 0;
   15666 }
   15667 _ACEOF
   15668 if ac_fn_c_try_link "$LINENO"
   15669 then :
   15670   eval $cacheid=yes
   15671 else case e in #(
   15672   e) eval $cacheid=no ;;
   15673 esac
   15674 fi
   15675 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15676     conftest$ac_exeext conftest.$ac_ext ;;
   15677 esac
   15678 fi
   15679 
   15680 
   15681 		CFLAGS="$xorg_testset_save_CFLAGS"
   15682 
   15683 		eval supported=\$$cacheid
   15684 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15685 printf '%s\n' "$supported" >&6; }
   15686 		if test "$supported" = "yes" ; then
   15687 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   15688 			found="yes"
   15689 		fi
   15690 	fi
   15691 
   15692 
   15693 
   15694 
   15695 
   15696 # This chunk adds additional warnings that could catch undesired effects.
   15697 
   15698 
   15699 
   15700 
   15701 
   15702 
   15703 
   15704 
   15705 
   15706 
   15707 
   15708 
   15709 
   15710 xorg_testset_save_CFLAGS="$CFLAGS"
   15711 
   15712 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15713 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15714 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15715 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15716 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15717 then :
   15718   printf %s "(cached) " >&6
   15719 else case e in #(
   15720   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15721 /* end confdefs.h.  */
   15722 int i;
   15723 _ACEOF
   15724 if ac_fn_c_try_compile "$LINENO"
   15725 then :
   15726   xorg_cv_cc_flag_unknown_warning_option=yes
   15727 else case e in #(
   15728   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15729 esac
   15730 fi
   15731 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15732 esac
   15733 fi
   15734 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15735 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15736 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15737 	CFLAGS="$xorg_testset_save_CFLAGS"
   15738 fi
   15739 
   15740 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15741 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15742 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15743 	fi
   15744 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15745 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15746 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15747 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15748 then :
   15749   printf %s "(cached) " >&6
   15750 else case e in #(
   15751   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15752 /* end confdefs.h.  */
   15753 int i;
   15754 _ACEOF
   15755 if ac_fn_c_try_compile "$LINENO"
   15756 then :
   15757   xorg_cv_cc_flag_unused_command_line_argument=yes
   15758 else case e in #(
   15759   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15760 esac
   15761 fi
   15762 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15763 esac
   15764 fi
   15765 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15766 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15767 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15768 	CFLAGS="$xorg_testset_save_CFLAGS"
   15769 fi
   15770 
   15771 found="no"
   15772 
   15773 	if test $found = "no" ; then
   15774 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15775 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15776 		fi
   15777 
   15778 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15779 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15780 		fi
   15781 
   15782 		CFLAGS="$CFLAGS -Wunused"
   15783 
   15784 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   15785 printf %s "checking if $CC supports -Wunused... " >&6; }
   15786 		cacheid=xorg_cv_cc_flag__Wunused
   15787 		if eval test \${$cacheid+y}
   15788 then :
   15789   printf %s "(cached) " >&6
   15790 else case e in #(
   15791   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15792 /* end confdefs.h.  */
   15793 int i;
   15794 int
   15795 main (void)
   15796 {
   15797 
   15798   ;
   15799   return 0;
   15800 }
   15801 _ACEOF
   15802 if ac_fn_c_try_link "$LINENO"
   15803 then :
   15804   eval $cacheid=yes
   15805 else case e in #(
   15806   e) eval $cacheid=no ;;
   15807 esac
   15808 fi
   15809 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15810     conftest$ac_exeext conftest.$ac_ext ;;
   15811 esac
   15812 fi
   15813 
   15814 
   15815 		CFLAGS="$xorg_testset_save_CFLAGS"
   15816 
   15817 		eval supported=\$$cacheid
   15818 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15819 printf '%s\n' "$supported" >&6; }
   15820 		if test "$supported" = "yes" ; then
   15821 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   15822 			found="yes"
   15823 		fi
   15824 	fi
   15825 
   15826 
   15827 
   15828 
   15829 
   15830 
   15831 
   15832 
   15833 
   15834 
   15835 
   15836 
   15837 
   15838 
   15839 
   15840 xorg_testset_save_CFLAGS="$CFLAGS"
   15841 
   15842 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15843 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15844 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15845 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15846 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15847 then :
   15848   printf %s "(cached) " >&6
   15849 else case e in #(
   15850   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15851 /* end confdefs.h.  */
   15852 int i;
   15853 _ACEOF
   15854 if ac_fn_c_try_compile "$LINENO"
   15855 then :
   15856   xorg_cv_cc_flag_unknown_warning_option=yes
   15857 else case e in #(
   15858   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15859 esac
   15860 fi
   15861 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15862 esac
   15863 fi
   15864 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15865 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15866 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15867 	CFLAGS="$xorg_testset_save_CFLAGS"
   15868 fi
   15869 
   15870 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15871 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15872 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15873 	fi
   15874 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15875 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15876 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15877 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15878 then :
   15879   printf %s "(cached) " >&6
   15880 else case e in #(
   15881   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15882 /* end confdefs.h.  */
   15883 int i;
   15884 _ACEOF
   15885 if ac_fn_c_try_compile "$LINENO"
   15886 then :
   15887   xorg_cv_cc_flag_unused_command_line_argument=yes
   15888 else case e in #(
   15889   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15890 esac
   15891 fi
   15892 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15893 esac
   15894 fi
   15895 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15896 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15897 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15898 	CFLAGS="$xorg_testset_save_CFLAGS"
   15899 fi
   15900 
   15901 found="no"
   15902 
   15903 	if test $found = "no" ; then
   15904 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15905 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15906 		fi
   15907 
   15908 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15909 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15910 		fi
   15911 
   15912 		CFLAGS="$CFLAGS -Wuninitialized"
   15913 
   15914 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   15915 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   15916 		cacheid=xorg_cv_cc_flag__Wuninitialized
   15917 		if eval test \${$cacheid+y}
   15918 then :
   15919   printf %s "(cached) " >&6
   15920 else case e in #(
   15921   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15922 /* end confdefs.h.  */
   15923 int i;
   15924 int
   15925 main (void)
   15926 {
   15927 
   15928   ;
   15929   return 0;
   15930 }
   15931 _ACEOF
   15932 if ac_fn_c_try_link "$LINENO"
   15933 then :
   15934   eval $cacheid=yes
   15935 else case e in #(
   15936   e) eval $cacheid=no ;;
   15937 esac
   15938 fi
   15939 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15940     conftest$ac_exeext conftest.$ac_ext ;;
   15941 esac
   15942 fi
   15943 
   15944 
   15945 		CFLAGS="$xorg_testset_save_CFLAGS"
   15946 
   15947 		eval supported=\$$cacheid
   15948 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15949 printf '%s\n' "$supported" >&6; }
   15950 		if test "$supported" = "yes" ; then
   15951 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   15952 			found="yes"
   15953 		fi
   15954 	fi
   15955 
   15956 
   15957 
   15958 
   15959 
   15960 
   15961 
   15962 
   15963 
   15964 
   15965 
   15966 
   15967 
   15968 
   15969 
   15970 xorg_testset_save_CFLAGS="$CFLAGS"
   15971 
   15972 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15973 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15974 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15975 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15976 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15977 then :
   15978   printf %s "(cached) " >&6
   15979 else case e in #(
   15980   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15981 /* end confdefs.h.  */
   15982 int i;
   15983 _ACEOF
   15984 if ac_fn_c_try_compile "$LINENO"
   15985 then :
   15986   xorg_cv_cc_flag_unknown_warning_option=yes
   15987 else case e in #(
   15988   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15989 esac
   15990 fi
   15991 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15992 esac
   15993 fi
   15994 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15995 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15996 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15997 	CFLAGS="$xorg_testset_save_CFLAGS"
   15998 fi
   15999 
   16000 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16001 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16002 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16003 	fi
   16004 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16005 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16006 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16007 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16008 then :
   16009   printf %s "(cached) " >&6
   16010 else case e in #(
   16011   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16012 /* end confdefs.h.  */
   16013 int i;
   16014 _ACEOF
   16015 if ac_fn_c_try_compile "$LINENO"
   16016 then :
   16017   xorg_cv_cc_flag_unused_command_line_argument=yes
   16018 else case e in #(
   16019   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16020 esac
   16021 fi
   16022 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16023 esac
   16024 fi
   16025 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16026 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16027 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16028 	CFLAGS="$xorg_testset_save_CFLAGS"
   16029 fi
   16030 
   16031 found="no"
   16032 
   16033 	if test $found = "no" ; then
   16034 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16035 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16036 		fi
   16037 
   16038 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16039 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16040 		fi
   16041 
   16042 		CFLAGS="$CFLAGS -Wshadow"
   16043 
   16044 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   16045 printf %s "checking if $CC supports -Wshadow... " >&6; }
   16046 		cacheid=xorg_cv_cc_flag__Wshadow
   16047 		if eval test \${$cacheid+y}
   16048 then :
   16049   printf %s "(cached) " >&6
   16050 else case e in #(
   16051   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16052 /* end confdefs.h.  */
   16053 int i;
   16054 int
   16055 main (void)
   16056 {
   16057 
   16058   ;
   16059   return 0;
   16060 }
   16061 _ACEOF
   16062 if ac_fn_c_try_link "$LINENO"
   16063 then :
   16064   eval $cacheid=yes
   16065 else case e in #(
   16066   e) eval $cacheid=no ;;
   16067 esac
   16068 fi
   16069 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16070     conftest$ac_exeext conftest.$ac_ext ;;
   16071 esac
   16072 fi
   16073 
   16074 
   16075 		CFLAGS="$xorg_testset_save_CFLAGS"
   16076 
   16077 		eval supported=\$$cacheid
   16078 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16079 printf '%s\n' "$supported" >&6; }
   16080 		if test "$supported" = "yes" ; then
   16081 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   16082 			found="yes"
   16083 		fi
   16084 	fi
   16085 
   16086 
   16087 
   16088 
   16089 
   16090 
   16091 
   16092 
   16093 
   16094 
   16095 
   16096 
   16097 
   16098 
   16099 
   16100 xorg_testset_save_CFLAGS="$CFLAGS"
   16101 
   16102 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16103 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16104 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16105 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16106 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16107 then :
   16108   printf %s "(cached) " >&6
   16109 else case e in #(
   16110   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16111 /* end confdefs.h.  */
   16112 int i;
   16113 _ACEOF
   16114 if ac_fn_c_try_compile "$LINENO"
   16115 then :
   16116   xorg_cv_cc_flag_unknown_warning_option=yes
   16117 else case e in #(
   16118   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16119 esac
   16120 fi
   16121 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16122 esac
   16123 fi
   16124 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16125 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16126 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16127 	CFLAGS="$xorg_testset_save_CFLAGS"
   16128 fi
   16129 
   16130 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16131 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16132 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16133 	fi
   16134 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16135 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16136 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16137 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16138 then :
   16139   printf %s "(cached) " >&6
   16140 else case e in #(
   16141   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16142 /* end confdefs.h.  */
   16143 int i;
   16144 _ACEOF
   16145 if ac_fn_c_try_compile "$LINENO"
   16146 then :
   16147   xorg_cv_cc_flag_unused_command_line_argument=yes
   16148 else case e in #(
   16149   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16150 esac
   16151 fi
   16152 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16153 esac
   16154 fi
   16155 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16156 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16157 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16158 	CFLAGS="$xorg_testset_save_CFLAGS"
   16159 fi
   16160 
   16161 found="no"
   16162 
   16163 	if test $found = "no" ; then
   16164 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16165 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16166 		fi
   16167 
   16168 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16169 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16170 		fi
   16171 
   16172 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   16173 
   16174 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   16175 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   16176 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   16177 		if eval test \${$cacheid+y}
   16178 then :
   16179   printf %s "(cached) " >&6
   16180 else case e in #(
   16181   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16182 /* end confdefs.h.  */
   16183 int i;
   16184 int
   16185 main (void)
   16186 {
   16187 
   16188   ;
   16189   return 0;
   16190 }
   16191 _ACEOF
   16192 if ac_fn_c_try_link "$LINENO"
   16193 then :
   16194   eval $cacheid=yes
   16195 else case e in #(
   16196   e) eval $cacheid=no ;;
   16197 esac
   16198 fi
   16199 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16200     conftest$ac_exeext conftest.$ac_ext ;;
   16201 esac
   16202 fi
   16203 
   16204 
   16205 		CFLAGS="$xorg_testset_save_CFLAGS"
   16206 
   16207 		eval supported=\$$cacheid
   16208 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16209 printf '%s\n' "$supported" >&6; }
   16210 		if test "$supported" = "yes" ; then
   16211 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   16212 			found="yes"
   16213 		fi
   16214 	fi
   16215 
   16216 
   16217 
   16218 
   16219 
   16220 
   16221 
   16222 
   16223 
   16224 
   16225 
   16226 
   16227 
   16228 
   16229 
   16230 xorg_testset_save_CFLAGS="$CFLAGS"
   16231 
   16232 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16233 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16234 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16235 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16236 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16237 then :
   16238   printf %s "(cached) " >&6
   16239 else case e in #(
   16240   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16241 /* end confdefs.h.  */
   16242 int i;
   16243 _ACEOF
   16244 if ac_fn_c_try_compile "$LINENO"
   16245 then :
   16246   xorg_cv_cc_flag_unknown_warning_option=yes
   16247 else case e in #(
   16248   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16249 esac
   16250 fi
   16251 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16252 esac
   16253 fi
   16254 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16255 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16256 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16257 	CFLAGS="$xorg_testset_save_CFLAGS"
   16258 fi
   16259 
   16260 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16261 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16262 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16263 	fi
   16264 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16265 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16266 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16267 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16268 then :
   16269   printf %s "(cached) " >&6
   16270 else case e in #(
   16271   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16272 /* end confdefs.h.  */
   16273 int i;
   16274 _ACEOF
   16275 if ac_fn_c_try_compile "$LINENO"
   16276 then :
   16277   xorg_cv_cc_flag_unused_command_line_argument=yes
   16278 else case e in #(
   16279   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16280 esac
   16281 fi
   16282 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16283 esac
   16284 fi
   16285 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16286 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16287 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16288 	CFLAGS="$xorg_testset_save_CFLAGS"
   16289 fi
   16290 
   16291 found="no"
   16292 
   16293 	if test $found = "no" ; then
   16294 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16295 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16296 		fi
   16297 
   16298 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16299 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16300 		fi
   16301 
   16302 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   16303 
   16304 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   16305 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   16306 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   16307 		if eval test \${$cacheid+y}
   16308 then :
   16309   printf %s "(cached) " >&6
   16310 else case e in #(
   16311   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16312 /* end confdefs.h.  */
   16313 int i;
   16314 int
   16315 main (void)
   16316 {
   16317 
   16318   ;
   16319   return 0;
   16320 }
   16321 _ACEOF
   16322 if ac_fn_c_try_link "$LINENO"
   16323 then :
   16324   eval $cacheid=yes
   16325 else case e in #(
   16326   e) eval $cacheid=no ;;
   16327 esac
   16328 fi
   16329 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16330     conftest$ac_exeext conftest.$ac_ext ;;
   16331 esac
   16332 fi
   16333 
   16334 
   16335 		CFLAGS="$xorg_testset_save_CFLAGS"
   16336 
   16337 		eval supported=\$$cacheid
   16338 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16339 printf '%s\n' "$supported" >&6; }
   16340 		if test "$supported" = "yes" ; then
   16341 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   16342 			found="yes"
   16343 		fi
   16344 	fi
   16345 
   16346 
   16347 
   16348 
   16349 
   16350 
   16351 
   16352 
   16353 
   16354 
   16355 
   16356 
   16357 
   16358 
   16359 
   16360 xorg_testset_save_CFLAGS="$CFLAGS"
   16361 
   16362 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16363 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16364 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16365 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16366 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16367 then :
   16368   printf %s "(cached) " >&6
   16369 else case e in #(
   16370   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16371 /* end confdefs.h.  */
   16372 int i;
   16373 _ACEOF
   16374 if ac_fn_c_try_compile "$LINENO"
   16375 then :
   16376   xorg_cv_cc_flag_unknown_warning_option=yes
   16377 else case e in #(
   16378   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16379 esac
   16380 fi
   16381 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16382 esac
   16383 fi
   16384 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16385 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16386 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16387 	CFLAGS="$xorg_testset_save_CFLAGS"
   16388 fi
   16389 
   16390 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16391 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16392 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16393 	fi
   16394 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16395 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16396 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16397 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16398 then :
   16399   printf %s "(cached) " >&6
   16400 else case e in #(
   16401   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16402 /* end confdefs.h.  */
   16403 int i;
   16404 _ACEOF
   16405 if ac_fn_c_try_compile "$LINENO"
   16406 then :
   16407   xorg_cv_cc_flag_unused_command_line_argument=yes
   16408 else case e in #(
   16409   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16410 esac
   16411 fi
   16412 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16413 esac
   16414 fi
   16415 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16416 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16417 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16418 	CFLAGS="$xorg_testset_save_CFLAGS"
   16419 fi
   16420 
   16421 found="no"
   16422 
   16423 	if test $found = "no" ; then
   16424 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16425 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16426 		fi
   16427 
   16428 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16429 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16430 		fi
   16431 
   16432 		CFLAGS="$CFLAGS -Wredundant-decls"
   16433 
   16434 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   16435 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   16436 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   16437 		if eval test \${$cacheid+y}
   16438 then :
   16439   printf %s "(cached) " >&6
   16440 else case e in #(
   16441   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16442 /* end confdefs.h.  */
   16443 int i;
   16444 int
   16445 main (void)
   16446 {
   16447 
   16448   ;
   16449   return 0;
   16450 }
   16451 _ACEOF
   16452 if ac_fn_c_try_link "$LINENO"
   16453 then :
   16454   eval $cacheid=yes
   16455 else case e in #(
   16456   e) eval $cacheid=no ;;
   16457 esac
   16458 fi
   16459 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16460     conftest$ac_exeext conftest.$ac_ext ;;
   16461 esac
   16462 fi
   16463 
   16464 
   16465 		CFLAGS="$xorg_testset_save_CFLAGS"
   16466 
   16467 		eval supported=\$$cacheid
   16468 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16469 printf '%s\n' "$supported" >&6; }
   16470 		if test "$supported" = "yes" ; then
   16471 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   16472 			found="yes"
   16473 		fi
   16474 	fi
   16475 
   16476 
   16477 
   16478 
   16479 
   16480 
   16481 
   16482 
   16483 
   16484 
   16485 
   16486 
   16487 
   16488 
   16489 
   16490 xorg_testset_save_CFLAGS="$CFLAGS"
   16491 
   16492 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16493 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16494 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16495 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16496 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16497 then :
   16498   printf %s "(cached) " >&6
   16499 else case e in #(
   16500   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16501 /* end confdefs.h.  */
   16502 int i;
   16503 _ACEOF
   16504 if ac_fn_c_try_compile "$LINENO"
   16505 then :
   16506   xorg_cv_cc_flag_unknown_warning_option=yes
   16507 else case e in #(
   16508   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16509 esac
   16510 fi
   16511 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16512 esac
   16513 fi
   16514 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16515 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16516 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16517 	CFLAGS="$xorg_testset_save_CFLAGS"
   16518 fi
   16519 
   16520 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16521 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16522 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16523 	fi
   16524 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16525 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16526 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16527 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16528 then :
   16529   printf %s "(cached) " >&6
   16530 else case e in #(
   16531   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16532 /* end confdefs.h.  */
   16533 int i;
   16534 _ACEOF
   16535 if ac_fn_c_try_compile "$LINENO"
   16536 then :
   16537   xorg_cv_cc_flag_unused_command_line_argument=yes
   16538 else case e in #(
   16539   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16540 esac
   16541 fi
   16542 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16543 esac
   16544 fi
   16545 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16546 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16547 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16548 	CFLAGS="$xorg_testset_save_CFLAGS"
   16549 fi
   16550 
   16551 found="no"
   16552 
   16553 	if test $found = "no" ; then
   16554 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16555 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16556 		fi
   16557 
   16558 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16559 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16560 		fi
   16561 
   16562 		CFLAGS="$CFLAGS -Wlogical-op"
   16563 
   16564 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   16565 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   16566 		cacheid=xorg_cv_cc_flag__Wlogical_op
   16567 		if eval test \${$cacheid+y}
   16568 then :
   16569   printf %s "(cached) " >&6
   16570 else case e in #(
   16571   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16572 /* end confdefs.h.  */
   16573 int i;
   16574 int
   16575 main (void)
   16576 {
   16577 
   16578   ;
   16579   return 0;
   16580 }
   16581 _ACEOF
   16582 if ac_fn_c_try_link "$LINENO"
   16583 then :
   16584   eval $cacheid=yes
   16585 else case e in #(
   16586   e) eval $cacheid=no ;;
   16587 esac
   16588 fi
   16589 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16590     conftest$ac_exeext conftest.$ac_ext ;;
   16591 esac
   16592 fi
   16593 
   16594 
   16595 		CFLAGS="$xorg_testset_save_CFLAGS"
   16596 
   16597 		eval supported=\$$cacheid
   16598 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16599 printf '%s\n' "$supported" >&6; }
   16600 		if test "$supported" = "yes" ; then
   16601 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   16602 			found="yes"
   16603 		fi
   16604 	fi
   16605 
   16606 
   16607 
   16608 # These are currently disabled because they are noisy.  They will be enabled
   16609 # in the future once the codebase is sufficiently modernized to silence
   16610 # them.  For now, I don't want them to drown out the other warnings.
   16611 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   16612 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   16613 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   16614 
   16615 # Turn some warnings into errors, so we don't accidentally get successful builds
   16616 # when there are problems that should be fixed.
   16617 
   16618 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   16619 
   16620 
   16621 
   16622 
   16623 
   16624 
   16625 
   16626 
   16627 
   16628 
   16629 
   16630 
   16631 
   16632 xorg_testset_save_CFLAGS="$CFLAGS"
   16633 
   16634 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16635 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16636 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16637 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16638 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16639 then :
   16640   printf %s "(cached) " >&6
   16641 else case e in #(
   16642   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16643 /* end confdefs.h.  */
   16644 int i;
   16645 _ACEOF
   16646 if ac_fn_c_try_compile "$LINENO"
   16647 then :
   16648   xorg_cv_cc_flag_unknown_warning_option=yes
   16649 else case e in #(
   16650   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16651 esac
   16652 fi
   16653 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16654 esac
   16655 fi
   16656 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16657 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16658 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16659 	CFLAGS="$xorg_testset_save_CFLAGS"
   16660 fi
   16661 
   16662 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16663 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16664 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16665 	fi
   16666 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16667 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16668 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16669 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16670 then :
   16671   printf %s "(cached) " >&6
   16672 else case e in #(
   16673   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16674 /* end confdefs.h.  */
   16675 int i;
   16676 _ACEOF
   16677 if ac_fn_c_try_compile "$LINENO"
   16678 then :
   16679   xorg_cv_cc_flag_unused_command_line_argument=yes
   16680 else case e in #(
   16681   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16682 esac
   16683 fi
   16684 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16685 esac
   16686 fi
   16687 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16688 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16689 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16690 	CFLAGS="$xorg_testset_save_CFLAGS"
   16691 fi
   16692 
   16693 found="no"
   16694 
   16695 	if test $found = "no" ; then
   16696 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16697 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16698 		fi
   16699 
   16700 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16701 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16702 		fi
   16703 
   16704 		CFLAGS="$CFLAGS -Werror=implicit"
   16705 
   16706 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   16707 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   16708 		cacheid=xorg_cv_cc_flag__Werror_implicit
   16709 		if eval test \${$cacheid+y}
   16710 then :
   16711   printf %s "(cached) " >&6
   16712 else case e in #(
   16713   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16714 /* end confdefs.h.  */
   16715 int i;
   16716 int
   16717 main (void)
   16718 {
   16719 
   16720   ;
   16721   return 0;
   16722 }
   16723 _ACEOF
   16724 if ac_fn_c_try_link "$LINENO"
   16725 then :
   16726   eval $cacheid=yes
   16727 else case e in #(
   16728   e) eval $cacheid=no ;;
   16729 esac
   16730 fi
   16731 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16732     conftest$ac_exeext conftest.$ac_ext ;;
   16733 esac
   16734 fi
   16735 
   16736 
   16737 		CFLAGS="$xorg_testset_save_CFLAGS"
   16738 
   16739 		eval supported=\$$cacheid
   16740 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16741 printf '%s\n' "$supported" >&6; }
   16742 		if test "$supported" = "yes" ; then
   16743 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   16744 			found="yes"
   16745 		fi
   16746 	fi
   16747 
   16748 	if test $found = "no" ; then
   16749 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16750 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16751 		fi
   16752 
   16753 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16754 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16755 		fi
   16756 
   16757 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   16758 
   16759 		{ 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
   16760 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   16761 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   16762 		if eval test \${$cacheid+y}
   16763 then :
   16764   printf %s "(cached) " >&6
   16765 else case e in #(
   16766   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16767 /* end confdefs.h.  */
   16768 int i;
   16769 int
   16770 main (void)
   16771 {
   16772 
   16773   ;
   16774   return 0;
   16775 }
   16776 _ACEOF
   16777 if ac_fn_c_try_link "$LINENO"
   16778 then :
   16779   eval $cacheid=yes
   16780 else case e in #(
   16781   e) eval $cacheid=no ;;
   16782 esac
   16783 fi
   16784 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16785     conftest$ac_exeext conftest.$ac_ext ;;
   16786 esac
   16787 fi
   16788 
   16789 
   16790 		CFLAGS="$xorg_testset_save_CFLAGS"
   16791 
   16792 		eval supported=\$$cacheid
   16793 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16794 printf '%s\n' "$supported" >&6; }
   16795 		if test "$supported" = "yes" ; then
   16796 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   16797 			found="yes"
   16798 		fi
   16799 	fi
   16800 
   16801 
   16802 
   16803 
   16804 
   16805 
   16806 
   16807 
   16808 
   16809 
   16810 
   16811 
   16812 
   16813 
   16814 
   16815 xorg_testset_save_CFLAGS="$CFLAGS"
   16816 
   16817 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16818 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16819 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16820 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16821 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16822 then :
   16823   printf %s "(cached) " >&6
   16824 else case e in #(
   16825   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16826 /* end confdefs.h.  */
   16827 int i;
   16828 _ACEOF
   16829 if ac_fn_c_try_compile "$LINENO"
   16830 then :
   16831   xorg_cv_cc_flag_unknown_warning_option=yes
   16832 else case e in #(
   16833   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16834 esac
   16835 fi
   16836 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16837 esac
   16838 fi
   16839 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16840 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16841 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16842 	CFLAGS="$xorg_testset_save_CFLAGS"
   16843 fi
   16844 
   16845 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16846 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16847 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16848 	fi
   16849 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16850 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16851 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16852 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16853 then :
   16854   printf %s "(cached) " >&6
   16855 else case e in #(
   16856   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16857 /* end confdefs.h.  */
   16858 int i;
   16859 _ACEOF
   16860 if ac_fn_c_try_compile "$LINENO"
   16861 then :
   16862   xorg_cv_cc_flag_unused_command_line_argument=yes
   16863 else case e in #(
   16864   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16865 esac
   16866 fi
   16867 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16868 esac
   16869 fi
   16870 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16871 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16872 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16873 	CFLAGS="$xorg_testset_save_CFLAGS"
   16874 fi
   16875 
   16876 found="no"
   16877 
   16878 	if test $found = "no" ; then
   16879 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16880 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16881 		fi
   16882 
   16883 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16884 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16885 		fi
   16886 
   16887 		CFLAGS="$CFLAGS -Werror=nonnull"
   16888 
   16889 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   16890 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   16891 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   16892 		if eval test \${$cacheid+y}
   16893 then :
   16894   printf %s "(cached) " >&6
   16895 else case e in #(
   16896   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16897 /* end confdefs.h.  */
   16898 int i;
   16899 int
   16900 main (void)
   16901 {
   16902 
   16903   ;
   16904   return 0;
   16905 }
   16906 _ACEOF
   16907 if ac_fn_c_try_link "$LINENO"
   16908 then :
   16909   eval $cacheid=yes
   16910 else case e in #(
   16911   e) eval $cacheid=no ;;
   16912 esac
   16913 fi
   16914 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16915     conftest$ac_exeext conftest.$ac_ext ;;
   16916 esac
   16917 fi
   16918 
   16919 
   16920 		CFLAGS="$xorg_testset_save_CFLAGS"
   16921 
   16922 		eval supported=\$$cacheid
   16923 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16924 printf '%s\n' "$supported" >&6; }
   16925 		if test "$supported" = "yes" ; then
   16926 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   16927 			found="yes"
   16928 		fi
   16929 	fi
   16930 
   16931 
   16932 
   16933 
   16934 
   16935 
   16936 
   16937 
   16938 
   16939 
   16940 
   16941 
   16942 
   16943 
   16944 
   16945 xorg_testset_save_CFLAGS="$CFLAGS"
   16946 
   16947 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16948 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16949 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16950 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16951 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16952 then :
   16953   printf %s "(cached) " >&6
   16954 else case e in #(
   16955   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16956 /* end confdefs.h.  */
   16957 int i;
   16958 _ACEOF
   16959 if ac_fn_c_try_compile "$LINENO"
   16960 then :
   16961   xorg_cv_cc_flag_unknown_warning_option=yes
   16962 else case e in #(
   16963   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16964 esac
   16965 fi
   16966 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16967 esac
   16968 fi
   16969 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16970 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16971 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16972 	CFLAGS="$xorg_testset_save_CFLAGS"
   16973 fi
   16974 
   16975 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16976 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16977 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16978 	fi
   16979 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16980 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16981 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16982 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16983 then :
   16984   printf %s "(cached) " >&6
   16985 else case e in #(
   16986   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16987 /* end confdefs.h.  */
   16988 int i;
   16989 _ACEOF
   16990 if ac_fn_c_try_compile "$LINENO"
   16991 then :
   16992   xorg_cv_cc_flag_unused_command_line_argument=yes
   16993 else case e in #(
   16994   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16995 esac
   16996 fi
   16997 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16998 esac
   16999 fi
   17000 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17001 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17002 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17003 	CFLAGS="$xorg_testset_save_CFLAGS"
   17004 fi
   17005 
   17006 found="no"
   17007 
   17008 	if test $found = "no" ; then
   17009 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17010 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17011 		fi
   17012 
   17013 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17014 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17015 		fi
   17016 
   17017 		CFLAGS="$CFLAGS -Werror=init-self"
   17018 
   17019 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   17020 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   17021 		cacheid=xorg_cv_cc_flag__Werror_init_self
   17022 		if eval test \${$cacheid+y}
   17023 then :
   17024   printf %s "(cached) " >&6
   17025 else case e in #(
   17026   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17027 /* end confdefs.h.  */
   17028 int i;
   17029 int
   17030 main (void)
   17031 {
   17032 
   17033   ;
   17034   return 0;
   17035 }
   17036 _ACEOF
   17037 if ac_fn_c_try_link "$LINENO"
   17038 then :
   17039   eval $cacheid=yes
   17040 else case e in #(
   17041   e) eval $cacheid=no ;;
   17042 esac
   17043 fi
   17044 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17045     conftest$ac_exeext conftest.$ac_ext ;;
   17046 esac
   17047 fi
   17048 
   17049 
   17050 		CFLAGS="$xorg_testset_save_CFLAGS"
   17051 
   17052 		eval supported=\$$cacheid
   17053 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17054 printf '%s\n' "$supported" >&6; }
   17055 		if test "$supported" = "yes" ; then
   17056 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   17057 			found="yes"
   17058 		fi
   17059 	fi
   17060 
   17061 
   17062 
   17063 
   17064 
   17065 
   17066 
   17067 
   17068 
   17069 
   17070 
   17071 
   17072 
   17073 
   17074 
   17075 xorg_testset_save_CFLAGS="$CFLAGS"
   17076 
   17077 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17078 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17079 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17080 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17081 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17082 then :
   17083   printf %s "(cached) " >&6
   17084 else case e in #(
   17085   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17086 /* end confdefs.h.  */
   17087 int i;
   17088 _ACEOF
   17089 if ac_fn_c_try_compile "$LINENO"
   17090 then :
   17091   xorg_cv_cc_flag_unknown_warning_option=yes
   17092 else case e in #(
   17093   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17094 esac
   17095 fi
   17096 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17097 esac
   17098 fi
   17099 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17100 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17101 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17102 	CFLAGS="$xorg_testset_save_CFLAGS"
   17103 fi
   17104 
   17105 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17106 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17107 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17108 	fi
   17109 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17110 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17111 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17112 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17113 then :
   17114   printf %s "(cached) " >&6
   17115 else case e in #(
   17116   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17117 /* end confdefs.h.  */
   17118 int i;
   17119 _ACEOF
   17120 if ac_fn_c_try_compile "$LINENO"
   17121 then :
   17122   xorg_cv_cc_flag_unused_command_line_argument=yes
   17123 else case e in #(
   17124   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17125 esac
   17126 fi
   17127 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17128 esac
   17129 fi
   17130 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17131 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17132 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17133 	CFLAGS="$xorg_testset_save_CFLAGS"
   17134 fi
   17135 
   17136 found="no"
   17137 
   17138 	if test $found = "no" ; then
   17139 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17140 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17141 		fi
   17142 
   17143 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17144 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17145 		fi
   17146 
   17147 		CFLAGS="$CFLAGS -Werror=main"
   17148 
   17149 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   17150 printf %s "checking if $CC supports -Werror=main... " >&6; }
   17151 		cacheid=xorg_cv_cc_flag__Werror_main
   17152 		if eval test \${$cacheid+y}
   17153 then :
   17154   printf %s "(cached) " >&6
   17155 else case e in #(
   17156   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17157 /* end confdefs.h.  */
   17158 int i;
   17159 int
   17160 main (void)
   17161 {
   17162 
   17163   ;
   17164   return 0;
   17165 }
   17166 _ACEOF
   17167 if ac_fn_c_try_link "$LINENO"
   17168 then :
   17169   eval $cacheid=yes
   17170 else case e in #(
   17171   e) eval $cacheid=no ;;
   17172 esac
   17173 fi
   17174 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17175     conftest$ac_exeext conftest.$ac_ext ;;
   17176 esac
   17177 fi
   17178 
   17179 
   17180 		CFLAGS="$xorg_testset_save_CFLAGS"
   17181 
   17182 		eval supported=\$$cacheid
   17183 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17184 printf '%s\n' "$supported" >&6; }
   17185 		if test "$supported" = "yes" ; then
   17186 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   17187 			found="yes"
   17188 		fi
   17189 	fi
   17190 
   17191 
   17192 
   17193 
   17194 
   17195 
   17196 
   17197 
   17198 
   17199 
   17200 
   17201 
   17202 
   17203 
   17204 
   17205 xorg_testset_save_CFLAGS="$CFLAGS"
   17206 
   17207 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17208 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17209 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17210 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17211 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17212 then :
   17213   printf %s "(cached) " >&6
   17214 else case e in #(
   17215   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17216 /* end confdefs.h.  */
   17217 int i;
   17218 _ACEOF
   17219 if ac_fn_c_try_compile "$LINENO"
   17220 then :
   17221   xorg_cv_cc_flag_unknown_warning_option=yes
   17222 else case e in #(
   17223   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17224 esac
   17225 fi
   17226 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17227 esac
   17228 fi
   17229 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17230 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17231 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17232 	CFLAGS="$xorg_testset_save_CFLAGS"
   17233 fi
   17234 
   17235 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17236 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17237 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17238 	fi
   17239 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17240 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17241 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17242 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17243 then :
   17244   printf %s "(cached) " >&6
   17245 else case e in #(
   17246   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17247 /* end confdefs.h.  */
   17248 int i;
   17249 _ACEOF
   17250 if ac_fn_c_try_compile "$LINENO"
   17251 then :
   17252   xorg_cv_cc_flag_unused_command_line_argument=yes
   17253 else case e in #(
   17254   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17255 esac
   17256 fi
   17257 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17258 esac
   17259 fi
   17260 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17261 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17262 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17263 	CFLAGS="$xorg_testset_save_CFLAGS"
   17264 fi
   17265 
   17266 found="no"
   17267 
   17268 	if test $found = "no" ; then
   17269 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17270 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17271 		fi
   17272 
   17273 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17274 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17275 		fi
   17276 
   17277 		CFLAGS="$CFLAGS -Werror=missing-braces"
   17278 
   17279 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   17280 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   17281 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   17282 		if eval test \${$cacheid+y}
   17283 then :
   17284   printf %s "(cached) " >&6
   17285 else case e in #(
   17286   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17287 /* end confdefs.h.  */
   17288 int i;
   17289 int
   17290 main (void)
   17291 {
   17292 
   17293   ;
   17294   return 0;
   17295 }
   17296 _ACEOF
   17297 if ac_fn_c_try_link "$LINENO"
   17298 then :
   17299   eval $cacheid=yes
   17300 else case e in #(
   17301   e) eval $cacheid=no ;;
   17302 esac
   17303 fi
   17304 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17305     conftest$ac_exeext conftest.$ac_ext ;;
   17306 esac
   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 -Werror=missing-braces"
   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 case e in #(
   17345   e) 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 case e in #(
   17353   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17354 esac
   17355 fi
   17356 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17357 esac
   17358 fi
   17359 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17360 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17361 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17362 	CFLAGS="$xorg_testset_save_CFLAGS"
   17363 fi
   17364 
   17365 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17366 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17367 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17368 	fi
   17369 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17370 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17371 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17372 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17373 then :
   17374   printf %s "(cached) " >&6
   17375 else case e in #(
   17376   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17377 /* end confdefs.h.  */
   17378 int i;
   17379 _ACEOF
   17380 if ac_fn_c_try_compile "$LINENO"
   17381 then :
   17382   xorg_cv_cc_flag_unused_command_line_argument=yes
   17383 else case e in #(
   17384   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17385 esac
   17386 fi
   17387 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17388 esac
   17389 fi
   17390 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17391 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17392 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17393 	CFLAGS="$xorg_testset_save_CFLAGS"
   17394 fi
   17395 
   17396 found="no"
   17397 
   17398 	if test $found = "no" ; then
   17399 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17400 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17401 		fi
   17402 
   17403 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17404 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17405 		fi
   17406 
   17407 		CFLAGS="$CFLAGS -Werror=sequence-point"
   17408 
   17409 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   17410 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   17411 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   17412 		if eval test \${$cacheid+y}
   17413 then :
   17414   printf %s "(cached) " >&6
   17415 else case e in #(
   17416   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17417 /* end confdefs.h.  */
   17418 int i;
   17419 int
   17420 main (void)
   17421 {
   17422 
   17423   ;
   17424   return 0;
   17425 }
   17426 _ACEOF
   17427 if ac_fn_c_try_link "$LINENO"
   17428 then :
   17429   eval $cacheid=yes
   17430 else case e in #(
   17431   e) eval $cacheid=no ;;
   17432 esac
   17433 fi
   17434 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17435     conftest$ac_exeext conftest.$ac_ext ;;
   17436 esac
   17437 fi
   17438 
   17439 
   17440 		CFLAGS="$xorg_testset_save_CFLAGS"
   17441 
   17442 		eval supported=\$$cacheid
   17443 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17444 printf '%s\n' "$supported" >&6; }
   17445 		if test "$supported" = "yes" ; then
   17446 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   17447 			found="yes"
   17448 		fi
   17449 	fi
   17450 
   17451 
   17452 
   17453 
   17454 
   17455 
   17456 
   17457 
   17458 
   17459 
   17460 
   17461 
   17462 
   17463 
   17464 
   17465 xorg_testset_save_CFLAGS="$CFLAGS"
   17466 
   17467 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17468 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17469 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17470 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17471 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17472 then :
   17473   printf %s "(cached) " >&6
   17474 else case e in #(
   17475   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17476 /* end confdefs.h.  */
   17477 int i;
   17478 _ACEOF
   17479 if ac_fn_c_try_compile "$LINENO"
   17480 then :
   17481   xorg_cv_cc_flag_unknown_warning_option=yes
   17482 else case e in #(
   17483   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17484 esac
   17485 fi
   17486 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17487 esac
   17488 fi
   17489 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17490 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17491 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17492 	CFLAGS="$xorg_testset_save_CFLAGS"
   17493 fi
   17494 
   17495 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17496 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17497 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17498 	fi
   17499 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17500 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17501 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17502 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17503 then :
   17504   printf %s "(cached) " >&6
   17505 else case e in #(
   17506   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17507 /* end confdefs.h.  */
   17508 int i;
   17509 _ACEOF
   17510 if ac_fn_c_try_compile "$LINENO"
   17511 then :
   17512   xorg_cv_cc_flag_unused_command_line_argument=yes
   17513 else case e in #(
   17514   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17515 esac
   17516 fi
   17517 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17518 esac
   17519 fi
   17520 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17521 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17522 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17523 	CFLAGS="$xorg_testset_save_CFLAGS"
   17524 fi
   17525 
   17526 found="no"
   17527 
   17528 	if test $found = "no" ; then
   17529 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17530 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17531 		fi
   17532 
   17533 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17534 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17535 		fi
   17536 
   17537 		CFLAGS="$CFLAGS -Werror=return-type"
   17538 
   17539 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   17540 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   17541 		cacheid=xorg_cv_cc_flag__Werror_return_type
   17542 		if eval test \${$cacheid+y}
   17543 then :
   17544   printf %s "(cached) " >&6
   17545 else case e in #(
   17546   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17547 /* end confdefs.h.  */
   17548 int i;
   17549 int
   17550 main (void)
   17551 {
   17552 
   17553   ;
   17554   return 0;
   17555 }
   17556 _ACEOF
   17557 if ac_fn_c_try_link "$LINENO"
   17558 then :
   17559   eval $cacheid=yes
   17560 else case e in #(
   17561   e) eval $cacheid=no ;;
   17562 esac
   17563 fi
   17564 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17565     conftest$ac_exeext conftest.$ac_ext ;;
   17566 esac
   17567 fi
   17568 
   17569 
   17570 		CFLAGS="$xorg_testset_save_CFLAGS"
   17571 
   17572 		eval supported=\$$cacheid
   17573 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17574 printf '%s\n' "$supported" >&6; }
   17575 		if test "$supported" = "yes" ; then
   17576 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   17577 			found="yes"
   17578 		fi
   17579 	fi
   17580 
   17581 	if test $found = "no" ; then
   17582 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17583 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17584 		fi
   17585 
   17586 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17587 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17588 		fi
   17589 
   17590 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   17591 
   17592 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   17593 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   17594 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   17595 		if eval test \${$cacheid+y}
   17596 then :
   17597   printf %s "(cached) " >&6
   17598 else case e in #(
   17599   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17600 /* end confdefs.h.  */
   17601 int i;
   17602 int
   17603 main (void)
   17604 {
   17605 
   17606   ;
   17607   return 0;
   17608 }
   17609 _ACEOF
   17610 if ac_fn_c_try_link "$LINENO"
   17611 then :
   17612   eval $cacheid=yes
   17613 else case e in #(
   17614   e) eval $cacheid=no ;;
   17615 esac
   17616 fi
   17617 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17618     conftest$ac_exeext conftest.$ac_ext ;;
   17619 esac
   17620 fi
   17621 
   17622 
   17623 		CFLAGS="$xorg_testset_save_CFLAGS"
   17624 
   17625 		eval supported=\$$cacheid
   17626 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17627 printf '%s\n' "$supported" >&6; }
   17628 		if test "$supported" = "yes" ; then
   17629 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   17630 			found="yes"
   17631 		fi
   17632 	fi
   17633 
   17634 
   17635 
   17636 
   17637 
   17638 
   17639 
   17640 
   17641 
   17642 
   17643 
   17644 
   17645 
   17646 
   17647 
   17648 xorg_testset_save_CFLAGS="$CFLAGS"
   17649 
   17650 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17651 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17652 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17653 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17654 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17655 then :
   17656   printf %s "(cached) " >&6
   17657 else case e in #(
   17658   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17659 /* end confdefs.h.  */
   17660 int i;
   17661 _ACEOF
   17662 if ac_fn_c_try_compile "$LINENO"
   17663 then :
   17664   xorg_cv_cc_flag_unknown_warning_option=yes
   17665 else case e in #(
   17666   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17667 esac
   17668 fi
   17669 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17670 esac
   17671 fi
   17672 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17673 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17674 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17675 	CFLAGS="$xorg_testset_save_CFLAGS"
   17676 fi
   17677 
   17678 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17679 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17680 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17681 	fi
   17682 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17683 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17684 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17685 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17686 then :
   17687   printf %s "(cached) " >&6
   17688 else case e in #(
   17689   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17690 /* end confdefs.h.  */
   17691 int i;
   17692 _ACEOF
   17693 if ac_fn_c_try_compile "$LINENO"
   17694 then :
   17695   xorg_cv_cc_flag_unused_command_line_argument=yes
   17696 else case e in #(
   17697   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17698 esac
   17699 fi
   17700 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17701 esac
   17702 fi
   17703 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17704 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17705 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17706 	CFLAGS="$xorg_testset_save_CFLAGS"
   17707 fi
   17708 
   17709 found="no"
   17710 
   17711 	if test $found = "no" ; then
   17712 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17713 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17714 		fi
   17715 
   17716 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17717 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17718 		fi
   17719 
   17720 		CFLAGS="$CFLAGS -Werror=trigraphs"
   17721 
   17722 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   17723 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   17724 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   17725 		if eval test \${$cacheid+y}
   17726 then :
   17727   printf %s "(cached) " >&6
   17728 else case e in #(
   17729   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17730 /* end confdefs.h.  */
   17731 int i;
   17732 int
   17733 main (void)
   17734 {
   17735 
   17736   ;
   17737   return 0;
   17738 }
   17739 _ACEOF
   17740 if ac_fn_c_try_link "$LINENO"
   17741 then :
   17742   eval $cacheid=yes
   17743 else case e in #(
   17744   e) eval $cacheid=no ;;
   17745 esac
   17746 fi
   17747 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17748     conftest$ac_exeext conftest.$ac_ext ;;
   17749 esac
   17750 fi
   17751 
   17752 
   17753 		CFLAGS="$xorg_testset_save_CFLAGS"
   17754 
   17755 		eval supported=\$$cacheid
   17756 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17757 printf '%s\n' "$supported" >&6; }
   17758 		if test "$supported" = "yes" ; then
   17759 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   17760 			found="yes"
   17761 		fi
   17762 	fi
   17763 
   17764 
   17765 
   17766 
   17767 
   17768 
   17769 
   17770 
   17771 
   17772 
   17773 
   17774 
   17775 
   17776 
   17777 
   17778 xorg_testset_save_CFLAGS="$CFLAGS"
   17779 
   17780 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17781 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17782 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17783 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17784 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17785 then :
   17786   printf %s "(cached) " >&6
   17787 else case e in #(
   17788   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17789 /* end confdefs.h.  */
   17790 int i;
   17791 _ACEOF
   17792 if ac_fn_c_try_compile "$LINENO"
   17793 then :
   17794   xorg_cv_cc_flag_unknown_warning_option=yes
   17795 else case e in #(
   17796   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17797 esac
   17798 fi
   17799 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17800 esac
   17801 fi
   17802 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17803 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17804 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17805 	CFLAGS="$xorg_testset_save_CFLAGS"
   17806 fi
   17807 
   17808 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17809 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17810 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17811 	fi
   17812 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17813 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17814 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17815 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17816 then :
   17817   printf %s "(cached) " >&6
   17818 else case e in #(
   17819   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17820 /* end confdefs.h.  */
   17821 int i;
   17822 _ACEOF
   17823 if ac_fn_c_try_compile "$LINENO"
   17824 then :
   17825   xorg_cv_cc_flag_unused_command_line_argument=yes
   17826 else case e in #(
   17827   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17828 esac
   17829 fi
   17830 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17831 esac
   17832 fi
   17833 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17834 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17835 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17836 	CFLAGS="$xorg_testset_save_CFLAGS"
   17837 fi
   17838 
   17839 found="no"
   17840 
   17841 	if test $found = "no" ; then
   17842 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17843 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17844 		fi
   17845 
   17846 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17847 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17848 		fi
   17849 
   17850 		CFLAGS="$CFLAGS -Werror=array-bounds"
   17851 
   17852 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   17853 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   17854 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   17855 		if eval test \${$cacheid+y}
   17856 then :
   17857   printf %s "(cached) " >&6
   17858 else case e in #(
   17859   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17860 /* end confdefs.h.  */
   17861 int i;
   17862 int
   17863 main (void)
   17864 {
   17865 
   17866   ;
   17867   return 0;
   17868 }
   17869 _ACEOF
   17870 if ac_fn_c_try_link "$LINENO"
   17871 then :
   17872   eval $cacheid=yes
   17873 else case e in #(
   17874   e) eval $cacheid=no ;;
   17875 esac
   17876 fi
   17877 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17878     conftest$ac_exeext conftest.$ac_ext ;;
   17879 esac
   17880 fi
   17881 
   17882 
   17883 		CFLAGS="$xorg_testset_save_CFLAGS"
   17884 
   17885 		eval supported=\$$cacheid
   17886 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17887 printf '%s\n' "$supported" >&6; }
   17888 		if test "$supported" = "yes" ; then
   17889 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   17890 			found="yes"
   17891 		fi
   17892 	fi
   17893 
   17894 
   17895 
   17896 
   17897 
   17898 
   17899 
   17900 
   17901 
   17902 
   17903 
   17904 
   17905 
   17906 
   17907 
   17908 xorg_testset_save_CFLAGS="$CFLAGS"
   17909 
   17910 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17911 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17912 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17913 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17914 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17915 then :
   17916   printf %s "(cached) " >&6
   17917 else case e in #(
   17918   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17919 /* end confdefs.h.  */
   17920 int i;
   17921 _ACEOF
   17922 if ac_fn_c_try_compile "$LINENO"
   17923 then :
   17924   xorg_cv_cc_flag_unknown_warning_option=yes
   17925 else case e in #(
   17926   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17927 esac
   17928 fi
   17929 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17930 esac
   17931 fi
   17932 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17933 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17934 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17935 	CFLAGS="$xorg_testset_save_CFLAGS"
   17936 fi
   17937 
   17938 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17939 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17940 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17941 	fi
   17942 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17943 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17944 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17945 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17946 then :
   17947   printf %s "(cached) " >&6
   17948 else case e in #(
   17949   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17950 /* end confdefs.h.  */
   17951 int i;
   17952 _ACEOF
   17953 if ac_fn_c_try_compile "$LINENO"
   17954 then :
   17955   xorg_cv_cc_flag_unused_command_line_argument=yes
   17956 else case e in #(
   17957   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17958 esac
   17959 fi
   17960 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17961 esac
   17962 fi
   17963 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17964 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17965 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17966 	CFLAGS="$xorg_testset_save_CFLAGS"
   17967 fi
   17968 
   17969 found="no"
   17970 
   17971 	if test $found = "no" ; then
   17972 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17973 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17974 		fi
   17975 
   17976 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17977 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17978 		fi
   17979 
   17980 		CFLAGS="$CFLAGS -Werror=write-strings"
   17981 
   17982 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   17983 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   17984 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   17985 		if eval test \${$cacheid+y}
   17986 then :
   17987   printf %s "(cached) " >&6
   17988 else case e in #(
   17989   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17990 /* end confdefs.h.  */
   17991 int i;
   17992 int
   17993 main (void)
   17994 {
   17995 
   17996   ;
   17997   return 0;
   17998 }
   17999 _ACEOF
   18000 if ac_fn_c_try_link "$LINENO"
   18001 then :
   18002   eval $cacheid=yes
   18003 else case e in #(
   18004   e) eval $cacheid=no ;;
   18005 esac
   18006 fi
   18007 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18008     conftest$ac_exeext conftest.$ac_ext ;;
   18009 esac
   18010 fi
   18011 
   18012 
   18013 		CFLAGS="$xorg_testset_save_CFLAGS"
   18014 
   18015 		eval supported=\$$cacheid
   18016 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18017 printf '%s\n' "$supported" >&6; }
   18018 		if test "$supported" = "yes" ; then
   18019 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   18020 			found="yes"
   18021 		fi
   18022 	fi
   18023 
   18024 
   18025 
   18026 
   18027 
   18028 
   18029 
   18030 
   18031 
   18032 
   18033 
   18034 
   18035 
   18036 
   18037 
   18038 xorg_testset_save_CFLAGS="$CFLAGS"
   18039 
   18040 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18041 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18042 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18043 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18044 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18045 then :
   18046   printf %s "(cached) " >&6
   18047 else case e in #(
   18048   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18049 /* end confdefs.h.  */
   18050 int i;
   18051 _ACEOF
   18052 if ac_fn_c_try_compile "$LINENO"
   18053 then :
   18054   xorg_cv_cc_flag_unknown_warning_option=yes
   18055 else case e in #(
   18056   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18057 esac
   18058 fi
   18059 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18060 esac
   18061 fi
   18062 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18063 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18064 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18065 	CFLAGS="$xorg_testset_save_CFLAGS"
   18066 fi
   18067 
   18068 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18069 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18070 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18071 	fi
   18072 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18073 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18074 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18075 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18076 then :
   18077   printf %s "(cached) " >&6
   18078 else case e in #(
   18079   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18080 /* end confdefs.h.  */
   18081 int i;
   18082 _ACEOF
   18083 if ac_fn_c_try_compile "$LINENO"
   18084 then :
   18085   xorg_cv_cc_flag_unused_command_line_argument=yes
   18086 else case e in #(
   18087   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18088 esac
   18089 fi
   18090 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18091 esac
   18092 fi
   18093 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18094 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18095 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18096 	CFLAGS="$xorg_testset_save_CFLAGS"
   18097 fi
   18098 
   18099 found="no"
   18100 
   18101 	if test $found = "no" ; then
   18102 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18103 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18104 		fi
   18105 
   18106 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18107 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18108 		fi
   18109 
   18110 		CFLAGS="$CFLAGS -Werror=address"
   18111 
   18112 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   18113 printf %s "checking if $CC supports -Werror=address... " >&6; }
   18114 		cacheid=xorg_cv_cc_flag__Werror_address
   18115 		if eval test \${$cacheid+y}
   18116 then :
   18117   printf %s "(cached) " >&6
   18118 else case e in #(
   18119   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18120 /* end confdefs.h.  */
   18121 int i;
   18122 int
   18123 main (void)
   18124 {
   18125 
   18126   ;
   18127   return 0;
   18128 }
   18129 _ACEOF
   18130 if ac_fn_c_try_link "$LINENO"
   18131 then :
   18132   eval $cacheid=yes
   18133 else case e in #(
   18134   e) eval $cacheid=no ;;
   18135 esac
   18136 fi
   18137 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18138     conftest$ac_exeext conftest.$ac_ext ;;
   18139 esac
   18140 fi
   18141 
   18142 
   18143 		CFLAGS="$xorg_testset_save_CFLAGS"
   18144 
   18145 		eval supported=\$$cacheid
   18146 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18147 printf '%s\n' "$supported" >&6; }
   18148 		if test "$supported" = "yes" ; then
   18149 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   18150 			found="yes"
   18151 		fi
   18152 	fi
   18153 
   18154 
   18155 
   18156 
   18157 
   18158 
   18159 
   18160 
   18161 
   18162 
   18163 
   18164 
   18165 
   18166 
   18167 
   18168 xorg_testset_save_CFLAGS="$CFLAGS"
   18169 
   18170 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18171 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18172 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18173 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18174 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18175 then :
   18176   printf %s "(cached) " >&6
   18177 else case e in #(
   18178   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18179 /* end confdefs.h.  */
   18180 int i;
   18181 _ACEOF
   18182 if ac_fn_c_try_compile "$LINENO"
   18183 then :
   18184   xorg_cv_cc_flag_unknown_warning_option=yes
   18185 else case e in #(
   18186   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18187 esac
   18188 fi
   18189 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18190 esac
   18191 fi
   18192 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18193 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18194 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18195 	CFLAGS="$xorg_testset_save_CFLAGS"
   18196 fi
   18197 
   18198 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18199 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18200 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18201 	fi
   18202 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18203 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18204 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18205 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18206 then :
   18207   printf %s "(cached) " >&6
   18208 else case e in #(
   18209   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18210 /* end confdefs.h.  */
   18211 int i;
   18212 _ACEOF
   18213 if ac_fn_c_try_compile "$LINENO"
   18214 then :
   18215   xorg_cv_cc_flag_unused_command_line_argument=yes
   18216 else case e in #(
   18217   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18218 esac
   18219 fi
   18220 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18221 esac
   18222 fi
   18223 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18224 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18225 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18226 	CFLAGS="$xorg_testset_save_CFLAGS"
   18227 fi
   18228 
   18229 found="no"
   18230 
   18231 	if test $found = "no" ; then
   18232 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18233 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18234 		fi
   18235 
   18236 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18237 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18238 		fi
   18239 
   18240 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   18241 
   18242 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   18243 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   18244 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   18245 		if eval test \${$cacheid+y}
   18246 then :
   18247   printf %s "(cached) " >&6
   18248 else case e in #(
   18249   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18250 /* end confdefs.h.  */
   18251 int i;
   18252 int
   18253 main (void)
   18254 {
   18255 
   18256   ;
   18257   return 0;
   18258 }
   18259 _ACEOF
   18260 if ac_fn_c_try_link "$LINENO"
   18261 then :
   18262   eval $cacheid=yes
   18263 else case e in #(
   18264   e) eval $cacheid=no ;;
   18265 esac
   18266 fi
   18267 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18268     conftest$ac_exeext conftest.$ac_ext ;;
   18269 esac
   18270 fi
   18271 
   18272 
   18273 		CFLAGS="$xorg_testset_save_CFLAGS"
   18274 
   18275 		eval supported=\$$cacheid
   18276 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18277 printf '%s\n' "$supported" >&6; }
   18278 		if test "$supported" = "yes" ; then
   18279 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   18280 			found="yes"
   18281 		fi
   18282 	fi
   18283 
   18284 	if test $found = "no" ; then
   18285 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18286 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18287 		fi
   18288 
   18289 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18290 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18291 		fi
   18292 
   18293 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   18294 
   18295 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   18296 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   18297 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   18298 		if eval test \${$cacheid+y}
   18299 then :
   18300   printf %s "(cached) " >&6
   18301 else case e in #(
   18302   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18303 /* end confdefs.h.  */
   18304 int i;
   18305 int
   18306 main (void)
   18307 {
   18308 
   18309   ;
   18310   return 0;
   18311 }
   18312 _ACEOF
   18313 if ac_fn_c_try_link "$LINENO"
   18314 then :
   18315   eval $cacheid=yes
   18316 else case e in #(
   18317   e) eval $cacheid=no ;;
   18318 esac
   18319 fi
   18320 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18321     conftest$ac_exeext conftest.$ac_ext ;;
   18322 esac
   18323 fi
   18324 
   18325 
   18326 		CFLAGS="$xorg_testset_save_CFLAGS"
   18327 
   18328 		eval supported=\$$cacheid
   18329 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18330 printf '%s\n' "$supported" >&6; }
   18331 		if test "$supported" = "yes" ; then
   18332 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   18333 			found="yes"
   18334 		fi
   18335 	fi
   18336 
   18337 
   18338 
   18339 
   18340 
   18341 
   18342 
   18343 
   18344 
   18345 
   18346 
   18347 
   18348 
   18349 
   18350 
   18351 xorg_testset_save_CFLAGS="$CFLAGS"
   18352 
   18353 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18354 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18355 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18356 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18357 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18358 then :
   18359   printf %s "(cached) " >&6
   18360 else case e in #(
   18361   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18362 /* end confdefs.h.  */
   18363 int i;
   18364 _ACEOF
   18365 if ac_fn_c_try_compile "$LINENO"
   18366 then :
   18367   xorg_cv_cc_flag_unknown_warning_option=yes
   18368 else case e in #(
   18369   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18370 esac
   18371 fi
   18372 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18373 esac
   18374 fi
   18375 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18376 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18377 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18378 	CFLAGS="$xorg_testset_save_CFLAGS"
   18379 fi
   18380 
   18381 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18382 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18383 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18384 	fi
   18385 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18386 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18387 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18388 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18389 then :
   18390   printf %s "(cached) " >&6
   18391 else case e in #(
   18392   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18393 /* end confdefs.h.  */
   18394 int i;
   18395 _ACEOF
   18396 if ac_fn_c_try_compile "$LINENO"
   18397 then :
   18398   xorg_cv_cc_flag_unused_command_line_argument=yes
   18399 else case e in #(
   18400   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18401 esac
   18402 fi
   18403 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18404 esac
   18405 fi
   18406 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18407 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18408 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18409 	CFLAGS="$xorg_testset_save_CFLAGS"
   18410 fi
   18411 
   18412 found="no"
   18413 
   18414 	if test $found = "no" ; then
   18415 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18416 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18417 		fi
   18418 
   18419 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18420 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18421 		fi
   18422 
   18423 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   18424 
   18425 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   18426 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   18427 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   18428 		if eval test \${$cacheid+y}
   18429 then :
   18430   printf %s "(cached) " >&6
   18431 else case e in #(
   18432   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18433 /* end confdefs.h.  */
   18434 int i;
   18435 int
   18436 main (void)
   18437 {
   18438 
   18439   ;
   18440   return 0;
   18441 }
   18442 _ACEOF
   18443 if ac_fn_c_try_link "$LINENO"
   18444 then :
   18445   eval $cacheid=yes
   18446 else case e in #(
   18447   e) eval $cacheid=no ;;
   18448 esac
   18449 fi
   18450 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18451     conftest$ac_exeext conftest.$ac_ext ;;
   18452 esac
   18453 fi
   18454 
   18455 
   18456 		CFLAGS="$xorg_testset_save_CFLAGS"
   18457 
   18458 		eval supported=\$$cacheid
   18459 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18460 printf '%s\n' "$supported" >&6; }
   18461 		if test "$supported" = "yes" ; then
   18462 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   18463 			found="yes"
   18464 		fi
   18465 	fi
   18466 
   18467  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   18468 else
   18469 { 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
   18470 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;}
   18471 
   18472 
   18473 
   18474 
   18475 
   18476 
   18477 
   18478 
   18479 
   18480 
   18481 
   18482 
   18483 
   18484 xorg_testset_save_CFLAGS="$CFLAGS"
   18485 
   18486 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18487 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18488 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18489 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18490 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18491 then :
   18492   printf %s "(cached) " >&6
   18493 else case e in #(
   18494   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18495 /* end confdefs.h.  */
   18496 int i;
   18497 _ACEOF
   18498 if ac_fn_c_try_compile "$LINENO"
   18499 then :
   18500   xorg_cv_cc_flag_unknown_warning_option=yes
   18501 else case e in #(
   18502   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18503 esac
   18504 fi
   18505 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18506 esac
   18507 fi
   18508 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18509 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18510 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18511 	CFLAGS="$xorg_testset_save_CFLAGS"
   18512 fi
   18513 
   18514 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18515 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18516 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18517 	fi
   18518 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18519 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18520 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18521 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18522 then :
   18523   printf %s "(cached) " >&6
   18524 else case e in #(
   18525   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18526 /* end confdefs.h.  */
   18527 int i;
   18528 _ACEOF
   18529 if ac_fn_c_try_compile "$LINENO"
   18530 then :
   18531   xorg_cv_cc_flag_unused_command_line_argument=yes
   18532 else case e in #(
   18533   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18534 esac
   18535 fi
   18536 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18537 esac
   18538 fi
   18539 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18540 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18541 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18542 	CFLAGS="$xorg_testset_save_CFLAGS"
   18543 fi
   18544 
   18545 found="no"
   18546 
   18547 	if test $found = "no" ; then
   18548 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18549 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18550 		fi
   18551 
   18552 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18553 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18554 		fi
   18555 
   18556 		CFLAGS="$CFLAGS -Wimplicit"
   18557 
   18558 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   18559 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   18560 		cacheid=xorg_cv_cc_flag__Wimplicit
   18561 		if eval test \${$cacheid+y}
   18562 then :
   18563   printf %s "(cached) " >&6
   18564 else case e in #(
   18565   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18566 /* end confdefs.h.  */
   18567 int i;
   18568 int
   18569 main (void)
   18570 {
   18571 
   18572   ;
   18573   return 0;
   18574 }
   18575 _ACEOF
   18576 if ac_fn_c_try_link "$LINENO"
   18577 then :
   18578   eval $cacheid=yes
   18579 else case e in #(
   18580   e) eval $cacheid=no ;;
   18581 esac
   18582 fi
   18583 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18584     conftest$ac_exeext conftest.$ac_ext ;;
   18585 esac
   18586 fi
   18587 
   18588 
   18589 		CFLAGS="$xorg_testset_save_CFLAGS"
   18590 
   18591 		eval supported=\$$cacheid
   18592 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18593 printf '%s\n' "$supported" >&6; }
   18594 		if test "$supported" = "yes" ; then
   18595 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   18596 			found="yes"
   18597 		fi
   18598 	fi
   18599 
   18600 
   18601 
   18602 
   18603 
   18604 
   18605 
   18606 
   18607 
   18608 
   18609 
   18610 
   18611 
   18612 
   18613 
   18614 xorg_testset_save_CFLAGS="$CFLAGS"
   18615 
   18616 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18617 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18618 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18619 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18620 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18621 then :
   18622   printf %s "(cached) " >&6
   18623 else case e in #(
   18624   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18625 /* end confdefs.h.  */
   18626 int i;
   18627 _ACEOF
   18628 if ac_fn_c_try_compile "$LINENO"
   18629 then :
   18630   xorg_cv_cc_flag_unknown_warning_option=yes
   18631 else case e in #(
   18632   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18633 esac
   18634 fi
   18635 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18636 esac
   18637 fi
   18638 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18639 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18640 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18641 	CFLAGS="$xorg_testset_save_CFLAGS"
   18642 fi
   18643 
   18644 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18645 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18646 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18647 	fi
   18648 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18649 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18650 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18651 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18652 then :
   18653   printf %s "(cached) " >&6
   18654 else case e in #(
   18655   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18656 /* end confdefs.h.  */
   18657 int i;
   18658 _ACEOF
   18659 if ac_fn_c_try_compile "$LINENO"
   18660 then :
   18661   xorg_cv_cc_flag_unused_command_line_argument=yes
   18662 else case e in #(
   18663   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18664 esac
   18665 fi
   18666 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18667 esac
   18668 fi
   18669 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18670 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18671 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18672 	CFLAGS="$xorg_testset_save_CFLAGS"
   18673 fi
   18674 
   18675 found="no"
   18676 
   18677 	if test $found = "no" ; then
   18678 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18679 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18680 		fi
   18681 
   18682 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18683 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18684 		fi
   18685 
   18686 		CFLAGS="$CFLAGS -Wnonnull"
   18687 
   18688 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   18689 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   18690 		cacheid=xorg_cv_cc_flag__Wnonnull
   18691 		if eval test \${$cacheid+y}
   18692 then :
   18693   printf %s "(cached) " >&6
   18694 else case e in #(
   18695   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18696 /* end confdefs.h.  */
   18697 int i;
   18698 int
   18699 main (void)
   18700 {
   18701 
   18702   ;
   18703   return 0;
   18704 }
   18705 _ACEOF
   18706 if ac_fn_c_try_link "$LINENO"
   18707 then :
   18708   eval $cacheid=yes
   18709 else case e in #(
   18710   e) eval $cacheid=no ;;
   18711 esac
   18712 fi
   18713 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18714     conftest$ac_exeext conftest.$ac_ext ;;
   18715 esac
   18716 fi
   18717 
   18718 
   18719 		CFLAGS="$xorg_testset_save_CFLAGS"
   18720 
   18721 		eval supported=\$$cacheid
   18722 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18723 printf '%s\n' "$supported" >&6; }
   18724 		if test "$supported" = "yes" ; then
   18725 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   18726 			found="yes"
   18727 		fi
   18728 	fi
   18729 
   18730 
   18731 
   18732 
   18733 
   18734 
   18735 
   18736 
   18737 
   18738 
   18739 
   18740 
   18741 
   18742 
   18743 
   18744 xorg_testset_save_CFLAGS="$CFLAGS"
   18745 
   18746 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18747 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18748 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18749 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18750 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18751 then :
   18752   printf %s "(cached) " >&6
   18753 else case e in #(
   18754   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18755 /* end confdefs.h.  */
   18756 int i;
   18757 _ACEOF
   18758 if ac_fn_c_try_compile "$LINENO"
   18759 then :
   18760   xorg_cv_cc_flag_unknown_warning_option=yes
   18761 else case e in #(
   18762   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18763 esac
   18764 fi
   18765 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18766 esac
   18767 fi
   18768 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18769 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18770 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18771 	CFLAGS="$xorg_testset_save_CFLAGS"
   18772 fi
   18773 
   18774 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18775 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18776 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18777 	fi
   18778 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18779 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18780 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18781 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18782 then :
   18783   printf %s "(cached) " >&6
   18784 else case e in #(
   18785   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18786 /* end confdefs.h.  */
   18787 int i;
   18788 _ACEOF
   18789 if ac_fn_c_try_compile "$LINENO"
   18790 then :
   18791   xorg_cv_cc_flag_unused_command_line_argument=yes
   18792 else case e in #(
   18793   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18794 esac
   18795 fi
   18796 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18797 esac
   18798 fi
   18799 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18800 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18801 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18802 	CFLAGS="$xorg_testset_save_CFLAGS"
   18803 fi
   18804 
   18805 found="no"
   18806 
   18807 	if test $found = "no" ; then
   18808 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18809 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18810 		fi
   18811 
   18812 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18813 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18814 		fi
   18815 
   18816 		CFLAGS="$CFLAGS -Winit-self"
   18817 
   18818 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   18819 printf %s "checking if $CC supports -Winit-self... " >&6; }
   18820 		cacheid=xorg_cv_cc_flag__Winit_self
   18821 		if eval test \${$cacheid+y}
   18822 then :
   18823   printf %s "(cached) " >&6
   18824 else case e in #(
   18825   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18826 /* end confdefs.h.  */
   18827 int i;
   18828 int
   18829 main (void)
   18830 {
   18831 
   18832   ;
   18833   return 0;
   18834 }
   18835 _ACEOF
   18836 if ac_fn_c_try_link "$LINENO"
   18837 then :
   18838   eval $cacheid=yes
   18839 else case e in #(
   18840   e) eval $cacheid=no ;;
   18841 esac
   18842 fi
   18843 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18844     conftest$ac_exeext conftest.$ac_ext ;;
   18845 esac
   18846 fi
   18847 
   18848 
   18849 		CFLAGS="$xorg_testset_save_CFLAGS"
   18850 
   18851 		eval supported=\$$cacheid
   18852 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18853 printf '%s\n' "$supported" >&6; }
   18854 		if test "$supported" = "yes" ; then
   18855 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   18856 			found="yes"
   18857 		fi
   18858 	fi
   18859 
   18860 
   18861 
   18862 
   18863 
   18864 
   18865 
   18866 
   18867 
   18868 
   18869 
   18870 
   18871 
   18872 
   18873 
   18874 xorg_testset_save_CFLAGS="$CFLAGS"
   18875 
   18876 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18877 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18878 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18879 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18880 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18881 then :
   18882   printf %s "(cached) " >&6
   18883 else case e in #(
   18884   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18885 /* end confdefs.h.  */
   18886 int i;
   18887 _ACEOF
   18888 if ac_fn_c_try_compile "$LINENO"
   18889 then :
   18890   xorg_cv_cc_flag_unknown_warning_option=yes
   18891 else case e in #(
   18892   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18893 esac
   18894 fi
   18895 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18896 esac
   18897 fi
   18898 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18899 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18900 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18901 	CFLAGS="$xorg_testset_save_CFLAGS"
   18902 fi
   18903 
   18904 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18905 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18906 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18907 	fi
   18908 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18909 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18910 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18911 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18912 then :
   18913   printf %s "(cached) " >&6
   18914 else case e in #(
   18915   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18916 /* end confdefs.h.  */
   18917 int i;
   18918 _ACEOF
   18919 if ac_fn_c_try_compile "$LINENO"
   18920 then :
   18921   xorg_cv_cc_flag_unused_command_line_argument=yes
   18922 else case e in #(
   18923   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18924 esac
   18925 fi
   18926 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18927 esac
   18928 fi
   18929 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18930 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18931 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18932 	CFLAGS="$xorg_testset_save_CFLAGS"
   18933 fi
   18934 
   18935 found="no"
   18936 
   18937 	if test $found = "no" ; then
   18938 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18939 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18940 		fi
   18941 
   18942 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18943 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18944 		fi
   18945 
   18946 		CFLAGS="$CFLAGS -Wmain"
   18947 
   18948 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   18949 printf %s "checking if $CC supports -Wmain... " >&6; }
   18950 		cacheid=xorg_cv_cc_flag__Wmain
   18951 		if eval test \${$cacheid+y}
   18952 then :
   18953   printf %s "(cached) " >&6
   18954 else case e in #(
   18955   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18956 /* end confdefs.h.  */
   18957 int i;
   18958 int
   18959 main (void)
   18960 {
   18961 
   18962   ;
   18963   return 0;
   18964 }
   18965 _ACEOF
   18966 if ac_fn_c_try_link "$LINENO"
   18967 then :
   18968   eval $cacheid=yes
   18969 else case e in #(
   18970   e) eval $cacheid=no ;;
   18971 esac
   18972 fi
   18973 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18974     conftest$ac_exeext conftest.$ac_ext ;;
   18975 esac
   18976 fi
   18977 
   18978 
   18979 		CFLAGS="$xorg_testset_save_CFLAGS"
   18980 
   18981 		eval supported=\$$cacheid
   18982 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18983 printf '%s\n' "$supported" >&6; }
   18984 		if test "$supported" = "yes" ; then
   18985 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   18986 			found="yes"
   18987 		fi
   18988 	fi
   18989 
   18990 
   18991 
   18992 
   18993 
   18994 
   18995 
   18996 
   18997 
   18998 
   18999 
   19000 
   19001 
   19002 
   19003 
   19004 xorg_testset_save_CFLAGS="$CFLAGS"
   19005 
   19006 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19007 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19008 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19009 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19010 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19011 then :
   19012   printf %s "(cached) " >&6
   19013 else case e in #(
   19014   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19015 /* end confdefs.h.  */
   19016 int i;
   19017 _ACEOF
   19018 if ac_fn_c_try_compile "$LINENO"
   19019 then :
   19020   xorg_cv_cc_flag_unknown_warning_option=yes
   19021 else case e in #(
   19022   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19023 esac
   19024 fi
   19025 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19026 esac
   19027 fi
   19028 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19029 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19030 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19031 	CFLAGS="$xorg_testset_save_CFLAGS"
   19032 fi
   19033 
   19034 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19035 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19036 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19037 	fi
   19038 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19039 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19040 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19041 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19042 then :
   19043   printf %s "(cached) " >&6
   19044 else case e in #(
   19045   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19046 /* end confdefs.h.  */
   19047 int i;
   19048 _ACEOF
   19049 if ac_fn_c_try_compile "$LINENO"
   19050 then :
   19051   xorg_cv_cc_flag_unused_command_line_argument=yes
   19052 else case e in #(
   19053   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19054 esac
   19055 fi
   19056 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19057 esac
   19058 fi
   19059 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19060 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19061 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19062 	CFLAGS="$xorg_testset_save_CFLAGS"
   19063 fi
   19064 
   19065 found="no"
   19066 
   19067 	if test $found = "no" ; then
   19068 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19069 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19070 		fi
   19071 
   19072 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19073 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19074 		fi
   19075 
   19076 		CFLAGS="$CFLAGS -Wmissing-braces"
   19077 
   19078 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   19079 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   19080 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   19081 		if eval test \${$cacheid+y}
   19082 then :
   19083   printf %s "(cached) " >&6
   19084 else case e in #(
   19085   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19086 /* end confdefs.h.  */
   19087 int i;
   19088 int
   19089 main (void)
   19090 {
   19091 
   19092   ;
   19093   return 0;
   19094 }
   19095 _ACEOF
   19096 if ac_fn_c_try_link "$LINENO"
   19097 then :
   19098   eval $cacheid=yes
   19099 else case e in #(
   19100   e) eval $cacheid=no ;;
   19101 esac
   19102 fi
   19103 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19104     conftest$ac_exeext conftest.$ac_ext ;;
   19105 esac
   19106 fi
   19107 
   19108 
   19109 		CFLAGS="$xorg_testset_save_CFLAGS"
   19110 
   19111 		eval supported=\$$cacheid
   19112 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19113 printf '%s\n' "$supported" >&6; }
   19114 		if test "$supported" = "yes" ; then
   19115 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   19116 			found="yes"
   19117 		fi
   19118 	fi
   19119 
   19120 
   19121 
   19122 
   19123 
   19124 
   19125 
   19126 
   19127 
   19128 
   19129 
   19130 
   19131 
   19132 
   19133 
   19134 xorg_testset_save_CFLAGS="$CFLAGS"
   19135 
   19136 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19137 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19138 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19139 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19140 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19141 then :
   19142   printf %s "(cached) " >&6
   19143 else case e in #(
   19144   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19145 /* end confdefs.h.  */
   19146 int i;
   19147 _ACEOF
   19148 if ac_fn_c_try_compile "$LINENO"
   19149 then :
   19150   xorg_cv_cc_flag_unknown_warning_option=yes
   19151 else case e in #(
   19152   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19153 esac
   19154 fi
   19155 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19156 esac
   19157 fi
   19158 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19159 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19160 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19161 	CFLAGS="$xorg_testset_save_CFLAGS"
   19162 fi
   19163 
   19164 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19165 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19166 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19167 	fi
   19168 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19169 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19170 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19171 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19172 then :
   19173   printf %s "(cached) " >&6
   19174 else case e in #(
   19175   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19176 /* end confdefs.h.  */
   19177 int i;
   19178 _ACEOF
   19179 if ac_fn_c_try_compile "$LINENO"
   19180 then :
   19181   xorg_cv_cc_flag_unused_command_line_argument=yes
   19182 else case e in #(
   19183   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19184 esac
   19185 fi
   19186 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19187 esac
   19188 fi
   19189 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19190 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19191 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19192 	CFLAGS="$xorg_testset_save_CFLAGS"
   19193 fi
   19194 
   19195 found="no"
   19196 
   19197 	if test $found = "no" ; then
   19198 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19199 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19200 		fi
   19201 
   19202 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19203 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19204 		fi
   19205 
   19206 		CFLAGS="$CFLAGS -Wsequence-point"
   19207 
   19208 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   19209 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   19210 		cacheid=xorg_cv_cc_flag__Wsequence_point
   19211 		if eval test \${$cacheid+y}
   19212 then :
   19213   printf %s "(cached) " >&6
   19214 else case e in #(
   19215   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19216 /* end confdefs.h.  */
   19217 int i;
   19218 int
   19219 main (void)
   19220 {
   19221 
   19222   ;
   19223   return 0;
   19224 }
   19225 _ACEOF
   19226 if ac_fn_c_try_link "$LINENO"
   19227 then :
   19228   eval $cacheid=yes
   19229 else case e in #(
   19230   e) eval $cacheid=no ;;
   19231 esac
   19232 fi
   19233 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19234     conftest$ac_exeext conftest.$ac_ext ;;
   19235 esac
   19236 fi
   19237 
   19238 
   19239 		CFLAGS="$xorg_testset_save_CFLAGS"
   19240 
   19241 		eval supported=\$$cacheid
   19242 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19243 printf '%s\n' "$supported" >&6; }
   19244 		if test "$supported" = "yes" ; then
   19245 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   19246 			found="yes"
   19247 		fi
   19248 	fi
   19249 
   19250 
   19251 
   19252 
   19253 
   19254 
   19255 
   19256 
   19257 
   19258 
   19259 
   19260 
   19261 
   19262 
   19263 
   19264 xorg_testset_save_CFLAGS="$CFLAGS"
   19265 
   19266 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19267 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19268 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19269 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19270 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19271 then :
   19272   printf %s "(cached) " >&6
   19273 else case e in #(
   19274   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19275 /* end confdefs.h.  */
   19276 int i;
   19277 _ACEOF
   19278 if ac_fn_c_try_compile "$LINENO"
   19279 then :
   19280   xorg_cv_cc_flag_unknown_warning_option=yes
   19281 else case e in #(
   19282   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19283 esac
   19284 fi
   19285 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19286 esac
   19287 fi
   19288 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19289 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19290 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19291 	CFLAGS="$xorg_testset_save_CFLAGS"
   19292 fi
   19293 
   19294 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19295 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19296 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19297 	fi
   19298 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19299 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19300 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19301 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19302 then :
   19303   printf %s "(cached) " >&6
   19304 else case e in #(
   19305   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19306 /* end confdefs.h.  */
   19307 int i;
   19308 _ACEOF
   19309 if ac_fn_c_try_compile "$LINENO"
   19310 then :
   19311   xorg_cv_cc_flag_unused_command_line_argument=yes
   19312 else case e in #(
   19313   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19314 esac
   19315 fi
   19316 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19317 esac
   19318 fi
   19319 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19320 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19321 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19322 	CFLAGS="$xorg_testset_save_CFLAGS"
   19323 fi
   19324 
   19325 found="no"
   19326 
   19327 	if test $found = "no" ; then
   19328 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19329 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19330 		fi
   19331 
   19332 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19333 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19334 		fi
   19335 
   19336 		CFLAGS="$CFLAGS -Wreturn-type"
   19337 
   19338 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   19339 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   19340 		cacheid=xorg_cv_cc_flag__Wreturn_type
   19341 		if eval test \${$cacheid+y}
   19342 then :
   19343   printf %s "(cached) " >&6
   19344 else case e in #(
   19345   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19346 /* end confdefs.h.  */
   19347 int i;
   19348 int
   19349 main (void)
   19350 {
   19351 
   19352   ;
   19353   return 0;
   19354 }
   19355 _ACEOF
   19356 if ac_fn_c_try_link "$LINENO"
   19357 then :
   19358   eval $cacheid=yes
   19359 else case e in #(
   19360   e) eval $cacheid=no ;;
   19361 esac
   19362 fi
   19363 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19364     conftest$ac_exeext conftest.$ac_ext ;;
   19365 esac
   19366 fi
   19367 
   19368 
   19369 		CFLAGS="$xorg_testset_save_CFLAGS"
   19370 
   19371 		eval supported=\$$cacheid
   19372 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19373 printf '%s\n' "$supported" >&6; }
   19374 		if test "$supported" = "yes" ; then
   19375 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   19376 			found="yes"
   19377 		fi
   19378 	fi
   19379 
   19380 
   19381 
   19382 
   19383 
   19384 
   19385 
   19386 
   19387 
   19388 
   19389 
   19390 
   19391 
   19392 
   19393 
   19394 xorg_testset_save_CFLAGS="$CFLAGS"
   19395 
   19396 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19397 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19398 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19399 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19400 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19401 then :
   19402   printf %s "(cached) " >&6
   19403 else case e in #(
   19404   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19405 /* end confdefs.h.  */
   19406 int i;
   19407 _ACEOF
   19408 if ac_fn_c_try_compile "$LINENO"
   19409 then :
   19410   xorg_cv_cc_flag_unknown_warning_option=yes
   19411 else case e in #(
   19412   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19413 esac
   19414 fi
   19415 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19416 esac
   19417 fi
   19418 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19419 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19420 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19421 	CFLAGS="$xorg_testset_save_CFLAGS"
   19422 fi
   19423 
   19424 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19425 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19426 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19427 	fi
   19428 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19429 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19430 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19431 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19432 then :
   19433   printf %s "(cached) " >&6
   19434 else case e in #(
   19435   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19436 /* end confdefs.h.  */
   19437 int i;
   19438 _ACEOF
   19439 if ac_fn_c_try_compile "$LINENO"
   19440 then :
   19441   xorg_cv_cc_flag_unused_command_line_argument=yes
   19442 else case e in #(
   19443   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19444 esac
   19445 fi
   19446 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19447 esac
   19448 fi
   19449 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19450 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19451 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19452 	CFLAGS="$xorg_testset_save_CFLAGS"
   19453 fi
   19454 
   19455 found="no"
   19456 
   19457 	if test $found = "no" ; then
   19458 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19459 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19460 		fi
   19461 
   19462 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19463 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19464 		fi
   19465 
   19466 		CFLAGS="$CFLAGS -Wtrigraphs"
   19467 
   19468 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   19469 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   19470 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   19471 		if eval test \${$cacheid+y}
   19472 then :
   19473   printf %s "(cached) " >&6
   19474 else case e in #(
   19475   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19476 /* end confdefs.h.  */
   19477 int i;
   19478 int
   19479 main (void)
   19480 {
   19481 
   19482   ;
   19483   return 0;
   19484 }
   19485 _ACEOF
   19486 if ac_fn_c_try_link "$LINENO"
   19487 then :
   19488   eval $cacheid=yes
   19489 else case e in #(
   19490   e) eval $cacheid=no ;;
   19491 esac
   19492 fi
   19493 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19494     conftest$ac_exeext conftest.$ac_ext ;;
   19495 esac
   19496 fi
   19497 
   19498 
   19499 		CFLAGS="$xorg_testset_save_CFLAGS"
   19500 
   19501 		eval supported=\$$cacheid
   19502 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19503 printf '%s\n' "$supported" >&6; }
   19504 		if test "$supported" = "yes" ; then
   19505 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   19506 			found="yes"
   19507 		fi
   19508 	fi
   19509 
   19510 
   19511 
   19512 
   19513 
   19514 
   19515 
   19516 
   19517 
   19518 
   19519 
   19520 
   19521 
   19522 
   19523 
   19524 xorg_testset_save_CFLAGS="$CFLAGS"
   19525 
   19526 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19527 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19528 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19529 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19530 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19531 then :
   19532   printf %s "(cached) " >&6
   19533 else case e in #(
   19534   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19535 /* end confdefs.h.  */
   19536 int i;
   19537 _ACEOF
   19538 if ac_fn_c_try_compile "$LINENO"
   19539 then :
   19540   xorg_cv_cc_flag_unknown_warning_option=yes
   19541 else case e in #(
   19542   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19543 esac
   19544 fi
   19545 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19546 esac
   19547 fi
   19548 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19549 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19550 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19551 	CFLAGS="$xorg_testset_save_CFLAGS"
   19552 fi
   19553 
   19554 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19555 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19556 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19557 	fi
   19558 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19559 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19560 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19561 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19562 then :
   19563   printf %s "(cached) " >&6
   19564 else case e in #(
   19565   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19566 /* end confdefs.h.  */
   19567 int i;
   19568 _ACEOF
   19569 if ac_fn_c_try_compile "$LINENO"
   19570 then :
   19571   xorg_cv_cc_flag_unused_command_line_argument=yes
   19572 else case e in #(
   19573   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19574 esac
   19575 fi
   19576 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19577 esac
   19578 fi
   19579 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19580 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19581 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19582 	CFLAGS="$xorg_testset_save_CFLAGS"
   19583 fi
   19584 
   19585 found="no"
   19586 
   19587 	if test $found = "no" ; then
   19588 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19589 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19590 		fi
   19591 
   19592 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19593 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19594 		fi
   19595 
   19596 		CFLAGS="$CFLAGS -Warray-bounds"
   19597 
   19598 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   19599 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   19600 		cacheid=xorg_cv_cc_flag__Warray_bounds
   19601 		if eval test \${$cacheid+y}
   19602 then :
   19603   printf %s "(cached) " >&6
   19604 else case e in #(
   19605   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19606 /* end confdefs.h.  */
   19607 int i;
   19608 int
   19609 main (void)
   19610 {
   19611 
   19612   ;
   19613   return 0;
   19614 }
   19615 _ACEOF
   19616 if ac_fn_c_try_link "$LINENO"
   19617 then :
   19618   eval $cacheid=yes
   19619 else case e in #(
   19620   e) eval $cacheid=no ;;
   19621 esac
   19622 fi
   19623 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19624     conftest$ac_exeext conftest.$ac_ext ;;
   19625 esac
   19626 fi
   19627 
   19628 
   19629 		CFLAGS="$xorg_testset_save_CFLAGS"
   19630 
   19631 		eval supported=\$$cacheid
   19632 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19633 printf '%s\n' "$supported" >&6; }
   19634 		if test "$supported" = "yes" ; then
   19635 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   19636 			found="yes"
   19637 		fi
   19638 	fi
   19639 
   19640 
   19641 
   19642 
   19643 
   19644 
   19645 
   19646 
   19647 
   19648 
   19649 
   19650 
   19651 
   19652 
   19653 
   19654 xorg_testset_save_CFLAGS="$CFLAGS"
   19655 
   19656 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19657 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19658 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19659 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19660 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19661 then :
   19662   printf %s "(cached) " >&6
   19663 else case e in #(
   19664   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19665 /* end confdefs.h.  */
   19666 int i;
   19667 _ACEOF
   19668 if ac_fn_c_try_compile "$LINENO"
   19669 then :
   19670   xorg_cv_cc_flag_unknown_warning_option=yes
   19671 else case e in #(
   19672   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19673 esac
   19674 fi
   19675 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19676 esac
   19677 fi
   19678 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19679 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19680 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19681 	CFLAGS="$xorg_testset_save_CFLAGS"
   19682 fi
   19683 
   19684 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19685 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19686 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19687 	fi
   19688 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19689 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19690 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19691 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19692 then :
   19693   printf %s "(cached) " >&6
   19694 else case e in #(
   19695   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19696 /* end confdefs.h.  */
   19697 int i;
   19698 _ACEOF
   19699 if ac_fn_c_try_compile "$LINENO"
   19700 then :
   19701   xorg_cv_cc_flag_unused_command_line_argument=yes
   19702 else case e in #(
   19703   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19704 esac
   19705 fi
   19706 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19707 esac
   19708 fi
   19709 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19710 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19711 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19712 	CFLAGS="$xorg_testset_save_CFLAGS"
   19713 fi
   19714 
   19715 found="no"
   19716 
   19717 	if test $found = "no" ; then
   19718 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19719 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19720 		fi
   19721 
   19722 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19723 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19724 		fi
   19725 
   19726 		CFLAGS="$CFLAGS -Wwrite-strings"
   19727 
   19728 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   19729 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   19730 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   19731 		if eval test \${$cacheid+y}
   19732 then :
   19733   printf %s "(cached) " >&6
   19734 else case e in #(
   19735   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19736 /* end confdefs.h.  */
   19737 int i;
   19738 int
   19739 main (void)
   19740 {
   19741 
   19742   ;
   19743   return 0;
   19744 }
   19745 _ACEOF
   19746 if ac_fn_c_try_link "$LINENO"
   19747 then :
   19748   eval $cacheid=yes
   19749 else case e in #(
   19750   e) eval $cacheid=no ;;
   19751 esac
   19752 fi
   19753 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19754     conftest$ac_exeext conftest.$ac_ext ;;
   19755 esac
   19756 fi
   19757 
   19758 
   19759 		CFLAGS="$xorg_testset_save_CFLAGS"
   19760 
   19761 		eval supported=\$$cacheid
   19762 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19763 printf '%s\n' "$supported" >&6; }
   19764 		if test "$supported" = "yes" ; then
   19765 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   19766 			found="yes"
   19767 		fi
   19768 	fi
   19769 
   19770 
   19771 
   19772 
   19773 
   19774 
   19775 
   19776 
   19777 
   19778 
   19779 
   19780 
   19781 
   19782 
   19783 
   19784 xorg_testset_save_CFLAGS="$CFLAGS"
   19785 
   19786 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19787 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19788 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19789 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19790 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19791 then :
   19792   printf %s "(cached) " >&6
   19793 else case e in #(
   19794   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19795 /* end confdefs.h.  */
   19796 int i;
   19797 _ACEOF
   19798 if ac_fn_c_try_compile "$LINENO"
   19799 then :
   19800   xorg_cv_cc_flag_unknown_warning_option=yes
   19801 else case e in #(
   19802   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19803 esac
   19804 fi
   19805 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19806 esac
   19807 fi
   19808 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19809 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19810 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19811 	CFLAGS="$xorg_testset_save_CFLAGS"
   19812 fi
   19813 
   19814 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19815 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19816 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19817 	fi
   19818 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19819 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19820 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19821 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19822 then :
   19823   printf %s "(cached) " >&6
   19824 else case e in #(
   19825   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19826 /* end confdefs.h.  */
   19827 int i;
   19828 _ACEOF
   19829 if ac_fn_c_try_compile "$LINENO"
   19830 then :
   19831   xorg_cv_cc_flag_unused_command_line_argument=yes
   19832 else case e in #(
   19833   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19834 esac
   19835 fi
   19836 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19837 esac
   19838 fi
   19839 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19840 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19841 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19842 	CFLAGS="$xorg_testset_save_CFLAGS"
   19843 fi
   19844 
   19845 found="no"
   19846 
   19847 	if test $found = "no" ; then
   19848 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19849 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19850 		fi
   19851 
   19852 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19853 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19854 		fi
   19855 
   19856 		CFLAGS="$CFLAGS -Waddress"
   19857 
   19858 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   19859 printf %s "checking if $CC supports -Waddress... " >&6; }
   19860 		cacheid=xorg_cv_cc_flag__Waddress
   19861 		if eval test \${$cacheid+y}
   19862 then :
   19863   printf %s "(cached) " >&6
   19864 else case e in #(
   19865   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19866 /* end confdefs.h.  */
   19867 int i;
   19868 int
   19869 main (void)
   19870 {
   19871 
   19872   ;
   19873   return 0;
   19874 }
   19875 _ACEOF
   19876 if ac_fn_c_try_link "$LINENO"
   19877 then :
   19878   eval $cacheid=yes
   19879 else case e in #(
   19880   e) eval $cacheid=no ;;
   19881 esac
   19882 fi
   19883 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19884     conftest$ac_exeext conftest.$ac_ext ;;
   19885 esac
   19886 fi
   19887 
   19888 
   19889 		CFLAGS="$xorg_testset_save_CFLAGS"
   19890 
   19891 		eval supported=\$$cacheid
   19892 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19893 printf '%s\n' "$supported" >&6; }
   19894 		if test "$supported" = "yes" ; then
   19895 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   19896 			found="yes"
   19897 		fi
   19898 	fi
   19899 
   19900 
   19901 
   19902 
   19903 
   19904 
   19905 
   19906 
   19907 
   19908 
   19909 
   19910 
   19911 
   19912 
   19913 
   19914 xorg_testset_save_CFLAGS="$CFLAGS"
   19915 
   19916 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19917 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19918 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19919 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19920 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19921 then :
   19922   printf %s "(cached) " >&6
   19923 else case e in #(
   19924   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19925 /* end confdefs.h.  */
   19926 int i;
   19927 _ACEOF
   19928 if ac_fn_c_try_compile "$LINENO"
   19929 then :
   19930   xorg_cv_cc_flag_unknown_warning_option=yes
   19931 else case e in #(
   19932   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19933 esac
   19934 fi
   19935 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19936 esac
   19937 fi
   19938 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19939 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19940 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19941 	CFLAGS="$xorg_testset_save_CFLAGS"
   19942 fi
   19943 
   19944 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19945 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19946 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19947 	fi
   19948 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19949 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19950 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19951 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19952 then :
   19953   printf %s "(cached) " >&6
   19954 else case e in #(
   19955   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19956 /* end confdefs.h.  */
   19957 int i;
   19958 _ACEOF
   19959 if ac_fn_c_try_compile "$LINENO"
   19960 then :
   19961   xorg_cv_cc_flag_unused_command_line_argument=yes
   19962 else case e in #(
   19963   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19964 esac
   19965 fi
   19966 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19967 esac
   19968 fi
   19969 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19970 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19971 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19972 	CFLAGS="$xorg_testset_save_CFLAGS"
   19973 fi
   19974 
   19975 found="no"
   19976 
   19977 	if test $found = "no" ; then
   19978 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19979 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19980 		fi
   19981 
   19982 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19983 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19984 		fi
   19985 
   19986 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   19987 
   19988 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   19989 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   19990 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   19991 		if eval test \${$cacheid+y}
   19992 then :
   19993   printf %s "(cached) " >&6
   19994 else case e in #(
   19995   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19996 /* end confdefs.h.  */
   19997 int i;
   19998 int
   19999 main (void)
   20000 {
   20001 
   20002   ;
   20003   return 0;
   20004 }
   20005 _ACEOF
   20006 if ac_fn_c_try_link "$LINENO"
   20007 then :
   20008   eval $cacheid=yes
   20009 else case e in #(
   20010   e) eval $cacheid=no ;;
   20011 esac
   20012 fi
   20013 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20014     conftest$ac_exeext conftest.$ac_ext ;;
   20015 esac
   20016 fi
   20017 
   20018 
   20019 		CFLAGS="$xorg_testset_save_CFLAGS"
   20020 
   20021 		eval supported=\$$cacheid
   20022 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20023 printf '%s\n' "$supported" >&6; }
   20024 		if test "$supported" = "yes" ; then
   20025 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   20026 			found="yes"
   20027 		fi
   20028 	fi
   20029 
   20030 
   20031 
   20032 
   20033 
   20034 
   20035 
   20036 
   20037 
   20038 
   20039 
   20040 
   20041 
   20042 
   20043 
   20044 xorg_testset_save_CFLAGS="$CFLAGS"
   20045 
   20046 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20047 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20048 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20049 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20050 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20051 then :
   20052   printf %s "(cached) " >&6
   20053 else case e in #(
   20054   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20055 /* end confdefs.h.  */
   20056 int i;
   20057 _ACEOF
   20058 if ac_fn_c_try_compile "$LINENO"
   20059 then :
   20060   xorg_cv_cc_flag_unknown_warning_option=yes
   20061 else case e in #(
   20062   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20063 esac
   20064 fi
   20065 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20066 esac
   20067 fi
   20068 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20069 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20070 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20071 	CFLAGS="$xorg_testset_save_CFLAGS"
   20072 fi
   20073 
   20074 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20075 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20076 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20077 	fi
   20078 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20079 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20080 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20081 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20082 then :
   20083   printf %s "(cached) " >&6
   20084 else case e in #(
   20085   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20086 /* end confdefs.h.  */
   20087 int i;
   20088 _ACEOF
   20089 if ac_fn_c_try_compile "$LINENO"
   20090 then :
   20091   xorg_cv_cc_flag_unused_command_line_argument=yes
   20092 else case e in #(
   20093   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20094 esac
   20095 fi
   20096 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20097 esac
   20098 fi
   20099 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20100 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20101 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20102 	CFLAGS="$xorg_testset_save_CFLAGS"
   20103 fi
   20104 
   20105 found="no"
   20106 
   20107 	if test $found = "no" ; then
   20108 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20109 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20110 		fi
   20111 
   20112 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20113 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20114 		fi
   20115 
   20116 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   20117 
   20118 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   20119 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   20120 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   20121 		if eval test \${$cacheid+y}
   20122 then :
   20123   printf %s "(cached) " >&6
   20124 else case e in #(
   20125   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20126 /* end confdefs.h.  */
   20127 int i;
   20128 int
   20129 main (void)
   20130 {
   20131 
   20132   ;
   20133   return 0;
   20134 }
   20135 _ACEOF
   20136 if ac_fn_c_try_link "$LINENO"
   20137 then :
   20138   eval $cacheid=yes
   20139 else case e in #(
   20140   e) eval $cacheid=no ;;
   20141 esac
   20142 fi
   20143 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20144     conftest$ac_exeext conftest.$ac_ext ;;
   20145 esac
   20146 fi
   20147 
   20148 
   20149 		CFLAGS="$xorg_testset_save_CFLAGS"
   20150 
   20151 		eval supported=\$$cacheid
   20152 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20153 printf '%s\n' "$supported" >&6; }
   20154 		if test "$supported" = "yes" ; then
   20155 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   20156 			found="yes"
   20157 		fi
   20158 	fi
   20159 
   20160 
   20161 fi
   20162 
   20163 
   20164 
   20165 
   20166 
   20167 
   20168 
   20169 		CWARNFLAGS="$BASE_CFLAGS"
   20170 		if  test "x$GCC" = xyes ; then
   20171 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   20172 		fi
   20173 
   20174 
   20175 
   20176 
   20177 
   20178 
   20179 
   20180 
   20181 # Check whether --enable-strict-compilation was given.
   20182 if test ${enable_strict_compilation+y}
   20183 then :
   20184   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   20185 else case e in #(
   20186   e) STRICT_COMPILE=no ;;
   20187 esac
   20188 fi
   20189 
   20190 
   20191 
   20192 
   20193 
   20194 
   20195 STRICT_CFLAGS=""
   20196 
   20197 
   20198 
   20199 
   20200 
   20201 
   20202 
   20203 
   20204 
   20205 
   20206 
   20207 
   20208 
   20209 xorg_testset_save_CFLAGS="$CFLAGS"
   20210 
   20211 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20212 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20213 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20214 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20215 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20216 then :
   20217   printf %s "(cached) " >&6
   20218 else case e in #(
   20219   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20220 /* end confdefs.h.  */
   20221 int i;
   20222 _ACEOF
   20223 if ac_fn_c_try_compile "$LINENO"
   20224 then :
   20225   xorg_cv_cc_flag_unknown_warning_option=yes
   20226 else case e in #(
   20227   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20228 esac
   20229 fi
   20230 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20231 esac
   20232 fi
   20233 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20234 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20235 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20236 	CFLAGS="$xorg_testset_save_CFLAGS"
   20237 fi
   20238 
   20239 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20240 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20241 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20242 	fi
   20243 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20244 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20245 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20246 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20247 then :
   20248   printf %s "(cached) " >&6
   20249 else case e in #(
   20250   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20251 /* end confdefs.h.  */
   20252 int i;
   20253 _ACEOF
   20254 if ac_fn_c_try_compile "$LINENO"
   20255 then :
   20256   xorg_cv_cc_flag_unused_command_line_argument=yes
   20257 else case e in #(
   20258   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20259 esac
   20260 fi
   20261 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20262 esac
   20263 fi
   20264 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20265 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20266 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20267 	CFLAGS="$xorg_testset_save_CFLAGS"
   20268 fi
   20269 
   20270 found="no"
   20271 
   20272 	if test $found = "no" ; then
   20273 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20274 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20275 		fi
   20276 
   20277 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20278 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20279 		fi
   20280 
   20281 		CFLAGS="$CFLAGS -pedantic"
   20282 
   20283 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   20284 printf %s "checking if $CC supports -pedantic... " >&6; }
   20285 		cacheid=xorg_cv_cc_flag__pedantic
   20286 		if eval test \${$cacheid+y}
   20287 then :
   20288   printf %s "(cached) " >&6
   20289 else case e in #(
   20290   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20291 /* end confdefs.h.  */
   20292 int i;
   20293 int
   20294 main (void)
   20295 {
   20296 
   20297   ;
   20298   return 0;
   20299 }
   20300 _ACEOF
   20301 if ac_fn_c_try_link "$LINENO"
   20302 then :
   20303   eval $cacheid=yes
   20304 else case e in #(
   20305   e) eval $cacheid=no ;;
   20306 esac
   20307 fi
   20308 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20309     conftest$ac_exeext conftest.$ac_ext ;;
   20310 esac
   20311 fi
   20312 
   20313 
   20314 		CFLAGS="$xorg_testset_save_CFLAGS"
   20315 
   20316 		eval supported=\$$cacheid
   20317 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20318 printf '%s\n' "$supported" >&6; }
   20319 		if test "$supported" = "yes" ; then
   20320 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   20321 			found="yes"
   20322 		fi
   20323 	fi
   20324 
   20325 
   20326 
   20327 
   20328 
   20329 
   20330 
   20331 
   20332 
   20333 
   20334 
   20335 
   20336 
   20337 
   20338 
   20339 xorg_testset_save_CFLAGS="$CFLAGS"
   20340 
   20341 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20342 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20343 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20344 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20345 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20346 then :
   20347   printf %s "(cached) " >&6
   20348 else case e in #(
   20349   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20350 /* end confdefs.h.  */
   20351 int i;
   20352 _ACEOF
   20353 if ac_fn_c_try_compile "$LINENO"
   20354 then :
   20355   xorg_cv_cc_flag_unknown_warning_option=yes
   20356 else case e in #(
   20357   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20358 esac
   20359 fi
   20360 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20361 esac
   20362 fi
   20363 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20364 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20365 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20366 	CFLAGS="$xorg_testset_save_CFLAGS"
   20367 fi
   20368 
   20369 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20370 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20371 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20372 	fi
   20373 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20374 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20375 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20376 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20377 then :
   20378   printf %s "(cached) " >&6
   20379 else case e in #(
   20380   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20381 /* end confdefs.h.  */
   20382 int i;
   20383 _ACEOF
   20384 if ac_fn_c_try_compile "$LINENO"
   20385 then :
   20386   xorg_cv_cc_flag_unused_command_line_argument=yes
   20387 else case e in #(
   20388   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20389 esac
   20390 fi
   20391 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20392 esac
   20393 fi
   20394 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20395 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20396 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20397 	CFLAGS="$xorg_testset_save_CFLAGS"
   20398 fi
   20399 
   20400 found="no"
   20401 
   20402 	if test $found = "no" ; then
   20403 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20404 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20405 		fi
   20406 
   20407 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20408 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20409 		fi
   20410 
   20411 		CFLAGS="$CFLAGS -Werror"
   20412 
   20413 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   20414 printf %s "checking if $CC supports -Werror... " >&6; }
   20415 		cacheid=xorg_cv_cc_flag__Werror
   20416 		if eval test \${$cacheid+y}
   20417 then :
   20418   printf %s "(cached) " >&6
   20419 else case e in #(
   20420   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20421 /* end confdefs.h.  */
   20422 int i;
   20423 int
   20424 main (void)
   20425 {
   20426 
   20427   ;
   20428   return 0;
   20429 }
   20430 _ACEOF
   20431 if ac_fn_c_try_link "$LINENO"
   20432 then :
   20433   eval $cacheid=yes
   20434 else case e in #(
   20435   e) eval $cacheid=no ;;
   20436 esac
   20437 fi
   20438 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20439     conftest$ac_exeext conftest.$ac_ext ;;
   20440 esac
   20441 fi
   20442 
   20443 
   20444 		CFLAGS="$xorg_testset_save_CFLAGS"
   20445 
   20446 		eval supported=\$$cacheid
   20447 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20448 printf '%s\n' "$supported" >&6; }
   20449 		if test "$supported" = "yes" ; then
   20450 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   20451 			found="yes"
   20452 		fi
   20453 	fi
   20454 
   20455 	if test $found = "no" ; then
   20456 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20457 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20458 		fi
   20459 
   20460 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20461 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20462 		fi
   20463 
   20464 		CFLAGS="$CFLAGS -errwarn"
   20465 
   20466 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   20467 printf %s "checking if $CC supports -errwarn... " >&6; }
   20468 		cacheid=xorg_cv_cc_flag__errwarn
   20469 		if eval test \${$cacheid+y}
   20470 then :
   20471   printf %s "(cached) " >&6
   20472 else case e in #(
   20473   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20474 /* end confdefs.h.  */
   20475 int i;
   20476 int
   20477 main (void)
   20478 {
   20479 
   20480   ;
   20481   return 0;
   20482 }
   20483 _ACEOF
   20484 if ac_fn_c_try_link "$LINENO"
   20485 then :
   20486   eval $cacheid=yes
   20487 else case e in #(
   20488   e) eval $cacheid=no ;;
   20489 esac
   20490 fi
   20491 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20492     conftest$ac_exeext conftest.$ac_ext ;;
   20493 esac
   20494 fi
   20495 
   20496 
   20497 		CFLAGS="$xorg_testset_save_CFLAGS"
   20498 
   20499 		eval supported=\$$cacheid
   20500 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20501 printf '%s\n' "$supported" >&6; }
   20502 		if test "$supported" = "yes" ; then
   20503 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   20504 			found="yes"
   20505 		fi
   20506 	fi
   20507 
   20508 
   20509 
   20510 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   20511 # activate it with -Werror, so we add it here explicitly.
   20512 
   20513 
   20514 
   20515 
   20516 
   20517 
   20518 
   20519 
   20520 
   20521 
   20522 
   20523 
   20524 
   20525 xorg_testset_save_CFLAGS="$CFLAGS"
   20526 
   20527 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20528 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20529 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20530 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20531 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20532 then :
   20533   printf %s "(cached) " >&6
   20534 else case e in #(
   20535   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20536 /* end confdefs.h.  */
   20537 int i;
   20538 _ACEOF
   20539 if ac_fn_c_try_compile "$LINENO"
   20540 then :
   20541   xorg_cv_cc_flag_unknown_warning_option=yes
   20542 else case e in #(
   20543   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20544 esac
   20545 fi
   20546 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20547 esac
   20548 fi
   20549 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20550 printf '%s\n' "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20551 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20552 	CFLAGS="$xorg_testset_save_CFLAGS"
   20553 fi
   20554 
   20555 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20556 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20557 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20558 	fi
   20559 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20560 	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20561 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20562 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20563 then :
   20564   printf %s "(cached) " >&6
   20565 else case e in #(
   20566   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20567 /* end confdefs.h.  */
   20568 int i;
   20569 _ACEOF
   20570 if ac_fn_c_try_compile "$LINENO"
   20571 then :
   20572   xorg_cv_cc_flag_unused_command_line_argument=yes
   20573 else case e in #(
   20574   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20575 esac
   20576 fi
   20577 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20578 esac
   20579 fi
   20580 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20581 printf '%s\n' "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20582 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20583 	CFLAGS="$xorg_testset_save_CFLAGS"
   20584 fi
   20585 
   20586 found="no"
   20587 
   20588 	if test $found = "no" ; then
   20589 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20590 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20591 		fi
   20592 
   20593 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20594 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20595 		fi
   20596 
   20597 		CFLAGS="$CFLAGS -Werror=attributes"
   20598 
   20599 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   20600 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   20601 		cacheid=xorg_cv_cc_flag__Werror_attributes
   20602 		if eval test \${$cacheid+y}
   20603 then :
   20604   printf %s "(cached) " >&6
   20605 else case e in #(
   20606   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20607 /* end confdefs.h.  */
   20608 int i;
   20609 int
   20610 main (void)
   20611 {
   20612 
   20613   ;
   20614   return 0;
   20615 }
   20616 _ACEOF
   20617 if ac_fn_c_try_link "$LINENO"
   20618 then :
   20619   eval $cacheid=yes
   20620 else case e in #(
   20621   e) eval $cacheid=no ;;
   20622 esac
   20623 fi
   20624 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20625     conftest$ac_exeext conftest.$ac_ext ;;
   20626 esac
   20627 fi
   20628 
   20629 
   20630 		CFLAGS="$xorg_testset_save_CFLAGS"
   20631 
   20632 		eval supported=\$$cacheid
   20633 		{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20634 printf '%s\n' "$supported" >&6; }
   20635 		if test "$supported" = "yes" ; then
   20636 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   20637 			found="yes"
   20638 		fi
   20639 	fi
   20640 
   20641 
   20642 
   20643 if test "x$STRICT_COMPILE" = "xyes"; then
   20644     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   20645     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   20646 fi
   20647 
   20648 
   20649 
   20650 
   20651 
   20652 
   20653 
   20654 
   20655 cat >>confdefs.h <<_ACEOF
   20656 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   20657 _ACEOF
   20658 
   20659 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   20660 	if test "x$PVM" = "x"; then
   20661 		PVM="0"
   20662 	fi
   20663 
   20664 printf '%s\n' "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   20665 
   20666 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   20667 	if test "x$PVP" = "x"; then
   20668 		PVP="0"
   20669 	fi
   20670 
   20671 printf '%s\n' "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   20672 
   20673 
   20674 
   20675 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   20676 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   20677 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   20678 touch \$(top_srcdir)/ChangeLog; \
   20679 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   20680 
   20681 
   20682 
   20683 
   20684 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   20685 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   20686 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   20687 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   20688 touch \$(top_srcdir)/INSTALL; \
   20689 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   20690 
   20691 
   20692 
   20693 
   20694 
   20695 
   20696 case $host_os in
   20697     solaris*)
   20698         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   20699         # check for a man page file found in later versions that use
   20700         # traditional section numbers instead
   20701         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   20702 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   20703 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   20704 then :
   20705   printf %s "(cached) " >&6
   20706 else case e in #(
   20707   e) test "$cross_compiling" = yes &&
   20708   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   20709 if test -r "/usr/share/man/man7/attributes.7"; then
   20710   ac_cv_file__usr_share_man_man7_attributes_7=yes
   20711 else
   20712   ac_cv_file__usr_share_man_man7_attributes_7=no
   20713 fi ;;
   20714 esac
   20715 fi
   20716 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   20717 printf '%s\n' "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   20718 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   20719 then :
   20720   SYSV_MAN_SECTIONS=false
   20721 else case e in #(
   20722   e) SYSV_MAN_SECTIONS=true ;;
   20723 esac
   20724 fi
   20725 
   20726         ;;
   20727     *) SYSV_MAN_SECTIONS=false ;;
   20728 esac
   20729 
   20730 if test x$APP_MAN_SUFFIX = x    ; then
   20731     APP_MAN_SUFFIX=1
   20732 fi
   20733 if test x$APP_MAN_DIR = x    ; then
   20734     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   20735 fi
   20736 
   20737 if test x$LIB_MAN_SUFFIX = x    ; then
   20738     LIB_MAN_SUFFIX=3
   20739 fi
   20740 if test x$LIB_MAN_DIR = x    ; then
   20741     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   20742 fi
   20743 
   20744 if test x$FILE_MAN_SUFFIX = x    ; then
   20745     case $SYSV_MAN_SECTIONS in
   20746 	true)				FILE_MAN_SUFFIX=4  ;;
   20747 	*)				FILE_MAN_SUFFIX=5  ;;
   20748     esac
   20749 fi
   20750 if test x$FILE_MAN_DIR = x    ; then
   20751     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   20752 fi
   20753 
   20754 if test x$MISC_MAN_SUFFIX = x    ; then
   20755     case $SYSV_MAN_SECTIONS in
   20756 	true)				MISC_MAN_SUFFIX=5  ;;
   20757 	*)				MISC_MAN_SUFFIX=7  ;;
   20758     esac
   20759 fi
   20760 if test x$MISC_MAN_DIR = x    ; then
   20761     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   20762 fi
   20763 
   20764 if test x$DRIVER_MAN_SUFFIX = x    ; then
   20765     case $SYSV_MAN_SECTIONS in
   20766 	true)				DRIVER_MAN_SUFFIX=7  ;;
   20767 	*)				DRIVER_MAN_SUFFIX=4  ;;
   20768     esac
   20769 fi
   20770 if test x$DRIVER_MAN_DIR = x    ; then
   20771     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   20772 fi
   20773 
   20774 if test x$ADMIN_MAN_SUFFIX = x    ; then
   20775     case $SYSV_MAN_SECTIONS in
   20776 	true)				ADMIN_MAN_SUFFIX=1m ;;
   20777 	*)				ADMIN_MAN_SUFFIX=8  ;;
   20778     esac
   20779 fi
   20780 if test x$ADMIN_MAN_DIR = x    ; then
   20781     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   20782 fi
   20783 
   20784 
   20785 
   20786 
   20787 
   20788 
   20789 
   20790 
   20791 
   20792 
   20793 
   20794 
   20795 
   20796 
   20797 
   20798 XORG_MAN_PAGE="X Version 11"
   20799 
   20800 MAN_SUBSTS="\
   20801 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   20802 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   20803 	-e 's|__xservername__|Xorg|g' \
   20804 	-e 's|__xconfigfile__|xorg.conf|g' \
   20805 	-e 's|__projectroot__|\$(prefix)|g' \
   20806 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   20807 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   20808 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   20809 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   20810 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   20811 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   20812 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   20813 
   20814 
   20815 
   20816 
   20817 AM_DEFAULT_VERBOSITY=0
   20818 
   20819 
   20820 
   20821 
   20822 
   20823 # Check whether --enable-malloc0returnsnull was given.
   20824 if test ${enable_malloc0returnsnull+y}
   20825 then :
   20826   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   20827 else case e in #(
   20828   e) MALLOC_ZERO_RETURNS_NULL=yes ;;
   20829 esac
   20830 fi
   20831 
   20832 
   20833 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking whether to act as if malloc(0) can return NULL" >&5
   20834 printf %s "checking whether to act as if malloc(0) can return NULL... " >&6; }
   20835 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   20836 printf '%s\n' "$MALLOC_ZERO_RETURNS_NULL" >&6; }
   20837 
   20838 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   20839 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   20840 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   20841 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   20842 else
   20843 	MALLOC_ZERO_CFLAGS=""
   20844 	XMALLOC_ZERO_CFLAGS=""
   20845 	XTMALLOC_ZERO_CFLAGS=""
   20846 fi
   20847 
   20848 
   20849 
   20850 
   20851 
   20852 
   20853 # Check render configuration, strip extra digits from package version to
   20854 # find the required protocol version
   20855 if test "$VERSION" = "" ; then
   20856        VERSION=$PACKAGE_VERSION;
   20857 fi
   20858 RENDER_VERSION=`echo $VERSION | sed 's/^\([0-9][0-9]*\.[0-9][0-9]*\).*$/\1/'`
   20859 
   20860 
   20861 # Obtain compiler/linker options for dependencies
   20862 
   20863 pkg_failed=no
   20864 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for RENDER" >&5
   20865 printf %s "checking for RENDER... " >&6; }
   20866 
   20867 if test -n "$RENDER_CFLAGS"; then
   20868     pkg_cv_RENDER_CFLAGS="$RENDER_CFLAGS"
   20869  elif test -n "$PKG_CONFIG"; then
   20870     if test -n "$PKG_CONFIG" && \
   20871     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 >= 1.6 renderproto >= \$RENDER_VERSION\""; } >&5
   20872   ($PKG_CONFIG --exists --print-errors "x11 >= 1.6 renderproto >= $RENDER_VERSION") 2>&5
   20873   ac_status=$?
   20874   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20875   test $ac_status = 0; }; then
   20876   pkg_cv_RENDER_CFLAGS=`$PKG_CONFIG --cflags "x11 >= 1.6 renderproto >= $RENDER_VERSION" 2>/dev/null`
   20877 		      test "x$?" != "x0" && pkg_failed=yes
   20878 else
   20879   pkg_failed=yes
   20880 fi
   20881  else
   20882     pkg_failed=untried
   20883 fi
   20884 if test -n "$RENDER_LIBS"; then
   20885     pkg_cv_RENDER_LIBS="$RENDER_LIBS"
   20886  elif test -n "$PKG_CONFIG"; then
   20887     if test -n "$PKG_CONFIG" && \
   20888     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 >= 1.6 renderproto >= \$RENDER_VERSION\""; } >&5
   20889   ($PKG_CONFIG --exists --print-errors "x11 >= 1.6 renderproto >= $RENDER_VERSION") 2>&5
   20890   ac_status=$?
   20891   printf '%s\n' "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20892   test $ac_status = 0; }; then
   20893   pkg_cv_RENDER_LIBS=`$PKG_CONFIG --libs "x11 >= 1.6 renderproto >= $RENDER_VERSION" 2>/dev/null`
   20894 		      test "x$?" != "x0" && pkg_failed=yes
   20895 else
   20896   pkg_failed=yes
   20897 fi
   20898  else
   20899     pkg_failed=untried
   20900 fi
   20901 
   20902 
   20903 
   20904 if test $pkg_failed = yes; then
   20905    	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20906 printf '%s\n' "no" >&6; }
   20907 
   20908 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20909         _pkg_short_errors_supported=yes
   20910 else
   20911         _pkg_short_errors_supported=no
   20912 fi
   20913         if test $_pkg_short_errors_supported = yes; then
   20914 	        RENDER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 >= 1.6 renderproto >= $RENDER_VERSION" 2>&1`
   20915         else
   20916 	        RENDER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 >= 1.6 renderproto >= $RENDER_VERSION" 2>&1`
   20917         fi
   20918 	# Put the nasty error message in config.log where it belongs
   20919 	echo "$RENDER_PKG_ERRORS" >&5
   20920 
   20921 	as_fn_error $? "Package requirements (x11 >= 1.6 renderproto >= $RENDER_VERSION) were not met:
   20922 
   20923 $RENDER_PKG_ERRORS
   20924 
   20925 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20926 installed software in a non-standard prefix.
   20927 
   20928 Alternatively, you may set the environment variables RENDER_CFLAGS
   20929 and RENDER_LIBS to avoid the need to call pkg-config.
   20930 See the pkg-config man page for more details." "$LINENO" 5
   20931 elif test $pkg_failed = untried; then
   20932      	{ printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20933 printf '%s\n' "no" >&6; }
   20934 	{ { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   20935 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   20936 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   20937 is in your PATH or set the PKG_CONFIG environment variable to the full
   20938 path to pkg-config.
   20939 
   20940 Alternatively, you may set the environment variables RENDER_CFLAGS
   20941 and RENDER_LIBS to avoid the need to call pkg-config.
   20942 See the pkg-config man page for more details.
   20943 
   20944 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20945 See 'config.log' for more details" "$LINENO" 5; }
   20946 else
   20947 	RENDER_CFLAGS=$pkg_cv_RENDER_CFLAGS
   20948 	RENDER_LIBS=$pkg_cv_RENDER_LIBS
   20949         { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20950 printf '%s\n' "yes" >&6; }
   20951 
   20952 fi
   20953 
   20954 ac_config_files="$ac_config_files Makefile src/Makefile Doxyfile xrender.pc"
   20955 
   20956 cat >confcache <<\_ACEOF
   20957 # This file is a shell script that caches the results of configure
   20958 # tests run on this system so they can be shared between configure
   20959 # scripts and configure runs, see configure's option --config-cache.
   20960 # It is not useful on other systems.  If it contains results you don't
   20961 # want to keep, you may remove or edit it.
   20962 #
   20963 # config.status only pays attention to the cache file if you give it
   20964 # the --recheck option to rerun configure.
   20965 #
   20966 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   20967 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   20968 # following values.
   20969 
   20970 _ACEOF
   20971 
   20972 ac_cache_dump |
   20973   sed '
   20974      /^ac_cv_env_/b end
   20975      t clear
   20976      :clear
   20977      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   20978      t end
   20979      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   20980      :end' >>confcache
   20981 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   20982   if test -w "$cache_file"; then
   20983     if test "x$cache_file" != "x/dev/null"; then
   20984       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   20985 printf '%s\n' "$as_me: updating cache $cache_file" >&6;}
   20986       if test ! -f "$cache_file" || test -h "$cache_file"; then
   20987 	cat confcache >"$cache_file"
   20988       else
   20989         case $cache_file in #(
   20990         */* | ?:*)
   20991 	  mv -f confcache "$cache_file"$$ &&
   20992 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   20993         *)
   20994 	  mv -f confcache "$cache_file" ;;
   20995 	esac
   20996       fi
   20997     fi
   20998   else
   20999     { printf '%s\n' "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   21000 printf '%s\n' "$as_me: not updating unwritable cache $cache_file" >&6;}
   21001   fi
   21002 fi
   21003 rm -f confcache
   21004 
   21005 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   21006 # Let make expand exec_prefix.
   21007 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   21008 
   21009 DEFS=-DHAVE_CONFIG_H
   21010 
   21011 ac_libobjs=
   21012 ac_ltlibobjs=
   21013 U=
   21014 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   21015   # 1. Remove the extension, and $U if already installed.
   21016   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   21017   ac_i=`printf '%s\n' "$ac_i" | sed "$ac_script"`
   21018   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   21019   #    will be set to the directory where LIBOBJS objects are built.
   21020   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   21021   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   21022 done
   21023 LIBOBJS=$ac_libobjs
   21024 
   21025 LTLIBOBJS=$ac_ltlibobjs
   21026 
   21027 
   21028 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   21029 printf %s "checking that generated files are newer than configure... " >&6; }
   21030    if test -n "$am_sleep_pid"; then
   21031      # Hide warnings about reused PIDs.
   21032      wait $am_sleep_pid 2>/dev/null
   21033    fi
   21034    { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: done" >&5
   21035 printf '%s\n' "done" >&6; }
   21036 case $enable_silent_rules in # (((
   21037   yes) AM_DEFAULT_VERBOSITY=0;;
   21038    no) AM_DEFAULT_VERBOSITY=1;;
   21039 esac
   21040 if test $am_cv_make_support_nested_variables = yes; then
   21041     AM_V='$(V)'
   21042   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   21043 else
   21044   AM_V=$AM_DEFAULT_VERBOSITY
   21045   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   21046 fi
   21047 
   21048  if test -n "$EXEEXT"; then
   21049   am__EXEEXT_TRUE=
   21050   am__EXEEXT_FALSE='#'
   21051 else
   21052   am__EXEEXT_TRUE='#'
   21053   am__EXEEXT_FALSE=
   21054 fi
   21055 
   21056 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   21057   as_fn_error $? "conditional \"AMDEP\" was never defined.
   21058 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21059 fi
   21060 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   21061   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   21062 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   21063 fi
   21064 
   21065 : "${CONFIG_STATUS=./config.status}"
   21066 case $CONFIG_STATUS in #(
   21067   -*) :
   21068     CONFIG_STATUS=./$CONFIG_STATUS ;; #(
   21069   */*) :
   21070      ;; #(
   21071   *) :
   21072     CONFIG_STATUS=./$CONFIG_STATUS ;;
   21073 esac
   21074 
   21075 ac_write_fail=0
   21076 ac_clean_CONFIG_STATUS='"$CONFIG_STATUS"'
   21077 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   21078 printf '%s\n' "$as_me: creating $CONFIG_STATUS" >&6;}
   21079 as_write_fail=0
   21080 cat >"$CONFIG_STATUS" <<_ASEOF || as_write_fail=1
   21081 #! $SHELL
   21082 # Generated by $as_me.
   21083 # Run this file to recreate the current configuration.
   21084 # Compiler output produced by configure, useful for debugging
   21085 # configure, is in config.log if it exists.
   21086 
   21087 debug=false
   21088 ac_cs_recheck=false
   21089 ac_cs_silent=false
   21090 
   21091 SHELL=\${CONFIG_SHELL-$SHELL}
   21092 export SHELL
   21093 _ASEOF
   21094 cat >>"$CONFIG_STATUS" <<\_ASEOF || as_write_fail=1
   21095 ## -------------------- ##
   21096 ## M4sh Initialization. ##
   21097 ## -------------------- ##
   21098 
   21099 # Be more Bourne compatible
   21100 DUALCASE=1; export DUALCASE # for MKS sh
   21101 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   21102 then :
   21103   emulate sh
   21104   NULLCMD=:
   21105   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   21106   # contradicts POSIX and common usage.  Disable this.
   21107   alias -g '${1+"$@"}'='"$@"'
   21108   setopt NO_GLOB_SUBST
   21109 else case e in #(
   21110   e) case `(set -o) 2>/dev/null` in #(
   21111   *posix*) :
   21112     set -o posix ;; #(
   21113   *) :
   21114      ;;
   21115 esac ;;
   21116 esac
   21117 fi
   21118 
   21119 
   21120 
   21121 # Reset variables that may have inherited troublesome values from
   21122 # the environment.
   21123 
   21124 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   21125 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   21126 # side effect of setting IFS to empty, thus disabling word splitting.)
   21127 # Quoting is to prevent editors from complaining about space-tab.
   21128 as_nl='
   21129 '
   21130 export as_nl
   21131 IFS=" ""	$as_nl"
   21132 
   21133 PS1='$ '
   21134 PS2='> '
   21135 PS4='+ '
   21136 
   21137 # Ensure predictable behavior from utilities with locale-dependent output.
   21138 LC_ALL=C
   21139 export LC_ALL
   21140 LANGUAGE=C
   21141 export LANGUAGE
   21142 
   21143 # We cannot yet rely on "unset" to work, but we need these variables
   21144 # to be unset--not just set to an empty or harmless value--now, to
   21145 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   21146 # also avoids known problems related to "unset" and subshell syntax
   21147 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   21148 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   21149 do eval test \${$as_var+y} \
   21150   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   21151 done
   21152 
   21153 # Ensure that fds 0, 1, and 2 are open.
   21154 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   21155 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   21156 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   21157 
   21158 # The user is always right.
   21159 if ${PATH_SEPARATOR+false} :; then
   21160   PATH_SEPARATOR=:
   21161   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   21162     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   21163       PATH_SEPARATOR=';'
   21164   }
   21165 fi
   21166 
   21167 
   21168 # Find who we are.  Look in the path if we contain no directory separator.
   21169 as_myself=
   21170 case $0 in #((
   21171   *[\\/]* ) as_myself=$0 ;;
   21172   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21173 for as_dir in $PATH
   21174 do
   21175   IFS=$as_save_IFS
   21176   case $as_dir in #(((
   21177     '') as_dir=./ ;;
   21178     */) ;;
   21179     *) as_dir=$as_dir/ ;;
   21180   esac
   21181     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   21182   done
   21183 IFS=$as_save_IFS
   21184 
   21185      ;;
   21186 esac
   21187 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   21188 # in which case we are not to be found in the path.
   21189 if test "x$as_myself" = x; then
   21190   as_myself=$0
   21191 fi
   21192 if test ! -f "$as_myself"; then
   21193   printf '%s\n' "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   21194   exit 1
   21195 fi
   21196 
   21197 
   21198 
   21199 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   21200 # ----------------------------------------
   21201 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   21202 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   21203 # script with STATUS, using 1 if that was 0.
   21204 as_fn_error ()
   21205 {
   21206   as_status=$1; test $as_status -eq 0 && as_status=1
   21207   if test "$4"; then
   21208     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   21209     printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   21210   fi
   21211   printf '%s\n' "$as_me: error: $2" >&2
   21212   as_fn_exit $as_status
   21213 } # as_fn_error
   21214 
   21215 
   21216 # as_fn_set_status STATUS
   21217 # -----------------------
   21218 # Set $? to STATUS, without forking.
   21219 as_fn_set_status ()
   21220 {
   21221   return $1
   21222 } # as_fn_set_status
   21223 
   21224 # as_fn_exit STATUS
   21225 # -----------------
   21226 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   21227 as_fn_exit ()
   21228 {
   21229   set +e
   21230   as_fn_set_status $1
   21231   exit $1
   21232 } # as_fn_exit
   21233 
   21234 # as_fn_unset VAR
   21235 # ---------------
   21236 # Portably unset VAR.
   21237 as_fn_unset ()
   21238 {
   21239   { eval $1=; unset $1;}
   21240 }
   21241 as_unset=as_fn_unset
   21242 
   21243 # as_fn_append VAR VALUE
   21244 # ----------------------
   21245 # Append the text in VALUE to the end of the definition contained in VAR. Take
   21246 # advantage of any shell optimizations that allow amortized linear growth over
   21247 # repeated appends, instead of the typical quadratic growth present in naive
   21248 # implementations.
   21249 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   21250 then :
   21251   eval 'as_fn_append ()
   21252   {
   21253     eval $1+=\$2
   21254   }'
   21255 else case e in #(
   21256   e) as_fn_append ()
   21257   {
   21258     eval $1=\$$1\$2
   21259   } ;;
   21260 esac
   21261 fi # as_fn_append
   21262 
   21263 # as_fn_arith ARG...
   21264 # ------------------
   21265 # Perform arithmetic evaluation on the ARGs, and store the result in the
   21266 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   21267 # must be portable across $(()) and expr.
   21268 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   21269 then :
   21270   eval 'as_fn_arith ()
   21271   {
   21272     as_val=$(( $* ))
   21273   }'
   21274 else case e in #(
   21275   e) as_fn_arith ()
   21276   {
   21277     as_val=`expr "$@" || test $? -eq 1`
   21278   } ;;
   21279 esac
   21280 fi # as_fn_arith
   21281 
   21282 
   21283 if expr a : '\(a\)' >/dev/null 2>&1 &&
   21284    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   21285   as_expr=expr
   21286 else
   21287   as_expr=false
   21288 fi
   21289 
   21290 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   21291   as_basename=basename
   21292 else
   21293   as_basename=false
   21294 fi
   21295 
   21296 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   21297   as_dirname=dirname
   21298 else
   21299   as_dirname=false
   21300 fi
   21301 
   21302 as_me=`$as_basename -- "$0" ||
   21303 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   21304 	 X"$0" : 'X\(//\)$' \| \
   21305 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   21306 printf '%s\n' X/"$0" |
   21307     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21308 	    s//\1/
   21309 	    q
   21310 	  }
   21311 	  /^X\/\(\/\/\)$/{
   21312 	    s//\1/
   21313 	    q
   21314 	  }
   21315 	  /^X\/\(\/\).*/{
   21316 	    s//\1/
   21317 	    q
   21318 	  }
   21319 	  s/.*/./; q'`
   21320 
   21321 # Avoid depending upon Character Ranges.
   21322 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   21323 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   21324 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   21325 as_cr_digits='0123456789'
   21326 as_cr_alnum=$as_cr_Letters$as_cr_digits
   21327 
   21328 rm -f conf$$ conf$$.exe conf$$.file
   21329 if test -d conf$$.dir; then
   21330   rm -f conf$$.dir/conf$$.file
   21331 else
   21332   rm -f conf$$.dir
   21333   mkdir conf$$.dir 2>/dev/null
   21334 fi
   21335 if (echo >conf$$.file) 2>/dev/null; then
   21336   if ln -s conf$$.file conf$$ 2>/dev/null; then
   21337     as_ln_s='ln -s'
   21338     # ... but there are two gotchas:
   21339     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   21340     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   21341     # In both cases, we have to default to 'cp -pR'.
   21342     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   21343       as_ln_s='cp -pR'
   21344   elif ln conf$$.file conf$$ 2>/dev/null; then
   21345     as_ln_s=ln
   21346   else
   21347     as_ln_s='cp -pR'
   21348   fi
   21349 else
   21350   as_ln_s='cp -pR'
   21351 fi
   21352 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   21353 rmdir conf$$.dir 2>/dev/null
   21354 
   21355 
   21356 # as_fn_mkdir_p
   21357 # -------------
   21358 # Create "$as_dir" as a directory, including parents if necessary.
   21359 as_fn_mkdir_p ()
   21360 {
   21361 
   21362   case $as_dir in #(
   21363   -*) as_dir=./$as_dir;;
   21364   esac
   21365   test -d "$as_dir" || eval $as_mkdir_p || {
   21366     as_dirs=
   21367     while :; do
   21368       case $as_dir in #(
   21369       *\'*) as_qdir=`printf '%s\n' "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   21370       *) as_qdir=$as_dir;;
   21371       esac
   21372       as_dirs="'$as_qdir' $as_dirs"
   21373       as_dir=`$as_dirname -- "$as_dir" ||
   21374 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21375 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   21376 	 X"$as_dir" : 'X\(//\)$' \| \
   21377 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   21378 printf '%s\n' X"$as_dir" |
   21379     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21380 	    s//\1/
   21381 	    q
   21382 	  }
   21383 	  /^X\(\/\/\)[^/].*/{
   21384 	    s//\1/
   21385 	    q
   21386 	  }
   21387 	  /^X\(\/\/\)$/{
   21388 	    s//\1/
   21389 	    q
   21390 	  }
   21391 	  /^X\(\/\).*/{
   21392 	    s//\1/
   21393 	    q
   21394 	  }
   21395 	  s/.*/./; q'`
   21396       test -d "$as_dir" && break
   21397     done
   21398     test -z "$as_dirs" || eval "mkdir $as_dirs"
   21399   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   21400 
   21401 
   21402 } # as_fn_mkdir_p
   21403 if mkdir -p . 2>/dev/null; then
   21404   as_mkdir_p='mkdir -p "$as_dir"'
   21405 else
   21406   test -d ./-p && rmdir ./-p
   21407   as_mkdir_p=false
   21408 fi
   21409 
   21410 
   21411 # as_fn_executable_p FILE
   21412 # -----------------------
   21413 # Test if FILE is an executable regular file.
   21414 as_fn_executable_p ()
   21415 {
   21416   test -f "$1" && test -x "$1"
   21417 } # as_fn_executable_p
   21418 as_test_x='test -x'
   21419 as_executable_p=as_fn_executable_p
   21420 
   21421 # Sed expression to map a string onto a valid CPP name.
   21422 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   21423 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   21424 
   21425 # Sed expression to map a string onto a valid variable name.
   21426 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   21427 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   21428 
   21429 
   21430 exec 6>&1
   21431 ## ------------------------------------- ##
   21432 ## Main body of "$CONFIG_STATUS" script. ##
   21433 ## ------------------------------------- ##
   21434 _ASEOF
   21435 test $as_write_fail = 0 && chmod +x "$CONFIG_STATUS" || ac_write_fail=1
   21436 
   21437 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   21438 # Save the log message, to keep $0 and so on meaningful, and to
   21439 # report actual input values of CONFIG_FILES etc. instead of their
   21440 # values after options handling.
   21441 ac_log="
   21442 This file was extended by libXrender $as_me 0.9.13, which was
   21443 generated by GNU Autoconf 2.73.  Invocation command line was
   21444 
   21445   CONFIG_FILES    = $CONFIG_FILES
   21446   CONFIG_HEADERS  = $CONFIG_HEADERS
   21447   CONFIG_LINKS    = $CONFIG_LINKS
   21448   CONFIG_COMMANDS = $CONFIG_COMMANDS
   21449   $ $0 $@
   21450 
   21451 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   21452 "
   21453 
   21454 _ACEOF
   21455 
   21456 case $ac_config_files in *"
   21457 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   21458 esac
   21459 
   21460 case $ac_config_headers in *"
   21461 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   21462 esac
   21463 
   21464 
   21465 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   21466 # Files that config.status was made for.
   21467 config_files="$ac_config_files"
   21468 config_headers="$ac_config_headers"
   21469 config_commands="$ac_config_commands"
   21470 
   21471 _ACEOF
   21472 
   21473 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   21474 ac_cs_usage="\
   21475 '$as_me' instantiates files and other configuration actions
   21476 from templates according to the current configuration.  Unless the files
   21477 and actions are specified as TAGs, all are instantiated by default.
   21478 
   21479 Usage: $0 [OPTION]... [TAG]...
   21480 
   21481   -h, --help       print this help, then exit
   21482   -V, --version    print version number and configuration settings, then exit
   21483       --config     print configuration, then exit
   21484   -q, --quiet, --silent
   21485                    do not print progress messages
   21486   -d, --debug      don't remove temporary files
   21487       --recheck    update $as_me by reconfiguring in the same conditions
   21488       --file=FILE[:TEMPLATE]
   21489                    instantiate the configuration file FILE
   21490       --header=FILE[:TEMPLATE]
   21491                    instantiate the configuration header FILE
   21492 
   21493 Configuration files:
   21494 $config_files
   21495 
   21496 Configuration headers:
   21497 $config_headers
   21498 
   21499 Configuration commands:
   21500 $config_commands
   21501 
   21502 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxrender/-/issues>."
   21503 
   21504 _ACEOF
   21505 ac_cs_config=`printf '%s\n' "$ac_configure_args" | sed "$ac_safe_unquote"`
   21506 ac_cs_config_escaped=`printf '%s\n' "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   21507 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   21508 ac_cs_config='$ac_cs_config_escaped'
   21509 ac_cs_version="\\
   21510 libXrender config.status 0.9.13
   21511 configured by $0, generated by GNU Autoconf 2.73,
   21512   with options \\"\$ac_cs_config\\"
   21513 
   21514 Copyright (C) 2026 Free Software Foundation, Inc.
   21515 This config.status script is free software; the Free Software Foundation
   21516 gives unlimited permission to copy, distribute and modify it."
   21517 
   21518 ac_pwd='$ac_pwd'
   21519 srcdir='$srcdir'
   21520 INSTALL='$INSTALL'
   21521 MKDIR_P='$MKDIR_P'
   21522 AWK='$AWK'
   21523 test -n "\$AWK" || {
   21524   awk '' </dev/null ||
   21525     as_fn_error \$? "try installing gawk"
   21526   AWK=awk
   21527 }
   21528 _ACEOF
   21529 
   21530 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   21531 # The default lists apply if the user does not specify any file.
   21532 ac_need_defaults=:
   21533 while test $# != 0
   21534 do
   21535   case $1 in
   21536   --*=?*)
   21537     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21538     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   21539     ac_shift=:
   21540     ;;
   21541   --*=)
   21542     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21543     ac_optarg=
   21544     ac_shift=:
   21545     ;;
   21546   *)
   21547     ac_option=$1
   21548     ac_optarg=$2
   21549     ac_shift=shift
   21550     ;;
   21551   esac
   21552 
   21553   case $ac_option in
   21554   # Handling of the options.
   21555   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   21556     ac_cs_recheck=: ;;
   21557   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   21558     printf '%s\n' "$ac_cs_version"; exit ;;
   21559   --config | --confi | --conf | --con | --co | --c )
   21560     printf '%s\n' "$ac_cs_config"; exit ;;
   21561   --debug | --debu | --deb | --de | --d | -d )
   21562     debug=: ;;
   21563   --file | --fil | --fi | --f )
   21564     $ac_shift
   21565     case $ac_optarg in
   21566     *\'*) ac_optarg=`printf '%s\n' "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21567     '') as_fn_error $? "missing file argument" ;;
   21568     esac
   21569     as_fn_append CONFIG_FILES " '$ac_optarg'"
   21570     ac_need_defaults=false;;
   21571   --header | --heade | --head | --hea )
   21572     $ac_shift
   21573     case $ac_optarg in
   21574     *\'*) ac_optarg=`printf '%s\n' "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21575     esac
   21576     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   21577     ac_need_defaults=false;;
   21578   --he | --h)
   21579     # Conflict between --help and --header
   21580     as_fn_error $? "ambiguous option: '$1'
   21581 Try '$0 --help' for more information.";;
   21582   --help | --hel | -h )
   21583     printf '%s\n' "$ac_cs_usage"; exit ;;
   21584   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   21585   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   21586     ac_cs_silent=: ;;
   21587 
   21588   # This is an error.
   21589   -*) as_fn_error $? "unrecognized option: '$1'
   21590 Try '$0 --help' for more information." ;;
   21591 
   21592   *) as_fn_append ac_config_targets " $1"
   21593      ac_need_defaults=false ;;
   21594 
   21595   esac
   21596   shift
   21597 done
   21598 
   21599 ac_configure_extra_args=
   21600 
   21601 if $ac_cs_silent; then
   21602   exec 6>/dev/null
   21603   ac_configure_extra_args="$ac_configure_extra_args --silent"
   21604 fi
   21605 
   21606 _ACEOF
   21607 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   21608 if \$ac_cs_recheck; then
   21609   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   21610   shift
   21611   \printf '%s\n' "running CONFIG_SHELL=$SHELL \$*" >&6
   21612   CONFIG_SHELL='$SHELL'
   21613   export CONFIG_SHELL
   21614   exec "\$@"
   21615 fi
   21616 
   21617 _ACEOF
   21618 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   21619 exec 5>>config.log
   21620 {
   21621   echo
   21622   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   21623 ## Running $as_me. ##
   21624 _ASBOX
   21625   printf '%s\n' "$ac_log"
   21626 } >&5
   21627 
   21628 _ACEOF
   21629 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   21630 #
   21631 # INIT-COMMANDS
   21632 #
   21633 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   21634 
   21635 
   21636 # The HP-UX ksh and POSIX shell print the target directory to stdout
   21637 # if CDPATH is set.
   21638 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   21639 
   21640 sed_quote_subst='$sed_quote_subst'
   21641 double_quote_subst='$double_quote_subst'
   21642 delay_variable_subst='$delay_variable_subst'
   21643 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   21644 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   21645 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   21646 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   21647 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   21648 enable_cxx_stdlib='`$ECHO "$enable_cxx_stdlib" | $SED "$delay_single_quote_subst"`'
   21649 stdlibflag='`$ECHO "$stdlibflag" | $SED "$delay_single_quote_subst"`'
   21650 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   21651 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   21652 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   21653 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   21654 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   21655 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   21656 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   21657 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   21658 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   21659 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   21660 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   21661 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   21662 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   21663 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   21664 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   21665 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   21666 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   21667 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   21668 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   21669 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   21670 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   21671 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   21672 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   21673 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   21674 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   21675 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   21676 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   21677 lt_cv_cygpath_installed='`$ECHO "$lt_cv_cygpath_installed" | $SED "$delay_single_quote_subst"`'
   21678 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   21679 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   21680 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   21681 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   21682 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   21683 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   21684 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   21685 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   21686 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   21687 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   21688 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   21689 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   21690 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   21691 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   21692 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   21693 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   21694 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21695 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21696 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   21697 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   21698 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   21699 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   21700 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   21701 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   21702 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   21703 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   21704 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   21705 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   21706 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"`'
   21707 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   21708 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   21709 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   21710 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   21711 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   21712 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   21713 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   21714 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   21715 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   21716 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   21717 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   21718 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   21719 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   21720 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   21721 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   21722 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   21723 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   21724 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   21725 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   21726 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   21727 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21728 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   21729 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   21730 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   21731 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   21732 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   21733 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   21734 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21735 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   21736 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21737 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   21738 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21739 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   21740 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21741 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21742 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   21743 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   21744 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   21745 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   21746 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   21747 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21748 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   21749 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   21750 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   21751 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   21752 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   21753 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   21754 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   21755 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   21756 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   21757 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   21758 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   21759 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   21760 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   21761 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   21762 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   21763 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21764 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   21765 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   21766 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   21767 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   21768 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   21769 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21770 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21771 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   21772 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   21773 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   21774 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   21775 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   21776 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   21777 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   21778 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   21779 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   21780 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   21781 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   21782 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   21783 
   21784 LTCC='$LTCC'
   21785 LTCFLAGS='$LTCFLAGS'
   21786 compiler='$compiler_DEFAULT'
   21787 
   21788 # A function that is used when there is no print builtin or printf.
   21789 func_fallback_echo ()
   21790 {
   21791   eval 'cat <<_LTECHO_EOF
   21792 \$1
   21793 _LTECHO_EOF'
   21794 }
   21795 
   21796 # Quote evaled strings.
   21797 for var in SHELL \
   21798 ECHO \
   21799 PATH_SEPARATOR \
   21800 SED \
   21801 GREP \
   21802 EGREP \
   21803 FGREP \
   21804 LD \
   21805 NM \
   21806 LN_S \
   21807 lt_SP2NL \
   21808 lt_NL2SP \
   21809 reload_flag \
   21810 FILECMD \
   21811 OBJDUMP \
   21812 deplibs_check_method \
   21813 file_magic_cmd \
   21814 file_magic_glob \
   21815 want_nocaseglob \
   21816 DLLTOOL \
   21817 sharedlib_from_linklib_cmd \
   21818 AR \
   21819 lt_ar_flags \
   21820 archiver_list_spec \
   21821 STRIP \
   21822 RANLIB \
   21823 CC \
   21824 CFLAGS \
   21825 compiler \
   21826 lt_cv_sys_global_symbol_pipe \
   21827 lt_cv_sys_global_symbol_to_cdecl \
   21828 lt_cv_sys_global_symbol_to_import \
   21829 lt_cv_sys_global_symbol_to_c_name_address \
   21830 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   21831 lt_cv_nm_interface \
   21832 nm_file_list_spec \
   21833 lt_cv_truncate_bin \
   21834 lt_prog_compiler_no_builtin_flag \
   21835 lt_prog_compiler_pic \
   21836 lt_prog_compiler_wl \
   21837 lt_prog_compiler_static \
   21838 lt_cv_prog_compiler_c_o \
   21839 need_locks \
   21840 MANIFEST_TOOL \
   21841 DSYMUTIL \
   21842 NMEDIT \
   21843 LIPO \
   21844 OTOOL \
   21845 OTOOL64 \
   21846 shrext_cmds \
   21847 export_dynamic_flag_spec \
   21848 whole_archive_flag_spec \
   21849 compiler_needs_object \
   21850 with_gnu_ld \
   21851 allow_undefined_flag \
   21852 no_undefined_flag \
   21853 hardcode_libdir_flag_spec \
   21854 hardcode_libdir_separator \
   21855 exclude_expsyms \
   21856 include_expsyms \
   21857 file_list_spec \
   21858 variables_saved_for_relink \
   21859 libname_spec \
   21860 library_names_spec \
   21861 soname_spec \
   21862 install_override_mode \
   21863 finish_eval \
   21864 old_striplib \
   21865 striplib; do
   21866     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21867     *[\\\\\\\`\\"\\\$]*)
   21868       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21869       ;;
   21870     *)
   21871       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21872       ;;
   21873     esac
   21874 done
   21875 
   21876 # Double-quote double-evaled strings.
   21877 for var in reload_cmds \
   21878 old_postinstall_cmds \
   21879 old_postuninstall_cmds \
   21880 old_archive_cmds \
   21881 extract_expsyms_cmds \
   21882 old_archive_from_new_cmds \
   21883 old_archive_from_expsyms_cmds \
   21884 archive_cmds \
   21885 archive_expsym_cmds \
   21886 module_cmds \
   21887 module_expsym_cmds \
   21888 export_symbols_cmds \
   21889 prelink_cmds \
   21890 postlink_cmds \
   21891 postinstall_cmds \
   21892 postuninstall_cmds \
   21893 finish_cmds \
   21894 sys_lib_search_path_spec \
   21895 configure_time_dlsearch_path \
   21896 configure_time_lt_sys_library_path; do
   21897     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21898     *[\\\\\\\`\\"\\\$]*)
   21899       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21900       ;;
   21901     *)
   21902       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21903       ;;
   21904     esac
   21905 done
   21906 
   21907 ac_aux_dir='$ac_aux_dir'
   21908 
   21909 # See if we are running on zsh, and set the options that allow our
   21910 # commands through without removal of \ escapes INIT.
   21911 if test -n "\${ZSH_VERSION+set}"; then
   21912    setopt NO_GLOB_SUBST
   21913 fi
   21914 
   21915 
   21916     PACKAGE='$PACKAGE'
   21917     VERSION='$VERSION'
   21918     RM='$RM'
   21919     ofile='$ofile'
   21920 
   21921 
   21922 
   21923 
   21924 _ACEOF
   21925 
   21926 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   21927 
   21928 # Handling of arguments.
   21929 for ac_config_target in $ac_config_targets
   21930 do
   21931   case $ac_config_target in
   21932     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   21933     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   21934     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   21935     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   21936     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   21937     "Doxyfile") CONFIG_FILES="$CONFIG_FILES Doxyfile" ;;
   21938     "xrender.pc") CONFIG_FILES="$CONFIG_FILES xrender.pc" ;;
   21939 
   21940   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   21941   esac
   21942 done
   21943 
   21944 
   21945 # If the user did not use the arguments to specify the items to instantiate,
   21946 # then the envvar interface is used.  Set only those that are not.
   21947 # We use the long form for the default assignment because of an extremely
   21948 # bizarre bug on SunOS 4.1.3.
   21949 if $ac_need_defaults; then
   21950   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   21951   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   21952   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   21953 fi
   21954 
   21955 # Have a temporary directory for convenience.  Make it in the build tree
   21956 # simply because there is no reason against having it here, and in addition,
   21957 # creating and moving files from /tmp can sometimes cause problems.
   21958 # Hook for its removal unless debugging.
   21959 # Note that there is a small window in which the directory will not be cleaned:
   21960 # after its creation but before its name has been assigned to '$tmp'.
   21961 $debug ||
   21962 {
   21963   tmp= ac_tmp=
   21964   trap 'exit_status=$?
   21965   : "${ac_tmp:=$tmp}"
   21966   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   21967 ' 0
   21968   trap 'as_fn_exit 1' 1 2 13 15
   21969 }
   21970 # Create a (secure) tmp directory for tmp files.
   21971 
   21972 {
   21973   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   21974   test -d "$tmp"
   21975 }  ||
   21976 {
   21977   tmp=./conf$$-$RANDOM
   21978   (umask 077 && mkdir "$tmp")
   21979 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   21980 ac_tmp=$tmp
   21981 
   21982 # Set up the scripts for CONFIG_FILES section.
   21983 # No need to generate them if there are no CONFIG_FILES.
   21984 # This happens for instance with './config.status config.h'.
   21985 if test -n "$CONFIG_FILES"; then
   21986 
   21987 
   21988 ac_cr=`echo X | tr X '\015'`
   21989 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   21990 # But we know of no other shell where ac_cr would be empty at this
   21991 # point, so we can use a bashism as a fallback.
   21992 if test "x$ac_cr" = x; then
   21993   eval ac_cr=\$\'\\r\'
   21994 fi
   21995 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   21996 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   21997   ac_cs_awk_cr='\\r'
   21998 else
   21999   ac_cs_awk_cr=$ac_cr
   22000 fi
   22001 
   22002 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   22003 _ACEOF
   22004 
   22005 
   22006 {
   22007   echo "cat >conf$$subs.awk <<_ACEOF" &&
   22008   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   22009   echo "_ACEOF"
   22010 } >conf$$subs.sh ||
   22011   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22012 ac_delim_num=`echo "$ac_subst_vars" | sed -n '$='`
   22013 ac_delim='%!_!# '
   22014 for ac_last_try in false false false false false :; do
   22015   . ./conf$$subs.sh ||
   22016     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22017 
   22018   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | sed -n '$='`
   22019   if test $ac_delim_n = $ac_delim_num; then
   22020     break
   22021   elif $ac_last_try; then
   22022     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   22023   else
   22024     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22025   fi
   22026 done
   22027 rm -f conf$$subs.sh
   22028 
   22029 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   22030 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   22031 _ACEOF
   22032 sed -n '
   22033 h
   22034 s/^/S["/; s/!.*/"]=/
   22035 p
   22036 g
   22037 s/^[^!]*!//
   22038 :repl
   22039 t repl
   22040 s/'"$ac_delim"'$//
   22041 t delim
   22042 :nl
   22043 h
   22044 s/\(.\{148\}\)..*/\1/
   22045 t more1
   22046 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   22047 p
   22048 n
   22049 b repl
   22050 :more1
   22051 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22052 p
   22053 g
   22054 s/.\{148\}//
   22055 t nl
   22056 :delim
   22057 h
   22058 s/\(.\{148\}\)..*/\1/
   22059 t more2
   22060 s/["\\]/\\&/g; s/^/"/; s/$/"/
   22061 p
   22062 b
   22063 :more2
   22064 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22065 p
   22066 g
   22067 s/.\{148\}//
   22068 t delim
   22069 ' <conf$$subs.awk | sed '
   22070 /^[^""]/{
   22071   N
   22072   s/\n//
   22073 }
   22074 ' >>"$CONFIG_STATUS" || ac_write_fail=1
   22075 rm -f conf$$subs.awk
   22076 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   22077 _ACAWK
   22078 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   22079   for (key in S) S_is_set[key] = 1
   22080   FS = ""
   22081 
   22082 }
   22083 {
   22084   line = $ 0
   22085   nfields = split(line, field, "@")
   22086   substed = 0
   22087   len = length(field[1])
   22088   for (i = 2; i < nfields; i++) {
   22089     key = field[i]
   22090     keylen = length(key)
   22091     if (S_is_set[key]) {
   22092       value = S[key]
   22093       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   22094       len += length(value) + length(field[++i])
   22095       substed = 1
   22096     } else
   22097       len += 1 + keylen
   22098   }
   22099 
   22100   print line
   22101 }
   22102 
   22103 _ACAWK
   22104 _ACEOF
   22105 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   22106 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   22107   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   22108 else
   22109   cat
   22110 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   22111   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   22112 _ACEOF
   22113 
   22114 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   22115 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   22116 # trailing colons and then remove the whole line if VPATH becomes empty
   22117 # (actually we leave an empty line to preserve line numbers).
   22118 if test "x$srcdir" = x.; then
   22119   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   22120 h
   22121 s///
   22122 s/^/:/
   22123 s/[	 ]*$/:/
   22124 s/:\$(srcdir):/:/g
   22125 s/:\${srcdir}:/:/g
   22126 s/:@srcdir@:/:/g
   22127 s/^:*//
   22128 s/:*$//
   22129 x
   22130 s/\(=[	 ]*\).*/\1/
   22131 G
   22132 s/\n//
   22133 s/^[^=]*=[	 ]*$//
   22134 }'
   22135 fi
   22136 
   22137 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   22138 fi # test -n "$CONFIG_FILES"
   22139 
   22140 # Set up the scripts for CONFIG_HEADERS section.
   22141 # No need to generate them if there are no CONFIG_HEADERS.
   22142 # This happens for instance with './config.status Makefile'.
   22143 if test -n "$CONFIG_HEADERS"; then
   22144 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   22145 BEGIN {
   22146 _ACEOF
   22147 
   22148 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   22149 # here-document in config.status, that substitutes the proper values into
   22150 # config.h.in to produce config.h.
   22151 
   22152 # Create a delimiter string that does not exist in confdefs.h, to ease
   22153 # handling of long lines.
   22154 ac_delim='%!_!# '
   22155 for ac_last_try in false false :; do
   22156   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   22157   if test -z "$ac_tt"; then
   22158     break
   22159   elif $ac_last_try; then
   22160     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   22161   else
   22162     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22163   fi
   22164 done
   22165 
   22166 # For the awk script, D is an array of macro values keyed by name,
   22167 # likewise P contains macro parameters if any.  Preserve backslash
   22168 # newline sequences.
   22169 
   22170 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   22171 sed -n '
   22172 s/.\{148\}/&'"$ac_delim"'/g
   22173 t rset
   22174 :rset
   22175 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   22176 t def
   22177 d
   22178 :def
   22179 s/\\$//
   22180 t bsnl
   22181 s/["\\]/\\&/g
   22182 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22183 D["\1"]=" \3"/p
   22184 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   22185 d
   22186 :bsnl
   22187 s/["\\]/\\&/g
   22188 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22189 D["\1"]=" \3\\\\\\n"\\/p
   22190 t cont
   22191 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   22192 t cont
   22193 d
   22194 :cont
   22195 n
   22196 s/.\{148\}/&'"$ac_delim"'/g
   22197 t clear
   22198 :clear
   22199 s/\\$//
   22200 t bsnlc
   22201 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   22202 d
   22203 :bsnlc
   22204 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   22205 b cont
   22206 ' <confdefs.h | sed '
   22207 s/'"$ac_delim"'/"\\\
   22208 "/g' >>"$CONFIG_STATUS" || ac_write_fail=1
   22209 
   22210 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   22211   for (key in D) D_is_set[key] = 1
   22212   FS = ""
   22213 }
   22214 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   22215   line = \$ 0
   22216   split(line, arg, " ")
   22217   if (arg[1] == "#") {
   22218     defundef = arg[2]
   22219     mac1 = arg[3]
   22220   } else {
   22221     defundef = substr(arg[1], 2)
   22222     mac1 = arg[2]
   22223   }
   22224   split(mac1, mac2, "(") #)
   22225   macro = mac2[1]
   22226   prefix = substr(line, 1, index(line, defundef) - 1)
   22227   if (D_is_set[macro]) {
   22228     suffix = P[macro] D[macro]
   22229     while (suffix ~ /[\t ]$/) {
   22230       suffix = substr(suffix, 1, length(suffix) - 1)
   22231     }
   22232     # Preserve the white space surrounding the "#".
   22233     print prefix "define", macro suffix
   22234     next
   22235   } else {
   22236     # Replace #undef with comments.  This is necessary, for example,
   22237     # in the case of _POSIX_SOURCE, which is predefined and required
   22238     # on some systems where configure will not decide to define it.
   22239     if (defundef == "undef") {
   22240       print "/*", prefix defundef, macro, "*/"
   22241       next
   22242     }
   22243   }
   22244 }
   22245 { print }
   22246 _ACAWK
   22247 _ACEOF
   22248 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   22249   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   22250 fi # test -n "$CONFIG_HEADERS"
   22251 
   22252 
   22253 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   22254 shift
   22255 for ac_tag
   22256 do
   22257   case $ac_tag in
   22258   :[FHLC]) ac_mode=$ac_tag; continue;;
   22259   esac
   22260   case $ac_mode$ac_tag in
   22261   :[FHL]*:*);;
   22262   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   22263   :[FH]-) ac_tag=-:-;;
   22264   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   22265   esac
   22266   ac_save_IFS=$IFS
   22267   IFS=:
   22268   set x $ac_tag
   22269   IFS=$ac_save_IFS
   22270   shift
   22271   ac_file=$1
   22272   shift
   22273 
   22274   case $ac_mode in
   22275   :L) ac_source=$1;;
   22276   :[FH])
   22277     ac_file_inputs=
   22278     for ac_f
   22279     do
   22280       case $ac_f in
   22281       -) ac_f="$ac_tmp/stdin";;
   22282       *) # Look for the file first in the build tree, then in the source tree
   22283 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   22284 	 # because $ac_f cannot contain ':'.
   22285 	 test -f "$ac_f" ||
   22286 	   case $ac_f in
   22287 	   [\\/$]*) false;;
   22288 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   22289 	   esac ||
   22290 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   22291       esac
   22292       case $ac_f in *\'*) ac_f=`printf '%s\n' "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   22293       as_fn_append ac_file_inputs " '$ac_f'"
   22294     done
   22295 
   22296     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   22297     # use $as_me), people would be surprised to read:
   22298     #    /* config.h.  Generated by config.status.  */
   22299     configure_input='Generated from '`
   22300 	  printf '%s\n' "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   22301 	`' by configure.'
   22302     if test x"$ac_file" != x-; then
   22303       configure_input="$ac_file.  $configure_input"
   22304       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   22305 printf '%s\n' "$as_me: creating $ac_file" >&6;}
   22306     fi
   22307     # Neutralize special characters interpreted by sed in replacement strings.
   22308     case $configure_input in #(
   22309     *\&* | *\|* | *\\* )
   22310        ac_sed_conf_input=`printf '%s\n' "$configure_input" |
   22311        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   22312     *) ac_sed_conf_input=$configure_input;;
   22313     esac
   22314 
   22315     case $ac_tag in
   22316     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   22317       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   22318     esac
   22319     ;;
   22320   esac
   22321 
   22322   ac_dir=`$as_dirname -- "$ac_file" ||
   22323 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22324 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   22325 	 X"$ac_file" : 'X\(//\)$' \| \
   22326 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   22327 printf '%s\n' X"$ac_file" |
   22328     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22329 	    s//\1/
   22330 	    q
   22331 	  }
   22332 	  /^X\(\/\/\)[^/].*/{
   22333 	    s//\1/
   22334 	    q
   22335 	  }
   22336 	  /^X\(\/\/\)$/{
   22337 	    s//\1/
   22338 	    q
   22339 	  }
   22340 	  /^X\(\/\).*/{
   22341 	    s//\1/
   22342 	    q
   22343 	  }
   22344 	  s/.*/./; q'`
   22345   as_dir="$ac_dir"; as_fn_mkdir_p
   22346   ac_builddir=.
   22347 
   22348 case "$ac_dir" in
   22349 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22350 *)
   22351   ac_dir_suffix=/`printf '%s\n' "$ac_dir" | sed 's|^\.[\\/]||'`
   22352   # A ".." for each directory in $ac_dir_suffix.
   22353   ac_top_builddir_sub=`printf '%s\n' "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   22354   case $ac_top_builddir_sub in
   22355   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22356   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   22357   esac ;;
   22358 esac
   22359 ac_abs_top_builddir=$ac_pwd
   22360 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   22361 # for backward compatibility:
   22362 ac_top_builddir=$ac_top_build_prefix
   22363 
   22364 case $srcdir in
   22365   .)  # We are building in place.
   22366     ac_srcdir=.
   22367     ac_top_srcdir=$ac_top_builddir_sub
   22368     ac_abs_top_srcdir=$ac_pwd ;;
   22369   [\\/]* | ?:[\\/]* )  # Absolute name.
   22370     ac_srcdir=$srcdir$ac_dir_suffix;
   22371     ac_top_srcdir=$srcdir
   22372     ac_abs_top_srcdir=$srcdir ;;
   22373   *) # Relative name.
   22374     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   22375     ac_top_srcdir=$ac_top_build_prefix$srcdir
   22376     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   22377 esac
   22378 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   22379 
   22380 
   22381   case $ac_mode in
   22382   :F)
   22383   #
   22384   # CONFIG_FILE
   22385   #
   22386 
   22387   case $INSTALL in
   22388   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   22389   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   22390   esac
   22391   ac_MKDIR_P=$MKDIR_P
   22392   case $MKDIR_P in
   22393   [\\/$]* | ?:[\\/]* ) ;;
   22394   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   22395   esac
   22396 _ACEOF
   22397 
   22398 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   22399 # If the template does not know about datarootdir, expand it.
   22400 # FIXME: This hack should be removed a few years after 2.60.
   22401 ac_datarootdir_hack=; ac_datarootdir_seen=
   22402 ac_sed_dataroot='
   22403 /datarootdir/ {
   22404   p
   22405   q
   22406 }
   22407 /@datadir@/p
   22408 /@docdir@/p
   22409 /@infodir@/p
   22410 /@localedir@/p
   22411 /@mandir@/p'
   22412 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   22413 *datarootdir*) ac_datarootdir_seen=yes;;
   22414 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   22415   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   22416 printf '%s\n' "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   22417 _ACEOF
   22418 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   22419   ac_datarootdir_hack='
   22420   s&@datadir@&$datadir&g
   22421   s&@docdir@&$docdir&g
   22422   s&@infodir@&$infodir&g
   22423   s&@localedir@&$localedir&g
   22424   s&@mandir@&$mandir&g
   22425   s&\\\${datarootdir}&$datarootdir&g' ;;
   22426 esac
   22427 _ACEOF
   22428 
   22429 # Neutralize VPATH when '$srcdir' = '.'.
   22430 # Shell code in configure.ac might set extrasub.
   22431 # FIXME: do we really want to maintain this feature?
   22432 cat >>"$CONFIG_STATUS" <<_ACEOF || ac_write_fail=1
   22433 ac_sed_extra="$ac_vpsub
   22434 $extrasub
   22435 _ACEOF
   22436 cat >>"$CONFIG_STATUS" <<\_ACEOF || ac_write_fail=1
   22437 :t
   22438 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   22439 s|@configure_input@|$ac_sed_conf_input|;t t
   22440 s&@top_builddir@&$ac_top_builddir_sub&;t t
   22441 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   22442 s&@srcdir@&$ac_srcdir&;t t
   22443 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   22444 s&@top_srcdir@&$ac_top_srcdir&;t t
   22445 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   22446 s&@builddir@&$ac_builddir&;t t
   22447 s&@abs_builddir@&$ac_abs_builddir&;t t
   22448 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   22449 s&@INSTALL@&$ac_INSTALL&;t t
   22450 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   22451 $ac_datarootdir_hack
   22452 "
   22453 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   22454   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22455 
   22456 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   22457   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   22458   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   22459       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   22460   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   22461 which seems to be undefined.  Please make sure it is defined" >&5
   22462 printf '%s\n' "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   22463 which seems to be undefined.  Please make sure it is defined" >&2;}
   22464 
   22465   rm -f "$ac_tmp/stdin"
   22466   case $ac_file in
   22467   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   22468   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   22469   esac \
   22470   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22471  ;;
   22472   :H)
   22473   #
   22474   # CONFIG_HEADER
   22475   #
   22476   if test x"$ac_file" != x-; then
   22477     {
   22478       printf '%s\n' "/* $configure_input  */" >&1 \
   22479       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   22480     } >"$ac_tmp/config.h" \
   22481       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22482     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   22483       { printf '%s\n' "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   22484 printf '%s\n' "$as_me: $ac_file is unchanged" >&6;}
   22485     else
   22486       rm -f "$ac_file"
   22487       mv "$ac_tmp/config.h" "$ac_file" \
   22488 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22489     fi
   22490   else
   22491     printf '%s\n' "/* $configure_input  */" >&1 \
   22492       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   22493       || as_fn_error $? "could not create -" "$LINENO" 5
   22494   fi
   22495 # Compute "$ac_file"'s index in $config_headers.
   22496 _am_arg="$ac_file"
   22497 _am_stamp_count=1
   22498 for _am_header in $config_headers :; do
   22499   case $_am_header in
   22500     $_am_arg | $_am_arg:* )
   22501       break ;;
   22502     * )
   22503       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   22504   esac
   22505 done
   22506 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   22507 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22508 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   22509 	 X"$_am_arg" : 'X\(//\)$' \| \
   22510 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   22511 printf '%s\n' X"$_am_arg" |
   22512     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22513 	    s//\1/
   22514 	    q
   22515 	  }
   22516 	  /^X\(\/\/\)[^/].*/{
   22517 	    s//\1/
   22518 	    q
   22519 	  }
   22520 	  /^X\(\/\/\)$/{
   22521 	    s//\1/
   22522 	    q
   22523 	  }
   22524 	  /^X\(\/\).*/{
   22525 	    s//\1/
   22526 	    q
   22527 	  }
   22528 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   22529  ;;
   22530 
   22531   :C)  { printf '%s\n' "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   22532 printf '%s\n' "$as_me: executing $ac_file commands" >&6;}
   22533  ;;
   22534   esac
   22535 
   22536 
   22537   case $ac_file$ac_mode in
   22538     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   22539   # Older Autoconf quotes --file arguments for eval, but not when files
   22540   # are listed without --file.  Let's play safe and only enable the eval
   22541   # if we detect the quoting.
   22542   # TODO: see whether this extra hack can be removed once we start
   22543   # requiring Autoconf 2.70 or later.
   22544   case $CONFIG_FILES in #(
   22545   *\'*) :
   22546     eval set x "$CONFIG_FILES" ;; #(
   22547   *) :
   22548     set x $CONFIG_FILES ;; #(
   22549   *) :
   22550      ;;
   22551 esac
   22552   shift
   22553   # Used to flag and report bootstrapping failures.
   22554   am_rc=0
   22555   for am_mf
   22556   do
   22557     # Strip MF so we end up with the name of the file.
   22558     am_mf=`printf '%s\n' "$am_mf" | sed -e 's/:.*$//'`
   22559     # Check whether this is an Automake generated Makefile which includes
   22560     # dependency-tracking related rules and includes.
   22561     # Grep'ing the whole file directly is not great: AIX grep has a line
   22562     # limit of 2048, but all sed's we know have understand at least 4000.
   22563     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   22564       || continue
   22565     am_dirpart=`$as_dirname -- "$am_mf" ||
   22566 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22567 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   22568 	 X"$am_mf" : 'X\(//\)$' \| \
   22569 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   22570 printf '%s\n' X"$am_mf" |
   22571     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22572 	    s//\1/
   22573 	    q
   22574 	  }
   22575 	  /^X\(\/\/\)[^/].*/{
   22576 	    s//\1/
   22577 	    q
   22578 	  }
   22579 	  /^X\(\/\/\)$/{
   22580 	    s//\1/
   22581 	    q
   22582 	  }
   22583 	  /^X\(\/\).*/{
   22584 	    s//\1/
   22585 	    q
   22586 	  }
   22587 	  s/.*/./; q'`
   22588     am_filepart=`$as_basename -- "$am_mf" ||
   22589 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   22590 	 X"$am_mf" : 'X\(//\)$' \| \
   22591 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   22592 printf '%s\n' X/"$am_mf" |
   22593     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22594 	    s//\1/
   22595 	    q
   22596 	  }
   22597 	  /^X\/\(\/\/\)$/{
   22598 	    s//\1/
   22599 	    q
   22600 	  }
   22601 	  /^X\/\(\/\).*/{
   22602 	    s//\1/
   22603 	    q
   22604 	  }
   22605 	  s/.*/./; q'`
   22606     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   22607       && sed -e '/# am--include-marker/d' "$am_filepart" \
   22608         | $MAKE -f - am--depfiles" >&5
   22609    (cd "$am_dirpart" \
   22610       && sed -e '/# am--include-marker/d' "$am_filepart" \
   22611         | $MAKE -f - am--depfiles) >&5 2>&5
   22612    ac_status=$?
   22613    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22614    (exit $ac_status); } || am_rc=$?
   22615   done
   22616   if test $am_rc -ne 0; then
   22617     { { printf '%s\n' "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   22618 printf '%s\n' "$as_me: error: in '$ac_pwd':" >&2;}
   22619 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   22620     for automatic dependency tracking.  If GNU make was not used, consider
   22621     re-running the configure script with MAKE=\"gmake\" (or whatever is
   22622     necessary).  You can also try re-running configure with the
   22623     '--disable-dependency-tracking' option to at least be able to build
   22624     the package (albeit without support for automatic dependency tracking).
   22625 See 'config.log' for more details" "$LINENO" 5; }
   22626   fi
   22627   { am_dirpart=; unset am_dirpart;}
   22628   { am_filepart=; unset am_filepart;}
   22629   { am_mf=; unset am_mf;}
   22630   { am_rc=; unset am_rc;}
   22631   rm -f conftest-deps.mk
   22632 }
   22633  ;;
   22634     "libtool":C)
   22635 
   22636     # See if we are running on zsh, and set the options that allow our
   22637     # commands through without removal of \ escapes.
   22638     if test -n "${ZSH_VERSION+set}"; then
   22639       setopt NO_GLOB_SUBST
   22640     fi
   22641 
   22642     cfgfile=${ofile}T
   22643     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   22644     $RM "$cfgfile"
   22645 
   22646     cat <<_LT_EOF >> "$cfgfile"
   22647 #! $SHELL
   22648 # Generated automatically by $as_me ($PACKAGE) $VERSION
   22649 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   22650 
   22651 # Provide generalized library-building support services.
   22652 # Written by Gordon Matzigkeit, 1996
   22653 
   22654 # Copyright (C) 2025-2026 Free Software Foundation, Inc.
   22655 # This is free software; see the source for copying conditions.  There is NO
   22656 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   22657 
   22658 # GNU Libtool is free software; you can redistribute it and/or modify
   22659 # it under the terms of the GNU General Public License as published by
   22660 # the Free Software Foundation; either version 2 of the License, or
   22661 # (at your option) any later version.
   22662 #
   22663 # As a special exception to the GNU General Public License, if you
   22664 # distribute this file as part of a program or library that is built
   22665 # using GNU Libtool, you may include this file under the  same
   22666 # distribution terms that you use for the rest of that program.
   22667 #
   22668 # GNU Libtool is distributed in the hope that it will be useful, but
   22669 # WITHOUT ANY WARRANTY; without even the implied warranty of
   22670 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   22671 # GNU General Public License for more details.
   22672 #
   22673 # You should have received a copy of the GNU General Public License
   22674 # along with this program.  If not, see <https://www.gnu.org/licenses/>.
   22675 
   22676 
   22677 # The names of the tagged configurations supported by this script.
   22678 available_tags=''
   22679 
   22680 # Configured defaults for sys_lib_dlsearch_path munging.
   22681 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   22682 
   22683 # ### BEGIN LIBTOOL CONFIG
   22684 
   22685 # Which release of libtool.m4 was used?
   22686 macro_version=$macro_version
   22687 macro_revision=$macro_revision
   22688 
   22689 # Whether or not to build shared libraries.
   22690 build_libtool_libs=$enable_shared
   22691 
   22692 # Whether or not to build static libraries.
   22693 build_old_libs=$enable_static
   22694 
   22695 # What type of objects to build.
   22696 pic_mode=$pic_mode
   22697 
   22698 # Whether to let the compiler frontend decide what standard libraries to link when building C++ shared libraries and modules.
   22699 enable_cxx_stdlib=$enable_cxx_stdlib
   22700 
   22701 # Flag used for specifying not to link standard libraries.
   22702 stdlibflag=$stdlibflag
   22703 
   22704 # Whether or not to optimize for fast installation.
   22705 fast_install=$enable_fast_install
   22706 
   22707 # Shared archive member basename,for filename based shared library versioning on AIX.
   22708 shared_archive_member_spec=$shared_archive_member_spec
   22709 
   22710 # Shell to use when invoking shell scripts.
   22711 SHELL=$lt_SHELL
   22712 
   22713 # An echo program that protects backslashes.
   22714 ECHO=$lt_ECHO
   22715 
   22716 # The PATH separator for the build system.
   22717 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   22718 
   22719 # The host system.
   22720 host_alias=$host_alias
   22721 host=$host
   22722 host_os=$host_os
   22723 
   22724 # The build system.
   22725 build_alias=$build_alias
   22726 build=$build
   22727 build_os=$build_os
   22728 
   22729 # A sed program that does not truncate output.
   22730 SED=$lt_SED
   22731 
   22732 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   22733 Xsed="\$SED -e 1s/^X//"
   22734 
   22735 # A grep program that handles long lines.
   22736 GREP=$lt_GREP
   22737 
   22738 # An ERE matcher.
   22739 EGREP=$lt_EGREP
   22740 
   22741 # A literal string matcher.
   22742 FGREP=$lt_FGREP
   22743 
   22744 # A BSD- or MS-compatible name lister.
   22745 NM=$lt_NM
   22746 
   22747 # Whether we need soft or hard links.
   22748 LN_S=$lt_LN_S
   22749 
   22750 # What is the maximum length of a command?
   22751 max_cmd_len=$max_cmd_len
   22752 
   22753 # Object file suffix (normally "o").
   22754 objext=$ac_objext
   22755 
   22756 # Executable file suffix (normally "").
   22757 exeext=$exeext
   22758 
   22759 # whether the shell understands "unset".
   22760 lt_unset=$lt_unset
   22761 
   22762 # turn spaces into newlines.
   22763 SP2NL=$lt_lt_SP2NL
   22764 
   22765 # turn newlines into spaces.
   22766 NL2SP=$lt_lt_NL2SP
   22767 
   22768 # convert \$build file names to \$host format.
   22769 to_host_file_cmd=$lt_cv_to_host_file_cmd
   22770 
   22771 # convert \$build files to toolchain format.
   22772 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   22773 
   22774 # whether cygpath is installed.
   22775 cygpath_installed=$lt_cv_cygpath_installed
   22776 
   22777 # A file(cmd) program that detects file types.
   22778 FILECMD=$lt_FILECMD
   22779 
   22780 # An object symbol dumper.
   22781 OBJDUMP=$lt_OBJDUMP
   22782 
   22783 # Method to check whether dependent libraries are shared objects.
   22784 deplibs_check_method=$lt_deplibs_check_method
   22785 
   22786 # Command to use when deplibs_check_method = "file_magic".
   22787 file_magic_cmd=$lt_file_magic_cmd
   22788 
   22789 # How to find potential files when deplibs_check_method = "file_magic".
   22790 file_magic_glob=$lt_file_magic_glob
   22791 
   22792 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   22793 want_nocaseglob=$lt_want_nocaseglob
   22794 
   22795 # DLL creation program.
   22796 DLLTOOL=$lt_DLLTOOL
   22797 
   22798 # Command to associate shared and link libraries.
   22799 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   22800 
   22801 # The archiver.
   22802 AR=$lt_AR
   22803 
   22804 # Flags to create an archive (by configure).
   22805 lt_ar_flags=$lt_lt_ar_flags
   22806 
   22807 # Flags to create an archive.
   22808 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   22809 
   22810 # How to feed a file listing to the archiver.
   22811 archiver_list_spec=$lt_archiver_list_spec
   22812 
   22813 # A symbol stripping program.
   22814 STRIP=$lt_STRIP
   22815 
   22816 # Commands used to install an old-style archive.
   22817 RANLIB=$lt_RANLIB
   22818 old_postinstall_cmds=$lt_old_postinstall_cmds
   22819 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   22820 
   22821 # Whether to use a lock for old archive extraction.
   22822 lock_old_archive_extraction=$lock_old_archive_extraction
   22823 
   22824 # A C compiler.
   22825 LTCC=$lt_CC
   22826 
   22827 # LTCC compiler flags.
   22828 LTCFLAGS=$lt_CFLAGS
   22829 
   22830 # Take the output of nm and produce a listing of raw symbols and C names.
   22831 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   22832 
   22833 # Transform the output of nm in a proper C declaration.
   22834 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   22835 
   22836 # Transform the output of nm into a list of symbols to manually relocate.
   22837 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   22838 
   22839 # Transform the output of nm in a C name address pair.
   22840 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   22841 
   22842 # Transform the output of nm in a C name address pair when lib prefix is needed.
   22843 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   22844 
   22845 # The name lister interface.
   22846 nm_interface=$lt_lt_cv_nm_interface
   22847 
   22848 # Specify filename containing input files for \$NM.
   22849 nm_file_list_spec=$lt_nm_file_list_spec
   22850 
   22851 # The root where to search for dependent libraries,and where our libraries should be installed.
   22852 lt_sysroot=$lt_sysroot
   22853 
   22854 # Command to truncate a binary pipe.
   22855 lt_truncate_bin=$lt_lt_cv_truncate_bin
   22856 
   22857 # The name of the directory that contains temporary libtool files.
   22858 objdir=$objdir
   22859 
   22860 # Used to examine libraries when file_magic_cmd begins with "file".
   22861 MAGIC_CMD=$MAGIC_CMD
   22862 
   22863 # Must we lock files when doing compilation?
   22864 need_locks=$lt_need_locks
   22865 
   22866 # Manifest tool.
   22867 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   22868 
   22869 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   22870 DSYMUTIL=$lt_DSYMUTIL
   22871 
   22872 # Tool to change global to local symbols on Mac OS X.
   22873 NMEDIT=$lt_NMEDIT
   22874 
   22875 # Tool to manipulate fat objects and archives on Mac OS X.
   22876 LIPO=$lt_LIPO
   22877 
   22878 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   22879 OTOOL=$lt_OTOOL
   22880 
   22881 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   22882 OTOOL64=$lt_OTOOL64
   22883 
   22884 # Old archive suffix (normally "a").
   22885 libext=$libext
   22886 
   22887 # Shared library suffix (normally ".so").
   22888 shrext_cmds=$lt_shrext_cmds
   22889 
   22890 # The commands to extract the exported symbol list from a shared archive.
   22891 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   22892 
   22893 # Variables whose values should be saved in libtool wrapper scripts and
   22894 # restored at link time.
   22895 variables_saved_for_relink=$lt_variables_saved_for_relink
   22896 
   22897 # Do we need the "lib" prefix for modules?
   22898 need_lib_prefix=$need_lib_prefix
   22899 
   22900 # Do we need a version for libraries?
   22901 need_version=$need_version
   22902 
   22903 # Library versioning type.
   22904 version_type=$version_type
   22905 
   22906 # Shared library runtime path variable.
   22907 runpath_var=$runpath_var
   22908 
   22909 # Shared library path variable.
   22910 shlibpath_var=$shlibpath_var
   22911 
   22912 # Is shlibpath searched before the hard-coded library search path?
   22913 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   22914 
   22915 # Format of library name prefix.
   22916 libname_spec=$lt_libname_spec
   22917 
   22918 # List of archive names.  First name is the real one, the rest are links.
   22919 # The last name is the one that the linker finds with -lNAME
   22920 library_names_spec=$lt_library_names_spec
   22921 
   22922 # The coded name of the library, if different from the real name.
   22923 soname_spec=$lt_soname_spec
   22924 
   22925 # Permission mode override for installation of shared libraries.
   22926 install_override_mode=$lt_install_override_mode
   22927 
   22928 # Command to use after installation of a shared archive.
   22929 postinstall_cmds=$lt_postinstall_cmds
   22930 
   22931 # Command to use after uninstallation of a shared archive.
   22932 postuninstall_cmds=$lt_postuninstall_cmds
   22933 
   22934 # Commands used to finish a libtool library installation in a directory.
   22935 finish_cmds=$lt_finish_cmds
   22936 
   22937 # As "finish_cmds", except a single script fragment to be evaled but
   22938 # not shown.
   22939 finish_eval=$lt_finish_eval
   22940 
   22941 # Whether we should hardcode library paths into libraries.
   22942 hardcode_into_libs=$hardcode_into_libs
   22943 
   22944 # Compile-time system search path for libraries.
   22945 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   22946 
   22947 # Detected run-time system search path for libraries.
   22948 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   22949 
   22950 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   22951 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   22952 
   22953 # Whether dlopen is supported.
   22954 dlopen_support=$enable_dlopen
   22955 
   22956 # Whether dlopen of programs is supported.
   22957 dlopen_self=$enable_dlopen_self
   22958 
   22959 # Whether dlopen of statically linked programs is supported.
   22960 dlopen_self_static=$enable_dlopen_self_static
   22961 
   22962 # Commands to strip libraries.
   22963 old_striplib=$lt_old_striplib
   22964 striplib=$lt_striplib
   22965 
   22966 
   22967 # The linker used to build libraries.
   22968 LD=$lt_LD
   22969 
   22970 # How to create reloadable object files.
   22971 reload_flag=$lt_reload_flag
   22972 reload_cmds=$lt_reload_cmds
   22973 
   22974 # Commands used to build an old-style archive.
   22975 old_archive_cmds=$lt_old_archive_cmds
   22976 
   22977 # A language specific compiler.
   22978 CC=$lt_compiler
   22979 
   22980 # Is the compiler the GNU compiler?
   22981 with_gcc=$GCC
   22982 
   22983 # Compiler flag to turn off builtin functions.
   22984 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   22985 
   22986 # Additional compiler flags for building library objects.
   22987 pic_flag=$lt_lt_prog_compiler_pic
   22988 
   22989 # How to pass a linker flag through the compiler.
   22990 wl=$lt_lt_prog_compiler_wl
   22991 
   22992 # Compiler flag to prevent dynamic linking.
   22993 link_static_flag=$lt_lt_prog_compiler_static
   22994 
   22995 # Does compiler simultaneously support -c and -o options?
   22996 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   22997 
   22998 # Whether or not to add -lc for building shared libraries.
   22999 build_libtool_need_lc=$archive_cmds_need_lc
   23000 
   23001 # Whether or not to disallow shared libs when runtime libs are static.
   23002 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   23003 
   23004 # Compiler flag to allow reflexive dlopens.
   23005 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   23006 
   23007 # Compiler flag to generate shared objects directly from archives.
   23008 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   23009 
   23010 # Whether the compiler copes with passing no objects directly.
   23011 compiler_needs_object=$lt_compiler_needs_object
   23012 
   23013 # Create an old-style archive from a shared archive.
   23014 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   23015 
   23016 # Create a temporary old-style archive to link instead of a shared archive.
   23017 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   23018 
   23019 # Commands used to build a shared archive.
   23020 archive_cmds=$lt_archive_cmds
   23021 archive_expsym_cmds=$lt_archive_expsym_cmds
   23022 
   23023 # Commands used to build a loadable module if different from building
   23024 # a shared archive.
   23025 module_cmds=$lt_module_cmds
   23026 module_expsym_cmds=$lt_module_expsym_cmds
   23027 
   23028 # Whether we are building with GNU ld or not.
   23029 with_gnu_ld=$lt_with_gnu_ld
   23030 
   23031 # Flag that allows shared libraries with undefined symbols to be built.
   23032 allow_undefined_flag=$lt_allow_undefined_flag
   23033 
   23034 # Flag that enforces no undefined symbols.
   23035 no_undefined_flag=$lt_no_undefined_flag
   23036 
   23037 # Flag to hardcode \$libdir into a binary during linking.
   23038 # This must work even if \$libdir does not exist
   23039 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   23040 
   23041 # Whether we need a single "-rpath" flag with a separated argument.
   23042 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   23043 
   23044 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   23045 # DIR into the resulting binary.
   23046 hardcode_direct=$hardcode_direct
   23047 
   23048 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   23049 # DIR into the resulting binary and the resulting library dependency is
   23050 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
   23051 # library is relocated.
   23052 hardcode_direct_absolute=$hardcode_direct_absolute
   23053 
   23054 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   23055 # into the resulting binary.
   23056 hardcode_minus_L=$hardcode_minus_L
   23057 
   23058 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   23059 # into the resulting binary.
   23060 hardcode_shlibpath_var=$hardcode_shlibpath_var
   23061 
   23062 # Set to "yes" if building a shared library automatically hardcodes DIR
   23063 # into the library and all subsequent libraries and executables linked
   23064 # against it.
   23065 hardcode_automatic=$hardcode_automatic
   23066 
   23067 # Set to yes if linker adds runtime paths of dependent libraries
   23068 # to runtime path list.
   23069 inherit_rpath=$inherit_rpath
   23070 
   23071 # Whether libtool must link a program against all its dependency libraries.
   23072 link_all_deplibs=$link_all_deplibs
   23073 
   23074 # Set to "yes" if exported symbols are required.
   23075 always_export_symbols=$always_export_symbols
   23076 
   23077 # The commands to list exported symbols.
   23078 export_symbols_cmds=$lt_export_symbols_cmds
   23079 
   23080 # Symbols that should not be listed in the preloaded symbols.
   23081 exclude_expsyms=$lt_exclude_expsyms
   23082 
   23083 # Symbols that must always be exported.
   23084 include_expsyms=$lt_include_expsyms
   23085 
   23086 # Commands necessary for linking programs (against libraries) with templates.
   23087 prelink_cmds=$lt_prelink_cmds
   23088 
   23089 # Commands necessary for finishing linking programs.
   23090 postlink_cmds=$lt_postlink_cmds
   23091 
   23092 # Specify filename containing input files.
   23093 file_list_spec=$lt_file_list_spec
   23094 
   23095 # How to hardcode a shared library path into an executable.
   23096 hardcode_action=$hardcode_action
   23097 
   23098 # ### END LIBTOOL CONFIG
   23099 
   23100 _LT_EOF
   23101 
   23102     cat <<'_LT_EOF' >> "$cfgfile"
   23103 
   23104 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   23105 
   23106 # func_munge_path_list VARIABLE PATH
   23107 # -----------------------------------
   23108 # VARIABLE is name of variable containing _space_ separated list of
   23109 # directories to be munged by the contents of PATH, which is string
   23110 # having a format:
   23111 # "DIR[:DIR]:"
   23112 #       string "DIR[ DIR]" will be prepended to VARIABLE
   23113 # ":DIR[:DIR]"
   23114 #       string "DIR[ DIR]" will be appended to VARIABLE
   23115 # "DIRP[:DIRP]::[DIRA:]DIRA"
   23116 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   23117 #       "DIRA[ DIRA]" will be appended to VARIABLE
   23118 # "DIR[:DIR]"
   23119 #       VARIABLE will be replaced by "DIR[ DIR]"
   23120 func_munge_path_list ()
   23121 {
   23122     case x$2 in
   23123     x)
   23124         ;;
   23125     *:)
   23126         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   23127         ;;
   23128     x:*)
   23129         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   23130         ;;
   23131     *::*)
   23132         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   23133         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   23134         ;;
   23135     *)
   23136         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   23137         ;;
   23138     esac
   23139 }
   23140 
   23141 
   23142 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   23143 func_cc_basename ()
   23144 {
   23145     for cc_temp in $*""; do
   23146       case $cc_temp in
   23147         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   23148         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   23149         \-*) ;;
   23150         *) break;;
   23151       esac
   23152     done
   23153     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   23154 }
   23155 
   23156 
   23157 # ### END FUNCTIONS SHARED WITH CONFIGURE
   23158 
   23159 _LT_EOF
   23160 
   23161   case $host_os in
   23162   aix3*)
   23163     cat <<\_LT_EOF >> "$cfgfile"
   23164 # AIX sometimes has problems with the GCC collect2 program.  For some
   23165 # reason, if we set the COLLECT_NAMES environment variable, the problems
   23166 # vanish in a puff of smoke.
   23167 if test set != "${COLLECT_NAMES+set}"; then
   23168   COLLECT_NAMES=
   23169   export COLLECT_NAMES
   23170 fi
   23171 _LT_EOF
   23172     ;;
   23173   esac
   23174 
   23175 
   23176 
   23177 ltmain=$ac_aux_dir/ltmain.sh
   23178 
   23179 
   23180   # We use sed instead of cat because bash on DJGPP gets confused if
   23181   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   23182   # text mode, it properly converts lines to CR/LF.  This bash problem
   23183   # is reportedly fixed, but why not run on old versions too?
   23184   $SED '$q' "$ltmain" >> "$cfgfile" \
   23185      || (rm -f "$cfgfile"; exit 1)
   23186 
   23187    mv -f "$cfgfile" "$ofile" ||
   23188     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   23189   chmod +x "$ofile"
   23190 
   23191  ;;
   23192 
   23193   esac
   23194 done # for ac_tag
   23195 
   23196 
   23197 as_fn_exit 0
   23198 _ACEOF
   23199 ac_clean_CONFIG_STATUS=
   23200 
   23201 test $ac_write_fail = 0 ||
   23202   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   23203 
   23204 
   23205 # configure is writing to config.log, and then calls config.status.
   23206 # config.status does its own redirection, appending to config.log.
   23207 # Unfortunately, on DOS this fails, as config.log is still kept open
   23208 # by configure, so config.status won't be able to write to it; its
   23209 # output is simply discarded.  So we exec the FD to /dev/null,
   23210 # effectively closing config.log, so it can be properly (re)opened and
   23211 # appended to by config.status.  When coming back to configure, we
   23212 # need to make the FD available again.
   23213 if test "$no_create" != yes; then
   23214   ac_cs_success=:
   23215   case $CONFIG_STATUS in #(
   23216   -*) :
   23217     ac_no_opts=-- ;; #(
   23218   *) :
   23219     ac_no_opts= ;;
   23220 esac
   23221   ac_config_status_args=
   23222   test "$silent" = yes &&
   23223     ac_config_status_args="$ac_config_status_args --quiet"
   23224   exec 5>/dev/null
   23225   $SHELL $ac_no_opts "$CONFIG_STATUS" $ac_config_status_args ||
   23226     ac_cs_success=false
   23227   exec 5>>config.log
   23228   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   23229   # would make configure fail if this is the last instruction.
   23230   $ac_cs_success || as_fn_exit 1
   23231 fi
   23232 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   23233   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   23234 printf '%s\n' "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   23235 fi
   23236 
   23237 
   23238