Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.6
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.72 for libXdamage 1.1.7.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxdamage/-/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2023 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   # is contrary to our usage.  Disable this feature.
     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 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    135 # Admittedly, this is quite paranoid, since all the known shells bail
    136 # out after a failed 'exec'.
    137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    138 exit 255
    139   fi
    140   # We don't want this to propagate to other subprocesses.
    141           { _as_can_reexec=; unset _as_can_reexec;}
    142 if test "x$CONFIG_SHELL" = x; then
    143   as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    144 then :
    145   emulate sh
    146   NULLCMD=:
    147   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    148   # is contrary to our usage.  Disable this feature.
    149   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    150   setopt NO_GLOB_SUBST
    151 else case e in #(
    152   e) case \`(set -o) 2>/dev/null\` in #(
    153   *posix*) :
    154     set -o posix ;; #(
    155   *) :
    156      ;;
    157 esac ;;
    158 esac
    159 fi
    160 "
    161   as_required="as_fn_return () { (exit \$1); }
    162 as_fn_success () { as_fn_return 0; }
    163 as_fn_failure () { as_fn_return 1; }
    164 as_fn_ret_success () { return 0; }
    165 as_fn_ret_failure () { return 1; }
    166 
    167 exitcode=0
    168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
    173 then :
    174 
    175 else case e in #(
    176   e) exitcode=1; echo positional parameters were not saved. ;;
    177 esac
    178 fi
    179 test x\$exitcode = x0 || exit 1
    180 blah=\$(echo \$(echo blah))
    181 test x\"\$blah\" = xblah || exit 1
    182 test -x / || exit 1"
    183   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    184   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    185   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    186   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    187 
    188   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    189     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    190     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    191     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    192     PATH=/empty FPATH=/empty; export PATH FPATH
    193     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    194       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    195 test \$(( 1 + 1 )) = 2 || exit 1"
    196   if (eval "$as_required") 2>/dev/null
    197 then :
    198   as_have_required=yes
    199 else case e in #(
    200   e) as_have_required=no ;;
    201 esac
    202 fi
    203   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    204 then :
    205 
    206 else case e in #(
    207   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    208 as_found=false
    209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    210 do
    211   IFS=$as_save_IFS
    212   case $as_dir in #(((
    213     '') as_dir=./ ;;
    214     */) ;;
    215     *) as_dir=$as_dir/ ;;
    216   esac
    217   as_found=:
    218   case $as_dir in #(
    219 	 /*)
    220 	   for as_base in sh bash ksh sh5; do
    221 	     # Try only shells that exist, to save several forks.
    222 	     as_shell=$as_dir$as_base
    223 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    224 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    225 then :
    226   CONFIG_SHELL=$as_shell as_have_required=yes
    227 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    228 then :
    229   break 2
    230 fi
    231 fi
    232 	   done;;
    233        esac
    234   as_found=false
    235 done
    236 IFS=$as_save_IFS
    237 if $as_found
    238 then :
    239 
    240 else case e in #(
    241   e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    243 then :
    244   CONFIG_SHELL=$SHELL as_have_required=yes
    245 fi ;;
    246 esac
    247 fi
    248 
    249 
    250       if test "x$CONFIG_SHELL" != x
    251 then :
    252   export CONFIG_SHELL
    253              # We cannot yet assume a decent shell, so we have to provide a
    254 # neutralization value for shells without unset; and this also
    255 # works around shells that cannot unset nonexistent variables.
    256 # Preserve -v and -x to the replacement shell.
    257 BASH_ENV=/dev/null
    258 ENV=/dev/null
    259 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    260 case $- in # ((((
    261   *v*x* | *x*v* ) as_opts=-vx ;;
    262   *v* ) as_opts=-v ;;
    263   *x* ) as_opts=-x ;;
    264   * ) as_opts= ;;
    265 esac
    266 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    267 # Admittedly, this is quite paranoid, since all the known shells bail
    268 # out after a failed 'exec'.
    269 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    270 exit 255
    271 fi
    272 
    273     if test x$as_have_required = xno
    274 then :
    275   printf "%s\n" "$0: This script requires a shell more modern than all"
    276   printf "%s\n" "$0: the shells that I found on your system."
    277   if test ${ZSH_VERSION+y} ; then
    278     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    279     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    280   else
    281     printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
    282 $0: https://gitlab.freedesktop.org/xorg/lib/libxdamage/-/issues
    283 $0: about your system, including any error possibly output
    284 $0: before this message. Then install a modern shell, or
    285 $0: manually run the script under such a shell if you do
    286 $0: have one."
    287   fi
    288   exit 1
    289 fi ;;
    290 esac
    291 fi
    292 fi
    293 SHELL=${CONFIG_SHELL-/bin/sh}
    294 export SHELL
    295 # Unset more variables known to interfere with behavior of common tools.
    296 CLICOLOR_FORCE= GREP_OPTIONS=
    297 unset CLICOLOR_FORCE GREP_OPTIONS
    298 
    299 ## --------------------- ##
    300 ## M4sh Shell Functions. ##
    301 ## --------------------- ##
    302 # as_fn_unset VAR
    303 # ---------------
    304 # Portably unset VAR.
    305 as_fn_unset ()
    306 {
    307   { eval $1=; unset $1;}
    308 }
    309 as_unset=as_fn_unset
    310 
    311 
    312 # as_fn_set_status STATUS
    313 # -----------------------
    314 # Set $? to STATUS, without forking.
    315 as_fn_set_status ()
    316 {
    317   return $1
    318 } # as_fn_set_status
    319 
    320 # as_fn_exit STATUS
    321 # -----------------
    322 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    323 as_fn_exit ()
    324 {
    325   set +e
    326   as_fn_set_status $1
    327   exit $1
    328 } # as_fn_exit
    329 
    330 # as_fn_mkdir_p
    331 # -------------
    332 # Create "$as_dir" as a directory, including parents if necessary.
    333 as_fn_mkdir_p ()
    334 {
    335 
    336   case $as_dir in #(
    337   -*) as_dir=./$as_dir;;
    338   esac
    339   test -d "$as_dir" || eval $as_mkdir_p || {
    340     as_dirs=
    341     while :; do
    342       case $as_dir in #(
    343       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    344       *) as_qdir=$as_dir;;
    345       esac
    346       as_dirs="'$as_qdir' $as_dirs"
    347       as_dir=`$as_dirname -- "$as_dir" ||
    348 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    349 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    350 	 X"$as_dir" : 'X\(//\)$' \| \
    351 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    352 printf "%s\n" X"$as_dir" |
    353     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    354 	    s//\1/
    355 	    q
    356 	  }
    357 	  /^X\(\/\/\)[^/].*/{
    358 	    s//\1/
    359 	    q
    360 	  }
    361 	  /^X\(\/\/\)$/{
    362 	    s//\1/
    363 	    q
    364 	  }
    365 	  /^X\(\/\).*/{
    366 	    s//\1/
    367 	    q
    368 	  }
    369 	  s/.*/./; q'`
    370       test -d "$as_dir" && break
    371     done
    372     test -z "$as_dirs" || eval "mkdir $as_dirs"
    373   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    374 
    375 
    376 } # as_fn_mkdir_p
    377 
    378 # as_fn_executable_p FILE
    379 # -----------------------
    380 # Test if FILE is an executable regular file.
    381 as_fn_executable_p ()
    382 {
    383   test -f "$1" && test -x "$1"
    384 } # as_fn_executable_p
    385 # as_fn_append VAR VALUE
    386 # ----------------------
    387 # Append the text in VALUE to the end of the definition contained in VAR. Take
    388 # advantage of any shell optimizations that allow amortized linear growth over
    389 # repeated appends, instead of the typical quadratic growth present in naive
    390 # implementations.
    391 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    392 then :
    393   eval 'as_fn_append ()
    394   {
    395     eval $1+=\$2
    396   }'
    397 else case e in #(
    398   e) as_fn_append ()
    399   {
    400     eval $1=\$$1\$2
    401   } ;;
    402 esac
    403 fi # as_fn_append
    404 
    405 # as_fn_arith ARG...
    406 # ------------------
    407 # Perform arithmetic evaluation on the ARGs, and store the result in the
    408 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    409 # must be portable across $(()) and expr.
    410 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    411 then :
    412   eval 'as_fn_arith ()
    413   {
    414     as_val=$(( $* ))
    415   }'
    416 else case e in #(
    417   e) as_fn_arith ()
    418   {
    419     as_val=`expr "$@" || test $? -eq 1`
    420   } ;;
    421 esac
    422 fi # as_fn_arith
    423 
    424 
    425 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    426 # ----------------------------------------
    427 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    428 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    429 # script with STATUS, using 1 if that was 0.
    430 as_fn_error ()
    431 {
    432   as_status=$1; test $as_status -eq 0 && as_status=1
    433   if test "$4"; then
    434     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    435     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    436   fi
    437   printf "%s\n" "$as_me: error: $2" >&2
    438   as_fn_exit $as_status
    439 } # as_fn_error
    440 
    441 if expr a : '\(a\)' >/dev/null 2>&1 &&
    442    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    443   as_expr=expr
    444 else
    445   as_expr=false
    446 fi
    447 
    448 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    449   as_basename=basename
    450 else
    451   as_basename=false
    452 fi
    453 
    454 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    455   as_dirname=dirname
    456 else
    457   as_dirname=false
    458 fi
    459 
    460 as_me=`$as_basename -- "$0" ||
    461 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    462 	 X"$0" : 'X\(//\)$' \| \
    463 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    464 printf "%s\n" X/"$0" |
    465     sed '/^.*\/\([^/][^/]*\)\/*$/{
    466 	    s//\1/
    467 	    q
    468 	  }
    469 	  /^X\/\(\/\/\)$/{
    470 	    s//\1/
    471 	    q
    472 	  }
    473 	  /^X\/\(\/\).*/{
    474 	    s//\1/
    475 	    q
    476 	  }
    477 	  s/.*/./; q'`
    478 
    479 # Avoid depending upon Character Ranges.
    480 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    481 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    482 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    483 as_cr_digits='0123456789'
    484 as_cr_alnum=$as_cr_Letters$as_cr_digits
    485 
    486 
    487   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    488   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    489   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    490   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    491   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    492   sed -n '
    493     p
    494     /[$]LINENO/=
    495   ' <$as_myself |
    496     sed '
    497       t clear
    498       :clear
    499       s/[$]LINENO.*/&-/
    500       t lineno
    501       b
    502       :lineno
    503       N
    504       :loop
    505       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    506       t loop
    507       s/-\n.*//
    508     ' >$as_me.lineno &&
    509   chmod +x "$as_me.lineno" ||
    510     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    511 
    512   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    513   # already done that, so ensure we don't try to do so again and fall
    514   # in an infinite loop.  This has already happened in practice.
    515   _as_can_reexec=no; export _as_can_reexec
    516   # Don't try to exec as it changes $[0], causing all sort of problems
    517   # (the dirname of $[0] is not the place where we might find the
    518   # original and so on.  Autoconf is especially sensitive to this).
    519   . "./$as_me.lineno"
    520   # Exit status is that of the last command.
    521   exit
    522 }
    523 
    524 
    525 # Determine whether it's possible to make 'echo' print without a newline.
    526 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    527 # for compatibility with existing Makefiles.
    528 ECHO_C= ECHO_N= ECHO_T=
    529 case `echo -n x` in #(((((
    530 -n*)
    531   case `echo 'xy\c'` in
    532   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    533   xy)  ECHO_C='\c';;
    534   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    535        ECHO_T='	';;
    536   esac;;
    537 *)
    538   ECHO_N='-n';;
    539 esac
    540 
    541 # For backward compatibility with old third-party macros, we provide
    542 # the shell variables $as_echo and $as_echo_n.  New code should use
    543 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    544 as_echo='printf %s\n'
    545 as_echo_n='printf %s'
    546 
    547 rm -f conf$$ conf$$.exe conf$$.file
    548 if test -d conf$$.dir; then
    549   rm -f conf$$.dir/conf$$.file
    550 else
    551   rm -f conf$$.dir
    552   mkdir conf$$.dir 2>/dev/null
    553 fi
    554 if (echo >conf$$.file) 2>/dev/null; then
    555   if ln -s conf$$.file conf$$ 2>/dev/null; then
    556     as_ln_s='ln -s'
    557     # ... but there are two gotchas:
    558     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
    559     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
    560     # In both cases, we have to default to 'cp -pR'.
    561     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    562       as_ln_s='cp -pR'
    563   elif ln conf$$.file conf$$ 2>/dev/null; then
    564     as_ln_s=ln
    565   else
    566     as_ln_s='cp -pR'
    567   fi
    568 else
    569   as_ln_s='cp -pR'
    570 fi
    571 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    572 rmdir conf$$.dir 2>/dev/null
    573 
    574 if mkdir -p . 2>/dev/null; then
    575   as_mkdir_p='mkdir -p "$as_dir"'
    576 else
    577   test -d ./-p && rmdir ./-p
    578   as_mkdir_p=false
    579 fi
    580 
    581 as_test_x='test -x'
    582 as_executable_p=as_fn_executable_p
    583 
    584 # Sed expression to map a string onto a valid CPP name.
    585 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
    586 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
    587 
    588 # Sed expression to map a string onto a valid variable name.
    589 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
    590 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
    591 
    592 SHELL=${CONFIG_SHELL-/bin/sh}
    593 
    594 
    595 test -n "$DJDIR" || exec 7<&0 </dev/null
    596 exec 6>&1
    597 
    598 # Name of the host.
    599 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    600 # so uname gets run too.
    601 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    602 
    603 #
    604 # Initializations.
    605 #
    606 ac_default_prefix=/usr/local
    607 ac_clean_files=
    608 ac_config_libobj_dir=.
    609 LIBOBJS=
    610 cross_compiling=no
    611 subdirs=
    612 MFLAGS=
    613 MAKEFLAGS=
    614 
    615 # Identity of this package.
    616 PACKAGE_NAME='libXdamage'
    617 PACKAGE_TARNAME='libXdamage'
    618 PACKAGE_VERSION='1.1.7'
    619 PACKAGE_STRING='libXdamage 1.1.7'
    620 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libxdamage/-/issues'
    621 PACKAGE_URL=''
    622 
    623 ac_unique_file="Makefile.am"
    624 # Factoring default headers for most tests.
    625 ac_includes_default="\
    626 #include <stddef.h>
    627 #ifdef HAVE_STDIO_H
    628 # include <stdio.h>
    629 #endif
    630 #ifdef HAVE_STDLIB_H
    631 # include <stdlib.h>
    632 #endif
    633 #ifdef HAVE_STRING_H
    634 # include <string.h>
    635 #endif
    636 #ifdef HAVE_INTTYPES_H
    637 # include <inttypes.h>
    638 #endif
    639 #ifdef HAVE_STDINT_H
    640 # include <stdint.h>
    641 #endif
    642 #ifdef HAVE_STRINGS_H
    643 # include <strings.h>
    644 #endif
    645 #ifdef HAVE_SYS_TYPES_H
    646 # include <sys/types.h>
    647 #endif
    648 #ifdef HAVE_SYS_STAT_H
    649 # include <sys/stat.h>
    650 #endif
    651 #ifdef HAVE_UNISTD_H
    652 # include <unistd.h>
    653 #endif"
    654 
    655 ac_header_c_list=
    656 ac_subst_vars='am__EXEEXT_FALSE
    657 am__EXEEXT_TRUE
    658 LTLIBOBJS
    659 LIBOBJS
    660 XDAMAGE_LIBS
    661 XDAMAGE_CFLAGS
    662 DAMAGEEXT_VERSION
    663 MAN_SUBSTS
    664 XORG_MAN_PAGE
    665 ADMIN_MAN_DIR
    666 DRIVER_MAN_DIR
    667 MISC_MAN_DIR
    668 FILE_MAN_DIR
    669 LIB_MAN_DIR
    670 APP_MAN_DIR
    671 ADMIN_MAN_SUFFIX
    672 DRIVER_MAN_SUFFIX
    673 MISC_MAN_SUFFIX
    674 FILE_MAN_SUFFIX
    675 LIB_MAN_SUFFIX
    676 APP_MAN_SUFFIX
    677 INSTALL_CMD
    678 PKG_CONFIG_LIBDIR
    679 PKG_CONFIG_PATH
    680 PKG_CONFIG
    681 CHANGELOG_CMD
    682 STRICT_CFLAGS
    683 CWARNFLAGS
    684 BASE_CFLAGS
    685 LT_SYS_LIBRARY_PATH
    686 OTOOL64
    687 OTOOL
    688 LIPO
    689 NMEDIT
    690 DSYMUTIL
    691 MANIFEST_TOOL
    692 RANLIB
    693 ac_ct_AR
    694 AR
    695 DLLTOOL
    696 OBJDUMP
    697 FILECMD
    698 LN_S
    699 NM
    700 ac_ct_DUMPBIN
    701 DUMPBIN
    702 LD
    703 FGREP
    704 EGREP
    705 GREP
    706 SED
    707 am__fastdepCC_FALSE
    708 am__fastdepCC_TRUE
    709 CCDEPMODE
    710 am__nodep
    711 AMDEPBACKSLASH
    712 AMDEP_FALSE
    713 AMDEP_TRUE
    714 am__include
    715 DEPDIR
    716 OBJEXT
    717 EXEEXT
    718 ac_ct_CC
    719 CPPFLAGS
    720 LDFLAGS
    721 CFLAGS
    722 CC
    723 host_os
    724 host_vendor
    725 host_cpu
    726 host
    727 build_os
    728 build_vendor
    729 build_cpu
    730 build
    731 LIBTOOL
    732 am__xargs_n
    733 am__rm_f_notfound
    734 AM_BACKSLASH
    735 AM_DEFAULT_VERBOSITY
    736 AM_DEFAULT_V
    737 AM_V
    738 CSCOPE
    739 ETAGS
    740 CTAGS
    741 am__untar
    742 am__tar
    743 AMTAR
    744 am__leading_dot
    745 SET_MAKE
    746 AWK
    747 mkdir_p
    748 MKDIR_P
    749 INSTALL_STRIP_PROGRAM
    750 STRIP
    751 install_sh
    752 MAKEINFO
    753 AUTOHEADER
    754 AUTOMAKE
    755 AUTOCONF
    756 ACLOCAL
    757 VERSION
    758 PACKAGE
    759 CYGPATH_W
    760 am__isrc
    761 INSTALL_DATA
    762 INSTALL_SCRIPT
    763 INSTALL_PROGRAM
    764 target_alias
    765 host_alias
    766 build_alias
    767 LIBS
    768 ECHO_T
    769 ECHO_N
    770 ECHO_C
    771 DEFS
    772 mandir
    773 localedir
    774 libdir
    775 psdir
    776 pdfdir
    777 dvidir
    778 htmldir
    779 infodir
    780 docdir
    781 oldincludedir
    782 includedir
    783 runstatedir
    784 localstatedir
    785 sharedstatedir
    786 sysconfdir
    787 datadir
    788 datarootdir
    789 libexecdir
    790 sbindir
    791 bindir
    792 program_transform_name
    793 prefix
    794 exec_prefix
    795 PACKAGE_URL
    796 PACKAGE_BUGREPORT
    797 PACKAGE_STRING
    798 PACKAGE_VERSION
    799 PACKAGE_TARNAME
    800 PACKAGE_NAME
    801 PATH_SEPARATOR
    802 SHELL
    803 am__quote'
    804 ac_subst_files=''
    805 ac_user_opts='
    806 enable_option_checking
    807 enable_silent_rules
    808 enable_shared
    809 enable_static
    810 enable_pic
    811 with_pic
    812 enable_fast_install
    813 enable_aix_soname
    814 with_aix_soname
    815 enable_dependency_tracking
    816 with_gnu_ld
    817 with_sysroot
    818 enable_libtool_lock
    819 enable_selective_werror
    820 enable_strict_compilation
    821 '
    822       ac_precious_vars='build_alias
    823 host_alias
    824 target_alias
    825 CC
    826 CFLAGS
    827 LDFLAGS
    828 LIBS
    829 CPPFLAGS
    830 LT_SYS_LIBRARY_PATH
    831 PKG_CONFIG
    832 PKG_CONFIG_PATH
    833 PKG_CONFIG_LIBDIR
    834 XDAMAGE_CFLAGS
    835 XDAMAGE_LIBS'
    836 
    837 
    838 # Initialize some variables set by options.
    839 ac_init_help=
    840 ac_init_version=false
    841 ac_unrecognized_opts=
    842 ac_unrecognized_sep=
    843 # The variables have the same names as the options, with
    844 # dashes changed to underlines.
    845 cache_file=/dev/null
    846 exec_prefix=NONE
    847 no_create=
    848 no_recursion=
    849 prefix=NONE
    850 program_prefix=NONE
    851 program_suffix=NONE
    852 program_transform_name=s,x,x,
    853 silent=
    854 site=
    855 srcdir=
    856 verbose=
    857 x_includes=NONE
    858 x_libraries=NONE
    859 
    860 # Installation directory options.
    861 # These are left unexpanded so users can "make install exec_prefix=/foo"
    862 # and all the variables that are supposed to be based on exec_prefix
    863 # by default will actually change.
    864 # Use braces instead of parens because sh, perl, etc. also accept them.
    865 # (The list follows the same order as the GNU Coding Standards.)
    866 bindir='${exec_prefix}/bin'
    867 sbindir='${exec_prefix}/sbin'
    868 libexecdir='${exec_prefix}/libexec'
    869 datarootdir='${prefix}/share'
    870 datadir='${datarootdir}'
    871 sysconfdir='${prefix}/etc'
    872 sharedstatedir='${prefix}/com'
    873 localstatedir='${prefix}/var'
    874 runstatedir='${localstatedir}/run'
    875 includedir='${prefix}/include'
    876 oldincludedir='/usr/include'
    877 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    878 infodir='${datarootdir}/info'
    879 htmldir='${docdir}'
    880 dvidir='${docdir}'
    881 pdfdir='${docdir}'
    882 psdir='${docdir}'
    883 libdir='${exec_prefix}/lib'
    884 localedir='${datarootdir}/locale'
    885 mandir='${datarootdir}/man'
    886 
    887 ac_prev=
    888 ac_dashdash=
    889 for ac_option
    890 do
    891   # If the previous option needs an argument, assign it.
    892   if test -n "$ac_prev"; then
    893     eval $ac_prev=\$ac_option
    894     ac_prev=
    895     continue
    896   fi
    897 
    898   case $ac_option in
    899   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    900   *=)   ac_optarg= ;;
    901   *)    ac_optarg=yes ;;
    902   esac
    903 
    904   case $ac_dashdash$ac_option in
    905   --)
    906     ac_dashdash=yes ;;
    907 
    908   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    909     ac_prev=bindir ;;
    910   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    911     bindir=$ac_optarg ;;
    912 
    913   -build | --build | --buil | --bui | --bu)
    914     ac_prev=build_alias ;;
    915   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    916     build_alias=$ac_optarg ;;
    917 
    918   -cache-file | --cache-file | --cache-fil | --cache-fi \
    919   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    920     ac_prev=cache_file ;;
    921   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    922   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    923     cache_file=$ac_optarg ;;
    924 
    925   --config-cache | -C)
    926     cache_file=config.cache ;;
    927 
    928   -datadir | --datadir | --datadi | --datad)
    929     ac_prev=datadir ;;
    930   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    931     datadir=$ac_optarg ;;
    932 
    933   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    934   | --dataroo | --dataro | --datar)
    935     ac_prev=datarootdir ;;
    936   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    937   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    938     datarootdir=$ac_optarg ;;
    939 
    940   -disable-* | --disable-*)
    941     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    942     # Reject names that are not valid shell variable names.
    943     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    944       as_fn_error $? "invalid feature name: '$ac_useropt'"
    945     ac_useropt_orig=$ac_useropt
    946     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    947     case $ac_user_opts in
    948       *"
    949 "enable_$ac_useropt"
    950 "*) ;;
    951       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    952 	 ac_unrecognized_sep=', ';;
    953     esac
    954     eval enable_$ac_useropt=no ;;
    955 
    956   -docdir | --docdir | --docdi | --doc | --do)
    957     ac_prev=docdir ;;
    958   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    959     docdir=$ac_optarg ;;
    960 
    961   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    962     ac_prev=dvidir ;;
    963   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    964     dvidir=$ac_optarg ;;
    965 
    966   -enable-* | --enable-*)
    967     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    968     # Reject names that are not valid shell variable names.
    969     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    970       as_fn_error $? "invalid feature name: '$ac_useropt'"
    971     ac_useropt_orig=$ac_useropt
    972     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    973     case $ac_user_opts in
    974       *"
    975 "enable_$ac_useropt"
    976 "*) ;;
    977       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    978 	 ac_unrecognized_sep=', ';;
    979     esac
    980     eval enable_$ac_useropt=\$ac_optarg ;;
    981 
    982   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    983   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    984   | --exec | --exe | --ex)
    985     ac_prev=exec_prefix ;;
    986   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    987   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    988   | --exec=* | --exe=* | --ex=*)
    989     exec_prefix=$ac_optarg ;;
    990 
    991   -gas | --gas | --ga | --g)
    992     # Obsolete; use --with-gas.
    993     with_gas=yes ;;
    994 
    995   -help | --help | --hel | --he | -h)
    996     ac_init_help=long ;;
    997   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    998     ac_init_help=recursive ;;
    999   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1000     ac_init_help=short ;;
   1001 
   1002   -host | --host | --hos | --ho)
   1003     ac_prev=host_alias ;;
   1004   -host=* | --host=* | --hos=* | --ho=*)
   1005     host_alias=$ac_optarg ;;
   1006 
   1007   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1008     ac_prev=htmldir ;;
   1009   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1010   | --ht=*)
   1011     htmldir=$ac_optarg ;;
   1012 
   1013   -includedir | --includedir | --includedi | --included | --include \
   1014   | --includ | --inclu | --incl | --inc)
   1015     ac_prev=includedir ;;
   1016   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1017   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1018     includedir=$ac_optarg ;;
   1019 
   1020   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1021     ac_prev=infodir ;;
   1022   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1023     infodir=$ac_optarg ;;
   1024 
   1025   -libdir | --libdir | --libdi | --libd)
   1026     ac_prev=libdir ;;
   1027   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1028     libdir=$ac_optarg ;;
   1029 
   1030   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1031   | --libexe | --libex | --libe)
   1032     ac_prev=libexecdir ;;
   1033   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1034   | --libexe=* | --libex=* | --libe=*)
   1035     libexecdir=$ac_optarg ;;
   1036 
   1037   -localedir | --localedir | --localedi | --localed | --locale)
   1038     ac_prev=localedir ;;
   1039   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1040     localedir=$ac_optarg ;;
   1041 
   1042   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1043   | --localstate | --localstat | --localsta | --localst | --locals)
   1044     ac_prev=localstatedir ;;
   1045   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1046   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1047     localstatedir=$ac_optarg ;;
   1048 
   1049   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1050     ac_prev=mandir ;;
   1051   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1052     mandir=$ac_optarg ;;
   1053 
   1054   -nfp | --nfp | --nf)
   1055     # Obsolete; use --without-fp.
   1056     with_fp=no ;;
   1057 
   1058   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1059   | --no-cr | --no-c | -n)
   1060     no_create=yes ;;
   1061 
   1062   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1063   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1064     no_recursion=yes ;;
   1065 
   1066   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1067   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1068   | --oldin | --oldi | --old | --ol | --o)
   1069     ac_prev=oldincludedir ;;
   1070   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1071   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1072   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1073     oldincludedir=$ac_optarg ;;
   1074 
   1075   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1076     ac_prev=prefix ;;
   1077   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1078     prefix=$ac_optarg ;;
   1079 
   1080   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1081   | --program-pre | --program-pr | --program-p)
   1082     ac_prev=program_prefix ;;
   1083   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1084   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1085     program_prefix=$ac_optarg ;;
   1086 
   1087   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1088   | --program-suf | --program-su | --program-s)
   1089     ac_prev=program_suffix ;;
   1090   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1091   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1092     program_suffix=$ac_optarg ;;
   1093 
   1094   -program-transform-name | --program-transform-name \
   1095   | --program-transform-nam | --program-transform-na \
   1096   | --program-transform-n | --program-transform- \
   1097   | --program-transform | --program-transfor \
   1098   | --program-transfo | --program-transf \
   1099   | --program-trans | --program-tran \
   1100   | --progr-tra | --program-tr | --program-t)
   1101     ac_prev=program_transform_name ;;
   1102   -program-transform-name=* | --program-transform-name=* \
   1103   | --program-transform-nam=* | --program-transform-na=* \
   1104   | --program-transform-n=* | --program-transform-=* \
   1105   | --program-transform=* | --program-transfor=* \
   1106   | --program-transfo=* | --program-transf=* \
   1107   | --program-trans=* | --program-tran=* \
   1108   | --progr-tra=* | --program-tr=* | --program-t=*)
   1109     program_transform_name=$ac_optarg ;;
   1110 
   1111   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1112     ac_prev=pdfdir ;;
   1113   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1114     pdfdir=$ac_optarg ;;
   1115 
   1116   -psdir | --psdir | --psdi | --psd | --ps)
   1117     ac_prev=psdir ;;
   1118   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1119     psdir=$ac_optarg ;;
   1120 
   1121   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1122   | -silent | --silent | --silen | --sile | --sil)
   1123     silent=yes ;;
   1124 
   1125   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1126   | --runstate | --runstat | --runsta | --runst | --runs \
   1127   | --run | --ru | --r)
   1128     ac_prev=runstatedir ;;
   1129   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1130   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1131   | --run=* | --ru=* | --r=*)
   1132     runstatedir=$ac_optarg ;;
   1133 
   1134   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1135     ac_prev=sbindir ;;
   1136   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1137   | --sbi=* | --sb=*)
   1138     sbindir=$ac_optarg ;;
   1139 
   1140   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1141   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1142   | --sharedst | --shareds | --shared | --share | --shar \
   1143   | --sha | --sh)
   1144     ac_prev=sharedstatedir ;;
   1145   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1146   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1147   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1148   | --sha=* | --sh=*)
   1149     sharedstatedir=$ac_optarg ;;
   1150 
   1151   -site | --site | --sit)
   1152     ac_prev=site ;;
   1153   -site=* | --site=* | --sit=*)
   1154     site=$ac_optarg ;;
   1155 
   1156   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1157     ac_prev=srcdir ;;
   1158   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1159     srcdir=$ac_optarg ;;
   1160 
   1161   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1162   | --syscon | --sysco | --sysc | --sys | --sy)
   1163     ac_prev=sysconfdir ;;
   1164   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1165   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1166     sysconfdir=$ac_optarg ;;
   1167 
   1168   -target | --target | --targe | --targ | --tar | --ta | --t)
   1169     ac_prev=target_alias ;;
   1170   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1171     target_alias=$ac_optarg ;;
   1172 
   1173   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1174     verbose=yes ;;
   1175 
   1176   -version | --version | --versio | --versi | --vers | -V)
   1177     ac_init_version=: ;;
   1178 
   1179   -with-* | --with-*)
   1180     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1181     # Reject names that are not valid shell variable names.
   1182     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1183       as_fn_error $? "invalid package name: '$ac_useropt'"
   1184     ac_useropt_orig=$ac_useropt
   1185     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1186     case $ac_user_opts in
   1187       *"
   1188 "with_$ac_useropt"
   1189 "*) ;;
   1190       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1191 	 ac_unrecognized_sep=', ';;
   1192     esac
   1193     eval with_$ac_useropt=\$ac_optarg ;;
   1194 
   1195   -without-* | --without-*)
   1196     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1197     # Reject names that are not valid shell variable names.
   1198     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1199       as_fn_error $? "invalid package name: '$ac_useropt'"
   1200     ac_useropt_orig=$ac_useropt
   1201     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1202     case $ac_user_opts in
   1203       *"
   1204 "with_$ac_useropt"
   1205 "*) ;;
   1206       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1207 	 ac_unrecognized_sep=', ';;
   1208     esac
   1209     eval with_$ac_useropt=no ;;
   1210 
   1211   --x)
   1212     # Obsolete; use --with-x.
   1213     with_x=yes ;;
   1214 
   1215   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1216   | --x-incl | --x-inc | --x-in | --x-i)
   1217     ac_prev=x_includes ;;
   1218   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1219   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1220     x_includes=$ac_optarg ;;
   1221 
   1222   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1223   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1224     ac_prev=x_libraries ;;
   1225   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1226   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1227     x_libraries=$ac_optarg ;;
   1228 
   1229   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1230 Try '$0 --help' for more information"
   1231     ;;
   1232 
   1233   *=*)
   1234     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1235     # Reject names that are not valid shell variable names.
   1236     case $ac_envvar in #(
   1237       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1238       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1239     esac
   1240     eval $ac_envvar=\$ac_optarg
   1241     export $ac_envvar ;;
   1242 
   1243   *)
   1244     # FIXME: should be removed in autoconf 3.0.
   1245     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1246     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1247       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1248     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1249     ;;
   1250 
   1251   esac
   1252 done
   1253 
   1254 if test -n "$ac_prev"; then
   1255   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1256   as_fn_error $? "missing argument to $ac_option"
   1257 fi
   1258 
   1259 if test -n "$ac_unrecognized_opts"; then
   1260   case $enable_option_checking in
   1261     no) ;;
   1262     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1263     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1264   esac
   1265 fi
   1266 
   1267 # Check all directory arguments for consistency.
   1268 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1269 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1270 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1271 		libdir localedir mandir runstatedir
   1272 do
   1273   eval ac_val=\$$ac_var
   1274   # Remove trailing slashes.
   1275   case $ac_val in
   1276     */ )
   1277       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1278       eval $ac_var=\$ac_val;;
   1279   esac
   1280   # Be sure to have absolute directory names.
   1281   case $ac_val in
   1282     [\\/$]* | ?:[\\/]* )  continue;;
   1283     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1284   esac
   1285   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1286 done
   1287 
   1288 # There might be people who depend on the old broken behavior: '$host'
   1289 # used to hold the argument of --host etc.
   1290 # FIXME: To remove some day.
   1291 build=$build_alias
   1292 host=$host_alias
   1293 target=$target_alias
   1294 
   1295 # FIXME: To remove some day.
   1296 if test "x$host_alias" != x; then
   1297   if test "x$build_alias" = x; then
   1298     cross_compiling=maybe
   1299   elif test "x$build_alias" != "x$host_alias"; then
   1300     cross_compiling=yes
   1301   fi
   1302 fi
   1303 
   1304 ac_tool_prefix=
   1305 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1306 
   1307 test "$silent" = yes && exec 6>/dev/null
   1308 
   1309 
   1310 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1311 ac_ls_di=`ls -di .` &&
   1312 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1313   as_fn_error $? "working directory cannot be determined"
   1314 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1315   as_fn_error $? "pwd does not report name of working directory"
   1316 
   1317 
   1318 # Find the source files, if location was not specified.
   1319 if test -z "$srcdir"; then
   1320   ac_srcdir_defaulted=yes
   1321   # Try the directory containing this script, then the parent directory.
   1322   ac_confdir=`$as_dirname -- "$as_myself" ||
   1323 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1324 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1325 	 X"$as_myself" : 'X\(//\)$' \| \
   1326 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1327 printf "%s\n" X"$as_myself" |
   1328     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1329 	    s//\1/
   1330 	    q
   1331 	  }
   1332 	  /^X\(\/\/\)[^/].*/{
   1333 	    s//\1/
   1334 	    q
   1335 	  }
   1336 	  /^X\(\/\/\)$/{
   1337 	    s//\1/
   1338 	    q
   1339 	  }
   1340 	  /^X\(\/\).*/{
   1341 	    s//\1/
   1342 	    q
   1343 	  }
   1344 	  s/.*/./; q'`
   1345   srcdir=$ac_confdir
   1346   if test ! -r "$srcdir/$ac_unique_file"; then
   1347     srcdir=..
   1348   fi
   1349 else
   1350   ac_srcdir_defaulted=no
   1351 fi
   1352 if test ! -r "$srcdir/$ac_unique_file"; then
   1353   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1354   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1355 fi
   1356 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1357 ac_abs_confdir=`(
   1358 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1359 	pwd)`
   1360 # When building in place, set srcdir=.
   1361 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1362   srcdir=.
   1363 fi
   1364 # Remove unnecessary trailing slashes from srcdir.
   1365 # Double slashes in file names in object file debugging info
   1366 # mess up M-x gdb in Emacs.
   1367 case $srcdir in
   1368 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1369 esac
   1370 for ac_var in $ac_precious_vars; do
   1371   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1372   eval ac_env_${ac_var}_value=\$${ac_var}
   1373   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1374   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1375 done
   1376 
   1377 #
   1378 # Report the --help message.
   1379 #
   1380 if test "$ac_init_help" = "long"; then
   1381   # Omit some internal or obsolete options to make the list less imposing.
   1382   # This message is too long to be a string in the A/UX 3.1 sh.
   1383   cat <<_ACEOF
   1384 'configure' configures libXdamage 1.1.7 to adapt to many kinds of systems.
   1385 
   1386 Usage: $0 [OPTION]... [VAR=VALUE]...
   1387 
   1388 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1389 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1390 
   1391 Defaults for the options are specified in brackets.
   1392 
   1393 Configuration:
   1394   -h, --help              display this help and exit
   1395       --help=short        display options specific to this package
   1396       --help=recursive    display the short help of all the included packages
   1397   -V, --version           display version information and exit
   1398   -q, --quiet, --silent   do not print 'checking ...' messages
   1399       --cache-file=FILE   cache test results in FILE [disabled]
   1400   -C, --config-cache      alias for '--cache-file=config.cache'
   1401   -n, --no-create         do not create output files
   1402       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1403 
   1404 Installation directories:
   1405   --prefix=PREFIX         install architecture-independent files in PREFIX
   1406                           [$ac_default_prefix]
   1407   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1408                           [PREFIX]
   1409 
   1410 By default, 'make install' will install all the files in
   1411 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1412 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1413 for instance '--prefix=\$HOME'.
   1414 
   1415 For better control, use the options below.
   1416 
   1417 Fine tuning of the installation directories:
   1418   --bindir=DIR            user executables [EPREFIX/bin]
   1419   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1420   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1421   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1422   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1423   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1424   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1425   --libdir=DIR            object code libraries [EPREFIX/lib]
   1426   --includedir=DIR        C header files [PREFIX/include]
   1427   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1428   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1429   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1430   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1431   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1432   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1433   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXdamage]
   1434   --htmldir=DIR           html documentation [DOCDIR]
   1435   --dvidir=DIR            dvi documentation [DOCDIR]
   1436   --pdfdir=DIR            pdf documentation [DOCDIR]
   1437   --psdir=DIR             ps documentation [DOCDIR]
   1438 _ACEOF
   1439 
   1440   cat <<\_ACEOF
   1441 
   1442 Program names:
   1443   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1444   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1445   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1446 
   1447 System types:
   1448   --build=BUILD     configure for building on BUILD [guessed]
   1449   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1450 _ACEOF
   1451 fi
   1452 
   1453 if test -n "$ac_init_help"; then
   1454   case $ac_init_help in
   1455      short | recursive ) echo "Configuration of libXdamage 1.1.7:";;
   1456    esac
   1457   cat <<\_ACEOF
   1458 
   1459 Optional Features:
   1460   --disable-option-checking  ignore unrecognized --enable/--with options
   1461   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1462   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1463   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1464   --disable-silent-rules  verbose build output (undo: "make V=0")
   1465   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1466   --enable-static[=PKGS]  build static libraries [default=yes]
   1467   --enable-pic[=PKGS]     try to use only PIC/non-PIC objects [default=use
   1468                           both]
   1469   --enable-fast-install[=PKGS]
   1470                           optimize for fast installation [default=yes]
   1471   --enable-aix-soname=aix|svr4|both
   1472                           shared library versioning (aka "SONAME") variant to
   1473                           provide on AIX, [default=aix].
   1474   --enable-dependency-tracking
   1475                           do not reject slow dependency extractors
   1476   --disable-dependency-tracking
   1477                           speeds up one-time build
   1478   --disable-libtool-lock  avoid locking (might break parallel builds)
   1479   --disable-selective-werror
   1480                           Turn off selective compiler errors. (default:
   1481                           enabled)
   1482   --enable-strict-compilation
   1483                           Enable all warnings from compiler and make them
   1484                           errors (default: disabled)
   1485 
   1486 Optional Packages:
   1487   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1488   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1489   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1490   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1491                           compiler's sysroot if not specified).
   1492 
   1493 Some influential environment variables:
   1494   CC          C compiler command
   1495   CFLAGS      C compiler flags
   1496   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1497               nonstandard directory <lib dir>
   1498   LIBS        libraries to pass to the linker, e.g. -l<library>
   1499   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1500               you have headers in a nonstandard directory <include dir>
   1501   LT_SYS_LIBRARY_PATH
   1502               User-defined run-time library search path.
   1503   PKG_CONFIG  path to pkg-config utility
   1504   PKG_CONFIG_PATH
   1505               directories to add to pkg-config's search path
   1506   PKG_CONFIG_LIBDIR
   1507               path overriding pkg-config's built-in search path
   1508   XDAMAGE_CFLAGS
   1509               C compiler flags for XDAMAGE, overriding pkg-config
   1510   XDAMAGE_LIBS
   1511               linker flags for XDAMAGE, overriding pkg-config
   1512 
   1513 Use these variables to override the choices made by 'configure' or to help
   1514 it to find libraries and programs with nonstandard names/locations.
   1515 
   1516 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxdamage/-/issues>.
   1517 _ACEOF
   1518 ac_status=$?
   1519 fi
   1520 
   1521 if test "$ac_init_help" = "recursive"; then
   1522   # If there are subdirs, report their specific --help.
   1523   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1524     test -d "$ac_dir" ||
   1525       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1526       continue
   1527     ac_builddir=.
   1528 
   1529 case "$ac_dir" in
   1530 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1531 *)
   1532   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1533   # A ".." for each directory in $ac_dir_suffix.
   1534   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1535   case $ac_top_builddir_sub in
   1536   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1537   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1538   esac ;;
   1539 esac
   1540 ac_abs_top_builddir=$ac_pwd
   1541 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1542 # for backward compatibility:
   1543 ac_top_builddir=$ac_top_build_prefix
   1544 
   1545 case $srcdir in
   1546   .)  # We are building in place.
   1547     ac_srcdir=.
   1548     ac_top_srcdir=$ac_top_builddir_sub
   1549     ac_abs_top_srcdir=$ac_pwd ;;
   1550   [\\/]* | ?:[\\/]* )  # Absolute name.
   1551     ac_srcdir=$srcdir$ac_dir_suffix;
   1552     ac_top_srcdir=$srcdir
   1553     ac_abs_top_srcdir=$srcdir ;;
   1554   *) # Relative name.
   1555     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1556     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1557     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1558 esac
   1559 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1560 
   1561     cd "$ac_dir" || { ac_status=$?; continue; }
   1562     # Check for configure.gnu first; this name is used for a wrapper for
   1563     # Metaconfig's "Configure" on case-insensitive file systems.
   1564     if test -f "$ac_srcdir/configure.gnu"; then
   1565       echo &&
   1566       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1567     elif test -f "$ac_srcdir/configure"; then
   1568       echo &&
   1569       $SHELL "$ac_srcdir/configure" --help=recursive
   1570     else
   1571       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1572     fi || ac_status=$?
   1573     cd "$ac_pwd" || { ac_status=$?; break; }
   1574   done
   1575 fi
   1576 
   1577 test -n "$ac_init_help" && exit $ac_status
   1578 if $ac_init_version; then
   1579   cat <<\_ACEOF
   1580 libXdamage configure 1.1.7
   1581 generated by GNU Autoconf 2.72
   1582 
   1583 Copyright (C) 2023 Free Software Foundation, Inc.
   1584 This configure script is free software; the Free Software Foundation
   1585 gives unlimited permission to copy, distribute and modify it.
   1586 _ACEOF
   1587   exit
   1588 fi
   1589 
   1590 ## ------------------------ ##
   1591 ## Autoconf initialization. ##
   1592 ## ------------------------ ##
   1593 
   1594 # ac_fn_c_try_compile LINENO
   1595 # --------------------------
   1596 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1597 ac_fn_c_try_compile ()
   1598 {
   1599   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1600   rm -f conftest.$ac_objext conftest.beam
   1601   if { { ac_try="$ac_compile"
   1602 case "(($ac_try" in
   1603   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1604   *) ac_try_echo=$ac_try;;
   1605 esac
   1606 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1607 printf "%s\n" "$ac_try_echo"; } >&5
   1608   (eval "$ac_compile") 2>conftest.err
   1609   ac_status=$?
   1610   if test -s conftest.err; then
   1611     grep -v '^ *+' conftest.err >conftest.er1
   1612     cat conftest.er1 >&5
   1613     mv -f conftest.er1 conftest.err
   1614   fi
   1615   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1616   test $ac_status = 0; } && {
   1617 	 test -z "$ac_c_werror_flag" ||
   1618 	 test ! -s conftest.err
   1619        } && test -s conftest.$ac_objext
   1620 then :
   1621   ac_retval=0
   1622 else case e in #(
   1623   e) printf "%s\n" "$as_me: failed program was:" >&5
   1624 sed 's/^/| /' conftest.$ac_ext >&5
   1625 
   1626 	ac_retval=1 ;;
   1627 esac
   1628 fi
   1629   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1630   as_fn_set_status $ac_retval
   1631 
   1632 } # ac_fn_c_try_compile
   1633 
   1634 # ac_fn_c_try_link LINENO
   1635 # -----------------------
   1636 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1637 ac_fn_c_try_link ()
   1638 {
   1639   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1640   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1641   if { { ac_try="$ac_link"
   1642 case "(($ac_try" in
   1643   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1644   *) ac_try_echo=$ac_try;;
   1645 esac
   1646 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1647 printf "%s\n" "$ac_try_echo"; } >&5
   1648   (eval "$ac_link") 2>conftest.err
   1649   ac_status=$?
   1650   if test -s conftest.err; then
   1651     grep -v '^ *+' conftest.err >conftest.er1
   1652     cat conftest.er1 >&5
   1653     mv -f conftest.er1 conftest.err
   1654   fi
   1655   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1656   test $ac_status = 0; } && {
   1657 	 test -z "$ac_c_werror_flag" ||
   1658 	 test ! -s conftest.err
   1659        } && test -s conftest$ac_exeext && {
   1660 	 test "$cross_compiling" = yes ||
   1661 	 test -x conftest$ac_exeext
   1662        }
   1663 then :
   1664   ac_retval=0
   1665 else case e in #(
   1666   e) printf "%s\n" "$as_me: failed program was:" >&5
   1667 sed 's/^/| /' conftest.$ac_ext >&5
   1668 
   1669 	ac_retval=1 ;;
   1670 esac
   1671 fi
   1672   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1673   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1674   # interfere with the next link command; also delete a directory that is
   1675   # left behind by Apple's compiler.  We do this before executing the actions.
   1676   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1677   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1678   as_fn_set_status $ac_retval
   1679 
   1680 } # ac_fn_c_try_link
   1681 
   1682 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1683 # -------------------------------------------------------
   1684 # Tests whether HEADER exists and can be compiled using the include files in
   1685 # INCLUDES, setting the cache variable VAR accordingly.
   1686 ac_fn_c_check_header_compile ()
   1687 {
   1688   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1689   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1690 printf %s "checking for $2... " >&6; }
   1691 if eval test \${$3+y}
   1692 then :
   1693   printf %s "(cached) " >&6
   1694 else case e in #(
   1695   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1696 /* end confdefs.h.  */
   1697 $4
   1698 #include <$2>
   1699 _ACEOF
   1700 if ac_fn_c_try_compile "$LINENO"
   1701 then :
   1702   eval "$3=yes"
   1703 else case e in #(
   1704   e) eval "$3=no" ;;
   1705 esac
   1706 fi
   1707 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1708 esac
   1709 fi
   1710 eval ac_res=\$$3
   1711 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1712 printf "%s\n" "$ac_res" >&6; }
   1713   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1714 
   1715 } # ac_fn_c_check_header_compile
   1716 
   1717 # ac_fn_c_check_func LINENO FUNC VAR
   1718 # ----------------------------------
   1719 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1720 ac_fn_c_check_func ()
   1721 {
   1722   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1723   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1724 printf %s "checking for $2... " >&6; }
   1725 if eval test \${$3+y}
   1726 then :
   1727   printf %s "(cached) " >&6
   1728 else case e in #(
   1729   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1730 /* end confdefs.h.  */
   1731 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1732    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1733 #define $2 innocuous_$2
   1734 
   1735 /* System header to define __stub macros and hopefully few prototypes,
   1736    which can conflict with char $2 (void); below.  */
   1737 
   1738 #include <limits.h>
   1739 #undef $2
   1740 
   1741 /* Override any GCC internal prototype to avoid an error.
   1742    Use char because int might match the return type of a GCC
   1743    builtin and then its argument prototype would still apply.  */
   1744 #ifdef __cplusplus
   1745 extern "C"
   1746 #endif
   1747 char $2 (void);
   1748 /* The GNU C library defines this for functions which it implements
   1749     to always fail with ENOSYS.  Some functions are actually named
   1750     something starting with __ and the normal name is an alias.  */
   1751 #if defined __stub_$2 || defined __stub___$2
   1752 choke me
   1753 #endif
   1754 
   1755 int
   1756 main (void)
   1757 {
   1758 return $2 ();
   1759   ;
   1760   return 0;
   1761 }
   1762 _ACEOF
   1763 if ac_fn_c_try_link "$LINENO"
   1764 then :
   1765   eval "$3=yes"
   1766 else case e in #(
   1767   e) eval "$3=no" ;;
   1768 esac
   1769 fi
   1770 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1771     conftest$ac_exeext conftest.$ac_ext ;;
   1772 esac
   1773 fi
   1774 eval ac_res=\$$3
   1775 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1776 printf "%s\n" "$ac_res" >&6; }
   1777   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1778 
   1779 } # ac_fn_c_check_func
   1780 
   1781 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1782 # ------------------------------------------------------------------
   1783 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1784 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1785 ac_fn_check_decl ()
   1786 {
   1787   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1788   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1789   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1790 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1791 if eval test \${$3+y}
   1792 then :
   1793   printf %s "(cached) " >&6
   1794 else case e in #(
   1795   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1796   eval ac_save_FLAGS=\$$6
   1797   as_fn_append $6 " $5"
   1798   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1799 /* end confdefs.h.  */
   1800 $4
   1801 int
   1802 main (void)
   1803 {
   1804 #ifndef $as_decl_name
   1805 #ifdef __cplusplus
   1806   (void) $as_decl_use;
   1807 #else
   1808   (void) $as_decl_name;
   1809 #endif
   1810 #endif
   1811 
   1812   ;
   1813   return 0;
   1814 }
   1815 _ACEOF
   1816 if ac_fn_c_try_compile "$LINENO"
   1817 then :
   1818   eval "$3=yes"
   1819 else case e in #(
   1820   e) eval "$3=no" ;;
   1821 esac
   1822 fi
   1823 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1824   eval $6=\$ac_save_FLAGS
   1825  ;;
   1826 esac
   1827 fi
   1828 eval ac_res=\$$3
   1829 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1830 printf "%s\n" "$ac_res" >&6; }
   1831   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1832 
   1833 } # ac_fn_check_decl
   1834 ac_configure_args_raw=
   1835 for ac_arg
   1836 do
   1837   case $ac_arg in
   1838   *\'*)
   1839     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1840   esac
   1841   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1842 done
   1843 
   1844 case $ac_configure_args_raw in
   1845   *$as_nl*)
   1846     ac_safe_unquote= ;;
   1847   *)
   1848     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1849     ac_unsafe_a="$ac_unsafe_z#~"
   1850     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1851     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1852 esac
   1853 
   1854 cat >config.log <<_ACEOF
   1855 This file contains any messages produced by compilers while
   1856 running configure, to aid debugging if configure makes a mistake.
   1857 
   1858 It was created by libXdamage $as_me 1.1.7, which was
   1859 generated by GNU Autoconf 2.72.  Invocation command line was
   1860 
   1861   $ $0$ac_configure_args_raw
   1862 
   1863 _ACEOF
   1864 exec 5>>config.log
   1865 {
   1866 cat <<_ASUNAME
   1867 ## --------- ##
   1868 ## Platform. ##
   1869 ## --------- ##
   1870 
   1871 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1872 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1873 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1874 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1875 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1876 
   1877 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1878 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1879 
   1880 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1881 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1882 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1883 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1884 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1885 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1886 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1887 
   1888 _ASUNAME
   1889 
   1890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1891 for as_dir in $PATH
   1892 do
   1893   IFS=$as_save_IFS
   1894   case $as_dir in #(((
   1895     '') as_dir=./ ;;
   1896     */) ;;
   1897     *) as_dir=$as_dir/ ;;
   1898   esac
   1899     printf "%s\n" "PATH: $as_dir"
   1900   done
   1901 IFS=$as_save_IFS
   1902 
   1903 } >&5
   1904 
   1905 cat >&5 <<_ACEOF
   1906 
   1907 
   1908 ## ----------- ##
   1909 ## Core tests. ##
   1910 ## ----------- ##
   1911 
   1912 _ACEOF
   1913 
   1914 
   1915 # Keep a trace of the command line.
   1916 # Strip out --no-create and --no-recursion so they do not pile up.
   1917 # Strip out --silent because we don't want to record it for future runs.
   1918 # Also quote any args containing shell meta-characters.
   1919 # Make two passes to allow for proper duplicate-argument suppression.
   1920 ac_configure_args=
   1921 ac_configure_args0=
   1922 ac_configure_args1=
   1923 ac_must_keep_next=false
   1924 for ac_pass in 1 2
   1925 do
   1926   for ac_arg
   1927   do
   1928     case $ac_arg in
   1929     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1930     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1931     | -silent | --silent | --silen | --sile | --sil)
   1932       continue ;;
   1933     *\'*)
   1934       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1935     esac
   1936     case $ac_pass in
   1937     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1938     2)
   1939       as_fn_append ac_configure_args1 " '$ac_arg'"
   1940       if test $ac_must_keep_next = true; then
   1941 	ac_must_keep_next=false # Got value, back to normal.
   1942       else
   1943 	case $ac_arg in
   1944 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1945 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1946 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1947 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1948 	    case "$ac_configure_args0 " in
   1949 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1950 	    esac
   1951 	    ;;
   1952 	  -* ) ac_must_keep_next=true ;;
   1953 	esac
   1954       fi
   1955       as_fn_append ac_configure_args " '$ac_arg'"
   1956       ;;
   1957     esac
   1958   done
   1959 done
   1960 { ac_configure_args0=; unset ac_configure_args0;}
   1961 { ac_configure_args1=; unset ac_configure_args1;}
   1962 
   1963 # When interrupted or exit'd, cleanup temporary files, and complete
   1964 # config.log.  We remove comments because anyway the quotes in there
   1965 # would cause problems or look ugly.
   1966 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1967 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1968 trap 'exit_status=$?
   1969   # Sanitize IFS.
   1970   IFS=" ""	$as_nl"
   1971   # Save into config.log some information that might help in debugging.
   1972   {
   1973     echo
   1974 
   1975     printf "%s\n" "## ---------------- ##
   1976 ## Cache variables. ##
   1977 ## ---------------- ##"
   1978     echo
   1979     # The following way of writing the cache mishandles newlines in values,
   1980 (
   1981   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1982     eval ac_val=\$$ac_var
   1983     case $ac_val in #(
   1984     *${as_nl}*)
   1985       case $ac_var in #(
   1986       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1987 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1988       esac
   1989       case $ac_var in #(
   1990       _ | IFS | as_nl) ;; #(
   1991       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1992       *) { eval $ac_var=; unset $ac_var;} ;;
   1993       esac ;;
   1994     esac
   1995   done
   1996   (set) 2>&1 |
   1997     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1998     *${as_nl}ac_space=\ *)
   1999       sed -n \
   2000 	"s/'\''/'\''\\\\'\'''\''/g;
   2001 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2002       ;; #(
   2003     *)
   2004       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2005       ;;
   2006     esac |
   2007     sort
   2008 )
   2009     echo
   2010 
   2011     printf "%s\n" "## ----------------- ##
   2012 ## Output variables. ##
   2013 ## ----------------- ##"
   2014     echo
   2015     for ac_var in $ac_subst_vars
   2016     do
   2017       eval ac_val=\$$ac_var
   2018       case $ac_val in
   2019       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2020       esac
   2021       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2022     done | sort
   2023     echo
   2024 
   2025     if test -n "$ac_subst_files"; then
   2026       printf "%s\n" "## ------------------- ##
   2027 ## File substitutions. ##
   2028 ## ------------------- ##"
   2029       echo
   2030       for ac_var in $ac_subst_files
   2031       do
   2032 	eval ac_val=\$$ac_var
   2033 	case $ac_val in
   2034 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2035 	esac
   2036 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2037       done | sort
   2038       echo
   2039     fi
   2040 
   2041     if test -s confdefs.h; then
   2042       printf "%s\n" "## ----------- ##
   2043 ## confdefs.h. ##
   2044 ## ----------- ##"
   2045       echo
   2046       cat confdefs.h
   2047       echo
   2048     fi
   2049     test "$ac_signal" != 0 &&
   2050       printf "%s\n" "$as_me: caught signal $ac_signal"
   2051     printf "%s\n" "$as_me: exit $exit_status"
   2052   } >&5
   2053   rm -f core *.core core.conftest.* &&
   2054     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2055     exit $exit_status
   2056 ' 0
   2057 for ac_signal in 1 2 13 15; do
   2058   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2059 done
   2060 ac_signal=0
   2061 
   2062 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2063 rm -f -r conftest* confdefs.h
   2064 
   2065 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2066 
   2067 # Predefined preprocessor variables.
   2068 
   2069 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2070 
   2071 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2072 
   2073 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2074 
   2075 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2076 
   2077 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2078 
   2079 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2080 
   2081 
   2082 # Let the site file select an alternate cache file if it wants to.
   2083 # Prefer an explicitly selected file to automatically selected ones.
   2084 if test -n "$CONFIG_SITE"; then
   2085   ac_site_files="$CONFIG_SITE"
   2086 elif test "x$prefix" != xNONE; then
   2087   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2088 else
   2089   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2090 fi
   2091 
   2092 for ac_site_file in $ac_site_files
   2093 do
   2094   case $ac_site_file in #(
   2095   */*) :
   2096      ;; #(
   2097   *) :
   2098     ac_site_file=./$ac_site_file ;;
   2099 esac
   2100   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2101     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2102 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2103     sed 's/^/| /' "$ac_site_file" >&5
   2104     . "$ac_site_file" \
   2105       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2106 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2107 as_fn_error $? "failed to load site script $ac_site_file
   2108 See 'config.log' for more details" "$LINENO" 5; }
   2109   fi
   2110 done
   2111 
   2112 if test -r "$cache_file"; then
   2113   # Some versions of bash will fail to source /dev/null (special files
   2114   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2115   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2116     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2117 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2118     case $cache_file in
   2119       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2120       *)                      . "./$cache_file";;
   2121     esac
   2122   fi
   2123 else
   2124   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2125 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2126   >$cache_file
   2127 fi
   2128 
   2129 # Test code for whether the C compiler supports C89 (global declarations)
   2130 ac_c_conftest_c89_globals='
   2131 /* Does the compiler advertise C89 conformance?
   2132    Do not test the value of __STDC__, because some compilers set it to 0
   2133    while being otherwise adequately conformant. */
   2134 #if !defined __STDC__
   2135 # error "Compiler does not advertise C89 conformance"
   2136 #endif
   2137 
   2138 #include <stddef.h>
   2139 #include <stdarg.h>
   2140 struct stat;
   2141 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2142 struct buf { int x; };
   2143 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2144 static char *e (char **p, int i)
   2145 {
   2146   return p[i];
   2147 }
   2148 static char *f (char * (*g) (char **, int), char **p, ...)
   2149 {
   2150   char *s;
   2151   va_list v;
   2152   va_start (v,p);
   2153   s = g (p, va_arg (v,int));
   2154   va_end (v);
   2155   return s;
   2156 }
   2157 
   2158 /* C89 style stringification. */
   2159 #define noexpand_stringify(a) #a
   2160 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2161 
   2162 /* C89 style token pasting.  Exercises some of the corner cases that
   2163    e.g. old MSVC gets wrong, but not very hard. */
   2164 #define noexpand_concat(a,b) a##b
   2165 #define expand_concat(a,b) noexpand_concat(a,b)
   2166 extern int vA;
   2167 extern int vbee;
   2168 #define aye A
   2169 #define bee B
   2170 int *pvA = &expand_concat(v,aye);
   2171 int *pvbee = &noexpand_concat(v,bee);
   2172 
   2173 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2174    function prototypes and stuff, but not \xHH hex character constants.
   2175    These do not provoke an error unfortunately, instead are silently treated
   2176    as an "x".  The following induces an error, until -std is added to get
   2177    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2178    array size at least.  It is necessary to write \x00 == 0 to get something
   2179    that is true only with -std.  */
   2180 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2181 
   2182 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2183    inside strings and character constants.  */
   2184 #define FOO(x) '\''x'\''
   2185 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2186 
   2187 int test (int i, double x);
   2188 struct s1 {int (*f) (int a);};
   2189 struct s2 {int (*f) (double a);};
   2190 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2191                int, int);'
   2192 
   2193 # Test code for whether the C compiler supports C89 (body of main).
   2194 ac_c_conftest_c89_main='
   2195 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2196 '
   2197 
   2198 # Test code for whether the C compiler supports C99 (global declarations)
   2199 ac_c_conftest_c99_globals='
   2200 /* Does the compiler advertise C99 conformance? */
   2201 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2202 # error "Compiler does not advertise C99 conformance"
   2203 #endif
   2204 
   2205 // See if C++-style comments work.
   2206 
   2207 #include <stdbool.h>
   2208 extern int puts (const char *);
   2209 extern int printf (const char *, ...);
   2210 extern int dprintf (int, const char *, ...);
   2211 extern void *malloc (size_t);
   2212 extern void free (void *);
   2213 
   2214 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2215 // dprintf is used instead of fprintf to avoid needing to declare
   2216 // FILE and stderr.
   2217 #define debug(...) dprintf (2, __VA_ARGS__)
   2218 #define showlist(...) puts (#__VA_ARGS__)
   2219 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2220 static void
   2221 test_varargs_macros (void)
   2222 {
   2223   int x = 1234;
   2224   int y = 5678;
   2225   debug ("Flag");
   2226   debug ("X = %d\n", x);
   2227   showlist (The first, second, and third items.);
   2228   report (x>y, "x is %d but y is %d", x, y);
   2229 }
   2230 
   2231 // Check long long types.
   2232 #define BIG64 18446744073709551615ull
   2233 #define BIG32 4294967295ul
   2234 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2235 #if !BIG_OK
   2236   #error "your preprocessor is broken"
   2237 #endif
   2238 #if BIG_OK
   2239 #else
   2240   #error "your preprocessor is broken"
   2241 #endif
   2242 static long long int bignum = -9223372036854775807LL;
   2243 static unsigned long long int ubignum = BIG64;
   2244 
   2245 struct incomplete_array
   2246 {
   2247   int datasize;
   2248   double data[];
   2249 };
   2250 
   2251 struct named_init {
   2252   int number;
   2253   const wchar_t *name;
   2254   double average;
   2255 };
   2256 
   2257 typedef const char *ccp;
   2258 
   2259 static inline int
   2260 test_restrict (ccp restrict text)
   2261 {
   2262   // Iterate through items via the restricted pointer.
   2263   // Also check for declarations in for loops.
   2264   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2265     continue;
   2266   return 0;
   2267 }
   2268 
   2269 // Check varargs and va_copy.
   2270 static bool
   2271 test_varargs (const char *format, ...)
   2272 {
   2273   va_list args;
   2274   va_start (args, format);
   2275   va_list args_copy;
   2276   va_copy (args_copy, args);
   2277 
   2278   const char *str = "";
   2279   int number = 0;
   2280   float fnumber = 0;
   2281 
   2282   while (*format)
   2283     {
   2284       switch (*format++)
   2285 	{
   2286 	case '\''s'\'': // string
   2287 	  str = va_arg (args_copy, const char *);
   2288 	  break;
   2289 	case '\''d'\'': // int
   2290 	  number = va_arg (args_copy, int);
   2291 	  break;
   2292 	case '\''f'\'': // float
   2293 	  fnumber = va_arg (args_copy, double);
   2294 	  break;
   2295 	default:
   2296 	  break;
   2297 	}
   2298     }
   2299   va_end (args_copy);
   2300   va_end (args);
   2301 
   2302   return *str && number && fnumber;
   2303 }
   2304 '
   2305 
   2306 # Test code for whether the C compiler supports C99 (body of main).
   2307 ac_c_conftest_c99_main='
   2308   // Check bool.
   2309   _Bool success = false;
   2310   success |= (argc != 0);
   2311 
   2312   // Check restrict.
   2313   if (test_restrict ("String literal") == 0)
   2314     success = true;
   2315   char *restrict newvar = "Another string";
   2316 
   2317   // Check varargs.
   2318   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2319   test_varargs_macros ();
   2320 
   2321   // Check flexible array members.
   2322   struct incomplete_array *ia =
   2323     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2324   ia->datasize = 10;
   2325   for (int i = 0; i < ia->datasize; ++i)
   2326     ia->data[i] = i * 1.234;
   2327   // Work around memory leak warnings.
   2328   free (ia);
   2329 
   2330   // Check named initializers.
   2331   struct named_init ni = {
   2332     .number = 34,
   2333     .name = L"Test wide string",
   2334     .average = 543.34343,
   2335   };
   2336 
   2337   ni.number = 58;
   2338 
   2339   int dynamic_array[ni.number];
   2340   dynamic_array[0] = argv[0][0];
   2341   dynamic_array[ni.number - 1] = 543;
   2342 
   2343   // work around unused variable warnings
   2344   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2345 	 || dynamic_array[ni.number - 1] != 543);
   2346 '
   2347 
   2348 # Test code for whether the C compiler supports C11 (global declarations)
   2349 ac_c_conftest_c11_globals='
   2350 /* Does the compiler advertise C11 conformance? */
   2351 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2352 # error "Compiler does not advertise C11 conformance"
   2353 #endif
   2354 
   2355 // Check _Alignas.
   2356 char _Alignas (double) aligned_as_double;
   2357 char _Alignas (0) no_special_alignment;
   2358 extern char aligned_as_int;
   2359 char _Alignas (0) _Alignas (int) aligned_as_int;
   2360 
   2361 // Check _Alignof.
   2362 enum
   2363 {
   2364   int_alignment = _Alignof (int),
   2365   int_array_alignment = _Alignof (int[100]),
   2366   char_alignment = _Alignof (char)
   2367 };
   2368 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2369 
   2370 // Check _Noreturn.
   2371 int _Noreturn does_not_return (void) { for (;;) continue; }
   2372 
   2373 // Check _Static_assert.
   2374 struct test_static_assert
   2375 {
   2376   int x;
   2377   _Static_assert (sizeof (int) <= sizeof (long int),
   2378                   "_Static_assert does not work in struct");
   2379   long int y;
   2380 };
   2381 
   2382 // Check UTF-8 literals.
   2383 #define u8 syntax error!
   2384 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2385 
   2386 // Check duplicate typedefs.
   2387 typedef long *long_ptr;
   2388 typedef long int *long_ptr;
   2389 typedef long_ptr long_ptr;
   2390 
   2391 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2392 struct anonymous
   2393 {
   2394   union {
   2395     struct { int i; int j; };
   2396     struct { int k; long int l; } w;
   2397   };
   2398   int m;
   2399 } v1;
   2400 '
   2401 
   2402 # Test code for whether the C compiler supports C11 (body of main).
   2403 ac_c_conftest_c11_main='
   2404   _Static_assert ((offsetof (struct anonymous, i)
   2405 		   == offsetof (struct anonymous, w.k)),
   2406 		  "Anonymous union alignment botch");
   2407   v1.i = 2;
   2408   v1.w.k = 5;
   2409   ok |= v1.i != 5;
   2410 '
   2411 
   2412 # Test code for whether the C compiler supports C11 (complete).
   2413 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2414 ${ac_c_conftest_c99_globals}
   2415 ${ac_c_conftest_c11_globals}
   2416 
   2417 int
   2418 main (int argc, char **argv)
   2419 {
   2420   int ok = 0;
   2421   ${ac_c_conftest_c89_main}
   2422   ${ac_c_conftest_c99_main}
   2423   ${ac_c_conftest_c11_main}
   2424   return ok;
   2425 }
   2426 "
   2427 
   2428 # Test code for whether the C compiler supports C99 (complete).
   2429 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2430 ${ac_c_conftest_c99_globals}
   2431 
   2432 int
   2433 main (int argc, char **argv)
   2434 {
   2435   int ok = 0;
   2436   ${ac_c_conftest_c89_main}
   2437   ${ac_c_conftest_c99_main}
   2438   return ok;
   2439 }
   2440 "
   2441 
   2442 # Test code for whether the C compiler supports C89 (complete).
   2443 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2444 
   2445 int
   2446 main (int argc, char **argv)
   2447 {
   2448   int ok = 0;
   2449   ${ac_c_conftest_c89_main}
   2450   return ok;
   2451 }
   2452 "
   2453 
   2454 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2455 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2456 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2457 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2458 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2459 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2460 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2461 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2462 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2463 
   2464 # Auxiliary files required by this configure script.
   2465 ac_aux_files="compile config.guess config.sub ltmain.sh missing install-sh"
   2466 
   2467 # Locations in which to look for auxiliary files.
   2468 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2469 
   2470 # Search for a directory containing all of the required auxiliary files,
   2471 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2472 # If we don't find one directory that contains all the files we need,
   2473 # we report the set of missing files from the *first* directory in
   2474 # $ac_aux_dir_candidates and give up.
   2475 ac_missing_aux_files=""
   2476 ac_first_candidate=:
   2477 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2479 as_found=false
   2480 for as_dir in $ac_aux_dir_candidates
   2481 do
   2482   IFS=$as_save_IFS
   2483   case $as_dir in #(((
   2484     '') as_dir=./ ;;
   2485     */) ;;
   2486     *) as_dir=$as_dir/ ;;
   2487   esac
   2488   as_found=:
   2489 
   2490   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2491   ac_aux_dir_found=yes
   2492   ac_install_sh=
   2493   for ac_aux in $ac_aux_files
   2494   do
   2495     # As a special case, if "install-sh" is required, that requirement
   2496     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2497     # and $ac_install_sh is set appropriately for whichever one is found.
   2498     if test x"$ac_aux" = x"install-sh"
   2499     then
   2500       if test -f "${as_dir}install-sh"; then
   2501         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2502         ac_install_sh="${as_dir}install-sh -c"
   2503       elif test -f "${as_dir}install.sh"; then
   2504         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2505         ac_install_sh="${as_dir}install.sh -c"
   2506       elif test -f "${as_dir}shtool"; then
   2507         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2508         ac_install_sh="${as_dir}shtool install -c"
   2509       else
   2510         ac_aux_dir_found=no
   2511         if $ac_first_candidate; then
   2512           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2513         else
   2514           break
   2515         fi
   2516       fi
   2517     else
   2518       if test -f "${as_dir}${ac_aux}"; then
   2519         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2520       else
   2521         ac_aux_dir_found=no
   2522         if $ac_first_candidate; then
   2523           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2524         else
   2525           break
   2526         fi
   2527       fi
   2528     fi
   2529   done
   2530   if test "$ac_aux_dir_found" = yes; then
   2531     ac_aux_dir="$as_dir"
   2532     break
   2533   fi
   2534   ac_first_candidate=false
   2535 
   2536   as_found=false
   2537 done
   2538 IFS=$as_save_IFS
   2539 if $as_found
   2540 then :
   2541 
   2542 else case e in #(
   2543   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2544 esac
   2545 fi
   2546 
   2547 
   2548 # These three variables are undocumented and unsupported,
   2549 # and are intended to be withdrawn in a future Autoconf release.
   2550 # They can cause serious problems if a builder's source tree is in a directory
   2551 # whose full name contains unusual characters.
   2552 if test -f "${ac_aux_dir}config.guess"; then
   2553   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2554 fi
   2555 if test -f "${ac_aux_dir}config.sub"; then
   2556   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2557 fi
   2558 if test -f "$ac_aux_dir/configure"; then
   2559   ac_configure="$SHELL ${ac_aux_dir}configure"
   2560 fi
   2561 
   2562 # Check that the precious variables saved in the cache have kept the same
   2563 # value.
   2564 ac_cache_corrupted=false
   2565 for ac_var in $ac_precious_vars; do
   2566   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2567   eval ac_new_set=\$ac_env_${ac_var}_set
   2568   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2569   eval ac_new_val=\$ac_env_${ac_var}_value
   2570   case $ac_old_set,$ac_new_set in
   2571     set,)
   2572       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2573 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2574       ac_cache_corrupted=: ;;
   2575     ,set)
   2576       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2577 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2578       ac_cache_corrupted=: ;;
   2579     ,);;
   2580     *)
   2581       if test "x$ac_old_val" != "x$ac_new_val"; then
   2582 	# differences in whitespace do not lead to failure.
   2583 	ac_old_val_w=`echo x $ac_old_val`
   2584 	ac_new_val_w=`echo x $ac_new_val`
   2585 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2586 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2587 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2588 	  ac_cache_corrupted=:
   2589 	else
   2590 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2591 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2592 	  eval $ac_var=\$ac_old_val
   2593 	fi
   2594 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2595 printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
   2596 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2597 printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
   2598       fi;;
   2599   esac
   2600   # Pass precious variables to config.status.
   2601   if test "$ac_new_set" = set; then
   2602     case $ac_new_val in
   2603     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2604     *) ac_arg=$ac_var=$ac_new_val ;;
   2605     esac
   2606     case " $ac_configure_args " in
   2607       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2608       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2609     esac
   2610   fi
   2611 done
   2612 if $ac_cache_corrupted; then
   2613   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2614 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2615   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2616 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2617   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2618 	    and start over" "$LINENO" 5
   2619 fi
   2620 ## -------------------- ##
   2621 ## Main body of script. ##
   2622 ## -------------------- ##
   2623 
   2624 ac_ext=c
   2625 ac_cpp='$CPP $CPPFLAGS'
   2626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2629 
   2630 
   2631 
   2632 ac_config_headers="$ac_config_headers config.h"
   2633 
   2634 
   2635 
   2636 # Initialize Automake
   2637 am__api_version='1.18'
   2638 
   2639 
   2640 
   2641   # Find a good install program.  We prefer a C program (faster),
   2642 # so one script is as good as another.  But avoid the broken or
   2643 # incompatible versions:
   2644 # SysV /etc/install, /usr/sbin/install
   2645 # SunOS /usr/etc/install
   2646 # IRIX /sbin/install
   2647 # AIX /bin/install
   2648 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2649 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2650 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2651 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2652 # OS/2's system install, which has a completely different semantic
   2653 # ./install, which can be erroneously created by make from ./install.sh.
   2654 # Reject install programs that cannot install multiple files.
   2655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2656 printf %s "checking for a BSD-compatible install... " >&6; }
   2657 if test -z "$INSTALL"; then
   2658 if test ${ac_cv_path_install+y}
   2659 then :
   2660   printf %s "(cached) " >&6
   2661 else case e in #(
   2662   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2663 for as_dir in $PATH
   2664 do
   2665   IFS=$as_save_IFS
   2666   case $as_dir in #(((
   2667     '') as_dir=./ ;;
   2668     */) ;;
   2669     *) as_dir=$as_dir/ ;;
   2670   esac
   2671     # Account for fact that we put trailing slashes in our PATH walk.
   2672 case $as_dir in #((
   2673   ./ | /[cC]/* | \
   2674   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2675   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2676   /usr/ucb/* ) ;;
   2677   *)
   2678     # OSF1 and SCO ODT 3.0 have their own names for install.
   2679     # Don't use installbsd from OSF since it installs stuff as root
   2680     # by default.
   2681     for ac_prog in ginstall scoinst install; do
   2682       for ac_exec_ext in '' $ac_executable_extensions; do
   2683 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2684 	  if test $ac_prog = install &&
   2685 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2686 	    # AIX install.  It has an incompatible calling convention.
   2687 	    :
   2688 	  elif test $ac_prog = install &&
   2689 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2690 	    # program-specific install script used by HP pwplus--don't use.
   2691 	    :
   2692 	  else
   2693 	    rm -rf conftest.one conftest.two conftest.dir
   2694 	    echo one > conftest.one
   2695 	    echo two > conftest.two
   2696 	    mkdir conftest.dir
   2697 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2698 	      test -s conftest.one && test -s conftest.two &&
   2699 	      test -s conftest.dir/conftest.one &&
   2700 	      test -s conftest.dir/conftest.two
   2701 	    then
   2702 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2703 	      break 3
   2704 	    fi
   2705 	  fi
   2706 	fi
   2707       done
   2708     done
   2709     ;;
   2710 esac
   2711 
   2712   done
   2713 IFS=$as_save_IFS
   2714 
   2715 rm -rf conftest.one conftest.two conftest.dir
   2716  ;;
   2717 esac
   2718 fi
   2719   if test ${ac_cv_path_install+y}; then
   2720     INSTALL=$ac_cv_path_install
   2721   else
   2722     # As a last resort, use the slow shell script.  Don't cache a
   2723     # value for INSTALL within a source directory, because that will
   2724     # break other packages using the cache if that directory is
   2725     # removed, or if the value is a relative name.
   2726     INSTALL=$ac_install_sh
   2727   fi
   2728 fi
   2729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2730 printf "%s\n" "$INSTALL" >&6; }
   2731 
   2732 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2733 # It thinks the first close brace ends the variable substitution.
   2734 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2735 
   2736 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2737 
   2738 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2739 
   2740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
   2741 printf %s "checking whether sleep supports fractional seconds... " >&6; }
   2742 if test ${am_cv_sleep_fractional_seconds+y}
   2743 then :
   2744   printf %s "(cached) " >&6
   2745 else case e in #(
   2746   e) if sleep 0.001 2>/dev/null
   2747 then :
   2748   am_cv_sleep_fractional_seconds=yes
   2749 else case e in #(
   2750   e) am_cv_sleep_fractional_seconds=no ;;
   2751 esac
   2752 fi
   2753  ;;
   2754 esac
   2755 fi
   2756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
   2757 printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
   2758 
   2759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
   2760 printf %s "checking filesystem timestamp resolution... " >&6; }
   2761 if test ${am_cv_filesystem_timestamp_resolution+y}
   2762 then :
   2763   printf %s "(cached) " >&6
   2764 else case e in #(
   2765   e) # Default to the worst case.
   2766 am_cv_filesystem_timestamp_resolution=2
   2767 
   2768 # Only try to go finer than 1 sec if sleep can do it.
   2769 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
   2770 # - 1 sec is not much of a win compared to 2 sec, and
   2771 # - it takes 2 seconds to perform the test whether 1 sec works.
   2772 #
   2773 # Instead, just use the default 2s on platforms that have 1s resolution,
   2774 # accept the extra 1s delay when using $sleep in the Automake tests, in
   2775 # exchange for not incurring the 2s delay for running the test for all
   2776 # packages.
   2777 #
   2778 am_try_resolutions=
   2779 if test "$am_cv_sleep_fractional_seconds" = yes; then
   2780   # Even a millisecond often causes a bunch of false positives,
   2781   # so just try a hundredth of a second. The time saved between .001 and
   2782   # .01 is not terribly consequential.
   2783   am_try_resolutions="0.01 0.1 $am_try_resolutions"
   2784 fi
   2785 
   2786 # In order to catch current-generation FAT out, we must *modify* files
   2787 # that already exist; the *creation* timestamp is finer.  Use names
   2788 # that make ls -t sort them differently when they have equal
   2789 # timestamps than when they have distinct timestamps, keeping
   2790 # in mind that ls -t prints the *newest* file first.
   2791 rm -f conftest.ts?
   2792 : > conftest.ts1
   2793 : > conftest.ts2
   2794 : > conftest.ts3
   2795 
   2796 # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
   2797 # clobber the current shell's arguments. (Outer-level square brackets
   2798 # are removed by m4; they're present so that m4 does not expand
   2799 # <dollar><star>; be careful, easy to get confused.)
   2800 if (
   2801      set X `ls -t conftest.ts[12]` &&
   2802      {
   2803        test "$*" != "X conftest.ts1 conftest.ts2" ||
   2804        test "$*" != "X conftest.ts2 conftest.ts1";
   2805      }
   2806 ); then :; else
   2807   # If neither matched, then we have a broken ls.  This can happen
   2808   # if, for instance, CONFIG_SHELL is bash and it inherits a
   2809   # broken ls alias from the environment.  This has actually
   2810   # happened.  Such a system could not be considered "sane".
   2811   printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
   2812   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2813 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2814 as_fn_error $? "ls -t produces unexpected output.
   2815 Make sure there is not a broken ls alias in your environment.
   2816 See 'config.log' for more details" "$LINENO" 5; }
   2817 fi
   2818 
   2819 for am_try_res in $am_try_resolutions; do
   2820   # Any one fine-grained sleep might happen to cross the boundary
   2821   # between two values of a coarser actual resolution, but if we do
   2822   # two fine-grained sleeps in a row, at least one of them will fall
   2823   # entirely within a coarse interval.
   2824   echo alpha > conftest.ts1
   2825   sleep $am_try_res
   2826   echo beta > conftest.ts2
   2827   sleep $am_try_res
   2828   echo gamma > conftest.ts3
   2829 
   2830   # We assume that 'ls -t' will make use of high-resolution
   2831   # timestamps if the operating system supports them at all.
   2832   if (set X `ls -t conftest.ts?` &&
   2833       test "$2" = conftest.ts3 &&
   2834       test "$3" = conftest.ts2 &&
   2835       test "$4" = conftest.ts1); then
   2836     #
   2837     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
   2838     # because we don't need to test make.
   2839     make_ok=true
   2840     if test $am_try_res != 1; then
   2841       # But if we've succeeded so far with a subsecond resolution, we
   2842       # have one more thing to check: make. It can happen that
   2843       # everything else supports the subsecond mtimes, but make doesn't;
   2844       # notably on macOS, which ships make 3.81 from 2006 (the last one
   2845       # released under GPLv2). https://bugs.gnu.org/68808
   2846       #
   2847       # We test $MAKE if it is defined in the environment, else "make".
   2848       # It might get overridden later, but our hope is that in practice
   2849       # it does not matter: it is the system "make" which is (by far)
   2850       # the most likely to be broken, whereas if the user overrides it,
   2851       # probably they did so with a better, or at least not worse, make.
   2852       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
   2853       #
   2854       # Create a Makefile (real tab character here):
   2855       rm -f conftest.mk
   2856       echo 'conftest.ts1: conftest.ts2' >conftest.mk
   2857       echo '	touch conftest.ts2' >>conftest.mk
   2858       #
   2859       # Now, running
   2860       #   touch conftest.ts1; touch conftest.ts2; make
   2861       # should touch ts1 because ts2 is newer. This could happen by luck,
   2862       # but most often, it will fail if make's support is insufficient. So
   2863       # test for several consecutive successes.
   2864       #
   2865       # (We reuse conftest.ts[12] because we still want to modify existing
   2866       # files, not create new ones, per above.)
   2867       n=0
   2868       make=${MAKE-make}
   2869       until test $n -eq 3; do
   2870         echo one > conftest.ts1
   2871         sleep $am_try_res
   2872         echo two > conftest.ts2 # ts2 should now be newer than ts1
   2873         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
   2874           make_ok=false
   2875           break # out of $n loop
   2876         fi
   2877         n=`expr $n + 1`
   2878       done
   2879     fi
   2880     #
   2881     if $make_ok; then
   2882       # Everything we know to check worked out, so call this resolution good.
   2883       am_cv_filesystem_timestamp_resolution=$am_try_res
   2884       break # out of $am_try_res loop
   2885     fi
   2886     # Otherwise, we'll go on to check the next resolution.
   2887   fi
   2888 done
   2889 rm -f conftest.ts?
   2890 # (end _am_filesystem_timestamp_resolution)
   2891  ;;
   2892 esac
   2893 fi
   2894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
   2895 printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
   2896 
   2897 # This check should not be cached, as it may vary across builds of
   2898 # different projects.
   2899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2900 printf %s "checking whether build environment is sane... " >&6; }
   2901 # Reject unsafe characters in $srcdir or the absolute working directory
   2902 # name.  Accept space and tab only in the latter.
   2903 am_lf='
   2904 '
   2905 case `pwd` in
   2906   *[\\\"\#\$\&\'\`$am_lf]*)
   2907     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2908 printf "%s\n" "no" >&6; }
   2909     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2910 esac
   2911 case $srcdir in
   2912   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2913     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2914 printf "%s\n" "no" >&6; }
   2915     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2916 esac
   2917 
   2918 # Do 'set' in a subshell so we don't clobber the current shell's
   2919 # arguments.  Must try -L first in case configure is actually a
   2920 # symlink; some systems play weird games with the mod time of symlinks
   2921 # (eg FreeBSD returns the mod time of the symlink's containing
   2922 # directory).
   2923 am_build_env_is_sane=no
   2924 am_has_slept=no
   2925 rm -f conftest.file
   2926 for am_try in 1 2; do
   2927   echo "timestamp, slept: $am_has_slept" > conftest.file
   2928   if (
   2929     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2930     if test "$*" = "X"; then
   2931       # -L didn't work.
   2932       set X `ls -t "$srcdir/configure" conftest.file`
   2933     fi
   2934     test "$2" = conftest.file
   2935   ); then
   2936     am_build_env_is_sane=yes
   2937     break
   2938   fi
   2939   # Just in case.
   2940   sleep "$am_cv_filesystem_timestamp_resolution"
   2941   am_has_slept=yes
   2942 done
   2943 
   2944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
   2945 printf "%s\n" "$am_build_env_is_sane" >&6; }
   2946 if test "$am_build_env_is_sane" = no; then
   2947   as_fn_error $? "newly created file is older than distributed files!
   2948 Check your system clock" "$LINENO" 5
   2949 fi
   2950 
   2951 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2952 # generated files are strictly newer.
   2953 am_sleep_pid=
   2954 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
   2955 then :
   2956 
   2957 else case e in #(
   2958   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
   2959   am_sleep_pid=$!
   2960  ;;
   2961 esac
   2962 fi
   2963 
   2964 rm -f conftest.file
   2965 
   2966 test "$program_prefix" != NONE &&
   2967   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2968 # Use a double $ so make ignores it.
   2969 test "$program_suffix" != NONE &&
   2970   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2971 # Double any \ or $.
   2972 # By default was 's,x,x', remove it if useless.
   2973 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2974 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2975 
   2976 
   2977 # Expand $ac_aux_dir to an absolute path.
   2978 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2979 
   2980 
   2981   if test x"${MISSING+set}" != xset; then
   2982   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2983 fi
   2984 # Use eval to expand $SHELL
   2985 if eval "$MISSING --is-lightweight"; then
   2986   am_missing_run="$MISSING "
   2987 else
   2988   am_missing_run=
   2989   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2990 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2991 fi
   2992 
   2993 if test x"${install_sh+set}" != xset; then
   2994   case $am_aux_dir in
   2995   *\ * | *\	*)
   2996     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2997   *)
   2998     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2999   esac
   3000 fi
   3001 
   3002 # Installed binaries are usually stripped using 'strip' when the user
   3003 # run "make install-strip".  However 'strip' might not be the right
   3004 # tool to use in cross-compilation environments, therefore Automake
   3005 # will honor the 'STRIP' environment variable to overrule this program.
   3006 if test "$cross_compiling" != no; then
   3007   if test -n "$ac_tool_prefix"; then
   3008   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3009 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3011 printf %s "checking for $ac_word... " >&6; }
   3012 if test ${ac_cv_prog_STRIP+y}
   3013 then :
   3014   printf %s "(cached) " >&6
   3015 else case e in #(
   3016   e) if test -n "$STRIP"; then
   3017   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3018 else
   3019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3020 for as_dir in $PATH
   3021 do
   3022   IFS=$as_save_IFS
   3023   case $as_dir in #(((
   3024     '') as_dir=./ ;;
   3025     */) ;;
   3026     *) as_dir=$as_dir/ ;;
   3027   esac
   3028     for ac_exec_ext in '' $ac_executable_extensions; do
   3029   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3030     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3031     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3032     break 2
   3033   fi
   3034 done
   3035   done
   3036 IFS=$as_save_IFS
   3037 
   3038 fi ;;
   3039 esac
   3040 fi
   3041 STRIP=$ac_cv_prog_STRIP
   3042 if test -n "$STRIP"; then
   3043   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3044 printf "%s\n" "$STRIP" >&6; }
   3045 else
   3046   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3047 printf "%s\n" "no" >&6; }
   3048 fi
   3049 
   3050 
   3051 fi
   3052 if test -z "$ac_cv_prog_STRIP"; then
   3053   ac_ct_STRIP=$STRIP
   3054   # Extract the first word of "strip", so it can be a program name with args.
   3055 set dummy strip; ac_word=$2
   3056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3057 printf %s "checking for $ac_word... " >&6; }
   3058 if test ${ac_cv_prog_ac_ct_STRIP+y}
   3059 then :
   3060   printf %s "(cached) " >&6
   3061 else case e in #(
   3062   e) if test -n "$ac_ct_STRIP"; then
   3063   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3064 else
   3065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3066 for as_dir in $PATH
   3067 do
   3068   IFS=$as_save_IFS
   3069   case $as_dir in #(((
   3070     '') as_dir=./ ;;
   3071     */) ;;
   3072     *) as_dir=$as_dir/ ;;
   3073   esac
   3074     for ac_exec_ext in '' $ac_executable_extensions; do
   3075   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3076     ac_cv_prog_ac_ct_STRIP="strip"
   3077     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3078     break 2
   3079   fi
   3080 done
   3081   done
   3082 IFS=$as_save_IFS
   3083 
   3084 fi ;;
   3085 esac
   3086 fi
   3087 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3088 if test -n "$ac_ct_STRIP"; then
   3089   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3090 printf "%s\n" "$ac_ct_STRIP" >&6; }
   3091 else
   3092   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3093 printf "%s\n" "no" >&6; }
   3094 fi
   3095 
   3096   if test "x$ac_ct_STRIP" = x; then
   3097     STRIP=":"
   3098   else
   3099     case $cross_compiling:$ac_tool_warned in
   3100 yes:)
   3101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3102 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3103 ac_tool_warned=yes ;;
   3104 esac
   3105     STRIP=$ac_ct_STRIP
   3106   fi
   3107 else
   3108   STRIP="$ac_cv_prog_STRIP"
   3109 fi
   3110 
   3111 fi
   3112 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3113 
   3114 
   3115   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   3116 printf %s "checking for a race-free mkdir -p... " >&6; }
   3117 if test -z "$MKDIR_P"; then
   3118   if test ${ac_cv_path_mkdir+y}
   3119 then :
   3120   printf %s "(cached) " >&6
   3121 else case e in #(
   3122   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3123 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3124 do
   3125   IFS=$as_save_IFS
   3126   case $as_dir in #(((
   3127     '') as_dir=./ ;;
   3128     */) ;;
   3129     *) as_dir=$as_dir/ ;;
   3130   esac
   3131     for ac_prog in mkdir gmkdir; do
   3132 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3133 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3134 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3135 	     'mkdir ('*'coreutils) '* | \
   3136 	     *'BusyBox '* | \
   3137 	     'mkdir (fileutils) '4.1*)
   3138 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3139 	       break 3;;
   3140 	   esac
   3141 	 done
   3142        done
   3143   done
   3144 IFS=$as_save_IFS
   3145  ;;
   3146 esac
   3147 fi
   3148 
   3149   test -d ./--version && rmdir ./--version
   3150   if test ${ac_cv_path_mkdir+y}; then
   3151     MKDIR_P="$ac_cv_path_mkdir -p"
   3152   else
   3153     # As a last resort, use plain mkdir -p,
   3154     # in the hope it doesn't have the bugs of ancient mkdir.
   3155     MKDIR_P='mkdir -p'
   3156   fi
   3157 fi
   3158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3159 printf "%s\n" "$MKDIR_P" >&6; }
   3160 
   3161 for ac_prog in gawk mawk nawk awk
   3162 do
   3163   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3164 set dummy $ac_prog; ac_word=$2
   3165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3166 printf %s "checking for $ac_word... " >&6; }
   3167 if test ${ac_cv_prog_AWK+y}
   3168 then :
   3169   printf %s "(cached) " >&6
   3170 else case e in #(
   3171   e) if test -n "$AWK"; then
   3172   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3173 else
   3174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3175 for as_dir in $PATH
   3176 do
   3177   IFS=$as_save_IFS
   3178   case $as_dir in #(((
   3179     '') as_dir=./ ;;
   3180     */) ;;
   3181     *) as_dir=$as_dir/ ;;
   3182   esac
   3183     for ac_exec_ext in '' $ac_executable_extensions; do
   3184   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3185     ac_cv_prog_AWK="$ac_prog"
   3186     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3187     break 2
   3188   fi
   3189 done
   3190   done
   3191 IFS=$as_save_IFS
   3192 
   3193 fi ;;
   3194 esac
   3195 fi
   3196 AWK=$ac_cv_prog_AWK
   3197 if test -n "$AWK"; then
   3198   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3199 printf "%s\n" "$AWK" >&6; }
   3200 else
   3201   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3202 printf "%s\n" "no" >&6; }
   3203 fi
   3204 
   3205 
   3206   test -n "$AWK" && break
   3207 done
   3208 
   3209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3210 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3211 set x ${MAKE-make}
   3212 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3213 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3214 then :
   3215   printf %s "(cached) " >&6
   3216 else case e in #(
   3217   e) cat >conftest.make <<\_ACEOF
   3218 SHELL = /bin/sh
   3219 all:
   3220 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3221 _ACEOF
   3222 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3223 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3224   *@@@%%%=?*=@@@%%%*)
   3225     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3226   *)
   3227     eval ac_cv_prog_make_${ac_make}_set=no;;
   3228 esac
   3229 rm -f conftest.make ;;
   3230 esac
   3231 fi
   3232 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3233   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3234 printf "%s\n" "yes" >&6; }
   3235   SET_MAKE=
   3236 else
   3237   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3238 printf "%s\n" "no" >&6; }
   3239   SET_MAKE="MAKE=${MAKE-make}"
   3240 fi
   3241 
   3242 rm -rf .tst 2>/dev/null
   3243 mkdir .tst 2>/dev/null
   3244 if test -d .tst; then
   3245   am__leading_dot=.
   3246 else
   3247   am__leading_dot=_
   3248 fi
   3249 rmdir .tst 2>/dev/null
   3250 
   3251 AM_DEFAULT_VERBOSITY=1
   3252 # Check whether --enable-silent-rules was given.
   3253 if test ${enable_silent_rules+y}
   3254 then :
   3255   enableval=$enable_silent_rules;
   3256 fi
   3257 
   3258 am_make=${MAKE-make}
   3259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3260 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3261 if test ${am_cv_make_support_nested_variables+y}
   3262 then :
   3263   printf %s "(cached) " >&6
   3264 else case e in #(
   3265   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   3266 BAR0=false
   3267 BAR1=true
   3268 V=1
   3269 am__doit:
   3270 	@$(TRUE)
   3271 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3272   am_cv_make_support_nested_variables=yes
   3273 else
   3274   am_cv_make_support_nested_variables=no
   3275 fi ;;
   3276 esac
   3277 fi
   3278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3279 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3280 AM_BACKSLASH='\'
   3281 
   3282 am__rm_f_notfound=
   3283 if (rm -f && rm -fr && rm -rf) 2>/dev/null
   3284 then :
   3285 
   3286 else case e in #(
   3287   e) am__rm_f_notfound='""' ;;
   3288 esac
   3289 fi
   3290 
   3291 
   3292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
   3293 printf %s "checking xargs -n works... " >&6; }
   3294 if test ${am_cv_xargs_n_works+y}
   3295 then :
   3296   printf %s "(cached) " >&6
   3297 else case e in #(
   3298   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
   3299 3"
   3300 then :
   3301   am_cv_xargs_n_works=yes
   3302 else case e in #(
   3303   e) am_cv_xargs_n_works=no ;;
   3304 esac
   3305 fi ;;
   3306 esac
   3307 fi
   3308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
   3309 printf "%s\n" "$am_cv_xargs_n_works" >&6; }
   3310 if test "$am_cv_xargs_n_works" = yes
   3311 then :
   3312   am__xargs_n='xargs -n'
   3313 else case e in #(
   3314   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
   3315  ;;
   3316 esac
   3317 fi
   3318 
   3319 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3320   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3321   # is not polluted with repeated "-I."
   3322   am__isrc=' -I$(srcdir)'
   3323   # test to see if srcdir already configured
   3324   if test -f $srcdir/config.status; then
   3325     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3326   fi
   3327 fi
   3328 
   3329 # test whether we have cygpath
   3330 if test -z "$CYGPATH_W"; then
   3331   if (cygpath --version) >/dev/null 2>/dev/null; then
   3332     CYGPATH_W='cygpath -w'
   3333   else
   3334     CYGPATH_W=echo
   3335   fi
   3336 fi
   3337 
   3338 
   3339 # Define the identity of the package.
   3340  PACKAGE='libXdamage'
   3341  VERSION='1.1.7'
   3342 
   3343 
   3344 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3345 
   3346 
   3347 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3348 
   3349 # Some tools Automake needs.
   3350 
   3351 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3352 
   3353 
   3354 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3355 
   3356 
   3357 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3358 
   3359 
   3360 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3361 
   3362 
   3363 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3364 
   3365 # For better backward compatibility.  To be removed once Automake 1.9.x
   3366 # dies out for good.  For more background, see:
   3367 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3368 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3369 mkdir_p='$(MKDIR_P)'
   3370 
   3371 # We need awk for the "check" target (and possibly the TAP driver).  The
   3372 # system "awk" is bad on some platforms.
   3373 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3374 # in the wild :-(  We should find a proper way to deprecate it ...
   3375 AMTAR='$${TAR-tar}'
   3376 
   3377 
   3378 # We'll loop over all known methods to create a tar archive until one works.
   3379 _am_tools='gnutar plaintar pax cpio none'
   3380 
   3381 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
   3382       # There is notably a 21 bits limit for the UID and the GID.  In fact,
   3383       # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
   3384       # and bug#13588).
   3385       am_max_uid=2097151 # 2^21 - 1
   3386       am_max_gid=$am_max_uid
   3387       # The $UID and $GID variables are not portable, so we need to resort
   3388       # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
   3389       # below are definitely unexpected, so allow the users to see them
   3390       # (that is, avoid stderr redirection).
   3391       am_uid=`id -u || echo unknown`
   3392       am_gid=`id -g || echo unknown`
   3393       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
   3394 printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
   3395       if test x$am_uid = xunknown; then
   3396         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
   3397 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
   3398       elif test $am_uid -le $am_max_uid; then
   3399         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3400 printf "%s\n" "yes" >&6; }
   3401       else
   3402         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3403 printf "%s\n" "no" >&6; }
   3404         _am_tools=none
   3405       fi
   3406       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
   3407 printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
   3408       if test x$gm_gid = xunknown; then
   3409         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
   3410 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
   3411       elif test $am_gid -le $am_max_gid; then
   3412         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3413 printf "%s\n" "yes" >&6; }
   3414       else
   3415         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3416 printf "%s\n" "no" >&6; }
   3417         _am_tools=none
   3418       fi
   3419 
   3420   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
   3421 printf %s "checking how to create a ustar tar archive... " >&6; }
   3422 
   3423   # Go ahead even if we have the value already cached.  We do so because we
   3424   # need to set the values for the 'am__tar' and 'am__untar' variables.
   3425   _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
   3426 
   3427   for _am_tool in $_am_tools; do
   3428     case $_am_tool in
   3429     gnutar)
   3430       for _am_tar in tar gnutar gtar; do
   3431         { echo "$as_me:$LINENO: $_am_tar --version" >&5
   3432    ($_am_tar --version) >&5 2>&5
   3433    ac_status=$?
   3434    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3435    (exit $ac_status); } && break
   3436       done
   3437       am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
   3438       am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
   3439       am__untar="$_am_tar -xf -"
   3440       ;;
   3441     plaintar)
   3442       # Must skip GNU tar: if it does not support --format= it doesn't create
   3443       # ustar tarball either.
   3444       (tar --version) >/dev/null 2>&1 && continue
   3445       am__tar='tar chf - "$$tardir"'
   3446       am__tar_='tar chf - "$tardir"'
   3447       am__untar='tar xf -'
   3448       ;;
   3449     pax)
   3450       am__tar='pax -L -x ustar -w "$$tardir"'
   3451       am__tar_='pax -L -x ustar -w "$tardir"'
   3452       am__untar='pax -r'
   3453       ;;
   3454     cpio)
   3455       am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
   3456       am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
   3457       am__untar='cpio -i -H ustar -d'
   3458       ;;
   3459     none)
   3460       am__tar=false
   3461       am__tar_=false
   3462       am__untar=false
   3463       ;;
   3464     esac
   3465 
   3466     # If the value was cached, stop now.  We just wanted to have am__tar
   3467     # and am__untar set.
   3468     test -n "${am_cv_prog_tar_ustar}" && break
   3469 
   3470     # tar/untar a dummy directory, and stop if the command works.
   3471     rm -rf conftest.dir
   3472     mkdir conftest.dir
   3473     echo GrepMe > conftest.dir/file
   3474     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
   3475    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
   3476    ac_status=$?
   3477    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3478    (exit $ac_status); }
   3479     rm -rf conftest.dir
   3480     if test -s conftest.tar; then
   3481       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
   3482    ($am__untar <conftest.tar) >&5 2>&5
   3483    ac_status=$?
   3484    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3485    (exit $ac_status); }
   3486       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
   3487    (cat conftest.dir/file) >&5 2>&5
   3488    ac_status=$?
   3489    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3490    (exit $ac_status); }
   3491       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
   3492     fi
   3493   done
   3494   rm -rf conftest.dir
   3495 
   3496   if test ${am_cv_prog_tar_ustar+y}
   3497 then :
   3498   printf %s "(cached) " >&6
   3499 else case e in #(
   3500   e) am_cv_prog_tar_ustar=$_am_tool ;;
   3501 esac
   3502 fi
   3503 
   3504   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
   3505 printf "%s\n" "$am_cv_prog_tar_ustar" >&6; }
   3506 
   3507 
   3508 
   3509 
   3510 
   3511 # Variables for tags utilities; see am/tags.am
   3512 if test -z "$CTAGS"; then
   3513   CTAGS=ctags
   3514 fi
   3515 
   3516 if test -z "$ETAGS"; then
   3517   ETAGS=etags
   3518 fi
   3519 
   3520 if test -z "$CSCOPE"; then
   3521   CSCOPE=cscope
   3522 fi
   3523 
   3524 
   3525 
   3526 
   3527 
   3528 
   3529 
   3530 
   3531 # Initialize libtool
   3532 case `pwd` in
   3533   *\ * | *\	*)
   3534     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   3535 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   3536 esac
   3537 
   3538 
   3539 
   3540 macro_version='2.5.4'
   3541 macro_revision='2.5.4'
   3542 
   3543 
   3544 
   3545 
   3546 
   3547 
   3548 
   3549 
   3550 
   3551 
   3552 
   3553 
   3554 
   3555 
   3556 ltmain=$ac_aux_dir/ltmain.sh
   3557 
   3558 
   3559 
   3560   # Make sure we can run config.sub.
   3561 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   3562   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   3563 
   3564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3565 printf %s "checking build system type... " >&6; }
   3566 if test ${ac_cv_build+y}
   3567 then :
   3568   printf %s "(cached) " >&6
   3569 else case e in #(
   3570   e) ac_build_alias=$build_alias
   3571 test "x$ac_build_alias" = x &&
   3572   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   3573 test "x$ac_build_alias" = x &&
   3574   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3575 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   3576   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   3577  ;;
   3578 esac
   3579 fi
   3580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3581 printf "%s\n" "$ac_cv_build" >&6; }
   3582 case $ac_cv_build in
   3583 *-*-*) ;;
   3584 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3585 esac
   3586 build=$ac_cv_build
   3587 ac_save_IFS=$IFS; IFS='-'
   3588 set x $ac_cv_build
   3589 shift
   3590 build_cpu=$1
   3591 build_vendor=$2
   3592 shift; shift
   3593 # Remember, the first character of IFS is used to create $*,
   3594 # except with old shells:
   3595 build_os=$*
   3596 IFS=$ac_save_IFS
   3597 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3598 
   3599 
   3600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3601 printf %s "checking host system type... " >&6; }
   3602 if test ${ac_cv_host+y}
   3603 then :
   3604   printf %s "(cached) " >&6
   3605 else case e in #(
   3606   e) if test "x$host_alias" = x; then
   3607   ac_cv_host=$ac_cv_build
   3608 else
   3609   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   3610     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   3611 fi
   3612  ;;
   3613 esac
   3614 fi
   3615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3616 printf "%s\n" "$ac_cv_host" >&6; }
   3617 case $ac_cv_host in
   3618 *-*-*) ;;
   3619 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3620 esac
   3621 host=$ac_cv_host
   3622 ac_save_IFS=$IFS; IFS='-'
   3623 set x $ac_cv_host
   3624 shift
   3625 host_cpu=$1
   3626 host_vendor=$2
   3627 shift; shift
   3628 # Remember, the first character of IFS is used to create $*,
   3629 # except with old shells:
   3630 host_os=$*
   3631 IFS=$ac_save_IFS
   3632 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3633 
   3634 
   3635 # Backslashify metacharacters that are still active within
   3636 # double-quoted strings.
   3637 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   3638 
   3639 # Same as above, but do not quote variable references.
   3640 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   3641 
   3642 # Sed substitution to delay expansion of an escaped shell variable in a
   3643 # double_quote_subst'ed string.
   3644 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   3645 
   3646 # Sed substitution to delay expansion of an escaped single quote.
   3647 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   3648 
   3649 # Sed substitution to avoid accidental globbing in evaled expressions
   3650 no_glob_subst='s/\*/\\\*/g'
   3651 
   3652 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   3653 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   3654 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   3655 
   3656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   3657 printf %s "checking how to print strings... " >&6; }
   3658 # Test print first, because it will be a builtin if present.
   3659 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   3660    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   3661   ECHO='print -r --'
   3662 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   3663   ECHO='printf %s\n'
   3664 else
   3665   # Use this function as a fallback that always works.
   3666   func_fallback_echo ()
   3667   {
   3668     eval 'cat <<_LTECHO_EOF
   3669 $1
   3670 _LTECHO_EOF'
   3671   }
   3672   ECHO='func_fallback_echo'
   3673 fi
   3674 
   3675 # func_echo_all arg...
   3676 # Invoke $ECHO with all args, space-separated.
   3677 func_echo_all ()
   3678 {
   3679     $ECHO ""
   3680 }
   3681 
   3682 case $ECHO in
   3683   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   3684 printf "%s\n" "printf" >&6; } ;;
   3685   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   3686 printf "%s\n" "print -r" >&6; } ;;
   3687   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   3688 printf "%s\n" "cat" >&6; } ;;
   3689 esac
   3690 
   3691 
   3692 
   3693 
   3694 
   3695 
   3696 
   3697 
   3698 
   3699 
   3700 
   3701 
   3702 
   3703 
   3704 
   3705 
   3706 
   3707 
   3708 
   3709 
   3710 
   3711 
   3712 
   3713 DEPDIR="${am__leading_dot}deps"
   3714 
   3715 ac_config_commands="$ac_config_commands depfiles"
   3716 
   3717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3718 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3719 cat > confinc.mk << 'END'
   3720 am__doit:
   3721 	@echo this is the am__doit target >confinc.out
   3722 .PHONY: am__doit
   3723 END
   3724 am__include="#"
   3725 am__quote=
   3726 # BSD make does it like this.
   3727 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3728 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3729 echo 'include confinc.mk # ignored' > confmf.GNU
   3730 _am_result=no
   3731 for s in GNU BSD; do
   3732   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3733    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3734    ac_status=$?
   3735    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3736    (exit $ac_status); }
   3737   case $?:`cat confinc.out 2>/dev/null` in #(
   3738   '0:this is the am__doit target') :
   3739     case $s in #(
   3740   BSD) :
   3741     am__include='.include' am__quote='"' ;; #(
   3742   *) :
   3743     am__include='include' am__quote='' ;;
   3744 esac ;; #(
   3745   *) :
   3746      ;;
   3747 esac
   3748   if test "$am__include" != "#"; then
   3749     _am_result="yes ($s style)"
   3750     break
   3751   fi
   3752 done
   3753 rm -f confinc.* confmf.*
   3754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3755 printf "%s\n" "${_am_result}" >&6; }
   3756 
   3757 # Check whether --enable-dependency-tracking was given.
   3758 if test ${enable_dependency_tracking+y}
   3759 then :
   3760   enableval=$enable_dependency_tracking;
   3761 fi
   3762 
   3763 if test "x$enable_dependency_tracking" != xno; then
   3764   am_depcomp="$ac_aux_dir/depcomp"
   3765   AMDEPBACKSLASH='\'
   3766   am__nodep='_no'
   3767 fi
   3768  if test "x$enable_dependency_tracking" != xno; then
   3769   AMDEP_TRUE=
   3770   AMDEP_FALSE='#'
   3771 else
   3772   AMDEP_TRUE='#'
   3773   AMDEP_FALSE=
   3774 fi
   3775 
   3776 
   3777 ac_ext=c
   3778 ac_cpp='$CPP $CPPFLAGS'
   3779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3782 if test -n "$ac_tool_prefix"; then
   3783   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3784 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3786 printf %s "checking for $ac_word... " >&6; }
   3787 if test ${ac_cv_prog_CC+y}
   3788 then :
   3789   printf %s "(cached) " >&6
   3790 else case e in #(
   3791   e) if test -n "$CC"; then
   3792   ac_cv_prog_CC="$CC" # Let the user override the test.
   3793 else
   3794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3795 for as_dir in $PATH
   3796 do
   3797   IFS=$as_save_IFS
   3798   case $as_dir in #(((
   3799     '') as_dir=./ ;;
   3800     */) ;;
   3801     *) as_dir=$as_dir/ ;;
   3802   esac
   3803     for ac_exec_ext in '' $ac_executable_extensions; do
   3804   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3805     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3806     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3807     break 2
   3808   fi
   3809 done
   3810   done
   3811 IFS=$as_save_IFS
   3812 
   3813 fi ;;
   3814 esac
   3815 fi
   3816 CC=$ac_cv_prog_CC
   3817 if test -n "$CC"; then
   3818   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3819 printf "%s\n" "$CC" >&6; }
   3820 else
   3821   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3822 printf "%s\n" "no" >&6; }
   3823 fi
   3824 
   3825 
   3826 fi
   3827 if test -z "$ac_cv_prog_CC"; then
   3828   ac_ct_CC=$CC
   3829   # Extract the first word of "gcc", so it can be a program name with args.
   3830 set dummy gcc; ac_word=$2
   3831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3832 printf %s "checking for $ac_word... " >&6; }
   3833 if test ${ac_cv_prog_ac_ct_CC+y}
   3834 then :
   3835   printf %s "(cached) " >&6
   3836 else case e in #(
   3837   e) if test -n "$ac_ct_CC"; then
   3838   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3839 else
   3840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3841 for as_dir in $PATH
   3842 do
   3843   IFS=$as_save_IFS
   3844   case $as_dir in #(((
   3845     '') as_dir=./ ;;
   3846     */) ;;
   3847     *) as_dir=$as_dir/ ;;
   3848   esac
   3849     for ac_exec_ext in '' $ac_executable_extensions; do
   3850   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3851     ac_cv_prog_ac_ct_CC="gcc"
   3852     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3853     break 2
   3854   fi
   3855 done
   3856   done
   3857 IFS=$as_save_IFS
   3858 
   3859 fi ;;
   3860 esac
   3861 fi
   3862 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3863 if test -n "$ac_ct_CC"; then
   3864   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3865 printf "%s\n" "$ac_ct_CC" >&6; }
   3866 else
   3867   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3868 printf "%s\n" "no" >&6; }
   3869 fi
   3870 
   3871   if test "x$ac_ct_CC" = x; then
   3872     CC=""
   3873   else
   3874     case $cross_compiling:$ac_tool_warned in
   3875 yes:)
   3876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3877 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3878 ac_tool_warned=yes ;;
   3879 esac
   3880     CC=$ac_ct_CC
   3881   fi
   3882 else
   3883   CC="$ac_cv_prog_CC"
   3884 fi
   3885 
   3886 if test -z "$CC"; then
   3887           if test -n "$ac_tool_prefix"; then
   3888     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3889 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3891 printf %s "checking for $ac_word... " >&6; }
   3892 if test ${ac_cv_prog_CC+y}
   3893 then :
   3894   printf %s "(cached) " >&6
   3895 else case e in #(
   3896   e) if test -n "$CC"; then
   3897   ac_cv_prog_CC="$CC" # Let the user override the test.
   3898 else
   3899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3900 for as_dir in $PATH
   3901 do
   3902   IFS=$as_save_IFS
   3903   case $as_dir in #(((
   3904     '') as_dir=./ ;;
   3905     */) ;;
   3906     *) as_dir=$as_dir/ ;;
   3907   esac
   3908     for ac_exec_ext in '' $ac_executable_extensions; do
   3909   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3910     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3911     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3912     break 2
   3913   fi
   3914 done
   3915   done
   3916 IFS=$as_save_IFS
   3917 
   3918 fi ;;
   3919 esac
   3920 fi
   3921 CC=$ac_cv_prog_CC
   3922 if test -n "$CC"; then
   3923   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3924 printf "%s\n" "$CC" >&6; }
   3925 else
   3926   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3927 printf "%s\n" "no" >&6; }
   3928 fi
   3929 
   3930 
   3931   fi
   3932 fi
   3933 if test -z "$CC"; then
   3934   # Extract the first word of "cc", so it can be a program name with args.
   3935 set dummy cc; ac_word=$2
   3936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3937 printf %s "checking for $ac_word... " >&6; }
   3938 if test ${ac_cv_prog_CC+y}
   3939 then :
   3940   printf %s "(cached) " >&6
   3941 else case e in #(
   3942   e) if test -n "$CC"; then
   3943   ac_cv_prog_CC="$CC" # Let the user override the test.
   3944 else
   3945   ac_prog_rejected=no
   3946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3947 for as_dir in $PATH
   3948 do
   3949   IFS=$as_save_IFS
   3950   case $as_dir in #(((
   3951     '') as_dir=./ ;;
   3952     */) ;;
   3953     *) as_dir=$as_dir/ ;;
   3954   esac
   3955     for ac_exec_ext in '' $ac_executable_extensions; do
   3956   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3957     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3958        ac_prog_rejected=yes
   3959        continue
   3960      fi
   3961     ac_cv_prog_CC="cc"
   3962     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3963     break 2
   3964   fi
   3965 done
   3966   done
   3967 IFS=$as_save_IFS
   3968 
   3969 if test $ac_prog_rejected = yes; then
   3970   # We found a bogon in the path, so make sure we never use it.
   3971   set dummy $ac_cv_prog_CC
   3972   shift
   3973   if test $# != 0; then
   3974     # We chose a different compiler from the bogus one.
   3975     # However, it has the same basename, so the bogon will be chosen
   3976     # first if we set CC to just the basename; use the full file name.
   3977     shift
   3978     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3979   fi
   3980 fi
   3981 fi ;;
   3982 esac
   3983 fi
   3984 CC=$ac_cv_prog_CC
   3985 if test -n "$CC"; then
   3986   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3987 printf "%s\n" "$CC" >&6; }
   3988 else
   3989   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3990 printf "%s\n" "no" >&6; }
   3991 fi
   3992 
   3993 
   3994 fi
   3995 if test -z "$CC"; then
   3996   if test -n "$ac_tool_prefix"; then
   3997   for ac_prog in cl.exe
   3998   do
   3999     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4000 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4002 printf %s "checking for $ac_word... " >&6; }
   4003 if test ${ac_cv_prog_CC+y}
   4004 then :
   4005   printf %s "(cached) " >&6
   4006 else case e in #(
   4007   e) if test -n "$CC"; then
   4008   ac_cv_prog_CC="$CC" # Let the user override the test.
   4009 else
   4010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4011 for as_dir in $PATH
   4012 do
   4013   IFS=$as_save_IFS
   4014   case $as_dir in #(((
   4015     '') as_dir=./ ;;
   4016     */) ;;
   4017     *) as_dir=$as_dir/ ;;
   4018   esac
   4019     for ac_exec_ext in '' $ac_executable_extensions; do
   4020   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4021     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   4022     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4023     break 2
   4024   fi
   4025 done
   4026   done
   4027 IFS=$as_save_IFS
   4028 
   4029 fi ;;
   4030 esac
   4031 fi
   4032 CC=$ac_cv_prog_CC
   4033 if test -n "$CC"; then
   4034   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4035 printf "%s\n" "$CC" >&6; }
   4036 else
   4037   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4038 printf "%s\n" "no" >&6; }
   4039 fi
   4040 
   4041 
   4042     test -n "$CC" && break
   4043   done
   4044 fi
   4045 if test -z "$CC"; then
   4046   ac_ct_CC=$CC
   4047   for ac_prog in cl.exe
   4048 do
   4049   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4050 set dummy $ac_prog; ac_word=$2
   4051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4052 printf %s "checking for $ac_word... " >&6; }
   4053 if test ${ac_cv_prog_ac_ct_CC+y}
   4054 then :
   4055   printf %s "(cached) " >&6
   4056 else case e in #(
   4057   e) if test -n "$ac_ct_CC"; then
   4058   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4059 else
   4060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4061 for as_dir in $PATH
   4062 do
   4063   IFS=$as_save_IFS
   4064   case $as_dir in #(((
   4065     '') as_dir=./ ;;
   4066     */) ;;
   4067     *) as_dir=$as_dir/ ;;
   4068   esac
   4069     for ac_exec_ext in '' $ac_executable_extensions; do
   4070   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4071     ac_cv_prog_ac_ct_CC="$ac_prog"
   4072     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4073     break 2
   4074   fi
   4075 done
   4076   done
   4077 IFS=$as_save_IFS
   4078 
   4079 fi ;;
   4080 esac
   4081 fi
   4082 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4083 if test -n "$ac_ct_CC"; then
   4084   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4085 printf "%s\n" "$ac_ct_CC" >&6; }
   4086 else
   4087   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4088 printf "%s\n" "no" >&6; }
   4089 fi
   4090 
   4091 
   4092   test -n "$ac_ct_CC" && break
   4093 done
   4094 
   4095   if test "x$ac_ct_CC" = x; then
   4096     CC=""
   4097   else
   4098     case $cross_compiling:$ac_tool_warned in
   4099 yes:)
   4100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4101 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4102 ac_tool_warned=yes ;;
   4103 esac
   4104     CC=$ac_ct_CC
   4105   fi
   4106 fi
   4107 
   4108 fi
   4109 if test -z "$CC"; then
   4110   if test -n "$ac_tool_prefix"; then
   4111   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   4112 set dummy ${ac_tool_prefix}clang; ac_word=$2
   4113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4114 printf %s "checking for $ac_word... " >&6; }
   4115 if test ${ac_cv_prog_CC+y}
   4116 then :
   4117   printf %s "(cached) " >&6
   4118 else case e in #(
   4119   e) if test -n "$CC"; then
   4120   ac_cv_prog_CC="$CC" # Let the user override the test.
   4121 else
   4122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4123 for as_dir in $PATH
   4124 do
   4125   IFS=$as_save_IFS
   4126   case $as_dir in #(((
   4127     '') as_dir=./ ;;
   4128     */) ;;
   4129     *) as_dir=$as_dir/ ;;
   4130   esac
   4131     for ac_exec_ext in '' $ac_executable_extensions; do
   4132   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4133     ac_cv_prog_CC="${ac_tool_prefix}clang"
   4134     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4135     break 2
   4136   fi
   4137 done
   4138   done
   4139 IFS=$as_save_IFS
   4140 
   4141 fi ;;
   4142 esac
   4143 fi
   4144 CC=$ac_cv_prog_CC
   4145 if test -n "$CC"; then
   4146   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4147 printf "%s\n" "$CC" >&6; }
   4148 else
   4149   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4150 printf "%s\n" "no" >&6; }
   4151 fi
   4152 
   4153 
   4154 fi
   4155 if test -z "$ac_cv_prog_CC"; then
   4156   ac_ct_CC=$CC
   4157   # Extract the first word of "clang", so it can be a program name with args.
   4158 set dummy clang; ac_word=$2
   4159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4160 printf %s "checking for $ac_word... " >&6; }
   4161 if test ${ac_cv_prog_ac_ct_CC+y}
   4162 then :
   4163   printf %s "(cached) " >&6
   4164 else case e in #(
   4165   e) if test -n "$ac_ct_CC"; then
   4166   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4167 else
   4168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4169 for as_dir in $PATH
   4170 do
   4171   IFS=$as_save_IFS
   4172   case $as_dir in #(((
   4173     '') as_dir=./ ;;
   4174     */) ;;
   4175     *) as_dir=$as_dir/ ;;
   4176   esac
   4177     for ac_exec_ext in '' $ac_executable_extensions; do
   4178   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4179     ac_cv_prog_ac_ct_CC="clang"
   4180     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4181     break 2
   4182   fi
   4183 done
   4184   done
   4185 IFS=$as_save_IFS
   4186 
   4187 fi ;;
   4188 esac
   4189 fi
   4190 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4191 if test -n "$ac_ct_CC"; then
   4192   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4193 printf "%s\n" "$ac_ct_CC" >&6; }
   4194 else
   4195   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4196 printf "%s\n" "no" >&6; }
   4197 fi
   4198 
   4199   if test "x$ac_ct_CC" = x; then
   4200     CC=""
   4201   else
   4202     case $cross_compiling:$ac_tool_warned in
   4203 yes:)
   4204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4205 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4206 ac_tool_warned=yes ;;
   4207 esac
   4208     CC=$ac_ct_CC
   4209   fi
   4210 else
   4211   CC="$ac_cv_prog_CC"
   4212 fi
   4213 
   4214 fi
   4215 
   4216 
   4217 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4218 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4219 as_fn_error $? "no acceptable C compiler found in \$PATH
   4220 See 'config.log' for more details" "$LINENO" 5; }
   4221 
   4222 # Provide some information about the compiler.
   4223 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4224 set X $ac_compile
   4225 ac_compiler=$2
   4226 for ac_option in --version -v -V -qversion -version; do
   4227   { { ac_try="$ac_compiler $ac_option >&5"
   4228 case "(($ac_try" in
   4229   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4230   *) ac_try_echo=$ac_try;;
   4231 esac
   4232 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4233 printf "%s\n" "$ac_try_echo"; } >&5
   4234   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4235   ac_status=$?
   4236   if test -s conftest.err; then
   4237     sed '10a\
   4238 ... rest of stderr output deleted ...
   4239          10q' conftest.err >conftest.er1
   4240     cat conftest.er1 >&5
   4241   fi
   4242   rm -f conftest.er1 conftest.err
   4243   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4244   test $ac_status = 0; }
   4245 done
   4246 
   4247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4248 /* end confdefs.h.  */
   4249 
   4250 int
   4251 main (void)
   4252 {
   4253 
   4254   ;
   4255   return 0;
   4256 }
   4257 _ACEOF
   4258 ac_clean_files_save=$ac_clean_files
   4259 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   4260 # Try to create an executable without -o first, disregard a.out.
   4261 # It will help us diagnose broken compilers, and finding out an intuition
   4262 # of exeext.
   4263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   4264 printf %s "checking whether the C compiler works... " >&6; }
   4265 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   4266 
   4267 # The possible output files:
   4268 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   4269 
   4270 ac_rmfiles=
   4271 for ac_file in $ac_files
   4272 do
   4273   case $ac_file in
   4274     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4275     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   4276   esac
   4277 done
   4278 rm -f $ac_rmfiles
   4279 
   4280 if { { ac_try="$ac_link_default"
   4281 case "(($ac_try" in
   4282   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4283   *) ac_try_echo=$ac_try;;
   4284 esac
   4285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4286 printf "%s\n" "$ac_try_echo"; } >&5
   4287   (eval "$ac_link_default") 2>&5
   4288   ac_status=$?
   4289   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4290   test $ac_status = 0; }
   4291 then :
   4292   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   4293 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   4294 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   4295 # so that the user can short-circuit this test for compilers unknown to
   4296 # Autoconf.
   4297 for ac_file in $ac_files ''
   4298 do
   4299   test -f "$ac_file" || continue
   4300   case $ac_file in
   4301     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   4302 	;;
   4303     [ab].out )
   4304 	# We found the default executable, but exeext='' is most
   4305 	# certainly right.
   4306 	break;;
   4307     *.* )
   4308 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   4309 	then :; else
   4310 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4311 	fi
   4312 	# We set ac_cv_exeext here because the later test for it is not
   4313 	# safe: cross compilers may not add the suffix if given an '-o'
   4314 	# argument, so we may need to know it at that point already.
   4315 	# Even if this section looks crufty: it has the advantage of
   4316 	# actually working.
   4317 	break;;
   4318     * )
   4319 	break;;
   4320   esac
   4321 done
   4322 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4323 
   4324 else case e in #(
   4325   e) ac_file='' ;;
   4326 esac
   4327 fi
   4328 if test -z "$ac_file"
   4329 then :
   4330   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4331 printf "%s\n" "no" >&6; }
   4332 printf "%s\n" "$as_me: failed program was:" >&5
   4333 sed 's/^/| /' conftest.$ac_ext >&5
   4334 
   4335 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4336 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4337 as_fn_error 77 "C compiler cannot create executables
   4338 See 'config.log' for more details" "$LINENO" 5; }
   4339 else case e in #(
   4340   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4341 printf "%s\n" "yes" >&6; } ;;
   4342 esac
   4343 fi
   4344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4345 printf %s "checking for C compiler default output file name... " >&6; }
   4346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4347 printf "%s\n" "$ac_file" >&6; }
   4348 ac_exeext=$ac_cv_exeext
   4349 
   4350 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4351 ac_clean_files=$ac_clean_files_save
   4352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4353 printf %s "checking for suffix of executables... " >&6; }
   4354 if { { ac_try="$ac_link"
   4355 case "(($ac_try" in
   4356   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4357   *) ac_try_echo=$ac_try;;
   4358 esac
   4359 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4360 printf "%s\n" "$ac_try_echo"; } >&5
   4361   (eval "$ac_link") 2>&5
   4362   ac_status=$?
   4363   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4364   test $ac_status = 0; }
   4365 then :
   4366   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   4367 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   4368 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   4369 # 'rm'.
   4370 for ac_file in conftest.exe conftest conftest.*; do
   4371   test -f "$ac_file" || continue
   4372   case $ac_file in
   4373     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4374     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4375 	  break;;
   4376     * ) break;;
   4377   esac
   4378 done
   4379 else case e in #(
   4380   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4381 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4382 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4383 See 'config.log' for more details" "$LINENO" 5; } ;;
   4384 esac
   4385 fi
   4386 rm -f conftest conftest$ac_cv_exeext
   4387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4388 printf "%s\n" "$ac_cv_exeext" >&6; }
   4389 
   4390 rm -f conftest.$ac_ext
   4391 EXEEXT=$ac_cv_exeext
   4392 ac_exeext=$EXEEXT
   4393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4394 /* end confdefs.h.  */
   4395 #include <stdio.h>
   4396 int
   4397 main (void)
   4398 {
   4399 FILE *f = fopen ("conftest.out", "w");
   4400  if (!f)
   4401   return 1;
   4402  return ferror (f) || fclose (f) != 0;
   4403 
   4404   ;
   4405   return 0;
   4406 }
   4407 _ACEOF
   4408 ac_clean_files="$ac_clean_files conftest.out"
   4409 # Check that the compiler produces executables we can run.  If not, either
   4410 # the compiler is broken, or we cross compile.
   4411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4412 printf %s "checking whether we are cross compiling... " >&6; }
   4413 if test "$cross_compiling" != yes; then
   4414   { { ac_try="$ac_link"
   4415 case "(($ac_try" in
   4416   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4417   *) ac_try_echo=$ac_try;;
   4418 esac
   4419 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4420 printf "%s\n" "$ac_try_echo"; } >&5
   4421   (eval "$ac_link") 2>&5
   4422   ac_status=$?
   4423   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4424   test $ac_status = 0; }
   4425   if { ac_try='./conftest$ac_cv_exeext'
   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_try") 2>&5
   4433   ac_status=$?
   4434   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4435   test $ac_status = 0; }; }; then
   4436     cross_compiling=no
   4437   else
   4438     if test "$cross_compiling" = maybe; then
   4439 	cross_compiling=yes
   4440     else
   4441 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4442 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4443 as_fn_error 77 "cannot run C compiled programs.
   4444 If you meant to cross compile, use '--host'.
   4445 See 'config.log' for more details" "$LINENO" 5; }
   4446     fi
   4447   fi
   4448 fi
   4449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4450 printf "%s\n" "$cross_compiling" >&6; }
   4451 
   4452 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   4453   conftest.o conftest.obj conftest.out
   4454 ac_clean_files=$ac_clean_files_save
   4455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4456 printf %s "checking for suffix of object files... " >&6; }
   4457 if test ${ac_cv_objext+y}
   4458 then :
   4459   printf %s "(cached) " >&6
   4460 else case e in #(
   4461   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4462 /* end confdefs.h.  */
   4463 
   4464 int
   4465 main (void)
   4466 {
   4467 
   4468   ;
   4469   return 0;
   4470 }
   4471 _ACEOF
   4472 rm -f conftest.o conftest.obj
   4473 if { { ac_try="$ac_compile"
   4474 case "(($ac_try" in
   4475   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4476   *) ac_try_echo=$ac_try;;
   4477 esac
   4478 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4479 printf "%s\n" "$ac_try_echo"; } >&5
   4480   (eval "$ac_compile") 2>&5
   4481   ac_status=$?
   4482   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4483   test $ac_status = 0; }
   4484 then :
   4485   for ac_file in conftest.o conftest.obj conftest.*; do
   4486   test -f "$ac_file" || continue;
   4487   case $ac_file in
   4488     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4489     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4490        break;;
   4491   esac
   4492 done
   4493 else case e in #(
   4494   e) printf "%s\n" "$as_me: failed program was:" >&5
   4495 sed 's/^/| /' conftest.$ac_ext >&5
   4496 
   4497 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4498 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4499 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4500 See 'config.log' for more details" "$LINENO" 5; } ;;
   4501 esac
   4502 fi
   4503 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   4504 esac
   4505 fi
   4506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4507 printf "%s\n" "$ac_cv_objext" >&6; }
   4508 OBJEXT=$ac_cv_objext
   4509 ac_objext=$OBJEXT
   4510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4511 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4512 if test ${ac_cv_c_compiler_gnu+y}
   4513 then :
   4514   printf %s "(cached) " >&6
   4515 else case e in #(
   4516   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4517 /* end confdefs.h.  */
   4518 
   4519 int
   4520 main (void)
   4521 {
   4522 #ifndef __GNUC__
   4523        choke me
   4524 #endif
   4525 
   4526   ;
   4527   return 0;
   4528 }
   4529 _ACEOF
   4530 if ac_fn_c_try_compile "$LINENO"
   4531 then :
   4532   ac_compiler_gnu=yes
   4533 else case e in #(
   4534   e) ac_compiler_gnu=no ;;
   4535 esac
   4536 fi
   4537 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4538 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4539  ;;
   4540 esac
   4541 fi
   4542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4543 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4545 
   4546 if test $ac_compiler_gnu = yes; then
   4547   GCC=yes
   4548 else
   4549   GCC=
   4550 fi
   4551 ac_test_CFLAGS=${CFLAGS+y}
   4552 ac_save_CFLAGS=$CFLAGS
   4553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4554 printf %s "checking whether $CC accepts -g... " >&6; }
   4555 if test ${ac_cv_prog_cc_g+y}
   4556 then :
   4557   printf %s "(cached) " >&6
   4558 else case e in #(
   4559   e) ac_save_c_werror_flag=$ac_c_werror_flag
   4560    ac_c_werror_flag=yes
   4561    ac_cv_prog_cc_g=no
   4562    CFLAGS="-g"
   4563    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4564 /* end confdefs.h.  */
   4565 
   4566 int
   4567 main (void)
   4568 {
   4569 
   4570   ;
   4571   return 0;
   4572 }
   4573 _ACEOF
   4574 if ac_fn_c_try_compile "$LINENO"
   4575 then :
   4576   ac_cv_prog_cc_g=yes
   4577 else case e in #(
   4578   e) CFLAGS=""
   4579       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4580 /* end confdefs.h.  */
   4581 
   4582 int
   4583 main (void)
   4584 {
   4585 
   4586   ;
   4587   return 0;
   4588 }
   4589 _ACEOF
   4590 if ac_fn_c_try_compile "$LINENO"
   4591 then :
   4592 
   4593 else case e in #(
   4594   e) ac_c_werror_flag=$ac_save_c_werror_flag
   4595 	 CFLAGS="-g"
   4596 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4597 /* end confdefs.h.  */
   4598 
   4599 int
   4600 main (void)
   4601 {
   4602 
   4603   ;
   4604   return 0;
   4605 }
   4606 _ACEOF
   4607 if ac_fn_c_try_compile "$LINENO"
   4608 then :
   4609   ac_cv_prog_cc_g=yes
   4610 fi
   4611 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4612 esac
   4613 fi
   4614 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4615 esac
   4616 fi
   4617 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4618    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   4619 esac
   4620 fi
   4621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4622 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4623 if test $ac_test_CFLAGS; then
   4624   CFLAGS=$ac_save_CFLAGS
   4625 elif test $ac_cv_prog_cc_g = yes; then
   4626   if test "$GCC" = yes; then
   4627     CFLAGS="-g -O2"
   4628   else
   4629     CFLAGS="-g"
   4630   fi
   4631 else
   4632   if test "$GCC" = yes; then
   4633     CFLAGS="-O2"
   4634   else
   4635     CFLAGS=
   4636   fi
   4637 fi
   4638 ac_prog_cc_stdc=no
   4639 if test x$ac_prog_cc_stdc = xno
   4640 then :
   4641   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4642 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4643 if test ${ac_cv_prog_cc_c11+y}
   4644 then :
   4645   printf %s "(cached) " >&6
   4646 else case e in #(
   4647   e) ac_cv_prog_cc_c11=no
   4648 ac_save_CC=$CC
   4649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4650 /* end confdefs.h.  */
   4651 $ac_c_conftest_c11_program
   4652 _ACEOF
   4653 for ac_arg in '' -std=gnu11
   4654 do
   4655   CC="$ac_save_CC $ac_arg"
   4656   if ac_fn_c_try_compile "$LINENO"
   4657 then :
   4658   ac_cv_prog_cc_c11=$ac_arg
   4659 fi
   4660 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4661   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4662 done
   4663 rm -f conftest.$ac_ext
   4664 CC=$ac_save_CC ;;
   4665 esac
   4666 fi
   4667 
   4668 if test "x$ac_cv_prog_cc_c11" = xno
   4669 then :
   4670   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4671 printf "%s\n" "unsupported" >&6; }
   4672 else case e in #(
   4673   e) if test "x$ac_cv_prog_cc_c11" = x
   4674 then :
   4675   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4676 printf "%s\n" "none needed" >&6; }
   4677 else case e in #(
   4678   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4679 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4680      CC="$CC $ac_cv_prog_cc_c11" ;;
   4681 esac
   4682 fi
   4683   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4684   ac_prog_cc_stdc=c11 ;;
   4685 esac
   4686 fi
   4687 fi
   4688 if test x$ac_prog_cc_stdc = xno
   4689 then :
   4690   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4691 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4692 if test ${ac_cv_prog_cc_c99+y}
   4693 then :
   4694   printf %s "(cached) " >&6
   4695 else case e in #(
   4696   e) ac_cv_prog_cc_c99=no
   4697 ac_save_CC=$CC
   4698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4699 /* end confdefs.h.  */
   4700 $ac_c_conftest_c99_program
   4701 _ACEOF
   4702 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4703 do
   4704   CC="$ac_save_CC $ac_arg"
   4705   if ac_fn_c_try_compile "$LINENO"
   4706 then :
   4707   ac_cv_prog_cc_c99=$ac_arg
   4708 fi
   4709 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4710   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4711 done
   4712 rm -f conftest.$ac_ext
   4713 CC=$ac_save_CC ;;
   4714 esac
   4715 fi
   4716 
   4717 if test "x$ac_cv_prog_cc_c99" = xno
   4718 then :
   4719   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4720 printf "%s\n" "unsupported" >&6; }
   4721 else case e in #(
   4722   e) if test "x$ac_cv_prog_cc_c99" = x
   4723 then :
   4724   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4725 printf "%s\n" "none needed" >&6; }
   4726 else case e in #(
   4727   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4728 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4729      CC="$CC $ac_cv_prog_cc_c99" ;;
   4730 esac
   4731 fi
   4732   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4733   ac_prog_cc_stdc=c99 ;;
   4734 esac
   4735 fi
   4736 fi
   4737 if test x$ac_prog_cc_stdc = xno
   4738 then :
   4739   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4740 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4741 if test ${ac_cv_prog_cc_c89+y}
   4742 then :
   4743   printf %s "(cached) " >&6
   4744 else case e in #(
   4745   e) ac_cv_prog_cc_c89=no
   4746 ac_save_CC=$CC
   4747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4748 /* end confdefs.h.  */
   4749 $ac_c_conftest_c89_program
   4750 _ACEOF
   4751 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4752 do
   4753   CC="$ac_save_CC $ac_arg"
   4754   if ac_fn_c_try_compile "$LINENO"
   4755 then :
   4756   ac_cv_prog_cc_c89=$ac_arg
   4757 fi
   4758 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4759   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4760 done
   4761 rm -f conftest.$ac_ext
   4762 CC=$ac_save_CC ;;
   4763 esac
   4764 fi
   4765 
   4766 if test "x$ac_cv_prog_cc_c89" = xno
   4767 then :
   4768   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4769 printf "%s\n" "unsupported" >&6; }
   4770 else case e in #(
   4771   e) if test "x$ac_cv_prog_cc_c89" = x
   4772 then :
   4773   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4774 printf "%s\n" "none needed" >&6; }
   4775 else case e in #(
   4776   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4777 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4778      CC="$CC $ac_cv_prog_cc_c89" ;;
   4779 esac
   4780 fi
   4781   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4782   ac_prog_cc_stdc=c89 ;;
   4783 esac
   4784 fi
   4785 fi
   4786 
   4787 ac_ext=c
   4788 ac_cpp='$CPP $CPPFLAGS'
   4789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4792 
   4793 
   4794   ac_ext=c
   4795 ac_cpp='$CPP $CPPFLAGS'
   4796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4800 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4801 if test ${am_cv_prog_cc_c_o+y}
   4802 then :
   4803   printf %s "(cached) " >&6
   4804 else case e in #(
   4805   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4806 /* end confdefs.h.  */
   4807 
   4808 int
   4809 main (void)
   4810 {
   4811 
   4812   ;
   4813   return 0;
   4814 }
   4815 _ACEOF
   4816   # Make sure it works both with $CC and with simple cc.
   4817   # Following AC_PROG_CC_C_O, we do the test twice because some
   4818   # compilers refuse to overwrite an existing .o file with -o,
   4819   # though they will create one.
   4820   am_cv_prog_cc_c_o=yes
   4821   for am_i in 1 2; do
   4822     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4823    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4824    ac_status=$?
   4825    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4826    (exit $ac_status); } \
   4827          && test -f conftest2.$ac_objext; then
   4828       : OK
   4829     else
   4830       am_cv_prog_cc_c_o=no
   4831       break
   4832     fi
   4833   done
   4834   # aligned with autoconf, so not including core; see bug#72225.
   4835   rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
   4836     conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
   4837     conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
   4838   unset am_i ;;
   4839 esac
   4840 fi
   4841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4842 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4843 if test "$am_cv_prog_cc_c_o" != yes; then
   4844    # Losing compiler, so override with the script.
   4845    # FIXME: It is wrong to rewrite CC.
   4846    # But if we don't then we get into trouble of one sort or another.
   4847    # A longer-term fix would be to have automake use am__CC in this case,
   4848    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4849    CC="$am_aux_dir/compile $CC"
   4850 fi
   4851 ac_ext=c
   4852 ac_cpp='$CPP $CPPFLAGS'
   4853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4856 
   4857 
   4858 depcc="$CC"   am_compiler_list=
   4859 
   4860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4861 printf %s "checking dependency style of $depcc... " >&6; }
   4862 if test ${am_cv_CC_dependencies_compiler_type+y}
   4863 then :
   4864   printf %s "(cached) " >&6
   4865 else case e in #(
   4866   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4867   # We make a subdir and do the tests there.  Otherwise we can end up
   4868   # making bogus files that we don't know about and never remove.  For
   4869   # instance it was reported that on HP-UX the gcc test will end up
   4870   # making a dummy file named 'D' -- because '-MD' means "put the output
   4871   # in D".
   4872   rm -rf conftest.dir
   4873   mkdir conftest.dir
   4874   # Copy depcomp to subdir because otherwise we won't find it if we're
   4875   # using a relative directory.
   4876   cp "$am_depcomp" conftest.dir
   4877   cd conftest.dir
   4878   # We will build objects and dependencies in a subdirectory because
   4879   # it helps to detect inapplicable dependency modes.  For instance
   4880   # both Tru64's cc and ICC support -MD to output dependencies as a
   4881   # side effect of compilation, but ICC will put the dependencies in
   4882   # the current directory while Tru64 will put them in the object
   4883   # directory.
   4884   mkdir sub
   4885 
   4886   am_cv_CC_dependencies_compiler_type=none
   4887   if test "$am_compiler_list" = ""; then
   4888      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4889   fi
   4890   am__universal=false
   4891   case " $depcc " in #(
   4892      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4893      esac
   4894 
   4895   for depmode in $am_compiler_list; do
   4896     # Setup a source with many dependencies, because some compilers
   4897     # like to wrap large dependency lists on column 80 (with \), and
   4898     # we should not choose a depcomp mode which is confused by this.
   4899     #
   4900     # We need to recreate these files for each test, as the compiler may
   4901     # overwrite some of them when testing with obscure command lines.
   4902     # This happens at least with the AIX C compiler.
   4903     : > sub/conftest.c
   4904     for i in 1 2 3 4 5 6; do
   4905       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4906       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4907       # Solaris 10 /bin/sh.
   4908       echo '/* dummy */' > sub/conftst$i.h
   4909     done
   4910     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4911 
   4912     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4913     # mode.  It turns out that the SunPro C++ compiler does not properly
   4914     # handle '-M -o', and we need to detect this.  Also, some Intel
   4915     # versions had trouble with output in subdirs.
   4916     am__obj=sub/conftest.${OBJEXT-o}
   4917     am__minus_obj="-o $am__obj"
   4918     case $depmode in
   4919     gcc)
   4920       # This depmode causes a compiler race in universal mode.
   4921       test "$am__universal" = false || continue
   4922       ;;
   4923     nosideeffect)
   4924       # After this tag, mechanisms are not by side-effect, so they'll
   4925       # only be used when explicitly requested.
   4926       if test "x$enable_dependency_tracking" = xyes; then
   4927 	continue
   4928       else
   4929 	break
   4930       fi
   4931       ;;
   4932     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4933       # This compiler won't grok '-c -o', but also, the minuso test has
   4934       # not run yet.  These depmodes are late enough in the game, and
   4935       # so weak that their functioning should not be impacted.
   4936       am__obj=conftest.${OBJEXT-o}
   4937       am__minus_obj=
   4938       ;;
   4939     none) break ;;
   4940     esac
   4941     if depmode=$depmode \
   4942        source=sub/conftest.c object=$am__obj \
   4943        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4944        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4945          >/dev/null 2>conftest.err &&
   4946        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4947        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4948        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4949        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4950       # icc doesn't choke on unknown options, it will just issue warnings
   4951       # or remarks (even with -Werror).  So we grep stderr for any message
   4952       # that says an option was ignored or not supported.
   4953       # When given -MP, icc 7.0 and 7.1 complain thus:
   4954       #   icc: Command line warning: ignoring option '-M'; no argument required
   4955       # The diagnosis changed in icc 8.0:
   4956       #   icc: Command line remark: option '-MP' not supported
   4957       if (grep 'ignoring option' conftest.err ||
   4958           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4959         am_cv_CC_dependencies_compiler_type=$depmode
   4960         break
   4961       fi
   4962     fi
   4963   done
   4964 
   4965   cd ..
   4966   rm -rf conftest.dir
   4967 else
   4968   am_cv_CC_dependencies_compiler_type=none
   4969 fi
   4970  ;;
   4971 esac
   4972 fi
   4973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4974 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4975 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4976 
   4977  if
   4978   test "x$enable_dependency_tracking" != xno \
   4979   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4980   am__fastdepCC_TRUE=
   4981   am__fastdepCC_FALSE='#'
   4982 else
   4983   am__fastdepCC_TRUE='#'
   4984   am__fastdepCC_FALSE=
   4985 fi
   4986 
   4987 
   4988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4989 printf %s "checking for a sed that does not truncate output... " >&6; }
   4990 if test ${ac_cv_path_SED+y}
   4991 then :
   4992   printf %s "(cached) " >&6
   4993 else case e in #(
   4994   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4995      for ac_i in 1 2 3 4 5 6 7; do
   4996        ac_script="$ac_script$as_nl$ac_script"
   4997      done
   4998      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4999      { ac_script=; unset ac_script;}
   5000      if test -z "$SED"; then
   5001   ac_path_SED_found=false
   5002   # Loop through the user's path and test for each of PROGNAME-LIST
   5003   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5004 for as_dir in $PATH
   5005 do
   5006   IFS=$as_save_IFS
   5007   case $as_dir in #(((
   5008     '') as_dir=./ ;;
   5009     */) ;;
   5010     *) as_dir=$as_dir/ ;;
   5011   esac
   5012     for ac_prog in sed gsed
   5013    do
   5014     for ac_exec_ext in '' $ac_executable_extensions; do
   5015       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5016       as_fn_executable_p "$ac_path_SED" || continue
   5017 # Check for GNU ac_path_SED and select it if it is found.
   5018   # Check for GNU $ac_path_SED
   5019 case `"$ac_path_SED" --version 2>&1` in #(
   5020 *GNU*)
   5021   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5022 #(
   5023 *)
   5024   ac_count=0
   5025   printf %s 0123456789 >"conftest.in"
   5026   while :
   5027   do
   5028     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5029     mv "conftest.tmp" "conftest.in"
   5030     cp "conftest.in" "conftest.nl"
   5031     printf "%s\n" '' >> "conftest.nl"
   5032     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5033     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5034     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5035     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5036       # Best one so far, save it but keep looking for a better one
   5037       ac_cv_path_SED="$ac_path_SED"
   5038       ac_path_SED_max=$ac_count
   5039     fi
   5040     # 10*(2^10) chars as input seems more than enough
   5041     test $ac_count -gt 10 && break
   5042   done
   5043   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5044 esac
   5045 
   5046       $ac_path_SED_found && break 3
   5047     done
   5048   done
   5049   done
   5050 IFS=$as_save_IFS
   5051   if test -z "$ac_cv_path_SED"; then
   5052     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5053   fi
   5054 else
   5055   ac_cv_path_SED=$SED
   5056 fi
   5057  ;;
   5058 esac
   5059 fi
   5060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5061 printf "%s\n" "$ac_cv_path_SED" >&6; }
   5062  SED="$ac_cv_path_SED"
   5063   rm -f conftest.sed
   5064 
   5065 test -z "$SED" && SED=sed
   5066 Xsed="$SED -e 1s/^X//"
   5067 
   5068 
   5069 
   5070 
   5071 
   5072 
   5073 
   5074 
   5075 
   5076 
   5077 
   5078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   5079 printf %s "checking for grep that handles long lines and -e... " >&6; }
   5080 if test ${ac_cv_path_GREP+y}
   5081 then :
   5082   printf %s "(cached) " >&6
   5083 else case e in #(
   5084   e) if test -z "$GREP"; then
   5085   ac_path_GREP_found=false
   5086   # Loop through the user's path and test for each of PROGNAME-LIST
   5087   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5088 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5089 do
   5090   IFS=$as_save_IFS
   5091   case $as_dir in #(((
   5092     '') as_dir=./ ;;
   5093     */) ;;
   5094     *) as_dir=$as_dir/ ;;
   5095   esac
   5096     for ac_prog in grep ggrep
   5097    do
   5098     for ac_exec_ext in '' $ac_executable_extensions; do
   5099       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   5100       as_fn_executable_p "$ac_path_GREP" || continue
   5101 # Check for GNU ac_path_GREP and select it if it is found.
   5102   # Check for GNU $ac_path_GREP
   5103 case `"$ac_path_GREP" --version 2>&1` in #(
   5104 *GNU*)
   5105   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   5106 #(
   5107 *)
   5108   ac_count=0
   5109   printf %s 0123456789 >"conftest.in"
   5110   while :
   5111   do
   5112     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5113     mv "conftest.tmp" "conftest.in"
   5114     cp "conftest.in" "conftest.nl"
   5115     printf "%s\n" 'GREP' >> "conftest.nl"
   5116     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5117     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5118     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5119     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   5120       # Best one so far, save it but keep looking for a better one
   5121       ac_cv_path_GREP="$ac_path_GREP"
   5122       ac_path_GREP_max=$ac_count
   5123     fi
   5124     # 10*(2^10) chars as input seems more than enough
   5125     test $ac_count -gt 10 && break
   5126   done
   5127   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5128 esac
   5129 
   5130       $ac_path_GREP_found && break 3
   5131     done
   5132   done
   5133   done
   5134 IFS=$as_save_IFS
   5135   if test -z "$ac_cv_path_GREP"; then
   5136     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5137   fi
   5138 else
   5139   ac_cv_path_GREP=$GREP
   5140 fi
   5141  ;;
   5142 esac
   5143 fi
   5144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   5145 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   5146  GREP="$ac_cv_path_GREP"
   5147 
   5148 
   5149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   5150 printf %s "checking for egrep... " >&6; }
   5151 if test ${ac_cv_path_EGREP+y}
   5152 then :
   5153   printf %s "(cached) " >&6
   5154 else case e in #(
   5155   e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   5156    then ac_cv_path_EGREP="$GREP -E"
   5157    else
   5158      if test -z "$EGREP"; then
   5159   ac_path_EGREP_found=false
   5160   # Loop through the user's path and test for each of PROGNAME-LIST
   5161   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5162 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5163 do
   5164   IFS=$as_save_IFS
   5165   case $as_dir in #(((
   5166     '') as_dir=./ ;;
   5167     */) ;;
   5168     *) as_dir=$as_dir/ ;;
   5169   esac
   5170     for ac_prog in egrep
   5171    do
   5172     for ac_exec_ext in '' $ac_executable_extensions; do
   5173       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   5174       as_fn_executable_p "$ac_path_EGREP" || continue
   5175 # Check for GNU ac_path_EGREP and select it if it is found.
   5176   # Check for GNU $ac_path_EGREP
   5177 case `"$ac_path_EGREP" --version 2>&1` in #(
   5178 *GNU*)
   5179   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   5180 #(
   5181 *)
   5182   ac_count=0
   5183   printf %s 0123456789 >"conftest.in"
   5184   while :
   5185   do
   5186     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5187     mv "conftest.tmp" "conftest.in"
   5188     cp "conftest.in" "conftest.nl"
   5189     printf "%s\n" 'EGREP' >> "conftest.nl"
   5190     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5191     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5192     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5193     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   5194       # Best one so far, save it but keep looking for a better one
   5195       ac_cv_path_EGREP="$ac_path_EGREP"
   5196       ac_path_EGREP_max=$ac_count
   5197     fi
   5198     # 10*(2^10) chars as input seems more than enough
   5199     test $ac_count -gt 10 && break
   5200   done
   5201   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5202 esac
   5203 
   5204       $ac_path_EGREP_found && break 3
   5205     done
   5206   done
   5207   done
   5208 IFS=$as_save_IFS
   5209   if test -z "$ac_cv_path_EGREP"; then
   5210     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5211   fi
   5212 else
   5213   ac_cv_path_EGREP=$EGREP
   5214 fi
   5215 
   5216    fi ;;
   5217 esac
   5218 fi
   5219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   5220 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   5221  EGREP="$ac_cv_path_EGREP"
   5222 
   5223          EGREP_TRADITIONAL=$EGREP
   5224  ac_cv_path_EGREP_TRADITIONAL=$EGREP
   5225 
   5226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5227 printf %s "checking for fgrep... " >&6; }
   5228 if test ${ac_cv_path_FGREP+y}
   5229 then :
   5230   printf %s "(cached) " >&6
   5231 else case e in #(
   5232   e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5233    then ac_cv_path_FGREP="$GREP -F"
   5234    else
   5235      if test -z "$FGREP"; then
   5236   ac_path_FGREP_found=false
   5237   # Loop through the user's path and test for each of PROGNAME-LIST
   5238   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5239 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5240 do
   5241   IFS=$as_save_IFS
   5242   case $as_dir in #(((
   5243     '') as_dir=./ ;;
   5244     */) ;;
   5245     *) as_dir=$as_dir/ ;;
   5246   esac
   5247     for ac_prog in fgrep
   5248    do
   5249     for ac_exec_ext in '' $ac_executable_extensions; do
   5250       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   5251       as_fn_executable_p "$ac_path_FGREP" || continue
   5252 # Check for GNU ac_path_FGREP and select it if it is found.
   5253   # Check for GNU $ac_path_FGREP
   5254 case `"$ac_path_FGREP" --version 2>&1` in #(
   5255 *GNU*)
   5256   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5257 #(
   5258 *)
   5259   ac_count=0
   5260   printf %s 0123456789 >"conftest.in"
   5261   while :
   5262   do
   5263     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5264     mv "conftest.tmp" "conftest.in"
   5265     cp "conftest.in" "conftest.nl"
   5266     printf "%s\n" 'FGREP' >> "conftest.nl"
   5267     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5268     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5269     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5270     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5271       # Best one so far, save it but keep looking for a better one
   5272       ac_cv_path_FGREP="$ac_path_FGREP"
   5273       ac_path_FGREP_max=$ac_count
   5274     fi
   5275     # 10*(2^10) chars as input seems more than enough
   5276     test $ac_count -gt 10 && break
   5277   done
   5278   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5279 esac
   5280 
   5281       $ac_path_FGREP_found && break 3
   5282     done
   5283   done
   5284   done
   5285 IFS=$as_save_IFS
   5286   if test -z "$ac_cv_path_FGREP"; then
   5287     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5288   fi
   5289 else
   5290   ac_cv_path_FGREP=$FGREP
   5291 fi
   5292 
   5293    fi ;;
   5294 esac
   5295 fi
   5296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5297 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   5298  FGREP="$ac_cv_path_FGREP"
   5299 
   5300 
   5301 test -z "$GREP" && GREP=grep
   5302 
   5303 
   5304 
   5305 
   5306 
   5307 
   5308 
   5309 
   5310 
   5311 
   5312 
   5313 
   5314 
   5315 
   5316 
   5317 
   5318 
   5319 
   5320 
   5321 # Check whether --with-gnu-ld was given.
   5322 if test ${with_gnu_ld+y}
   5323 then :
   5324   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   5325 else case e in #(
   5326   e) with_gnu_ld=no ;;
   5327 esac
   5328 fi
   5329 
   5330 ac_prog=ld
   5331 if test yes = "$GCC"; then
   5332   # Check if gcc -print-prog-name=ld gives a path.
   5333   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5334 printf %s "checking for ld used by $CC... " >&6; }
   5335   case $host in
   5336   *-*-mingw* | *-*-windows*)
   5337     # gcc leaves a trailing carriage return, which upsets mingw
   5338     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5339   *)
   5340     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5341   esac
   5342   case $ac_prog in
   5343     # Accept absolute paths.
   5344     [\\/]* | ?:[\\/]*)
   5345       re_direlt='/[^/][^/]*/\.\./'
   5346       # Canonicalize the pathname of ld
   5347       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5348       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5349 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5350       done
   5351       test -z "$LD" && LD=$ac_prog
   5352       ;;
   5353   "")
   5354     # If it fails, then pretend we aren't using GCC.
   5355     ac_prog=ld
   5356     ;;
   5357   *)
   5358     # If it is relative, then search for the first ld in PATH.
   5359     with_gnu_ld=unknown
   5360     ;;
   5361   esac
   5362 elif test yes = "$with_gnu_ld"; then
   5363   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5364 printf %s "checking for GNU ld... " >&6; }
   5365 else
   5366   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5367 printf %s "checking for non-GNU ld... " >&6; }
   5368 fi
   5369 if test ${lt_cv_path_LD+y}
   5370 then :
   5371   printf %s "(cached) " >&6
   5372 else case e in #(
   5373   e) if test -z "$LD"; then
   5374   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5375   for ac_dir in $PATH; do
   5376     IFS=$lt_save_ifs
   5377     test -z "$ac_dir" && ac_dir=.
   5378     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5379       lt_cv_path_LD=$ac_dir/$ac_prog
   5380       # Check to see if the program is GNU ld.  I'd rather use --version,
   5381       # but apparently some variants of GNU ld only accept -v.
   5382       # Break only if it was the GNU/non-GNU ld that we prefer.
   5383       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5384       *GNU* | *'with BFD'*)
   5385 	test no != "$with_gnu_ld" && break
   5386 	;;
   5387       *)
   5388 	test yes != "$with_gnu_ld" && break
   5389 	;;
   5390       esac
   5391     fi
   5392   done
   5393   IFS=$lt_save_ifs
   5394 else
   5395   lt_cv_path_LD=$LD # Let the user override the test with a path.
   5396 fi ;;
   5397 esac
   5398 fi
   5399 
   5400 LD=$lt_cv_path_LD
   5401 if test -n "$LD"; then
   5402   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5403 printf "%s\n" "$LD" >&6; }
   5404 else
   5405   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5406 printf "%s\n" "no" >&6; }
   5407 fi
   5408 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5410 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   5411 if test ${lt_cv_prog_gnu_ld+y}
   5412 then :
   5413   printf %s "(cached) " >&6
   5414 else case e in #(
   5415   e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5416 case `$LD -v 2>&1 </dev/null` in
   5417 *GNU* | *'with BFD'*)
   5418   lt_cv_prog_gnu_ld=yes
   5419   ;;
   5420 *)
   5421   lt_cv_prog_gnu_ld=no
   5422   ;;
   5423 esac ;;
   5424 esac
   5425 fi
   5426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5427 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   5428 with_gnu_ld=$lt_cv_prog_gnu_ld
   5429 
   5430 
   5431 
   5432 
   5433 
   5434 
   5435 
   5436 
   5437 
   5438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5439 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5440 if test ${lt_cv_path_NM+y}
   5441 then :
   5442   printf %s "(cached) " >&6
   5443 else case e in #(
   5444   e) if test -n "$NM"; then
   5445   # Let the user override the test.
   5446   lt_cv_path_NM=$NM
   5447 else
   5448   lt_nm_to_check=${ac_tool_prefix}nm
   5449   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5450     lt_nm_to_check="$lt_nm_to_check nm"
   5451   fi
   5452   for lt_tmp_nm in $lt_nm_to_check; do
   5453     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5454     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5455       IFS=$lt_save_ifs
   5456       test -z "$ac_dir" && ac_dir=.
   5457       tmp_nm=$ac_dir/$lt_tmp_nm
   5458       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   5459 	# Check to see if the nm accepts a BSD-compat flag.
   5460 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   5461 	#   nm: unknown option "B" ignored
   5462 	# Tru64's nm complains that /dev/null is an invalid object file
   5463 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   5464 	case $build_os in
   5465 	mingw* | windows*) lt_bad_file=conftest.nm/nofile ;;
   5466 	*) lt_bad_file=/dev/null ;;
   5467 	esac
   5468 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   5469 	*$lt_bad_file* | *'Invalid file or object type'*)
   5470 	  lt_cv_path_NM="$tmp_nm -B"
   5471 	  break 2
   5472 	  ;;
   5473 	*)
   5474 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   5475 	  */dev/null*)
   5476 	    lt_cv_path_NM="$tmp_nm -p"
   5477 	    break 2
   5478 	    ;;
   5479 	  *)
   5480 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5481 	    continue # so that we can try to find one that supports BSD flags
   5482 	    ;;
   5483 	  esac
   5484 	  ;;
   5485 	esac
   5486       fi
   5487     done
   5488     IFS=$lt_save_ifs
   5489   done
   5490   : ${lt_cv_path_NM=no}
   5491 fi ;;
   5492 esac
   5493 fi
   5494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5495 printf "%s\n" "$lt_cv_path_NM" >&6; }
   5496 if test no != "$lt_cv_path_NM"; then
   5497   NM=$lt_cv_path_NM
   5498 else
   5499   # Didn't find any BSD compatible name lister, look for dumpbin.
   5500   if test -n "$DUMPBIN"; then :
   5501     # Let the user override the test.
   5502   else
   5503     if test -n "$ac_tool_prefix"; then
   5504   for ac_prog in dumpbin "link -dump"
   5505   do
   5506     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5507 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5509 printf %s "checking for $ac_word... " >&6; }
   5510 if test ${ac_cv_prog_DUMPBIN+y}
   5511 then :
   5512   printf %s "(cached) " >&6
   5513 else case e in #(
   5514   e) if test -n "$DUMPBIN"; then
   5515   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5516 else
   5517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5518 for as_dir in $PATH
   5519 do
   5520   IFS=$as_save_IFS
   5521   case $as_dir in #(((
   5522     '') as_dir=./ ;;
   5523     */) ;;
   5524     *) as_dir=$as_dir/ ;;
   5525   esac
   5526     for ac_exec_ext in '' $ac_executable_extensions; do
   5527   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5528     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5529     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5530     break 2
   5531   fi
   5532 done
   5533   done
   5534 IFS=$as_save_IFS
   5535 
   5536 fi ;;
   5537 esac
   5538 fi
   5539 DUMPBIN=$ac_cv_prog_DUMPBIN
   5540 if test -n "$DUMPBIN"; then
   5541   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5542 printf "%s\n" "$DUMPBIN" >&6; }
   5543 else
   5544   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5545 printf "%s\n" "no" >&6; }
   5546 fi
   5547 
   5548 
   5549     test -n "$DUMPBIN" && break
   5550   done
   5551 fi
   5552 if test -z "$DUMPBIN"; then
   5553   ac_ct_DUMPBIN=$DUMPBIN
   5554   for ac_prog in dumpbin "link -dump"
   5555 do
   5556   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5557 set dummy $ac_prog; ac_word=$2
   5558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5559 printf %s "checking for $ac_word... " >&6; }
   5560 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   5561 then :
   5562   printf %s "(cached) " >&6
   5563 else case e in #(
   5564   e) if test -n "$ac_ct_DUMPBIN"; then
   5565   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5566 else
   5567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5568 for as_dir in $PATH
   5569 do
   5570   IFS=$as_save_IFS
   5571   case $as_dir in #(((
   5572     '') as_dir=./ ;;
   5573     */) ;;
   5574     *) as_dir=$as_dir/ ;;
   5575   esac
   5576     for ac_exec_ext in '' $ac_executable_extensions; do
   5577   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5578     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5579     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5580     break 2
   5581   fi
   5582 done
   5583   done
   5584 IFS=$as_save_IFS
   5585 
   5586 fi ;;
   5587 esac
   5588 fi
   5589 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5590 if test -n "$ac_ct_DUMPBIN"; then
   5591   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5592 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   5593 else
   5594   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5595 printf "%s\n" "no" >&6; }
   5596 fi
   5597 
   5598 
   5599   test -n "$ac_ct_DUMPBIN" && break
   5600 done
   5601 
   5602   if test "x$ac_ct_DUMPBIN" = x; then
   5603     DUMPBIN=":"
   5604   else
   5605     case $cross_compiling:$ac_tool_warned in
   5606 yes:)
   5607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5608 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5609 ac_tool_warned=yes ;;
   5610 esac
   5611     DUMPBIN=$ac_ct_DUMPBIN
   5612   fi
   5613 fi
   5614 
   5615     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   5616     *COFF*)
   5617       DUMPBIN="$DUMPBIN -symbols -headers"
   5618       ;;
   5619     *)
   5620       DUMPBIN=:
   5621       ;;
   5622     esac
   5623   fi
   5624 
   5625   if test : != "$DUMPBIN"; then
   5626     NM=$DUMPBIN
   5627   fi
   5628 fi
   5629 test -z "$NM" && NM=nm
   5630 
   5631 
   5632 
   5633 
   5634 
   5635 
   5636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5637 printf %s "checking the name lister ($NM) interface... " >&6; }
   5638 if test ${lt_cv_nm_interface+y}
   5639 then :
   5640   printf %s "(cached) " >&6
   5641 else case e in #(
   5642   e) lt_cv_nm_interface="BSD nm"
   5643   echo "int some_variable = 0;" > conftest.$ac_ext
   5644   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5645   (eval "$ac_compile" 2>conftest.err)
   5646   cat conftest.err >&5
   5647   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5648   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5649   cat conftest.err >&5
   5650   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5651   cat conftest.out >&5
   5652   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5653     lt_cv_nm_interface="MS dumpbin"
   5654   fi
   5655   rm -f conftest* ;;
   5656 esac
   5657 fi
   5658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5659 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   5660 
   5661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5662 printf %s "checking whether ln -s works... " >&6; }
   5663 LN_S=$as_ln_s
   5664 if test "$LN_S" = "ln -s"; then
   5665   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5666 printf "%s\n" "yes" >&6; }
   5667 else
   5668   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5669 printf "%s\n" "no, using $LN_S" >&6; }
   5670 fi
   5671 
   5672 # find the maximum length of command line arguments
   5673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5674 printf %s "checking the maximum length of command line arguments... " >&6; }
   5675 if test ${lt_cv_sys_max_cmd_len+y}
   5676 then :
   5677   printf %s "(cached) " >&6
   5678 else case e in #(
   5679   e)   i=0
   5680   teststring=ABCD
   5681 
   5682   case $build_os in
   5683   msdosdjgpp*)
   5684     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5685     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5686     # during glob expansion).  Even if it were fixed, the result of this
   5687     # check would be larger than it should be.
   5688     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5689     ;;
   5690 
   5691   gnu* | ironclad*)
   5692     # Under GNU Hurd and Ironclad, this test is not required because there
   5693     # is no limit to the length of command line arguments.
   5694     # Libtool will interpret -1 as no limit whatsoever
   5695     lt_cv_sys_max_cmd_len=-1;
   5696     ;;
   5697 
   5698   cygwin* | mingw* | windows* | cegcc*)
   5699     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5700     # about 5 minutes as the teststring grows exponentially.
   5701     # Worse, since 9x/ME are not pre-emptively multitasking,
   5702     # you end up with a "frozen" computer, even though with patience
   5703     # the test eventually succeeds (with a max line length of 256k).
   5704     # Instead, let's just punt: use the minimum linelength reported by
   5705     # all of the supported platforms: 8192 (on NT/2K/XP).
   5706     lt_cv_sys_max_cmd_len=8192;
   5707     ;;
   5708 
   5709   mint*)
   5710     # On MiNT this can take a long time and run out of memory.
   5711     lt_cv_sys_max_cmd_len=8192;
   5712     ;;
   5713 
   5714   amigaos*)
   5715     # On AmigaOS with pdksh, this test takes hours, literally.
   5716     # So we just punt and use a minimum line length of 8192.
   5717     lt_cv_sys_max_cmd_len=8192;
   5718     ;;
   5719 
   5720   darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   5721     # This has been around since 386BSD, at least.  Likely further.
   5722     if test -x /sbin/sysctl; then
   5723       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5724     elif test -x /usr/sbin/sysctl; then
   5725       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5726     else
   5727       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5728     fi
   5729     # And add a safety zone
   5730     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5731     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5732     ;;
   5733 
   5734   interix*)
   5735     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5736     lt_cv_sys_max_cmd_len=196608
   5737     ;;
   5738 
   5739   os2*)
   5740     # The test takes a long time on OS/2.
   5741     lt_cv_sys_max_cmd_len=8192
   5742     ;;
   5743 
   5744   osf*)
   5745     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5746     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5747     # nice to cause kernel panics so lets avoid the loop below.
   5748     # First set a reasonable default.
   5749     lt_cv_sys_max_cmd_len=16384
   5750     #
   5751     if test -x /sbin/sysconfig; then
   5752       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5753         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5754       esac
   5755     fi
   5756     ;;
   5757   sco3.2v5*)
   5758     lt_cv_sys_max_cmd_len=102400
   5759     ;;
   5760   sysv5* | sco5v6* | sysv4.2uw2*)
   5761     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5762     if test -n "$kargmax"; then
   5763       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   5764     else
   5765       lt_cv_sys_max_cmd_len=32768
   5766     fi
   5767     ;;
   5768   *)
   5769     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5770     if test -n "$lt_cv_sys_max_cmd_len" && \
   5771        test undefined != "$lt_cv_sys_max_cmd_len"; then
   5772       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5773       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5774     else
   5775       # Make teststring a little bigger before we do anything with it.
   5776       # a 1K string should be a reasonable start.
   5777       for i in 1 2 3 4 5 6 7 8; do
   5778         teststring=$teststring$teststring
   5779       done
   5780       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5781       # If test is not a shell built-in, we'll probably end up computing a
   5782       # maximum length that is only half of the actual maximum length, but
   5783       # we can't tell.
   5784       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   5785 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5786 	      test 17 != "$i" # 1/2 MB should be enough
   5787       do
   5788         i=`expr $i + 1`
   5789         teststring=$teststring$teststring
   5790       done
   5791       # Only check the string length outside the loop.
   5792       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5793       teststring=
   5794       # Add a significant safety factor because C++ compilers can tack on
   5795       # massive amounts of additional arguments before passing them to the
   5796       # linker.  It appears as though 1/2 is a usable value.
   5797       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5798     fi
   5799     ;;
   5800   esac
   5801  ;;
   5802 esac
   5803 fi
   5804 
   5805 if test -n "$lt_cv_sys_max_cmd_len"; then
   5806   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5807 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   5808 else
   5809   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5810 printf "%s\n" "none" >&6; }
   5811 fi
   5812 max_cmd_len=$lt_cv_sys_max_cmd_len
   5813 
   5814 
   5815 
   5816 
   5817 
   5818 
   5819 : ${CP="cp -f"}
   5820 : ${MV="mv -f"}
   5821 : ${RM="rm -f"}
   5822 
   5823 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5824   lt_unset=unset
   5825 else
   5826   lt_unset=false
   5827 fi
   5828 
   5829 
   5830 
   5831 
   5832 
   5833 # test EBCDIC or ASCII
   5834 case `echo X|tr X '\101'` in
   5835  A) # ASCII based system
   5836     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5837   lt_SP2NL='tr \040 \012'
   5838   lt_NL2SP='tr \015\012 \040\040'
   5839   ;;
   5840  *) # EBCDIC based system
   5841   lt_SP2NL='tr \100 \n'
   5842   lt_NL2SP='tr \r\n \100\100'
   5843   ;;
   5844 esac
   5845 
   5846 
   5847 
   5848 
   5849 
   5850 
   5851 
   5852 
   5853 
   5854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5855 printf %s "checking how to convert $build file names to $host format... " >&6; }
   5856 if test ${lt_cv_to_host_file_cmd+y}
   5857 then :
   5858   printf %s "(cached) " >&6
   5859 else case e in #(
   5860   e) case $host in
   5861   *-*-mingw* )
   5862     case $build in
   5863       *-*-mingw* | *-*-windows* ) # actually msys
   5864         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5865         ;;
   5866       *-*-cygwin* )
   5867         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5868         ;;
   5869       * ) # otherwise, assume *nix
   5870         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5871         ;;
   5872     esac
   5873     ;;
   5874   *-*-cygwin* )
   5875     case $build in
   5876       *-*-mingw* | *-*-windows* ) # actually msys
   5877         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5878         ;;
   5879       *-*-cygwin* )
   5880         lt_cv_to_host_file_cmd=func_convert_file_noop
   5881         ;;
   5882       * ) # otherwise, assume *nix
   5883         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5884         ;;
   5885     esac
   5886     ;;
   5887   * ) # unhandled hosts (and "normal" native builds)
   5888     lt_cv_to_host_file_cmd=func_convert_file_noop
   5889     ;;
   5890 esac
   5891  ;;
   5892 esac
   5893 fi
   5894 
   5895 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5897 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   5898 
   5899 
   5900 
   5901 
   5902 
   5903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5904 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   5905 if test ${lt_cv_to_tool_file_cmd+y}
   5906 then :
   5907   printf %s "(cached) " >&6
   5908 else case e in #(
   5909   e) #assume ordinary cross tools, or native build.
   5910 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5911 case $host in
   5912   *-*-mingw* | *-*-windows* )
   5913     case $build in
   5914       *-*-mingw* | *-*-windows* ) # actually msys
   5915         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5916         ;;
   5917     esac
   5918     ;;
   5919 esac
   5920  ;;
   5921 esac
   5922 fi
   5923 
   5924 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5926 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   5927 
   5928 
   5929 
   5930 
   5931 
   5932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5933 printf %s "checking for $LD option to reload object files... " >&6; }
   5934 if test ${lt_cv_ld_reload_flag+y}
   5935 then :
   5936   printf %s "(cached) " >&6
   5937 else case e in #(
   5938   e) lt_cv_ld_reload_flag='-r' ;;
   5939 esac
   5940 fi
   5941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5942 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   5943 reload_flag=$lt_cv_ld_reload_flag
   5944 case $reload_flag in
   5945 "" | " "*) ;;
   5946 *) reload_flag=" $reload_flag" ;;
   5947 esac
   5948 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5949 case $host_os in
   5950   cygwin* | mingw* | windows* | pw32* | cegcc*)
   5951     if test yes != "$GCC"; then
   5952       reload_cmds=false
   5953     fi
   5954     ;;
   5955   darwin*)
   5956     if test yes = "$GCC"; then
   5957       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   5958     else
   5959       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5960     fi
   5961     ;;
   5962 esac
   5963 
   5964 
   5965 
   5966 
   5967 
   5968 
   5969 
   5970 
   5971 
   5972 # Extract the first word of "file", so it can be a program name with args.
   5973 set dummy file; ac_word=$2
   5974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5975 printf %s "checking for $ac_word... " >&6; }
   5976 if test ${ac_cv_prog_FILECMD+y}
   5977 then :
   5978   printf %s "(cached) " >&6
   5979 else case e in #(
   5980   e) if test -n "$FILECMD"; then
   5981   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   5982 else
   5983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5984 for as_dir in $PATH
   5985 do
   5986   IFS=$as_save_IFS
   5987   case $as_dir in #(((
   5988     '') as_dir=./ ;;
   5989     */) ;;
   5990     *) as_dir=$as_dir/ ;;
   5991   esac
   5992     for ac_exec_ext in '' $ac_executable_extensions; do
   5993   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5994     ac_cv_prog_FILECMD="file"
   5995     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5996     break 2
   5997   fi
   5998 done
   5999   done
   6000 IFS=$as_save_IFS
   6001 
   6002   test -z "$ac_cv_prog_FILECMD" && ac_cv_prog_FILECMD=":"
   6003 fi ;;
   6004 esac
   6005 fi
   6006 FILECMD=$ac_cv_prog_FILECMD
   6007 if test -n "$FILECMD"; then
   6008   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   6009 printf "%s\n" "$FILECMD" >&6; }
   6010 else
   6011   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6012 printf "%s\n" "no" >&6; }
   6013 fi
   6014 
   6015 
   6016 
   6017 
   6018 
   6019 
   6020 
   6021 
   6022 if test -n "$ac_tool_prefix"; then
   6023   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6024 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6026 printf %s "checking for $ac_word... " >&6; }
   6027 if test ${ac_cv_prog_OBJDUMP+y}
   6028 then :
   6029   printf %s "(cached) " >&6
   6030 else case e in #(
   6031   e) if test -n "$OBJDUMP"; then
   6032   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6033 else
   6034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6035 for as_dir in $PATH
   6036 do
   6037   IFS=$as_save_IFS
   6038   case $as_dir in #(((
   6039     '') as_dir=./ ;;
   6040     */) ;;
   6041     *) as_dir=$as_dir/ ;;
   6042   esac
   6043     for ac_exec_ext in '' $ac_executable_extensions; do
   6044   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6045     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6046     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6047     break 2
   6048   fi
   6049 done
   6050   done
   6051 IFS=$as_save_IFS
   6052 
   6053 fi ;;
   6054 esac
   6055 fi
   6056 OBJDUMP=$ac_cv_prog_OBJDUMP
   6057 if test -n "$OBJDUMP"; then
   6058   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   6059 printf "%s\n" "$OBJDUMP" >&6; }
   6060 else
   6061   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6062 printf "%s\n" "no" >&6; }
   6063 fi
   6064 
   6065 
   6066 fi
   6067 if test -z "$ac_cv_prog_OBJDUMP"; then
   6068   ac_ct_OBJDUMP=$OBJDUMP
   6069   # Extract the first word of "objdump", so it can be a program name with args.
   6070 set dummy objdump; ac_word=$2
   6071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6072 printf %s "checking for $ac_word... " >&6; }
   6073 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   6074 then :
   6075   printf %s "(cached) " >&6
   6076 else case e in #(
   6077   e) if test -n "$ac_ct_OBJDUMP"; then
   6078   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6079 else
   6080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6081 for as_dir in $PATH
   6082 do
   6083   IFS=$as_save_IFS
   6084   case $as_dir in #(((
   6085     '') as_dir=./ ;;
   6086     */) ;;
   6087     *) as_dir=$as_dir/ ;;
   6088   esac
   6089     for ac_exec_ext in '' $ac_executable_extensions; do
   6090   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6091     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6092     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6093     break 2
   6094   fi
   6095 done
   6096   done
   6097 IFS=$as_save_IFS
   6098 
   6099 fi ;;
   6100 esac
   6101 fi
   6102 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6103 if test -n "$ac_ct_OBJDUMP"; then
   6104   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6105 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   6106 else
   6107   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6108 printf "%s\n" "no" >&6; }
   6109 fi
   6110 
   6111   if test "x$ac_ct_OBJDUMP" = x; then
   6112     OBJDUMP="false"
   6113   else
   6114     case $cross_compiling:$ac_tool_warned in
   6115 yes:)
   6116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6117 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6118 ac_tool_warned=yes ;;
   6119 esac
   6120     OBJDUMP=$ac_ct_OBJDUMP
   6121   fi
   6122 else
   6123   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6124 fi
   6125 
   6126 test -z "$OBJDUMP" && OBJDUMP=objdump
   6127 
   6128 
   6129 
   6130 
   6131 
   6132 
   6133 
   6134 
   6135 
   6136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6137 printf %s "checking how to recognize dependent libraries... " >&6; }
   6138 if test ${lt_cv_deplibs_check_method+y}
   6139 then :
   6140   printf %s "(cached) " >&6
   6141 else case e in #(
   6142   e) lt_cv_file_magic_cmd='$MAGIC_CMD'
   6143 lt_cv_file_magic_test_file=
   6144 lt_cv_deplibs_check_method='unknown'
   6145 # Need to set the preceding variable on all platforms that support
   6146 # interlibrary dependencies.
   6147 # 'none' -- dependencies not supported.
   6148 # 'unknown' -- same as none, but documents that we really don't know.
   6149 # 'pass_all' -- all dependencies passed with no checks.
   6150 # 'file_magic [[regex]]' -- check by looking for files in library path
   6151 # that responds to the $file_magic_cmd with a given extended regex.
   6152 # If you have 'file' or equivalent on your system and you're not sure
   6153 # whether 'pass_all' will *always* work, you probably want this one.
   6154 
   6155 case $host_os in
   6156 aix[4-9]*)
   6157   lt_cv_deplibs_check_method=pass_all
   6158   ;;
   6159 
   6160 beos*)
   6161   lt_cv_deplibs_check_method=pass_all
   6162   ;;
   6163 
   6164 bsdi[45]*)
   6165   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6166   lt_cv_file_magic_cmd='$FILECMD -L'
   6167   lt_cv_file_magic_test_file=/shlib/libc.so
   6168   ;;
   6169 
   6170 cygwin*)
   6171   # func_win32_libid is a shell function defined in ltmain.sh
   6172   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6173   lt_cv_file_magic_cmd='func_win32_libid'
   6174   ;;
   6175 
   6176 mingw* | windows* | pw32*)
   6177   # Base MSYS/MinGW do not provide the 'file' command needed by
   6178   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6179   # unless we find 'file', for example because we are cross-compiling.
   6180   if ( file / ) >/dev/null 2>&1; then
   6181     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6182     lt_cv_file_magic_cmd='func_win32_libid'
   6183   else
   6184     # Keep this pattern in sync with the one in func_win32_libid.
   6185     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|pe-aarch64)'
   6186     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6187   fi
   6188   ;;
   6189 
   6190 cegcc*)
   6191   # use the weaker test based on 'objdump'. See mingw*.
   6192   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6193   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6194   ;;
   6195 
   6196 darwin* | rhapsody*)
   6197   lt_cv_deplibs_check_method=pass_all
   6198   ;;
   6199 
   6200 freebsd* | dragonfly* | midnightbsd*)
   6201   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6202     case $host_cpu in
   6203     i*86 )
   6204       # Not sure whether the presence of OpenBSD here was a mistake.
   6205       # Let's accept both of them until this is cleared up.
   6206       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6207       lt_cv_file_magic_cmd=$FILECMD
   6208       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6209       ;;
   6210     esac
   6211   else
   6212     lt_cv_deplibs_check_method=pass_all
   6213   fi
   6214   ;;
   6215 
   6216 haiku*)
   6217   lt_cv_deplibs_check_method=pass_all
   6218   ;;
   6219 
   6220 hpux10.20* | hpux11*)
   6221   lt_cv_file_magic_cmd=$FILECMD
   6222   case $host_cpu in
   6223   ia64*)
   6224     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6225     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6226     ;;
   6227   hppa*64*)
   6228     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]'
   6229     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6230     ;;
   6231   *)
   6232     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6233     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6234     ;;
   6235   esac
   6236   ;;
   6237 
   6238 interix[3-9]*)
   6239   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6240   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6241   ;;
   6242 
   6243 irix5* | irix6* | nonstopux*)
   6244   case $LD in
   6245   *-32|*"-32 ") libmagic=32-bit;;
   6246   *-n32|*"-n32 ") libmagic=N32;;
   6247   *-64|*"-64 ") libmagic=64-bit;;
   6248   *) libmagic=never-match;;
   6249   esac
   6250   lt_cv_deplibs_check_method=pass_all
   6251   ;;
   6252 
   6253 # This must be glibc/ELF.
   6254 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   6255   lt_cv_deplibs_check_method=pass_all
   6256   ;;
   6257 
   6258 *-mlibc)
   6259   lt_cv_deplibs_check_method=pass_all
   6260   ;;
   6261 
   6262 netbsd* | netbsdelf*-gnu)
   6263   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6264     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6265   else
   6266     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6267   fi
   6268   ;;
   6269 
   6270 newos6*)
   6271   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6272   lt_cv_file_magic_cmd=$FILECMD
   6273   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6274   ;;
   6275 
   6276 *nto* | *qnx*)
   6277   lt_cv_deplibs_check_method=pass_all
   6278   ;;
   6279 
   6280 openbsd*)
   6281   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   6282     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6283   else
   6284     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6285   fi
   6286   ;;
   6287 
   6288 osf3* | osf4* | osf5*)
   6289   lt_cv_deplibs_check_method=pass_all
   6290   ;;
   6291 
   6292 rdos*)
   6293   lt_cv_deplibs_check_method=pass_all
   6294   ;;
   6295 
   6296 serenity*)
   6297   lt_cv_deplibs_check_method=pass_all
   6298   ;;
   6299 
   6300 solaris*)
   6301   lt_cv_deplibs_check_method=pass_all
   6302   ;;
   6303 
   6304 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6305   lt_cv_deplibs_check_method=pass_all
   6306   ;;
   6307 
   6308 sysv4 | sysv4.3*)
   6309   case $host_vendor in
   6310   motorola)
   6311     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]'
   6312     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6313     ;;
   6314   ncr)
   6315     lt_cv_deplibs_check_method=pass_all
   6316     ;;
   6317   sequent)
   6318     lt_cv_file_magic_cmd='/bin/file'
   6319     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6320     ;;
   6321   sni)
   6322     lt_cv_file_magic_cmd='/bin/file'
   6323     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6324     lt_cv_file_magic_test_file=/lib/libc.so
   6325     ;;
   6326   siemens)
   6327     lt_cv_deplibs_check_method=pass_all
   6328     ;;
   6329   pc)
   6330     lt_cv_deplibs_check_method=pass_all
   6331     ;;
   6332   esac
   6333   ;;
   6334 
   6335 tpf*)
   6336   lt_cv_deplibs_check_method=pass_all
   6337   ;;
   6338 os2*)
   6339   lt_cv_deplibs_check_method=pass_all
   6340   ;;
   6341 esac
   6342  ;;
   6343 esac
   6344 fi
   6345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6346 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   6347 
   6348 file_magic_glob=
   6349 want_nocaseglob=no
   6350 if test "$build" = "$host"; then
   6351   case $host_os in
   6352   mingw* | windows* | pw32*)
   6353     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6354       want_nocaseglob=yes
   6355     else
   6356       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6357     fi
   6358     ;;
   6359   esac
   6360 fi
   6361 
   6362 file_magic_cmd=$lt_cv_file_magic_cmd
   6363 deplibs_check_method=$lt_cv_deplibs_check_method
   6364 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6365 
   6366 
   6367 
   6368 
   6369 
   6370 
   6371 
   6372 
   6373 
   6374 
   6375 
   6376 
   6377 
   6378 
   6379 
   6380 
   6381 
   6382 
   6383 
   6384 
   6385 
   6386 
   6387 if test -n "$ac_tool_prefix"; then
   6388   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6389 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6391 printf %s "checking for $ac_word... " >&6; }
   6392 if test ${ac_cv_prog_DLLTOOL+y}
   6393 then :
   6394   printf %s "(cached) " >&6
   6395 else case e in #(
   6396   e) if test -n "$DLLTOOL"; then
   6397   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6398 else
   6399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6400 for as_dir in $PATH
   6401 do
   6402   IFS=$as_save_IFS
   6403   case $as_dir in #(((
   6404     '') as_dir=./ ;;
   6405     */) ;;
   6406     *) as_dir=$as_dir/ ;;
   6407   esac
   6408     for ac_exec_ext in '' $ac_executable_extensions; do
   6409   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6410     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6411     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6412     break 2
   6413   fi
   6414 done
   6415   done
   6416 IFS=$as_save_IFS
   6417 
   6418 fi ;;
   6419 esac
   6420 fi
   6421 DLLTOOL=$ac_cv_prog_DLLTOOL
   6422 if test -n "$DLLTOOL"; then
   6423   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6424 printf "%s\n" "$DLLTOOL" >&6; }
   6425 else
   6426   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6427 printf "%s\n" "no" >&6; }
   6428 fi
   6429 
   6430 
   6431 fi
   6432 if test -z "$ac_cv_prog_DLLTOOL"; then
   6433   ac_ct_DLLTOOL=$DLLTOOL
   6434   # Extract the first word of "dlltool", so it can be a program name with args.
   6435 set dummy dlltool; ac_word=$2
   6436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6437 printf %s "checking for $ac_word... " >&6; }
   6438 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   6439 then :
   6440   printf %s "(cached) " >&6
   6441 else case e in #(
   6442   e) if test -n "$ac_ct_DLLTOOL"; then
   6443   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6444 else
   6445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6446 for as_dir in $PATH
   6447 do
   6448   IFS=$as_save_IFS
   6449   case $as_dir in #(((
   6450     '') as_dir=./ ;;
   6451     */) ;;
   6452     *) as_dir=$as_dir/ ;;
   6453   esac
   6454     for ac_exec_ext in '' $ac_executable_extensions; do
   6455   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6456     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6457     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6458     break 2
   6459   fi
   6460 done
   6461   done
   6462 IFS=$as_save_IFS
   6463 
   6464 fi ;;
   6465 esac
   6466 fi
   6467 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6468 if test -n "$ac_ct_DLLTOOL"; then
   6469   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6470 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   6471 else
   6472   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6473 printf "%s\n" "no" >&6; }
   6474 fi
   6475 
   6476   if test "x$ac_ct_DLLTOOL" = x; then
   6477     DLLTOOL="false"
   6478   else
   6479     case $cross_compiling:$ac_tool_warned in
   6480 yes:)
   6481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6482 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6483 ac_tool_warned=yes ;;
   6484 esac
   6485     DLLTOOL=$ac_ct_DLLTOOL
   6486   fi
   6487 else
   6488   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6489 fi
   6490 
   6491 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6492 
   6493 
   6494 
   6495 
   6496 
   6497 
   6498 
   6499 
   6500 
   6501 
   6502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6503 printf %s "checking how to associate runtime and link libraries... " >&6; }
   6504 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   6505 then :
   6506   printf %s "(cached) " >&6
   6507 else case e in #(
   6508   e) lt_cv_sharedlib_from_linklib_cmd='unknown'
   6509 
   6510 case $host_os in
   6511 cygwin* | mingw* | windows* | pw32* | cegcc*)
   6512   # two different shell functions defined in ltmain.sh;
   6513   # decide which one to use based on capabilities of $DLLTOOL
   6514   case `$DLLTOOL --help 2>&1` in
   6515   *--identify-strict*)
   6516     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6517     ;;
   6518   *)
   6519     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6520     ;;
   6521   esac
   6522   ;;
   6523 *)
   6524   # fallback: assume linklib IS sharedlib
   6525   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   6526   ;;
   6527 esac
   6528  ;;
   6529 esac
   6530 fi
   6531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6532 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6533 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6534 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6535 
   6536 
   6537 
   6538 
   6539 
   6540 
   6541 
   6542 
   6543 if test -n "$ac_tool_prefix"; then
   6544   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6545 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6547 printf %s "checking for $ac_word... " >&6; }
   6548 if test ${ac_cv_prog_RANLIB+y}
   6549 then :
   6550   printf %s "(cached) " >&6
   6551 else case e in #(
   6552   e) if test -n "$RANLIB"; then
   6553   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6554 else
   6555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6556 for as_dir in $PATH
   6557 do
   6558   IFS=$as_save_IFS
   6559   case $as_dir in #(((
   6560     '') as_dir=./ ;;
   6561     */) ;;
   6562     *) as_dir=$as_dir/ ;;
   6563   esac
   6564     for ac_exec_ext in '' $ac_executable_extensions; do
   6565   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6566     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6567     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6568     break 2
   6569   fi
   6570 done
   6571   done
   6572 IFS=$as_save_IFS
   6573 
   6574 fi ;;
   6575 esac
   6576 fi
   6577 RANLIB=$ac_cv_prog_RANLIB
   6578 if test -n "$RANLIB"; then
   6579   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6580 printf "%s\n" "$RANLIB" >&6; }
   6581 else
   6582   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6583 printf "%s\n" "no" >&6; }
   6584 fi
   6585 
   6586 
   6587 fi
   6588 if test -z "$ac_cv_prog_RANLIB"; then
   6589   ac_ct_RANLIB=$RANLIB
   6590   # Extract the first word of "ranlib", so it can be a program name with args.
   6591 set dummy ranlib; ac_word=$2
   6592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6593 printf %s "checking for $ac_word... " >&6; }
   6594 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   6595 then :
   6596   printf %s "(cached) " >&6
   6597 else case e in #(
   6598   e) if test -n "$ac_ct_RANLIB"; then
   6599   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6600 else
   6601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6602 for as_dir in $PATH
   6603 do
   6604   IFS=$as_save_IFS
   6605   case $as_dir in #(((
   6606     '') as_dir=./ ;;
   6607     */) ;;
   6608     *) as_dir=$as_dir/ ;;
   6609   esac
   6610     for ac_exec_ext in '' $ac_executable_extensions; do
   6611   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6612     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6613     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6614     break 2
   6615   fi
   6616 done
   6617   done
   6618 IFS=$as_save_IFS
   6619 
   6620 fi ;;
   6621 esac
   6622 fi
   6623 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6624 if test -n "$ac_ct_RANLIB"; then
   6625   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6626 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   6627 else
   6628   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6629 printf "%s\n" "no" >&6; }
   6630 fi
   6631 
   6632   if test "x$ac_ct_RANLIB" = x; then
   6633     RANLIB=":"
   6634   else
   6635     case $cross_compiling:$ac_tool_warned in
   6636 yes:)
   6637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6638 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6639 ac_tool_warned=yes ;;
   6640 esac
   6641     RANLIB=$ac_ct_RANLIB
   6642   fi
   6643 else
   6644   RANLIB="$ac_cv_prog_RANLIB"
   6645 fi
   6646 
   6647 if test -n "$ac_tool_prefix"; then
   6648   for ac_prog in ar
   6649   do
   6650     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6651 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6653 printf %s "checking for $ac_word... " >&6; }
   6654 if test ${ac_cv_prog_AR+y}
   6655 then :
   6656   printf %s "(cached) " >&6
   6657 else case e in #(
   6658   e) if test -n "$AR"; then
   6659   ac_cv_prog_AR="$AR" # Let the user override the test.
   6660 else
   6661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6662 for as_dir in $PATH
   6663 do
   6664   IFS=$as_save_IFS
   6665   case $as_dir in #(((
   6666     '') as_dir=./ ;;
   6667     */) ;;
   6668     *) as_dir=$as_dir/ ;;
   6669   esac
   6670     for ac_exec_ext in '' $ac_executable_extensions; do
   6671   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6672     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6673     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6674     break 2
   6675   fi
   6676 done
   6677   done
   6678 IFS=$as_save_IFS
   6679 
   6680 fi ;;
   6681 esac
   6682 fi
   6683 AR=$ac_cv_prog_AR
   6684 if test -n "$AR"; then
   6685   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6686 printf "%s\n" "$AR" >&6; }
   6687 else
   6688   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6689 printf "%s\n" "no" >&6; }
   6690 fi
   6691 
   6692 
   6693     test -n "$AR" && break
   6694   done
   6695 fi
   6696 if test -z "$AR"; then
   6697   ac_ct_AR=$AR
   6698   for ac_prog in ar
   6699 do
   6700   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6701 set dummy $ac_prog; ac_word=$2
   6702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6703 printf %s "checking for $ac_word... " >&6; }
   6704 if test ${ac_cv_prog_ac_ct_AR+y}
   6705 then :
   6706   printf %s "(cached) " >&6
   6707 else case e in #(
   6708   e) if test -n "$ac_ct_AR"; then
   6709   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6710 else
   6711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6712 for as_dir in $PATH
   6713 do
   6714   IFS=$as_save_IFS
   6715   case $as_dir in #(((
   6716     '') as_dir=./ ;;
   6717     */) ;;
   6718     *) as_dir=$as_dir/ ;;
   6719   esac
   6720     for ac_exec_ext in '' $ac_executable_extensions; do
   6721   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6722     ac_cv_prog_ac_ct_AR="$ac_prog"
   6723     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6724     break 2
   6725   fi
   6726 done
   6727   done
   6728 IFS=$as_save_IFS
   6729 
   6730 fi ;;
   6731 esac
   6732 fi
   6733 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6734 if test -n "$ac_ct_AR"; then
   6735   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6736 printf "%s\n" "$ac_ct_AR" >&6; }
   6737 else
   6738   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6739 printf "%s\n" "no" >&6; }
   6740 fi
   6741 
   6742 
   6743   test -n "$ac_ct_AR" && break
   6744 done
   6745 
   6746   if test "x$ac_ct_AR" = x; then
   6747     AR="false"
   6748   else
   6749     case $cross_compiling:$ac_tool_warned in
   6750 yes:)
   6751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6752 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6753 ac_tool_warned=yes ;;
   6754 esac
   6755     AR=$ac_ct_AR
   6756   fi
   6757 fi
   6758 
   6759 : ${AR=ar}
   6760 
   6761 
   6762 
   6763 
   6764 
   6765 
   6766 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   6767 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   6768 # higher priority because that's what people were doing historically (setting
   6769 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   6770 # variable obsoleted/removed.
   6771 
   6772 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   6773 lt_ar_flags=$AR_FLAGS
   6774 
   6775 
   6776 
   6777 
   6778 
   6779 
   6780 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   6781 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   6782 
   6783 
   6784 
   6785 
   6786 
   6787 
   6788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6789 printf %s "checking for archiver @FILE support... " >&6; }
   6790 if test ${lt_cv_ar_at_file+y}
   6791 then :
   6792   printf %s "(cached) " >&6
   6793 else case e in #(
   6794   e) lt_cv_ar_at_file=no
   6795    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6796 /* end confdefs.h.  */
   6797 
   6798 int
   6799 main (void)
   6800 {
   6801 
   6802   ;
   6803   return 0;
   6804 }
   6805 _ACEOF
   6806 if ac_fn_c_try_compile "$LINENO"
   6807 then :
   6808   echo conftest.$ac_objext > conftest.lst
   6809       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6810       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6811   (eval $lt_ar_try) 2>&5
   6812   ac_status=$?
   6813   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6814   test $ac_status = 0; }
   6815       if test 0 -eq "$ac_status"; then
   6816 	# Ensure the archiver fails upon bogus file names.
   6817 	rm -f conftest.$ac_objext libconftest.a
   6818 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6819   (eval $lt_ar_try) 2>&5
   6820   ac_status=$?
   6821   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6822   test $ac_status = 0; }
   6823 	if test 0 -ne "$ac_status"; then
   6824           lt_cv_ar_at_file=@
   6825         fi
   6826       fi
   6827       rm -f conftest.* libconftest.a
   6828 
   6829 fi
   6830 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   6831    ;;
   6832 esac
   6833 fi
   6834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6835 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   6836 
   6837 if test no = "$lt_cv_ar_at_file"; then
   6838   archiver_list_spec=
   6839 else
   6840   archiver_list_spec=$lt_cv_ar_at_file
   6841 fi
   6842 
   6843 
   6844 
   6845 
   6846 
   6847 
   6848 
   6849 if test -n "$ac_tool_prefix"; then
   6850   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6851 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6853 printf %s "checking for $ac_word... " >&6; }
   6854 if test ${ac_cv_prog_STRIP+y}
   6855 then :
   6856   printf %s "(cached) " >&6
   6857 else case e in #(
   6858   e) if test -n "$STRIP"; then
   6859   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6860 else
   6861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6862 for as_dir in $PATH
   6863 do
   6864   IFS=$as_save_IFS
   6865   case $as_dir in #(((
   6866     '') as_dir=./ ;;
   6867     */) ;;
   6868     *) as_dir=$as_dir/ ;;
   6869   esac
   6870     for ac_exec_ext in '' $ac_executable_extensions; do
   6871   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6872     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6873     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6874     break 2
   6875   fi
   6876 done
   6877   done
   6878 IFS=$as_save_IFS
   6879 
   6880 fi ;;
   6881 esac
   6882 fi
   6883 STRIP=$ac_cv_prog_STRIP
   6884 if test -n "$STRIP"; then
   6885   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6886 printf "%s\n" "$STRIP" >&6; }
   6887 else
   6888   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6889 printf "%s\n" "no" >&6; }
   6890 fi
   6891 
   6892 
   6893 fi
   6894 if test -z "$ac_cv_prog_STRIP"; then
   6895   ac_ct_STRIP=$STRIP
   6896   # Extract the first word of "strip", so it can be a program name with args.
   6897 set dummy strip; ac_word=$2
   6898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6899 printf %s "checking for $ac_word... " >&6; }
   6900 if test ${ac_cv_prog_ac_ct_STRIP+y}
   6901 then :
   6902   printf %s "(cached) " >&6
   6903 else case e in #(
   6904   e) if test -n "$ac_ct_STRIP"; then
   6905   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6906 else
   6907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6908 for as_dir in $PATH
   6909 do
   6910   IFS=$as_save_IFS
   6911   case $as_dir in #(((
   6912     '') as_dir=./ ;;
   6913     */) ;;
   6914     *) as_dir=$as_dir/ ;;
   6915   esac
   6916     for ac_exec_ext in '' $ac_executable_extensions; do
   6917   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6918     ac_cv_prog_ac_ct_STRIP="strip"
   6919     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6920     break 2
   6921   fi
   6922 done
   6923   done
   6924 IFS=$as_save_IFS
   6925 
   6926 fi ;;
   6927 esac
   6928 fi
   6929 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6930 if test -n "$ac_ct_STRIP"; then
   6931   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6932 printf "%s\n" "$ac_ct_STRIP" >&6; }
   6933 else
   6934   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6935 printf "%s\n" "no" >&6; }
   6936 fi
   6937 
   6938   if test "x$ac_ct_STRIP" = x; then
   6939     STRIP=":"
   6940   else
   6941     case $cross_compiling:$ac_tool_warned in
   6942 yes:)
   6943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6944 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6945 ac_tool_warned=yes ;;
   6946 esac
   6947     STRIP=$ac_ct_STRIP
   6948   fi
   6949 else
   6950   STRIP="$ac_cv_prog_STRIP"
   6951 fi
   6952 
   6953 test -z "$STRIP" && STRIP=:
   6954 
   6955 
   6956 
   6957 
   6958 
   6959 
   6960 
   6961 test -z "$RANLIB" && RANLIB=:
   6962 
   6963 
   6964 
   6965 
   6966 
   6967 
   6968 # Determine commands to create old-style static archives.
   6969 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6970 old_postinstall_cmds='chmod 644 $oldlib'
   6971 old_postuninstall_cmds=
   6972 
   6973 if test -n "$RANLIB"; then
   6974   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   6975   old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   6976 fi
   6977 
   6978 case $host_os in
   6979   darwin*)
   6980     lock_old_archive_extraction=yes ;;
   6981   *)
   6982     lock_old_archive_extraction=no ;;
   6983 esac
   6984 
   6985 
   6986 
   6987 
   6988 
   6989 
   6990 
   6991 
   6992 
   6993 
   6994 
   6995 
   6996 
   6997 
   6998 
   6999 
   7000 
   7001 
   7002 
   7003 
   7004 
   7005 
   7006 
   7007 
   7008 
   7009 
   7010 
   7011 
   7012 
   7013 
   7014 
   7015 
   7016 
   7017 
   7018 
   7019 
   7020 
   7021 
   7022 
   7023 # If no C compiler was specified, use CC.
   7024 LTCC=${LTCC-"$CC"}
   7025 
   7026 # If no C compiler flags were specified, use CFLAGS.
   7027 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7028 
   7029 # Allow CC to be a program name with arguments.
   7030 compiler=$CC
   7031 
   7032 
   7033 # Check for command to grab the raw symbol name followed by C symbol from nm.
   7034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   7035 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   7036 if test ${lt_cv_sys_global_symbol_pipe+y}
   7037 then :
   7038   printf %s "(cached) " >&6
   7039 else case e in #(
   7040   e)
   7041 # These are sane defaults that work on at least a few old systems.
   7042 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   7043 
   7044 # Character class describing NM global symbol codes.
   7045 symcode='[BCDEGRST]'
   7046 
   7047 # Regexp to match symbols that can be accessed directly from C.
   7048 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   7049 
   7050 # Define system-specific variables.
   7051 case $host_os in
   7052 aix*)
   7053   symcode='[BCDT]'
   7054   ;;
   7055 cygwin* | mingw* | windows* | pw32* | cegcc*)
   7056   symcode='[ABCDGISTW]'
   7057   ;;
   7058 hpux*)
   7059   if test ia64 = "$host_cpu"; then
   7060     symcode='[ABCDEGRST]'
   7061   fi
   7062   ;;
   7063 irix* | nonstopux*)
   7064   symcode='[BCDEGRST]'
   7065   ;;
   7066 osf*)
   7067   symcode='[BCDEGQRST]'
   7068   ;;
   7069 solaris*)
   7070   symcode='[BCDRT]'
   7071   ;;
   7072 sco3.2v5*)
   7073   symcode='[DT]'
   7074   ;;
   7075 sysv4.2uw2*)
   7076   symcode='[DT]'
   7077   ;;
   7078 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   7079   symcode='[ABDT]'
   7080   ;;
   7081 sysv4)
   7082   symcode='[DFNSTU]'
   7083   ;;
   7084 esac
   7085 
   7086 # If we're using GNU nm, then use its standard symbol codes.
   7087 case `$NM -V 2>&1` in
   7088 *GNU* | *'with BFD'*)
   7089   symcode='[ABCDGIRSTW]' ;;
   7090 esac
   7091 
   7092 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7093   # Gets list of data symbols to import.
   7094   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   7095   # Adjust the below global symbol transforms to fixup imported variables.
   7096   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   7097   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   7098   lt_c_name_lib_hook="\
   7099   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   7100   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   7101 else
   7102   # Disable hooks by default.
   7103   lt_cv_sys_global_symbol_to_import=
   7104   lt_cdecl_hook=
   7105   lt_c_name_hook=
   7106   lt_c_name_lib_hook=
   7107 fi
   7108 
   7109 # Transform an extracted symbol line into a proper C declaration.
   7110 # Some systems (esp. on ia64) link data and code symbols differently,
   7111 # so use this general approach.
   7112 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   7113 $lt_cdecl_hook\
   7114 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   7115 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   7116 
   7117 # Transform an extracted symbol line into symbol name and symbol address
   7118 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   7119 $lt_c_name_hook\
   7120 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7121 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   7122 
   7123 # Transform an extracted symbol line into symbol name with lib prefix and
   7124 # symbol address.
   7125 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   7126 $lt_c_name_lib_hook\
   7127 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7128 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   7129 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   7130 
   7131 # Handle CRLF in mingw tool chain
   7132 opt_cr=
   7133 case $build_os in
   7134 mingw* | windows*)
   7135   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7136   ;;
   7137 esac
   7138 
   7139 # Try without a prefix underscore, then with it.
   7140 for ac_symprfx in "" "_"; do
   7141 
   7142   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7143   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7144 
   7145   # Write the raw and C identifiers.
   7146   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7147     # Fake it for dumpbin and say T for any non-static function,
   7148     # D for any global variable and I for any imported variable.
   7149     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   7150     # which start with @ or ?.
   7151     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7152 "     {last_section=section; section=\$ 3};"\
   7153 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   7154 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7155 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   7156 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   7157 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   7158 "     \$ 0!~/External *\|/{next};"\
   7159 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7160 "     {if(hide[section]) next};"\
   7161 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   7162 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   7163 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   7164 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   7165 "     ' prfx=^$ac_symprfx"
   7166   else
   7167     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7168   fi
   7169   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   7170 
   7171   # Check to see that the pipe works correctly.
   7172   pipe_works=no
   7173 
   7174   rm -f conftest*
   7175   cat > conftest.$ac_ext <<_LT_EOF
   7176 #ifdef __cplusplus
   7177 extern "C" {
   7178 #endif
   7179 char nm_test_var;
   7180 void nm_test_func(void);
   7181 void nm_test_func(void){}
   7182 #ifdef __cplusplus
   7183 }
   7184 #endif
   7185 int main(void){nm_test_var='a';nm_test_func();return(0);}
   7186 _LT_EOF
   7187 
   7188   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7189   (eval $ac_compile) 2>&5
   7190   ac_status=$?
   7191   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7192   test $ac_status = 0; }; then
   7193     # Now try to grab the symbols.
   7194     nlist=conftest.nm
   7195     $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
   7196     if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
   7197       # Try sorting and uniquifying the output.
   7198       if sort "$nlist" | uniq > "$nlist"T; then
   7199 	mv -f "$nlist"T "$nlist"
   7200       else
   7201 	rm -f "$nlist"T
   7202       fi
   7203 
   7204       # Make sure that we snagged all the symbols we need.
   7205       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7206 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7207 	  cat <<_LT_EOF > conftest.$ac_ext
   7208 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   7209 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   7210 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   7211    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   7212 # define LT_DLSYM_CONST
   7213 #elif defined __osf__
   7214 /* This system does not cope well with relocations in const data.  */
   7215 # define LT_DLSYM_CONST
   7216 #else
   7217 # define LT_DLSYM_CONST const
   7218 #endif
   7219 
   7220 #ifdef __cplusplus
   7221 extern "C" {
   7222 #endif
   7223 
   7224 _LT_EOF
   7225 	  # Now generate the symbol file.
   7226 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7227 
   7228 	  cat <<_LT_EOF >> conftest.$ac_ext
   7229 
   7230 /* The mapping between symbol names and symbols.  */
   7231 LT_DLSYM_CONST struct {
   7232   const char *name;
   7233   void       *address;
   7234 }
   7235 lt__PROGRAM__LTX_preloaded_symbols[] =
   7236 {
   7237   { "@PROGRAM@", (void *) 0 },
   7238 _LT_EOF
   7239 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7240 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7241   {0, (void *) 0}
   7242 };
   7243 
   7244 /* This works around a problem in FreeBSD linker */
   7245 #ifdef FREEBSD_WORKAROUND
   7246 static const void *lt_preloaded_setup() {
   7247   return lt__PROGRAM__LTX_preloaded_symbols;
   7248 }
   7249 #endif
   7250 
   7251 #ifdef __cplusplus
   7252 }
   7253 #endif
   7254 _LT_EOF
   7255 	  # Now try linking the two files.
   7256 	  mv conftest.$ac_objext conftstm.$ac_objext
   7257 	  lt_globsym_save_LIBS=$LIBS
   7258 	  lt_globsym_save_CFLAGS=$CFLAGS
   7259 	  LIBS=conftstm.$ac_objext
   7260 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7261 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7262   (eval $ac_link) 2>&5
   7263   ac_status=$?
   7264   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7265   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   7266 	    pipe_works=yes
   7267 	  fi
   7268 	  LIBS=$lt_globsym_save_LIBS
   7269 	  CFLAGS=$lt_globsym_save_CFLAGS
   7270 	else
   7271 	  echo "cannot find nm_test_func in $nlist" >&5
   7272 	fi
   7273       else
   7274 	echo "cannot find nm_test_var in $nlist" >&5
   7275       fi
   7276     else
   7277       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7278     fi
   7279   else
   7280     echo "$progname: failed program was:" >&5
   7281     cat conftest.$ac_ext >&5
   7282   fi
   7283   rm -rf conftest* conftst*
   7284 
   7285   # Do not use the global_symbol_pipe unless it works.
   7286   if test yes = "$pipe_works"; then
   7287     break
   7288   else
   7289     lt_cv_sys_global_symbol_pipe=
   7290   fi
   7291 done
   7292  ;;
   7293 esac
   7294 fi
   7295 
   7296 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7297   lt_cv_sys_global_symbol_to_cdecl=
   7298 fi
   7299 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7300   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7301 printf "%s\n" "failed" >&6; }
   7302 else
   7303   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7304 printf "%s\n" "ok" >&6; }
   7305 fi
   7306 
   7307 # Response file support.
   7308 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7309   nm_file_list_spec='@'
   7310 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7311   nm_file_list_spec='@'
   7312 fi
   7313 
   7314 
   7315 
   7316 
   7317 
   7318 
   7319 
   7320 
   7321 
   7322 
   7323 
   7324 
   7325 
   7326 
   7327 
   7328 
   7329 
   7330 
   7331 
   7332 
   7333 
   7334 
   7335 
   7336 
   7337 
   7338 
   7339 
   7340 
   7341 
   7342 
   7343 
   7344 
   7345 
   7346 
   7347 
   7348 
   7349 
   7350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7351 printf %s "checking for sysroot... " >&6; }
   7352 
   7353 # Check whether --with-sysroot was given.
   7354 if test ${with_sysroot+y}
   7355 then :
   7356   withval=$with_sysroot;
   7357 else case e in #(
   7358   e) with_sysroot=no ;;
   7359 esac
   7360 fi
   7361 
   7362 
   7363 lt_sysroot=
   7364 case $with_sysroot in #(
   7365  yes)
   7366    if test yes = "$GCC"; then
   7367      # Trim trailing / since we'll always append absolute paths and we want
   7368      # to avoid //, if only for less confusing output for the user.
   7369      lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'`
   7370    fi
   7371    ;; #(
   7372  /*)
   7373    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   7374    ;; #(
   7375  no|'')
   7376    ;; #(
   7377  *)
   7378    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   7379 printf "%s\n" "$with_sysroot" >&6; }
   7380    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7381    ;;
   7382 esac
   7383 
   7384  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7385 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   7386 
   7387 
   7388 
   7389 
   7390 
   7391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   7392 printf %s "checking for a working dd... " >&6; }
   7393 if test ${ac_cv_path_lt_DD+y}
   7394 then :
   7395   printf %s "(cached) " >&6
   7396 else case e in #(
   7397   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   7398 cat conftest.i conftest.i >conftest2.i
   7399 : ${lt_DD:=$DD}
   7400 if test -z "$lt_DD"; then
   7401   ac_path_lt_DD_found=false
   7402   # Loop through the user's path and test for each of PROGNAME-LIST
   7403   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7404 for as_dir in $PATH
   7405 do
   7406   IFS=$as_save_IFS
   7407   case $as_dir in #(((
   7408     '') as_dir=./ ;;
   7409     */) ;;
   7410     *) as_dir=$as_dir/ ;;
   7411   esac
   7412     for ac_prog in dd
   7413    do
   7414     for ac_exec_ext in '' $ac_executable_extensions; do
   7415       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   7416       as_fn_executable_p "$ac_path_lt_DD" || continue
   7417 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7418   cmp -s conftest.i conftest.out \
   7419   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   7420 fi
   7421       $ac_path_lt_DD_found && break 3
   7422     done
   7423   done
   7424   done
   7425 IFS=$as_save_IFS
   7426   if test -z "$ac_cv_path_lt_DD"; then
   7427     :
   7428   fi
   7429 else
   7430   ac_cv_path_lt_DD=$lt_DD
   7431 fi
   7432 
   7433 rm -f conftest.i conftest2.i conftest.out ;;
   7434 esac
   7435 fi
   7436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   7437 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   7438 
   7439 
   7440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   7441 printf %s "checking how to truncate binary pipes... " >&6; }
   7442 if test ${lt_cv_truncate_bin+y}
   7443 then :
   7444   printf %s "(cached) " >&6
   7445 else case e in #(
   7446   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   7447 cat conftest.i conftest.i >conftest2.i
   7448 lt_cv_truncate_bin=
   7449 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7450   cmp -s conftest.i conftest.out \
   7451   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   7452 fi
   7453 rm -f conftest.i conftest2.i conftest.out
   7454 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;;
   7455 esac
   7456 fi
   7457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   7458 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   7459 
   7460 
   7461 
   7462 
   7463 
   7464 
   7465 
   7466 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   7467 func_cc_basename ()
   7468 {
   7469     for cc_temp in $*""; do
   7470       case $cc_temp in
   7471         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7472         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7473         \-*) ;;
   7474         *) break;;
   7475       esac
   7476     done
   7477     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7478 }
   7479 
   7480 # Check whether --enable-libtool-lock was given.
   7481 if test ${enable_libtool_lock+y}
   7482 then :
   7483   enableval=$enable_libtool_lock;
   7484 fi
   7485 
   7486 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   7487 
   7488 # Some flags need to be propagated to the compiler or linker for good
   7489 # libtool support.
   7490 case $host in
   7491 ia64-*-hpux*)
   7492   # Find out what ABI is being produced by ac_compile, and set mode
   7493   # options accordingly.
   7494   echo 'int i;' > conftest.$ac_ext
   7495   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7496   (eval $ac_compile) 2>&5
   7497   ac_status=$?
   7498   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7499   test $ac_status = 0; }; then
   7500     case `$FILECMD conftest.$ac_objext` in
   7501       *ELF-32*)
   7502 	HPUX_IA64_MODE=32
   7503 	;;
   7504       *ELF-64*)
   7505 	HPUX_IA64_MODE=64
   7506 	;;
   7507     esac
   7508   fi
   7509   rm -rf conftest*
   7510   ;;
   7511 *-*-irix6*)
   7512   # Find out what ABI is being produced by ac_compile, and set linker
   7513   # options accordingly.
   7514   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7515   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7516   (eval $ac_compile) 2>&5
   7517   ac_status=$?
   7518   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7519   test $ac_status = 0; }; then
   7520     if test yes = "$lt_cv_prog_gnu_ld"; then
   7521       case `$FILECMD conftest.$ac_objext` in
   7522 	*32-bit*)
   7523 	  LD="${LD-ld} -melf32bsmip"
   7524 	  ;;
   7525 	*N32*)
   7526 	  LD="${LD-ld} -melf32bmipn32"
   7527 	  ;;
   7528 	*64-bit*)
   7529 	  LD="${LD-ld} -melf64bmip"
   7530 	;;
   7531       esac
   7532     else
   7533       case `$FILECMD conftest.$ac_objext` in
   7534 	*32-bit*)
   7535 	  LD="${LD-ld} -32"
   7536 	  ;;
   7537 	*N32*)
   7538 	  LD="${LD-ld} -n32"
   7539 	  ;;
   7540 	*64-bit*)
   7541 	  LD="${LD-ld} -64"
   7542 	  ;;
   7543       esac
   7544     fi
   7545   fi
   7546   rm -rf conftest*
   7547   ;;
   7548 
   7549 mips64*-*linux*)
   7550   # Find out what ABI is being produced by ac_compile, and set linker
   7551   # options accordingly.
   7552   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7553   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7554   (eval $ac_compile) 2>&5
   7555   ac_status=$?
   7556   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7557   test $ac_status = 0; }; then
   7558     emul=elf
   7559     case `$FILECMD conftest.$ac_objext` in
   7560       *32-bit*)
   7561 	emul="${emul}32"
   7562 	;;
   7563       *64-bit*)
   7564 	emul="${emul}64"
   7565 	;;
   7566     esac
   7567     case `$FILECMD conftest.$ac_objext` in
   7568       *MSB*)
   7569 	emul="${emul}btsmip"
   7570 	;;
   7571       *LSB*)
   7572 	emul="${emul}ltsmip"
   7573 	;;
   7574     esac
   7575     case `$FILECMD conftest.$ac_objext` in
   7576       *N32*)
   7577 	emul="${emul}n32"
   7578 	;;
   7579     esac
   7580     LD="${LD-ld} -m $emul"
   7581   fi
   7582   rm -rf conftest*
   7583   ;;
   7584 
   7585 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7586 s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*)
   7587   # Find out what ABI is being produced by ac_compile, and set linker
   7588   # options accordingly.  Note that the listed cases only cover the
   7589   # situations where additional linker options are needed (such as when
   7590   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   7591   # vice versa); the common cases where no linker options are needed do
   7592   # not appear in the list.
   7593   echo 'int i;' > conftest.$ac_ext
   7594   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7595   (eval $ac_compile) 2>&5
   7596   ac_status=$?
   7597   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7598   test $ac_status = 0; }; then
   7599     case `$FILECMD conftest.o` in
   7600       *32-bit*)
   7601 	case $host in
   7602 	  x86_64-*kfreebsd*-gnu)
   7603 	    LD="${LD-ld} -m elf_i386_fbsd"
   7604 	    ;;
   7605 	  x86_64-*linux*|x86_64-gnu*)
   7606 	    case `$FILECMD conftest.o` in
   7607 	      *x86-64*)
   7608 		LD="${LD-ld} -m elf32_x86_64"
   7609 		;;
   7610 	      *)
   7611 		LD="${LD-ld} -m elf_i386"
   7612 		;;
   7613 	    esac
   7614 	    ;;
   7615 	  powerpc64le-*linux*)
   7616 	    LD="${LD-ld} -m elf32lppclinux"
   7617 	    ;;
   7618 	  powerpc64-*linux*)
   7619 	    LD="${LD-ld} -m elf32ppclinux"
   7620 	    ;;
   7621 	  s390x-*linux*)
   7622 	    LD="${LD-ld} -m elf_s390"
   7623 	    ;;
   7624 	  sparc64-*linux*)
   7625 	    LD="${LD-ld} -m elf32_sparc"
   7626 	    ;;
   7627 	esac
   7628 	;;
   7629       *64-bit*)
   7630 	case $host in
   7631 	  x86_64-*kfreebsd*-gnu)
   7632 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7633 	    ;;
   7634 	  x86_64-*linux*|x86_64-gnu*)
   7635 	    LD="${LD-ld} -m elf_x86_64"
   7636 	    ;;
   7637 	  powerpcle-*linux*)
   7638 	    LD="${LD-ld} -m elf64lppc"
   7639 	    ;;
   7640 	  powerpc-*linux*)
   7641 	    LD="${LD-ld} -m elf64ppc"
   7642 	    ;;
   7643 	  s390*-*linux*|s390*-*tpf*)
   7644 	    LD="${LD-ld} -m elf64_s390"
   7645 	    ;;
   7646 	  sparc*-*linux*)
   7647 	    LD="${LD-ld} -m elf64_sparc"
   7648 	    ;;
   7649 	esac
   7650 	;;
   7651     esac
   7652   fi
   7653   rm -rf conftest*
   7654   ;;
   7655 
   7656 *-*-sco3.2v5*)
   7657   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7658   SAVE_CFLAGS=$CFLAGS
   7659   CFLAGS="$CFLAGS -belf"
   7660   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7661 printf %s "checking whether the C compiler needs -belf... " >&6; }
   7662 if test ${lt_cv_cc_needs_belf+y}
   7663 then :
   7664   printf %s "(cached) " >&6
   7665 else case e in #(
   7666   e) ac_ext=c
   7667 ac_cpp='$CPP $CPPFLAGS'
   7668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7671 
   7672      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7673 /* end confdefs.h.  */
   7674 
   7675 int
   7676 main (void)
   7677 {
   7678 
   7679   ;
   7680   return 0;
   7681 }
   7682 _ACEOF
   7683 if ac_fn_c_try_link "$LINENO"
   7684 then :
   7685   lt_cv_cc_needs_belf=yes
   7686 else case e in #(
   7687   e) lt_cv_cc_needs_belf=no ;;
   7688 esac
   7689 fi
   7690 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7691     conftest$ac_exeext conftest.$ac_ext
   7692      ac_ext=c
   7693 ac_cpp='$CPP $CPPFLAGS'
   7694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7697  ;;
   7698 esac
   7699 fi
   7700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7701 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   7702   if test yes != "$lt_cv_cc_needs_belf"; then
   7703     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7704     CFLAGS=$SAVE_CFLAGS
   7705   fi
   7706   ;;
   7707 *-*solaris*)
   7708   # Find out what ABI is being produced by ac_compile, and set linker
   7709   # options accordingly.
   7710   echo 'int i;' > conftest.$ac_ext
   7711   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7712   (eval $ac_compile) 2>&5
   7713   ac_status=$?
   7714   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7715   test $ac_status = 0; }; then
   7716     case `$FILECMD conftest.o` in
   7717     *64-bit*)
   7718       case $lt_cv_prog_gnu_ld in
   7719       yes*)
   7720         case $host in
   7721         i?86-*-solaris*|x86_64-*-solaris*)
   7722           LD="${LD-ld} -m elf_x86_64"
   7723           ;;
   7724         sparc*-*-solaris*)
   7725           LD="${LD-ld} -m elf64_sparc"
   7726           ;;
   7727         esac
   7728         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7729         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7730           LD=${LD-ld}_sol2
   7731         fi
   7732         ;;
   7733       *)
   7734 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7735 	  LD="${LD-ld} -64"
   7736 	fi
   7737 	;;
   7738       esac
   7739       ;;
   7740     esac
   7741   fi
   7742   rm -rf conftest*
   7743   ;;
   7744 esac
   7745 
   7746 need_locks=$enable_libtool_lock
   7747 
   7748 if test -n "$ac_tool_prefix"; then
   7749   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7750 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7752 printf %s "checking for $ac_word... " >&6; }
   7753 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   7754 then :
   7755   printf %s "(cached) " >&6
   7756 else case e in #(
   7757   e) if test -n "$MANIFEST_TOOL"; then
   7758   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7759 else
   7760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7761 for as_dir in $PATH
   7762 do
   7763   IFS=$as_save_IFS
   7764   case $as_dir in #(((
   7765     '') as_dir=./ ;;
   7766     */) ;;
   7767     *) as_dir=$as_dir/ ;;
   7768   esac
   7769     for ac_exec_ext in '' $ac_executable_extensions; do
   7770   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7771     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7772     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7773     break 2
   7774   fi
   7775 done
   7776   done
   7777 IFS=$as_save_IFS
   7778 
   7779 fi ;;
   7780 esac
   7781 fi
   7782 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7783 if test -n "$MANIFEST_TOOL"; then
   7784   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7785 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   7786 else
   7787   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7788 printf "%s\n" "no" >&6; }
   7789 fi
   7790 
   7791 
   7792 fi
   7793 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7794   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7795   # Extract the first word of "mt", so it can be a program name with args.
   7796 set dummy mt; ac_word=$2
   7797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7798 printf %s "checking for $ac_word... " >&6; }
   7799 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   7800 then :
   7801   printf %s "(cached) " >&6
   7802 else case e in #(
   7803   e) if test -n "$ac_ct_MANIFEST_TOOL"; then
   7804   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7805 else
   7806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7807 for as_dir in $PATH
   7808 do
   7809   IFS=$as_save_IFS
   7810   case $as_dir in #(((
   7811     '') as_dir=./ ;;
   7812     */) ;;
   7813     *) as_dir=$as_dir/ ;;
   7814   esac
   7815     for ac_exec_ext in '' $ac_executable_extensions; do
   7816   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7817     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7818     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7819     break 2
   7820   fi
   7821 done
   7822   done
   7823 IFS=$as_save_IFS
   7824 
   7825 fi ;;
   7826 esac
   7827 fi
   7828 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7829 if test -n "$ac_ct_MANIFEST_TOOL"; then
   7830   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7831 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   7832 else
   7833   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7834 printf "%s\n" "no" >&6; }
   7835 fi
   7836 
   7837   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7838     MANIFEST_TOOL=":"
   7839   else
   7840     case $cross_compiling:$ac_tool_warned in
   7841 yes:)
   7842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7843 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7844 ac_tool_warned=yes ;;
   7845 esac
   7846     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7847   fi
   7848 else
   7849   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7850 fi
   7851 
   7852 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7854 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7855 if test ${lt_cv_path_manifest_tool+y}
   7856 then :
   7857   printf %s "(cached) " >&6
   7858 else case e in #(
   7859   e) lt_cv_path_manifest_tool=no
   7860   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7861   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7862   cat conftest.err >&5
   7863   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7864     lt_cv_path_manifest_tool=yes
   7865   fi
   7866   rm -f conftest* ;;
   7867 esac
   7868 fi
   7869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_manifest_tool" >&5
   7870 printf "%s\n" "$lt_cv_path_manifest_tool" >&6; }
   7871 if test yes != "$lt_cv_path_manifest_tool"; then
   7872   MANIFEST_TOOL=:
   7873 fi
   7874 
   7875 
   7876 
   7877 
   7878 
   7879 
   7880   case $host_os in
   7881     rhapsody* | darwin*)
   7882     if test -n "$ac_tool_prefix"; then
   7883   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7884 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7886 printf %s "checking for $ac_word... " >&6; }
   7887 if test ${ac_cv_prog_DSYMUTIL+y}
   7888 then :
   7889   printf %s "(cached) " >&6
   7890 else case e in #(
   7891   e) if test -n "$DSYMUTIL"; then
   7892   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7893 else
   7894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7895 for as_dir in $PATH
   7896 do
   7897   IFS=$as_save_IFS
   7898   case $as_dir in #(((
   7899     '') as_dir=./ ;;
   7900     */) ;;
   7901     *) as_dir=$as_dir/ ;;
   7902   esac
   7903     for ac_exec_ext in '' $ac_executable_extensions; do
   7904   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7905     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7906     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7907     break 2
   7908   fi
   7909 done
   7910   done
   7911 IFS=$as_save_IFS
   7912 
   7913 fi ;;
   7914 esac
   7915 fi
   7916 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7917 if test -n "$DSYMUTIL"; then
   7918   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7919 printf "%s\n" "$DSYMUTIL" >&6; }
   7920 else
   7921   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7922 printf "%s\n" "no" >&6; }
   7923 fi
   7924 
   7925 
   7926 fi
   7927 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7928   ac_ct_DSYMUTIL=$DSYMUTIL
   7929   # Extract the first word of "dsymutil", so it can be a program name with args.
   7930 set dummy dsymutil; ac_word=$2
   7931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7932 printf %s "checking for $ac_word... " >&6; }
   7933 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   7934 then :
   7935   printf %s "(cached) " >&6
   7936 else case e in #(
   7937   e) if test -n "$ac_ct_DSYMUTIL"; then
   7938   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7939 else
   7940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7941 for as_dir in $PATH
   7942 do
   7943   IFS=$as_save_IFS
   7944   case $as_dir in #(((
   7945     '') as_dir=./ ;;
   7946     */) ;;
   7947     *) as_dir=$as_dir/ ;;
   7948   esac
   7949     for ac_exec_ext in '' $ac_executable_extensions; do
   7950   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7951     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7952     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7953     break 2
   7954   fi
   7955 done
   7956   done
   7957 IFS=$as_save_IFS
   7958 
   7959 fi ;;
   7960 esac
   7961 fi
   7962 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7963 if test -n "$ac_ct_DSYMUTIL"; then
   7964   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7965 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   7966 else
   7967   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7968 printf "%s\n" "no" >&6; }
   7969 fi
   7970 
   7971   if test "x$ac_ct_DSYMUTIL" = x; then
   7972     DSYMUTIL=":"
   7973   else
   7974     case $cross_compiling:$ac_tool_warned in
   7975 yes:)
   7976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7977 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7978 ac_tool_warned=yes ;;
   7979 esac
   7980     DSYMUTIL=$ac_ct_DSYMUTIL
   7981   fi
   7982 else
   7983   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7984 fi
   7985 
   7986     if test -n "$ac_tool_prefix"; then
   7987   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7988 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7990 printf %s "checking for $ac_word... " >&6; }
   7991 if test ${ac_cv_prog_NMEDIT+y}
   7992 then :
   7993   printf %s "(cached) " >&6
   7994 else case e in #(
   7995   e) if test -n "$NMEDIT"; then
   7996   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7997 else
   7998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7999 for as_dir in $PATH
   8000 do
   8001   IFS=$as_save_IFS
   8002   case $as_dir in #(((
   8003     '') as_dir=./ ;;
   8004     */) ;;
   8005     *) as_dir=$as_dir/ ;;
   8006   esac
   8007     for ac_exec_ext in '' $ac_executable_extensions; do
   8008   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8009     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   8010     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8011     break 2
   8012   fi
   8013 done
   8014   done
   8015 IFS=$as_save_IFS
   8016 
   8017 fi ;;
   8018 esac
   8019 fi
   8020 NMEDIT=$ac_cv_prog_NMEDIT
   8021 if test -n "$NMEDIT"; then
   8022   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   8023 printf "%s\n" "$NMEDIT" >&6; }
   8024 else
   8025   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8026 printf "%s\n" "no" >&6; }
   8027 fi
   8028 
   8029 
   8030 fi
   8031 if test -z "$ac_cv_prog_NMEDIT"; then
   8032   ac_ct_NMEDIT=$NMEDIT
   8033   # Extract the first word of "nmedit", so it can be a program name with args.
   8034 set dummy nmedit; ac_word=$2
   8035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8036 printf %s "checking for $ac_word... " >&6; }
   8037 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   8038 then :
   8039   printf %s "(cached) " >&6
   8040 else case e in #(
   8041   e) if test -n "$ac_ct_NMEDIT"; then
   8042   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   8043 else
   8044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8045 for as_dir in $PATH
   8046 do
   8047   IFS=$as_save_IFS
   8048   case $as_dir in #(((
   8049     '') as_dir=./ ;;
   8050     */) ;;
   8051     *) as_dir=$as_dir/ ;;
   8052   esac
   8053     for ac_exec_ext in '' $ac_executable_extensions; do
   8054   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8055     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   8056     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8057     break 2
   8058   fi
   8059 done
   8060   done
   8061 IFS=$as_save_IFS
   8062 
   8063 fi ;;
   8064 esac
   8065 fi
   8066 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   8067 if test -n "$ac_ct_NMEDIT"; then
   8068   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   8069 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   8070 else
   8071   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8072 printf "%s\n" "no" >&6; }
   8073 fi
   8074 
   8075   if test "x$ac_ct_NMEDIT" = x; then
   8076     NMEDIT=":"
   8077   else
   8078     case $cross_compiling:$ac_tool_warned in
   8079 yes:)
   8080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8081 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8082 ac_tool_warned=yes ;;
   8083 esac
   8084     NMEDIT=$ac_ct_NMEDIT
   8085   fi
   8086 else
   8087   NMEDIT="$ac_cv_prog_NMEDIT"
   8088 fi
   8089 
   8090     if test -n "$ac_tool_prefix"; then
   8091   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   8092 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   8093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8094 printf %s "checking for $ac_word... " >&6; }
   8095 if test ${ac_cv_prog_LIPO+y}
   8096 then :
   8097   printf %s "(cached) " >&6
   8098 else case e in #(
   8099   e) if test -n "$LIPO"; then
   8100   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8101 else
   8102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8103 for as_dir in $PATH
   8104 do
   8105   IFS=$as_save_IFS
   8106   case $as_dir in #(((
   8107     '') as_dir=./ ;;
   8108     */) ;;
   8109     *) as_dir=$as_dir/ ;;
   8110   esac
   8111     for ac_exec_ext in '' $ac_executable_extensions; do
   8112   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8113     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   8114     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8115     break 2
   8116   fi
   8117 done
   8118   done
   8119 IFS=$as_save_IFS
   8120 
   8121 fi ;;
   8122 esac
   8123 fi
   8124 LIPO=$ac_cv_prog_LIPO
   8125 if test -n "$LIPO"; then
   8126   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8127 printf "%s\n" "$LIPO" >&6; }
   8128 else
   8129   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8130 printf "%s\n" "no" >&6; }
   8131 fi
   8132 
   8133 
   8134 fi
   8135 if test -z "$ac_cv_prog_LIPO"; then
   8136   ac_ct_LIPO=$LIPO
   8137   # Extract the first word of "lipo", so it can be a program name with args.
   8138 set dummy lipo; ac_word=$2
   8139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8140 printf %s "checking for $ac_word... " >&6; }
   8141 if test ${ac_cv_prog_ac_ct_LIPO+y}
   8142 then :
   8143   printf %s "(cached) " >&6
   8144 else case e in #(
   8145   e) if test -n "$ac_ct_LIPO"; then
   8146   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   8147 else
   8148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8149 for as_dir in $PATH
   8150 do
   8151   IFS=$as_save_IFS
   8152   case $as_dir in #(((
   8153     '') as_dir=./ ;;
   8154     */) ;;
   8155     *) as_dir=$as_dir/ ;;
   8156   esac
   8157     for ac_exec_ext in '' $ac_executable_extensions; do
   8158   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8159     ac_cv_prog_ac_ct_LIPO="lipo"
   8160     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8161     break 2
   8162   fi
   8163 done
   8164   done
   8165 IFS=$as_save_IFS
   8166 
   8167 fi ;;
   8168 esac
   8169 fi
   8170 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   8171 if test -n "$ac_ct_LIPO"; then
   8172   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   8173 printf "%s\n" "$ac_ct_LIPO" >&6; }
   8174 else
   8175   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8176 printf "%s\n" "no" >&6; }
   8177 fi
   8178 
   8179   if test "x$ac_ct_LIPO" = x; then
   8180     LIPO=":"
   8181   else
   8182     case $cross_compiling:$ac_tool_warned in
   8183 yes:)
   8184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8185 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8186 ac_tool_warned=yes ;;
   8187 esac
   8188     LIPO=$ac_ct_LIPO
   8189   fi
   8190 else
   8191   LIPO="$ac_cv_prog_LIPO"
   8192 fi
   8193 
   8194     if test -n "$ac_tool_prefix"; then
   8195   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   8196 set dummy ${ac_tool_prefix}otool; ac_word=$2
   8197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8198 printf %s "checking for $ac_word... " >&6; }
   8199 if test ${ac_cv_prog_OTOOL+y}
   8200 then :
   8201   printf %s "(cached) " >&6
   8202 else case e in #(
   8203   e) if test -n "$OTOOL"; then
   8204   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   8205 else
   8206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8207 for as_dir in $PATH
   8208 do
   8209   IFS=$as_save_IFS
   8210   case $as_dir in #(((
   8211     '') as_dir=./ ;;
   8212     */) ;;
   8213     *) as_dir=$as_dir/ ;;
   8214   esac
   8215     for ac_exec_ext in '' $ac_executable_extensions; do
   8216   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8217     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   8218     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8219     break 2
   8220   fi
   8221 done
   8222   done
   8223 IFS=$as_save_IFS
   8224 
   8225 fi ;;
   8226 esac
   8227 fi
   8228 OTOOL=$ac_cv_prog_OTOOL
   8229 if test -n "$OTOOL"; then
   8230   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   8231 printf "%s\n" "$OTOOL" >&6; }
   8232 else
   8233   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8234 printf "%s\n" "no" >&6; }
   8235 fi
   8236 
   8237 
   8238 fi
   8239 if test -z "$ac_cv_prog_OTOOL"; then
   8240   ac_ct_OTOOL=$OTOOL
   8241   # Extract the first word of "otool", so it can be a program name with args.
   8242 set dummy otool; ac_word=$2
   8243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8244 printf %s "checking for $ac_word... " >&6; }
   8245 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   8246 then :
   8247   printf %s "(cached) " >&6
   8248 else case e in #(
   8249   e) if test -n "$ac_ct_OTOOL"; then
   8250   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8251 else
   8252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8253 for as_dir in $PATH
   8254 do
   8255   IFS=$as_save_IFS
   8256   case $as_dir in #(((
   8257     '') as_dir=./ ;;
   8258     */) ;;
   8259     *) as_dir=$as_dir/ ;;
   8260   esac
   8261     for ac_exec_ext in '' $ac_executable_extensions; do
   8262   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8263     ac_cv_prog_ac_ct_OTOOL="otool"
   8264     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8265     break 2
   8266   fi
   8267 done
   8268   done
   8269 IFS=$as_save_IFS
   8270 
   8271 fi ;;
   8272 esac
   8273 fi
   8274 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8275 if test -n "$ac_ct_OTOOL"; then
   8276   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8277 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   8278 else
   8279   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8280 printf "%s\n" "no" >&6; }
   8281 fi
   8282 
   8283   if test "x$ac_ct_OTOOL" = x; then
   8284     OTOOL=":"
   8285   else
   8286     case $cross_compiling:$ac_tool_warned in
   8287 yes:)
   8288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8289 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8290 ac_tool_warned=yes ;;
   8291 esac
   8292     OTOOL=$ac_ct_OTOOL
   8293   fi
   8294 else
   8295   OTOOL="$ac_cv_prog_OTOOL"
   8296 fi
   8297 
   8298     if test -n "$ac_tool_prefix"; then
   8299   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8300 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8302 printf %s "checking for $ac_word... " >&6; }
   8303 if test ${ac_cv_prog_OTOOL64+y}
   8304 then :
   8305   printf %s "(cached) " >&6
   8306 else case e in #(
   8307   e) if test -n "$OTOOL64"; then
   8308   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8309 else
   8310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8311 for as_dir in $PATH
   8312 do
   8313   IFS=$as_save_IFS
   8314   case $as_dir in #(((
   8315     '') as_dir=./ ;;
   8316     */) ;;
   8317     *) as_dir=$as_dir/ ;;
   8318   esac
   8319     for ac_exec_ext in '' $ac_executable_extensions; do
   8320   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8321     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8322     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8323     break 2
   8324   fi
   8325 done
   8326   done
   8327 IFS=$as_save_IFS
   8328 
   8329 fi ;;
   8330 esac
   8331 fi
   8332 OTOOL64=$ac_cv_prog_OTOOL64
   8333 if test -n "$OTOOL64"; then
   8334   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8335 printf "%s\n" "$OTOOL64" >&6; }
   8336 else
   8337   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8338 printf "%s\n" "no" >&6; }
   8339 fi
   8340 
   8341 
   8342 fi
   8343 if test -z "$ac_cv_prog_OTOOL64"; then
   8344   ac_ct_OTOOL64=$OTOOL64
   8345   # Extract the first word of "otool64", so it can be a program name with args.
   8346 set dummy otool64; ac_word=$2
   8347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8348 printf %s "checking for $ac_word... " >&6; }
   8349 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   8350 then :
   8351   printf %s "(cached) " >&6
   8352 else case e in #(
   8353   e) if test -n "$ac_ct_OTOOL64"; then
   8354   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8355 else
   8356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8357 for as_dir in $PATH
   8358 do
   8359   IFS=$as_save_IFS
   8360   case $as_dir in #(((
   8361     '') as_dir=./ ;;
   8362     */) ;;
   8363     *) as_dir=$as_dir/ ;;
   8364   esac
   8365     for ac_exec_ext in '' $ac_executable_extensions; do
   8366   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8367     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8368     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8369     break 2
   8370   fi
   8371 done
   8372   done
   8373 IFS=$as_save_IFS
   8374 
   8375 fi ;;
   8376 esac
   8377 fi
   8378 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8379 if test -n "$ac_ct_OTOOL64"; then
   8380   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8381 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   8382 else
   8383   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8384 printf "%s\n" "no" >&6; }
   8385 fi
   8386 
   8387   if test "x$ac_ct_OTOOL64" = x; then
   8388     OTOOL64=":"
   8389   else
   8390     case $cross_compiling:$ac_tool_warned in
   8391 yes:)
   8392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8393 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8394 ac_tool_warned=yes ;;
   8395 esac
   8396     OTOOL64=$ac_ct_OTOOL64
   8397   fi
   8398 else
   8399   OTOOL64="$ac_cv_prog_OTOOL64"
   8400 fi
   8401 
   8402 
   8403 
   8404 
   8405 
   8406 
   8407 
   8408 
   8409 
   8410 
   8411 
   8412 
   8413 
   8414 
   8415 
   8416 
   8417 
   8418 
   8419 
   8420 
   8421 
   8422 
   8423 
   8424 
   8425 
   8426 
   8427 
   8428     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8429 printf %s "checking for -single_module linker flag... " >&6; }
   8430 if test ${lt_cv_apple_cc_single_mod+y}
   8431 then :
   8432   printf %s "(cached) " >&6
   8433 else case e in #(
   8434   e) lt_cv_apple_cc_single_mod=no
   8435       if test -z "$LT_MULTI_MODULE"; then
   8436 	# By default we will add the -single_module flag. You can override
   8437 	# by either setting the environment variable LT_MULTI_MODULE
   8438 	# non-empty at configure time, or by adding -multi_module to the
   8439 	# link flags.
   8440 	rm -rf libconftest.dylib*
   8441 	echo "int foo(void){return 1;}" > conftest.c
   8442 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8443 -dynamiclib -Wl,-single_module conftest.c" >&5
   8444 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8445 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8446         _lt_result=$?
   8447 	# If there is a non-empty error log, and "single_module"
   8448 	# appears in it, assume the flag caused a linker warning
   8449         if test -s conftest.err && $GREP single_module conftest.err; then
   8450 	  cat conftest.err >&5
   8451 	# Otherwise, if the output was created with a 0 exit code from
   8452 	# the compiler, it worked.
   8453 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   8454 	  lt_cv_apple_cc_single_mod=yes
   8455 	else
   8456 	  cat conftest.err >&5
   8457 	fi
   8458 	rm -rf libconftest.dylib*
   8459 	rm -f conftest.*
   8460       fi ;;
   8461 esac
   8462 fi
   8463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8464 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   8465 
   8466     # Feature test to disable chained fixups since it is not
   8467     # compatible with '-undefined dynamic_lookup'
   8468     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -no_fixup_chains linker flag" >&5
   8469 printf %s "checking for -no_fixup_chains linker flag... " >&6; }
   8470 if test ${lt_cv_support_no_fixup_chains+y}
   8471 then :
   8472   printf %s "(cached) " >&6
   8473 else case e in #(
   8474   e)  save_LDFLAGS=$LDFLAGS
   8475         LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains"
   8476         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8477 /* end confdefs.h.  */
   8478 
   8479 int
   8480 main (void)
   8481 {
   8482 
   8483   ;
   8484   return 0;
   8485 }
   8486 _ACEOF
   8487 if ac_fn_c_try_link "$LINENO"
   8488 then :
   8489   lt_cv_support_no_fixup_chains=yes
   8490 else case e in #(
   8491   e) lt_cv_support_no_fixup_chains=no
   8492          ;;
   8493 esac
   8494 fi
   8495 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8496     conftest$ac_exeext conftest.$ac_ext
   8497         LDFLAGS=$save_LDFLAGS
   8498 
   8499      ;;
   8500 esac
   8501 fi
   8502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_support_no_fixup_chains" >&5
   8503 printf "%s\n" "$lt_cv_support_no_fixup_chains" >&6; }
   8504 
   8505     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8506 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   8507 if test ${lt_cv_ld_exported_symbols_list+y}
   8508 then :
   8509   printf %s "(cached) " >&6
   8510 else case e in #(
   8511   e) lt_cv_ld_exported_symbols_list=no
   8512       save_LDFLAGS=$LDFLAGS
   8513       echo "_main" > conftest.sym
   8514       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8515       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8516 /* end confdefs.h.  */
   8517 
   8518 int
   8519 main (void)
   8520 {
   8521 
   8522   ;
   8523   return 0;
   8524 }
   8525 _ACEOF
   8526 if ac_fn_c_try_link "$LINENO"
   8527 then :
   8528   lt_cv_ld_exported_symbols_list=yes
   8529 else case e in #(
   8530   e) lt_cv_ld_exported_symbols_list=no ;;
   8531 esac
   8532 fi
   8533 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8534     conftest$ac_exeext conftest.$ac_ext
   8535 	LDFLAGS=$save_LDFLAGS
   8536      ;;
   8537 esac
   8538 fi
   8539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8540 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   8541 
   8542     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8543 printf %s "checking for -force_load linker flag... " >&6; }
   8544 if test ${lt_cv_ld_force_load+y}
   8545 then :
   8546   printf %s "(cached) " >&6
   8547 else case e in #(
   8548   e) lt_cv_ld_force_load=no
   8549       cat > conftest.c << _LT_EOF
   8550 int forced_loaded() { return 2;}
   8551 _LT_EOF
   8552       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8553       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8554       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   8555       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   8556       echo "$RANLIB libconftest.a" >&5
   8557       $RANLIB libconftest.a 2>&5
   8558       cat > conftest.c << _LT_EOF
   8559 int main(void) { return 0;}
   8560 _LT_EOF
   8561       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8562       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8563       _lt_result=$?
   8564       if test -s conftest.err && $GREP force_load conftest.err; then
   8565 	cat conftest.err >&5
   8566       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   8567 	lt_cv_ld_force_load=yes
   8568       else
   8569 	cat conftest.err >&5
   8570       fi
   8571         rm -f conftest.err libconftest.a conftest conftest.c
   8572         rm -rf conftest.dSYM
   8573      ;;
   8574 esac
   8575 fi
   8576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8577 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   8578     case $host_os in
   8579     rhapsody* | darwin1.[012])
   8580       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   8581     darwin1.*)
   8582       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8583     darwin*)
   8584       case $MACOSX_DEPLOYMENT_TARGET,$host in
   8585         10.[012],*|,*powerpc*-darwin[5-8]*)
   8586           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8587         *)
   8588           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup'
   8589           if test yes = "$lt_cv_support_no_fixup_chains"; then
   8590             as_fn_append _lt_dar_allow_undefined ' $wl-no_fixup_chains'
   8591           fi
   8592         ;;
   8593       esac
   8594     ;;
   8595   esac
   8596     if test yes = "$lt_cv_apple_cc_single_mod"; then
   8597       _lt_dar_single_mod='$single_module'
   8598     fi
   8599     _lt_dar_needs_single_mod=no
   8600     case $host_os in
   8601     rhapsody* | darwin1.*)
   8602       _lt_dar_needs_single_mod=yes ;;
   8603     darwin*)
   8604       # When targeting Mac OS X 10.4 (darwin 8) or later,
   8605       # -single_module is the default and -multi_module is unsupported.
   8606       # The toolchain on macOS 10.14 (darwin 18) and later cannot
   8607       # target any OS version that needs -single_module.
   8608       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   8609       10.0,*-darwin[567].*|10.[0-3],*-darwin[5-9].*|10.[0-3],*-darwin1[0-7].*)
   8610         _lt_dar_needs_single_mod=yes ;;
   8611       esac
   8612     ;;
   8613     esac
   8614     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   8615       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   8616     else
   8617       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   8618     fi
   8619     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   8620       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8621     else
   8622       _lt_dsymutil=
   8623     fi
   8624     ;;
   8625   esac
   8626 
   8627 # func_munge_path_list VARIABLE PATH
   8628 # -----------------------------------
   8629 # VARIABLE is name of variable containing _space_ separated list of
   8630 # directories to be munged by the contents of PATH, which is string
   8631 # having a format:
   8632 # "DIR[:DIR]:"
   8633 #       string "DIR[ DIR]" will be prepended to VARIABLE
   8634 # ":DIR[:DIR]"
   8635 #       string "DIR[ DIR]" will be appended to VARIABLE
   8636 # "DIRP[:DIRP]::[DIRA:]DIRA"
   8637 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   8638 #       "DIRA[ DIRA]" will be appended to VARIABLE
   8639 # "DIR[:DIR]"
   8640 #       VARIABLE will be replaced by "DIR[ DIR]"
   8641 func_munge_path_list ()
   8642 {
   8643     case x$2 in
   8644     x)
   8645         ;;
   8646     *:)
   8647         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   8648         ;;
   8649     x:*)
   8650         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   8651         ;;
   8652     *::*)
   8653         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   8654         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   8655         ;;
   8656     *)
   8657         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   8658         ;;
   8659     esac
   8660 }
   8661 
   8662 ac_header= ac_cache=
   8663 for ac_item in $ac_header_c_list
   8664 do
   8665   if test $ac_cache; then
   8666     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   8667     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   8668       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   8669     fi
   8670     ac_header= ac_cache=
   8671   elif test $ac_header; then
   8672     ac_cache=$ac_item
   8673   else
   8674     ac_header=$ac_item
   8675   fi
   8676 done
   8677 
   8678 
   8679 
   8680 
   8681 
   8682 
   8683 
   8684 
   8685 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   8686 then :
   8687 
   8688 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   8689 
   8690 fi
   8691 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8692 "
   8693 if test "x$ac_cv_header_dlfcn_h" = xyes
   8694 then :
   8695   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   8696 
   8697 fi
   8698 
   8699 
   8700 
   8701 
   8702 
   8703 # Set options
   8704 
   8705 
   8706 
   8707         enable_dlopen=no
   8708 
   8709 
   8710   enable_win32_dll=no
   8711 
   8712 
   8713             # Check whether --enable-shared was given.
   8714 if test ${enable_shared+y}
   8715 then :
   8716   enableval=$enable_shared; p=${PACKAGE-default}
   8717     case $enableval in
   8718     yes) enable_shared=yes ;;
   8719     no) enable_shared=no ;;
   8720     *)
   8721       enable_shared=no
   8722       # Look at the argument we got.  We use all the common list separators.
   8723       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8724       for pkg in $enableval; do
   8725 	IFS=$lt_save_ifs
   8726 	if test "X$pkg" = "X$p"; then
   8727 	  enable_shared=yes
   8728 	fi
   8729       done
   8730       IFS=$lt_save_ifs
   8731       ;;
   8732     esac
   8733 else case e in #(
   8734   e) enable_shared=yes ;;
   8735 esac
   8736 fi
   8737 
   8738 
   8739 
   8740 
   8741 
   8742 
   8743 
   8744 
   8745 
   8746   # Check whether --enable-static was given.
   8747 if test ${enable_static+y}
   8748 then :
   8749   enableval=$enable_static; p=${PACKAGE-default}
   8750     case $enableval in
   8751     yes) enable_static=yes ;;
   8752     no) enable_static=no ;;
   8753     *)
   8754      enable_static=no
   8755       # Look at the argument we got.  We use all the common list separators.
   8756       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8757       for pkg in $enableval; do
   8758 	IFS=$lt_save_ifs
   8759 	if test "X$pkg" = "X$p"; then
   8760 	  enable_static=yes
   8761 	fi
   8762       done
   8763       IFS=$lt_save_ifs
   8764       ;;
   8765     esac
   8766 else case e in #(
   8767   e) enable_static=yes ;;
   8768 esac
   8769 fi
   8770 
   8771 
   8772 
   8773 
   8774 
   8775 
   8776 
   8777 
   8778 
   8779   # Check whether --enable-pic was given.
   8780 if test ${enable_pic+y}
   8781 then :
   8782   enableval=$enable_pic; lt_p=${PACKAGE-default}
   8783      case $enableval in
   8784      yes|no) pic_mode=$enableval ;;
   8785      *)
   8786        pic_mode=default
   8787        # Look at the argument we got.  We use all the common list separators.
   8788        lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8789        for lt_pkg in $enableval; do
   8790 	 IFS=$lt_save_ifs
   8791 	 if test "X$lt_pkg" = "X$lt_p"; then
   8792 	   pic_mode=yes
   8793 	 fi
   8794        done
   8795        IFS=$lt_save_ifs
   8796        ;;
   8797      esac
   8798 else case e in #(
   8799   e)           # Check whether --with-pic was given.
   8800 if test ${with_pic+y}
   8801 then :
   8802   withval=$with_pic; lt_p=${PACKAGE-default}
   8803 	 case $withval in
   8804 	 yes|no) pic_mode=$withval ;;
   8805 	 *)
   8806 	   pic_mode=default
   8807 	   # Look at the argument we got.  We use all the common list separators.
   8808 	   lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8809 	   for lt_pkg in $withval; do
   8810 	     IFS=$lt_save_ifs
   8811 	     if test "X$lt_pkg" = "X$lt_p"; then
   8812 	       pic_mode=yes
   8813 	     fi
   8814 	   done
   8815 	   IFS=$lt_save_ifs
   8816 	   ;;
   8817 	 esac
   8818 else case e in #(
   8819   e) pic_mode=default ;;
   8820 esac
   8821 fi
   8822 
   8823      ;;
   8824 esac
   8825 fi
   8826 
   8827 
   8828 
   8829 
   8830 
   8831 
   8832 
   8833 
   8834   # Check whether --enable-fast-install was given.
   8835 if test ${enable_fast_install+y}
   8836 then :
   8837   enableval=$enable_fast_install; p=${PACKAGE-default}
   8838     case $enableval in
   8839     yes) enable_fast_install=yes ;;
   8840     no) enable_fast_install=no ;;
   8841     *)
   8842       enable_fast_install=no
   8843       # Look at the argument we got.  We use all the common list separators.
   8844       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8845       for pkg in $enableval; do
   8846 	IFS=$lt_save_ifs
   8847 	if test "X$pkg" = "X$p"; then
   8848 	  enable_fast_install=yes
   8849 	fi
   8850       done
   8851       IFS=$lt_save_ifs
   8852       ;;
   8853     esac
   8854 else case e in #(
   8855   e) enable_fast_install=yes ;;
   8856 esac
   8857 fi
   8858 
   8859 
   8860 
   8861 
   8862 
   8863 
   8864 
   8865 
   8866   shared_archive_member_spec=
   8867 case $host,$enable_shared in
   8868 power*-*-aix[5-9]*,yes)
   8869   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   8870 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   8871   # Check whether --enable-aix-soname was given.
   8872 if test ${enable_aix_soname+y}
   8873 then :
   8874   enableval=$enable_aix_soname; case $enableval in
   8875      aix|svr4|both)
   8876        ;;
   8877      *)
   8878        as_fn_error $? "Unknown argument to --enable-aix-soname" "$LINENO" 5
   8879        ;;
   8880      esac
   8881      lt_cv_with_aix_soname=$enable_aix_soname
   8882 else case e in #(
   8883   e) # Check whether --with-aix-soname was given.
   8884 if test ${with_aix_soname+y}
   8885 then :
   8886   withval=$with_aix_soname; case $withval in
   8887          aix|svr4|both)
   8888            ;;
   8889          *)
   8890            as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   8891            ;;
   8892          esac
   8893          lt_cv_with_aix_soname=$with_aix_soname
   8894 else case e in #(
   8895   e) if test ${lt_cv_with_aix_soname+y}
   8896 then :
   8897   printf %s "(cached) " >&6
   8898 else case e in #(
   8899   e) lt_cv_with_aix_soname=aix ;;
   8900 esac
   8901 fi
   8902  ;;
   8903 esac
   8904 fi
   8905 
   8906      enable_aix_soname=$lt_cv_with_aix_soname ;;
   8907 esac
   8908 fi
   8909 
   8910   with_aix_soname=$enable_aix_soname
   8911   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   8912 printf "%s\n" "$with_aix_soname" >&6; }
   8913   if test aix != "$with_aix_soname"; then
   8914     # For the AIX way of multilib, we name the shared archive member
   8915     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   8916     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   8917     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   8918     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   8919     if test 64 = "${OBJECT_MODE-32}"; then
   8920       shared_archive_member_spec=shr_64
   8921     else
   8922       shared_archive_member_spec=shr
   8923     fi
   8924   fi
   8925   ;;
   8926 *)
   8927   with_aix_soname=aix
   8928   ;;
   8929 esac
   8930 
   8931 
   8932 
   8933 
   8934 
   8935 
   8936 
   8937 
   8938 
   8939 
   8940 # This can be used to rebuild libtool when needed
   8941 LIBTOOL_DEPS=$ltmain
   8942 
   8943 # Always use our own libtool.
   8944 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8945 
   8946 
   8947 
   8948 
   8949 
   8950 
   8951 
   8952 
   8953 
   8954 
   8955 
   8956 
   8957 
   8958 
   8959 
   8960 
   8961 
   8962 
   8963 
   8964 
   8965 
   8966 
   8967 
   8968 
   8969 
   8970 
   8971 
   8972 
   8973 
   8974 
   8975 test -z "$LN_S" && LN_S="ln -s"
   8976 
   8977 
   8978 
   8979 
   8980 
   8981 
   8982 
   8983 
   8984 
   8985 
   8986 
   8987 
   8988 
   8989 
   8990 if test -n "${ZSH_VERSION+set}"; then
   8991    setopt NO_GLOB_SUBST
   8992 fi
   8993 
   8994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8995 printf %s "checking for objdir... " >&6; }
   8996 if test ${lt_cv_objdir+y}
   8997 then :
   8998   printf %s "(cached) " >&6
   8999 else case e in #(
   9000   e) rm -f .libs 2>/dev/null
   9001 mkdir .libs 2>/dev/null
   9002 if test -d .libs; then
   9003   lt_cv_objdir=.libs
   9004 else
   9005   # MS-DOS does not allow filenames that begin with a dot.
   9006   lt_cv_objdir=_libs
   9007 fi
   9008 rmdir .libs 2>/dev/null ;;
   9009 esac
   9010 fi
   9011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   9012 printf "%s\n" "$lt_cv_objdir" >&6; }
   9013 objdir=$lt_cv_objdir
   9014 
   9015 
   9016 
   9017 
   9018 
   9019 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   9020 
   9021 
   9022 
   9023 
   9024 case $host_os in
   9025 aix3*)
   9026   # AIX sometimes has problems with the GCC collect2 program.  For some
   9027   # reason, if we set the COLLECT_NAMES environment variable, the problems
   9028   # vanish in a puff of smoke.
   9029   if test set != "${COLLECT_NAMES+set}"; then
   9030     COLLECT_NAMES=
   9031     export COLLECT_NAMES
   9032   fi
   9033   ;;
   9034 esac
   9035 
   9036 # Global variables:
   9037 ofile=libtool
   9038 can_build_shared=yes
   9039 
   9040 # All known linkers require a '.a' archive for static linking (except MSVC and
   9041 # ICC, which need '.lib').
   9042 libext=a
   9043 
   9044 with_gnu_ld=$lt_cv_prog_gnu_ld
   9045 
   9046 old_CC=$CC
   9047 old_CFLAGS=$CFLAGS
   9048 
   9049 # Set sane defaults for various variables
   9050 test -z "$CC" && CC=cc
   9051 test -z "$LTCC" && LTCC=$CC
   9052 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   9053 test -z "$LD" && LD=ld
   9054 test -z "$ac_objext" && ac_objext=o
   9055 
   9056 func_cc_basename $compiler
   9057 cc_basename=$func_cc_basename_result
   9058 
   9059 
   9060 # Only perform the check for file, if the check method requires it
   9061 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   9062 case $deplibs_check_method in
   9063 file_magic*)
   9064   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   9065     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   9066 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   9067 if test ${lt_cv_path_MAGIC_CMD+y}
   9068 then :
   9069   printf %s "(cached) " >&6
   9070 else case e in #(
   9071   e) case $MAGIC_CMD in
   9072 [\\/*] |  ?:[\\/]*)
   9073   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9074   ;;
   9075 *)
   9076   lt_save_MAGIC_CMD=$MAGIC_CMD
   9077   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9078   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9079   for ac_dir in $ac_dummy; do
   9080     IFS=$lt_save_ifs
   9081     test -z "$ac_dir" && ac_dir=.
   9082     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   9083       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   9084       if test -n "$file_magic_test_file"; then
   9085 	case $deplibs_check_method in
   9086 	"file_magic "*)
   9087 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9088 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9089 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9090 	    $EGREP "$file_magic_regex" > /dev/null; then
   9091 	    :
   9092 	  else
   9093 	    cat <<_LT_EOF 1>&2
   9094 
   9095 *** Warning: the command libtool uses to detect shared libraries,
   9096 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9097 *** The result is that libtool may fail to recognize shared libraries
   9098 *** as such.  This will affect the creation of libtool libraries that
   9099 *** depend on shared libraries, but programs linked with such libtool
   9100 *** libraries will work regardless of this problem.  Nevertheless, you
   9101 *** may want to report the problem to your system manager and/or to
   9102 *** bug-libtool@gnu.org
   9103 
   9104 _LT_EOF
   9105 	  fi ;;
   9106 	esac
   9107       fi
   9108       break
   9109     fi
   9110   done
   9111   IFS=$lt_save_ifs
   9112   MAGIC_CMD=$lt_save_MAGIC_CMD
   9113   ;;
   9114 esac ;;
   9115 esac
   9116 fi
   9117 
   9118 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9119 if test -n "$MAGIC_CMD"; then
   9120   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9121 printf "%s\n" "$MAGIC_CMD" >&6; }
   9122 else
   9123   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9124 printf "%s\n" "no" >&6; }
   9125 fi
   9126 
   9127 
   9128 
   9129 
   9130 
   9131 if test -z "$lt_cv_path_MAGIC_CMD"; then
   9132   if test -n "$ac_tool_prefix"; then
   9133     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   9134 printf %s "checking for file... " >&6; }
   9135 if test ${lt_cv_path_MAGIC_CMD+y}
   9136 then :
   9137   printf %s "(cached) " >&6
   9138 else case e in #(
   9139   e) case $MAGIC_CMD in
   9140 [\\/*] |  ?:[\\/]*)
   9141   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9142   ;;
   9143 *)
   9144   lt_save_MAGIC_CMD=$MAGIC_CMD
   9145   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9146   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9147   for ac_dir in $ac_dummy; do
   9148     IFS=$lt_save_ifs
   9149     test -z "$ac_dir" && ac_dir=.
   9150     if test -f "$ac_dir/file"; then
   9151       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   9152       if test -n "$file_magic_test_file"; then
   9153 	case $deplibs_check_method in
   9154 	"file_magic "*)
   9155 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9156 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9157 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9158 	    $EGREP "$file_magic_regex" > /dev/null; then
   9159 	    :
   9160 	  else
   9161 	    cat <<_LT_EOF 1>&2
   9162 
   9163 *** Warning: the command libtool uses to detect shared libraries,
   9164 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9165 *** The result is that libtool may fail to recognize shared libraries
   9166 *** as such.  This will affect the creation of libtool libraries that
   9167 *** depend on shared libraries, but programs linked with such libtool
   9168 *** libraries will work regardless of this problem.  Nevertheless, you
   9169 *** may want to report the problem to your system manager and/or to
   9170 *** bug-libtool@gnu.org
   9171 
   9172 _LT_EOF
   9173 	  fi ;;
   9174 	esac
   9175       fi
   9176       break
   9177     fi
   9178   done
   9179   IFS=$lt_save_ifs
   9180   MAGIC_CMD=$lt_save_MAGIC_CMD
   9181   ;;
   9182 esac ;;
   9183 esac
   9184 fi
   9185 
   9186 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9187 if test -n "$MAGIC_CMD"; then
   9188   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9189 printf "%s\n" "$MAGIC_CMD" >&6; }
   9190 else
   9191   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9192 printf "%s\n" "no" >&6; }
   9193 fi
   9194 
   9195 
   9196   else
   9197     MAGIC_CMD=:
   9198   fi
   9199 fi
   9200 
   9201   fi
   9202   ;;
   9203 esac
   9204 
   9205 # Use C for the default configuration in the libtool script
   9206 
   9207 lt_save_CC=$CC
   9208 ac_ext=c
   9209 ac_cpp='$CPP $CPPFLAGS'
   9210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9213 
   9214 
   9215 # Source file extension for C test sources.
   9216 ac_ext=c
   9217 
   9218 # Object file extension for compiled C test sources.
   9219 objext=o
   9220 objext=$objext
   9221 
   9222 # Code to be used in simple compile tests
   9223 lt_simple_compile_test_code="int some_variable = 0;"
   9224 
   9225 # Code to be used in simple link tests
   9226 lt_simple_link_test_code='int main(void){return(0);}'
   9227 
   9228 
   9229 
   9230 
   9231 
   9232 
   9233 
   9234 # If no C compiler was specified, use CC.
   9235 LTCC=${LTCC-"$CC"}
   9236 
   9237 # If no C compiler flags were specified, use CFLAGS.
   9238 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   9239 
   9240 # Allow CC to be a program name with arguments.
   9241 compiler=$CC
   9242 
   9243 # Save the default compiler, since it gets overwritten when the other
   9244 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   9245 compiler_DEFAULT=$CC
   9246 
   9247 # save warnings/boilerplate of simple test code
   9248 ac_outfile=conftest.$ac_objext
   9249 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   9250 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9251 _lt_compiler_boilerplate=`cat conftest.err`
   9252 $RM conftest*
   9253 
   9254 ac_outfile=conftest.$ac_objext
   9255 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   9256 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9257 _lt_linker_boilerplate=`cat conftest.err`
   9258 $RM -r conftest*
   9259 
   9260 
   9261 ## CAVEAT EMPTOR:
   9262 ## There is no encapsulation within the following macros, do not change
   9263 ## the running order or otherwise move them around unless you know exactly
   9264 ## what you are doing...
   9265 if test -n "$compiler"; then
   9266 
   9267 lt_prog_compiler_no_builtin_flag=
   9268 
   9269 if test yes = "$GCC"; then
   9270   case $cc_basename in
   9271   nvcc*)
   9272     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   9273   *)
   9274     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   9275   esac
   9276 
   9277   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   9278 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   9279 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   9280 then :
   9281   printf %s "(cached) " >&6
   9282 else case e in #(
   9283   e) lt_cv_prog_compiler_rtti_exceptions=no
   9284    ac_outfile=conftest.$ac_objext
   9285    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9286    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   9287    # Insert the option either (1) after the last *FLAGS variable, or
   9288    # (2) before a word containing "conftest.", or (3) at the end.
   9289    # Note that $ac_compile itself does not contain backslashes and begins
   9290    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9291    # The option is referenced via a variable to avoid confusing sed.
   9292    lt_compile=`echo "$ac_compile" | $SED \
   9293    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9294    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9295    -e 's:$: $lt_compiler_flag:'`
   9296    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9297    (eval "$lt_compile" 2>conftest.err)
   9298    ac_status=$?
   9299    cat conftest.err >&5
   9300    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9301    if (exit $ac_status) && test -s "$ac_outfile"; then
   9302      # The compiler can only warn and ignore the option if not recognized
   9303      # So say no if there are warnings other than the usual output.
   9304      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9305      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9306      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9307        lt_cv_prog_compiler_rtti_exceptions=yes
   9308      fi
   9309    fi
   9310    $RM conftest*
   9311  ;;
   9312 esac
   9313 fi
   9314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   9315 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   9316 
   9317 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   9318     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   9319 else
   9320     :
   9321 fi
   9322 
   9323 fi
   9324 
   9325 
   9326 
   9327 
   9328 
   9329 
   9330   lt_prog_compiler_wl=
   9331 lt_prog_compiler_pic=
   9332 lt_prog_compiler_static=
   9333 
   9334 
   9335   if test yes = "$GCC"; then
   9336     lt_prog_compiler_wl='-Wl,'
   9337     lt_prog_compiler_static='-static'
   9338 
   9339     case $host_os in
   9340       aix*)
   9341       # All AIX code is PIC.
   9342       if test ia64 = "$host_cpu"; then
   9343 	# AIX 5 now supports IA64 processor
   9344 	lt_prog_compiler_static='-Bstatic'
   9345       fi
   9346       lt_prog_compiler_pic='-fPIC'
   9347       ;;
   9348 
   9349     amigaos*)
   9350       case $host_cpu in
   9351       powerpc)
   9352             # see comment about AmigaOS4 .so support
   9353             lt_prog_compiler_pic='-fPIC'
   9354         ;;
   9355       m68k)
   9356             # FIXME: we need at least 68020 code to build shared libraries, but
   9357             # adding the '-m68020' flag to GCC prevents building anything better,
   9358             # like '-m68040'.
   9359             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9360         ;;
   9361       esac
   9362       ;;
   9363 
   9364     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9365       # PIC is the default for these OSes.
   9366       ;;
   9367 
   9368     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   9369       # This hack is so that the source file can tell whether it is being
   9370       # built for inclusion in a dll (and should export symbols for example).
   9371       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9372       # (--disable-auto-import) libraries
   9373       lt_prog_compiler_pic='-DDLL_EXPORT'
   9374       case $host_os in
   9375       os2*)
   9376 	lt_prog_compiler_static='$wl-static'
   9377 	;;
   9378       esac
   9379       ;;
   9380 
   9381     darwin* | rhapsody*)
   9382       # PIC is the default on this platform
   9383       # Common symbols not allowed in MH_DYLIB files
   9384       lt_prog_compiler_pic='-fno-common'
   9385       ;;
   9386 
   9387     haiku*)
   9388       # PIC is the default for Haiku.
   9389       # The "-static" flag exists, but is broken.
   9390       lt_prog_compiler_static=
   9391       ;;
   9392 
   9393     hpux*)
   9394       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9395       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9396       # sets the default TLS model and affects inlining.
   9397       case $host_cpu in
   9398       hppa*64*)
   9399 	# +Z the default
   9400 	;;
   9401       *)
   9402 	lt_prog_compiler_pic='-fPIC'
   9403 	;;
   9404       esac
   9405       ;;
   9406 
   9407     interix[3-9]*)
   9408       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9409       # Instead, we relocate shared libraries at runtime.
   9410       ;;
   9411 
   9412     msdosdjgpp*)
   9413       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9414       # on systems that don't support them.
   9415       lt_prog_compiler_can_build_shared=no
   9416       enable_shared=no
   9417       ;;
   9418 
   9419     *nto* | *qnx*)
   9420       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9421       # it will coredump.
   9422       lt_prog_compiler_pic='-fPIC -shared'
   9423       ;;
   9424 
   9425     sysv4*MP*)
   9426       if test -d /usr/nec; then
   9427 	lt_prog_compiler_pic=-Kconform_pic
   9428       fi
   9429       ;;
   9430 
   9431     *)
   9432       lt_prog_compiler_pic='-fPIC'
   9433       ;;
   9434     esac
   9435 
   9436     case $cc_basename in
   9437     nvcc*) # Cuda Compiler Driver 2.2
   9438       lt_prog_compiler_wl='-Xlinker '
   9439       if test -n "$lt_prog_compiler_pic"; then
   9440         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   9441       fi
   9442       ;;
   9443     esac
   9444   else
   9445     # PORTME Check for flag to pass linker flags through the system compiler.
   9446     case $host_os in
   9447     aix*)
   9448       lt_prog_compiler_wl='-Wl,'
   9449       if test ia64 = "$host_cpu"; then
   9450 	# AIX 5 now supports IA64 processor
   9451 	lt_prog_compiler_static='-Bstatic'
   9452       else
   9453 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9454       fi
   9455       ;;
   9456 
   9457     darwin* | rhapsody*)
   9458       # PIC is the default on this platform
   9459       # Common symbols not allowed in MH_DYLIB files
   9460       lt_prog_compiler_pic='-fno-common'
   9461       case $cc_basename in
   9462       nagfor*)
   9463         # NAG Fortran compiler
   9464         lt_prog_compiler_wl='-Wl,-Wl,,'
   9465         lt_prog_compiler_pic='-PIC'
   9466         lt_prog_compiler_static='-Bstatic'
   9467         ;;
   9468       esac
   9469       ;;
   9470 
   9471     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   9472       # This hack is so that the source file can tell whether it is being
   9473       # built for inclusion in a dll (and should export symbols for example).
   9474       lt_prog_compiler_pic='-DDLL_EXPORT'
   9475       case $host_os in
   9476       os2*)
   9477 	lt_prog_compiler_static='$wl-static'
   9478 	;;
   9479       esac
   9480       ;;
   9481 
   9482     hpux9* | hpux10* | hpux11*)
   9483       lt_prog_compiler_wl='-Wl,'
   9484       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9485       # not for PA HP-UX.
   9486       case $host_cpu in
   9487       hppa*64*|ia64*)
   9488 	# +Z the default
   9489 	;;
   9490       *)
   9491 	lt_prog_compiler_pic='+Z'
   9492 	;;
   9493       esac
   9494       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9495       lt_prog_compiler_static='$wl-a ${wl}archive'
   9496       ;;
   9497 
   9498     irix5* | irix6* | nonstopux*)
   9499       lt_prog_compiler_wl='-Wl,'
   9500       # PIC (with -KPIC) is the default.
   9501       lt_prog_compiler_static='-non_shared'
   9502       ;;
   9503 
   9504     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   9505       case $cc_basename in
   9506       # old Intel for x86_64, which still supported -KPIC.
   9507       ecc*)
   9508 	lt_prog_compiler_wl='-Wl,'
   9509 	lt_prog_compiler_pic='-KPIC'
   9510 	lt_prog_compiler_static='-static'
   9511         ;;
   9512       *flang* | ftn | f18* | f95*)
   9513         # Flang compiler.
   9514 	lt_prog_compiler_wl='-Wl,'
   9515 	lt_prog_compiler_pic='-fPIC'
   9516 	lt_prog_compiler_static='-static'
   9517         ;;
   9518       # icc used to be incompatible with GCC.
   9519       # ICC 10 doesn't accept -KPIC any more.
   9520       icc* | ifort*)
   9521 	lt_prog_compiler_wl='-Wl,'
   9522 	lt_prog_compiler_pic='-fPIC'
   9523 	lt_prog_compiler_static='-static'
   9524         ;;
   9525       # Lahey Fortran 8.1.
   9526       lf95*)
   9527 	lt_prog_compiler_wl='-Wl,'
   9528 	lt_prog_compiler_pic='--shared'
   9529 	lt_prog_compiler_static='--static'
   9530 	;;
   9531       nagfor*)
   9532 	# NAG Fortran compiler
   9533 	lt_prog_compiler_wl='-Wl,-Wl,,'
   9534 	lt_prog_compiler_pic='-PIC'
   9535 	lt_prog_compiler_static='-Bstatic'
   9536 	;;
   9537       tcc*)
   9538 	# Fabrice Bellard et al's Tiny C Compiler
   9539 	lt_prog_compiler_wl='-Wl,'
   9540 	lt_prog_compiler_pic='-fPIC'
   9541 	lt_prog_compiler_static='-static'
   9542 	;;
   9543       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9544         # Portland Group compilers (*not* the Pentium gcc compiler,
   9545 	# which looks to be a dead project)
   9546 	lt_prog_compiler_wl='-Wl,'
   9547 	lt_prog_compiler_pic='-fpic'
   9548 	lt_prog_compiler_static='-Bstatic'
   9549         ;;
   9550       ccc*)
   9551         lt_prog_compiler_wl='-Wl,'
   9552         # All Alpha code is PIC.
   9553         lt_prog_compiler_static='-non_shared'
   9554         ;;
   9555       xl* | bgxl* | bgf* | mpixl*)
   9556 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9557 	lt_prog_compiler_wl='-Wl,'
   9558 	lt_prog_compiler_pic='-qpic'
   9559 	lt_prog_compiler_static='-qstaticlink'
   9560 	;;
   9561       *)
   9562 	case `$CC -V 2>&1 | $SED 5q` in
   9563 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   9564 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9565 	  lt_prog_compiler_pic='-KPIC'
   9566 	  lt_prog_compiler_static='-Bstatic'
   9567 	  lt_prog_compiler_wl=''
   9568 	  ;;
   9569 	*Sun\ F* | *Sun*Fortran*)
   9570 	  lt_prog_compiler_pic='-KPIC'
   9571 	  lt_prog_compiler_static='-Bstatic'
   9572 	  lt_prog_compiler_wl='-Qoption ld '
   9573 	  ;;
   9574 	*Sun\ C*)
   9575 	  # Sun C 5.9
   9576 	  lt_prog_compiler_pic='-KPIC'
   9577 	  lt_prog_compiler_static='-Bstatic'
   9578 	  lt_prog_compiler_wl='-Wl,'
   9579 	  ;;
   9580         *Intel*\ [CF]*Compiler*)
   9581 	  lt_prog_compiler_wl='-Wl,'
   9582 	  lt_prog_compiler_pic='-fPIC'
   9583 	  lt_prog_compiler_static='-static'
   9584 	  ;;
   9585 	*Portland\ Group*)
   9586 	  lt_prog_compiler_wl='-Wl,'
   9587 	  lt_prog_compiler_pic='-fpic'
   9588 	  lt_prog_compiler_static='-Bstatic'
   9589 	  ;;
   9590 	esac
   9591 	;;
   9592       esac
   9593       ;;
   9594 
   9595     newsos6)
   9596       lt_prog_compiler_pic='-KPIC'
   9597       lt_prog_compiler_static='-Bstatic'
   9598       ;;
   9599 
   9600     *-mlibc)
   9601       lt_prog_compiler_wl='-Wl,'
   9602       lt_prog_compiler_pic='-fPIC'
   9603       lt_prog_compiler_static='-static'
   9604       ;;
   9605 
   9606     *nto* | *qnx*)
   9607       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9608       # it will coredump.
   9609       lt_prog_compiler_pic='-fPIC -shared'
   9610       ;;
   9611 
   9612     osf3* | osf4* | osf5*)
   9613       lt_prog_compiler_wl='-Wl,'
   9614       # All OSF/1 code is PIC.
   9615       lt_prog_compiler_static='-non_shared'
   9616       ;;
   9617 
   9618     rdos*)
   9619       lt_prog_compiler_static='-non_shared'
   9620       ;;
   9621 
   9622     serenity*)
   9623       ;;
   9624 
   9625     solaris*)
   9626       lt_prog_compiler_pic='-KPIC'
   9627       lt_prog_compiler_static='-Bstatic'
   9628       case $cc_basename in
   9629       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   9630 	lt_prog_compiler_wl='-Qoption ld ';;
   9631       *)
   9632 	lt_prog_compiler_wl='-Wl,';;
   9633       esac
   9634       ;;
   9635 
   9636     sunos4*)
   9637       lt_prog_compiler_wl='-Qoption ld '
   9638       lt_prog_compiler_pic='-PIC'
   9639       lt_prog_compiler_static='-Bstatic'
   9640       ;;
   9641 
   9642     sysv4 | sysv4.2uw2* | sysv4.3*)
   9643       lt_prog_compiler_wl='-Wl,'
   9644       lt_prog_compiler_pic='-KPIC'
   9645       lt_prog_compiler_static='-Bstatic'
   9646       ;;
   9647 
   9648     sysv4*MP*)
   9649       if test -d /usr/nec; then
   9650 	lt_prog_compiler_pic='-Kconform_pic'
   9651 	lt_prog_compiler_static='-Bstatic'
   9652       fi
   9653       ;;
   9654 
   9655     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9656       lt_prog_compiler_wl='-Wl,'
   9657       lt_prog_compiler_pic='-KPIC'
   9658       lt_prog_compiler_static='-Bstatic'
   9659       ;;
   9660 
   9661     unicos*)
   9662       lt_prog_compiler_wl='-Wl,'
   9663       lt_prog_compiler_can_build_shared=no
   9664       ;;
   9665 
   9666     uts4*)
   9667       lt_prog_compiler_pic='-pic'
   9668       lt_prog_compiler_static='-Bstatic'
   9669       ;;
   9670 
   9671     *)
   9672       lt_prog_compiler_can_build_shared=no
   9673       ;;
   9674     esac
   9675   fi
   9676 
   9677 case $host_os in
   9678   # For platforms that do not support PIC, -DPIC is meaningless:
   9679   *djgpp*)
   9680     lt_prog_compiler_pic=
   9681     ;;
   9682   *)
   9683     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9684     ;;
   9685 esac
   9686 
   9687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9688 printf %s "checking for $compiler option to produce PIC... " >&6; }
   9689 if test ${lt_cv_prog_compiler_pic+y}
   9690 then :
   9691   printf %s "(cached) " >&6
   9692 else case e in #(
   9693   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
   9694 esac
   9695 fi
   9696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   9697 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   9698 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   9699 
   9700 #
   9701 # Check to make sure the PIC flag actually works.
   9702 #
   9703 if test -n "$lt_prog_compiler_pic"; then
   9704   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9705 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9706 if test ${lt_cv_prog_compiler_pic_works+y}
   9707 then :
   9708   printf %s "(cached) " >&6
   9709 else case e in #(
   9710   e) lt_cv_prog_compiler_pic_works=no
   9711    ac_outfile=conftest.$ac_objext
   9712    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9713    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   9714    # Insert the option either (1) after the last *FLAGS variable, or
   9715    # (2) before a word containing "conftest.", or (3) at the end.
   9716    # Note that $ac_compile itself does not contain backslashes and begins
   9717    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9718    # The option is referenced via a variable to avoid confusing sed.
   9719    lt_compile=`echo "$ac_compile" | $SED \
   9720    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9721    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9722    -e 's:$: $lt_compiler_flag:'`
   9723    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9724    (eval "$lt_compile" 2>conftest.err)
   9725    ac_status=$?
   9726    cat conftest.err >&5
   9727    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9728    if (exit $ac_status) && test -s "$ac_outfile"; then
   9729      # The compiler can only warn and ignore the option if not recognized
   9730      # So say no if there are warnings other than the usual output.
   9731      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9732      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9733      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9734        lt_cv_prog_compiler_pic_works=yes
   9735      fi
   9736    fi
   9737    $RM conftest*
   9738  ;;
   9739 esac
   9740 fi
   9741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9742 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   9743 
   9744 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   9745     case $lt_prog_compiler_pic in
   9746      "" | " "*) ;;
   9747      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9748      esac
   9749 else
   9750     lt_prog_compiler_pic=
   9751      lt_prog_compiler_can_build_shared=no
   9752 fi
   9753 
   9754 fi
   9755 
   9756 
   9757 
   9758 
   9759 
   9760 
   9761 
   9762 
   9763 
   9764 
   9765 
   9766 #
   9767 # Check to make sure the static flag actually works.
   9768 #
   9769 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9771 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9772 if test ${lt_cv_prog_compiler_static_works+y}
   9773 then :
   9774   printf %s "(cached) " >&6
   9775 else case e in #(
   9776   e) lt_cv_prog_compiler_static_works=no
   9777    save_LDFLAGS=$LDFLAGS
   9778    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9779    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9780    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9781      # The linker can only warn and ignore the option if not recognized
   9782      # So say no if there are warnings
   9783      if test -s conftest.err; then
   9784        # Append any errors to the config.log.
   9785        cat conftest.err 1>&5
   9786        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9787        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9788        if diff conftest.exp conftest.er2 >/dev/null; then
   9789          lt_cv_prog_compiler_static_works=yes
   9790        fi
   9791      else
   9792        lt_cv_prog_compiler_static_works=yes
   9793      fi
   9794    fi
   9795    $RM -r conftest*
   9796    LDFLAGS=$save_LDFLAGS
   9797  ;;
   9798 esac
   9799 fi
   9800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9801 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   9802 
   9803 if test yes = "$lt_cv_prog_compiler_static_works"; then
   9804     :
   9805 else
   9806     lt_prog_compiler_static=
   9807 fi
   9808 
   9809 
   9810 
   9811 
   9812 
   9813 
   9814 
   9815   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9816 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9817 if test ${lt_cv_prog_compiler_c_o+y}
   9818 then :
   9819   printf %s "(cached) " >&6
   9820 else case e in #(
   9821   e) lt_cv_prog_compiler_c_o=no
   9822    $RM -r conftest 2>/dev/null
   9823    mkdir conftest
   9824    cd conftest
   9825    mkdir out
   9826    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9827 
   9828    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9829    # Insert the option either (1) after the last *FLAGS variable, or
   9830    # (2) before a word containing "conftest.", or (3) at the end.
   9831    # Note that $ac_compile itself does not contain backslashes and begins
   9832    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9833    lt_compile=`echo "$ac_compile" | $SED \
   9834    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9835    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9836    -e 's:$: $lt_compiler_flag:'`
   9837    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9838    (eval "$lt_compile" 2>out/conftest.err)
   9839    ac_status=$?
   9840    cat out/conftest.err >&5
   9841    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9842    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9843    then
   9844      # The compiler can only warn and ignore the option if not recognized
   9845      # So say no if there are warnings
   9846      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9847      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9848      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9849        lt_cv_prog_compiler_c_o=yes
   9850      fi
   9851    fi
   9852    chmod u+w . 2>&5
   9853    $RM conftest*
   9854    # SGI C++ compiler will create directory out/ii_files/ for
   9855    # template instantiation
   9856    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9857    $RM out/* && rmdir out
   9858    cd ..
   9859    $RM -r conftest
   9860    $RM conftest*
   9861  ;;
   9862 esac
   9863 fi
   9864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9865 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9866 
   9867 
   9868 
   9869 
   9870 
   9871 
   9872   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9873 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9874 if test ${lt_cv_prog_compiler_c_o+y}
   9875 then :
   9876   printf %s "(cached) " >&6
   9877 else case e in #(
   9878   e) lt_cv_prog_compiler_c_o=no
   9879    $RM -r conftest 2>/dev/null
   9880    mkdir conftest
   9881    cd conftest
   9882    mkdir out
   9883    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9884 
   9885    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9886    # Insert the option either (1) after the last *FLAGS variable, or
   9887    # (2) before a word containing "conftest.", or (3) at the end.
   9888    # Note that $ac_compile itself does not contain backslashes and begins
   9889    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9890    lt_compile=`echo "$ac_compile" | $SED \
   9891    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9892    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9893    -e 's:$: $lt_compiler_flag:'`
   9894    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9895    (eval "$lt_compile" 2>out/conftest.err)
   9896    ac_status=$?
   9897    cat out/conftest.err >&5
   9898    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9899    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9900    then
   9901      # The compiler can only warn and ignore the option if not recognized
   9902      # So say no if there are warnings
   9903      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9904      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9905      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9906        lt_cv_prog_compiler_c_o=yes
   9907      fi
   9908    fi
   9909    chmod u+w . 2>&5
   9910    $RM conftest*
   9911    # SGI C++ compiler will create directory out/ii_files/ for
   9912    # template instantiation
   9913    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9914    $RM out/* && rmdir out
   9915    cd ..
   9916    $RM -r conftest
   9917    $RM conftest*
   9918  ;;
   9919 esac
   9920 fi
   9921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9922 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9923 
   9924 
   9925 
   9926 
   9927 hard_links=nottested
   9928 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   9929   # do not overwrite the value of need_locks provided by the user
   9930   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9931 printf %s "checking if we can lock with hard links... " >&6; }
   9932   hard_links=yes
   9933   $RM conftest*
   9934   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9935   touch conftest.a
   9936   ln conftest.a conftest.b 2>&5 || hard_links=no
   9937   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9938   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9939 printf "%s\n" "$hard_links" >&6; }
   9940   if test no = "$hard_links"; then
   9941     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   9942 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   9943     need_locks=warn
   9944   fi
   9945 else
   9946   need_locks=no
   9947 fi
   9948 
   9949 
   9950 
   9951 
   9952 
   9953 
   9954   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9955 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9956 
   9957   runpath_var=
   9958   allow_undefined_flag=
   9959   always_export_symbols=no
   9960   archive_cmds=
   9961   archive_expsym_cmds=
   9962   compiler_needs_object=no
   9963   enable_shared_with_static_runtimes=no
   9964   export_dynamic_flag_spec=
   9965   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9966   hardcode_automatic=no
   9967   hardcode_direct=no
   9968   hardcode_direct_absolute=no
   9969   hardcode_libdir_flag_spec=
   9970   hardcode_libdir_separator=
   9971   hardcode_minus_L=no
   9972   hardcode_shlibpath_var=unsupported
   9973   inherit_rpath=no
   9974   link_all_deplibs=unknown
   9975   module_cmds=
   9976   module_expsym_cmds=
   9977   old_archive_from_new_cmds=
   9978   old_archive_from_expsyms_cmds=
   9979   thread_safe_flag_spec=
   9980   whole_archive_flag_spec=
   9981   # include_expsyms should be a list of space-separated symbols to be *always*
   9982   # included in the symbol list
   9983   include_expsyms=
   9984   # exclude_expsyms can be an extended regexp of symbols to exclude
   9985   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   9986   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   9987   # as well as any symbol that contains 'd'.
   9988   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9989   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9990   # platforms (ab)use it in PIC code, but their linkers get confused if
   9991   # the symbol is explicitly referenced.  Since portable code cannot
   9992   # rely on this symbol name, it's probably fine to never include it in
   9993   # preloaded symbol tables.
   9994   # Exclude shared library initialization/finalization symbols.
   9995   extract_expsyms_cmds=
   9996 
   9997   case $host_os in
   9998   cygwin* | mingw* | windows* | pw32* | cegcc*)
   9999     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   10000     # When not using gcc, we currently assume that we are using
   10001     # Microsoft Visual C++ or Intel C++ Compiler.
   10002     if test yes != "$GCC"; then
   10003       with_gnu_ld=no
   10004     fi
   10005     ;;
   10006   interix*)
   10007     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   10008     with_gnu_ld=yes
   10009     ;;
   10010   esac
   10011 
   10012   ld_shlibs=yes
   10013 
   10014   # On some targets, GNU ld is compatible enough with the native linker
   10015   # that we're better off using the native interface for both.
   10016   lt_use_gnu_ld_interface=no
   10017   if test yes = "$with_gnu_ld"; then
   10018     case $host_os in
   10019       aix*)
   10020 	# The AIX port of GNU ld has always aspired to compatibility
   10021 	# with the native linker.  However, as the warning in the GNU ld
   10022 	# block says, versions before 2.19.5* couldn't really create working
   10023 	# shared libraries, regardless of the interface used.
   10024 	case `$LD -v 2>&1` in
   10025 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   10026 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   10027 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   10028 	  *)
   10029 	    lt_use_gnu_ld_interface=yes
   10030 	    ;;
   10031 	esac
   10032 	;;
   10033       *)
   10034 	lt_use_gnu_ld_interface=yes
   10035 	;;
   10036     esac
   10037   fi
   10038 
   10039   if test yes = "$lt_use_gnu_ld_interface"; then
   10040     # If archive_cmds runs LD, not CC, wlarc should be empty
   10041     wlarc='$wl'
   10042 
   10043     # Set some defaults for GNU ld with shared library support. These
   10044     # are reset later if shared libraries are not supported. Putting them
   10045     # here allows them to be overridden if necessary.
   10046     runpath_var=LD_RUN_PATH
   10047     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10048     export_dynamic_flag_spec='$wl--export-dynamic'
   10049     # ancient GNU ld didn't support --whole-archive et. al.
   10050     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   10051       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   10052     else
   10053       whole_archive_flag_spec=
   10054     fi
   10055     supports_anon_versioning=no
   10056     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   10057       *GNU\ gold*) supports_anon_versioning=yes ;;
   10058       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   10059       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   10060       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   10061       *\ 2.11.*) ;; # other 2.11 versions
   10062       *) supports_anon_versioning=yes ;;
   10063     esac
   10064 
   10065     # See if GNU ld supports shared libraries.
   10066     case $host_os in
   10067     aix[3-9]*)
   10068       # On AIX/PPC, the GNU linker is very broken
   10069       if test ia64 != "$host_cpu"; then
   10070 	ld_shlibs=no
   10071 	cat <<_LT_EOF 1>&2
   10072 
   10073 *** Warning: the GNU linker, at least up to release 2.19, is reported
   10074 *** to be unable to reliably create shared libraries on AIX.
   10075 *** Therefore, libtool is disabling shared libraries support.  If you
   10076 *** really care for shared libraries, you may want to install binutils
   10077 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   10078 *** You will then need to restart the configuration process.
   10079 
   10080 _LT_EOF
   10081       fi
   10082       ;;
   10083 
   10084     amigaos*)
   10085       case $host_cpu in
   10086       powerpc)
   10087             # see comment about AmigaOS4 .so support
   10088             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10089             archive_expsym_cmds=''
   10090         ;;
   10091       m68k)
   10092             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)'
   10093             hardcode_libdir_flag_spec='-L$libdir'
   10094             hardcode_minus_L=yes
   10095         ;;
   10096       esac
   10097       ;;
   10098 
   10099     beos*)
   10100       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10101 	allow_undefined_flag=unsupported
   10102 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   10103 	# support --undefined.  This deserves some investigation.  FIXME
   10104 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10105       else
   10106 	ld_shlibs=no
   10107       fi
   10108       ;;
   10109 
   10110     cygwin* | mingw* | windows* | pw32* | cegcc*)
   10111       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   10112       # as there is no search path for DLLs.
   10113       hardcode_libdir_flag_spec='-L$libdir'
   10114       export_dynamic_flag_spec='$wl--export-all-symbols'
   10115       allow_undefined_flag=unsupported
   10116       always_export_symbols=no
   10117       enable_shared_with_static_runtimes=yes
   10118       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'
   10119       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   10120       file_list_spec='@'
   10121 
   10122       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   10123         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10124 	# If the export-symbols file already is a .def file, use it as
   10125 	# is; otherwise, prepend EXPORTS...
   10126 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10127           cp $export_symbols $output_objdir/$soname.def;
   10128         else
   10129           echo EXPORTS > $output_objdir/$soname.def;
   10130           cat $export_symbols >> $output_objdir/$soname.def;
   10131         fi~
   10132         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10133       else
   10134 	ld_shlibs=no
   10135       fi
   10136       ;;
   10137 
   10138     haiku*)
   10139       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10140       link_all_deplibs=no
   10141       ;;
   10142 
   10143     os2*)
   10144       hardcode_libdir_flag_spec='-L$libdir'
   10145       hardcode_minus_L=yes
   10146       allow_undefined_flag=unsupported
   10147       shrext_cmds=.dll
   10148       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10149 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10150 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10151 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10152 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10153 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10154 	emximp -o $lib $output_objdir/$libname.def'
   10155       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10156 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10157 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10158 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10159 	prefix_cmds="$SED"~
   10160 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10161 	  prefix_cmds="$prefix_cmds -e 1d";
   10162 	fi~
   10163 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10164 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10165 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10166 	emximp -o $lib $output_objdir/$libname.def'
   10167       old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10168       enable_shared_with_static_runtimes=yes
   10169       file_list_spec='@'
   10170       ;;
   10171 
   10172     interix[3-9]*)
   10173       hardcode_direct=no
   10174       hardcode_shlibpath_var=no
   10175       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10176       export_dynamic_flag_spec='$wl-E'
   10177       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   10178       # Instead, shared libraries are loaded at an image base (0x10000000 by
   10179       # default) and relocated if they conflict, which is a slow very memory
   10180       # consuming and fragmenting process.  To avoid this, we pick a random,
   10181       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   10182       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   10183       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   10184       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'
   10185       ;;
   10186 
   10187     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   10188       tmp_diet=no
   10189       if test linux-dietlibc = "$host_os"; then
   10190 	case $cc_basename in
   10191 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   10192 	esac
   10193       fi
   10194       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   10195 	 && test no = "$tmp_diet"
   10196       then
   10197 	tmp_addflag=' $pic_flag'
   10198 	tmp_sharedflag='-shared'
   10199 	case $cc_basename,$host_cpu in
   10200         pgcc*)				# Portland Group C compiler
   10201 	  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'
   10202 	  tmp_addflag=' $pic_flag'
   10203 	  ;;
   10204 	pgf77* | pgf90* | pgf95* | pgfortran*)
   10205 					# Portland Group f77 and f90 compilers
   10206 	  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'
   10207 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   10208 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   10209 	  tmp_addflag=' -i_dynamic' ;;
   10210 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   10211 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   10212 	ifc* | ifort*)			# Intel Fortran compiler
   10213 	  tmp_addflag=' -nofor_main' ;;
   10214 	lf95*)				# Lahey Fortran 8.1
   10215 	  whole_archive_flag_spec=
   10216 	  tmp_sharedflag='--shared' ;;
   10217         nagfor*)                        # NAGFOR 5.3
   10218           tmp_sharedflag='-Wl,-shared' ;;
   10219 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   10220 	  tmp_sharedflag='-qmkshrobj'
   10221 	  tmp_addflag= ;;
   10222 	nvcc*)	# Cuda Compiler Driver 2.2
   10223 	  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'
   10224 	  compiler_needs_object=yes
   10225 	  ;;
   10226 	esac
   10227 	case `$CC -V 2>&1 | $SED 5q` in
   10228 	*Sun\ C*)			# Sun C 5.9
   10229 	  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'
   10230 	  compiler_needs_object=yes
   10231 	  tmp_sharedflag='-G' ;;
   10232 	*Sun\ F*)			# Sun Fortran 8.3
   10233 	  tmp_sharedflag='-G' ;;
   10234 	esac
   10235 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10236 
   10237         if test yes = "$supports_anon_versioning"; then
   10238           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10239             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10240             echo "local: *; };" >> $output_objdir/$libname.ver~
   10241             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   10242         fi
   10243 
   10244 	case $cc_basename in
   10245 	tcc*)
   10246 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10247 	  export_dynamic_flag_spec='-rdynamic'
   10248 	  ;;
   10249 	xlf* | bgf* | bgxlf* | mpixlf*)
   10250 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   10251 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   10252 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10253 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   10254 	  if test yes = "$supports_anon_versioning"; then
   10255 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10256               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10257               echo "local: *; };" >> $output_objdir/$libname.ver~
   10258               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   10259 	  fi
   10260 	  ;;
   10261 	esac
   10262       else
   10263         ld_shlibs=no
   10264       fi
   10265       ;;
   10266 
   10267     *-mlibc)
   10268 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10269 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10270       ;;
   10271 
   10272     netbsd* | netbsdelf*-gnu)
   10273       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10274 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   10275 	wlarc=
   10276       else
   10277 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10278 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10279       fi
   10280       ;;
   10281 
   10282     solaris*)
   10283       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   10284 	ld_shlibs=no
   10285 	cat <<_LT_EOF 1>&2
   10286 
   10287 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   10288 *** create shared libraries on Solaris systems.  Therefore, libtool
   10289 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10290 *** binutils to release 2.9.1 or newer.  Another option is to modify
   10291 *** your PATH or compiler configuration so that the native linker is
   10292 *** used, and then restart.
   10293 
   10294 _LT_EOF
   10295       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10296 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10297 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10298       else
   10299 	ld_shlibs=no
   10300       fi
   10301       ;;
   10302 
   10303     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   10304       case `$LD -v 2>&1` in
   10305         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   10306 	ld_shlibs=no
   10307 	cat <<_LT_EOF 1>&2
   10308 
   10309 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   10310 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   10311 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10312 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   10313 *** your PATH or compiler configuration so that the native linker is
   10314 *** used, and then restart.
   10315 
   10316 _LT_EOF
   10317 	;;
   10318 	*)
   10319 	  # For security reasons, it is highly recommended that you always
   10320 	  # use absolute paths for naming shared libraries, and exclude the
   10321 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   10322 	  # requires that you compile everything twice, which is a pain.
   10323 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10324 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10325 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10326 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10327 	  else
   10328 	    ld_shlibs=no
   10329 	  fi
   10330 	;;
   10331       esac
   10332       ;;
   10333 
   10334     sunos4*)
   10335       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10336       wlarc=
   10337       hardcode_direct=yes
   10338       hardcode_shlibpath_var=no
   10339       ;;
   10340 
   10341     *)
   10342       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10343 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10344 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10345       else
   10346 	ld_shlibs=no
   10347       fi
   10348       ;;
   10349     esac
   10350 
   10351     if test no = "$ld_shlibs"; then
   10352       runpath_var=
   10353       hardcode_libdir_flag_spec=
   10354       export_dynamic_flag_spec=
   10355       whole_archive_flag_spec=
   10356     fi
   10357   else
   10358     # PORTME fill in a description of your system's linker (not GNU ld)
   10359     case $host_os in
   10360     aix3*)
   10361       allow_undefined_flag=unsupported
   10362       always_export_symbols=yes
   10363       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'
   10364       # Note: this linker hardcodes the directories in LIBPATH if there
   10365       # are no directories specified by -L.
   10366       hardcode_minus_L=yes
   10367       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   10368 	# Neither direct hardcoding nor static linking is supported with a
   10369 	# broken collect2.
   10370 	hardcode_direct=unsupported
   10371       fi
   10372       ;;
   10373 
   10374     aix[4-9]*)
   10375       if test ia64 = "$host_cpu"; then
   10376 	# On IA64, the linker does run time linking by default, so we don't
   10377 	# have to do anything special.
   10378 	aix_use_runtimelinking=no
   10379 	exp_sym_flag='-Bexport'
   10380 	no_entry_flag=
   10381       else
   10382 	# If we're using GNU nm, then we don't want the "-C" option.
   10383 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   10384 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   10385 	# weak defined symbols like other global defined symbols, whereas
   10386 	# GNU nm marks them as "W".
   10387 	# While the 'weak' keyword is ignored in the Export File, we need
   10388 	# it in the Import File for the 'aix-soname' feature, so we have
   10389 	# to replace the "-B" option with "-P" for AIX nm.
   10390 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   10391 	  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'
   10392 	else
   10393 	  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'
   10394 	fi
   10395 	aix_use_runtimelinking=no
   10396 
   10397 	# Test if we are trying to use run time linking or normal
   10398 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10399 	# have runtime linking enabled, and use it for executables.
   10400 	# For shared libraries, we enable/disable runtime linking
   10401 	# depending on the kind of the shared library created -
   10402 	# when "with_aix_soname,aix_use_runtimelinking" is:
   10403 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   10404 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   10405 	#            lib.a           static archive
   10406 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   10407 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   10408 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   10409 	#            lib.a(lib.so.V) shared, rtl:no
   10410 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   10411 	#            lib.a           static archive
   10412 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10413 	  for ld_flag in $LDFLAGS; do
   10414 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   10415 	    aix_use_runtimelinking=yes
   10416 	    break
   10417 	  fi
   10418 	  done
   10419 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   10420 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   10421 	    # so we don't have lib.a shared libs to link our executables.
   10422 	    # We have to force runtime linking in this case.
   10423 	    aix_use_runtimelinking=yes
   10424 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   10425 	  fi
   10426 	  ;;
   10427 	esac
   10428 
   10429 	exp_sym_flag='-bexport'
   10430 	no_entry_flag='-bnoentry'
   10431       fi
   10432 
   10433       # When large executables or shared objects are built, AIX ld can
   10434       # have problems creating the table of contents.  If linking a library
   10435       # or program results in "error TOC overflow" add -mminimal-toc to
   10436       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10437       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10438 
   10439       archive_cmds=''
   10440       hardcode_direct=yes
   10441       hardcode_direct_absolute=yes
   10442       hardcode_libdir_separator=':'
   10443       link_all_deplibs=yes
   10444       file_list_spec='$wl-f,'
   10445       case $with_aix_soname,$aix_use_runtimelinking in
   10446       aix,*) ;; # traditional, no import file
   10447       svr4,* | *,yes) # use import file
   10448 	# The Import File defines what to hardcode.
   10449 	hardcode_direct=no
   10450 	hardcode_direct_absolute=no
   10451 	;;
   10452       esac
   10453 
   10454       if test yes = "$GCC"; then
   10455 	case $host_os in aix4.[012]|aix4.[012].*)
   10456 	# We only want to do this on AIX 4.2 and lower, the check
   10457 	# below for broken collect2 doesn't work under 4.3+
   10458 	  collect2name=`$CC -print-prog-name=collect2`
   10459 	  if test -f "$collect2name" &&
   10460 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10461 	  then
   10462 	  # We have reworked collect2
   10463 	  :
   10464 	  else
   10465 	  # We have old collect2
   10466 	  hardcode_direct=unsupported
   10467 	  # It fails to find uninstalled libraries when the uninstalled
   10468 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10469 	  # to unsupported forces relinking
   10470 	  hardcode_minus_L=yes
   10471 	  hardcode_libdir_flag_spec='-L$libdir'
   10472 	  hardcode_libdir_separator=
   10473 	  fi
   10474 	  ;;
   10475 	esac
   10476 	shared_flag='-shared'
   10477 	if test yes = "$aix_use_runtimelinking"; then
   10478 	  shared_flag="$shared_flag "'$wl-G'
   10479 	fi
   10480 	# Need to ensure runtime linking is disabled for the traditional
   10481 	# shared library, or the linker may eventually find shared libraries
   10482 	# /with/ Import File - we do not want to mix them.
   10483 	shared_flag_aix='-shared'
   10484 	shared_flag_svr4='-shared $wl-G'
   10485       else
   10486 	# not using gcc
   10487 	if test ia64 = "$host_cpu"; then
   10488 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10489 	# chokes on -Wl,-G. The following line is correct:
   10490 	  shared_flag='-G'
   10491 	else
   10492 	  if test yes = "$aix_use_runtimelinking"; then
   10493 	    shared_flag='$wl-G'
   10494 	  else
   10495 	    shared_flag='$wl-bM:SRE'
   10496 	  fi
   10497 	  shared_flag_aix='$wl-bM:SRE'
   10498 	  shared_flag_svr4='$wl-G'
   10499 	fi
   10500       fi
   10501 
   10502       export_dynamic_flag_spec='$wl-bexpall'
   10503       # It seems that -bexpall does not export symbols beginning with
   10504       # underscore (_), so it is better to generate a list of symbols to export.
   10505       always_export_symbols=yes
   10506       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   10507 	# Warning - without using the other runtime loading flags (-brtl),
   10508 	# -berok will link without error, but may produce a broken library.
   10509 	allow_undefined_flag='-berok'
   10510         # Determine the default libpath from the value encoded in an
   10511         # empty executable.
   10512         if test set = "${lt_cv_aix_libpath+set}"; then
   10513   aix_libpath=$lt_cv_aix_libpath
   10514 else
   10515   if test ${lt_cv_aix_libpath_+y}
   10516 then :
   10517   printf %s "(cached) " >&6
   10518 else case e in #(
   10519   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10520 /* end confdefs.h.  */
   10521 
   10522 int
   10523 main (void)
   10524 {
   10525 
   10526   ;
   10527   return 0;
   10528 }
   10529 _ACEOF
   10530 if ac_fn_c_try_link "$LINENO"
   10531 then :
   10532 
   10533   lt_aix_libpath_sed='
   10534       /Import File Strings/,/^$/ {
   10535 	  /^0/ {
   10536 	      s/^0  *\([^ ]*\) *$/\1/
   10537 	      p
   10538 	  }
   10539       }'
   10540   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10541   # Check for a 64-bit object if we didn't find anything.
   10542   if test -z "$lt_cv_aix_libpath_"; then
   10543     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10544   fi
   10545 fi
   10546 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10547     conftest$ac_exeext conftest.$ac_ext
   10548   if test -z "$lt_cv_aix_libpath_"; then
   10549     lt_cv_aix_libpath_=/usr/lib:/lib
   10550   fi
   10551    ;;
   10552 esac
   10553 fi
   10554 
   10555   aix_libpath=$lt_cv_aix_libpath_
   10556 fi
   10557 
   10558         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10559         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
   10560       else
   10561 	if test ia64 = "$host_cpu"; then
   10562 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   10563 	  allow_undefined_flag="-z nodefs"
   10564 	  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"
   10565 	else
   10566 	 # Determine the default libpath from the value encoded in an
   10567 	 # empty executable.
   10568 	 if test set = "${lt_cv_aix_libpath+set}"; then
   10569   aix_libpath=$lt_cv_aix_libpath
   10570 else
   10571   if test ${lt_cv_aix_libpath_+y}
   10572 then :
   10573   printf %s "(cached) " >&6
   10574 else case e in #(
   10575   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10576 /* end confdefs.h.  */
   10577 
   10578 int
   10579 main (void)
   10580 {
   10581 
   10582   ;
   10583   return 0;
   10584 }
   10585 _ACEOF
   10586 if ac_fn_c_try_link "$LINENO"
   10587 then :
   10588 
   10589   lt_aix_libpath_sed='
   10590       /Import File Strings/,/^$/ {
   10591 	  /^0/ {
   10592 	      s/^0  *\([^ ]*\) *$/\1/
   10593 	      p
   10594 	  }
   10595       }'
   10596   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10597   # Check for a 64-bit object if we didn't find anything.
   10598   if test -z "$lt_cv_aix_libpath_"; then
   10599     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10600   fi
   10601 fi
   10602 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10603     conftest$ac_exeext conftest.$ac_ext
   10604   if test -z "$lt_cv_aix_libpath_"; then
   10605     lt_cv_aix_libpath_=/usr/lib:/lib
   10606   fi
   10607    ;;
   10608 esac
   10609 fi
   10610 
   10611   aix_libpath=$lt_cv_aix_libpath_
   10612 fi
   10613 
   10614 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10615 	  # Warning - without using the other run time loading flags,
   10616 	  # -berok will link without error, but may produce a broken library.
   10617 	  no_undefined_flag=' $wl-bernotok'
   10618 	  allow_undefined_flag=' $wl-berok'
   10619 	  if test yes = "$with_gnu_ld"; then
   10620 	    # We only use this code for GNU lds that support --whole-archive.
   10621 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   10622 	  else
   10623 	    # Exported symbols can be pulled into shared objects from archives
   10624 	    whole_archive_flag_spec='$convenience'
   10625 	  fi
   10626 	  archive_cmds_need_lc=yes
   10627 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   10628 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   10629 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   10630 	  if test svr4 != "$with_aix_soname"; then
   10631 	    # This is similar to how AIX traditionally builds its shared libraries.
   10632 	    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'
   10633 	  fi
   10634 	  if test aix != "$with_aix_soname"; then
   10635 	    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'
   10636 	  else
   10637 	    # used by -dlpreopen to get the symbols
   10638 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   10639 	  fi
   10640 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   10641 	fi
   10642       fi
   10643       ;;
   10644 
   10645     amigaos*)
   10646       case $host_cpu in
   10647       powerpc)
   10648             # see comment about AmigaOS4 .so support
   10649             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10650             archive_expsym_cmds=''
   10651         ;;
   10652       m68k)
   10653             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)'
   10654             hardcode_libdir_flag_spec='-L$libdir'
   10655             hardcode_minus_L=yes
   10656         ;;
   10657       esac
   10658       ;;
   10659 
   10660     bsdi[45]*)
   10661       export_dynamic_flag_spec=-rdynamic
   10662       ;;
   10663 
   10664     cygwin* | mingw* | windows* | pw32* | cegcc*)
   10665       # When not using gcc, we currently assume that we are using
   10666       # Microsoft Visual C++ or Intel C++ Compiler.
   10667       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10668       # no search path for DLLs.
   10669       case $cc_basename in
   10670       cl* | icl*)
   10671 	# Native MSVC or ICC
   10672 	hardcode_libdir_flag_spec=' '
   10673 	allow_undefined_flag=unsupported
   10674 	always_export_symbols=yes
   10675 	file_list_spec='@'
   10676 	# Tell ltmain to make .lib files, not .a files.
   10677 	libext=lib
   10678 	# Tell ltmain to make .dll files, not .so files.
   10679 	shrext_cmds=.dll
   10680 	# FIXME: Setting linknames here is a bad hack.
   10681 	archive_cmds='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   10682 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10683             cp "$export_symbols" "$output_objdir/$soname.def";
   10684             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   10685           else
   10686             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   10687           fi~
   10688           $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   10689           linknames='
   10690 	# The linker will not automatically build a static lib if we build a DLL.
   10691 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   10692 	enable_shared_with_static_runtimes=yes
   10693 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   10694 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   10695 	# Don't use ranlib
   10696 	old_postinstall_cmds='chmod 644 $oldlib'
   10697 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   10698           lt_tool_outputfile="@TOOL_OUTPUT@"~
   10699           case $lt_outputfile in
   10700             *.exe|*.EXE) ;;
   10701             *)
   10702               lt_outputfile=$lt_outputfile.exe
   10703               lt_tool_outputfile=$lt_tool_outputfile.exe
   10704               ;;
   10705           esac~
   10706           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   10707             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   10708             $RM "$lt_outputfile.manifest";
   10709           fi'
   10710 	;;
   10711       *)
   10712 	# Assume MSVC and ICC wrapper
   10713 	hardcode_libdir_flag_spec=' '
   10714 	allow_undefined_flag=unsupported
   10715 	# Tell ltmain to make .lib files, not .a files.
   10716 	libext=lib
   10717 	# Tell ltmain to make .dll files, not .so files.
   10718 	shrext_cmds=.dll
   10719 	# FIXME: Setting linknames here is a bad hack.
   10720 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10721 	# The linker will automatically build a .lib file if we build a DLL.
   10722 	old_archive_from_new_cmds='true'
   10723 	# FIXME: Should let the user specify the lib program.
   10724 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10725 	enable_shared_with_static_runtimes=yes
   10726 	;;
   10727       esac
   10728       ;;
   10729 
   10730     darwin* | rhapsody*)
   10731 
   10732 
   10733   archive_cmds_need_lc=no
   10734   hardcode_direct=no
   10735   hardcode_automatic=yes
   10736   hardcode_shlibpath_var=unsupported
   10737   if test yes = "$lt_cv_ld_force_load"; then
   10738     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\"`'
   10739 
   10740   else
   10741     whole_archive_flag_spec=''
   10742   fi
   10743   link_all_deplibs=yes
   10744   allow_undefined_flag=$_lt_dar_allow_undefined
   10745   case $cc_basename in
   10746      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   10747      *) _lt_dar_can_shared=$GCC ;;
   10748   esac
   10749   if test yes = "$_lt_dar_can_shared"; then
   10750     output_verbose_link_cmd=func_echo_all
   10751     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   10752     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   10753     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"
   10754     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"
   10755 
   10756   else
   10757   ld_shlibs=no
   10758   fi
   10759 
   10760       ;;
   10761 
   10762     dgux*)
   10763       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10764       hardcode_libdir_flag_spec='-L$libdir'
   10765       hardcode_shlibpath_var=no
   10766       ;;
   10767 
   10768     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10769     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10770     # does not break anything, and helps significantly (at the cost of a little
   10771     # extra space).
   10772     freebsd2.2*)
   10773       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10774       hardcode_libdir_flag_spec='-R$libdir'
   10775       hardcode_direct=yes
   10776       hardcode_shlibpath_var=no
   10777       ;;
   10778 
   10779     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10780     freebsd2.*)
   10781       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10782       hardcode_direct=yes
   10783       hardcode_minus_L=yes
   10784       hardcode_shlibpath_var=no
   10785       ;;
   10786 
   10787     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10788     freebsd* | dragonfly* | midnightbsd*)
   10789       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10790       hardcode_libdir_flag_spec='-R$libdir'
   10791       hardcode_direct=yes
   10792       hardcode_shlibpath_var=no
   10793       ;;
   10794 
   10795     hpux9*)
   10796       if test yes = "$GCC"; then
   10797 	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'
   10798       else
   10799 	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'
   10800       fi
   10801       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10802       hardcode_libdir_separator=:
   10803       hardcode_direct=yes
   10804 
   10805       # hardcode_minus_L: Not really in the search PATH,
   10806       # but as the default location of the library.
   10807       hardcode_minus_L=yes
   10808       export_dynamic_flag_spec='$wl-E'
   10809       ;;
   10810 
   10811     hpux10*)
   10812       if test yes,no = "$GCC,$with_gnu_ld"; then
   10813 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10814       else
   10815 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10816       fi
   10817       if test no = "$with_gnu_ld"; then
   10818 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10819 	hardcode_libdir_separator=:
   10820 	hardcode_direct=yes
   10821 	hardcode_direct_absolute=yes
   10822 	export_dynamic_flag_spec='$wl-E'
   10823 	# hardcode_minus_L: Not really in the search PATH,
   10824 	# but as the default location of the library.
   10825 	hardcode_minus_L=yes
   10826       fi
   10827       ;;
   10828 
   10829     hpux11*)
   10830       if test yes,no = "$GCC,$with_gnu_ld"; then
   10831 	case $host_cpu in
   10832 	hppa*64*)
   10833 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10834 	  ;;
   10835 	ia64*)
   10836 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10837 	  ;;
   10838 	*)
   10839 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10840 	  ;;
   10841 	esac
   10842       else
   10843 	case $host_cpu in
   10844 	hppa*64*)
   10845 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10846 	  ;;
   10847 	ia64*)
   10848 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10849 	  ;;
   10850 	*)
   10851 
   10852 	  # Older versions of the 11.00 compiler do not understand -b yet
   10853 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10854 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10855 printf %s "checking if $CC understands -b... " >&6; }
   10856 if test ${lt_cv_prog_compiler__b+y}
   10857 then :
   10858   printf %s "(cached) " >&6
   10859 else case e in #(
   10860   e) lt_cv_prog_compiler__b=no
   10861    save_LDFLAGS=$LDFLAGS
   10862    LDFLAGS="$LDFLAGS -b"
   10863    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10864    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10865      # The linker can only warn and ignore the option if not recognized
   10866      # So say no if there are warnings
   10867      if test -s conftest.err; then
   10868        # Append any errors to the config.log.
   10869        cat conftest.err 1>&5
   10870        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10871        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10872        if diff conftest.exp conftest.er2 >/dev/null; then
   10873          lt_cv_prog_compiler__b=yes
   10874        fi
   10875      else
   10876        lt_cv_prog_compiler__b=yes
   10877      fi
   10878    fi
   10879    $RM -r conftest*
   10880    LDFLAGS=$save_LDFLAGS
   10881  ;;
   10882 esac
   10883 fi
   10884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10885 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   10886 
   10887 if test yes = "$lt_cv_prog_compiler__b"; then
   10888     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10889 else
   10890     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10891 fi
   10892 
   10893 	  ;;
   10894 	esac
   10895       fi
   10896       if test no = "$with_gnu_ld"; then
   10897 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10898 	hardcode_libdir_separator=:
   10899 
   10900 	case $host_cpu in
   10901 	hppa*64*|ia64*)
   10902 	  hardcode_direct=no
   10903 	  hardcode_shlibpath_var=no
   10904 	  ;;
   10905 	*)
   10906 	  hardcode_direct=yes
   10907 	  hardcode_direct_absolute=yes
   10908 	  export_dynamic_flag_spec='$wl-E'
   10909 
   10910 	  # hardcode_minus_L: Not really in the search PATH,
   10911 	  # but as the default location of the library.
   10912 	  hardcode_minus_L=yes
   10913 	  ;;
   10914 	esac
   10915       fi
   10916       ;;
   10917 
   10918     irix5* | irix6* | nonstopux*)
   10919       if test yes = "$GCC"; then
   10920 	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'
   10921 	# Try to use the -exported_symbol ld option, if it does not
   10922 	# work, assume that -exports_file does not work either and
   10923 	# implicitly export all symbols.
   10924 	# This should be the same for all languages, so no per-tag cache variable.
   10925 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   10926 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   10927 if test ${lt_cv_irix_exported_symbol+y}
   10928 then :
   10929   printf %s "(cached) " >&6
   10930 else case e in #(
   10931   e) save_LDFLAGS=$LDFLAGS
   10932 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   10933 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10934 /* end confdefs.h.  */
   10935 int foo (void) { return 0; }
   10936 _ACEOF
   10937 if ac_fn_c_try_link "$LINENO"
   10938 then :
   10939   lt_cv_irix_exported_symbol=yes
   10940 else case e in #(
   10941   e) lt_cv_irix_exported_symbol=no ;;
   10942 esac
   10943 fi
   10944 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10945     conftest$ac_exeext conftest.$ac_ext
   10946            LDFLAGS=$save_LDFLAGS ;;
   10947 esac
   10948 fi
   10949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   10950 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   10951 	if test yes = "$lt_cv_irix_exported_symbol"; then
   10952           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'
   10953 	fi
   10954       else
   10955 	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'
   10956 	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'
   10957       fi
   10958       archive_cmds_need_lc='no'
   10959       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10960       hardcode_libdir_separator=:
   10961       inherit_rpath=yes
   10962       link_all_deplibs=yes
   10963       ;;
   10964 
   10965     linux*)
   10966       case $cc_basename in
   10967       tcc*)
   10968 	# Fabrice Bellard et al's Tiny C Compiler
   10969 	ld_shlibs=yes
   10970 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10971 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10972 	;;
   10973       esac
   10974       ;;
   10975 
   10976     *-mlibc)
   10977       ;;
   10978 
   10979     netbsd* | netbsdelf*-gnu)
   10980       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10981 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10982       else
   10983 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10984       fi
   10985       hardcode_libdir_flag_spec='-R$libdir'
   10986       hardcode_direct=yes
   10987       hardcode_shlibpath_var=no
   10988       ;;
   10989 
   10990     newsos6)
   10991       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10992       hardcode_direct=yes
   10993       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10994       hardcode_libdir_separator=:
   10995       hardcode_shlibpath_var=no
   10996       ;;
   10997 
   10998     *nto* | *qnx*)
   10999       ;;
   11000 
   11001     openbsd*)
   11002       if test -f /usr/libexec/ld.so; then
   11003 	hardcode_direct=yes
   11004 	hardcode_shlibpath_var=no
   11005 	hardcode_direct_absolute=yes
   11006 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11007 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11008 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   11009 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11010 	  export_dynamic_flag_spec='$wl-E'
   11011 	else
   11012 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11013 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11014 	fi
   11015       else
   11016 	ld_shlibs=no
   11017       fi
   11018       ;;
   11019 
   11020     os2*)
   11021       hardcode_libdir_flag_spec='-L$libdir'
   11022       hardcode_minus_L=yes
   11023       allow_undefined_flag=unsupported
   11024       shrext_cmds=.dll
   11025       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11026 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11027 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11028 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11029 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   11030 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11031 	emximp -o $lib $output_objdir/$libname.def'
   11032       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11033 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11034 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11035 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11036 	prefix_cmds="$SED"~
   11037 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   11038 	  prefix_cmds="$prefix_cmds -e 1d";
   11039 	fi~
   11040 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   11041 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   11042 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11043 	emximp -o $lib $output_objdir/$libname.def'
   11044       old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   11045       enable_shared_with_static_runtimes=yes
   11046       file_list_spec='@'
   11047       ;;
   11048 
   11049     osf3*)
   11050       if test yes = "$GCC"; then
   11051 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11052 	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'
   11053       else
   11054 	allow_undefined_flag=' -expect_unresolved \*'
   11055 	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'
   11056       fi
   11057       archive_cmds_need_lc='no'
   11058       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11059       hardcode_libdir_separator=:
   11060       ;;
   11061 
   11062     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   11063       if test yes = "$GCC"; then
   11064 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11065 	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'
   11066 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11067       else
   11068 	allow_undefined_flag=' -expect_unresolved \*'
   11069 	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'
   11070 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
   11071           $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
   11072 
   11073 	# Both c and cxx compiler support -rpath directly
   11074 	hardcode_libdir_flag_spec='-rpath $libdir'
   11075       fi
   11076       archive_cmds_need_lc='no'
   11077       hardcode_libdir_separator=:
   11078       ;;
   11079 
   11080     serenity*)
   11081       ;;
   11082 
   11083     solaris*)
   11084       no_undefined_flag=' -z defs'
   11085       if test yes = "$GCC"; then
   11086 	wlarc='$wl'
   11087 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11088 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11089           $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   11090       else
   11091 	case `$CC -V 2>&1` in
   11092 	*"Compilers 5.0"*)
   11093 	  wlarc=''
   11094 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11095 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11096             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   11097 	  ;;
   11098 	*)
   11099 	  wlarc='$wl'
   11100 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11101 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11102             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   11103 	  ;;
   11104 	esac
   11105       fi
   11106       hardcode_libdir_flag_spec='-R$libdir'
   11107       hardcode_shlibpath_var=no
   11108       case $host_os in
   11109       solaris2.[0-5] | solaris2.[0-5].*) ;;
   11110       *)
   11111 	# The compiler driver will combine and reorder linker options,
   11112 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   11113 	# but is careful enough not to reorder.
   11114 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   11115 	if test yes = "$GCC"; then
   11116 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   11117 	else
   11118 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   11119 	fi
   11120 	;;
   11121       esac
   11122       link_all_deplibs=yes
   11123       ;;
   11124 
   11125     sunos4*)
   11126       if test sequent = "$host_vendor"; then
   11127 	# Use $CC to link under sequent, because it throws in some extra .o
   11128 	# files that make .init and .fini sections work.
   11129 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11130       else
   11131 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   11132       fi
   11133       hardcode_libdir_flag_spec='-L$libdir'
   11134       hardcode_direct=yes
   11135       hardcode_minus_L=yes
   11136       hardcode_shlibpath_var=no
   11137       ;;
   11138 
   11139     sysv4)
   11140       case $host_vendor in
   11141 	sni)
   11142 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11143 	  hardcode_direct=yes # is this really true???
   11144 	;;
   11145 	siemens)
   11146 	  ## LD is ld it makes a PLAMLIB
   11147 	  ## CC just makes a GrossModule.
   11148 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   11149 	  reload_cmds='$CC -r -o $output$reload_objs'
   11150 	  hardcode_direct=no
   11151         ;;
   11152 	motorola)
   11153 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11154 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   11155 	;;
   11156       esac
   11157       runpath_var='LD_RUN_PATH'
   11158       hardcode_shlibpath_var=no
   11159       ;;
   11160 
   11161     sysv4.3*)
   11162       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11163       hardcode_shlibpath_var=no
   11164       export_dynamic_flag_spec='-Bexport'
   11165       ;;
   11166 
   11167     sysv4*MP*)
   11168       if test -d /usr/nec; then
   11169 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11170 	hardcode_shlibpath_var=no
   11171 	runpath_var=LD_RUN_PATH
   11172 	hardcode_runpath_var=yes
   11173 	ld_shlibs=yes
   11174       fi
   11175       ;;
   11176 
   11177     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11178       no_undefined_flag='$wl-z,text'
   11179       archive_cmds_need_lc=no
   11180       hardcode_shlibpath_var=no
   11181       runpath_var='LD_RUN_PATH'
   11182 
   11183       if test yes = "$GCC"; then
   11184 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11185 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11186       else
   11187 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11188 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11189       fi
   11190       ;;
   11191 
   11192     sysv5* | sco3.2v5* | sco5v6*)
   11193       # Note: We CANNOT use -z defs as we might desire, because we do not
   11194       # link with -lc, and that would cause any symbols used from libc to
   11195       # always be unresolved, which means just about no library would
   11196       # ever link correctly.  If we're not using GNU ld we use -z text
   11197       # though, which does catch some bad symbols but isn't as heavy-handed
   11198       # as -z defs.
   11199       no_undefined_flag='$wl-z,text'
   11200       allow_undefined_flag='$wl-z,nodefs'
   11201       archive_cmds_need_lc=no
   11202       hardcode_shlibpath_var=no
   11203       hardcode_libdir_flag_spec='$wl-R,$libdir'
   11204       hardcode_libdir_separator=':'
   11205       link_all_deplibs=yes
   11206       export_dynamic_flag_spec='$wl-Bexport'
   11207       runpath_var='LD_RUN_PATH'
   11208 
   11209       if test yes = "$GCC"; then
   11210 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11211 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11212       else
   11213 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11214 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11215       fi
   11216       ;;
   11217 
   11218     uts4*)
   11219       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11220       hardcode_libdir_flag_spec='-L$libdir'
   11221       hardcode_shlibpath_var=no
   11222       ;;
   11223 
   11224     *)
   11225       ld_shlibs=no
   11226       ;;
   11227     esac
   11228 
   11229     if test sni = "$host_vendor"; then
   11230       case $host in
   11231       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   11232 	export_dynamic_flag_spec='$wl-Blargedynsym'
   11233 	;;
   11234       esac
   11235     fi
   11236   fi
   11237 
   11238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   11239 printf "%s\n" "$ld_shlibs" >&6; }
   11240 test no = "$ld_shlibs" && can_build_shared=no
   11241 
   11242 with_gnu_ld=$with_gnu_ld
   11243 
   11244 
   11245 
   11246 
   11247 
   11248 
   11249 
   11250 
   11251 
   11252 
   11253 
   11254 
   11255 
   11256 
   11257 
   11258 #
   11259 # Do we need to explicitly link libc?
   11260 #
   11261 case "x$archive_cmds_need_lc" in
   11262 x|xyes)
   11263   # Assume -lc should be added
   11264   archive_cmds_need_lc=yes
   11265 
   11266   if test yes,yes = "$GCC,$enable_shared"; then
   11267     case $archive_cmds in
   11268     *'~'*)
   11269       # FIXME: we may have to deal with multi-command sequences.
   11270       ;;
   11271     '$CC '*)
   11272       # Test whether the compiler implicitly links with -lc since on some
   11273       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   11274       # to ld, don't add -lc before -lgcc.
   11275       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   11276 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   11277 if test ${lt_cv_archive_cmds_need_lc+y}
   11278 then :
   11279   printf %s "(cached) " >&6
   11280 else case e in #(
   11281   e) $RM conftest*
   11282 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11283 
   11284 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11285   (eval $ac_compile) 2>&5
   11286   ac_status=$?
   11287   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11288   test $ac_status = 0; } 2>conftest.err; then
   11289 	  soname=conftest
   11290 	  lib=conftest
   11291 	  libobjs=conftest.$ac_objext
   11292 	  deplibs=
   11293 	  wl=$lt_prog_compiler_wl
   11294 	  pic_flag=$lt_prog_compiler_pic
   11295 	  compiler_flags=-v
   11296 	  linker_flags=-v
   11297 	  verstring=
   11298 	  output_objdir=.
   11299 	  libname=conftest
   11300 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   11301 	  allow_undefined_flag=
   11302 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   11303   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   11304   ac_status=$?
   11305   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11306   test $ac_status = 0; }
   11307 	  then
   11308 	    lt_cv_archive_cmds_need_lc=no
   11309 	  else
   11310 	    lt_cv_archive_cmds_need_lc=yes
   11311 	  fi
   11312 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   11313 	else
   11314 	  cat conftest.err 1>&5
   11315 	fi
   11316 	$RM conftest*
   11317 	 ;;
   11318 esac
   11319 fi
   11320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   11321 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   11322       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   11323       ;;
   11324     esac
   11325   fi
   11326   ;;
   11327 esac
   11328 
   11329 
   11330 
   11331 
   11332 
   11333 
   11334 
   11335 
   11336 
   11337 
   11338 
   11339 
   11340 
   11341 
   11342 
   11343 
   11344 
   11345 
   11346 
   11347 
   11348 
   11349 
   11350 
   11351 
   11352 
   11353 
   11354 
   11355 
   11356 
   11357 
   11358 
   11359 
   11360 
   11361 
   11362 
   11363 
   11364 
   11365 
   11366 
   11367 
   11368 
   11369 
   11370 
   11371 
   11372 
   11373 
   11374 
   11375 
   11376 
   11377 
   11378 
   11379 
   11380 
   11381 
   11382 
   11383 
   11384 
   11385 
   11386 
   11387 
   11388 
   11389 
   11390 
   11391 
   11392 
   11393 
   11394 
   11395 
   11396 
   11397 
   11398 
   11399 
   11400 
   11401 
   11402 
   11403 
   11404 
   11405 
   11406 
   11407 
   11408 
   11409 
   11410 
   11411 
   11412 
   11413 
   11414 
   11415 
   11416 
   11417 
   11418 
   11419 
   11420 
   11421 
   11422 
   11423 
   11424 
   11425 
   11426 
   11427 
   11428 
   11429 
   11430 
   11431 
   11432 
   11433 
   11434 
   11435 
   11436 
   11437 
   11438 
   11439 
   11440 
   11441 
   11442 
   11443 
   11444 
   11445 
   11446 
   11447 
   11448 
   11449 
   11450 
   11451 
   11452 
   11453 
   11454 
   11455 
   11456 
   11457 
   11458 
   11459 
   11460 
   11461 
   11462 
   11463 
   11464 
   11465 
   11466 
   11467 
   11468 
   11469 
   11470 
   11471 
   11472 
   11473 
   11474 
   11475 
   11476 
   11477 
   11478 
   11479 
   11480   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11481 printf %s "checking dynamic linker characteristics... " >&6; }
   11482 
   11483 if test yes = "$GCC"; then
   11484   case $host_os in
   11485     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   11486     *) lt_awk_arg='/^libraries:/' ;;
   11487   esac
   11488   case $host_os in
   11489     mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   11490     *) lt_sed_strip_eq='s|=/|/|g' ;;
   11491   esac
   11492   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11493   case $lt_search_path_spec in
   11494   *\;*)
   11495     # if the path contains ";" then we assume it to be the separator
   11496     # otherwise default to the standard path separator (i.e. ":") - it is
   11497     # assumed that no part of a normal pathname contains ";" but that should
   11498     # okay in the real world where ";" in dirpaths is itself problematic.
   11499     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11500     ;;
   11501   *)
   11502     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11503     ;;
   11504   esac
   11505   # Ok, now we have the path, separated by spaces, we can step through it
   11506   # and add multilib dir if necessary...
   11507   lt_tmp_lt_search_path_spec=
   11508   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11509   # ...but if some path component already ends with the multilib dir we assume
   11510   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   11511   case "$lt_multi_os_dir; $lt_search_path_spec " in
   11512   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   11513     lt_multi_os_dir=
   11514     ;;
   11515   esac
   11516   for lt_sys_path in $lt_search_path_spec; do
   11517     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   11518       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   11519     elif test -n "$lt_multi_os_dir"; then
   11520       test -d "$lt_sys_path" && \
   11521 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11522     fi
   11523   done
   11524   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11525 BEGIN {RS = " "; FS = "/|\n";} {
   11526   lt_foo = "";
   11527   lt_count = 0;
   11528   for (lt_i = NF; lt_i > 0; lt_i--) {
   11529     if ($lt_i != "" && $lt_i != ".") {
   11530       if ($lt_i == "..") {
   11531         lt_count++;
   11532       } else {
   11533         if (lt_count == 0) {
   11534           lt_foo = "/" $lt_i lt_foo;
   11535         } else {
   11536           lt_count--;
   11537         }
   11538       }
   11539     }
   11540   }
   11541   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11542   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11543 }'`
   11544   # AWK program above erroneously prepends '/' to C:/dos/paths
   11545   # for these hosts.
   11546   case $host_os in
   11547     mingw* | windows* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11548       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   11549   esac
   11550   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11551 else
   11552   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11553 fi
   11554 library_names_spec=
   11555 libname_spec='lib$name'
   11556 soname_spec=
   11557 shrext_cmds=.so
   11558 postinstall_cmds=
   11559 postuninstall_cmds=
   11560 finish_cmds=
   11561 finish_eval=
   11562 shlibpath_var=
   11563 shlibpath_overrides_runpath=unknown
   11564 version_type=none
   11565 dynamic_linker="$host_os ld.so"
   11566 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11567 need_lib_prefix=unknown
   11568 hardcode_into_libs=no
   11569 
   11570 # when you set need_version to no, make sure it does not cause -set_version
   11571 # flags to be left without arguments
   11572 need_version=unknown
   11573 
   11574 
   11575 
   11576 case $host_os in
   11577 aix3*)
   11578   version_type=linux # correct to gnu/linux during the next big refactor
   11579   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   11580   shlibpath_var=LIBPATH
   11581 
   11582   # AIX 3 has no versioning support, so we append a major version to the name.
   11583   soname_spec='$libname$release$shared_ext$major'
   11584   ;;
   11585 
   11586 aix[4-9]*)
   11587   version_type=linux # correct to gnu/linux during the next big refactor
   11588   need_lib_prefix=no
   11589   need_version=no
   11590   hardcode_into_libs=yes
   11591   if test ia64 = "$host_cpu"; then
   11592     # AIX 5 supports IA64
   11593     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   11594     shlibpath_var=LD_LIBRARY_PATH
   11595   else
   11596     # With GCC up to 2.95.x, collect2 would create an import file
   11597     # for dependence libraries.  The import file would start with
   11598     # the line '#! .'.  This would cause the generated library to
   11599     # depend on '.', always an invalid library.  This was fixed in
   11600     # development snapshots of GCC prior to 3.0.
   11601     case $host_os in
   11602       aix4 | aix4.[01] | aix4.[01].*)
   11603       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11604 	   echo ' yes '
   11605 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   11606 	:
   11607       else
   11608 	can_build_shared=no
   11609       fi
   11610       ;;
   11611     esac
   11612     # Using Import Files as archive members, it is possible to support
   11613     # filename-based versioning of shared library archives on AIX. While
   11614     # this would work for both with and without runtime linking, it will
   11615     # prevent static linking of such archives. So we do filename-based
   11616     # shared library versioning with .so extension only, which is used
   11617     # when both runtime linking and shared linking is enabled.
   11618     # Unfortunately, runtime linking may impact performance, so we do
   11619     # not want this to be the default eventually. Also, we use the
   11620     # versioned .so libs for executables only if there is the -brtl
   11621     # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
   11622     # To allow for filename-based versioning support, we need to create
   11623     # libNAME.so.V as an archive file, containing:
   11624     # *) an Import File, referring to the versioned filename of the
   11625     #    archive as well as the shared archive member, telling the
   11626     #    bitwidth (32 or 64) of that shared object, and providing the
   11627     #    list of exported symbols of that shared object, eventually
   11628     #    decorated with the 'weak' keyword
   11629     # *) the shared object with the F_LOADONLY flag set, to really avoid
   11630     #    it being seen by the linker.
   11631     # At run time we better use the real file rather than another symlink,
   11632     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   11633 
   11634     case $with_aix_soname,$aix_use_runtimelinking in
   11635     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   11636     # soname into executable. Probably we can add versioning support to
   11637     # collect2, so additional links can be useful in future.
   11638     aix,yes) # traditional libtool
   11639       dynamic_linker='AIX unversionable lib.so'
   11640       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11641       # instead of lib<name>.a to let people know that these are not
   11642       # typical AIX shared libraries.
   11643       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11644       ;;
   11645     aix,no) # traditional AIX only
   11646       dynamic_linker='AIX lib.a(lib.so.V)'
   11647       # We preserve .a as extension for shared libraries through AIX4.2
   11648       # and later when we are not doing run time linking.
   11649       library_names_spec='$libname$release.a $libname.a'
   11650       soname_spec='$libname$release$shared_ext$major'
   11651       ;;
   11652     svr4,*) # full svr4 only
   11653       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   11654       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11655       # We do not specify a path in Import Files, so LIBPATH fires.
   11656       shlibpath_overrides_runpath=yes
   11657       ;;
   11658     *,yes) # both, prefer svr4
   11659       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   11660       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11661       # unpreferred sharedlib libNAME.a needs extra handling
   11662       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"'
   11663       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"'
   11664       # We do not specify a path in Import Files, so LIBPATH fires.
   11665       shlibpath_overrides_runpath=yes
   11666       ;;
   11667     *,no) # both, prefer aix
   11668       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   11669       library_names_spec='$libname$release.a $libname.a'
   11670       soname_spec='$libname$release$shared_ext$major'
   11671       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   11672       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)'
   11673       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"'
   11674       ;;
   11675     esac
   11676     shlibpath_var=LIBPATH
   11677   fi
   11678   ;;
   11679 
   11680 amigaos*)
   11681   case $host_cpu in
   11682   powerpc)
   11683     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11684     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11685     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11686     ;;
   11687   m68k)
   11688     library_names_spec='$libname.ixlibrary $libname.a'
   11689     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11690     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'
   11691     ;;
   11692   esac
   11693   ;;
   11694 
   11695 beos*)
   11696   library_names_spec='$libname$shared_ext'
   11697   dynamic_linker="$host_os ld.so"
   11698   shlibpath_var=LIBRARY_PATH
   11699   ;;
   11700 
   11701 bsdi[45]*)
   11702   version_type=linux # correct to gnu/linux during the next big refactor
   11703   need_version=no
   11704   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11705   soname_spec='$libname$release$shared_ext$major'
   11706   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11707   shlibpath_var=LD_LIBRARY_PATH
   11708   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11709   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11710   # the default ld.so.conf also contains /usr/contrib/lib and
   11711   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11712   # libtool to hard-code these into programs
   11713   ;;
   11714 
   11715 cygwin* | mingw* | windows* | pw32* | cegcc*)
   11716   version_type=windows
   11717   shrext_cmds=.dll
   11718   need_version=no
   11719   need_lib_prefix=no
   11720 
   11721   case $GCC,$cc_basename in
   11722   yes,*)
   11723     # gcc
   11724     library_names_spec='$libname.dll.a'
   11725     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11726     # If user builds GCC with multilib enabled,
   11727     # it should just install on $(libdir)
   11728     # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
   11729     if test xyes = x"$multilib"; then
   11730       postinstall_cmds='base_file=`basename \$file`~
   11731         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11732         dldir=$destdir/`dirname \$dlpath`~
   11733         $install_prog $dir/$dlname $destdir/$dlname~
   11734         chmod a+x $destdir/$dlname~
   11735         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11736           eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
   11737         fi'
   11738     else
   11739       postinstall_cmds='base_file=`basename \$file`~
   11740         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11741         dldir=$destdir/`dirname \$dlpath`~
   11742         test -d \$dldir || mkdir -p \$dldir~
   11743         $install_prog $dir/$dlname \$dldir/$dlname~
   11744         chmod a+x \$dldir/$dlname~
   11745         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11746           eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11747         fi'
   11748     fi
   11749     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11750       dlpath=$dir/\$dldll~
   11751        $RM \$dlpath'
   11752     shlibpath_overrides_runpath=yes
   11753 
   11754     case $host_os in
   11755     cygwin*)
   11756       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11757       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11758 
   11759       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11760       ;;
   11761     mingw* | windows* | cegcc*)
   11762       # MinGW DLLs use traditional 'lib' prefix
   11763       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11764       ;;
   11765     pw32*)
   11766       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11767       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11768       ;;
   11769     esac
   11770     dynamic_linker='Win32 ld.exe'
   11771     ;;
   11772 
   11773   *,cl* | *,icl*)
   11774     # Native MSVC or ICC
   11775     libname_spec='$name'
   11776     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11777     library_names_spec='$libname.dll.lib'
   11778 
   11779     case $build_os in
   11780     mingw* | windows*)
   11781       sys_lib_search_path_spec=
   11782       lt_save_ifs=$IFS
   11783       IFS=';'
   11784       for lt_path in $LIB
   11785       do
   11786         IFS=$lt_save_ifs
   11787         # Let DOS variable expansion print the short 8.3 style file name.
   11788         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   11789         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   11790       done
   11791       IFS=$lt_save_ifs
   11792       # Convert to MSYS style.
   11793       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   11794       ;;
   11795     cygwin*)
   11796       # Convert to unix form, then to dos form, then back to unix form
   11797       # but this time dos style (no spaces!) so that the unix form looks
   11798       # like /cygdrive/c/PROGRA~1:/cygdr...
   11799       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   11800       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   11801       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11802       ;;
   11803     *)
   11804       sys_lib_search_path_spec=$LIB
   11805       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   11806         # It is most probably a Windows format PATH.
   11807         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   11808       else
   11809         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11810       fi
   11811       # FIXME: find the short name or the path components, as spaces are
   11812       # common. (e.g. "Program Files" -> "PROGRA~1")
   11813       ;;
   11814     esac
   11815 
   11816     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11817     postinstall_cmds='base_file=`basename \$file`~
   11818       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11819       dldir=$destdir/`dirname \$dlpath`~
   11820       test -d \$dldir || mkdir -p \$dldir~
   11821       $install_prog $dir/$dlname \$dldir/$dlname'
   11822     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11823       dlpath=$dir/\$dldll~
   11824        $RM \$dlpath'
   11825     shlibpath_overrides_runpath=yes
   11826     dynamic_linker='Win32 link.exe'
   11827     ;;
   11828 
   11829   *)
   11830     # Assume MSVC and ICC wrapper
   11831     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   11832     dynamic_linker='Win32 ld.exe'
   11833     ;;
   11834   esac
   11835   # FIXME: first we should search . and the directory the executable is in
   11836   shlibpath_var=PATH
   11837   ;;
   11838 
   11839 darwin* | rhapsody*)
   11840   dynamic_linker="$host_os dyld"
   11841   version_type=darwin
   11842   need_lib_prefix=no
   11843   need_version=no
   11844   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   11845   soname_spec='$libname$release$major$shared_ext'
   11846   shlibpath_overrides_runpath=yes
   11847   shlibpath_var=DYLD_LIBRARY_PATH
   11848   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   11849 
   11850   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11851   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11852   ;;
   11853 
   11854 dgux*)
   11855   version_type=linux # correct to gnu/linux during the next big refactor
   11856   need_lib_prefix=no
   11857   need_version=no
   11858   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11859   soname_spec='$libname$release$shared_ext$major'
   11860   shlibpath_var=LD_LIBRARY_PATH
   11861   ;;
   11862 
   11863 freebsd* | dragonfly* | midnightbsd*)
   11864   # DragonFly does not have aout.  When/if they implement a new
   11865   # versioning mechanism, adjust this.
   11866   if test -x /usr/bin/objformat; then
   11867     objformat=`/usr/bin/objformat`
   11868   else
   11869     case $host_os in
   11870     freebsd[23].*) objformat=aout ;;
   11871     *) objformat=elf ;;
   11872     esac
   11873   fi
   11874   version_type=freebsd-$objformat
   11875   case $version_type in
   11876     freebsd-elf*)
   11877       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11878       soname_spec='$libname$release$shared_ext$major'
   11879       need_version=no
   11880       need_lib_prefix=no
   11881       ;;
   11882     freebsd-*)
   11883       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11884       need_version=yes
   11885       ;;
   11886   esac
   11887   case $host_cpu in
   11888     powerpc64)
   11889       # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
   11890       # binaries.  See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
   11891       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11892 /* end confdefs.h.  */
   11893 int test_pointer_size[sizeof (void *) - 5];
   11894 
   11895 _ACEOF
   11896 if ac_fn_c_try_compile "$LINENO"
   11897 then :
   11898   shlibpath_var=LD_LIBRARY_PATH
   11899 else case e in #(
   11900   e) shlibpath_var=LD_32_LIBRARY_PATH ;;
   11901 esac
   11902 fi
   11903 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   11904       ;;
   11905     *)
   11906       shlibpath_var=LD_LIBRARY_PATH
   11907       ;;
   11908   esac
   11909   case $host_os in
   11910   freebsd2.*)
   11911     shlibpath_overrides_runpath=yes
   11912     ;;
   11913   freebsd3.[01]* | freebsdelf3.[01]*)
   11914     shlibpath_overrides_runpath=yes
   11915     hardcode_into_libs=yes
   11916     ;;
   11917   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11918   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11919     shlibpath_overrides_runpath=no
   11920     hardcode_into_libs=yes
   11921     ;;
   11922   *) # from 4.6 on, and DragonFly
   11923     shlibpath_overrides_runpath=yes
   11924     hardcode_into_libs=yes
   11925     ;;
   11926   esac
   11927   ;;
   11928 
   11929 haiku*)
   11930   version_type=linux # correct to gnu/linux during the next big refactor
   11931   need_lib_prefix=no
   11932   need_version=no
   11933   dynamic_linker="$host_os runtime_loader"
   11934   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11935   soname_spec='$libname$release$shared_ext$major'
   11936   shlibpath_var=LIBRARY_PATH
   11937   shlibpath_overrides_runpath=no
   11938   sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib'
   11939   sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib'
   11940   hardcode_into_libs=no
   11941   ;;
   11942 
   11943 hpux9* | hpux10* | hpux11*)
   11944   # Give a soname corresponding to the major version so that dld.sl refuses to
   11945   # link against other versions.
   11946   version_type=sunos
   11947   need_lib_prefix=no
   11948   need_version=no
   11949   case $host_cpu in
   11950   ia64*)
   11951     shrext_cmds='.so'
   11952     hardcode_into_libs=yes
   11953     dynamic_linker="$host_os dld.so"
   11954     shlibpath_var=LD_LIBRARY_PATH
   11955     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11956     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11957     soname_spec='$libname$release$shared_ext$major'
   11958     if test 32 = "$HPUX_IA64_MODE"; then
   11959       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   11960       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   11961     else
   11962       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   11963       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   11964     fi
   11965     ;;
   11966   hppa*64*)
   11967     shrext_cmds='.sl'
   11968     hardcode_into_libs=yes
   11969     dynamic_linker="$host_os dld.sl"
   11970     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   11971     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11972     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11973     soname_spec='$libname$release$shared_ext$major'
   11974     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   11975     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11976     ;;
   11977   *)
   11978     shrext_cmds='.sl'
   11979     dynamic_linker="$host_os dld.sl"
   11980     shlibpath_var=SHLIB_PATH
   11981     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   11982     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11983     soname_spec='$libname$release$shared_ext$major'
   11984     ;;
   11985   esac
   11986   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   11987   postinstall_cmds='chmod 555 $lib'
   11988   # or fails outright, so override atomically:
   11989   install_override_mode=555
   11990   ;;
   11991 
   11992 interix[3-9]*)
   11993   version_type=linux # correct to gnu/linux during the next big refactor
   11994   need_lib_prefix=no
   11995   need_version=no
   11996   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11997   soname_spec='$libname$release$shared_ext$major'
   11998   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   11999   shlibpath_var=LD_LIBRARY_PATH
   12000   shlibpath_overrides_runpath=no
   12001   hardcode_into_libs=yes
   12002   ;;
   12003 
   12004 irix5* | irix6* | nonstopux*)
   12005   case $host_os in
   12006     nonstopux*) version_type=nonstopux ;;
   12007     *)
   12008 	if test yes = "$lt_cv_prog_gnu_ld"; then
   12009 		version_type=linux # correct to gnu/linux during the next big refactor
   12010 	else
   12011 		version_type=irix
   12012 	fi ;;
   12013   esac
   12014   need_lib_prefix=no
   12015   need_version=no
   12016   soname_spec='$libname$release$shared_ext$major'
   12017   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   12018   case $host_os in
   12019   irix5* | nonstopux*)
   12020     libsuff= shlibsuff=
   12021     ;;
   12022   *)
   12023     case $LD in # libtool.m4 will add one of these switches to LD
   12024     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   12025       libsuff= shlibsuff= libmagic=32-bit;;
   12026     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   12027       libsuff=32 shlibsuff=N32 libmagic=N32;;
   12028     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   12029       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   12030     *) libsuff= shlibsuff= libmagic=never-match;;
   12031     esac
   12032     ;;
   12033   esac
   12034   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   12035   shlibpath_overrides_runpath=no
   12036   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   12037   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   12038   hardcode_into_libs=yes
   12039   ;;
   12040 
   12041 # No shared lib support for Linux oldld, aout, or coff.
   12042 linux*oldld* | linux*aout* | linux*coff*)
   12043   dynamic_linker=no
   12044   ;;
   12045 
   12046 linux*android*)
   12047   version_type=none # Android doesn't support versioned libraries.
   12048   need_lib_prefix=no
   12049   need_version=no
   12050   library_names_spec='$libname$release$shared_ext $libname$shared_ext'
   12051   soname_spec='$libname$release$shared_ext'
   12052   finish_cmds=
   12053   shlibpath_var=LD_LIBRARY_PATH
   12054   shlibpath_overrides_runpath=yes
   12055 
   12056   # This implies no fast_install, which is unacceptable.
   12057   # Some rework will be needed to allow for fast_install
   12058   # before this can be enabled.
   12059   hardcode_into_libs=yes
   12060 
   12061   dynamic_linker='Android linker'
   12062   # -rpath works at least for libraries that are not overridden by
   12063   # libraries installed in system locations.
   12064   hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   12065   ;;
   12066 
   12067 # This must be glibc/ELF.
   12068 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12069   version_type=linux # correct to gnu/linux during the next big refactor
   12070   need_lib_prefix=no
   12071   need_version=no
   12072   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12073   soname_spec='$libname$release$shared_ext$major'
   12074   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   12075   shlibpath_var=LD_LIBRARY_PATH
   12076   shlibpath_overrides_runpath=no
   12077 
   12078   # Some binutils ld are patched to set DT_RUNPATH
   12079   if test ${lt_cv_shlibpath_overrides_runpath+y}
   12080 then :
   12081   printf %s "(cached) " >&6
   12082 else case e in #(
   12083   e) lt_cv_shlibpath_overrides_runpath=no
   12084     save_LDFLAGS=$LDFLAGS
   12085     save_libdir=$libdir
   12086     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   12087 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   12088     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12089 /* end confdefs.h.  */
   12090 
   12091 int
   12092 main (void)
   12093 {
   12094 
   12095   ;
   12096   return 0;
   12097 }
   12098 _ACEOF
   12099 if ac_fn_c_try_link "$LINENO"
   12100 then :
   12101   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   12102 then :
   12103   lt_cv_shlibpath_overrides_runpath=yes
   12104 fi
   12105 fi
   12106 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12107     conftest$ac_exeext conftest.$ac_ext
   12108     LDFLAGS=$save_LDFLAGS
   12109     libdir=$save_libdir
   12110      ;;
   12111 esac
   12112 fi
   12113 
   12114   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   12115 
   12116   # This implies no fast_install, which is unacceptable.
   12117   # Some rework will be needed to allow for fast_install
   12118   # before this can be enabled.
   12119   hardcode_into_libs=yes
   12120 
   12121   # Ideally, we could use ldconfig to report *all* directories which are
   12122   # searched for libraries, however this is still not possible.  Aside from not
   12123   # being certain /sbin/ldconfig is available, command
   12124   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   12125   # even though it is searched at run-time.  Try to do the best guess by
   12126   # appending ld.so.conf contents (and includes) to the search path.
   12127   if test -f /etc/ld.so.conf; then
   12128     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' ' '`
   12129     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   12130   fi
   12131 
   12132   # We used to test for /lib/ld.so.1 and disable shared libraries on
   12133   # powerpc, because MkLinux only supported shared libraries with the
   12134   # GNU dynamic linker.  Since this was broken with cross compilers,
   12135   # most powerpc-linux boxes support dynamic linking these days and
   12136   # people can always --disable-shared, the test was removed, and we
   12137   # assume the GNU/Linux dynamic linker is in use.
   12138   dynamic_linker='GNU/Linux ld.so'
   12139   ;;
   12140 
   12141 netbsdelf*-gnu)
   12142   version_type=linux
   12143   need_lib_prefix=no
   12144   need_version=no
   12145   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12146   soname_spec='$libname$release$shared_ext$major'
   12147   shlibpath_var=LD_LIBRARY_PATH
   12148   shlibpath_overrides_runpath=no
   12149   hardcode_into_libs=yes
   12150   dynamic_linker='NetBSD ld.elf_so'
   12151   ;;
   12152 
   12153 netbsd*)
   12154   version_type=sunos
   12155   need_lib_prefix=no
   12156   need_version=no
   12157   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   12158     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12159     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12160     dynamic_linker='NetBSD (a.out) ld.so'
   12161   else
   12162     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12163     soname_spec='$libname$release$shared_ext$major'
   12164     dynamic_linker='NetBSD ld.elf_so'
   12165   fi
   12166   shlibpath_var=LD_LIBRARY_PATH
   12167   shlibpath_overrides_runpath=yes
   12168   hardcode_into_libs=yes
   12169   ;;
   12170 
   12171 *-mlibc)
   12172   version_type=linux # correct to gnu/linux during the next big refactor
   12173   need_lib_prefix=no
   12174   need_version=no
   12175   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12176   soname_spec='$libname$release$shared_ext$major'
   12177   dynamic_linker='mlibc ld.so'
   12178   shlibpath_var=LD_LIBRARY_PATH
   12179   shlibpath_overrides_runpath=no
   12180   hardcode_into_libs=yes
   12181   ;;
   12182 
   12183 newsos6)
   12184   version_type=linux # correct to gnu/linux during the next big refactor
   12185   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12186   shlibpath_var=LD_LIBRARY_PATH
   12187   shlibpath_overrides_runpath=yes
   12188   ;;
   12189 
   12190 *nto* | *qnx*)
   12191   version_type=qnx
   12192   need_lib_prefix=no
   12193   need_version=no
   12194   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12195   soname_spec='$libname$release$shared_ext$major'
   12196   shlibpath_var=LD_LIBRARY_PATH
   12197   shlibpath_overrides_runpath=no
   12198   hardcode_into_libs=yes
   12199   dynamic_linker='ldqnx.so'
   12200   ;;
   12201 
   12202 openbsd*)
   12203   version_type=sunos
   12204   sys_lib_dlsearch_path_spec=/usr/lib
   12205   need_lib_prefix=no
   12206   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12207     need_version=no
   12208   else
   12209     need_version=yes
   12210   fi
   12211   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12212   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12213   shlibpath_var=LD_LIBRARY_PATH
   12214   shlibpath_overrides_runpath=yes
   12215   ;;
   12216 
   12217 os2*)
   12218   libname_spec='$name'
   12219   version_type=windows
   12220   shrext_cmds=.dll
   12221   need_version=no
   12222   need_lib_prefix=no
   12223   # OS/2 can only load a DLL with a base name of 8 characters or less.
   12224   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   12225     v=$($ECHO $release$versuffix | tr -d .-);
   12226     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   12227     $ECHO $n$v`$shared_ext'
   12228   library_names_spec='${libname}_dll.$libext'
   12229   dynamic_linker='OS/2 ld.exe'
   12230   shlibpath_var=BEGINLIBPATH
   12231   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12232   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12233   postinstall_cmds='base_file=`basename \$file`~
   12234     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   12235     dldir=$destdir/`dirname \$dlpath`~
   12236     test -d \$dldir || mkdir -p \$dldir~
   12237     $install_prog $dir/$dlname \$dldir/$dlname~
   12238     chmod a+x \$dldir/$dlname~
   12239     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12240       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   12241     fi'
   12242   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   12243     dlpath=$dir/\$dldll~
   12244     $RM \$dlpath'
   12245   ;;
   12246 
   12247 osf3* | osf4* | osf5*)
   12248   version_type=osf
   12249   need_lib_prefix=no
   12250   need_version=no
   12251   soname_spec='$libname$release$shared_ext$major'
   12252   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12253   shlibpath_var=LD_LIBRARY_PATH
   12254   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   12255   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12256   ;;
   12257 
   12258 rdos*)
   12259   dynamic_linker=no
   12260   ;;
   12261 
   12262 serenity*)
   12263   version_type=linux # correct to gnu/linux during the next big refactor
   12264   need_lib_prefix=no
   12265   need_version=no
   12266   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12267   soname_spec='$libname$release$shared_ext$major'
   12268   shlibpath_var=LD_LIBRARY_PATH
   12269   shlibpath_overrides_runpath=no
   12270   dynamic_linker='SerenityOS LibELF'
   12271   ;;
   12272 
   12273 solaris*)
   12274   version_type=linux # correct to gnu/linux during the next big refactor
   12275   need_lib_prefix=no
   12276   need_version=no
   12277   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12278   soname_spec='$libname$release$shared_ext$major'
   12279   shlibpath_var=LD_LIBRARY_PATH
   12280   shlibpath_overrides_runpath=yes
   12281   hardcode_into_libs=yes
   12282   # ldd complains unless libraries are executable
   12283   postinstall_cmds='chmod +x $lib'
   12284   ;;
   12285 
   12286 sunos4*)
   12287   version_type=sunos
   12288   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12289   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   12290   shlibpath_var=LD_LIBRARY_PATH
   12291   shlibpath_overrides_runpath=yes
   12292   if test yes = "$with_gnu_ld"; then
   12293     need_lib_prefix=no
   12294   fi
   12295   need_version=yes
   12296   ;;
   12297 
   12298 sysv4 | sysv4.3*)
   12299   version_type=linux # correct to gnu/linux during the next big refactor
   12300   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12301   soname_spec='$libname$release$shared_ext$major'
   12302   shlibpath_var=LD_LIBRARY_PATH
   12303   case $host_vendor in
   12304     sni)
   12305       shlibpath_overrides_runpath=no
   12306       need_lib_prefix=no
   12307       runpath_var=LD_RUN_PATH
   12308       ;;
   12309     siemens)
   12310       need_lib_prefix=no
   12311       ;;
   12312     motorola)
   12313       need_lib_prefix=no
   12314       need_version=no
   12315       shlibpath_overrides_runpath=no
   12316       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   12317       ;;
   12318   esac
   12319   ;;
   12320 
   12321 sysv4*MP*)
   12322   if test -d /usr/nec; then
   12323     version_type=linux # correct to gnu/linux during the next big refactor
   12324     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   12325     soname_spec='$libname$shared_ext.$major'
   12326     shlibpath_var=LD_LIBRARY_PATH
   12327   fi
   12328   ;;
   12329 
   12330 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12331   version_type=sco
   12332   need_lib_prefix=no
   12333   need_version=no
   12334   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   12335   soname_spec='$libname$release$shared_ext$major'
   12336   shlibpath_var=LD_LIBRARY_PATH
   12337   shlibpath_overrides_runpath=yes
   12338   hardcode_into_libs=yes
   12339   if test yes = "$with_gnu_ld"; then
   12340     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   12341   else
   12342     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   12343     case $host_os in
   12344       sco3.2v5*)
   12345         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   12346 	;;
   12347     esac
   12348   fi
   12349   sys_lib_dlsearch_path_spec='/usr/lib'
   12350   ;;
   12351 
   12352 tpf*)
   12353   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   12354   version_type=linux # correct to gnu/linux during the next big refactor
   12355   need_lib_prefix=no
   12356   need_version=no
   12357   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12358   shlibpath_var=LD_LIBRARY_PATH
   12359   shlibpath_overrides_runpath=no
   12360   hardcode_into_libs=yes
   12361   ;;
   12362 
   12363 uts4*)
   12364   version_type=linux # correct to gnu/linux during the next big refactor
   12365   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12366   soname_spec='$libname$release$shared_ext$major'
   12367   shlibpath_var=LD_LIBRARY_PATH
   12368   ;;
   12369 
   12370 emscripten*)
   12371   version_type=none
   12372   need_lib_prefix=no
   12373   need_version=no
   12374   library_names_spec='$libname$release$shared_ext'
   12375   soname_spec='$libname$release$shared_ext'
   12376   finish_cmds=
   12377   dynamic_linker="Emscripten linker"
   12378   lt_prog_compiler_wl=
   12379 lt_prog_compiler_pic=
   12380 lt_prog_compiler_static=
   12381 
   12382 
   12383   if test yes = "$GCC"; then
   12384     lt_prog_compiler_wl='-Wl,'
   12385     lt_prog_compiler_static='-static'
   12386 
   12387     case $host_os in
   12388       aix*)
   12389       # All AIX code is PIC.
   12390       if test ia64 = "$host_cpu"; then
   12391 	# AIX 5 now supports IA64 processor
   12392 	lt_prog_compiler_static='-Bstatic'
   12393       fi
   12394       lt_prog_compiler_pic='-fPIC'
   12395       ;;
   12396 
   12397     amigaos*)
   12398       case $host_cpu in
   12399       powerpc)
   12400             # see comment about AmigaOS4 .so support
   12401             lt_prog_compiler_pic='-fPIC'
   12402         ;;
   12403       m68k)
   12404             # FIXME: we need at least 68020 code to build shared libraries, but
   12405             # adding the '-m68020' flag to GCC prevents building anything better,
   12406             # like '-m68040'.
   12407             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   12408         ;;
   12409       esac
   12410       ;;
   12411 
   12412     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12413       # PIC is the default for these OSes.
   12414       ;;
   12415 
   12416     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   12417       # This hack is so that the source file can tell whether it is being
   12418       # built for inclusion in a dll (and should export symbols for example).
   12419       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12420       # (--disable-auto-import) libraries
   12421       lt_prog_compiler_pic='-DDLL_EXPORT'
   12422       case $host_os in
   12423       os2*)
   12424 	lt_prog_compiler_static='$wl-static'
   12425 	;;
   12426       esac
   12427       ;;
   12428 
   12429     darwin* | rhapsody*)
   12430       # PIC is the default on this platform
   12431       # Common symbols not allowed in MH_DYLIB files
   12432       lt_prog_compiler_pic='-fno-common'
   12433       ;;
   12434 
   12435     haiku*)
   12436       # PIC is the default for Haiku.
   12437       # The "-static" flag exists, but is broken.
   12438       lt_prog_compiler_static=
   12439       ;;
   12440 
   12441     hpux*)
   12442       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   12443       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   12444       # sets the default TLS model and affects inlining.
   12445       case $host_cpu in
   12446       hppa*64*)
   12447 	# +Z the default
   12448 	;;
   12449       *)
   12450 	lt_prog_compiler_pic='-fPIC'
   12451 	;;
   12452       esac
   12453       ;;
   12454 
   12455     interix[3-9]*)
   12456       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12457       # Instead, we relocate shared libraries at runtime.
   12458       ;;
   12459 
   12460     msdosdjgpp*)
   12461       # Just because we use GCC doesn't mean we suddenly get shared libraries
   12462       # on systems that don't support them.
   12463       lt_prog_compiler_can_build_shared=no
   12464       enable_shared=no
   12465       ;;
   12466 
   12467     *nto* | *qnx*)
   12468       # QNX uses GNU C++, but need to define -shared option too, otherwise
   12469       # it will coredump.
   12470       lt_prog_compiler_pic='-fPIC -shared'
   12471       ;;
   12472 
   12473     sysv4*MP*)
   12474       if test -d /usr/nec; then
   12475 	lt_prog_compiler_pic=-Kconform_pic
   12476       fi
   12477       ;;
   12478 
   12479     *)
   12480       lt_prog_compiler_pic='-fPIC'
   12481       ;;
   12482     esac
   12483 
   12484     case $cc_basename in
   12485     nvcc*) # Cuda Compiler Driver 2.2
   12486       lt_prog_compiler_wl='-Xlinker '
   12487       if test -n "$lt_prog_compiler_pic"; then
   12488         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   12489       fi
   12490       ;;
   12491     esac
   12492   else
   12493     # PORTME Check for flag to pass linker flags through the system compiler.
   12494     case $host_os in
   12495     aix*)
   12496       lt_prog_compiler_wl='-Wl,'
   12497       if test ia64 = "$host_cpu"; then
   12498 	# AIX 5 now supports IA64 processor
   12499 	lt_prog_compiler_static='-Bstatic'
   12500       else
   12501 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   12502       fi
   12503       ;;
   12504 
   12505     darwin* | rhapsody*)
   12506       # PIC is the default on this platform
   12507       # Common symbols not allowed in MH_DYLIB files
   12508       lt_prog_compiler_pic='-fno-common'
   12509       case $cc_basename in
   12510       nagfor*)
   12511         # NAG Fortran compiler
   12512         lt_prog_compiler_wl='-Wl,-Wl,,'
   12513         lt_prog_compiler_pic='-PIC'
   12514         lt_prog_compiler_static='-Bstatic'
   12515         ;;
   12516       esac
   12517       ;;
   12518 
   12519     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   12520       # This hack is so that the source file can tell whether it is being
   12521       # built for inclusion in a dll (and should export symbols for example).
   12522       lt_prog_compiler_pic='-DDLL_EXPORT'
   12523       case $host_os in
   12524       os2*)
   12525 	lt_prog_compiler_static='$wl-static'
   12526 	;;
   12527       esac
   12528       ;;
   12529 
   12530     hpux9* | hpux10* | hpux11*)
   12531       lt_prog_compiler_wl='-Wl,'
   12532       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12533       # not for PA HP-UX.
   12534       case $host_cpu in
   12535       hppa*64*|ia64*)
   12536 	# +Z the default
   12537 	;;
   12538       *)
   12539 	lt_prog_compiler_pic='+Z'
   12540 	;;
   12541       esac
   12542       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   12543       lt_prog_compiler_static='$wl-a ${wl}archive'
   12544       ;;
   12545 
   12546     irix5* | irix6* | nonstopux*)
   12547       lt_prog_compiler_wl='-Wl,'
   12548       # PIC (with -KPIC) is the default.
   12549       lt_prog_compiler_static='-non_shared'
   12550       ;;
   12551 
   12552     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12553       case $cc_basename in
   12554       # old Intel for x86_64, which still supported -KPIC.
   12555       ecc*)
   12556 	lt_prog_compiler_wl='-Wl,'
   12557 	lt_prog_compiler_pic='-KPIC'
   12558 	lt_prog_compiler_static='-static'
   12559         ;;
   12560       *flang* | ftn | f18* | f95*)
   12561         # Flang compiler.
   12562 	lt_prog_compiler_wl='-Wl,'
   12563 	lt_prog_compiler_pic='-fPIC'
   12564 	lt_prog_compiler_static='-static'
   12565         ;;
   12566       # icc used to be incompatible with GCC.
   12567       # ICC 10 doesn't accept -KPIC any more.
   12568       icc* | ifort*)
   12569 	lt_prog_compiler_wl='-Wl,'
   12570 	lt_prog_compiler_pic='-fPIC'
   12571 	lt_prog_compiler_static='-static'
   12572         ;;
   12573       # Lahey Fortran 8.1.
   12574       lf95*)
   12575 	lt_prog_compiler_wl='-Wl,'
   12576 	lt_prog_compiler_pic='--shared'
   12577 	lt_prog_compiler_static='--static'
   12578 	;;
   12579       nagfor*)
   12580 	# NAG Fortran compiler
   12581 	lt_prog_compiler_wl='-Wl,-Wl,,'
   12582 	lt_prog_compiler_pic='-PIC'
   12583 	lt_prog_compiler_static='-Bstatic'
   12584 	;;
   12585       tcc*)
   12586 	# Fabrice Bellard et al's Tiny C Compiler
   12587 	lt_prog_compiler_wl='-Wl,'
   12588 	lt_prog_compiler_pic='-fPIC'
   12589 	lt_prog_compiler_static='-static'
   12590 	;;
   12591       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   12592         # Portland Group compilers (*not* the Pentium gcc compiler,
   12593 	# which looks to be a dead project)
   12594 	lt_prog_compiler_wl='-Wl,'
   12595 	lt_prog_compiler_pic='-fpic'
   12596 	lt_prog_compiler_static='-Bstatic'
   12597         ;;
   12598       ccc*)
   12599         lt_prog_compiler_wl='-Wl,'
   12600         # All Alpha code is PIC.
   12601         lt_prog_compiler_static='-non_shared'
   12602         ;;
   12603       xl* | bgxl* | bgf* | mpixl*)
   12604 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   12605 	lt_prog_compiler_wl='-Wl,'
   12606 	lt_prog_compiler_pic='-qpic'
   12607 	lt_prog_compiler_static='-qstaticlink'
   12608 	;;
   12609       *)
   12610 	case `$CC -V 2>&1 | $SED 5q` in
   12611 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   12612 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   12613 	  lt_prog_compiler_pic='-KPIC'
   12614 	  lt_prog_compiler_static='-Bstatic'
   12615 	  lt_prog_compiler_wl=''
   12616 	  ;;
   12617 	*Sun\ F* | *Sun*Fortran*)
   12618 	  lt_prog_compiler_pic='-KPIC'
   12619 	  lt_prog_compiler_static='-Bstatic'
   12620 	  lt_prog_compiler_wl='-Qoption ld '
   12621 	  ;;
   12622 	*Sun\ C*)
   12623 	  # Sun C 5.9
   12624 	  lt_prog_compiler_pic='-KPIC'
   12625 	  lt_prog_compiler_static='-Bstatic'
   12626 	  lt_prog_compiler_wl='-Wl,'
   12627 	  ;;
   12628         *Intel*\ [CF]*Compiler*)
   12629 	  lt_prog_compiler_wl='-Wl,'
   12630 	  lt_prog_compiler_pic='-fPIC'
   12631 	  lt_prog_compiler_static='-static'
   12632 	  ;;
   12633 	*Portland\ Group*)
   12634 	  lt_prog_compiler_wl='-Wl,'
   12635 	  lt_prog_compiler_pic='-fpic'
   12636 	  lt_prog_compiler_static='-Bstatic'
   12637 	  ;;
   12638 	esac
   12639 	;;
   12640       esac
   12641       ;;
   12642 
   12643     newsos6)
   12644       lt_prog_compiler_pic='-KPIC'
   12645       lt_prog_compiler_static='-Bstatic'
   12646       ;;
   12647 
   12648     *-mlibc)
   12649       lt_prog_compiler_wl='-Wl,'
   12650       lt_prog_compiler_pic='-fPIC'
   12651       lt_prog_compiler_static='-static'
   12652       ;;
   12653 
   12654     *nto* | *qnx*)
   12655       # QNX uses GNU C++, but need to define -shared option too, otherwise
   12656       # it will coredump.
   12657       lt_prog_compiler_pic='-fPIC -shared'
   12658       ;;
   12659 
   12660     osf3* | osf4* | osf5*)
   12661       lt_prog_compiler_wl='-Wl,'
   12662       # All OSF/1 code is PIC.
   12663       lt_prog_compiler_static='-non_shared'
   12664       ;;
   12665 
   12666     rdos*)
   12667       lt_prog_compiler_static='-non_shared'
   12668       ;;
   12669 
   12670     serenity*)
   12671       ;;
   12672 
   12673     solaris*)
   12674       lt_prog_compiler_pic='-KPIC'
   12675       lt_prog_compiler_static='-Bstatic'
   12676       case $cc_basename in
   12677       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   12678 	lt_prog_compiler_wl='-Qoption ld ';;
   12679       *)
   12680 	lt_prog_compiler_wl='-Wl,';;
   12681       esac
   12682       ;;
   12683 
   12684     sunos4*)
   12685       lt_prog_compiler_wl='-Qoption ld '
   12686       lt_prog_compiler_pic='-PIC'
   12687       lt_prog_compiler_static='-Bstatic'
   12688       ;;
   12689 
   12690     sysv4 | sysv4.2uw2* | sysv4.3*)
   12691       lt_prog_compiler_wl='-Wl,'
   12692       lt_prog_compiler_pic='-KPIC'
   12693       lt_prog_compiler_static='-Bstatic'
   12694       ;;
   12695 
   12696     sysv4*MP*)
   12697       if test -d /usr/nec; then
   12698 	lt_prog_compiler_pic='-Kconform_pic'
   12699 	lt_prog_compiler_static='-Bstatic'
   12700       fi
   12701       ;;
   12702 
   12703     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12704       lt_prog_compiler_wl='-Wl,'
   12705       lt_prog_compiler_pic='-KPIC'
   12706       lt_prog_compiler_static='-Bstatic'
   12707       ;;
   12708 
   12709     unicos*)
   12710       lt_prog_compiler_wl='-Wl,'
   12711       lt_prog_compiler_can_build_shared=no
   12712       ;;
   12713 
   12714     uts4*)
   12715       lt_prog_compiler_pic='-pic'
   12716       lt_prog_compiler_static='-Bstatic'
   12717       ;;
   12718 
   12719     *)
   12720       lt_prog_compiler_can_build_shared=no
   12721       ;;
   12722     esac
   12723   fi
   12724 
   12725 case $host_os in
   12726   # For platforms that do not support PIC, -DPIC is meaningless:
   12727   *djgpp*)
   12728     lt_prog_compiler_pic=
   12729     ;;
   12730   *)
   12731     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   12732     ;;
   12733 esac
   12734 
   12735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   12736 printf %s "checking for $compiler option to produce PIC... " >&6; }
   12737 if test ${lt_cv_prog_compiler_pic+y}
   12738 then :
   12739   printf %s "(cached) " >&6
   12740 else case e in #(
   12741   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
   12742 esac
   12743 fi
   12744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   12745 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   12746 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   12747 
   12748 #
   12749 # Check to make sure the PIC flag actually works.
   12750 #
   12751 if test -n "$lt_prog_compiler_pic"; then
   12752   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   12753 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   12754 if test ${lt_cv_prog_compiler_pic_works+y}
   12755 then :
   12756   printf %s "(cached) " >&6
   12757 else case e in #(
   12758   e) lt_cv_prog_compiler_pic_works=no
   12759    ac_outfile=conftest.$ac_objext
   12760    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12761    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   12762    # Insert the option either (1) after the last *FLAGS variable, or
   12763    # (2) before a word containing "conftest.", or (3) at the end.
   12764    # Note that $ac_compile itself does not contain backslashes and begins
   12765    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12766    # The option is referenced via a variable to avoid confusing sed.
   12767    lt_compile=`echo "$ac_compile" | $SED \
   12768    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12769    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12770    -e 's:$: $lt_compiler_flag:'`
   12771    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   12772    (eval "$lt_compile" 2>conftest.err)
   12773    ac_status=$?
   12774    cat conftest.err >&5
   12775    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12776    if (exit $ac_status) && test -s "$ac_outfile"; then
   12777      # The compiler can only warn and ignore the option if not recognized
   12778      # So say no if there are warnings other than the usual output.
   12779      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   12780      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12781      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12782        lt_cv_prog_compiler_pic_works=yes
   12783      fi
   12784    fi
   12785    $RM conftest*
   12786  ;;
   12787 esac
   12788 fi
   12789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   12790 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   12791 
   12792 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   12793     case $lt_prog_compiler_pic in
   12794      "" | " "*) ;;
   12795      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   12796      esac
   12797 else
   12798     lt_prog_compiler_pic=
   12799      lt_prog_compiler_can_build_shared=no
   12800 fi
   12801 
   12802 fi
   12803 
   12804 
   12805 
   12806 
   12807 
   12808 #
   12809 # Check to make sure the static flag actually works.
   12810 #
   12811 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   12812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   12813 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   12814 if test ${lt_cv_prog_compiler_static_works+y}
   12815 then :
   12816   printf %s "(cached) " >&6
   12817 else case e in #(
   12818   e) lt_cv_prog_compiler_static_works=no
   12819    save_LDFLAGS=$LDFLAGS
   12820    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   12821    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   12822    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   12823      # The linker can only warn and ignore the option if not recognized
   12824      # So say no if there are warnings
   12825      if test -s conftest.err; then
   12826        # Append any errors to the config.log.
   12827        cat conftest.err 1>&5
   12828        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   12829        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12830        if diff conftest.exp conftest.er2 >/dev/null; then
   12831          lt_cv_prog_compiler_static_works=yes
   12832        fi
   12833      else
   12834        lt_cv_prog_compiler_static_works=yes
   12835      fi
   12836    fi
   12837    $RM -r conftest*
   12838    LDFLAGS=$save_LDFLAGS
   12839  ;;
   12840 esac
   12841 fi
   12842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   12843 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   12844 
   12845 if test yes = "$lt_cv_prog_compiler_static_works"; then
   12846     :
   12847 else
   12848     lt_prog_compiler_static=
   12849 fi
   12850 
   12851 
   12852 
   12853 ='-fPIC'
   12854   archive_cmds='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
   12855   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'
   12856   archive_cmds_need_lc=no
   12857   no_undefined_flag=
   12858   ;;
   12859 
   12860 *)
   12861   dynamic_linker=no
   12862   ;;
   12863 esac
   12864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   12865 printf "%s\n" "$dynamic_linker" >&6; }
   12866 test no = "$dynamic_linker" && can_build_shared=no
   12867 
   12868 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   12869 if test yes = "$GCC"; then
   12870   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   12871 fi
   12872 
   12873 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   12874   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   12875 fi
   12876 
   12877 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   12878   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   12879 fi
   12880 
   12881 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   12882 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   12883 
   12884 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   12885 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   12886 
   12887 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   12888 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   12889 
   12890 
   12891 
   12892 
   12893 
   12894 
   12895 
   12896 
   12897 
   12898 
   12899 
   12900 
   12901 
   12902 
   12903 
   12904 
   12905 
   12906 
   12907 
   12908 
   12909 
   12910 
   12911 
   12912 
   12913 
   12914 
   12915 
   12916 
   12917 
   12918 
   12919 
   12920 
   12921 
   12922 
   12923 
   12924 
   12925 
   12926 
   12927 
   12928 
   12929 
   12930 
   12931 
   12932 
   12933 
   12934 
   12935 
   12936 
   12937 
   12938 
   12939 
   12940 
   12941 
   12942 
   12943 
   12944 
   12945 
   12946 
   12947 
   12948 
   12949 
   12950 
   12951 
   12952 
   12953 
   12954 
   12955 
   12956 
   12957 
   12958 
   12959 
   12960 
   12961 
   12962 
   12963 
   12964 
   12965 
   12966 
   12967 
   12968 
   12969 
   12970 
   12971 
   12972 
   12973 
   12974 
   12975 
   12976 
   12977 
   12978 
   12979 
   12980 
   12981 
   12982 
   12983 
   12984 
   12985 
   12986   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   12987 printf %s "checking how to hardcode library paths into programs... " >&6; }
   12988 hardcode_action=
   12989 if test -n "$hardcode_libdir_flag_spec" ||
   12990    test -n "$runpath_var" ||
   12991    test yes = "$hardcode_automatic"; then
   12992 
   12993   # We can hardcode non-existent directories.
   12994   if test no != "$hardcode_direct" &&
   12995      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   12996      # have to relink, otherwise we might link with an installed library
   12997      # when we should be linking with a yet-to-be-installed one
   12998      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   12999      test no != "$hardcode_minus_L"; then
   13000     # Linking always hardcodes the temporary library directory.
   13001     hardcode_action=relink
   13002   else
   13003     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13004     hardcode_action=immediate
   13005   fi
   13006 else
   13007   # We cannot hardcode anything, or else we can only hardcode existing
   13008   # directories.
   13009   hardcode_action=unsupported
   13010 fi
   13011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   13012 printf "%s\n" "$hardcode_action" >&6; }
   13013 
   13014 if test relink = "$hardcode_action" ||
   13015    test yes = "$inherit_rpath"; then
   13016   # Fast installation is not supported
   13017   enable_fast_install=no
   13018 elif test yes = "$shlibpath_overrides_runpath" ||
   13019      test no = "$enable_shared"; then
   13020   # Fast installation is not necessary
   13021   enable_fast_install=needless
   13022 fi
   13023 
   13024 
   13025 
   13026 
   13027 
   13028 
   13029   if test yes != "$enable_dlopen"; then
   13030   enable_dlopen=unknown
   13031   enable_dlopen_self=unknown
   13032   enable_dlopen_self_static=unknown
   13033 else
   13034   lt_cv_dlopen=no
   13035   lt_cv_dlopen_libs=
   13036 
   13037   case $host_os in
   13038   beos*)
   13039     lt_cv_dlopen=load_add_on
   13040     lt_cv_dlopen_libs=
   13041     lt_cv_dlopen_self=yes
   13042     ;;
   13043 
   13044   mingw* | windows* | pw32* | cegcc*)
   13045     lt_cv_dlopen=LoadLibrary
   13046     lt_cv_dlopen_libs=
   13047     ;;
   13048 
   13049   cygwin*)
   13050     lt_cv_dlopen=dlopen
   13051     lt_cv_dlopen_libs=
   13052     ;;
   13053 
   13054   darwin*)
   13055     # if libdl is installed we need to link against it
   13056     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   13057 printf %s "checking for dlopen in -ldl... " >&6; }
   13058 if test ${ac_cv_lib_dl_dlopen+y}
   13059 then :
   13060   printf %s "(cached) " >&6
   13061 else case e in #(
   13062   e) ac_check_lib_save_LIBS=$LIBS
   13063 LIBS="-ldl  $LIBS"
   13064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13065 /* end confdefs.h.  */
   13066 
   13067 /* Override any GCC internal prototype to avoid an error.
   13068    Use char because int might match the return type of a GCC
   13069    builtin and then its argument prototype would still apply.
   13070    The 'extern "C"' is for builds by C++ compilers;
   13071    although this is not generally supported in C code supporting it here
   13072    has little cost and some practical benefit (sr 110532).  */
   13073 #ifdef __cplusplus
   13074 extern "C"
   13075 #endif
   13076 char dlopen (void);
   13077 int
   13078 main (void)
   13079 {
   13080 return dlopen ();
   13081   ;
   13082   return 0;
   13083 }
   13084 _ACEOF
   13085 if ac_fn_c_try_link "$LINENO"
   13086 then :
   13087   ac_cv_lib_dl_dlopen=yes
   13088 else case e in #(
   13089   e) ac_cv_lib_dl_dlopen=no ;;
   13090 esac
   13091 fi
   13092 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13093     conftest$ac_exeext conftest.$ac_ext
   13094 LIBS=$ac_check_lib_save_LIBS ;;
   13095 esac
   13096 fi
   13097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   13098 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   13099 if test "x$ac_cv_lib_dl_dlopen" = xyes
   13100 then :
   13101   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   13102 else case e in #(
   13103   e)
   13104     lt_cv_dlopen=dyld
   13105     lt_cv_dlopen_libs=
   13106     lt_cv_dlopen_self=yes
   13107      ;;
   13108 esac
   13109 fi
   13110 
   13111     ;;
   13112 
   13113   tpf*)
   13114     # Don't try to run any link tests for TPF.  We know it's impossible
   13115     # because TPF is a cross-compiler, and we know how we open DSOs.
   13116     lt_cv_dlopen=dlopen
   13117     lt_cv_dlopen_libs=
   13118     lt_cv_dlopen_self=no
   13119     ;;
   13120 
   13121   *)
   13122     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   13123 if test "x$ac_cv_func_shl_load" = xyes
   13124 then :
   13125   lt_cv_dlopen=shl_load
   13126 else case e in #(
   13127   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   13128 printf %s "checking for shl_load in -ldld... " >&6; }
   13129 if test ${ac_cv_lib_dld_shl_load+y}
   13130 then :
   13131   printf %s "(cached) " >&6
   13132 else case e in #(
   13133   e) ac_check_lib_save_LIBS=$LIBS
   13134 LIBS="-ldld  $LIBS"
   13135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13136 /* end confdefs.h.  */
   13137 
   13138 /* Override any GCC internal prototype to avoid an error.
   13139    Use char because int might match the return type of a GCC
   13140    builtin and then its argument prototype would still apply.
   13141    The 'extern "C"' is for builds by C++ compilers;
   13142    although this is not generally supported in C code supporting it here
   13143    has little cost and some practical benefit (sr 110532).  */
   13144 #ifdef __cplusplus
   13145 extern "C"
   13146 #endif
   13147 char shl_load (void);
   13148 int
   13149 main (void)
   13150 {
   13151 return shl_load ();
   13152   ;
   13153   return 0;
   13154 }
   13155 _ACEOF
   13156 if ac_fn_c_try_link "$LINENO"
   13157 then :
   13158   ac_cv_lib_dld_shl_load=yes
   13159 else case e in #(
   13160   e) ac_cv_lib_dld_shl_load=no ;;
   13161 esac
   13162 fi
   13163 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13164     conftest$ac_exeext conftest.$ac_ext
   13165 LIBS=$ac_check_lib_save_LIBS ;;
   13166 esac
   13167 fi
   13168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   13169 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   13170 if test "x$ac_cv_lib_dld_shl_load" = xyes
   13171 then :
   13172   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   13173 else case e in #(
   13174   e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   13175 if test "x$ac_cv_func_dlopen" = xyes
   13176 then :
   13177   lt_cv_dlopen=dlopen
   13178 else case e in #(
   13179   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   13180 printf %s "checking for dlopen in -ldl... " >&6; }
   13181 if test ${ac_cv_lib_dl_dlopen+y}
   13182 then :
   13183   printf %s "(cached) " >&6
   13184 else case e in #(
   13185   e) ac_check_lib_save_LIBS=$LIBS
   13186 LIBS="-ldl  $LIBS"
   13187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13188 /* end confdefs.h.  */
   13189 
   13190 /* Override any GCC internal prototype to avoid an error.
   13191    Use char because int might match the return type of a GCC
   13192    builtin and then its argument prototype would still apply.
   13193    The 'extern "C"' is for builds by C++ compilers;
   13194    although this is not generally supported in C code supporting it here
   13195    has little cost and some practical benefit (sr 110532).  */
   13196 #ifdef __cplusplus
   13197 extern "C"
   13198 #endif
   13199 char dlopen (void);
   13200 int
   13201 main (void)
   13202 {
   13203 return dlopen ();
   13204   ;
   13205   return 0;
   13206 }
   13207 _ACEOF
   13208 if ac_fn_c_try_link "$LINENO"
   13209 then :
   13210   ac_cv_lib_dl_dlopen=yes
   13211 else case e in #(
   13212   e) ac_cv_lib_dl_dlopen=no ;;
   13213 esac
   13214 fi
   13215 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13216     conftest$ac_exeext conftest.$ac_ext
   13217 LIBS=$ac_check_lib_save_LIBS ;;
   13218 esac
   13219 fi
   13220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   13221 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   13222 if test "x$ac_cv_lib_dl_dlopen" = xyes
   13223 then :
   13224   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   13225 else case e in #(
   13226   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   13227 printf %s "checking for dlopen in -lsvld... " >&6; }
   13228 if test ${ac_cv_lib_svld_dlopen+y}
   13229 then :
   13230   printf %s "(cached) " >&6
   13231 else case e in #(
   13232   e) ac_check_lib_save_LIBS=$LIBS
   13233 LIBS="-lsvld  $LIBS"
   13234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13235 /* end confdefs.h.  */
   13236 
   13237 /* Override any GCC internal prototype to avoid an error.
   13238    Use char because int might match the return type of a GCC
   13239    builtin and then its argument prototype would still apply.
   13240    The 'extern "C"' is for builds by C++ compilers;
   13241    although this is not generally supported in C code supporting it here
   13242    has little cost and some practical benefit (sr 110532).  */
   13243 #ifdef __cplusplus
   13244 extern "C"
   13245 #endif
   13246 char dlopen (void);
   13247 int
   13248 main (void)
   13249 {
   13250 return dlopen ();
   13251   ;
   13252   return 0;
   13253 }
   13254 _ACEOF
   13255 if ac_fn_c_try_link "$LINENO"
   13256 then :
   13257   ac_cv_lib_svld_dlopen=yes
   13258 else case e in #(
   13259   e) ac_cv_lib_svld_dlopen=no ;;
   13260 esac
   13261 fi
   13262 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13263     conftest$ac_exeext conftest.$ac_ext
   13264 LIBS=$ac_check_lib_save_LIBS ;;
   13265 esac
   13266 fi
   13267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   13268 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   13269 if test "x$ac_cv_lib_svld_dlopen" = xyes
   13270 then :
   13271   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   13272 else case e in #(
   13273   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   13274 printf %s "checking for dld_link in -ldld... " >&6; }
   13275 if test ${ac_cv_lib_dld_dld_link+y}
   13276 then :
   13277   printf %s "(cached) " >&6
   13278 else case e in #(
   13279   e) ac_check_lib_save_LIBS=$LIBS
   13280 LIBS="-ldld  $LIBS"
   13281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13282 /* end confdefs.h.  */
   13283 
   13284 /* Override any GCC internal prototype to avoid an error.
   13285    Use char because int might match the return type of a GCC
   13286    builtin and then its argument prototype would still apply.
   13287    The 'extern "C"' is for builds by C++ compilers;
   13288    although this is not generally supported in C code supporting it here
   13289    has little cost and some practical benefit (sr 110532).  */
   13290 #ifdef __cplusplus
   13291 extern "C"
   13292 #endif
   13293 char dld_link (void);
   13294 int
   13295 main (void)
   13296 {
   13297 return dld_link ();
   13298   ;
   13299   return 0;
   13300 }
   13301 _ACEOF
   13302 if ac_fn_c_try_link "$LINENO"
   13303 then :
   13304   ac_cv_lib_dld_dld_link=yes
   13305 else case e in #(
   13306   e) ac_cv_lib_dld_dld_link=no ;;
   13307 esac
   13308 fi
   13309 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13310     conftest$ac_exeext conftest.$ac_ext
   13311 LIBS=$ac_check_lib_save_LIBS ;;
   13312 esac
   13313 fi
   13314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   13315 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   13316 if test "x$ac_cv_lib_dld_dld_link" = xyes
   13317 then :
   13318   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   13319 fi
   13320 
   13321 	       ;;
   13322 esac
   13323 fi
   13324 
   13325 	     ;;
   13326 esac
   13327 fi
   13328 
   13329 	   ;;
   13330 esac
   13331 fi
   13332 
   13333 	 ;;
   13334 esac
   13335 fi
   13336 
   13337        ;;
   13338 esac
   13339 fi
   13340 
   13341     ;;
   13342   esac
   13343 
   13344   if test no = "$lt_cv_dlopen"; then
   13345     enable_dlopen=no
   13346   else
   13347     enable_dlopen=yes
   13348   fi
   13349 
   13350   case $lt_cv_dlopen in
   13351   dlopen)
   13352     save_CPPFLAGS=$CPPFLAGS
   13353     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   13354 
   13355     save_LDFLAGS=$LDFLAGS
   13356     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   13357 
   13358     save_LIBS=$LIBS
   13359     LIBS="$lt_cv_dlopen_libs $LIBS"
   13360 
   13361     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   13362 printf %s "checking whether a program can dlopen itself... " >&6; }
   13363 if test ${lt_cv_dlopen_self+y}
   13364 then :
   13365   printf %s "(cached) " >&6
   13366 else case e in #(
   13367   e) 	  if test yes = "$cross_compiling"; then :
   13368   lt_cv_dlopen_self=cross
   13369 else
   13370   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   13371   lt_status=$lt_dlunknown
   13372   cat > conftest.$ac_ext <<_LT_EOF
   13373 #line $LINENO "configure"
   13374 #include "confdefs.h"
   13375 
   13376 #if HAVE_DLFCN_H
   13377 #include <dlfcn.h>
   13378 #endif
   13379 
   13380 #include <stdio.h>
   13381 
   13382 #ifdef RTLD_GLOBAL
   13383 #  define LT_DLGLOBAL		RTLD_GLOBAL
   13384 #else
   13385 #  ifdef DL_GLOBAL
   13386 #    define LT_DLGLOBAL		DL_GLOBAL
   13387 #  else
   13388 #    define LT_DLGLOBAL		0
   13389 #  endif
   13390 #endif
   13391 
   13392 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   13393    find out it does not work in some platform. */
   13394 #ifndef LT_DLLAZY_OR_NOW
   13395 #  ifdef RTLD_LAZY
   13396 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   13397 #  else
   13398 #    ifdef DL_LAZY
   13399 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   13400 #    else
   13401 #      ifdef RTLD_NOW
   13402 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   13403 #      else
   13404 #        ifdef DL_NOW
   13405 #          define LT_DLLAZY_OR_NOW	DL_NOW
   13406 #        else
   13407 #          define LT_DLLAZY_OR_NOW	0
   13408 #        endif
   13409 #      endif
   13410 #    endif
   13411 #  endif
   13412 #endif
   13413 
   13414 /* When -fvisibility=hidden is used, assume the code has been annotated
   13415    correspondingly for the symbols needed.  */
   13416 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   13417 int fnord (void) __attribute__((visibility("default")));
   13418 #endif
   13419 
   13420 int fnord (void) { return 42; }
   13421 int main (void)
   13422 {
   13423   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   13424   int status = $lt_dlunknown;
   13425 
   13426   if (self)
   13427     {
   13428       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   13429       else
   13430         {
   13431 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   13432           else puts (dlerror ());
   13433 	}
   13434       /* dlclose (self); */
   13435     }
   13436   else
   13437     puts (dlerror ());
   13438 
   13439   return status;
   13440 }
   13441 _LT_EOF
   13442   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13443   (eval $ac_link) 2>&5
   13444   ac_status=$?
   13445   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13446   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   13447     (./conftest; exit; ) >&5 2>/dev/null
   13448     lt_status=$?
   13449     case x$lt_status in
   13450       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   13451       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   13452       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   13453     esac
   13454   else :
   13455     # compilation failed
   13456     lt_cv_dlopen_self=no
   13457   fi
   13458 fi
   13459 rm -fr conftest*
   13460 
   13461      ;;
   13462 esac
   13463 fi
   13464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   13465 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   13466 
   13467     if test yes = "$lt_cv_dlopen_self"; then
   13468       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   13469       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   13470 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   13471 if test ${lt_cv_dlopen_self_static+y}
   13472 then :
   13473   printf %s "(cached) " >&6
   13474 else case e in #(
   13475   e) 	  if test yes = "$cross_compiling"; then :
   13476   lt_cv_dlopen_self_static=cross
   13477 else
   13478   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   13479   lt_status=$lt_dlunknown
   13480   cat > conftest.$ac_ext <<_LT_EOF
   13481 #line $LINENO "configure"
   13482 #include "confdefs.h"
   13483 
   13484 #if HAVE_DLFCN_H
   13485 #include <dlfcn.h>
   13486 #endif
   13487 
   13488 #include <stdio.h>
   13489 
   13490 #ifdef RTLD_GLOBAL
   13491 #  define LT_DLGLOBAL		RTLD_GLOBAL
   13492 #else
   13493 #  ifdef DL_GLOBAL
   13494 #    define LT_DLGLOBAL		DL_GLOBAL
   13495 #  else
   13496 #    define LT_DLGLOBAL		0
   13497 #  endif
   13498 #endif
   13499 
   13500 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   13501    find out it does not work in some platform. */
   13502 #ifndef LT_DLLAZY_OR_NOW
   13503 #  ifdef RTLD_LAZY
   13504 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   13505 #  else
   13506 #    ifdef DL_LAZY
   13507 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   13508 #    else
   13509 #      ifdef RTLD_NOW
   13510 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   13511 #      else
   13512 #        ifdef DL_NOW
   13513 #          define LT_DLLAZY_OR_NOW	DL_NOW
   13514 #        else
   13515 #          define LT_DLLAZY_OR_NOW	0
   13516 #        endif
   13517 #      endif
   13518 #    endif
   13519 #  endif
   13520 #endif
   13521 
   13522 /* When -fvisibility=hidden is used, assume the code has been annotated
   13523    correspondingly for the symbols needed.  */
   13524 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   13525 int fnord (void) __attribute__((visibility("default")));
   13526 #endif
   13527 
   13528 int fnord (void) { return 42; }
   13529 int main (void)
   13530 {
   13531   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   13532   int status = $lt_dlunknown;
   13533 
   13534   if (self)
   13535     {
   13536       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   13537       else
   13538         {
   13539 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   13540           else puts (dlerror ());
   13541 	}
   13542       /* dlclose (self); */
   13543     }
   13544   else
   13545     puts (dlerror ());
   13546 
   13547   return status;
   13548 }
   13549 _LT_EOF
   13550   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13551   (eval $ac_link) 2>&5
   13552   ac_status=$?
   13553   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13554   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   13555     (./conftest; exit; ) >&5 2>/dev/null
   13556     lt_status=$?
   13557     case x$lt_status in
   13558       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   13559       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   13560       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   13561     esac
   13562   else :
   13563     # compilation failed
   13564     lt_cv_dlopen_self_static=no
   13565   fi
   13566 fi
   13567 rm -fr conftest*
   13568 
   13569        ;;
   13570 esac
   13571 fi
   13572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   13573 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   13574     fi
   13575 
   13576     CPPFLAGS=$save_CPPFLAGS
   13577     LDFLAGS=$save_LDFLAGS
   13578     LIBS=$save_LIBS
   13579     ;;
   13580   esac
   13581 
   13582   case $lt_cv_dlopen_self in
   13583   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   13584   *) enable_dlopen_self=unknown ;;
   13585   esac
   13586 
   13587   case $lt_cv_dlopen_self_static in
   13588   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   13589   *) enable_dlopen_self_static=unknown ;;
   13590   esac
   13591 fi
   13592 
   13593 
   13594 
   13595 
   13596 
   13597 
   13598 
   13599 
   13600 
   13601 
   13602 
   13603 
   13604 
   13605 
   13606 
   13607 
   13608 
   13609 striplib=
   13610 old_striplib=
   13611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   13612 printf %s "checking whether stripping libraries is possible... " >&6; }
   13613 if test -z "$STRIP"; then
   13614   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13615 printf "%s\n" "no" >&6; }
   13616 else
   13617   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   13618     old_striplib="$STRIP --strip-debug"
   13619     striplib="$STRIP --strip-unneeded"
   13620     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13621 printf "%s\n" "yes" >&6; }
   13622   else
   13623     case $host_os in
   13624     darwin*)
   13625       # FIXME - insert some real tests, host_os isn't really good enough
   13626       striplib="$STRIP -x"
   13627       old_striplib="$STRIP -S"
   13628       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13629 printf "%s\n" "yes" >&6; }
   13630       ;;
   13631     freebsd*)
   13632       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   13633         old_striplib="$STRIP --strip-debug"
   13634         striplib="$STRIP --strip-unneeded"
   13635         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13636 printf "%s\n" "yes" >&6; }
   13637       else
   13638         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13639 printf "%s\n" "no" >&6; }
   13640       fi
   13641       ;;
   13642     *)
   13643       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13644 printf "%s\n" "no" >&6; }
   13645       ;;
   13646     esac
   13647   fi
   13648 fi
   13649 
   13650 
   13651 
   13652 
   13653 
   13654 
   13655 
   13656 
   13657 
   13658 
   13659 
   13660 
   13661   # Report what library types will actually be built
   13662   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   13663 printf %s "checking if libtool supports shared libraries... " >&6; }
   13664   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   13665 printf "%s\n" "$can_build_shared" >&6; }
   13666 
   13667   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   13668 printf %s "checking whether to build shared libraries... " >&6; }
   13669   test no = "$can_build_shared" && enable_shared=no
   13670 
   13671   # On AIX, shared libraries and static libraries use the same namespace, and
   13672   # are all built from PIC.
   13673   case $host_os in
   13674   aix3*)
   13675     test yes = "$enable_shared" && enable_static=no
   13676     if test -n "$RANLIB"; then
   13677       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   13678       postinstall_cmds='$RANLIB $lib'
   13679     fi
   13680     ;;
   13681 
   13682   aix[4-9]*)
   13683     if test ia64 != "$host_cpu"; then
   13684       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   13685       yes,aix,yes) ;;			# shared object as lib.so file only
   13686       yes,svr4,*) ;;			# shared object as lib.so archive member only
   13687       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   13688       esac
   13689     fi
   13690     ;;
   13691   esac
   13692   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   13693 printf "%s\n" "$enable_shared" >&6; }
   13694 
   13695   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   13696 printf %s "checking whether to build static libraries... " >&6; }
   13697   # Make sure either enable_shared or enable_static is yes.
   13698   test yes = "$enable_shared" || enable_static=yes
   13699   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   13700 printf "%s\n" "$enable_static" >&6; }
   13701 
   13702 
   13703 
   13704 
   13705 fi
   13706 ac_ext=c
   13707 ac_cpp='$CPP $CPPFLAGS'
   13708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13711 
   13712 CC=$lt_save_CC
   13713 
   13714 
   13715 
   13716 
   13717 
   13718 
   13719 
   13720 
   13721 
   13722 
   13723 
   13724 
   13725 
   13726 
   13727 
   13728         ac_config_commands="$ac_config_commands libtool"
   13729 
   13730 
   13731 
   13732 
   13733 # Only expand once:
   13734 
   13735 
   13736 
   13737 # Require X.Org macros 1.8 or later
   13738 
   13739 
   13740 
   13741 
   13742 
   13743 
   13744 
   13745 
   13746 
   13747 
   13748 
   13749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   13750 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   13751 if test ${ac_cv_c_undeclared_builtin_options+y}
   13752 then :
   13753   printf %s "(cached) " >&6
   13754 else case e in #(
   13755   e) ac_save_CFLAGS=$CFLAGS
   13756    ac_cv_c_undeclared_builtin_options='cannot detect'
   13757    for ac_arg in '' -fno-builtin; do
   13758      CFLAGS="$ac_save_CFLAGS $ac_arg"
   13759      # This test program should *not* compile successfully.
   13760      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13761 /* end confdefs.h.  */
   13762 
   13763 int
   13764 main (void)
   13765 {
   13766 (void) strchr;
   13767   ;
   13768   return 0;
   13769 }
   13770 _ACEOF
   13771 if ac_fn_c_try_compile "$LINENO"
   13772 then :
   13773 
   13774 else case e in #(
   13775   e) # This test program should compile successfully.
   13776         # No library function is consistently available on
   13777         # freestanding implementations, so test against a dummy
   13778         # declaration.  Include always-available headers on the
   13779         # off chance that they somehow elicit warnings.
   13780         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13781 /* end confdefs.h.  */
   13782 #include <float.h>
   13783 #include <limits.h>
   13784 #include <stdarg.h>
   13785 #include <stddef.h>
   13786 extern void ac_decl (int, char *);
   13787 
   13788 int
   13789 main (void)
   13790 {
   13791 (void) ac_decl (0, (char *) 0);
   13792   (void) ac_decl;
   13793 
   13794   ;
   13795   return 0;
   13796 }
   13797 _ACEOF
   13798 if ac_fn_c_try_compile "$LINENO"
   13799 then :
   13800   if test x"$ac_arg" = x
   13801 then :
   13802   ac_cv_c_undeclared_builtin_options='none needed'
   13803 else case e in #(
   13804   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   13805 esac
   13806 fi
   13807           break
   13808 fi
   13809 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   13810 esac
   13811 fi
   13812 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13813     done
   13814     CFLAGS=$ac_save_CFLAGS
   13815    ;;
   13816 esac
   13817 fi
   13818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   13819 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   13820   case $ac_cv_c_undeclared_builtin_options in #(
   13821   'cannot detect') :
   13822     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   13823 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   13824 as_fn_error $? "cannot make $CC report undeclared builtins
   13825 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   13826   'none needed') :
   13827     ac_c_undeclared_builtin_options='' ;; #(
   13828   *) :
   13829     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   13830 esac
   13831 
   13832 
   13833 
   13834 
   13835 
   13836 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   13837 if test "x$ac_cv_have_decl___clang__" = xyes
   13838 then :
   13839   CLANGCC="yes"
   13840 else case e in #(
   13841   e) CLANGCC="no" ;;
   13842 esac
   13843 fi
   13844 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   13845 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   13846 then :
   13847   INTELCC="yes"
   13848 else case e in #(
   13849   e) INTELCC="no" ;;
   13850 esac
   13851 fi
   13852 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   13853 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   13854 then :
   13855   SUNCC="yes"
   13856 else case e in #(
   13857   e) SUNCC="no" ;;
   13858 esac
   13859 fi
   13860 
   13861 
   13862 
   13863 
   13864 
   13865 
   13866 
   13867 
   13868 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   13869 	if test -n "$ac_tool_prefix"; then
   13870   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   13871 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   13872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13873 printf %s "checking for $ac_word... " >&6; }
   13874 if test ${ac_cv_path_PKG_CONFIG+y}
   13875 then :
   13876   printf %s "(cached) " >&6
   13877 else case e in #(
   13878   e) case $PKG_CONFIG in
   13879   [\\/]* | ?:[\\/]*)
   13880   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   13881   ;;
   13882   *)
   13883   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13884 for as_dir in $PATH
   13885 do
   13886   IFS=$as_save_IFS
   13887   case $as_dir in #(((
   13888     '') as_dir=./ ;;
   13889     */) ;;
   13890     *) as_dir=$as_dir/ ;;
   13891   esac
   13892     for ac_exec_ext in '' $ac_executable_extensions; do
   13893   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13894     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   13895     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13896     break 2
   13897   fi
   13898 done
   13899   done
   13900 IFS=$as_save_IFS
   13901 
   13902   ;;
   13903 esac ;;
   13904 esac
   13905 fi
   13906 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   13907 if test -n "$PKG_CONFIG"; then
   13908   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   13909 printf "%s\n" "$PKG_CONFIG" >&6; }
   13910 else
   13911   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13912 printf "%s\n" "no" >&6; }
   13913 fi
   13914 
   13915 
   13916 fi
   13917 if test -z "$ac_cv_path_PKG_CONFIG"; then
   13918   ac_pt_PKG_CONFIG=$PKG_CONFIG
   13919   # Extract the first word of "pkg-config", so it can be a program name with args.
   13920 set dummy pkg-config; ac_word=$2
   13921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13922 printf %s "checking for $ac_word... " >&6; }
   13923 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   13924 then :
   13925   printf %s "(cached) " >&6
   13926 else case e in #(
   13927   e) case $ac_pt_PKG_CONFIG in
   13928   [\\/]* | ?:[\\/]*)
   13929   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   13930   ;;
   13931   *)
   13932   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13933 for as_dir in $PATH
   13934 do
   13935   IFS=$as_save_IFS
   13936   case $as_dir in #(((
   13937     '') as_dir=./ ;;
   13938     */) ;;
   13939     *) as_dir=$as_dir/ ;;
   13940   esac
   13941     for ac_exec_ext in '' $ac_executable_extensions; do
   13942   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13943     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   13944     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13945     break 2
   13946   fi
   13947 done
   13948   done
   13949 IFS=$as_save_IFS
   13950 
   13951   ;;
   13952 esac ;;
   13953 esac
   13954 fi
   13955 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   13956 if test -n "$ac_pt_PKG_CONFIG"; then
   13957   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   13958 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   13959 else
   13960   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13961 printf "%s\n" "no" >&6; }
   13962 fi
   13963 
   13964   if test "x$ac_pt_PKG_CONFIG" = x; then
   13965     PKG_CONFIG=""
   13966   else
   13967     case $cross_compiling:$ac_tool_warned in
   13968 yes:)
   13969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13970 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13971 ac_tool_warned=yes ;;
   13972 esac
   13973     PKG_CONFIG=$ac_pt_PKG_CONFIG
   13974   fi
   13975 else
   13976   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   13977 fi
   13978 
   13979 fi
   13980 if test -n "$PKG_CONFIG"; then
   13981 	_pkg_min_version=0.9.0
   13982 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   13983 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   13984 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   13985 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13986 printf "%s\n" "yes" >&6; }
   13987 	else
   13988 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13989 printf "%s\n" "no" >&6; }
   13990 		PKG_CONFIG=""
   13991 	fi
   13992 fi
   13993 
   13994 
   13995 
   13996 
   13997 
   13998 # Check whether --enable-selective-werror was given.
   13999 if test ${enable_selective_werror+y}
   14000 then :
   14001   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   14002 else case e in #(
   14003   e) SELECTIVE_WERROR=yes ;;
   14004 esac
   14005 fi
   14006 
   14007 
   14008 
   14009 
   14010 
   14011 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   14012 if test "x$SUNCC" = "xyes"; then
   14013     BASE_CFLAGS="-v"
   14014 else
   14015     BASE_CFLAGS=""
   14016 fi
   14017 
   14018 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   14019 
   14020 
   14021 
   14022 
   14023 
   14024 
   14025 
   14026 
   14027 
   14028 
   14029 
   14030 
   14031 
   14032 xorg_testset_save_CFLAGS="$CFLAGS"
   14033 
   14034 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14035 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14036 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14037 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14038 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14039 then :
   14040   printf %s "(cached) " >&6
   14041 else case e in #(
   14042   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14043 /* end confdefs.h.  */
   14044 int i;
   14045 _ACEOF
   14046 if ac_fn_c_try_compile "$LINENO"
   14047 then :
   14048   xorg_cv_cc_flag_unknown_warning_option=yes
   14049 else case e in #(
   14050   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14051 esac
   14052 fi
   14053 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14054 esac
   14055 fi
   14056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14057 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14058 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14059 	CFLAGS="$xorg_testset_save_CFLAGS"
   14060 fi
   14061 
   14062 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14063 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14064 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14065 	fi
   14066 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14067 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14068 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14069 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14070 then :
   14071   printf %s "(cached) " >&6
   14072 else case e in #(
   14073   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14074 /* end confdefs.h.  */
   14075 int i;
   14076 _ACEOF
   14077 if ac_fn_c_try_compile "$LINENO"
   14078 then :
   14079   xorg_cv_cc_flag_unused_command_line_argument=yes
   14080 else case e in #(
   14081   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14082 esac
   14083 fi
   14084 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14085 esac
   14086 fi
   14087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14088 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14089 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14090 	CFLAGS="$xorg_testset_save_CFLAGS"
   14091 fi
   14092 
   14093 found="no"
   14094 
   14095 	if test $found = "no" ; then
   14096 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14097 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14098 		fi
   14099 
   14100 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14101 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14102 		fi
   14103 
   14104 		CFLAGS="$CFLAGS -Wall"
   14105 
   14106 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   14107 printf %s "checking if $CC supports -Wall... " >&6; }
   14108 		cacheid=xorg_cv_cc_flag__Wall
   14109 		if eval test \${$cacheid+y}
   14110 then :
   14111   printf %s "(cached) " >&6
   14112 else case e in #(
   14113   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14114 /* end confdefs.h.  */
   14115 int i;
   14116 int
   14117 main (void)
   14118 {
   14119 
   14120   ;
   14121   return 0;
   14122 }
   14123 _ACEOF
   14124 if ac_fn_c_try_link "$LINENO"
   14125 then :
   14126   eval $cacheid=yes
   14127 else case e in #(
   14128   e) eval $cacheid=no ;;
   14129 esac
   14130 fi
   14131 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14132     conftest$ac_exeext conftest.$ac_ext ;;
   14133 esac
   14134 fi
   14135 
   14136 
   14137 		CFLAGS="$xorg_testset_save_CFLAGS"
   14138 
   14139 		eval supported=\$$cacheid
   14140 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14141 printf "%s\n" "$supported" >&6; }
   14142 		if test "$supported" = "yes" ; then
   14143 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   14144 			found="yes"
   14145 		fi
   14146 	fi
   14147 
   14148 
   14149 
   14150 
   14151 
   14152 
   14153 
   14154 
   14155 
   14156 
   14157 
   14158 
   14159 
   14160 
   14161 
   14162 xorg_testset_save_CFLAGS="$CFLAGS"
   14163 
   14164 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14165 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14166 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14167 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14168 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14169 then :
   14170   printf %s "(cached) " >&6
   14171 else case e in #(
   14172   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14173 /* end confdefs.h.  */
   14174 int i;
   14175 _ACEOF
   14176 if ac_fn_c_try_compile "$LINENO"
   14177 then :
   14178   xorg_cv_cc_flag_unknown_warning_option=yes
   14179 else case e in #(
   14180   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14181 esac
   14182 fi
   14183 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14184 esac
   14185 fi
   14186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14187 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14188 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14189 	CFLAGS="$xorg_testset_save_CFLAGS"
   14190 fi
   14191 
   14192 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14193 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14194 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14195 	fi
   14196 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14197 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14198 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14199 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14200 then :
   14201   printf %s "(cached) " >&6
   14202 else case e in #(
   14203   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14204 /* end confdefs.h.  */
   14205 int i;
   14206 _ACEOF
   14207 if ac_fn_c_try_compile "$LINENO"
   14208 then :
   14209   xorg_cv_cc_flag_unused_command_line_argument=yes
   14210 else case e in #(
   14211   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14212 esac
   14213 fi
   14214 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14215 esac
   14216 fi
   14217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14218 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14219 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14220 	CFLAGS="$xorg_testset_save_CFLAGS"
   14221 fi
   14222 
   14223 found="no"
   14224 
   14225 	if test $found = "no" ; then
   14226 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14227 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14228 		fi
   14229 
   14230 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14231 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14232 		fi
   14233 
   14234 		CFLAGS="$CFLAGS -Wpointer-arith"
   14235 
   14236 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   14237 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   14238 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   14239 		if eval test \${$cacheid+y}
   14240 then :
   14241   printf %s "(cached) " >&6
   14242 else case e in #(
   14243   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14244 /* end confdefs.h.  */
   14245 int i;
   14246 int
   14247 main (void)
   14248 {
   14249 
   14250   ;
   14251   return 0;
   14252 }
   14253 _ACEOF
   14254 if ac_fn_c_try_link "$LINENO"
   14255 then :
   14256   eval $cacheid=yes
   14257 else case e in #(
   14258   e) eval $cacheid=no ;;
   14259 esac
   14260 fi
   14261 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14262     conftest$ac_exeext conftest.$ac_ext ;;
   14263 esac
   14264 fi
   14265 
   14266 
   14267 		CFLAGS="$xorg_testset_save_CFLAGS"
   14268 
   14269 		eval supported=\$$cacheid
   14270 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14271 printf "%s\n" "$supported" >&6; }
   14272 		if test "$supported" = "yes" ; then
   14273 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   14274 			found="yes"
   14275 		fi
   14276 	fi
   14277 
   14278 
   14279 
   14280 
   14281 
   14282 
   14283 
   14284 
   14285 
   14286 
   14287 
   14288 
   14289 
   14290 
   14291 
   14292 xorg_testset_save_CFLAGS="$CFLAGS"
   14293 
   14294 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14295 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14296 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14297 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14298 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14299 then :
   14300   printf %s "(cached) " >&6
   14301 else case e in #(
   14302   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14303 /* end confdefs.h.  */
   14304 int i;
   14305 _ACEOF
   14306 if ac_fn_c_try_compile "$LINENO"
   14307 then :
   14308   xorg_cv_cc_flag_unknown_warning_option=yes
   14309 else case e in #(
   14310   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14311 esac
   14312 fi
   14313 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14314 esac
   14315 fi
   14316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14317 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14318 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14319 	CFLAGS="$xorg_testset_save_CFLAGS"
   14320 fi
   14321 
   14322 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14323 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14324 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14325 	fi
   14326 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14327 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14328 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14329 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14330 then :
   14331   printf %s "(cached) " >&6
   14332 else case e in #(
   14333   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14334 /* end confdefs.h.  */
   14335 int i;
   14336 _ACEOF
   14337 if ac_fn_c_try_compile "$LINENO"
   14338 then :
   14339   xorg_cv_cc_flag_unused_command_line_argument=yes
   14340 else case e in #(
   14341   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14342 esac
   14343 fi
   14344 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14345 esac
   14346 fi
   14347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14348 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14349 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14350 	CFLAGS="$xorg_testset_save_CFLAGS"
   14351 fi
   14352 
   14353 found="no"
   14354 
   14355 	if test $found = "no" ; then
   14356 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14357 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14358 		fi
   14359 
   14360 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14361 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14362 		fi
   14363 
   14364 		CFLAGS="$CFLAGS -Wmissing-declarations"
   14365 
   14366 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   14367 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   14368 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   14369 		if eval test \${$cacheid+y}
   14370 then :
   14371   printf %s "(cached) " >&6
   14372 else case e in #(
   14373   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14374 /* end confdefs.h.  */
   14375 int i;
   14376 int
   14377 main (void)
   14378 {
   14379 
   14380   ;
   14381   return 0;
   14382 }
   14383 _ACEOF
   14384 if ac_fn_c_try_link "$LINENO"
   14385 then :
   14386   eval $cacheid=yes
   14387 else case e in #(
   14388   e) eval $cacheid=no ;;
   14389 esac
   14390 fi
   14391 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14392     conftest$ac_exeext conftest.$ac_ext ;;
   14393 esac
   14394 fi
   14395 
   14396 
   14397 		CFLAGS="$xorg_testset_save_CFLAGS"
   14398 
   14399 		eval supported=\$$cacheid
   14400 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14401 printf "%s\n" "$supported" >&6; }
   14402 		if test "$supported" = "yes" ; then
   14403 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   14404 			found="yes"
   14405 		fi
   14406 	fi
   14407 
   14408 
   14409 
   14410 
   14411 
   14412 
   14413 
   14414 
   14415 
   14416 
   14417 
   14418 
   14419 
   14420 
   14421 
   14422 xorg_testset_save_CFLAGS="$CFLAGS"
   14423 
   14424 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14425 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14426 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14427 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14428 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14429 then :
   14430   printf %s "(cached) " >&6
   14431 else case e in #(
   14432   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14433 /* end confdefs.h.  */
   14434 int i;
   14435 _ACEOF
   14436 if ac_fn_c_try_compile "$LINENO"
   14437 then :
   14438   xorg_cv_cc_flag_unknown_warning_option=yes
   14439 else case e in #(
   14440   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14441 esac
   14442 fi
   14443 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14444 esac
   14445 fi
   14446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14447 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14448 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14449 	CFLAGS="$xorg_testset_save_CFLAGS"
   14450 fi
   14451 
   14452 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14453 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14454 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14455 	fi
   14456 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14457 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14458 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14459 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14460 then :
   14461   printf %s "(cached) " >&6
   14462 else case e in #(
   14463   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14464 /* end confdefs.h.  */
   14465 int i;
   14466 _ACEOF
   14467 if ac_fn_c_try_compile "$LINENO"
   14468 then :
   14469   xorg_cv_cc_flag_unused_command_line_argument=yes
   14470 else case e in #(
   14471   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14472 esac
   14473 fi
   14474 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14475 esac
   14476 fi
   14477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14478 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14479 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14480 	CFLAGS="$xorg_testset_save_CFLAGS"
   14481 fi
   14482 
   14483 found="no"
   14484 
   14485 	if test $found = "no" ; then
   14486 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14487 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14488 		fi
   14489 
   14490 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14491 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14492 		fi
   14493 
   14494 		CFLAGS="$CFLAGS -Wformat=2"
   14495 
   14496 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   14497 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   14498 		cacheid=xorg_cv_cc_flag__Wformat_2
   14499 		if eval test \${$cacheid+y}
   14500 then :
   14501   printf %s "(cached) " >&6
   14502 else case e in #(
   14503   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14504 /* end confdefs.h.  */
   14505 int i;
   14506 int
   14507 main (void)
   14508 {
   14509 
   14510   ;
   14511   return 0;
   14512 }
   14513 _ACEOF
   14514 if ac_fn_c_try_link "$LINENO"
   14515 then :
   14516   eval $cacheid=yes
   14517 else case e in #(
   14518   e) eval $cacheid=no ;;
   14519 esac
   14520 fi
   14521 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14522     conftest$ac_exeext conftest.$ac_ext ;;
   14523 esac
   14524 fi
   14525 
   14526 
   14527 		CFLAGS="$xorg_testset_save_CFLAGS"
   14528 
   14529 		eval supported=\$$cacheid
   14530 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14531 printf "%s\n" "$supported" >&6; }
   14532 		if test "$supported" = "yes" ; then
   14533 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   14534 			found="yes"
   14535 		fi
   14536 	fi
   14537 
   14538 	if test $found = "no" ; then
   14539 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14540 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14541 		fi
   14542 
   14543 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14544 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14545 		fi
   14546 
   14547 		CFLAGS="$CFLAGS -Wformat"
   14548 
   14549 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   14550 printf %s "checking if $CC supports -Wformat... " >&6; }
   14551 		cacheid=xorg_cv_cc_flag__Wformat
   14552 		if eval test \${$cacheid+y}
   14553 then :
   14554   printf %s "(cached) " >&6
   14555 else case e in #(
   14556   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14557 /* end confdefs.h.  */
   14558 int i;
   14559 int
   14560 main (void)
   14561 {
   14562 
   14563   ;
   14564   return 0;
   14565 }
   14566 _ACEOF
   14567 if ac_fn_c_try_link "$LINENO"
   14568 then :
   14569   eval $cacheid=yes
   14570 else case e in #(
   14571   e) eval $cacheid=no ;;
   14572 esac
   14573 fi
   14574 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14575     conftest$ac_exeext conftest.$ac_ext ;;
   14576 esac
   14577 fi
   14578 
   14579 
   14580 		CFLAGS="$xorg_testset_save_CFLAGS"
   14581 
   14582 		eval supported=\$$cacheid
   14583 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14584 printf "%s\n" "$supported" >&6; }
   14585 		if test "$supported" = "yes" ; then
   14586 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   14587 			found="yes"
   14588 		fi
   14589 	fi
   14590 
   14591 
   14592 
   14593 
   14594 
   14595 
   14596 
   14597 
   14598 
   14599 
   14600 
   14601 
   14602 
   14603 
   14604 
   14605 
   14606 
   14607 xorg_testset_save_CFLAGS="$CFLAGS"
   14608 
   14609 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14610 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14611 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14612 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14613 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14614 then :
   14615   printf %s "(cached) " >&6
   14616 else case e in #(
   14617   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14618 /* end confdefs.h.  */
   14619 int i;
   14620 _ACEOF
   14621 if ac_fn_c_try_compile "$LINENO"
   14622 then :
   14623   xorg_cv_cc_flag_unknown_warning_option=yes
   14624 else case e in #(
   14625   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14626 esac
   14627 fi
   14628 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14629 esac
   14630 fi
   14631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14632 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14633 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14634 	CFLAGS="$xorg_testset_save_CFLAGS"
   14635 fi
   14636 
   14637 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14638 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14639 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14640 	fi
   14641 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14642 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14643 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14644 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14645 then :
   14646   printf %s "(cached) " >&6
   14647 else case e in #(
   14648   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14649 /* end confdefs.h.  */
   14650 int i;
   14651 _ACEOF
   14652 if ac_fn_c_try_compile "$LINENO"
   14653 then :
   14654   xorg_cv_cc_flag_unused_command_line_argument=yes
   14655 else case e in #(
   14656   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14657 esac
   14658 fi
   14659 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14660 esac
   14661 fi
   14662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14663 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14664 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14665 	CFLAGS="$xorg_testset_save_CFLAGS"
   14666 fi
   14667 
   14668 found="no"
   14669 
   14670 	if test $found = "no" ; then
   14671 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14672 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14673 		fi
   14674 
   14675 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14676 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14677 		fi
   14678 
   14679 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   14680 
   14681 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   14682 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   14683 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   14684 		if eval test \${$cacheid+y}
   14685 then :
   14686   printf %s "(cached) " >&6
   14687 else case e in #(
   14688   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14689 /* end confdefs.h.  */
   14690 int i;
   14691 int
   14692 main (void)
   14693 {
   14694 
   14695   ;
   14696   return 0;
   14697 }
   14698 _ACEOF
   14699 if ac_fn_c_try_link "$LINENO"
   14700 then :
   14701   eval $cacheid=yes
   14702 else case e in #(
   14703   e) eval $cacheid=no ;;
   14704 esac
   14705 fi
   14706 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14707     conftest$ac_exeext conftest.$ac_ext ;;
   14708 esac
   14709 fi
   14710 
   14711 
   14712 		CFLAGS="$xorg_testset_save_CFLAGS"
   14713 
   14714 		eval supported=\$$cacheid
   14715 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14716 printf "%s\n" "$supported" >&6; }
   14717 		if test "$supported" = "yes" ; then
   14718 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   14719 			found="yes"
   14720 		fi
   14721 	fi
   14722 
   14723 
   14724 
   14725 
   14726 
   14727 
   14728 
   14729 
   14730 
   14731 
   14732 
   14733 
   14734 
   14735 
   14736 
   14737 xorg_testset_save_CFLAGS="$CFLAGS"
   14738 
   14739 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14740 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14741 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14742 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14743 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14744 then :
   14745   printf %s "(cached) " >&6
   14746 else case e in #(
   14747   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14748 /* end confdefs.h.  */
   14749 int i;
   14750 _ACEOF
   14751 if ac_fn_c_try_compile "$LINENO"
   14752 then :
   14753   xorg_cv_cc_flag_unknown_warning_option=yes
   14754 else case e in #(
   14755   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14756 esac
   14757 fi
   14758 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14759 esac
   14760 fi
   14761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14762 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14763 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14764 	CFLAGS="$xorg_testset_save_CFLAGS"
   14765 fi
   14766 
   14767 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14768 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14769 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14770 	fi
   14771 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14772 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14773 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14774 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14775 then :
   14776   printf %s "(cached) " >&6
   14777 else case e in #(
   14778   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14779 /* end confdefs.h.  */
   14780 int i;
   14781 _ACEOF
   14782 if ac_fn_c_try_compile "$LINENO"
   14783 then :
   14784   xorg_cv_cc_flag_unused_command_line_argument=yes
   14785 else case e in #(
   14786   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14787 esac
   14788 fi
   14789 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14790 esac
   14791 fi
   14792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14793 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14794 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14795 	CFLAGS="$xorg_testset_save_CFLAGS"
   14796 fi
   14797 
   14798 found="no"
   14799 
   14800 	if test $found = "no" ; then
   14801 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14802 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14803 		fi
   14804 
   14805 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14806 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14807 		fi
   14808 
   14809 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   14810 
   14811 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   14812 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   14813 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   14814 		if eval test \${$cacheid+y}
   14815 then :
   14816   printf %s "(cached) " >&6
   14817 else case e in #(
   14818   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14819 /* end confdefs.h.  */
   14820 int i;
   14821 int
   14822 main (void)
   14823 {
   14824 
   14825   ;
   14826   return 0;
   14827 }
   14828 _ACEOF
   14829 if ac_fn_c_try_link "$LINENO"
   14830 then :
   14831   eval $cacheid=yes
   14832 else case e in #(
   14833   e) eval $cacheid=no ;;
   14834 esac
   14835 fi
   14836 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14837     conftest$ac_exeext conftest.$ac_ext ;;
   14838 esac
   14839 fi
   14840 
   14841 
   14842 		CFLAGS="$xorg_testset_save_CFLAGS"
   14843 
   14844 		eval supported=\$$cacheid
   14845 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14846 printf "%s\n" "$supported" >&6; }
   14847 		if test "$supported" = "yes" ; then
   14848 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   14849 			found="yes"
   14850 		fi
   14851 	fi
   14852 
   14853 
   14854 
   14855 
   14856 
   14857 
   14858 
   14859 
   14860 
   14861 
   14862 
   14863 
   14864 
   14865 
   14866 
   14867 xorg_testset_save_CFLAGS="$CFLAGS"
   14868 
   14869 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14870 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14871 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14872 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14873 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14874 then :
   14875   printf %s "(cached) " >&6
   14876 else case e in #(
   14877   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14878 /* end confdefs.h.  */
   14879 int i;
   14880 _ACEOF
   14881 if ac_fn_c_try_compile "$LINENO"
   14882 then :
   14883   xorg_cv_cc_flag_unknown_warning_option=yes
   14884 else case e in #(
   14885   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14886 esac
   14887 fi
   14888 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14889 esac
   14890 fi
   14891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14892 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14893 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14894 	CFLAGS="$xorg_testset_save_CFLAGS"
   14895 fi
   14896 
   14897 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14898 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14899 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14900 	fi
   14901 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14902 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14903 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14904 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14905 then :
   14906   printf %s "(cached) " >&6
   14907 else case e in #(
   14908   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14909 /* end confdefs.h.  */
   14910 int i;
   14911 _ACEOF
   14912 if ac_fn_c_try_compile "$LINENO"
   14913 then :
   14914   xorg_cv_cc_flag_unused_command_line_argument=yes
   14915 else case e in #(
   14916   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14917 esac
   14918 fi
   14919 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14920 esac
   14921 fi
   14922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14923 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14924 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14925 	CFLAGS="$xorg_testset_save_CFLAGS"
   14926 fi
   14927 
   14928 found="no"
   14929 
   14930 	if test $found = "no" ; then
   14931 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14932 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14933 		fi
   14934 
   14935 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14936 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14937 		fi
   14938 
   14939 		CFLAGS="$CFLAGS -Wnested-externs"
   14940 
   14941 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   14942 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   14943 		cacheid=xorg_cv_cc_flag__Wnested_externs
   14944 		if eval test \${$cacheid+y}
   14945 then :
   14946   printf %s "(cached) " >&6
   14947 else case e in #(
   14948   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14949 /* end confdefs.h.  */
   14950 int i;
   14951 int
   14952 main (void)
   14953 {
   14954 
   14955   ;
   14956   return 0;
   14957 }
   14958 _ACEOF
   14959 if ac_fn_c_try_link "$LINENO"
   14960 then :
   14961   eval $cacheid=yes
   14962 else case e in #(
   14963   e) eval $cacheid=no ;;
   14964 esac
   14965 fi
   14966 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14967     conftest$ac_exeext conftest.$ac_ext ;;
   14968 esac
   14969 fi
   14970 
   14971 
   14972 		CFLAGS="$xorg_testset_save_CFLAGS"
   14973 
   14974 		eval supported=\$$cacheid
   14975 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14976 printf "%s\n" "$supported" >&6; }
   14977 		if test "$supported" = "yes" ; then
   14978 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   14979 			found="yes"
   14980 		fi
   14981 	fi
   14982 
   14983 
   14984 
   14985 
   14986 
   14987 
   14988 
   14989 
   14990 
   14991 
   14992 
   14993 
   14994 
   14995 
   14996 
   14997 xorg_testset_save_CFLAGS="$CFLAGS"
   14998 
   14999 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15000 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15001 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15002 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15003 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15004 then :
   15005   printf %s "(cached) " >&6
   15006 else case e in #(
   15007   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15008 /* end confdefs.h.  */
   15009 int i;
   15010 _ACEOF
   15011 if ac_fn_c_try_compile "$LINENO"
   15012 then :
   15013   xorg_cv_cc_flag_unknown_warning_option=yes
   15014 else case e in #(
   15015   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15016 esac
   15017 fi
   15018 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15019 esac
   15020 fi
   15021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15022 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15023 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15024 	CFLAGS="$xorg_testset_save_CFLAGS"
   15025 fi
   15026 
   15027 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15028 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15029 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15030 	fi
   15031 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15032 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15033 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15034 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15035 then :
   15036   printf %s "(cached) " >&6
   15037 else case e in #(
   15038   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15039 /* end confdefs.h.  */
   15040 int i;
   15041 _ACEOF
   15042 if ac_fn_c_try_compile "$LINENO"
   15043 then :
   15044   xorg_cv_cc_flag_unused_command_line_argument=yes
   15045 else case e in #(
   15046   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15047 esac
   15048 fi
   15049 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15050 esac
   15051 fi
   15052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15053 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15054 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15055 	CFLAGS="$xorg_testset_save_CFLAGS"
   15056 fi
   15057 
   15058 found="no"
   15059 
   15060 	if test $found = "no" ; then
   15061 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15062 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15063 		fi
   15064 
   15065 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15066 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15067 		fi
   15068 
   15069 		CFLAGS="$CFLAGS -Wbad-function-cast"
   15070 
   15071 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   15072 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   15073 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   15074 		if eval test \${$cacheid+y}
   15075 then :
   15076   printf %s "(cached) " >&6
   15077 else case e in #(
   15078   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15079 /* end confdefs.h.  */
   15080 int i;
   15081 int
   15082 main (void)
   15083 {
   15084 
   15085   ;
   15086   return 0;
   15087 }
   15088 _ACEOF
   15089 if ac_fn_c_try_link "$LINENO"
   15090 then :
   15091   eval $cacheid=yes
   15092 else case e in #(
   15093   e) eval $cacheid=no ;;
   15094 esac
   15095 fi
   15096 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15097     conftest$ac_exeext conftest.$ac_ext ;;
   15098 esac
   15099 fi
   15100 
   15101 
   15102 		CFLAGS="$xorg_testset_save_CFLAGS"
   15103 
   15104 		eval supported=\$$cacheid
   15105 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15106 printf "%s\n" "$supported" >&6; }
   15107 		if test "$supported" = "yes" ; then
   15108 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   15109 			found="yes"
   15110 		fi
   15111 	fi
   15112 
   15113 
   15114 
   15115 
   15116 
   15117 
   15118 
   15119 
   15120 
   15121 
   15122 
   15123 
   15124 
   15125 
   15126 
   15127 xorg_testset_save_CFLAGS="$CFLAGS"
   15128 
   15129 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15130 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15131 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15132 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15133 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15134 then :
   15135   printf %s "(cached) " >&6
   15136 else case e in #(
   15137   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15138 /* end confdefs.h.  */
   15139 int i;
   15140 _ACEOF
   15141 if ac_fn_c_try_compile "$LINENO"
   15142 then :
   15143   xorg_cv_cc_flag_unknown_warning_option=yes
   15144 else case e in #(
   15145   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15146 esac
   15147 fi
   15148 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15149 esac
   15150 fi
   15151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15152 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15153 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15154 	CFLAGS="$xorg_testset_save_CFLAGS"
   15155 fi
   15156 
   15157 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15158 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15159 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15160 	fi
   15161 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15162 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15163 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15164 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15165 then :
   15166   printf %s "(cached) " >&6
   15167 else case e in #(
   15168   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15169 /* end confdefs.h.  */
   15170 int i;
   15171 _ACEOF
   15172 if ac_fn_c_try_compile "$LINENO"
   15173 then :
   15174   xorg_cv_cc_flag_unused_command_line_argument=yes
   15175 else case e in #(
   15176   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15177 esac
   15178 fi
   15179 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15180 esac
   15181 fi
   15182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15183 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15184 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15185 	CFLAGS="$xorg_testset_save_CFLAGS"
   15186 fi
   15187 
   15188 found="no"
   15189 
   15190 	if test $found = "no" ; then
   15191 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15192 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15193 		fi
   15194 
   15195 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15196 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15197 		fi
   15198 
   15199 		CFLAGS="$CFLAGS -Wold-style-definition"
   15200 
   15201 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   15202 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   15203 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   15204 		if eval test \${$cacheid+y}
   15205 then :
   15206   printf %s "(cached) " >&6
   15207 else case e in #(
   15208   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15209 /* end confdefs.h.  */
   15210 int i;
   15211 int
   15212 main (void)
   15213 {
   15214 
   15215   ;
   15216   return 0;
   15217 }
   15218 _ACEOF
   15219 if ac_fn_c_try_link "$LINENO"
   15220 then :
   15221   eval $cacheid=yes
   15222 else case e in #(
   15223   e) eval $cacheid=no ;;
   15224 esac
   15225 fi
   15226 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15227     conftest$ac_exeext conftest.$ac_ext ;;
   15228 esac
   15229 fi
   15230 
   15231 
   15232 		CFLAGS="$xorg_testset_save_CFLAGS"
   15233 
   15234 		eval supported=\$$cacheid
   15235 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15236 printf "%s\n" "$supported" >&6; }
   15237 		if test "$supported" = "yes" ; then
   15238 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   15239 			found="yes"
   15240 		fi
   15241 	fi
   15242 
   15243 	if test $found = "no" ; then
   15244 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15245 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15246 		fi
   15247 
   15248 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15249 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15250 		fi
   15251 
   15252 		CFLAGS="$CFLAGS -fd"
   15253 
   15254 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   15255 printf %s "checking if $CC supports -fd... " >&6; }
   15256 		cacheid=xorg_cv_cc_flag__fd
   15257 		if eval test \${$cacheid+y}
   15258 then :
   15259   printf %s "(cached) " >&6
   15260 else case e in #(
   15261   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15262 /* end confdefs.h.  */
   15263 int i;
   15264 int
   15265 main (void)
   15266 {
   15267 
   15268   ;
   15269   return 0;
   15270 }
   15271 _ACEOF
   15272 if ac_fn_c_try_link "$LINENO"
   15273 then :
   15274   eval $cacheid=yes
   15275 else case e in #(
   15276   e) eval $cacheid=no ;;
   15277 esac
   15278 fi
   15279 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15280     conftest$ac_exeext conftest.$ac_ext ;;
   15281 esac
   15282 fi
   15283 
   15284 
   15285 		CFLAGS="$xorg_testset_save_CFLAGS"
   15286 
   15287 		eval supported=\$$cacheid
   15288 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15289 printf "%s\n" "$supported" >&6; }
   15290 		if test "$supported" = "yes" ; then
   15291 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   15292 			found="yes"
   15293 		fi
   15294 	fi
   15295 
   15296 
   15297 
   15298 
   15299 
   15300 # This chunk adds additional warnings that could catch undesired effects.
   15301 
   15302 
   15303 
   15304 
   15305 
   15306 
   15307 
   15308 
   15309 
   15310 
   15311 
   15312 
   15313 
   15314 xorg_testset_save_CFLAGS="$CFLAGS"
   15315 
   15316 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15317 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15318 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15319 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15320 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15321 then :
   15322   printf %s "(cached) " >&6
   15323 else case e in #(
   15324   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15325 /* end confdefs.h.  */
   15326 int i;
   15327 _ACEOF
   15328 if ac_fn_c_try_compile "$LINENO"
   15329 then :
   15330   xorg_cv_cc_flag_unknown_warning_option=yes
   15331 else case e in #(
   15332   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15333 esac
   15334 fi
   15335 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15336 esac
   15337 fi
   15338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15339 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15340 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15341 	CFLAGS="$xorg_testset_save_CFLAGS"
   15342 fi
   15343 
   15344 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15345 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15346 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15347 	fi
   15348 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15349 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15350 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15351 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15352 then :
   15353   printf %s "(cached) " >&6
   15354 else case e in #(
   15355   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15356 /* end confdefs.h.  */
   15357 int i;
   15358 _ACEOF
   15359 if ac_fn_c_try_compile "$LINENO"
   15360 then :
   15361   xorg_cv_cc_flag_unused_command_line_argument=yes
   15362 else case e in #(
   15363   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15364 esac
   15365 fi
   15366 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15367 esac
   15368 fi
   15369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15370 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15371 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15372 	CFLAGS="$xorg_testset_save_CFLAGS"
   15373 fi
   15374 
   15375 found="no"
   15376 
   15377 	if test $found = "no" ; then
   15378 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15379 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15380 		fi
   15381 
   15382 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15383 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15384 		fi
   15385 
   15386 		CFLAGS="$CFLAGS -Wunused"
   15387 
   15388 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   15389 printf %s "checking if $CC supports -Wunused... " >&6; }
   15390 		cacheid=xorg_cv_cc_flag__Wunused
   15391 		if eval test \${$cacheid+y}
   15392 then :
   15393   printf %s "(cached) " >&6
   15394 else case e in #(
   15395   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15396 /* end confdefs.h.  */
   15397 int i;
   15398 int
   15399 main (void)
   15400 {
   15401 
   15402   ;
   15403   return 0;
   15404 }
   15405 _ACEOF
   15406 if ac_fn_c_try_link "$LINENO"
   15407 then :
   15408   eval $cacheid=yes
   15409 else case e in #(
   15410   e) eval $cacheid=no ;;
   15411 esac
   15412 fi
   15413 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15414     conftest$ac_exeext conftest.$ac_ext ;;
   15415 esac
   15416 fi
   15417 
   15418 
   15419 		CFLAGS="$xorg_testset_save_CFLAGS"
   15420 
   15421 		eval supported=\$$cacheid
   15422 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15423 printf "%s\n" "$supported" >&6; }
   15424 		if test "$supported" = "yes" ; then
   15425 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   15426 			found="yes"
   15427 		fi
   15428 	fi
   15429 
   15430 
   15431 
   15432 
   15433 
   15434 
   15435 
   15436 
   15437 
   15438 
   15439 
   15440 
   15441 
   15442 
   15443 
   15444 xorg_testset_save_CFLAGS="$CFLAGS"
   15445 
   15446 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15447 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15448 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15449 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15450 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15451 then :
   15452   printf %s "(cached) " >&6
   15453 else case e in #(
   15454   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15455 /* end confdefs.h.  */
   15456 int i;
   15457 _ACEOF
   15458 if ac_fn_c_try_compile "$LINENO"
   15459 then :
   15460   xorg_cv_cc_flag_unknown_warning_option=yes
   15461 else case e in #(
   15462   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15463 esac
   15464 fi
   15465 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15466 esac
   15467 fi
   15468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15469 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15470 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15471 	CFLAGS="$xorg_testset_save_CFLAGS"
   15472 fi
   15473 
   15474 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15475 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15476 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15477 	fi
   15478 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15479 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15480 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15481 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15482 then :
   15483   printf %s "(cached) " >&6
   15484 else case e in #(
   15485   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15486 /* end confdefs.h.  */
   15487 int i;
   15488 _ACEOF
   15489 if ac_fn_c_try_compile "$LINENO"
   15490 then :
   15491   xorg_cv_cc_flag_unused_command_line_argument=yes
   15492 else case e in #(
   15493   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15494 esac
   15495 fi
   15496 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15497 esac
   15498 fi
   15499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15500 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15501 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15502 	CFLAGS="$xorg_testset_save_CFLAGS"
   15503 fi
   15504 
   15505 found="no"
   15506 
   15507 	if test $found = "no" ; then
   15508 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15509 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15510 		fi
   15511 
   15512 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15513 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15514 		fi
   15515 
   15516 		CFLAGS="$CFLAGS -Wuninitialized"
   15517 
   15518 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   15519 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   15520 		cacheid=xorg_cv_cc_flag__Wuninitialized
   15521 		if eval test \${$cacheid+y}
   15522 then :
   15523   printf %s "(cached) " >&6
   15524 else case e in #(
   15525   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15526 /* end confdefs.h.  */
   15527 int i;
   15528 int
   15529 main (void)
   15530 {
   15531 
   15532   ;
   15533   return 0;
   15534 }
   15535 _ACEOF
   15536 if ac_fn_c_try_link "$LINENO"
   15537 then :
   15538   eval $cacheid=yes
   15539 else case e in #(
   15540   e) eval $cacheid=no ;;
   15541 esac
   15542 fi
   15543 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15544     conftest$ac_exeext conftest.$ac_ext ;;
   15545 esac
   15546 fi
   15547 
   15548 
   15549 		CFLAGS="$xorg_testset_save_CFLAGS"
   15550 
   15551 		eval supported=\$$cacheid
   15552 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15553 printf "%s\n" "$supported" >&6; }
   15554 		if test "$supported" = "yes" ; then
   15555 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   15556 			found="yes"
   15557 		fi
   15558 	fi
   15559 
   15560 
   15561 
   15562 
   15563 
   15564 
   15565 
   15566 
   15567 
   15568 
   15569 
   15570 
   15571 
   15572 
   15573 
   15574 xorg_testset_save_CFLAGS="$CFLAGS"
   15575 
   15576 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15577 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15578 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15579 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15580 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15581 then :
   15582   printf %s "(cached) " >&6
   15583 else case e in #(
   15584   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15585 /* end confdefs.h.  */
   15586 int i;
   15587 _ACEOF
   15588 if ac_fn_c_try_compile "$LINENO"
   15589 then :
   15590   xorg_cv_cc_flag_unknown_warning_option=yes
   15591 else case e in #(
   15592   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15593 esac
   15594 fi
   15595 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15596 esac
   15597 fi
   15598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15599 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15600 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15601 	CFLAGS="$xorg_testset_save_CFLAGS"
   15602 fi
   15603 
   15604 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15605 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15606 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15607 	fi
   15608 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15609 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15610 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15611 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15612 then :
   15613   printf %s "(cached) " >&6
   15614 else case e in #(
   15615   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15616 /* end confdefs.h.  */
   15617 int i;
   15618 _ACEOF
   15619 if ac_fn_c_try_compile "$LINENO"
   15620 then :
   15621   xorg_cv_cc_flag_unused_command_line_argument=yes
   15622 else case e in #(
   15623   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15624 esac
   15625 fi
   15626 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15627 esac
   15628 fi
   15629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15630 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15631 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15632 	CFLAGS="$xorg_testset_save_CFLAGS"
   15633 fi
   15634 
   15635 found="no"
   15636 
   15637 	if test $found = "no" ; then
   15638 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15639 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15640 		fi
   15641 
   15642 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15643 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15644 		fi
   15645 
   15646 		CFLAGS="$CFLAGS -Wshadow"
   15647 
   15648 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   15649 printf %s "checking if $CC supports -Wshadow... " >&6; }
   15650 		cacheid=xorg_cv_cc_flag__Wshadow
   15651 		if eval test \${$cacheid+y}
   15652 then :
   15653   printf %s "(cached) " >&6
   15654 else case e in #(
   15655   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15656 /* end confdefs.h.  */
   15657 int i;
   15658 int
   15659 main (void)
   15660 {
   15661 
   15662   ;
   15663   return 0;
   15664 }
   15665 _ACEOF
   15666 if ac_fn_c_try_link "$LINENO"
   15667 then :
   15668   eval $cacheid=yes
   15669 else case e in #(
   15670   e) eval $cacheid=no ;;
   15671 esac
   15672 fi
   15673 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15674     conftest$ac_exeext conftest.$ac_ext ;;
   15675 esac
   15676 fi
   15677 
   15678 
   15679 		CFLAGS="$xorg_testset_save_CFLAGS"
   15680 
   15681 		eval supported=\$$cacheid
   15682 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15683 printf "%s\n" "$supported" >&6; }
   15684 		if test "$supported" = "yes" ; then
   15685 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   15686 			found="yes"
   15687 		fi
   15688 	fi
   15689 
   15690 
   15691 
   15692 
   15693 
   15694 
   15695 
   15696 
   15697 
   15698 
   15699 
   15700 
   15701 
   15702 
   15703 
   15704 xorg_testset_save_CFLAGS="$CFLAGS"
   15705 
   15706 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15707 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15708 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15709 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15710 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15711 then :
   15712   printf %s "(cached) " >&6
   15713 else case e in #(
   15714   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15715 /* end confdefs.h.  */
   15716 int i;
   15717 _ACEOF
   15718 if ac_fn_c_try_compile "$LINENO"
   15719 then :
   15720   xorg_cv_cc_flag_unknown_warning_option=yes
   15721 else case e in #(
   15722   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15723 esac
   15724 fi
   15725 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15726 esac
   15727 fi
   15728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15729 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15730 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15731 	CFLAGS="$xorg_testset_save_CFLAGS"
   15732 fi
   15733 
   15734 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15735 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15736 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15737 	fi
   15738 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15739 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15740 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15741 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15742 then :
   15743   printf %s "(cached) " >&6
   15744 else case e in #(
   15745   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15746 /* end confdefs.h.  */
   15747 int i;
   15748 _ACEOF
   15749 if ac_fn_c_try_compile "$LINENO"
   15750 then :
   15751   xorg_cv_cc_flag_unused_command_line_argument=yes
   15752 else case e in #(
   15753   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15754 esac
   15755 fi
   15756 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15757 esac
   15758 fi
   15759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15760 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15761 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15762 	CFLAGS="$xorg_testset_save_CFLAGS"
   15763 fi
   15764 
   15765 found="no"
   15766 
   15767 	if test $found = "no" ; then
   15768 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15769 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15770 		fi
   15771 
   15772 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15773 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15774 		fi
   15775 
   15776 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   15777 
   15778 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   15779 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   15780 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   15781 		if eval test \${$cacheid+y}
   15782 then :
   15783   printf %s "(cached) " >&6
   15784 else case e in #(
   15785   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15786 /* end confdefs.h.  */
   15787 int i;
   15788 int
   15789 main (void)
   15790 {
   15791 
   15792   ;
   15793   return 0;
   15794 }
   15795 _ACEOF
   15796 if ac_fn_c_try_link "$LINENO"
   15797 then :
   15798   eval $cacheid=yes
   15799 else case e in #(
   15800   e) eval $cacheid=no ;;
   15801 esac
   15802 fi
   15803 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15804     conftest$ac_exeext conftest.$ac_ext ;;
   15805 esac
   15806 fi
   15807 
   15808 
   15809 		CFLAGS="$xorg_testset_save_CFLAGS"
   15810 
   15811 		eval supported=\$$cacheid
   15812 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15813 printf "%s\n" "$supported" >&6; }
   15814 		if test "$supported" = "yes" ; then
   15815 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   15816 			found="yes"
   15817 		fi
   15818 	fi
   15819 
   15820 
   15821 
   15822 
   15823 
   15824 
   15825 
   15826 
   15827 
   15828 
   15829 
   15830 
   15831 
   15832 
   15833 
   15834 xorg_testset_save_CFLAGS="$CFLAGS"
   15835 
   15836 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15837 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15838 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15839 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15840 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15841 then :
   15842   printf %s "(cached) " >&6
   15843 else case e in #(
   15844   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15845 /* end confdefs.h.  */
   15846 int i;
   15847 _ACEOF
   15848 if ac_fn_c_try_compile "$LINENO"
   15849 then :
   15850   xorg_cv_cc_flag_unknown_warning_option=yes
   15851 else case e in #(
   15852   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15853 esac
   15854 fi
   15855 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15856 esac
   15857 fi
   15858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15859 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15860 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15861 	CFLAGS="$xorg_testset_save_CFLAGS"
   15862 fi
   15863 
   15864 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15865 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15866 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15867 	fi
   15868 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15869 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15870 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15871 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15872 then :
   15873   printf %s "(cached) " >&6
   15874 else case e in #(
   15875   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15876 /* end confdefs.h.  */
   15877 int i;
   15878 _ACEOF
   15879 if ac_fn_c_try_compile "$LINENO"
   15880 then :
   15881   xorg_cv_cc_flag_unused_command_line_argument=yes
   15882 else case e in #(
   15883   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15884 esac
   15885 fi
   15886 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15887 esac
   15888 fi
   15889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15890 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15891 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15892 	CFLAGS="$xorg_testset_save_CFLAGS"
   15893 fi
   15894 
   15895 found="no"
   15896 
   15897 	if test $found = "no" ; then
   15898 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15899 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15900 		fi
   15901 
   15902 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15903 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15904 		fi
   15905 
   15906 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   15907 
   15908 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   15909 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   15910 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   15911 		if eval test \${$cacheid+y}
   15912 then :
   15913   printf %s "(cached) " >&6
   15914 else case e in #(
   15915   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15916 /* end confdefs.h.  */
   15917 int i;
   15918 int
   15919 main (void)
   15920 {
   15921 
   15922   ;
   15923   return 0;
   15924 }
   15925 _ACEOF
   15926 if ac_fn_c_try_link "$LINENO"
   15927 then :
   15928   eval $cacheid=yes
   15929 else case e in #(
   15930   e) eval $cacheid=no ;;
   15931 esac
   15932 fi
   15933 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15934     conftest$ac_exeext conftest.$ac_ext ;;
   15935 esac
   15936 fi
   15937 
   15938 
   15939 		CFLAGS="$xorg_testset_save_CFLAGS"
   15940 
   15941 		eval supported=\$$cacheid
   15942 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15943 printf "%s\n" "$supported" >&6; }
   15944 		if test "$supported" = "yes" ; then
   15945 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   15946 			found="yes"
   15947 		fi
   15948 	fi
   15949 
   15950 
   15951 
   15952 
   15953 
   15954 
   15955 
   15956 
   15957 
   15958 
   15959 
   15960 
   15961 
   15962 
   15963 
   15964 xorg_testset_save_CFLAGS="$CFLAGS"
   15965 
   15966 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15967 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15968 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15969 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15970 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15971 then :
   15972   printf %s "(cached) " >&6
   15973 else case e in #(
   15974   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15975 /* end confdefs.h.  */
   15976 int i;
   15977 _ACEOF
   15978 if ac_fn_c_try_compile "$LINENO"
   15979 then :
   15980   xorg_cv_cc_flag_unknown_warning_option=yes
   15981 else case e in #(
   15982   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15983 esac
   15984 fi
   15985 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15986 esac
   15987 fi
   15988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15989 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15990 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15991 	CFLAGS="$xorg_testset_save_CFLAGS"
   15992 fi
   15993 
   15994 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15995 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15996 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15997 	fi
   15998 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15999 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16000 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16001 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16002 then :
   16003   printf %s "(cached) " >&6
   16004 else case e in #(
   16005   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16006 /* end confdefs.h.  */
   16007 int i;
   16008 _ACEOF
   16009 if ac_fn_c_try_compile "$LINENO"
   16010 then :
   16011   xorg_cv_cc_flag_unused_command_line_argument=yes
   16012 else case e in #(
   16013   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16014 esac
   16015 fi
   16016 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16017 esac
   16018 fi
   16019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16020 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16021 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16022 	CFLAGS="$xorg_testset_save_CFLAGS"
   16023 fi
   16024 
   16025 found="no"
   16026 
   16027 	if test $found = "no" ; then
   16028 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16029 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16030 		fi
   16031 
   16032 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16033 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16034 		fi
   16035 
   16036 		CFLAGS="$CFLAGS -Wredundant-decls"
   16037 
   16038 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   16039 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   16040 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   16041 		if eval test \${$cacheid+y}
   16042 then :
   16043   printf %s "(cached) " >&6
   16044 else case e in #(
   16045   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16046 /* end confdefs.h.  */
   16047 int i;
   16048 int
   16049 main (void)
   16050 {
   16051 
   16052   ;
   16053   return 0;
   16054 }
   16055 _ACEOF
   16056 if ac_fn_c_try_link "$LINENO"
   16057 then :
   16058   eval $cacheid=yes
   16059 else case e in #(
   16060   e) eval $cacheid=no ;;
   16061 esac
   16062 fi
   16063 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16064     conftest$ac_exeext conftest.$ac_ext ;;
   16065 esac
   16066 fi
   16067 
   16068 
   16069 		CFLAGS="$xorg_testset_save_CFLAGS"
   16070 
   16071 		eval supported=\$$cacheid
   16072 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16073 printf "%s\n" "$supported" >&6; }
   16074 		if test "$supported" = "yes" ; then
   16075 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   16076 			found="yes"
   16077 		fi
   16078 	fi
   16079 
   16080 
   16081 
   16082 
   16083 
   16084 
   16085 
   16086 
   16087 
   16088 
   16089 
   16090 
   16091 
   16092 
   16093 
   16094 xorg_testset_save_CFLAGS="$CFLAGS"
   16095 
   16096 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16097 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16098 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16099 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16100 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16101 then :
   16102   printf %s "(cached) " >&6
   16103 else case e in #(
   16104   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16105 /* end confdefs.h.  */
   16106 int i;
   16107 _ACEOF
   16108 if ac_fn_c_try_compile "$LINENO"
   16109 then :
   16110   xorg_cv_cc_flag_unknown_warning_option=yes
   16111 else case e in #(
   16112   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16113 esac
   16114 fi
   16115 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16116 esac
   16117 fi
   16118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16119 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16120 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16121 	CFLAGS="$xorg_testset_save_CFLAGS"
   16122 fi
   16123 
   16124 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16125 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16126 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16127 	fi
   16128 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16129 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16130 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16131 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16132 then :
   16133   printf %s "(cached) " >&6
   16134 else case e in #(
   16135   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16136 /* end confdefs.h.  */
   16137 int i;
   16138 _ACEOF
   16139 if ac_fn_c_try_compile "$LINENO"
   16140 then :
   16141   xorg_cv_cc_flag_unused_command_line_argument=yes
   16142 else case e in #(
   16143   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16144 esac
   16145 fi
   16146 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16147 esac
   16148 fi
   16149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16150 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16151 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16152 	CFLAGS="$xorg_testset_save_CFLAGS"
   16153 fi
   16154 
   16155 found="no"
   16156 
   16157 	if test $found = "no" ; then
   16158 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16159 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16160 		fi
   16161 
   16162 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16163 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16164 		fi
   16165 
   16166 		CFLAGS="$CFLAGS -Wlogical-op"
   16167 
   16168 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   16169 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   16170 		cacheid=xorg_cv_cc_flag__Wlogical_op
   16171 		if eval test \${$cacheid+y}
   16172 then :
   16173   printf %s "(cached) " >&6
   16174 else case e in #(
   16175   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16176 /* end confdefs.h.  */
   16177 int i;
   16178 int
   16179 main (void)
   16180 {
   16181 
   16182   ;
   16183   return 0;
   16184 }
   16185 _ACEOF
   16186 if ac_fn_c_try_link "$LINENO"
   16187 then :
   16188   eval $cacheid=yes
   16189 else case e in #(
   16190   e) eval $cacheid=no ;;
   16191 esac
   16192 fi
   16193 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16194     conftest$ac_exeext conftest.$ac_ext ;;
   16195 esac
   16196 fi
   16197 
   16198 
   16199 		CFLAGS="$xorg_testset_save_CFLAGS"
   16200 
   16201 		eval supported=\$$cacheid
   16202 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16203 printf "%s\n" "$supported" >&6; }
   16204 		if test "$supported" = "yes" ; then
   16205 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   16206 			found="yes"
   16207 		fi
   16208 	fi
   16209 
   16210 
   16211 
   16212 # These are currently disabled because they are noisy.  They will be enabled
   16213 # in the future once the codebase is sufficiently modernized to silence
   16214 # them.  For now, I don't want them to drown out the other warnings.
   16215 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   16216 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   16217 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   16218 
   16219 # Turn some warnings into errors, so we don't accidentally get successful builds
   16220 # when there are problems that should be fixed.
   16221 
   16222 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   16223 
   16224 
   16225 
   16226 
   16227 
   16228 
   16229 
   16230 
   16231 
   16232 
   16233 
   16234 
   16235 
   16236 xorg_testset_save_CFLAGS="$CFLAGS"
   16237 
   16238 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16239 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16240 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16241 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16242 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16243 then :
   16244   printf %s "(cached) " >&6
   16245 else case e in #(
   16246   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16247 /* end confdefs.h.  */
   16248 int i;
   16249 _ACEOF
   16250 if ac_fn_c_try_compile "$LINENO"
   16251 then :
   16252   xorg_cv_cc_flag_unknown_warning_option=yes
   16253 else case e in #(
   16254   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16255 esac
   16256 fi
   16257 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16258 esac
   16259 fi
   16260 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16261 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16262 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16263 	CFLAGS="$xorg_testset_save_CFLAGS"
   16264 fi
   16265 
   16266 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16267 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16268 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16269 	fi
   16270 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16271 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16272 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16273 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16274 then :
   16275   printf %s "(cached) " >&6
   16276 else case e in #(
   16277   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16278 /* end confdefs.h.  */
   16279 int i;
   16280 _ACEOF
   16281 if ac_fn_c_try_compile "$LINENO"
   16282 then :
   16283   xorg_cv_cc_flag_unused_command_line_argument=yes
   16284 else case e in #(
   16285   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16286 esac
   16287 fi
   16288 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16289 esac
   16290 fi
   16291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16292 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16293 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16294 	CFLAGS="$xorg_testset_save_CFLAGS"
   16295 fi
   16296 
   16297 found="no"
   16298 
   16299 	if test $found = "no" ; then
   16300 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16301 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16302 		fi
   16303 
   16304 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16305 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16306 		fi
   16307 
   16308 		CFLAGS="$CFLAGS -Werror=implicit"
   16309 
   16310 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   16311 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   16312 		cacheid=xorg_cv_cc_flag__Werror_implicit
   16313 		if eval test \${$cacheid+y}
   16314 then :
   16315   printf %s "(cached) " >&6
   16316 else case e in #(
   16317   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16318 /* end confdefs.h.  */
   16319 int i;
   16320 int
   16321 main (void)
   16322 {
   16323 
   16324   ;
   16325   return 0;
   16326 }
   16327 _ACEOF
   16328 if ac_fn_c_try_link "$LINENO"
   16329 then :
   16330   eval $cacheid=yes
   16331 else case e in #(
   16332   e) eval $cacheid=no ;;
   16333 esac
   16334 fi
   16335 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16336     conftest$ac_exeext conftest.$ac_ext ;;
   16337 esac
   16338 fi
   16339 
   16340 
   16341 		CFLAGS="$xorg_testset_save_CFLAGS"
   16342 
   16343 		eval supported=\$$cacheid
   16344 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16345 printf "%s\n" "$supported" >&6; }
   16346 		if test "$supported" = "yes" ; then
   16347 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   16348 			found="yes"
   16349 		fi
   16350 	fi
   16351 
   16352 	if test $found = "no" ; then
   16353 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16354 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16355 		fi
   16356 
   16357 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16358 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16359 		fi
   16360 
   16361 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   16362 
   16363 		{ 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
   16364 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   16365 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   16366 		if eval test \${$cacheid+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 int
   16374 main (void)
   16375 {
   16376 
   16377   ;
   16378   return 0;
   16379 }
   16380 _ACEOF
   16381 if ac_fn_c_try_link "$LINENO"
   16382 then :
   16383   eval $cacheid=yes
   16384 else case e in #(
   16385   e) eval $cacheid=no ;;
   16386 esac
   16387 fi
   16388 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16389     conftest$ac_exeext conftest.$ac_ext ;;
   16390 esac
   16391 fi
   16392 
   16393 
   16394 		CFLAGS="$xorg_testset_save_CFLAGS"
   16395 
   16396 		eval supported=\$$cacheid
   16397 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16398 printf "%s\n" "$supported" >&6; }
   16399 		if test "$supported" = "yes" ; then
   16400 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   16401 			found="yes"
   16402 		fi
   16403 	fi
   16404 
   16405 
   16406 
   16407 
   16408 
   16409 
   16410 
   16411 
   16412 
   16413 
   16414 
   16415 
   16416 
   16417 
   16418 
   16419 xorg_testset_save_CFLAGS="$CFLAGS"
   16420 
   16421 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16422 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16423 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16424 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16425 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16426 then :
   16427   printf %s "(cached) " >&6
   16428 else case e in #(
   16429   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16430 /* end confdefs.h.  */
   16431 int i;
   16432 _ACEOF
   16433 if ac_fn_c_try_compile "$LINENO"
   16434 then :
   16435   xorg_cv_cc_flag_unknown_warning_option=yes
   16436 else case e in #(
   16437   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16438 esac
   16439 fi
   16440 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16441 esac
   16442 fi
   16443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16444 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16445 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16446 	CFLAGS="$xorg_testset_save_CFLAGS"
   16447 fi
   16448 
   16449 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16450 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16451 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16452 	fi
   16453 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16454 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16455 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16456 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16457 then :
   16458   printf %s "(cached) " >&6
   16459 else case e in #(
   16460   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16461 /* end confdefs.h.  */
   16462 int i;
   16463 _ACEOF
   16464 if ac_fn_c_try_compile "$LINENO"
   16465 then :
   16466   xorg_cv_cc_flag_unused_command_line_argument=yes
   16467 else case e in #(
   16468   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16469 esac
   16470 fi
   16471 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16472 esac
   16473 fi
   16474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16475 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16476 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16477 	CFLAGS="$xorg_testset_save_CFLAGS"
   16478 fi
   16479 
   16480 found="no"
   16481 
   16482 	if test $found = "no" ; then
   16483 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16484 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16485 		fi
   16486 
   16487 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16488 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16489 		fi
   16490 
   16491 		CFLAGS="$CFLAGS -Werror=nonnull"
   16492 
   16493 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   16494 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   16495 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   16496 		if eval test \${$cacheid+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 int
   16504 main (void)
   16505 {
   16506 
   16507   ;
   16508   return 0;
   16509 }
   16510 _ACEOF
   16511 if ac_fn_c_try_link "$LINENO"
   16512 then :
   16513   eval $cacheid=yes
   16514 else case e in #(
   16515   e) eval $cacheid=no ;;
   16516 esac
   16517 fi
   16518 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16519     conftest$ac_exeext conftest.$ac_ext ;;
   16520 esac
   16521 fi
   16522 
   16523 
   16524 		CFLAGS="$xorg_testset_save_CFLAGS"
   16525 
   16526 		eval supported=\$$cacheid
   16527 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16528 printf "%s\n" "$supported" >&6; }
   16529 		if test "$supported" = "yes" ; then
   16530 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   16531 			found="yes"
   16532 		fi
   16533 	fi
   16534 
   16535 
   16536 
   16537 
   16538 
   16539 
   16540 
   16541 
   16542 
   16543 
   16544 
   16545 
   16546 
   16547 
   16548 
   16549 xorg_testset_save_CFLAGS="$CFLAGS"
   16550 
   16551 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16552 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16553 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16554 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16555 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16556 then :
   16557   printf %s "(cached) " >&6
   16558 else case e in #(
   16559   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16560 /* end confdefs.h.  */
   16561 int i;
   16562 _ACEOF
   16563 if ac_fn_c_try_compile "$LINENO"
   16564 then :
   16565   xorg_cv_cc_flag_unknown_warning_option=yes
   16566 else case e in #(
   16567   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16568 esac
   16569 fi
   16570 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16571 esac
   16572 fi
   16573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16574 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16575 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16576 	CFLAGS="$xorg_testset_save_CFLAGS"
   16577 fi
   16578 
   16579 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16580 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16581 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16582 	fi
   16583 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16584 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16585 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16586 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16587 then :
   16588   printf %s "(cached) " >&6
   16589 else case e in #(
   16590   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16591 /* end confdefs.h.  */
   16592 int i;
   16593 _ACEOF
   16594 if ac_fn_c_try_compile "$LINENO"
   16595 then :
   16596   xorg_cv_cc_flag_unused_command_line_argument=yes
   16597 else case e in #(
   16598   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16599 esac
   16600 fi
   16601 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16602 esac
   16603 fi
   16604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16605 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16606 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16607 	CFLAGS="$xorg_testset_save_CFLAGS"
   16608 fi
   16609 
   16610 found="no"
   16611 
   16612 	if test $found = "no" ; then
   16613 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16614 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16615 		fi
   16616 
   16617 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16618 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16619 		fi
   16620 
   16621 		CFLAGS="$CFLAGS -Werror=init-self"
   16622 
   16623 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   16624 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   16625 		cacheid=xorg_cv_cc_flag__Werror_init_self
   16626 		if eval test \${$cacheid+y}
   16627 then :
   16628   printf %s "(cached) " >&6
   16629 else case e in #(
   16630   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16631 /* end confdefs.h.  */
   16632 int i;
   16633 int
   16634 main (void)
   16635 {
   16636 
   16637   ;
   16638   return 0;
   16639 }
   16640 _ACEOF
   16641 if ac_fn_c_try_link "$LINENO"
   16642 then :
   16643   eval $cacheid=yes
   16644 else case e in #(
   16645   e) eval $cacheid=no ;;
   16646 esac
   16647 fi
   16648 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16649     conftest$ac_exeext conftest.$ac_ext ;;
   16650 esac
   16651 fi
   16652 
   16653 
   16654 		CFLAGS="$xorg_testset_save_CFLAGS"
   16655 
   16656 		eval supported=\$$cacheid
   16657 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16658 printf "%s\n" "$supported" >&6; }
   16659 		if test "$supported" = "yes" ; then
   16660 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   16661 			found="yes"
   16662 		fi
   16663 	fi
   16664 
   16665 
   16666 
   16667 
   16668 
   16669 
   16670 
   16671 
   16672 
   16673 
   16674 
   16675 
   16676 
   16677 
   16678 
   16679 xorg_testset_save_CFLAGS="$CFLAGS"
   16680 
   16681 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16682 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16683 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16684 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16685 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16686 then :
   16687   printf %s "(cached) " >&6
   16688 else case e in #(
   16689   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16690 /* end confdefs.h.  */
   16691 int i;
   16692 _ACEOF
   16693 if ac_fn_c_try_compile "$LINENO"
   16694 then :
   16695   xorg_cv_cc_flag_unknown_warning_option=yes
   16696 else case e in #(
   16697   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16698 esac
   16699 fi
   16700 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16701 esac
   16702 fi
   16703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16704 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16705 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16706 	CFLAGS="$xorg_testset_save_CFLAGS"
   16707 fi
   16708 
   16709 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16710 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16711 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16712 	fi
   16713 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16714 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16715 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16716 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16717 then :
   16718   printf %s "(cached) " >&6
   16719 else case e in #(
   16720   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16721 /* end confdefs.h.  */
   16722 int i;
   16723 _ACEOF
   16724 if ac_fn_c_try_compile "$LINENO"
   16725 then :
   16726   xorg_cv_cc_flag_unused_command_line_argument=yes
   16727 else case e in #(
   16728   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16729 esac
   16730 fi
   16731 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16732 esac
   16733 fi
   16734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16735 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16736 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16737 	CFLAGS="$xorg_testset_save_CFLAGS"
   16738 fi
   16739 
   16740 found="no"
   16741 
   16742 	if test $found = "no" ; then
   16743 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16744 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16745 		fi
   16746 
   16747 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16748 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16749 		fi
   16750 
   16751 		CFLAGS="$CFLAGS -Werror=main"
   16752 
   16753 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   16754 printf %s "checking if $CC supports -Werror=main... " >&6; }
   16755 		cacheid=xorg_cv_cc_flag__Werror_main
   16756 		if eval test \${$cacheid+y}
   16757 then :
   16758   printf %s "(cached) " >&6
   16759 else case e in #(
   16760   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16761 /* end confdefs.h.  */
   16762 int i;
   16763 int
   16764 main (void)
   16765 {
   16766 
   16767   ;
   16768   return 0;
   16769 }
   16770 _ACEOF
   16771 if ac_fn_c_try_link "$LINENO"
   16772 then :
   16773   eval $cacheid=yes
   16774 else case e in #(
   16775   e) eval $cacheid=no ;;
   16776 esac
   16777 fi
   16778 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16779     conftest$ac_exeext conftest.$ac_ext ;;
   16780 esac
   16781 fi
   16782 
   16783 
   16784 		CFLAGS="$xorg_testset_save_CFLAGS"
   16785 
   16786 		eval supported=\$$cacheid
   16787 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16788 printf "%s\n" "$supported" >&6; }
   16789 		if test "$supported" = "yes" ; then
   16790 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   16791 			found="yes"
   16792 		fi
   16793 	fi
   16794 
   16795 
   16796 
   16797 
   16798 
   16799 
   16800 
   16801 
   16802 
   16803 
   16804 
   16805 
   16806 
   16807 
   16808 
   16809 xorg_testset_save_CFLAGS="$CFLAGS"
   16810 
   16811 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16812 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16813 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16814 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16815 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16816 then :
   16817   printf %s "(cached) " >&6
   16818 else case e in #(
   16819   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16820 /* end confdefs.h.  */
   16821 int i;
   16822 _ACEOF
   16823 if ac_fn_c_try_compile "$LINENO"
   16824 then :
   16825   xorg_cv_cc_flag_unknown_warning_option=yes
   16826 else case e in #(
   16827   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16828 esac
   16829 fi
   16830 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16831 esac
   16832 fi
   16833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16834 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16835 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16836 	CFLAGS="$xorg_testset_save_CFLAGS"
   16837 fi
   16838 
   16839 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16840 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16841 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16842 	fi
   16843 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16844 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16845 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16846 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16847 then :
   16848   printf %s "(cached) " >&6
   16849 else case e in #(
   16850   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16851 /* end confdefs.h.  */
   16852 int i;
   16853 _ACEOF
   16854 if ac_fn_c_try_compile "$LINENO"
   16855 then :
   16856   xorg_cv_cc_flag_unused_command_line_argument=yes
   16857 else case e in #(
   16858   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16859 esac
   16860 fi
   16861 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16862 esac
   16863 fi
   16864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16865 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16866 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16867 	CFLAGS="$xorg_testset_save_CFLAGS"
   16868 fi
   16869 
   16870 found="no"
   16871 
   16872 	if test $found = "no" ; then
   16873 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16874 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16875 		fi
   16876 
   16877 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16878 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16879 		fi
   16880 
   16881 		CFLAGS="$CFLAGS -Werror=missing-braces"
   16882 
   16883 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   16884 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   16885 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   16886 		if eval test \${$cacheid+y}
   16887 then :
   16888   printf %s "(cached) " >&6
   16889 else case e in #(
   16890   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16891 /* end confdefs.h.  */
   16892 int i;
   16893 int
   16894 main (void)
   16895 {
   16896 
   16897   ;
   16898   return 0;
   16899 }
   16900 _ACEOF
   16901 if ac_fn_c_try_link "$LINENO"
   16902 then :
   16903   eval $cacheid=yes
   16904 else case e in #(
   16905   e) eval $cacheid=no ;;
   16906 esac
   16907 fi
   16908 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16909     conftest$ac_exeext conftest.$ac_ext ;;
   16910 esac
   16911 fi
   16912 
   16913 
   16914 		CFLAGS="$xorg_testset_save_CFLAGS"
   16915 
   16916 		eval supported=\$$cacheid
   16917 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16918 printf "%s\n" "$supported" >&6; }
   16919 		if test "$supported" = "yes" ; then
   16920 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   16921 			found="yes"
   16922 		fi
   16923 	fi
   16924 
   16925 
   16926 
   16927 
   16928 
   16929 
   16930 
   16931 
   16932 
   16933 
   16934 
   16935 
   16936 
   16937 
   16938 
   16939 xorg_testset_save_CFLAGS="$CFLAGS"
   16940 
   16941 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16942 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16943 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16944 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16945 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16946 then :
   16947   printf %s "(cached) " >&6
   16948 else case e in #(
   16949   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16950 /* end confdefs.h.  */
   16951 int i;
   16952 _ACEOF
   16953 if ac_fn_c_try_compile "$LINENO"
   16954 then :
   16955   xorg_cv_cc_flag_unknown_warning_option=yes
   16956 else case e in #(
   16957   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16958 esac
   16959 fi
   16960 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16961 esac
   16962 fi
   16963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16964 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16965 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16966 	CFLAGS="$xorg_testset_save_CFLAGS"
   16967 fi
   16968 
   16969 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16970 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16971 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16972 	fi
   16973 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16974 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16975 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16976 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16977 then :
   16978   printf %s "(cached) " >&6
   16979 else case e in #(
   16980   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16981 /* end confdefs.h.  */
   16982 int i;
   16983 _ACEOF
   16984 if ac_fn_c_try_compile "$LINENO"
   16985 then :
   16986   xorg_cv_cc_flag_unused_command_line_argument=yes
   16987 else case e in #(
   16988   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16989 esac
   16990 fi
   16991 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16992 esac
   16993 fi
   16994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16995 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16996 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16997 	CFLAGS="$xorg_testset_save_CFLAGS"
   16998 fi
   16999 
   17000 found="no"
   17001 
   17002 	if test $found = "no" ; then
   17003 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17004 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17005 		fi
   17006 
   17007 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17008 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17009 		fi
   17010 
   17011 		CFLAGS="$CFLAGS -Werror=sequence-point"
   17012 
   17013 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   17014 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   17015 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   17016 		if eval test \${$cacheid+y}
   17017 then :
   17018   printf %s "(cached) " >&6
   17019 else case e in #(
   17020   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17021 /* end confdefs.h.  */
   17022 int i;
   17023 int
   17024 main (void)
   17025 {
   17026 
   17027   ;
   17028   return 0;
   17029 }
   17030 _ACEOF
   17031 if ac_fn_c_try_link "$LINENO"
   17032 then :
   17033   eval $cacheid=yes
   17034 else case e in #(
   17035   e) eval $cacheid=no ;;
   17036 esac
   17037 fi
   17038 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17039     conftest$ac_exeext conftest.$ac_ext ;;
   17040 esac
   17041 fi
   17042 
   17043 
   17044 		CFLAGS="$xorg_testset_save_CFLAGS"
   17045 
   17046 		eval supported=\$$cacheid
   17047 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17048 printf "%s\n" "$supported" >&6; }
   17049 		if test "$supported" = "yes" ; then
   17050 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   17051 			found="yes"
   17052 		fi
   17053 	fi
   17054 
   17055 
   17056 
   17057 
   17058 
   17059 
   17060 
   17061 
   17062 
   17063 
   17064 
   17065 
   17066 
   17067 
   17068 
   17069 xorg_testset_save_CFLAGS="$CFLAGS"
   17070 
   17071 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17072 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17073 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17074 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17075 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17076 then :
   17077   printf %s "(cached) " >&6
   17078 else case e in #(
   17079   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17080 /* end confdefs.h.  */
   17081 int i;
   17082 _ACEOF
   17083 if ac_fn_c_try_compile "$LINENO"
   17084 then :
   17085   xorg_cv_cc_flag_unknown_warning_option=yes
   17086 else case e in #(
   17087   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17088 esac
   17089 fi
   17090 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17091 esac
   17092 fi
   17093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17094 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17095 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17096 	CFLAGS="$xorg_testset_save_CFLAGS"
   17097 fi
   17098 
   17099 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17100 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17101 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17102 	fi
   17103 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17104 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17105 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17106 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17107 then :
   17108   printf %s "(cached) " >&6
   17109 else case e in #(
   17110   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17111 /* end confdefs.h.  */
   17112 int i;
   17113 _ACEOF
   17114 if ac_fn_c_try_compile "$LINENO"
   17115 then :
   17116   xorg_cv_cc_flag_unused_command_line_argument=yes
   17117 else case e in #(
   17118   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17119 esac
   17120 fi
   17121 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17122 esac
   17123 fi
   17124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17125 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17126 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17127 	CFLAGS="$xorg_testset_save_CFLAGS"
   17128 fi
   17129 
   17130 found="no"
   17131 
   17132 	if test $found = "no" ; then
   17133 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17134 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17135 		fi
   17136 
   17137 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17138 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17139 		fi
   17140 
   17141 		CFLAGS="$CFLAGS -Werror=return-type"
   17142 
   17143 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   17144 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   17145 		cacheid=xorg_cv_cc_flag__Werror_return_type
   17146 		if eval test \${$cacheid+y}
   17147 then :
   17148   printf %s "(cached) " >&6
   17149 else case e in #(
   17150   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17151 /* end confdefs.h.  */
   17152 int i;
   17153 int
   17154 main (void)
   17155 {
   17156 
   17157   ;
   17158   return 0;
   17159 }
   17160 _ACEOF
   17161 if ac_fn_c_try_link "$LINENO"
   17162 then :
   17163   eval $cacheid=yes
   17164 else case e in #(
   17165   e) eval $cacheid=no ;;
   17166 esac
   17167 fi
   17168 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17169     conftest$ac_exeext conftest.$ac_ext ;;
   17170 esac
   17171 fi
   17172 
   17173 
   17174 		CFLAGS="$xorg_testset_save_CFLAGS"
   17175 
   17176 		eval supported=\$$cacheid
   17177 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17178 printf "%s\n" "$supported" >&6; }
   17179 		if test "$supported" = "yes" ; then
   17180 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   17181 			found="yes"
   17182 		fi
   17183 	fi
   17184 
   17185 	if test $found = "no" ; then
   17186 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17187 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17188 		fi
   17189 
   17190 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17191 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17192 		fi
   17193 
   17194 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   17195 
   17196 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   17197 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   17198 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   17199 		if eval test \${$cacheid+y}
   17200 then :
   17201   printf %s "(cached) " >&6
   17202 else case e in #(
   17203   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17204 /* end confdefs.h.  */
   17205 int i;
   17206 int
   17207 main (void)
   17208 {
   17209 
   17210   ;
   17211   return 0;
   17212 }
   17213 _ACEOF
   17214 if ac_fn_c_try_link "$LINENO"
   17215 then :
   17216   eval $cacheid=yes
   17217 else case e in #(
   17218   e) eval $cacheid=no ;;
   17219 esac
   17220 fi
   17221 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17222     conftest$ac_exeext conftest.$ac_ext ;;
   17223 esac
   17224 fi
   17225 
   17226 
   17227 		CFLAGS="$xorg_testset_save_CFLAGS"
   17228 
   17229 		eval supported=\$$cacheid
   17230 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17231 printf "%s\n" "$supported" >&6; }
   17232 		if test "$supported" = "yes" ; then
   17233 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   17234 			found="yes"
   17235 		fi
   17236 	fi
   17237 
   17238 
   17239 
   17240 
   17241 
   17242 
   17243 
   17244 
   17245 
   17246 
   17247 
   17248 
   17249 
   17250 
   17251 
   17252 xorg_testset_save_CFLAGS="$CFLAGS"
   17253 
   17254 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17255 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17256 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17257 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17258 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17259 then :
   17260   printf %s "(cached) " >&6
   17261 else case e in #(
   17262   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17263 /* end confdefs.h.  */
   17264 int i;
   17265 _ACEOF
   17266 if ac_fn_c_try_compile "$LINENO"
   17267 then :
   17268   xorg_cv_cc_flag_unknown_warning_option=yes
   17269 else case e in #(
   17270   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17271 esac
   17272 fi
   17273 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17274 esac
   17275 fi
   17276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17277 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17278 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17279 	CFLAGS="$xorg_testset_save_CFLAGS"
   17280 fi
   17281 
   17282 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17283 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17284 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17285 	fi
   17286 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17287 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17288 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17289 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17290 then :
   17291   printf %s "(cached) " >&6
   17292 else case e in #(
   17293   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17294 /* end confdefs.h.  */
   17295 int i;
   17296 _ACEOF
   17297 if ac_fn_c_try_compile "$LINENO"
   17298 then :
   17299   xorg_cv_cc_flag_unused_command_line_argument=yes
   17300 else case e in #(
   17301   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17302 esac
   17303 fi
   17304 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17305 esac
   17306 fi
   17307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17308 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17309 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17310 	CFLAGS="$xorg_testset_save_CFLAGS"
   17311 fi
   17312 
   17313 found="no"
   17314 
   17315 	if test $found = "no" ; then
   17316 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17317 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17318 		fi
   17319 
   17320 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17321 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17322 		fi
   17323 
   17324 		CFLAGS="$CFLAGS -Werror=trigraphs"
   17325 
   17326 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   17327 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   17328 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   17329 		if eval test \${$cacheid+y}
   17330 then :
   17331   printf %s "(cached) " >&6
   17332 else case e in #(
   17333   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17334 /* end confdefs.h.  */
   17335 int i;
   17336 int
   17337 main (void)
   17338 {
   17339 
   17340   ;
   17341   return 0;
   17342 }
   17343 _ACEOF
   17344 if ac_fn_c_try_link "$LINENO"
   17345 then :
   17346   eval $cacheid=yes
   17347 else case e in #(
   17348   e) eval $cacheid=no ;;
   17349 esac
   17350 fi
   17351 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17352     conftest$ac_exeext conftest.$ac_ext ;;
   17353 esac
   17354 fi
   17355 
   17356 
   17357 		CFLAGS="$xorg_testset_save_CFLAGS"
   17358 
   17359 		eval supported=\$$cacheid
   17360 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17361 printf "%s\n" "$supported" >&6; }
   17362 		if test "$supported" = "yes" ; then
   17363 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   17364 			found="yes"
   17365 		fi
   17366 	fi
   17367 
   17368 
   17369 
   17370 
   17371 
   17372 
   17373 
   17374 
   17375 
   17376 
   17377 
   17378 
   17379 
   17380 
   17381 
   17382 xorg_testset_save_CFLAGS="$CFLAGS"
   17383 
   17384 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17385 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17386 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17387 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17388 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17389 then :
   17390   printf %s "(cached) " >&6
   17391 else case e in #(
   17392   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17393 /* end confdefs.h.  */
   17394 int i;
   17395 _ACEOF
   17396 if ac_fn_c_try_compile "$LINENO"
   17397 then :
   17398   xorg_cv_cc_flag_unknown_warning_option=yes
   17399 else case e in #(
   17400   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17401 esac
   17402 fi
   17403 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17404 esac
   17405 fi
   17406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17407 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17408 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17409 	CFLAGS="$xorg_testset_save_CFLAGS"
   17410 fi
   17411 
   17412 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17413 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17414 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17415 	fi
   17416 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17417 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17418 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17419 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17420 then :
   17421   printf %s "(cached) " >&6
   17422 else case e in #(
   17423   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17424 /* end confdefs.h.  */
   17425 int i;
   17426 _ACEOF
   17427 if ac_fn_c_try_compile "$LINENO"
   17428 then :
   17429   xorg_cv_cc_flag_unused_command_line_argument=yes
   17430 else case e in #(
   17431   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17432 esac
   17433 fi
   17434 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17435 esac
   17436 fi
   17437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17438 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17439 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17440 	CFLAGS="$xorg_testset_save_CFLAGS"
   17441 fi
   17442 
   17443 found="no"
   17444 
   17445 	if test $found = "no" ; then
   17446 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17447 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17448 		fi
   17449 
   17450 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17451 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17452 		fi
   17453 
   17454 		CFLAGS="$CFLAGS -Werror=array-bounds"
   17455 
   17456 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   17457 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   17458 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   17459 		if eval test \${$cacheid+y}
   17460 then :
   17461   printf %s "(cached) " >&6
   17462 else case e in #(
   17463   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17464 /* end confdefs.h.  */
   17465 int i;
   17466 int
   17467 main (void)
   17468 {
   17469 
   17470   ;
   17471   return 0;
   17472 }
   17473 _ACEOF
   17474 if ac_fn_c_try_link "$LINENO"
   17475 then :
   17476   eval $cacheid=yes
   17477 else case e in #(
   17478   e) eval $cacheid=no ;;
   17479 esac
   17480 fi
   17481 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17482     conftest$ac_exeext conftest.$ac_ext ;;
   17483 esac
   17484 fi
   17485 
   17486 
   17487 		CFLAGS="$xorg_testset_save_CFLAGS"
   17488 
   17489 		eval supported=\$$cacheid
   17490 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17491 printf "%s\n" "$supported" >&6; }
   17492 		if test "$supported" = "yes" ; then
   17493 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   17494 			found="yes"
   17495 		fi
   17496 	fi
   17497 
   17498 
   17499 
   17500 
   17501 
   17502 
   17503 
   17504 
   17505 
   17506 
   17507 
   17508 
   17509 
   17510 
   17511 
   17512 xorg_testset_save_CFLAGS="$CFLAGS"
   17513 
   17514 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17515 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17516 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17517 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17518 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17519 then :
   17520   printf %s "(cached) " >&6
   17521 else case e in #(
   17522   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17523 /* end confdefs.h.  */
   17524 int i;
   17525 _ACEOF
   17526 if ac_fn_c_try_compile "$LINENO"
   17527 then :
   17528   xorg_cv_cc_flag_unknown_warning_option=yes
   17529 else case e in #(
   17530   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17531 esac
   17532 fi
   17533 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17534 esac
   17535 fi
   17536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17537 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17538 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17539 	CFLAGS="$xorg_testset_save_CFLAGS"
   17540 fi
   17541 
   17542 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17543 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17544 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17545 	fi
   17546 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17547 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17548 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17549 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17550 then :
   17551   printf %s "(cached) " >&6
   17552 else case e in #(
   17553   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17554 /* end confdefs.h.  */
   17555 int i;
   17556 _ACEOF
   17557 if ac_fn_c_try_compile "$LINENO"
   17558 then :
   17559   xorg_cv_cc_flag_unused_command_line_argument=yes
   17560 else case e in #(
   17561   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17562 esac
   17563 fi
   17564 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17565 esac
   17566 fi
   17567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17568 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17569 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17570 	CFLAGS="$xorg_testset_save_CFLAGS"
   17571 fi
   17572 
   17573 found="no"
   17574 
   17575 	if test $found = "no" ; then
   17576 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17577 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17578 		fi
   17579 
   17580 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17581 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17582 		fi
   17583 
   17584 		CFLAGS="$CFLAGS -Werror=write-strings"
   17585 
   17586 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   17587 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   17588 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   17589 		if eval test \${$cacheid+y}
   17590 then :
   17591   printf %s "(cached) " >&6
   17592 else case e in #(
   17593   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17594 /* end confdefs.h.  */
   17595 int i;
   17596 int
   17597 main (void)
   17598 {
   17599 
   17600   ;
   17601   return 0;
   17602 }
   17603 _ACEOF
   17604 if ac_fn_c_try_link "$LINENO"
   17605 then :
   17606   eval $cacheid=yes
   17607 else case e in #(
   17608   e) eval $cacheid=no ;;
   17609 esac
   17610 fi
   17611 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17612     conftest$ac_exeext conftest.$ac_ext ;;
   17613 esac
   17614 fi
   17615 
   17616 
   17617 		CFLAGS="$xorg_testset_save_CFLAGS"
   17618 
   17619 		eval supported=\$$cacheid
   17620 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17621 printf "%s\n" "$supported" >&6; }
   17622 		if test "$supported" = "yes" ; then
   17623 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   17624 			found="yes"
   17625 		fi
   17626 	fi
   17627 
   17628 
   17629 
   17630 
   17631 
   17632 
   17633 
   17634 
   17635 
   17636 
   17637 
   17638 
   17639 
   17640 
   17641 
   17642 xorg_testset_save_CFLAGS="$CFLAGS"
   17643 
   17644 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17645 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17646 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17647 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17648 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17649 then :
   17650   printf %s "(cached) " >&6
   17651 else case e in #(
   17652   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17653 /* end confdefs.h.  */
   17654 int i;
   17655 _ACEOF
   17656 if ac_fn_c_try_compile "$LINENO"
   17657 then :
   17658   xorg_cv_cc_flag_unknown_warning_option=yes
   17659 else case e in #(
   17660   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17661 esac
   17662 fi
   17663 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17664 esac
   17665 fi
   17666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17667 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17668 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17669 	CFLAGS="$xorg_testset_save_CFLAGS"
   17670 fi
   17671 
   17672 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17673 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17674 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17675 	fi
   17676 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17677 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17678 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17679 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17680 then :
   17681   printf %s "(cached) " >&6
   17682 else case e in #(
   17683   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17684 /* end confdefs.h.  */
   17685 int i;
   17686 _ACEOF
   17687 if ac_fn_c_try_compile "$LINENO"
   17688 then :
   17689   xorg_cv_cc_flag_unused_command_line_argument=yes
   17690 else case e in #(
   17691   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17692 esac
   17693 fi
   17694 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17695 esac
   17696 fi
   17697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17698 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17699 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17700 	CFLAGS="$xorg_testset_save_CFLAGS"
   17701 fi
   17702 
   17703 found="no"
   17704 
   17705 	if test $found = "no" ; then
   17706 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17707 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17708 		fi
   17709 
   17710 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17711 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17712 		fi
   17713 
   17714 		CFLAGS="$CFLAGS -Werror=address"
   17715 
   17716 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   17717 printf %s "checking if $CC supports -Werror=address... " >&6; }
   17718 		cacheid=xorg_cv_cc_flag__Werror_address
   17719 		if eval test \${$cacheid+y}
   17720 then :
   17721   printf %s "(cached) " >&6
   17722 else case e in #(
   17723   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17724 /* end confdefs.h.  */
   17725 int i;
   17726 int
   17727 main (void)
   17728 {
   17729 
   17730   ;
   17731   return 0;
   17732 }
   17733 _ACEOF
   17734 if ac_fn_c_try_link "$LINENO"
   17735 then :
   17736   eval $cacheid=yes
   17737 else case e in #(
   17738   e) eval $cacheid=no ;;
   17739 esac
   17740 fi
   17741 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17742     conftest$ac_exeext conftest.$ac_ext ;;
   17743 esac
   17744 fi
   17745 
   17746 
   17747 		CFLAGS="$xorg_testset_save_CFLAGS"
   17748 
   17749 		eval supported=\$$cacheid
   17750 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17751 printf "%s\n" "$supported" >&6; }
   17752 		if test "$supported" = "yes" ; then
   17753 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   17754 			found="yes"
   17755 		fi
   17756 	fi
   17757 
   17758 
   17759 
   17760 
   17761 
   17762 
   17763 
   17764 
   17765 
   17766 
   17767 
   17768 
   17769 
   17770 
   17771 
   17772 xorg_testset_save_CFLAGS="$CFLAGS"
   17773 
   17774 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17775 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17776 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17777 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17778 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17779 then :
   17780   printf %s "(cached) " >&6
   17781 else case e in #(
   17782   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17783 /* end confdefs.h.  */
   17784 int i;
   17785 _ACEOF
   17786 if ac_fn_c_try_compile "$LINENO"
   17787 then :
   17788   xorg_cv_cc_flag_unknown_warning_option=yes
   17789 else case e in #(
   17790   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17791 esac
   17792 fi
   17793 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17794 esac
   17795 fi
   17796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17797 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17798 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17799 	CFLAGS="$xorg_testset_save_CFLAGS"
   17800 fi
   17801 
   17802 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17803 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17804 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17805 	fi
   17806 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17807 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17808 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17809 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17810 then :
   17811   printf %s "(cached) " >&6
   17812 else case e in #(
   17813   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17814 /* end confdefs.h.  */
   17815 int i;
   17816 _ACEOF
   17817 if ac_fn_c_try_compile "$LINENO"
   17818 then :
   17819   xorg_cv_cc_flag_unused_command_line_argument=yes
   17820 else case e in #(
   17821   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17822 esac
   17823 fi
   17824 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17825 esac
   17826 fi
   17827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17828 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17829 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17830 	CFLAGS="$xorg_testset_save_CFLAGS"
   17831 fi
   17832 
   17833 found="no"
   17834 
   17835 	if test $found = "no" ; then
   17836 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17837 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17838 		fi
   17839 
   17840 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17841 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17842 		fi
   17843 
   17844 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   17845 
   17846 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   17847 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   17848 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   17849 		if eval test \${$cacheid+y}
   17850 then :
   17851   printf %s "(cached) " >&6
   17852 else case e in #(
   17853   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17854 /* end confdefs.h.  */
   17855 int i;
   17856 int
   17857 main (void)
   17858 {
   17859 
   17860   ;
   17861   return 0;
   17862 }
   17863 _ACEOF
   17864 if ac_fn_c_try_link "$LINENO"
   17865 then :
   17866   eval $cacheid=yes
   17867 else case e in #(
   17868   e) eval $cacheid=no ;;
   17869 esac
   17870 fi
   17871 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17872     conftest$ac_exeext conftest.$ac_ext ;;
   17873 esac
   17874 fi
   17875 
   17876 
   17877 		CFLAGS="$xorg_testset_save_CFLAGS"
   17878 
   17879 		eval supported=\$$cacheid
   17880 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17881 printf "%s\n" "$supported" >&6; }
   17882 		if test "$supported" = "yes" ; then
   17883 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   17884 			found="yes"
   17885 		fi
   17886 	fi
   17887 
   17888 	if test $found = "no" ; then
   17889 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17890 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17891 		fi
   17892 
   17893 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17894 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17895 		fi
   17896 
   17897 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   17898 
   17899 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   17900 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   17901 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   17902 		if eval test \${$cacheid+y}
   17903 then :
   17904   printf %s "(cached) " >&6
   17905 else case e in #(
   17906   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17907 /* end confdefs.h.  */
   17908 int i;
   17909 int
   17910 main (void)
   17911 {
   17912 
   17913   ;
   17914   return 0;
   17915 }
   17916 _ACEOF
   17917 if ac_fn_c_try_link "$LINENO"
   17918 then :
   17919   eval $cacheid=yes
   17920 else case e in #(
   17921   e) eval $cacheid=no ;;
   17922 esac
   17923 fi
   17924 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17925     conftest$ac_exeext conftest.$ac_ext ;;
   17926 esac
   17927 fi
   17928 
   17929 
   17930 		CFLAGS="$xorg_testset_save_CFLAGS"
   17931 
   17932 		eval supported=\$$cacheid
   17933 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17934 printf "%s\n" "$supported" >&6; }
   17935 		if test "$supported" = "yes" ; then
   17936 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   17937 			found="yes"
   17938 		fi
   17939 	fi
   17940 
   17941 
   17942 
   17943 
   17944 
   17945 
   17946 
   17947 
   17948 
   17949 
   17950 
   17951 
   17952 
   17953 
   17954 
   17955 xorg_testset_save_CFLAGS="$CFLAGS"
   17956 
   17957 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17958 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17959 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17960 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17961 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17962 then :
   17963   printf %s "(cached) " >&6
   17964 else case e in #(
   17965   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17966 /* end confdefs.h.  */
   17967 int i;
   17968 _ACEOF
   17969 if ac_fn_c_try_compile "$LINENO"
   17970 then :
   17971   xorg_cv_cc_flag_unknown_warning_option=yes
   17972 else case e in #(
   17973   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17974 esac
   17975 fi
   17976 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17977 esac
   17978 fi
   17979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17980 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17981 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17982 	CFLAGS="$xorg_testset_save_CFLAGS"
   17983 fi
   17984 
   17985 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17986 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17987 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17988 	fi
   17989 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17990 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17991 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17992 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17993 then :
   17994   printf %s "(cached) " >&6
   17995 else case e in #(
   17996   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17997 /* end confdefs.h.  */
   17998 int i;
   17999 _ACEOF
   18000 if ac_fn_c_try_compile "$LINENO"
   18001 then :
   18002   xorg_cv_cc_flag_unused_command_line_argument=yes
   18003 else case e in #(
   18004   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18005 esac
   18006 fi
   18007 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18008 esac
   18009 fi
   18010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18011 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18012 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18013 	CFLAGS="$xorg_testset_save_CFLAGS"
   18014 fi
   18015 
   18016 found="no"
   18017 
   18018 	if test $found = "no" ; then
   18019 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18020 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18021 		fi
   18022 
   18023 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18024 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18025 		fi
   18026 
   18027 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   18028 
   18029 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   18030 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   18031 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   18032 		if eval test \${$cacheid+y}
   18033 then :
   18034   printf %s "(cached) " >&6
   18035 else case e in #(
   18036   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18037 /* end confdefs.h.  */
   18038 int i;
   18039 int
   18040 main (void)
   18041 {
   18042 
   18043   ;
   18044   return 0;
   18045 }
   18046 _ACEOF
   18047 if ac_fn_c_try_link "$LINENO"
   18048 then :
   18049   eval $cacheid=yes
   18050 else case e in #(
   18051   e) eval $cacheid=no ;;
   18052 esac
   18053 fi
   18054 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18055     conftest$ac_exeext conftest.$ac_ext ;;
   18056 esac
   18057 fi
   18058 
   18059 
   18060 		CFLAGS="$xorg_testset_save_CFLAGS"
   18061 
   18062 		eval supported=\$$cacheid
   18063 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18064 printf "%s\n" "$supported" >&6; }
   18065 		if test "$supported" = "yes" ; then
   18066 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   18067 			found="yes"
   18068 		fi
   18069 	fi
   18070 
   18071  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   18072 else
   18073 { 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
   18074 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;}
   18075 
   18076 
   18077 
   18078 
   18079 
   18080 
   18081 
   18082 
   18083 
   18084 
   18085 
   18086 
   18087 
   18088 xorg_testset_save_CFLAGS="$CFLAGS"
   18089 
   18090 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18091 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18092 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18093 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18094 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18095 then :
   18096   printf %s "(cached) " >&6
   18097 else case e in #(
   18098   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18099 /* end confdefs.h.  */
   18100 int i;
   18101 _ACEOF
   18102 if ac_fn_c_try_compile "$LINENO"
   18103 then :
   18104   xorg_cv_cc_flag_unknown_warning_option=yes
   18105 else case e in #(
   18106   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18107 esac
   18108 fi
   18109 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18110 esac
   18111 fi
   18112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18113 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18114 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18115 	CFLAGS="$xorg_testset_save_CFLAGS"
   18116 fi
   18117 
   18118 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18119 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18120 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18121 	fi
   18122 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18123 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18124 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18125 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18126 then :
   18127   printf %s "(cached) " >&6
   18128 else case e in #(
   18129   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18130 /* end confdefs.h.  */
   18131 int i;
   18132 _ACEOF
   18133 if ac_fn_c_try_compile "$LINENO"
   18134 then :
   18135   xorg_cv_cc_flag_unused_command_line_argument=yes
   18136 else case e in #(
   18137   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18138 esac
   18139 fi
   18140 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18141 esac
   18142 fi
   18143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18144 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18145 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18146 	CFLAGS="$xorg_testset_save_CFLAGS"
   18147 fi
   18148 
   18149 found="no"
   18150 
   18151 	if test $found = "no" ; then
   18152 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18153 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18154 		fi
   18155 
   18156 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18157 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18158 		fi
   18159 
   18160 		CFLAGS="$CFLAGS -Wimplicit"
   18161 
   18162 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   18163 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   18164 		cacheid=xorg_cv_cc_flag__Wimplicit
   18165 		if eval test \${$cacheid+y}
   18166 then :
   18167   printf %s "(cached) " >&6
   18168 else case e in #(
   18169   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18170 /* end confdefs.h.  */
   18171 int i;
   18172 int
   18173 main (void)
   18174 {
   18175 
   18176   ;
   18177   return 0;
   18178 }
   18179 _ACEOF
   18180 if ac_fn_c_try_link "$LINENO"
   18181 then :
   18182   eval $cacheid=yes
   18183 else case e in #(
   18184   e) eval $cacheid=no ;;
   18185 esac
   18186 fi
   18187 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18188     conftest$ac_exeext conftest.$ac_ext ;;
   18189 esac
   18190 fi
   18191 
   18192 
   18193 		CFLAGS="$xorg_testset_save_CFLAGS"
   18194 
   18195 		eval supported=\$$cacheid
   18196 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18197 printf "%s\n" "$supported" >&6; }
   18198 		if test "$supported" = "yes" ; then
   18199 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   18200 			found="yes"
   18201 		fi
   18202 	fi
   18203 
   18204 
   18205 
   18206 
   18207 
   18208 
   18209 
   18210 
   18211 
   18212 
   18213 
   18214 
   18215 
   18216 
   18217 
   18218 xorg_testset_save_CFLAGS="$CFLAGS"
   18219 
   18220 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18221 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18222 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18223 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18224 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18225 then :
   18226   printf %s "(cached) " >&6
   18227 else case e in #(
   18228   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18229 /* end confdefs.h.  */
   18230 int i;
   18231 _ACEOF
   18232 if ac_fn_c_try_compile "$LINENO"
   18233 then :
   18234   xorg_cv_cc_flag_unknown_warning_option=yes
   18235 else case e in #(
   18236   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18237 esac
   18238 fi
   18239 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18240 esac
   18241 fi
   18242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18243 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18244 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18245 	CFLAGS="$xorg_testset_save_CFLAGS"
   18246 fi
   18247 
   18248 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18249 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18250 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18251 	fi
   18252 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18253 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18254 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18255 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18256 then :
   18257   printf %s "(cached) " >&6
   18258 else case e in #(
   18259   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18260 /* end confdefs.h.  */
   18261 int i;
   18262 _ACEOF
   18263 if ac_fn_c_try_compile "$LINENO"
   18264 then :
   18265   xorg_cv_cc_flag_unused_command_line_argument=yes
   18266 else case e in #(
   18267   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18268 esac
   18269 fi
   18270 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18271 esac
   18272 fi
   18273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18274 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18275 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18276 	CFLAGS="$xorg_testset_save_CFLAGS"
   18277 fi
   18278 
   18279 found="no"
   18280 
   18281 	if test $found = "no" ; then
   18282 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18283 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18284 		fi
   18285 
   18286 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18287 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18288 		fi
   18289 
   18290 		CFLAGS="$CFLAGS -Wnonnull"
   18291 
   18292 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   18293 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   18294 		cacheid=xorg_cv_cc_flag__Wnonnull
   18295 		if eval test \${$cacheid+y}
   18296 then :
   18297   printf %s "(cached) " >&6
   18298 else case e in #(
   18299   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18300 /* end confdefs.h.  */
   18301 int i;
   18302 int
   18303 main (void)
   18304 {
   18305 
   18306   ;
   18307   return 0;
   18308 }
   18309 _ACEOF
   18310 if ac_fn_c_try_link "$LINENO"
   18311 then :
   18312   eval $cacheid=yes
   18313 else case e in #(
   18314   e) eval $cacheid=no ;;
   18315 esac
   18316 fi
   18317 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18318     conftest$ac_exeext conftest.$ac_ext ;;
   18319 esac
   18320 fi
   18321 
   18322 
   18323 		CFLAGS="$xorg_testset_save_CFLAGS"
   18324 
   18325 		eval supported=\$$cacheid
   18326 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18327 printf "%s\n" "$supported" >&6; }
   18328 		if test "$supported" = "yes" ; then
   18329 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   18330 			found="yes"
   18331 		fi
   18332 	fi
   18333 
   18334 
   18335 
   18336 
   18337 
   18338 
   18339 
   18340 
   18341 
   18342 
   18343 
   18344 
   18345 
   18346 
   18347 
   18348 xorg_testset_save_CFLAGS="$CFLAGS"
   18349 
   18350 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18351 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18352 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18353 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18354 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18355 then :
   18356   printf %s "(cached) " >&6
   18357 else case e in #(
   18358   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18359 /* end confdefs.h.  */
   18360 int i;
   18361 _ACEOF
   18362 if ac_fn_c_try_compile "$LINENO"
   18363 then :
   18364   xorg_cv_cc_flag_unknown_warning_option=yes
   18365 else case e in #(
   18366   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18367 esac
   18368 fi
   18369 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18370 esac
   18371 fi
   18372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18373 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18374 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18375 	CFLAGS="$xorg_testset_save_CFLAGS"
   18376 fi
   18377 
   18378 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18379 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18380 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18381 	fi
   18382 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18383 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18384 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18385 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18386 then :
   18387   printf %s "(cached) " >&6
   18388 else case e in #(
   18389   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18390 /* end confdefs.h.  */
   18391 int i;
   18392 _ACEOF
   18393 if ac_fn_c_try_compile "$LINENO"
   18394 then :
   18395   xorg_cv_cc_flag_unused_command_line_argument=yes
   18396 else case e in #(
   18397   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18398 esac
   18399 fi
   18400 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18401 esac
   18402 fi
   18403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18404 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18405 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18406 	CFLAGS="$xorg_testset_save_CFLAGS"
   18407 fi
   18408 
   18409 found="no"
   18410 
   18411 	if test $found = "no" ; then
   18412 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18413 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18414 		fi
   18415 
   18416 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18417 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18418 		fi
   18419 
   18420 		CFLAGS="$CFLAGS -Winit-self"
   18421 
   18422 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   18423 printf %s "checking if $CC supports -Winit-self... " >&6; }
   18424 		cacheid=xorg_cv_cc_flag__Winit_self
   18425 		if eval test \${$cacheid+y}
   18426 then :
   18427   printf %s "(cached) " >&6
   18428 else case e in #(
   18429   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18430 /* end confdefs.h.  */
   18431 int i;
   18432 int
   18433 main (void)
   18434 {
   18435 
   18436   ;
   18437   return 0;
   18438 }
   18439 _ACEOF
   18440 if ac_fn_c_try_link "$LINENO"
   18441 then :
   18442   eval $cacheid=yes
   18443 else case e in #(
   18444   e) eval $cacheid=no ;;
   18445 esac
   18446 fi
   18447 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18448     conftest$ac_exeext conftest.$ac_ext ;;
   18449 esac
   18450 fi
   18451 
   18452 
   18453 		CFLAGS="$xorg_testset_save_CFLAGS"
   18454 
   18455 		eval supported=\$$cacheid
   18456 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18457 printf "%s\n" "$supported" >&6; }
   18458 		if test "$supported" = "yes" ; then
   18459 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   18460 			found="yes"
   18461 		fi
   18462 	fi
   18463 
   18464 
   18465 
   18466 
   18467 
   18468 
   18469 
   18470 
   18471 
   18472 
   18473 
   18474 
   18475 
   18476 
   18477 
   18478 xorg_testset_save_CFLAGS="$CFLAGS"
   18479 
   18480 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18481 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18482 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18483 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18484 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18485 then :
   18486   printf %s "(cached) " >&6
   18487 else case e in #(
   18488   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18489 /* end confdefs.h.  */
   18490 int i;
   18491 _ACEOF
   18492 if ac_fn_c_try_compile "$LINENO"
   18493 then :
   18494   xorg_cv_cc_flag_unknown_warning_option=yes
   18495 else case e in #(
   18496   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18497 esac
   18498 fi
   18499 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18500 esac
   18501 fi
   18502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18503 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18504 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18505 	CFLAGS="$xorg_testset_save_CFLAGS"
   18506 fi
   18507 
   18508 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18509 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18510 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18511 	fi
   18512 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18513 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18514 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18515 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18516 then :
   18517   printf %s "(cached) " >&6
   18518 else case e in #(
   18519   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18520 /* end confdefs.h.  */
   18521 int i;
   18522 _ACEOF
   18523 if ac_fn_c_try_compile "$LINENO"
   18524 then :
   18525   xorg_cv_cc_flag_unused_command_line_argument=yes
   18526 else case e in #(
   18527   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18528 esac
   18529 fi
   18530 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18531 esac
   18532 fi
   18533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18534 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18535 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18536 	CFLAGS="$xorg_testset_save_CFLAGS"
   18537 fi
   18538 
   18539 found="no"
   18540 
   18541 	if test $found = "no" ; then
   18542 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18543 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18544 		fi
   18545 
   18546 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18547 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18548 		fi
   18549 
   18550 		CFLAGS="$CFLAGS -Wmain"
   18551 
   18552 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   18553 printf %s "checking if $CC supports -Wmain... " >&6; }
   18554 		cacheid=xorg_cv_cc_flag__Wmain
   18555 		if eval test \${$cacheid+y}
   18556 then :
   18557   printf %s "(cached) " >&6
   18558 else case e in #(
   18559   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18560 /* end confdefs.h.  */
   18561 int i;
   18562 int
   18563 main (void)
   18564 {
   18565 
   18566   ;
   18567   return 0;
   18568 }
   18569 _ACEOF
   18570 if ac_fn_c_try_link "$LINENO"
   18571 then :
   18572   eval $cacheid=yes
   18573 else case e in #(
   18574   e) eval $cacheid=no ;;
   18575 esac
   18576 fi
   18577 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18578     conftest$ac_exeext conftest.$ac_ext ;;
   18579 esac
   18580 fi
   18581 
   18582 
   18583 		CFLAGS="$xorg_testset_save_CFLAGS"
   18584 
   18585 		eval supported=\$$cacheid
   18586 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18587 printf "%s\n" "$supported" >&6; }
   18588 		if test "$supported" = "yes" ; then
   18589 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   18590 			found="yes"
   18591 		fi
   18592 	fi
   18593 
   18594 
   18595 
   18596 
   18597 
   18598 
   18599 
   18600 
   18601 
   18602 
   18603 
   18604 
   18605 
   18606 
   18607 
   18608 xorg_testset_save_CFLAGS="$CFLAGS"
   18609 
   18610 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18611 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18612 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18613 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18614 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18615 then :
   18616   printf %s "(cached) " >&6
   18617 else case e in #(
   18618   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18619 /* end confdefs.h.  */
   18620 int i;
   18621 _ACEOF
   18622 if ac_fn_c_try_compile "$LINENO"
   18623 then :
   18624   xorg_cv_cc_flag_unknown_warning_option=yes
   18625 else case e in #(
   18626   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18627 esac
   18628 fi
   18629 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18630 esac
   18631 fi
   18632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18633 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18634 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18635 	CFLAGS="$xorg_testset_save_CFLAGS"
   18636 fi
   18637 
   18638 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18639 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18640 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18641 	fi
   18642 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18643 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18644 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18645 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18646 then :
   18647   printf %s "(cached) " >&6
   18648 else case e in #(
   18649   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18650 /* end confdefs.h.  */
   18651 int i;
   18652 _ACEOF
   18653 if ac_fn_c_try_compile "$LINENO"
   18654 then :
   18655   xorg_cv_cc_flag_unused_command_line_argument=yes
   18656 else case e in #(
   18657   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18658 esac
   18659 fi
   18660 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18661 esac
   18662 fi
   18663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18664 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18665 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18666 	CFLAGS="$xorg_testset_save_CFLAGS"
   18667 fi
   18668 
   18669 found="no"
   18670 
   18671 	if test $found = "no" ; then
   18672 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18673 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18674 		fi
   18675 
   18676 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18677 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18678 		fi
   18679 
   18680 		CFLAGS="$CFLAGS -Wmissing-braces"
   18681 
   18682 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   18683 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   18684 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   18685 		if eval test \${$cacheid+y}
   18686 then :
   18687   printf %s "(cached) " >&6
   18688 else case e in #(
   18689   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18690 /* end confdefs.h.  */
   18691 int i;
   18692 int
   18693 main (void)
   18694 {
   18695 
   18696   ;
   18697   return 0;
   18698 }
   18699 _ACEOF
   18700 if ac_fn_c_try_link "$LINENO"
   18701 then :
   18702   eval $cacheid=yes
   18703 else case e in #(
   18704   e) eval $cacheid=no ;;
   18705 esac
   18706 fi
   18707 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18708     conftest$ac_exeext conftest.$ac_ext ;;
   18709 esac
   18710 fi
   18711 
   18712 
   18713 		CFLAGS="$xorg_testset_save_CFLAGS"
   18714 
   18715 		eval supported=\$$cacheid
   18716 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18717 printf "%s\n" "$supported" >&6; }
   18718 		if test "$supported" = "yes" ; then
   18719 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   18720 			found="yes"
   18721 		fi
   18722 	fi
   18723 
   18724 
   18725 
   18726 
   18727 
   18728 
   18729 
   18730 
   18731 
   18732 
   18733 
   18734 
   18735 
   18736 
   18737 
   18738 xorg_testset_save_CFLAGS="$CFLAGS"
   18739 
   18740 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18741 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18742 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18743 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18744 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18745 then :
   18746   printf %s "(cached) " >&6
   18747 else case e in #(
   18748   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18749 /* end confdefs.h.  */
   18750 int i;
   18751 _ACEOF
   18752 if ac_fn_c_try_compile "$LINENO"
   18753 then :
   18754   xorg_cv_cc_flag_unknown_warning_option=yes
   18755 else case e in #(
   18756   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18757 esac
   18758 fi
   18759 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18760 esac
   18761 fi
   18762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18763 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18764 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18765 	CFLAGS="$xorg_testset_save_CFLAGS"
   18766 fi
   18767 
   18768 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18769 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18770 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18771 	fi
   18772 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18773 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18774 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18775 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18776 then :
   18777   printf %s "(cached) " >&6
   18778 else case e in #(
   18779   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18780 /* end confdefs.h.  */
   18781 int i;
   18782 _ACEOF
   18783 if ac_fn_c_try_compile "$LINENO"
   18784 then :
   18785   xorg_cv_cc_flag_unused_command_line_argument=yes
   18786 else case e in #(
   18787   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18788 esac
   18789 fi
   18790 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18791 esac
   18792 fi
   18793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18794 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18795 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18796 	CFLAGS="$xorg_testset_save_CFLAGS"
   18797 fi
   18798 
   18799 found="no"
   18800 
   18801 	if test $found = "no" ; then
   18802 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18803 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18804 		fi
   18805 
   18806 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18807 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18808 		fi
   18809 
   18810 		CFLAGS="$CFLAGS -Wsequence-point"
   18811 
   18812 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   18813 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   18814 		cacheid=xorg_cv_cc_flag__Wsequence_point
   18815 		if eval test \${$cacheid+y}
   18816 then :
   18817   printf %s "(cached) " >&6
   18818 else case e in #(
   18819   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18820 /* end confdefs.h.  */
   18821 int i;
   18822 int
   18823 main (void)
   18824 {
   18825 
   18826   ;
   18827   return 0;
   18828 }
   18829 _ACEOF
   18830 if ac_fn_c_try_link "$LINENO"
   18831 then :
   18832   eval $cacheid=yes
   18833 else case e in #(
   18834   e) eval $cacheid=no ;;
   18835 esac
   18836 fi
   18837 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18838     conftest$ac_exeext conftest.$ac_ext ;;
   18839 esac
   18840 fi
   18841 
   18842 
   18843 		CFLAGS="$xorg_testset_save_CFLAGS"
   18844 
   18845 		eval supported=\$$cacheid
   18846 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18847 printf "%s\n" "$supported" >&6; }
   18848 		if test "$supported" = "yes" ; then
   18849 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   18850 			found="yes"
   18851 		fi
   18852 	fi
   18853 
   18854 
   18855 
   18856 
   18857 
   18858 
   18859 
   18860 
   18861 
   18862 
   18863 
   18864 
   18865 
   18866 
   18867 
   18868 xorg_testset_save_CFLAGS="$CFLAGS"
   18869 
   18870 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18871 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18872 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18873 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18874 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18875 then :
   18876   printf %s "(cached) " >&6
   18877 else case e in #(
   18878   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18879 /* end confdefs.h.  */
   18880 int i;
   18881 _ACEOF
   18882 if ac_fn_c_try_compile "$LINENO"
   18883 then :
   18884   xorg_cv_cc_flag_unknown_warning_option=yes
   18885 else case e in #(
   18886   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18887 esac
   18888 fi
   18889 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18890 esac
   18891 fi
   18892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18893 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18894 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18895 	CFLAGS="$xorg_testset_save_CFLAGS"
   18896 fi
   18897 
   18898 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18899 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18900 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18901 	fi
   18902 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18903 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18904 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18905 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18906 then :
   18907   printf %s "(cached) " >&6
   18908 else case e in #(
   18909   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18910 /* end confdefs.h.  */
   18911 int i;
   18912 _ACEOF
   18913 if ac_fn_c_try_compile "$LINENO"
   18914 then :
   18915   xorg_cv_cc_flag_unused_command_line_argument=yes
   18916 else case e in #(
   18917   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18918 esac
   18919 fi
   18920 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18921 esac
   18922 fi
   18923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18924 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18925 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18926 	CFLAGS="$xorg_testset_save_CFLAGS"
   18927 fi
   18928 
   18929 found="no"
   18930 
   18931 	if test $found = "no" ; then
   18932 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18933 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18934 		fi
   18935 
   18936 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18937 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18938 		fi
   18939 
   18940 		CFLAGS="$CFLAGS -Wreturn-type"
   18941 
   18942 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   18943 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   18944 		cacheid=xorg_cv_cc_flag__Wreturn_type
   18945 		if eval test \${$cacheid+y}
   18946 then :
   18947   printf %s "(cached) " >&6
   18948 else case e in #(
   18949   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18950 /* end confdefs.h.  */
   18951 int i;
   18952 int
   18953 main (void)
   18954 {
   18955 
   18956   ;
   18957   return 0;
   18958 }
   18959 _ACEOF
   18960 if ac_fn_c_try_link "$LINENO"
   18961 then :
   18962   eval $cacheid=yes
   18963 else case e in #(
   18964   e) eval $cacheid=no ;;
   18965 esac
   18966 fi
   18967 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18968     conftest$ac_exeext conftest.$ac_ext ;;
   18969 esac
   18970 fi
   18971 
   18972 
   18973 		CFLAGS="$xorg_testset_save_CFLAGS"
   18974 
   18975 		eval supported=\$$cacheid
   18976 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18977 printf "%s\n" "$supported" >&6; }
   18978 		if test "$supported" = "yes" ; then
   18979 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   18980 			found="yes"
   18981 		fi
   18982 	fi
   18983 
   18984 
   18985 
   18986 
   18987 
   18988 
   18989 
   18990 
   18991 
   18992 
   18993 
   18994 
   18995 
   18996 
   18997 
   18998 xorg_testset_save_CFLAGS="$CFLAGS"
   18999 
   19000 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19001 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19002 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19003 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19004 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19005 then :
   19006   printf %s "(cached) " >&6
   19007 else case e in #(
   19008   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19009 /* end confdefs.h.  */
   19010 int i;
   19011 _ACEOF
   19012 if ac_fn_c_try_compile "$LINENO"
   19013 then :
   19014   xorg_cv_cc_flag_unknown_warning_option=yes
   19015 else case e in #(
   19016   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19017 esac
   19018 fi
   19019 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19020 esac
   19021 fi
   19022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19023 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19024 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19025 	CFLAGS="$xorg_testset_save_CFLAGS"
   19026 fi
   19027 
   19028 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19029 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19030 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19031 	fi
   19032 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19033 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19034 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19035 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19036 then :
   19037   printf %s "(cached) " >&6
   19038 else case e in #(
   19039   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19040 /* end confdefs.h.  */
   19041 int i;
   19042 _ACEOF
   19043 if ac_fn_c_try_compile "$LINENO"
   19044 then :
   19045   xorg_cv_cc_flag_unused_command_line_argument=yes
   19046 else case e in #(
   19047   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19048 esac
   19049 fi
   19050 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19051 esac
   19052 fi
   19053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19054 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19055 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19056 	CFLAGS="$xorg_testset_save_CFLAGS"
   19057 fi
   19058 
   19059 found="no"
   19060 
   19061 	if test $found = "no" ; then
   19062 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19063 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19064 		fi
   19065 
   19066 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19067 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19068 		fi
   19069 
   19070 		CFLAGS="$CFLAGS -Wtrigraphs"
   19071 
   19072 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   19073 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   19074 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   19075 		if eval test \${$cacheid+y}
   19076 then :
   19077   printf %s "(cached) " >&6
   19078 else case e in #(
   19079   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19080 /* end confdefs.h.  */
   19081 int i;
   19082 int
   19083 main (void)
   19084 {
   19085 
   19086   ;
   19087   return 0;
   19088 }
   19089 _ACEOF
   19090 if ac_fn_c_try_link "$LINENO"
   19091 then :
   19092   eval $cacheid=yes
   19093 else case e in #(
   19094   e) eval $cacheid=no ;;
   19095 esac
   19096 fi
   19097 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19098     conftest$ac_exeext conftest.$ac_ext ;;
   19099 esac
   19100 fi
   19101 
   19102 
   19103 		CFLAGS="$xorg_testset_save_CFLAGS"
   19104 
   19105 		eval supported=\$$cacheid
   19106 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19107 printf "%s\n" "$supported" >&6; }
   19108 		if test "$supported" = "yes" ; then
   19109 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   19110 			found="yes"
   19111 		fi
   19112 	fi
   19113 
   19114 
   19115 
   19116 
   19117 
   19118 
   19119 
   19120 
   19121 
   19122 
   19123 
   19124 
   19125 
   19126 
   19127 
   19128 xorg_testset_save_CFLAGS="$CFLAGS"
   19129 
   19130 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19131 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19132 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19133 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19134 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19135 then :
   19136   printf %s "(cached) " >&6
   19137 else case e in #(
   19138   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19139 /* end confdefs.h.  */
   19140 int i;
   19141 _ACEOF
   19142 if ac_fn_c_try_compile "$LINENO"
   19143 then :
   19144   xorg_cv_cc_flag_unknown_warning_option=yes
   19145 else case e in #(
   19146   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19147 esac
   19148 fi
   19149 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19150 esac
   19151 fi
   19152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19153 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19154 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19155 	CFLAGS="$xorg_testset_save_CFLAGS"
   19156 fi
   19157 
   19158 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19159 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19160 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19161 	fi
   19162 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19163 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19164 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19165 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19166 then :
   19167   printf %s "(cached) " >&6
   19168 else case e in #(
   19169   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19170 /* end confdefs.h.  */
   19171 int i;
   19172 _ACEOF
   19173 if ac_fn_c_try_compile "$LINENO"
   19174 then :
   19175   xorg_cv_cc_flag_unused_command_line_argument=yes
   19176 else case e in #(
   19177   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19178 esac
   19179 fi
   19180 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19181 esac
   19182 fi
   19183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19184 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19185 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19186 	CFLAGS="$xorg_testset_save_CFLAGS"
   19187 fi
   19188 
   19189 found="no"
   19190 
   19191 	if test $found = "no" ; then
   19192 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19193 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19194 		fi
   19195 
   19196 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19197 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19198 		fi
   19199 
   19200 		CFLAGS="$CFLAGS -Warray-bounds"
   19201 
   19202 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   19203 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   19204 		cacheid=xorg_cv_cc_flag__Warray_bounds
   19205 		if eval test \${$cacheid+y}
   19206 then :
   19207   printf %s "(cached) " >&6
   19208 else case e in #(
   19209   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19210 /* end confdefs.h.  */
   19211 int i;
   19212 int
   19213 main (void)
   19214 {
   19215 
   19216   ;
   19217   return 0;
   19218 }
   19219 _ACEOF
   19220 if ac_fn_c_try_link "$LINENO"
   19221 then :
   19222   eval $cacheid=yes
   19223 else case e in #(
   19224   e) eval $cacheid=no ;;
   19225 esac
   19226 fi
   19227 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19228     conftest$ac_exeext conftest.$ac_ext ;;
   19229 esac
   19230 fi
   19231 
   19232 
   19233 		CFLAGS="$xorg_testset_save_CFLAGS"
   19234 
   19235 		eval supported=\$$cacheid
   19236 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19237 printf "%s\n" "$supported" >&6; }
   19238 		if test "$supported" = "yes" ; then
   19239 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   19240 			found="yes"
   19241 		fi
   19242 	fi
   19243 
   19244 
   19245 
   19246 
   19247 
   19248 
   19249 
   19250 
   19251 
   19252 
   19253 
   19254 
   19255 
   19256 
   19257 
   19258 xorg_testset_save_CFLAGS="$CFLAGS"
   19259 
   19260 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19261 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19262 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19263 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19264 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19265 then :
   19266   printf %s "(cached) " >&6
   19267 else case e in #(
   19268   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19269 /* end confdefs.h.  */
   19270 int i;
   19271 _ACEOF
   19272 if ac_fn_c_try_compile "$LINENO"
   19273 then :
   19274   xorg_cv_cc_flag_unknown_warning_option=yes
   19275 else case e in #(
   19276   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19277 esac
   19278 fi
   19279 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19280 esac
   19281 fi
   19282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19283 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19284 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19285 	CFLAGS="$xorg_testset_save_CFLAGS"
   19286 fi
   19287 
   19288 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19289 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19290 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19291 	fi
   19292 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19293 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19294 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19295 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19296 then :
   19297   printf %s "(cached) " >&6
   19298 else case e in #(
   19299   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19300 /* end confdefs.h.  */
   19301 int i;
   19302 _ACEOF
   19303 if ac_fn_c_try_compile "$LINENO"
   19304 then :
   19305   xorg_cv_cc_flag_unused_command_line_argument=yes
   19306 else case e in #(
   19307   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19308 esac
   19309 fi
   19310 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19311 esac
   19312 fi
   19313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19314 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19315 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19316 	CFLAGS="$xorg_testset_save_CFLAGS"
   19317 fi
   19318 
   19319 found="no"
   19320 
   19321 	if test $found = "no" ; then
   19322 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19323 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19324 		fi
   19325 
   19326 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19327 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19328 		fi
   19329 
   19330 		CFLAGS="$CFLAGS -Wwrite-strings"
   19331 
   19332 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   19333 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   19334 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   19335 		if eval test \${$cacheid+y}
   19336 then :
   19337   printf %s "(cached) " >&6
   19338 else case e in #(
   19339   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19340 /* end confdefs.h.  */
   19341 int i;
   19342 int
   19343 main (void)
   19344 {
   19345 
   19346   ;
   19347   return 0;
   19348 }
   19349 _ACEOF
   19350 if ac_fn_c_try_link "$LINENO"
   19351 then :
   19352   eval $cacheid=yes
   19353 else case e in #(
   19354   e) eval $cacheid=no ;;
   19355 esac
   19356 fi
   19357 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19358     conftest$ac_exeext conftest.$ac_ext ;;
   19359 esac
   19360 fi
   19361 
   19362 
   19363 		CFLAGS="$xorg_testset_save_CFLAGS"
   19364 
   19365 		eval supported=\$$cacheid
   19366 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19367 printf "%s\n" "$supported" >&6; }
   19368 		if test "$supported" = "yes" ; then
   19369 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   19370 			found="yes"
   19371 		fi
   19372 	fi
   19373 
   19374 
   19375 
   19376 
   19377 
   19378 
   19379 
   19380 
   19381 
   19382 
   19383 
   19384 
   19385 
   19386 
   19387 
   19388 xorg_testset_save_CFLAGS="$CFLAGS"
   19389 
   19390 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19391 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19392 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19393 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19394 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19395 then :
   19396   printf %s "(cached) " >&6
   19397 else case e in #(
   19398   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19399 /* end confdefs.h.  */
   19400 int i;
   19401 _ACEOF
   19402 if ac_fn_c_try_compile "$LINENO"
   19403 then :
   19404   xorg_cv_cc_flag_unknown_warning_option=yes
   19405 else case e in #(
   19406   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19407 esac
   19408 fi
   19409 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19410 esac
   19411 fi
   19412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19413 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19414 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19415 	CFLAGS="$xorg_testset_save_CFLAGS"
   19416 fi
   19417 
   19418 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19419 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19420 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19421 	fi
   19422 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19423 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19424 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19425 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19426 then :
   19427   printf %s "(cached) " >&6
   19428 else case e in #(
   19429   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19430 /* end confdefs.h.  */
   19431 int i;
   19432 _ACEOF
   19433 if ac_fn_c_try_compile "$LINENO"
   19434 then :
   19435   xorg_cv_cc_flag_unused_command_line_argument=yes
   19436 else case e in #(
   19437   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19438 esac
   19439 fi
   19440 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19441 esac
   19442 fi
   19443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19444 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19445 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19446 	CFLAGS="$xorg_testset_save_CFLAGS"
   19447 fi
   19448 
   19449 found="no"
   19450 
   19451 	if test $found = "no" ; then
   19452 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19453 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19454 		fi
   19455 
   19456 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19457 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19458 		fi
   19459 
   19460 		CFLAGS="$CFLAGS -Waddress"
   19461 
   19462 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   19463 printf %s "checking if $CC supports -Waddress... " >&6; }
   19464 		cacheid=xorg_cv_cc_flag__Waddress
   19465 		if eval test \${$cacheid+y}
   19466 then :
   19467   printf %s "(cached) " >&6
   19468 else case e in #(
   19469   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19470 /* end confdefs.h.  */
   19471 int i;
   19472 int
   19473 main (void)
   19474 {
   19475 
   19476   ;
   19477   return 0;
   19478 }
   19479 _ACEOF
   19480 if ac_fn_c_try_link "$LINENO"
   19481 then :
   19482   eval $cacheid=yes
   19483 else case e in #(
   19484   e) eval $cacheid=no ;;
   19485 esac
   19486 fi
   19487 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19488     conftest$ac_exeext conftest.$ac_ext ;;
   19489 esac
   19490 fi
   19491 
   19492 
   19493 		CFLAGS="$xorg_testset_save_CFLAGS"
   19494 
   19495 		eval supported=\$$cacheid
   19496 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19497 printf "%s\n" "$supported" >&6; }
   19498 		if test "$supported" = "yes" ; then
   19499 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   19500 			found="yes"
   19501 		fi
   19502 	fi
   19503 
   19504 
   19505 
   19506 
   19507 
   19508 
   19509 
   19510 
   19511 
   19512 
   19513 
   19514 
   19515 
   19516 
   19517 
   19518 xorg_testset_save_CFLAGS="$CFLAGS"
   19519 
   19520 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19521 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19522 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19523 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19524 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19525 then :
   19526   printf %s "(cached) " >&6
   19527 else case e in #(
   19528   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19529 /* end confdefs.h.  */
   19530 int i;
   19531 _ACEOF
   19532 if ac_fn_c_try_compile "$LINENO"
   19533 then :
   19534   xorg_cv_cc_flag_unknown_warning_option=yes
   19535 else case e in #(
   19536   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19537 esac
   19538 fi
   19539 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19540 esac
   19541 fi
   19542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19543 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19544 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19545 	CFLAGS="$xorg_testset_save_CFLAGS"
   19546 fi
   19547 
   19548 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19549 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19550 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19551 	fi
   19552 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19553 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19554 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19555 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19556 then :
   19557   printf %s "(cached) " >&6
   19558 else case e in #(
   19559   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19560 /* end confdefs.h.  */
   19561 int i;
   19562 _ACEOF
   19563 if ac_fn_c_try_compile "$LINENO"
   19564 then :
   19565   xorg_cv_cc_flag_unused_command_line_argument=yes
   19566 else case e in #(
   19567   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19568 esac
   19569 fi
   19570 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19571 esac
   19572 fi
   19573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19574 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19575 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19576 	CFLAGS="$xorg_testset_save_CFLAGS"
   19577 fi
   19578 
   19579 found="no"
   19580 
   19581 	if test $found = "no" ; then
   19582 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19583 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19584 		fi
   19585 
   19586 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19587 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19588 		fi
   19589 
   19590 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   19591 
   19592 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   19593 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   19594 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   19595 		if eval test \${$cacheid+y}
   19596 then :
   19597   printf %s "(cached) " >&6
   19598 else case e in #(
   19599   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19600 /* end confdefs.h.  */
   19601 int i;
   19602 int
   19603 main (void)
   19604 {
   19605 
   19606   ;
   19607   return 0;
   19608 }
   19609 _ACEOF
   19610 if ac_fn_c_try_link "$LINENO"
   19611 then :
   19612   eval $cacheid=yes
   19613 else case e in #(
   19614   e) eval $cacheid=no ;;
   19615 esac
   19616 fi
   19617 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19618     conftest$ac_exeext conftest.$ac_ext ;;
   19619 esac
   19620 fi
   19621 
   19622 
   19623 		CFLAGS="$xorg_testset_save_CFLAGS"
   19624 
   19625 		eval supported=\$$cacheid
   19626 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19627 printf "%s\n" "$supported" >&6; }
   19628 		if test "$supported" = "yes" ; then
   19629 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   19630 			found="yes"
   19631 		fi
   19632 	fi
   19633 
   19634 
   19635 
   19636 
   19637 
   19638 
   19639 
   19640 
   19641 
   19642 
   19643 
   19644 
   19645 
   19646 
   19647 
   19648 xorg_testset_save_CFLAGS="$CFLAGS"
   19649 
   19650 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19651 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19652 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19653 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19654 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19655 then :
   19656   printf %s "(cached) " >&6
   19657 else case e in #(
   19658   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19659 /* end confdefs.h.  */
   19660 int i;
   19661 _ACEOF
   19662 if ac_fn_c_try_compile "$LINENO"
   19663 then :
   19664   xorg_cv_cc_flag_unknown_warning_option=yes
   19665 else case e in #(
   19666   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19667 esac
   19668 fi
   19669 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19670 esac
   19671 fi
   19672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19673 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19674 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19675 	CFLAGS="$xorg_testset_save_CFLAGS"
   19676 fi
   19677 
   19678 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19679 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19680 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19681 	fi
   19682 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19683 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19684 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19685 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19686 then :
   19687   printf %s "(cached) " >&6
   19688 else case e in #(
   19689   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19690 /* end confdefs.h.  */
   19691 int i;
   19692 _ACEOF
   19693 if ac_fn_c_try_compile "$LINENO"
   19694 then :
   19695   xorg_cv_cc_flag_unused_command_line_argument=yes
   19696 else case e in #(
   19697   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19698 esac
   19699 fi
   19700 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19701 esac
   19702 fi
   19703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19704 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19705 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19706 	CFLAGS="$xorg_testset_save_CFLAGS"
   19707 fi
   19708 
   19709 found="no"
   19710 
   19711 	if test $found = "no" ; then
   19712 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19713 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19714 		fi
   19715 
   19716 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19717 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19718 		fi
   19719 
   19720 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   19721 
   19722 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   19723 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   19724 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   19725 		if eval test \${$cacheid+y}
   19726 then :
   19727   printf %s "(cached) " >&6
   19728 else case e in #(
   19729   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19730 /* end confdefs.h.  */
   19731 int i;
   19732 int
   19733 main (void)
   19734 {
   19735 
   19736   ;
   19737   return 0;
   19738 }
   19739 _ACEOF
   19740 if ac_fn_c_try_link "$LINENO"
   19741 then :
   19742   eval $cacheid=yes
   19743 else case e in #(
   19744   e) eval $cacheid=no ;;
   19745 esac
   19746 fi
   19747 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19748     conftest$ac_exeext conftest.$ac_ext ;;
   19749 esac
   19750 fi
   19751 
   19752 
   19753 		CFLAGS="$xorg_testset_save_CFLAGS"
   19754 
   19755 		eval supported=\$$cacheid
   19756 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19757 printf "%s\n" "$supported" >&6; }
   19758 		if test "$supported" = "yes" ; then
   19759 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   19760 			found="yes"
   19761 		fi
   19762 	fi
   19763 
   19764 
   19765 fi
   19766 
   19767 
   19768 
   19769 
   19770 
   19771 
   19772 
   19773 		CWARNFLAGS="$BASE_CFLAGS"
   19774 		if  test "x$GCC" = xyes ; then
   19775 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   19776 		fi
   19777 
   19778 
   19779 
   19780 
   19781 
   19782 
   19783 
   19784 
   19785 # Check whether --enable-strict-compilation was given.
   19786 if test ${enable_strict_compilation+y}
   19787 then :
   19788   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   19789 else case e in #(
   19790   e) STRICT_COMPILE=no ;;
   19791 esac
   19792 fi
   19793 
   19794 
   19795 
   19796 
   19797 
   19798 
   19799 STRICT_CFLAGS=""
   19800 
   19801 
   19802 
   19803 
   19804 
   19805 
   19806 
   19807 
   19808 
   19809 
   19810 
   19811 
   19812 
   19813 xorg_testset_save_CFLAGS="$CFLAGS"
   19814 
   19815 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19816 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19817 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19818 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19819 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19820 then :
   19821   printf %s "(cached) " >&6
   19822 else case e in #(
   19823   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19824 /* end confdefs.h.  */
   19825 int i;
   19826 _ACEOF
   19827 if ac_fn_c_try_compile "$LINENO"
   19828 then :
   19829   xorg_cv_cc_flag_unknown_warning_option=yes
   19830 else case e in #(
   19831   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19832 esac
   19833 fi
   19834 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19835 esac
   19836 fi
   19837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19838 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19839 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19840 	CFLAGS="$xorg_testset_save_CFLAGS"
   19841 fi
   19842 
   19843 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19844 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19845 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19846 	fi
   19847 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19848 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19849 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19850 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19851 then :
   19852   printf %s "(cached) " >&6
   19853 else case e in #(
   19854   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19855 /* end confdefs.h.  */
   19856 int i;
   19857 _ACEOF
   19858 if ac_fn_c_try_compile "$LINENO"
   19859 then :
   19860   xorg_cv_cc_flag_unused_command_line_argument=yes
   19861 else case e in #(
   19862   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19863 esac
   19864 fi
   19865 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19866 esac
   19867 fi
   19868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19869 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19870 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19871 	CFLAGS="$xorg_testset_save_CFLAGS"
   19872 fi
   19873 
   19874 found="no"
   19875 
   19876 	if test $found = "no" ; then
   19877 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19878 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19879 		fi
   19880 
   19881 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19882 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19883 		fi
   19884 
   19885 		CFLAGS="$CFLAGS -pedantic"
   19886 
   19887 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   19888 printf %s "checking if $CC supports -pedantic... " >&6; }
   19889 		cacheid=xorg_cv_cc_flag__pedantic
   19890 		if eval test \${$cacheid+y}
   19891 then :
   19892   printf %s "(cached) " >&6
   19893 else case e in #(
   19894   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19895 /* end confdefs.h.  */
   19896 int i;
   19897 int
   19898 main (void)
   19899 {
   19900 
   19901   ;
   19902   return 0;
   19903 }
   19904 _ACEOF
   19905 if ac_fn_c_try_link "$LINENO"
   19906 then :
   19907   eval $cacheid=yes
   19908 else case e in #(
   19909   e) eval $cacheid=no ;;
   19910 esac
   19911 fi
   19912 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19913     conftest$ac_exeext conftest.$ac_ext ;;
   19914 esac
   19915 fi
   19916 
   19917 
   19918 		CFLAGS="$xorg_testset_save_CFLAGS"
   19919 
   19920 		eval supported=\$$cacheid
   19921 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19922 printf "%s\n" "$supported" >&6; }
   19923 		if test "$supported" = "yes" ; then
   19924 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   19925 			found="yes"
   19926 		fi
   19927 	fi
   19928 
   19929 
   19930 
   19931 
   19932 
   19933 
   19934 
   19935 
   19936 
   19937 
   19938 
   19939 
   19940 
   19941 
   19942 
   19943 xorg_testset_save_CFLAGS="$CFLAGS"
   19944 
   19945 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19946 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19947 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19948 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19949 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19950 then :
   19951   printf %s "(cached) " >&6
   19952 else case e in #(
   19953   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19954 /* end confdefs.h.  */
   19955 int i;
   19956 _ACEOF
   19957 if ac_fn_c_try_compile "$LINENO"
   19958 then :
   19959   xorg_cv_cc_flag_unknown_warning_option=yes
   19960 else case e in #(
   19961   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19962 esac
   19963 fi
   19964 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19965 esac
   19966 fi
   19967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19968 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19969 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19970 	CFLAGS="$xorg_testset_save_CFLAGS"
   19971 fi
   19972 
   19973 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19974 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19975 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19976 	fi
   19977 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19978 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19979 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19980 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19981 then :
   19982   printf %s "(cached) " >&6
   19983 else case e in #(
   19984   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19985 /* end confdefs.h.  */
   19986 int i;
   19987 _ACEOF
   19988 if ac_fn_c_try_compile "$LINENO"
   19989 then :
   19990   xorg_cv_cc_flag_unused_command_line_argument=yes
   19991 else case e in #(
   19992   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19993 esac
   19994 fi
   19995 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19996 esac
   19997 fi
   19998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19999 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20000 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20001 	CFLAGS="$xorg_testset_save_CFLAGS"
   20002 fi
   20003 
   20004 found="no"
   20005 
   20006 	if test $found = "no" ; then
   20007 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20008 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20009 		fi
   20010 
   20011 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20012 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20013 		fi
   20014 
   20015 		CFLAGS="$CFLAGS -Werror"
   20016 
   20017 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   20018 printf %s "checking if $CC supports -Werror... " >&6; }
   20019 		cacheid=xorg_cv_cc_flag__Werror
   20020 		if eval test \${$cacheid+y}
   20021 then :
   20022   printf %s "(cached) " >&6
   20023 else case e in #(
   20024   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20025 /* end confdefs.h.  */
   20026 int i;
   20027 int
   20028 main (void)
   20029 {
   20030 
   20031   ;
   20032   return 0;
   20033 }
   20034 _ACEOF
   20035 if ac_fn_c_try_link "$LINENO"
   20036 then :
   20037   eval $cacheid=yes
   20038 else case e in #(
   20039   e) eval $cacheid=no ;;
   20040 esac
   20041 fi
   20042 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20043     conftest$ac_exeext conftest.$ac_ext ;;
   20044 esac
   20045 fi
   20046 
   20047 
   20048 		CFLAGS="$xorg_testset_save_CFLAGS"
   20049 
   20050 		eval supported=\$$cacheid
   20051 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20052 printf "%s\n" "$supported" >&6; }
   20053 		if test "$supported" = "yes" ; then
   20054 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   20055 			found="yes"
   20056 		fi
   20057 	fi
   20058 
   20059 	if test $found = "no" ; then
   20060 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20061 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20062 		fi
   20063 
   20064 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20065 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20066 		fi
   20067 
   20068 		CFLAGS="$CFLAGS -errwarn"
   20069 
   20070 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   20071 printf %s "checking if $CC supports -errwarn... " >&6; }
   20072 		cacheid=xorg_cv_cc_flag__errwarn
   20073 		if eval test \${$cacheid+y}
   20074 then :
   20075   printf %s "(cached) " >&6
   20076 else case e in #(
   20077   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20078 /* end confdefs.h.  */
   20079 int i;
   20080 int
   20081 main (void)
   20082 {
   20083 
   20084   ;
   20085   return 0;
   20086 }
   20087 _ACEOF
   20088 if ac_fn_c_try_link "$LINENO"
   20089 then :
   20090   eval $cacheid=yes
   20091 else case e in #(
   20092   e) eval $cacheid=no ;;
   20093 esac
   20094 fi
   20095 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20096     conftest$ac_exeext conftest.$ac_ext ;;
   20097 esac
   20098 fi
   20099 
   20100 
   20101 		CFLAGS="$xorg_testset_save_CFLAGS"
   20102 
   20103 		eval supported=\$$cacheid
   20104 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20105 printf "%s\n" "$supported" >&6; }
   20106 		if test "$supported" = "yes" ; then
   20107 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   20108 			found="yes"
   20109 		fi
   20110 	fi
   20111 
   20112 
   20113 
   20114 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   20115 # activate it with -Werror, so we add it here explicitly.
   20116 
   20117 
   20118 
   20119 
   20120 
   20121 
   20122 
   20123 
   20124 
   20125 
   20126 
   20127 
   20128 
   20129 xorg_testset_save_CFLAGS="$CFLAGS"
   20130 
   20131 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20132 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20133 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20134 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20135 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20136 then :
   20137   printf %s "(cached) " >&6
   20138 else case e in #(
   20139   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20140 /* end confdefs.h.  */
   20141 int i;
   20142 _ACEOF
   20143 if ac_fn_c_try_compile "$LINENO"
   20144 then :
   20145   xorg_cv_cc_flag_unknown_warning_option=yes
   20146 else case e in #(
   20147   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20148 esac
   20149 fi
   20150 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20151 esac
   20152 fi
   20153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20154 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20155 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20156 	CFLAGS="$xorg_testset_save_CFLAGS"
   20157 fi
   20158 
   20159 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20160 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20161 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20162 	fi
   20163 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20164 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20165 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20166 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20167 then :
   20168   printf %s "(cached) " >&6
   20169 else case e in #(
   20170   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20171 /* end confdefs.h.  */
   20172 int i;
   20173 _ACEOF
   20174 if ac_fn_c_try_compile "$LINENO"
   20175 then :
   20176   xorg_cv_cc_flag_unused_command_line_argument=yes
   20177 else case e in #(
   20178   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20179 esac
   20180 fi
   20181 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20182 esac
   20183 fi
   20184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20185 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20186 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20187 	CFLAGS="$xorg_testset_save_CFLAGS"
   20188 fi
   20189 
   20190 found="no"
   20191 
   20192 	if test $found = "no" ; then
   20193 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20194 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20195 		fi
   20196 
   20197 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20198 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20199 		fi
   20200 
   20201 		CFLAGS="$CFLAGS -Werror=attributes"
   20202 
   20203 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   20204 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   20205 		cacheid=xorg_cv_cc_flag__Werror_attributes
   20206 		if eval test \${$cacheid+y}
   20207 then :
   20208   printf %s "(cached) " >&6
   20209 else case e in #(
   20210   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20211 /* end confdefs.h.  */
   20212 int i;
   20213 int
   20214 main (void)
   20215 {
   20216 
   20217   ;
   20218   return 0;
   20219 }
   20220 _ACEOF
   20221 if ac_fn_c_try_link "$LINENO"
   20222 then :
   20223   eval $cacheid=yes
   20224 else case e in #(
   20225   e) eval $cacheid=no ;;
   20226 esac
   20227 fi
   20228 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20229     conftest$ac_exeext conftest.$ac_ext ;;
   20230 esac
   20231 fi
   20232 
   20233 
   20234 		CFLAGS="$xorg_testset_save_CFLAGS"
   20235 
   20236 		eval supported=\$$cacheid
   20237 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20238 printf "%s\n" "$supported" >&6; }
   20239 		if test "$supported" = "yes" ; then
   20240 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   20241 			found="yes"
   20242 		fi
   20243 	fi
   20244 
   20245 
   20246 
   20247 if test "x$STRICT_COMPILE" = "xyes"; then
   20248     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   20249     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   20250 fi
   20251 
   20252 
   20253 
   20254 
   20255 
   20256 
   20257 
   20258 
   20259 cat >>confdefs.h <<_ACEOF
   20260 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   20261 _ACEOF
   20262 
   20263 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   20264 	if test "x$PVM" = "x"; then
   20265 		PVM="0"
   20266 	fi
   20267 
   20268 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   20269 
   20270 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   20271 	if test "x$PVP" = "x"; then
   20272 		PVP="0"
   20273 	fi
   20274 
   20275 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   20276 
   20277 
   20278 
   20279 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   20280 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   20281 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   20282 touch \$(top_srcdir)/ChangeLog; \
   20283 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   20284 
   20285 
   20286 
   20287 
   20288 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   20289 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   20290 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   20291 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   20292 touch \$(top_srcdir)/INSTALL; \
   20293 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   20294 
   20295 
   20296 
   20297 
   20298 
   20299 
   20300 case $host_os in
   20301     solaris*)
   20302         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   20303         # check for a man page file found in later versions that use
   20304         # traditional section numbers instead
   20305         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   20306 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   20307 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   20308 then :
   20309   printf %s "(cached) " >&6
   20310 else case e in #(
   20311   e) test "$cross_compiling" = yes &&
   20312   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   20313 if test -r "/usr/share/man/man7/attributes.7"; then
   20314   ac_cv_file__usr_share_man_man7_attributes_7=yes
   20315 else
   20316   ac_cv_file__usr_share_man_man7_attributes_7=no
   20317 fi ;;
   20318 esac
   20319 fi
   20320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   20321 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   20322 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   20323 then :
   20324   SYSV_MAN_SECTIONS=false
   20325 else case e in #(
   20326   e) SYSV_MAN_SECTIONS=true ;;
   20327 esac
   20328 fi
   20329 
   20330         ;;
   20331     *) SYSV_MAN_SECTIONS=false ;;
   20332 esac
   20333 
   20334 if test x$APP_MAN_SUFFIX = x    ; then
   20335     APP_MAN_SUFFIX=1
   20336 fi
   20337 if test x$APP_MAN_DIR = x    ; then
   20338     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   20339 fi
   20340 
   20341 if test x$LIB_MAN_SUFFIX = x    ; then
   20342     LIB_MAN_SUFFIX=3
   20343 fi
   20344 if test x$LIB_MAN_DIR = x    ; then
   20345     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   20346 fi
   20347 
   20348 if test x$FILE_MAN_SUFFIX = x    ; then
   20349     case $SYSV_MAN_SECTIONS in
   20350 	true)				FILE_MAN_SUFFIX=4  ;;
   20351 	*)				FILE_MAN_SUFFIX=5  ;;
   20352     esac
   20353 fi
   20354 if test x$FILE_MAN_DIR = x    ; then
   20355     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   20356 fi
   20357 
   20358 if test x$MISC_MAN_SUFFIX = x    ; then
   20359     case $SYSV_MAN_SECTIONS in
   20360 	true)				MISC_MAN_SUFFIX=5  ;;
   20361 	*)				MISC_MAN_SUFFIX=7  ;;
   20362     esac
   20363 fi
   20364 if test x$MISC_MAN_DIR = x    ; then
   20365     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   20366 fi
   20367 
   20368 if test x$DRIVER_MAN_SUFFIX = x    ; then
   20369     case $SYSV_MAN_SECTIONS in
   20370 	true)				DRIVER_MAN_SUFFIX=7  ;;
   20371 	*)				DRIVER_MAN_SUFFIX=4  ;;
   20372     esac
   20373 fi
   20374 if test x$DRIVER_MAN_DIR = x    ; then
   20375     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   20376 fi
   20377 
   20378 if test x$ADMIN_MAN_SUFFIX = x    ; then
   20379     case $SYSV_MAN_SECTIONS in
   20380 	true)				ADMIN_MAN_SUFFIX=1m ;;
   20381 	*)				ADMIN_MAN_SUFFIX=8  ;;
   20382     esac
   20383 fi
   20384 if test x$ADMIN_MAN_DIR = x    ; then
   20385     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   20386 fi
   20387 
   20388 
   20389 
   20390 
   20391 
   20392 
   20393 
   20394 
   20395 
   20396 
   20397 
   20398 
   20399 
   20400 
   20401 
   20402 XORG_MAN_PAGE="X Version 11"
   20403 
   20404 MAN_SUBSTS="\
   20405 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   20406 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   20407 	-e 's|__xservername__|Xorg|g' \
   20408 	-e 's|__xconfigfile__|xorg.conf|g' \
   20409 	-e 's|__projectroot__|\$(prefix)|g' \
   20410 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   20411 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   20412 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   20413 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   20414 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   20415 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   20416 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   20417 
   20418 
   20419 
   20420 
   20421 AM_DEFAULT_VERBOSITY=0
   20422 
   20423 
   20424 
   20425 
   20426 
   20427 # Check damageext configuration, strip extra digits from package version to
   20428 # find the required protocol version
   20429 DAMAGEEXT_VERSION=`echo $VERSION | sed 's/^\([0-9][0-9]*\.[0-9][0-9]*\).*$/\1/'`
   20430 
   20431 
   20432 # Obtain compiler/linker options for dependencies
   20433 
   20434 pkg_failed=no
   20435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XDAMAGE" >&5
   20436 printf %s "checking for XDAMAGE... " >&6; }
   20437 
   20438 if test -n "$XDAMAGE_CFLAGS"; then
   20439     pkg_cv_XDAMAGE_CFLAGS="$XDAMAGE_CFLAGS"
   20440  elif test -n "$PKG_CONFIG"; then
   20441     if test -n "$PKG_CONFIG" && \
   20442     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"damageproto >= \$DAMAGEEXT_VERSION xfixes fixesproto xextproto x11 xproto >= 7.0.22\""; } >&5
   20443   ($PKG_CONFIG --exists --print-errors "damageproto >= $DAMAGEEXT_VERSION xfixes fixesproto xextproto x11 xproto >= 7.0.22") 2>&5
   20444   ac_status=$?
   20445   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20446   test $ac_status = 0; }; then
   20447   pkg_cv_XDAMAGE_CFLAGS=`$PKG_CONFIG --cflags "damageproto >= $DAMAGEEXT_VERSION xfixes fixesproto xextproto x11 xproto >= 7.0.22" 2>/dev/null`
   20448 		      test "x$?" != "x0" && pkg_failed=yes
   20449 else
   20450   pkg_failed=yes
   20451 fi
   20452  else
   20453     pkg_failed=untried
   20454 fi
   20455 if test -n "$XDAMAGE_LIBS"; then
   20456     pkg_cv_XDAMAGE_LIBS="$XDAMAGE_LIBS"
   20457  elif test -n "$PKG_CONFIG"; then
   20458     if test -n "$PKG_CONFIG" && \
   20459     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"damageproto >= \$DAMAGEEXT_VERSION xfixes fixesproto xextproto x11 xproto >= 7.0.22\""; } >&5
   20460   ($PKG_CONFIG --exists --print-errors "damageproto >= $DAMAGEEXT_VERSION xfixes fixesproto xextproto x11 xproto >= 7.0.22") 2>&5
   20461   ac_status=$?
   20462   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20463   test $ac_status = 0; }; then
   20464   pkg_cv_XDAMAGE_LIBS=`$PKG_CONFIG --libs "damageproto >= $DAMAGEEXT_VERSION xfixes fixesproto xextproto x11 xproto >= 7.0.22" 2>/dev/null`
   20465 		      test "x$?" != "x0" && pkg_failed=yes
   20466 else
   20467   pkg_failed=yes
   20468 fi
   20469  else
   20470     pkg_failed=untried
   20471 fi
   20472 
   20473 
   20474 
   20475 if test $pkg_failed = yes; then
   20476    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20477 printf "%s\n" "no" >&6; }
   20478 
   20479 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20480         _pkg_short_errors_supported=yes
   20481 else
   20482         _pkg_short_errors_supported=no
   20483 fi
   20484         if test $_pkg_short_errors_supported = yes; then
   20485 	        XDAMAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "damageproto >= $DAMAGEEXT_VERSION xfixes fixesproto xextproto x11 xproto >= 7.0.22" 2>&1`
   20486         else
   20487 	        XDAMAGE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "damageproto >= $DAMAGEEXT_VERSION xfixes fixesproto xextproto x11 xproto >= 7.0.22" 2>&1`
   20488         fi
   20489 	# Put the nasty error message in config.log where it belongs
   20490 	echo "$XDAMAGE_PKG_ERRORS" >&5
   20491 
   20492 	as_fn_error $? "Package requirements (damageproto >= $DAMAGEEXT_VERSION xfixes fixesproto xextproto x11 xproto >= 7.0.22) were not met:
   20493 
   20494 $XDAMAGE_PKG_ERRORS
   20495 
   20496 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20497 installed software in a non-standard prefix.
   20498 
   20499 Alternatively, you may set the environment variables XDAMAGE_CFLAGS
   20500 and XDAMAGE_LIBS to avoid the need to call pkg-config.
   20501 See the pkg-config man page for more details." "$LINENO" 5
   20502 elif test $pkg_failed = untried; then
   20503      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20504 printf "%s\n" "no" >&6; }
   20505 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   20506 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   20507 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   20508 is in your PATH or set the PKG_CONFIG environment variable to the full
   20509 path to pkg-config.
   20510 
   20511 Alternatively, you may set the environment variables XDAMAGE_CFLAGS
   20512 and XDAMAGE_LIBS to avoid the need to call pkg-config.
   20513 See the pkg-config man page for more details.
   20514 
   20515 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20516 See 'config.log' for more details" "$LINENO" 5; }
   20517 else
   20518 	XDAMAGE_CFLAGS=$pkg_cv_XDAMAGE_CFLAGS
   20519 	XDAMAGE_LIBS=$pkg_cv_XDAMAGE_LIBS
   20520         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20521 printf "%s\n" "yes" >&6; }
   20522 
   20523 fi
   20524 
   20525 ac_config_files="$ac_config_files Makefile src/Makefile xdamage.pc"
   20526 
   20527 cat >confcache <<\_ACEOF
   20528 # This file is a shell script that caches the results of configure
   20529 # tests run on this system so they can be shared between configure
   20530 # scripts and configure runs, see configure's option --config-cache.
   20531 # It is not useful on other systems.  If it contains results you don't
   20532 # want to keep, you may remove or edit it.
   20533 #
   20534 # config.status only pays attention to the cache file if you give it
   20535 # the --recheck option to rerun configure.
   20536 #
   20537 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   20538 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   20539 # following values.
   20540 
   20541 _ACEOF
   20542 
   20543 # The following way of writing the cache mishandles newlines in values,
   20544 # but we know of no workaround that is simple, portable, and efficient.
   20545 # So, we kill variables containing newlines.
   20546 # Ultrix sh set writes to stderr and can't be redirected directly,
   20547 # and sets the high bit in the cache file unless we assign to the vars.
   20548 (
   20549   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   20550     eval ac_val=\$$ac_var
   20551     case $ac_val in #(
   20552     *${as_nl}*)
   20553       case $ac_var in #(
   20554       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   20555 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   20556       esac
   20557       case $ac_var in #(
   20558       _ | IFS | as_nl) ;; #(
   20559       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   20560       *) { eval $ac_var=; unset $ac_var;} ;;
   20561       esac ;;
   20562     esac
   20563   done
   20564 
   20565   (set) 2>&1 |
   20566     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   20567     *${as_nl}ac_space=\ *)
   20568       # 'set' does not quote correctly, so add quotes: double-quote
   20569       # substitution turns \\\\ into \\, and sed turns \\ into \.
   20570       sed -n \
   20571 	"s/'/'\\\\''/g;
   20572 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   20573       ;; #(
   20574     *)
   20575       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   20576       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   20577       ;;
   20578     esac |
   20579     sort
   20580 ) |
   20581   sed '
   20582      /^ac_cv_env_/b end
   20583      t clear
   20584      :clear
   20585      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   20586      t end
   20587      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   20588      :end' >>confcache
   20589 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   20590   if test -w "$cache_file"; then
   20591     if test "x$cache_file" != "x/dev/null"; then
   20592       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   20593 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   20594       if test ! -f "$cache_file" || test -h "$cache_file"; then
   20595 	cat confcache >"$cache_file"
   20596       else
   20597         case $cache_file in #(
   20598         */* | ?:*)
   20599 	  mv -f confcache "$cache_file"$$ &&
   20600 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   20601         *)
   20602 	  mv -f confcache "$cache_file" ;;
   20603 	esac
   20604       fi
   20605     fi
   20606   else
   20607     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   20608 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   20609   fi
   20610 fi
   20611 rm -f confcache
   20612 
   20613 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   20614 # Let make expand exec_prefix.
   20615 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   20616 
   20617 DEFS=-DHAVE_CONFIG_H
   20618 
   20619 ac_libobjs=
   20620 ac_ltlibobjs=
   20621 U=
   20622 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   20623   # 1. Remove the extension, and $U if already installed.
   20624   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   20625   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   20626   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   20627   #    will be set to the directory where LIBOBJS objects are built.
   20628   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   20629   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   20630 done
   20631 LIBOBJS=$ac_libobjs
   20632 
   20633 LTLIBOBJS=$ac_ltlibobjs
   20634 
   20635 
   20636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   20637 printf %s "checking that generated files are newer than configure... " >&6; }
   20638    if test -n "$am_sleep_pid"; then
   20639      # Hide warnings about reused PIDs.
   20640      wait $am_sleep_pid 2>/dev/null
   20641    fi
   20642    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   20643 printf "%s\n" "done" >&6; }
   20644 case $enable_silent_rules in # (((
   20645   yes) AM_DEFAULT_VERBOSITY=0;;
   20646    no) AM_DEFAULT_VERBOSITY=1;;
   20647 esac
   20648 if test $am_cv_make_support_nested_variables = yes; then
   20649     AM_V='$(V)'
   20650   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   20651 else
   20652   AM_V=$AM_DEFAULT_VERBOSITY
   20653   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   20654 fi
   20655 
   20656  if test -n "$EXEEXT"; then
   20657   am__EXEEXT_TRUE=
   20658   am__EXEEXT_FALSE='#'
   20659 else
   20660   am__EXEEXT_TRUE='#'
   20661   am__EXEEXT_FALSE=
   20662 fi
   20663 
   20664 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   20665   as_fn_error $? "conditional \"AMDEP\" was never defined.
   20666 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20667 fi
   20668 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   20669   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   20670 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   20671 fi
   20672 
   20673 : "${CONFIG_STATUS=./config.status}"
   20674 ac_write_fail=0
   20675 ac_clean_files_save=$ac_clean_files
   20676 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   20677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   20678 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   20679 as_write_fail=0
   20680 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   20681 #! $SHELL
   20682 # Generated by $as_me.
   20683 # Run this file to recreate the current configuration.
   20684 # Compiler output produced by configure, useful for debugging
   20685 # configure, is in config.log if it exists.
   20686 
   20687 debug=false
   20688 ac_cs_recheck=false
   20689 ac_cs_silent=false
   20690 
   20691 SHELL=\${CONFIG_SHELL-$SHELL}
   20692 export SHELL
   20693 _ASEOF
   20694 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   20695 ## -------------------- ##
   20696 ## M4sh Initialization. ##
   20697 ## -------------------- ##
   20698 
   20699 # Be more Bourne compatible
   20700 DUALCASE=1; export DUALCASE # for MKS sh
   20701 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   20702 then :
   20703   emulate sh
   20704   NULLCMD=:
   20705   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   20706   # is contrary to our usage.  Disable this feature.
   20707   alias -g '${1+"$@"}'='"$@"'
   20708   setopt NO_GLOB_SUBST
   20709 else case e in #(
   20710   e) case `(set -o) 2>/dev/null` in #(
   20711   *posix*) :
   20712     set -o posix ;; #(
   20713   *) :
   20714      ;;
   20715 esac ;;
   20716 esac
   20717 fi
   20718 
   20719 
   20720 
   20721 # Reset variables that may have inherited troublesome values from
   20722 # the environment.
   20723 
   20724 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   20725 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   20726 # side effect of setting IFS to empty, thus disabling word splitting.)
   20727 # Quoting is to prevent editors from complaining about space-tab.
   20728 as_nl='
   20729 '
   20730 export as_nl
   20731 IFS=" ""	$as_nl"
   20732 
   20733 PS1='$ '
   20734 PS2='> '
   20735 PS4='+ '
   20736 
   20737 # Ensure predictable behavior from utilities with locale-dependent output.
   20738 LC_ALL=C
   20739 export LC_ALL
   20740 LANGUAGE=C
   20741 export LANGUAGE
   20742 
   20743 # We cannot yet rely on "unset" to work, but we need these variables
   20744 # to be unset--not just set to an empty or harmless value--now, to
   20745 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   20746 # also avoids known problems related to "unset" and subshell syntax
   20747 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   20748 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   20749 do eval test \${$as_var+y} \
   20750   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   20751 done
   20752 
   20753 # Ensure that fds 0, 1, and 2 are open.
   20754 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   20755 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   20756 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   20757 
   20758 # The user is always right.
   20759 if ${PATH_SEPARATOR+false} :; then
   20760   PATH_SEPARATOR=:
   20761   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   20762     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   20763       PATH_SEPARATOR=';'
   20764   }
   20765 fi
   20766 
   20767 
   20768 # Find who we are.  Look in the path if we contain no directory separator.
   20769 as_myself=
   20770 case $0 in #((
   20771   *[\\/]* ) as_myself=$0 ;;
   20772   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20773 for as_dir in $PATH
   20774 do
   20775   IFS=$as_save_IFS
   20776   case $as_dir in #(((
   20777     '') as_dir=./ ;;
   20778     */) ;;
   20779     *) as_dir=$as_dir/ ;;
   20780   esac
   20781     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   20782   done
   20783 IFS=$as_save_IFS
   20784 
   20785      ;;
   20786 esac
   20787 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   20788 # in which case we are not to be found in the path.
   20789 if test "x$as_myself" = x; then
   20790   as_myself=$0
   20791 fi
   20792 if test ! -f "$as_myself"; then
   20793   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   20794   exit 1
   20795 fi
   20796 
   20797 
   20798 
   20799 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   20800 # ----------------------------------------
   20801 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   20802 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   20803 # script with STATUS, using 1 if that was 0.
   20804 as_fn_error ()
   20805 {
   20806   as_status=$1; test $as_status -eq 0 && as_status=1
   20807   if test "$4"; then
   20808     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   20809     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   20810   fi
   20811   printf "%s\n" "$as_me: error: $2" >&2
   20812   as_fn_exit $as_status
   20813 } # as_fn_error
   20814 
   20815 
   20816 # as_fn_set_status STATUS
   20817 # -----------------------
   20818 # Set $? to STATUS, without forking.
   20819 as_fn_set_status ()
   20820 {
   20821   return $1
   20822 } # as_fn_set_status
   20823 
   20824 # as_fn_exit STATUS
   20825 # -----------------
   20826 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   20827 as_fn_exit ()
   20828 {
   20829   set +e
   20830   as_fn_set_status $1
   20831   exit $1
   20832 } # as_fn_exit
   20833 
   20834 # as_fn_unset VAR
   20835 # ---------------
   20836 # Portably unset VAR.
   20837 as_fn_unset ()
   20838 {
   20839   { eval $1=; unset $1;}
   20840 }
   20841 as_unset=as_fn_unset
   20842 
   20843 # as_fn_append VAR VALUE
   20844 # ----------------------
   20845 # Append the text in VALUE to the end of the definition contained in VAR. Take
   20846 # advantage of any shell optimizations that allow amortized linear growth over
   20847 # repeated appends, instead of the typical quadratic growth present in naive
   20848 # implementations.
   20849 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   20850 then :
   20851   eval 'as_fn_append ()
   20852   {
   20853     eval $1+=\$2
   20854   }'
   20855 else case e in #(
   20856   e) as_fn_append ()
   20857   {
   20858     eval $1=\$$1\$2
   20859   } ;;
   20860 esac
   20861 fi # as_fn_append
   20862 
   20863 # as_fn_arith ARG...
   20864 # ------------------
   20865 # Perform arithmetic evaluation on the ARGs, and store the result in the
   20866 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   20867 # must be portable across $(()) and expr.
   20868 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   20869 then :
   20870   eval 'as_fn_arith ()
   20871   {
   20872     as_val=$(( $* ))
   20873   }'
   20874 else case e in #(
   20875   e) as_fn_arith ()
   20876   {
   20877     as_val=`expr "$@" || test $? -eq 1`
   20878   } ;;
   20879 esac
   20880 fi # as_fn_arith
   20881 
   20882 
   20883 if expr a : '\(a\)' >/dev/null 2>&1 &&
   20884    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   20885   as_expr=expr
   20886 else
   20887   as_expr=false
   20888 fi
   20889 
   20890 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   20891   as_basename=basename
   20892 else
   20893   as_basename=false
   20894 fi
   20895 
   20896 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   20897   as_dirname=dirname
   20898 else
   20899   as_dirname=false
   20900 fi
   20901 
   20902 as_me=`$as_basename -- "$0" ||
   20903 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   20904 	 X"$0" : 'X\(//\)$' \| \
   20905 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   20906 printf "%s\n" X/"$0" |
   20907     sed '/^.*\/\([^/][^/]*\)\/*$/{
   20908 	    s//\1/
   20909 	    q
   20910 	  }
   20911 	  /^X\/\(\/\/\)$/{
   20912 	    s//\1/
   20913 	    q
   20914 	  }
   20915 	  /^X\/\(\/\).*/{
   20916 	    s//\1/
   20917 	    q
   20918 	  }
   20919 	  s/.*/./; q'`
   20920 
   20921 # Avoid depending upon Character Ranges.
   20922 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   20923 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   20924 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   20925 as_cr_digits='0123456789'
   20926 as_cr_alnum=$as_cr_Letters$as_cr_digits
   20927 
   20928 
   20929 # Determine whether it's possible to make 'echo' print without a newline.
   20930 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   20931 # for compatibility with existing Makefiles.
   20932 ECHO_C= ECHO_N= ECHO_T=
   20933 case `echo -n x` in #(((((
   20934 -n*)
   20935   case `echo 'xy\c'` in
   20936   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   20937   xy)  ECHO_C='\c';;
   20938   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   20939        ECHO_T='	';;
   20940   esac;;
   20941 *)
   20942   ECHO_N='-n';;
   20943 esac
   20944 
   20945 # For backward compatibility with old third-party macros, we provide
   20946 # the shell variables $as_echo and $as_echo_n.  New code should use
   20947 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   20948 as_echo='printf %s\n'
   20949 as_echo_n='printf %s'
   20950 
   20951 rm -f conf$$ conf$$.exe conf$$.file
   20952 if test -d conf$$.dir; then
   20953   rm -f conf$$.dir/conf$$.file
   20954 else
   20955   rm -f conf$$.dir
   20956   mkdir conf$$.dir 2>/dev/null
   20957 fi
   20958 if (echo >conf$$.file) 2>/dev/null; then
   20959   if ln -s conf$$.file conf$$ 2>/dev/null; then
   20960     as_ln_s='ln -s'
   20961     # ... but there are two gotchas:
   20962     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   20963     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   20964     # In both cases, we have to default to 'cp -pR'.
   20965     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   20966       as_ln_s='cp -pR'
   20967   elif ln conf$$.file conf$$ 2>/dev/null; then
   20968     as_ln_s=ln
   20969   else
   20970     as_ln_s='cp -pR'
   20971   fi
   20972 else
   20973   as_ln_s='cp -pR'
   20974 fi
   20975 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   20976 rmdir conf$$.dir 2>/dev/null
   20977 
   20978 
   20979 # as_fn_mkdir_p
   20980 # -------------
   20981 # Create "$as_dir" as a directory, including parents if necessary.
   20982 as_fn_mkdir_p ()
   20983 {
   20984 
   20985   case $as_dir in #(
   20986   -*) as_dir=./$as_dir;;
   20987   esac
   20988   test -d "$as_dir" || eval $as_mkdir_p || {
   20989     as_dirs=
   20990     while :; do
   20991       case $as_dir in #(
   20992       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   20993       *) as_qdir=$as_dir;;
   20994       esac
   20995       as_dirs="'$as_qdir' $as_dirs"
   20996       as_dir=`$as_dirname -- "$as_dir" ||
   20997 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20998 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   20999 	 X"$as_dir" : 'X\(//\)$' \| \
   21000 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   21001 printf "%s\n" X"$as_dir" |
   21002     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21003 	    s//\1/
   21004 	    q
   21005 	  }
   21006 	  /^X\(\/\/\)[^/].*/{
   21007 	    s//\1/
   21008 	    q
   21009 	  }
   21010 	  /^X\(\/\/\)$/{
   21011 	    s//\1/
   21012 	    q
   21013 	  }
   21014 	  /^X\(\/\).*/{
   21015 	    s//\1/
   21016 	    q
   21017 	  }
   21018 	  s/.*/./; q'`
   21019       test -d "$as_dir" && break
   21020     done
   21021     test -z "$as_dirs" || eval "mkdir $as_dirs"
   21022   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   21023 
   21024 
   21025 } # as_fn_mkdir_p
   21026 if mkdir -p . 2>/dev/null; then
   21027   as_mkdir_p='mkdir -p "$as_dir"'
   21028 else
   21029   test -d ./-p && rmdir ./-p
   21030   as_mkdir_p=false
   21031 fi
   21032 
   21033 
   21034 # as_fn_executable_p FILE
   21035 # -----------------------
   21036 # Test if FILE is an executable regular file.
   21037 as_fn_executable_p ()
   21038 {
   21039   test -f "$1" && test -x "$1"
   21040 } # as_fn_executable_p
   21041 as_test_x='test -x'
   21042 as_executable_p=as_fn_executable_p
   21043 
   21044 # Sed expression to map a string onto a valid CPP name.
   21045 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   21046 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   21047 
   21048 # Sed expression to map a string onto a valid variable name.
   21049 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   21050 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   21051 
   21052 
   21053 exec 6>&1
   21054 ## ----------------------------------- ##
   21055 ## Main body of $CONFIG_STATUS script. ##
   21056 ## ----------------------------------- ##
   21057 _ASEOF
   21058 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   21059 
   21060 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21061 # Save the log message, to keep $0 and so on meaningful, and to
   21062 # report actual input values of CONFIG_FILES etc. instead of their
   21063 # values after options handling.
   21064 ac_log="
   21065 This file was extended by libXdamage $as_me 1.1.7, which was
   21066 generated by GNU Autoconf 2.72.  Invocation command line was
   21067 
   21068   CONFIG_FILES    = $CONFIG_FILES
   21069   CONFIG_HEADERS  = $CONFIG_HEADERS
   21070   CONFIG_LINKS    = $CONFIG_LINKS
   21071   CONFIG_COMMANDS = $CONFIG_COMMANDS
   21072   $ $0 $@
   21073 
   21074 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   21075 "
   21076 
   21077 _ACEOF
   21078 
   21079 case $ac_config_files in *"
   21080 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   21081 esac
   21082 
   21083 case $ac_config_headers in *"
   21084 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   21085 esac
   21086 
   21087 
   21088 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21089 # Files that config.status was made for.
   21090 config_files="$ac_config_files"
   21091 config_headers="$ac_config_headers"
   21092 config_commands="$ac_config_commands"
   21093 
   21094 _ACEOF
   21095 
   21096 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21097 ac_cs_usage="\
   21098 '$as_me' instantiates files and other configuration actions
   21099 from templates according to the current configuration.  Unless the files
   21100 and actions are specified as TAGs, all are instantiated by default.
   21101 
   21102 Usage: $0 [OPTION]... [TAG]...
   21103 
   21104   -h, --help       print this help, then exit
   21105   -V, --version    print version number and configuration settings, then exit
   21106       --config     print configuration, then exit
   21107   -q, --quiet, --silent
   21108                    do not print progress messages
   21109   -d, --debug      don't remove temporary files
   21110       --recheck    update $as_me by reconfiguring in the same conditions
   21111       --file=FILE[:TEMPLATE]
   21112                    instantiate the configuration file FILE
   21113       --header=FILE[:TEMPLATE]
   21114                    instantiate the configuration header FILE
   21115 
   21116 Configuration files:
   21117 $config_files
   21118 
   21119 Configuration headers:
   21120 $config_headers
   21121 
   21122 Configuration commands:
   21123 $config_commands
   21124 
   21125 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libxdamage/-/issues>."
   21126 
   21127 _ACEOF
   21128 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   21129 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   21130 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21131 ac_cs_config='$ac_cs_config_escaped'
   21132 ac_cs_version="\\
   21133 libXdamage config.status 1.1.7
   21134 configured by $0, generated by GNU Autoconf 2.72,
   21135   with options \\"\$ac_cs_config\\"
   21136 
   21137 Copyright (C) 2023 Free Software Foundation, Inc.
   21138 This config.status script is free software; the Free Software Foundation
   21139 gives unlimited permission to copy, distribute and modify it."
   21140 
   21141 ac_pwd='$ac_pwd'
   21142 srcdir='$srcdir'
   21143 INSTALL='$INSTALL'
   21144 MKDIR_P='$MKDIR_P'
   21145 AWK='$AWK'
   21146 test -n "\$AWK" || AWK=awk
   21147 _ACEOF
   21148 
   21149 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21150 # The default lists apply if the user does not specify any file.
   21151 ac_need_defaults=:
   21152 while test $# != 0
   21153 do
   21154   case $1 in
   21155   --*=?*)
   21156     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21157     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   21158     ac_shift=:
   21159     ;;
   21160   --*=)
   21161     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21162     ac_optarg=
   21163     ac_shift=:
   21164     ;;
   21165   *)
   21166     ac_option=$1
   21167     ac_optarg=$2
   21168     ac_shift=shift
   21169     ;;
   21170   esac
   21171 
   21172   case $ac_option in
   21173   # Handling of the options.
   21174   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   21175     ac_cs_recheck=: ;;
   21176   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   21177     printf "%s\n" "$ac_cs_version"; exit ;;
   21178   --config | --confi | --conf | --con | --co | --c )
   21179     printf "%s\n" "$ac_cs_config"; exit ;;
   21180   --debug | --debu | --deb | --de | --d | -d )
   21181     debug=: ;;
   21182   --file | --fil | --fi | --f )
   21183     $ac_shift
   21184     case $ac_optarg in
   21185     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21186     '') as_fn_error $? "missing file argument" ;;
   21187     esac
   21188     as_fn_append CONFIG_FILES " '$ac_optarg'"
   21189     ac_need_defaults=false;;
   21190   --header | --heade | --head | --hea )
   21191     $ac_shift
   21192     case $ac_optarg in
   21193     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21194     esac
   21195     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   21196     ac_need_defaults=false;;
   21197   --he | --h)
   21198     # Conflict between --help and --header
   21199     as_fn_error $? "ambiguous option: '$1'
   21200 Try '$0 --help' for more information.";;
   21201   --help | --hel | -h )
   21202     printf "%s\n" "$ac_cs_usage"; exit ;;
   21203   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   21204   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   21205     ac_cs_silent=: ;;
   21206 
   21207   # This is an error.
   21208   -*) as_fn_error $? "unrecognized option: '$1'
   21209 Try '$0 --help' for more information." ;;
   21210 
   21211   *) as_fn_append ac_config_targets " $1"
   21212      ac_need_defaults=false ;;
   21213 
   21214   esac
   21215   shift
   21216 done
   21217 
   21218 ac_configure_extra_args=
   21219 
   21220 if $ac_cs_silent; then
   21221   exec 6>/dev/null
   21222   ac_configure_extra_args="$ac_configure_extra_args --silent"
   21223 fi
   21224 
   21225 _ACEOF
   21226 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21227 if \$ac_cs_recheck; then
   21228   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   21229   shift
   21230   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   21231   CONFIG_SHELL='$SHELL'
   21232   export CONFIG_SHELL
   21233   exec "\$@"
   21234 fi
   21235 
   21236 _ACEOF
   21237 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21238 exec 5>>config.log
   21239 {
   21240   echo
   21241   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   21242 ## Running $as_me. ##
   21243 _ASBOX
   21244   printf "%s\n" "$ac_log"
   21245 } >&5
   21246 
   21247 _ACEOF
   21248 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21249 #
   21250 # INIT-COMMANDS
   21251 #
   21252 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   21253 
   21254 
   21255 # The HP-UX ksh and POSIX shell print the target directory to stdout
   21256 # if CDPATH is set.
   21257 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   21258 
   21259 sed_quote_subst='$sed_quote_subst'
   21260 double_quote_subst='$double_quote_subst'
   21261 delay_variable_subst='$delay_variable_subst'
   21262 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   21263 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   21264 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   21265 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   21266 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   21267 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   21268 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   21269 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   21270 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   21271 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   21272 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   21273 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   21274 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   21275 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   21276 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   21277 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   21278 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   21279 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   21280 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   21281 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   21282 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   21283 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   21284 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   21285 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   21286 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   21287 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   21288 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   21289 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   21290 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   21291 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   21292 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   21293 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   21294 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   21295 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   21296 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   21297 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   21298 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   21299 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   21300 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   21301 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   21302 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   21303 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   21304 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   21305 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   21306 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   21307 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   21308 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   21309 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   21310 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21311 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21312 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   21313 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   21314 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   21315 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   21316 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   21317 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   21318 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   21319 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   21320 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   21321 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   21322 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"`'
   21323 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   21324 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   21325 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   21326 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   21327 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   21328 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   21329 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   21330 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   21331 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   21332 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   21333 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   21334 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   21335 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   21336 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   21337 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   21338 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   21339 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   21340 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   21341 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   21342 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   21343 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21344 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   21345 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   21346 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   21347 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   21348 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   21349 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   21350 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   21351 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   21352 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21353 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   21354 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   21355 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   21356 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21357 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   21358 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   21359 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   21360 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   21361 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   21362 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   21363 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21364 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   21365 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   21366 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   21367 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   21368 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   21369 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   21370 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   21371 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   21372 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   21373 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   21374 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   21375 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   21376 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   21377 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   21378 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   21379 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   21380 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   21381 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   21382 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   21383 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   21384 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   21385 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   21386 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   21387 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   21388 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   21389 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   21390 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   21391 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   21392 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   21393 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   21394 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   21395 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   21396 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   21397 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   21398 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   21399 
   21400 LTCC='$LTCC'
   21401 LTCFLAGS='$LTCFLAGS'
   21402 compiler='$compiler_DEFAULT'
   21403 
   21404 # A function that is used when there is no print builtin or printf.
   21405 func_fallback_echo ()
   21406 {
   21407   eval 'cat <<_LTECHO_EOF
   21408 \$1
   21409 _LTECHO_EOF'
   21410 }
   21411 
   21412 # Quote evaled strings.
   21413 for var in SHELL \
   21414 ECHO \
   21415 PATH_SEPARATOR \
   21416 SED \
   21417 GREP \
   21418 EGREP \
   21419 FGREP \
   21420 LD \
   21421 NM \
   21422 LN_S \
   21423 lt_SP2NL \
   21424 lt_NL2SP \
   21425 reload_flag \
   21426 FILECMD \
   21427 OBJDUMP \
   21428 deplibs_check_method \
   21429 file_magic_cmd \
   21430 file_magic_glob \
   21431 want_nocaseglob \
   21432 DLLTOOL \
   21433 sharedlib_from_linklib_cmd \
   21434 AR \
   21435 archiver_list_spec \
   21436 STRIP \
   21437 RANLIB \
   21438 CC \
   21439 CFLAGS \
   21440 compiler \
   21441 lt_cv_sys_global_symbol_pipe \
   21442 lt_cv_sys_global_symbol_to_cdecl \
   21443 lt_cv_sys_global_symbol_to_import \
   21444 lt_cv_sys_global_symbol_to_c_name_address \
   21445 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   21446 lt_cv_nm_interface \
   21447 nm_file_list_spec \
   21448 lt_cv_truncate_bin \
   21449 lt_prog_compiler_no_builtin_flag \
   21450 lt_prog_compiler_pic \
   21451 lt_prog_compiler_wl \
   21452 lt_prog_compiler_static \
   21453 lt_cv_prog_compiler_c_o \
   21454 need_locks \
   21455 MANIFEST_TOOL \
   21456 DSYMUTIL \
   21457 NMEDIT \
   21458 LIPO \
   21459 OTOOL \
   21460 OTOOL64 \
   21461 shrext_cmds \
   21462 export_dynamic_flag_spec \
   21463 whole_archive_flag_spec \
   21464 compiler_needs_object \
   21465 with_gnu_ld \
   21466 allow_undefined_flag \
   21467 no_undefined_flag \
   21468 hardcode_libdir_flag_spec \
   21469 hardcode_libdir_separator \
   21470 exclude_expsyms \
   21471 include_expsyms \
   21472 file_list_spec \
   21473 variables_saved_for_relink \
   21474 libname_spec \
   21475 library_names_spec \
   21476 soname_spec \
   21477 install_override_mode \
   21478 finish_eval \
   21479 old_striplib \
   21480 striplib; do
   21481     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21482     *[\\\\\\\`\\"\\\$]*)
   21483       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21484       ;;
   21485     *)
   21486       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21487       ;;
   21488     esac
   21489 done
   21490 
   21491 # Double-quote double-evaled strings.
   21492 for var in reload_cmds \
   21493 old_postinstall_cmds \
   21494 old_postuninstall_cmds \
   21495 old_archive_cmds \
   21496 extract_expsyms_cmds \
   21497 old_archive_from_new_cmds \
   21498 old_archive_from_expsyms_cmds \
   21499 archive_cmds \
   21500 archive_expsym_cmds \
   21501 module_cmds \
   21502 module_expsym_cmds \
   21503 export_symbols_cmds \
   21504 prelink_cmds \
   21505 postlink_cmds \
   21506 postinstall_cmds \
   21507 postuninstall_cmds \
   21508 finish_cmds \
   21509 sys_lib_search_path_spec \
   21510 configure_time_dlsearch_path \
   21511 configure_time_lt_sys_library_path; do
   21512     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   21513     *[\\\\\\\`\\"\\\$]*)
   21514       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   21515       ;;
   21516     *)
   21517       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   21518       ;;
   21519     esac
   21520 done
   21521 
   21522 ac_aux_dir='$ac_aux_dir'
   21523 
   21524 # See if we are running on zsh, and set the options that allow our
   21525 # commands through without removal of \ escapes INIT.
   21526 if test -n "\${ZSH_VERSION+set}"; then
   21527    setopt NO_GLOB_SUBST
   21528 fi
   21529 
   21530 
   21531     PACKAGE='$PACKAGE'
   21532     VERSION='$VERSION'
   21533     RM='$RM'
   21534     ofile='$ofile'
   21535 
   21536 
   21537 
   21538 
   21539 _ACEOF
   21540 
   21541 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21542 
   21543 # Handling of arguments.
   21544 for ac_config_target in $ac_config_targets
   21545 do
   21546   case $ac_config_target in
   21547     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   21548     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   21549     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   21550     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   21551     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   21552     "xdamage.pc") CONFIG_FILES="$CONFIG_FILES xdamage.pc" ;;
   21553 
   21554   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   21555   esac
   21556 done
   21557 
   21558 
   21559 # If the user did not use the arguments to specify the items to instantiate,
   21560 # then the envvar interface is used.  Set only those that are not.
   21561 # We use the long form for the default assignment because of an extremely
   21562 # bizarre bug on SunOS 4.1.3.
   21563 if $ac_need_defaults; then
   21564   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   21565   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   21566   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   21567 fi
   21568 
   21569 # Have a temporary directory for convenience.  Make it in the build tree
   21570 # simply because there is no reason against having it here, and in addition,
   21571 # creating and moving files from /tmp can sometimes cause problems.
   21572 # Hook for its removal unless debugging.
   21573 # Note that there is a small window in which the directory will not be cleaned:
   21574 # after its creation but before its name has been assigned to '$tmp'.
   21575 $debug ||
   21576 {
   21577   tmp= ac_tmp=
   21578   trap 'exit_status=$?
   21579   : "${ac_tmp:=$tmp}"
   21580   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   21581 ' 0
   21582   trap 'as_fn_exit 1' 1 2 13 15
   21583 }
   21584 # Create a (secure) tmp directory for tmp files.
   21585 
   21586 {
   21587   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   21588   test -d "$tmp"
   21589 }  ||
   21590 {
   21591   tmp=./conf$$-$RANDOM
   21592   (umask 077 && mkdir "$tmp")
   21593 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   21594 ac_tmp=$tmp
   21595 
   21596 # Set up the scripts for CONFIG_FILES section.
   21597 # No need to generate them if there are no CONFIG_FILES.
   21598 # This happens for instance with './config.status config.h'.
   21599 if test -n "$CONFIG_FILES"; then
   21600 
   21601 
   21602 ac_cr=`echo X | tr X '\015'`
   21603 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   21604 # But we know of no other shell where ac_cr would be empty at this
   21605 # point, so we can use a bashism as a fallback.
   21606 if test "x$ac_cr" = x; then
   21607   eval ac_cr=\$\'\\r\'
   21608 fi
   21609 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   21610 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   21611   ac_cs_awk_cr='\\r'
   21612 else
   21613   ac_cs_awk_cr=$ac_cr
   21614 fi
   21615 
   21616 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   21617 _ACEOF
   21618 
   21619 
   21620 {
   21621   echo "cat >conf$$subs.awk <<_ACEOF" &&
   21622   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   21623   echo "_ACEOF"
   21624 } >conf$$subs.sh ||
   21625   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21626 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   21627 ac_delim='%!_!# '
   21628 for ac_last_try in false false false false false :; do
   21629   . ./conf$$subs.sh ||
   21630     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21631 
   21632   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   21633   if test $ac_delim_n = $ac_delim_num; then
   21634     break
   21635   elif $ac_last_try; then
   21636     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   21637   else
   21638     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21639   fi
   21640 done
   21641 rm -f conf$$subs.sh
   21642 
   21643 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21644 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   21645 _ACEOF
   21646 sed -n '
   21647 h
   21648 s/^/S["/; s/!.*/"]=/
   21649 p
   21650 g
   21651 s/^[^!]*!//
   21652 :repl
   21653 t repl
   21654 s/'"$ac_delim"'$//
   21655 t delim
   21656 :nl
   21657 h
   21658 s/\(.\{148\}\)..*/\1/
   21659 t more1
   21660 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   21661 p
   21662 n
   21663 b repl
   21664 :more1
   21665 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21666 p
   21667 g
   21668 s/.\{148\}//
   21669 t nl
   21670 :delim
   21671 h
   21672 s/\(.\{148\}\)..*/\1/
   21673 t more2
   21674 s/["\\]/\\&/g; s/^/"/; s/$/"/
   21675 p
   21676 b
   21677 :more2
   21678 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21679 p
   21680 g
   21681 s/.\{148\}//
   21682 t delim
   21683 ' <conf$$subs.awk | sed '
   21684 /^[^""]/{
   21685   N
   21686   s/\n//
   21687 }
   21688 ' >>$CONFIG_STATUS || ac_write_fail=1
   21689 rm -f conf$$subs.awk
   21690 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21691 _ACAWK
   21692 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   21693   for (key in S) S_is_set[key] = 1
   21694   FS = ""
   21695 
   21696 }
   21697 {
   21698   line = $ 0
   21699   nfields = split(line, field, "@")
   21700   substed = 0
   21701   len = length(field[1])
   21702   for (i = 2; i < nfields; i++) {
   21703     key = field[i]
   21704     keylen = length(key)
   21705     if (S_is_set[key]) {
   21706       value = S[key]
   21707       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   21708       len += length(value) + length(field[++i])
   21709       substed = 1
   21710     } else
   21711       len += 1 + keylen
   21712   }
   21713 
   21714   print line
   21715 }
   21716 
   21717 _ACAWK
   21718 _ACEOF
   21719 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21720 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   21721   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   21722 else
   21723   cat
   21724 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   21725   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   21726 _ACEOF
   21727 
   21728 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   21729 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   21730 # trailing colons and then remove the whole line if VPATH becomes empty
   21731 # (actually we leave an empty line to preserve line numbers).
   21732 if test "x$srcdir" = x.; then
   21733   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   21734 h
   21735 s///
   21736 s/^/:/
   21737 s/[	 ]*$/:/
   21738 s/:\$(srcdir):/:/g
   21739 s/:\${srcdir}:/:/g
   21740 s/:@srcdir@:/:/g
   21741 s/^:*//
   21742 s/:*$//
   21743 x
   21744 s/\(=[	 ]*\).*/\1/
   21745 G
   21746 s/\n//
   21747 s/^[^=]*=[	 ]*$//
   21748 }'
   21749 fi
   21750 
   21751 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21752 fi # test -n "$CONFIG_FILES"
   21753 
   21754 # Set up the scripts for CONFIG_HEADERS section.
   21755 # No need to generate them if there are no CONFIG_HEADERS.
   21756 # This happens for instance with './config.status Makefile'.
   21757 if test -n "$CONFIG_HEADERS"; then
   21758 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   21759 BEGIN {
   21760 _ACEOF
   21761 
   21762 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   21763 # here-document in config.status, that substitutes the proper values into
   21764 # config.h.in to produce config.h.
   21765 
   21766 # Create a delimiter string that does not exist in confdefs.h, to ease
   21767 # handling of long lines.
   21768 ac_delim='%!_!# '
   21769 for ac_last_try in false false :; do
   21770   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   21771   if test -z "$ac_tt"; then
   21772     break
   21773   elif $ac_last_try; then
   21774     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   21775   else
   21776     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21777   fi
   21778 done
   21779 
   21780 # For the awk script, D is an array of macro values keyed by name,
   21781 # likewise P contains macro parameters if any.  Preserve backslash
   21782 # newline sequences.
   21783 
   21784 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   21785 sed -n '
   21786 s/.\{148\}/&'"$ac_delim"'/g
   21787 t rset
   21788 :rset
   21789 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   21790 t def
   21791 d
   21792 :def
   21793 s/\\$//
   21794 t bsnl
   21795 s/["\\]/\\&/g
   21796 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21797 D["\1"]=" \3"/p
   21798 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   21799 d
   21800 :bsnl
   21801 s/["\\]/\\&/g
   21802 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21803 D["\1"]=" \3\\\\\\n"\\/p
   21804 t cont
   21805 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   21806 t cont
   21807 d
   21808 :cont
   21809 n
   21810 s/.\{148\}/&'"$ac_delim"'/g
   21811 t clear
   21812 :clear
   21813 s/\\$//
   21814 t bsnlc
   21815 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   21816 d
   21817 :bsnlc
   21818 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   21819 b cont
   21820 ' <confdefs.h | sed '
   21821 s/'"$ac_delim"'/"\\\
   21822 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   21823 
   21824 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21825   for (key in D) D_is_set[key] = 1
   21826   FS = ""
   21827 }
   21828 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   21829   line = \$ 0
   21830   split(line, arg, " ")
   21831   if (arg[1] == "#") {
   21832     defundef = arg[2]
   21833     mac1 = arg[3]
   21834   } else {
   21835     defundef = substr(arg[1], 2)
   21836     mac1 = arg[2]
   21837   }
   21838   split(mac1, mac2, "(") #)
   21839   macro = mac2[1]
   21840   prefix = substr(line, 1, index(line, defundef) - 1)
   21841   if (D_is_set[macro]) {
   21842     # Preserve the white space surrounding the "#".
   21843     print prefix "define", macro P[macro] D[macro]
   21844     next
   21845   } else {
   21846     # Replace #undef with comments.  This is necessary, for example,
   21847     # in the case of _POSIX_SOURCE, which is predefined and required
   21848     # on some systems where configure will not decide to define it.
   21849     if (defundef == "undef") {
   21850       print "/*", prefix defundef, macro, "*/"
   21851       next
   21852     }
   21853   }
   21854 }
   21855 { print }
   21856 _ACAWK
   21857 _ACEOF
   21858 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21859   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   21860 fi # test -n "$CONFIG_HEADERS"
   21861 
   21862 
   21863 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   21864 shift
   21865 for ac_tag
   21866 do
   21867   case $ac_tag in
   21868   :[FHLC]) ac_mode=$ac_tag; continue;;
   21869   esac
   21870   case $ac_mode$ac_tag in
   21871   :[FHL]*:*);;
   21872   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   21873   :[FH]-) ac_tag=-:-;;
   21874   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   21875   esac
   21876   ac_save_IFS=$IFS
   21877   IFS=:
   21878   set x $ac_tag
   21879   IFS=$ac_save_IFS
   21880   shift
   21881   ac_file=$1
   21882   shift
   21883 
   21884   case $ac_mode in
   21885   :L) ac_source=$1;;
   21886   :[FH])
   21887     ac_file_inputs=
   21888     for ac_f
   21889     do
   21890       case $ac_f in
   21891       -) ac_f="$ac_tmp/stdin";;
   21892       *) # Look for the file first in the build tree, then in the source tree
   21893 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   21894 	 # because $ac_f cannot contain ':'.
   21895 	 test -f "$ac_f" ||
   21896 	   case $ac_f in
   21897 	   [\\/$]*) false;;
   21898 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   21899 	   esac ||
   21900 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   21901       esac
   21902       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   21903       as_fn_append ac_file_inputs " '$ac_f'"
   21904     done
   21905 
   21906     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   21907     # use $as_me), people would be surprised to read:
   21908     #    /* config.h.  Generated by config.status.  */
   21909     configure_input='Generated from '`
   21910 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   21911 	`' by configure.'
   21912     if test x"$ac_file" != x-; then
   21913       configure_input="$ac_file.  $configure_input"
   21914       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   21915 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   21916     fi
   21917     # Neutralize special characters interpreted by sed in replacement strings.
   21918     case $configure_input in #(
   21919     *\&* | *\|* | *\\* )
   21920        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   21921        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   21922     *) ac_sed_conf_input=$configure_input;;
   21923     esac
   21924 
   21925     case $ac_tag in
   21926     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   21927       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   21928     esac
   21929     ;;
   21930   esac
   21931 
   21932   ac_dir=`$as_dirname -- "$ac_file" ||
   21933 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21934 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   21935 	 X"$ac_file" : 'X\(//\)$' \| \
   21936 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   21937 printf "%s\n" X"$ac_file" |
   21938     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21939 	    s//\1/
   21940 	    q
   21941 	  }
   21942 	  /^X\(\/\/\)[^/].*/{
   21943 	    s//\1/
   21944 	    q
   21945 	  }
   21946 	  /^X\(\/\/\)$/{
   21947 	    s//\1/
   21948 	    q
   21949 	  }
   21950 	  /^X\(\/\).*/{
   21951 	    s//\1/
   21952 	    q
   21953 	  }
   21954 	  s/.*/./; q'`
   21955   as_dir="$ac_dir"; as_fn_mkdir_p
   21956   ac_builddir=.
   21957 
   21958 case "$ac_dir" in
   21959 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21960 *)
   21961   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   21962   # A ".." for each directory in $ac_dir_suffix.
   21963   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   21964   case $ac_top_builddir_sub in
   21965   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21966   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   21967   esac ;;
   21968 esac
   21969 ac_abs_top_builddir=$ac_pwd
   21970 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   21971 # for backward compatibility:
   21972 ac_top_builddir=$ac_top_build_prefix
   21973 
   21974 case $srcdir in
   21975   .)  # We are building in place.
   21976     ac_srcdir=.
   21977     ac_top_srcdir=$ac_top_builddir_sub
   21978     ac_abs_top_srcdir=$ac_pwd ;;
   21979   [\\/]* | ?:[\\/]* )  # Absolute name.
   21980     ac_srcdir=$srcdir$ac_dir_suffix;
   21981     ac_top_srcdir=$srcdir
   21982     ac_abs_top_srcdir=$srcdir ;;
   21983   *) # Relative name.
   21984     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   21985     ac_top_srcdir=$ac_top_build_prefix$srcdir
   21986     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   21987 esac
   21988 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   21989 
   21990 
   21991   case $ac_mode in
   21992   :F)
   21993   #
   21994   # CONFIG_FILE
   21995   #
   21996 
   21997   case $INSTALL in
   21998   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   21999   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   22000   esac
   22001   ac_MKDIR_P=$MKDIR_P
   22002   case $MKDIR_P in
   22003   [\\/$]* | ?:[\\/]* ) ;;
   22004   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   22005   esac
   22006 _ACEOF
   22007 
   22008 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22009 # If the template does not know about datarootdir, expand it.
   22010 # FIXME: This hack should be removed a few years after 2.60.
   22011 ac_datarootdir_hack=; ac_datarootdir_seen=
   22012 ac_sed_dataroot='
   22013 /datarootdir/ {
   22014   p
   22015   q
   22016 }
   22017 /@datadir@/p
   22018 /@docdir@/p
   22019 /@infodir@/p
   22020 /@localedir@/p
   22021 /@mandir@/p'
   22022 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   22023 *datarootdir*) ac_datarootdir_seen=yes;;
   22024 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   22025   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   22026 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   22027 _ACEOF
   22028 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22029   ac_datarootdir_hack='
   22030   s&@datadir@&$datadir&g
   22031   s&@docdir@&$docdir&g
   22032   s&@infodir@&$infodir&g
   22033   s&@localedir@&$localedir&g
   22034   s&@mandir@&$mandir&g
   22035   s&\\\${datarootdir}&$datarootdir&g' ;;
   22036 esac
   22037 _ACEOF
   22038 
   22039 # Neutralize VPATH when '$srcdir' = '.'.
   22040 # Shell code in configure.ac might set extrasub.
   22041 # FIXME: do we really want to maintain this feature?
   22042 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22043 ac_sed_extra="$ac_vpsub
   22044 $extrasub
   22045 _ACEOF
   22046 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22047 :t
   22048 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   22049 s|@configure_input@|$ac_sed_conf_input|;t t
   22050 s&@top_builddir@&$ac_top_builddir_sub&;t t
   22051 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   22052 s&@srcdir@&$ac_srcdir&;t t
   22053 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   22054 s&@top_srcdir@&$ac_top_srcdir&;t t
   22055 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   22056 s&@builddir@&$ac_builddir&;t t
   22057 s&@abs_builddir@&$ac_abs_builddir&;t t
   22058 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   22059 s&@INSTALL@&$ac_INSTALL&;t t
   22060 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   22061 $ac_datarootdir_hack
   22062 "
   22063 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   22064   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22065 
   22066 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   22067   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   22068   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   22069       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   22070   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   22071 which seems to be undefined.  Please make sure it is defined" >&5
   22072 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   22073 which seems to be undefined.  Please make sure it is defined" >&2;}
   22074 
   22075   rm -f "$ac_tmp/stdin"
   22076   case $ac_file in
   22077   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   22078   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   22079   esac \
   22080   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22081  ;;
   22082   :H)
   22083   #
   22084   # CONFIG_HEADER
   22085   #
   22086   if test x"$ac_file" != x-; then
   22087     {
   22088       printf "%s\n" "/* $configure_input  */" >&1 \
   22089       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   22090     } >"$ac_tmp/config.h" \
   22091       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22092     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   22093       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   22094 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   22095     else
   22096       rm -f "$ac_file"
   22097       mv "$ac_tmp/config.h" "$ac_file" \
   22098 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   22099     fi
   22100   else
   22101     printf "%s\n" "/* $configure_input  */" >&1 \
   22102       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   22103       || as_fn_error $? "could not create -" "$LINENO" 5
   22104   fi
   22105 # Compute "$ac_file"'s index in $config_headers.
   22106 _am_arg="$ac_file"
   22107 _am_stamp_count=1
   22108 for _am_header in $config_headers :; do
   22109   case $_am_header in
   22110     $_am_arg | $_am_arg:* )
   22111       break ;;
   22112     * )
   22113       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   22114   esac
   22115 done
   22116 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   22117 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22118 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   22119 	 X"$_am_arg" : 'X\(//\)$' \| \
   22120 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   22121 printf "%s\n" X"$_am_arg" |
   22122     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22123 	    s//\1/
   22124 	    q
   22125 	  }
   22126 	  /^X\(\/\/\)[^/].*/{
   22127 	    s//\1/
   22128 	    q
   22129 	  }
   22130 	  /^X\(\/\/\)$/{
   22131 	    s//\1/
   22132 	    q
   22133 	  }
   22134 	  /^X\(\/\).*/{
   22135 	    s//\1/
   22136 	    q
   22137 	  }
   22138 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   22139  ;;
   22140 
   22141   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   22142 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   22143  ;;
   22144   esac
   22145 
   22146 
   22147   case $ac_file$ac_mode in
   22148     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   22149   # Older Autoconf quotes --file arguments for eval, but not when files
   22150   # are listed without --file.  Let's play safe and only enable the eval
   22151   # if we detect the quoting.
   22152   # TODO: see whether this extra hack can be removed once we start
   22153   # requiring Autoconf 2.70 or later.
   22154   case $CONFIG_FILES in #(
   22155   *\'*) :
   22156     eval set x "$CONFIG_FILES" ;; #(
   22157   *) :
   22158     set x $CONFIG_FILES ;; #(
   22159   *) :
   22160      ;;
   22161 esac
   22162   shift
   22163   # Used to flag and report bootstrapping failures.
   22164   am_rc=0
   22165   for am_mf
   22166   do
   22167     # Strip MF so we end up with the name of the file.
   22168     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   22169     # Check whether this is an Automake generated Makefile which includes
   22170     # dependency-tracking related rules and includes.
   22171     # Grep'ing the whole file directly is not great: AIX grep has a line
   22172     # limit of 2048, but all sed's we know have understand at least 4000.
   22173     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   22174       || continue
   22175     am_dirpart=`$as_dirname -- "$am_mf" ||
   22176 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22177 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   22178 	 X"$am_mf" : 'X\(//\)$' \| \
   22179 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   22180 printf "%s\n" X"$am_mf" |
   22181     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22182 	    s//\1/
   22183 	    q
   22184 	  }
   22185 	  /^X\(\/\/\)[^/].*/{
   22186 	    s//\1/
   22187 	    q
   22188 	  }
   22189 	  /^X\(\/\/\)$/{
   22190 	    s//\1/
   22191 	    q
   22192 	  }
   22193 	  /^X\(\/\).*/{
   22194 	    s//\1/
   22195 	    q
   22196 	  }
   22197 	  s/.*/./; q'`
   22198     am_filepart=`$as_basename -- "$am_mf" ||
   22199 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   22200 	 X"$am_mf" : 'X\(//\)$' \| \
   22201 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   22202 printf "%s\n" X/"$am_mf" |
   22203     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22204 	    s//\1/
   22205 	    q
   22206 	  }
   22207 	  /^X\/\(\/\/\)$/{
   22208 	    s//\1/
   22209 	    q
   22210 	  }
   22211 	  /^X\/\(\/\).*/{
   22212 	    s//\1/
   22213 	    q
   22214 	  }
   22215 	  s/.*/./; q'`
   22216     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   22217       && sed -e '/# am--include-marker/d' "$am_filepart" \
   22218         | $MAKE -f - am--depfiles" >&5
   22219    (cd "$am_dirpart" \
   22220       && sed -e '/# am--include-marker/d' "$am_filepart" \
   22221         | $MAKE -f - am--depfiles) >&5 2>&5
   22222    ac_status=$?
   22223    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22224    (exit $ac_status); } || am_rc=$?
   22225   done
   22226   if test $am_rc -ne 0; then
   22227     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   22228 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   22229 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   22230     for automatic dependency tracking.  If GNU make was not used, consider
   22231     re-running the configure script with MAKE=\"gmake\" (or whatever is
   22232     necessary).  You can also try re-running configure with the
   22233     '--disable-dependency-tracking' option to at least be able to build
   22234     the package (albeit without support for automatic dependency tracking).
   22235 See 'config.log' for more details" "$LINENO" 5; }
   22236   fi
   22237   { am_dirpart=; unset am_dirpart;}
   22238   { am_filepart=; unset am_filepart;}
   22239   { am_mf=; unset am_mf;}
   22240   { am_rc=; unset am_rc;}
   22241   rm -f conftest-deps.mk
   22242 }
   22243  ;;
   22244     "libtool":C)
   22245 
   22246     # See if we are running on zsh, and set the options that allow our
   22247     # commands through without removal of \ escapes.
   22248     if test -n "${ZSH_VERSION+set}"; then
   22249       setopt NO_GLOB_SUBST
   22250     fi
   22251 
   22252     cfgfile=${ofile}T
   22253     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   22254     $RM "$cfgfile"
   22255 
   22256     cat <<_LT_EOF >> "$cfgfile"
   22257 #! $SHELL
   22258 # Generated automatically by $as_me ($PACKAGE) $VERSION
   22259 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   22260 
   22261 # Provide generalized library-building support services.
   22262 # Written by Gordon Matzigkeit, 1996
   22263 
   22264 # Copyright (C) 2024 Free Software Foundation, Inc.
   22265 # This is free software; see the source for copying conditions.  There is NO
   22266 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   22267 
   22268 # GNU Libtool is free software; you can redistribute it and/or modify
   22269 # it under the terms of the GNU General Public License as published by
   22270 # the Free Software Foundation; either version 2 of the License, or
   22271 # (at your option) any later version.
   22272 #
   22273 # As a special exception to the GNU General Public License, if you
   22274 # distribute this file as part of a program or library that is built
   22275 # using GNU Libtool, you may include this file under the  same
   22276 # distribution terms that you use for the rest of that program.
   22277 #
   22278 # GNU Libtool is distributed in the hope that it will be useful, but
   22279 # WITHOUT ANY WARRANTY; without even the implied warranty of
   22280 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   22281 # GNU General Public License for more details.
   22282 #
   22283 # You should have received a copy of the GNU General Public License
   22284 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   22285 
   22286 
   22287 # The names of the tagged configurations supported by this script.
   22288 available_tags=''
   22289 
   22290 # Configured defaults for sys_lib_dlsearch_path munging.
   22291 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   22292 
   22293 # ### BEGIN LIBTOOL CONFIG
   22294 
   22295 # Which release of libtool.m4 was used?
   22296 macro_version=$macro_version
   22297 macro_revision=$macro_revision
   22298 
   22299 # Whether or not to build shared libraries.
   22300 build_libtool_libs=$enable_shared
   22301 
   22302 # Whether or not to build static libraries.
   22303 build_old_libs=$enable_static
   22304 
   22305 # What type of objects to build.
   22306 pic_mode=$pic_mode
   22307 
   22308 # Whether or not to optimize for fast installation.
   22309 fast_install=$enable_fast_install
   22310 
   22311 # Shared archive member basename,for filename based shared library versioning on AIX.
   22312 shared_archive_member_spec=$shared_archive_member_spec
   22313 
   22314 # Shell to use when invoking shell scripts.
   22315 SHELL=$lt_SHELL
   22316 
   22317 # An echo program that protects backslashes.
   22318 ECHO=$lt_ECHO
   22319 
   22320 # The PATH separator for the build system.
   22321 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   22322 
   22323 # The host system.
   22324 host_alias=$host_alias
   22325 host=$host
   22326 host_os=$host_os
   22327 
   22328 # The build system.
   22329 build_alias=$build_alias
   22330 build=$build
   22331 build_os=$build_os
   22332 
   22333 # A sed program that does not truncate output.
   22334 SED=$lt_SED
   22335 
   22336 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   22337 Xsed="\$SED -e 1s/^X//"
   22338 
   22339 # A grep program that handles long lines.
   22340 GREP=$lt_GREP
   22341 
   22342 # An ERE matcher.
   22343 EGREP=$lt_EGREP
   22344 
   22345 # A literal string matcher.
   22346 FGREP=$lt_FGREP
   22347 
   22348 # A BSD- or MS-compatible name lister.
   22349 NM=$lt_NM
   22350 
   22351 # Whether we need soft or hard links.
   22352 LN_S=$lt_LN_S
   22353 
   22354 # What is the maximum length of a command?
   22355 max_cmd_len=$max_cmd_len
   22356 
   22357 # Object file suffix (normally "o").
   22358 objext=$ac_objext
   22359 
   22360 # Executable file suffix (normally "").
   22361 exeext=$exeext
   22362 
   22363 # whether the shell understands "unset".
   22364 lt_unset=$lt_unset
   22365 
   22366 # turn spaces into newlines.
   22367 SP2NL=$lt_lt_SP2NL
   22368 
   22369 # turn newlines into spaces.
   22370 NL2SP=$lt_lt_NL2SP
   22371 
   22372 # convert \$build file names to \$host format.
   22373 to_host_file_cmd=$lt_cv_to_host_file_cmd
   22374 
   22375 # convert \$build files to toolchain format.
   22376 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   22377 
   22378 # A file(cmd) program that detects file types.
   22379 FILECMD=$lt_FILECMD
   22380 
   22381 # An object symbol dumper.
   22382 OBJDUMP=$lt_OBJDUMP
   22383 
   22384 # Method to check whether dependent libraries are shared objects.
   22385 deplibs_check_method=$lt_deplibs_check_method
   22386 
   22387 # Command to use when deplibs_check_method = "file_magic".
   22388 file_magic_cmd=$lt_file_magic_cmd
   22389 
   22390 # How to find potential files when deplibs_check_method = "file_magic".
   22391 file_magic_glob=$lt_file_magic_glob
   22392 
   22393 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   22394 want_nocaseglob=$lt_want_nocaseglob
   22395 
   22396 # DLL creation program.
   22397 DLLTOOL=$lt_DLLTOOL
   22398 
   22399 # Command to associate shared and link libraries.
   22400 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   22401 
   22402 # The archiver.
   22403 AR=$lt_AR
   22404 
   22405 # Flags to create an archive (by configure).
   22406 lt_ar_flags=$lt_ar_flags
   22407 
   22408 # Flags to create an archive.
   22409 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   22410 
   22411 # How to feed a file listing to the archiver.
   22412 archiver_list_spec=$lt_archiver_list_spec
   22413 
   22414 # A symbol stripping program.
   22415 STRIP=$lt_STRIP
   22416 
   22417 # Commands used to install an old-style archive.
   22418 RANLIB=$lt_RANLIB
   22419 old_postinstall_cmds=$lt_old_postinstall_cmds
   22420 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   22421 
   22422 # Whether to use a lock for old archive extraction.
   22423 lock_old_archive_extraction=$lock_old_archive_extraction
   22424 
   22425 # A C compiler.
   22426 LTCC=$lt_CC
   22427 
   22428 # LTCC compiler flags.
   22429 LTCFLAGS=$lt_CFLAGS
   22430 
   22431 # Take the output of nm and produce a listing of raw symbols and C names.
   22432 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   22433 
   22434 # Transform the output of nm in a proper C declaration.
   22435 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   22436 
   22437 # Transform the output of nm into a list of symbols to manually relocate.
   22438 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   22439 
   22440 # Transform the output of nm in a C name address pair.
   22441 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   22442 
   22443 # Transform the output of nm in a C name address pair when lib prefix is needed.
   22444 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   22445 
   22446 # The name lister interface.
   22447 nm_interface=$lt_lt_cv_nm_interface
   22448 
   22449 # Specify filename containing input files for \$NM.
   22450 nm_file_list_spec=$lt_nm_file_list_spec
   22451 
   22452 # The root where to search for dependent libraries,and where our libraries should be installed.
   22453 lt_sysroot=$lt_sysroot
   22454 
   22455 # Command to truncate a binary pipe.
   22456 lt_truncate_bin=$lt_lt_cv_truncate_bin
   22457 
   22458 # The name of the directory that contains temporary libtool files.
   22459 objdir=$objdir
   22460 
   22461 # Used to examine libraries when file_magic_cmd begins with "file".
   22462 MAGIC_CMD=$MAGIC_CMD
   22463 
   22464 # Must we lock files when doing compilation?
   22465 need_locks=$lt_need_locks
   22466 
   22467 # Manifest tool.
   22468 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   22469 
   22470 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   22471 DSYMUTIL=$lt_DSYMUTIL
   22472 
   22473 # Tool to change global to local symbols on Mac OS X.
   22474 NMEDIT=$lt_NMEDIT
   22475 
   22476 # Tool to manipulate fat objects and archives on Mac OS X.
   22477 LIPO=$lt_LIPO
   22478 
   22479 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   22480 OTOOL=$lt_OTOOL
   22481 
   22482 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   22483 OTOOL64=$lt_OTOOL64
   22484 
   22485 # Old archive suffix (normally "a").
   22486 libext=$libext
   22487 
   22488 # Shared library suffix (normally ".so").
   22489 shrext_cmds=$lt_shrext_cmds
   22490 
   22491 # The commands to extract the exported symbol list from a shared archive.
   22492 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   22493 
   22494 # Variables whose values should be saved in libtool wrapper scripts and
   22495 # restored at link time.
   22496 variables_saved_for_relink=$lt_variables_saved_for_relink
   22497 
   22498 # Do we need the "lib" prefix for modules?
   22499 need_lib_prefix=$need_lib_prefix
   22500 
   22501 # Do we need a version for libraries?
   22502 need_version=$need_version
   22503 
   22504 # Library versioning type.
   22505 version_type=$version_type
   22506 
   22507 # Shared library runtime path variable.
   22508 runpath_var=$runpath_var
   22509 
   22510 # Shared library path variable.
   22511 shlibpath_var=$shlibpath_var
   22512 
   22513 # Is shlibpath searched before the hard-coded library search path?
   22514 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   22515 
   22516 # Format of library name prefix.
   22517 libname_spec=$lt_libname_spec
   22518 
   22519 # List of archive names.  First name is the real one, the rest are links.
   22520 # The last name is the one that the linker finds with -lNAME
   22521 library_names_spec=$lt_library_names_spec
   22522 
   22523 # The coded name of the library, if different from the real name.
   22524 soname_spec=$lt_soname_spec
   22525 
   22526 # Permission mode override for installation of shared libraries.
   22527 install_override_mode=$lt_install_override_mode
   22528 
   22529 # Command to use after installation of a shared archive.
   22530 postinstall_cmds=$lt_postinstall_cmds
   22531 
   22532 # Command to use after uninstallation of a shared archive.
   22533 postuninstall_cmds=$lt_postuninstall_cmds
   22534 
   22535 # Commands used to finish a libtool library installation in a directory.
   22536 finish_cmds=$lt_finish_cmds
   22537 
   22538 # As "finish_cmds", except a single script fragment to be evaled but
   22539 # not shown.
   22540 finish_eval=$lt_finish_eval
   22541 
   22542 # Whether we should hardcode library paths into libraries.
   22543 hardcode_into_libs=$hardcode_into_libs
   22544 
   22545 # Compile-time system search path for libraries.
   22546 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   22547 
   22548 # Detected run-time system search path for libraries.
   22549 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   22550 
   22551 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   22552 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   22553 
   22554 # Whether dlopen is supported.
   22555 dlopen_support=$enable_dlopen
   22556 
   22557 # Whether dlopen of programs is supported.
   22558 dlopen_self=$enable_dlopen_self
   22559 
   22560 # Whether dlopen of statically linked programs is supported.
   22561 dlopen_self_static=$enable_dlopen_self_static
   22562 
   22563 # Commands to strip libraries.
   22564 old_striplib=$lt_old_striplib
   22565 striplib=$lt_striplib
   22566 
   22567 
   22568 # The linker used to build libraries.
   22569 LD=$lt_LD
   22570 
   22571 # How to create reloadable object files.
   22572 reload_flag=$lt_reload_flag
   22573 reload_cmds=$lt_reload_cmds
   22574 
   22575 # Commands used to build an old-style archive.
   22576 old_archive_cmds=$lt_old_archive_cmds
   22577 
   22578 # A language specific compiler.
   22579 CC=$lt_compiler
   22580 
   22581 # Is the compiler the GNU compiler?
   22582 with_gcc=$GCC
   22583 
   22584 # Compiler flag to turn off builtin functions.
   22585 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   22586 
   22587 # Additional compiler flags for building library objects.
   22588 pic_flag=$lt_lt_prog_compiler_pic
   22589 
   22590 # How to pass a linker flag through the compiler.
   22591 wl=$lt_lt_prog_compiler_wl
   22592 
   22593 # Compiler flag to prevent dynamic linking.
   22594 link_static_flag=$lt_lt_prog_compiler_static
   22595 
   22596 # Does compiler simultaneously support -c and -o options?
   22597 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   22598 
   22599 # Whether or not to add -lc for building shared libraries.
   22600 build_libtool_need_lc=$archive_cmds_need_lc
   22601 
   22602 # Whether or not to disallow shared libs when runtime libs are static.
   22603 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   22604 
   22605 # Compiler flag to allow reflexive dlopens.
   22606 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   22607 
   22608 # Compiler flag to generate shared objects directly from archives.
   22609 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   22610 
   22611 # Whether the compiler copes with passing no objects directly.
   22612 compiler_needs_object=$lt_compiler_needs_object
   22613 
   22614 # Create an old-style archive from a shared archive.
   22615 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   22616 
   22617 # Create a temporary old-style archive to link instead of a shared archive.
   22618 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   22619 
   22620 # Commands used to build a shared archive.
   22621 archive_cmds=$lt_archive_cmds
   22622 archive_expsym_cmds=$lt_archive_expsym_cmds
   22623 
   22624 # Commands used to build a loadable module if different from building
   22625 # a shared archive.
   22626 module_cmds=$lt_module_cmds
   22627 module_expsym_cmds=$lt_module_expsym_cmds
   22628 
   22629 # Whether we are building with GNU ld or not.
   22630 with_gnu_ld=$lt_with_gnu_ld
   22631 
   22632 # Flag that allows shared libraries with undefined symbols to be built.
   22633 allow_undefined_flag=$lt_allow_undefined_flag
   22634 
   22635 # Flag that enforces no undefined symbols.
   22636 no_undefined_flag=$lt_no_undefined_flag
   22637 
   22638 # Flag to hardcode \$libdir into a binary during linking.
   22639 # This must work even if \$libdir does not exist
   22640 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   22641 
   22642 # Whether we need a single "-rpath" flag with a separated argument.
   22643 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   22644 
   22645 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22646 # DIR into the resulting binary.
   22647 hardcode_direct=$hardcode_direct
   22648 
   22649 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   22650 # DIR into the resulting binary and the resulting library dependency is
   22651 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
   22652 # library is relocated.
   22653 hardcode_direct_absolute=$hardcode_direct_absolute
   22654 
   22655 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   22656 # into the resulting binary.
   22657 hardcode_minus_L=$hardcode_minus_L
   22658 
   22659 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   22660 # into the resulting binary.
   22661 hardcode_shlibpath_var=$hardcode_shlibpath_var
   22662 
   22663 # Set to "yes" if building a shared library automatically hardcodes DIR
   22664 # into the library and all subsequent libraries and executables linked
   22665 # against it.
   22666 hardcode_automatic=$hardcode_automatic
   22667 
   22668 # Set to yes if linker adds runtime paths of dependent libraries
   22669 # to runtime path list.
   22670 inherit_rpath=$inherit_rpath
   22671 
   22672 # Whether libtool must link a program against all its dependency libraries.
   22673 link_all_deplibs=$link_all_deplibs
   22674 
   22675 # Set to "yes" if exported symbols are required.
   22676 always_export_symbols=$always_export_symbols
   22677 
   22678 # The commands to list exported symbols.
   22679 export_symbols_cmds=$lt_export_symbols_cmds
   22680 
   22681 # Symbols that should not be listed in the preloaded symbols.
   22682 exclude_expsyms=$lt_exclude_expsyms
   22683 
   22684 # Symbols that must always be exported.
   22685 include_expsyms=$lt_include_expsyms
   22686 
   22687 # Commands necessary for linking programs (against libraries) with templates.
   22688 prelink_cmds=$lt_prelink_cmds
   22689 
   22690 # Commands necessary for finishing linking programs.
   22691 postlink_cmds=$lt_postlink_cmds
   22692 
   22693 # Specify filename containing input files.
   22694 file_list_spec=$lt_file_list_spec
   22695 
   22696 # How to hardcode a shared library path into an executable.
   22697 hardcode_action=$hardcode_action
   22698 
   22699 # ### END LIBTOOL CONFIG
   22700 
   22701 _LT_EOF
   22702 
   22703     cat <<'_LT_EOF' >> "$cfgfile"
   22704 
   22705 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   22706 
   22707 # func_munge_path_list VARIABLE PATH
   22708 # -----------------------------------
   22709 # VARIABLE is name of variable containing _space_ separated list of
   22710 # directories to be munged by the contents of PATH, which is string
   22711 # having a format:
   22712 # "DIR[:DIR]:"
   22713 #       string "DIR[ DIR]" will be prepended to VARIABLE
   22714 # ":DIR[:DIR]"
   22715 #       string "DIR[ DIR]" will be appended to VARIABLE
   22716 # "DIRP[:DIRP]::[DIRA:]DIRA"
   22717 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   22718 #       "DIRA[ DIRA]" will be appended to VARIABLE
   22719 # "DIR[:DIR]"
   22720 #       VARIABLE will be replaced by "DIR[ DIR]"
   22721 func_munge_path_list ()
   22722 {
   22723     case x$2 in
   22724     x)
   22725         ;;
   22726     *:)
   22727         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   22728         ;;
   22729     x:*)
   22730         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   22731         ;;
   22732     *::*)
   22733         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   22734         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   22735         ;;
   22736     *)
   22737         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   22738         ;;
   22739     esac
   22740 }
   22741 
   22742 
   22743 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   22744 func_cc_basename ()
   22745 {
   22746     for cc_temp in $*""; do
   22747       case $cc_temp in
   22748         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   22749         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   22750         \-*) ;;
   22751         *) break;;
   22752       esac
   22753     done
   22754     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   22755 }
   22756 
   22757 
   22758 # ### END FUNCTIONS SHARED WITH CONFIGURE
   22759 
   22760 _LT_EOF
   22761 
   22762   case $host_os in
   22763   aix3*)
   22764     cat <<\_LT_EOF >> "$cfgfile"
   22765 # AIX sometimes has problems with the GCC collect2 program.  For some
   22766 # reason, if we set the COLLECT_NAMES environment variable, the problems
   22767 # vanish in a puff of smoke.
   22768 if test set != "${COLLECT_NAMES+set}"; then
   22769   COLLECT_NAMES=
   22770   export COLLECT_NAMES
   22771 fi
   22772 _LT_EOF
   22773     ;;
   22774   esac
   22775 
   22776 
   22777 
   22778 ltmain=$ac_aux_dir/ltmain.sh
   22779 
   22780 
   22781   # We use sed instead of cat because bash on DJGPP gets confused if
   22782   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   22783   # text mode, it properly converts lines to CR/LF.  This bash problem
   22784   # is reportedly fixed, but why not run on old versions too?
   22785   $SED '$q' "$ltmain" >> "$cfgfile" \
   22786      || (rm -f "$cfgfile"; exit 1)
   22787 
   22788    mv -f "$cfgfile" "$ofile" ||
   22789     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   22790   chmod +x "$ofile"
   22791 
   22792  ;;
   22793 
   22794   esac
   22795 done # for ac_tag
   22796 
   22797 
   22798 as_fn_exit 0
   22799 _ACEOF
   22800 ac_clean_files=$ac_clean_files_save
   22801 
   22802 test $ac_write_fail = 0 ||
   22803   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   22804 
   22805 
   22806 # configure is writing to config.log, and then calls config.status.
   22807 # config.status does its own redirection, appending to config.log.
   22808 # Unfortunately, on DOS this fails, as config.log is still kept open
   22809 # by configure, so config.status won't be able to write to it; its
   22810 # output is simply discarded.  So we exec the FD to /dev/null,
   22811 # effectively closing config.log, so it can be properly (re)opened and
   22812 # appended to by config.status.  When coming back to configure, we
   22813 # need to make the FD available again.
   22814 if test "$no_create" != yes; then
   22815   ac_cs_success=:
   22816   ac_config_status_args=
   22817   test "$silent" = yes &&
   22818     ac_config_status_args="$ac_config_status_args --quiet"
   22819   exec 5>/dev/null
   22820   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   22821   exec 5>>config.log
   22822   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   22823   # would make configure fail if this is the last instruction.
   22824   $ac_cs_success || as_fn_exit 1
   22825 fi
   22826 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   22827   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   22828 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   22829 fi
   22830 
   22831 
   22832