Home | History | Annotate | Line # | Download | only in dist
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.72 for libICE 1.1.2.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libice/-/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/libice/-/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 as_awk_strverscmp='
    595   # Use only awk features that work with 7th edition Unix awk (1978).
    596   # My, what an old awk you have, Mr. Solaris!
    597   END {
    598     while (length(v1) && length(v2)) {
    599       # Set d1 to be the next thing to compare from v1, and likewise for d2.
    600       # Normally this is a single character, but if v1 and v2 contain digits,
    601       # compare them as integers and fractions as strverscmp does.
    602       if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
    603 	# Split v1 and v2 into their leading digit string components d1 and d2,
    604 	# and advance v1 and v2 past the leading digit strings.
    605 	for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
    606 	for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
    607 	d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
    608 	d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
    609 	if (d1 ~ /^0/) {
    610 	  if (d2 ~ /^0/) {
    611 	    # Compare two fractions.
    612 	    while (d1 ~ /^0/ && d2 ~ /^0/) {
    613 	      d1 = substr(d1, 2); len1--
    614 	      d2 = substr(d2, 2); len2--
    615 	    }
    616 	    if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
    617 	      # The two components differ in length, and the common prefix
    618 	      # contains only leading zeros.  Consider the longer to be less.
    619 	      d1 = -len1
    620 	      d2 = -len2
    621 	    } else {
    622 	      # Otherwise, compare as strings.
    623 	      d1 = "x" d1
    624 	      d2 = "x" d2
    625 	    }
    626 	  } else {
    627 	    # A fraction is less than an integer.
    628 	    exit 1
    629 	  }
    630 	} else {
    631 	  if (d2 ~ /^0/) {
    632 	    # An integer is greater than a fraction.
    633 	    exit 2
    634 	  } else {
    635 	    # Compare two integers.
    636 	    d1 += 0
    637 	    d2 += 0
    638 	  }
    639 	}
    640       } else {
    641 	# The normal case, without worrying about digits.
    642 	d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
    643 	d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
    644       }
    645       if (d1 < d2) exit 1
    646       if (d1 > d2) exit 2
    647     }
    648     # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
    649     # which mishandles some comparisons of empty strings to integers.
    650     if (length(v2)) exit 1
    651     if (length(v1)) exit 2
    652   }
    653 '
    654 
    655 test -n "$DJDIR" || exec 7<&0 </dev/null
    656 exec 6>&1
    657 
    658 # Name of the host.
    659 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    660 # so uname gets run too.
    661 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    662 
    663 #
    664 # Initializations.
    665 #
    666 ac_default_prefix=/usr/local
    667 ac_clean_files=
    668 ac_config_libobj_dir=.
    669 LIBOBJS=
    670 cross_compiling=no
    671 subdirs=
    672 MFLAGS=
    673 MAKEFLAGS=
    674 
    675 # Identity of this package.
    676 PACKAGE_NAME='libICE'
    677 PACKAGE_TARNAME='libICE'
    678 PACKAGE_VERSION='1.1.2'
    679 PACKAGE_STRING='libICE 1.1.2'
    680 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libice/-/issues'
    681 PACKAGE_URL=''
    682 
    683 ac_unique_file="Makefile.am"
    684 # Factoring default headers for most tests.
    685 ac_includes_default="\
    686 #include <stddef.h>
    687 #ifdef HAVE_STDIO_H
    688 # include <stdio.h>
    689 #endif
    690 #ifdef HAVE_STDLIB_H
    691 # include <stdlib.h>
    692 #endif
    693 #ifdef HAVE_STRING_H
    694 # include <string.h>
    695 #endif
    696 #ifdef HAVE_INTTYPES_H
    697 # include <inttypes.h>
    698 #endif
    699 #ifdef HAVE_STDINT_H
    700 # include <stdint.h>
    701 #endif
    702 #ifdef HAVE_STRINGS_H
    703 # include <strings.h>
    704 #endif
    705 #ifdef HAVE_SYS_TYPES_H
    706 # include <sys/types.h>
    707 #endif
    708 #ifdef HAVE_SYS_STAT_H
    709 # include <sys/stat.h>
    710 #endif
    711 #ifdef HAVE_UNISTD_H
    712 # include <unistd.h>
    713 #endif"
    714 
    715 ac_header_c_list=
    716 enable_year2038=no
    717 ac_subst_vars='am__EXEEXT_FALSE
    718 am__EXEEXT_TRUE
    719 LTLIBOBJS
    720 LIBOBJS
    721 MAKE_LINT_LIB_FALSE
    722 MAKE_LINT_LIB_TRUE
    723 LINTLIB
    724 LINT_FALSE
    725 LINT_TRUE
    726 LINT_FLAGS
    727 LINT
    728 LIBBSD_LIBS
    729 LIBBSD_CFLAGS
    730 ICE_LIBS
    731 ICE_CFLAGS
    732 HAVE_STYLESHEETS_FALSE
    733 HAVE_STYLESHEETS_TRUE
    734 XSL_STYLESHEET
    735 STYLESHEET_SRCDIR
    736 XORG_SGML_PATH
    737 HAVE_XSLTPROC_FALSE
    738 HAVE_XSLTPROC_TRUE
    739 XSLTPROC
    740 HAVE_FOP_FALSE
    741 HAVE_FOP_TRUE
    742 FOP
    743 HAVE_XMLTO_FALSE
    744 HAVE_XMLTO_TRUE
    745 HAVE_XMLTO_TEXT_FALSE
    746 HAVE_XMLTO_TEXT_TRUE
    747 XMLTO
    748 ENABLE_SPECS_FALSE
    749 ENABLE_SPECS_TRUE
    750 ENABLE_DOCS_FALSE
    751 ENABLE_DOCS_TRUE
    752 MAN_SUBSTS
    753 XORG_MAN_PAGE
    754 ADMIN_MAN_DIR
    755 DRIVER_MAN_DIR
    756 MISC_MAN_DIR
    757 FILE_MAN_DIR
    758 LIB_MAN_DIR
    759 APP_MAN_DIR
    760 ADMIN_MAN_SUFFIX
    761 DRIVER_MAN_SUFFIX
    762 MISC_MAN_SUFFIX
    763 FILE_MAN_SUFFIX
    764 LIB_MAN_SUFFIX
    765 APP_MAN_SUFFIX
    766 INSTALL_CMD
    767 PKG_CONFIG_LIBDIR
    768 PKG_CONFIG_PATH
    769 PKG_CONFIG
    770 CHANGELOG_CMD
    771 STRICT_CFLAGS
    772 CWARNFLAGS
    773 BASE_CFLAGS
    774 LT_SYS_LIBRARY_PATH
    775 OTOOL64
    776 OTOOL
    777 LIPO
    778 NMEDIT
    779 DSYMUTIL
    780 MANIFEST_TOOL
    781 RANLIB
    782 ac_ct_AR
    783 AR
    784 DLLTOOL
    785 OBJDUMP
    786 FILECMD
    787 LN_S
    788 NM
    789 ac_ct_DUMPBIN
    790 DUMPBIN
    791 LD
    792 FGREP
    793 EGREP
    794 GREP
    795 SED
    796 host_os
    797 host_vendor
    798 host_cpu
    799 host
    800 build_os
    801 build_vendor
    802 build_cpu
    803 build
    804 LIBTOOL
    805 am__xargs_n
    806 am__rm_f_notfound
    807 AM_BACKSLASH
    808 AM_DEFAULT_VERBOSITY
    809 AM_DEFAULT_V
    810 AM_V
    811 CSCOPE
    812 ETAGS
    813 CTAGS
    814 am__fastdepCC_FALSE
    815 am__fastdepCC_TRUE
    816 CCDEPMODE
    817 am__nodep
    818 AMDEPBACKSLASH
    819 AMDEP_FALSE
    820 AMDEP_TRUE
    821 am__include
    822 DEPDIR
    823 am__untar
    824 am__tar
    825 AMTAR
    826 am__leading_dot
    827 SET_MAKE
    828 AWK
    829 mkdir_p
    830 MKDIR_P
    831 INSTALL_STRIP_PROGRAM
    832 STRIP
    833 install_sh
    834 MAKEINFO
    835 AUTOHEADER
    836 AUTOMAKE
    837 AUTOCONF
    838 ACLOCAL
    839 VERSION
    840 PACKAGE
    841 CYGPATH_W
    842 am__isrc
    843 INSTALL_DATA
    844 INSTALL_SCRIPT
    845 INSTALL_PROGRAM
    846 OBJEXT
    847 EXEEXT
    848 ac_ct_CC
    849 CPPFLAGS
    850 LDFLAGS
    851 CFLAGS
    852 CC
    853 target_alias
    854 host_alias
    855 build_alias
    856 LIBS
    857 ECHO_T
    858 ECHO_N
    859 ECHO_C
    860 DEFS
    861 mandir
    862 localedir
    863 libdir
    864 psdir
    865 pdfdir
    866 dvidir
    867 htmldir
    868 infodir
    869 docdir
    870 oldincludedir
    871 includedir
    872 runstatedir
    873 localstatedir
    874 sharedstatedir
    875 sysconfdir
    876 datadir
    877 datarootdir
    878 libexecdir
    879 sbindir
    880 bindir
    881 program_transform_name
    882 prefix
    883 exec_prefix
    884 PACKAGE_URL
    885 PACKAGE_BUGREPORT
    886 PACKAGE_STRING
    887 PACKAGE_VERSION
    888 PACKAGE_TARNAME
    889 PACKAGE_NAME
    890 PATH_SEPARATOR
    891 SHELL
    892 am__quote'
    893 ac_subst_files=''
    894 ac_user_opts='
    895 enable_option_checking
    896 enable_dependency_tracking
    897 enable_silent_rules
    898 enable_shared
    899 enable_static
    900 enable_pic
    901 with_pic
    902 enable_fast_install
    903 enable_aix_soname
    904 with_aix_soname
    905 with_gnu_ld
    906 with_sysroot
    907 enable_libtool_lock
    908 enable_selective_werror
    909 enable_strict_compilation
    910 enable_docs
    911 enable_specs
    912 with_xmlto
    913 with_fop
    914 with_xsltproc
    915 enable_largefile
    916 enable_unix_transport
    917 enable_tcp_transport
    918 enable_ipv6
    919 enable_local_transport
    920 with_lint
    921 enable_lint_library
    922 enable_year2038
    923 '
    924       ac_precious_vars='build_alias
    925 host_alias
    926 target_alias
    927 CC
    928 CFLAGS
    929 LDFLAGS
    930 LIBS
    931 CPPFLAGS
    932 LT_SYS_LIBRARY_PATH
    933 PKG_CONFIG
    934 PKG_CONFIG_PATH
    935 PKG_CONFIG_LIBDIR
    936 XMLTO
    937 FOP
    938 XSLTPROC
    939 ICE_CFLAGS
    940 ICE_LIBS
    941 LIBBSD_CFLAGS
    942 LIBBSD_LIBS
    943 LINT
    944 LINT_FLAGS'
    945 
    946 
    947 # Initialize some variables set by options.
    948 ac_init_help=
    949 ac_init_version=false
    950 ac_unrecognized_opts=
    951 ac_unrecognized_sep=
    952 # The variables have the same names as the options, with
    953 # dashes changed to underlines.
    954 cache_file=/dev/null
    955 exec_prefix=NONE
    956 no_create=
    957 no_recursion=
    958 prefix=NONE
    959 program_prefix=NONE
    960 program_suffix=NONE
    961 program_transform_name=s,x,x,
    962 silent=
    963 site=
    964 srcdir=
    965 verbose=
    966 x_includes=NONE
    967 x_libraries=NONE
    968 
    969 # Installation directory options.
    970 # These are left unexpanded so users can "make install exec_prefix=/foo"
    971 # and all the variables that are supposed to be based on exec_prefix
    972 # by default will actually change.
    973 # Use braces instead of parens because sh, perl, etc. also accept them.
    974 # (The list follows the same order as the GNU Coding Standards.)
    975 bindir='${exec_prefix}/bin'
    976 sbindir='${exec_prefix}/sbin'
    977 libexecdir='${exec_prefix}/libexec'
    978 datarootdir='${prefix}/share'
    979 datadir='${datarootdir}'
    980 sysconfdir='${prefix}/etc'
    981 sharedstatedir='${prefix}/com'
    982 localstatedir='${prefix}/var'
    983 runstatedir='${localstatedir}/run'
    984 includedir='${prefix}/include'
    985 oldincludedir='/usr/include'
    986 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    987 infodir='${datarootdir}/info'
    988 htmldir='${docdir}'
    989 dvidir='${docdir}'
    990 pdfdir='${docdir}'
    991 psdir='${docdir}'
    992 libdir='${exec_prefix}/lib'
    993 localedir='${datarootdir}/locale'
    994 mandir='${datarootdir}/man'
    995 
    996 ac_prev=
    997 ac_dashdash=
    998 for ac_option
    999 do
   1000   # If the previous option needs an argument, assign it.
   1001   if test -n "$ac_prev"; then
   1002     eval $ac_prev=\$ac_option
   1003     ac_prev=
   1004     continue
   1005   fi
   1006 
   1007   case $ac_option in
   1008   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1009   *=)   ac_optarg= ;;
   1010   *)    ac_optarg=yes ;;
   1011   esac
   1012 
   1013   case $ac_dashdash$ac_option in
   1014   --)
   1015     ac_dashdash=yes ;;
   1016 
   1017   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1018     ac_prev=bindir ;;
   1019   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1020     bindir=$ac_optarg ;;
   1021 
   1022   -build | --build | --buil | --bui | --bu)
   1023     ac_prev=build_alias ;;
   1024   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1025     build_alias=$ac_optarg ;;
   1026 
   1027   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1028   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1029     ac_prev=cache_file ;;
   1030   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1031   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1032     cache_file=$ac_optarg ;;
   1033 
   1034   --config-cache | -C)
   1035     cache_file=config.cache ;;
   1036 
   1037   -datadir | --datadir | --datadi | --datad)
   1038     ac_prev=datadir ;;
   1039   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1040     datadir=$ac_optarg ;;
   1041 
   1042   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1043   | --dataroo | --dataro | --datar)
   1044     ac_prev=datarootdir ;;
   1045   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1046   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1047     datarootdir=$ac_optarg ;;
   1048 
   1049   -disable-* | --disable-*)
   1050     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1051     # Reject names that are not valid shell variable names.
   1052     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1053       as_fn_error $? "invalid feature name: '$ac_useropt'"
   1054     ac_useropt_orig=$ac_useropt
   1055     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1056     case $ac_user_opts in
   1057       *"
   1058 "enable_$ac_useropt"
   1059 "*) ;;
   1060       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1061 	 ac_unrecognized_sep=', ';;
   1062     esac
   1063     eval enable_$ac_useropt=no ;;
   1064 
   1065   -docdir | --docdir | --docdi | --doc | --do)
   1066     ac_prev=docdir ;;
   1067   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1068     docdir=$ac_optarg ;;
   1069 
   1070   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1071     ac_prev=dvidir ;;
   1072   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1073     dvidir=$ac_optarg ;;
   1074 
   1075   -enable-* | --enable-*)
   1076     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1077     # Reject names that are not valid shell variable names.
   1078     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1079       as_fn_error $? "invalid feature name: '$ac_useropt'"
   1080     ac_useropt_orig=$ac_useropt
   1081     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1082     case $ac_user_opts in
   1083       *"
   1084 "enable_$ac_useropt"
   1085 "*) ;;
   1086       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1087 	 ac_unrecognized_sep=', ';;
   1088     esac
   1089     eval enable_$ac_useropt=\$ac_optarg ;;
   1090 
   1091   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1092   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1093   | --exec | --exe | --ex)
   1094     ac_prev=exec_prefix ;;
   1095   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1096   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1097   | --exec=* | --exe=* | --ex=*)
   1098     exec_prefix=$ac_optarg ;;
   1099 
   1100   -gas | --gas | --ga | --g)
   1101     # Obsolete; use --with-gas.
   1102     with_gas=yes ;;
   1103 
   1104   -help | --help | --hel | --he | -h)
   1105     ac_init_help=long ;;
   1106   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1107     ac_init_help=recursive ;;
   1108   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1109     ac_init_help=short ;;
   1110 
   1111   -host | --host | --hos | --ho)
   1112     ac_prev=host_alias ;;
   1113   -host=* | --host=* | --hos=* | --ho=*)
   1114     host_alias=$ac_optarg ;;
   1115 
   1116   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1117     ac_prev=htmldir ;;
   1118   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1119   | --ht=*)
   1120     htmldir=$ac_optarg ;;
   1121 
   1122   -includedir | --includedir | --includedi | --included | --include \
   1123   | --includ | --inclu | --incl | --inc)
   1124     ac_prev=includedir ;;
   1125   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1126   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1127     includedir=$ac_optarg ;;
   1128 
   1129   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1130     ac_prev=infodir ;;
   1131   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1132     infodir=$ac_optarg ;;
   1133 
   1134   -libdir | --libdir | --libdi | --libd)
   1135     ac_prev=libdir ;;
   1136   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1137     libdir=$ac_optarg ;;
   1138 
   1139   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1140   | --libexe | --libex | --libe)
   1141     ac_prev=libexecdir ;;
   1142   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1143   | --libexe=* | --libex=* | --libe=*)
   1144     libexecdir=$ac_optarg ;;
   1145 
   1146   -localedir | --localedir | --localedi | --localed | --locale)
   1147     ac_prev=localedir ;;
   1148   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1149     localedir=$ac_optarg ;;
   1150 
   1151   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1152   | --localstate | --localstat | --localsta | --localst | --locals)
   1153     ac_prev=localstatedir ;;
   1154   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1155   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1156     localstatedir=$ac_optarg ;;
   1157 
   1158   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1159     ac_prev=mandir ;;
   1160   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1161     mandir=$ac_optarg ;;
   1162 
   1163   -nfp | --nfp | --nf)
   1164     # Obsolete; use --without-fp.
   1165     with_fp=no ;;
   1166 
   1167   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1168   | --no-cr | --no-c | -n)
   1169     no_create=yes ;;
   1170 
   1171   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1172   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1173     no_recursion=yes ;;
   1174 
   1175   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1176   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1177   | --oldin | --oldi | --old | --ol | --o)
   1178     ac_prev=oldincludedir ;;
   1179   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1180   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1181   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1182     oldincludedir=$ac_optarg ;;
   1183 
   1184   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1185     ac_prev=prefix ;;
   1186   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1187     prefix=$ac_optarg ;;
   1188 
   1189   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1190   | --program-pre | --program-pr | --program-p)
   1191     ac_prev=program_prefix ;;
   1192   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1193   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1194     program_prefix=$ac_optarg ;;
   1195 
   1196   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1197   | --program-suf | --program-su | --program-s)
   1198     ac_prev=program_suffix ;;
   1199   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1200   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1201     program_suffix=$ac_optarg ;;
   1202 
   1203   -program-transform-name | --program-transform-name \
   1204   | --program-transform-nam | --program-transform-na \
   1205   | --program-transform-n | --program-transform- \
   1206   | --program-transform | --program-transfor \
   1207   | --program-transfo | --program-transf \
   1208   | --program-trans | --program-tran \
   1209   | --progr-tra | --program-tr | --program-t)
   1210     ac_prev=program_transform_name ;;
   1211   -program-transform-name=* | --program-transform-name=* \
   1212   | --program-transform-nam=* | --program-transform-na=* \
   1213   | --program-transform-n=* | --program-transform-=* \
   1214   | --program-transform=* | --program-transfor=* \
   1215   | --program-transfo=* | --program-transf=* \
   1216   | --program-trans=* | --program-tran=* \
   1217   | --progr-tra=* | --program-tr=* | --program-t=*)
   1218     program_transform_name=$ac_optarg ;;
   1219 
   1220   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1221     ac_prev=pdfdir ;;
   1222   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1223     pdfdir=$ac_optarg ;;
   1224 
   1225   -psdir | --psdir | --psdi | --psd | --ps)
   1226     ac_prev=psdir ;;
   1227   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1228     psdir=$ac_optarg ;;
   1229 
   1230   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1231   | -silent | --silent | --silen | --sile | --sil)
   1232     silent=yes ;;
   1233 
   1234   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1235   | --runstate | --runstat | --runsta | --runst | --runs \
   1236   | --run | --ru | --r)
   1237     ac_prev=runstatedir ;;
   1238   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1239   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1240   | --run=* | --ru=* | --r=*)
   1241     runstatedir=$ac_optarg ;;
   1242 
   1243   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1244     ac_prev=sbindir ;;
   1245   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1246   | --sbi=* | --sb=*)
   1247     sbindir=$ac_optarg ;;
   1248 
   1249   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1250   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1251   | --sharedst | --shareds | --shared | --share | --shar \
   1252   | --sha | --sh)
   1253     ac_prev=sharedstatedir ;;
   1254   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1255   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1256   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1257   | --sha=* | --sh=*)
   1258     sharedstatedir=$ac_optarg ;;
   1259 
   1260   -site | --site | --sit)
   1261     ac_prev=site ;;
   1262   -site=* | --site=* | --sit=*)
   1263     site=$ac_optarg ;;
   1264 
   1265   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1266     ac_prev=srcdir ;;
   1267   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1268     srcdir=$ac_optarg ;;
   1269 
   1270   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1271   | --syscon | --sysco | --sysc | --sys | --sy)
   1272     ac_prev=sysconfdir ;;
   1273   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1274   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1275     sysconfdir=$ac_optarg ;;
   1276 
   1277   -target | --target | --targe | --targ | --tar | --ta | --t)
   1278     ac_prev=target_alias ;;
   1279   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1280     target_alias=$ac_optarg ;;
   1281 
   1282   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1283     verbose=yes ;;
   1284 
   1285   -version | --version | --versio | --versi | --vers | -V)
   1286     ac_init_version=: ;;
   1287 
   1288   -with-* | --with-*)
   1289     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1290     # Reject names that are not valid shell variable names.
   1291     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1292       as_fn_error $? "invalid package name: '$ac_useropt'"
   1293     ac_useropt_orig=$ac_useropt
   1294     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1295     case $ac_user_opts in
   1296       *"
   1297 "with_$ac_useropt"
   1298 "*) ;;
   1299       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1300 	 ac_unrecognized_sep=', ';;
   1301     esac
   1302     eval with_$ac_useropt=\$ac_optarg ;;
   1303 
   1304   -without-* | --without-*)
   1305     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1306     # Reject names that are not valid shell variable names.
   1307     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1308       as_fn_error $? "invalid package name: '$ac_useropt'"
   1309     ac_useropt_orig=$ac_useropt
   1310     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1311     case $ac_user_opts in
   1312       *"
   1313 "with_$ac_useropt"
   1314 "*) ;;
   1315       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1316 	 ac_unrecognized_sep=', ';;
   1317     esac
   1318     eval with_$ac_useropt=no ;;
   1319 
   1320   --x)
   1321     # Obsolete; use --with-x.
   1322     with_x=yes ;;
   1323 
   1324   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1325   | --x-incl | --x-inc | --x-in | --x-i)
   1326     ac_prev=x_includes ;;
   1327   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1328   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1329     x_includes=$ac_optarg ;;
   1330 
   1331   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1332   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1333     ac_prev=x_libraries ;;
   1334   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1335   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1336     x_libraries=$ac_optarg ;;
   1337 
   1338   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1339 Try '$0 --help' for more information"
   1340     ;;
   1341 
   1342   *=*)
   1343     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1344     # Reject names that are not valid shell variable names.
   1345     case $ac_envvar in #(
   1346       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1347       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1348     esac
   1349     eval $ac_envvar=\$ac_optarg
   1350     export $ac_envvar ;;
   1351 
   1352   *)
   1353     # FIXME: should be removed in autoconf 3.0.
   1354     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1355     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1356       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1357     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1358     ;;
   1359 
   1360   esac
   1361 done
   1362 
   1363 if test -n "$ac_prev"; then
   1364   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1365   as_fn_error $? "missing argument to $ac_option"
   1366 fi
   1367 
   1368 if test -n "$ac_unrecognized_opts"; then
   1369   case $enable_option_checking in
   1370     no) ;;
   1371     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1372     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1373   esac
   1374 fi
   1375 
   1376 # Check all directory arguments for consistency.
   1377 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1378 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1379 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1380 		libdir localedir mandir runstatedir
   1381 do
   1382   eval ac_val=\$$ac_var
   1383   # Remove trailing slashes.
   1384   case $ac_val in
   1385     */ )
   1386       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1387       eval $ac_var=\$ac_val;;
   1388   esac
   1389   # Be sure to have absolute directory names.
   1390   case $ac_val in
   1391     [\\/$]* | ?:[\\/]* )  continue;;
   1392     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1393   esac
   1394   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1395 done
   1396 
   1397 # There might be people who depend on the old broken behavior: '$host'
   1398 # used to hold the argument of --host etc.
   1399 # FIXME: To remove some day.
   1400 build=$build_alias
   1401 host=$host_alias
   1402 target=$target_alias
   1403 
   1404 # FIXME: To remove some day.
   1405 if test "x$host_alias" != x; then
   1406   if test "x$build_alias" = x; then
   1407     cross_compiling=maybe
   1408   elif test "x$build_alias" != "x$host_alias"; then
   1409     cross_compiling=yes
   1410   fi
   1411 fi
   1412 
   1413 ac_tool_prefix=
   1414 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1415 
   1416 test "$silent" = yes && exec 6>/dev/null
   1417 
   1418 
   1419 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1420 ac_ls_di=`ls -di .` &&
   1421 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1422   as_fn_error $? "working directory cannot be determined"
   1423 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1424   as_fn_error $? "pwd does not report name of working directory"
   1425 
   1426 
   1427 # Find the source files, if location was not specified.
   1428 if test -z "$srcdir"; then
   1429   ac_srcdir_defaulted=yes
   1430   # Try the directory containing this script, then the parent directory.
   1431   ac_confdir=`$as_dirname -- "$as_myself" ||
   1432 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1433 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1434 	 X"$as_myself" : 'X\(//\)$' \| \
   1435 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1436 printf "%s\n" X"$as_myself" |
   1437     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1438 	    s//\1/
   1439 	    q
   1440 	  }
   1441 	  /^X\(\/\/\)[^/].*/{
   1442 	    s//\1/
   1443 	    q
   1444 	  }
   1445 	  /^X\(\/\/\)$/{
   1446 	    s//\1/
   1447 	    q
   1448 	  }
   1449 	  /^X\(\/\).*/{
   1450 	    s//\1/
   1451 	    q
   1452 	  }
   1453 	  s/.*/./; q'`
   1454   srcdir=$ac_confdir
   1455   if test ! -r "$srcdir/$ac_unique_file"; then
   1456     srcdir=..
   1457   fi
   1458 else
   1459   ac_srcdir_defaulted=no
   1460 fi
   1461 if test ! -r "$srcdir/$ac_unique_file"; then
   1462   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1463   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1464 fi
   1465 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1466 ac_abs_confdir=`(
   1467 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1468 	pwd)`
   1469 # When building in place, set srcdir=.
   1470 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1471   srcdir=.
   1472 fi
   1473 # Remove unnecessary trailing slashes from srcdir.
   1474 # Double slashes in file names in object file debugging info
   1475 # mess up M-x gdb in Emacs.
   1476 case $srcdir in
   1477 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1478 esac
   1479 for ac_var in $ac_precious_vars; do
   1480   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1481   eval ac_env_${ac_var}_value=\$${ac_var}
   1482   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1483   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1484 done
   1485 
   1486 #
   1487 # Report the --help message.
   1488 #
   1489 if test "$ac_init_help" = "long"; then
   1490   # Omit some internal or obsolete options to make the list less imposing.
   1491   # This message is too long to be a string in the A/UX 3.1 sh.
   1492   cat <<_ACEOF
   1493 'configure' configures libICE 1.1.2 to adapt to many kinds of systems.
   1494 
   1495 Usage: $0 [OPTION]... [VAR=VALUE]...
   1496 
   1497 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1498 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1499 
   1500 Defaults for the options are specified in brackets.
   1501 
   1502 Configuration:
   1503   -h, --help              display this help and exit
   1504       --help=short        display options specific to this package
   1505       --help=recursive    display the short help of all the included packages
   1506   -V, --version           display version information and exit
   1507   -q, --quiet, --silent   do not print 'checking ...' messages
   1508       --cache-file=FILE   cache test results in FILE [disabled]
   1509   -C, --config-cache      alias for '--cache-file=config.cache'
   1510   -n, --no-create         do not create output files
   1511       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1512 
   1513 Installation directories:
   1514   --prefix=PREFIX         install architecture-independent files in PREFIX
   1515                           [$ac_default_prefix]
   1516   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1517                           [PREFIX]
   1518 
   1519 By default, 'make install' will install all the files in
   1520 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1521 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1522 for instance '--prefix=\$HOME'.
   1523 
   1524 For better control, use the options below.
   1525 
   1526 Fine tuning of the installation directories:
   1527   --bindir=DIR            user executables [EPREFIX/bin]
   1528   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1529   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1530   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1531   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1532   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1533   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1534   --libdir=DIR            object code libraries [EPREFIX/lib]
   1535   --includedir=DIR        C header files [PREFIX/include]
   1536   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1537   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1538   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1539   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1540   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1541   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1542   --docdir=DIR            documentation root [DATAROOTDIR/doc/libICE]
   1543   --htmldir=DIR           html documentation [DOCDIR]
   1544   --dvidir=DIR            dvi documentation [DOCDIR]
   1545   --pdfdir=DIR            pdf documentation [DOCDIR]
   1546   --psdir=DIR             ps documentation [DOCDIR]
   1547 _ACEOF
   1548 
   1549   cat <<\_ACEOF
   1550 
   1551 Program names:
   1552   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1553   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1554   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1555 
   1556 System types:
   1557   --build=BUILD     configure for building on BUILD [guessed]
   1558   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1559 _ACEOF
   1560 fi
   1561 
   1562 if test -n "$ac_init_help"; then
   1563   case $ac_init_help in
   1564      short | recursive ) echo "Configuration of libICE 1.1.2:";;
   1565    esac
   1566   cat <<\_ACEOF
   1567 
   1568 Optional Features:
   1569   --disable-option-checking  ignore unrecognized --enable/--with options
   1570   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1571   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1572   --enable-dependency-tracking
   1573                           do not reject slow dependency extractors
   1574   --disable-dependency-tracking
   1575                           speeds up one-time build
   1576   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1577   --disable-silent-rules  verbose build output (undo: "make V=0")
   1578   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1579   --enable-static[=PKGS]  build static libraries [default=yes]
   1580   --enable-pic[=PKGS]     try to use only PIC/non-PIC objects [default=use
   1581                           both]
   1582   --enable-fast-install[=PKGS]
   1583                           optimize for fast installation [default=yes]
   1584   --enable-aix-soname=aix|svr4|both
   1585                           shared library versioning (aka "SONAME") variant to
   1586                           provide on AIX, [default=aix].
   1587   --disable-libtool-lock  avoid locking (might break parallel builds)
   1588   --disable-selective-werror
   1589                           Turn off selective compiler errors. (default:
   1590                           enabled)
   1591   --enable-strict-compilation
   1592                           Enable all warnings from compiler and make them
   1593                           errors (default: disabled)
   1594   --enable-docs           Enable building the documentation (default: yes)
   1595   --enable-specs          Enable building the specs (default: yes)
   1596   --disable-largefile     omit support for large files
   1597   --enable-unix-transport Enable UNIX domain socket transport
   1598   --enable-tcp-transport  Enable TCP socket transport
   1599   --enable-ipv6           Enable IPv6 support
   1600   --enable-local-transport
   1601                           Enable os-specific local transport
   1602   --enable-lint-library   Create lint library (default: disabled)
   1603   --enable-year2038       support timestamps after 2038
   1604 
   1605 Optional Packages:
   1606   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1607   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1608   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1609   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1610                           compiler's sysroot if not specified).
   1611   --with-xmlto            Use xmlto to regenerate documentation (default:
   1612                           auto)
   1613   --with-fop              Use fop to regenerate documentation (default: auto)
   1614   --with-xsltproc         Use xsltproc for the transformation of XML documents
   1615                           (default: auto)
   1616   --with-lint             Use a lint-style source code checker (default:
   1617                           disabled)
   1618 
   1619 Some influential environment variables:
   1620   CC          C compiler command
   1621   CFLAGS      C compiler flags
   1622   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1623               nonstandard directory <lib dir>
   1624   LIBS        libraries to pass to the linker, e.g. -l<library>
   1625   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1626               you have headers in a nonstandard directory <include dir>
   1627   LT_SYS_LIBRARY_PATH
   1628               User-defined run-time library search path.
   1629   PKG_CONFIG  path to pkg-config utility
   1630   PKG_CONFIG_PATH
   1631               directories to add to pkg-config's search path
   1632   PKG_CONFIG_LIBDIR
   1633               path overriding pkg-config's built-in search path
   1634   XMLTO       Path to xmlto command
   1635   FOP         Path to fop command
   1636   XSLTPROC    Path to xsltproc command
   1637   ICE_CFLAGS  C compiler flags for ICE, overriding pkg-config
   1638   ICE_LIBS    linker flags for ICE, overriding pkg-config
   1639   LIBBSD_CFLAGS
   1640               C compiler flags for LIBBSD, overriding pkg-config
   1641   LIBBSD_LIBS linker flags for LIBBSD, overriding pkg-config
   1642   LINT        Path to a lint-style command
   1643   LINT_FLAGS  Flags for the lint-style command
   1644 
   1645 Use these variables to override the choices made by 'configure' or to help
   1646 it to find libraries and programs with nonstandard names/locations.
   1647 
   1648 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libice/-/issues>.
   1649 _ACEOF
   1650 ac_status=$?
   1651 fi
   1652 
   1653 if test "$ac_init_help" = "recursive"; then
   1654   # If there are subdirs, report their specific --help.
   1655   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1656     test -d "$ac_dir" ||
   1657       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1658       continue
   1659     ac_builddir=.
   1660 
   1661 case "$ac_dir" in
   1662 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1663 *)
   1664   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1665   # A ".." for each directory in $ac_dir_suffix.
   1666   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1667   case $ac_top_builddir_sub in
   1668   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1669   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1670   esac ;;
   1671 esac
   1672 ac_abs_top_builddir=$ac_pwd
   1673 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1674 # for backward compatibility:
   1675 ac_top_builddir=$ac_top_build_prefix
   1676 
   1677 case $srcdir in
   1678   .)  # We are building in place.
   1679     ac_srcdir=.
   1680     ac_top_srcdir=$ac_top_builddir_sub
   1681     ac_abs_top_srcdir=$ac_pwd ;;
   1682   [\\/]* | ?:[\\/]* )  # Absolute name.
   1683     ac_srcdir=$srcdir$ac_dir_suffix;
   1684     ac_top_srcdir=$srcdir
   1685     ac_abs_top_srcdir=$srcdir ;;
   1686   *) # Relative name.
   1687     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1688     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1689     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1690 esac
   1691 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1692 
   1693     cd "$ac_dir" || { ac_status=$?; continue; }
   1694     # Check for configure.gnu first; this name is used for a wrapper for
   1695     # Metaconfig's "Configure" on case-insensitive file systems.
   1696     if test -f "$ac_srcdir/configure.gnu"; then
   1697       echo &&
   1698       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1699     elif test -f "$ac_srcdir/configure"; then
   1700       echo &&
   1701       $SHELL "$ac_srcdir/configure" --help=recursive
   1702     else
   1703       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1704     fi || ac_status=$?
   1705     cd "$ac_pwd" || { ac_status=$?; break; }
   1706   done
   1707 fi
   1708 
   1709 test -n "$ac_init_help" && exit $ac_status
   1710 if $ac_init_version; then
   1711   cat <<\_ACEOF
   1712 libICE configure 1.1.2
   1713 generated by GNU Autoconf 2.72
   1714 
   1715 Copyright (C) 2023 Free Software Foundation, Inc.
   1716 This configure script is free software; the Free Software Foundation
   1717 gives unlimited permission to copy, distribute and modify it.
   1718 _ACEOF
   1719   exit
   1720 fi
   1721 
   1722 ## ------------------------ ##
   1723 ## Autoconf initialization. ##
   1724 ## ------------------------ ##
   1725 
   1726 # ac_fn_c_try_compile LINENO
   1727 # --------------------------
   1728 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1729 ac_fn_c_try_compile ()
   1730 {
   1731   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1732   rm -f conftest.$ac_objext conftest.beam
   1733   if { { ac_try="$ac_compile"
   1734 case "(($ac_try" in
   1735   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1736   *) ac_try_echo=$ac_try;;
   1737 esac
   1738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1739 printf "%s\n" "$ac_try_echo"; } >&5
   1740   (eval "$ac_compile") 2>conftest.err
   1741   ac_status=$?
   1742   if test -s conftest.err; then
   1743     grep -v '^ *+' conftest.err >conftest.er1
   1744     cat conftest.er1 >&5
   1745     mv -f conftest.er1 conftest.err
   1746   fi
   1747   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1748   test $ac_status = 0; } && {
   1749 	 test -z "$ac_c_werror_flag" ||
   1750 	 test ! -s conftest.err
   1751        } && test -s conftest.$ac_objext
   1752 then :
   1753   ac_retval=0
   1754 else case e in #(
   1755   e) printf "%s\n" "$as_me: failed program was:" >&5
   1756 sed 's/^/| /' conftest.$ac_ext >&5
   1757 
   1758 	ac_retval=1 ;;
   1759 esac
   1760 fi
   1761   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1762   as_fn_set_status $ac_retval
   1763 
   1764 } # ac_fn_c_try_compile
   1765 
   1766 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1767 # -------------------------------------------------------
   1768 # Tests whether HEADER exists and can be compiled using the include files in
   1769 # INCLUDES, setting the cache variable VAR accordingly.
   1770 ac_fn_c_check_header_compile ()
   1771 {
   1772   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1773   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1774 printf %s "checking for $2... " >&6; }
   1775 if eval test \${$3+y}
   1776 then :
   1777   printf %s "(cached) " >&6
   1778 else case e in #(
   1779   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1780 /* end confdefs.h.  */
   1781 $4
   1782 #include <$2>
   1783 _ACEOF
   1784 if ac_fn_c_try_compile "$LINENO"
   1785 then :
   1786   eval "$3=yes"
   1787 else case e in #(
   1788   e) eval "$3=no" ;;
   1789 esac
   1790 fi
   1791 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1792 esac
   1793 fi
   1794 eval ac_res=\$$3
   1795 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1796 printf "%s\n" "$ac_res" >&6; }
   1797   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1798 
   1799 } # ac_fn_c_check_header_compile
   1800 
   1801 # ac_fn_c_try_link LINENO
   1802 # -----------------------
   1803 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1804 ac_fn_c_try_link ()
   1805 {
   1806   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1807   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1808   if { { ac_try="$ac_link"
   1809 case "(($ac_try" in
   1810   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1811   *) ac_try_echo=$ac_try;;
   1812 esac
   1813 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1814 printf "%s\n" "$ac_try_echo"; } >&5
   1815   (eval "$ac_link") 2>conftest.err
   1816   ac_status=$?
   1817   if test -s conftest.err; then
   1818     grep -v '^ *+' conftest.err >conftest.er1
   1819     cat conftest.er1 >&5
   1820     mv -f conftest.er1 conftest.err
   1821   fi
   1822   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1823   test $ac_status = 0; } && {
   1824 	 test -z "$ac_c_werror_flag" ||
   1825 	 test ! -s conftest.err
   1826        } && test -s conftest$ac_exeext && {
   1827 	 test "$cross_compiling" = yes ||
   1828 	 test -x conftest$ac_exeext
   1829        }
   1830 then :
   1831   ac_retval=0
   1832 else case e in #(
   1833   e) printf "%s\n" "$as_me: failed program was:" >&5
   1834 sed 's/^/| /' conftest.$ac_ext >&5
   1835 
   1836 	ac_retval=1 ;;
   1837 esac
   1838 fi
   1839   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1840   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1841   # interfere with the next link command; also delete a directory that is
   1842   # left behind by Apple's compiler.  We do this before executing the actions.
   1843   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1844   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1845   as_fn_set_status $ac_retval
   1846 
   1847 } # ac_fn_c_try_link
   1848 
   1849 # ac_fn_c_check_func LINENO FUNC VAR
   1850 # ----------------------------------
   1851 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1852 ac_fn_c_check_func ()
   1853 {
   1854   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1855   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1856 printf %s "checking for $2... " >&6; }
   1857 if eval test \${$3+y}
   1858 then :
   1859   printf %s "(cached) " >&6
   1860 else case e in #(
   1861   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1862 /* end confdefs.h.  */
   1863 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1864    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1865 #define $2 innocuous_$2
   1866 
   1867 /* System header to define __stub macros and hopefully few prototypes,
   1868    which can conflict with char $2 (void); below.  */
   1869 
   1870 #include <limits.h>
   1871 #undef $2
   1872 
   1873 /* Override any GCC internal prototype to avoid an error.
   1874    Use char because int might match the return type of a GCC
   1875    builtin and then its argument prototype would still apply.  */
   1876 #ifdef __cplusplus
   1877 extern "C"
   1878 #endif
   1879 char $2 (void);
   1880 /* The GNU C library defines this for functions which it implements
   1881     to always fail with ENOSYS.  Some functions are actually named
   1882     something starting with __ and the normal name is an alias.  */
   1883 #if defined __stub_$2 || defined __stub___$2
   1884 choke me
   1885 #endif
   1886 
   1887 int
   1888 main (void)
   1889 {
   1890 return $2 ();
   1891   ;
   1892   return 0;
   1893 }
   1894 _ACEOF
   1895 if ac_fn_c_try_link "$LINENO"
   1896 then :
   1897   eval "$3=yes"
   1898 else case e in #(
   1899   e) eval "$3=no" ;;
   1900 esac
   1901 fi
   1902 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1903     conftest$ac_exeext conftest.$ac_ext ;;
   1904 esac
   1905 fi
   1906 eval ac_res=\$$3
   1907 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1908 printf "%s\n" "$ac_res" >&6; }
   1909   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1910 
   1911 } # ac_fn_c_check_func
   1912 
   1913 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1914 # ------------------------------------------------------------------
   1915 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1916 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1917 ac_fn_check_decl ()
   1918 {
   1919   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1920   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1921   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1922 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1923 if eval test \${$3+y}
   1924 then :
   1925   printf %s "(cached) " >&6
   1926 else case e in #(
   1927   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1928   eval ac_save_FLAGS=\$$6
   1929   as_fn_append $6 " $5"
   1930   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1931 /* end confdefs.h.  */
   1932 $4
   1933 int
   1934 main (void)
   1935 {
   1936 #ifndef $as_decl_name
   1937 #ifdef __cplusplus
   1938   (void) $as_decl_use;
   1939 #else
   1940   (void) $as_decl_name;
   1941 #endif
   1942 #endif
   1943 
   1944   ;
   1945   return 0;
   1946 }
   1947 _ACEOF
   1948 if ac_fn_c_try_compile "$LINENO"
   1949 then :
   1950   eval "$3=yes"
   1951 else case e in #(
   1952   e) eval "$3=no" ;;
   1953 esac
   1954 fi
   1955 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1956   eval $6=\$ac_save_FLAGS
   1957  ;;
   1958 esac
   1959 fi
   1960 eval ac_res=\$$3
   1961 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1962 printf "%s\n" "$ac_res" >&6; }
   1963   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1964 
   1965 } # ac_fn_check_decl
   1966 
   1967 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   1968 # ----------------------------------------------------
   1969 # Tries to find if the field MEMBER exists in type AGGR, after including
   1970 # INCLUDES, setting cache variable VAR accordingly.
   1971 ac_fn_c_check_member ()
   1972 {
   1973   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1974   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   1975 printf %s "checking for $2.$3... " >&6; }
   1976 if eval test \${$4+y}
   1977 then :
   1978   printf %s "(cached) " >&6
   1979 else case e in #(
   1980   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1981 /* end confdefs.h.  */
   1982 $5
   1983 int
   1984 main (void)
   1985 {
   1986 static $2 ac_aggr;
   1987 if (ac_aggr.$3)
   1988 return 0;
   1989   ;
   1990   return 0;
   1991 }
   1992 _ACEOF
   1993 if ac_fn_c_try_compile "$LINENO"
   1994 then :
   1995   eval "$4=yes"
   1996 else case e in #(
   1997   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1998 /* end confdefs.h.  */
   1999 $5
   2000 int
   2001 main (void)
   2002 {
   2003 static $2 ac_aggr;
   2004 if (sizeof ac_aggr.$3)
   2005 return 0;
   2006   ;
   2007   return 0;
   2008 }
   2009 _ACEOF
   2010 if ac_fn_c_try_compile "$LINENO"
   2011 then :
   2012   eval "$4=yes"
   2013 else case e in #(
   2014   e) eval "$4=no" ;;
   2015 esac
   2016 fi
   2017 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   2018 esac
   2019 fi
   2020 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   2021 esac
   2022 fi
   2023 eval ac_res=\$$4
   2024 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2025 printf "%s\n" "$ac_res" >&6; }
   2026   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2027 
   2028 } # ac_fn_c_check_member
   2029 
   2030 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   2031 # -------------------------------------------
   2032 # Tests whether TYPE exists after having included INCLUDES, setting cache
   2033 # variable VAR accordingly.
   2034 ac_fn_c_check_type ()
   2035 {
   2036   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2037   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2038 printf %s "checking for $2... " >&6; }
   2039 if eval test \${$3+y}
   2040 then :
   2041   printf %s "(cached) " >&6
   2042 else case e in #(
   2043   e) eval "$3=no"
   2044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2045 /* end confdefs.h.  */
   2046 $4
   2047 int
   2048 main (void)
   2049 {
   2050 if (sizeof ($2))
   2051 	 return 0;
   2052   ;
   2053   return 0;
   2054 }
   2055 _ACEOF
   2056 if ac_fn_c_try_compile "$LINENO"
   2057 then :
   2058   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2059 /* end confdefs.h.  */
   2060 $4
   2061 int
   2062 main (void)
   2063 {
   2064 if (sizeof (($2)))
   2065 	    return 0;
   2066   ;
   2067   return 0;
   2068 }
   2069 _ACEOF
   2070 if ac_fn_c_try_compile "$LINENO"
   2071 then :
   2072 
   2073 else case e in #(
   2074   e) eval "$3=yes" ;;
   2075 esac
   2076 fi
   2077 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2078 fi
   2079 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   2080 esac
   2081 fi
   2082 eval ac_res=\$$3
   2083 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2084 printf "%s\n" "$ac_res" >&6; }
   2085   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2086 
   2087 } # ac_fn_c_check_type
   2088 ac_configure_args_raw=
   2089 for ac_arg
   2090 do
   2091   case $ac_arg in
   2092   *\'*)
   2093     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2094   esac
   2095   as_fn_append ac_configure_args_raw " '$ac_arg'"
   2096 done
   2097 
   2098 case $ac_configure_args_raw in
   2099   *$as_nl*)
   2100     ac_safe_unquote= ;;
   2101   *)
   2102     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   2103     ac_unsafe_a="$ac_unsafe_z#~"
   2104     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   2105     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   2106 esac
   2107 
   2108 cat >config.log <<_ACEOF
   2109 This file contains any messages produced by compilers while
   2110 running configure, to aid debugging if configure makes a mistake.
   2111 
   2112 It was created by libICE $as_me 1.1.2, which was
   2113 generated by GNU Autoconf 2.72.  Invocation command line was
   2114 
   2115   $ $0$ac_configure_args_raw
   2116 
   2117 _ACEOF
   2118 exec 5>>config.log
   2119 {
   2120 cat <<_ASUNAME
   2121 ## --------- ##
   2122 ## Platform. ##
   2123 ## --------- ##
   2124 
   2125 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2126 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2127 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2128 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2129 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2130 
   2131 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2132 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2133 
   2134 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2135 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2136 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2137 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2138 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2139 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2140 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2141 
   2142 _ASUNAME
   2143 
   2144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2145 for as_dir in $PATH
   2146 do
   2147   IFS=$as_save_IFS
   2148   case $as_dir in #(((
   2149     '') as_dir=./ ;;
   2150     */) ;;
   2151     *) as_dir=$as_dir/ ;;
   2152   esac
   2153     printf "%s\n" "PATH: $as_dir"
   2154   done
   2155 IFS=$as_save_IFS
   2156 
   2157 } >&5
   2158 
   2159 cat >&5 <<_ACEOF
   2160 
   2161 
   2162 ## ----------- ##
   2163 ## Core tests. ##
   2164 ## ----------- ##
   2165 
   2166 _ACEOF
   2167 
   2168 
   2169 # Keep a trace of the command line.
   2170 # Strip out --no-create and --no-recursion so they do not pile up.
   2171 # Strip out --silent because we don't want to record it for future runs.
   2172 # Also quote any args containing shell meta-characters.
   2173 # Make two passes to allow for proper duplicate-argument suppression.
   2174 ac_configure_args=
   2175 ac_configure_args0=
   2176 ac_configure_args1=
   2177 ac_must_keep_next=false
   2178 for ac_pass in 1 2
   2179 do
   2180   for ac_arg
   2181   do
   2182     case $ac_arg in
   2183     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2184     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2185     | -silent | --silent | --silen | --sile | --sil)
   2186       continue ;;
   2187     *\'*)
   2188       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2189     esac
   2190     case $ac_pass in
   2191     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2192     2)
   2193       as_fn_append ac_configure_args1 " '$ac_arg'"
   2194       if test $ac_must_keep_next = true; then
   2195 	ac_must_keep_next=false # Got value, back to normal.
   2196       else
   2197 	case $ac_arg in
   2198 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2199 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2200 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2201 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2202 	    case "$ac_configure_args0 " in
   2203 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2204 	    esac
   2205 	    ;;
   2206 	  -* ) ac_must_keep_next=true ;;
   2207 	esac
   2208       fi
   2209       as_fn_append ac_configure_args " '$ac_arg'"
   2210       ;;
   2211     esac
   2212   done
   2213 done
   2214 { ac_configure_args0=; unset ac_configure_args0;}
   2215 { ac_configure_args1=; unset ac_configure_args1;}
   2216 
   2217 # When interrupted or exit'd, cleanup temporary files, and complete
   2218 # config.log.  We remove comments because anyway the quotes in there
   2219 # would cause problems or look ugly.
   2220 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2221 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2222 trap 'exit_status=$?
   2223   # Sanitize IFS.
   2224   IFS=" ""	$as_nl"
   2225   # Save into config.log some information that might help in debugging.
   2226   {
   2227     echo
   2228 
   2229     printf "%s\n" "## ---------------- ##
   2230 ## Cache variables. ##
   2231 ## ---------------- ##"
   2232     echo
   2233     # The following way of writing the cache mishandles newlines in values,
   2234 (
   2235   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2236     eval ac_val=\$$ac_var
   2237     case $ac_val in #(
   2238     *${as_nl}*)
   2239       case $ac_var in #(
   2240       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2241 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2242       esac
   2243       case $ac_var in #(
   2244       _ | IFS | as_nl) ;; #(
   2245       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2246       *) { eval $ac_var=; unset $ac_var;} ;;
   2247       esac ;;
   2248     esac
   2249   done
   2250   (set) 2>&1 |
   2251     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2252     *${as_nl}ac_space=\ *)
   2253       sed -n \
   2254 	"s/'\''/'\''\\\\'\'''\''/g;
   2255 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2256       ;; #(
   2257     *)
   2258       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2259       ;;
   2260     esac |
   2261     sort
   2262 )
   2263     echo
   2264 
   2265     printf "%s\n" "## ----------------- ##
   2266 ## Output variables. ##
   2267 ## ----------------- ##"
   2268     echo
   2269     for ac_var in $ac_subst_vars
   2270     do
   2271       eval ac_val=\$$ac_var
   2272       case $ac_val in
   2273       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2274       esac
   2275       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2276     done | sort
   2277     echo
   2278 
   2279     if test -n "$ac_subst_files"; then
   2280       printf "%s\n" "## ------------------- ##
   2281 ## File substitutions. ##
   2282 ## ------------------- ##"
   2283       echo
   2284       for ac_var in $ac_subst_files
   2285       do
   2286 	eval ac_val=\$$ac_var
   2287 	case $ac_val in
   2288 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2289 	esac
   2290 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2291       done | sort
   2292       echo
   2293     fi
   2294 
   2295     if test -s confdefs.h; then
   2296       printf "%s\n" "## ----------- ##
   2297 ## confdefs.h. ##
   2298 ## ----------- ##"
   2299       echo
   2300       cat confdefs.h
   2301       echo
   2302     fi
   2303     test "$ac_signal" != 0 &&
   2304       printf "%s\n" "$as_me: caught signal $ac_signal"
   2305     printf "%s\n" "$as_me: exit $exit_status"
   2306   } >&5
   2307   rm -f core *.core core.conftest.* &&
   2308     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2309     exit $exit_status
   2310 ' 0
   2311 for ac_signal in 1 2 13 15; do
   2312   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2313 done
   2314 ac_signal=0
   2315 
   2316 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2317 rm -f -r conftest* confdefs.h
   2318 
   2319 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2320 
   2321 # Predefined preprocessor variables.
   2322 
   2323 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2324 
   2325 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2326 
   2327 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2328 
   2329 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2330 
   2331 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2332 
   2333 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2334 
   2335 
   2336 # Let the site file select an alternate cache file if it wants to.
   2337 # Prefer an explicitly selected file to automatically selected ones.
   2338 if test -n "$CONFIG_SITE"; then
   2339   ac_site_files="$CONFIG_SITE"
   2340 elif test "x$prefix" != xNONE; then
   2341   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2342 else
   2343   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2344 fi
   2345 
   2346 for ac_site_file in $ac_site_files
   2347 do
   2348   case $ac_site_file in #(
   2349   */*) :
   2350      ;; #(
   2351   *) :
   2352     ac_site_file=./$ac_site_file ;;
   2353 esac
   2354   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2355     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2356 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2357     sed 's/^/| /' "$ac_site_file" >&5
   2358     . "$ac_site_file" \
   2359       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2360 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2361 as_fn_error $? "failed to load site script $ac_site_file
   2362 See 'config.log' for more details" "$LINENO" 5; }
   2363   fi
   2364 done
   2365 
   2366 if test -r "$cache_file"; then
   2367   # Some versions of bash will fail to source /dev/null (special files
   2368   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2369   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2370     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2371 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2372     case $cache_file in
   2373       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2374       *)                      . "./$cache_file";;
   2375     esac
   2376   fi
   2377 else
   2378   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2379 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2380   >$cache_file
   2381 fi
   2382 
   2383 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2384 # Test code for whether the C compiler supports C89 (global declarations)
   2385 ac_c_conftest_c89_globals='
   2386 /* Does the compiler advertise C89 conformance?
   2387    Do not test the value of __STDC__, because some compilers set it to 0
   2388    while being otherwise adequately conformant. */
   2389 #if !defined __STDC__
   2390 # error "Compiler does not advertise C89 conformance"
   2391 #endif
   2392 
   2393 #include <stddef.h>
   2394 #include <stdarg.h>
   2395 struct stat;
   2396 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2397 struct buf { int x; };
   2398 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2399 static char *e (char **p, int i)
   2400 {
   2401   return p[i];
   2402 }
   2403 static char *f (char * (*g) (char **, int), char **p, ...)
   2404 {
   2405   char *s;
   2406   va_list v;
   2407   va_start (v,p);
   2408   s = g (p, va_arg (v,int));
   2409   va_end (v);
   2410   return s;
   2411 }
   2412 
   2413 /* C89 style stringification. */
   2414 #define noexpand_stringify(a) #a
   2415 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2416 
   2417 /* C89 style token pasting.  Exercises some of the corner cases that
   2418    e.g. old MSVC gets wrong, but not very hard. */
   2419 #define noexpand_concat(a,b) a##b
   2420 #define expand_concat(a,b) noexpand_concat(a,b)
   2421 extern int vA;
   2422 extern int vbee;
   2423 #define aye A
   2424 #define bee B
   2425 int *pvA = &expand_concat(v,aye);
   2426 int *pvbee = &noexpand_concat(v,bee);
   2427 
   2428 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2429    function prototypes and stuff, but not \xHH hex character constants.
   2430    These do not provoke an error unfortunately, instead are silently treated
   2431    as an "x".  The following induces an error, until -std is added to get
   2432    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2433    array size at least.  It is necessary to write \x00 == 0 to get something
   2434    that is true only with -std.  */
   2435 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2436 
   2437 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2438    inside strings and character constants.  */
   2439 #define FOO(x) '\''x'\''
   2440 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2441 
   2442 int test (int i, double x);
   2443 struct s1 {int (*f) (int a);};
   2444 struct s2 {int (*f) (double a);};
   2445 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2446                int, int);'
   2447 
   2448 # Test code for whether the C compiler supports C89 (body of main).
   2449 ac_c_conftest_c89_main='
   2450 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2451 '
   2452 
   2453 # Test code for whether the C compiler supports C99 (global declarations)
   2454 ac_c_conftest_c99_globals='
   2455 /* Does the compiler advertise C99 conformance? */
   2456 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2457 # error "Compiler does not advertise C99 conformance"
   2458 #endif
   2459 
   2460 // See if C++-style comments work.
   2461 
   2462 #include <stdbool.h>
   2463 extern int puts (const char *);
   2464 extern int printf (const char *, ...);
   2465 extern int dprintf (int, const char *, ...);
   2466 extern void *malloc (size_t);
   2467 extern void free (void *);
   2468 
   2469 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2470 // dprintf is used instead of fprintf to avoid needing to declare
   2471 // FILE and stderr.
   2472 #define debug(...) dprintf (2, __VA_ARGS__)
   2473 #define showlist(...) puts (#__VA_ARGS__)
   2474 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2475 static void
   2476 test_varargs_macros (void)
   2477 {
   2478   int x = 1234;
   2479   int y = 5678;
   2480   debug ("Flag");
   2481   debug ("X = %d\n", x);
   2482   showlist (The first, second, and third items.);
   2483   report (x>y, "x is %d but y is %d", x, y);
   2484 }
   2485 
   2486 // Check long long types.
   2487 #define BIG64 18446744073709551615ull
   2488 #define BIG32 4294967295ul
   2489 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2490 #if !BIG_OK
   2491   #error "your preprocessor is broken"
   2492 #endif
   2493 #if BIG_OK
   2494 #else
   2495   #error "your preprocessor is broken"
   2496 #endif
   2497 static long long int bignum = -9223372036854775807LL;
   2498 static unsigned long long int ubignum = BIG64;
   2499 
   2500 struct incomplete_array
   2501 {
   2502   int datasize;
   2503   double data[];
   2504 };
   2505 
   2506 struct named_init {
   2507   int number;
   2508   const wchar_t *name;
   2509   double average;
   2510 };
   2511 
   2512 typedef const char *ccp;
   2513 
   2514 static inline int
   2515 test_restrict (ccp restrict text)
   2516 {
   2517   // Iterate through items via the restricted pointer.
   2518   // Also check for declarations in for loops.
   2519   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2520     continue;
   2521   return 0;
   2522 }
   2523 
   2524 // Check varargs and va_copy.
   2525 static bool
   2526 test_varargs (const char *format, ...)
   2527 {
   2528   va_list args;
   2529   va_start (args, format);
   2530   va_list args_copy;
   2531   va_copy (args_copy, args);
   2532 
   2533   const char *str = "";
   2534   int number = 0;
   2535   float fnumber = 0;
   2536 
   2537   while (*format)
   2538     {
   2539       switch (*format++)
   2540 	{
   2541 	case '\''s'\'': // string
   2542 	  str = va_arg (args_copy, const char *);
   2543 	  break;
   2544 	case '\''d'\'': // int
   2545 	  number = va_arg (args_copy, int);
   2546 	  break;
   2547 	case '\''f'\'': // float
   2548 	  fnumber = va_arg (args_copy, double);
   2549 	  break;
   2550 	default:
   2551 	  break;
   2552 	}
   2553     }
   2554   va_end (args_copy);
   2555   va_end (args);
   2556 
   2557   return *str && number && fnumber;
   2558 }
   2559 '
   2560 
   2561 # Test code for whether the C compiler supports C99 (body of main).
   2562 ac_c_conftest_c99_main='
   2563   // Check bool.
   2564   _Bool success = false;
   2565   success |= (argc != 0);
   2566 
   2567   // Check restrict.
   2568   if (test_restrict ("String literal") == 0)
   2569     success = true;
   2570   char *restrict newvar = "Another string";
   2571 
   2572   // Check varargs.
   2573   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2574   test_varargs_macros ();
   2575 
   2576   // Check flexible array members.
   2577   struct incomplete_array *ia =
   2578     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2579   ia->datasize = 10;
   2580   for (int i = 0; i < ia->datasize; ++i)
   2581     ia->data[i] = i * 1.234;
   2582   // Work around memory leak warnings.
   2583   free (ia);
   2584 
   2585   // Check named initializers.
   2586   struct named_init ni = {
   2587     .number = 34,
   2588     .name = L"Test wide string",
   2589     .average = 543.34343,
   2590   };
   2591 
   2592   ni.number = 58;
   2593 
   2594   int dynamic_array[ni.number];
   2595   dynamic_array[0] = argv[0][0];
   2596   dynamic_array[ni.number - 1] = 543;
   2597 
   2598   // work around unused variable warnings
   2599   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2600 	 || dynamic_array[ni.number - 1] != 543);
   2601 '
   2602 
   2603 # Test code for whether the C compiler supports C11 (global declarations)
   2604 ac_c_conftest_c11_globals='
   2605 /* Does the compiler advertise C11 conformance? */
   2606 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2607 # error "Compiler does not advertise C11 conformance"
   2608 #endif
   2609 
   2610 // Check _Alignas.
   2611 char _Alignas (double) aligned_as_double;
   2612 char _Alignas (0) no_special_alignment;
   2613 extern char aligned_as_int;
   2614 char _Alignas (0) _Alignas (int) aligned_as_int;
   2615 
   2616 // Check _Alignof.
   2617 enum
   2618 {
   2619   int_alignment = _Alignof (int),
   2620   int_array_alignment = _Alignof (int[100]),
   2621   char_alignment = _Alignof (char)
   2622 };
   2623 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2624 
   2625 // Check _Noreturn.
   2626 int _Noreturn does_not_return (void) { for (;;) continue; }
   2627 
   2628 // Check _Static_assert.
   2629 struct test_static_assert
   2630 {
   2631   int x;
   2632   _Static_assert (sizeof (int) <= sizeof (long int),
   2633                   "_Static_assert does not work in struct");
   2634   long int y;
   2635 };
   2636 
   2637 // Check UTF-8 literals.
   2638 #define u8 syntax error!
   2639 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2640 
   2641 // Check duplicate typedefs.
   2642 typedef long *long_ptr;
   2643 typedef long int *long_ptr;
   2644 typedef long_ptr long_ptr;
   2645 
   2646 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2647 struct anonymous
   2648 {
   2649   union {
   2650     struct { int i; int j; };
   2651     struct { int k; long int l; } w;
   2652   };
   2653   int m;
   2654 } v1;
   2655 '
   2656 
   2657 # Test code for whether the C compiler supports C11 (body of main).
   2658 ac_c_conftest_c11_main='
   2659   _Static_assert ((offsetof (struct anonymous, i)
   2660 		   == offsetof (struct anonymous, w.k)),
   2661 		  "Anonymous union alignment botch");
   2662   v1.i = 2;
   2663   v1.w.k = 5;
   2664   ok |= v1.i != 5;
   2665 '
   2666 
   2667 # Test code for whether the C compiler supports C11 (complete).
   2668 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2669 ${ac_c_conftest_c99_globals}
   2670 ${ac_c_conftest_c11_globals}
   2671 
   2672 int
   2673 main (int argc, char **argv)
   2674 {
   2675   int ok = 0;
   2676   ${ac_c_conftest_c89_main}
   2677   ${ac_c_conftest_c99_main}
   2678   ${ac_c_conftest_c11_main}
   2679   return ok;
   2680 }
   2681 "
   2682 
   2683 # Test code for whether the C compiler supports C99 (complete).
   2684 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2685 ${ac_c_conftest_c99_globals}
   2686 
   2687 int
   2688 main (int argc, char **argv)
   2689 {
   2690   int ok = 0;
   2691   ${ac_c_conftest_c89_main}
   2692   ${ac_c_conftest_c99_main}
   2693   return ok;
   2694 }
   2695 "
   2696 
   2697 # Test code for whether the C compiler supports C89 (complete).
   2698 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2699 
   2700 int
   2701 main (int argc, char **argv)
   2702 {
   2703   int ok = 0;
   2704   ${ac_c_conftest_c89_main}
   2705   return ok;
   2706 }
   2707 "
   2708 
   2709 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2710 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2711 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2712 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2713 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2714 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2715 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2716 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2717 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
   2718 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
   2719 
   2720 # Auxiliary files required by this configure script.
   2721 ac_aux_files="config.guess config.sub ltmain.sh missing install-sh compile"
   2722 
   2723 # Locations in which to look for auxiliary files.
   2724 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2725 
   2726 # Search for a directory containing all of the required auxiliary files,
   2727 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2728 # If we don't find one directory that contains all the files we need,
   2729 # we report the set of missing files from the *first* directory in
   2730 # $ac_aux_dir_candidates and give up.
   2731 ac_missing_aux_files=""
   2732 ac_first_candidate=:
   2733 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2735 as_found=false
   2736 for as_dir in $ac_aux_dir_candidates
   2737 do
   2738   IFS=$as_save_IFS
   2739   case $as_dir in #(((
   2740     '') as_dir=./ ;;
   2741     */) ;;
   2742     *) as_dir=$as_dir/ ;;
   2743   esac
   2744   as_found=:
   2745 
   2746   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2747   ac_aux_dir_found=yes
   2748   ac_install_sh=
   2749   for ac_aux in $ac_aux_files
   2750   do
   2751     # As a special case, if "install-sh" is required, that requirement
   2752     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2753     # and $ac_install_sh is set appropriately for whichever one is found.
   2754     if test x"$ac_aux" = x"install-sh"
   2755     then
   2756       if test -f "${as_dir}install-sh"; then
   2757         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2758         ac_install_sh="${as_dir}install-sh -c"
   2759       elif test -f "${as_dir}install.sh"; then
   2760         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2761         ac_install_sh="${as_dir}install.sh -c"
   2762       elif test -f "${as_dir}shtool"; then
   2763         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2764         ac_install_sh="${as_dir}shtool install -c"
   2765       else
   2766         ac_aux_dir_found=no
   2767         if $ac_first_candidate; then
   2768           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2769         else
   2770           break
   2771         fi
   2772       fi
   2773     else
   2774       if test -f "${as_dir}${ac_aux}"; then
   2775         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2776       else
   2777         ac_aux_dir_found=no
   2778         if $ac_first_candidate; then
   2779           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2780         else
   2781           break
   2782         fi
   2783       fi
   2784     fi
   2785   done
   2786   if test "$ac_aux_dir_found" = yes; then
   2787     ac_aux_dir="$as_dir"
   2788     break
   2789   fi
   2790   ac_first_candidate=false
   2791 
   2792   as_found=false
   2793 done
   2794 IFS=$as_save_IFS
   2795 if $as_found
   2796 then :
   2797 
   2798 else case e in #(
   2799   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2800 esac
   2801 fi
   2802 
   2803 
   2804 # These three variables are undocumented and unsupported,
   2805 # and are intended to be withdrawn in a future Autoconf release.
   2806 # They can cause serious problems if a builder's source tree is in a directory
   2807 # whose full name contains unusual characters.
   2808 if test -f "${ac_aux_dir}config.guess"; then
   2809   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2810 fi
   2811 if test -f "${ac_aux_dir}config.sub"; then
   2812   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2813 fi
   2814 if test -f "$ac_aux_dir/configure"; then
   2815   ac_configure="$SHELL ${ac_aux_dir}configure"
   2816 fi
   2817 
   2818 # Check that the precious variables saved in the cache have kept the same
   2819 # value.
   2820 ac_cache_corrupted=false
   2821 for ac_var in $ac_precious_vars; do
   2822   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2823   eval ac_new_set=\$ac_env_${ac_var}_set
   2824   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2825   eval ac_new_val=\$ac_env_${ac_var}_value
   2826   case $ac_old_set,$ac_new_set in
   2827     set,)
   2828       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2829 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2830       ac_cache_corrupted=: ;;
   2831     ,set)
   2832       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2833 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2834       ac_cache_corrupted=: ;;
   2835     ,);;
   2836     *)
   2837       if test "x$ac_old_val" != "x$ac_new_val"; then
   2838 	# differences in whitespace do not lead to failure.
   2839 	ac_old_val_w=`echo x $ac_old_val`
   2840 	ac_new_val_w=`echo x $ac_new_val`
   2841 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2842 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2843 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2844 	  ac_cache_corrupted=:
   2845 	else
   2846 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2847 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2848 	  eval $ac_var=\$ac_old_val
   2849 	fi
   2850 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2851 printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
   2852 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2853 printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
   2854       fi;;
   2855   esac
   2856   # Pass precious variables to config.status.
   2857   if test "$ac_new_set" = set; then
   2858     case $ac_new_val in
   2859     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2860     *) ac_arg=$ac_var=$ac_new_val ;;
   2861     esac
   2862     case " $ac_configure_args " in
   2863       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2864       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2865     esac
   2866   fi
   2867 done
   2868 if $ac_cache_corrupted; then
   2869   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2870 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2871   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2872 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2873   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2874 	    and start over" "$LINENO" 5
   2875 fi
   2876 ## -------------------- ##
   2877 ## Main body of script. ##
   2878 ## -------------------- ##
   2879 
   2880 ac_ext=c
   2881 ac_cpp='$CPP $CPPFLAGS'
   2882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2885 
   2886 
   2887 
   2888 ac_config_headers="$ac_config_headers config.h"
   2889 
   2890 
   2891 
   2892 # Set common system defines for POSIX extensions, such as _GNU_SOURCE
   2893 # Must be called before any macros that run the compiler (like
   2894 # LT_INIT or XORG_DEFAULT_OPTIONS) to avoid autoconf errors.
   2895 
   2896 
   2897 
   2898 
   2899 
   2900 
   2901 
   2902 
   2903 
   2904 
   2905 
   2906 # Expand $ac_aux_dir to an absolute path.
   2907 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2908 
   2909 ac_ext=c
   2910 ac_cpp='$CPP $CPPFLAGS'
   2911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2914 if test -n "$ac_tool_prefix"; then
   2915   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2916 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2918 printf %s "checking for $ac_word... " >&6; }
   2919 if test ${ac_cv_prog_CC+y}
   2920 then :
   2921   printf %s "(cached) " >&6
   2922 else case e in #(
   2923   e) if test -n "$CC"; then
   2924   ac_cv_prog_CC="$CC" # Let the user override the test.
   2925 else
   2926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2927 for as_dir in $PATH
   2928 do
   2929   IFS=$as_save_IFS
   2930   case $as_dir in #(((
   2931     '') as_dir=./ ;;
   2932     */) ;;
   2933     *) as_dir=$as_dir/ ;;
   2934   esac
   2935     for ac_exec_ext in '' $ac_executable_extensions; do
   2936   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2937     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2938     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2939     break 2
   2940   fi
   2941 done
   2942   done
   2943 IFS=$as_save_IFS
   2944 
   2945 fi ;;
   2946 esac
   2947 fi
   2948 CC=$ac_cv_prog_CC
   2949 if test -n "$CC"; then
   2950   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2951 printf "%s\n" "$CC" >&6; }
   2952 else
   2953   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2954 printf "%s\n" "no" >&6; }
   2955 fi
   2956 
   2957 
   2958 fi
   2959 if test -z "$ac_cv_prog_CC"; then
   2960   ac_ct_CC=$CC
   2961   # Extract the first word of "gcc", so it can be a program name with args.
   2962 set dummy gcc; ac_word=$2
   2963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2964 printf %s "checking for $ac_word... " >&6; }
   2965 if test ${ac_cv_prog_ac_ct_CC+y}
   2966 then :
   2967   printf %s "(cached) " >&6
   2968 else case e in #(
   2969   e) if test -n "$ac_ct_CC"; then
   2970   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2971 else
   2972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2973 for as_dir in $PATH
   2974 do
   2975   IFS=$as_save_IFS
   2976   case $as_dir in #(((
   2977     '') as_dir=./ ;;
   2978     */) ;;
   2979     *) as_dir=$as_dir/ ;;
   2980   esac
   2981     for ac_exec_ext in '' $ac_executable_extensions; do
   2982   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2983     ac_cv_prog_ac_ct_CC="gcc"
   2984     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2985     break 2
   2986   fi
   2987 done
   2988   done
   2989 IFS=$as_save_IFS
   2990 
   2991 fi ;;
   2992 esac
   2993 fi
   2994 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2995 if test -n "$ac_ct_CC"; then
   2996   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2997 printf "%s\n" "$ac_ct_CC" >&6; }
   2998 else
   2999   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3000 printf "%s\n" "no" >&6; }
   3001 fi
   3002 
   3003   if test "x$ac_ct_CC" = x; then
   3004     CC=""
   3005   else
   3006     case $cross_compiling:$ac_tool_warned in
   3007 yes:)
   3008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3009 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3010 ac_tool_warned=yes ;;
   3011 esac
   3012     CC=$ac_ct_CC
   3013   fi
   3014 else
   3015   CC="$ac_cv_prog_CC"
   3016 fi
   3017 
   3018 if test -z "$CC"; then
   3019           if test -n "$ac_tool_prefix"; then
   3020     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3021 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3023 printf %s "checking for $ac_word... " >&6; }
   3024 if test ${ac_cv_prog_CC+y}
   3025 then :
   3026   printf %s "(cached) " >&6
   3027 else case e in #(
   3028   e) if test -n "$CC"; then
   3029   ac_cv_prog_CC="$CC" # Let the user override the test.
   3030 else
   3031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3032 for as_dir in $PATH
   3033 do
   3034   IFS=$as_save_IFS
   3035   case $as_dir in #(((
   3036     '') as_dir=./ ;;
   3037     */) ;;
   3038     *) as_dir=$as_dir/ ;;
   3039   esac
   3040     for ac_exec_ext in '' $ac_executable_extensions; do
   3041   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3042     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3043     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3044     break 2
   3045   fi
   3046 done
   3047   done
   3048 IFS=$as_save_IFS
   3049 
   3050 fi ;;
   3051 esac
   3052 fi
   3053 CC=$ac_cv_prog_CC
   3054 if test -n "$CC"; then
   3055   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3056 printf "%s\n" "$CC" >&6; }
   3057 else
   3058   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3059 printf "%s\n" "no" >&6; }
   3060 fi
   3061 
   3062 
   3063   fi
   3064 fi
   3065 if test -z "$CC"; then
   3066   # Extract the first word of "cc", so it can be a program name with args.
   3067 set dummy cc; ac_word=$2
   3068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3069 printf %s "checking for $ac_word... " >&6; }
   3070 if test ${ac_cv_prog_CC+y}
   3071 then :
   3072   printf %s "(cached) " >&6
   3073 else case e in #(
   3074   e) if test -n "$CC"; then
   3075   ac_cv_prog_CC="$CC" # Let the user override the test.
   3076 else
   3077   ac_prog_rejected=no
   3078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3079 for as_dir in $PATH
   3080 do
   3081   IFS=$as_save_IFS
   3082   case $as_dir in #(((
   3083     '') as_dir=./ ;;
   3084     */) ;;
   3085     *) as_dir=$as_dir/ ;;
   3086   esac
   3087     for ac_exec_ext in '' $ac_executable_extensions; do
   3088   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3089     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3090        ac_prog_rejected=yes
   3091        continue
   3092      fi
   3093     ac_cv_prog_CC="cc"
   3094     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3095     break 2
   3096   fi
   3097 done
   3098   done
   3099 IFS=$as_save_IFS
   3100 
   3101 if test $ac_prog_rejected = yes; then
   3102   # We found a bogon in the path, so make sure we never use it.
   3103   set dummy $ac_cv_prog_CC
   3104   shift
   3105   if test $# != 0; then
   3106     # We chose a different compiler from the bogus one.
   3107     # However, it has the same basename, so the bogon will be chosen
   3108     # first if we set CC to just the basename; use the full file name.
   3109     shift
   3110     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3111   fi
   3112 fi
   3113 fi ;;
   3114 esac
   3115 fi
   3116 CC=$ac_cv_prog_CC
   3117 if test -n "$CC"; then
   3118   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3119 printf "%s\n" "$CC" >&6; }
   3120 else
   3121   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3122 printf "%s\n" "no" >&6; }
   3123 fi
   3124 
   3125 
   3126 fi
   3127 if test -z "$CC"; then
   3128   if test -n "$ac_tool_prefix"; then
   3129   for ac_prog in cl.exe
   3130   do
   3131     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3132 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3134 printf %s "checking for $ac_word... " >&6; }
   3135 if test ${ac_cv_prog_CC+y}
   3136 then :
   3137   printf %s "(cached) " >&6
   3138 else case e in #(
   3139   e) if test -n "$CC"; then
   3140   ac_cv_prog_CC="$CC" # Let the user override the test.
   3141 else
   3142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3143 for as_dir in $PATH
   3144 do
   3145   IFS=$as_save_IFS
   3146   case $as_dir in #(((
   3147     '') as_dir=./ ;;
   3148     */) ;;
   3149     *) as_dir=$as_dir/ ;;
   3150   esac
   3151     for ac_exec_ext in '' $ac_executable_extensions; do
   3152   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3153     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3154     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3155     break 2
   3156   fi
   3157 done
   3158   done
   3159 IFS=$as_save_IFS
   3160 
   3161 fi ;;
   3162 esac
   3163 fi
   3164 CC=$ac_cv_prog_CC
   3165 if test -n "$CC"; then
   3166   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3167 printf "%s\n" "$CC" >&6; }
   3168 else
   3169   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3170 printf "%s\n" "no" >&6; }
   3171 fi
   3172 
   3173 
   3174     test -n "$CC" && break
   3175   done
   3176 fi
   3177 if test -z "$CC"; then
   3178   ac_ct_CC=$CC
   3179   for ac_prog in cl.exe
   3180 do
   3181   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3182 set dummy $ac_prog; ac_word=$2
   3183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3184 printf %s "checking for $ac_word... " >&6; }
   3185 if test ${ac_cv_prog_ac_ct_CC+y}
   3186 then :
   3187   printf %s "(cached) " >&6
   3188 else case e in #(
   3189   e) if test -n "$ac_ct_CC"; then
   3190   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3191 else
   3192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3193 for as_dir in $PATH
   3194 do
   3195   IFS=$as_save_IFS
   3196   case $as_dir in #(((
   3197     '') as_dir=./ ;;
   3198     */) ;;
   3199     *) as_dir=$as_dir/ ;;
   3200   esac
   3201     for ac_exec_ext in '' $ac_executable_extensions; do
   3202   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3203     ac_cv_prog_ac_ct_CC="$ac_prog"
   3204     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3205     break 2
   3206   fi
   3207 done
   3208   done
   3209 IFS=$as_save_IFS
   3210 
   3211 fi ;;
   3212 esac
   3213 fi
   3214 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3215 if test -n "$ac_ct_CC"; then
   3216   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3217 printf "%s\n" "$ac_ct_CC" >&6; }
   3218 else
   3219   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3220 printf "%s\n" "no" >&6; }
   3221 fi
   3222 
   3223 
   3224   test -n "$ac_ct_CC" && break
   3225 done
   3226 
   3227   if test "x$ac_ct_CC" = x; then
   3228     CC=""
   3229   else
   3230     case $cross_compiling:$ac_tool_warned in
   3231 yes:)
   3232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3233 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3234 ac_tool_warned=yes ;;
   3235 esac
   3236     CC=$ac_ct_CC
   3237   fi
   3238 fi
   3239 
   3240 fi
   3241 if test -z "$CC"; then
   3242   if test -n "$ac_tool_prefix"; then
   3243   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3244 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3246 printf %s "checking for $ac_word... " >&6; }
   3247 if test ${ac_cv_prog_CC+y}
   3248 then :
   3249   printf %s "(cached) " >&6
   3250 else case e in #(
   3251   e) if test -n "$CC"; then
   3252   ac_cv_prog_CC="$CC" # Let the user override the test.
   3253 else
   3254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3255 for as_dir in $PATH
   3256 do
   3257   IFS=$as_save_IFS
   3258   case $as_dir in #(((
   3259     '') as_dir=./ ;;
   3260     */) ;;
   3261     *) as_dir=$as_dir/ ;;
   3262   esac
   3263     for ac_exec_ext in '' $ac_executable_extensions; do
   3264   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3265     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3266     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3267     break 2
   3268   fi
   3269 done
   3270   done
   3271 IFS=$as_save_IFS
   3272 
   3273 fi ;;
   3274 esac
   3275 fi
   3276 CC=$ac_cv_prog_CC
   3277 if test -n "$CC"; then
   3278   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3279 printf "%s\n" "$CC" >&6; }
   3280 else
   3281   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3282 printf "%s\n" "no" >&6; }
   3283 fi
   3284 
   3285 
   3286 fi
   3287 if test -z "$ac_cv_prog_CC"; then
   3288   ac_ct_CC=$CC
   3289   # Extract the first word of "clang", so it can be a program name with args.
   3290 set dummy clang; ac_word=$2
   3291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3292 printf %s "checking for $ac_word... " >&6; }
   3293 if test ${ac_cv_prog_ac_ct_CC+y}
   3294 then :
   3295   printf %s "(cached) " >&6
   3296 else case e in #(
   3297   e) if test -n "$ac_ct_CC"; then
   3298   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3299 else
   3300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3301 for as_dir in $PATH
   3302 do
   3303   IFS=$as_save_IFS
   3304   case $as_dir in #(((
   3305     '') as_dir=./ ;;
   3306     */) ;;
   3307     *) as_dir=$as_dir/ ;;
   3308   esac
   3309     for ac_exec_ext in '' $ac_executable_extensions; do
   3310   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3311     ac_cv_prog_ac_ct_CC="clang"
   3312     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3313     break 2
   3314   fi
   3315 done
   3316   done
   3317 IFS=$as_save_IFS
   3318 
   3319 fi ;;
   3320 esac
   3321 fi
   3322 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3323 if test -n "$ac_ct_CC"; then
   3324   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3325 printf "%s\n" "$ac_ct_CC" >&6; }
   3326 else
   3327   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3328 printf "%s\n" "no" >&6; }
   3329 fi
   3330 
   3331   if test "x$ac_ct_CC" = x; then
   3332     CC=""
   3333   else
   3334     case $cross_compiling:$ac_tool_warned in
   3335 yes:)
   3336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3337 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3338 ac_tool_warned=yes ;;
   3339 esac
   3340     CC=$ac_ct_CC
   3341   fi
   3342 else
   3343   CC="$ac_cv_prog_CC"
   3344 fi
   3345 
   3346 fi
   3347 
   3348 
   3349 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3350 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3351 as_fn_error $? "no acceptable C compiler found in \$PATH
   3352 See 'config.log' for more details" "$LINENO" 5; }
   3353 
   3354 # Provide some information about the compiler.
   3355 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3356 set X $ac_compile
   3357 ac_compiler=$2
   3358 for ac_option in --version -v -V -qversion -version; do
   3359   { { ac_try="$ac_compiler $ac_option >&5"
   3360 case "(($ac_try" in
   3361   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3362   *) ac_try_echo=$ac_try;;
   3363 esac
   3364 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3365 printf "%s\n" "$ac_try_echo"; } >&5
   3366   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3367   ac_status=$?
   3368   if test -s conftest.err; then
   3369     sed '10a\
   3370 ... rest of stderr output deleted ...
   3371          10q' conftest.err >conftest.er1
   3372     cat conftest.er1 >&5
   3373   fi
   3374   rm -f conftest.er1 conftest.err
   3375   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3376   test $ac_status = 0; }
   3377 done
   3378 
   3379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3380 /* end confdefs.h.  */
   3381 
   3382 int
   3383 main (void)
   3384 {
   3385 
   3386   ;
   3387   return 0;
   3388 }
   3389 _ACEOF
   3390 ac_clean_files_save=$ac_clean_files
   3391 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3392 # Try to create an executable without -o first, disregard a.out.
   3393 # It will help us diagnose broken compilers, and finding out an intuition
   3394 # of exeext.
   3395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3396 printf %s "checking whether the C compiler works... " >&6; }
   3397 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3398 
   3399 # The possible output files:
   3400 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3401 
   3402 ac_rmfiles=
   3403 for ac_file in $ac_files
   3404 do
   3405   case $ac_file in
   3406     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3407     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3408   esac
   3409 done
   3410 rm -f $ac_rmfiles
   3411 
   3412 if { { ac_try="$ac_link_default"
   3413 case "(($ac_try" in
   3414   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3415   *) ac_try_echo=$ac_try;;
   3416 esac
   3417 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3418 printf "%s\n" "$ac_try_echo"; } >&5
   3419   (eval "$ac_link_default") 2>&5
   3420   ac_status=$?
   3421   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3422   test $ac_status = 0; }
   3423 then :
   3424   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   3425 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   3426 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3427 # so that the user can short-circuit this test for compilers unknown to
   3428 # Autoconf.
   3429 for ac_file in $ac_files ''
   3430 do
   3431   test -f "$ac_file" || continue
   3432   case $ac_file in
   3433     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3434 	;;
   3435     [ab].out )
   3436 	# We found the default executable, but exeext='' is most
   3437 	# certainly right.
   3438 	break;;
   3439     *.* )
   3440 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3441 	then :; else
   3442 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3443 	fi
   3444 	# We set ac_cv_exeext here because the later test for it is not
   3445 	# safe: cross compilers may not add the suffix if given an '-o'
   3446 	# argument, so we may need to know it at that point already.
   3447 	# Even if this section looks crufty: it has the advantage of
   3448 	# actually working.
   3449 	break;;
   3450     * )
   3451 	break;;
   3452   esac
   3453 done
   3454 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3455 
   3456 else case e in #(
   3457   e) ac_file='' ;;
   3458 esac
   3459 fi
   3460 if test -z "$ac_file"
   3461 then :
   3462   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3463 printf "%s\n" "no" >&6; }
   3464 printf "%s\n" "$as_me: failed program was:" >&5
   3465 sed 's/^/| /' conftest.$ac_ext >&5
   3466 
   3467 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3468 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3469 as_fn_error 77 "C compiler cannot create executables
   3470 See 'config.log' for more details" "$LINENO" 5; }
   3471 else case e in #(
   3472   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3473 printf "%s\n" "yes" >&6; } ;;
   3474 esac
   3475 fi
   3476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3477 printf %s "checking for C compiler default output file name... " >&6; }
   3478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3479 printf "%s\n" "$ac_file" >&6; }
   3480 ac_exeext=$ac_cv_exeext
   3481 
   3482 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3483 ac_clean_files=$ac_clean_files_save
   3484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3485 printf %s "checking for suffix of executables... " >&6; }
   3486 if { { ac_try="$ac_link"
   3487 case "(($ac_try" in
   3488   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3489   *) ac_try_echo=$ac_try;;
   3490 esac
   3491 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3492 printf "%s\n" "$ac_try_echo"; } >&5
   3493   (eval "$ac_link") 2>&5
   3494   ac_status=$?
   3495   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3496   test $ac_status = 0; }
   3497 then :
   3498   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   3499 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   3500 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   3501 # 'rm'.
   3502 for ac_file in conftest.exe conftest conftest.*; do
   3503   test -f "$ac_file" || continue
   3504   case $ac_file in
   3505     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3506     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3507 	  break;;
   3508     * ) break;;
   3509   esac
   3510 done
   3511 else case e in #(
   3512   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3513 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3514 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3515 See 'config.log' for more details" "$LINENO" 5; } ;;
   3516 esac
   3517 fi
   3518 rm -f conftest conftest$ac_cv_exeext
   3519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3520 printf "%s\n" "$ac_cv_exeext" >&6; }
   3521 
   3522 rm -f conftest.$ac_ext
   3523 EXEEXT=$ac_cv_exeext
   3524 ac_exeext=$EXEEXT
   3525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3526 /* end confdefs.h.  */
   3527 #include <stdio.h>
   3528 int
   3529 main (void)
   3530 {
   3531 FILE *f = fopen ("conftest.out", "w");
   3532  if (!f)
   3533   return 1;
   3534  return ferror (f) || fclose (f) != 0;
   3535 
   3536   ;
   3537   return 0;
   3538 }
   3539 _ACEOF
   3540 ac_clean_files="$ac_clean_files conftest.out"
   3541 # Check that the compiler produces executables we can run.  If not, either
   3542 # the compiler is broken, or we cross compile.
   3543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3544 printf %s "checking whether we are cross compiling... " >&6; }
   3545 if test "$cross_compiling" != yes; then
   3546   { { ac_try="$ac_link"
   3547 case "(($ac_try" in
   3548   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3549   *) ac_try_echo=$ac_try;;
   3550 esac
   3551 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3552 printf "%s\n" "$ac_try_echo"; } >&5
   3553   (eval "$ac_link") 2>&5
   3554   ac_status=$?
   3555   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3556   test $ac_status = 0; }
   3557   if { ac_try='./conftest$ac_cv_exeext'
   3558   { { case "(($ac_try" in
   3559   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3560   *) ac_try_echo=$ac_try;;
   3561 esac
   3562 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3563 printf "%s\n" "$ac_try_echo"; } >&5
   3564   (eval "$ac_try") 2>&5
   3565   ac_status=$?
   3566   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3567   test $ac_status = 0; }; }; then
   3568     cross_compiling=no
   3569   else
   3570     if test "$cross_compiling" = maybe; then
   3571 	cross_compiling=yes
   3572     else
   3573 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3574 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3575 as_fn_error 77 "cannot run C compiled programs.
   3576 If you meant to cross compile, use '--host'.
   3577 See 'config.log' for more details" "$LINENO" 5; }
   3578     fi
   3579   fi
   3580 fi
   3581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3582 printf "%s\n" "$cross_compiling" >&6; }
   3583 
   3584 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   3585   conftest.o conftest.obj conftest.out
   3586 ac_clean_files=$ac_clean_files_save
   3587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3588 printf %s "checking for suffix of object files... " >&6; }
   3589 if test ${ac_cv_objext+y}
   3590 then :
   3591   printf %s "(cached) " >&6
   3592 else case e in #(
   3593   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3594 /* end confdefs.h.  */
   3595 
   3596 int
   3597 main (void)
   3598 {
   3599 
   3600   ;
   3601   return 0;
   3602 }
   3603 _ACEOF
   3604 rm -f conftest.o conftest.obj
   3605 if { { ac_try="$ac_compile"
   3606 case "(($ac_try" in
   3607   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3608   *) ac_try_echo=$ac_try;;
   3609 esac
   3610 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3611 printf "%s\n" "$ac_try_echo"; } >&5
   3612   (eval "$ac_compile") 2>&5
   3613   ac_status=$?
   3614   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3615   test $ac_status = 0; }
   3616 then :
   3617   for ac_file in conftest.o conftest.obj conftest.*; do
   3618   test -f "$ac_file" || continue;
   3619   case $ac_file in
   3620     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3621     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3622        break;;
   3623   esac
   3624 done
   3625 else case e in #(
   3626   e) printf "%s\n" "$as_me: failed program was:" >&5
   3627 sed 's/^/| /' conftest.$ac_ext >&5
   3628 
   3629 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3630 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3631 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3632 See 'config.log' for more details" "$LINENO" 5; } ;;
   3633 esac
   3634 fi
   3635 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   3636 esac
   3637 fi
   3638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3639 printf "%s\n" "$ac_cv_objext" >&6; }
   3640 OBJEXT=$ac_cv_objext
   3641 ac_objext=$OBJEXT
   3642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   3643 printf %s "checking whether the compiler supports GNU C... " >&6; }
   3644 if test ${ac_cv_c_compiler_gnu+y}
   3645 then :
   3646   printf %s "(cached) " >&6
   3647 else case e in #(
   3648   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3649 /* end confdefs.h.  */
   3650 
   3651 int
   3652 main (void)
   3653 {
   3654 #ifndef __GNUC__
   3655        choke me
   3656 #endif
   3657 
   3658   ;
   3659   return 0;
   3660 }
   3661 _ACEOF
   3662 if ac_fn_c_try_compile "$LINENO"
   3663 then :
   3664   ac_compiler_gnu=yes
   3665 else case e in #(
   3666   e) ac_compiler_gnu=no ;;
   3667 esac
   3668 fi
   3669 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3670 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3671  ;;
   3672 esac
   3673 fi
   3674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3675 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   3676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3677 
   3678 if test $ac_compiler_gnu = yes; then
   3679   GCC=yes
   3680 else
   3681   GCC=
   3682 fi
   3683 ac_test_CFLAGS=${CFLAGS+y}
   3684 ac_save_CFLAGS=$CFLAGS
   3685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3686 printf %s "checking whether $CC accepts -g... " >&6; }
   3687 if test ${ac_cv_prog_cc_g+y}
   3688 then :
   3689   printf %s "(cached) " >&6
   3690 else case e in #(
   3691   e) ac_save_c_werror_flag=$ac_c_werror_flag
   3692    ac_c_werror_flag=yes
   3693    ac_cv_prog_cc_g=no
   3694    CFLAGS="-g"
   3695    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3696 /* end confdefs.h.  */
   3697 
   3698 int
   3699 main (void)
   3700 {
   3701 
   3702   ;
   3703   return 0;
   3704 }
   3705 _ACEOF
   3706 if ac_fn_c_try_compile "$LINENO"
   3707 then :
   3708   ac_cv_prog_cc_g=yes
   3709 else case e in #(
   3710   e) CFLAGS=""
   3711       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3712 /* end confdefs.h.  */
   3713 
   3714 int
   3715 main (void)
   3716 {
   3717 
   3718   ;
   3719   return 0;
   3720 }
   3721 _ACEOF
   3722 if ac_fn_c_try_compile "$LINENO"
   3723 then :
   3724 
   3725 else case e in #(
   3726   e) ac_c_werror_flag=$ac_save_c_werror_flag
   3727 	 CFLAGS="-g"
   3728 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3729 /* end confdefs.h.  */
   3730 
   3731 int
   3732 main (void)
   3733 {
   3734 
   3735   ;
   3736   return 0;
   3737 }
   3738 _ACEOF
   3739 if ac_fn_c_try_compile "$LINENO"
   3740 then :
   3741   ac_cv_prog_cc_g=yes
   3742 fi
   3743 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   3744 esac
   3745 fi
   3746 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   3747 esac
   3748 fi
   3749 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3750    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   3751 esac
   3752 fi
   3753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3754 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   3755 if test $ac_test_CFLAGS; then
   3756   CFLAGS=$ac_save_CFLAGS
   3757 elif test $ac_cv_prog_cc_g = yes; then
   3758   if test "$GCC" = yes; then
   3759     CFLAGS="-g -O2"
   3760   else
   3761     CFLAGS="-g"
   3762   fi
   3763 else
   3764   if test "$GCC" = yes; then
   3765     CFLAGS="-O2"
   3766   else
   3767     CFLAGS=
   3768   fi
   3769 fi
   3770 ac_prog_cc_stdc=no
   3771 if test x$ac_prog_cc_stdc = xno
   3772 then :
   3773   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   3774 printf %s "checking for $CC option to enable C11 features... " >&6; }
   3775 if test ${ac_cv_prog_cc_c11+y}
   3776 then :
   3777   printf %s "(cached) " >&6
   3778 else case e in #(
   3779   e) ac_cv_prog_cc_c11=no
   3780 ac_save_CC=$CC
   3781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3782 /* end confdefs.h.  */
   3783 $ac_c_conftest_c11_program
   3784 _ACEOF
   3785 for ac_arg in '' -std=gnu11
   3786 do
   3787   CC="$ac_save_CC $ac_arg"
   3788   if ac_fn_c_try_compile "$LINENO"
   3789 then :
   3790   ac_cv_prog_cc_c11=$ac_arg
   3791 fi
   3792 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3793   test "x$ac_cv_prog_cc_c11" != "xno" && break
   3794 done
   3795 rm -f conftest.$ac_ext
   3796 CC=$ac_save_CC ;;
   3797 esac
   3798 fi
   3799 
   3800 if test "x$ac_cv_prog_cc_c11" = xno
   3801 then :
   3802   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3803 printf "%s\n" "unsupported" >&6; }
   3804 else case e in #(
   3805   e) if test "x$ac_cv_prog_cc_c11" = x
   3806 then :
   3807   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3808 printf "%s\n" "none needed" >&6; }
   3809 else case e in #(
   3810   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   3811 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   3812      CC="$CC $ac_cv_prog_cc_c11" ;;
   3813 esac
   3814 fi
   3815   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   3816   ac_prog_cc_stdc=c11 ;;
   3817 esac
   3818 fi
   3819 fi
   3820 if test x$ac_prog_cc_stdc = xno
   3821 then :
   3822   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   3823 printf %s "checking for $CC option to enable C99 features... " >&6; }
   3824 if test ${ac_cv_prog_cc_c99+y}
   3825 then :
   3826   printf %s "(cached) " >&6
   3827 else case e in #(
   3828   e) ac_cv_prog_cc_c99=no
   3829 ac_save_CC=$CC
   3830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3831 /* end confdefs.h.  */
   3832 $ac_c_conftest_c99_program
   3833 _ACEOF
   3834 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   3835 do
   3836   CC="$ac_save_CC $ac_arg"
   3837   if ac_fn_c_try_compile "$LINENO"
   3838 then :
   3839   ac_cv_prog_cc_c99=$ac_arg
   3840 fi
   3841 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3842   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3843 done
   3844 rm -f conftest.$ac_ext
   3845 CC=$ac_save_CC ;;
   3846 esac
   3847 fi
   3848 
   3849 if test "x$ac_cv_prog_cc_c99" = xno
   3850 then :
   3851   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3852 printf "%s\n" "unsupported" >&6; }
   3853 else case e in #(
   3854   e) if test "x$ac_cv_prog_cc_c99" = x
   3855 then :
   3856   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3857 printf "%s\n" "none needed" >&6; }
   3858 else case e in #(
   3859   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3860 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   3861      CC="$CC $ac_cv_prog_cc_c99" ;;
   3862 esac
   3863 fi
   3864   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   3865   ac_prog_cc_stdc=c99 ;;
   3866 esac
   3867 fi
   3868 fi
   3869 if test x$ac_prog_cc_stdc = xno
   3870 then :
   3871   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   3872 printf %s "checking for $CC option to enable C89 features... " >&6; }
   3873 if test ${ac_cv_prog_cc_c89+y}
   3874 then :
   3875   printf %s "(cached) " >&6
   3876 else case e in #(
   3877   e) ac_cv_prog_cc_c89=no
   3878 ac_save_CC=$CC
   3879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3880 /* end confdefs.h.  */
   3881 $ac_c_conftest_c89_program
   3882 _ACEOF
   3883 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3884 do
   3885   CC="$ac_save_CC $ac_arg"
   3886   if ac_fn_c_try_compile "$LINENO"
   3887 then :
   3888   ac_cv_prog_cc_c89=$ac_arg
   3889 fi
   3890 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3891   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3892 done
   3893 rm -f conftest.$ac_ext
   3894 CC=$ac_save_CC ;;
   3895 esac
   3896 fi
   3897 
   3898 if test "x$ac_cv_prog_cc_c89" = xno
   3899 then :
   3900   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3901 printf "%s\n" "unsupported" >&6; }
   3902 else case e in #(
   3903   e) if test "x$ac_cv_prog_cc_c89" = x
   3904 then :
   3905   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3906 printf "%s\n" "none needed" >&6; }
   3907 else case e in #(
   3908   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3909 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   3910      CC="$CC $ac_cv_prog_cc_c89" ;;
   3911 esac
   3912 fi
   3913   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   3914   ac_prog_cc_stdc=c89 ;;
   3915 esac
   3916 fi
   3917 fi
   3918 
   3919 ac_ext=c
   3920 ac_cpp='$CPP $CPPFLAGS'
   3921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3924 
   3925 
   3926   ac_ext=c
   3927 ac_cpp='$CPP $CPPFLAGS'
   3928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3932 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   3933 if test ${am_cv_prog_cc_c_o+y}
   3934 then :
   3935   printf %s "(cached) " >&6
   3936 else case e in #(
   3937   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3938 /* end confdefs.h.  */
   3939 
   3940 int
   3941 main (void)
   3942 {
   3943 
   3944   ;
   3945   return 0;
   3946 }
   3947 _ACEOF
   3948   # Make sure it works both with $CC and with simple cc.
   3949   # Following AC_PROG_CC_C_O, we do the test twice because some
   3950   # compilers refuse to overwrite an existing .o file with -o,
   3951   # though they will create one.
   3952   am_cv_prog_cc_c_o=yes
   3953   for am_i in 1 2; do
   3954     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3955    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3956    ac_status=$?
   3957    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3958    (exit $ac_status); } \
   3959          && test -f conftest2.$ac_objext; then
   3960       : OK
   3961     else
   3962       am_cv_prog_cc_c_o=no
   3963       break
   3964     fi
   3965   done
   3966   rm -f core conftest*
   3967   unset am_i ;;
   3968 esac
   3969 fi
   3970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3971 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   3972 if test "$am_cv_prog_cc_c_o" != yes; then
   3973    # Losing compiler, so override with the script.
   3974    # FIXME: It is wrong to rewrite CC.
   3975    # But if we don't then we get into trouble of one sort or another.
   3976    # A longer-term fix would be to have automake use am__CC in this case,
   3977    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3978    CC="$am_aux_dir/compile $CC"
   3979 fi
   3980 ac_ext=c
   3981 ac_cpp='$CPP $CPPFLAGS'
   3982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3985 
   3986 
   3987 
   3988 ac_header= ac_cache=
   3989 for ac_item in $ac_header_c_list
   3990 do
   3991   if test $ac_cache; then
   3992     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   3993     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   3994       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   3995     fi
   3996     ac_header= ac_cache=
   3997   elif test $ac_header; then
   3998     ac_cache=$ac_item
   3999   else
   4000     ac_header=$ac_item
   4001   fi
   4002 done
   4003 
   4004 
   4005 
   4006 
   4007 
   4008 
   4009 
   4010 
   4011 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4012 then :
   4013 
   4014 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4015 
   4016 fi
   4017 
   4018 
   4019 
   4020 
   4021 
   4022 
   4023   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   4024 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   4025 if test ${ac_cv_safe_to_define___extensions__+y}
   4026 then :
   4027   printf %s "(cached) " >&6
   4028 else case e in #(
   4029   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4030 /* end confdefs.h.  */
   4031 
   4032 #         define __EXTENSIONS__ 1
   4033           $ac_includes_default
   4034 int
   4035 main (void)
   4036 {
   4037 
   4038   ;
   4039   return 0;
   4040 }
   4041 _ACEOF
   4042 if ac_fn_c_try_compile "$LINENO"
   4043 then :
   4044   ac_cv_safe_to_define___extensions__=yes
   4045 else case e in #(
   4046   e) ac_cv_safe_to_define___extensions__=no ;;
   4047 esac
   4048 fi
   4049 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4050 esac
   4051 fi
   4052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   4053 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
   4054 
   4055   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
   4056 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
   4057 if test ${ac_cv_should_define__xopen_source+y}
   4058 then :
   4059   printf %s "(cached) " >&6
   4060 else case e in #(
   4061   e) ac_cv_should_define__xopen_source=no
   4062     if test $ac_cv_header_wchar_h = yes
   4063 then :
   4064   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4065 /* end confdefs.h.  */
   4066 
   4067           #include <wchar.h>
   4068           mbstate_t x;
   4069 int
   4070 main (void)
   4071 {
   4072 
   4073   ;
   4074   return 0;
   4075 }
   4076 _ACEOF
   4077 if ac_fn_c_try_compile "$LINENO"
   4078 then :
   4079 
   4080 else case e in #(
   4081   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4082 /* end confdefs.h.  */
   4083 
   4084             #define _XOPEN_SOURCE 500
   4085             #include <wchar.h>
   4086             mbstate_t x;
   4087 int
   4088 main (void)
   4089 {
   4090 
   4091   ;
   4092   return 0;
   4093 }
   4094 _ACEOF
   4095 if ac_fn_c_try_compile "$LINENO"
   4096 then :
   4097   ac_cv_should_define__xopen_source=yes
   4098 fi
   4099 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4100 esac
   4101 fi
   4102 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4103 fi ;;
   4104 esac
   4105 fi
   4106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
   4107 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
   4108 
   4109   printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
   4110 
   4111   printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
   4112 
   4113   printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
   4114 
   4115   printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
   4116 
   4117   printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
   4118 
   4119   printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
   4120 
   4121   printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   4122 
   4123   printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
   4124 
   4125   printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
   4126 
   4127   printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
   4128 
   4129   printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h
   4130 
   4131   printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
   4132 
   4133   printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
   4134 
   4135   printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
   4136 
   4137   printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
   4138 
   4139   printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
   4140 
   4141   if test $ac_cv_header_minix_config_h = yes
   4142 then :
   4143   MINIX=yes
   4144     printf "%s\n" "#define _MINIX 1" >>confdefs.h
   4145 
   4146     printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
   4147 
   4148     printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
   4149 
   4150 else case e in #(
   4151   e) MINIX= ;;
   4152 esac
   4153 fi
   4154   if test $ac_cv_safe_to_define___extensions__ = yes
   4155 then :
   4156   printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
   4157 
   4158 fi
   4159   if test $ac_cv_should_define__xopen_source = yes
   4160 then :
   4161   printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
   4162 
   4163 fi
   4164 
   4165 
   4166 # Initialize Automake
   4167 am__api_version='1.17'
   4168 
   4169 
   4170   # Find a good install program.  We prefer a C program (faster),
   4171 # so one script is as good as another.  But avoid the broken or
   4172 # incompatible versions:
   4173 # SysV /etc/install, /usr/sbin/install
   4174 # SunOS /usr/etc/install
   4175 # IRIX /sbin/install
   4176 # AIX /bin/install
   4177 # AmigaOS /C/install, which installs bootblocks on floppy discs
   4178 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   4179 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   4180 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   4181 # OS/2's system install, which has a completely different semantic
   4182 # ./install, which can be erroneously created by make from ./install.sh.
   4183 # Reject install programs that cannot install multiple files.
   4184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   4185 printf %s "checking for a BSD-compatible install... " >&6; }
   4186 if test -z "$INSTALL"; then
   4187 if test ${ac_cv_path_install+y}
   4188 then :
   4189   printf %s "(cached) " >&6
   4190 else case e in #(
   4191   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4192 for as_dir in $PATH
   4193 do
   4194   IFS=$as_save_IFS
   4195   case $as_dir in #(((
   4196     '') as_dir=./ ;;
   4197     */) ;;
   4198     *) as_dir=$as_dir/ ;;
   4199   esac
   4200     # Account for fact that we put trailing slashes in our PATH walk.
   4201 case $as_dir in #((
   4202   ./ | /[cC]/* | \
   4203   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   4204   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   4205   /usr/ucb/* ) ;;
   4206   *)
   4207     # OSF1 and SCO ODT 3.0 have their own names for install.
   4208     # Don't use installbsd from OSF since it installs stuff as root
   4209     # by default.
   4210     for ac_prog in ginstall scoinst install; do
   4211       for ac_exec_ext in '' $ac_executable_extensions; do
   4212 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   4213 	  if test $ac_prog = install &&
   4214 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4215 	    # AIX install.  It has an incompatible calling convention.
   4216 	    :
   4217 	  elif test $ac_prog = install &&
   4218 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4219 	    # program-specific install script used by HP pwplus--don't use.
   4220 	    :
   4221 	  else
   4222 	    rm -rf conftest.one conftest.two conftest.dir
   4223 	    echo one > conftest.one
   4224 	    echo two > conftest.two
   4225 	    mkdir conftest.dir
   4226 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   4227 	      test -s conftest.one && test -s conftest.two &&
   4228 	      test -s conftest.dir/conftest.one &&
   4229 	      test -s conftest.dir/conftest.two
   4230 	    then
   4231 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   4232 	      break 3
   4233 	    fi
   4234 	  fi
   4235 	fi
   4236       done
   4237     done
   4238     ;;
   4239 esac
   4240 
   4241   done
   4242 IFS=$as_save_IFS
   4243 
   4244 rm -rf conftest.one conftest.two conftest.dir
   4245  ;;
   4246 esac
   4247 fi
   4248   if test ${ac_cv_path_install+y}; then
   4249     INSTALL=$ac_cv_path_install
   4250   else
   4251     # As a last resort, use the slow shell script.  Don't cache a
   4252     # value for INSTALL within a source directory, because that will
   4253     # break other packages using the cache if that directory is
   4254     # removed, or if the value is a relative name.
   4255     INSTALL=$ac_install_sh
   4256   fi
   4257 fi
   4258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   4259 printf "%s\n" "$INSTALL" >&6; }
   4260 
   4261 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   4262 # It thinks the first close brace ends the variable substitution.
   4263 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   4264 
   4265 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   4266 
   4267 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   4268 
   4269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
   4270 printf %s "checking whether sleep supports fractional seconds... " >&6; }
   4271 if test ${am_cv_sleep_fractional_seconds+y}
   4272 then :
   4273   printf %s "(cached) " >&6
   4274 else case e in #(
   4275   e) if sleep 0.001 2>/dev/null
   4276 then :
   4277   am_cv_sleep_fractional_seconds=yes
   4278 else case e in #(
   4279   e) am_cv_sleep_fractional_seconds=no ;;
   4280 esac
   4281 fi
   4282  ;;
   4283 esac
   4284 fi
   4285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
   4286 printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
   4287 
   4288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
   4289 printf %s "checking filesystem timestamp resolution... " >&6; }
   4290 if test ${am_cv_filesystem_timestamp_resolution+y}
   4291 then :
   4292   printf %s "(cached) " >&6
   4293 else case e in #(
   4294   e) # Default to the worst case.
   4295 am_cv_filesystem_timestamp_resolution=2
   4296 
   4297 # Only try to go finer than 1 sec if sleep can do it.
   4298 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
   4299 # - 1 sec is not much of a win compared to 2 sec, and
   4300 # - it takes 2 seconds to perform the test whether 1 sec works.
   4301 #
   4302 # Instead, just use the default 2s on platforms that have 1s resolution,
   4303 # accept the extra 1s delay when using $sleep in the Automake tests, in
   4304 # exchange for not incurring the 2s delay for running the test for all
   4305 # packages.
   4306 #
   4307 am_try_resolutions=
   4308 if test "$am_cv_sleep_fractional_seconds" = yes; then
   4309   # Even a millisecond often causes a bunch of false positives,
   4310   # so just try a hundredth of a second. The time saved between .001 and
   4311   # .01 is not terribly consequential.
   4312   am_try_resolutions="0.01 0.1 $am_try_resolutions"
   4313 fi
   4314 
   4315 # In order to catch current-generation FAT out, we must *modify* files
   4316 # that already exist; the *creation* timestamp is finer.  Use names
   4317 # that make ls -t sort them differently when they have equal
   4318 # timestamps than when they have distinct timestamps, keeping
   4319 # in mind that ls -t prints the *newest* file first.
   4320 rm -f conftest.ts?
   4321 : > conftest.ts1
   4322 : > conftest.ts2
   4323 : > conftest.ts3
   4324 
   4325 # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
   4326 # clobber the current shell's arguments. (Outer-level square brackets
   4327 # are removed by m4; they're present so that m4 does not expand
   4328 # <dollar><star>; be careful, easy to get confused.)
   4329 if (
   4330      set X `ls -t conftest.ts[12]` &&
   4331      {
   4332        test "$*" != "X conftest.ts1 conftest.ts2" ||
   4333        test "$*" != "X conftest.ts2 conftest.ts1";
   4334      }
   4335 ); then :; else
   4336   # If neither matched, then we have a broken ls.  This can happen
   4337   # if, for instance, CONFIG_SHELL is bash and it inherits a
   4338   # broken ls alias from the environment.  This has actually
   4339   # happened.  Such a system could not be considered "sane".
   4340   printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
   4341   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4342 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4343 as_fn_error $? "ls -t produces unexpected output.
   4344 Make sure there is not a broken ls alias in your environment.
   4345 See 'config.log' for more details" "$LINENO" 5; }
   4346 fi
   4347 
   4348 for am_try_res in $am_try_resolutions; do
   4349   # Any one fine-grained sleep might happen to cross the boundary
   4350   # between two values of a coarser actual resolution, but if we do
   4351   # two fine-grained sleeps in a row, at least one of them will fall
   4352   # entirely within a coarse interval.
   4353   echo alpha > conftest.ts1
   4354   sleep $am_try_res
   4355   echo beta > conftest.ts2
   4356   sleep $am_try_res
   4357   echo gamma > conftest.ts3
   4358 
   4359   # We assume that 'ls -t' will make use of high-resolution
   4360   # timestamps if the operating system supports them at all.
   4361   if (set X `ls -t conftest.ts?` &&
   4362       test "$2" = conftest.ts3 &&
   4363       test "$3" = conftest.ts2 &&
   4364       test "$4" = conftest.ts1); then
   4365     #
   4366     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
   4367     # because we don't need to test make.
   4368     make_ok=true
   4369     if test $am_try_res != 1; then
   4370       # But if we've succeeded so far with a subsecond resolution, we
   4371       # have one more thing to check: make. It can happen that
   4372       # everything else supports the subsecond mtimes, but make doesn't;
   4373       # notably on macOS, which ships make 3.81 from 2006 (the last one
   4374       # released under GPLv2). https://bugs.gnu.org/68808
   4375       #
   4376       # We test $MAKE if it is defined in the environment, else "make".
   4377       # It might get overridden later, but our hope is that in practice
   4378       # it does not matter: it is the system "make" which is (by far)
   4379       # the most likely to be broken, whereas if the user overrides it,
   4380       # probably they did so with a better, or at least not worse, make.
   4381       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
   4382       #
   4383       # Create a Makefile (real tab character here):
   4384       rm -f conftest.mk
   4385       echo 'conftest.ts1: conftest.ts2' >conftest.mk
   4386       echo '	touch conftest.ts2' >>conftest.mk
   4387       #
   4388       # Now, running
   4389       #   touch conftest.ts1; touch conftest.ts2; make
   4390       # should touch ts1 because ts2 is newer. This could happen by luck,
   4391       # but most often, it will fail if make's support is insufficient. So
   4392       # test for several consecutive successes.
   4393       #
   4394       # (We reuse conftest.ts[12] because we still want to modify existing
   4395       # files, not create new ones, per above.)
   4396       n=0
   4397       make=${MAKE-make}
   4398       until test $n -eq 3; do
   4399         echo one > conftest.ts1
   4400         sleep $am_try_res
   4401         echo two > conftest.ts2 # ts2 should now be newer than ts1
   4402         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
   4403           make_ok=false
   4404           break # out of $n loop
   4405         fi
   4406         n=`expr $n + 1`
   4407       done
   4408     fi
   4409     #
   4410     if $make_ok; then
   4411       # Everything we know to check worked out, so call this resolution good.
   4412       am_cv_filesystem_timestamp_resolution=$am_try_res
   4413       break # out of $am_try_res loop
   4414     fi
   4415     # Otherwise, we'll go on to check the next resolution.
   4416   fi
   4417 done
   4418 rm -f conftest.ts?
   4419 # (end _am_filesystem_timestamp_resolution)
   4420  ;;
   4421 esac
   4422 fi
   4423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
   4424 printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
   4425 
   4426 # This check should not be cached, as it may vary across builds of
   4427 # different projects.
   4428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   4429 printf %s "checking whether build environment is sane... " >&6; }
   4430 # Reject unsafe characters in $srcdir or the absolute working directory
   4431 # name.  Accept space and tab only in the latter.
   4432 am_lf='
   4433 '
   4434 case `pwd` in
   4435   *[\\\"\#\$\&\'\`$am_lf]*)
   4436     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   4437 esac
   4438 case $srcdir in
   4439   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   4440     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   4441 esac
   4442 
   4443 # Do 'set' in a subshell so we don't clobber the current shell's
   4444 # arguments.  Must try -L first in case configure is actually a
   4445 # symlink; some systems play weird games with the mod time of symlinks
   4446 # (eg FreeBSD returns the mod time of the symlink's containing
   4447 # directory).
   4448 am_build_env_is_sane=no
   4449 am_has_slept=no
   4450 rm -f conftest.file
   4451 for am_try in 1 2; do
   4452   echo "timestamp, slept: $am_has_slept" > conftest.file
   4453   if (
   4454     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   4455     if test "$*" = "X"; then
   4456       # -L didn't work.
   4457       set X `ls -t "$srcdir/configure" conftest.file`
   4458     fi
   4459     test "$2" = conftest.file
   4460   ); then
   4461     am_build_env_is_sane=yes
   4462     break
   4463   fi
   4464   # Just in case.
   4465   sleep "$am_cv_filesystem_timestamp_resolution"
   4466   am_has_slept=yes
   4467 done
   4468 
   4469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
   4470 printf "%s\n" "$am_build_env_is_sane" >&6; }
   4471 if test "$am_build_env_is_sane" = no; then
   4472   as_fn_error $? "newly created file is older than distributed files!
   4473 Check your system clock" "$LINENO" 5
   4474 fi
   4475 
   4476 # If we didn't sleep, we still need to ensure time stamps of config.status and
   4477 # generated files are strictly newer.
   4478 am_sleep_pid=
   4479 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
   4480 then :
   4481 
   4482 else case e in #(
   4483   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
   4484   am_sleep_pid=$!
   4485  ;;
   4486 esac
   4487 fi
   4488 
   4489 rm -f conftest.file
   4490 
   4491 test "$program_prefix" != NONE &&
   4492   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   4493 # Use a double $ so make ignores it.
   4494 test "$program_suffix" != NONE &&
   4495   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   4496 # Double any \ or $.
   4497 # By default was 's,x,x', remove it if useless.
   4498 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   4499 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   4500 
   4501 
   4502   if test x"${MISSING+set}" != xset; then
   4503   MISSING="\${SHELL} '$am_aux_dir/missing'"
   4504 fi
   4505 # Use eval to expand $SHELL
   4506 if eval "$MISSING --is-lightweight"; then
   4507   am_missing_run="$MISSING "
   4508 else
   4509   am_missing_run=
   4510   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   4511 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   4512 fi
   4513 
   4514 if test x"${install_sh+set}" != xset; then
   4515   case $am_aux_dir in
   4516   *\ * | *\	*)
   4517     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   4518   *)
   4519     install_sh="\${SHELL} $am_aux_dir/install-sh"
   4520   esac
   4521 fi
   4522 
   4523 # Installed binaries are usually stripped using 'strip' when the user
   4524 # run "make install-strip".  However 'strip' might not be the right
   4525 # tool to use in cross-compilation environments, therefore Automake
   4526 # will honor the 'STRIP' environment variable to overrule this program.
   4527 if test "$cross_compiling" != no; then
   4528   if test -n "$ac_tool_prefix"; then
   4529   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   4530 set dummy ${ac_tool_prefix}strip; ac_word=$2
   4531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4532 printf %s "checking for $ac_word... " >&6; }
   4533 if test ${ac_cv_prog_STRIP+y}
   4534 then :
   4535   printf %s "(cached) " >&6
   4536 else case e in #(
   4537   e) if test -n "$STRIP"; then
   4538   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   4539 else
   4540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4541 for as_dir in $PATH
   4542 do
   4543   IFS=$as_save_IFS
   4544   case $as_dir in #(((
   4545     '') as_dir=./ ;;
   4546     */) ;;
   4547     *) as_dir=$as_dir/ ;;
   4548   esac
   4549     for ac_exec_ext in '' $ac_executable_extensions; do
   4550   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4551     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   4552     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4553     break 2
   4554   fi
   4555 done
   4556   done
   4557 IFS=$as_save_IFS
   4558 
   4559 fi ;;
   4560 esac
   4561 fi
   4562 STRIP=$ac_cv_prog_STRIP
   4563 if test -n "$STRIP"; then
   4564   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   4565 printf "%s\n" "$STRIP" >&6; }
   4566 else
   4567   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4568 printf "%s\n" "no" >&6; }
   4569 fi
   4570 
   4571 
   4572 fi
   4573 if test -z "$ac_cv_prog_STRIP"; then
   4574   ac_ct_STRIP=$STRIP
   4575   # Extract the first word of "strip", so it can be a program name with args.
   4576 set dummy strip; ac_word=$2
   4577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4578 printf %s "checking for $ac_word... " >&6; }
   4579 if test ${ac_cv_prog_ac_ct_STRIP+y}
   4580 then :
   4581   printf %s "(cached) " >&6
   4582 else case e in #(
   4583   e) if test -n "$ac_ct_STRIP"; then
   4584   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   4585 else
   4586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4587 for as_dir in $PATH
   4588 do
   4589   IFS=$as_save_IFS
   4590   case $as_dir in #(((
   4591     '') as_dir=./ ;;
   4592     */) ;;
   4593     *) as_dir=$as_dir/ ;;
   4594   esac
   4595     for ac_exec_ext in '' $ac_executable_extensions; do
   4596   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4597     ac_cv_prog_ac_ct_STRIP="strip"
   4598     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4599     break 2
   4600   fi
   4601 done
   4602   done
   4603 IFS=$as_save_IFS
   4604 
   4605 fi ;;
   4606 esac
   4607 fi
   4608 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   4609 if test -n "$ac_ct_STRIP"; then
   4610   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   4611 printf "%s\n" "$ac_ct_STRIP" >&6; }
   4612 else
   4613   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4614 printf "%s\n" "no" >&6; }
   4615 fi
   4616 
   4617   if test "x$ac_ct_STRIP" = x; then
   4618     STRIP=":"
   4619   else
   4620     case $cross_compiling:$ac_tool_warned in
   4621 yes:)
   4622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4623 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4624 ac_tool_warned=yes ;;
   4625 esac
   4626     STRIP=$ac_ct_STRIP
   4627   fi
   4628 else
   4629   STRIP="$ac_cv_prog_STRIP"
   4630 fi
   4631 
   4632 fi
   4633 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   4634 
   4635 
   4636   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   4637 printf %s "checking for a race-free mkdir -p... " >&6; }
   4638 if test -z "$MKDIR_P"; then
   4639   if test ${ac_cv_path_mkdir+y}
   4640 then :
   4641   printf %s "(cached) " >&6
   4642 else case e in #(
   4643   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4644 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   4645 do
   4646   IFS=$as_save_IFS
   4647   case $as_dir in #(((
   4648     '') as_dir=./ ;;
   4649     */) ;;
   4650     *) as_dir=$as_dir/ ;;
   4651   esac
   4652     for ac_prog in mkdir gmkdir; do
   4653 	 for ac_exec_ext in '' $ac_executable_extensions; do
   4654 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   4655 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   4656 	     'mkdir ('*'coreutils) '* | \
   4657 	     *'BusyBox '* | \
   4658 	     'mkdir (fileutils) '4.1*)
   4659 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   4660 	       break 3;;
   4661 	   esac
   4662 	 done
   4663        done
   4664   done
   4665 IFS=$as_save_IFS
   4666  ;;
   4667 esac
   4668 fi
   4669 
   4670   test -d ./--version && rmdir ./--version
   4671   if test ${ac_cv_path_mkdir+y}; then
   4672     MKDIR_P="$ac_cv_path_mkdir -p"
   4673   else
   4674     # As a last resort, use plain mkdir -p,
   4675     # in the hope it doesn't have the bugs of ancient mkdir.
   4676     MKDIR_P='mkdir -p'
   4677   fi
   4678 fi
   4679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   4680 printf "%s\n" "$MKDIR_P" >&6; }
   4681 
   4682 for ac_prog in gawk mawk nawk awk
   4683 do
   4684   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4685 set dummy $ac_prog; ac_word=$2
   4686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4687 printf %s "checking for $ac_word... " >&6; }
   4688 if test ${ac_cv_prog_AWK+y}
   4689 then :
   4690   printf %s "(cached) " >&6
   4691 else case e in #(
   4692   e) if test -n "$AWK"; then
   4693   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   4694 else
   4695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4696 for as_dir in $PATH
   4697 do
   4698   IFS=$as_save_IFS
   4699   case $as_dir in #(((
   4700     '') as_dir=./ ;;
   4701     */) ;;
   4702     *) as_dir=$as_dir/ ;;
   4703   esac
   4704     for ac_exec_ext in '' $ac_executable_extensions; do
   4705   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4706     ac_cv_prog_AWK="$ac_prog"
   4707     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4708     break 2
   4709   fi
   4710 done
   4711   done
   4712 IFS=$as_save_IFS
   4713 
   4714 fi ;;
   4715 esac
   4716 fi
   4717 AWK=$ac_cv_prog_AWK
   4718 if test -n "$AWK"; then
   4719   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   4720 printf "%s\n" "$AWK" >&6; }
   4721 else
   4722   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4723 printf "%s\n" "no" >&6; }
   4724 fi
   4725 
   4726 
   4727   test -n "$AWK" && break
   4728 done
   4729 
   4730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4731 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4732 set x ${MAKE-make}
   4733 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4734 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   4735 then :
   4736   printf %s "(cached) " >&6
   4737 else case e in #(
   4738   e) cat >conftest.make <<\_ACEOF
   4739 SHELL = /bin/sh
   4740 all:
   4741 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4742 _ACEOF
   4743 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4744 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4745   *@@@%%%=?*=@@@%%%*)
   4746     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4747   *)
   4748     eval ac_cv_prog_make_${ac_make}_set=no;;
   4749 esac
   4750 rm -f conftest.make ;;
   4751 esac
   4752 fi
   4753 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4754   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4755 printf "%s\n" "yes" >&6; }
   4756   SET_MAKE=
   4757 else
   4758   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4759 printf "%s\n" "no" >&6; }
   4760   SET_MAKE="MAKE=${MAKE-make}"
   4761 fi
   4762 
   4763 rm -rf .tst 2>/dev/null
   4764 mkdir .tst 2>/dev/null
   4765 if test -d .tst; then
   4766   am__leading_dot=.
   4767 else
   4768   am__leading_dot=_
   4769 fi
   4770 rmdir .tst 2>/dev/null
   4771 
   4772 DEPDIR="${am__leading_dot}deps"
   4773 
   4774 ac_config_commands="$ac_config_commands depfiles"
   4775 
   4776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   4777 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   4778 cat > confinc.mk << 'END'
   4779 am__doit:
   4780 	@echo this is the am__doit target >confinc.out
   4781 .PHONY: am__doit
   4782 END
   4783 am__include="#"
   4784 am__quote=
   4785 # BSD make does it like this.
   4786 echo '.include "confinc.mk" # ignored' > confmf.BSD
   4787 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   4788 echo 'include confinc.mk # ignored' > confmf.GNU
   4789 _am_result=no
   4790 for s in GNU BSD; do
   4791   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   4792    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   4793    ac_status=$?
   4794    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4795    (exit $ac_status); }
   4796   case $?:`cat confinc.out 2>/dev/null` in #(
   4797   '0:this is the am__doit target') :
   4798     case $s in #(
   4799   BSD) :
   4800     am__include='.include' am__quote='"' ;; #(
   4801   *) :
   4802     am__include='include' am__quote='' ;;
   4803 esac ;; #(
   4804   *) :
   4805      ;;
   4806 esac
   4807   if test "$am__include" != "#"; then
   4808     _am_result="yes ($s style)"
   4809     break
   4810   fi
   4811 done
   4812 rm -f confinc.* confmf.*
   4813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   4814 printf "%s\n" "${_am_result}" >&6; }
   4815 
   4816 # Check whether --enable-dependency-tracking was given.
   4817 if test ${enable_dependency_tracking+y}
   4818 then :
   4819   enableval=$enable_dependency_tracking;
   4820 fi
   4821 
   4822 if test "x$enable_dependency_tracking" != xno; then
   4823   am_depcomp="$ac_aux_dir/depcomp"
   4824   AMDEPBACKSLASH='\'
   4825   am__nodep='_no'
   4826 fi
   4827  if test "x$enable_dependency_tracking" != xno; then
   4828   AMDEP_TRUE=
   4829   AMDEP_FALSE='#'
   4830 else
   4831   AMDEP_TRUE='#'
   4832   AMDEP_FALSE=
   4833 fi
   4834 
   4835 
   4836 AM_DEFAULT_VERBOSITY=1
   4837 # Check whether --enable-silent-rules was given.
   4838 if test ${enable_silent_rules+y}
   4839 then :
   4840   enableval=$enable_silent_rules;
   4841 fi
   4842 
   4843 am_make=${MAKE-make}
   4844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4845 printf %s "checking whether $am_make supports nested variables... " >&6; }
   4846 if test ${am_cv_make_support_nested_variables+y}
   4847 then :
   4848   printf %s "(cached) " >&6
   4849 else case e in #(
   4850   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   4851 BAR0=false
   4852 BAR1=true
   4853 V=1
   4854 am__doit:
   4855 	@$(TRUE)
   4856 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4857   am_cv_make_support_nested_variables=yes
   4858 else
   4859   am_cv_make_support_nested_variables=no
   4860 fi ;;
   4861 esac
   4862 fi
   4863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4864 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   4865 AM_BACKSLASH='\'
   4866 
   4867 am__rm_f_notfound=
   4868 if (rm -f && rm -fr && rm -rf) 2>/dev/null
   4869 then :
   4870 
   4871 else case e in #(
   4872   e) am__rm_f_notfound='""' ;;
   4873 esac
   4874 fi
   4875 
   4876 
   4877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
   4878 printf %s "checking xargs -n works... " >&6; }
   4879 if test ${am_cv_xargs_n_works+y}
   4880 then :
   4881   printf %s "(cached) " >&6
   4882 else case e in #(
   4883   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
   4884 3"
   4885 then :
   4886   am_cv_xargs_n_works=yes
   4887 else case e in #(
   4888   e) am_cv_xargs_n_works=no ;;
   4889 esac
   4890 fi ;;
   4891 esac
   4892 fi
   4893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
   4894 printf "%s\n" "$am_cv_xargs_n_works" >&6; }
   4895 if test "$am_cv_xargs_n_works" = yes
   4896 then :
   4897   am__xargs_n='xargs -n'
   4898 else case e in #(
   4899   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
   4900  ;;
   4901 esac
   4902 fi
   4903 
   4904 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4905   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4906   # is not polluted with repeated "-I."
   4907   am__isrc=' -I$(srcdir)'
   4908   # test to see if srcdir already configured
   4909   if test -f $srcdir/config.status; then
   4910     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4911   fi
   4912 fi
   4913 
   4914 # test whether we have cygpath
   4915 if test -z "$CYGPATH_W"; then
   4916   if (cygpath --version) >/dev/null 2>/dev/null; then
   4917     CYGPATH_W='cygpath -w'
   4918   else
   4919     CYGPATH_W=echo
   4920   fi
   4921 fi
   4922 
   4923 
   4924 # Define the identity of the package.
   4925  PACKAGE='libICE'
   4926  VERSION='1.1.2'
   4927 
   4928 
   4929 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   4930 
   4931 
   4932 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   4933 
   4934 # Some tools Automake needs.
   4935 
   4936 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4937 
   4938 
   4939 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4940 
   4941 
   4942 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4943 
   4944 
   4945 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4946 
   4947 
   4948 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4949 
   4950 # For better backward compatibility.  To be removed once Automake 1.9.x
   4951 # dies out for good.  For more background, see:
   4952 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4953 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4954 mkdir_p='$(MKDIR_P)'
   4955 
   4956 # We need awk for the "check" target (and possibly the TAP driver).  The
   4957 # system "awk" is bad on some platforms.
   4958 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4959 # in the wild :-(  We should find a proper way to deprecate it ...
   4960 AMTAR='$${TAR-tar}'
   4961 
   4962 
   4963 # We'll loop over all known methods to create a tar archive until one works.
   4964 _am_tools='gnutar  pax cpio none'
   4965 
   4966 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   4967 
   4968 
   4969 
   4970 
   4971 
   4972 depcc="$CC"   am_compiler_list=
   4973 
   4974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4975 printf %s "checking dependency style of $depcc... " >&6; }
   4976 if test ${am_cv_CC_dependencies_compiler_type+y}
   4977 then :
   4978   printf %s "(cached) " >&6
   4979 else case e in #(
   4980   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4981   # We make a subdir and do the tests there.  Otherwise we can end up
   4982   # making bogus files that we don't know about and never remove.  For
   4983   # instance it was reported that on HP-UX the gcc test will end up
   4984   # making a dummy file named 'D' -- because '-MD' means "put the output
   4985   # in D".
   4986   rm -rf conftest.dir
   4987   mkdir conftest.dir
   4988   # Copy depcomp to subdir because otherwise we won't find it if we're
   4989   # using a relative directory.
   4990   cp "$am_depcomp" conftest.dir
   4991   cd conftest.dir
   4992   # We will build objects and dependencies in a subdirectory because
   4993   # it helps to detect inapplicable dependency modes.  For instance
   4994   # both Tru64's cc and ICC support -MD to output dependencies as a
   4995   # side effect of compilation, but ICC will put the dependencies in
   4996   # the current directory while Tru64 will put them in the object
   4997   # directory.
   4998   mkdir sub
   4999 
   5000   am_cv_CC_dependencies_compiler_type=none
   5001   if test "$am_compiler_list" = ""; then
   5002      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5003   fi
   5004   am__universal=false
   5005   case " $depcc " in #(
   5006      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5007      esac
   5008 
   5009   for depmode in $am_compiler_list; do
   5010     # Setup a source with many dependencies, because some compilers
   5011     # like to wrap large dependency lists on column 80 (with \), and
   5012     # we should not choose a depcomp mode which is confused by this.
   5013     #
   5014     # We need to recreate these files for each test, as the compiler may
   5015     # overwrite some of them when testing with obscure command lines.
   5016     # This happens at least with the AIX C compiler.
   5017     : > sub/conftest.c
   5018     for i in 1 2 3 4 5 6; do
   5019       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5020       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   5021       # Solaris 10 /bin/sh.
   5022       echo '/* dummy */' > sub/conftst$i.h
   5023     done
   5024     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5025 
   5026     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   5027     # mode.  It turns out that the SunPro C++ compiler does not properly
   5028     # handle '-M -o', and we need to detect this.  Also, some Intel
   5029     # versions had trouble with output in subdirs.
   5030     am__obj=sub/conftest.${OBJEXT-o}
   5031     am__minus_obj="-o $am__obj"
   5032     case $depmode in
   5033     gcc)
   5034       # This depmode causes a compiler race in universal mode.
   5035       test "$am__universal" = false || continue
   5036       ;;
   5037     nosideeffect)
   5038       # After this tag, mechanisms are not by side-effect, so they'll
   5039       # only be used when explicitly requested.
   5040       if test "x$enable_dependency_tracking" = xyes; then
   5041 	continue
   5042       else
   5043 	break
   5044       fi
   5045       ;;
   5046     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   5047       # This compiler won't grok '-c -o', but also, the minuso test has
   5048       # not run yet.  These depmodes are late enough in the game, and
   5049       # so weak that their functioning should not be impacted.
   5050       am__obj=conftest.${OBJEXT-o}
   5051       am__minus_obj=
   5052       ;;
   5053     none) break ;;
   5054     esac
   5055     if depmode=$depmode \
   5056        source=sub/conftest.c object=$am__obj \
   5057        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5058        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5059          >/dev/null 2>conftest.err &&
   5060        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5061        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5062        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5063        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5064       # icc doesn't choke on unknown options, it will just issue warnings
   5065       # or remarks (even with -Werror).  So we grep stderr for any message
   5066       # that says an option was ignored or not supported.
   5067       # When given -MP, icc 7.0 and 7.1 complain thus:
   5068       #   icc: Command line warning: ignoring option '-M'; no argument required
   5069       # The diagnosis changed in icc 8.0:
   5070       #   icc: Command line remark: option '-MP' not supported
   5071       if (grep 'ignoring option' conftest.err ||
   5072           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5073         am_cv_CC_dependencies_compiler_type=$depmode
   5074         break
   5075       fi
   5076     fi
   5077   done
   5078 
   5079   cd ..
   5080   rm -rf conftest.dir
   5081 else
   5082   am_cv_CC_dependencies_compiler_type=none
   5083 fi
   5084  ;;
   5085 esac
   5086 fi
   5087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   5088 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   5089 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   5090 
   5091  if
   5092   test "x$enable_dependency_tracking" != xno \
   5093   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   5094   am__fastdepCC_TRUE=
   5095   am__fastdepCC_FALSE='#'
   5096 else
   5097   am__fastdepCC_TRUE='#'
   5098   am__fastdepCC_FALSE=
   5099 fi
   5100 
   5101 
   5102 # Variables for tags utilities; see am/tags.am
   5103 if test -z "$CTAGS"; then
   5104   CTAGS=ctags
   5105 fi
   5106 
   5107 if test -z "$ETAGS"; then
   5108   ETAGS=etags
   5109 fi
   5110 
   5111 if test -z "$CSCOPE"; then
   5112   CSCOPE=cscope
   5113 fi
   5114 
   5115 
   5116 
   5117 
   5118 
   5119 
   5120 
   5121 
   5122 # Initialize libtool
   5123 case `pwd` in
   5124   *\ * | *\	*)
   5125     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5126 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5127 esac
   5128 
   5129 
   5130 
   5131 macro_version='2.5.4'
   5132 macro_revision='2.5.4'
   5133 
   5134 
   5135 
   5136 
   5137 
   5138 
   5139 
   5140 
   5141 
   5142 
   5143 
   5144 
   5145 
   5146 
   5147 ltmain=$ac_aux_dir/ltmain.sh
   5148 
   5149 
   5150 
   5151   # Make sure we can run config.sub.
   5152 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   5153   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   5154 
   5155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   5156 printf %s "checking build system type... " >&6; }
   5157 if test ${ac_cv_build+y}
   5158 then :
   5159   printf %s "(cached) " >&6
   5160 else case e in #(
   5161   e) ac_build_alias=$build_alias
   5162 test "x$ac_build_alias" = x &&
   5163   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   5164 test "x$ac_build_alias" = x &&
   5165   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   5166 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   5167   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   5168  ;;
   5169 esac
   5170 fi
   5171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   5172 printf "%s\n" "$ac_cv_build" >&6; }
   5173 case $ac_cv_build in
   5174 *-*-*) ;;
   5175 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   5176 esac
   5177 build=$ac_cv_build
   5178 ac_save_IFS=$IFS; IFS='-'
   5179 set x $ac_cv_build
   5180 shift
   5181 build_cpu=$1
   5182 build_vendor=$2
   5183 shift; shift
   5184 # Remember, the first character of IFS is used to create $*,
   5185 # except with old shells:
   5186 build_os=$*
   5187 IFS=$ac_save_IFS
   5188 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   5189 
   5190 
   5191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   5192 printf %s "checking host system type... " >&6; }
   5193 if test ${ac_cv_host+y}
   5194 then :
   5195   printf %s "(cached) " >&6
   5196 else case e in #(
   5197   e) if test "x$host_alias" = x; then
   5198   ac_cv_host=$ac_cv_build
   5199 else
   5200   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   5201     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   5202 fi
   5203  ;;
   5204 esac
   5205 fi
   5206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   5207 printf "%s\n" "$ac_cv_host" >&6; }
   5208 case $ac_cv_host in
   5209 *-*-*) ;;
   5210 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   5211 esac
   5212 host=$ac_cv_host
   5213 ac_save_IFS=$IFS; IFS='-'
   5214 set x $ac_cv_host
   5215 shift
   5216 host_cpu=$1
   5217 host_vendor=$2
   5218 shift; shift
   5219 # Remember, the first character of IFS is used to create $*,
   5220 # except with old shells:
   5221 host_os=$*
   5222 IFS=$ac_save_IFS
   5223 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   5224 
   5225 
   5226 # Backslashify metacharacters that are still active within
   5227 # double-quoted strings.
   5228 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   5229 
   5230 # Same as above, but do not quote variable references.
   5231 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   5232 
   5233 # Sed substitution to delay expansion of an escaped shell variable in a
   5234 # double_quote_subst'ed string.
   5235 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   5236 
   5237 # Sed substitution to delay expansion of an escaped single quote.
   5238 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   5239 
   5240 # Sed substitution to avoid accidental globbing in evaled expressions
   5241 no_glob_subst='s/\*/\\\*/g'
   5242 
   5243 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   5244 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   5245 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   5246 
   5247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   5248 printf %s "checking how to print strings... " >&6; }
   5249 # Test print first, because it will be a builtin if present.
   5250 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   5251    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   5252   ECHO='print -r --'
   5253 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   5254   ECHO='printf %s\n'
   5255 else
   5256   # Use this function as a fallback that always works.
   5257   func_fallback_echo ()
   5258   {
   5259     eval 'cat <<_LTECHO_EOF
   5260 $1
   5261 _LTECHO_EOF'
   5262   }
   5263   ECHO='func_fallback_echo'
   5264 fi
   5265 
   5266 # func_echo_all arg...
   5267 # Invoke $ECHO with all args, space-separated.
   5268 func_echo_all ()
   5269 {
   5270     $ECHO ""
   5271 }
   5272 
   5273 case $ECHO in
   5274   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   5275 printf "%s\n" "printf" >&6; } ;;
   5276   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   5277 printf "%s\n" "print -r" >&6; } ;;
   5278   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   5279 printf "%s\n" "cat" >&6; } ;;
   5280 esac
   5281 
   5282 
   5283 
   5284 
   5285 
   5286 
   5287 
   5288 
   5289 
   5290 
   5291 
   5292 
   5293 
   5294 
   5295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5296 printf %s "checking for a sed that does not truncate output... " >&6; }
   5297 if test ${ac_cv_path_SED+y}
   5298 then :
   5299   printf %s "(cached) " >&6
   5300 else case e in #(
   5301   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5302      for ac_i in 1 2 3 4 5 6 7; do
   5303        ac_script="$ac_script$as_nl$ac_script"
   5304      done
   5305      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5306      { ac_script=; unset ac_script;}
   5307      if test -z "$SED"; then
   5308   ac_path_SED_found=false
   5309   # Loop through the user's path and test for each of PROGNAME-LIST
   5310   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5311 for as_dir in $PATH
   5312 do
   5313   IFS=$as_save_IFS
   5314   case $as_dir in #(((
   5315     '') as_dir=./ ;;
   5316     */) ;;
   5317     *) as_dir=$as_dir/ ;;
   5318   esac
   5319     for ac_prog in sed gsed
   5320    do
   5321     for ac_exec_ext in '' $ac_executable_extensions; do
   5322       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5323       as_fn_executable_p "$ac_path_SED" || continue
   5324 # Check for GNU ac_path_SED and select it if it is found.
   5325   # Check for GNU $ac_path_SED
   5326 case `"$ac_path_SED" --version 2>&1` in #(
   5327 *GNU*)
   5328   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5329 #(
   5330 *)
   5331   ac_count=0
   5332   printf %s 0123456789 >"conftest.in"
   5333   while :
   5334   do
   5335     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5336     mv "conftest.tmp" "conftest.in"
   5337     cp "conftest.in" "conftest.nl"
   5338     printf "%s\n" '' >> "conftest.nl"
   5339     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5340     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5341     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5342     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5343       # Best one so far, save it but keep looking for a better one
   5344       ac_cv_path_SED="$ac_path_SED"
   5345       ac_path_SED_max=$ac_count
   5346     fi
   5347     # 10*(2^10) chars as input seems more than enough
   5348     test $ac_count -gt 10 && break
   5349   done
   5350   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5351 esac
   5352 
   5353       $ac_path_SED_found && break 3
   5354     done
   5355   done
   5356   done
   5357 IFS=$as_save_IFS
   5358   if test -z "$ac_cv_path_SED"; then
   5359     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5360   fi
   5361 else
   5362   ac_cv_path_SED=$SED
   5363 fi
   5364  ;;
   5365 esac
   5366 fi
   5367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5368 printf "%s\n" "$ac_cv_path_SED" >&6; }
   5369  SED="$ac_cv_path_SED"
   5370   rm -f conftest.sed
   5371 
   5372 test -z "$SED" && SED=sed
   5373 Xsed="$SED -e 1s/^X//"
   5374 
   5375 
   5376 
   5377 
   5378 
   5379 
   5380 
   5381 
   5382 
   5383 
   5384 
   5385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   5386 printf %s "checking for grep that handles long lines and -e... " >&6; }
   5387 if test ${ac_cv_path_GREP+y}
   5388 then :
   5389   printf %s "(cached) " >&6
   5390 else case e in #(
   5391   e) if test -z "$GREP"; then
   5392   ac_path_GREP_found=false
   5393   # Loop through the user's path and test for each of PROGNAME-LIST
   5394   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5395 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5396 do
   5397   IFS=$as_save_IFS
   5398   case $as_dir in #(((
   5399     '') as_dir=./ ;;
   5400     */) ;;
   5401     *) as_dir=$as_dir/ ;;
   5402   esac
   5403     for ac_prog in grep ggrep
   5404    do
   5405     for ac_exec_ext in '' $ac_executable_extensions; do
   5406       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   5407       as_fn_executable_p "$ac_path_GREP" || continue
   5408 # Check for GNU ac_path_GREP and select it if it is found.
   5409   # Check for GNU $ac_path_GREP
   5410 case `"$ac_path_GREP" --version 2>&1` in #(
   5411 *GNU*)
   5412   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   5413 #(
   5414 *)
   5415   ac_count=0
   5416   printf %s 0123456789 >"conftest.in"
   5417   while :
   5418   do
   5419     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5420     mv "conftest.tmp" "conftest.in"
   5421     cp "conftest.in" "conftest.nl"
   5422     printf "%s\n" 'GREP' >> "conftest.nl"
   5423     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5424     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5425     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5426     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   5427       # Best one so far, save it but keep looking for a better one
   5428       ac_cv_path_GREP="$ac_path_GREP"
   5429       ac_path_GREP_max=$ac_count
   5430     fi
   5431     # 10*(2^10) chars as input seems more than enough
   5432     test $ac_count -gt 10 && break
   5433   done
   5434   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5435 esac
   5436 
   5437       $ac_path_GREP_found && break 3
   5438     done
   5439   done
   5440   done
   5441 IFS=$as_save_IFS
   5442   if test -z "$ac_cv_path_GREP"; then
   5443     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5444   fi
   5445 else
   5446   ac_cv_path_GREP=$GREP
   5447 fi
   5448  ;;
   5449 esac
   5450 fi
   5451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   5452 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   5453  GREP="$ac_cv_path_GREP"
   5454 
   5455 
   5456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   5457 printf %s "checking for egrep... " >&6; }
   5458 if test ${ac_cv_path_EGREP+y}
   5459 then :
   5460   printf %s "(cached) " >&6
   5461 else case e in #(
   5462   e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   5463    then ac_cv_path_EGREP="$GREP -E"
   5464    else
   5465      if test -z "$EGREP"; then
   5466   ac_path_EGREP_found=false
   5467   # Loop through the user's path and test for each of PROGNAME-LIST
   5468   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5469 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5470 do
   5471   IFS=$as_save_IFS
   5472   case $as_dir in #(((
   5473     '') as_dir=./ ;;
   5474     */) ;;
   5475     *) as_dir=$as_dir/ ;;
   5476   esac
   5477     for ac_prog in egrep
   5478    do
   5479     for ac_exec_ext in '' $ac_executable_extensions; do
   5480       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   5481       as_fn_executable_p "$ac_path_EGREP" || continue
   5482 # Check for GNU ac_path_EGREP and select it if it is found.
   5483   # Check for GNU $ac_path_EGREP
   5484 case `"$ac_path_EGREP" --version 2>&1` in #(
   5485 *GNU*)
   5486   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   5487 #(
   5488 *)
   5489   ac_count=0
   5490   printf %s 0123456789 >"conftest.in"
   5491   while :
   5492   do
   5493     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5494     mv "conftest.tmp" "conftest.in"
   5495     cp "conftest.in" "conftest.nl"
   5496     printf "%s\n" 'EGREP' >> "conftest.nl"
   5497     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5498     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5499     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5500     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   5501       # Best one so far, save it but keep looking for a better one
   5502       ac_cv_path_EGREP="$ac_path_EGREP"
   5503       ac_path_EGREP_max=$ac_count
   5504     fi
   5505     # 10*(2^10) chars as input seems more than enough
   5506     test $ac_count -gt 10 && break
   5507   done
   5508   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5509 esac
   5510 
   5511       $ac_path_EGREP_found && break 3
   5512     done
   5513   done
   5514   done
   5515 IFS=$as_save_IFS
   5516   if test -z "$ac_cv_path_EGREP"; then
   5517     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5518   fi
   5519 else
   5520   ac_cv_path_EGREP=$EGREP
   5521 fi
   5522 
   5523    fi ;;
   5524 esac
   5525 fi
   5526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   5527 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   5528  EGREP="$ac_cv_path_EGREP"
   5529 
   5530          EGREP_TRADITIONAL=$EGREP
   5531  ac_cv_path_EGREP_TRADITIONAL=$EGREP
   5532 
   5533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5534 printf %s "checking for fgrep... " >&6; }
   5535 if test ${ac_cv_path_FGREP+y}
   5536 then :
   5537   printf %s "(cached) " >&6
   5538 else case e in #(
   5539   e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5540    then ac_cv_path_FGREP="$GREP -F"
   5541    else
   5542      if test -z "$FGREP"; then
   5543   ac_path_FGREP_found=false
   5544   # Loop through the user's path and test for each of PROGNAME-LIST
   5545   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5546 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5547 do
   5548   IFS=$as_save_IFS
   5549   case $as_dir in #(((
   5550     '') as_dir=./ ;;
   5551     */) ;;
   5552     *) as_dir=$as_dir/ ;;
   5553   esac
   5554     for ac_prog in fgrep
   5555    do
   5556     for ac_exec_ext in '' $ac_executable_extensions; do
   5557       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   5558       as_fn_executable_p "$ac_path_FGREP" || continue
   5559 # Check for GNU ac_path_FGREP and select it if it is found.
   5560   # Check for GNU $ac_path_FGREP
   5561 case `"$ac_path_FGREP" --version 2>&1` in #(
   5562 *GNU*)
   5563   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5564 #(
   5565 *)
   5566   ac_count=0
   5567   printf %s 0123456789 >"conftest.in"
   5568   while :
   5569   do
   5570     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5571     mv "conftest.tmp" "conftest.in"
   5572     cp "conftest.in" "conftest.nl"
   5573     printf "%s\n" 'FGREP' >> "conftest.nl"
   5574     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5575     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5576     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5577     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5578       # Best one so far, save it but keep looking for a better one
   5579       ac_cv_path_FGREP="$ac_path_FGREP"
   5580       ac_path_FGREP_max=$ac_count
   5581     fi
   5582     # 10*(2^10) chars as input seems more than enough
   5583     test $ac_count -gt 10 && break
   5584   done
   5585   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5586 esac
   5587 
   5588       $ac_path_FGREP_found && break 3
   5589     done
   5590   done
   5591   done
   5592 IFS=$as_save_IFS
   5593   if test -z "$ac_cv_path_FGREP"; then
   5594     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5595   fi
   5596 else
   5597   ac_cv_path_FGREP=$FGREP
   5598 fi
   5599 
   5600    fi ;;
   5601 esac
   5602 fi
   5603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5604 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   5605  FGREP="$ac_cv_path_FGREP"
   5606 
   5607 
   5608 test -z "$GREP" && GREP=grep
   5609 
   5610 
   5611 
   5612 
   5613 
   5614 
   5615 
   5616 
   5617 
   5618 
   5619 
   5620 
   5621 
   5622 
   5623 
   5624 
   5625 
   5626 
   5627 
   5628 # Check whether --with-gnu-ld was given.
   5629 if test ${with_gnu_ld+y}
   5630 then :
   5631   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   5632 else case e in #(
   5633   e) with_gnu_ld=no ;;
   5634 esac
   5635 fi
   5636 
   5637 ac_prog=ld
   5638 if test yes = "$GCC"; then
   5639   # Check if gcc -print-prog-name=ld gives a path.
   5640   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5641 printf %s "checking for ld used by $CC... " >&6; }
   5642   case $host in
   5643   *-*-mingw* | *-*-windows*)
   5644     # gcc leaves a trailing carriage return, which upsets mingw
   5645     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5646   *)
   5647     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5648   esac
   5649   case $ac_prog in
   5650     # Accept absolute paths.
   5651     [\\/]* | ?:[\\/]*)
   5652       re_direlt='/[^/][^/]*/\.\./'
   5653       # Canonicalize the pathname of ld
   5654       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5655       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5656 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5657       done
   5658       test -z "$LD" && LD=$ac_prog
   5659       ;;
   5660   "")
   5661     # If it fails, then pretend we aren't using GCC.
   5662     ac_prog=ld
   5663     ;;
   5664   *)
   5665     # If it is relative, then search for the first ld in PATH.
   5666     with_gnu_ld=unknown
   5667     ;;
   5668   esac
   5669 elif test yes = "$with_gnu_ld"; then
   5670   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5671 printf %s "checking for GNU ld... " >&6; }
   5672 else
   5673   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5674 printf %s "checking for non-GNU ld... " >&6; }
   5675 fi
   5676 if test ${lt_cv_path_LD+y}
   5677 then :
   5678   printf %s "(cached) " >&6
   5679 else case e in #(
   5680   e) if test -z "$LD"; then
   5681   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5682   for ac_dir in $PATH; do
   5683     IFS=$lt_save_ifs
   5684     test -z "$ac_dir" && ac_dir=.
   5685     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5686       lt_cv_path_LD=$ac_dir/$ac_prog
   5687       # Check to see if the program is GNU ld.  I'd rather use --version,
   5688       # but apparently some variants of GNU ld only accept -v.
   5689       # Break only if it was the GNU/non-GNU ld that we prefer.
   5690       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5691       *GNU* | *'with BFD'*)
   5692 	test no != "$with_gnu_ld" && break
   5693 	;;
   5694       *)
   5695 	test yes != "$with_gnu_ld" && break
   5696 	;;
   5697       esac
   5698     fi
   5699   done
   5700   IFS=$lt_save_ifs
   5701 else
   5702   lt_cv_path_LD=$LD # Let the user override the test with a path.
   5703 fi ;;
   5704 esac
   5705 fi
   5706 
   5707 LD=$lt_cv_path_LD
   5708 if test -n "$LD"; then
   5709   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5710 printf "%s\n" "$LD" >&6; }
   5711 else
   5712   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5713 printf "%s\n" "no" >&6; }
   5714 fi
   5715 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5717 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   5718 if test ${lt_cv_prog_gnu_ld+y}
   5719 then :
   5720   printf %s "(cached) " >&6
   5721 else case e in #(
   5722   e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5723 case `$LD -v 2>&1 </dev/null` in
   5724 *GNU* | *'with BFD'*)
   5725   lt_cv_prog_gnu_ld=yes
   5726   ;;
   5727 *)
   5728   lt_cv_prog_gnu_ld=no
   5729   ;;
   5730 esac ;;
   5731 esac
   5732 fi
   5733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5734 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   5735 with_gnu_ld=$lt_cv_prog_gnu_ld
   5736 
   5737 
   5738 
   5739 
   5740 
   5741 
   5742 
   5743 
   5744 
   5745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5746 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5747 if test ${lt_cv_path_NM+y}
   5748 then :
   5749   printf %s "(cached) " >&6
   5750 else case e in #(
   5751   e) if test -n "$NM"; then
   5752   # Let the user override the test.
   5753   lt_cv_path_NM=$NM
   5754 else
   5755   lt_nm_to_check=${ac_tool_prefix}nm
   5756   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5757     lt_nm_to_check="$lt_nm_to_check nm"
   5758   fi
   5759   for lt_tmp_nm in $lt_nm_to_check; do
   5760     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5761     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5762       IFS=$lt_save_ifs
   5763       test -z "$ac_dir" && ac_dir=.
   5764       tmp_nm=$ac_dir/$lt_tmp_nm
   5765       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   5766 	# Check to see if the nm accepts a BSD-compat flag.
   5767 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   5768 	#   nm: unknown option "B" ignored
   5769 	# Tru64's nm complains that /dev/null is an invalid object file
   5770 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   5771 	case $build_os in
   5772 	mingw* | windows*) lt_bad_file=conftest.nm/nofile ;;
   5773 	*) lt_bad_file=/dev/null ;;
   5774 	esac
   5775 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   5776 	*$lt_bad_file* | *'Invalid file or object type'*)
   5777 	  lt_cv_path_NM="$tmp_nm -B"
   5778 	  break 2
   5779 	  ;;
   5780 	*)
   5781 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   5782 	  */dev/null*)
   5783 	    lt_cv_path_NM="$tmp_nm -p"
   5784 	    break 2
   5785 	    ;;
   5786 	  *)
   5787 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5788 	    continue # so that we can try to find one that supports BSD flags
   5789 	    ;;
   5790 	  esac
   5791 	  ;;
   5792 	esac
   5793       fi
   5794     done
   5795     IFS=$lt_save_ifs
   5796   done
   5797   : ${lt_cv_path_NM=no}
   5798 fi ;;
   5799 esac
   5800 fi
   5801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5802 printf "%s\n" "$lt_cv_path_NM" >&6; }
   5803 if test no != "$lt_cv_path_NM"; then
   5804   NM=$lt_cv_path_NM
   5805 else
   5806   # Didn't find any BSD compatible name lister, look for dumpbin.
   5807   if test -n "$DUMPBIN"; then :
   5808     # Let the user override the test.
   5809   else
   5810     if test -n "$ac_tool_prefix"; then
   5811   for ac_prog in dumpbin "link -dump"
   5812   do
   5813     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5814 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5815 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5816 printf %s "checking for $ac_word... " >&6; }
   5817 if test ${ac_cv_prog_DUMPBIN+y}
   5818 then :
   5819   printf %s "(cached) " >&6
   5820 else case e in #(
   5821   e) if test -n "$DUMPBIN"; then
   5822   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5823 else
   5824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5825 for as_dir in $PATH
   5826 do
   5827   IFS=$as_save_IFS
   5828   case $as_dir in #(((
   5829     '') as_dir=./ ;;
   5830     */) ;;
   5831     *) as_dir=$as_dir/ ;;
   5832   esac
   5833     for ac_exec_ext in '' $ac_executable_extensions; do
   5834   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5835     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5836     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5837     break 2
   5838   fi
   5839 done
   5840   done
   5841 IFS=$as_save_IFS
   5842 
   5843 fi ;;
   5844 esac
   5845 fi
   5846 DUMPBIN=$ac_cv_prog_DUMPBIN
   5847 if test -n "$DUMPBIN"; then
   5848   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5849 printf "%s\n" "$DUMPBIN" >&6; }
   5850 else
   5851   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5852 printf "%s\n" "no" >&6; }
   5853 fi
   5854 
   5855 
   5856     test -n "$DUMPBIN" && break
   5857   done
   5858 fi
   5859 if test -z "$DUMPBIN"; then
   5860   ac_ct_DUMPBIN=$DUMPBIN
   5861   for ac_prog in dumpbin "link -dump"
   5862 do
   5863   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5864 set dummy $ac_prog; ac_word=$2
   5865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5866 printf %s "checking for $ac_word... " >&6; }
   5867 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   5868 then :
   5869   printf %s "(cached) " >&6
   5870 else case e in #(
   5871   e) if test -n "$ac_ct_DUMPBIN"; then
   5872   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5873 else
   5874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5875 for as_dir in $PATH
   5876 do
   5877   IFS=$as_save_IFS
   5878   case $as_dir in #(((
   5879     '') as_dir=./ ;;
   5880     */) ;;
   5881     *) as_dir=$as_dir/ ;;
   5882   esac
   5883     for ac_exec_ext in '' $ac_executable_extensions; do
   5884   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5885     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5886     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5887     break 2
   5888   fi
   5889 done
   5890   done
   5891 IFS=$as_save_IFS
   5892 
   5893 fi ;;
   5894 esac
   5895 fi
   5896 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5897 if test -n "$ac_ct_DUMPBIN"; then
   5898   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5899 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   5900 else
   5901   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5902 printf "%s\n" "no" >&6; }
   5903 fi
   5904 
   5905 
   5906   test -n "$ac_ct_DUMPBIN" && break
   5907 done
   5908 
   5909   if test "x$ac_ct_DUMPBIN" = x; then
   5910     DUMPBIN=":"
   5911   else
   5912     case $cross_compiling:$ac_tool_warned in
   5913 yes:)
   5914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5915 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5916 ac_tool_warned=yes ;;
   5917 esac
   5918     DUMPBIN=$ac_ct_DUMPBIN
   5919   fi
   5920 fi
   5921 
   5922     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   5923     *COFF*)
   5924       DUMPBIN="$DUMPBIN -symbols -headers"
   5925       ;;
   5926     *)
   5927       DUMPBIN=:
   5928       ;;
   5929     esac
   5930   fi
   5931 
   5932   if test : != "$DUMPBIN"; then
   5933     NM=$DUMPBIN
   5934   fi
   5935 fi
   5936 test -z "$NM" && NM=nm
   5937 
   5938 
   5939 
   5940 
   5941 
   5942 
   5943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5944 printf %s "checking the name lister ($NM) interface... " >&6; }
   5945 if test ${lt_cv_nm_interface+y}
   5946 then :
   5947   printf %s "(cached) " >&6
   5948 else case e in #(
   5949   e) lt_cv_nm_interface="BSD nm"
   5950   echo "int some_variable = 0;" > conftest.$ac_ext
   5951   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5952   (eval "$ac_compile" 2>conftest.err)
   5953   cat conftest.err >&5
   5954   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5955   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5956   cat conftest.err >&5
   5957   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5958   cat conftest.out >&5
   5959   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5960     lt_cv_nm_interface="MS dumpbin"
   5961   fi
   5962   rm -f conftest* ;;
   5963 esac
   5964 fi
   5965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5966 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   5967 
   5968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5969 printf %s "checking whether ln -s works... " >&6; }
   5970 LN_S=$as_ln_s
   5971 if test "$LN_S" = "ln -s"; then
   5972   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5973 printf "%s\n" "yes" >&6; }
   5974 else
   5975   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5976 printf "%s\n" "no, using $LN_S" >&6; }
   5977 fi
   5978 
   5979 # find the maximum length of command line arguments
   5980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5981 printf %s "checking the maximum length of command line arguments... " >&6; }
   5982 if test ${lt_cv_sys_max_cmd_len+y}
   5983 then :
   5984   printf %s "(cached) " >&6
   5985 else case e in #(
   5986   e)   i=0
   5987   teststring=ABCD
   5988 
   5989   case $build_os in
   5990   msdosdjgpp*)
   5991     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5992     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5993     # during glob expansion).  Even if it were fixed, the result of this
   5994     # check would be larger than it should be.
   5995     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5996     ;;
   5997 
   5998   gnu* | ironclad*)
   5999     # Under GNU Hurd and Ironclad, this test is not required because there
   6000     # is no limit to the length of command line arguments.
   6001     # Libtool will interpret -1 as no limit whatsoever
   6002     lt_cv_sys_max_cmd_len=-1;
   6003     ;;
   6004 
   6005   cygwin* | mingw* | windows* | cegcc*)
   6006     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6007     # about 5 minutes as the teststring grows exponentially.
   6008     # Worse, since 9x/ME are not pre-emptively multitasking,
   6009     # you end up with a "frozen" computer, even though with patience
   6010     # the test eventually succeeds (with a max line length of 256k).
   6011     # Instead, let's just punt: use the minimum linelength reported by
   6012     # all of the supported platforms: 8192 (on NT/2K/XP).
   6013     lt_cv_sys_max_cmd_len=8192;
   6014     ;;
   6015 
   6016   mint*)
   6017     # On MiNT this can take a long time and run out of memory.
   6018     lt_cv_sys_max_cmd_len=8192;
   6019     ;;
   6020 
   6021   amigaos*)
   6022     # On AmigaOS with pdksh, this test takes hours, literally.
   6023     # So we just punt and use a minimum line length of 8192.
   6024     lt_cv_sys_max_cmd_len=8192;
   6025     ;;
   6026 
   6027   darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   6028     # This has been around since 386BSD, at least.  Likely further.
   6029     if test -x /sbin/sysctl; then
   6030       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6031     elif test -x /usr/sbin/sysctl; then
   6032       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6033     else
   6034       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6035     fi
   6036     # And add a safety zone
   6037     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6038     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6039     ;;
   6040 
   6041   interix*)
   6042     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6043     lt_cv_sys_max_cmd_len=196608
   6044     ;;
   6045 
   6046   os2*)
   6047     # The test takes a long time on OS/2.
   6048     lt_cv_sys_max_cmd_len=8192
   6049     ;;
   6050 
   6051   osf*)
   6052     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6053     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6054     # nice to cause kernel panics so lets avoid the loop below.
   6055     # First set a reasonable default.
   6056     lt_cv_sys_max_cmd_len=16384
   6057     #
   6058     if test -x /sbin/sysconfig; then
   6059       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6060         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6061       esac
   6062     fi
   6063     ;;
   6064   sco3.2v5*)
   6065     lt_cv_sys_max_cmd_len=102400
   6066     ;;
   6067   sysv5* | sco5v6* | sysv4.2uw2*)
   6068     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6069     if test -n "$kargmax"; then
   6070       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   6071     else
   6072       lt_cv_sys_max_cmd_len=32768
   6073     fi
   6074     ;;
   6075   *)
   6076     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6077     if test -n "$lt_cv_sys_max_cmd_len" && \
   6078        test undefined != "$lt_cv_sys_max_cmd_len"; then
   6079       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6080       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6081     else
   6082       # Make teststring a little bigger before we do anything with it.
   6083       # a 1K string should be a reasonable start.
   6084       for i in 1 2 3 4 5 6 7 8; do
   6085         teststring=$teststring$teststring
   6086       done
   6087       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6088       # If test is not a shell built-in, we'll probably end up computing a
   6089       # maximum length that is only half of the actual maximum length, but
   6090       # we can't tell.
   6091       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   6092 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   6093 	      test 17 != "$i" # 1/2 MB should be enough
   6094       do
   6095         i=`expr $i + 1`
   6096         teststring=$teststring$teststring
   6097       done
   6098       # Only check the string length outside the loop.
   6099       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   6100       teststring=
   6101       # Add a significant safety factor because C++ compilers can tack on
   6102       # massive amounts of additional arguments before passing them to the
   6103       # linker.  It appears as though 1/2 is a usable value.
   6104       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6105     fi
   6106     ;;
   6107   esac
   6108  ;;
   6109 esac
   6110 fi
   6111 
   6112 if test -n "$lt_cv_sys_max_cmd_len"; then
   6113   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   6114 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   6115 else
   6116   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   6117 printf "%s\n" "none" >&6; }
   6118 fi
   6119 max_cmd_len=$lt_cv_sys_max_cmd_len
   6120 
   6121 
   6122 
   6123 
   6124 
   6125 
   6126 : ${CP="cp -f"}
   6127 : ${MV="mv -f"}
   6128 : ${RM="rm -f"}
   6129 
   6130 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   6131   lt_unset=unset
   6132 else
   6133   lt_unset=false
   6134 fi
   6135 
   6136 
   6137 
   6138 
   6139 
   6140 # test EBCDIC or ASCII
   6141 case `echo X|tr X '\101'` in
   6142  A) # ASCII based system
   6143     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   6144   lt_SP2NL='tr \040 \012'
   6145   lt_NL2SP='tr \015\012 \040\040'
   6146   ;;
   6147  *) # EBCDIC based system
   6148   lt_SP2NL='tr \100 \n'
   6149   lt_NL2SP='tr \r\n \100\100'
   6150   ;;
   6151 esac
   6152 
   6153 
   6154 
   6155 
   6156 
   6157 
   6158 
   6159 
   6160 
   6161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   6162 printf %s "checking how to convert $build file names to $host format... " >&6; }
   6163 if test ${lt_cv_to_host_file_cmd+y}
   6164 then :
   6165   printf %s "(cached) " >&6
   6166 else case e in #(
   6167   e) case $host in
   6168   *-*-mingw* )
   6169     case $build in
   6170       *-*-mingw* | *-*-windows* ) # actually msys
   6171         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   6172         ;;
   6173       *-*-cygwin* )
   6174         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   6175         ;;
   6176       * ) # otherwise, assume *nix
   6177         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   6178         ;;
   6179     esac
   6180     ;;
   6181   *-*-cygwin* )
   6182     case $build in
   6183       *-*-mingw* | *-*-windows* ) # actually msys
   6184         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   6185         ;;
   6186       *-*-cygwin* )
   6187         lt_cv_to_host_file_cmd=func_convert_file_noop
   6188         ;;
   6189       * ) # otherwise, assume *nix
   6190         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   6191         ;;
   6192     esac
   6193     ;;
   6194   * ) # unhandled hosts (and "normal" native builds)
   6195     lt_cv_to_host_file_cmd=func_convert_file_noop
   6196     ;;
   6197 esac
   6198  ;;
   6199 esac
   6200 fi
   6201 
   6202 to_host_file_cmd=$lt_cv_to_host_file_cmd
   6203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   6204 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   6205 
   6206 
   6207 
   6208 
   6209 
   6210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   6211 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   6212 if test ${lt_cv_to_tool_file_cmd+y}
   6213 then :
   6214   printf %s "(cached) " >&6
   6215 else case e in #(
   6216   e) #assume ordinary cross tools, or native build.
   6217 lt_cv_to_tool_file_cmd=func_convert_file_noop
   6218 case $host in
   6219   *-*-mingw* | *-*-windows* )
   6220     case $build in
   6221       *-*-mingw* | *-*-windows* ) # actually msys
   6222         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   6223         ;;
   6224     esac
   6225     ;;
   6226 esac
   6227  ;;
   6228 esac
   6229 fi
   6230 
   6231 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   6232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   6233 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   6234 
   6235 
   6236 
   6237 
   6238 
   6239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   6240 printf %s "checking for $LD option to reload object files... " >&6; }
   6241 if test ${lt_cv_ld_reload_flag+y}
   6242 then :
   6243   printf %s "(cached) " >&6
   6244 else case e in #(
   6245   e) lt_cv_ld_reload_flag='-r' ;;
   6246 esac
   6247 fi
   6248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   6249 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   6250 reload_flag=$lt_cv_ld_reload_flag
   6251 case $reload_flag in
   6252 "" | " "*) ;;
   6253 *) reload_flag=" $reload_flag" ;;
   6254 esac
   6255 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6256 case $host_os in
   6257   cygwin* | mingw* | windows* | pw32* | cegcc*)
   6258     if test yes != "$GCC"; then
   6259       reload_cmds=false
   6260     fi
   6261     ;;
   6262   darwin*)
   6263     if test yes = "$GCC"; then
   6264       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   6265     else
   6266       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6267     fi
   6268     ;;
   6269 esac
   6270 
   6271 
   6272 
   6273 
   6274 
   6275 
   6276 
   6277 
   6278 
   6279 # Extract the first word of "file", so it can be a program name with args.
   6280 set dummy file; ac_word=$2
   6281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6282 printf %s "checking for $ac_word... " >&6; }
   6283 if test ${ac_cv_prog_FILECMD+y}
   6284 then :
   6285   printf %s "(cached) " >&6
   6286 else case e in #(
   6287   e) if test -n "$FILECMD"; then
   6288   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   6289 else
   6290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6291 for as_dir in $PATH
   6292 do
   6293   IFS=$as_save_IFS
   6294   case $as_dir in #(((
   6295     '') as_dir=./ ;;
   6296     */) ;;
   6297     *) as_dir=$as_dir/ ;;
   6298   esac
   6299     for ac_exec_ext in '' $ac_executable_extensions; do
   6300   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6301     ac_cv_prog_FILECMD="file"
   6302     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6303     break 2
   6304   fi
   6305 done
   6306   done
   6307 IFS=$as_save_IFS
   6308 
   6309   test -z "$ac_cv_prog_FILECMD" && ac_cv_prog_FILECMD=":"
   6310 fi ;;
   6311 esac
   6312 fi
   6313 FILECMD=$ac_cv_prog_FILECMD
   6314 if test -n "$FILECMD"; then
   6315   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   6316 printf "%s\n" "$FILECMD" >&6; }
   6317 else
   6318   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6319 printf "%s\n" "no" >&6; }
   6320 fi
   6321 
   6322 
   6323 
   6324 
   6325 
   6326 
   6327 
   6328 
   6329 if test -n "$ac_tool_prefix"; then
   6330   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6331 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6333 printf %s "checking for $ac_word... " >&6; }
   6334 if test ${ac_cv_prog_OBJDUMP+y}
   6335 then :
   6336   printf %s "(cached) " >&6
   6337 else case e in #(
   6338   e) if test -n "$OBJDUMP"; then
   6339   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6340 else
   6341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6342 for as_dir in $PATH
   6343 do
   6344   IFS=$as_save_IFS
   6345   case $as_dir in #(((
   6346     '') as_dir=./ ;;
   6347     */) ;;
   6348     *) as_dir=$as_dir/ ;;
   6349   esac
   6350     for ac_exec_ext in '' $ac_executable_extensions; do
   6351   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6352     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6353     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6354     break 2
   6355   fi
   6356 done
   6357   done
   6358 IFS=$as_save_IFS
   6359 
   6360 fi ;;
   6361 esac
   6362 fi
   6363 OBJDUMP=$ac_cv_prog_OBJDUMP
   6364 if test -n "$OBJDUMP"; then
   6365   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   6366 printf "%s\n" "$OBJDUMP" >&6; }
   6367 else
   6368   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6369 printf "%s\n" "no" >&6; }
   6370 fi
   6371 
   6372 
   6373 fi
   6374 if test -z "$ac_cv_prog_OBJDUMP"; then
   6375   ac_ct_OBJDUMP=$OBJDUMP
   6376   # Extract the first word of "objdump", so it can be a program name with args.
   6377 set dummy objdump; ac_word=$2
   6378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6379 printf %s "checking for $ac_word... " >&6; }
   6380 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   6381 then :
   6382   printf %s "(cached) " >&6
   6383 else case e in #(
   6384   e) if test -n "$ac_ct_OBJDUMP"; then
   6385   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6386 else
   6387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6388 for as_dir in $PATH
   6389 do
   6390   IFS=$as_save_IFS
   6391   case $as_dir in #(((
   6392     '') as_dir=./ ;;
   6393     */) ;;
   6394     *) as_dir=$as_dir/ ;;
   6395   esac
   6396     for ac_exec_ext in '' $ac_executable_extensions; do
   6397   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6398     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6399     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6400     break 2
   6401   fi
   6402 done
   6403   done
   6404 IFS=$as_save_IFS
   6405 
   6406 fi ;;
   6407 esac
   6408 fi
   6409 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6410 if test -n "$ac_ct_OBJDUMP"; then
   6411   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6412 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   6413 else
   6414   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6415 printf "%s\n" "no" >&6; }
   6416 fi
   6417 
   6418   if test "x$ac_ct_OBJDUMP" = x; then
   6419     OBJDUMP="false"
   6420   else
   6421     case $cross_compiling:$ac_tool_warned in
   6422 yes:)
   6423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6424 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6425 ac_tool_warned=yes ;;
   6426 esac
   6427     OBJDUMP=$ac_ct_OBJDUMP
   6428   fi
   6429 else
   6430   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6431 fi
   6432 
   6433 test -z "$OBJDUMP" && OBJDUMP=objdump
   6434 
   6435 
   6436 
   6437 
   6438 
   6439 
   6440 
   6441 
   6442 
   6443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6444 printf %s "checking how to recognize dependent libraries... " >&6; }
   6445 if test ${lt_cv_deplibs_check_method+y}
   6446 then :
   6447   printf %s "(cached) " >&6
   6448 else case e in #(
   6449   e) lt_cv_file_magic_cmd='$MAGIC_CMD'
   6450 lt_cv_file_magic_test_file=
   6451 lt_cv_deplibs_check_method='unknown'
   6452 # Need to set the preceding variable on all platforms that support
   6453 # interlibrary dependencies.
   6454 # 'none' -- dependencies not supported.
   6455 # 'unknown' -- same as none, but documents that we really don't know.
   6456 # 'pass_all' -- all dependencies passed with no checks.
   6457 # 'file_magic [[regex]]' -- check by looking for files in library path
   6458 # that responds to the $file_magic_cmd with a given extended regex.
   6459 # If you have 'file' or equivalent on your system and you're not sure
   6460 # whether 'pass_all' will *always* work, you probably want this one.
   6461 
   6462 case $host_os in
   6463 aix[4-9]*)
   6464   lt_cv_deplibs_check_method=pass_all
   6465   ;;
   6466 
   6467 beos*)
   6468   lt_cv_deplibs_check_method=pass_all
   6469   ;;
   6470 
   6471 bsdi[45]*)
   6472   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6473   lt_cv_file_magic_cmd='$FILECMD -L'
   6474   lt_cv_file_magic_test_file=/shlib/libc.so
   6475   ;;
   6476 
   6477 cygwin*)
   6478   # func_win32_libid is a shell function defined in ltmain.sh
   6479   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6480   lt_cv_file_magic_cmd='func_win32_libid'
   6481   ;;
   6482 
   6483 mingw* | windows* | pw32*)
   6484   # Base MSYS/MinGW do not provide the 'file' command needed by
   6485   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6486   # unless we find 'file', for example because we are cross-compiling.
   6487   if ( file / ) >/dev/null 2>&1; then
   6488     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6489     lt_cv_file_magic_cmd='func_win32_libid'
   6490   else
   6491     # Keep this pattern in sync with the one in func_win32_libid.
   6492     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|pe-aarch64)'
   6493     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6494   fi
   6495   ;;
   6496 
   6497 cegcc*)
   6498   # use the weaker test based on 'objdump'. See mingw*.
   6499   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6500   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6501   ;;
   6502 
   6503 darwin* | rhapsody*)
   6504   lt_cv_deplibs_check_method=pass_all
   6505   ;;
   6506 
   6507 freebsd* | dragonfly* | midnightbsd*)
   6508   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6509     case $host_cpu in
   6510     i*86 )
   6511       # Not sure whether the presence of OpenBSD here was a mistake.
   6512       # Let's accept both of them until this is cleared up.
   6513       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6514       lt_cv_file_magic_cmd=$FILECMD
   6515       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6516       ;;
   6517     esac
   6518   else
   6519     lt_cv_deplibs_check_method=pass_all
   6520   fi
   6521   ;;
   6522 
   6523 haiku*)
   6524   lt_cv_deplibs_check_method=pass_all
   6525   ;;
   6526 
   6527 hpux10.20* | hpux11*)
   6528   lt_cv_file_magic_cmd=$FILECMD
   6529   case $host_cpu in
   6530   ia64*)
   6531     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6532     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6533     ;;
   6534   hppa*64*)
   6535     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]'
   6536     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6537     ;;
   6538   *)
   6539     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6540     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6541     ;;
   6542   esac
   6543   ;;
   6544 
   6545 interix[3-9]*)
   6546   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6547   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6548   ;;
   6549 
   6550 irix5* | irix6* | nonstopux*)
   6551   case $LD in
   6552   *-32|*"-32 ") libmagic=32-bit;;
   6553   *-n32|*"-n32 ") libmagic=N32;;
   6554   *-64|*"-64 ") libmagic=64-bit;;
   6555   *) libmagic=never-match;;
   6556   esac
   6557   lt_cv_deplibs_check_method=pass_all
   6558   ;;
   6559 
   6560 # This must be glibc/ELF.
   6561 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   6562   lt_cv_deplibs_check_method=pass_all
   6563   ;;
   6564 
   6565 *-mlibc)
   6566   lt_cv_deplibs_check_method=pass_all
   6567   ;;
   6568 
   6569 netbsd* | netbsdelf*-gnu)
   6570   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6571     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6572   else
   6573     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6574   fi
   6575   ;;
   6576 
   6577 newos6*)
   6578   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6579   lt_cv_file_magic_cmd=$FILECMD
   6580   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6581   ;;
   6582 
   6583 *nto* | *qnx*)
   6584   lt_cv_deplibs_check_method=pass_all
   6585   ;;
   6586 
   6587 openbsd*)
   6588   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   6589     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6590   else
   6591     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6592   fi
   6593   ;;
   6594 
   6595 osf3* | osf4* | osf5*)
   6596   lt_cv_deplibs_check_method=pass_all
   6597   ;;
   6598 
   6599 rdos*)
   6600   lt_cv_deplibs_check_method=pass_all
   6601   ;;
   6602 
   6603 serenity*)
   6604   lt_cv_deplibs_check_method=pass_all
   6605   ;;
   6606 
   6607 solaris*)
   6608   lt_cv_deplibs_check_method=pass_all
   6609   ;;
   6610 
   6611 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6612   lt_cv_deplibs_check_method=pass_all
   6613   ;;
   6614 
   6615 sysv4 | sysv4.3*)
   6616   case $host_vendor in
   6617   motorola)
   6618     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]'
   6619     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6620     ;;
   6621   ncr)
   6622     lt_cv_deplibs_check_method=pass_all
   6623     ;;
   6624   sequent)
   6625     lt_cv_file_magic_cmd='/bin/file'
   6626     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6627     ;;
   6628   sni)
   6629     lt_cv_file_magic_cmd='/bin/file'
   6630     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6631     lt_cv_file_magic_test_file=/lib/libc.so
   6632     ;;
   6633   siemens)
   6634     lt_cv_deplibs_check_method=pass_all
   6635     ;;
   6636   pc)
   6637     lt_cv_deplibs_check_method=pass_all
   6638     ;;
   6639   esac
   6640   ;;
   6641 
   6642 tpf*)
   6643   lt_cv_deplibs_check_method=pass_all
   6644   ;;
   6645 os2*)
   6646   lt_cv_deplibs_check_method=pass_all
   6647   ;;
   6648 esac
   6649  ;;
   6650 esac
   6651 fi
   6652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6653 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   6654 
   6655 file_magic_glob=
   6656 want_nocaseglob=no
   6657 if test "$build" = "$host"; then
   6658   case $host_os in
   6659   mingw* | windows* | pw32*)
   6660     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6661       want_nocaseglob=yes
   6662     else
   6663       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6664     fi
   6665     ;;
   6666   esac
   6667 fi
   6668 
   6669 file_magic_cmd=$lt_cv_file_magic_cmd
   6670 deplibs_check_method=$lt_cv_deplibs_check_method
   6671 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6672 
   6673 
   6674 
   6675 
   6676 
   6677 
   6678 
   6679 
   6680 
   6681 
   6682 
   6683 
   6684 
   6685 
   6686 
   6687 
   6688 
   6689 
   6690 
   6691 
   6692 
   6693 
   6694 if test -n "$ac_tool_prefix"; then
   6695   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6696 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6698 printf %s "checking for $ac_word... " >&6; }
   6699 if test ${ac_cv_prog_DLLTOOL+y}
   6700 then :
   6701   printf %s "(cached) " >&6
   6702 else case e in #(
   6703   e) if test -n "$DLLTOOL"; then
   6704   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6705 else
   6706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6707 for as_dir in $PATH
   6708 do
   6709   IFS=$as_save_IFS
   6710   case $as_dir in #(((
   6711     '') as_dir=./ ;;
   6712     */) ;;
   6713     *) as_dir=$as_dir/ ;;
   6714   esac
   6715     for ac_exec_ext in '' $ac_executable_extensions; do
   6716   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6717     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6718     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6719     break 2
   6720   fi
   6721 done
   6722   done
   6723 IFS=$as_save_IFS
   6724 
   6725 fi ;;
   6726 esac
   6727 fi
   6728 DLLTOOL=$ac_cv_prog_DLLTOOL
   6729 if test -n "$DLLTOOL"; then
   6730   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6731 printf "%s\n" "$DLLTOOL" >&6; }
   6732 else
   6733   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6734 printf "%s\n" "no" >&6; }
   6735 fi
   6736 
   6737 
   6738 fi
   6739 if test -z "$ac_cv_prog_DLLTOOL"; then
   6740   ac_ct_DLLTOOL=$DLLTOOL
   6741   # Extract the first word of "dlltool", so it can be a program name with args.
   6742 set dummy dlltool; ac_word=$2
   6743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6744 printf %s "checking for $ac_word... " >&6; }
   6745 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   6746 then :
   6747   printf %s "(cached) " >&6
   6748 else case e in #(
   6749   e) if test -n "$ac_ct_DLLTOOL"; then
   6750   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6751 else
   6752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6753 for as_dir in $PATH
   6754 do
   6755   IFS=$as_save_IFS
   6756   case $as_dir in #(((
   6757     '') as_dir=./ ;;
   6758     */) ;;
   6759     *) as_dir=$as_dir/ ;;
   6760   esac
   6761     for ac_exec_ext in '' $ac_executable_extensions; do
   6762   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6763     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6764     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6765     break 2
   6766   fi
   6767 done
   6768   done
   6769 IFS=$as_save_IFS
   6770 
   6771 fi ;;
   6772 esac
   6773 fi
   6774 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6775 if test -n "$ac_ct_DLLTOOL"; then
   6776   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6777 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   6778 else
   6779   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6780 printf "%s\n" "no" >&6; }
   6781 fi
   6782 
   6783   if test "x$ac_ct_DLLTOOL" = x; then
   6784     DLLTOOL="false"
   6785   else
   6786     case $cross_compiling:$ac_tool_warned in
   6787 yes:)
   6788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6789 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6790 ac_tool_warned=yes ;;
   6791 esac
   6792     DLLTOOL=$ac_ct_DLLTOOL
   6793   fi
   6794 else
   6795   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6796 fi
   6797 
   6798 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6799 
   6800 
   6801 
   6802 
   6803 
   6804 
   6805 
   6806 
   6807 
   6808 
   6809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6810 printf %s "checking how to associate runtime and link libraries... " >&6; }
   6811 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   6812 then :
   6813   printf %s "(cached) " >&6
   6814 else case e in #(
   6815   e) lt_cv_sharedlib_from_linklib_cmd='unknown'
   6816 
   6817 case $host_os in
   6818 cygwin* | mingw* | windows* | pw32* | cegcc*)
   6819   # two different shell functions defined in ltmain.sh;
   6820   # decide which one to use based on capabilities of $DLLTOOL
   6821   case `$DLLTOOL --help 2>&1` in
   6822   *--identify-strict*)
   6823     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6824     ;;
   6825   *)
   6826     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6827     ;;
   6828   esac
   6829   ;;
   6830 *)
   6831   # fallback: assume linklib IS sharedlib
   6832   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   6833   ;;
   6834 esac
   6835  ;;
   6836 esac
   6837 fi
   6838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6839 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6840 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6841 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6842 
   6843 
   6844 
   6845 
   6846 
   6847 
   6848 
   6849 if test -n "$ac_tool_prefix"; then
   6850   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6851 set dummy ${ac_tool_prefix}ranlib; 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_RANLIB+y}
   6855 then :
   6856   printf %s "(cached) " >&6
   6857 else case e in #(
   6858   e) if test -n "$RANLIB"; then
   6859   ac_cv_prog_RANLIB="$RANLIB" # 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_RANLIB="${ac_tool_prefix}ranlib"
   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 RANLIB=$ac_cv_prog_RANLIB
   6884 if test -n "$RANLIB"; then
   6885   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6886 printf "%s\n" "$RANLIB" >&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_RANLIB"; then
   6895   ac_ct_RANLIB=$RANLIB
   6896   # Extract the first word of "ranlib", so it can be a program name with args.
   6897 set dummy ranlib; 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_RANLIB+y}
   6901 then :
   6902   printf %s "(cached) " >&6
   6903 else case e in #(
   6904   e) if test -n "$ac_ct_RANLIB"; then
   6905   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # 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_RANLIB="ranlib"
   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_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6930 if test -n "$ac_ct_RANLIB"; then
   6931   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6932 printf "%s\n" "$ac_ct_RANLIB" >&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_RANLIB" = x; then
   6939     RANLIB=":"
   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     RANLIB=$ac_ct_RANLIB
   6948   fi
   6949 else
   6950   RANLIB="$ac_cv_prog_RANLIB"
   6951 fi
   6952 
   6953 if test -n "$ac_tool_prefix"; then
   6954   for ac_prog in ar
   6955   do
   6956     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6957 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6959 printf %s "checking for $ac_word... " >&6; }
   6960 if test ${ac_cv_prog_AR+y}
   6961 then :
   6962   printf %s "(cached) " >&6
   6963 else case e in #(
   6964   e) if test -n "$AR"; then
   6965   ac_cv_prog_AR="$AR" # Let the user override the test.
   6966 else
   6967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6968 for as_dir in $PATH
   6969 do
   6970   IFS=$as_save_IFS
   6971   case $as_dir in #(((
   6972     '') as_dir=./ ;;
   6973     */) ;;
   6974     *) as_dir=$as_dir/ ;;
   6975   esac
   6976     for ac_exec_ext in '' $ac_executable_extensions; do
   6977   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6978     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6979     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6980     break 2
   6981   fi
   6982 done
   6983   done
   6984 IFS=$as_save_IFS
   6985 
   6986 fi ;;
   6987 esac
   6988 fi
   6989 AR=$ac_cv_prog_AR
   6990 if test -n "$AR"; then
   6991   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6992 printf "%s\n" "$AR" >&6; }
   6993 else
   6994   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6995 printf "%s\n" "no" >&6; }
   6996 fi
   6997 
   6998 
   6999     test -n "$AR" && break
   7000   done
   7001 fi
   7002 if test -z "$AR"; then
   7003   ac_ct_AR=$AR
   7004   for ac_prog in ar
   7005 do
   7006   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7007 set dummy $ac_prog; ac_word=$2
   7008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7009 printf %s "checking for $ac_word... " >&6; }
   7010 if test ${ac_cv_prog_ac_ct_AR+y}
   7011 then :
   7012   printf %s "(cached) " >&6
   7013 else case e in #(
   7014   e) if test -n "$ac_ct_AR"; then
   7015   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   7016 else
   7017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7018 for as_dir in $PATH
   7019 do
   7020   IFS=$as_save_IFS
   7021   case $as_dir in #(((
   7022     '') as_dir=./ ;;
   7023     */) ;;
   7024     *) as_dir=$as_dir/ ;;
   7025   esac
   7026     for ac_exec_ext in '' $ac_executable_extensions; do
   7027   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7028     ac_cv_prog_ac_ct_AR="$ac_prog"
   7029     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7030     break 2
   7031   fi
   7032 done
   7033   done
   7034 IFS=$as_save_IFS
   7035 
   7036 fi ;;
   7037 esac
   7038 fi
   7039 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   7040 if test -n "$ac_ct_AR"; then
   7041   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   7042 printf "%s\n" "$ac_ct_AR" >&6; }
   7043 else
   7044   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7045 printf "%s\n" "no" >&6; }
   7046 fi
   7047 
   7048 
   7049   test -n "$ac_ct_AR" && break
   7050 done
   7051 
   7052   if test "x$ac_ct_AR" = x; then
   7053     AR="false"
   7054   else
   7055     case $cross_compiling:$ac_tool_warned in
   7056 yes:)
   7057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7058 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7059 ac_tool_warned=yes ;;
   7060 esac
   7061     AR=$ac_ct_AR
   7062   fi
   7063 fi
   7064 
   7065 : ${AR=ar}
   7066 
   7067 
   7068 
   7069 
   7070 
   7071 
   7072 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   7073 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   7074 # higher priority because that's what people were doing historically (setting
   7075 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   7076 # variable obsoleted/removed.
   7077 
   7078 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   7079 lt_ar_flags=$AR_FLAGS
   7080 
   7081 
   7082 
   7083 
   7084 
   7085 
   7086 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   7087 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   7088 
   7089 
   7090 
   7091 
   7092 
   7093 
   7094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   7095 printf %s "checking for archiver @FILE support... " >&6; }
   7096 if test ${lt_cv_ar_at_file+y}
   7097 then :
   7098   printf %s "(cached) " >&6
   7099 else case e in #(
   7100   e) lt_cv_ar_at_file=no
   7101    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7102 /* end confdefs.h.  */
   7103 
   7104 int
   7105 main (void)
   7106 {
   7107 
   7108   ;
   7109   return 0;
   7110 }
   7111 _ACEOF
   7112 if ac_fn_c_try_compile "$LINENO"
   7113 then :
   7114   echo conftest.$ac_objext > conftest.lst
   7115       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   7116       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   7117   (eval $lt_ar_try) 2>&5
   7118   ac_status=$?
   7119   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7120   test $ac_status = 0; }
   7121       if test 0 -eq "$ac_status"; then
   7122 	# Ensure the archiver fails upon bogus file names.
   7123 	rm -f conftest.$ac_objext libconftest.a
   7124 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   7125   (eval $lt_ar_try) 2>&5
   7126   ac_status=$?
   7127   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7128   test $ac_status = 0; }
   7129 	if test 0 -ne "$ac_status"; then
   7130           lt_cv_ar_at_file=@
   7131         fi
   7132       fi
   7133       rm -f conftest.* libconftest.a
   7134 
   7135 fi
   7136 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7137    ;;
   7138 esac
   7139 fi
   7140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   7141 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   7142 
   7143 if test no = "$lt_cv_ar_at_file"; then
   7144   archiver_list_spec=
   7145 else
   7146   archiver_list_spec=$lt_cv_ar_at_file
   7147 fi
   7148 
   7149 
   7150 
   7151 
   7152 
   7153 
   7154 
   7155 if test -n "$ac_tool_prefix"; then
   7156   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   7157 set dummy ${ac_tool_prefix}strip; ac_word=$2
   7158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7159 printf %s "checking for $ac_word... " >&6; }
   7160 if test ${ac_cv_prog_STRIP+y}
   7161 then :
   7162   printf %s "(cached) " >&6
   7163 else case e in #(
   7164   e) if test -n "$STRIP"; then
   7165   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   7166 else
   7167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7168 for as_dir in $PATH
   7169 do
   7170   IFS=$as_save_IFS
   7171   case $as_dir in #(((
   7172     '') as_dir=./ ;;
   7173     */) ;;
   7174     *) as_dir=$as_dir/ ;;
   7175   esac
   7176     for ac_exec_ext in '' $ac_executable_extensions; do
   7177   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7178     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7179     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7180     break 2
   7181   fi
   7182 done
   7183   done
   7184 IFS=$as_save_IFS
   7185 
   7186 fi ;;
   7187 esac
   7188 fi
   7189 STRIP=$ac_cv_prog_STRIP
   7190 if test -n "$STRIP"; then
   7191   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   7192 printf "%s\n" "$STRIP" >&6; }
   7193 else
   7194   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7195 printf "%s\n" "no" >&6; }
   7196 fi
   7197 
   7198 
   7199 fi
   7200 if test -z "$ac_cv_prog_STRIP"; then
   7201   ac_ct_STRIP=$STRIP
   7202   # Extract the first word of "strip", so it can be a program name with args.
   7203 set dummy strip; ac_word=$2
   7204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7205 printf %s "checking for $ac_word... " >&6; }
   7206 if test ${ac_cv_prog_ac_ct_STRIP+y}
   7207 then :
   7208   printf %s "(cached) " >&6
   7209 else case e in #(
   7210   e) if test -n "$ac_ct_STRIP"; then
   7211   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7212 else
   7213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7214 for as_dir in $PATH
   7215 do
   7216   IFS=$as_save_IFS
   7217   case $as_dir in #(((
   7218     '') as_dir=./ ;;
   7219     */) ;;
   7220     *) as_dir=$as_dir/ ;;
   7221   esac
   7222     for ac_exec_ext in '' $ac_executable_extensions; do
   7223   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7224     ac_cv_prog_ac_ct_STRIP="strip"
   7225     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7226     break 2
   7227   fi
   7228 done
   7229   done
   7230 IFS=$as_save_IFS
   7231 
   7232 fi ;;
   7233 esac
   7234 fi
   7235 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7236 if test -n "$ac_ct_STRIP"; then
   7237   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   7238 printf "%s\n" "$ac_ct_STRIP" >&6; }
   7239 else
   7240   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7241 printf "%s\n" "no" >&6; }
   7242 fi
   7243 
   7244   if test "x$ac_ct_STRIP" = x; then
   7245     STRIP=":"
   7246   else
   7247     case $cross_compiling:$ac_tool_warned in
   7248 yes:)
   7249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7250 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7251 ac_tool_warned=yes ;;
   7252 esac
   7253     STRIP=$ac_ct_STRIP
   7254   fi
   7255 else
   7256   STRIP="$ac_cv_prog_STRIP"
   7257 fi
   7258 
   7259 test -z "$STRIP" && STRIP=:
   7260 
   7261 
   7262 
   7263 
   7264 
   7265 
   7266 
   7267 test -z "$RANLIB" && RANLIB=:
   7268 
   7269 
   7270 
   7271 
   7272 
   7273 
   7274 # Determine commands to create old-style static archives.
   7275 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7276 old_postinstall_cmds='chmod 644 $oldlib'
   7277 old_postuninstall_cmds=
   7278 
   7279 if test -n "$RANLIB"; then
   7280   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   7281   old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   7282 fi
   7283 
   7284 case $host_os in
   7285   darwin*)
   7286     lock_old_archive_extraction=yes ;;
   7287   *)
   7288     lock_old_archive_extraction=no ;;
   7289 esac
   7290 
   7291 
   7292 
   7293 
   7294 
   7295 
   7296 
   7297 
   7298 
   7299 
   7300 
   7301 
   7302 
   7303 
   7304 
   7305 
   7306 
   7307 
   7308 
   7309 
   7310 
   7311 
   7312 
   7313 
   7314 
   7315 
   7316 
   7317 
   7318 
   7319 
   7320 
   7321 
   7322 
   7323 
   7324 
   7325 
   7326 
   7327 
   7328 
   7329 # If no C compiler was specified, use CC.
   7330 LTCC=${LTCC-"$CC"}
   7331 
   7332 # If no C compiler flags were specified, use CFLAGS.
   7333 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7334 
   7335 # Allow CC to be a program name with arguments.
   7336 compiler=$CC
   7337 
   7338 
   7339 # Check for command to grab the raw symbol name followed by C symbol from nm.
   7340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   7341 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   7342 if test ${lt_cv_sys_global_symbol_pipe+y}
   7343 then :
   7344   printf %s "(cached) " >&6
   7345 else case e in #(
   7346   e)
   7347 # These are sane defaults that work on at least a few old systems.
   7348 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   7349 
   7350 # Character class describing NM global symbol codes.
   7351 symcode='[BCDEGRST]'
   7352 
   7353 # Regexp to match symbols that can be accessed directly from C.
   7354 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   7355 
   7356 # Define system-specific variables.
   7357 case $host_os in
   7358 aix*)
   7359   symcode='[BCDT]'
   7360   ;;
   7361 cygwin* | mingw* | windows* | pw32* | cegcc*)
   7362   symcode='[ABCDGISTW]'
   7363   ;;
   7364 hpux*)
   7365   if test ia64 = "$host_cpu"; then
   7366     symcode='[ABCDEGRST]'
   7367   fi
   7368   ;;
   7369 irix* | nonstopux*)
   7370   symcode='[BCDEGRST]'
   7371   ;;
   7372 osf*)
   7373   symcode='[BCDEGQRST]'
   7374   ;;
   7375 solaris*)
   7376   symcode='[BCDRT]'
   7377   ;;
   7378 sco3.2v5*)
   7379   symcode='[DT]'
   7380   ;;
   7381 sysv4.2uw2*)
   7382   symcode='[DT]'
   7383   ;;
   7384 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   7385   symcode='[ABDT]'
   7386   ;;
   7387 sysv4)
   7388   symcode='[DFNSTU]'
   7389   ;;
   7390 esac
   7391 
   7392 # If we're using GNU nm, then use its standard symbol codes.
   7393 case `$NM -V 2>&1` in
   7394 *GNU* | *'with BFD'*)
   7395   symcode='[ABCDGIRSTW]' ;;
   7396 esac
   7397 
   7398 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7399   # Gets list of data symbols to import.
   7400   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   7401   # Adjust the below global symbol transforms to fixup imported variables.
   7402   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   7403   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   7404   lt_c_name_lib_hook="\
   7405   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   7406   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   7407 else
   7408   # Disable hooks by default.
   7409   lt_cv_sys_global_symbol_to_import=
   7410   lt_cdecl_hook=
   7411   lt_c_name_hook=
   7412   lt_c_name_lib_hook=
   7413 fi
   7414 
   7415 # Transform an extracted symbol line into a proper C declaration.
   7416 # Some systems (esp. on ia64) link data and code symbols differently,
   7417 # so use this general approach.
   7418 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   7419 $lt_cdecl_hook\
   7420 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   7421 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   7422 
   7423 # Transform an extracted symbol line into symbol name and symbol address
   7424 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   7425 $lt_c_name_hook\
   7426 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7427 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   7428 
   7429 # Transform an extracted symbol line into symbol name with lib prefix and
   7430 # symbol address.
   7431 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   7432 $lt_c_name_lib_hook\
   7433 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7434 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   7435 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   7436 
   7437 # Handle CRLF in mingw tool chain
   7438 opt_cr=
   7439 case $build_os in
   7440 mingw* | windows*)
   7441   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7442   ;;
   7443 esac
   7444 
   7445 # Try without a prefix underscore, then with it.
   7446 for ac_symprfx in "" "_"; do
   7447 
   7448   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7449   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7450 
   7451   # Write the raw and C identifiers.
   7452   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7453     # Fake it for dumpbin and say T for any non-static function,
   7454     # D for any global variable and I for any imported variable.
   7455     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   7456     # which start with @ or ?.
   7457     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7458 "     {last_section=section; section=\$ 3};"\
   7459 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   7460 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7461 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   7462 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   7463 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   7464 "     \$ 0!~/External *\|/{next};"\
   7465 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7466 "     {if(hide[section]) next};"\
   7467 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   7468 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   7469 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   7470 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   7471 "     ' prfx=^$ac_symprfx"
   7472   else
   7473     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7474   fi
   7475   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   7476 
   7477   # Check to see that the pipe works correctly.
   7478   pipe_works=no
   7479 
   7480   rm -f conftest*
   7481   cat > conftest.$ac_ext <<_LT_EOF
   7482 #ifdef __cplusplus
   7483 extern "C" {
   7484 #endif
   7485 char nm_test_var;
   7486 void nm_test_func(void);
   7487 void nm_test_func(void){}
   7488 #ifdef __cplusplus
   7489 }
   7490 #endif
   7491 int main(void){nm_test_var='a';nm_test_func();return(0);}
   7492 _LT_EOF
   7493 
   7494   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7495   (eval $ac_compile) 2>&5
   7496   ac_status=$?
   7497   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7498   test $ac_status = 0; }; then
   7499     # Now try to grab the symbols.
   7500     nlist=conftest.nm
   7501     $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
   7502     if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
   7503       # Try sorting and uniquifying the output.
   7504       if sort "$nlist" | uniq > "$nlist"T; then
   7505 	mv -f "$nlist"T "$nlist"
   7506       else
   7507 	rm -f "$nlist"T
   7508       fi
   7509 
   7510       # Make sure that we snagged all the symbols we need.
   7511       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7512 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7513 	  cat <<_LT_EOF > conftest.$ac_ext
   7514 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   7515 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   7516 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   7517    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   7518 # define LT_DLSYM_CONST
   7519 #elif defined __osf__
   7520 /* This system does not cope well with relocations in const data.  */
   7521 # define LT_DLSYM_CONST
   7522 #else
   7523 # define LT_DLSYM_CONST const
   7524 #endif
   7525 
   7526 #ifdef __cplusplus
   7527 extern "C" {
   7528 #endif
   7529 
   7530 _LT_EOF
   7531 	  # Now generate the symbol file.
   7532 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7533 
   7534 	  cat <<_LT_EOF >> conftest.$ac_ext
   7535 
   7536 /* The mapping between symbol names and symbols.  */
   7537 LT_DLSYM_CONST struct {
   7538   const char *name;
   7539   void       *address;
   7540 }
   7541 lt__PROGRAM__LTX_preloaded_symbols[] =
   7542 {
   7543   { "@PROGRAM@", (void *) 0 },
   7544 _LT_EOF
   7545 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7546 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7547   {0, (void *) 0}
   7548 };
   7549 
   7550 /* This works around a problem in FreeBSD linker */
   7551 #ifdef FREEBSD_WORKAROUND
   7552 static const void *lt_preloaded_setup() {
   7553   return lt__PROGRAM__LTX_preloaded_symbols;
   7554 }
   7555 #endif
   7556 
   7557 #ifdef __cplusplus
   7558 }
   7559 #endif
   7560 _LT_EOF
   7561 	  # Now try linking the two files.
   7562 	  mv conftest.$ac_objext conftstm.$ac_objext
   7563 	  lt_globsym_save_LIBS=$LIBS
   7564 	  lt_globsym_save_CFLAGS=$CFLAGS
   7565 	  LIBS=conftstm.$ac_objext
   7566 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7567 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7568   (eval $ac_link) 2>&5
   7569   ac_status=$?
   7570   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7571   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   7572 	    pipe_works=yes
   7573 	  fi
   7574 	  LIBS=$lt_globsym_save_LIBS
   7575 	  CFLAGS=$lt_globsym_save_CFLAGS
   7576 	else
   7577 	  echo "cannot find nm_test_func in $nlist" >&5
   7578 	fi
   7579       else
   7580 	echo "cannot find nm_test_var in $nlist" >&5
   7581       fi
   7582     else
   7583       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7584     fi
   7585   else
   7586     echo "$progname: failed program was:" >&5
   7587     cat conftest.$ac_ext >&5
   7588   fi
   7589   rm -rf conftest* conftst*
   7590 
   7591   # Do not use the global_symbol_pipe unless it works.
   7592   if test yes = "$pipe_works"; then
   7593     break
   7594   else
   7595     lt_cv_sys_global_symbol_pipe=
   7596   fi
   7597 done
   7598  ;;
   7599 esac
   7600 fi
   7601 
   7602 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7603   lt_cv_sys_global_symbol_to_cdecl=
   7604 fi
   7605 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7606   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7607 printf "%s\n" "failed" >&6; }
   7608 else
   7609   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7610 printf "%s\n" "ok" >&6; }
   7611 fi
   7612 
   7613 # Response file support.
   7614 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7615   nm_file_list_spec='@'
   7616 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7617   nm_file_list_spec='@'
   7618 fi
   7619 
   7620 
   7621 
   7622 
   7623 
   7624 
   7625 
   7626 
   7627 
   7628 
   7629 
   7630 
   7631 
   7632 
   7633 
   7634 
   7635 
   7636 
   7637 
   7638 
   7639 
   7640 
   7641 
   7642 
   7643 
   7644 
   7645 
   7646 
   7647 
   7648 
   7649 
   7650 
   7651 
   7652 
   7653 
   7654 
   7655 
   7656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7657 printf %s "checking for sysroot... " >&6; }
   7658 
   7659 # Check whether --with-sysroot was given.
   7660 if test ${with_sysroot+y}
   7661 then :
   7662   withval=$with_sysroot;
   7663 else case e in #(
   7664   e) with_sysroot=no ;;
   7665 esac
   7666 fi
   7667 
   7668 
   7669 lt_sysroot=
   7670 case $with_sysroot in #(
   7671  yes)
   7672    if test yes = "$GCC"; then
   7673      # Trim trailing / since we'll always append absolute paths and we want
   7674      # to avoid //, if only for less confusing output for the user.
   7675      lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'`
   7676    fi
   7677    ;; #(
   7678  /*)
   7679    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   7680    ;; #(
   7681  no|'')
   7682    ;; #(
   7683  *)
   7684    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   7685 printf "%s\n" "$with_sysroot" >&6; }
   7686    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7687    ;;
   7688 esac
   7689 
   7690  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7691 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   7692 
   7693 
   7694 
   7695 
   7696 
   7697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   7698 printf %s "checking for a working dd... " >&6; }
   7699 if test ${ac_cv_path_lt_DD+y}
   7700 then :
   7701   printf %s "(cached) " >&6
   7702 else case e in #(
   7703   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   7704 cat conftest.i conftest.i >conftest2.i
   7705 : ${lt_DD:=$DD}
   7706 if test -z "$lt_DD"; then
   7707   ac_path_lt_DD_found=false
   7708   # Loop through the user's path and test for each of PROGNAME-LIST
   7709   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7710 for as_dir in $PATH
   7711 do
   7712   IFS=$as_save_IFS
   7713   case $as_dir in #(((
   7714     '') as_dir=./ ;;
   7715     */) ;;
   7716     *) as_dir=$as_dir/ ;;
   7717   esac
   7718     for ac_prog in dd
   7719    do
   7720     for ac_exec_ext in '' $ac_executable_extensions; do
   7721       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   7722       as_fn_executable_p "$ac_path_lt_DD" || continue
   7723 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7724   cmp -s conftest.i conftest.out \
   7725   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   7726 fi
   7727       $ac_path_lt_DD_found && break 3
   7728     done
   7729   done
   7730   done
   7731 IFS=$as_save_IFS
   7732   if test -z "$ac_cv_path_lt_DD"; then
   7733     :
   7734   fi
   7735 else
   7736   ac_cv_path_lt_DD=$lt_DD
   7737 fi
   7738 
   7739 rm -f conftest.i conftest2.i conftest.out ;;
   7740 esac
   7741 fi
   7742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   7743 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   7744 
   7745 
   7746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   7747 printf %s "checking how to truncate binary pipes... " >&6; }
   7748 if test ${lt_cv_truncate_bin+y}
   7749 then :
   7750   printf %s "(cached) " >&6
   7751 else case e in #(
   7752   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   7753 cat conftest.i conftest.i >conftest2.i
   7754 lt_cv_truncate_bin=
   7755 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7756   cmp -s conftest.i conftest.out \
   7757   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   7758 fi
   7759 rm -f conftest.i conftest2.i conftest.out
   7760 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;;
   7761 esac
   7762 fi
   7763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   7764 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   7765 
   7766 
   7767 
   7768 
   7769 
   7770 
   7771 
   7772 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   7773 func_cc_basename ()
   7774 {
   7775     for cc_temp in $*""; do
   7776       case $cc_temp in
   7777         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7778         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7779         \-*) ;;
   7780         *) break;;
   7781       esac
   7782     done
   7783     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7784 }
   7785 
   7786 # Check whether --enable-libtool-lock was given.
   7787 if test ${enable_libtool_lock+y}
   7788 then :
   7789   enableval=$enable_libtool_lock;
   7790 fi
   7791 
   7792 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   7793 
   7794 # Some flags need to be propagated to the compiler or linker for good
   7795 # libtool support.
   7796 case $host in
   7797 ia64-*-hpux*)
   7798   # Find out what ABI is being produced by ac_compile, and set mode
   7799   # options accordingly.
   7800   echo 'int i;' > conftest.$ac_ext
   7801   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7802   (eval $ac_compile) 2>&5
   7803   ac_status=$?
   7804   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7805   test $ac_status = 0; }; then
   7806     case `$FILECMD conftest.$ac_objext` in
   7807       *ELF-32*)
   7808 	HPUX_IA64_MODE=32
   7809 	;;
   7810       *ELF-64*)
   7811 	HPUX_IA64_MODE=64
   7812 	;;
   7813     esac
   7814   fi
   7815   rm -rf conftest*
   7816   ;;
   7817 *-*-irix6*)
   7818   # Find out what ABI is being produced by ac_compile, and set linker
   7819   # options accordingly.
   7820   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7821   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7822   (eval $ac_compile) 2>&5
   7823   ac_status=$?
   7824   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7825   test $ac_status = 0; }; then
   7826     if test yes = "$lt_cv_prog_gnu_ld"; then
   7827       case `$FILECMD conftest.$ac_objext` in
   7828 	*32-bit*)
   7829 	  LD="${LD-ld} -melf32bsmip"
   7830 	  ;;
   7831 	*N32*)
   7832 	  LD="${LD-ld} -melf32bmipn32"
   7833 	  ;;
   7834 	*64-bit*)
   7835 	  LD="${LD-ld} -melf64bmip"
   7836 	;;
   7837       esac
   7838     else
   7839       case `$FILECMD conftest.$ac_objext` in
   7840 	*32-bit*)
   7841 	  LD="${LD-ld} -32"
   7842 	  ;;
   7843 	*N32*)
   7844 	  LD="${LD-ld} -n32"
   7845 	  ;;
   7846 	*64-bit*)
   7847 	  LD="${LD-ld} -64"
   7848 	  ;;
   7849       esac
   7850     fi
   7851   fi
   7852   rm -rf conftest*
   7853   ;;
   7854 
   7855 mips64*-*linux*)
   7856   # Find out what ABI is being produced by ac_compile, and set linker
   7857   # options accordingly.
   7858   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7859   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7860   (eval $ac_compile) 2>&5
   7861   ac_status=$?
   7862   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7863   test $ac_status = 0; }; then
   7864     emul=elf
   7865     case `$FILECMD conftest.$ac_objext` in
   7866       *32-bit*)
   7867 	emul="${emul}32"
   7868 	;;
   7869       *64-bit*)
   7870 	emul="${emul}64"
   7871 	;;
   7872     esac
   7873     case `$FILECMD conftest.$ac_objext` in
   7874       *MSB*)
   7875 	emul="${emul}btsmip"
   7876 	;;
   7877       *LSB*)
   7878 	emul="${emul}ltsmip"
   7879 	;;
   7880     esac
   7881     case `$FILECMD conftest.$ac_objext` in
   7882       *N32*)
   7883 	emul="${emul}n32"
   7884 	;;
   7885     esac
   7886     LD="${LD-ld} -m $emul"
   7887   fi
   7888   rm -rf conftest*
   7889   ;;
   7890 
   7891 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7892 s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*)
   7893   # Find out what ABI is being produced by ac_compile, and set linker
   7894   # options accordingly.  Note that the listed cases only cover the
   7895   # situations where additional linker options are needed (such as when
   7896   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   7897   # vice versa); the common cases where no linker options are needed do
   7898   # not appear in the list.
   7899   echo 'int i;' > conftest.$ac_ext
   7900   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7901   (eval $ac_compile) 2>&5
   7902   ac_status=$?
   7903   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7904   test $ac_status = 0; }; then
   7905     case `$FILECMD conftest.o` in
   7906       *32-bit*)
   7907 	case $host in
   7908 	  x86_64-*kfreebsd*-gnu)
   7909 	    LD="${LD-ld} -m elf_i386_fbsd"
   7910 	    ;;
   7911 	  x86_64-*linux*|x86_64-gnu*)
   7912 	    case `$FILECMD conftest.o` in
   7913 	      *x86-64*)
   7914 		LD="${LD-ld} -m elf32_x86_64"
   7915 		;;
   7916 	      *)
   7917 		LD="${LD-ld} -m elf_i386"
   7918 		;;
   7919 	    esac
   7920 	    ;;
   7921 	  powerpc64le-*linux*)
   7922 	    LD="${LD-ld} -m elf32lppclinux"
   7923 	    ;;
   7924 	  powerpc64-*linux*)
   7925 	    LD="${LD-ld} -m elf32ppclinux"
   7926 	    ;;
   7927 	  s390x-*linux*)
   7928 	    LD="${LD-ld} -m elf_s390"
   7929 	    ;;
   7930 	  sparc64-*linux*)
   7931 	    LD="${LD-ld} -m elf32_sparc"
   7932 	    ;;
   7933 	esac
   7934 	;;
   7935       *64-bit*)
   7936 	case $host in
   7937 	  x86_64-*kfreebsd*-gnu)
   7938 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7939 	    ;;
   7940 	  x86_64-*linux*|x86_64-gnu*)
   7941 	    LD="${LD-ld} -m elf_x86_64"
   7942 	    ;;
   7943 	  powerpcle-*linux*)
   7944 	    LD="${LD-ld} -m elf64lppc"
   7945 	    ;;
   7946 	  powerpc-*linux*)
   7947 	    LD="${LD-ld} -m elf64ppc"
   7948 	    ;;
   7949 	  s390*-*linux*|s390*-*tpf*)
   7950 	    LD="${LD-ld} -m elf64_s390"
   7951 	    ;;
   7952 	  sparc*-*linux*)
   7953 	    LD="${LD-ld} -m elf64_sparc"
   7954 	    ;;
   7955 	esac
   7956 	;;
   7957     esac
   7958   fi
   7959   rm -rf conftest*
   7960   ;;
   7961 
   7962 *-*-sco3.2v5*)
   7963   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7964   SAVE_CFLAGS=$CFLAGS
   7965   CFLAGS="$CFLAGS -belf"
   7966   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7967 printf %s "checking whether the C compiler needs -belf... " >&6; }
   7968 if test ${lt_cv_cc_needs_belf+y}
   7969 then :
   7970   printf %s "(cached) " >&6
   7971 else case e in #(
   7972   e) ac_ext=c
   7973 ac_cpp='$CPP $CPPFLAGS'
   7974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7977 
   7978      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7979 /* end confdefs.h.  */
   7980 
   7981 int
   7982 main (void)
   7983 {
   7984 
   7985   ;
   7986   return 0;
   7987 }
   7988 _ACEOF
   7989 if ac_fn_c_try_link "$LINENO"
   7990 then :
   7991   lt_cv_cc_needs_belf=yes
   7992 else case e in #(
   7993   e) lt_cv_cc_needs_belf=no ;;
   7994 esac
   7995 fi
   7996 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7997     conftest$ac_exeext conftest.$ac_ext
   7998      ac_ext=c
   7999 ac_cpp='$CPP $CPPFLAGS'
   8000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8003  ;;
   8004 esac
   8005 fi
   8006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   8007 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   8008   if test yes != "$lt_cv_cc_needs_belf"; then
   8009     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   8010     CFLAGS=$SAVE_CFLAGS
   8011   fi
   8012   ;;
   8013 *-*solaris*)
   8014   # Find out what ABI is being produced by ac_compile, and set linker
   8015   # options accordingly.
   8016   echo 'int i;' > conftest.$ac_ext
   8017   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8018   (eval $ac_compile) 2>&5
   8019   ac_status=$?
   8020   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8021   test $ac_status = 0; }; then
   8022     case `$FILECMD conftest.o` in
   8023     *64-bit*)
   8024       case $lt_cv_prog_gnu_ld in
   8025       yes*)
   8026         case $host in
   8027         i?86-*-solaris*|x86_64-*-solaris*)
   8028           LD="${LD-ld} -m elf_x86_64"
   8029           ;;
   8030         sparc*-*-solaris*)
   8031           LD="${LD-ld} -m elf64_sparc"
   8032           ;;
   8033         esac
   8034         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   8035         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   8036           LD=${LD-ld}_sol2
   8037         fi
   8038         ;;
   8039       *)
   8040 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   8041 	  LD="${LD-ld} -64"
   8042 	fi
   8043 	;;
   8044       esac
   8045       ;;
   8046     esac
   8047   fi
   8048   rm -rf conftest*
   8049   ;;
   8050 esac
   8051 
   8052 need_locks=$enable_libtool_lock
   8053 
   8054 if test -n "$ac_tool_prefix"; then
   8055   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   8056 set dummy ${ac_tool_prefix}mt; ac_word=$2
   8057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8058 printf %s "checking for $ac_word... " >&6; }
   8059 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   8060 then :
   8061   printf %s "(cached) " >&6
   8062 else case e in #(
   8063   e) if test -n "$MANIFEST_TOOL"; then
   8064   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   8065 else
   8066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8067 for as_dir in $PATH
   8068 do
   8069   IFS=$as_save_IFS
   8070   case $as_dir in #(((
   8071     '') as_dir=./ ;;
   8072     */) ;;
   8073     *) as_dir=$as_dir/ ;;
   8074   esac
   8075     for ac_exec_ext in '' $ac_executable_extensions; do
   8076   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8077     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   8078     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8079     break 2
   8080   fi
   8081 done
   8082   done
   8083 IFS=$as_save_IFS
   8084 
   8085 fi ;;
   8086 esac
   8087 fi
   8088 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   8089 if test -n "$MANIFEST_TOOL"; then
   8090   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   8091 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   8092 else
   8093   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8094 printf "%s\n" "no" >&6; }
   8095 fi
   8096 
   8097 
   8098 fi
   8099 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   8100   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   8101   # Extract the first word of "mt", so it can be a program name with args.
   8102 set dummy mt; ac_word=$2
   8103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8104 printf %s "checking for $ac_word... " >&6; }
   8105 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   8106 then :
   8107   printf %s "(cached) " >&6
   8108 else case e in #(
   8109   e) if test -n "$ac_ct_MANIFEST_TOOL"; then
   8110   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   8111 else
   8112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8113 for as_dir in $PATH
   8114 do
   8115   IFS=$as_save_IFS
   8116   case $as_dir in #(((
   8117     '') as_dir=./ ;;
   8118     */) ;;
   8119     *) as_dir=$as_dir/ ;;
   8120   esac
   8121     for ac_exec_ext in '' $ac_executable_extensions; do
   8122   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8123     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   8124     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8125     break 2
   8126   fi
   8127 done
   8128   done
   8129 IFS=$as_save_IFS
   8130 
   8131 fi ;;
   8132 esac
   8133 fi
   8134 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   8135 if test -n "$ac_ct_MANIFEST_TOOL"; then
   8136   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   8137 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   8138 else
   8139   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8140 printf "%s\n" "no" >&6; }
   8141 fi
   8142 
   8143   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   8144     MANIFEST_TOOL=":"
   8145   else
   8146     case $cross_compiling:$ac_tool_warned in
   8147 yes:)
   8148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8149 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8150 ac_tool_warned=yes ;;
   8151 esac
   8152     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   8153   fi
   8154 else
   8155   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   8156 fi
   8157 
   8158 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   8159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   8160 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   8161 if test ${lt_cv_path_manifest_tool+y}
   8162 then :
   8163   printf %s "(cached) " >&6
   8164 else case e in #(
   8165   e) lt_cv_path_manifest_tool=no
   8166   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   8167   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   8168   cat conftest.err >&5
   8169   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   8170     lt_cv_path_manifest_tool=yes
   8171   fi
   8172   rm -f conftest* ;;
   8173 esac
   8174 fi
   8175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_manifest_tool" >&5
   8176 printf "%s\n" "$lt_cv_path_manifest_tool" >&6; }
   8177 if test yes != "$lt_cv_path_manifest_tool"; then
   8178   MANIFEST_TOOL=:
   8179 fi
   8180 
   8181 
   8182 
   8183 
   8184 
   8185 
   8186   case $host_os in
   8187     rhapsody* | darwin*)
   8188     if test -n "$ac_tool_prefix"; then
   8189   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   8190 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   8191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8192 printf %s "checking for $ac_word... " >&6; }
   8193 if test ${ac_cv_prog_DSYMUTIL+y}
   8194 then :
   8195   printf %s "(cached) " >&6
   8196 else case e in #(
   8197   e) if test -n "$DSYMUTIL"; then
   8198   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   8199 else
   8200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8201 for as_dir in $PATH
   8202 do
   8203   IFS=$as_save_IFS
   8204   case $as_dir in #(((
   8205     '') as_dir=./ ;;
   8206     */) ;;
   8207     *) as_dir=$as_dir/ ;;
   8208   esac
   8209     for ac_exec_ext in '' $ac_executable_extensions; do
   8210   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8211     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   8212     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8213     break 2
   8214   fi
   8215 done
   8216   done
   8217 IFS=$as_save_IFS
   8218 
   8219 fi ;;
   8220 esac
   8221 fi
   8222 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   8223 if test -n "$DSYMUTIL"; then
   8224   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   8225 printf "%s\n" "$DSYMUTIL" >&6; }
   8226 else
   8227   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8228 printf "%s\n" "no" >&6; }
   8229 fi
   8230 
   8231 
   8232 fi
   8233 if test -z "$ac_cv_prog_DSYMUTIL"; then
   8234   ac_ct_DSYMUTIL=$DSYMUTIL
   8235   # Extract the first word of "dsymutil", so it can be a program name with args.
   8236 set dummy dsymutil; ac_word=$2
   8237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8238 printf %s "checking for $ac_word... " >&6; }
   8239 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   8240 then :
   8241   printf %s "(cached) " >&6
   8242 else case e in #(
   8243   e) if test -n "$ac_ct_DSYMUTIL"; then
   8244   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   8245 else
   8246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8247 for as_dir in $PATH
   8248 do
   8249   IFS=$as_save_IFS
   8250   case $as_dir in #(((
   8251     '') as_dir=./ ;;
   8252     */) ;;
   8253     *) as_dir=$as_dir/ ;;
   8254   esac
   8255     for ac_exec_ext in '' $ac_executable_extensions; do
   8256   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8257     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   8258     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8259     break 2
   8260   fi
   8261 done
   8262   done
   8263 IFS=$as_save_IFS
   8264 
   8265 fi ;;
   8266 esac
   8267 fi
   8268 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   8269 if test -n "$ac_ct_DSYMUTIL"; then
   8270   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   8271 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   8272 else
   8273   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8274 printf "%s\n" "no" >&6; }
   8275 fi
   8276 
   8277   if test "x$ac_ct_DSYMUTIL" = x; then
   8278     DSYMUTIL=":"
   8279   else
   8280     case $cross_compiling:$ac_tool_warned in
   8281 yes:)
   8282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8283 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8284 ac_tool_warned=yes ;;
   8285 esac
   8286     DSYMUTIL=$ac_ct_DSYMUTIL
   8287   fi
   8288 else
   8289   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   8290 fi
   8291 
   8292     if test -n "$ac_tool_prefix"; then
   8293   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   8294 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   8295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8296 printf %s "checking for $ac_word... " >&6; }
   8297 if test ${ac_cv_prog_NMEDIT+y}
   8298 then :
   8299   printf %s "(cached) " >&6
   8300 else case e in #(
   8301   e) if test -n "$NMEDIT"; then
   8302   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   8303 else
   8304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8305 for as_dir in $PATH
   8306 do
   8307   IFS=$as_save_IFS
   8308   case $as_dir in #(((
   8309     '') as_dir=./ ;;
   8310     */) ;;
   8311     *) as_dir=$as_dir/ ;;
   8312   esac
   8313     for ac_exec_ext in '' $ac_executable_extensions; do
   8314   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8315     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   8316     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8317     break 2
   8318   fi
   8319 done
   8320   done
   8321 IFS=$as_save_IFS
   8322 
   8323 fi ;;
   8324 esac
   8325 fi
   8326 NMEDIT=$ac_cv_prog_NMEDIT
   8327 if test -n "$NMEDIT"; then
   8328   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   8329 printf "%s\n" "$NMEDIT" >&6; }
   8330 else
   8331   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8332 printf "%s\n" "no" >&6; }
   8333 fi
   8334 
   8335 
   8336 fi
   8337 if test -z "$ac_cv_prog_NMEDIT"; then
   8338   ac_ct_NMEDIT=$NMEDIT
   8339   # Extract the first word of "nmedit", so it can be a program name with args.
   8340 set dummy nmedit; ac_word=$2
   8341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8342 printf %s "checking for $ac_word... " >&6; }
   8343 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   8344 then :
   8345   printf %s "(cached) " >&6
   8346 else case e in #(
   8347   e) if test -n "$ac_ct_NMEDIT"; then
   8348   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   8349 else
   8350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8351 for as_dir in $PATH
   8352 do
   8353   IFS=$as_save_IFS
   8354   case $as_dir in #(((
   8355     '') as_dir=./ ;;
   8356     */) ;;
   8357     *) as_dir=$as_dir/ ;;
   8358   esac
   8359     for ac_exec_ext in '' $ac_executable_extensions; do
   8360   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8361     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   8362     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8363     break 2
   8364   fi
   8365 done
   8366   done
   8367 IFS=$as_save_IFS
   8368 
   8369 fi ;;
   8370 esac
   8371 fi
   8372 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   8373 if test -n "$ac_ct_NMEDIT"; then
   8374   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   8375 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   8376 else
   8377   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8378 printf "%s\n" "no" >&6; }
   8379 fi
   8380 
   8381   if test "x$ac_ct_NMEDIT" = x; then
   8382     NMEDIT=":"
   8383   else
   8384     case $cross_compiling:$ac_tool_warned in
   8385 yes:)
   8386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8387 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8388 ac_tool_warned=yes ;;
   8389 esac
   8390     NMEDIT=$ac_ct_NMEDIT
   8391   fi
   8392 else
   8393   NMEDIT="$ac_cv_prog_NMEDIT"
   8394 fi
   8395 
   8396     if test -n "$ac_tool_prefix"; then
   8397   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   8398 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   8399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8400 printf %s "checking for $ac_word... " >&6; }
   8401 if test ${ac_cv_prog_LIPO+y}
   8402 then :
   8403   printf %s "(cached) " >&6
   8404 else case e in #(
   8405   e) if test -n "$LIPO"; then
   8406   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8407 else
   8408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8409 for as_dir in $PATH
   8410 do
   8411   IFS=$as_save_IFS
   8412   case $as_dir in #(((
   8413     '') as_dir=./ ;;
   8414     */) ;;
   8415     *) as_dir=$as_dir/ ;;
   8416   esac
   8417     for ac_exec_ext in '' $ac_executable_extensions; do
   8418   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8419     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   8420     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8421     break 2
   8422   fi
   8423 done
   8424   done
   8425 IFS=$as_save_IFS
   8426 
   8427 fi ;;
   8428 esac
   8429 fi
   8430 LIPO=$ac_cv_prog_LIPO
   8431 if test -n "$LIPO"; then
   8432   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8433 printf "%s\n" "$LIPO" >&6; }
   8434 else
   8435   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8436 printf "%s\n" "no" >&6; }
   8437 fi
   8438 
   8439 
   8440 fi
   8441 if test -z "$ac_cv_prog_LIPO"; then
   8442   ac_ct_LIPO=$LIPO
   8443   # Extract the first word of "lipo", so it can be a program name with args.
   8444 set dummy lipo; ac_word=$2
   8445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8446 printf %s "checking for $ac_word... " >&6; }
   8447 if test ${ac_cv_prog_ac_ct_LIPO+y}
   8448 then :
   8449   printf %s "(cached) " >&6
   8450 else case e in #(
   8451   e) if test -n "$ac_ct_LIPO"; then
   8452   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   8453 else
   8454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8455 for as_dir in $PATH
   8456 do
   8457   IFS=$as_save_IFS
   8458   case $as_dir in #(((
   8459     '') as_dir=./ ;;
   8460     */) ;;
   8461     *) as_dir=$as_dir/ ;;
   8462   esac
   8463     for ac_exec_ext in '' $ac_executable_extensions; do
   8464   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8465     ac_cv_prog_ac_ct_LIPO="lipo"
   8466     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8467     break 2
   8468   fi
   8469 done
   8470   done
   8471 IFS=$as_save_IFS
   8472 
   8473 fi ;;
   8474 esac
   8475 fi
   8476 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   8477 if test -n "$ac_ct_LIPO"; then
   8478   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   8479 printf "%s\n" "$ac_ct_LIPO" >&6; }
   8480 else
   8481   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8482 printf "%s\n" "no" >&6; }
   8483 fi
   8484 
   8485   if test "x$ac_ct_LIPO" = x; then
   8486     LIPO=":"
   8487   else
   8488     case $cross_compiling:$ac_tool_warned in
   8489 yes:)
   8490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8491 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8492 ac_tool_warned=yes ;;
   8493 esac
   8494     LIPO=$ac_ct_LIPO
   8495   fi
   8496 else
   8497   LIPO="$ac_cv_prog_LIPO"
   8498 fi
   8499 
   8500     if test -n "$ac_tool_prefix"; then
   8501   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   8502 set dummy ${ac_tool_prefix}otool; ac_word=$2
   8503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8504 printf %s "checking for $ac_word... " >&6; }
   8505 if test ${ac_cv_prog_OTOOL+y}
   8506 then :
   8507   printf %s "(cached) " >&6
   8508 else case e in #(
   8509   e) if test -n "$OTOOL"; then
   8510   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   8511 else
   8512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8513 for as_dir in $PATH
   8514 do
   8515   IFS=$as_save_IFS
   8516   case $as_dir in #(((
   8517     '') as_dir=./ ;;
   8518     */) ;;
   8519     *) as_dir=$as_dir/ ;;
   8520   esac
   8521     for ac_exec_ext in '' $ac_executable_extensions; do
   8522   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8523     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   8524     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8525     break 2
   8526   fi
   8527 done
   8528   done
   8529 IFS=$as_save_IFS
   8530 
   8531 fi ;;
   8532 esac
   8533 fi
   8534 OTOOL=$ac_cv_prog_OTOOL
   8535 if test -n "$OTOOL"; then
   8536   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   8537 printf "%s\n" "$OTOOL" >&6; }
   8538 else
   8539   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8540 printf "%s\n" "no" >&6; }
   8541 fi
   8542 
   8543 
   8544 fi
   8545 if test -z "$ac_cv_prog_OTOOL"; then
   8546   ac_ct_OTOOL=$OTOOL
   8547   # Extract the first word of "otool", so it can be a program name with args.
   8548 set dummy otool; ac_word=$2
   8549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8550 printf %s "checking for $ac_word... " >&6; }
   8551 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   8552 then :
   8553   printf %s "(cached) " >&6
   8554 else case e in #(
   8555   e) if test -n "$ac_ct_OTOOL"; then
   8556   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8557 else
   8558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8559 for as_dir in $PATH
   8560 do
   8561   IFS=$as_save_IFS
   8562   case $as_dir in #(((
   8563     '') as_dir=./ ;;
   8564     */) ;;
   8565     *) as_dir=$as_dir/ ;;
   8566   esac
   8567     for ac_exec_ext in '' $ac_executable_extensions; do
   8568   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8569     ac_cv_prog_ac_ct_OTOOL="otool"
   8570     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8571     break 2
   8572   fi
   8573 done
   8574   done
   8575 IFS=$as_save_IFS
   8576 
   8577 fi ;;
   8578 esac
   8579 fi
   8580 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8581 if test -n "$ac_ct_OTOOL"; then
   8582   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8583 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   8584 else
   8585   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8586 printf "%s\n" "no" >&6; }
   8587 fi
   8588 
   8589   if test "x$ac_ct_OTOOL" = x; then
   8590     OTOOL=":"
   8591   else
   8592     case $cross_compiling:$ac_tool_warned in
   8593 yes:)
   8594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8595 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8596 ac_tool_warned=yes ;;
   8597 esac
   8598     OTOOL=$ac_ct_OTOOL
   8599   fi
   8600 else
   8601   OTOOL="$ac_cv_prog_OTOOL"
   8602 fi
   8603 
   8604     if test -n "$ac_tool_prefix"; then
   8605   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8606 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8608 printf %s "checking for $ac_word... " >&6; }
   8609 if test ${ac_cv_prog_OTOOL64+y}
   8610 then :
   8611   printf %s "(cached) " >&6
   8612 else case e in #(
   8613   e) if test -n "$OTOOL64"; then
   8614   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8615 else
   8616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8617 for as_dir in $PATH
   8618 do
   8619   IFS=$as_save_IFS
   8620   case $as_dir in #(((
   8621     '') as_dir=./ ;;
   8622     */) ;;
   8623     *) as_dir=$as_dir/ ;;
   8624   esac
   8625     for ac_exec_ext in '' $ac_executable_extensions; do
   8626   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8627     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8628     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8629     break 2
   8630   fi
   8631 done
   8632   done
   8633 IFS=$as_save_IFS
   8634 
   8635 fi ;;
   8636 esac
   8637 fi
   8638 OTOOL64=$ac_cv_prog_OTOOL64
   8639 if test -n "$OTOOL64"; then
   8640   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8641 printf "%s\n" "$OTOOL64" >&6; }
   8642 else
   8643   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8644 printf "%s\n" "no" >&6; }
   8645 fi
   8646 
   8647 
   8648 fi
   8649 if test -z "$ac_cv_prog_OTOOL64"; then
   8650   ac_ct_OTOOL64=$OTOOL64
   8651   # Extract the first word of "otool64", so it can be a program name with args.
   8652 set dummy otool64; ac_word=$2
   8653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8654 printf %s "checking for $ac_word... " >&6; }
   8655 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   8656 then :
   8657   printf %s "(cached) " >&6
   8658 else case e in #(
   8659   e) if test -n "$ac_ct_OTOOL64"; then
   8660   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8661 else
   8662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8663 for as_dir in $PATH
   8664 do
   8665   IFS=$as_save_IFS
   8666   case $as_dir in #(((
   8667     '') as_dir=./ ;;
   8668     */) ;;
   8669     *) as_dir=$as_dir/ ;;
   8670   esac
   8671     for ac_exec_ext in '' $ac_executable_extensions; do
   8672   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8673     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8674     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8675     break 2
   8676   fi
   8677 done
   8678   done
   8679 IFS=$as_save_IFS
   8680 
   8681 fi ;;
   8682 esac
   8683 fi
   8684 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8685 if test -n "$ac_ct_OTOOL64"; then
   8686   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8687 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   8688 else
   8689   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8690 printf "%s\n" "no" >&6; }
   8691 fi
   8692 
   8693   if test "x$ac_ct_OTOOL64" = x; then
   8694     OTOOL64=":"
   8695   else
   8696     case $cross_compiling:$ac_tool_warned in
   8697 yes:)
   8698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8699 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8700 ac_tool_warned=yes ;;
   8701 esac
   8702     OTOOL64=$ac_ct_OTOOL64
   8703   fi
   8704 else
   8705   OTOOL64="$ac_cv_prog_OTOOL64"
   8706 fi
   8707 
   8708 
   8709 
   8710 
   8711 
   8712 
   8713 
   8714 
   8715 
   8716 
   8717 
   8718 
   8719 
   8720 
   8721 
   8722 
   8723 
   8724 
   8725 
   8726 
   8727 
   8728 
   8729 
   8730 
   8731 
   8732 
   8733 
   8734     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8735 printf %s "checking for -single_module linker flag... " >&6; }
   8736 if test ${lt_cv_apple_cc_single_mod+y}
   8737 then :
   8738   printf %s "(cached) " >&6
   8739 else case e in #(
   8740   e) lt_cv_apple_cc_single_mod=no
   8741       if test -z "$LT_MULTI_MODULE"; then
   8742 	# By default we will add the -single_module flag. You can override
   8743 	# by either setting the environment variable LT_MULTI_MODULE
   8744 	# non-empty at configure time, or by adding -multi_module to the
   8745 	# link flags.
   8746 	rm -rf libconftest.dylib*
   8747 	echo "int foo(void){return 1;}" > conftest.c
   8748 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8749 -dynamiclib -Wl,-single_module conftest.c" >&5
   8750 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8751 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8752         _lt_result=$?
   8753 	# If there is a non-empty error log, and "single_module"
   8754 	# appears in it, assume the flag caused a linker warning
   8755         if test -s conftest.err && $GREP single_module conftest.err; then
   8756 	  cat conftest.err >&5
   8757 	# Otherwise, if the output was created with a 0 exit code from
   8758 	# the compiler, it worked.
   8759 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   8760 	  lt_cv_apple_cc_single_mod=yes
   8761 	else
   8762 	  cat conftest.err >&5
   8763 	fi
   8764 	rm -rf libconftest.dylib*
   8765 	rm -f conftest.*
   8766       fi ;;
   8767 esac
   8768 fi
   8769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8770 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   8771 
   8772     # Feature test to disable chained fixups since it is not
   8773     # compatible with '-undefined dynamic_lookup'
   8774     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -no_fixup_chains linker flag" >&5
   8775 printf %s "checking for -no_fixup_chains linker flag... " >&6; }
   8776 if test ${lt_cv_support_no_fixup_chains+y}
   8777 then :
   8778   printf %s "(cached) " >&6
   8779 else case e in #(
   8780   e)  save_LDFLAGS=$LDFLAGS
   8781         LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains"
   8782         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8783 /* end confdefs.h.  */
   8784 
   8785 int
   8786 main (void)
   8787 {
   8788 
   8789   ;
   8790   return 0;
   8791 }
   8792 _ACEOF
   8793 if ac_fn_c_try_link "$LINENO"
   8794 then :
   8795   lt_cv_support_no_fixup_chains=yes
   8796 else case e in #(
   8797   e) lt_cv_support_no_fixup_chains=no
   8798          ;;
   8799 esac
   8800 fi
   8801 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8802     conftest$ac_exeext conftest.$ac_ext
   8803         LDFLAGS=$save_LDFLAGS
   8804 
   8805      ;;
   8806 esac
   8807 fi
   8808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_support_no_fixup_chains" >&5
   8809 printf "%s\n" "$lt_cv_support_no_fixup_chains" >&6; }
   8810 
   8811     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8812 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   8813 if test ${lt_cv_ld_exported_symbols_list+y}
   8814 then :
   8815   printf %s "(cached) " >&6
   8816 else case e in #(
   8817   e) lt_cv_ld_exported_symbols_list=no
   8818       save_LDFLAGS=$LDFLAGS
   8819       echo "_main" > conftest.sym
   8820       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8821       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8822 /* end confdefs.h.  */
   8823 
   8824 int
   8825 main (void)
   8826 {
   8827 
   8828   ;
   8829   return 0;
   8830 }
   8831 _ACEOF
   8832 if ac_fn_c_try_link "$LINENO"
   8833 then :
   8834   lt_cv_ld_exported_symbols_list=yes
   8835 else case e in #(
   8836   e) lt_cv_ld_exported_symbols_list=no ;;
   8837 esac
   8838 fi
   8839 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8840     conftest$ac_exeext conftest.$ac_ext
   8841 	LDFLAGS=$save_LDFLAGS
   8842      ;;
   8843 esac
   8844 fi
   8845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8846 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   8847 
   8848     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8849 printf %s "checking for -force_load linker flag... " >&6; }
   8850 if test ${lt_cv_ld_force_load+y}
   8851 then :
   8852   printf %s "(cached) " >&6
   8853 else case e in #(
   8854   e) lt_cv_ld_force_load=no
   8855       cat > conftest.c << _LT_EOF
   8856 int forced_loaded() { return 2;}
   8857 _LT_EOF
   8858       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8859       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8860       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   8861       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   8862       echo "$RANLIB libconftest.a" >&5
   8863       $RANLIB libconftest.a 2>&5
   8864       cat > conftest.c << _LT_EOF
   8865 int main(void) { return 0;}
   8866 _LT_EOF
   8867       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8868       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8869       _lt_result=$?
   8870       if test -s conftest.err && $GREP force_load conftest.err; then
   8871 	cat conftest.err >&5
   8872       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   8873 	lt_cv_ld_force_load=yes
   8874       else
   8875 	cat conftest.err >&5
   8876       fi
   8877         rm -f conftest.err libconftest.a conftest conftest.c
   8878         rm -rf conftest.dSYM
   8879      ;;
   8880 esac
   8881 fi
   8882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8883 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   8884     case $host_os in
   8885     rhapsody* | darwin1.[012])
   8886       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   8887     darwin1.*)
   8888       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8889     darwin*)
   8890       case $MACOSX_DEPLOYMENT_TARGET,$host in
   8891         10.[012],*|,*powerpc*-darwin[5-8]*)
   8892           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8893         *)
   8894           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup'
   8895           if test yes = "$lt_cv_support_no_fixup_chains"; then
   8896             as_fn_append _lt_dar_allow_undefined ' $wl-no_fixup_chains'
   8897           fi
   8898         ;;
   8899       esac
   8900     ;;
   8901   esac
   8902     if test yes = "$lt_cv_apple_cc_single_mod"; then
   8903       _lt_dar_single_mod='$single_module'
   8904     fi
   8905     _lt_dar_needs_single_mod=no
   8906     case $host_os in
   8907     rhapsody* | darwin1.*)
   8908       _lt_dar_needs_single_mod=yes ;;
   8909     darwin*)
   8910       # When targeting Mac OS X 10.4 (darwin 8) or later,
   8911       # -single_module is the default and -multi_module is unsupported.
   8912       # The toolchain on macOS 10.14 (darwin 18) and later cannot
   8913       # target any OS version that needs -single_module.
   8914       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   8915       10.0,*-darwin[567].*|10.[0-3],*-darwin[5-9].*|10.[0-3],*-darwin1[0-7].*)
   8916         _lt_dar_needs_single_mod=yes ;;
   8917       esac
   8918     ;;
   8919     esac
   8920     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   8921       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   8922     else
   8923       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   8924     fi
   8925     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   8926       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8927     else
   8928       _lt_dsymutil=
   8929     fi
   8930     ;;
   8931   esac
   8932 
   8933 # func_munge_path_list VARIABLE PATH
   8934 # -----------------------------------
   8935 # VARIABLE is name of variable containing _space_ separated list of
   8936 # directories to be munged by the contents of PATH, which is string
   8937 # having a format:
   8938 # "DIR[:DIR]:"
   8939 #       string "DIR[ DIR]" will be prepended to VARIABLE
   8940 # ":DIR[:DIR]"
   8941 #       string "DIR[ DIR]" will be appended to VARIABLE
   8942 # "DIRP[:DIRP]::[DIRA:]DIRA"
   8943 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   8944 #       "DIRA[ DIRA]" will be appended to VARIABLE
   8945 # "DIR[:DIR]"
   8946 #       VARIABLE will be replaced by "DIR[ DIR]"
   8947 func_munge_path_list ()
   8948 {
   8949     case x$2 in
   8950     x)
   8951         ;;
   8952     *:)
   8953         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   8954         ;;
   8955     x:*)
   8956         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   8957         ;;
   8958     *::*)
   8959         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   8960         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   8961         ;;
   8962     *)
   8963         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   8964         ;;
   8965     esac
   8966 }
   8967 
   8968 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8969 "
   8970 if test "x$ac_cv_header_dlfcn_h" = xyes
   8971 then :
   8972   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   8973 
   8974 fi
   8975 
   8976 
   8977 
   8978 
   8979 
   8980 # Set options
   8981 
   8982 
   8983 
   8984         enable_dlopen=no
   8985 
   8986 
   8987   enable_win32_dll=no
   8988 
   8989 
   8990             # Check whether --enable-shared was given.
   8991 if test ${enable_shared+y}
   8992 then :
   8993   enableval=$enable_shared; p=${PACKAGE-default}
   8994     case $enableval in
   8995     yes) enable_shared=yes ;;
   8996     no) enable_shared=no ;;
   8997     *)
   8998       enable_shared=no
   8999       # Look at the argument we got.  We use all the common list separators.
   9000       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9001       for pkg in $enableval; do
   9002 	IFS=$lt_save_ifs
   9003 	if test "X$pkg" = "X$p"; then
   9004 	  enable_shared=yes
   9005 	fi
   9006       done
   9007       IFS=$lt_save_ifs
   9008       ;;
   9009     esac
   9010 else case e in #(
   9011   e) enable_shared=yes ;;
   9012 esac
   9013 fi
   9014 
   9015 
   9016 
   9017 
   9018 
   9019 
   9020 
   9021 
   9022 
   9023   # Check whether --enable-static was given.
   9024 if test ${enable_static+y}
   9025 then :
   9026   enableval=$enable_static; p=${PACKAGE-default}
   9027     case $enableval in
   9028     yes) enable_static=yes ;;
   9029     no) enable_static=no ;;
   9030     *)
   9031      enable_static=no
   9032       # Look at the argument we got.  We use all the common list separators.
   9033       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9034       for pkg in $enableval; do
   9035 	IFS=$lt_save_ifs
   9036 	if test "X$pkg" = "X$p"; then
   9037 	  enable_static=yes
   9038 	fi
   9039       done
   9040       IFS=$lt_save_ifs
   9041       ;;
   9042     esac
   9043 else case e in #(
   9044   e) enable_static=yes ;;
   9045 esac
   9046 fi
   9047 
   9048 
   9049 
   9050 
   9051 
   9052 
   9053 
   9054 
   9055 
   9056   # Check whether --enable-pic was given.
   9057 if test ${enable_pic+y}
   9058 then :
   9059   enableval=$enable_pic; lt_p=${PACKAGE-default}
   9060      case $enableval in
   9061      yes|no) pic_mode=$enableval ;;
   9062      *)
   9063        pic_mode=default
   9064        # Look at the argument we got.  We use all the common list separators.
   9065        lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9066        for lt_pkg in $enableval; do
   9067 	 IFS=$lt_save_ifs
   9068 	 if test "X$lt_pkg" = "X$lt_p"; then
   9069 	   pic_mode=yes
   9070 	 fi
   9071        done
   9072        IFS=$lt_save_ifs
   9073        ;;
   9074      esac
   9075 else case e in #(
   9076   e)           # Check whether --with-pic was given.
   9077 if test ${with_pic+y}
   9078 then :
   9079   withval=$with_pic; lt_p=${PACKAGE-default}
   9080 	 case $withval in
   9081 	 yes|no) pic_mode=$withval ;;
   9082 	 *)
   9083 	   pic_mode=default
   9084 	   # Look at the argument we got.  We use all the common list separators.
   9085 	   lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9086 	   for lt_pkg in $withval; do
   9087 	     IFS=$lt_save_ifs
   9088 	     if test "X$lt_pkg" = "X$lt_p"; then
   9089 	       pic_mode=yes
   9090 	     fi
   9091 	   done
   9092 	   IFS=$lt_save_ifs
   9093 	   ;;
   9094 	 esac
   9095 else case e in #(
   9096   e) pic_mode=default ;;
   9097 esac
   9098 fi
   9099 
   9100      ;;
   9101 esac
   9102 fi
   9103 
   9104 
   9105 
   9106 
   9107 
   9108 
   9109 
   9110 
   9111   # Check whether --enable-fast-install was given.
   9112 if test ${enable_fast_install+y}
   9113 then :
   9114   enableval=$enable_fast_install; p=${PACKAGE-default}
   9115     case $enableval in
   9116     yes) enable_fast_install=yes ;;
   9117     no) enable_fast_install=no ;;
   9118     *)
   9119       enable_fast_install=no
   9120       # Look at the argument we got.  We use all the common list separators.
   9121       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9122       for pkg in $enableval; do
   9123 	IFS=$lt_save_ifs
   9124 	if test "X$pkg" = "X$p"; then
   9125 	  enable_fast_install=yes
   9126 	fi
   9127       done
   9128       IFS=$lt_save_ifs
   9129       ;;
   9130     esac
   9131 else case e in #(
   9132   e) enable_fast_install=yes ;;
   9133 esac
   9134 fi
   9135 
   9136 
   9137 
   9138 
   9139 
   9140 
   9141 
   9142 
   9143   shared_archive_member_spec=
   9144 case $host,$enable_shared in
   9145 power*-*-aix[5-9]*,yes)
   9146   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   9147 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   9148   # Check whether --enable-aix-soname was given.
   9149 if test ${enable_aix_soname+y}
   9150 then :
   9151   enableval=$enable_aix_soname; case $enableval in
   9152      aix|svr4|both)
   9153        ;;
   9154      *)
   9155        as_fn_error $? "Unknown argument to --enable-aix-soname" "$LINENO" 5
   9156        ;;
   9157      esac
   9158      lt_cv_with_aix_soname=$enable_aix_soname
   9159 else case e in #(
   9160   e) # Check whether --with-aix-soname was given.
   9161 if test ${with_aix_soname+y}
   9162 then :
   9163   withval=$with_aix_soname; case $withval in
   9164          aix|svr4|both)
   9165            ;;
   9166          *)
   9167            as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   9168            ;;
   9169          esac
   9170          lt_cv_with_aix_soname=$with_aix_soname
   9171 else case e in #(
   9172   e) if test ${lt_cv_with_aix_soname+y}
   9173 then :
   9174   printf %s "(cached) " >&6
   9175 else case e in #(
   9176   e) lt_cv_with_aix_soname=aix ;;
   9177 esac
   9178 fi
   9179  ;;
   9180 esac
   9181 fi
   9182 
   9183      enable_aix_soname=$lt_cv_with_aix_soname ;;
   9184 esac
   9185 fi
   9186 
   9187   with_aix_soname=$enable_aix_soname
   9188   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   9189 printf "%s\n" "$with_aix_soname" >&6; }
   9190   if test aix != "$with_aix_soname"; then
   9191     # For the AIX way of multilib, we name the shared archive member
   9192     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   9193     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   9194     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   9195     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   9196     if test 64 = "${OBJECT_MODE-32}"; then
   9197       shared_archive_member_spec=shr_64
   9198     else
   9199       shared_archive_member_spec=shr
   9200     fi
   9201   fi
   9202   ;;
   9203 *)
   9204   with_aix_soname=aix
   9205   ;;
   9206 esac
   9207 
   9208 
   9209 
   9210 
   9211 
   9212 
   9213 
   9214 
   9215 
   9216 
   9217 # This can be used to rebuild libtool when needed
   9218 LIBTOOL_DEPS=$ltmain
   9219 
   9220 # Always use our own libtool.
   9221 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   9222 
   9223 
   9224 
   9225 
   9226 
   9227 
   9228 
   9229 
   9230 
   9231 
   9232 
   9233 
   9234 
   9235 
   9236 
   9237 
   9238 
   9239 
   9240 
   9241 
   9242 
   9243 
   9244 
   9245 
   9246 
   9247 
   9248 
   9249 
   9250 
   9251 
   9252 test -z "$LN_S" && LN_S="ln -s"
   9253 
   9254 
   9255 
   9256 
   9257 
   9258 
   9259 
   9260 
   9261 
   9262 
   9263 
   9264 
   9265 
   9266 
   9267 if test -n "${ZSH_VERSION+set}"; then
   9268    setopt NO_GLOB_SUBST
   9269 fi
   9270 
   9271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   9272 printf %s "checking for objdir... " >&6; }
   9273 if test ${lt_cv_objdir+y}
   9274 then :
   9275   printf %s "(cached) " >&6
   9276 else case e in #(
   9277   e) rm -f .libs 2>/dev/null
   9278 mkdir .libs 2>/dev/null
   9279 if test -d .libs; then
   9280   lt_cv_objdir=.libs
   9281 else
   9282   # MS-DOS does not allow filenames that begin with a dot.
   9283   lt_cv_objdir=_libs
   9284 fi
   9285 rmdir .libs 2>/dev/null ;;
   9286 esac
   9287 fi
   9288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   9289 printf "%s\n" "$lt_cv_objdir" >&6; }
   9290 objdir=$lt_cv_objdir
   9291 
   9292 
   9293 
   9294 
   9295 
   9296 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   9297 
   9298 
   9299 
   9300 
   9301 case $host_os in
   9302 aix3*)
   9303   # AIX sometimes has problems with the GCC collect2 program.  For some
   9304   # reason, if we set the COLLECT_NAMES environment variable, the problems
   9305   # vanish in a puff of smoke.
   9306   if test set != "${COLLECT_NAMES+set}"; then
   9307     COLLECT_NAMES=
   9308     export COLLECT_NAMES
   9309   fi
   9310   ;;
   9311 esac
   9312 
   9313 # Global variables:
   9314 ofile=libtool
   9315 can_build_shared=yes
   9316 
   9317 # All known linkers require a '.a' archive for static linking (except MSVC and
   9318 # ICC, which need '.lib').
   9319 libext=a
   9320 
   9321 with_gnu_ld=$lt_cv_prog_gnu_ld
   9322 
   9323 old_CC=$CC
   9324 old_CFLAGS=$CFLAGS
   9325 
   9326 # Set sane defaults for various variables
   9327 test -z "$CC" && CC=cc
   9328 test -z "$LTCC" && LTCC=$CC
   9329 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   9330 test -z "$LD" && LD=ld
   9331 test -z "$ac_objext" && ac_objext=o
   9332 
   9333 func_cc_basename $compiler
   9334 cc_basename=$func_cc_basename_result
   9335 
   9336 
   9337 # Only perform the check for file, if the check method requires it
   9338 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   9339 case $deplibs_check_method in
   9340 file_magic*)
   9341   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   9342     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   9343 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   9344 if test ${lt_cv_path_MAGIC_CMD+y}
   9345 then :
   9346   printf %s "(cached) " >&6
   9347 else case e in #(
   9348   e) case $MAGIC_CMD in
   9349 [\\/*] |  ?:[\\/]*)
   9350   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9351   ;;
   9352 *)
   9353   lt_save_MAGIC_CMD=$MAGIC_CMD
   9354   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9355   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9356   for ac_dir in $ac_dummy; do
   9357     IFS=$lt_save_ifs
   9358     test -z "$ac_dir" && ac_dir=.
   9359     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   9360       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   9361       if test -n "$file_magic_test_file"; then
   9362 	case $deplibs_check_method in
   9363 	"file_magic "*)
   9364 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9365 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9366 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9367 	    $EGREP "$file_magic_regex" > /dev/null; then
   9368 	    :
   9369 	  else
   9370 	    cat <<_LT_EOF 1>&2
   9371 
   9372 *** Warning: the command libtool uses to detect shared libraries,
   9373 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9374 *** The result is that libtool may fail to recognize shared libraries
   9375 *** as such.  This will affect the creation of libtool libraries that
   9376 *** depend on shared libraries, but programs linked with such libtool
   9377 *** libraries will work regardless of this problem.  Nevertheless, you
   9378 *** may want to report the problem to your system manager and/or to
   9379 *** bug-libtool@gnu.org
   9380 
   9381 _LT_EOF
   9382 	  fi ;;
   9383 	esac
   9384       fi
   9385       break
   9386     fi
   9387   done
   9388   IFS=$lt_save_ifs
   9389   MAGIC_CMD=$lt_save_MAGIC_CMD
   9390   ;;
   9391 esac ;;
   9392 esac
   9393 fi
   9394 
   9395 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9396 if test -n "$MAGIC_CMD"; then
   9397   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9398 printf "%s\n" "$MAGIC_CMD" >&6; }
   9399 else
   9400   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9401 printf "%s\n" "no" >&6; }
   9402 fi
   9403 
   9404 
   9405 
   9406 
   9407 
   9408 if test -z "$lt_cv_path_MAGIC_CMD"; then
   9409   if test -n "$ac_tool_prefix"; then
   9410     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   9411 printf %s "checking for file... " >&6; }
   9412 if test ${lt_cv_path_MAGIC_CMD+y}
   9413 then :
   9414   printf %s "(cached) " >&6
   9415 else case e in #(
   9416   e) case $MAGIC_CMD in
   9417 [\\/*] |  ?:[\\/]*)
   9418   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9419   ;;
   9420 *)
   9421   lt_save_MAGIC_CMD=$MAGIC_CMD
   9422   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9423   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9424   for ac_dir in $ac_dummy; do
   9425     IFS=$lt_save_ifs
   9426     test -z "$ac_dir" && ac_dir=.
   9427     if test -f "$ac_dir/file"; then
   9428       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   9429       if test -n "$file_magic_test_file"; then
   9430 	case $deplibs_check_method in
   9431 	"file_magic "*)
   9432 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9433 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9434 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9435 	    $EGREP "$file_magic_regex" > /dev/null; then
   9436 	    :
   9437 	  else
   9438 	    cat <<_LT_EOF 1>&2
   9439 
   9440 *** Warning: the command libtool uses to detect shared libraries,
   9441 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9442 *** The result is that libtool may fail to recognize shared libraries
   9443 *** as such.  This will affect the creation of libtool libraries that
   9444 *** depend on shared libraries, but programs linked with such libtool
   9445 *** libraries will work regardless of this problem.  Nevertheless, you
   9446 *** may want to report the problem to your system manager and/or to
   9447 *** bug-libtool@gnu.org
   9448 
   9449 _LT_EOF
   9450 	  fi ;;
   9451 	esac
   9452       fi
   9453       break
   9454     fi
   9455   done
   9456   IFS=$lt_save_ifs
   9457   MAGIC_CMD=$lt_save_MAGIC_CMD
   9458   ;;
   9459 esac ;;
   9460 esac
   9461 fi
   9462 
   9463 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9464 if test -n "$MAGIC_CMD"; then
   9465   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9466 printf "%s\n" "$MAGIC_CMD" >&6; }
   9467 else
   9468   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9469 printf "%s\n" "no" >&6; }
   9470 fi
   9471 
   9472 
   9473   else
   9474     MAGIC_CMD=:
   9475   fi
   9476 fi
   9477 
   9478   fi
   9479   ;;
   9480 esac
   9481 
   9482 # Use C for the default configuration in the libtool script
   9483 
   9484 lt_save_CC=$CC
   9485 ac_ext=c
   9486 ac_cpp='$CPP $CPPFLAGS'
   9487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9490 
   9491 
   9492 # Source file extension for C test sources.
   9493 ac_ext=c
   9494 
   9495 # Object file extension for compiled C test sources.
   9496 objext=o
   9497 objext=$objext
   9498 
   9499 # Code to be used in simple compile tests
   9500 lt_simple_compile_test_code="int some_variable = 0;"
   9501 
   9502 # Code to be used in simple link tests
   9503 lt_simple_link_test_code='int main(void){return(0);}'
   9504 
   9505 
   9506 
   9507 
   9508 
   9509 
   9510 
   9511 # If no C compiler was specified, use CC.
   9512 LTCC=${LTCC-"$CC"}
   9513 
   9514 # If no C compiler flags were specified, use CFLAGS.
   9515 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   9516 
   9517 # Allow CC to be a program name with arguments.
   9518 compiler=$CC
   9519 
   9520 # Save the default compiler, since it gets overwritten when the other
   9521 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   9522 compiler_DEFAULT=$CC
   9523 
   9524 # save warnings/boilerplate of simple test code
   9525 ac_outfile=conftest.$ac_objext
   9526 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   9527 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9528 _lt_compiler_boilerplate=`cat conftest.err`
   9529 $RM conftest*
   9530 
   9531 ac_outfile=conftest.$ac_objext
   9532 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   9533 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9534 _lt_linker_boilerplate=`cat conftest.err`
   9535 $RM -r conftest*
   9536 
   9537 
   9538 ## CAVEAT EMPTOR:
   9539 ## There is no encapsulation within the following macros, do not change
   9540 ## the running order or otherwise move them around unless you know exactly
   9541 ## what you are doing...
   9542 if test -n "$compiler"; then
   9543 
   9544 lt_prog_compiler_no_builtin_flag=
   9545 
   9546 if test yes = "$GCC"; then
   9547   case $cc_basename in
   9548   nvcc*)
   9549     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   9550   *)
   9551     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   9552   esac
   9553 
   9554   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   9555 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   9556 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   9557 then :
   9558   printf %s "(cached) " >&6
   9559 else case e in #(
   9560   e) lt_cv_prog_compiler_rtti_exceptions=no
   9561    ac_outfile=conftest.$ac_objext
   9562    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9563    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   9564    # Insert the option either (1) after the last *FLAGS variable, or
   9565    # (2) before a word containing "conftest.", or (3) at the end.
   9566    # Note that $ac_compile itself does not contain backslashes and begins
   9567    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9568    # The option is referenced via a variable to avoid confusing sed.
   9569    lt_compile=`echo "$ac_compile" | $SED \
   9570    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9571    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9572    -e 's:$: $lt_compiler_flag:'`
   9573    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9574    (eval "$lt_compile" 2>conftest.err)
   9575    ac_status=$?
   9576    cat conftest.err >&5
   9577    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9578    if (exit $ac_status) && test -s "$ac_outfile"; then
   9579      # The compiler can only warn and ignore the option if not recognized
   9580      # So say no if there are warnings other than the usual output.
   9581      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9582      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9583      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9584        lt_cv_prog_compiler_rtti_exceptions=yes
   9585      fi
   9586    fi
   9587    $RM conftest*
   9588  ;;
   9589 esac
   9590 fi
   9591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   9592 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   9593 
   9594 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   9595     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   9596 else
   9597     :
   9598 fi
   9599 
   9600 fi
   9601 
   9602 
   9603 
   9604 
   9605 
   9606 
   9607   lt_prog_compiler_wl=
   9608 lt_prog_compiler_pic=
   9609 lt_prog_compiler_static=
   9610 
   9611 
   9612   if test yes = "$GCC"; then
   9613     lt_prog_compiler_wl='-Wl,'
   9614     lt_prog_compiler_static='-static'
   9615 
   9616     case $host_os in
   9617       aix*)
   9618       # All AIX code is PIC.
   9619       if test ia64 = "$host_cpu"; then
   9620 	# AIX 5 now supports IA64 processor
   9621 	lt_prog_compiler_static='-Bstatic'
   9622       fi
   9623       lt_prog_compiler_pic='-fPIC'
   9624       ;;
   9625 
   9626     amigaos*)
   9627       case $host_cpu in
   9628       powerpc)
   9629             # see comment about AmigaOS4 .so support
   9630             lt_prog_compiler_pic='-fPIC'
   9631         ;;
   9632       m68k)
   9633             # FIXME: we need at least 68020 code to build shared libraries, but
   9634             # adding the '-m68020' flag to GCC prevents building anything better,
   9635             # like '-m68040'.
   9636             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9637         ;;
   9638       esac
   9639       ;;
   9640 
   9641     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9642       # PIC is the default for these OSes.
   9643       ;;
   9644 
   9645     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   9646       # This hack is so that the source file can tell whether it is being
   9647       # built for inclusion in a dll (and should export symbols for example).
   9648       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9649       # (--disable-auto-import) libraries
   9650       lt_prog_compiler_pic='-DDLL_EXPORT'
   9651       case $host_os in
   9652       os2*)
   9653 	lt_prog_compiler_static='$wl-static'
   9654 	;;
   9655       esac
   9656       ;;
   9657 
   9658     darwin* | rhapsody*)
   9659       # PIC is the default on this platform
   9660       # Common symbols not allowed in MH_DYLIB files
   9661       lt_prog_compiler_pic='-fno-common'
   9662       ;;
   9663 
   9664     haiku*)
   9665       # PIC is the default for Haiku.
   9666       # The "-static" flag exists, but is broken.
   9667       lt_prog_compiler_static=
   9668       ;;
   9669 
   9670     hpux*)
   9671       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9672       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9673       # sets the default TLS model and affects inlining.
   9674       case $host_cpu in
   9675       hppa*64*)
   9676 	# +Z the default
   9677 	;;
   9678       *)
   9679 	lt_prog_compiler_pic='-fPIC'
   9680 	;;
   9681       esac
   9682       ;;
   9683 
   9684     interix[3-9]*)
   9685       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9686       # Instead, we relocate shared libraries at runtime.
   9687       ;;
   9688 
   9689     msdosdjgpp*)
   9690       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9691       # on systems that don't support them.
   9692       lt_prog_compiler_can_build_shared=no
   9693       enable_shared=no
   9694       ;;
   9695 
   9696     *nto* | *qnx*)
   9697       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9698       # it will coredump.
   9699       lt_prog_compiler_pic='-fPIC -shared'
   9700       ;;
   9701 
   9702     sysv4*MP*)
   9703       if test -d /usr/nec; then
   9704 	lt_prog_compiler_pic=-Kconform_pic
   9705       fi
   9706       ;;
   9707 
   9708     *)
   9709       lt_prog_compiler_pic='-fPIC'
   9710       ;;
   9711     esac
   9712 
   9713     case $cc_basename in
   9714     nvcc*) # Cuda Compiler Driver 2.2
   9715       lt_prog_compiler_wl='-Xlinker '
   9716       if test -n "$lt_prog_compiler_pic"; then
   9717         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   9718       fi
   9719       ;;
   9720     esac
   9721   else
   9722     # PORTME Check for flag to pass linker flags through the system compiler.
   9723     case $host_os in
   9724     aix*)
   9725       lt_prog_compiler_wl='-Wl,'
   9726       if test ia64 = "$host_cpu"; then
   9727 	# AIX 5 now supports IA64 processor
   9728 	lt_prog_compiler_static='-Bstatic'
   9729       else
   9730 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9731       fi
   9732       ;;
   9733 
   9734     darwin* | rhapsody*)
   9735       # PIC is the default on this platform
   9736       # Common symbols not allowed in MH_DYLIB files
   9737       lt_prog_compiler_pic='-fno-common'
   9738       case $cc_basename in
   9739       nagfor*)
   9740         # NAG Fortran compiler
   9741         lt_prog_compiler_wl='-Wl,-Wl,,'
   9742         lt_prog_compiler_pic='-PIC'
   9743         lt_prog_compiler_static='-Bstatic'
   9744         ;;
   9745       esac
   9746       ;;
   9747 
   9748     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   9749       # This hack is so that the source file can tell whether it is being
   9750       # built for inclusion in a dll (and should export symbols for example).
   9751       lt_prog_compiler_pic='-DDLL_EXPORT'
   9752       case $host_os in
   9753       os2*)
   9754 	lt_prog_compiler_static='$wl-static'
   9755 	;;
   9756       esac
   9757       ;;
   9758 
   9759     hpux9* | hpux10* | hpux11*)
   9760       lt_prog_compiler_wl='-Wl,'
   9761       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9762       # not for PA HP-UX.
   9763       case $host_cpu in
   9764       hppa*64*|ia64*)
   9765 	# +Z the default
   9766 	;;
   9767       *)
   9768 	lt_prog_compiler_pic='+Z'
   9769 	;;
   9770       esac
   9771       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9772       lt_prog_compiler_static='$wl-a ${wl}archive'
   9773       ;;
   9774 
   9775     irix5* | irix6* | nonstopux*)
   9776       lt_prog_compiler_wl='-Wl,'
   9777       # PIC (with -KPIC) is the default.
   9778       lt_prog_compiler_static='-non_shared'
   9779       ;;
   9780 
   9781     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   9782       case $cc_basename in
   9783       # old Intel for x86_64, which still supported -KPIC.
   9784       ecc*)
   9785 	lt_prog_compiler_wl='-Wl,'
   9786 	lt_prog_compiler_pic='-KPIC'
   9787 	lt_prog_compiler_static='-static'
   9788         ;;
   9789       *flang* | ftn | f18* | f95*)
   9790         # Flang compiler.
   9791 	lt_prog_compiler_wl='-Wl,'
   9792 	lt_prog_compiler_pic='-fPIC'
   9793 	lt_prog_compiler_static='-static'
   9794         ;;
   9795       # icc used to be incompatible with GCC.
   9796       # ICC 10 doesn't accept -KPIC any more.
   9797       icc* | ifort*)
   9798 	lt_prog_compiler_wl='-Wl,'
   9799 	lt_prog_compiler_pic='-fPIC'
   9800 	lt_prog_compiler_static='-static'
   9801         ;;
   9802       # Lahey Fortran 8.1.
   9803       lf95*)
   9804 	lt_prog_compiler_wl='-Wl,'
   9805 	lt_prog_compiler_pic='--shared'
   9806 	lt_prog_compiler_static='--static'
   9807 	;;
   9808       nagfor*)
   9809 	# NAG Fortran compiler
   9810 	lt_prog_compiler_wl='-Wl,-Wl,,'
   9811 	lt_prog_compiler_pic='-PIC'
   9812 	lt_prog_compiler_static='-Bstatic'
   9813 	;;
   9814       tcc*)
   9815 	# Fabrice Bellard et al's Tiny C Compiler
   9816 	lt_prog_compiler_wl='-Wl,'
   9817 	lt_prog_compiler_pic='-fPIC'
   9818 	lt_prog_compiler_static='-static'
   9819 	;;
   9820       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9821         # Portland Group compilers (*not* the Pentium gcc compiler,
   9822 	# which looks to be a dead project)
   9823 	lt_prog_compiler_wl='-Wl,'
   9824 	lt_prog_compiler_pic='-fpic'
   9825 	lt_prog_compiler_static='-Bstatic'
   9826         ;;
   9827       ccc*)
   9828         lt_prog_compiler_wl='-Wl,'
   9829         # All Alpha code is PIC.
   9830         lt_prog_compiler_static='-non_shared'
   9831         ;;
   9832       xl* | bgxl* | bgf* | mpixl*)
   9833 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9834 	lt_prog_compiler_wl='-Wl,'
   9835 	lt_prog_compiler_pic='-qpic'
   9836 	lt_prog_compiler_static='-qstaticlink'
   9837 	;;
   9838       *)
   9839 	case `$CC -V 2>&1 | $SED 5q` in
   9840 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   9841 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9842 	  lt_prog_compiler_pic='-KPIC'
   9843 	  lt_prog_compiler_static='-Bstatic'
   9844 	  lt_prog_compiler_wl=''
   9845 	  ;;
   9846 	*Sun\ F* | *Sun*Fortran*)
   9847 	  lt_prog_compiler_pic='-KPIC'
   9848 	  lt_prog_compiler_static='-Bstatic'
   9849 	  lt_prog_compiler_wl='-Qoption ld '
   9850 	  ;;
   9851 	*Sun\ C*)
   9852 	  # Sun C 5.9
   9853 	  lt_prog_compiler_pic='-KPIC'
   9854 	  lt_prog_compiler_static='-Bstatic'
   9855 	  lt_prog_compiler_wl='-Wl,'
   9856 	  ;;
   9857         *Intel*\ [CF]*Compiler*)
   9858 	  lt_prog_compiler_wl='-Wl,'
   9859 	  lt_prog_compiler_pic='-fPIC'
   9860 	  lt_prog_compiler_static='-static'
   9861 	  ;;
   9862 	*Portland\ Group*)
   9863 	  lt_prog_compiler_wl='-Wl,'
   9864 	  lt_prog_compiler_pic='-fpic'
   9865 	  lt_prog_compiler_static='-Bstatic'
   9866 	  ;;
   9867 	esac
   9868 	;;
   9869       esac
   9870       ;;
   9871 
   9872     newsos6)
   9873       lt_prog_compiler_pic='-KPIC'
   9874       lt_prog_compiler_static='-Bstatic'
   9875       ;;
   9876 
   9877     *-mlibc)
   9878       lt_prog_compiler_wl='-Wl,'
   9879       lt_prog_compiler_pic='-fPIC'
   9880       lt_prog_compiler_static='-static'
   9881       ;;
   9882 
   9883     *nto* | *qnx*)
   9884       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9885       # it will coredump.
   9886       lt_prog_compiler_pic='-fPIC -shared'
   9887       ;;
   9888 
   9889     osf3* | osf4* | osf5*)
   9890       lt_prog_compiler_wl='-Wl,'
   9891       # All OSF/1 code is PIC.
   9892       lt_prog_compiler_static='-non_shared'
   9893       ;;
   9894 
   9895     rdos*)
   9896       lt_prog_compiler_static='-non_shared'
   9897       ;;
   9898 
   9899     serenity*)
   9900       ;;
   9901 
   9902     solaris*)
   9903       lt_prog_compiler_pic='-KPIC'
   9904       lt_prog_compiler_static='-Bstatic'
   9905       case $cc_basename in
   9906       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   9907 	lt_prog_compiler_wl='-Qoption ld ';;
   9908       *)
   9909 	lt_prog_compiler_wl='-Wl,';;
   9910       esac
   9911       ;;
   9912 
   9913     sunos4*)
   9914       lt_prog_compiler_wl='-Qoption ld '
   9915       lt_prog_compiler_pic='-PIC'
   9916       lt_prog_compiler_static='-Bstatic'
   9917       ;;
   9918 
   9919     sysv4 | sysv4.2uw2* | sysv4.3*)
   9920       lt_prog_compiler_wl='-Wl,'
   9921       lt_prog_compiler_pic='-KPIC'
   9922       lt_prog_compiler_static='-Bstatic'
   9923       ;;
   9924 
   9925     sysv4*MP*)
   9926       if test -d /usr/nec; then
   9927 	lt_prog_compiler_pic='-Kconform_pic'
   9928 	lt_prog_compiler_static='-Bstatic'
   9929       fi
   9930       ;;
   9931 
   9932     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9933       lt_prog_compiler_wl='-Wl,'
   9934       lt_prog_compiler_pic='-KPIC'
   9935       lt_prog_compiler_static='-Bstatic'
   9936       ;;
   9937 
   9938     unicos*)
   9939       lt_prog_compiler_wl='-Wl,'
   9940       lt_prog_compiler_can_build_shared=no
   9941       ;;
   9942 
   9943     uts4*)
   9944       lt_prog_compiler_pic='-pic'
   9945       lt_prog_compiler_static='-Bstatic'
   9946       ;;
   9947 
   9948     *)
   9949       lt_prog_compiler_can_build_shared=no
   9950       ;;
   9951     esac
   9952   fi
   9953 
   9954 case $host_os in
   9955   # For platforms that do not support PIC, -DPIC is meaningless:
   9956   *djgpp*)
   9957     lt_prog_compiler_pic=
   9958     ;;
   9959   *)
   9960     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9961     ;;
   9962 esac
   9963 
   9964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9965 printf %s "checking for $compiler option to produce PIC... " >&6; }
   9966 if test ${lt_cv_prog_compiler_pic+y}
   9967 then :
   9968   printf %s "(cached) " >&6
   9969 else case e in #(
   9970   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
   9971 esac
   9972 fi
   9973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   9974 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   9975 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   9976 
   9977 #
   9978 # Check to make sure the PIC flag actually works.
   9979 #
   9980 if test -n "$lt_prog_compiler_pic"; then
   9981   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9982 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9983 if test ${lt_cv_prog_compiler_pic_works+y}
   9984 then :
   9985   printf %s "(cached) " >&6
   9986 else case e in #(
   9987   e) lt_cv_prog_compiler_pic_works=no
   9988    ac_outfile=conftest.$ac_objext
   9989    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9990    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   9991    # Insert the option either (1) after the last *FLAGS variable, or
   9992    # (2) before a word containing "conftest.", or (3) at the end.
   9993    # Note that $ac_compile itself does not contain backslashes and begins
   9994    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9995    # The option is referenced via a variable to avoid confusing sed.
   9996    lt_compile=`echo "$ac_compile" | $SED \
   9997    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9998    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9999    -e 's:$: $lt_compiler_flag:'`
   10000    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10001    (eval "$lt_compile" 2>conftest.err)
   10002    ac_status=$?
   10003    cat conftest.err >&5
   10004    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10005    if (exit $ac_status) && test -s "$ac_outfile"; then
   10006      # The compiler can only warn and ignore the option if not recognized
   10007      # So say no if there are warnings other than the usual output.
   10008      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   10009      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10010      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   10011        lt_cv_prog_compiler_pic_works=yes
   10012      fi
   10013    fi
   10014    $RM conftest*
   10015  ;;
   10016 esac
   10017 fi
   10018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   10019 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   10020 
   10021 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   10022     case $lt_prog_compiler_pic in
   10023      "" | " "*) ;;
   10024      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   10025      esac
   10026 else
   10027     lt_prog_compiler_pic=
   10028      lt_prog_compiler_can_build_shared=no
   10029 fi
   10030 
   10031 fi
   10032 
   10033 
   10034 
   10035 
   10036 
   10037 
   10038 
   10039 
   10040 
   10041 
   10042 
   10043 #
   10044 # Check to make sure the static flag actually works.
   10045 #
   10046 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   10047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   10048 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   10049 if test ${lt_cv_prog_compiler_static_works+y}
   10050 then :
   10051   printf %s "(cached) " >&6
   10052 else case e in #(
   10053   e) lt_cv_prog_compiler_static_works=no
   10054    save_LDFLAGS=$LDFLAGS
   10055    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   10056    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10057    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10058      # The linker can only warn and ignore the option if not recognized
   10059      # So say no if there are warnings
   10060      if test -s conftest.err; then
   10061        # Append any errors to the config.log.
   10062        cat conftest.err 1>&5
   10063        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10064        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10065        if diff conftest.exp conftest.er2 >/dev/null; then
   10066          lt_cv_prog_compiler_static_works=yes
   10067        fi
   10068      else
   10069        lt_cv_prog_compiler_static_works=yes
   10070      fi
   10071    fi
   10072    $RM -r conftest*
   10073    LDFLAGS=$save_LDFLAGS
   10074  ;;
   10075 esac
   10076 fi
   10077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   10078 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   10079 
   10080 if test yes = "$lt_cv_prog_compiler_static_works"; then
   10081     :
   10082 else
   10083     lt_prog_compiler_static=
   10084 fi
   10085 
   10086 
   10087 
   10088 
   10089 
   10090 
   10091 
   10092   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   10093 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   10094 if test ${lt_cv_prog_compiler_c_o+y}
   10095 then :
   10096   printf %s "(cached) " >&6
   10097 else case e in #(
   10098   e) lt_cv_prog_compiler_c_o=no
   10099    $RM -r conftest 2>/dev/null
   10100    mkdir conftest
   10101    cd conftest
   10102    mkdir out
   10103    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10104 
   10105    lt_compiler_flag="-o out/conftest2.$ac_objext"
   10106    # Insert the option either (1) after the last *FLAGS variable, or
   10107    # (2) before a word containing "conftest.", or (3) at the end.
   10108    # Note that $ac_compile itself does not contain backslashes and begins
   10109    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10110    lt_compile=`echo "$ac_compile" | $SED \
   10111    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10112    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10113    -e 's:$: $lt_compiler_flag:'`
   10114    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10115    (eval "$lt_compile" 2>out/conftest.err)
   10116    ac_status=$?
   10117    cat out/conftest.err >&5
   10118    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10119    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   10120    then
   10121      # The compiler can only warn and ignore the option if not recognized
   10122      # So say no if there are warnings
   10123      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   10124      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   10125      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   10126        lt_cv_prog_compiler_c_o=yes
   10127      fi
   10128    fi
   10129    chmod u+w . 2>&5
   10130    $RM conftest*
   10131    # SGI C++ compiler will create directory out/ii_files/ for
   10132    # template instantiation
   10133    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   10134    $RM out/* && rmdir out
   10135    cd ..
   10136    $RM -r conftest
   10137    $RM conftest*
   10138  ;;
   10139 esac
   10140 fi
   10141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   10142 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   10143 
   10144 
   10145 
   10146 
   10147 
   10148 
   10149   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   10150 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   10151 if test ${lt_cv_prog_compiler_c_o+y}
   10152 then :
   10153   printf %s "(cached) " >&6
   10154 else case e in #(
   10155   e) lt_cv_prog_compiler_c_o=no
   10156    $RM -r conftest 2>/dev/null
   10157    mkdir conftest
   10158    cd conftest
   10159    mkdir out
   10160    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10161 
   10162    lt_compiler_flag="-o out/conftest2.$ac_objext"
   10163    # Insert the option either (1) after the last *FLAGS variable, or
   10164    # (2) before a word containing "conftest.", or (3) at the end.
   10165    # Note that $ac_compile itself does not contain backslashes and begins
   10166    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10167    lt_compile=`echo "$ac_compile" | $SED \
   10168    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10169    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10170    -e 's:$: $lt_compiler_flag:'`
   10171    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10172    (eval "$lt_compile" 2>out/conftest.err)
   10173    ac_status=$?
   10174    cat out/conftest.err >&5
   10175    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10176    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   10177    then
   10178      # The compiler can only warn and ignore the option if not recognized
   10179      # So say no if there are warnings
   10180      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   10181      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   10182      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   10183        lt_cv_prog_compiler_c_o=yes
   10184      fi
   10185    fi
   10186    chmod u+w . 2>&5
   10187    $RM conftest*
   10188    # SGI C++ compiler will create directory out/ii_files/ for
   10189    # template instantiation
   10190    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   10191    $RM out/* && rmdir out
   10192    cd ..
   10193    $RM -r conftest
   10194    $RM conftest*
   10195  ;;
   10196 esac
   10197 fi
   10198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   10199 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   10200 
   10201 
   10202 
   10203 
   10204 hard_links=nottested
   10205 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   10206   # do not overwrite the value of need_locks provided by the user
   10207   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   10208 printf %s "checking if we can lock with hard links... " >&6; }
   10209   hard_links=yes
   10210   $RM conftest*
   10211   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   10212   touch conftest.a
   10213   ln conftest.a conftest.b 2>&5 || hard_links=no
   10214   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   10215   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   10216 printf "%s\n" "$hard_links" >&6; }
   10217   if test no = "$hard_links"; then
   10218     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   10219 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   10220     need_locks=warn
   10221   fi
   10222 else
   10223   need_locks=no
   10224 fi
   10225 
   10226 
   10227 
   10228 
   10229 
   10230 
   10231   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   10232 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   10233 
   10234   runpath_var=
   10235   allow_undefined_flag=
   10236   always_export_symbols=no
   10237   archive_cmds=
   10238   archive_expsym_cmds=
   10239   compiler_needs_object=no
   10240   enable_shared_with_static_runtimes=no
   10241   export_dynamic_flag_spec=
   10242   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   10243   hardcode_automatic=no
   10244   hardcode_direct=no
   10245   hardcode_direct_absolute=no
   10246   hardcode_libdir_flag_spec=
   10247   hardcode_libdir_separator=
   10248   hardcode_minus_L=no
   10249   hardcode_shlibpath_var=unsupported
   10250   inherit_rpath=no
   10251   link_all_deplibs=unknown
   10252   module_cmds=
   10253   module_expsym_cmds=
   10254   old_archive_from_new_cmds=
   10255   old_archive_from_expsyms_cmds=
   10256   thread_safe_flag_spec=
   10257   whole_archive_flag_spec=
   10258   # include_expsyms should be a list of space-separated symbols to be *always*
   10259   # included in the symbol list
   10260   include_expsyms=
   10261   # exclude_expsyms can be an extended regexp of symbols to exclude
   10262   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   10263   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   10264   # as well as any symbol that contains 'd'.
   10265   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   10266   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   10267   # platforms (ab)use it in PIC code, but their linkers get confused if
   10268   # the symbol is explicitly referenced.  Since portable code cannot
   10269   # rely on this symbol name, it's probably fine to never include it in
   10270   # preloaded symbol tables.
   10271   # Exclude shared library initialization/finalization symbols.
   10272   extract_expsyms_cmds=
   10273 
   10274   case $host_os in
   10275   cygwin* | mingw* | windows* | pw32* | cegcc*)
   10276     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   10277     # When not using gcc, we currently assume that we are using
   10278     # Microsoft Visual C++ or Intel C++ Compiler.
   10279     if test yes != "$GCC"; then
   10280       with_gnu_ld=no
   10281     fi
   10282     ;;
   10283   interix*)
   10284     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   10285     with_gnu_ld=yes
   10286     ;;
   10287   esac
   10288 
   10289   ld_shlibs=yes
   10290 
   10291   # On some targets, GNU ld is compatible enough with the native linker
   10292   # that we're better off using the native interface for both.
   10293   lt_use_gnu_ld_interface=no
   10294   if test yes = "$with_gnu_ld"; then
   10295     case $host_os in
   10296       aix*)
   10297 	# The AIX port of GNU ld has always aspired to compatibility
   10298 	# with the native linker.  However, as the warning in the GNU ld
   10299 	# block says, versions before 2.19.5* couldn't really create working
   10300 	# shared libraries, regardless of the interface used.
   10301 	case `$LD -v 2>&1` in
   10302 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   10303 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   10304 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   10305 	  *)
   10306 	    lt_use_gnu_ld_interface=yes
   10307 	    ;;
   10308 	esac
   10309 	;;
   10310       *)
   10311 	lt_use_gnu_ld_interface=yes
   10312 	;;
   10313     esac
   10314   fi
   10315 
   10316   if test yes = "$lt_use_gnu_ld_interface"; then
   10317     # If archive_cmds runs LD, not CC, wlarc should be empty
   10318     wlarc='$wl'
   10319 
   10320     # Set some defaults for GNU ld with shared library support. These
   10321     # are reset later if shared libraries are not supported. Putting them
   10322     # here allows them to be overridden if necessary.
   10323     runpath_var=LD_RUN_PATH
   10324     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10325     export_dynamic_flag_spec='$wl--export-dynamic'
   10326     # ancient GNU ld didn't support --whole-archive et. al.
   10327     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   10328       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   10329     else
   10330       whole_archive_flag_spec=
   10331     fi
   10332     supports_anon_versioning=no
   10333     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   10334       *GNU\ gold*) supports_anon_versioning=yes ;;
   10335       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   10336       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   10337       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   10338       *\ 2.11.*) ;; # other 2.11 versions
   10339       *) supports_anon_versioning=yes ;;
   10340     esac
   10341 
   10342     # See if GNU ld supports shared libraries.
   10343     case $host_os in
   10344     aix[3-9]*)
   10345       # On AIX/PPC, the GNU linker is very broken
   10346       if test ia64 != "$host_cpu"; then
   10347 	ld_shlibs=no
   10348 	cat <<_LT_EOF 1>&2
   10349 
   10350 *** Warning: the GNU linker, at least up to release 2.19, is reported
   10351 *** to be unable to reliably create shared libraries on AIX.
   10352 *** Therefore, libtool is disabling shared libraries support.  If you
   10353 *** really care for shared libraries, you may want to install binutils
   10354 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   10355 *** You will then need to restart the configuration process.
   10356 
   10357 _LT_EOF
   10358       fi
   10359       ;;
   10360 
   10361     amigaos*)
   10362       case $host_cpu in
   10363       powerpc)
   10364             # see comment about AmigaOS4 .so support
   10365             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10366             archive_expsym_cmds=''
   10367         ;;
   10368       m68k)
   10369             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)'
   10370             hardcode_libdir_flag_spec='-L$libdir'
   10371             hardcode_minus_L=yes
   10372         ;;
   10373       esac
   10374       ;;
   10375 
   10376     beos*)
   10377       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10378 	allow_undefined_flag=unsupported
   10379 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   10380 	# support --undefined.  This deserves some investigation.  FIXME
   10381 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10382       else
   10383 	ld_shlibs=no
   10384       fi
   10385       ;;
   10386 
   10387     cygwin* | mingw* | windows* | pw32* | cegcc*)
   10388       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   10389       # as there is no search path for DLLs.
   10390       hardcode_libdir_flag_spec='-L$libdir'
   10391       export_dynamic_flag_spec='$wl--export-all-symbols'
   10392       allow_undefined_flag=unsupported
   10393       always_export_symbols=no
   10394       enable_shared_with_static_runtimes=yes
   10395       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'
   10396       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   10397       file_list_spec='@'
   10398 
   10399       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   10400         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10401 	# If the export-symbols file already is a .def file, use it as
   10402 	# is; otherwise, prepend EXPORTS...
   10403 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10404           cp $export_symbols $output_objdir/$soname.def;
   10405         else
   10406           echo EXPORTS > $output_objdir/$soname.def;
   10407           cat $export_symbols >> $output_objdir/$soname.def;
   10408         fi~
   10409         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10410       else
   10411 	ld_shlibs=no
   10412       fi
   10413       ;;
   10414 
   10415     haiku*)
   10416       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10417       link_all_deplibs=no
   10418       ;;
   10419 
   10420     os2*)
   10421       hardcode_libdir_flag_spec='-L$libdir'
   10422       hardcode_minus_L=yes
   10423       allow_undefined_flag=unsupported
   10424       shrext_cmds=.dll
   10425       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10426 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10427 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10428 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10429 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10430 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10431 	emximp -o $lib $output_objdir/$libname.def'
   10432       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10433 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10434 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10435 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10436 	prefix_cmds="$SED"~
   10437 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10438 	  prefix_cmds="$prefix_cmds -e 1d";
   10439 	fi~
   10440 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10441 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10442 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10443 	emximp -o $lib $output_objdir/$libname.def'
   10444       old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10445       enable_shared_with_static_runtimes=yes
   10446       file_list_spec='@'
   10447       ;;
   10448 
   10449     interix[3-9]*)
   10450       hardcode_direct=no
   10451       hardcode_shlibpath_var=no
   10452       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10453       export_dynamic_flag_spec='$wl-E'
   10454       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   10455       # Instead, shared libraries are loaded at an image base (0x10000000 by
   10456       # default) and relocated if they conflict, which is a slow very memory
   10457       # consuming and fragmenting process.  To avoid this, we pick a random,
   10458       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   10459       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   10460       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   10461       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'
   10462       ;;
   10463 
   10464     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   10465       tmp_diet=no
   10466       if test linux-dietlibc = "$host_os"; then
   10467 	case $cc_basename in
   10468 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   10469 	esac
   10470       fi
   10471       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   10472 	 && test no = "$tmp_diet"
   10473       then
   10474 	tmp_addflag=' $pic_flag'
   10475 	tmp_sharedflag='-shared'
   10476 	case $cc_basename,$host_cpu in
   10477         pgcc*)				# Portland Group C compiler
   10478 	  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'
   10479 	  tmp_addflag=' $pic_flag'
   10480 	  ;;
   10481 	pgf77* | pgf90* | pgf95* | pgfortran*)
   10482 					# Portland Group f77 and f90 compilers
   10483 	  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'
   10484 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   10485 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   10486 	  tmp_addflag=' -i_dynamic' ;;
   10487 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   10488 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   10489 	ifc* | ifort*)			# Intel Fortran compiler
   10490 	  tmp_addflag=' -nofor_main' ;;
   10491 	lf95*)				# Lahey Fortran 8.1
   10492 	  whole_archive_flag_spec=
   10493 	  tmp_sharedflag='--shared' ;;
   10494         nagfor*)                        # NAGFOR 5.3
   10495           tmp_sharedflag='-Wl,-shared' ;;
   10496 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   10497 	  tmp_sharedflag='-qmkshrobj'
   10498 	  tmp_addflag= ;;
   10499 	nvcc*)	# Cuda Compiler Driver 2.2
   10500 	  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'
   10501 	  compiler_needs_object=yes
   10502 	  ;;
   10503 	esac
   10504 	case `$CC -V 2>&1 | $SED 5q` in
   10505 	*Sun\ C*)			# Sun C 5.9
   10506 	  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'
   10507 	  compiler_needs_object=yes
   10508 	  tmp_sharedflag='-G' ;;
   10509 	*Sun\ F*)			# Sun Fortran 8.3
   10510 	  tmp_sharedflag='-G' ;;
   10511 	esac
   10512 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10513 
   10514         if test yes = "$supports_anon_versioning"; then
   10515           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10516             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10517             echo "local: *; };" >> $output_objdir/$libname.ver~
   10518             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   10519         fi
   10520 
   10521 	case $cc_basename in
   10522 	tcc*)
   10523 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10524 	  export_dynamic_flag_spec='-rdynamic'
   10525 	  ;;
   10526 	xlf* | bgf* | bgxlf* | mpixlf*)
   10527 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   10528 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   10529 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10530 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   10531 	  if test yes = "$supports_anon_versioning"; then
   10532 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10533               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10534               echo "local: *; };" >> $output_objdir/$libname.ver~
   10535               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   10536 	  fi
   10537 	  ;;
   10538 	esac
   10539       else
   10540         ld_shlibs=no
   10541       fi
   10542       ;;
   10543 
   10544     *-mlibc)
   10545 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10546 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10547       ;;
   10548 
   10549     netbsd* | netbsdelf*-gnu)
   10550       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10551 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   10552 	wlarc=
   10553       else
   10554 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10555 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10556       fi
   10557       ;;
   10558 
   10559     solaris*)
   10560       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   10561 	ld_shlibs=no
   10562 	cat <<_LT_EOF 1>&2
   10563 
   10564 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   10565 *** create shared libraries on Solaris systems.  Therefore, libtool
   10566 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10567 *** binutils to release 2.9.1 or newer.  Another option is to modify
   10568 *** your PATH or compiler configuration so that the native linker is
   10569 *** used, and then restart.
   10570 
   10571 _LT_EOF
   10572       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10573 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10574 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10575       else
   10576 	ld_shlibs=no
   10577       fi
   10578       ;;
   10579 
   10580     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   10581       case `$LD -v 2>&1` in
   10582         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   10583 	ld_shlibs=no
   10584 	cat <<_LT_EOF 1>&2
   10585 
   10586 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   10587 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   10588 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10589 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   10590 *** your PATH or compiler configuration so that the native linker is
   10591 *** used, and then restart.
   10592 
   10593 _LT_EOF
   10594 	;;
   10595 	*)
   10596 	  # For security reasons, it is highly recommended that you always
   10597 	  # use absolute paths for naming shared libraries, and exclude the
   10598 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   10599 	  # requires that you compile everything twice, which is a pain.
   10600 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10601 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10602 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10603 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10604 	  else
   10605 	    ld_shlibs=no
   10606 	  fi
   10607 	;;
   10608       esac
   10609       ;;
   10610 
   10611     sunos4*)
   10612       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10613       wlarc=
   10614       hardcode_direct=yes
   10615       hardcode_shlibpath_var=no
   10616       ;;
   10617 
   10618     *)
   10619       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10620 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10621 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10622       else
   10623 	ld_shlibs=no
   10624       fi
   10625       ;;
   10626     esac
   10627 
   10628     if test no = "$ld_shlibs"; then
   10629       runpath_var=
   10630       hardcode_libdir_flag_spec=
   10631       export_dynamic_flag_spec=
   10632       whole_archive_flag_spec=
   10633     fi
   10634   else
   10635     # PORTME fill in a description of your system's linker (not GNU ld)
   10636     case $host_os in
   10637     aix3*)
   10638       allow_undefined_flag=unsupported
   10639       always_export_symbols=yes
   10640       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'
   10641       # Note: this linker hardcodes the directories in LIBPATH if there
   10642       # are no directories specified by -L.
   10643       hardcode_minus_L=yes
   10644       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   10645 	# Neither direct hardcoding nor static linking is supported with a
   10646 	# broken collect2.
   10647 	hardcode_direct=unsupported
   10648       fi
   10649       ;;
   10650 
   10651     aix[4-9]*)
   10652       if test ia64 = "$host_cpu"; then
   10653 	# On IA64, the linker does run time linking by default, so we don't
   10654 	# have to do anything special.
   10655 	aix_use_runtimelinking=no
   10656 	exp_sym_flag='-Bexport'
   10657 	no_entry_flag=
   10658       else
   10659 	# If we're using GNU nm, then we don't want the "-C" option.
   10660 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   10661 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   10662 	# weak defined symbols like other global defined symbols, whereas
   10663 	# GNU nm marks them as "W".
   10664 	# While the 'weak' keyword is ignored in the Export File, we need
   10665 	# it in the Import File for the 'aix-soname' feature, so we have
   10666 	# to replace the "-B" option with "-P" for AIX nm.
   10667 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   10668 	  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'
   10669 	else
   10670 	  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'
   10671 	fi
   10672 	aix_use_runtimelinking=no
   10673 
   10674 	# Test if we are trying to use run time linking or normal
   10675 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10676 	# have runtime linking enabled, and use it for executables.
   10677 	# For shared libraries, we enable/disable runtime linking
   10678 	# depending on the kind of the shared library created -
   10679 	# when "with_aix_soname,aix_use_runtimelinking" is:
   10680 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   10681 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   10682 	#            lib.a           static archive
   10683 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   10684 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   10685 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   10686 	#            lib.a(lib.so.V) shared, rtl:no
   10687 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   10688 	#            lib.a           static archive
   10689 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10690 	  for ld_flag in $LDFLAGS; do
   10691 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   10692 	    aix_use_runtimelinking=yes
   10693 	    break
   10694 	  fi
   10695 	  done
   10696 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   10697 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   10698 	    # so we don't have lib.a shared libs to link our executables.
   10699 	    # We have to force runtime linking in this case.
   10700 	    aix_use_runtimelinking=yes
   10701 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   10702 	  fi
   10703 	  ;;
   10704 	esac
   10705 
   10706 	exp_sym_flag='-bexport'
   10707 	no_entry_flag='-bnoentry'
   10708       fi
   10709 
   10710       # When large executables or shared objects are built, AIX ld can
   10711       # have problems creating the table of contents.  If linking a library
   10712       # or program results in "error TOC overflow" add -mminimal-toc to
   10713       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10714       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10715 
   10716       archive_cmds=''
   10717       hardcode_direct=yes
   10718       hardcode_direct_absolute=yes
   10719       hardcode_libdir_separator=':'
   10720       link_all_deplibs=yes
   10721       file_list_spec='$wl-f,'
   10722       case $with_aix_soname,$aix_use_runtimelinking in
   10723       aix,*) ;; # traditional, no import file
   10724       svr4,* | *,yes) # use import file
   10725 	# The Import File defines what to hardcode.
   10726 	hardcode_direct=no
   10727 	hardcode_direct_absolute=no
   10728 	;;
   10729       esac
   10730 
   10731       if test yes = "$GCC"; then
   10732 	case $host_os in aix4.[012]|aix4.[012].*)
   10733 	# We only want to do this on AIX 4.2 and lower, the check
   10734 	# below for broken collect2 doesn't work under 4.3+
   10735 	  collect2name=`$CC -print-prog-name=collect2`
   10736 	  if test -f "$collect2name" &&
   10737 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10738 	  then
   10739 	  # We have reworked collect2
   10740 	  :
   10741 	  else
   10742 	  # We have old collect2
   10743 	  hardcode_direct=unsupported
   10744 	  # It fails to find uninstalled libraries when the uninstalled
   10745 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10746 	  # to unsupported forces relinking
   10747 	  hardcode_minus_L=yes
   10748 	  hardcode_libdir_flag_spec='-L$libdir'
   10749 	  hardcode_libdir_separator=
   10750 	  fi
   10751 	  ;;
   10752 	esac
   10753 	shared_flag='-shared'
   10754 	if test yes = "$aix_use_runtimelinking"; then
   10755 	  shared_flag="$shared_flag "'$wl-G'
   10756 	fi
   10757 	# Need to ensure runtime linking is disabled for the traditional
   10758 	# shared library, or the linker may eventually find shared libraries
   10759 	# /with/ Import File - we do not want to mix them.
   10760 	shared_flag_aix='-shared'
   10761 	shared_flag_svr4='-shared $wl-G'
   10762       else
   10763 	# not using gcc
   10764 	if test ia64 = "$host_cpu"; then
   10765 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10766 	# chokes on -Wl,-G. The following line is correct:
   10767 	  shared_flag='-G'
   10768 	else
   10769 	  if test yes = "$aix_use_runtimelinking"; then
   10770 	    shared_flag='$wl-G'
   10771 	  else
   10772 	    shared_flag='$wl-bM:SRE'
   10773 	  fi
   10774 	  shared_flag_aix='$wl-bM:SRE'
   10775 	  shared_flag_svr4='$wl-G'
   10776 	fi
   10777       fi
   10778 
   10779       export_dynamic_flag_spec='$wl-bexpall'
   10780       # It seems that -bexpall does not export symbols beginning with
   10781       # underscore (_), so it is better to generate a list of symbols to export.
   10782       always_export_symbols=yes
   10783       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   10784 	# Warning - without using the other runtime loading flags (-brtl),
   10785 	# -berok will link without error, but may produce a broken library.
   10786 	allow_undefined_flag='-berok'
   10787         # Determine the default libpath from the value encoded in an
   10788         # empty executable.
   10789         if test set = "${lt_cv_aix_libpath+set}"; then
   10790   aix_libpath=$lt_cv_aix_libpath
   10791 else
   10792   if test ${lt_cv_aix_libpath_+y}
   10793 then :
   10794   printf %s "(cached) " >&6
   10795 else case e in #(
   10796   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10797 /* end confdefs.h.  */
   10798 
   10799 int
   10800 main (void)
   10801 {
   10802 
   10803   ;
   10804   return 0;
   10805 }
   10806 _ACEOF
   10807 if ac_fn_c_try_link "$LINENO"
   10808 then :
   10809 
   10810   lt_aix_libpath_sed='
   10811       /Import File Strings/,/^$/ {
   10812 	  /^0/ {
   10813 	      s/^0  *\([^ ]*\) *$/\1/
   10814 	      p
   10815 	  }
   10816       }'
   10817   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10818   # Check for a 64-bit object if we didn't find anything.
   10819   if test -z "$lt_cv_aix_libpath_"; then
   10820     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10821   fi
   10822 fi
   10823 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10824     conftest$ac_exeext conftest.$ac_ext
   10825   if test -z "$lt_cv_aix_libpath_"; then
   10826     lt_cv_aix_libpath_=/usr/lib:/lib
   10827   fi
   10828    ;;
   10829 esac
   10830 fi
   10831 
   10832   aix_libpath=$lt_cv_aix_libpath_
   10833 fi
   10834 
   10835         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10836         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
   10837       else
   10838 	if test ia64 = "$host_cpu"; then
   10839 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   10840 	  allow_undefined_flag="-z nodefs"
   10841 	  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"
   10842 	else
   10843 	 # Determine the default libpath from the value encoded in an
   10844 	 # empty executable.
   10845 	 if test set = "${lt_cv_aix_libpath+set}"; then
   10846   aix_libpath=$lt_cv_aix_libpath
   10847 else
   10848   if test ${lt_cv_aix_libpath_+y}
   10849 then :
   10850   printf %s "(cached) " >&6
   10851 else case e in #(
   10852   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10853 /* end confdefs.h.  */
   10854 
   10855 int
   10856 main (void)
   10857 {
   10858 
   10859   ;
   10860   return 0;
   10861 }
   10862 _ACEOF
   10863 if ac_fn_c_try_link "$LINENO"
   10864 then :
   10865 
   10866   lt_aix_libpath_sed='
   10867       /Import File Strings/,/^$/ {
   10868 	  /^0/ {
   10869 	      s/^0  *\([^ ]*\) *$/\1/
   10870 	      p
   10871 	  }
   10872       }'
   10873   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10874   # Check for a 64-bit object if we didn't find anything.
   10875   if test -z "$lt_cv_aix_libpath_"; then
   10876     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10877   fi
   10878 fi
   10879 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10880     conftest$ac_exeext conftest.$ac_ext
   10881   if test -z "$lt_cv_aix_libpath_"; then
   10882     lt_cv_aix_libpath_=/usr/lib:/lib
   10883   fi
   10884    ;;
   10885 esac
   10886 fi
   10887 
   10888   aix_libpath=$lt_cv_aix_libpath_
   10889 fi
   10890 
   10891 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10892 	  # Warning - without using the other run time loading flags,
   10893 	  # -berok will link without error, but may produce a broken library.
   10894 	  no_undefined_flag=' $wl-bernotok'
   10895 	  allow_undefined_flag=' $wl-berok'
   10896 	  if test yes = "$with_gnu_ld"; then
   10897 	    # We only use this code for GNU lds that support --whole-archive.
   10898 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   10899 	  else
   10900 	    # Exported symbols can be pulled into shared objects from archives
   10901 	    whole_archive_flag_spec='$convenience'
   10902 	  fi
   10903 	  archive_cmds_need_lc=yes
   10904 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   10905 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   10906 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   10907 	  if test svr4 != "$with_aix_soname"; then
   10908 	    # This is similar to how AIX traditionally builds its shared libraries.
   10909 	    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'
   10910 	  fi
   10911 	  if test aix != "$with_aix_soname"; then
   10912 	    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'
   10913 	  else
   10914 	    # used by -dlpreopen to get the symbols
   10915 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   10916 	  fi
   10917 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   10918 	fi
   10919       fi
   10920       ;;
   10921 
   10922     amigaos*)
   10923       case $host_cpu in
   10924       powerpc)
   10925             # see comment about AmigaOS4 .so support
   10926             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10927             archive_expsym_cmds=''
   10928         ;;
   10929       m68k)
   10930             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)'
   10931             hardcode_libdir_flag_spec='-L$libdir'
   10932             hardcode_minus_L=yes
   10933         ;;
   10934       esac
   10935       ;;
   10936 
   10937     bsdi[45]*)
   10938       export_dynamic_flag_spec=-rdynamic
   10939       ;;
   10940 
   10941     cygwin* | mingw* | windows* | pw32* | cegcc*)
   10942       # When not using gcc, we currently assume that we are using
   10943       # Microsoft Visual C++ or Intel C++ Compiler.
   10944       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10945       # no search path for DLLs.
   10946       case $cc_basename in
   10947       cl* | icl*)
   10948 	# Native MSVC or ICC
   10949 	hardcode_libdir_flag_spec=' '
   10950 	allow_undefined_flag=unsupported
   10951 	always_export_symbols=yes
   10952 	file_list_spec='@'
   10953 	# Tell ltmain to make .lib files, not .a files.
   10954 	libext=lib
   10955 	# Tell ltmain to make .dll files, not .so files.
   10956 	shrext_cmds=.dll
   10957 	# FIXME: Setting linknames here is a bad hack.
   10958 	archive_cmds='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   10959 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10960             cp "$export_symbols" "$output_objdir/$soname.def";
   10961             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   10962           else
   10963             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   10964           fi~
   10965           $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   10966           linknames='
   10967 	# The linker will not automatically build a static lib if we build a DLL.
   10968 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   10969 	enable_shared_with_static_runtimes=yes
   10970 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   10971 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   10972 	# Don't use ranlib
   10973 	old_postinstall_cmds='chmod 644 $oldlib'
   10974 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   10975           lt_tool_outputfile="@TOOL_OUTPUT@"~
   10976           case $lt_outputfile in
   10977             *.exe|*.EXE) ;;
   10978             *)
   10979               lt_outputfile=$lt_outputfile.exe
   10980               lt_tool_outputfile=$lt_tool_outputfile.exe
   10981               ;;
   10982           esac~
   10983           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   10984             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   10985             $RM "$lt_outputfile.manifest";
   10986           fi'
   10987 	;;
   10988       *)
   10989 	# Assume MSVC and ICC wrapper
   10990 	hardcode_libdir_flag_spec=' '
   10991 	allow_undefined_flag=unsupported
   10992 	# Tell ltmain to make .lib files, not .a files.
   10993 	libext=lib
   10994 	# Tell ltmain to make .dll files, not .so files.
   10995 	shrext_cmds=.dll
   10996 	# FIXME: Setting linknames here is a bad hack.
   10997 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10998 	# The linker will automatically build a .lib file if we build a DLL.
   10999 	old_archive_from_new_cmds='true'
   11000 	# FIXME: Should let the user specify the lib program.
   11001 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   11002 	enable_shared_with_static_runtimes=yes
   11003 	;;
   11004       esac
   11005       ;;
   11006 
   11007     darwin* | rhapsody*)
   11008 
   11009 
   11010   archive_cmds_need_lc=no
   11011   hardcode_direct=no
   11012   hardcode_automatic=yes
   11013   hardcode_shlibpath_var=unsupported
   11014   if test yes = "$lt_cv_ld_force_load"; then
   11015     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\"`'
   11016 
   11017   else
   11018     whole_archive_flag_spec=''
   11019   fi
   11020   link_all_deplibs=yes
   11021   allow_undefined_flag=$_lt_dar_allow_undefined
   11022   case $cc_basename in
   11023      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   11024      *) _lt_dar_can_shared=$GCC ;;
   11025   esac
   11026   if test yes = "$_lt_dar_can_shared"; then
   11027     output_verbose_link_cmd=func_echo_all
   11028     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   11029     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   11030     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"
   11031     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"
   11032 
   11033   else
   11034   ld_shlibs=no
   11035   fi
   11036 
   11037       ;;
   11038 
   11039     dgux*)
   11040       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11041       hardcode_libdir_flag_spec='-L$libdir'
   11042       hardcode_shlibpath_var=no
   11043       ;;
   11044 
   11045     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   11046     # support.  Future versions do this automatically, but an explicit c++rt0.o
   11047     # does not break anything, and helps significantly (at the cost of a little
   11048     # extra space).
   11049     freebsd2.2*)
   11050       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   11051       hardcode_libdir_flag_spec='-R$libdir'
   11052       hardcode_direct=yes
   11053       hardcode_shlibpath_var=no
   11054       ;;
   11055 
   11056     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   11057     freebsd2.*)
   11058       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   11059       hardcode_direct=yes
   11060       hardcode_minus_L=yes
   11061       hardcode_shlibpath_var=no
   11062       ;;
   11063 
   11064     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   11065     freebsd* | dragonfly* | midnightbsd*)
   11066       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11067       hardcode_libdir_flag_spec='-R$libdir'
   11068       hardcode_direct=yes
   11069       hardcode_shlibpath_var=no
   11070       ;;
   11071 
   11072     hpux9*)
   11073       if test yes = "$GCC"; then
   11074 	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'
   11075       else
   11076 	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'
   11077       fi
   11078       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11079       hardcode_libdir_separator=:
   11080       hardcode_direct=yes
   11081 
   11082       # hardcode_minus_L: Not really in the search PATH,
   11083       # but as the default location of the library.
   11084       hardcode_minus_L=yes
   11085       export_dynamic_flag_spec='$wl-E'
   11086       ;;
   11087 
   11088     hpux10*)
   11089       if test yes,no = "$GCC,$with_gnu_ld"; then
   11090 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11091       else
   11092 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   11093       fi
   11094       if test no = "$with_gnu_ld"; then
   11095 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11096 	hardcode_libdir_separator=:
   11097 	hardcode_direct=yes
   11098 	hardcode_direct_absolute=yes
   11099 	export_dynamic_flag_spec='$wl-E'
   11100 	# hardcode_minus_L: Not really in the search PATH,
   11101 	# but as the default location of the library.
   11102 	hardcode_minus_L=yes
   11103       fi
   11104       ;;
   11105 
   11106     hpux11*)
   11107       if test yes,no = "$GCC,$with_gnu_ld"; then
   11108 	case $host_cpu in
   11109 	hppa*64*)
   11110 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11111 	  ;;
   11112 	ia64*)
   11113 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   11114 	  ;;
   11115 	*)
   11116 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11117 	  ;;
   11118 	esac
   11119       else
   11120 	case $host_cpu in
   11121 	hppa*64*)
   11122 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11123 	  ;;
   11124 	ia64*)
   11125 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   11126 	  ;;
   11127 	*)
   11128 
   11129 	  # Older versions of the 11.00 compiler do not understand -b yet
   11130 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   11131 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   11132 printf %s "checking if $CC understands -b... " >&6; }
   11133 if test ${lt_cv_prog_compiler__b+y}
   11134 then :
   11135   printf %s "(cached) " >&6
   11136 else case e in #(
   11137   e) lt_cv_prog_compiler__b=no
   11138    save_LDFLAGS=$LDFLAGS
   11139    LDFLAGS="$LDFLAGS -b"
   11140    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   11141    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   11142      # The linker can only warn and ignore the option if not recognized
   11143      # So say no if there are warnings
   11144      if test -s conftest.err; then
   11145        # Append any errors to the config.log.
   11146        cat conftest.err 1>&5
   11147        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   11148        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   11149        if diff conftest.exp conftest.er2 >/dev/null; then
   11150          lt_cv_prog_compiler__b=yes
   11151        fi
   11152      else
   11153        lt_cv_prog_compiler__b=yes
   11154      fi
   11155    fi
   11156    $RM -r conftest*
   11157    LDFLAGS=$save_LDFLAGS
   11158  ;;
   11159 esac
   11160 fi
   11161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   11162 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   11163 
   11164 if test yes = "$lt_cv_prog_compiler__b"; then
   11165     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11166 else
   11167     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   11168 fi
   11169 
   11170 	  ;;
   11171 	esac
   11172       fi
   11173       if test no = "$with_gnu_ld"; then
   11174 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11175 	hardcode_libdir_separator=:
   11176 
   11177 	case $host_cpu in
   11178 	hppa*64*|ia64*)
   11179 	  hardcode_direct=no
   11180 	  hardcode_shlibpath_var=no
   11181 	  ;;
   11182 	*)
   11183 	  hardcode_direct=yes
   11184 	  hardcode_direct_absolute=yes
   11185 	  export_dynamic_flag_spec='$wl-E'
   11186 
   11187 	  # hardcode_minus_L: Not really in the search PATH,
   11188 	  # but as the default location of the library.
   11189 	  hardcode_minus_L=yes
   11190 	  ;;
   11191 	esac
   11192       fi
   11193       ;;
   11194 
   11195     irix5* | irix6* | nonstopux*)
   11196       if test yes = "$GCC"; then
   11197 	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'
   11198 	# Try to use the -exported_symbol ld option, if it does not
   11199 	# work, assume that -exports_file does not work either and
   11200 	# implicitly export all symbols.
   11201 	# This should be the same for all languages, so no per-tag cache variable.
   11202 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   11203 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   11204 if test ${lt_cv_irix_exported_symbol+y}
   11205 then :
   11206   printf %s "(cached) " >&6
   11207 else case e in #(
   11208   e) save_LDFLAGS=$LDFLAGS
   11209 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   11210 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11211 /* end confdefs.h.  */
   11212 int foo (void) { return 0; }
   11213 _ACEOF
   11214 if ac_fn_c_try_link "$LINENO"
   11215 then :
   11216   lt_cv_irix_exported_symbol=yes
   11217 else case e in #(
   11218   e) lt_cv_irix_exported_symbol=no ;;
   11219 esac
   11220 fi
   11221 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11222     conftest$ac_exeext conftest.$ac_ext
   11223            LDFLAGS=$save_LDFLAGS ;;
   11224 esac
   11225 fi
   11226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   11227 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   11228 	if test yes = "$lt_cv_irix_exported_symbol"; then
   11229           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'
   11230 	fi
   11231       else
   11232 	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'
   11233 	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'
   11234       fi
   11235       archive_cmds_need_lc='no'
   11236       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11237       hardcode_libdir_separator=:
   11238       inherit_rpath=yes
   11239       link_all_deplibs=yes
   11240       ;;
   11241 
   11242     linux*)
   11243       case $cc_basename in
   11244       tcc*)
   11245 	# Fabrice Bellard et al's Tiny C Compiler
   11246 	ld_shlibs=yes
   11247 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11248 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11249 	;;
   11250       esac
   11251       ;;
   11252 
   11253     *-mlibc)
   11254       ;;
   11255 
   11256     netbsd* | netbsdelf*-gnu)
   11257       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11258 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   11259       else
   11260 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   11261       fi
   11262       hardcode_libdir_flag_spec='-R$libdir'
   11263       hardcode_direct=yes
   11264       hardcode_shlibpath_var=no
   11265       ;;
   11266 
   11267     newsos6)
   11268       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11269       hardcode_direct=yes
   11270       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11271       hardcode_libdir_separator=:
   11272       hardcode_shlibpath_var=no
   11273       ;;
   11274 
   11275     *nto* | *qnx*)
   11276       ;;
   11277 
   11278     openbsd*)
   11279       if test -f /usr/libexec/ld.so; then
   11280 	hardcode_direct=yes
   11281 	hardcode_shlibpath_var=no
   11282 	hardcode_direct_absolute=yes
   11283 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11284 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11285 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   11286 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11287 	  export_dynamic_flag_spec='$wl-E'
   11288 	else
   11289 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11290 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11291 	fi
   11292       else
   11293 	ld_shlibs=no
   11294       fi
   11295       ;;
   11296 
   11297     os2*)
   11298       hardcode_libdir_flag_spec='-L$libdir'
   11299       hardcode_minus_L=yes
   11300       allow_undefined_flag=unsupported
   11301       shrext_cmds=.dll
   11302       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11303 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11304 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11305 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11306 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   11307 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11308 	emximp -o $lib $output_objdir/$libname.def'
   11309       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11310 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11311 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11312 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11313 	prefix_cmds="$SED"~
   11314 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   11315 	  prefix_cmds="$prefix_cmds -e 1d";
   11316 	fi~
   11317 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   11318 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   11319 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11320 	emximp -o $lib $output_objdir/$libname.def'
   11321       old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   11322       enable_shared_with_static_runtimes=yes
   11323       file_list_spec='@'
   11324       ;;
   11325 
   11326     osf3*)
   11327       if test yes = "$GCC"; then
   11328 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11329 	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'
   11330       else
   11331 	allow_undefined_flag=' -expect_unresolved \*'
   11332 	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'
   11333       fi
   11334       archive_cmds_need_lc='no'
   11335       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11336       hardcode_libdir_separator=:
   11337       ;;
   11338 
   11339     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   11340       if test yes = "$GCC"; then
   11341 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11342 	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'
   11343 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11344       else
   11345 	allow_undefined_flag=' -expect_unresolved \*'
   11346 	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'
   11347 	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~
   11348           $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'
   11349 
   11350 	# Both c and cxx compiler support -rpath directly
   11351 	hardcode_libdir_flag_spec='-rpath $libdir'
   11352       fi
   11353       archive_cmds_need_lc='no'
   11354       hardcode_libdir_separator=:
   11355       ;;
   11356 
   11357     serenity*)
   11358       ;;
   11359 
   11360     solaris*)
   11361       no_undefined_flag=' -z defs'
   11362       if test yes = "$GCC"; then
   11363 	wlarc='$wl'
   11364 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11365 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11366           $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'
   11367       else
   11368 	case `$CC -V 2>&1` in
   11369 	*"Compilers 5.0"*)
   11370 	  wlarc=''
   11371 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11372 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11373             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   11374 	  ;;
   11375 	*)
   11376 	  wlarc='$wl'
   11377 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11378 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11379             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   11380 	  ;;
   11381 	esac
   11382       fi
   11383       hardcode_libdir_flag_spec='-R$libdir'
   11384       hardcode_shlibpath_var=no
   11385       case $host_os in
   11386       solaris2.[0-5] | solaris2.[0-5].*) ;;
   11387       *)
   11388 	# The compiler driver will combine and reorder linker options,
   11389 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   11390 	# but is careful enough not to reorder.
   11391 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   11392 	if test yes = "$GCC"; then
   11393 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   11394 	else
   11395 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   11396 	fi
   11397 	;;
   11398       esac
   11399       link_all_deplibs=yes
   11400       ;;
   11401 
   11402     sunos4*)
   11403       if test sequent = "$host_vendor"; then
   11404 	# Use $CC to link under sequent, because it throws in some extra .o
   11405 	# files that make .init and .fini sections work.
   11406 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11407       else
   11408 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   11409       fi
   11410       hardcode_libdir_flag_spec='-L$libdir'
   11411       hardcode_direct=yes
   11412       hardcode_minus_L=yes
   11413       hardcode_shlibpath_var=no
   11414       ;;
   11415 
   11416     sysv4)
   11417       case $host_vendor in
   11418 	sni)
   11419 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11420 	  hardcode_direct=yes # is this really true???
   11421 	;;
   11422 	siemens)
   11423 	  ## LD is ld it makes a PLAMLIB
   11424 	  ## CC just makes a GrossModule.
   11425 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   11426 	  reload_cmds='$CC -r -o $output$reload_objs'
   11427 	  hardcode_direct=no
   11428         ;;
   11429 	motorola)
   11430 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11431 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   11432 	;;
   11433       esac
   11434       runpath_var='LD_RUN_PATH'
   11435       hardcode_shlibpath_var=no
   11436       ;;
   11437 
   11438     sysv4.3*)
   11439       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11440       hardcode_shlibpath_var=no
   11441       export_dynamic_flag_spec='-Bexport'
   11442       ;;
   11443 
   11444     sysv4*MP*)
   11445       if test -d /usr/nec; then
   11446 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11447 	hardcode_shlibpath_var=no
   11448 	runpath_var=LD_RUN_PATH
   11449 	hardcode_runpath_var=yes
   11450 	ld_shlibs=yes
   11451       fi
   11452       ;;
   11453 
   11454     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11455       no_undefined_flag='$wl-z,text'
   11456       archive_cmds_need_lc=no
   11457       hardcode_shlibpath_var=no
   11458       runpath_var='LD_RUN_PATH'
   11459 
   11460       if test yes = "$GCC"; then
   11461 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11462 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11463       else
   11464 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11465 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11466       fi
   11467       ;;
   11468 
   11469     sysv5* | sco3.2v5* | sco5v6*)
   11470       # Note: We CANNOT use -z defs as we might desire, because we do not
   11471       # link with -lc, and that would cause any symbols used from libc to
   11472       # always be unresolved, which means just about no library would
   11473       # ever link correctly.  If we're not using GNU ld we use -z text
   11474       # though, which does catch some bad symbols but isn't as heavy-handed
   11475       # as -z defs.
   11476       no_undefined_flag='$wl-z,text'
   11477       allow_undefined_flag='$wl-z,nodefs'
   11478       archive_cmds_need_lc=no
   11479       hardcode_shlibpath_var=no
   11480       hardcode_libdir_flag_spec='$wl-R,$libdir'
   11481       hardcode_libdir_separator=':'
   11482       link_all_deplibs=yes
   11483       export_dynamic_flag_spec='$wl-Bexport'
   11484       runpath_var='LD_RUN_PATH'
   11485 
   11486       if test yes = "$GCC"; then
   11487 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11488 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11489       else
   11490 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11491 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11492       fi
   11493       ;;
   11494 
   11495     uts4*)
   11496       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11497       hardcode_libdir_flag_spec='-L$libdir'
   11498       hardcode_shlibpath_var=no
   11499       ;;
   11500 
   11501     *)
   11502       ld_shlibs=no
   11503       ;;
   11504     esac
   11505 
   11506     if test sni = "$host_vendor"; then
   11507       case $host in
   11508       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   11509 	export_dynamic_flag_spec='$wl-Blargedynsym'
   11510 	;;
   11511       esac
   11512     fi
   11513   fi
   11514 
   11515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   11516 printf "%s\n" "$ld_shlibs" >&6; }
   11517 test no = "$ld_shlibs" && can_build_shared=no
   11518 
   11519 with_gnu_ld=$with_gnu_ld
   11520 
   11521 
   11522 
   11523 
   11524 
   11525 
   11526 
   11527 
   11528 
   11529 
   11530 
   11531 
   11532 
   11533 
   11534 
   11535 #
   11536 # Do we need to explicitly link libc?
   11537 #
   11538 case "x$archive_cmds_need_lc" in
   11539 x|xyes)
   11540   # Assume -lc should be added
   11541   archive_cmds_need_lc=yes
   11542 
   11543   if test yes,yes = "$GCC,$enable_shared"; then
   11544     case $archive_cmds in
   11545     *'~'*)
   11546       # FIXME: we may have to deal with multi-command sequences.
   11547       ;;
   11548     '$CC '*)
   11549       # Test whether the compiler implicitly links with -lc since on some
   11550       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   11551       # to ld, don't add -lc before -lgcc.
   11552       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   11553 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   11554 if test ${lt_cv_archive_cmds_need_lc+y}
   11555 then :
   11556   printf %s "(cached) " >&6
   11557 else case e in #(
   11558   e) $RM conftest*
   11559 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11560 
   11561 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11562   (eval $ac_compile) 2>&5
   11563   ac_status=$?
   11564   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11565   test $ac_status = 0; } 2>conftest.err; then
   11566 	  soname=conftest
   11567 	  lib=conftest
   11568 	  libobjs=conftest.$ac_objext
   11569 	  deplibs=
   11570 	  wl=$lt_prog_compiler_wl
   11571 	  pic_flag=$lt_prog_compiler_pic
   11572 	  compiler_flags=-v
   11573 	  linker_flags=-v
   11574 	  verstring=
   11575 	  output_objdir=.
   11576 	  libname=conftest
   11577 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   11578 	  allow_undefined_flag=
   11579 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   11580   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   11581   ac_status=$?
   11582   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11583   test $ac_status = 0; }
   11584 	  then
   11585 	    lt_cv_archive_cmds_need_lc=no
   11586 	  else
   11587 	    lt_cv_archive_cmds_need_lc=yes
   11588 	  fi
   11589 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   11590 	else
   11591 	  cat conftest.err 1>&5
   11592 	fi
   11593 	$RM conftest*
   11594 	 ;;
   11595 esac
   11596 fi
   11597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   11598 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   11599       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   11600       ;;
   11601     esac
   11602   fi
   11603   ;;
   11604 esac
   11605 
   11606 
   11607 
   11608 
   11609 
   11610 
   11611 
   11612 
   11613 
   11614 
   11615 
   11616 
   11617 
   11618 
   11619 
   11620 
   11621 
   11622 
   11623 
   11624 
   11625 
   11626 
   11627 
   11628 
   11629 
   11630 
   11631 
   11632 
   11633 
   11634 
   11635 
   11636 
   11637 
   11638 
   11639 
   11640 
   11641 
   11642 
   11643 
   11644 
   11645 
   11646 
   11647 
   11648 
   11649 
   11650 
   11651 
   11652 
   11653 
   11654 
   11655 
   11656 
   11657 
   11658 
   11659 
   11660 
   11661 
   11662 
   11663 
   11664 
   11665 
   11666 
   11667 
   11668 
   11669 
   11670 
   11671 
   11672 
   11673 
   11674 
   11675 
   11676 
   11677 
   11678 
   11679 
   11680 
   11681 
   11682 
   11683 
   11684 
   11685 
   11686 
   11687 
   11688 
   11689 
   11690 
   11691 
   11692 
   11693 
   11694 
   11695 
   11696 
   11697 
   11698 
   11699 
   11700 
   11701 
   11702 
   11703 
   11704 
   11705 
   11706 
   11707 
   11708 
   11709 
   11710 
   11711 
   11712 
   11713 
   11714 
   11715 
   11716 
   11717 
   11718 
   11719 
   11720 
   11721 
   11722 
   11723 
   11724 
   11725 
   11726 
   11727 
   11728 
   11729 
   11730 
   11731 
   11732 
   11733 
   11734 
   11735 
   11736 
   11737 
   11738 
   11739 
   11740 
   11741 
   11742 
   11743 
   11744 
   11745 
   11746 
   11747 
   11748 
   11749 
   11750 
   11751 
   11752 
   11753 
   11754 
   11755 
   11756 
   11757   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11758 printf %s "checking dynamic linker characteristics... " >&6; }
   11759 
   11760 if test yes = "$GCC"; then
   11761   case $host_os in
   11762     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   11763     *) lt_awk_arg='/^libraries:/' ;;
   11764   esac
   11765   case $host_os in
   11766     mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   11767     *) lt_sed_strip_eq='s|=/|/|g' ;;
   11768   esac
   11769   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11770   case $lt_search_path_spec in
   11771   *\;*)
   11772     # if the path contains ";" then we assume it to be the separator
   11773     # otherwise default to the standard path separator (i.e. ":") - it is
   11774     # assumed that no part of a normal pathname contains ";" but that should
   11775     # okay in the real world where ";" in dirpaths is itself problematic.
   11776     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11777     ;;
   11778   *)
   11779     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11780     ;;
   11781   esac
   11782   # Ok, now we have the path, separated by spaces, we can step through it
   11783   # and add multilib dir if necessary...
   11784   lt_tmp_lt_search_path_spec=
   11785   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11786   # ...but if some path component already ends with the multilib dir we assume
   11787   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   11788   case "$lt_multi_os_dir; $lt_search_path_spec " in
   11789   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   11790     lt_multi_os_dir=
   11791     ;;
   11792   esac
   11793   for lt_sys_path in $lt_search_path_spec; do
   11794     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   11795       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   11796     elif test -n "$lt_multi_os_dir"; then
   11797       test -d "$lt_sys_path" && \
   11798 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11799     fi
   11800   done
   11801   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11802 BEGIN {RS = " "; FS = "/|\n";} {
   11803   lt_foo = "";
   11804   lt_count = 0;
   11805   for (lt_i = NF; lt_i > 0; lt_i--) {
   11806     if ($lt_i != "" && $lt_i != ".") {
   11807       if ($lt_i == "..") {
   11808         lt_count++;
   11809       } else {
   11810         if (lt_count == 0) {
   11811           lt_foo = "/" $lt_i lt_foo;
   11812         } else {
   11813           lt_count--;
   11814         }
   11815       }
   11816     }
   11817   }
   11818   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11819   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11820 }'`
   11821   # AWK program above erroneously prepends '/' to C:/dos/paths
   11822   # for these hosts.
   11823   case $host_os in
   11824     mingw* | windows* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11825       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   11826   esac
   11827   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11828 else
   11829   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11830 fi
   11831 library_names_spec=
   11832 libname_spec='lib$name'
   11833 soname_spec=
   11834 shrext_cmds=.so
   11835 postinstall_cmds=
   11836 postuninstall_cmds=
   11837 finish_cmds=
   11838 finish_eval=
   11839 shlibpath_var=
   11840 shlibpath_overrides_runpath=unknown
   11841 version_type=none
   11842 dynamic_linker="$host_os ld.so"
   11843 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11844 need_lib_prefix=unknown
   11845 hardcode_into_libs=no
   11846 
   11847 # when you set need_version to no, make sure it does not cause -set_version
   11848 # flags to be left without arguments
   11849 need_version=unknown
   11850 
   11851 
   11852 
   11853 case $host_os in
   11854 aix3*)
   11855   version_type=linux # correct to gnu/linux during the next big refactor
   11856   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   11857   shlibpath_var=LIBPATH
   11858 
   11859   # AIX 3 has no versioning support, so we append a major version to the name.
   11860   soname_spec='$libname$release$shared_ext$major'
   11861   ;;
   11862 
   11863 aix[4-9]*)
   11864   version_type=linux # correct to gnu/linux during the next big refactor
   11865   need_lib_prefix=no
   11866   need_version=no
   11867   hardcode_into_libs=yes
   11868   if test ia64 = "$host_cpu"; then
   11869     # AIX 5 supports IA64
   11870     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   11871     shlibpath_var=LD_LIBRARY_PATH
   11872   else
   11873     # With GCC up to 2.95.x, collect2 would create an import file
   11874     # for dependence libraries.  The import file would start with
   11875     # the line '#! .'.  This would cause the generated library to
   11876     # depend on '.', always an invalid library.  This was fixed in
   11877     # development snapshots of GCC prior to 3.0.
   11878     case $host_os in
   11879       aix4 | aix4.[01] | aix4.[01].*)
   11880       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11881 	   echo ' yes '
   11882 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   11883 	:
   11884       else
   11885 	can_build_shared=no
   11886       fi
   11887       ;;
   11888     esac
   11889     # Using Import Files as archive members, it is possible to support
   11890     # filename-based versioning of shared library archives on AIX. While
   11891     # this would work for both with and without runtime linking, it will
   11892     # prevent static linking of such archives. So we do filename-based
   11893     # shared library versioning with .so extension only, which is used
   11894     # when both runtime linking and shared linking is enabled.
   11895     # Unfortunately, runtime linking may impact performance, so we do
   11896     # not want this to be the default eventually. Also, we use the
   11897     # versioned .so libs for executables only if there is the -brtl
   11898     # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
   11899     # To allow for filename-based versioning support, we need to create
   11900     # libNAME.so.V as an archive file, containing:
   11901     # *) an Import File, referring to the versioned filename of the
   11902     #    archive as well as the shared archive member, telling the
   11903     #    bitwidth (32 or 64) of that shared object, and providing the
   11904     #    list of exported symbols of that shared object, eventually
   11905     #    decorated with the 'weak' keyword
   11906     # *) the shared object with the F_LOADONLY flag set, to really avoid
   11907     #    it being seen by the linker.
   11908     # At run time we better use the real file rather than another symlink,
   11909     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   11910 
   11911     case $with_aix_soname,$aix_use_runtimelinking in
   11912     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   11913     # soname into executable. Probably we can add versioning support to
   11914     # collect2, so additional links can be useful in future.
   11915     aix,yes) # traditional libtool
   11916       dynamic_linker='AIX unversionable lib.so'
   11917       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11918       # instead of lib<name>.a to let people know that these are not
   11919       # typical AIX shared libraries.
   11920       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11921       ;;
   11922     aix,no) # traditional AIX only
   11923       dynamic_linker='AIX lib.a(lib.so.V)'
   11924       # We preserve .a as extension for shared libraries through AIX4.2
   11925       # and later when we are not doing run time linking.
   11926       library_names_spec='$libname$release.a $libname.a'
   11927       soname_spec='$libname$release$shared_ext$major'
   11928       ;;
   11929     svr4,*) # full svr4 only
   11930       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   11931       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11932       # We do not specify a path in Import Files, so LIBPATH fires.
   11933       shlibpath_overrides_runpath=yes
   11934       ;;
   11935     *,yes) # both, prefer svr4
   11936       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   11937       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11938       # unpreferred sharedlib libNAME.a needs extra handling
   11939       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"'
   11940       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"'
   11941       # We do not specify a path in Import Files, so LIBPATH fires.
   11942       shlibpath_overrides_runpath=yes
   11943       ;;
   11944     *,no) # both, prefer aix
   11945       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   11946       library_names_spec='$libname$release.a $libname.a'
   11947       soname_spec='$libname$release$shared_ext$major'
   11948       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   11949       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)'
   11950       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"'
   11951       ;;
   11952     esac
   11953     shlibpath_var=LIBPATH
   11954   fi
   11955   ;;
   11956 
   11957 amigaos*)
   11958   case $host_cpu in
   11959   powerpc)
   11960     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11961     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11962     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11963     ;;
   11964   m68k)
   11965     library_names_spec='$libname.ixlibrary $libname.a'
   11966     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11967     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'
   11968     ;;
   11969   esac
   11970   ;;
   11971 
   11972 beos*)
   11973   library_names_spec='$libname$shared_ext'
   11974   dynamic_linker="$host_os ld.so"
   11975   shlibpath_var=LIBRARY_PATH
   11976   ;;
   11977 
   11978 bsdi[45]*)
   11979   version_type=linux # correct to gnu/linux during the next big refactor
   11980   need_version=no
   11981   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11982   soname_spec='$libname$release$shared_ext$major'
   11983   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11984   shlibpath_var=LD_LIBRARY_PATH
   11985   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11986   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11987   # the default ld.so.conf also contains /usr/contrib/lib and
   11988   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11989   # libtool to hard-code these into programs
   11990   ;;
   11991 
   11992 cygwin* | mingw* | windows* | pw32* | cegcc*)
   11993   version_type=windows
   11994   shrext_cmds=.dll
   11995   need_version=no
   11996   need_lib_prefix=no
   11997 
   11998   case $GCC,$cc_basename in
   11999   yes,*)
   12000     # gcc
   12001     library_names_spec='$libname.dll.a'
   12002     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   12003     # If user builds GCC with multilib enabled,
   12004     # it should just install on $(libdir)
   12005     # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
   12006     if test xyes = x"$multilib"; then
   12007       postinstall_cmds='base_file=`basename \$file`~
   12008         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   12009         dldir=$destdir/`dirname \$dlpath`~
   12010         $install_prog $dir/$dlname $destdir/$dlname~
   12011         chmod a+x $destdir/$dlname~
   12012         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12013           eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
   12014         fi'
   12015     else
   12016       postinstall_cmds='base_file=`basename \$file`~
   12017         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   12018         dldir=$destdir/`dirname \$dlpath`~
   12019         test -d \$dldir || mkdir -p \$dldir~
   12020         $install_prog $dir/$dlname \$dldir/$dlname~
   12021         chmod a+x \$dldir/$dlname~
   12022         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12023           eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   12024         fi'
   12025     fi
   12026     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   12027       dlpath=$dir/\$dldll~
   12028        $RM \$dlpath'
   12029     shlibpath_overrides_runpath=yes
   12030 
   12031     case $host_os in
   12032     cygwin*)
   12033       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   12034       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12035 
   12036       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   12037       ;;
   12038     mingw* | windows* | cegcc*)
   12039       # MinGW DLLs use traditional 'lib' prefix
   12040       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12041       ;;
   12042     pw32*)
   12043       # pw32 DLLs use 'pw' prefix rather than 'lib'
   12044       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12045       ;;
   12046     esac
   12047     dynamic_linker='Win32 ld.exe'
   12048     ;;
   12049 
   12050   *,cl* | *,icl*)
   12051     # Native MSVC or ICC
   12052     libname_spec='$name'
   12053     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12054     library_names_spec='$libname.dll.lib'
   12055 
   12056     case $build_os in
   12057     mingw* | windows*)
   12058       sys_lib_search_path_spec=
   12059       lt_save_ifs=$IFS
   12060       IFS=';'
   12061       for lt_path in $LIB
   12062       do
   12063         IFS=$lt_save_ifs
   12064         # Let DOS variable expansion print the short 8.3 style file name.
   12065         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   12066         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   12067       done
   12068       IFS=$lt_save_ifs
   12069       # Convert to MSYS style.
   12070       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   12071       ;;
   12072     cygwin*)
   12073       # Convert to unix form, then to dos form, then back to unix form
   12074       # but this time dos style (no spaces!) so that the unix form looks
   12075       # like /cygdrive/c/PROGRA~1:/cygdr...
   12076       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   12077       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   12078       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   12079       ;;
   12080     *)
   12081       sys_lib_search_path_spec=$LIB
   12082       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   12083         # It is most probably a Windows format PATH.
   12084         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   12085       else
   12086         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   12087       fi
   12088       # FIXME: find the short name or the path components, as spaces are
   12089       # common. (e.g. "Program Files" -> "PROGRA~1")
   12090       ;;
   12091     esac
   12092 
   12093     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   12094     postinstall_cmds='base_file=`basename \$file`~
   12095       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   12096       dldir=$destdir/`dirname \$dlpath`~
   12097       test -d \$dldir || mkdir -p \$dldir~
   12098       $install_prog $dir/$dlname \$dldir/$dlname'
   12099     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   12100       dlpath=$dir/\$dldll~
   12101        $RM \$dlpath'
   12102     shlibpath_overrides_runpath=yes
   12103     dynamic_linker='Win32 link.exe'
   12104     ;;
   12105 
   12106   *)
   12107     # Assume MSVC and ICC wrapper
   12108     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   12109     dynamic_linker='Win32 ld.exe'
   12110     ;;
   12111   esac
   12112   # FIXME: first we should search . and the directory the executable is in
   12113   shlibpath_var=PATH
   12114   ;;
   12115 
   12116 darwin* | rhapsody*)
   12117   dynamic_linker="$host_os dyld"
   12118   version_type=darwin
   12119   need_lib_prefix=no
   12120   need_version=no
   12121   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   12122   soname_spec='$libname$release$major$shared_ext'
   12123   shlibpath_overrides_runpath=yes
   12124   shlibpath_var=DYLD_LIBRARY_PATH
   12125   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   12126 
   12127   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   12128   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   12129   ;;
   12130 
   12131 dgux*)
   12132   version_type=linux # correct to gnu/linux during the next big refactor
   12133   need_lib_prefix=no
   12134   need_version=no
   12135   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12136   soname_spec='$libname$release$shared_ext$major'
   12137   shlibpath_var=LD_LIBRARY_PATH
   12138   ;;
   12139 
   12140 freebsd* | dragonfly* | midnightbsd*)
   12141   # DragonFly does not have aout.  When/if they implement a new
   12142   # versioning mechanism, adjust this.
   12143   if test -x /usr/bin/objformat; then
   12144     objformat=`/usr/bin/objformat`
   12145   else
   12146     case $host_os in
   12147     freebsd[23].*) objformat=aout ;;
   12148     *) objformat=elf ;;
   12149     esac
   12150   fi
   12151   version_type=freebsd-$objformat
   12152   case $version_type in
   12153     freebsd-elf*)
   12154       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12155       soname_spec='$libname$release$shared_ext$major'
   12156       need_version=no
   12157       need_lib_prefix=no
   12158       ;;
   12159     freebsd-*)
   12160       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12161       need_version=yes
   12162       ;;
   12163   esac
   12164   case $host_cpu in
   12165     powerpc64)
   12166       # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
   12167       # binaries.  See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
   12168       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12169 /* end confdefs.h.  */
   12170 int test_pointer_size[sizeof (void *) - 5];
   12171 
   12172 _ACEOF
   12173 if ac_fn_c_try_compile "$LINENO"
   12174 then :
   12175   shlibpath_var=LD_LIBRARY_PATH
   12176 else case e in #(
   12177   e) shlibpath_var=LD_32_LIBRARY_PATH ;;
   12178 esac
   12179 fi
   12180 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12181       ;;
   12182     *)
   12183       shlibpath_var=LD_LIBRARY_PATH
   12184       ;;
   12185   esac
   12186   case $host_os in
   12187   freebsd2.*)
   12188     shlibpath_overrides_runpath=yes
   12189     ;;
   12190   freebsd3.[01]* | freebsdelf3.[01]*)
   12191     shlibpath_overrides_runpath=yes
   12192     hardcode_into_libs=yes
   12193     ;;
   12194   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   12195   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   12196     shlibpath_overrides_runpath=no
   12197     hardcode_into_libs=yes
   12198     ;;
   12199   *) # from 4.6 on, and DragonFly
   12200     shlibpath_overrides_runpath=yes
   12201     hardcode_into_libs=yes
   12202     ;;
   12203   esac
   12204   ;;
   12205 
   12206 haiku*)
   12207   version_type=linux # correct to gnu/linux during the next big refactor
   12208   need_lib_prefix=no
   12209   need_version=no
   12210   dynamic_linker="$host_os runtime_loader"
   12211   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12212   soname_spec='$libname$release$shared_ext$major'
   12213   shlibpath_var=LIBRARY_PATH
   12214   shlibpath_overrides_runpath=no
   12215   sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib'
   12216   sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib'
   12217   hardcode_into_libs=no
   12218   ;;
   12219 
   12220 hpux9* | hpux10* | hpux11*)
   12221   # Give a soname corresponding to the major version so that dld.sl refuses to
   12222   # link against other versions.
   12223   version_type=sunos
   12224   need_lib_prefix=no
   12225   need_version=no
   12226   case $host_cpu in
   12227   ia64*)
   12228     shrext_cmds='.so'
   12229     hardcode_into_libs=yes
   12230     dynamic_linker="$host_os dld.so"
   12231     shlibpath_var=LD_LIBRARY_PATH
   12232     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12233     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12234     soname_spec='$libname$release$shared_ext$major'
   12235     if test 32 = "$HPUX_IA64_MODE"; then
   12236       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   12237       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   12238     else
   12239       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   12240       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   12241     fi
   12242     ;;
   12243   hppa*64*)
   12244     shrext_cmds='.sl'
   12245     hardcode_into_libs=yes
   12246     dynamic_linker="$host_os dld.sl"
   12247     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   12248     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12249     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12250     soname_spec='$libname$release$shared_ext$major'
   12251     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   12252     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12253     ;;
   12254   *)
   12255     shrext_cmds='.sl'
   12256     dynamic_linker="$host_os dld.sl"
   12257     shlibpath_var=SHLIB_PATH
   12258     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   12259     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12260     soname_spec='$libname$release$shared_ext$major'
   12261     ;;
   12262   esac
   12263   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   12264   postinstall_cmds='chmod 555 $lib'
   12265   # or fails outright, so override atomically:
   12266   install_override_mode=555
   12267   ;;
   12268 
   12269 interix[3-9]*)
   12270   version_type=linux # correct to gnu/linux during the next big refactor
   12271   need_lib_prefix=no
   12272   need_version=no
   12273   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12274   soname_spec='$libname$release$shared_ext$major'
   12275   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   12276   shlibpath_var=LD_LIBRARY_PATH
   12277   shlibpath_overrides_runpath=no
   12278   hardcode_into_libs=yes
   12279   ;;
   12280 
   12281 irix5* | irix6* | nonstopux*)
   12282   case $host_os in
   12283     nonstopux*) version_type=nonstopux ;;
   12284     *)
   12285 	if test yes = "$lt_cv_prog_gnu_ld"; then
   12286 		version_type=linux # correct to gnu/linux during the next big refactor
   12287 	else
   12288 		version_type=irix
   12289 	fi ;;
   12290   esac
   12291   need_lib_prefix=no
   12292   need_version=no
   12293   soname_spec='$libname$release$shared_ext$major'
   12294   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   12295   case $host_os in
   12296   irix5* | nonstopux*)
   12297     libsuff= shlibsuff=
   12298     ;;
   12299   *)
   12300     case $LD in # libtool.m4 will add one of these switches to LD
   12301     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   12302       libsuff= shlibsuff= libmagic=32-bit;;
   12303     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   12304       libsuff=32 shlibsuff=N32 libmagic=N32;;
   12305     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   12306       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   12307     *) libsuff= shlibsuff= libmagic=never-match;;
   12308     esac
   12309     ;;
   12310   esac
   12311   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   12312   shlibpath_overrides_runpath=no
   12313   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   12314   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   12315   hardcode_into_libs=yes
   12316   ;;
   12317 
   12318 # No shared lib support for Linux oldld, aout, or coff.
   12319 linux*oldld* | linux*aout* | linux*coff*)
   12320   dynamic_linker=no
   12321   ;;
   12322 
   12323 linux*android*)
   12324   version_type=none # Android doesn't support versioned libraries.
   12325   need_lib_prefix=no
   12326   need_version=no
   12327   library_names_spec='$libname$release$shared_ext $libname$shared_ext'
   12328   soname_spec='$libname$release$shared_ext'
   12329   finish_cmds=
   12330   shlibpath_var=LD_LIBRARY_PATH
   12331   shlibpath_overrides_runpath=yes
   12332 
   12333   # This implies no fast_install, which is unacceptable.
   12334   # Some rework will be needed to allow for fast_install
   12335   # before this can be enabled.
   12336   hardcode_into_libs=yes
   12337 
   12338   dynamic_linker='Android linker'
   12339   # -rpath works at least for libraries that are not overridden by
   12340   # libraries installed in system locations.
   12341   hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   12342   ;;
   12343 
   12344 # This must be glibc/ELF.
   12345 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12346   version_type=linux # correct to gnu/linux during the next big refactor
   12347   need_lib_prefix=no
   12348   need_version=no
   12349   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12350   soname_spec='$libname$release$shared_ext$major'
   12351   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   12352   shlibpath_var=LD_LIBRARY_PATH
   12353   shlibpath_overrides_runpath=no
   12354 
   12355   # Some binutils ld are patched to set DT_RUNPATH
   12356   if test ${lt_cv_shlibpath_overrides_runpath+y}
   12357 then :
   12358   printf %s "(cached) " >&6
   12359 else case e in #(
   12360   e) lt_cv_shlibpath_overrides_runpath=no
   12361     save_LDFLAGS=$LDFLAGS
   12362     save_libdir=$libdir
   12363     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   12364 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   12365     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12366 /* end confdefs.h.  */
   12367 
   12368 int
   12369 main (void)
   12370 {
   12371 
   12372   ;
   12373   return 0;
   12374 }
   12375 _ACEOF
   12376 if ac_fn_c_try_link "$LINENO"
   12377 then :
   12378   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   12379 then :
   12380   lt_cv_shlibpath_overrides_runpath=yes
   12381 fi
   12382 fi
   12383 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12384     conftest$ac_exeext conftest.$ac_ext
   12385     LDFLAGS=$save_LDFLAGS
   12386     libdir=$save_libdir
   12387      ;;
   12388 esac
   12389 fi
   12390 
   12391   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   12392 
   12393   # This implies no fast_install, which is unacceptable.
   12394   # Some rework will be needed to allow for fast_install
   12395   # before this can be enabled.
   12396   hardcode_into_libs=yes
   12397 
   12398   # Ideally, we could use ldconfig to report *all* directories which are
   12399   # searched for libraries, however this is still not possible.  Aside from not
   12400   # being certain /sbin/ldconfig is available, command
   12401   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   12402   # even though it is searched at run-time.  Try to do the best guess by
   12403   # appending ld.so.conf contents (and includes) to the search path.
   12404   if test -f /etc/ld.so.conf; then
   12405     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' ' '`
   12406     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   12407   fi
   12408 
   12409   # We used to test for /lib/ld.so.1 and disable shared libraries on
   12410   # powerpc, because MkLinux only supported shared libraries with the
   12411   # GNU dynamic linker.  Since this was broken with cross compilers,
   12412   # most powerpc-linux boxes support dynamic linking these days and
   12413   # people can always --disable-shared, the test was removed, and we
   12414   # assume the GNU/Linux dynamic linker is in use.
   12415   dynamic_linker='GNU/Linux ld.so'
   12416   ;;
   12417 
   12418 netbsdelf*-gnu)
   12419   version_type=linux
   12420   need_lib_prefix=no
   12421   need_version=no
   12422   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12423   soname_spec='$libname$release$shared_ext$major'
   12424   shlibpath_var=LD_LIBRARY_PATH
   12425   shlibpath_overrides_runpath=no
   12426   hardcode_into_libs=yes
   12427   dynamic_linker='NetBSD ld.elf_so'
   12428   ;;
   12429 
   12430 netbsd*)
   12431   version_type=sunos
   12432   need_lib_prefix=no
   12433   need_version=no
   12434   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   12435     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12436     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12437     dynamic_linker='NetBSD (a.out) ld.so'
   12438   else
   12439     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12440     soname_spec='$libname$release$shared_ext$major'
   12441     dynamic_linker='NetBSD ld.elf_so'
   12442   fi
   12443   shlibpath_var=LD_LIBRARY_PATH
   12444   shlibpath_overrides_runpath=yes
   12445   hardcode_into_libs=yes
   12446   ;;
   12447 
   12448 *-mlibc)
   12449   version_type=linux # correct to gnu/linux during the next big refactor
   12450   need_lib_prefix=no
   12451   need_version=no
   12452   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12453   soname_spec='$libname$release$shared_ext$major'
   12454   dynamic_linker='mlibc ld.so'
   12455   shlibpath_var=LD_LIBRARY_PATH
   12456   shlibpath_overrides_runpath=no
   12457   hardcode_into_libs=yes
   12458   ;;
   12459 
   12460 newsos6)
   12461   version_type=linux # correct to gnu/linux during the next big refactor
   12462   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12463   shlibpath_var=LD_LIBRARY_PATH
   12464   shlibpath_overrides_runpath=yes
   12465   ;;
   12466 
   12467 *nto* | *qnx*)
   12468   version_type=qnx
   12469   need_lib_prefix=no
   12470   need_version=no
   12471   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12472   soname_spec='$libname$release$shared_ext$major'
   12473   shlibpath_var=LD_LIBRARY_PATH
   12474   shlibpath_overrides_runpath=no
   12475   hardcode_into_libs=yes
   12476   dynamic_linker='ldqnx.so'
   12477   ;;
   12478 
   12479 openbsd*)
   12480   version_type=sunos
   12481   sys_lib_dlsearch_path_spec=/usr/lib
   12482   need_lib_prefix=no
   12483   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12484     need_version=no
   12485   else
   12486     need_version=yes
   12487   fi
   12488   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12489   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12490   shlibpath_var=LD_LIBRARY_PATH
   12491   shlibpath_overrides_runpath=yes
   12492   ;;
   12493 
   12494 os2*)
   12495   libname_spec='$name'
   12496   version_type=windows
   12497   shrext_cmds=.dll
   12498   need_version=no
   12499   need_lib_prefix=no
   12500   # OS/2 can only load a DLL with a base name of 8 characters or less.
   12501   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   12502     v=$($ECHO $release$versuffix | tr -d .-);
   12503     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   12504     $ECHO $n$v`$shared_ext'
   12505   library_names_spec='${libname}_dll.$libext'
   12506   dynamic_linker='OS/2 ld.exe'
   12507   shlibpath_var=BEGINLIBPATH
   12508   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12509   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12510   postinstall_cmds='base_file=`basename \$file`~
   12511     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   12512     dldir=$destdir/`dirname \$dlpath`~
   12513     test -d \$dldir || mkdir -p \$dldir~
   12514     $install_prog $dir/$dlname \$dldir/$dlname~
   12515     chmod a+x \$dldir/$dlname~
   12516     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12517       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   12518     fi'
   12519   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   12520     dlpath=$dir/\$dldll~
   12521     $RM \$dlpath'
   12522   ;;
   12523 
   12524 osf3* | osf4* | osf5*)
   12525   version_type=osf
   12526   need_lib_prefix=no
   12527   need_version=no
   12528   soname_spec='$libname$release$shared_ext$major'
   12529   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12530   shlibpath_var=LD_LIBRARY_PATH
   12531   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   12532   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12533   ;;
   12534 
   12535 rdos*)
   12536   dynamic_linker=no
   12537   ;;
   12538 
   12539 serenity*)
   12540   version_type=linux # correct to gnu/linux during the next big refactor
   12541   need_lib_prefix=no
   12542   need_version=no
   12543   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12544   soname_spec='$libname$release$shared_ext$major'
   12545   shlibpath_var=LD_LIBRARY_PATH
   12546   shlibpath_overrides_runpath=no
   12547   dynamic_linker='SerenityOS LibELF'
   12548   ;;
   12549 
   12550 solaris*)
   12551   version_type=linux # correct to gnu/linux during the next big refactor
   12552   need_lib_prefix=no
   12553   need_version=no
   12554   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12555   soname_spec='$libname$release$shared_ext$major'
   12556   shlibpath_var=LD_LIBRARY_PATH
   12557   shlibpath_overrides_runpath=yes
   12558   hardcode_into_libs=yes
   12559   # ldd complains unless libraries are executable
   12560   postinstall_cmds='chmod +x $lib'
   12561   ;;
   12562 
   12563 sunos4*)
   12564   version_type=sunos
   12565   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12566   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   12567   shlibpath_var=LD_LIBRARY_PATH
   12568   shlibpath_overrides_runpath=yes
   12569   if test yes = "$with_gnu_ld"; then
   12570     need_lib_prefix=no
   12571   fi
   12572   need_version=yes
   12573   ;;
   12574 
   12575 sysv4 | sysv4.3*)
   12576   version_type=linux # correct to gnu/linux during the next big refactor
   12577   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12578   soname_spec='$libname$release$shared_ext$major'
   12579   shlibpath_var=LD_LIBRARY_PATH
   12580   case $host_vendor in
   12581     sni)
   12582       shlibpath_overrides_runpath=no
   12583       need_lib_prefix=no
   12584       runpath_var=LD_RUN_PATH
   12585       ;;
   12586     siemens)
   12587       need_lib_prefix=no
   12588       ;;
   12589     motorola)
   12590       need_lib_prefix=no
   12591       need_version=no
   12592       shlibpath_overrides_runpath=no
   12593       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   12594       ;;
   12595   esac
   12596   ;;
   12597 
   12598 sysv4*MP*)
   12599   if test -d /usr/nec; then
   12600     version_type=linux # correct to gnu/linux during the next big refactor
   12601     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   12602     soname_spec='$libname$shared_ext.$major'
   12603     shlibpath_var=LD_LIBRARY_PATH
   12604   fi
   12605   ;;
   12606 
   12607 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12608   version_type=sco
   12609   need_lib_prefix=no
   12610   need_version=no
   12611   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   12612   soname_spec='$libname$release$shared_ext$major'
   12613   shlibpath_var=LD_LIBRARY_PATH
   12614   shlibpath_overrides_runpath=yes
   12615   hardcode_into_libs=yes
   12616   if test yes = "$with_gnu_ld"; then
   12617     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   12618   else
   12619     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   12620     case $host_os in
   12621       sco3.2v5*)
   12622         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   12623 	;;
   12624     esac
   12625   fi
   12626   sys_lib_dlsearch_path_spec='/usr/lib'
   12627   ;;
   12628 
   12629 tpf*)
   12630   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   12631   version_type=linux # correct to gnu/linux during the next big refactor
   12632   need_lib_prefix=no
   12633   need_version=no
   12634   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12635   shlibpath_var=LD_LIBRARY_PATH
   12636   shlibpath_overrides_runpath=no
   12637   hardcode_into_libs=yes
   12638   ;;
   12639 
   12640 uts4*)
   12641   version_type=linux # correct to gnu/linux during the next big refactor
   12642   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12643   soname_spec='$libname$release$shared_ext$major'
   12644   shlibpath_var=LD_LIBRARY_PATH
   12645   ;;
   12646 
   12647 emscripten*)
   12648   version_type=none
   12649   need_lib_prefix=no
   12650   need_version=no
   12651   library_names_spec='$libname$release$shared_ext'
   12652   soname_spec='$libname$release$shared_ext'
   12653   finish_cmds=
   12654   dynamic_linker="Emscripten linker"
   12655   lt_prog_compiler_wl=
   12656 lt_prog_compiler_pic=
   12657 lt_prog_compiler_static=
   12658 
   12659 
   12660   if test yes = "$GCC"; then
   12661     lt_prog_compiler_wl='-Wl,'
   12662     lt_prog_compiler_static='-static'
   12663 
   12664     case $host_os in
   12665       aix*)
   12666       # All AIX code is PIC.
   12667       if test ia64 = "$host_cpu"; then
   12668 	# AIX 5 now supports IA64 processor
   12669 	lt_prog_compiler_static='-Bstatic'
   12670       fi
   12671       lt_prog_compiler_pic='-fPIC'
   12672       ;;
   12673 
   12674     amigaos*)
   12675       case $host_cpu in
   12676       powerpc)
   12677             # see comment about AmigaOS4 .so support
   12678             lt_prog_compiler_pic='-fPIC'
   12679         ;;
   12680       m68k)
   12681             # FIXME: we need at least 68020 code to build shared libraries, but
   12682             # adding the '-m68020' flag to GCC prevents building anything better,
   12683             # like '-m68040'.
   12684             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   12685         ;;
   12686       esac
   12687       ;;
   12688 
   12689     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12690       # PIC is the default for these OSes.
   12691       ;;
   12692 
   12693     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   12694       # This hack is so that the source file can tell whether it is being
   12695       # built for inclusion in a dll (and should export symbols for example).
   12696       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12697       # (--disable-auto-import) libraries
   12698       lt_prog_compiler_pic='-DDLL_EXPORT'
   12699       case $host_os in
   12700       os2*)
   12701 	lt_prog_compiler_static='$wl-static'
   12702 	;;
   12703       esac
   12704       ;;
   12705 
   12706     darwin* | rhapsody*)
   12707       # PIC is the default on this platform
   12708       # Common symbols not allowed in MH_DYLIB files
   12709       lt_prog_compiler_pic='-fno-common'
   12710       ;;
   12711 
   12712     haiku*)
   12713       # PIC is the default for Haiku.
   12714       # The "-static" flag exists, but is broken.
   12715       lt_prog_compiler_static=
   12716       ;;
   12717 
   12718     hpux*)
   12719       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   12720       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   12721       # sets the default TLS model and affects inlining.
   12722       case $host_cpu in
   12723       hppa*64*)
   12724 	# +Z the default
   12725 	;;
   12726       *)
   12727 	lt_prog_compiler_pic='-fPIC'
   12728 	;;
   12729       esac
   12730       ;;
   12731 
   12732     interix[3-9]*)
   12733       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12734       # Instead, we relocate shared libraries at runtime.
   12735       ;;
   12736 
   12737     msdosdjgpp*)
   12738       # Just because we use GCC doesn't mean we suddenly get shared libraries
   12739       # on systems that don't support them.
   12740       lt_prog_compiler_can_build_shared=no
   12741       enable_shared=no
   12742       ;;
   12743 
   12744     *nto* | *qnx*)
   12745       # QNX uses GNU C++, but need to define -shared option too, otherwise
   12746       # it will coredump.
   12747       lt_prog_compiler_pic='-fPIC -shared'
   12748       ;;
   12749 
   12750     sysv4*MP*)
   12751       if test -d /usr/nec; then
   12752 	lt_prog_compiler_pic=-Kconform_pic
   12753       fi
   12754       ;;
   12755 
   12756     *)
   12757       lt_prog_compiler_pic='-fPIC'
   12758       ;;
   12759     esac
   12760 
   12761     case $cc_basename in
   12762     nvcc*) # Cuda Compiler Driver 2.2
   12763       lt_prog_compiler_wl='-Xlinker '
   12764       if test -n "$lt_prog_compiler_pic"; then
   12765         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   12766       fi
   12767       ;;
   12768     esac
   12769   else
   12770     # PORTME Check for flag to pass linker flags through the system compiler.
   12771     case $host_os in
   12772     aix*)
   12773       lt_prog_compiler_wl='-Wl,'
   12774       if test ia64 = "$host_cpu"; then
   12775 	# AIX 5 now supports IA64 processor
   12776 	lt_prog_compiler_static='-Bstatic'
   12777       else
   12778 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   12779       fi
   12780       ;;
   12781 
   12782     darwin* | rhapsody*)
   12783       # PIC is the default on this platform
   12784       # Common symbols not allowed in MH_DYLIB files
   12785       lt_prog_compiler_pic='-fno-common'
   12786       case $cc_basename in
   12787       nagfor*)
   12788         # NAG Fortran compiler
   12789         lt_prog_compiler_wl='-Wl,-Wl,,'
   12790         lt_prog_compiler_pic='-PIC'
   12791         lt_prog_compiler_static='-Bstatic'
   12792         ;;
   12793       esac
   12794       ;;
   12795 
   12796     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   12797       # This hack is so that the source file can tell whether it is being
   12798       # built for inclusion in a dll (and should export symbols for example).
   12799       lt_prog_compiler_pic='-DDLL_EXPORT'
   12800       case $host_os in
   12801       os2*)
   12802 	lt_prog_compiler_static='$wl-static'
   12803 	;;
   12804       esac
   12805       ;;
   12806 
   12807     hpux9* | hpux10* | hpux11*)
   12808       lt_prog_compiler_wl='-Wl,'
   12809       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12810       # not for PA HP-UX.
   12811       case $host_cpu in
   12812       hppa*64*|ia64*)
   12813 	# +Z the default
   12814 	;;
   12815       *)
   12816 	lt_prog_compiler_pic='+Z'
   12817 	;;
   12818       esac
   12819       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   12820       lt_prog_compiler_static='$wl-a ${wl}archive'
   12821       ;;
   12822 
   12823     irix5* | irix6* | nonstopux*)
   12824       lt_prog_compiler_wl='-Wl,'
   12825       # PIC (with -KPIC) is the default.
   12826       lt_prog_compiler_static='-non_shared'
   12827       ;;
   12828 
   12829     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12830       case $cc_basename in
   12831       # old Intel for x86_64, which still supported -KPIC.
   12832       ecc*)
   12833 	lt_prog_compiler_wl='-Wl,'
   12834 	lt_prog_compiler_pic='-KPIC'
   12835 	lt_prog_compiler_static='-static'
   12836         ;;
   12837       *flang* | ftn | f18* | f95*)
   12838         # Flang compiler.
   12839 	lt_prog_compiler_wl='-Wl,'
   12840 	lt_prog_compiler_pic='-fPIC'
   12841 	lt_prog_compiler_static='-static'
   12842         ;;
   12843       # icc used to be incompatible with GCC.
   12844       # ICC 10 doesn't accept -KPIC any more.
   12845       icc* | ifort*)
   12846 	lt_prog_compiler_wl='-Wl,'
   12847 	lt_prog_compiler_pic='-fPIC'
   12848 	lt_prog_compiler_static='-static'
   12849         ;;
   12850       # Lahey Fortran 8.1.
   12851       lf95*)
   12852 	lt_prog_compiler_wl='-Wl,'
   12853 	lt_prog_compiler_pic='--shared'
   12854 	lt_prog_compiler_static='--static'
   12855 	;;
   12856       nagfor*)
   12857 	# NAG Fortran compiler
   12858 	lt_prog_compiler_wl='-Wl,-Wl,,'
   12859 	lt_prog_compiler_pic='-PIC'
   12860 	lt_prog_compiler_static='-Bstatic'
   12861 	;;
   12862       tcc*)
   12863 	# Fabrice Bellard et al's Tiny C Compiler
   12864 	lt_prog_compiler_wl='-Wl,'
   12865 	lt_prog_compiler_pic='-fPIC'
   12866 	lt_prog_compiler_static='-static'
   12867 	;;
   12868       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   12869         # Portland Group compilers (*not* the Pentium gcc compiler,
   12870 	# which looks to be a dead project)
   12871 	lt_prog_compiler_wl='-Wl,'
   12872 	lt_prog_compiler_pic='-fpic'
   12873 	lt_prog_compiler_static='-Bstatic'
   12874         ;;
   12875       ccc*)
   12876         lt_prog_compiler_wl='-Wl,'
   12877         # All Alpha code is PIC.
   12878         lt_prog_compiler_static='-non_shared'
   12879         ;;
   12880       xl* | bgxl* | bgf* | mpixl*)
   12881 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   12882 	lt_prog_compiler_wl='-Wl,'
   12883 	lt_prog_compiler_pic='-qpic'
   12884 	lt_prog_compiler_static='-qstaticlink'
   12885 	;;
   12886       *)
   12887 	case `$CC -V 2>&1 | $SED 5q` in
   12888 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   12889 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   12890 	  lt_prog_compiler_pic='-KPIC'
   12891 	  lt_prog_compiler_static='-Bstatic'
   12892 	  lt_prog_compiler_wl=''
   12893 	  ;;
   12894 	*Sun\ F* | *Sun*Fortran*)
   12895 	  lt_prog_compiler_pic='-KPIC'
   12896 	  lt_prog_compiler_static='-Bstatic'
   12897 	  lt_prog_compiler_wl='-Qoption ld '
   12898 	  ;;
   12899 	*Sun\ C*)
   12900 	  # Sun C 5.9
   12901 	  lt_prog_compiler_pic='-KPIC'
   12902 	  lt_prog_compiler_static='-Bstatic'
   12903 	  lt_prog_compiler_wl='-Wl,'
   12904 	  ;;
   12905         *Intel*\ [CF]*Compiler*)
   12906 	  lt_prog_compiler_wl='-Wl,'
   12907 	  lt_prog_compiler_pic='-fPIC'
   12908 	  lt_prog_compiler_static='-static'
   12909 	  ;;
   12910 	*Portland\ Group*)
   12911 	  lt_prog_compiler_wl='-Wl,'
   12912 	  lt_prog_compiler_pic='-fpic'
   12913 	  lt_prog_compiler_static='-Bstatic'
   12914 	  ;;
   12915 	esac
   12916 	;;
   12917       esac
   12918       ;;
   12919 
   12920     newsos6)
   12921       lt_prog_compiler_pic='-KPIC'
   12922       lt_prog_compiler_static='-Bstatic'
   12923       ;;
   12924 
   12925     *-mlibc)
   12926       lt_prog_compiler_wl='-Wl,'
   12927       lt_prog_compiler_pic='-fPIC'
   12928       lt_prog_compiler_static='-static'
   12929       ;;
   12930 
   12931     *nto* | *qnx*)
   12932       # QNX uses GNU C++, but need to define -shared option too, otherwise
   12933       # it will coredump.
   12934       lt_prog_compiler_pic='-fPIC -shared'
   12935       ;;
   12936 
   12937     osf3* | osf4* | osf5*)
   12938       lt_prog_compiler_wl='-Wl,'
   12939       # All OSF/1 code is PIC.
   12940       lt_prog_compiler_static='-non_shared'
   12941       ;;
   12942 
   12943     rdos*)
   12944       lt_prog_compiler_static='-non_shared'
   12945       ;;
   12946 
   12947     serenity*)
   12948       ;;
   12949 
   12950     solaris*)
   12951       lt_prog_compiler_pic='-KPIC'
   12952       lt_prog_compiler_static='-Bstatic'
   12953       case $cc_basename in
   12954       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   12955 	lt_prog_compiler_wl='-Qoption ld ';;
   12956       *)
   12957 	lt_prog_compiler_wl='-Wl,';;
   12958       esac
   12959       ;;
   12960 
   12961     sunos4*)
   12962       lt_prog_compiler_wl='-Qoption ld '
   12963       lt_prog_compiler_pic='-PIC'
   12964       lt_prog_compiler_static='-Bstatic'
   12965       ;;
   12966 
   12967     sysv4 | sysv4.2uw2* | sysv4.3*)
   12968       lt_prog_compiler_wl='-Wl,'
   12969       lt_prog_compiler_pic='-KPIC'
   12970       lt_prog_compiler_static='-Bstatic'
   12971       ;;
   12972 
   12973     sysv4*MP*)
   12974       if test -d /usr/nec; then
   12975 	lt_prog_compiler_pic='-Kconform_pic'
   12976 	lt_prog_compiler_static='-Bstatic'
   12977       fi
   12978       ;;
   12979 
   12980     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12981       lt_prog_compiler_wl='-Wl,'
   12982       lt_prog_compiler_pic='-KPIC'
   12983       lt_prog_compiler_static='-Bstatic'
   12984       ;;
   12985 
   12986     unicos*)
   12987       lt_prog_compiler_wl='-Wl,'
   12988       lt_prog_compiler_can_build_shared=no
   12989       ;;
   12990 
   12991     uts4*)
   12992       lt_prog_compiler_pic='-pic'
   12993       lt_prog_compiler_static='-Bstatic'
   12994       ;;
   12995 
   12996     *)
   12997       lt_prog_compiler_can_build_shared=no
   12998       ;;
   12999     esac
   13000   fi
   13001 
   13002 case $host_os in
   13003   # For platforms that do not support PIC, -DPIC is meaningless:
   13004   *djgpp*)
   13005     lt_prog_compiler_pic=
   13006     ;;
   13007   *)
   13008     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   13009     ;;
   13010 esac
   13011 
   13012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   13013 printf %s "checking for $compiler option to produce PIC... " >&6; }
   13014 if test ${lt_cv_prog_compiler_pic+y}
   13015 then :
   13016   printf %s "(cached) " >&6
   13017 else case e in #(
   13018   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
   13019 esac
   13020 fi
   13021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   13022 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   13023 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   13024 
   13025 #
   13026 # Check to make sure the PIC flag actually works.
   13027 #
   13028 if test -n "$lt_prog_compiler_pic"; then
   13029   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   13030 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   13031 if test ${lt_cv_prog_compiler_pic_works+y}
   13032 then :
   13033   printf %s "(cached) " >&6
   13034 else case e in #(
   13035   e) lt_cv_prog_compiler_pic_works=no
   13036    ac_outfile=conftest.$ac_objext
   13037    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13038    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   13039    # Insert the option either (1) after the last *FLAGS variable, or
   13040    # (2) before a word containing "conftest.", or (3) at the end.
   13041    # Note that $ac_compile itself does not contain backslashes and begins
   13042    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13043    # The option is referenced via a variable to avoid confusing sed.
   13044    lt_compile=`echo "$ac_compile" | $SED \
   13045    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13046    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13047    -e 's:$: $lt_compiler_flag:'`
   13048    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   13049    (eval "$lt_compile" 2>conftest.err)
   13050    ac_status=$?
   13051    cat conftest.err >&5
   13052    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13053    if (exit $ac_status) && test -s "$ac_outfile"; then
   13054      # The compiler can only warn and ignore the option if not recognized
   13055      # So say no if there are warnings other than the usual output.
   13056      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   13057      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13058      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   13059        lt_cv_prog_compiler_pic_works=yes
   13060      fi
   13061    fi
   13062    $RM conftest*
   13063  ;;
   13064 esac
   13065 fi
   13066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   13067 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   13068 
   13069 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   13070     case $lt_prog_compiler_pic in
   13071      "" | " "*) ;;
   13072      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   13073      esac
   13074 else
   13075     lt_prog_compiler_pic=
   13076      lt_prog_compiler_can_build_shared=no
   13077 fi
   13078 
   13079 fi
   13080 
   13081 
   13082 
   13083 
   13084 
   13085 #
   13086 # Check to make sure the static flag actually works.
   13087 #
   13088 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   13089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   13090 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   13091 if test ${lt_cv_prog_compiler_static_works+y}
   13092 then :
   13093   printf %s "(cached) " >&6
   13094 else case e in #(
   13095   e) lt_cv_prog_compiler_static_works=no
   13096    save_LDFLAGS=$LDFLAGS
   13097    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13098    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   13099    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13100      # The linker can only warn and ignore the option if not recognized
   13101      # So say no if there are warnings
   13102      if test -s conftest.err; then
   13103        # Append any errors to the config.log.
   13104        cat conftest.err 1>&5
   13105        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   13106        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13107        if diff conftest.exp conftest.er2 >/dev/null; then
   13108          lt_cv_prog_compiler_static_works=yes
   13109        fi
   13110      else
   13111        lt_cv_prog_compiler_static_works=yes
   13112      fi
   13113    fi
   13114    $RM -r conftest*
   13115    LDFLAGS=$save_LDFLAGS
   13116  ;;
   13117 esac
   13118 fi
   13119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   13120 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   13121 
   13122 if test yes = "$lt_cv_prog_compiler_static_works"; then
   13123     :
   13124 else
   13125     lt_prog_compiler_static=
   13126 fi
   13127 
   13128 
   13129 
   13130 ='-fPIC'
   13131   archive_cmds='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
   13132   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'
   13133   archive_cmds_need_lc=no
   13134   no_undefined_flag=
   13135   ;;
   13136 
   13137 *)
   13138   dynamic_linker=no
   13139   ;;
   13140 esac
   13141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   13142 printf "%s\n" "$dynamic_linker" >&6; }
   13143 test no = "$dynamic_linker" && can_build_shared=no
   13144 
   13145 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13146 if test yes = "$GCC"; then
   13147   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13148 fi
   13149 
   13150 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   13151   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   13152 fi
   13153 
   13154 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   13155   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   13156 fi
   13157 
   13158 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   13159 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   13160 
   13161 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   13162 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   13163 
   13164 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   13165 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   13166 
   13167 
   13168 
   13169 
   13170 
   13171 
   13172 
   13173 
   13174 
   13175 
   13176 
   13177 
   13178 
   13179 
   13180 
   13181 
   13182 
   13183 
   13184 
   13185 
   13186 
   13187 
   13188 
   13189 
   13190 
   13191 
   13192 
   13193 
   13194 
   13195 
   13196 
   13197 
   13198 
   13199 
   13200 
   13201 
   13202 
   13203 
   13204 
   13205 
   13206 
   13207 
   13208 
   13209 
   13210 
   13211 
   13212 
   13213 
   13214 
   13215 
   13216 
   13217 
   13218 
   13219 
   13220 
   13221 
   13222 
   13223 
   13224 
   13225 
   13226 
   13227 
   13228 
   13229 
   13230 
   13231 
   13232 
   13233 
   13234 
   13235 
   13236 
   13237 
   13238 
   13239 
   13240 
   13241 
   13242 
   13243 
   13244 
   13245 
   13246 
   13247 
   13248 
   13249 
   13250 
   13251 
   13252 
   13253 
   13254 
   13255 
   13256 
   13257 
   13258 
   13259 
   13260 
   13261 
   13262 
   13263   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   13264 printf %s "checking how to hardcode library paths into programs... " >&6; }
   13265 hardcode_action=
   13266 if test -n "$hardcode_libdir_flag_spec" ||
   13267    test -n "$runpath_var" ||
   13268    test yes = "$hardcode_automatic"; then
   13269 
   13270   # We can hardcode non-existent directories.
   13271   if test no != "$hardcode_direct" &&
   13272      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13273      # have to relink, otherwise we might link with an installed library
   13274      # when we should be linking with a yet-to-be-installed one
   13275      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   13276      test no != "$hardcode_minus_L"; then
   13277     # Linking always hardcodes the temporary library directory.
   13278     hardcode_action=relink
   13279   else
   13280     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13281     hardcode_action=immediate
   13282   fi
   13283 else
   13284   # We cannot hardcode anything, or else we can only hardcode existing
   13285   # directories.
   13286   hardcode_action=unsupported
   13287 fi
   13288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   13289 printf "%s\n" "$hardcode_action" >&6; }
   13290 
   13291 if test relink = "$hardcode_action" ||
   13292    test yes = "$inherit_rpath"; then
   13293   # Fast installation is not supported
   13294   enable_fast_install=no
   13295 elif test yes = "$shlibpath_overrides_runpath" ||
   13296      test no = "$enable_shared"; then
   13297   # Fast installation is not necessary
   13298   enable_fast_install=needless
   13299 fi
   13300 
   13301 
   13302 
   13303 
   13304 
   13305 
   13306   if test yes != "$enable_dlopen"; then
   13307   enable_dlopen=unknown
   13308   enable_dlopen_self=unknown
   13309   enable_dlopen_self_static=unknown
   13310 else
   13311   lt_cv_dlopen=no
   13312   lt_cv_dlopen_libs=
   13313 
   13314   case $host_os in
   13315   beos*)
   13316     lt_cv_dlopen=load_add_on
   13317     lt_cv_dlopen_libs=
   13318     lt_cv_dlopen_self=yes
   13319     ;;
   13320 
   13321   mingw* | windows* | pw32* | cegcc*)
   13322     lt_cv_dlopen=LoadLibrary
   13323     lt_cv_dlopen_libs=
   13324     ;;
   13325 
   13326   cygwin*)
   13327     lt_cv_dlopen=dlopen
   13328     lt_cv_dlopen_libs=
   13329     ;;
   13330 
   13331   darwin*)
   13332     # if libdl is installed we need to link against it
   13333     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   13334 printf %s "checking for dlopen in -ldl... " >&6; }
   13335 if test ${ac_cv_lib_dl_dlopen+y}
   13336 then :
   13337   printf %s "(cached) " >&6
   13338 else case e in #(
   13339   e) ac_check_lib_save_LIBS=$LIBS
   13340 LIBS="-ldl  $LIBS"
   13341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13342 /* end confdefs.h.  */
   13343 
   13344 /* Override any GCC internal prototype to avoid an error.
   13345    Use char because int might match the return type of a GCC
   13346    builtin and then its argument prototype would still apply.
   13347    The 'extern "C"' is for builds by C++ compilers;
   13348    although this is not generally supported in C code supporting it here
   13349    has little cost and some practical benefit (sr 110532).  */
   13350 #ifdef __cplusplus
   13351 extern "C"
   13352 #endif
   13353 char dlopen (void);
   13354 int
   13355 main (void)
   13356 {
   13357 return dlopen ();
   13358   ;
   13359   return 0;
   13360 }
   13361 _ACEOF
   13362 if ac_fn_c_try_link "$LINENO"
   13363 then :
   13364   ac_cv_lib_dl_dlopen=yes
   13365 else case e in #(
   13366   e) ac_cv_lib_dl_dlopen=no ;;
   13367 esac
   13368 fi
   13369 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13370     conftest$ac_exeext conftest.$ac_ext
   13371 LIBS=$ac_check_lib_save_LIBS ;;
   13372 esac
   13373 fi
   13374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   13375 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   13376 if test "x$ac_cv_lib_dl_dlopen" = xyes
   13377 then :
   13378   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   13379 else case e in #(
   13380   e)
   13381     lt_cv_dlopen=dyld
   13382     lt_cv_dlopen_libs=
   13383     lt_cv_dlopen_self=yes
   13384      ;;
   13385 esac
   13386 fi
   13387 
   13388     ;;
   13389 
   13390   tpf*)
   13391     # Don't try to run any link tests for TPF.  We know it's impossible
   13392     # because TPF is a cross-compiler, and we know how we open DSOs.
   13393     lt_cv_dlopen=dlopen
   13394     lt_cv_dlopen_libs=
   13395     lt_cv_dlopen_self=no
   13396     ;;
   13397 
   13398   *)
   13399     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   13400 if test "x$ac_cv_func_shl_load" = xyes
   13401 then :
   13402   lt_cv_dlopen=shl_load
   13403 else case e in #(
   13404   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   13405 printf %s "checking for shl_load in -ldld... " >&6; }
   13406 if test ${ac_cv_lib_dld_shl_load+y}
   13407 then :
   13408   printf %s "(cached) " >&6
   13409 else case e in #(
   13410   e) ac_check_lib_save_LIBS=$LIBS
   13411 LIBS="-ldld  $LIBS"
   13412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13413 /* end confdefs.h.  */
   13414 
   13415 /* Override any GCC internal prototype to avoid an error.
   13416    Use char because int might match the return type of a GCC
   13417    builtin and then its argument prototype would still apply.
   13418    The 'extern "C"' is for builds by C++ compilers;
   13419    although this is not generally supported in C code supporting it here
   13420    has little cost and some practical benefit (sr 110532).  */
   13421 #ifdef __cplusplus
   13422 extern "C"
   13423 #endif
   13424 char shl_load (void);
   13425 int
   13426 main (void)
   13427 {
   13428 return shl_load ();
   13429   ;
   13430   return 0;
   13431 }
   13432 _ACEOF
   13433 if ac_fn_c_try_link "$LINENO"
   13434 then :
   13435   ac_cv_lib_dld_shl_load=yes
   13436 else case e in #(
   13437   e) ac_cv_lib_dld_shl_load=no ;;
   13438 esac
   13439 fi
   13440 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13441     conftest$ac_exeext conftest.$ac_ext
   13442 LIBS=$ac_check_lib_save_LIBS ;;
   13443 esac
   13444 fi
   13445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   13446 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   13447 if test "x$ac_cv_lib_dld_shl_load" = xyes
   13448 then :
   13449   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   13450 else case e in #(
   13451   e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   13452 if test "x$ac_cv_func_dlopen" = xyes
   13453 then :
   13454   lt_cv_dlopen=dlopen
   13455 else case e in #(
   13456   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   13457 printf %s "checking for dlopen in -ldl... " >&6; }
   13458 if test ${ac_cv_lib_dl_dlopen+y}
   13459 then :
   13460   printf %s "(cached) " >&6
   13461 else case e in #(
   13462   e) ac_check_lib_save_LIBS=$LIBS
   13463 LIBS="-ldl  $LIBS"
   13464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13465 /* end confdefs.h.  */
   13466 
   13467 /* Override any GCC internal prototype to avoid an error.
   13468    Use char because int might match the return type of a GCC
   13469    builtin and then its argument prototype would still apply.
   13470    The 'extern "C"' is for builds by C++ compilers;
   13471    although this is not generally supported in C code supporting it here
   13472    has little cost and some practical benefit (sr 110532).  */
   13473 #ifdef __cplusplus
   13474 extern "C"
   13475 #endif
   13476 char dlopen (void);
   13477 int
   13478 main (void)
   13479 {
   13480 return dlopen ();
   13481   ;
   13482   return 0;
   13483 }
   13484 _ACEOF
   13485 if ac_fn_c_try_link "$LINENO"
   13486 then :
   13487   ac_cv_lib_dl_dlopen=yes
   13488 else case e in #(
   13489   e) ac_cv_lib_dl_dlopen=no ;;
   13490 esac
   13491 fi
   13492 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13493     conftest$ac_exeext conftest.$ac_ext
   13494 LIBS=$ac_check_lib_save_LIBS ;;
   13495 esac
   13496 fi
   13497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   13498 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   13499 if test "x$ac_cv_lib_dl_dlopen" = xyes
   13500 then :
   13501   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   13502 else case e in #(
   13503   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   13504 printf %s "checking for dlopen in -lsvld... " >&6; }
   13505 if test ${ac_cv_lib_svld_dlopen+y}
   13506 then :
   13507   printf %s "(cached) " >&6
   13508 else case e in #(
   13509   e) ac_check_lib_save_LIBS=$LIBS
   13510 LIBS="-lsvld  $LIBS"
   13511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13512 /* end confdefs.h.  */
   13513 
   13514 /* Override any GCC internal prototype to avoid an error.
   13515    Use char because int might match the return type of a GCC
   13516    builtin and then its argument prototype would still apply.
   13517    The 'extern "C"' is for builds by C++ compilers;
   13518    although this is not generally supported in C code supporting it here
   13519    has little cost and some practical benefit (sr 110532).  */
   13520 #ifdef __cplusplus
   13521 extern "C"
   13522 #endif
   13523 char dlopen (void);
   13524 int
   13525 main (void)
   13526 {
   13527 return dlopen ();
   13528   ;
   13529   return 0;
   13530 }
   13531 _ACEOF
   13532 if ac_fn_c_try_link "$LINENO"
   13533 then :
   13534   ac_cv_lib_svld_dlopen=yes
   13535 else case e in #(
   13536   e) ac_cv_lib_svld_dlopen=no ;;
   13537 esac
   13538 fi
   13539 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13540     conftest$ac_exeext conftest.$ac_ext
   13541 LIBS=$ac_check_lib_save_LIBS ;;
   13542 esac
   13543 fi
   13544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   13545 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   13546 if test "x$ac_cv_lib_svld_dlopen" = xyes
   13547 then :
   13548   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   13549 else case e in #(
   13550   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   13551 printf %s "checking for dld_link in -ldld... " >&6; }
   13552 if test ${ac_cv_lib_dld_dld_link+y}
   13553 then :
   13554   printf %s "(cached) " >&6
   13555 else case e in #(
   13556   e) ac_check_lib_save_LIBS=$LIBS
   13557 LIBS="-ldld  $LIBS"
   13558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13559 /* end confdefs.h.  */
   13560 
   13561 /* Override any GCC internal prototype to avoid an error.
   13562    Use char because int might match the return type of a GCC
   13563    builtin and then its argument prototype would still apply.
   13564    The 'extern "C"' is for builds by C++ compilers;
   13565    although this is not generally supported in C code supporting it here
   13566    has little cost and some practical benefit (sr 110532).  */
   13567 #ifdef __cplusplus
   13568 extern "C"
   13569 #endif
   13570 char dld_link (void);
   13571 int
   13572 main (void)
   13573 {
   13574 return dld_link ();
   13575   ;
   13576   return 0;
   13577 }
   13578 _ACEOF
   13579 if ac_fn_c_try_link "$LINENO"
   13580 then :
   13581   ac_cv_lib_dld_dld_link=yes
   13582 else case e in #(
   13583   e) ac_cv_lib_dld_dld_link=no ;;
   13584 esac
   13585 fi
   13586 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13587     conftest$ac_exeext conftest.$ac_ext
   13588 LIBS=$ac_check_lib_save_LIBS ;;
   13589 esac
   13590 fi
   13591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   13592 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   13593 if test "x$ac_cv_lib_dld_dld_link" = xyes
   13594 then :
   13595   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   13596 fi
   13597 
   13598 	       ;;
   13599 esac
   13600 fi
   13601 
   13602 	     ;;
   13603 esac
   13604 fi
   13605 
   13606 	   ;;
   13607 esac
   13608 fi
   13609 
   13610 	 ;;
   13611 esac
   13612 fi
   13613 
   13614        ;;
   13615 esac
   13616 fi
   13617 
   13618     ;;
   13619   esac
   13620 
   13621   if test no = "$lt_cv_dlopen"; then
   13622     enable_dlopen=no
   13623   else
   13624     enable_dlopen=yes
   13625   fi
   13626 
   13627   case $lt_cv_dlopen in
   13628   dlopen)
   13629     save_CPPFLAGS=$CPPFLAGS
   13630     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   13631 
   13632     save_LDFLAGS=$LDFLAGS
   13633     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   13634 
   13635     save_LIBS=$LIBS
   13636     LIBS="$lt_cv_dlopen_libs $LIBS"
   13637 
   13638     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   13639 printf %s "checking whether a program can dlopen itself... " >&6; }
   13640 if test ${lt_cv_dlopen_self+y}
   13641 then :
   13642   printf %s "(cached) " >&6
   13643 else case e in #(
   13644   e) 	  if test yes = "$cross_compiling"; then :
   13645   lt_cv_dlopen_self=cross
   13646 else
   13647   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   13648   lt_status=$lt_dlunknown
   13649   cat > conftest.$ac_ext <<_LT_EOF
   13650 #line $LINENO "configure"
   13651 #include "confdefs.h"
   13652 
   13653 #if HAVE_DLFCN_H
   13654 #include <dlfcn.h>
   13655 #endif
   13656 
   13657 #include <stdio.h>
   13658 
   13659 #ifdef RTLD_GLOBAL
   13660 #  define LT_DLGLOBAL		RTLD_GLOBAL
   13661 #else
   13662 #  ifdef DL_GLOBAL
   13663 #    define LT_DLGLOBAL		DL_GLOBAL
   13664 #  else
   13665 #    define LT_DLGLOBAL		0
   13666 #  endif
   13667 #endif
   13668 
   13669 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   13670    find out it does not work in some platform. */
   13671 #ifndef LT_DLLAZY_OR_NOW
   13672 #  ifdef RTLD_LAZY
   13673 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   13674 #  else
   13675 #    ifdef DL_LAZY
   13676 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   13677 #    else
   13678 #      ifdef RTLD_NOW
   13679 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   13680 #      else
   13681 #        ifdef DL_NOW
   13682 #          define LT_DLLAZY_OR_NOW	DL_NOW
   13683 #        else
   13684 #          define LT_DLLAZY_OR_NOW	0
   13685 #        endif
   13686 #      endif
   13687 #    endif
   13688 #  endif
   13689 #endif
   13690 
   13691 /* When -fvisibility=hidden is used, assume the code has been annotated
   13692    correspondingly for the symbols needed.  */
   13693 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   13694 int fnord (void) __attribute__((visibility("default")));
   13695 #endif
   13696 
   13697 int fnord (void) { return 42; }
   13698 int main (void)
   13699 {
   13700   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   13701   int status = $lt_dlunknown;
   13702 
   13703   if (self)
   13704     {
   13705       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   13706       else
   13707         {
   13708 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   13709           else puts (dlerror ());
   13710 	}
   13711       /* dlclose (self); */
   13712     }
   13713   else
   13714     puts (dlerror ());
   13715 
   13716   return status;
   13717 }
   13718 _LT_EOF
   13719   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13720   (eval $ac_link) 2>&5
   13721   ac_status=$?
   13722   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13723   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   13724     (./conftest; exit; ) >&5 2>/dev/null
   13725     lt_status=$?
   13726     case x$lt_status in
   13727       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   13728       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   13729       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   13730     esac
   13731   else :
   13732     # compilation failed
   13733     lt_cv_dlopen_self=no
   13734   fi
   13735 fi
   13736 rm -fr conftest*
   13737 
   13738      ;;
   13739 esac
   13740 fi
   13741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   13742 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   13743 
   13744     if test yes = "$lt_cv_dlopen_self"; then
   13745       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   13746       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   13747 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   13748 if test ${lt_cv_dlopen_self_static+y}
   13749 then :
   13750   printf %s "(cached) " >&6
   13751 else case e in #(
   13752   e) 	  if test yes = "$cross_compiling"; then :
   13753   lt_cv_dlopen_self_static=cross
   13754 else
   13755   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   13756   lt_status=$lt_dlunknown
   13757   cat > conftest.$ac_ext <<_LT_EOF
   13758 #line $LINENO "configure"
   13759 #include "confdefs.h"
   13760 
   13761 #if HAVE_DLFCN_H
   13762 #include <dlfcn.h>
   13763 #endif
   13764 
   13765 #include <stdio.h>
   13766 
   13767 #ifdef RTLD_GLOBAL
   13768 #  define LT_DLGLOBAL		RTLD_GLOBAL
   13769 #else
   13770 #  ifdef DL_GLOBAL
   13771 #    define LT_DLGLOBAL		DL_GLOBAL
   13772 #  else
   13773 #    define LT_DLGLOBAL		0
   13774 #  endif
   13775 #endif
   13776 
   13777 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   13778    find out it does not work in some platform. */
   13779 #ifndef LT_DLLAZY_OR_NOW
   13780 #  ifdef RTLD_LAZY
   13781 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   13782 #  else
   13783 #    ifdef DL_LAZY
   13784 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   13785 #    else
   13786 #      ifdef RTLD_NOW
   13787 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   13788 #      else
   13789 #        ifdef DL_NOW
   13790 #          define LT_DLLAZY_OR_NOW	DL_NOW
   13791 #        else
   13792 #          define LT_DLLAZY_OR_NOW	0
   13793 #        endif
   13794 #      endif
   13795 #    endif
   13796 #  endif
   13797 #endif
   13798 
   13799 /* When -fvisibility=hidden is used, assume the code has been annotated
   13800    correspondingly for the symbols needed.  */
   13801 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   13802 int fnord (void) __attribute__((visibility("default")));
   13803 #endif
   13804 
   13805 int fnord (void) { return 42; }
   13806 int main (void)
   13807 {
   13808   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   13809   int status = $lt_dlunknown;
   13810 
   13811   if (self)
   13812     {
   13813       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   13814       else
   13815         {
   13816 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   13817           else puts (dlerror ());
   13818 	}
   13819       /* dlclose (self); */
   13820     }
   13821   else
   13822     puts (dlerror ());
   13823 
   13824   return status;
   13825 }
   13826 _LT_EOF
   13827   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13828   (eval $ac_link) 2>&5
   13829   ac_status=$?
   13830   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13831   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   13832     (./conftest; exit; ) >&5 2>/dev/null
   13833     lt_status=$?
   13834     case x$lt_status in
   13835       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   13836       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   13837       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   13838     esac
   13839   else :
   13840     # compilation failed
   13841     lt_cv_dlopen_self_static=no
   13842   fi
   13843 fi
   13844 rm -fr conftest*
   13845 
   13846        ;;
   13847 esac
   13848 fi
   13849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   13850 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   13851     fi
   13852 
   13853     CPPFLAGS=$save_CPPFLAGS
   13854     LDFLAGS=$save_LDFLAGS
   13855     LIBS=$save_LIBS
   13856     ;;
   13857   esac
   13858 
   13859   case $lt_cv_dlopen_self in
   13860   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   13861   *) enable_dlopen_self=unknown ;;
   13862   esac
   13863 
   13864   case $lt_cv_dlopen_self_static in
   13865   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   13866   *) enable_dlopen_self_static=unknown ;;
   13867   esac
   13868 fi
   13869 
   13870 
   13871 
   13872 
   13873 
   13874 
   13875 
   13876 
   13877 
   13878 
   13879 
   13880 
   13881 
   13882 
   13883 
   13884 
   13885 
   13886 striplib=
   13887 old_striplib=
   13888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   13889 printf %s "checking whether stripping libraries is possible... " >&6; }
   13890 if test -z "$STRIP"; then
   13891   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13892 printf "%s\n" "no" >&6; }
   13893 else
   13894   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   13895     old_striplib="$STRIP --strip-debug"
   13896     striplib="$STRIP --strip-unneeded"
   13897     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13898 printf "%s\n" "yes" >&6; }
   13899   else
   13900     case $host_os in
   13901     darwin*)
   13902       # FIXME - insert some real tests, host_os isn't really good enough
   13903       striplib="$STRIP -x"
   13904       old_striplib="$STRIP -S"
   13905       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13906 printf "%s\n" "yes" >&6; }
   13907       ;;
   13908     freebsd*)
   13909       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   13910         old_striplib="$STRIP --strip-debug"
   13911         striplib="$STRIP --strip-unneeded"
   13912         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13913 printf "%s\n" "yes" >&6; }
   13914       else
   13915         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13916 printf "%s\n" "no" >&6; }
   13917       fi
   13918       ;;
   13919     *)
   13920       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13921 printf "%s\n" "no" >&6; }
   13922       ;;
   13923     esac
   13924   fi
   13925 fi
   13926 
   13927 
   13928 
   13929 
   13930 
   13931 
   13932 
   13933 
   13934 
   13935 
   13936 
   13937 
   13938   # Report what library types will actually be built
   13939   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   13940 printf %s "checking if libtool supports shared libraries... " >&6; }
   13941   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   13942 printf "%s\n" "$can_build_shared" >&6; }
   13943 
   13944   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   13945 printf %s "checking whether to build shared libraries... " >&6; }
   13946   test no = "$can_build_shared" && enable_shared=no
   13947 
   13948   # On AIX, shared libraries and static libraries use the same namespace, and
   13949   # are all built from PIC.
   13950   case $host_os in
   13951   aix3*)
   13952     test yes = "$enable_shared" && enable_static=no
   13953     if test -n "$RANLIB"; then
   13954       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   13955       postinstall_cmds='$RANLIB $lib'
   13956     fi
   13957     ;;
   13958 
   13959   aix[4-9]*)
   13960     if test ia64 != "$host_cpu"; then
   13961       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   13962       yes,aix,yes) ;;			# shared object as lib.so file only
   13963       yes,svr4,*) ;;			# shared object as lib.so archive member only
   13964       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   13965       esac
   13966     fi
   13967     ;;
   13968   esac
   13969   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   13970 printf "%s\n" "$enable_shared" >&6; }
   13971 
   13972   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   13973 printf %s "checking whether to build static libraries... " >&6; }
   13974   # Make sure either enable_shared or enable_static is yes.
   13975   test yes = "$enable_shared" || enable_static=yes
   13976   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   13977 printf "%s\n" "$enable_static" >&6; }
   13978 
   13979 
   13980 
   13981 
   13982 fi
   13983 ac_ext=c
   13984 ac_cpp='$CPP $CPPFLAGS'
   13985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13988 
   13989 CC=$lt_save_CC
   13990 
   13991 
   13992 
   13993 
   13994 
   13995 
   13996 
   13997 
   13998 
   13999 
   14000 
   14001 
   14002 
   14003 
   14004 
   14005         ac_config_commands="$ac_config_commands libtool"
   14006 
   14007 
   14008 
   14009 
   14010 # Only expand once:
   14011 
   14012 
   14013 
   14014 # Require xorg-macros minimum of 1.12 for DocBook external references
   14015 
   14016 
   14017 
   14018 
   14019 
   14020 
   14021 
   14022 
   14023 
   14024 
   14025 
   14026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   14027 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   14028 if test ${ac_cv_c_undeclared_builtin_options+y}
   14029 then :
   14030   printf %s "(cached) " >&6
   14031 else case e in #(
   14032   e) ac_save_CFLAGS=$CFLAGS
   14033    ac_cv_c_undeclared_builtin_options='cannot detect'
   14034    for ac_arg in '' -fno-builtin; do
   14035      CFLAGS="$ac_save_CFLAGS $ac_arg"
   14036      # This test program should *not* compile successfully.
   14037      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14038 /* end confdefs.h.  */
   14039 
   14040 int
   14041 main (void)
   14042 {
   14043 (void) strchr;
   14044   ;
   14045   return 0;
   14046 }
   14047 _ACEOF
   14048 if ac_fn_c_try_compile "$LINENO"
   14049 then :
   14050 
   14051 else case e in #(
   14052   e) # This test program should compile successfully.
   14053         # No library function is consistently available on
   14054         # freestanding implementations, so test against a dummy
   14055         # declaration.  Include always-available headers on the
   14056         # off chance that they somehow elicit warnings.
   14057         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14058 /* end confdefs.h.  */
   14059 #include <float.h>
   14060 #include <limits.h>
   14061 #include <stdarg.h>
   14062 #include <stddef.h>
   14063 extern void ac_decl (int, char *);
   14064 
   14065 int
   14066 main (void)
   14067 {
   14068 (void) ac_decl (0, (char *) 0);
   14069   (void) ac_decl;
   14070 
   14071   ;
   14072   return 0;
   14073 }
   14074 _ACEOF
   14075 if ac_fn_c_try_compile "$LINENO"
   14076 then :
   14077   if test x"$ac_arg" = x
   14078 then :
   14079   ac_cv_c_undeclared_builtin_options='none needed'
   14080 else case e in #(
   14081   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   14082 esac
   14083 fi
   14084           break
   14085 fi
   14086 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14087 esac
   14088 fi
   14089 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14090     done
   14091     CFLAGS=$ac_save_CFLAGS
   14092    ;;
   14093 esac
   14094 fi
   14095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   14096 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   14097   case $ac_cv_c_undeclared_builtin_options in #(
   14098   'cannot detect') :
   14099     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   14100 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   14101 as_fn_error $? "cannot make $CC report undeclared builtins
   14102 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   14103   'none needed') :
   14104     ac_c_undeclared_builtin_options='' ;; #(
   14105   *) :
   14106     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   14107 esac
   14108 
   14109 
   14110 
   14111 
   14112 
   14113 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   14114 if test "x$ac_cv_have_decl___clang__" = xyes
   14115 then :
   14116   CLANGCC="yes"
   14117 else case e in #(
   14118   e) CLANGCC="no" ;;
   14119 esac
   14120 fi
   14121 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   14122 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   14123 then :
   14124   INTELCC="yes"
   14125 else case e in #(
   14126   e) INTELCC="no" ;;
   14127 esac
   14128 fi
   14129 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   14130 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   14131 then :
   14132   SUNCC="yes"
   14133 else case e in #(
   14134   e) SUNCC="no" ;;
   14135 esac
   14136 fi
   14137 
   14138 
   14139 
   14140 
   14141 
   14142 
   14143 
   14144 
   14145 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   14146 	if test -n "$ac_tool_prefix"; then
   14147   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   14148 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   14149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14150 printf %s "checking for $ac_word... " >&6; }
   14151 if test ${ac_cv_path_PKG_CONFIG+y}
   14152 then :
   14153   printf %s "(cached) " >&6
   14154 else case e in #(
   14155   e) case $PKG_CONFIG in
   14156   [\\/]* | ?:[\\/]*)
   14157   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   14158   ;;
   14159   *)
   14160   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14161 for as_dir in $PATH
   14162 do
   14163   IFS=$as_save_IFS
   14164   case $as_dir in #(((
   14165     '') as_dir=./ ;;
   14166     */) ;;
   14167     *) as_dir=$as_dir/ ;;
   14168   esac
   14169     for ac_exec_ext in '' $ac_executable_extensions; do
   14170   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14171     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   14172     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14173     break 2
   14174   fi
   14175 done
   14176   done
   14177 IFS=$as_save_IFS
   14178 
   14179   ;;
   14180 esac ;;
   14181 esac
   14182 fi
   14183 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   14184 if test -n "$PKG_CONFIG"; then
   14185   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   14186 printf "%s\n" "$PKG_CONFIG" >&6; }
   14187 else
   14188   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14189 printf "%s\n" "no" >&6; }
   14190 fi
   14191 
   14192 
   14193 fi
   14194 if test -z "$ac_cv_path_PKG_CONFIG"; then
   14195   ac_pt_PKG_CONFIG=$PKG_CONFIG
   14196   # Extract the first word of "pkg-config", so it can be a program name with args.
   14197 set dummy pkg-config; ac_word=$2
   14198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14199 printf %s "checking for $ac_word... " >&6; }
   14200 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   14201 then :
   14202   printf %s "(cached) " >&6
   14203 else case e in #(
   14204   e) case $ac_pt_PKG_CONFIG in
   14205   [\\/]* | ?:[\\/]*)
   14206   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   14207   ;;
   14208   *)
   14209   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14210 for as_dir in $PATH
   14211 do
   14212   IFS=$as_save_IFS
   14213   case $as_dir in #(((
   14214     '') as_dir=./ ;;
   14215     */) ;;
   14216     *) as_dir=$as_dir/ ;;
   14217   esac
   14218     for ac_exec_ext in '' $ac_executable_extensions; do
   14219   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14220     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   14221     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14222     break 2
   14223   fi
   14224 done
   14225   done
   14226 IFS=$as_save_IFS
   14227 
   14228   ;;
   14229 esac ;;
   14230 esac
   14231 fi
   14232 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   14233 if test -n "$ac_pt_PKG_CONFIG"; then
   14234   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   14235 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   14236 else
   14237   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14238 printf "%s\n" "no" >&6; }
   14239 fi
   14240 
   14241   if test "x$ac_pt_PKG_CONFIG" = x; then
   14242     PKG_CONFIG=""
   14243   else
   14244     case $cross_compiling:$ac_tool_warned in
   14245 yes:)
   14246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14247 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14248 ac_tool_warned=yes ;;
   14249 esac
   14250     PKG_CONFIG=$ac_pt_PKG_CONFIG
   14251   fi
   14252 else
   14253   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   14254 fi
   14255 
   14256 fi
   14257 if test -n "$PKG_CONFIG"; then
   14258 	_pkg_min_version=0.9.0
   14259 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   14260 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   14261 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   14262 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14263 printf "%s\n" "yes" >&6; }
   14264 	else
   14265 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14266 printf "%s\n" "no" >&6; }
   14267 		PKG_CONFIG=""
   14268 	fi
   14269 fi
   14270 
   14271 
   14272 
   14273 
   14274 
   14275 # Check whether --enable-selective-werror was given.
   14276 if test ${enable_selective_werror+y}
   14277 then :
   14278   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   14279 else case e in #(
   14280   e) SELECTIVE_WERROR=yes ;;
   14281 esac
   14282 fi
   14283 
   14284 
   14285 
   14286 
   14287 
   14288 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   14289 if test "x$SUNCC" = "xyes"; then
   14290     BASE_CFLAGS="-v"
   14291 else
   14292     BASE_CFLAGS=""
   14293 fi
   14294 
   14295 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   14296 
   14297 
   14298 
   14299 
   14300 
   14301 
   14302 
   14303 
   14304 
   14305 
   14306 
   14307 
   14308 
   14309 xorg_testset_save_CFLAGS="$CFLAGS"
   14310 
   14311 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14312 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14313 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14314 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14315 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14316 then :
   14317   printf %s "(cached) " >&6
   14318 else case e in #(
   14319   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14320 /* end confdefs.h.  */
   14321 int i;
   14322 _ACEOF
   14323 if ac_fn_c_try_compile "$LINENO"
   14324 then :
   14325   xorg_cv_cc_flag_unknown_warning_option=yes
   14326 else case e in #(
   14327   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14328 esac
   14329 fi
   14330 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14331 esac
   14332 fi
   14333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14334 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14335 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14336 	CFLAGS="$xorg_testset_save_CFLAGS"
   14337 fi
   14338 
   14339 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14340 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14341 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14342 	fi
   14343 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14344 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14345 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14346 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14347 then :
   14348   printf %s "(cached) " >&6
   14349 else case e in #(
   14350   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14351 /* end confdefs.h.  */
   14352 int i;
   14353 _ACEOF
   14354 if ac_fn_c_try_compile "$LINENO"
   14355 then :
   14356   xorg_cv_cc_flag_unused_command_line_argument=yes
   14357 else case e in #(
   14358   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14359 esac
   14360 fi
   14361 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14362 esac
   14363 fi
   14364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14365 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14366 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14367 	CFLAGS="$xorg_testset_save_CFLAGS"
   14368 fi
   14369 
   14370 found="no"
   14371 
   14372 	if test $found = "no" ; then
   14373 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14374 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14375 		fi
   14376 
   14377 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14378 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14379 		fi
   14380 
   14381 		CFLAGS="$CFLAGS -Wall"
   14382 
   14383 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   14384 printf %s "checking if $CC supports -Wall... " >&6; }
   14385 		cacheid=xorg_cv_cc_flag__Wall
   14386 		if eval test \${$cacheid+y}
   14387 then :
   14388   printf %s "(cached) " >&6
   14389 else case e in #(
   14390   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14391 /* end confdefs.h.  */
   14392 int i;
   14393 int
   14394 main (void)
   14395 {
   14396 
   14397   ;
   14398   return 0;
   14399 }
   14400 _ACEOF
   14401 if ac_fn_c_try_link "$LINENO"
   14402 then :
   14403   eval $cacheid=yes
   14404 else case e in #(
   14405   e) eval $cacheid=no ;;
   14406 esac
   14407 fi
   14408 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14409     conftest$ac_exeext conftest.$ac_ext ;;
   14410 esac
   14411 fi
   14412 
   14413 
   14414 		CFLAGS="$xorg_testset_save_CFLAGS"
   14415 
   14416 		eval supported=\$$cacheid
   14417 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14418 printf "%s\n" "$supported" >&6; }
   14419 		if test "$supported" = "yes" ; then
   14420 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   14421 			found="yes"
   14422 		fi
   14423 	fi
   14424 
   14425 
   14426 
   14427 
   14428 
   14429 
   14430 
   14431 
   14432 
   14433 
   14434 
   14435 
   14436 
   14437 
   14438 
   14439 xorg_testset_save_CFLAGS="$CFLAGS"
   14440 
   14441 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14442 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14443 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14444 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14445 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14446 then :
   14447   printf %s "(cached) " >&6
   14448 else case e in #(
   14449   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14450 /* end confdefs.h.  */
   14451 int i;
   14452 _ACEOF
   14453 if ac_fn_c_try_compile "$LINENO"
   14454 then :
   14455   xorg_cv_cc_flag_unknown_warning_option=yes
   14456 else case e in #(
   14457   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14458 esac
   14459 fi
   14460 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14461 esac
   14462 fi
   14463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14464 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14465 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14466 	CFLAGS="$xorg_testset_save_CFLAGS"
   14467 fi
   14468 
   14469 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14470 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14471 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14472 	fi
   14473 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14474 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14475 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14476 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14477 then :
   14478   printf %s "(cached) " >&6
   14479 else case e in #(
   14480   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14481 /* end confdefs.h.  */
   14482 int i;
   14483 _ACEOF
   14484 if ac_fn_c_try_compile "$LINENO"
   14485 then :
   14486   xorg_cv_cc_flag_unused_command_line_argument=yes
   14487 else case e in #(
   14488   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14489 esac
   14490 fi
   14491 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14492 esac
   14493 fi
   14494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14495 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14496 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14497 	CFLAGS="$xorg_testset_save_CFLAGS"
   14498 fi
   14499 
   14500 found="no"
   14501 
   14502 	if test $found = "no" ; then
   14503 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14504 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14505 		fi
   14506 
   14507 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14508 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14509 		fi
   14510 
   14511 		CFLAGS="$CFLAGS -Wpointer-arith"
   14512 
   14513 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   14514 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   14515 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   14516 		if eval test \${$cacheid+y}
   14517 then :
   14518   printf %s "(cached) " >&6
   14519 else case e in #(
   14520   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14521 /* end confdefs.h.  */
   14522 int i;
   14523 int
   14524 main (void)
   14525 {
   14526 
   14527   ;
   14528   return 0;
   14529 }
   14530 _ACEOF
   14531 if ac_fn_c_try_link "$LINENO"
   14532 then :
   14533   eval $cacheid=yes
   14534 else case e in #(
   14535   e) eval $cacheid=no ;;
   14536 esac
   14537 fi
   14538 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14539     conftest$ac_exeext conftest.$ac_ext ;;
   14540 esac
   14541 fi
   14542 
   14543 
   14544 		CFLAGS="$xorg_testset_save_CFLAGS"
   14545 
   14546 		eval supported=\$$cacheid
   14547 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14548 printf "%s\n" "$supported" >&6; }
   14549 		if test "$supported" = "yes" ; then
   14550 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   14551 			found="yes"
   14552 		fi
   14553 	fi
   14554 
   14555 
   14556 
   14557 
   14558 
   14559 
   14560 
   14561 
   14562 
   14563 
   14564 
   14565 
   14566 
   14567 
   14568 
   14569 xorg_testset_save_CFLAGS="$CFLAGS"
   14570 
   14571 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14572 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14573 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14574 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14575 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14576 then :
   14577   printf %s "(cached) " >&6
   14578 else case e in #(
   14579   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14580 /* end confdefs.h.  */
   14581 int i;
   14582 _ACEOF
   14583 if ac_fn_c_try_compile "$LINENO"
   14584 then :
   14585   xorg_cv_cc_flag_unknown_warning_option=yes
   14586 else case e in #(
   14587   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14588 esac
   14589 fi
   14590 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14591 esac
   14592 fi
   14593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14594 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14595 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14596 	CFLAGS="$xorg_testset_save_CFLAGS"
   14597 fi
   14598 
   14599 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14600 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14601 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14602 	fi
   14603 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14604 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14605 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14606 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14607 then :
   14608   printf %s "(cached) " >&6
   14609 else case e in #(
   14610   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14611 /* end confdefs.h.  */
   14612 int i;
   14613 _ACEOF
   14614 if ac_fn_c_try_compile "$LINENO"
   14615 then :
   14616   xorg_cv_cc_flag_unused_command_line_argument=yes
   14617 else case e in #(
   14618   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14619 esac
   14620 fi
   14621 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14622 esac
   14623 fi
   14624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14625 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14626 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14627 	CFLAGS="$xorg_testset_save_CFLAGS"
   14628 fi
   14629 
   14630 found="no"
   14631 
   14632 	if test $found = "no" ; then
   14633 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14634 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14635 		fi
   14636 
   14637 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14638 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14639 		fi
   14640 
   14641 		CFLAGS="$CFLAGS -Wmissing-declarations"
   14642 
   14643 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   14644 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   14645 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   14646 		if eval test \${$cacheid+y}
   14647 then :
   14648   printf %s "(cached) " >&6
   14649 else case e in #(
   14650   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14651 /* end confdefs.h.  */
   14652 int i;
   14653 int
   14654 main (void)
   14655 {
   14656 
   14657   ;
   14658   return 0;
   14659 }
   14660 _ACEOF
   14661 if ac_fn_c_try_link "$LINENO"
   14662 then :
   14663   eval $cacheid=yes
   14664 else case e in #(
   14665   e) eval $cacheid=no ;;
   14666 esac
   14667 fi
   14668 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14669     conftest$ac_exeext conftest.$ac_ext ;;
   14670 esac
   14671 fi
   14672 
   14673 
   14674 		CFLAGS="$xorg_testset_save_CFLAGS"
   14675 
   14676 		eval supported=\$$cacheid
   14677 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14678 printf "%s\n" "$supported" >&6; }
   14679 		if test "$supported" = "yes" ; then
   14680 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   14681 			found="yes"
   14682 		fi
   14683 	fi
   14684 
   14685 
   14686 
   14687 
   14688 
   14689 
   14690 
   14691 
   14692 
   14693 
   14694 
   14695 
   14696 
   14697 
   14698 
   14699 xorg_testset_save_CFLAGS="$CFLAGS"
   14700 
   14701 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14702 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14703 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14704 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14705 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14706 then :
   14707   printf %s "(cached) " >&6
   14708 else case e in #(
   14709   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14710 /* end confdefs.h.  */
   14711 int i;
   14712 _ACEOF
   14713 if ac_fn_c_try_compile "$LINENO"
   14714 then :
   14715   xorg_cv_cc_flag_unknown_warning_option=yes
   14716 else case e in #(
   14717   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14718 esac
   14719 fi
   14720 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14721 esac
   14722 fi
   14723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14724 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14725 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14726 	CFLAGS="$xorg_testset_save_CFLAGS"
   14727 fi
   14728 
   14729 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14730 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14731 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14732 	fi
   14733 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14734 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14735 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14736 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14737 then :
   14738   printf %s "(cached) " >&6
   14739 else case e in #(
   14740   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14741 /* end confdefs.h.  */
   14742 int i;
   14743 _ACEOF
   14744 if ac_fn_c_try_compile "$LINENO"
   14745 then :
   14746   xorg_cv_cc_flag_unused_command_line_argument=yes
   14747 else case e in #(
   14748   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14749 esac
   14750 fi
   14751 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14752 esac
   14753 fi
   14754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14755 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14756 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14757 	CFLAGS="$xorg_testset_save_CFLAGS"
   14758 fi
   14759 
   14760 found="no"
   14761 
   14762 	if test $found = "no" ; then
   14763 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14764 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14765 		fi
   14766 
   14767 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14768 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14769 		fi
   14770 
   14771 		CFLAGS="$CFLAGS -Wformat=2"
   14772 
   14773 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   14774 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   14775 		cacheid=xorg_cv_cc_flag__Wformat_2
   14776 		if eval test \${$cacheid+y}
   14777 then :
   14778   printf %s "(cached) " >&6
   14779 else case e in #(
   14780   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14781 /* end confdefs.h.  */
   14782 int i;
   14783 int
   14784 main (void)
   14785 {
   14786 
   14787   ;
   14788   return 0;
   14789 }
   14790 _ACEOF
   14791 if ac_fn_c_try_link "$LINENO"
   14792 then :
   14793   eval $cacheid=yes
   14794 else case e in #(
   14795   e) eval $cacheid=no ;;
   14796 esac
   14797 fi
   14798 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14799     conftest$ac_exeext conftest.$ac_ext ;;
   14800 esac
   14801 fi
   14802 
   14803 
   14804 		CFLAGS="$xorg_testset_save_CFLAGS"
   14805 
   14806 		eval supported=\$$cacheid
   14807 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14808 printf "%s\n" "$supported" >&6; }
   14809 		if test "$supported" = "yes" ; then
   14810 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   14811 			found="yes"
   14812 		fi
   14813 	fi
   14814 
   14815 	if test $found = "no" ; then
   14816 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14817 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14818 		fi
   14819 
   14820 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14821 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14822 		fi
   14823 
   14824 		CFLAGS="$CFLAGS -Wformat"
   14825 
   14826 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   14827 printf %s "checking if $CC supports -Wformat... " >&6; }
   14828 		cacheid=xorg_cv_cc_flag__Wformat
   14829 		if eval test \${$cacheid+y}
   14830 then :
   14831   printf %s "(cached) " >&6
   14832 else case e in #(
   14833   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14834 /* end confdefs.h.  */
   14835 int i;
   14836 int
   14837 main (void)
   14838 {
   14839 
   14840   ;
   14841   return 0;
   14842 }
   14843 _ACEOF
   14844 if ac_fn_c_try_link "$LINENO"
   14845 then :
   14846   eval $cacheid=yes
   14847 else case e in #(
   14848   e) eval $cacheid=no ;;
   14849 esac
   14850 fi
   14851 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14852     conftest$ac_exeext conftest.$ac_ext ;;
   14853 esac
   14854 fi
   14855 
   14856 
   14857 		CFLAGS="$xorg_testset_save_CFLAGS"
   14858 
   14859 		eval supported=\$$cacheid
   14860 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14861 printf "%s\n" "$supported" >&6; }
   14862 		if test "$supported" = "yes" ; then
   14863 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   14864 			found="yes"
   14865 		fi
   14866 	fi
   14867 
   14868 
   14869 
   14870 
   14871 
   14872 
   14873 
   14874 
   14875 
   14876 
   14877 
   14878 
   14879 
   14880 
   14881 
   14882 
   14883 
   14884 xorg_testset_save_CFLAGS="$CFLAGS"
   14885 
   14886 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14887 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14888 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14889 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14890 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14891 then :
   14892   printf %s "(cached) " >&6
   14893 else case e in #(
   14894   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14895 /* end confdefs.h.  */
   14896 int i;
   14897 _ACEOF
   14898 if ac_fn_c_try_compile "$LINENO"
   14899 then :
   14900   xorg_cv_cc_flag_unknown_warning_option=yes
   14901 else case e in #(
   14902   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14903 esac
   14904 fi
   14905 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14906 esac
   14907 fi
   14908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14909 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14910 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14911 	CFLAGS="$xorg_testset_save_CFLAGS"
   14912 fi
   14913 
   14914 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14915 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14916 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14917 	fi
   14918 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14919 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14920 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14921 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14922 then :
   14923   printf %s "(cached) " >&6
   14924 else case e in #(
   14925   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14926 /* end confdefs.h.  */
   14927 int i;
   14928 _ACEOF
   14929 if ac_fn_c_try_compile "$LINENO"
   14930 then :
   14931   xorg_cv_cc_flag_unused_command_line_argument=yes
   14932 else case e in #(
   14933   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14934 esac
   14935 fi
   14936 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14937 esac
   14938 fi
   14939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14940 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14941 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14942 	CFLAGS="$xorg_testset_save_CFLAGS"
   14943 fi
   14944 
   14945 found="no"
   14946 
   14947 	if test $found = "no" ; then
   14948 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14949 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14950 		fi
   14951 
   14952 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14953 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14954 		fi
   14955 
   14956 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   14957 
   14958 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   14959 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   14960 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   14961 		if eval test \${$cacheid+y}
   14962 then :
   14963   printf %s "(cached) " >&6
   14964 else case e in #(
   14965   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14966 /* end confdefs.h.  */
   14967 int i;
   14968 int
   14969 main (void)
   14970 {
   14971 
   14972   ;
   14973   return 0;
   14974 }
   14975 _ACEOF
   14976 if ac_fn_c_try_link "$LINENO"
   14977 then :
   14978   eval $cacheid=yes
   14979 else case e in #(
   14980   e) eval $cacheid=no ;;
   14981 esac
   14982 fi
   14983 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14984     conftest$ac_exeext conftest.$ac_ext ;;
   14985 esac
   14986 fi
   14987 
   14988 
   14989 		CFLAGS="$xorg_testset_save_CFLAGS"
   14990 
   14991 		eval supported=\$$cacheid
   14992 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14993 printf "%s\n" "$supported" >&6; }
   14994 		if test "$supported" = "yes" ; then
   14995 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   14996 			found="yes"
   14997 		fi
   14998 	fi
   14999 
   15000 
   15001 
   15002 
   15003 
   15004 
   15005 
   15006 
   15007 
   15008 
   15009 
   15010 
   15011 
   15012 
   15013 
   15014 xorg_testset_save_CFLAGS="$CFLAGS"
   15015 
   15016 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15017 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15018 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15019 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15020 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15021 then :
   15022   printf %s "(cached) " >&6
   15023 else case e in #(
   15024   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15025 /* end confdefs.h.  */
   15026 int i;
   15027 _ACEOF
   15028 if ac_fn_c_try_compile "$LINENO"
   15029 then :
   15030   xorg_cv_cc_flag_unknown_warning_option=yes
   15031 else case e in #(
   15032   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15033 esac
   15034 fi
   15035 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15036 esac
   15037 fi
   15038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15039 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15040 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15041 	CFLAGS="$xorg_testset_save_CFLAGS"
   15042 fi
   15043 
   15044 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15045 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15046 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15047 	fi
   15048 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15049 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15050 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15051 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15052 then :
   15053   printf %s "(cached) " >&6
   15054 else case e in #(
   15055   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15056 /* end confdefs.h.  */
   15057 int i;
   15058 _ACEOF
   15059 if ac_fn_c_try_compile "$LINENO"
   15060 then :
   15061   xorg_cv_cc_flag_unused_command_line_argument=yes
   15062 else case e in #(
   15063   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15064 esac
   15065 fi
   15066 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15067 esac
   15068 fi
   15069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15070 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15071 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15072 	CFLAGS="$xorg_testset_save_CFLAGS"
   15073 fi
   15074 
   15075 found="no"
   15076 
   15077 	if test $found = "no" ; then
   15078 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15079 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15080 		fi
   15081 
   15082 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15083 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15084 		fi
   15085 
   15086 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   15087 
   15088 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   15089 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   15090 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   15091 		if eval test \${$cacheid+y}
   15092 then :
   15093   printf %s "(cached) " >&6
   15094 else case e in #(
   15095   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15096 /* end confdefs.h.  */
   15097 int i;
   15098 int
   15099 main (void)
   15100 {
   15101 
   15102   ;
   15103   return 0;
   15104 }
   15105 _ACEOF
   15106 if ac_fn_c_try_link "$LINENO"
   15107 then :
   15108   eval $cacheid=yes
   15109 else case e in #(
   15110   e) eval $cacheid=no ;;
   15111 esac
   15112 fi
   15113 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15114     conftest$ac_exeext conftest.$ac_ext ;;
   15115 esac
   15116 fi
   15117 
   15118 
   15119 		CFLAGS="$xorg_testset_save_CFLAGS"
   15120 
   15121 		eval supported=\$$cacheid
   15122 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15123 printf "%s\n" "$supported" >&6; }
   15124 		if test "$supported" = "yes" ; then
   15125 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   15126 			found="yes"
   15127 		fi
   15128 	fi
   15129 
   15130 
   15131 
   15132 
   15133 
   15134 
   15135 
   15136 
   15137 
   15138 
   15139 
   15140 
   15141 
   15142 
   15143 
   15144 xorg_testset_save_CFLAGS="$CFLAGS"
   15145 
   15146 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15147 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15148 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15149 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15150 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15151 then :
   15152   printf %s "(cached) " >&6
   15153 else case e in #(
   15154   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15155 /* end confdefs.h.  */
   15156 int i;
   15157 _ACEOF
   15158 if ac_fn_c_try_compile "$LINENO"
   15159 then :
   15160   xorg_cv_cc_flag_unknown_warning_option=yes
   15161 else case e in #(
   15162   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15163 esac
   15164 fi
   15165 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15166 esac
   15167 fi
   15168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15169 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15170 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15171 	CFLAGS="$xorg_testset_save_CFLAGS"
   15172 fi
   15173 
   15174 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15175 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15176 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15177 	fi
   15178 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15179 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15180 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15181 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15182 then :
   15183   printf %s "(cached) " >&6
   15184 else case e in #(
   15185   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15186 /* end confdefs.h.  */
   15187 int i;
   15188 _ACEOF
   15189 if ac_fn_c_try_compile "$LINENO"
   15190 then :
   15191   xorg_cv_cc_flag_unused_command_line_argument=yes
   15192 else case e in #(
   15193   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15194 esac
   15195 fi
   15196 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15197 esac
   15198 fi
   15199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15200 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15201 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15202 	CFLAGS="$xorg_testset_save_CFLAGS"
   15203 fi
   15204 
   15205 found="no"
   15206 
   15207 	if test $found = "no" ; then
   15208 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15209 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15210 		fi
   15211 
   15212 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15213 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15214 		fi
   15215 
   15216 		CFLAGS="$CFLAGS -Wnested-externs"
   15217 
   15218 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   15219 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   15220 		cacheid=xorg_cv_cc_flag__Wnested_externs
   15221 		if eval test \${$cacheid+y}
   15222 then :
   15223   printf %s "(cached) " >&6
   15224 else case e in #(
   15225   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15226 /* end confdefs.h.  */
   15227 int i;
   15228 int
   15229 main (void)
   15230 {
   15231 
   15232   ;
   15233   return 0;
   15234 }
   15235 _ACEOF
   15236 if ac_fn_c_try_link "$LINENO"
   15237 then :
   15238   eval $cacheid=yes
   15239 else case e in #(
   15240   e) eval $cacheid=no ;;
   15241 esac
   15242 fi
   15243 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15244     conftest$ac_exeext conftest.$ac_ext ;;
   15245 esac
   15246 fi
   15247 
   15248 
   15249 		CFLAGS="$xorg_testset_save_CFLAGS"
   15250 
   15251 		eval supported=\$$cacheid
   15252 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15253 printf "%s\n" "$supported" >&6; }
   15254 		if test "$supported" = "yes" ; then
   15255 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   15256 			found="yes"
   15257 		fi
   15258 	fi
   15259 
   15260 
   15261 
   15262 
   15263 
   15264 
   15265 
   15266 
   15267 
   15268 
   15269 
   15270 
   15271 
   15272 
   15273 
   15274 xorg_testset_save_CFLAGS="$CFLAGS"
   15275 
   15276 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15277 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15278 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15279 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15280 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15281 then :
   15282   printf %s "(cached) " >&6
   15283 else case e in #(
   15284   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15285 /* end confdefs.h.  */
   15286 int i;
   15287 _ACEOF
   15288 if ac_fn_c_try_compile "$LINENO"
   15289 then :
   15290   xorg_cv_cc_flag_unknown_warning_option=yes
   15291 else case e in #(
   15292   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15293 esac
   15294 fi
   15295 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15296 esac
   15297 fi
   15298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15299 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15300 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15301 	CFLAGS="$xorg_testset_save_CFLAGS"
   15302 fi
   15303 
   15304 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15305 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15306 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15307 	fi
   15308 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15309 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15310 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15311 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15312 then :
   15313   printf %s "(cached) " >&6
   15314 else case e in #(
   15315   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15316 /* end confdefs.h.  */
   15317 int i;
   15318 _ACEOF
   15319 if ac_fn_c_try_compile "$LINENO"
   15320 then :
   15321   xorg_cv_cc_flag_unused_command_line_argument=yes
   15322 else case e in #(
   15323   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15324 esac
   15325 fi
   15326 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15327 esac
   15328 fi
   15329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15330 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15331 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15332 	CFLAGS="$xorg_testset_save_CFLAGS"
   15333 fi
   15334 
   15335 found="no"
   15336 
   15337 	if test $found = "no" ; then
   15338 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15339 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15340 		fi
   15341 
   15342 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15343 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15344 		fi
   15345 
   15346 		CFLAGS="$CFLAGS -Wbad-function-cast"
   15347 
   15348 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   15349 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   15350 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   15351 		if eval test \${$cacheid+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 int
   15359 main (void)
   15360 {
   15361 
   15362   ;
   15363   return 0;
   15364 }
   15365 _ACEOF
   15366 if ac_fn_c_try_link "$LINENO"
   15367 then :
   15368   eval $cacheid=yes
   15369 else case e in #(
   15370   e) eval $cacheid=no ;;
   15371 esac
   15372 fi
   15373 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15374     conftest$ac_exeext conftest.$ac_ext ;;
   15375 esac
   15376 fi
   15377 
   15378 
   15379 		CFLAGS="$xorg_testset_save_CFLAGS"
   15380 
   15381 		eval supported=\$$cacheid
   15382 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15383 printf "%s\n" "$supported" >&6; }
   15384 		if test "$supported" = "yes" ; then
   15385 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   15386 			found="yes"
   15387 		fi
   15388 	fi
   15389 
   15390 
   15391 
   15392 
   15393 
   15394 
   15395 
   15396 
   15397 
   15398 
   15399 
   15400 
   15401 
   15402 
   15403 
   15404 xorg_testset_save_CFLAGS="$CFLAGS"
   15405 
   15406 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15407 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15408 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15409 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15410 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15411 then :
   15412   printf %s "(cached) " >&6
   15413 else case e in #(
   15414   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15415 /* end confdefs.h.  */
   15416 int i;
   15417 _ACEOF
   15418 if ac_fn_c_try_compile "$LINENO"
   15419 then :
   15420   xorg_cv_cc_flag_unknown_warning_option=yes
   15421 else case e in #(
   15422   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15423 esac
   15424 fi
   15425 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15426 esac
   15427 fi
   15428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15429 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15430 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15431 	CFLAGS="$xorg_testset_save_CFLAGS"
   15432 fi
   15433 
   15434 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15435 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15436 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15437 	fi
   15438 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15439 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15440 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15441 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15442 then :
   15443   printf %s "(cached) " >&6
   15444 else case e in #(
   15445   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15446 /* end confdefs.h.  */
   15447 int i;
   15448 _ACEOF
   15449 if ac_fn_c_try_compile "$LINENO"
   15450 then :
   15451   xorg_cv_cc_flag_unused_command_line_argument=yes
   15452 else case e in #(
   15453   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15454 esac
   15455 fi
   15456 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15457 esac
   15458 fi
   15459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15460 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15461 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15462 	CFLAGS="$xorg_testset_save_CFLAGS"
   15463 fi
   15464 
   15465 found="no"
   15466 
   15467 	if test $found = "no" ; then
   15468 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15469 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15470 		fi
   15471 
   15472 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15473 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15474 		fi
   15475 
   15476 		CFLAGS="$CFLAGS -Wold-style-definition"
   15477 
   15478 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   15479 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   15480 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   15481 		if eval test \${$cacheid+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 int
   15489 main (void)
   15490 {
   15491 
   15492   ;
   15493   return 0;
   15494 }
   15495 _ACEOF
   15496 if ac_fn_c_try_link "$LINENO"
   15497 then :
   15498   eval $cacheid=yes
   15499 else case e in #(
   15500   e) eval $cacheid=no ;;
   15501 esac
   15502 fi
   15503 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15504     conftest$ac_exeext conftest.$ac_ext ;;
   15505 esac
   15506 fi
   15507 
   15508 
   15509 		CFLAGS="$xorg_testset_save_CFLAGS"
   15510 
   15511 		eval supported=\$$cacheid
   15512 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15513 printf "%s\n" "$supported" >&6; }
   15514 		if test "$supported" = "yes" ; then
   15515 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   15516 			found="yes"
   15517 		fi
   15518 	fi
   15519 
   15520 	if test $found = "no" ; then
   15521 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15522 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15523 		fi
   15524 
   15525 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15526 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15527 		fi
   15528 
   15529 		CFLAGS="$CFLAGS -fd"
   15530 
   15531 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   15532 printf %s "checking if $CC supports -fd... " >&6; }
   15533 		cacheid=xorg_cv_cc_flag__fd
   15534 		if eval test \${$cacheid+y}
   15535 then :
   15536   printf %s "(cached) " >&6
   15537 else case e in #(
   15538   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15539 /* end confdefs.h.  */
   15540 int i;
   15541 int
   15542 main (void)
   15543 {
   15544 
   15545   ;
   15546   return 0;
   15547 }
   15548 _ACEOF
   15549 if ac_fn_c_try_link "$LINENO"
   15550 then :
   15551   eval $cacheid=yes
   15552 else case e in #(
   15553   e) eval $cacheid=no ;;
   15554 esac
   15555 fi
   15556 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15557     conftest$ac_exeext conftest.$ac_ext ;;
   15558 esac
   15559 fi
   15560 
   15561 
   15562 		CFLAGS="$xorg_testset_save_CFLAGS"
   15563 
   15564 		eval supported=\$$cacheid
   15565 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15566 printf "%s\n" "$supported" >&6; }
   15567 		if test "$supported" = "yes" ; then
   15568 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   15569 			found="yes"
   15570 		fi
   15571 	fi
   15572 
   15573 
   15574 
   15575 
   15576 
   15577 # This chunk adds additional warnings that could catch undesired effects.
   15578 
   15579 
   15580 
   15581 
   15582 
   15583 
   15584 
   15585 
   15586 
   15587 
   15588 
   15589 
   15590 
   15591 xorg_testset_save_CFLAGS="$CFLAGS"
   15592 
   15593 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15594 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15595 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15596 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15597 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15598 then :
   15599   printf %s "(cached) " >&6
   15600 else case e in #(
   15601   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15602 /* end confdefs.h.  */
   15603 int i;
   15604 _ACEOF
   15605 if ac_fn_c_try_compile "$LINENO"
   15606 then :
   15607   xorg_cv_cc_flag_unknown_warning_option=yes
   15608 else case e in #(
   15609   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15610 esac
   15611 fi
   15612 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15613 esac
   15614 fi
   15615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15616 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15617 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15618 	CFLAGS="$xorg_testset_save_CFLAGS"
   15619 fi
   15620 
   15621 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15622 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15623 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15624 	fi
   15625 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15626 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15627 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15628 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15629 then :
   15630   printf %s "(cached) " >&6
   15631 else case e in #(
   15632   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15633 /* end confdefs.h.  */
   15634 int i;
   15635 _ACEOF
   15636 if ac_fn_c_try_compile "$LINENO"
   15637 then :
   15638   xorg_cv_cc_flag_unused_command_line_argument=yes
   15639 else case e in #(
   15640   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15641 esac
   15642 fi
   15643 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15644 esac
   15645 fi
   15646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15647 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15648 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15649 	CFLAGS="$xorg_testset_save_CFLAGS"
   15650 fi
   15651 
   15652 found="no"
   15653 
   15654 	if test $found = "no" ; then
   15655 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15656 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15657 		fi
   15658 
   15659 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15660 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15661 		fi
   15662 
   15663 		CFLAGS="$CFLAGS -Wunused"
   15664 
   15665 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   15666 printf %s "checking if $CC supports -Wunused... " >&6; }
   15667 		cacheid=xorg_cv_cc_flag__Wunused
   15668 		if eval test \${$cacheid+y}
   15669 then :
   15670   printf %s "(cached) " >&6
   15671 else case e in #(
   15672   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15673 /* end confdefs.h.  */
   15674 int i;
   15675 int
   15676 main (void)
   15677 {
   15678 
   15679   ;
   15680   return 0;
   15681 }
   15682 _ACEOF
   15683 if ac_fn_c_try_link "$LINENO"
   15684 then :
   15685   eval $cacheid=yes
   15686 else case e in #(
   15687   e) eval $cacheid=no ;;
   15688 esac
   15689 fi
   15690 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15691     conftest$ac_exeext conftest.$ac_ext ;;
   15692 esac
   15693 fi
   15694 
   15695 
   15696 		CFLAGS="$xorg_testset_save_CFLAGS"
   15697 
   15698 		eval supported=\$$cacheid
   15699 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15700 printf "%s\n" "$supported" >&6; }
   15701 		if test "$supported" = "yes" ; then
   15702 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   15703 			found="yes"
   15704 		fi
   15705 	fi
   15706 
   15707 
   15708 
   15709 
   15710 
   15711 
   15712 
   15713 
   15714 
   15715 
   15716 
   15717 
   15718 
   15719 
   15720 
   15721 xorg_testset_save_CFLAGS="$CFLAGS"
   15722 
   15723 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15724 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15725 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15726 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15727 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15728 then :
   15729   printf %s "(cached) " >&6
   15730 else case e in #(
   15731   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15732 /* end confdefs.h.  */
   15733 int i;
   15734 _ACEOF
   15735 if ac_fn_c_try_compile "$LINENO"
   15736 then :
   15737   xorg_cv_cc_flag_unknown_warning_option=yes
   15738 else case e in #(
   15739   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15740 esac
   15741 fi
   15742 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15743 esac
   15744 fi
   15745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15746 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15747 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15748 	CFLAGS="$xorg_testset_save_CFLAGS"
   15749 fi
   15750 
   15751 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15752 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15753 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15754 	fi
   15755 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15756 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15757 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15758 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15759 then :
   15760   printf %s "(cached) " >&6
   15761 else case e in #(
   15762   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15763 /* end confdefs.h.  */
   15764 int i;
   15765 _ACEOF
   15766 if ac_fn_c_try_compile "$LINENO"
   15767 then :
   15768   xorg_cv_cc_flag_unused_command_line_argument=yes
   15769 else case e in #(
   15770   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15771 esac
   15772 fi
   15773 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15774 esac
   15775 fi
   15776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15777 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15778 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15779 	CFLAGS="$xorg_testset_save_CFLAGS"
   15780 fi
   15781 
   15782 found="no"
   15783 
   15784 	if test $found = "no" ; then
   15785 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15786 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15787 		fi
   15788 
   15789 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15790 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15791 		fi
   15792 
   15793 		CFLAGS="$CFLAGS -Wuninitialized"
   15794 
   15795 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   15796 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   15797 		cacheid=xorg_cv_cc_flag__Wuninitialized
   15798 		if eval test \${$cacheid+y}
   15799 then :
   15800   printf %s "(cached) " >&6
   15801 else case e in #(
   15802   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15803 /* end confdefs.h.  */
   15804 int i;
   15805 int
   15806 main (void)
   15807 {
   15808 
   15809   ;
   15810   return 0;
   15811 }
   15812 _ACEOF
   15813 if ac_fn_c_try_link "$LINENO"
   15814 then :
   15815   eval $cacheid=yes
   15816 else case e in #(
   15817   e) eval $cacheid=no ;;
   15818 esac
   15819 fi
   15820 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15821     conftest$ac_exeext conftest.$ac_ext ;;
   15822 esac
   15823 fi
   15824 
   15825 
   15826 		CFLAGS="$xorg_testset_save_CFLAGS"
   15827 
   15828 		eval supported=\$$cacheid
   15829 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15830 printf "%s\n" "$supported" >&6; }
   15831 		if test "$supported" = "yes" ; then
   15832 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   15833 			found="yes"
   15834 		fi
   15835 	fi
   15836 
   15837 
   15838 
   15839 
   15840 
   15841 
   15842 
   15843 
   15844 
   15845 
   15846 
   15847 
   15848 
   15849 
   15850 
   15851 xorg_testset_save_CFLAGS="$CFLAGS"
   15852 
   15853 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15854 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15855 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15856 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15857 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15858 then :
   15859   printf %s "(cached) " >&6
   15860 else case e in #(
   15861   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15862 /* end confdefs.h.  */
   15863 int i;
   15864 _ACEOF
   15865 if ac_fn_c_try_compile "$LINENO"
   15866 then :
   15867   xorg_cv_cc_flag_unknown_warning_option=yes
   15868 else case e in #(
   15869   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15870 esac
   15871 fi
   15872 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15873 esac
   15874 fi
   15875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15876 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15877 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15878 	CFLAGS="$xorg_testset_save_CFLAGS"
   15879 fi
   15880 
   15881 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15882 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15883 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15884 	fi
   15885 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15886 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15887 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15888 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15889 then :
   15890   printf %s "(cached) " >&6
   15891 else case e in #(
   15892   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15893 /* end confdefs.h.  */
   15894 int i;
   15895 _ACEOF
   15896 if ac_fn_c_try_compile "$LINENO"
   15897 then :
   15898   xorg_cv_cc_flag_unused_command_line_argument=yes
   15899 else case e in #(
   15900   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15901 esac
   15902 fi
   15903 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15904 esac
   15905 fi
   15906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15907 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15908 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15909 	CFLAGS="$xorg_testset_save_CFLAGS"
   15910 fi
   15911 
   15912 found="no"
   15913 
   15914 	if test $found = "no" ; then
   15915 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15916 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15917 		fi
   15918 
   15919 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15920 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15921 		fi
   15922 
   15923 		CFLAGS="$CFLAGS -Wshadow"
   15924 
   15925 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   15926 printf %s "checking if $CC supports -Wshadow... " >&6; }
   15927 		cacheid=xorg_cv_cc_flag__Wshadow
   15928 		if eval test \${$cacheid+y}
   15929 then :
   15930   printf %s "(cached) " >&6
   15931 else case e in #(
   15932   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15933 /* end confdefs.h.  */
   15934 int i;
   15935 int
   15936 main (void)
   15937 {
   15938 
   15939   ;
   15940   return 0;
   15941 }
   15942 _ACEOF
   15943 if ac_fn_c_try_link "$LINENO"
   15944 then :
   15945   eval $cacheid=yes
   15946 else case e in #(
   15947   e) eval $cacheid=no ;;
   15948 esac
   15949 fi
   15950 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15951     conftest$ac_exeext conftest.$ac_ext ;;
   15952 esac
   15953 fi
   15954 
   15955 
   15956 		CFLAGS="$xorg_testset_save_CFLAGS"
   15957 
   15958 		eval supported=\$$cacheid
   15959 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15960 printf "%s\n" "$supported" >&6; }
   15961 		if test "$supported" = "yes" ; then
   15962 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   15963 			found="yes"
   15964 		fi
   15965 	fi
   15966 
   15967 
   15968 
   15969 
   15970 
   15971 
   15972 
   15973 
   15974 
   15975 
   15976 
   15977 
   15978 
   15979 
   15980 
   15981 xorg_testset_save_CFLAGS="$CFLAGS"
   15982 
   15983 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15984 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15985 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15986 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15987 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15988 then :
   15989   printf %s "(cached) " >&6
   15990 else case e in #(
   15991   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15992 /* end confdefs.h.  */
   15993 int i;
   15994 _ACEOF
   15995 if ac_fn_c_try_compile "$LINENO"
   15996 then :
   15997   xorg_cv_cc_flag_unknown_warning_option=yes
   15998 else case e in #(
   15999   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16000 esac
   16001 fi
   16002 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16003 esac
   16004 fi
   16005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16006 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16007 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16008 	CFLAGS="$xorg_testset_save_CFLAGS"
   16009 fi
   16010 
   16011 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16012 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16013 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16014 	fi
   16015 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16016 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16017 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16018 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16019 then :
   16020   printf %s "(cached) " >&6
   16021 else case e in #(
   16022   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16023 /* end confdefs.h.  */
   16024 int i;
   16025 _ACEOF
   16026 if ac_fn_c_try_compile "$LINENO"
   16027 then :
   16028   xorg_cv_cc_flag_unused_command_line_argument=yes
   16029 else case e in #(
   16030   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16031 esac
   16032 fi
   16033 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16034 esac
   16035 fi
   16036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16037 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16038 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16039 	CFLAGS="$xorg_testset_save_CFLAGS"
   16040 fi
   16041 
   16042 found="no"
   16043 
   16044 	if test $found = "no" ; then
   16045 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16046 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16047 		fi
   16048 
   16049 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16050 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16051 		fi
   16052 
   16053 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   16054 
   16055 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   16056 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   16057 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   16058 		if eval test \${$cacheid+y}
   16059 then :
   16060   printf %s "(cached) " >&6
   16061 else case e in #(
   16062   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16063 /* end confdefs.h.  */
   16064 int i;
   16065 int
   16066 main (void)
   16067 {
   16068 
   16069   ;
   16070   return 0;
   16071 }
   16072 _ACEOF
   16073 if ac_fn_c_try_link "$LINENO"
   16074 then :
   16075   eval $cacheid=yes
   16076 else case e in #(
   16077   e) eval $cacheid=no ;;
   16078 esac
   16079 fi
   16080 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16081     conftest$ac_exeext conftest.$ac_ext ;;
   16082 esac
   16083 fi
   16084 
   16085 
   16086 		CFLAGS="$xorg_testset_save_CFLAGS"
   16087 
   16088 		eval supported=\$$cacheid
   16089 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16090 printf "%s\n" "$supported" >&6; }
   16091 		if test "$supported" = "yes" ; then
   16092 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   16093 			found="yes"
   16094 		fi
   16095 	fi
   16096 
   16097 
   16098 
   16099 
   16100 
   16101 
   16102 
   16103 
   16104 
   16105 
   16106 
   16107 
   16108 
   16109 
   16110 
   16111 xorg_testset_save_CFLAGS="$CFLAGS"
   16112 
   16113 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16114 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16115 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16116 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16117 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16118 then :
   16119   printf %s "(cached) " >&6
   16120 else case e in #(
   16121   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16122 /* end confdefs.h.  */
   16123 int i;
   16124 _ACEOF
   16125 if ac_fn_c_try_compile "$LINENO"
   16126 then :
   16127   xorg_cv_cc_flag_unknown_warning_option=yes
   16128 else case e in #(
   16129   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16130 esac
   16131 fi
   16132 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16133 esac
   16134 fi
   16135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16136 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16137 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16138 	CFLAGS="$xorg_testset_save_CFLAGS"
   16139 fi
   16140 
   16141 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16142 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16143 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16144 	fi
   16145 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16146 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16147 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16148 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16149 then :
   16150   printf %s "(cached) " >&6
   16151 else case e in #(
   16152   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16153 /* end confdefs.h.  */
   16154 int i;
   16155 _ACEOF
   16156 if ac_fn_c_try_compile "$LINENO"
   16157 then :
   16158   xorg_cv_cc_flag_unused_command_line_argument=yes
   16159 else case e in #(
   16160   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16161 esac
   16162 fi
   16163 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16164 esac
   16165 fi
   16166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16167 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16168 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16169 	CFLAGS="$xorg_testset_save_CFLAGS"
   16170 fi
   16171 
   16172 found="no"
   16173 
   16174 	if test $found = "no" ; then
   16175 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16176 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16177 		fi
   16178 
   16179 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16180 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16181 		fi
   16182 
   16183 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   16184 
   16185 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   16186 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   16187 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   16188 		if eval test \${$cacheid+y}
   16189 then :
   16190   printf %s "(cached) " >&6
   16191 else case e in #(
   16192   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16193 /* end confdefs.h.  */
   16194 int i;
   16195 int
   16196 main (void)
   16197 {
   16198 
   16199   ;
   16200   return 0;
   16201 }
   16202 _ACEOF
   16203 if ac_fn_c_try_link "$LINENO"
   16204 then :
   16205   eval $cacheid=yes
   16206 else case e in #(
   16207   e) eval $cacheid=no ;;
   16208 esac
   16209 fi
   16210 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16211     conftest$ac_exeext conftest.$ac_ext ;;
   16212 esac
   16213 fi
   16214 
   16215 
   16216 		CFLAGS="$xorg_testset_save_CFLAGS"
   16217 
   16218 		eval supported=\$$cacheid
   16219 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16220 printf "%s\n" "$supported" >&6; }
   16221 		if test "$supported" = "yes" ; then
   16222 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   16223 			found="yes"
   16224 		fi
   16225 	fi
   16226 
   16227 
   16228 
   16229 
   16230 
   16231 
   16232 
   16233 
   16234 
   16235 
   16236 
   16237 
   16238 
   16239 
   16240 
   16241 xorg_testset_save_CFLAGS="$CFLAGS"
   16242 
   16243 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16244 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16245 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16246 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16247 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16248 then :
   16249   printf %s "(cached) " >&6
   16250 else case e in #(
   16251   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16252 /* end confdefs.h.  */
   16253 int i;
   16254 _ACEOF
   16255 if ac_fn_c_try_compile "$LINENO"
   16256 then :
   16257   xorg_cv_cc_flag_unknown_warning_option=yes
   16258 else case e in #(
   16259   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16260 esac
   16261 fi
   16262 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16263 esac
   16264 fi
   16265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16266 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16267 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16268 	CFLAGS="$xorg_testset_save_CFLAGS"
   16269 fi
   16270 
   16271 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16272 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16273 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16274 	fi
   16275 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16276 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16277 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16278 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16279 then :
   16280   printf %s "(cached) " >&6
   16281 else case e in #(
   16282   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16283 /* end confdefs.h.  */
   16284 int i;
   16285 _ACEOF
   16286 if ac_fn_c_try_compile "$LINENO"
   16287 then :
   16288   xorg_cv_cc_flag_unused_command_line_argument=yes
   16289 else case e in #(
   16290   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16291 esac
   16292 fi
   16293 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16294 esac
   16295 fi
   16296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16297 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16298 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16299 	CFLAGS="$xorg_testset_save_CFLAGS"
   16300 fi
   16301 
   16302 found="no"
   16303 
   16304 	if test $found = "no" ; then
   16305 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16306 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16307 		fi
   16308 
   16309 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16310 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16311 		fi
   16312 
   16313 		CFLAGS="$CFLAGS -Wredundant-decls"
   16314 
   16315 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   16316 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   16317 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   16318 		if eval test \${$cacheid+y}
   16319 then :
   16320   printf %s "(cached) " >&6
   16321 else case e in #(
   16322   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16323 /* end confdefs.h.  */
   16324 int i;
   16325 int
   16326 main (void)
   16327 {
   16328 
   16329   ;
   16330   return 0;
   16331 }
   16332 _ACEOF
   16333 if ac_fn_c_try_link "$LINENO"
   16334 then :
   16335   eval $cacheid=yes
   16336 else case e in #(
   16337   e) eval $cacheid=no ;;
   16338 esac
   16339 fi
   16340 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16341     conftest$ac_exeext conftest.$ac_ext ;;
   16342 esac
   16343 fi
   16344 
   16345 
   16346 		CFLAGS="$xorg_testset_save_CFLAGS"
   16347 
   16348 		eval supported=\$$cacheid
   16349 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16350 printf "%s\n" "$supported" >&6; }
   16351 		if test "$supported" = "yes" ; then
   16352 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   16353 			found="yes"
   16354 		fi
   16355 	fi
   16356 
   16357 
   16358 
   16359 
   16360 
   16361 
   16362 
   16363 
   16364 
   16365 
   16366 
   16367 
   16368 
   16369 
   16370 
   16371 xorg_testset_save_CFLAGS="$CFLAGS"
   16372 
   16373 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16374 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16375 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16376 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16377 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16378 then :
   16379   printf %s "(cached) " >&6
   16380 else case e in #(
   16381   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16382 /* end confdefs.h.  */
   16383 int i;
   16384 _ACEOF
   16385 if ac_fn_c_try_compile "$LINENO"
   16386 then :
   16387   xorg_cv_cc_flag_unknown_warning_option=yes
   16388 else case e in #(
   16389   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16390 esac
   16391 fi
   16392 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16393 esac
   16394 fi
   16395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16396 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16397 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16398 	CFLAGS="$xorg_testset_save_CFLAGS"
   16399 fi
   16400 
   16401 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16402 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16403 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16404 	fi
   16405 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16406 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16407 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16408 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16409 then :
   16410   printf %s "(cached) " >&6
   16411 else case e in #(
   16412   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16413 /* end confdefs.h.  */
   16414 int i;
   16415 _ACEOF
   16416 if ac_fn_c_try_compile "$LINENO"
   16417 then :
   16418   xorg_cv_cc_flag_unused_command_line_argument=yes
   16419 else case e in #(
   16420   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16421 esac
   16422 fi
   16423 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16424 esac
   16425 fi
   16426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16427 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16428 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16429 	CFLAGS="$xorg_testset_save_CFLAGS"
   16430 fi
   16431 
   16432 found="no"
   16433 
   16434 	if test $found = "no" ; then
   16435 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16436 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16437 		fi
   16438 
   16439 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16440 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16441 		fi
   16442 
   16443 		CFLAGS="$CFLAGS -Wlogical-op"
   16444 
   16445 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   16446 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   16447 		cacheid=xorg_cv_cc_flag__Wlogical_op
   16448 		if eval test \${$cacheid+y}
   16449 then :
   16450   printf %s "(cached) " >&6
   16451 else case e in #(
   16452   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16453 /* end confdefs.h.  */
   16454 int i;
   16455 int
   16456 main (void)
   16457 {
   16458 
   16459   ;
   16460   return 0;
   16461 }
   16462 _ACEOF
   16463 if ac_fn_c_try_link "$LINENO"
   16464 then :
   16465   eval $cacheid=yes
   16466 else case e in #(
   16467   e) eval $cacheid=no ;;
   16468 esac
   16469 fi
   16470 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16471     conftest$ac_exeext conftest.$ac_ext ;;
   16472 esac
   16473 fi
   16474 
   16475 
   16476 		CFLAGS="$xorg_testset_save_CFLAGS"
   16477 
   16478 		eval supported=\$$cacheid
   16479 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16480 printf "%s\n" "$supported" >&6; }
   16481 		if test "$supported" = "yes" ; then
   16482 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   16483 			found="yes"
   16484 		fi
   16485 	fi
   16486 
   16487 
   16488 
   16489 # These are currently disabled because they are noisy.  They will be enabled
   16490 # in the future once the codebase is sufficiently modernized to silence
   16491 # them.  For now, I don't want them to drown out the other warnings.
   16492 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   16493 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   16494 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   16495 
   16496 # Turn some warnings into errors, so we don't accidentally get successful builds
   16497 # when there are problems that should be fixed.
   16498 
   16499 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   16500 
   16501 
   16502 
   16503 
   16504 
   16505 
   16506 
   16507 
   16508 
   16509 
   16510 
   16511 
   16512 
   16513 xorg_testset_save_CFLAGS="$CFLAGS"
   16514 
   16515 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16516 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16517 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16518 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16519 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16520 then :
   16521   printf %s "(cached) " >&6
   16522 else case e in #(
   16523   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16524 /* end confdefs.h.  */
   16525 int i;
   16526 _ACEOF
   16527 if ac_fn_c_try_compile "$LINENO"
   16528 then :
   16529   xorg_cv_cc_flag_unknown_warning_option=yes
   16530 else case e in #(
   16531   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16532 esac
   16533 fi
   16534 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16535 esac
   16536 fi
   16537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16538 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16539 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16540 	CFLAGS="$xorg_testset_save_CFLAGS"
   16541 fi
   16542 
   16543 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16544 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16545 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16546 	fi
   16547 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16548 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16549 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16550 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16551 then :
   16552   printf %s "(cached) " >&6
   16553 else case e in #(
   16554   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16555 /* end confdefs.h.  */
   16556 int i;
   16557 _ACEOF
   16558 if ac_fn_c_try_compile "$LINENO"
   16559 then :
   16560   xorg_cv_cc_flag_unused_command_line_argument=yes
   16561 else case e in #(
   16562   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16563 esac
   16564 fi
   16565 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16566 esac
   16567 fi
   16568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16569 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16570 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16571 	CFLAGS="$xorg_testset_save_CFLAGS"
   16572 fi
   16573 
   16574 found="no"
   16575 
   16576 	if test $found = "no" ; then
   16577 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16578 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16579 		fi
   16580 
   16581 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16582 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16583 		fi
   16584 
   16585 		CFLAGS="$CFLAGS -Werror=implicit"
   16586 
   16587 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   16588 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   16589 		cacheid=xorg_cv_cc_flag__Werror_implicit
   16590 		if eval test \${$cacheid+y}
   16591 then :
   16592   printf %s "(cached) " >&6
   16593 else case e in #(
   16594   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16595 /* end confdefs.h.  */
   16596 int i;
   16597 int
   16598 main (void)
   16599 {
   16600 
   16601   ;
   16602   return 0;
   16603 }
   16604 _ACEOF
   16605 if ac_fn_c_try_link "$LINENO"
   16606 then :
   16607   eval $cacheid=yes
   16608 else case e in #(
   16609   e) eval $cacheid=no ;;
   16610 esac
   16611 fi
   16612 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16613     conftest$ac_exeext conftest.$ac_ext ;;
   16614 esac
   16615 fi
   16616 
   16617 
   16618 		CFLAGS="$xorg_testset_save_CFLAGS"
   16619 
   16620 		eval supported=\$$cacheid
   16621 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16622 printf "%s\n" "$supported" >&6; }
   16623 		if test "$supported" = "yes" ; then
   16624 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   16625 			found="yes"
   16626 		fi
   16627 	fi
   16628 
   16629 	if test $found = "no" ; then
   16630 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16631 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16632 		fi
   16633 
   16634 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16635 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16636 		fi
   16637 
   16638 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   16639 
   16640 		{ 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
   16641 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   16642 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   16643 		if eval test \${$cacheid+y}
   16644 then :
   16645   printf %s "(cached) " >&6
   16646 else case e in #(
   16647   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16648 /* end confdefs.h.  */
   16649 int i;
   16650 int
   16651 main (void)
   16652 {
   16653 
   16654   ;
   16655   return 0;
   16656 }
   16657 _ACEOF
   16658 if ac_fn_c_try_link "$LINENO"
   16659 then :
   16660   eval $cacheid=yes
   16661 else case e in #(
   16662   e) eval $cacheid=no ;;
   16663 esac
   16664 fi
   16665 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16666     conftest$ac_exeext conftest.$ac_ext ;;
   16667 esac
   16668 fi
   16669 
   16670 
   16671 		CFLAGS="$xorg_testset_save_CFLAGS"
   16672 
   16673 		eval supported=\$$cacheid
   16674 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16675 printf "%s\n" "$supported" >&6; }
   16676 		if test "$supported" = "yes" ; then
   16677 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   16678 			found="yes"
   16679 		fi
   16680 	fi
   16681 
   16682 
   16683 
   16684 
   16685 
   16686 
   16687 
   16688 
   16689 
   16690 
   16691 
   16692 
   16693 
   16694 
   16695 
   16696 xorg_testset_save_CFLAGS="$CFLAGS"
   16697 
   16698 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16699 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16700 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16701 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16702 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16703 then :
   16704   printf %s "(cached) " >&6
   16705 else case e in #(
   16706   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16707 /* end confdefs.h.  */
   16708 int i;
   16709 _ACEOF
   16710 if ac_fn_c_try_compile "$LINENO"
   16711 then :
   16712   xorg_cv_cc_flag_unknown_warning_option=yes
   16713 else case e in #(
   16714   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16715 esac
   16716 fi
   16717 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16718 esac
   16719 fi
   16720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16721 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16722 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16723 	CFLAGS="$xorg_testset_save_CFLAGS"
   16724 fi
   16725 
   16726 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16727 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16728 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16729 	fi
   16730 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16731 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16732 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16733 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16734 then :
   16735   printf %s "(cached) " >&6
   16736 else case e in #(
   16737   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16738 /* end confdefs.h.  */
   16739 int i;
   16740 _ACEOF
   16741 if ac_fn_c_try_compile "$LINENO"
   16742 then :
   16743   xorg_cv_cc_flag_unused_command_line_argument=yes
   16744 else case e in #(
   16745   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16746 esac
   16747 fi
   16748 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16749 esac
   16750 fi
   16751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16752 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16753 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16754 	CFLAGS="$xorg_testset_save_CFLAGS"
   16755 fi
   16756 
   16757 found="no"
   16758 
   16759 	if test $found = "no" ; then
   16760 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16761 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16762 		fi
   16763 
   16764 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16765 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16766 		fi
   16767 
   16768 		CFLAGS="$CFLAGS -Werror=nonnull"
   16769 
   16770 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   16771 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   16772 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   16773 		if eval test \${$cacheid+y}
   16774 then :
   16775   printf %s "(cached) " >&6
   16776 else case e in #(
   16777   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16778 /* end confdefs.h.  */
   16779 int i;
   16780 int
   16781 main (void)
   16782 {
   16783 
   16784   ;
   16785   return 0;
   16786 }
   16787 _ACEOF
   16788 if ac_fn_c_try_link "$LINENO"
   16789 then :
   16790   eval $cacheid=yes
   16791 else case e in #(
   16792   e) eval $cacheid=no ;;
   16793 esac
   16794 fi
   16795 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16796     conftest$ac_exeext conftest.$ac_ext ;;
   16797 esac
   16798 fi
   16799 
   16800 
   16801 		CFLAGS="$xorg_testset_save_CFLAGS"
   16802 
   16803 		eval supported=\$$cacheid
   16804 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16805 printf "%s\n" "$supported" >&6; }
   16806 		if test "$supported" = "yes" ; then
   16807 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   16808 			found="yes"
   16809 		fi
   16810 	fi
   16811 
   16812 
   16813 
   16814 
   16815 
   16816 
   16817 
   16818 
   16819 
   16820 
   16821 
   16822 
   16823 
   16824 
   16825 
   16826 xorg_testset_save_CFLAGS="$CFLAGS"
   16827 
   16828 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16829 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16830 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16831 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16832 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16833 then :
   16834   printf %s "(cached) " >&6
   16835 else case e in #(
   16836   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16837 /* end confdefs.h.  */
   16838 int i;
   16839 _ACEOF
   16840 if ac_fn_c_try_compile "$LINENO"
   16841 then :
   16842   xorg_cv_cc_flag_unknown_warning_option=yes
   16843 else case e in #(
   16844   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16845 esac
   16846 fi
   16847 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16848 esac
   16849 fi
   16850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16851 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16852 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16853 	CFLAGS="$xorg_testset_save_CFLAGS"
   16854 fi
   16855 
   16856 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16857 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16858 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16859 	fi
   16860 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16861 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16862 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16863 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16864 then :
   16865   printf %s "(cached) " >&6
   16866 else case e in #(
   16867   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16868 /* end confdefs.h.  */
   16869 int i;
   16870 _ACEOF
   16871 if ac_fn_c_try_compile "$LINENO"
   16872 then :
   16873   xorg_cv_cc_flag_unused_command_line_argument=yes
   16874 else case e in #(
   16875   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16876 esac
   16877 fi
   16878 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16879 esac
   16880 fi
   16881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16882 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16883 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16884 	CFLAGS="$xorg_testset_save_CFLAGS"
   16885 fi
   16886 
   16887 found="no"
   16888 
   16889 	if test $found = "no" ; then
   16890 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16891 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16892 		fi
   16893 
   16894 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16895 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16896 		fi
   16897 
   16898 		CFLAGS="$CFLAGS -Werror=init-self"
   16899 
   16900 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   16901 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   16902 		cacheid=xorg_cv_cc_flag__Werror_init_self
   16903 		if eval test \${$cacheid+y}
   16904 then :
   16905   printf %s "(cached) " >&6
   16906 else case e in #(
   16907   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16908 /* end confdefs.h.  */
   16909 int i;
   16910 int
   16911 main (void)
   16912 {
   16913 
   16914   ;
   16915   return 0;
   16916 }
   16917 _ACEOF
   16918 if ac_fn_c_try_link "$LINENO"
   16919 then :
   16920   eval $cacheid=yes
   16921 else case e in #(
   16922   e) eval $cacheid=no ;;
   16923 esac
   16924 fi
   16925 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16926     conftest$ac_exeext conftest.$ac_ext ;;
   16927 esac
   16928 fi
   16929 
   16930 
   16931 		CFLAGS="$xorg_testset_save_CFLAGS"
   16932 
   16933 		eval supported=\$$cacheid
   16934 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16935 printf "%s\n" "$supported" >&6; }
   16936 		if test "$supported" = "yes" ; then
   16937 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   16938 			found="yes"
   16939 		fi
   16940 	fi
   16941 
   16942 
   16943 
   16944 
   16945 
   16946 
   16947 
   16948 
   16949 
   16950 
   16951 
   16952 
   16953 
   16954 
   16955 
   16956 xorg_testset_save_CFLAGS="$CFLAGS"
   16957 
   16958 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16959 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16960 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16961 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16962 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16963 then :
   16964   printf %s "(cached) " >&6
   16965 else case e in #(
   16966   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16967 /* end confdefs.h.  */
   16968 int i;
   16969 _ACEOF
   16970 if ac_fn_c_try_compile "$LINENO"
   16971 then :
   16972   xorg_cv_cc_flag_unknown_warning_option=yes
   16973 else case e in #(
   16974   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16975 esac
   16976 fi
   16977 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16978 esac
   16979 fi
   16980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16981 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16982 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16983 	CFLAGS="$xorg_testset_save_CFLAGS"
   16984 fi
   16985 
   16986 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16987 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16988 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16989 	fi
   16990 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16991 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16992 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16993 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16994 then :
   16995   printf %s "(cached) " >&6
   16996 else case e in #(
   16997   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16998 /* end confdefs.h.  */
   16999 int i;
   17000 _ACEOF
   17001 if ac_fn_c_try_compile "$LINENO"
   17002 then :
   17003   xorg_cv_cc_flag_unused_command_line_argument=yes
   17004 else case e in #(
   17005   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17006 esac
   17007 fi
   17008 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17009 esac
   17010 fi
   17011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17012 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17013 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17014 	CFLAGS="$xorg_testset_save_CFLAGS"
   17015 fi
   17016 
   17017 found="no"
   17018 
   17019 	if test $found = "no" ; then
   17020 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17021 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17022 		fi
   17023 
   17024 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17025 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17026 		fi
   17027 
   17028 		CFLAGS="$CFLAGS -Werror=main"
   17029 
   17030 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   17031 printf %s "checking if $CC supports -Werror=main... " >&6; }
   17032 		cacheid=xorg_cv_cc_flag__Werror_main
   17033 		if eval test \${$cacheid+y}
   17034 then :
   17035   printf %s "(cached) " >&6
   17036 else case e in #(
   17037   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17038 /* end confdefs.h.  */
   17039 int i;
   17040 int
   17041 main (void)
   17042 {
   17043 
   17044   ;
   17045   return 0;
   17046 }
   17047 _ACEOF
   17048 if ac_fn_c_try_link "$LINENO"
   17049 then :
   17050   eval $cacheid=yes
   17051 else case e in #(
   17052   e) eval $cacheid=no ;;
   17053 esac
   17054 fi
   17055 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17056     conftest$ac_exeext conftest.$ac_ext ;;
   17057 esac
   17058 fi
   17059 
   17060 
   17061 		CFLAGS="$xorg_testset_save_CFLAGS"
   17062 
   17063 		eval supported=\$$cacheid
   17064 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17065 printf "%s\n" "$supported" >&6; }
   17066 		if test "$supported" = "yes" ; then
   17067 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   17068 			found="yes"
   17069 		fi
   17070 	fi
   17071 
   17072 
   17073 
   17074 
   17075 
   17076 
   17077 
   17078 
   17079 
   17080 
   17081 
   17082 
   17083 
   17084 
   17085 
   17086 xorg_testset_save_CFLAGS="$CFLAGS"
   17087 
   17088 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17089 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17090 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17091 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17092 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17093 then :
   17094   printf %s "(cached) " >&6
   17095 else case e in #(
   17096   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17097 /* end confdefs.h.  */
   17098 int i;
   17099 _ACEOF
   17100 if ac_fn_c_try_compile "$LINENO"
   17101 then :
   17102   xorg_cv_cc_flag_unknown_warning_option=yes
   17103 else case e in #(
   17104   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17105 esac
   17106 fi
   17107 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17108 esac
   17109 fi
   17110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17111 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17112 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17113 	CFLAGS="$xorg_testset_save_CFLAGS"
   17114 fi
   17115 
   17116 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17117 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17118 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17119 	fi
   17120 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17121 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17122 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17123 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17124 then :
   17125   printf %s "(cached) " >&6
   17126 else case e in #(
   17127   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17128 /* end confdefs.h.  */
   17129 int i;
   17130 _ACEOF
   17131 if ac_fn_c_try_compile "$LINENO"
   17132 then :
   17133   xorg_cv_cc_flag_unused_command_line_argument=yes
   17134 else case e in #(
   17135   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17136 esac
   17137 fi
   17138 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17139 esac
   17140 fi
   17141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17142 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17143 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17144 	CFLAGS="$xorg_testset_save_CFLAGS"
   17145 fi
   17146 
   17147 found="no"
   17148 
   17149 	if test $found = "no" ; then
   17150 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17151 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17152 		fi
   17153 
   17154 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17155 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17156 		fi
   17157 
   17158 		CFLAGS="$CFLAGS -Werror=missing-braces"
   17159 
   17160 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   17161 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   17162 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   17163 		if eval test \${$cacheid+y}
   17164 then :
   17165   printf %s "(cached) " >&6
   17166 else case e in #(
   17167   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17168 /* end confdefs.h.  */
   17169 int i;
   17170 int
   17171 main (void)
   17172 {
   17173 
   17174   ;
   17175   return 0;
   17176 }
   17177 _ACEOF
   17178 if ac_fn_c_try_link "$LINENO"
   17179 then :
   17180   eval $cacheid=yes
   17181 else case e in #(
   17182   e) eval $cacheid=no ;;
   17183 esac
   17184 fi
   17185 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17186     conftest$ac_exeext conftest.$ac_ext ;;
   17187 esac
   17188 fi
   17189 
   17190 
   17191 		CFLAGS="$xorg_testset_save_CFLAGS"
   17192 
   17193 		eval supported=\$$cacheid
   17194 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17195 printf "%s\n" "$supported" >&6; }
   17196 		if test "$supported" = "yes" ; then
   17197 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   17198 			found="yes"
   17199 		fi
   17200 	fi
   17201 
   17202 
   17203 
   17204 
   17205 
   17206 
   17207 
   17208 
   17209 
   17210 
   17211 
   17212 
   17213 
   17214 
   17215 
   17216 xorg_testset_save_CFLAGS="$CFLAGS"
   17217 
   17218 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17219 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17220 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17221 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17222 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17223 then :
   17224   printf %s "(cached) " >&6
   17225 else case e in #(
   17226   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17227 /* end confdefs.h.  */
   17228 int i;
   17229 _ACEOF
   17230 if ac_fn_c_try_compile "$LINENO"
   17231 then :
   17232   xorg_cv_cc_flag_unknown_warning_option=yes
   17233 else case e in #(
   17234   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17235 esac
   17236 fi
   17237 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17238 esac
   17239 fi
   17240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17241 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17242 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17243 	CFLAGS="$xorg_testset_save_CFLAGS"
   17244 fi
   17245 
   17246 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17247 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17248 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17249 	fi
   17250 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17251 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17252 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17253 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17254 then :
   17255   printf %s "(cached) " >&6
   17256 else case e in #(
   17257   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17258 /* end confdefs.h.  */
   17259 int i;
   17260 _ACEOF
   17261 if ac_fn_c_try_compile "$LINENO"
   17262 then :
   17263   xorg_cv_cc_flag_unused_command_line_argument=yes
   17264 else case e in #(
   17265   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17266 esac
   17267 fi
   17268 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17269 esac
   17270 fi
   17271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17272 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17273 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17274 	CFLAGS="$xorg_testset_save_CFLAGS"
   17275 fi
   17276 
   17277 found="no"
   17278 
   17279 	if test $found = "no" ; then
   17280 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17281 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17282 		fi
   17283 
   17284 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17285 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17286 		fi
   17287 
   17288 		CFLAGS="$CFLAGS -Werror=sequence-point"
   17289 
   17290 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   17291 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   17292 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   17293 		if eval test \${$cacheid+y}
   17294 then :
   17295   printf %s "(cached) " >&6
   17296 else case e in #(
   17297   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17298 /* end confdefs.h.  */
   17299 int i;
   17300 int
   17301 main (void)
   17302 {
   17303 
   17304   ;
   17305   return 0;
   17306 }
   17307 _ACEOF
   17308 if ac_fn_c_try_link "$LINENO"
   17309 then :
   17310   eval $cacheid=yes
   17311 else case e in #(
   17312   e) eval $cacheid=no ;;
   17313 esac
   17314 fi
   17315 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17316     conftest$ac_exeext conftest.$ac_ext ;;
   17317 esac
   17318 fi
   17319 
   17320 
   17321 		CFLAGS="$xorg_testset_save_CFLAGS"
   17322 
   17323 		eval supported=\$$cacheid
   17324 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17325 printf "%s\n" "$supported" >&6; }
   17326 		if test "$supported" = "yes" ; then
   17327 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   17328 			found="yes"
   17329 		fi
   17330 	fi
   17331 
   17332 
   17333 
   17334 
   17335 
   17336 
   17337 
   17338 
   17339 
   17340 
   17341 
   17342 
   17343 
   17344 
   17345 
   17346 xorg_testset_save_CFLAGS="$CFLAGS"
   17347 
   17348 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17349 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17350 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17351 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17352 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17353 then :
   17354   printf %s "(cached) " >&6
   17355 else case e in #(
   17356   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17357 /* end confdefs.h.  */
   17358 int i;
   17359 _ACEOF
   17360 if ac_fn_c_try_compile "$LINENO"
   17361 then :
   17362   xorg_cv_cc_flag_unknown_warning_option=yes
   17363 else case e in #(
   17364   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17365 esac
   17366 fi
   17367 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17368 esac
   17369 fi
   17370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17371 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17372 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17373 	CFLAGS="$xorg_testset_save_CFLAGS"
   17374 fi
   17375 
   17376 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17377 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17378 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17379 	fi
   17380 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17381 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17382 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17383 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17384 then :
   17385   printf %s "(cached) " >&6
   17386 else case e in #(
   17387   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17388 /* end confdefs.h.  */
   17389 int i;
   17390 _ACEOF
   17391 if ac_fn_c_try_compile "$LINENO"
   17392 then :
   17393   xorg_cv_cc_flag_unused_command_line_argument=yes
   17394 else case e in #(
   17395   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17396 esac
   17397 fi
   17398 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17399 esac
   17400 fi
   17401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17402 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17403 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17404 	CFLAGS="$xorg_testset_save_CFLAGS"
   17405 fi
   17406 
   17407 found="no"
   17408 
   17409 	if test $found = "no" ; then
   17410 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17411 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17412 		fi
   17413 
   17414 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17415 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17416 		fi
   17417 
   17418 		CFLAGS="$CFLAGS -Werror=return-type"
   17419 
   17420 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   17421 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   17422 		cacheid=xorg_cv_cc_flag__Werror_return_type
   17423 		if eval test \${$cacheid+y}
   17424 then :
   17425   printf %s "(cached) " >&6
   17426 else case e in #(
   17427   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17428 /* end confdefs.h.  */
   17429 int i;
   17430 int
   17431 main (void)
   17432 {
   17433 
   17434   ;
   17435   return 0;
   17436 }
   17437 _ACEOF
   17438 if ac_fn_c_try_link "$LINENO"
   17439 then :
   17440   eval $cacheid=yes
   17441 else case e in #(
   17442   e) eval $cacheid=no ;;
   17443 esac
   17444 fi
   17445 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17446     conftest$ac_exeext conftest.$ac_ext ;;
   17447 esac
   17448 fi
   17449 
   17450 
   17451 		CFLAGS="$xorg_testset_save_CFLAGS"
   17452 
   17453 		eval supported=\$$cacheid
   17454 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17455 printf "%s\n" "$supported" >&6; }
   17456 		if test "$supported" = "yes" ; then
   17457 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   17458 			found="yes"
   17459 		fi
   17460 	fi
   17461 
   17462 	if test $found = "no" ; then
   17463 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17464 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17465 		fi
   17466 
   17467 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17468 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17469 		fi
   17470 
   17471 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   17472 
   17473 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   17474 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   17475 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   17476 		if eval test \${$cacheid+y}
   17477 then :
   17478   printf %s "(cached) " >&6
   17479 else case e in #(
   17480   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17481 /* end confdefs.h.  */
   17482 int i;
   17483 int
   17484 main (void)
   17485 {
   17486 
   17487   ;
   17488   return 0;
   17489 }
   17490 _ACEOF
   17491 if ac_fn_c_try_link "$LINENO"
   17492 then :
   17493   eval $cacheid=yes
   17494 else case e in #(
   17495   e) eval $cacheid=no ;;
   17496 esac
   17497 fi
   17498 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17499     conftest$ac_exeext conftest.$ac_ext ;;
   17500 esac
   17501 fi
   17502 
   17503 
   17504 		CFLAGS="$xorg_testset_save_CFLAGS"
   17505 
   17506 		eval supported=\$$cacheid
   17507 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17508 printf "%s\n" "$supported" >&6; }
   17509 		if test "$supported" = "yes" ; then
   17510 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   17511 			found="yes"
   17512 		fi
   17513 	fi
   17514 
   17515 
   17516 
   17517 
   17518 
   17519 
   17520 
   17521 
   17522 
   17523 
   17524 
   17525 
   17526 
   17527 
   17528 
   17529 xorg_testset_save_CFLAGS="$CFLAGS"
   17530 
   17531 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17532 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17533 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17534 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17535 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17536 then :
   17537   printf %s "(cached) " >&6
   17538 else case e in #(
   17539   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17540 /* end confdefs.h.  */
   17541 int i;
   17542 _ACEOF
   17543 if ac_fn_c_try_compile "$LINENO"
   17544 then :
   17545   xorg_cv_cc_flag_unknown_warning_option=yes
   17546 else case e in #(
   17547   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17548 esac
   17549 fi
   17550 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17551 esac
   17552 fi
   17553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17554 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17555 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17556 	CFLAGS="$xorg_testset_save_CFLAGS"
   17557 fi
   17558 
   17559 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17560 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17561 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17562 	fi
   17563 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17564 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17565 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17566 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17567 then :
   17568   printf %s "(cached) " >&6
   17569 else case e in #(
   17570   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17571 /* end confdefs.h.  */
   17572 int i;
   17573 _ACEOF
   17574 if ac_fn_c_try_compile "$LINENO"
   17575 then :
   17576   xorg_cv_cc_flag_unused_command_line_argument=yes
   17577 else case e in #(
   17578   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17579 esac
   17580 fi
   17581 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17582 esac
   17583 fi
   17584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17585 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17586 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17587 	CFLAGS="$xorg_testset_save_CFLAGS"
   17588 fi
   17589 
   17590 found="no"
   17591 
   17592 	if test $found = "no" ; then
   17593 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17594 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17595 		fi
   17596 
   17597 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17598 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17599 		fi
   17600 
   17601 		CFLAGS="$CFLAGS -Werror=trigraphs"
   17602 
   17603 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   17604 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   17605 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   17606 		if eval test \${$cacheid+y}
   17607 then :
   17608   printf %s "(cached) " >&6
   17609 else case e in #(
   17610   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17611 /* end confdefs.h.  */
   17612 int i;
   17613 int
   17614 main (void)
   17615 {
   17616 
   17617   ;
   17618   return 0;
   17619 }
   17620 _ACEOF
   17621 if ac_fn_c_try_link "$LINENO"
   17622 then :
   17623   eval $cacheid=yes
   17624 else case e in #(
   17625   e) eval $cacheid=no ;;
   17626 esac
   17627 fi
   17628 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17629     conftest$ac_exeext conftest.$ac_ext ;;
   17630 esac
   17631 fi
   17632 
   17633 
   17634 		CFLAGS="$xorg_testset_save_CFLAGS"
   17635 
   17636 		eval supported=\$$cacheid
   17637 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17638 printf "%s\n" "$supported" >&6; }
   17639 		if test "$supported" = "yes" ; then
   17640 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   17641 			found="yes"
   17642 		fi
   17643 	fi
   17644 
   17645 
   17646 
   17647 
   17648 
   17649 
   17650 
   17651 
   17652 
   17653 
   17654 
   17655 
   17656 
   17657 
   17658 
   17659 xorg_testset_save_CFLAGS="$CFLAGS"
   17660 
   17661 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17662 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17663 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17664 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17665 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17666 then :
   17667   printf %s "(cached) " >&6
   17668 else case e in #(
   17669   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17670 /* end confdefs.h.  */
   17671 int i;
   17672 _ACEOF
   17673 if ac_fn_c_try_compile "$LINENO"
   17674 then :
   17675   xorg_cv_cc_flag_unknown_warning_option=yes
   17676 else case e in #(
   17677   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17678 esac
   17679 fi
   17680 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17681 esac
   17682 fi
   17683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17684 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17685 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17686 	CFLAGS="$xorg_testset_save_CFLAGS"
   17687 fi
   17688 
   17689 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17690 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17691 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17692 	fi
   17693 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17694 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17695 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17696 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17697 then :
   17698   printf %s "(cached) " >&6
   17699 else case e in #(
   17700   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17701 /* end confdefs.h.  */
   17702 int i;
   17703 _ACEOF
   17704 if ac_fn_c_try_compile "$LINENO"
   17705 then :
   17706   xorg_cv_cc_flag_unused_command_line_argument=yes
   17707 else case e in #(
   17708   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17709 esac
   17710 fi
   17711 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17712 esac
   17713 fi
   17714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17715 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17716 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17717 	CFLAGS="$xorg_testset_save_CFLAGS"
   17718 fi
   17719 
   17720 found="no"
   17721 
   17722 	if test $found = "no" ; then
   17723 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17724 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17725 		fi
   17726 
   17727 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17728 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17729 		fi
   17730 
   17731 		CFLAGS="$CFLAGS -Werror=array-bounds"
   17732 
   17733 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   17734 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   17735 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   17736 		if eval test \${$cacheid+y}
   17737 then :
   17738   printf %s "(cached) " >&6
   17739 else case e in #(
   17740   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17741 /* end confdefs.h.  */
   17742 int i;
   17743 int
   17744 main (void)
   17745 {
   17746 
   17747   ;
   17748   return 0;
   17749 }
   17750 _ACEOF
   17751 if ac_fn_c_try_link "$LINENO"
   17752 then :
   17753   eval $cacheid=yes
   17754 else case e in #(
   17755   e) eval $cacheid=no ;;
   17756 esac
   17757 fi
   17758 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17759     conftest$ac_exeext conftest.$ac_ext ;;
   17760 esac
   17761 fi
   17762 
   17763 
   17764 		CFLAGS="$xorg_testset_save_CFLAGS"
   17765 
   17766 		eval supported=\$$cacheid
   17767 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17768 printf "%s\n" "$supported" >&6; }
   17769 		if test "$supported" = "yes" ; then
   17770 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   17771 			found="yes"
   17772 		fi
   17773 	fi
   17774 
   17775 
   17776 
   17777 
   17778 
   17779 
   17780 
   17781 
   17782 
   17783 
   17784 
   17785 
   17786 
   17787 
   17788 
   17789 xorg_testset_save_CFLAGS="$CFLAGS"
   17790 
   17791 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17792 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17793 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17794 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17795 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17796 then :
   17797   printf %s "(cached) " >&6
   17798 else case e in #(
   17799   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17800 /* end confdefs.h.  */
   17801 int i;
   17802 _ACEOF
   17803 if ac_fn_c_try_compile "$LINENO"
   17804 then :
   17805   xorg_cv_cc_flag_unknown_warning_option=yes
   17806 else case e in #(
   17807   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17808 esac
   17809 fi
   17810 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17811 esac
   17812 fi
   17813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17814 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17815 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17816 	CFLAGS="$xorg_testset_save_CFLAGS"
   17817 fi
   17818 
   17819 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17820 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17821 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17822 	fi
   17823 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17824 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17825 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17826 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17827 then :
   17828   printf %s "(cached) " >&6
   17829 else case e in #(
   17830   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17831 /* end confdefs.h.  */
   17832 int i;
   17833 _ACEOF
   17834 if ac_fn_c_try_compile "$LINENO"
   17835 then :
   17836   xorg_cv_cc_flag_unused_command_line_argument=yes
   17837 else case e in #(
   17838   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17839 esac
   17840 fi
   17841 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17842 esac
   17843 fi
   17844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17845 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17846 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17847 	CFLAGS="$xorg_testset_save_CFLAGS"
   17848 fi
   17849 
   17850 found="no"
   17851 
   17852 	if test $found = "no" ; then
   17853 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17854 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17855 		fi
   17856 
   17857 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17858 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17859 		fi
   17860 
   17861 		CFLAGS="$CFLAGS -Werror=write-strings"
   17862 
   17863 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   17864 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   17865 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   17866 		if eval test \${$cacheid+y}
   17867 then :
   17868   printf %s "(cached) " >&6
   17869 else case e in #(
   17870   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17871 /* end confdefs.h.  */
   17872 int i;
   17873 int
   17874 main (void)
   17875 {
   17876 
   17877   ;
   17878   return 0;
   17879 }
   17880 _ACEOF
   17881 if ac_fn_c_try_link "$LINENO"
   17882 then :
   17883   eval $cacheid=yes
   17884 else case e in #(
   17885   e) eval $cacheid=no ;;
   17886 esac
   17887 fi
   17888 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17889     conftest$ac_exeext conftest.$ac_ext ;;
   17890 esac
   17891 fi
   17892 
   17893 
   17894 		CFLAGS="$xorg_testset_save_CFLAGS"
   17895 
   17896 		eval supported=\$$cacheid
   17897 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17898 printf "%s\n" "$supported" >&6; }
   17899 		if test "$supported" = "yes" ; then
   17900 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   17901 			found="yes"
   17902 		fi
   17903 	fi
   17904 
   17905 
   17906 
   17907 
   17908 
   17909 
   17910 
   17911 
   17912 
   17913 
   17914 
   17915 
   17916 
   17917 
   17918 
   17919 xorg_testset_save_CFLAGS="$CFLAGS"
   17920 
   17921 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17922 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17923 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17924 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17925 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17926 then :
   17927   printf %s "(cached) " >&6
   17928 else case e in #(
   17929   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17930 /* end confdefs.h.  */
   17931 int i;
   17932 _ACEOF
   17933 if ac_fn_c_try_compile "$LINENO"
   17934 then :
   17935   xorg_cv_cc_flag_unknown_warning_option=yes
   17936 else case e in #(
   17937   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17938 esac
   17939 fi
   17940 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17941 esac
   17942 fi
   17943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17944 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17945 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17946 	CFLAGS="$xorg_testset_save_CFLAGS"
   17947 fi
   17948 
   17949 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17950 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17951 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17952 	fi
   17953 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17954 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17955 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17956 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17957 then :
   17958   printf %s "(cached) " >&6
   17959 else case e in #(
   17960   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17961 /* end confdefs.h.  */
   17962 int i;
   17963 _ACEOF
   17964 if ac_fn_c_try_compile "$LINENO"
   17965 then :
   17966   xorg_cv_cc_flag_unused_command_line_argument=yes
   17967 else case e in #(
   17968   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17969 esac
   17970 fi
   17971 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17972 esac
   17973 fi
   17974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17975 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17976 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17977 	CFLAGS="$xorg_testset_save_CFLAGS"
   17978 fi
   17979 
   17980 found="no"
   17981 
   17982 	if test $found = "no" ; then
   17983 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17984 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17985 		fi
   17986 
   17987 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17988 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17989 		fi
   17990 
   17991 		CFLAGS="$CFLAGS -Werror=address"
   17992 
   17993 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   17994 printf %s "checking if $CC supports -Werror=address... " >&6; }
   17995 		cacheid=xorg_cv_cc_flag__Werror_address
   17996 		if eval test \${$cacheid+y}
   17997 then :
   17998   printf %s "(cached) " >&6
   17999 else case e in #(
   18000   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18001 /* end confdefs.h.  */
   18002 int i;
   18003 int
   18004 main (void)
   18005 {
   18006 
   18007   ;
   18008   return 0;
   18009 }
   18010 _ACEOF
   18011 if ac_fn_c_try_link "$LINENO"
   18012 then :
   18013   eval $cacheid=yes
   18014 else case e in #(
   18015   e) eval $cacheid=no ;;
   18016 esac
   18017 fi
   18018 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18019     conftest$ac_exeext conftest.$ac_ext ;;
   18020 esac
   18021 fi
   18022 
   18023 
   18024 		CFLAGS="$xorg_testset_save_CFLAGS"
   18025 
   18026 		eval supported=\$$cacheid
   18027 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18028 printf "%s\n" "$supported" >&6; }
   18029 		if test "$supported" = "yes" ; then
   18030 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   18031 			found="yes"
   18032 		fi
   18033 	fi
   18034 
   18035 
   18036 
   18037 
   18038 
   18039 
   18040 
   18041 
   18042 
   18043 
   18044 
   18045 
   18046 
   18047 
   18048 
   18049 xorg_testset_save_CFLAGS="$CFLAGS"
   18050 
   18051 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18052 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18053 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18054 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18055 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18056 then :
   18057   printf %s "(cached) " >&6
   18058 else case e in #(
   18059   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18060 /* end confdefs.h.  */
   18061 int i;
   18062 _ACEOF
   18063 if ac_fn_c_try_compile "$LINENO"
   18064 then :
   18065   xorg_cv_cc_flag_unknown_warning_option=yes
   18066 else case e in #(
   18067   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18068 esac
   18069 fi
   18070 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18071 esac
   18072 fi
   18073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18074 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18075 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18076 	CFLAGS="$xorg_testset_save_CFLAGS"
   18077 fi
   18078 
   18079 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18080 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18081 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18082 	fi
   18083 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18084 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18085 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18086 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18087 then :
   18088   printf %s "(cached) " >&6
   18089 else case e in #(
   18090   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18091 /* end confdefs.h.  */
   18092 int i;
   18093 _ACEOF
   18094 if ac_fn_c_try_compile "$LINENO"
   18095 then :
   18096   xorg_cv_cc_flag_unused_command_line_argument=yes
   18097 else case e in #(
   18098   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18099 esac
   18100 fi
   18101 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18102 esac
   18103 fi
   18104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18105 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18106 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18107 	CFLAGS="$xorg_testset_save_CFLAGS"
   18108 fi
   18109 
   18110 found="no"
   18111 
   18112 	if test $found = "no" ; then
   18113 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18114 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18115 		fi
   18116 
   18117 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18118 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18119 		fi
   18120 
   18121 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   18122 
   18123 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   18124 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   18125 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   18126 		if eval test \${$cacheid+y}
   18127 then :
   18128   printf %s "(cached) " >&6
   18129 else case e in #(
   18130   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18131 /* end confdefs.h.  */
   18132 int i;
   18133 int
   18134 main (void)
   18135 {
   18136 
   18137   ;
   18138   return 0;
   18139 }
   18140 _ACEOF
   18141 if ac_fn_c_try_link "$LINENO"
   18142 then :
   18143   eval $cacheid=yes
   18144 else case e in #(
   18145   e) eval $cacheid=no ;;
   18146 esac
   18147 fi
   18148 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18149     conftest$ac_exeext conftest.$ac_ext ;;
   18150 esac
   18151 fi
   18152 
   18153 
   18154 		CFLAGS="$xorg_testset_save_CFLAGS"
   18155 
   18156 		eval supported=\$$cacheid
   18157 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18158 printf "%s\n" "$supported" >&6; }
   18159 		if test "$supported" = "yes" ; then
   18160 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   18161 			found="yes"
   18162 		fi
   18163 	fi
   18164 
   18165 	if test $found = "no" ; then
   18166 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18167 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18168 		fi
   18169 
   18170 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18171 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18172 		fi
   18173 
   18174 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   18175 
   18176 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   18177 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   18178 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   18179 		if eval test \${$cacheid+y}
   18180 then :
   18181   printf %s "(cached) " >&6
   18182 else case e in #(
   18183   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18184 /* end confdefs.h.  */
   18185 int i;
   18186 int
   18187 main (void)
   18188 {
   18189 
   18190   ;
   18191   return 0;
   18192 }
   18193 _ACEOF
   18194 if ac_fn_c_try_link "$LINENO"
   18195 then :
   18196   eval $cacheid=yes
   18197 else case e in #(
   18198   e) eval $cacheid=no ;;
   18199 esac
   18200 fi
   18201 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18202     conftest$ac_exeext conftest.$ac_ext ;;
   18203 esac
   18204 fi
   18205 
   18206 
   18207 		CFLAGS="$xorg_testset_save_CFLAGS"
   18208 
   18209 		eval supported=\$$cacheid
   18210 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18211 printf "%s\n" "$supported" >&6; }
   18212 		if test "$supported" = "yes" ; then
   18213 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   18214 			found="yes"
   18215 		fi
   18216 	fi
   18217 
   18218 
   18219 
   18220 
   18221 
   18222 
   18223 
   18224 
   18225 
   18226 
   18227 
   18228 
   18229 
   18230 
   18231 
   18232 xorg_testset_save_CFLAGS="$CFLAGS"
   18233 
   18234 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18235 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18236 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18237 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18238 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18239 then :
   18240   printf %s "(cached) " >&6
   18241 else case e in #(
   18242   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18243 /* end confdefs.h.  */
   18244 int i;
   18245 _ACEOF
   18246 if ac_fn_c_try_compile "$LINENO"
   18247 then :
   18248   xorg_cv_cc_flag_unknown_warning_option=yes
   18249 else case e in #(
   18250   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18251 esac
   18252 fi
   18253 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18254 esac
   18255 fi
   18256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18257 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18258 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18259 	CFLAGS="$xorg_testset_save_CFLAGS"
   18260 fi
   18261 
   18262 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18263 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18264 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18265 	fi
   18266 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18267 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18268 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18269 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18270 then :
   18271   printf %s "(cached) " >&6
   18272 else case e in #(
   18273   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18274 /* end confdefs.h.  */
   18275 int i;
   18276 _ACEOF
   18277 if ac_fn_c_try_compile "$LINENO"
   18278 then :
   18279   xorg_cv_cc_flag_unused_command_line_argument=yes
   18280 else case e in #(
   18281   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18282 esac
   18283 fi
   18284 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18285 esac
   18286 fi
   18287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18288 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18289 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18290 	CFLAGS="$xorg_testset_save_CFLAGS"
   18291 fi
   18292 
   18293 found="no"
   18294 
   18295 	if test $found = "no" ; then
   18296 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18297 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18298 		fi
   18299 
   18300 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18301 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18302 		fi
   18303 
   18304 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   18305 
   18306 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   18307 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   18308 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   18309 		if eval test \${$cacheid+y}
   18310 then :
   18311   printf %s "(cached) " >&6
   18312 else case e in #(
   18313   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18314 /* end confdefs.h.  */
   18315 int i;
   18316 int
   18317 main (void)
   18318 {
   18319 
   18320   ;
   18321   return 0;
   18322 }
   18323 _ACEOF
   18324 if ac_fn_c_try_link "$LINENO"
   18325 then :
   18326   eval $cacheid=yes
   18327 else case e in #(
   18328   e) eval $cacheid=no ;;
   18329 esac
   18330 fi
   18331 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18332     conftest$ac_exeext conftest.$ac_ext ;;
   18333 esac
   18334 fi
   18335 
   18336 
   18337 		CFLAGS="$xorg_testset_save_CFLAGS"
   18338 
   18339 		eval supported=\$$cacheid
   18340 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18341 printf "%s\n" "$supported" >&6; }
   18342 		if test "$supported" = "yes" ; then
   18343 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   18344 			found="yes"
   18345 		fi
   18346 	fi
   18347 
   18348  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   18349 else
   18350 { 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
   18351 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;}
   18352 
   18353 
   18354 
   18355 
   18356 
   18357 
   18358 
   18359 
   18360 
   18361 
   18362 
   18363 
   18364 
   18365 xorg_testset_save_CFLAGS="$CFLAGS"
   18366 
   18367 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18368 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18369 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18370 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18371 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18372 then :
   18373   printf %s "(cached) " >&6
   18374 else case e in #(
   18375   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18376 /* end confdefs.h.  */
   18377 int i;
   18378 _ACEOF
   18379 if ac_fn_c_try_compile "$LINENO"
   18380 then :
   18381   xorg_cv_cc_flag_unknown_warning_option=yes
   18382 else case e in #(
   18383   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18384 esac
   18385 fi
   18386 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18387 esac
   18388 fi
   18389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18390 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18391 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18392 	CFLAGS="$xorg_testset_save_CFLAGS"
   18393 fi
   18394 
   18395 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18396 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18397 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18398 	fi
   18399 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18400 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18401 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18402 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18403 then :
   18404   printf %s "(cached) " >&6
   18405 else case e in #(
   18406   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18407 /* end confdefs.h.  */
   18408 int i;
   18409 _ACEOF
   18410 if ac_fn_c_try_compile "$LINENO"
   18411 then :
   18412   xorg_cv_cc_flag_unused_command_line_argument=yes
   18413 else case e in #(
   18414   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18415 esac
   18416 fi
   18417 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18418 esac
   18419 fi
   18420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18421 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18422 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18423 	CFLAGS="$xorg_testset_save_CFLAGS"
   18424 fi
   18425 
   18426 found="no"
   18427 
   18428 	if test $found = "no" ; then
   18429 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18430 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18431 		fi
   18432 
   18433 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18434 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18435 		fi
   18436 
   18437 		CFLAGS="$CFLAGS -Wimplicit"
   18438 
   18439 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   18440 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   18441 		cacheid=xorg_cv_cc_flag__Wimplicit
   18442 		if eval test \${$cacheid+y}
   18443 then :
   18444   printf %s "(cached) " >&6
   18445 else case e in #(
   18446   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18447 /* end confdefs.h.  */
   18448 int i;
   18449 int
   18450 main (void)
   18451 {
   18452 
   18453   ;
   18454   return 0;
   18455 }
   18456 _ACEOF
   18457 if ac_fn_c_try_link "$LINENO"
   18458 then :
   18459   eval $cacheid=yes
   18460 else case e in #(
   18461   e) eval $cacheid=no ;;
   18462 esac
   18463 fi
   18464 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18465     conftest$ac_exeext conftest.$ac_ext ;;
   18466 esac
   18467 fi
   18468 
   18469 
   18470 		CFLAGS="$xorg_testset_save_CFLAGS"
   18471 
   18472 		eval supported=\$$cacheid
   18473 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18474 printf "%s\n" "$supported" >&6; }
   18475 		if test "$supported" = "yes" ; then
   18476 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   18477 			found="yes"
   18478 		fi
   18479 	fi
   18480 
   18481 
   18482 
   18483 
   18484 
   18485 
   18486 
   18487 
   18488 
   18489 
   18490 
   18491 
   18492 
   18493 
   18494 
   18495 xorg_testset_save_CFLAGS="$CFLAGS"
   18496 
   18497 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18498 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18499 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18500 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18501 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18502 then :
   18503   printf %s "(cached) " >&6
   18504 else case e in #(
   18505   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18506 /* end confdefs.h.  */
   18507 int i;
   18508 _ACEOF
   18509 if ac_fn_c_try_compile "$LINENO"
   18510 then :
   18511   xorg_cv_cc_flag_unknown_warning_option=yes
   18512 else case e in #(
   18513   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18514 esac
   18515 fi
   18516 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18517 esac
   18518 fi
   18519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18520 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18521 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18522 	CFLAGS="$xorg_testset_save_CFLAGS"
   18523 fi
   18524 
   18525 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18526 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18527 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18528 	fi
   18529 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18530 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18531 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18532 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18533 then :
   18534   printf %s "(cached) " >&6
   18535 else case e in #(
   18536   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18537 /* end confdefs.h.  */
   18538 int i;
   18539 _ACEOF
   18540 if ac_fn_c_try_compile "$LINENO"
   18541 then :
   18542   xorg_cv_cc_flag_unused_command_line_argument=yes
   18543 else case e in #(
   18544   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18545 esac
   18546 fi
   18547 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18548 esac
   18549 fi
   18550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18551 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18552 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18553 	CFLAGS="$xorg_testset_save_CFLAGS"
   18554 fi
   18555 
   18556 found="no"
   18557 
   18558 	if test $found = "no" ; then
   18559 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18560 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18561 		fi
   18562 
   18563 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18564 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18565 		fi
   18566 
   18567 		CFLAGS="$CFLAGS -Wnonnull"
   18568 
   18569 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   18570 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   18571 		cacheid=xorg_cv_cc_flag__Wnonnull
   18572 		if eval test \${$cacheid+y}
   18573 then :
   18574   printf %s "(cached) " >&6
   18575 else case e in #(
   18576   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18577 /* end confdefs.h.  */
   18578 int i;
   18579 int
   18580 main (void)
   18581 {
   18582 
   18583   ;
   18584   return 0;
   18585 }
   18586 _ACEOF
   18587 if ac_fn_c_try_link "$LINENO"
   18588 then :
   18589   eval $cacheid=yes
   18590 else case e in #(
   18591   e) eval $cacheid=no ;;
   18592 esac
   18593 fi
   18594 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18595     conftest$ac_exeext conftest.$ac_ext ;;
   18596 esac
   18597 fi
   18598 
   18599 
   18600 		CFLAGS="$xorg_testset_save_CFLAGS"
   18601 
   18602 		eval supported=\$$cacheid
   18603 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18604 printf "%s\n" "$supported" >&6; }
   18605 		if test "$supported" = "yes" ; then
   18606 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   18607 			found="yes"
   18608 		fi
   18609 	fi
   18610 
   18611 
   18612 
   18613 
   18614 
   18615 
   18616 
   18617 
   18618 
   18619 
   18620 
   18621 
   18622 
   18623 
   18624 
   18625 xorg_testset_save_CFLAGS="$CFLAGS"
   18626 
   18627 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18628 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18629 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18630 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18631 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18632 then :
   18633   printf %s "(cached) " >&6
   18634 else case e in #(
   18635   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18636 /* end confdefs.h.  */
   18637 int i;
   18638 _ACEOF
   18639 if ac_fn_c_try_compile "$LINENO"
   18640 then :
   18641   xorg_cv_cc_flag_unknown_warning_option=yes
   18642 else case e in #(
   18643   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18644 esac
   18645 fi
   18646 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18647 esac
   18648 fi
   18649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18650 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18651 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18652 	CFLAGS="$xorg_testset_save_CFLAGS"
   18653 fi
   18654 
   18655 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18656 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18657 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18658 	fi
   18659 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18660 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18661 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18662 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18663 then :
   18664   printf %s "(cached) " >&6
   18665 else case e in #(
   18666   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18667 /* end confdefs.h.  */
   18668 int i;
   18669 _ACEOF
   18670 if ac_fn_c_try_compile "$LINENO"
   18671 then :
   18672   xorg_cv_cc_flag_unused_command_line_argument=yes
   18673 else case e in #(
   18674   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18675 esac
   18676 fi
   18677 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18678 esac
   18679 fi
   18680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18681 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18682 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18683 	CFLAGS="$xorg_testset_save_CFLAGS"
   18684 fi
   18685 
   18686 found="no"
   18687 
   18688 	if test $found = "no" ; then
   18689 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18690 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18691 		fi
   18692 
   18693 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18694 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18695 		fi
   18696 
   18697 		CFLAGS="$CFLAGS -Winit-self"
   18698 
   18699 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   18700 printf %s "checking if $CC supports -Winit-self... " >&6; }
   18701 		cacheid=xorg_cv_cc_flag__Winit_self
   18702 		if eval test \${$cacheid+y}
   18703 then :
   18704   printf %s "(cached) " >&6
   18705 else case e in #(
   18706   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18707 /* end confdefs.h.  */
   18708 int i;
   18709 int
   18710 main (void)
   18711 {
   18712 
   18713   ;
   18714   return 0;
   18715 }
   18716 _ACEOF
   18717 if ac_fn_c_try_link "$LINENO"
   18718 then :
   18719   eval $cacheid=yes
   18720 else case e in #(
   18721   e) eval $cacheid=no ;;
   18722 esac
   18723 fi
   18724 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18725     conftest$ac_exeext conftest.$ac_ext ;;
   18726 esac
   18727 fi
   18728 
   18729 
   18730 		CFLAGS="$xorg_testset_save_CFLAGS"
   18731 
   18732 		eval supported=\$$cacheid
   18733 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18734 printf "%s\n" "$supported" >&6; }
   18735 		if test "$supported" = "yes" ; then
   18736 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   18737 			found="yes"
   18738 		fi
   18739 	fi
   18740 
   18741 
   18742 
   18743 
   18744 
   18745 
   18746 
   18747 
   18748 
   18749 
   18750 
   18751 
   18752 
   18753 
   18754 
   18755 xorg_testset_save_CFLAGS="$CFLAGS"
   18756 
   18757 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18758 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18759 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18760 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18761 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18762 then :
   18763   printf %s "(cached) " >&6
   18764 else case e in #(
   18765   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18766 /* end confdefs.h.  */
   18767 int i;
   18768 _ACEOF
   18769 if ac_fn_c_try_compile "$LINENO"
   18770 then :
   18771   xorg_cv_cc_flag_unknown_warning_option=yes
   18772 else case e in #(
   18773   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18774 esac
   18775 fi
   18776 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18777 esac
   18778 fi
   18779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18780 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18781 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18782 	CFLAGS="$xorg_testset_save_CFLAGS"
   18783 fi
   18784 
   18785 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18786 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18787 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18788 	fi
   18789 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18790 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18791 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18792 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18793 then :
   18794   printf %s "(cached) " >&6
   18795 else case e in #(
   18796   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18797 /* end confdefs.h.  */
   18798 int i;
   18799 _ACEOF
   18800 if ac_fn_c_try_compile "$LINENO"
   18801 then :
   18802   xorg_cv_cc_flag_unused_command_line_argument=yes
   18803 else case e in #(
   18804   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18805 esac
   18806 fi
   18807 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18808 esac
   18809 fi
   18810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18811 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18812 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18813 	CFLAGS="$xorg_testset_save_CFLAGS"
   18814 fi
   18815 
   18816 found="no"
   18817 
   18818 	if test $found = "no" ; then
   18819 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18820 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18821 		fi
   18822 
   18823 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18824 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18825 		fi
   18826 
   18827 		CFLAGS="$CFLAGS -Wmain"
   18828 
   18829 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   18830 printf %s "checking if $CC supports -Wmain... " >&6; }
   18831 		cacheid=xorg_cv_cc_flag__Wmain
   18832 		if eval test \${$cacheid+y}
   18833 then :
   18834   printf %s "(cached) " >&6
   18835 else case e in #(
   18836   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18837 /* end confdefs.h.  */
   18838 int i;
   18839 int
   18840 main (void)
   18841 {
   18842 
   18843   ;
   18844   return 0;
   18845 }
   18846 _ACEOF
   18847 if ac_fn_c_try_link "$LINENO"
   18848 then :
   18849   eval $cacheid=yes
   18850 else case e in #(
   18851   e) eval $cacheid=no ;;
   18852 esac
   18853 fi
   18854 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18855     conftest$ac_exeext conftest.$ac_ext ;;
   18856 esac
   18857 fi
   18858 
   18859 
   18860 		CFLAGS="$xorg_testset_save_CFLAGS"
   18861 
   18862 		eval supported=\$$cacheid
   18863 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18864 printf "%s\n" "$supported" >&6; }
   18865 		if test "$supported" = "yes" ; then
   18866 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   18867 			found="yes"
   18868 		fi
   18869 	fi
   18870 
   18871 
   18872 
   18873 
   18874 
   18875 
   18876 
   18877 
   18878 
   18879 
   18880 
   18881 
   18882 
   18883 
   18884 
   18885 xorg_testset_save_CFLAGS="$CFLAGS"
   18886 
   18887 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18888 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18889 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18890 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18891 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18892 then :
   18893   printf %s "(cached) " >&6
   18894 else case e in #(
   18895   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18896 /* end confdefs.h.  */
   18897 int i;
   18898 _ACEOF
   18899 if ac_fn_c_try_compile "$LINENO"
   18900 then :
   18901   xorg_cv_cc_flag_unknown_warning_option=yes
   18902 else case e in #(
   18903   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18904 esac
   18905 fi
   18906 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18907 esac
   18908 fi
   18909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18910 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18911 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18912 	CFLAGS="$xorg_testset_save_CFLAGS"
   18913 fi
   18914 
   18915 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18916 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18917 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18918 	fi
   18919 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18920 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18921 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18922 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18923 then :
   18924   printf %s "(cached) " >&6
   18925 else case e in #(
   18926   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18927 /* end confdefs.h.  */
   18928 int i;
   18929 _ACEOF
   18930 if ac_fn_c_try_compile "$LINENO"
   18931 then :
   18932   xorg_cv_cc_flag_unused_command_line_argument=yes
   18933 else case e in #(
   18934   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18935 esac
   18936 fi
   18937 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18938 esac
   18939 fi
   18940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18941 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18942 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18943 	CFLAGS="$xorg_testset_save_CFLAGS"
   18944 fi
   18945 
   18946 found="no"
   18947 
   18948 	if test $found = "no" ; then
   18949 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18950 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18951 		fi
   18952 
   18953 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18954 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18955 		fi
   18956 
   18957 		CFLAGS="$CFLAGS -Wmissing-braces"
   18958 
   18959 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   18960 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   18961 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   18962 		if eval test \${$cacheid+y}
   18963 then :
   18964   printf %s "(cached) " >&6
   18965 else case e in #(
   18966   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18967 /* end confdefs.h.  */
   18968 int i;
   18969 int
   18970 main (void)
   18971 {
   18972 
   18973   ;
   18974   return 0;
   18975 }
   18976 _ACEOF
   18977 if ac_fn_c_try_link "$LINENO"
   18978 then :
   18979   eval $cacheid=yes
   18980 else case e in #(
   18981   e) eval $cacheid=no ;;
   18982 esac
   18983 fi
   18984 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18985     conftest$ac_exeext conftest.$ac_ext ;;
   18986 esac
   18987 fi
   18988 
   18989 
   18990 		CFLAGS="$xorg_testset_save_CFLAGS"
   18991 
   18992 		eval supported=\$$cacheid
   18993 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18994 printf "%s\n" "$supported" >&6; }
   18995 		if test "$supported" = "yes" ; then
   18996 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   18997 			found="yes"
   18998 		fi
   18999 	fi
   19000 
   19001 
   19002 
   19003 
   19004 
   19005 
   19006 
   19007 
   19008 
   19009 
   19010 
   19011 
   19012 
   19013 
   19014 
   19015 xorg_testset_save_CFLAGS="$CFLAGS"
   19016 
   19017 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19018 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19019 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19020 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19021 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19022 then :
   19023   printf %s "(cached) " >&6
   19024 else case e in #(
   19025   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19026 /* end confdefs.h.  */
   19027 int i;
   19028 _ACEOF
   19029 if ac_fn_c_try_compile "$LINENO"
   19030 then :
   19031   xorg_cv_cc_flag_unknown_warning_option=yes
   19032 else case e in #(
   19033   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19034 esac
   19035 fi
   19036 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19037 esac
   19038 fi
   19039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19040 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19041 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19042 	CFLAGS="$xorg_testset_save_CFLAGS"
   19043 fi
   19044 
   19045 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19046 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19047 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19048 	fi
   19049 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19050 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19051 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19052 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19053 then :
   19054   printf %s "(cached) " >&6
   19055 else case e in #(
   19056   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19057 /* end confdefs.h.  */
   19058 int i;
   19059 _ACEOF
   19060 if ac_fn_c_try_compile "$LINENO"
   19061 then :
   19062   xorg_cv_cc_flag_unused_command_line_argument=yes
   19063 else case e in #(
   19064   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19065 esac
   19066 fi
   19067 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19068 esac
   19069 fi
   19070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19071 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19072 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19073 	CFLAGS="$xorg_testset_save_CFLAGS"
   19074 fi
   19075 
   19076 found="no"
   19077 
   19078 	if test $found = "no" ; then
   19079 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19080 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19081 		fi
   19082 
   19083 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19084 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19085 		fi
   19086 
   19087 		CFLAGS="$CFLAGS -Wsequence-point"
   19088 
   19089 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   19090 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   19091 		cacheid=xorg_cv_cc_flag__Wsequence_point
   19092 		if eval test \${$cacheid+y}
   19093 then :
   19094   printf %s "(cached) " >&6
   19095 else case e in #(
   19096   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19097 /* end confdefs.h.  */
   19098 int i;
   19099 int
   19100 main (void)
   19101 {
   19102 
   19103   ;
   19104   return 0;
   19105 }
   19106 _ACEOF
   19107 if ac_fn_c_try_link "$LINENO"
   19108 then :
   19109   eval $cacheid=yes
   19110 else case e in #(
   19111   e) eval $cacheid=no ;;
   19112 esac
   19113 fi
   19114 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19115     conftest$ac_exeext conftest.$ac_ext ;;
   19116 esac
   19117 fi
   19118 
   19119 
   19120 		CFLAGS="$xorg_testset_save_CFLAGS"
   19121 
   19122 		eval supported=\$$cacheid
   19123 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19124 printf "%s\n" "$supported" >&6; }
   19125 		if test "$supported" = "yes" ; then
   19126 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   19127 			found="yes"
   19128 		fi
   19129 	fi
   19130 
   19131 
   19132 
   19133 
   19134 
   19135 
   19136 
   19137 
   19138 
   19139 
   19140 
   19141 
   19142 
   19143 
   19144 
   19145 xorg_testset_save_CFLAGS="$CFLAGS"
   19146 
   19147 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19148 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19149 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19150 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19151 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19152 then :
   19153   printf %s "(cached) " >&6
   19154 else case e in #(
   19155   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19156 /* end confdefs.h.  */
   19157 int i;
   19158 _ACEOF
   19159 if ac_fn_c_try_compile "$LINENO"
   19160 then :
   19161   xorg_cv_cc_flag_unknown_warning_option=yes
   19162 else case e in #(
   19163   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19164 esac
   19165 fi
   19166 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19167 esac
   19168 fi
   19169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19170 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19171 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19172 	CFLAGS="$xorg_testset_save_CFLAGS"
   19173 fi
   19174 
   19175 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19176 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19177 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19178 	fi
   19179 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19180 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19181 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19182 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19183 then :
   19184   printf %s "(cached) " >&6
   19185 else case e in #(
   19186   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19187 /* end confdefs.h.  */
   19188 int i;
   19189 _ACEOF
   19190 if ac_fn_c_try_compile "$LINENO"
   19191 then :
   19192   xorg_cv_cc_flag_unused_command_line_argument=yes
   19193 else case e in #(
   19194   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19195 esac
   19196 fi
   19197 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19198 esac
   19199 fi
   19200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19201 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19202 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19203 	CFLAGS="$xorg_testset_save_CFLAGS"
   19204 fi
   19205 
   19206 found="no"
   19207 
   19208 	if test $found = "no" ; then
   19209 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19210 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19211 		fi
   19212 
   19213 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19214 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19215 		fi
   19216 
   19217 		CFLAGS="$CFLAGS -Wreturn-type"
   19218 
   19219 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   19220 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   19221 		cacheid=xorg_cv_cc_flag__Wreturn_type
   19222 		if eval test \${$cacheid+y}
   19223 then :
   19224   printf %s "(cached) " >&6
   19225 else case e in #(
   19226   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19227 /* end confdefs.h.  */
   19228 int i;
   19229 int
   19230 main (void)
   19231 {
   19232 
   19233   ;
   19234   return 0;
   19235 }
   19236 _ACEOF
   19237 if ac_fn_c_try_link "$LINENO"
   19238 then :
   19239   eval $cacheid=yes
   19240 else case e in #(
   19241   e) eval $cacheid=no ;;
   19242 esac
   19243 fi
   19244 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19245     conftest$ac_exeext conftest.$ac_ext ;;
   19246 esac
   19247 fi
   19248 
   19249 
   19250 		CFLAGS="$xorg_testset_save_CFLAGS"
   19251 
   19252 		eval supported=\$$cacheid
   19253 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19254 printf "%s\n" "$supported" >&6; }
   19255 		if test "$supported" = "yes" ; then
   19256 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   19257 			found="yes"
   19258 		fi
   19259 	fi
   19260 
   19261 
   19262 
   19263 
   19264 
   19265 
   19266 
   19267 
   19268 
   19269 
   19270 
   19271 
   19272 
   19273 
   19274 
   19275 xorg_testset_save_CFLAGS="$CFLAGS"
   19276 
   19277 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19278 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19279 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19280 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19281 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19282 then :
   19283   printf %s "(cached) " >&6
   19284 else case e in #(
   19285   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19286 /* end confdefs.h.  */
   19287 int i;
   19288 _ACEOF
   19289 if ac_fn_c_try_compile "$LINENO"
   19290 then :
   19291   xorg_cv_cc_flag_unknown_warning_option=yes
   19292 else case e in #(
   19293   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19294 esac
   19295 fi
   19296 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19297 esac
   19298 fi
   19299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19300 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19301 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19302 	CFLAGS="$xorg_testset_save_CFLAGS"
   19303 fi
   19304 
   19305 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19306 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19307 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19308 	fi
   19309 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19310 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19311 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19312 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19313 then :
   19314   printf %s "(cached) " >&6
   19315 else case e in #(
   19316   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19317 /* end confdefs.h.  */
   19318 int i;
   19319 _ACEOF
   19320 if ac_fn_c_try_compile "$LINENO"
   19321 then :
   19322   xorg_cv_cc_flag_unused_command_line_argument=yes
   19323 else case e in #(
   19324   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19325 esac
   19326 fi
   19327 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19328 esac
   19329 fi
   19330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19331 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19332 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19333 	CFLAGS="$xorg_testset_save_CFLAGS"
   19334 fi
   19335 
   19336 found="no"
   19337 
   19338 	if test $found = "no" ; then
   19339 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19340 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19341 		fi
   19342 
   19343 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19344 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19345 		fi
   19346 
   19347 		CFLAGS="$CFLAGS -Wtrigraphs"
   19348 
   19349 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   19350 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   19351 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   19352 		if eval test \${$cacheid+y}
   19353 then :
   19354   printf %s "(cached) " >&6
   19355 else case e in #(
   19356   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19357 /* end confdefs.h.  */
   19358 int i;
   19359 int
   19360 main (void)
   19361 {
   19362 
   19363   ;
   19364   return 0;
   19365 }
   19366 _ACEOF
   19367 if ac_fn_c_try_link "$LINENO"
   19368 then :
   19369   eval $cacheid=yes
   19370 else case e in #(
   19371   e) eval $cacheid=no ;;
   19372 esac
   19373 fi
   19374 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19375     conftest$ac_exeext conftest.$ac_ext ;;
   19376 esac
   19377 fi
   19378 
   19379 
   19380 		CFLAGS="$xorg_testset_save_CFLAGS"
   19381 
   19382 		eval supported=\$$cacheid
   19383 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19384 printf "%s\n" "$supported" >&6; }
   19385 		if test "$supported" = "yes" ; then
   19386 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   19387 			found="yes"
   19388 		fi
   19389 	fi
   19390 
   19391 
   19392 
   19393 
   19394 
   19395 
   19396 
   19397 
   19398 
   19399 
   19400 
   19401 
   19402 
   19403 
   19404 
   19405 xorg_testset_save_CFLAGS="$CFLAGS"
   19406 
   19407 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19408 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19409 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19410 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19411 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19412 then :
   19413   printf %s "(cached) " >&6
   19414 else case e in #(
   19415   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19416 /* end confdefs.h.  */
   19417 int i;
   19418 _ACEOF
   19419 if ac_fn_c_try_compile "$LINENO"
   19420 then :
   19421   xorg_cv_cc_flag_unknown_warning_option=yes
   19422 else case e in #(
   19423   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19424 esac
   19425 fi
   19426 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19427 esac
   19428 fi
   19429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19430 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19431 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19432 	CFLAGS="$xorg_testset_save_CFLAGS"
   19433 fi
   19434 
   19435 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19436 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19437 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19438 	fi
   19439 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19440 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19441 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19442 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19443 then :
   19444   printf %s "(cached) " >&6
   19445 else case e in #(
   19446   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19447 /* end confdefs.h.  */
   19448 int i;
   19449 _ACEOF
   19450 if ac_fn_c_try_compile "$LINENO"
   19451 then :
   19452   xorg_cv_cc_flag_unused_command_line_argument=yes
   19453 else case e in #(
   19454   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19455 esac
   19456 fi
   19457 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19458 esac
   19459 fi
   19460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19461 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19462 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19463 	CFLAGS="$xorg_testset_save_CFLAGS"
   19464 fi
   19465 
   19466 found="no"
   19467 
   19468 	if test $found = "no" ; then
   19469 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19470 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19471 		fi
   19472 
   19473 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19474 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19475 		fi
   19476 
   19477 		CFLAGS="$CFLAGS -Warray-bounds"
   19478 
   19479 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   19480 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   19481 		cacheid=xorg_cv_cc_flag__Warray_bounds
   19482 		if eval test \${$cacheid+y}
   19483 then :
   19484   printf %s "(cached) " >&6
   19485 else case e in #(
   19486   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19487 /* end confdefs.h.  */
   19488 int i;
   19489 int
   19490 main (void)
   19491 {
   19492 
   19493   ;
   19494   return 0;
   19495 }
   19496 _ACEOF
   19497 if ac_fn_c_try_link "$LINENO"
   19498 then :
   19499   eval $cacheid=yes
   19500 else case e in #(
   19501   e) eval $cacheid=no ;;
   19502 esac
   19503 fi
   19504 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19505     conftest$ac_exeext conftest.$ac_ext ;;
   19506 esac
   19507 fi
   19508 
   19509 
   19510 		CFLAGS="$xorg_testset_save_CFLAGS"
   19511 
   19512 		eval supported=\$$cacheid
   19513 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19514 printf "%s\n" "$supported" >&6; }
   19515 		if test "$supported" = "yes" ; then
   19516 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   19517 			found="yes"
   19518 		fi
   19519 	fi
   19520 
   19521 
   19522 
   19523 
   19524 
   19525 
   19526 
   19527 
   19528 
   19529 
   19530 
   19531 
   19532 
   19533 
   19534 
   19535 xorg_testset_save_CFLAGS="$CFLAGS"
   19536 
   19537 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19538 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19539 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19540 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19541 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19542 then :
   19543   printf %s "(cached) " >&6
   19544 else case e in #(
   19545   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19546 /* end confdefs.h.  */
   19547 int i;
   19548 _ACEOF
   19549 if ac_fn_c_try_compile "$LINENO"
   19550 then :
   19551   xorg_cv_cc_flag_unknown_warning_option=yes
   19552 else case e in #(
   19553   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19554 esac
   19555 fi
   19556 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19557 esac
   19558 fi
   19559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19560 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19561 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19562 	CFLAGS="$xorg_testset_save_CFLAGS"
   19563 fi
   19564 
   19565 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19566 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19567 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19568 	fi
   19569 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19570 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19571 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19572 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19573 then :
   19574   printf %s "(cached) " >&6
   19575 else case e in #(
   19576   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19577 /* end confdefs.h.  */
   19578 int i;
   19579 _ACEOF
   19580 if ac_fn_c_try_compile "$LINENO"
   19581 then :
   19582   xorg_cv_cc_flag_unused_command_line_argument=yes
   19583 else case e in #(
   19584   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19585 esac
   19586 fi
   19587 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19588 esac
   19589 fi
   19590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19591 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19592 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19593 	CFLAGS="$xorg_testset_save_CFLAGS"
   19594 fi
   19595 
   19596 found="no"
   19597 
   19598 	if test $found = "no" ; then
   19599 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19600 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19601 		fi
   19602 
   19603 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19604 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19605 		fi
   19606 
   19607 		CFLAGS="$CFLAGS -Wwrite-strings"
   19608 
   19609 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   19610 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   19611 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   19612 		if eval test \${$cacheid+y}
   19613 then :
   19614   printf %s "(cached) " >&6
   19615 else case e in #(
   19616   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19617 /* end confdefs.h.  */
   19618 int i;
   19619 int
   19620 main (void)
   19621 {
   19622 
   19623   ;
   19624   return 0;
   19625 }
   19626 _ACEOF
   19627 if ac_fn_c_try_link "$LINENO"
   19628 then :
   19629   eval $cacheid=yes
   19630 else case e in #(
   19631   e) eval $cacheid=no ;;
   19632 esac
   19633 fi
   19634 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19635     conftest$ac_exeext conftest.$ac_ext ;;
   19636 esac
   19637 fi
   19638 
   19639 
   19640 		CFLAGS="$xorg_testset_save_CFLAGS"
   19641 
   19642 		eval supported=\$$cacheid
   19643 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19644 printf "%s\n" "$supported" >&6; }
   19645 		if test "$supported" = "yes" ; then
   19646 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   19647 			found="yes"
   19648 		fi
   19649 	fi
   19650 
   19651 
   19652 
   19653 
   19654 
   19655 
   19656 
   19657 
   19658 
   19659 
   19660 
   19661 
   19662 
   19663 
   19664 
   19665 xorg_testset_save_CFLAGS="$CFLAGS"
   19666 
   19667 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19668 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19669 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19670 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19671 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19672 then :
   19673   printf %s "(cached) " >&6
   19674 else case e in #(
   19675   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19676 /* end confdefs.h.  */
   19677 int i;
   19678 _ACEOF
   19679 if ac_fn_c_try_compile "$LINENO"
   19680 then :
   19681   xorg_cv_cc_flag_unknown_warning_option=yes
   19682 else case e in #(
   19683   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19684 esac
   19685 fi
   19686 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19687 esac
   19688 fi
   19689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19690 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19691 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19692 	CFLAGS="$xorg_testset_save_CFLAGS"
   19693 fi
   19694 
   19695 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19696 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19697 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19698 	fi
   19699 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19700 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19701 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19702 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19703 then :
   19704   printf %s "(cached) " >&6
   19705 else case e in #(
   19706   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19707 /* end confdefs.h.  */
   19708 int i;
   19709 _ACEOF
   19710 if ac_fn_c_try_compile "$LINENO"
   19711 then :
   19712   xorg_cv_cc_flag_unused_command_line_argument=yes
   19713 else case e in #(
   19714   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19715 esac
   19716 fi
   19717 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19718 esac
   19719 fi
   19720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19721 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19722 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19723 	CFLAGS="$xorg_testset_save_CFLAGS"
   19724 fi
   19725 
   19726 found="no"
   19727 
   19728 	if test $found = "no" ; then
   19729 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19730 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19731 		fi
   19732 
   19733 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19734 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19735 		fi
   19736 
   19737 		CFLAGS="$CFLAGS -Waddress"
   19738 
   19739 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   19740 printf %s "checking if $CC supports -Waddress... " >&6; }
   19741 		cacheid=xorg_cv_cc_flag__Waddress
   19742 		if eval test \${$cacheid+y}
   19743 then :
   19744   printf %s "(cached) " >&6
   19745 else case e in #(
   19746   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19747 /* end confdefs.h.  */
   19748 int i;
   19749 int
   19750 main (void)
   19751 {
   19752 
   19753   ;
   19754   return 0;
   19755 }
   19756 _ACEOF
   19757 if ac_fn_c_try_link "$LINENO"
   19758 then :
   19759   eval $cacheid=yes
   19760 else case e in #(
   19761   e) eval $cacheid=no ;;
   19762 esac
   19763 fi
   19764 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19765     conftest$ac_exeext conftest.$ac_ext ;;
   19766 esac
   19767 fi
   19768 
   19769 
   19770 		CFLAGS="$xorg_testset_save_CFLAGS"
   19771 
   19772 		eval supported=\$$cacheid
   19773 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19774 printf "%s\n" "$supported" >&6; }
   19775 		if test "$supported" = "yes" ; then
   19776 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   19777 			found="yes"
   19778 		fi
   19779 	fi
   19780 
   19781 
   19782 
   19783 
   19784 
   19785 
   19786 
   19787 
   19788 
   19789 
   19790 
   19791 
   19792 
   19793 
   19794 
   19795 xorg_testset_save_CFLAGS="$CFLAGS"
   19796 
   19797 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19798 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19799 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19800 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19801 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19802 then :
   19803   printf %s "(cached) " >&6
   19804 else case e in #(
   19805   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19806 /* end confdefs.h.  */
   19807 int i;
   19808 _ACEOF
   19809 if ac_fn_c_try_compile "$LINENO"
   19810 then :
   19811   xorg_cv_cc_flag_unknown_warning_option=yes
   19812 else case e in #(
   19813   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19814 esac
   19815 fi
   19816 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19817 esac
   19818 fi
   19819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19820 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19821 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19822 	CFLAGS="$xorg_testset_save_CFLAGS"
   19823 fi
   19824 
   19825 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19826 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19827 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19828 	fi
   19829 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19830 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19831 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19832 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19833 then :
   19834   printf %s "(cached) " >&6
   19835 else case e in #(
   19836   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19837 /* end confdefs.h.  */
   19838 int i;
   19839 _ACEOF
   19840 if ac_fn_c_try_compile "$LINENO"
   19841 then :
   19842   xorg_cv_cc_flag_unused_command_line_argument=yes
   19843 else case e in #(
   19844   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19845 esac
   19846 fi
   19847 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19848 esac
   19849 fi
   19850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19851 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19852 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19853 	CFLAGS="$xorg_testset_save_CFLAGS"
   19854 fi
   19855 
   19856 found="no"
   19857 
   19858 	if test $found = "no" ; then
   19859 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19860 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19861 		fi
   19862 
   19863 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19864 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19865 		fi
   19866 
   19867 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   19868 
   19869 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   19870 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   19871 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   19872 		if eval test \${$cacheid+y}
   19873 then :
   19874   printf %s "(cached) " >&6
   19875 else case e in #(
   19876   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19877 /* end confdefs.h.  */
   19878 int i;
   19879 int
   19880 main (void)
   19881 {
   19882 
   19883   ;
   19884   return 0;
   19885 }
   19886 _ACEOF
   19887 if ac_fn_c_try_link "$LINENO"
   19888 then :
   19889   eval $cacheid=yes
   19890 else case e in #(
   19891   e) eval $cacheid=no ;;
   19892 esac
   19893 fi
   19894 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19895     conftest$ac_exeext conftest.$ac_ext ;;
   19896 esac
   19897 fi
   19898 
   19899 
   19900 		CFLAGS="$xorg_testset_save_CFLAGS"
   19901 
   19902 		eval supported=\$$cacheid
   19903 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19904 printf "%s\n" "$supported" >&6; }
   19905 		if test "$supported" = "yes" ; then
   19906 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   19907 			found="yes"
   19908 		fi
   19909 	fi
   19910 
   19911 
   19912 
   19913 
   19914 
   19915 
   19916 
   19917 
   19918 
   19919 
   19920 
   19921 
   19922 
   19923 
   19924 
   19925 xorg_testset_save_CFLAGS="$CFLAGS"
   19926 
   19927 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19928 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19929 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19930 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19931 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19932 then :
   19933   printf %s "(cached) " >&6
   19934 else case e in #(
   19935   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19936 /* end confdefs.h.  */
   19937 int i;
   19938 _ACEOF
   19939 if ac_fn_c_try_compile "$LINENO"
   19940 then :
   19941   xorg_cv_cc_flag_unknown_warning_option=yes
   19942 else case e in #(
   19943   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19944 esac
   19945 fi
   19946 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19947 esac
   19948 fi
   19949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19950 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19951 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19952 	CFLAGS="$xorg_testset_save_CFLAGS"
   19953 fi
   19954 
   19955 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19956 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19957 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19958 	fi
   19959 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19960 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19961 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19962 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19963 then :
   19964   printf %s "(cached) " >&6
   19965 else case e in #(
   19966   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19967 /* end confdefs.h.  */
   19968 int i;
   19969 _ACEOF
   19970 if ac_fn_c_try_compile "$LINENO"
   19971 then :
   19972   xorg_cv_cc_flag_unused_command_line_argument=yes
   19973 else case e in #(
   19974   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19975 esac
   19976 fi
   19977 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19978 esac
   19979 fi
   19980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19981 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19982 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19983 	CFLAGS="$xorg_testset_save_CFLAGS"
   19984 fi
   19985 
   19986 found="no"
   19987 
   19988 	if test $found = "no" ; then
   19989 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19990 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19991 		fi
   19992 
   19993 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19994 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19995 		fi
   19996 
   19997 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   19998 
   19999 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   20000 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   20001 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   20002 		if eval test \${$cacheid+y}
   20003 then :
   20004   printf %s "(cached) " >&6
   20005 else case e in #(
   20006   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20007 /* end confdefs.h.  */
   20008 int i;
   20009 int
   20010 main (void)
   20011 {
   20012 
   20013   ;
   20014   return 0;
   20015 }
   20016 _ACEOF
   20017 if ac_fn_c_try_link "$LINENO"
   20018 then :
   20019   eval $cacheid=yes
   20020 else case e in #(
   20021   e) eval $cacheid=no ;;
   20022 esac
   20023 fi
   20024 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20025     conftest$ac_exeext conftest.$ac_ext ;;
   20026 esac
   20027 fi
   20028 
   20029 
   20030 		CFLAGS="$xorg_testset_save_CFLAGS"
   20031 
   20032 		eval supported=\$$cacheid
   20033 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20034 printf "%s\n" "$supported" >&6; }
   20035 		if test "$supported" = "yes" ; then
   20036 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   20037 			found="yes"
   20038 		fi
   20039 	fi
   20040 
   20041 
   20042 fi
   20043 
   20044 
   20045 
   20046 
   20047 
   20048 
   20049 
   20050 		CWARNFLAGS="$BASE_CFLAGS"
   20051 		if  test "x$GCC" = xyes ; then
   20052 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   20053 		fi
   20054 
   20055 
   20056 
   20057 
   20058 
   20059 
   20060 
   20061 
   20062 # Check whether --enable-strict-compilation was given.
   20063 if test ${enable_strict_compilation+y}
   20064 then :
   20065   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   20066 else case e in #(
   20067   e) STRICT_COMPILE=no ;;
   20068 esac
   20069 fi
   20070 
   20071 
   20072 
   20073 
   20074 
   20075 
   20076 STRICT_CFLAGS=""
   20077 
   20078 
   20079 
   20080 
   20081 
   20082 
   20083 
   20084 
   20085 
   20086 
   20087 
   20088 
   20089 
   20090 xorg_testset_save_CFLAGS="$CFLAGS"
   20091 
   20092 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20093 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20094 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20095 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20096 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20097 then :
   20098   printf %s "(cached) " >&6
   20099 else case e in #(
   20100   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20101 /* end confdefs.h.  */
   20102 int i;
   20103 _ACEOF
   20104 if ac_fn_c_try_compile "$LINENO"
   20105 then :
   20106   xorg_cv_cc_flag_unknown_warning_option=yes
   20107 else case e in #(
   20108   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20109 esac
   20110 fi
   20111 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20112 esac
   20113 fi
   20114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20115 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20116 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20117 	CFLAGS="$xorg_testset_save_CFLAGS"
   20118 fi
   20119 
   20120 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20121 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20122 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20123 	fi
   20124 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20125 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20126 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20127 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20128 then :
   20129   printf %s "(cached) " >&6
   20130 else case e in #(
   20131   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20132 /* end confdefs.h.  */
   20133 int i;
   20134 _ACEOF
   20135 if ac_fn_c_try_compile "$LINENO"
   20136 then :
   20137   xorg_cv_cc_flag_unused_command_line_argument=yes
   20138 else case e in #(
   20139   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20140 esac
   20141 fi
   20142 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20143 esac
   20144 fi
   20145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20146 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20147 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20148 	CFLAGS="$xorg_testset_save_CFLAGS"
   20149 fi
   20150 
   20151 found="no"
   20152 
   20153 	if test $found = "no" ; then
   20154 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20155 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20156 		fi
   20157 
   20158 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20159 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20160 		fi
   20161 
   20162 		CFLAGS="$CFLAGS -pedantic"
   20163 
   20164 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   20165 printf %s "checking if $CC supports -pedantic... " >&6; }
   20166 		cacheid=xorg_cv_cc_flag__pedantic
   20167 		if eval test \${$cacheid+y}
   20168 then :
   20169   printf %s "(cached) " >&6
   20170 else case e in #(
   20171   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20172 /* end confdefs.h.  */
   20173 int i;
   20174 int
   20175 main (void)
   20176 {
   20177 
   20178   ;
   20179   return 0;
   20180 }
   20181 _ACEOF
   20182 if ac_fn_c_try_link "$LINENO"
   20183 then :
   20184   eval $cacheid=yes
   20185 else case e in #(
   20186   e) eval $cacheid=no ;;
   20187 esac
   20188 fi
   20189 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20190     conftest$ac_exeext conftest.$ac_ext ;;
   20191 esac
   20192 fi
   20193 
   20194 
   20195 		CFLAGS="$xorg_testset_save_CFLAGS"
   20196 
   20197 		eval supported=\$$cacheid
   20198 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20199 printf "%s\n" "$supported" >&6; }
   20200 		if test "$supported" = "yes" ; then
   20201 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   20202 			found="yes"
   20203 		fi
   20204 	fi
   20205 
   20206 
   20207 
   20208 
   20209 
   20210 
   20211 
   20212 
   20213 
   20214 
   20215 
   20216 
   20217 
   20218 
   20219 
   20220 xorg_testset_save_CFLAGS="$CFLAGS"
   20221 
   20222 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20223 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20224 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20225 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20226 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20227 then :
   20228   printf %s "(cached) " >&6
   20229 else case e in #(
   20230   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20231 /* end confdefs.h.  */
   20232 int i;
   20233 _ACEOF
   20234 if ac_fn_c_try_compile "$LINENO"
   20235 then :
   20236   xorg_cv_cc_flag_unknown_warning_option=yes
   20237 else case e in #(
   20238   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20239 esac
   20240 fi
   20241 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20242 esac
   20243 fi
   20244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20245 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20246 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20247 	CFLAGS="$xorg_testset_save_CFLAGS"
   20248 fi
   20249 
   20250 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20251 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20252 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20253 	fi
   20254 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20255 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20256 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20257 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20258 then :
   20259   printf %s "(cached) " >&6
   20260 else case e in #(
   20261   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20262 /* end confdefs.h.  */
   20263 int i;
   20264 _ACEOF
   20265 if ac_fn_c_try_compile "$LINENO"
   20266 then :
   20267   xorg_cv_cc_flag_unused_command_line_argument=yes
   20268 else case e in #(
   20269   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20270 esac
   20271 fi
   20272 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20273 esac
   20274 fi
   20275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20276 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20277 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20278 	CFLAGS="$xorg_testset_save_CFLAGS"
   20279 fi
   20280 
   20281 found="no"
   20282 
   20283 	if test $found = "no" ; then
   20284 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20285 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20286 		fi
   20287 
   20288 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20289 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20290 		fi
   20291 
   20292 		CFLAGS="$CFLAGS -Werror"
   20293 
   20294 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   20295 printf %s "checking if $CC supports -Werror... " >&6; }
   20296 		cacheid=xorg_cv_cc_flag__Werror
   20297 		if eval test \${$cacheid+y}
   20298 then :
   20299   printf %s "(cached) " >&6
   20300 else case e in #(
   20301   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20302 /* end confdefs.h.  */
   20303 int i;
   20304 int
   20305 main (void)
   20306 {
   20307 
   20308   ;
   20309   return 0;
   20310 }
   20311 _ACEOF
   20312 if ac_fn_c_try_link "$LINENO"
   20313 then :
   20314   eval $cacheid=yes
   20315 else case e in #(
   20316   e) eval $cacheid=no ;;
   20317 esac
   20318 fi
   20319 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20320     conftest$ac_exeext conftest.$ac_ext ;;
   20321 esac
   20322 fi
   20323 
   20324 
   20325 		CFLAGS="$xorg_testset_save_CFLAGS"
   20326 
   20327 		eval supported=\$$cacheid
   20328 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20329 printf "%s\n" "$supported" >&6; }
   20330 		if test "$supported" = "yes" ; then
   20331 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   20332 			found="yes"
   20333 		fi
   20334 	fi
   20335 
   20336 	if test $found = "no" ; then
   20337 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20338 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20339 		fi
   20340 
   20341 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20342 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20343 		fi
   20344 
   20345 		CFLAGS="$CFLAGS -errwarn"
   20346 
   20347 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   20348 printf %s "checking if $CC supports -errwarn... " >&6; }
   20349 		cacheid=xorg_cv_cc_flag__errwarn
   20350 		if eval test \${$cacheid+y}
   20351 then :
   20352   printf %s "(cached) " >&6
   20353 else case e in #(
   20354   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20355 /* end confdefs.h.  */
   20356 int i;
   20357 int
   20358 main (void)
   20359 {
   20360 
   20361   ;
   20362   return 0;
   20363 }
   20364 _ACEOF
   20365 if ac_fn_c_try_link "$LINENO"
   20366 then :
   20367   eval $cacheid=yes
   20368 else case e in #(
   20369   e) eval $cacheid=no ;;
   20370 esac
   20371 fi
   20372 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20373     conftest$ac_exeext conftest.$ac_ext ;;
   20374 esac
   20375 fi
   20376 
   20377 
   20378 		CFLAGS="$xorg_testset_save_CFLAGS"
   20379 
   20380 		eval supported=\$$cacheid
   20381 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20382 printf "%s\n" "$supported" >&6; }
   20383 		if test "$supported" = "yes" ; then
   20384 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   20385 			found="yes"
   20386 		fi
   20387 	fi
   20388 
   20389 
   20390 
   20391 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   20392 # activate it with -Werror, so we add it here explicitly.
   20393 
   20394 
   20395 
   20396 
   20397 
   20398 
   20399 
   20400 
   20401 
   20402 
   20403 
   20404 
   20405 
   20406 xorg_testset_save_CFLAGS="$CFLAGS"
   20407 
   20408 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20409 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20410 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20411 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20412 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20413 then :
   20414   printf %s "(cached) " >&6
   20415 else case e in #(
   20416   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20417 /* end confdefs.h.  */
   20418 int i;
   20419 _ACEOF
   20420 if ac_fn_c_try_compile "$LINENO"
   20421 then :
   20422   xorg_cv_cc_flag_unknown_warning_option=yes
   20423 else case e in #(
   20424   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20425 esac
   20426 fi
   20427 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20428 esac
   20429 fi
   20430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20431 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20432 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20433 	CFLAGS="$xorg_testset_save_CFLAGS"
   20434 fi
   20435 
   20436 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20437 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20438 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20439 	fi
   20440 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20441 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20442 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20443 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20444 then :
   20445   printf %s "(cached) " >&6
   20446 else case e in #(
   20447   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20448 /* end confdefs.h.  */
   20449 int i;
   20450 _ACEOF
   20451 if ac_fn_c_try_compile "$LINENO"
   20452 then :
   20453   xorg_cv_cc_flag_unused_command_line_argument=yes
   20454 else case e in #(
   20455   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20456 esac
   20457 fi
   20458 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20459 esac
   20460 fi
   20461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20462 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20463 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20464 	CFLAGS="$xorg_testset_save_CFLAGS"
   20465 fi
   20466 
   20467 found="no"
   20468 
   20469 	if test $found = "no" ; then
   20470 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20471 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20472 		fi
   20473 
   20474 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20475 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20476 		fi
   20477 
   20478 		CFLAGS="$CFLAGS -Werror=attributes"
   20479 
   20480 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   20481 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   20482 		cacheid=xorg_cv_cc_flag__Werror_attributes
   20483 		if eval test \${$cacheid+y}
   20484 then :
   20485   printf %s "(cached) " >&6
   20486 else case e in #(
   20487   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20488 /* end confdefs.h.  */
   20489 int i;
   20490 int
   20491 main (void)
   20492 {
   20493 
   20494   ;
   20495   return 0;
   20496 }
   20497 _ACEOF
   20498 if ac_fn_c_try_link "$LINENO"
   20499 then :
   20500   eval $cacheid=yes
   20501 else case e in #(
   20502   e) eval $cacheid=no ;;
   20503 esac
   20504 fi
   20505 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20506     conftest$ac_exeext conftest.$ac_ext ;;
   20507 esac
   20508 fi
   20509 
   20510 
   20511 		CFLAGS="$xorg_testset_save_CFLAGS"
   20512 
   20513 		eval supported=\$$cacheid
   20514 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20515 printf "%s\n" "$supported" >&6; }
   20516 		if test "$supported" = "yes" ; then
   20517 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   20518 			found="yes"
   20519 		fi
   20520 	fi
   20521 
   20522 
   20523 
   20524 if test "x$STRICT_COMPILE" = "xyes"; then
   20525     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   20526     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   20527 fi
   20528 
   20529 
   20530 
   20531 
   20532 
   20533 
   20534 
   20535 
   20536 cat >>confdefs.h <<_ACEOF
   20537 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   20538 _ACEOF
   20539 
   20540 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   20541 	if test "x$PVM" = "x"; then
   20542 		PVM="0"
   20543 	fi
   20544 
   20545 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   20546 
   20547 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   20548 	if test "x$PVP" = "x"; then
   20549 		PVP="0"
   20550 	fi
   20551 
   20552 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   20553 
   20554 
   20555 
   20556 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   20557 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   20558 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   20559 touch \$(top_srcdir)/ChangeLog; \
   20560 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   20561 
   20562 
   20563 
   20564 
   20565 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   20566 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   20567 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   20568 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   20569 touch \$(top_srcdir)/INSTALL; \
   20570 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   20571 
   20572 
   20573 
   20574 
   20575 
   20576 
   20577 case $host_os in
   20578     solaris*)
   20579         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   20580         # check for a man page file found in later versions that use
   20581         # traditional section numbers instead
   20582         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   20583 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   20584 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   20585 then :
   20586   printf %s "(cached) " >&6
   20587 else case e in #(
   20588   e) test "$cross_compiling" = yes &&
   20589   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   20590 if test -r "/usr/share/man/man7/attributes.7"; then
   20591   ac_cv_file__usr_share_man_man7_attributes_7=yes
   20592 else
   20593   ac_cv_file__usr_share_man_man7_attributes_7=no
   20594 fi ;;
   20595 esac
   20596 fi
   20597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   20598 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   20599 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   20600 then :
   20601   SYSV_MAN_SECTIONS=false
   20602 else case e in #(
   20603   e) SYSV_MAN_SECTIONS=true ;;
   20604 esac
   20605 fi
   20606 
   20607         ;;
   20608     *) SYSV_MAN_SECTIONS=false ;;
   20609 esac
   20610 
   20611 if test x$APP_MAN_SUFFIX = x    ; then
   20612     APP_MAN_SUFFIX=1
   20613 fi
   20614 if test x$APP_MAN_DIR = x    ; then
   20615     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   20616 fi
   20617 
   20618 if test x$LIB_MAN_SUFFIX = x    ; then
   20619     LIB_MAN_SUFFIX=3
   20620 fi
   20621 if test x$LIB_MAN_DIR = x    ; then
   20622     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   20623 fi
   20624 
   20625 if test x$FILE_MAN_SUFFIX = x    ; then
   20626     case $SYSV_MAN_SECTIONS in
   20627 	true)				FILE_MAN_SUFFIX=4  ;;
   20628 	*)				FILE_MAN_SUFFIX=5  ;;
   20629     esac
   20630 fi
   20631 if test x$FILE_MAN_DIR = x    ; then
   20632     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   20633 fi
   20634 
   20635 if test x$MISC_MAN_SUFFIX = x    ; then
   20636     case $SYSV_MAN_SECTIONS in
   20637 	true)				MISC_MAN_SUFFIX=5  ;;
   20638 	*)				MISC_MAN_SUFFIX=7  ;;
   20639     esac
   20640 fi
   20641 if test x$MISC_MAN_DIR = x    ; then
   20642     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   20643 fi
   20644 
   20645 if test x$DRIVER_MAN_SUFFIX = x    ; then
   20646     case $SYSV_MAN_SECTIONS in
   20647 	true)				DRIVER_MAN_SUFFIX=7  ;;
   20648 	*)				DRIVER_MAN_SUFFIX=4  ;;
   20649     esac
   20650 fi
   20651 if test x$DRIVER_MAN_DIR = x    ; then
   20652     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   20653 fi
   20654 
   20655 if test x$ADMIN_MAN_SUFFIX = x    ; then
   20656     case $SYSV_MAN_SECTIONS in
   20657 	true)				ADMIN_MAN_SUFFIX=1m ;;
   20658 	*)				ADMIN_MAN_SUFFIX=8  ;;
   20659     esac
   20660 fi
   20661 if test x$ADMIN_MAN_DIR = x    ; then
   20662     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   20663 fi
   20664 
   20665 
   20666 
   20667 
   20668 
   20669 
   20670 
   20671 
   20672 
   20673 
   20674 
   20675 
   20676 
   20677 
   20678 
   20679 XORG_MAN_PAGE="X Version 11"
   20680 
   20681 MAN_SUBSTS="\
   20682 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   20683 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   20684 	-e 's|__xservername__|Xorg|g' \
   20685 	-e 's|__xconfigfile__|xorg.conf|g' \
   20686 	-e 's|__projectroot__|\$(prefix)|g' \
   20687 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   20688 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   20689 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   20690 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   20691 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   20692 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   20693 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   20694 
   20695 
   20696 
   20697 
   20698 AM_DEFAULT_VERBOSITY=0
   20699 
   20700 
   20701 
   20702 
   20703 # Check whether --enable-docs was given.
   20704 if test ${enable_docs+y}
   20705 then :
   20706   enableval=$enable_docs; build_docs=$enableval
   20707 else case e in #(
   20708   e) build_docs=yes ;;
   20709 esac
   20710 fi
   20711 
   20712 
   20713  if test x$build_docs = xyes; then
   20714   ENABLE_DOCS_TRUE=
   20715   ENABLE_DOCS_FALSE='#'
   20716 else
   20717   ENABLE_DOCS_TRUE='#'
   20718   ENABLE_DOCS_FALSE=
   20719 fi
   20720 
   20721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
   20722 printf %s "checking whether to build documentation... " >&6; }
   20723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $build_docs" >&5
   20724 printf "%s\n" "$build_docs" >&6; }
   20725 
   20726 
   20727 
   20728 # Check whether --enable-specs was given.
   20729 if test ${enable_specs+y}
   20730 then :
   20731   enableval=$enable_specs; build_specs=$enableval
   20732 else case e in #(
   20733   e) build_specs=yes ;;
   20734 esac
   20735 fi
   20736 
   20737 
   20738  if test x$build_specs = xyes; then
   20739   ENABLE_SPECS_TRUE=
   20740   ENABLE_SPECS_FALSE='#'
   20741 else
   20742   ENABLE_SPECS_TRUE='#'
   20743   ENABLE_SPECS_FALSE=
   20744 fi
   20745 
   20746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build functional specifications" >&5
   20747 printf %s "checking whether to build functional specifications... " >&6; }
   20748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $build_specs" >&5
   20749 printf "%s\n" "$build_specs" >&6; }
   20750 
   20751 
   20752 
   20753 
   20754 
   20755 # Check whether --with-xmlto was given.
   20756 if test ${with_xmlto+y}
   20757 then :
   20758   withval=$with_xmlto; use_xmlto=$withval
   20759 else case e in #(
   20760   e) use_xmlto=auto ;;
   20761 esac
   20762 fi
   20763 
   20764 
   20765 
   20766 if test "x$use_xmlto" = x"auto"; then
   20767    # Extract the first word of "xmlto", so it can be a program name with args.
   20768 set dummy xmlto; ac_word=$2
   20769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20770 printf %s "checking for $ac_word... " >&6; }
   20771 if test ${ac_cv_path_XMLTO+y}
   20772 then :
   20773   printf %s "(cached) " >&6
   20774 else case e in #(
   20775   e) case $XMLTO in
   20776   [\\/]* | ?:[\\/]*)
   20777   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   20778   ;;
   20779   *)
   20780   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20781 for as_dir in $PATH
   20782 do
   20783   IFS=$as_save_IFS
   20784   case $as_dir in #(((
   20785     '') as_dir=./ ;;
   20786     */) ;;
   20787     *) as_dir=$as_dir/ ;;
   20788   esac
   20789     for ac_exec_ext in '' $ac_executable_extensions; do
   20790   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20791     ac_cv_path_XMLTO="$as_dir$ac_word$ac_exec_ext"
   20792     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20793     break 2
   20794   fi
   20795 done
   20796   done
   20797 IFS=$as_save_IFS
   20798 
   20799   ;;
   20800 esac ;;
   20801 esac
   20802 fi
   20803 XMLTO=$ac_cv_path_XMLTO
   20804 if test -n "$XMLTO"; then
   20805   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   20806 printf "%s\n" "$XMLTO" >&6; }
   20807 else
   20808   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20809 printf "%s\n" "no" >&6; }
   20810 fi
   20811 
   20812 
   20813    if test "x$XMLTO" = "x"; then
   20814         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
   20815 printf "%s\n" "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   20816 	have_xmlto=no
   20817    else
   20818         have_xmlto=yes
   20819    fi
   20820 elif test "x$use_xmlto" = x"yes" ; then
   20821    # Extract the first word of "xmlto", so it can be a program name with args.
   20822 set dummy xmlto; ac_word=$2
   20823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20824 printf %s "checking for $ac_word... " >&6; }
   20825 if test ${ac_cv_path_XMLTO+y}
   20826 then :
   20827   printf %s "(cached) " >&6
   20828 else case e in #(
   20829   e) case $XMLTO in
   20830   [\\/]* | ?:[\\/]*)
   20831   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   20832   ;;
   20833   *)
   20834   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20835 for as_dir in $PATH
   20836 do
   20837   IFS=$as_save_IFS
   20838   case $as_dir in #(((
   20839     '') as_dir=./ ;;
   20840     */) ;;
   20841     *) as_dir=$as_dir/ ;;
   20842   esac
   20843     for ac_exec_ext in '' $ac_executable_extensions; do
   20844   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20845     ac_cv_path_XMLTO="$as_dir$ac_word$ac_exec_ext"
   20846     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20847     break 2
   20848   fi
   20849 done
   20850   done
   20851 IFS=$as_save_IFS
   20852 
   20853   ;;
   20854 esac ;;
   20855 esac
   20856 fi
   20857 XMLTO=$ac_cv_path_XMLTO
   20858 if test -n "$XMLTO"; then
   20859   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   20860 printf "%s\n" "$XMLTO" >&6; }
   20861 else
   20862   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20863 printf "%s\n" "no" >&6; }
   20864 fi
   20865 
   20866 
   20867    if test "x$XMLTO" = "x"; then
   20868         as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
   20869    fi
   20870    have_xmlto=yes
   20871 elif test "x$use_xmlto" = x"no" ; then
   20872    if test "x$XMLTO" != "x"; then
   20873       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   20874 printf "%s\n" "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   20875    fi
   20876    have_xmlto=no
   20877 else
   20878    as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
   20879 fi
   20880 
   20881 # Test for a minimum version of xmlto, if provided.
   20882 if test "$have_xmlto" = yes; then
   20883     # scrape the xmlto version
   20884     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
   20885 printf %s "checking the xmlto version... " >&6; }
   20886     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   20887     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
   20888 printf "%s\n" "$xmlto_version" >&6; }
   20889     as_arg_v1=$xmlto_version
   20890 as_arg_v2=0.0.22
   20891 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   20892 case $? in #(
   20893   1) :
   20894     if test "x$use_xmlto" = xauto; then
   20895             { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&5
   20896 printf "%s\n" "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&2;}
   20897             have_xmlto=no
   20898         else
   20899             as_fn_error $? "xmlto version $xmlto_version found, but 0.0.22 needed" "$LINENO" 5
   20900         fi ;; #(
   20901   0) :
   20902      ;; #(
   20903   2) :
   20904      ;; #(
   20905   *) :
   20906      ;;
   20907 esac
   20908 fi
   20909 
   20910 # Test for the ability of xmlto to generate a text target
   20911 #
   20912 # NOTE: xmlto 0.0.27 or higher return a non-zero return code in the
   20913 # following test for empty XML docbook files.
   20914 # For compatibility reasons use the following empty XML docbook file and if
   20915 # it fails try it again with a non-empty XML file.
   20916 have_xmlto_text=no
   20917 cat > conftest.xml << "EOF"
   20918 EOF
   20919 if test "$have_xmlto" = yes
   20920 then :
   20921   if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1
   20922 then :
   20923   have_xmlto_text=yes
   20924 else case e in #(
   20925   e) # Try it again with a non-empty XML file.
   20926               cat > conftest.xml << "EOF"
   20927 <x></x>
   20928 EOF
   20929               if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1
   20930 then :
   20931   have_xmlto_text=yes
   20932 else case e in #(
   20933   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
   20934 printf "%s\n" "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;} ;;
   20935 esac
   20936 fi ;;
   20937 esac
   20938 fi
   20939 fi
   20940 rm -f conftest.xml
   20941  if test $have_xmlto_text = yes; then
   20942   HAVE_XMLTO_TEXT_TRUE=
   20943   HAVE_XMLTO_TEXT_FALSE='#'
   20944 else
   20945   HAVE_XMLTO_TEXT_TRUE='#'
   20946   HAVE_XMLTO_TEXT_FALSE=
   20947 fi
   20948 
   20949  if test "$have_xmlto" = yes; then
   20950   HAVE_XMLTO_TRUE=
   20951   HAVE_XMLTO_FALSE='#'
   20952 else
   20953   HAVE_XMLTO_TRUE='#'
   20954   HAVE_XMLTO_FALSE=
   20955 fi
   20956 
   20957 
   20958 
   20959 
   20960 
   20961 
   20962 # Check whether --with-fop was given.
   20963 if test ${with_fop+y}
   20964 then :
   20965   withval=$with_fop; use_fop=$withval
   20966 else case e in #(
   20967   e) use_fop=auto ;;
   20968 esac
   20969 fi
   20970 
   20971 
   20972 
   20973 if test "x$use_fop" = x"auto"; then
   20974    # Extract the first word of "fop", so it can be a program name with args.
   20975 set dummy fop; ac_word=$2
   20976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20977 printf %s "checking for $ac_word... " >&6; }
   20978 if test ${ac_cv_path_FOP+y}
   20979 then :
   20980   printf %s "(cached) " >&6
   20981 else case e in #(
   20982   e) case $FOP in
   20983   [\\/]* | ?:[\\/]*)
   20984   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   20985   ;;
   20986   *)
   20987   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20988 for as_dir in $PATH
   20989 do
   20990   IFS=$as_save_IFS
   20991   case $as_dir in #(((
   20992     '') as_dir=./ ;;
   20993     */) ;;
   20994     *) as_dir=$as_dir/ ;;
   20995   esac
   20996     for ac_exec_ext in '' $ac_executable_extensions; do
   20997   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20998     ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
   20999     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21000     break 2
   21001   fi
   21002 done
   21003   done
   21004 IFS=$as_save_IFS
   21005 
   21006   ;;
   21007 esac ;;
   21008 esac
   21009 fi
   21010 FOP=$ac_cv_path_FOP
   21011 if test -n "$FOP"; then
   21012   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   21013 printf "%s\n" "$FOP" >&6; }
   21014 else
   21015   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21016 printf "%s\n" "no" >&6; }
   21017 fi
   21018 
   21019 
   21020    if test "x$FOP" = "x"; then
   21021         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
   21022 printf "%s\n" "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
   21023 	have_fop=no
   21024    else
   21025         have_fop=yes
   21026    fi
   21027 elif test "x$use_fop" = x"yes" ; then
   21028    # Extract the first word of "fop", so it can be a program name with args.
   21029 set dummy fop; ac_word=$2
   21030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21031 printf %s "checking for $ac_word... " >&6; }
   21032 if test ${ac_cv_path_FOP+y}
   21033 then :
   21034   printf %s "(cached) " >&6
   21035 else case e in #(
   21036   e) case $FOP in
   21037   [\\/]* | ?:[\\/]*)
   21038   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   21039   ;;
   21040   *)
   21041   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21042 for as_dir in $PATH
   21043 do
   21044   IFS=$as_save_IFS
   21045   case $as_dir in #(((
   21046     '') as_dir=./ ;;
   21047     */) ;;
   21048     *) as_dir=$as_dir/ ;;
   21049   esac
   21050     for ac_exec_ext in '' $ac_executable_extensions; do
   21051   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21052     ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
   21053     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21054     break 2
   21055   fi
   21056 done
   21057   done
   21058 IFS=$as_save_IFS
   21059 
   21060   ;;
   21061 esac ;;
   21062 esac
   21063 fi
   21064 FOP=$ac_cv_path_FOP
   21065 if test -n "$FOP"; then
   21066   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   21067 printf "%s\n" "$FOP" >&6; }
   21068 else
   21069   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21070 printf "%s\n" "no" >&6; }
   21071 fi
   21072 
   21073 
   21074    if test "x$FOP" = "x"; then
   21075         as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
   21076    fi
   21077    have_fop=yes
   21078 elif test "x$use_fop" = x"no" ; then
   21079    if test "x$FOP" != "x"; then
   21080       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
   21081 printf "%s\n" "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
   21082    fi
   21083    have_fop=no
   21084 else
   21085    as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
   21086 fi
   21087 
   21088 # Test for a minimum version of fop, if provided.
   21089 
   21090  if test "$have_fop" = yes; then
   21091   HAVE_FOP_TRUE=
   21092   HAVE_FOP_FALSE='#'
   21093 else
   21094   HAVE_FOP_TRUE='#'
   21095   HAVE_FOP_FALSE=
   21096 fi
   21097 
   21098 
   21099 
   21100 
   21101 # Preserves the interface, should it be implemented later
   21102 
   21103 
   21104 
   21105 # Check whether --with-xsltproc was given.
   21106 if test ${with_xsltproc+y}
   21107 then :
   21108   withval=$with_xsltproc; use_xsltproc=$withval
   21109 else case e in #(
   21110   e) use_xsltproc=auto ;;
   21111 esac
   21112 fi
   21113 
   21114 
   21115 
   21116 if test "x$use_xsltproc" = x"auto"; then
   21117    # Extract the first word of "xsltproc", so it can be a program name with args.
   21118 set dummy xsltproc; ac_word=$2
   21119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21120 printf %s "checking for $ac_word... " >&6; }
   21121 if test ${ac_cv_path_XSLTPROC+y}
   21122 then :
   21123   printf %s "(cached) " >&6
   21124 else case e in #(
   21125   e) case $XSLTPROC in
   21126   [\\/]* | ?:[\\/]*)
   21127   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   21128   ;;
   21129   *)
   21130   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21131 for as_dir in $PATH
   21132 do
   21133   IFS=$as_save_IFS
   21134   case $as_dir in #(((
   21135     '') as_dir=./ ;;
   21136     */) ;;
   21137     *) as_dir=$as_dir/ ;;
   21138   esac
   21139     for ac_exec_ext in '' $ac_executable_extensions; do
   21140   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21141     ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext"
   21142     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21143     break 2
   21144   fi
   21145 done
   21146   done
   21147 IFS=$as_save_IFS
   21148 
   21149   ;;
   21150 esac ;;
   21151 esac
   21152 fi
   21153 XSLTPROC=$ac_cv_path_XSLTPROC
   21154 if test -n "$XSLTPROC"; then
   21155   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   21156 printf "%s\n" "$XSLTPROC" >&6; }
   21157 else
   21158   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21159 printf "%s\n" "no" >&6; }
   21160 fi
   21161 
   21162 
   21163    if test "x$XSLTPROC" = "x"; then
   21164         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xsltproc not found - cannot transform XML documents" >&5
   21165 printf "%s\n" "$as_me: WARNING: xsltproc not found - cannot transform XML documents" >&2;}
   21166 	have_xsltproc=no
   21167    else
   21168         have_xsltproc=yes
   21169    fi
   21170 elif test "x$use_xsltproc" = x"yes" ; then
   21171    # Extract the first word of "xsltproc", so it can be a program name with args.
   21172 set dummy xsltproc; ac_word=$2
   21173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21174 printf %s "checking for $ac_word... " >&6; }
   21175 if test ${ac_cv_path_XSLTPROC+y}
   21176 then :
   21177   printf %s "(cached) " >&6
   21178 else case e in #(
   21179   e) case $XSLTPROC in
   21180   [\\/]* | ?:[\\/]*)
   21181   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   21182   ;;
   21183   *)
   21184   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21185 for as_dir in $PATH
   21186 do
   21187   IFS=$as_save_IFS
   21188   case $as_dir in #(((
   21189     '') as_dir=./ ;;
   21190     */) ;;
   21191     *) as_dir=$as_dir/ ;;
   21192   esac
   21193     for ac_exec_ext in '' $ac_executable_extensions; do
   21194   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21195     ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext"
   21196     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21197     break 2
   21198   fi
   21199 done
   21200   done
   21201 IFS=$as_save_IFS
   21202 
   21203   ;;
   21204 esac ;;
   21205 esac
   21206 fi
   21207 XSLTPROC=$ac_cv_path_XSLTPROC
   21208 if test -n "$XSLTPROC"; then
   21209   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   21210 printf "%s\n" "$XSLTPROC" >&6; }
   21211 else
   21212   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21213 printf "%s\n" "no" >&6; }
   21214 fi
   21215 
   21216 
   21217    if test "x$XSLTPROC" = "x"; then
   21218         as_fn_error $? "--with-xsltproc=yes specified but xsltproc not found in PATH" "$LINENO" 5
   21219    fi
   21220    have_xsltproc=yes
   21221 elif test "x$use_xsltproc" = x"no" ; then
   21222    if test "x$XSLTPROC" != "x"; then
   21223       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&5
   21224 printf "%s\n" "$as_me: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&2;}
   21225    fi
   21226    have_xsltproc=no
   21227 else
   21228    as_fn_error $? "--with-xsltproc expects 'yes' or 'no'" "$LINENO" 5
   21229 fi
   21230 
   21231  if test "$have_xsltproc" = yes; then
   21232   HAVE_XSLTPROC_TRUE=
   21233   HAVE_XSLTPROC_FALSE='#'
   21234 else
   21235   HAVE_XSLTPROC_TRUE='#'
   21236   HAVE_XSLTPROC_FALSE=
   21237 fi
   21238 
   21239 
   21240 
   21241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.8" >&5
   21242 printf %s "checking for X.Org SGML entities >= 1.8... " >&6; }
   21243 XORG_SGML_PATH=
   21244 if test -n "$PKG_CONFIG" && \
   21245     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.8\""; } >&5
   21246   ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.8") 2>&5
   21247   ac_status=$?
   21248   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21249   test $ac_status = 0; }; then
   21250   XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
   21251 else
   21252   :
   21253 
   21254 fi
   21255 
   21256 # Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
   21257 # the path and the name of the doc stylesheet
   21258 if test "x$XORG_SGML_PATH" != "x" ; then
   21259    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
   21260 printf "%s\n" "$XORG_SGML_PATH" >&6; }
   21261    STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
   21262    XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
   21263 else
   21264    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21265 printf "%s\n" "no" >&6; }
   21266 fi
   21267 
   21268 
   21269 
   21270 
   21271  if test "x$XSL_STYLESHEET" != "x"; then
   21272   HAVE_STYLESHEETS_TRUE=
   21273   HAVE_STYLESHEETS_FALSE='#'
   21274 else
   21275   HAVE_STYLESHEETS_TRUE='#'
   21276   HAVE_STYLESHEETS_FALSE=
   21277 fi
   21278 
   21279 
   21280 
   21281 # Obtain compiler/linker options for dependencies
   21282 
   21283 pkg_failed=no
   21284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ICE" >&5
   21285 printf %s "checking for ICE... " >&6; }
   21286 
   21287 if test -n "$ICE_CFLAGS"; then
   21288     pkg_cv_ICE_CFLAGS="$ICE_CFLAGS"
   21289  elif test -n "$PKG_CONFIG"; then
   21290     if test -n "$PKG_CONFIG" && \
   21291     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.25 xtrans\""; } >&5
   21292   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.25 xtrans") 2>&5
   21293   ac_status=$?
   21294   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21295   test $ac_status = 0; }; then
   21296   pkg_cv_ICE_CFLAGS=`$PKG_CONFIG --cflags "xproto >= 7.0.25 xtrans" 2>/dev/null`
   21297 		      test "x$?" != "x0" && pkg_failed=yes
   21298 else
   21299   pkg_failed=yes
   21300 fi
   21301  else
   21302     pkg_failed=untried
   21303 fi
   21304 if test -n "$ICE_LIBS"; then
   21305     pkg_cv_ICE_LIBS="$ICE_LIBS"
   21306  elif test -n "$PKG_CONFIG"; then
   21307     if test -n "$PKG_CONFIG" && \
   21308     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.25 xtrans\""; } >&5
   21309   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.25 xtrans") 2>&5
   21310   ac_status=$?
   21311   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21312   test $ac_status = 0; }; then
   21313   pkg_cv_ICE_LIBS=`$PKG_CONFIG --libs "xproto >= 7.0.25 xtrans" 2>/dev/null`
   21314 		      test "x$?" != "x0" && pkg_failed=yes
   21315 else
   21316   pkg_failed=yes
   21317 fi
   21318  else
   21319     pkg_failed=untried
   21320 fi
   21321 
   21322 
   21323 
   21324 if test $pkg_failed = yes; then
   21325    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21326 printf "%s\n" "no" >&6; }
   21327 
   21328 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21329         _pkg_short_errors_supported=yes
   21330 else
   21331         _pkg_short_errors_supported=no
   21332 fi
   21333         if test $_pkg_short_errors_supported = yes; then
   21334 	        ICE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xproto >= 7.0.25 xtrans" 2>&1`
   21335         else
   21336 	        ICE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xproto >= 7.0.25 xtrans" 2>&1`
   21337         fi
   21338 	# Put the nasty error message in config.log where it belongs
   21339 	echo "$ICE_PKG_ERRORS" >&5
   21340 
   21341 	as_fn_error $? "Package requirements (xproto >= 7.0.25 xtrans) were not met:
   21342 
   21343 $ICE_PKG_ERRORS
   21344 
   21345 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21346 installed software in a non-standard prefix.
   21347 
   21348 Alternatively, you may set the environment variables ICE_CFLAGS
   21349 and ICE_LIBS to avoid the need to call pkg-config.
   21350 See the pkg-config man page for more details." "$LINENO" 5
   21351 elif test $pkg_failed = untried; then
   21352      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21353 printf "%s\n" "no" >&6; }
   21354 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   21355 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   21356 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   21357 is in your PATH or set the PKG_CONFIG environment variable to the full
   21358 path to pkg-config.
   21359 
   21360 Alternatively, you may set the environment variables ICE_CFLAGS
   21361 and ICE_LIBS to avoid the need to call pkg-config.
   21362 See the pkg-config man page for more details.
   21363 
   21364 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21365 See 'config.log' for more details" "$LINENO" 5; }
   21366 else
   21367 	ICE_CFLAGS=$pkg_cv_ICE_CFLAGS
   21368 	ICE_LIBS=$pkg_cv_ICE_LIBS
   21369         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21370 printf "%s\n" "yes" >&6; }
   21371 
   21372 fi
   21373 
   21374 # Checks for typedefs, structures, and compiler characteristics.
   21375 # Check whether --enable-largefile was given.
   21376 if test ${enable_largefile+y}
   21377 then :
   21378   enableval=$enable_largefile;
   21379 fi
   21380 if test "$enable_largefile,$enable_year2038" != no,no
   21381 then :
   21382   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable large file support" >&5
   21383 printf %s "checking for $CC option to enable large file support... " >&6; }
   21384 if test ${ac_cv_sys_largefile_opts+y}
   21385 then :
   21386   printf %s "(cached) " >&6
   21387 else case e in #(
   21388   e) ac_save_CC="$CC"
   21389   ac_opt_found=no
   21390   for ac_opt in "none needed" "-D_FILE_OFFSET_BITS=64" "-D_LARGE_FILES=1" "-n32"; do
   21391     if test x"$ac_opt" != x"none needed"
   21392 then :
   21393   CC="$ac_save_CC $ac_opt"
   21394 fi
   21395     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21396 /* end confdefs.h.  */
   21397 #include <sys/types.h>
   21398 #ifndef FTYPE
   21399 # define FTYPE off_t
   21400 #endif
   21401  /* Check that FTYPE can represent 2**63 - 1 correctly.
   21402     We can't simply define LARGE_FTYPE to be 9223372036854775807,
   21403     since some C++ compilers masquerading as C compilers
   21404     incorrectly reject 9223372036854775807.  */
   21405 #define LARGE_FTYPE (((FTYPE) 1 << 31 << 31) - 1 + ((FTYPE) 1 << 31 << 31))
   21406   int FTYPE_is_large[(LARGE_FTYPE % 2147483629 == 721
   21407 		       && LARGE_FTYPE % 2147483647 == 1)
   21408 		      ? 1 : -1];
   21409 int
   21410 main (void)
   21411 {
   21412 
   21413   ;
   21414   return 0;
   21415 }
   21416 _ACEOF
   21417 if ac_fn_c_try_compile "$LINENO"
   21418 then :
   21419   if test x"$ac_opt" = x"none needed"
   21420 then :
   21421   # GNU/Linux s390x and alpha need _FILE_OFFSET_BITS=64 for wide ino_t.
   21422 	 CC="$CC -DFTYPE=ino_t"
   21423 	 if ac_fn_c_try_compile "$LINENO"
   21424 then :
   21425 
   21426 else case e in #(
   21427   e) CC="$CC -D_FILE_OFFSET_BITS=64"
   21428 	    if ac_fn_c_try_compile "$LINENO"
   21429 then :
   21430   ac_opt='-D_FILE_OFFSET_BITS=64'
   21431 fi
   21432 rm -f core conftest.err conftest.$ac_objext conftest.beam ;;
   21433 esac
   21434 fi
   21435 rm -f core conftest.err conftest.$ac_objext conftest.beam
   21436 fi
   21437       ac_cv_sys_largefile_opts=$ac_opt
   21438       ac_opt_found=yes
   21439 fi
   21440 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   21441     test $ac_opt_found = no || break
   21442   done
   21443   CC="$ac_save_CC"
   21444 
   21445   test $ac_opt_found = yes || ac_cv_sys_largefile_opts="support not detected" ;;
   21446 esac
   21447 fi
   21448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_opts" >&5
   21449 printf "%s\n" "$ac_cv_sys_largefile_opts" >&6; }
   21450 
   21451 ac_have_largefile=yes
   21452 case $ac_cv_sys_largefile_opts in #(
   21453   "none needed") :
   21454      ;; #(
   21455   "supported through gnulib") :
   21456      ;; #(
   21457   "support not detected") :
   21458     ac_have_largefile=no ;; #(
   21459   "-D_FILE_OFFSET_BITS=64") :
   21460 
   21461 printf "%s\n" "#define _FILE_OFFSET_BITS 64" >>confdefs.h
   21462  ;; #(
   21463   "-D_LARGE_FILES=1") :
   21464 
   21465 printf "%s\n" "#define _LARGE_FILES 1" >>confdefs.h
   21466  ;; #(
   21467   "-n32") :
   21468     CC="$CC -n32" ;; #(
   21469   *) :
   21470     as_fn_error $? "internal error: bad value for \$ac_cv_sys_largefile_opts" "$LINENO" 5 ;;
   21471 esac
   21472 
   21473 if test "$enable_year2038" != no
   21474 then :
   21475   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option for timestamps after 2038" >&5
   21476 printf %s "checking for $CC option for timestamps after 2038... " >&6; }
   21477 if test ${ac_cv_sys_year2038_opts+y}
   21478 then :
   21479   printf %s "(cached) " >&6
   21480 else case e in #(
   21481   e) ac_save_CPPFLAGS="$CPPFLAGS"
   21482   ac_opt_found=no
   21483   for ac_opt in "none needed" "-D_TIME_BITS=64" "-D__MINGW_USE_VC2005_COMPAT" "-U_USE_32_BIT_TIME_T -D__MINGW_USE_VC2005_COMPAT"; do
   21484     if test x"$ac_opt" != x"none needed"
   21485 then :
   21486   CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"
   21487 fi
   21488     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21489 /* end confdefs.h.  */
   21490 
   21491   #include <time.h>
   21492   /* Check that time_t can represent 2**32 - 1 correctly.  */
   21493   #define LARGE_TIME_T \\
   21494     ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30)))
   21495   int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535
   21496                            && LARGE_TIME_T % 65537 == 0)
   21497                           ? 1 : -1];
   21498 
   21499 int
   21500 main (void)
   21501 {
   21502 
   21503   ;
   21504   return 0;
   21505 }
   21506 _ACEOF
   21507 if ac_fn_c_try_compile "$LINENO"
   21508 then :
   21509   ac_cv_sys_year2038_opts="$ac_opt"
   21510       ac_opt_found=yes
   21511 fi
   21512 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   21513     test $ac_opt_found = no || break
   21514   done
   21515   CPPFLAGS="$ac_save_CPPFLAGS"
   21516   test $ac_opt_found = yes || ac_cv_sys_year2038_opts="support not detected" ;;
   21517 esac
   21518 fi
   21519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_year2038_opts" >&5
   21520 printf "%s\n" "$ac_cv_sys_year2038_opts" >&6; }
   21521 
   21522 ac_have_year2038=yes
   21523 case $ac_cv_sys_year2038_opts in #(
   21524   "none needed") :
   21525      ;; #(
   21526   "support not detected") :
   21527     ac_have_year2038=no ;; #(
   21528   "-D_TIME_BITS=64") :
   21529 
   21530 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
   21531  ;; #(
   21532   "-D__MINGW_USE_VC2005_COMPAT") :
   21533 
   21534 printf "%s\n" "#define __MINGW_USE_VC2005_COMPAT 1" >>confdefs.h
   21535  ;; #(
   21536   "-U_USE_32_BIT_TIME_T"*) :
   21537     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   21538 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   21539 as_fn_error $? "the 'time_t' type is currently forced to be 32-bit. It
   21540 will stop working after mid-January 2038. Remove
   21541 _USE_32BIT_TIME_T from the compiler flags.
   21542 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   21543   *) :
   21544     as_fn_error $? "internal error: bad value for \$ac_cv_sys_year2038_opts" "$LINENO" 5 ;;
   21545 esac
   21546 
   21547 fi
   21548 
   21549 fi
   21550 
   21551 # Checks for non-standard functions and fallback to libbsd if we can
   21552 # We only check for arc4random_buf, because if we have that, we don't
   21553 # need/use getentropy.
   21554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21555 /* end confdefs.h.  */
   21556 
   21557 /* Override any GCC internal prototype to avoid an error.
   21558    Use char because int might match the return type of a GCC
   21559    builtin and then its argument prototype would still apply.
   21560    The 'extern "C"' is for builds by C++ compilers;
   21561    although this is not generally supported in C code supporting it here
   21562    has little cost and some practical benefit (sr 110532).  */
   21563 #ifdef __cplusplus
   21564 extern "C"
   21565 #endif
   21566 char arc4random_buf (void);
   21567 int
   21568 main (void)
   21569 {
   21570 return arc4random_buf ();
   21571   ;
   21572   return 0;
   21573 }
   21574 _ACEOF
   21575 if ac_fn_c_try_link "$LINENO"
   21576 then :
   21577   TRY_LIBBSD="no"
   21578 else case e in #(
   21579   e) TRY_LIBBSD="yes" ;;
   21580 esac
   21581 fi
   21582 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21583     conftest$ac_exeext conftest.$ac_ext
   21584 if test "x$TRY_LIBBSD" = "xyes"
   21585 then :
   21586 
   21587 pkg_failed=no
   21588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LIBBSD" >&5
   21589 printf %s "checking for LIBBSD... " >&6; }
   21590 
   21591 if test -n "$LIBBSD_CFLAGS"; then
   21592     pkg_cv_LIBBSD_CFLAGS="$LIBBSD_CFLAGS"
   21593  elif test -n "$PKG_CONFIG"; then
   21594     if test -n "$PKG_CONFIG" && \
   21595     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbsd-overlay\""; } >&5
   21596   ($PKG_CONFIG --exists --print-errors "libbsd-overlay") 2>&5
   21597   ac_status=$?
   21598   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21599   test $ac_status = 0; }; then
   21600   pkg_cv_LIBBSD_CFLAGS=`$PKG_CONFIG --cflags "libbsd-overlay" 2>/dev/null`
   21601 		      test "x$?" != "x0" && pkg_failed=yes
   21602 else
   21603   pkg_failed=yes
   21604 fi
   21605  else
   21606     pkg_failed=untried
   21607 fi
   21608 if test -n "$LIBBSD_LIBS"; then
   21609     pkg_cv_LIBBSD_LIBS="$LIBBSD_LIBS"
   21610  elif test -n "$PKG_CONFIG"; then
   21611     if test -n "$PKG_CONFIG" && \
   21612     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbsd-overlay\""; } >&5
   21613   ($PKG_CONFIG --exists --print-errors "libbsd-overlay") 2>&5
   21614   ac_status=$?
   21615   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21616   test $ac_status = 0; }; then
   21617   pkg_cv_LIBBSD_LIBS=`$PKG_CONFIG --libs "libbsd-overlay" 2>/dev/null`
   21618 		      test "x$?" != "x0" && pkg_failed=yes
   21619 else
   21620   pkg_failed=yes
   21621 fi
   21622  else
   21623     pkg_failed=untried
   21624 fi
   21625 
   21626 
   21627 
   21628 if test $pkg_failed = yes; then
   21629    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21630 printf "%s\n" "no" >&6; }
   21631 
   21632 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21633         _pkg_short_errors_supported=yes
   21634 else
   21635         _pkg_short_errors_supported=no
   21636 fi
   21637         if test $_pkg_short_errors_supported = yes; then
   21638 	        LIBBSD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libbsd-overlay" 2>&1`
   21639         else
   21640 	        LIBBSD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libbsd-overlay" 2>&1`
   21641         fi
   21642 	# Put the nasty error message in config.log where it belongs
   21643 	echo "$LIBBSD_PKG_ERRORS" >&5
   21644 
   21645 	:
   21646 elif test $pkg_failed = untried; then
   21647      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21648 printf "%s\n" "no" >&6; }
   21649 	:
   21650 else
   21651 	LIBBSD_CFLAGS=$pkg_cv_LIBBSD_CFLAGS
   21652 	LIBBSD_LIBS=$pkg_cv_LIBBSD_LIBS
   21653         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21654 printf "%s\n" "yes" >&6; }
   21655 
   21656 	CFLAGS="$CFLAGS $LIBBSD_CFLAGS"
   21657 	LIBS="$LIBS $LIBBSD_LIBS"
   21658 
   21659 fi
   21660 fi
   21661 
   21662 # Checks for library functions.
   21663 ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf"
   21664 if test "x$ac_cv_func_asprintf" = xyes
   21665 then :
   21666   printf "%s\n" "#define HAVE_ASPRINTF 1" >>confdefs.h
   21667 
   21668 fi
   21669 ac_fn_c_check_func "$LINENO" "arc4random_buf" "ac_cv_func_arc4random_buf"
   21670 if test "x$ac_cv_func_arc4random_buf" = xyes
   21671 then :
   21672   printf "%s\n" "#define HAVE_ARC4RANDOM_BUF 1" >>confdefs.h
   21673 
   21674 fi
   21675 ac_fn_c_check_func "$LINENO" "getentropy" "ac_cv_func_getentropy"
   21676 if test "x$ac_cv_func_getentropy" = xyes
   21677 then :
   21678   printf "%s\n" "#define HAVE_GETENTROPY 1" >>confdefs.h
   21679 
   21680 fi
   21681 
   21682 
   21683 # Transport selection macro from xtrans.m4
   21684 
   21685 
   21686  case $host_os in
   21687 	mingw*)	unixdef="no"   ;;
   21688 	*)	unixdef="yes"  ;;
   21689  esac
   21690  # Check whether --enable-unix-transport was given.
   21691 if test ${enable_unix_transport+y}
   21692 then :
   21693   enableval=$enable_unix_transport; UNIXCONN=$enableval
   21694 else case e in #(
   21695   e) UNIXCONN=$unixdef ;;
   21696 esac
   21697 fi
   21698 
   21699  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support UNIX socket connections" >&5
   21700 printf %s "checking if Xtrans should support UNIX socket connections... " >&6; }
   21701  if test "$UNIXCONN" = "yes"; then
   21702 
   21703 printf "%s\n" "#define UNIXCONN 1" >>confdefs.h
   21704 
   21705  fi
   21706  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $UNIXCONN" >&5
   21707 printf "%s\n" "$UNIXCONN" >&6; }
   21708  # Check whether --enable-tcp-transport was given.
   21709 if test ${enable_tcp_transport+y}
   21710 then :
   21711   enableval=$enable_tcp_transport; TCPCONN=$enableval
   21712 else case e in #(
   21713   e) TCPCONN=yes ;;
   21714 esac
   21715 fi
   21716 
   21717  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support TCP socket connections" >&5
   21718 printf %s "checking if Xtrans should support TCP socket connections... " >&6; }
   21719  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $TCPCONN" >&5
   21720 printf "%s\n" "$TCPCONN" >&6; }
   21721  if test "$TCPCONN" = "yes"; then
   21722 
   21723 printf "%s\n" "#define TCPCONN 1" >>confdefs.h
   21724 
   21725 
   21726  # SVR4 hides these in libraries other than libc
   21727  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
   21728 printf %s "checking for library containing socket... " >&6; }
   21729 if test ${ac_cv_search_socket+y}
   21730 then :
   21731   printf %s "(cached) " >&6
   21732 else case e in #(
   21733   e) ac_func_search_save_LIBS=$LIBS
   21734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21735 /* end confdefs.h.  */
   21736 
   21737 /* Override any GCC internal prototype to avoid an error.
   21738    Use char because int might match the return type of a GCC
   21739    builtin and then its argument prototype would still apply.
   21740    The 'extern "C"' is for builds by C++ compilers;
   21741    although this is not generally supported in C code supporting it here
   21742    has little cost and some practical benefit (sr 110532).  */
   21743 #ifdef __cplusplus
   21744 extern "C"
   21745 #endif
   21746 char socket (void);
   21747 int
   21748 main (void)
   21749 {
   21750 return socket ();
   21751   ;
   21752   return 0;
   21753 }
   21754 _ACEOF
   21755 for ac_lib in '' socket
   21756 do
   21757   if test -z "$ac_lib"; then
   21758     ac_res="none required"
   21759   else
   21760     ac_res=-l$ac_lib
   21761     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   21762   fi
   21763   if ac_fn_c_try_link "$LINENO"
   21764 then :
   21765   ac_cv_search_socket=$ac_res
   21766 fi
   21767 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21768     conftest$ac_exeext
   21769   if test ${ac_cv_search_socket+y}
   21770 then :
   21771   break
   21772 fi
   21773 done
   21774 if test ${ac_cv_search_socket+y}
   21775 then :
   21776 
   21777 else case e in #(
   21778   e) ac_cv_search_socket=no ;;
   21779 esac
   21780 fi
   21781 rm conftest.$ac_ext
   21782 LIBS=$ac_func_search_save_LIBS ;;
   21783 esac
   21784 fi
   21785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
   21786 printf "%s\n" "$ac_cv_search_socket" >&6; }
   21787 ac_res=$ac_cv_search_socket
   21788 if test "$ac_res" != no
   21789 then :
   21790   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   21791 
   21792 fi
   21793 
   21794  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
   21795 printf %s "checking for library containing gethostbyname... " >&6; }
   21796 if test ${ac_cv_search_gethostbyname+y}
   21797 then :
   21798   printf %s "(cached) " >&6
   21799 else case e in #(
   21800   e) ac_func_search_save_LIBS=$LIBS
   21801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21802 /* end confdefs.h.  */
   21803 
   21804 /* Override any GCC internal prototype to avoid an error.
   21805    Use char because int might match the return type of a GCC
   21806    builtin and then its argument prototype would still apply.
   21807    The 'extern "C"' is for builds by C++ compilers;
   21808    although this is not generally supported in C code supporting it here
   21809    has little cost and some practical benefit (sr 110532).  */
   21810 #ifdef __cplusplus
   21811 extern "C"
   21812 #endif
   21813 char gethostbyname (void);
   21814 int
   21815 main (void)
   21816 {
   21817 return gethostbyname ();
   21818   ;
   21819   return 0;
   21820 }
   21821 _ACEOF
   21822 for ac_lib in '' nsl
   21823 do
   21824   if test -z "$ac_lib"; then
   21825     ac_res="none required"
   21826   else
   21827     ac_res=-l$ac_lib
   21828     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   21829   fi
   21830   if ac_fn_c_try_link "$LINENO"
   21831 then :
   21832   ac_cv_search_gethostbyname=$ac_res
   21833 fi
   21834 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21835     conftest$ac_exeext
   21836   if test ${ac_cv_search_gethostbyname+y}
   21837 then :
   21838   break
   21839 fi
   21840 done
   21841 if test ${ac_cv_search_gethostbyname+y}
   21842 then :
   21843 
   21844 else case e in #(
   21845   e) ac_cv_search_gethostbyname=no ;;
   21846 esac
   21847 fi
   21848 rm conftest.$ac_ext
   21849 LIBS=$ac_func_search_save_LIBS ;;
   21850 esac
   21851 fi
   21852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
   21853 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
   21854 ac_res=$ac_cv_search_gethostbyname
   21855 if test "$ac_res" != no
   21856 then :
   21857   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   21858 
   21859 fi
   21860 
   21861  if test "$ac_cv_search_socket$ac_cv_search_gethostbyname" = "nono"; then
   21862    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
   21863 printf %s "checking for main in -lws2_32... " >&6; }
   21864 if test ${ac_cv_lib_ws2_32_main+y}
   21865 then :
   21866   printf %s "(cached) " >&6
   21867 else case e in #(
   21868   e) ac_check_lib_save_LIBS=$LIBS
   21869 LIBS="-lws2_32  $LIBS"
   21870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21871 /* end confdefs.h.  */
   21872 
   21873 
   21874 int
   21875 main (void)
   21876 {
   21877 return main ();
   21878   ;
   21879   return 0;
   21880 }
   21881 _ACEOF
   21882 if ac_fn_c_try_link "$LINENO"
   21883 then :
   21884   ac_cv_lib_ws2_32_main=yes
   21885 else case e in #(
   21886   e) ac_cv_lib_ws2_32_main=no ;;
   21887 esac
   21888 fi
   21889 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21890     conftest$ac_exeext conftest.$ac_ext
   21891 LIBS=$ac_check_lib_save_LIBS ;;
   21892 esac
   21893 fi
   21894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
   21895 printf "%s\n" "$ac_cv_lib_ws2_32_main" >&6; }
   21896 if test "x$ac_cv_lib_ws2_32_main" = xyes
   21897 then :
   21898   printf "%s\n" "#define HAVE_LIBWS2_32 1" >>confdefs.h
   21899 
   21900   LIBS="-lws2_32 $LIBS"
   21901 
   21902 fi
   21903 
   21904  fi
   21905 
   21906  # Needs to come after above checks for libsocket & libnsl for SVR4 systems
   21907  # Check whether --enable-ipv6 was given.
   21908 if test ${enable_ipv6+y}
   21909 then :
   21910   enableval=$enable_ipv6; IPV6CONN=$enableval
   21911 else case e in #(
   21912   e) ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
   21913 if test "x$ac_cv_func_getaddrinfo" = xyes
   21914 then :
   21915   IPV6CONN=yes
   21916 else case e in #(
   21917   e) IPV6CONN=no ;;
   21918 esac
   21919 fi
   21920  ;;
   21921 esac
   21922 fi
   21923 
   21924  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IPv6 support should be built" >&5
   21925 printf %s "checking if IPv6 support should be built... " >&6; }
   21926  if test "$IPV6CONN" = "yes"; then
   21927 
   21928 printf "%s\n" "#define IPv6 1" >>confdefs.h
   21929 
   21930  fi
   21931  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $IPV6CONN" >&5
   21932 printf "%s\n" "$IPV6CONN" >&6; }
   21933 
   21934  # 4.3BSD-Reno added a new member to struct sockaddr_in
   21935  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "
   21936 #include <sys/types.h>
   21937 #include <sys/socket.h>
   21938 #include <netinet/in.h>
   21939 
   21940 "
   21941 if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes
   21942 then :
   21943 
   21944 printf "%s\n" "#define BSD44SOCKETS 1" >>confdefs.h
   21945 
   21946 fi
   21947 
   21948 
   21949  # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc.
   21950  ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
   21951 $ac_includes_default
   21952 #include <sys/socket.h>
   21953 "
   21954 if test "x$ac_cv_type_socklen_t" = xyes
   21955 then :
   21956 
   21957 printf "%s\n" "#define HAVE_SOCKLEN_T 1" >>confdefs.h
   21958 
   21959 
   21960 fi
   21961 
   21962 
   21963  # XPG4v2/UNIX95 added msg_control - check to see if we need to define
   21964  # _XOPEN_SOURCE to get it (such as on Solaris)
   21965  ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   21966 $ac_includes_default
   21967 #include <sys/socket.h>
   21968 
   21969 "
   21970 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
   21971 then :
   21972 
   21973 fi
   21974 
   21975  # First try for Solaris in C99 compliant mode, which requires XPG6/UNIX03
   21976  if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   21977      unset ac_cv_member_struct_msghdr_msg_control
   21978      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=600" >&5
   21979 printf "%s\n" "$as_me: trying again with _XOPEN_SOURCE=600" >&6;}
   21980      ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   21981 #define _XOPEN_SOURCE 600
   21982 $ac_includes_default
   21983 #include <sys/socket.h>
   21984 
   21985 "
   21986 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
   21987 then :
   21988 
   21989 printf "%s\n" "#define _XOPEN_SOURCE 600" >>confdefs.h
   21990 
   21991 
   21992 fi
   21993 
   21994  fi
   21995  # If that didn't work, fall back to XPG5/UNIX98 with C89
   21996  if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   21997      unset ac_cv_member_struct_msghdr_msg_control
   21998      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=500" >&5
   21999 printf "%s\n" "$as_me: trying again with _XOPEN_SOURCE=500" >&6;}
   22000      ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   22001 #define _XOPEN_SOURCE 500
   22002 $ac_includes_default
   22003 #include <sys/socket.h>
   22004 
   22005 "
   22006 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
   22007 then :
   22008 
   22009 printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
   22010 
   22011 
   22012 fi
   22013 
   22014  fi
   22015 
   22016 
   22017 
   22018  fi
   22019  case $host_os in
   22020 	solaris*)		localdef="yes" ;;
   22021 	*)			localdef="no"  ;;
   22022  esac
   22023  # Check whether --enable-local-transport was given.
   22024 if test ${enable_local_transport+y}
   22025 then :
   22026   enableval=$enable_local_transport; LOCALCONN=$enableval
   22027 else case e in #(
   22028   e) LOCALCONN=$localdef ;;
   22029 esac
   22030 fi
   22031 
   22032  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support os-specific local connections" >&5
   22033 printf %s "checking if Xtrans should support os-specific local connections... " >&6; }
   22034  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LOCALCONN" >&5
   22035 printf "%s\n" "$LOCALCONN" >&6; }
   22036  if test "$LOCALCONN" = "yes"; then
   22037 
   22038 printf "%s\n" "#define LOCALCONN 1" >>confdefs.h
   22039 
   22040  fi
   22041 
   22042  # Other functions Xtrans may need
   22043  ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
   22044 if test "x$ac_cv_func_strcasecmp" = xyes
   22045 then :
   22046   printf "%s\n" "#define HAVE_STRCASECMP 1" >>confdefs.h
   22047 
   22048 fi
   22049 ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
   22050 if test "x$ac_cv_func_strlcpy" = xyes
   22051 then :
   22052   printf "%s\n" "#define HAVE_STRLCPY 1" >>confdefs.h
   22053 
   22054 fi
   22055 
   22056 
   22057 
   22058 
   22059 printf "%s\n" "#define ICE_t 1" >>confdefs.h
   22060 
   22061 
   22062 printf "%s\n" "#define TRANS_CLIENT 1" >>confdefs.h
   22063 
   22064 
   22065 printf "%s\n" "#define TRANS_SERVER 1" >>confdefs.h
   22066 
   22067 
   22068 # Allow checking code with lint, sparse, etc.
   22069 
   22070 
   22071 
   22072 
   22073 
   22074 # Check whether --with-lint was given.
   22075 if test ${with_lint+y}
   22076 then :
   22077   withval=$with_lint; use_lint=$withval
   22078 else case e in #(
   22079   e) use_lint=no ;;
   22080 esac
   22081 fi
   22082 
   22083 
   22084 # Obtain platform specific info like program name and options
   22085 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   22086 case $host_os in
   22087   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   22088 	lint_name=splint
   22089 	lint_options="-badflag"
   22090 	;;
   22091   *freebsd* | *netbsd*)
   22092 	lint_name=lint
   22093 	lint_options="-u -b"
   22094 	;;
   22095   *solaris*)
   22096 	lint_name=lint
   22097 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   22098 	;;
   22099 esac
   22100 
   22101 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   22102 if test "x$use_lint" = x"yes" ; then
   22103    # Extract the first word of "$lint_name", so it can be a program name with args.
   22104 set dummy $lint_name; ac_word=$2
   22105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   22106 printf %s "checking for $ac_word... " >&6; }
   22107 if test ${ac_cv_path_LINT+y}
   22108 then :
   22109   printf %s "(cached) " >&6
   22110 else case e in #(
   22111   e) case $LINT in
   22112   [\\/]* | ?:[\\/]*)
   22113   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   22114   ;;
   22115   *)
   22116   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22117 for as_dir in $PATH
   22118 do
   22119   IFS=$as_save_IFS
   22120   case $as_dir in #(((
   22121     '') as_dir=./ ;;
   22122     */) ;;
   22123     *) as_dir=$as_dir/ ;;
   22124   esac
   22125     for ac_exec_ext in '' $ac_executable_extensions; do
   22126   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   22127     ac_cv_path_LINT="$as_dir$ac_word$ac_exec_ext"
   22128     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   22129     break 2
   22130   fi
   22131 done
   22132   done
   22133 IFS=$as_save_IFS
   22134 
   22135   ;;
   22136 esac ;;
   22137 esac
   22138 fi
   22139 LINT=$ac_cv_path_LINT
   22140 if test -n "$LINT"; then
   22141   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   22142 printf "%s\n" "$LINT" >&6; }
   22143 else
   22144   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22145 printf "%s\n" "no" >&6; }
   22146 fi
   22147 
   22148 
   22149    if test "x$LINT" = "x"; then
   22150         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   22151    fi
   22152 elif test "x$use_lint" = x"no" ; then
   22153    if test "x$LINT" != "x"; then
   22154       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   22155 printf "%s\n" "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   22156    fi
   22157 else
   22158    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   22159 fi
   22160 
   22161 # User supplied flags override default flags
   22162 if test "x$LINT_FLAGS" != "x"; then
   22163    lint_options=$LINT_FLAGS
   22164 fi
   22165 
   22166 LINT_FLAGS=$lint_options
   22167 
   22168  if test "x$LINT" != x; then
   22169   LINT_TRUE=
   22170   LINT_FALSE='#'
   22171 else
   22172   LINT_TRUE='#'
   22173   LINT_FALSE=
   22174 fi
   22175 
   22176 
   22177 
   22178 
   22179 
   22180 # Check whether --enable-lint-library was given.
   22181 if test ${enable_lint_library+y}
   22182 then :
   22183   enableval=$enable_lint_library; make_lint_lib=$enableval
   22184 else case e in #(
   22185   e) make_lint_lib=no ;;
   22186 esac
   22187 fi
   22188 
   22189 
   22190 if test "x$make_lint_lib" = x"yes" ; then
   22191    LINTLIB=llib-lICE.ln
   22192    if test "x$LINT" = "x"; then
   22193         as_fn_error $? "Cannot make lint library without --with-lint" "$LINENO" 5
   22194    fi
   22195 elif test "x$make_lint_lib" != x"no" ; then
   22196    as_fn_error $? "--enable-lint-library expects 'yes' or 'no'." "$LINENO" 5
   22197 fi
   22198 
   22199 
   22200  if test x$make_lint_lib != xno; then
   22201   MAKE_LINT_LIB_TRUE=
   22202   MAKE_LINT_LIB_FALSE='#'
   22203 else
   22204   MAKE_LINT_LIB_TRUE='#'
   22205   MAKE_LINT_LIB_FALSE=
   22206 fi
   22207 
   22208 
   22209 
   22210 LINT_FLAGS="${LINT_FLAGS} ${ICE_CFLAGS} ${XTRANS_CFLAGS}"
   22211 
   22212 ac_config_files="$ac_config_files Makefile doc/Makefile specs/Makefile src/Makefile ice.pc"
   22213 
   22214 cat >confcache <<\_ACEOF
   22215 # This file is a shell script that caches the results of configure
   22216 # tests run on this system so they can be shared between configure
   22217 # scripts and configure runs, see configure's option --config-cache.
   22218 # It is not useful on other systems.  If it contains results you don't
   22219 # want to keep, you may remove or edit it.
   22220 #
   22221 # config.status only pays attention to the cache file if you give it
   22222 # the --recheck option to rerun configure.
   22223 #
   22224 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   22225 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   22226 # following values.
   22227 
   22228 _ACEOF
   22229 
   22230 # The following way of writing the cache mishandles newlines in values,
   22231 # but we know of no workaround that is simple, portable, and efficient.
   22232 # So, we kill variables containing newlines.
   22233 # Ultrix sh set writes to stderr and can't be redirected directly,
   22234 # and sets the high bit in the cache file unless we assign to the vars.
   22235 (
   22236   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   22237     eval ac_val=\$$ac_var
   22238     case $ac_val in #(
   22239     *${as_nl}*)
   22240       case $ac_var in #(
   22241       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   22242 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   22243       esac
   22244       case $ac_var in #(
   22245       _ | IFS | as_nl) ;; #(
   22246       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   22247       *) { eval $ac_var=; unset $ac_var;} ;;
   22248       esac ;;
   22249     esac
   22250   done
   22251 
   22252   (set) 2>&1 |
   22253     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   22254     *${as_nl}ac_space=\ *)
   22255       # 'set' does not quote correctly, so add quotes: double-quote
   22256       # substitution turns \\\\ into \\, and sed turns \\ into \.
   22257       sed -n \
   22258 	"s/'/'\\\\''/g;
   22259 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   22260       ;; #(
   22261     *)
   22262       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   22263       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   22264       ;;
   22265     esac |
   22266     sort
   22267 ) |
   22268   sed '
   22269      /^ac_cv_env_/b end
   22270      t clear
   22271      :clear
   22272      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   22273      t end
   22274      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   22275      :end' >>confcache
   22276 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   22277   if test -w "$cache_file"; then
   22278     if test "x$cache_file" != "x/dev/null"; then
   22279       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   22280 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   22281       if test ! -f "$cache_file" || test -h "$cache_file"; then
   22282 	cat confcache >"$cache_file"
   22283       else
   22284         case $cache_file in #(
   22285         */* | ?:*)
   22286 	  mv -f confcache "$cache_file"$$ &&
   22287 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   22288         *)
   22289 	  mv -f confcache "$cache_file" ;;
   22290 	esac
   22291       fi
   22292     fi
   22293   else
   22294     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   22295 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   22296   fi
   22297 fi
   22298 rm -f confcache
   22299 
   22300 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   22301 # Let make expand exec_prefix.
   22302 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   22303 
   22304 DEFS=-DHAVE_CONFIG_H
   22305 
   22306 ac_libobjs=
   22307 ac_ltlibobjs=
   22308 U=
   22309 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   22310   # 1. Remove the extension, and $U if already installed.
   22311   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   22312   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   22313   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   22314   #    will be set to the directory where LIBOBJS objects are built.
   22315   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   22316   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   22317 done
   22318 LIBOBJS=$ac_libobjs
   22319 
   22320 LTLIBOBJS=$ac_ltlibobjs
   22321 
   22322 
   22323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   22324 printf %s "checking that generated files are newer than configure... " >&6; }
   22325    if test -n "$am_sleep_pid"; then
   22326      # Hide warnings about reused PIDs.
   22327      wait $am_sleep_pid 2>/dev/null
   22328    fi
   22329    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   22330 printf "%s\n" "done" >&6; }
   22331 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   22332   as_fn_error $? "conditional \"AMDEP\" was never defined.
   22333 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22334 fi
   22335 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   22336   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   22337 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22338 fi
   22339 case $enable_silent_rules in # (((
   22340   yes) AM_DEFAULT_VERBOSITY=0;;
   22341    no) AM_DEFAULT_VERBOSITY=1;;
   22342 esac
   22343 if test $am_cv_make_support_nested_variables = yes; then
   22344     AM_V='$(V)'
   22345   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   22346 else
   22347   AM_V=$AM_DEFAULT_VERBOSITY
   22348   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   22349 fi
   22350 
   22351  if test -n "$EXEEXT"; then
   22352   am__EXEEXT_TRUE=
   22353   am__EXEEXT_FALSE='#'
   22354 else
   22355   am__EXEEXT_TRUE='#'
   22356   am__EXEEXT_FALSE=
   22357 fi
   22358 
   22359 if test -z "${ENABLE_DOCS_TRUE}" && test -z "${ENABLE_DOCS_FALSE}"; then
   22360   as_fn_error $? "conditional \"ENABLE_DOCS\" was never defined.
   22361 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22362 fi
   22363 if test -z "${ENABLE_SPECS_TRUE}" && test -z "${ENABLE_SPECS_FALSE}"; then
   22364   as_fn_error $? "conditional \"ENABLE_SPECS\" was never defined.
   22365 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22366 fi
   22367 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
   22368   as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
   22369 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22370 fi
   22371 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   22372   as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
   22373 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22374 fi
   22375 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
   22376   as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
   22377 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22378 fi
   22379 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
   22380   as_fn_error $? "conditional \"HAVE_XSLTPROC\" was never defined.
   22381 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22382 fi
   22383 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
   22384   as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
   22385 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22386 fi
   22387 # Check whether --enable-year2038 was given.
   22388 if test ${enable_year2038+y}
   22389 then :
   22390   enableval=$enable_year2038;
   22391 fi
   22392 
   22393 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   22394   as_fn_error $? "conditional \"LINT\" was never defined.
   22395 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22396 fi
   22397 if test -z "${MAKE_LINT_LIB_TRUE}" && test -z "${MAKE_LINT_LIB_FALSE}"; then
   22398   as_fn_error $? "conditional \"MAKE_LINT_LIB\" was never defined.
   22399 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   22400 fi
   22401 
   22402 : "${CONFIG_STATUS=./config.status}"
   22403 ac_write_fail=0
   22404 ac_clean_files_save=$ac_clean_files
   22405 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   22406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   22407 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   22408 as_write_fail=0
   22409 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   22410 #! $SHELL
   22411 # Generated by $as_me.
   22412 # Run this file to recreate the current configuration.
   22413 # Compiler output produced by configure, useful for debugging
   22414 # configure, is in config.log if it exists.
   22415 
   22416 debug=false
   22417 ac_cs_recheck=false
   22418 ac_cs_silent=false
   22419 
   22420 SHELL=\${CONFIG_SHELL-$SHELL}
   22421 export SHELL
   22422 _ASEOF
   22423 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   22424 ## -------------------- ##
   22425 ## M4sh Initialization. ##
   22426 ## -------------------- ##
   22427 
   22428 # Be more Bourne compatible
   22429 DUALCASE=1; export DUALCASE # for MKS sh
   22430 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   22431 then :
   22432   emulate sh
   22433   NULLCMD=:
   22434   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   22435   # is contrary to our usage.  Disable this feature.
   22436   alias -g '${1+"$@"}'='"$@"'
   22437   setopt NO_GLOB_SUBST
   22438 else case e in #(
   22439   e) case `(set -o) 2>/dev/null` in #(
   22440   *posix*) :
   22441     set -o posix ;; #(
   22442   *) :
   22443      ;;
   22444 esac ;;
   22445 esac
   22446 fi
   22447 
   22448 
   22449 
   22450 # Reset variables that may have inherited troublesome values from
   22451 # the environment.
   22452 
   22453 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   22454 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   22455 # side effect of setting IFS to empty, thus disabling word splitting.)
   22456 # Quoting is to prevent editors from complaining about space-tab.
   22457 as_nl='
   22458 '
   22459 export as_nl
   22460 IFS=" ""	$as_nl"
   22461 
   22462 PS1='$ '
   22463 PS2='> '
   22464 PS4='+ '
   22465 
   22466 # Ensure predictable behavior from utilities with locale-dependent output.
   22467 LC_ALL=C
   22468 export LC_ALL
   22469 LANGUAGE=C
   22470 export LANGUAGE
   22471 
   22472 # We cannot yet rely on "unset" to work, but we need these variables
   22473 # to be unset--not just set to an empty or harmless value--now, to
   22474 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   22475 # also avoids known problems related to "unset" and subshell syntax
   22476 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   22477 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   22478 do eval test \${$as_var+y} \
   22479   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   22480 done
   22481 
   22482 # Ensure that fds 0, 1, and 2 are open.
   22483 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   22484 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   22485 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   22486 
   22487 # The user is always right.
   22488 if ${PATH_SEPARATOR+false} :; then
   22489   PATH_SEPARATOR=:
   22490   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   22491     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   22492       PATH_SEPARATOR=';'
   22493   }
   22494 fi
   22495 
   22496 
   22497 # Find who we are.  Look in the path if we contain no directory separator.
   22498 as_myself=
   22499 case $0 in #((
   22500   *[\\/]* ) as_myself=$0 ;;
   22501   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22502 for as_dir in $PATH
   22503 do
   22504   IFS=$as_save_IFS
   22505   case $as_dir in #(((
   22506     '') as_dir=./ ;;
   22507     */) ;;
   22508     *) as_dir=$as_dir/ ;;
   22509   esac
   22510     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   22511   done
   22512 IFS=$as_save_IFS
   22513 
   22514      ;;
   22515 esac
   22516 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   22517 # in which case we are not to be found in the path.
   22518 if test "x$as_myself" = x; then
   22519   as_myself=$0
   22520 fi
   22521 if test ! -f "$as_myself"; then
   22522   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   22523   exit 1
   22524 fi
   22525 
   22526 
   22527 
   22528 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   22529 # ----------------------------------------
   22530 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   22531 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   22532 # script with STATUS, using 1 if that was 0.
   22533 as_fn_error ()
   22534 {
   22535   as_status=$1; test $as_status -eq 0 && as_status=1
   22536   if test "$4"; then
   22537     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   22538     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   22539   fi
   22540   printf "%s\n" "$as_me: error: $2" >&2
   22541   as_fn_exit $as_status
   22542 } # as_fn_error
   22543 
   22544 
   22545 # as_fn_set_status STATUS
   22546 # -----------------------
   22547 # Set $? to STATUS, without forking.
   22548 as_fn_set_status ()
   22549 {
   22550   return $1
   22551 } # as_fn_set_status
   22552 
   22553 # as_fn_exit STATUS
   22554 # -----------------
   22555 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   22556 as_fn_exit ()
   22557 {
   22558   set +e
   22559   as_fn_set_status $1
   22560   exit $1
   22561 } # as_fn_exit
   22562 
   22563 # as_fn_unset VAR
   22564 # ---------------
   22565 # Portably unset VAR.
   22566 as_fn_unset ()
   22567 {
   22568   { eval $1=; unset $1;}
   22569 }
   22570 as_unset=as_fn_unset
   22571 
   22572 # as_fn_append VAR VALUE
   22573 # ----------------------
   22574 # Append the text in VALUE to the end of the definition contained in VAR. Take
   22575 # advantage of any shell optimizations that allow amortized linear growth over
   22576 # repeated appends, instead of the typical quadratic growth present in naive
   22577 # implementations.
   22578 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   22579 then :
   22580   eval 'as_fn_append ()
   22581   {
   22582     eval $1+=\$2
   22583   }'
   22584 else case e in #(
   22585   e) as_fn_append ()
   22586   {
   22587     eval $1=\$$1\$2
   22588   } ;;
   22589 esac
   22590 fi # as_fn_append
   22591 
   22592 # as_fn_arith ARG...
   22593 # ------------------
   22594 # Perform arithmetic evaluation on the ARGs, and store the result in the
   22595 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   22596 # must be portable across $(()) and expr.
   22597 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   22598 then :
   22599   eval 'as_fn_arith ()
   22600   {
   22601     as_val=$(( $* ))
   22602   }'
   22603 else case e in #(
   22604   e) as_fn_arith ()
   22605   {
   22606     as_val=`expr "$@" || test $? -eq 1`
   22607   } ;;
   22608 esac
   22609 fi # as_fn_arith
   22610 
   22611 
   22612 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22613    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22614   as_expr=expr
   22615 else
   22616   as_expr=false
   22617 fi
   22618 
   22619 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   22620   as_basename=basename
   22621 else
   22622   as_basename=false
   22623 fi
   22624 
   22625 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   22626   as_dirname=dirname
   22627 else
   22628   as_dirname=false
   22629 fi
   22630 
   22631 as_me=`$as_basename -- "$0" ||
   22632 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   22633 	 X"$0" : 'X\(//\)$' \| \
   22634 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   22635 printf "%s\n" X/"$0" |
   22636     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22637 	    s//\1/
   22638 	    q
   22639 	  }
   22640 	  /^X\/\(\/\/\)$/{
   22641 	    s//\1/
   22642 	    q
   22643 	  }
   22644 	  /^X\/\(\/\).*/{
   22645 	    s//\1/
   22646 	    q
   22647 	  }
   22648 	  s/.*/./; q'`
   22649 
   22650 # Avoid depending upon Character Ranges.
   22651 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   22652 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   22653 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   22654 as_cr_digits='0123456789'
   22655 as_cr_alnum=$as_cr_Letters$as_cr_digits
   22656 
   22657 
   22658 # Determine whether it's possible to make 'echo' print without a newline.
   22659 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   22660 # for compatibility with existing Makefiles.
   22661 ECHO_C= ECHO_N= ECHO_T=
   22662 case `echo -n x` in #(((((
   22663 -n*)
   22664   case `echo 'xy\c'` in
   22665   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   22666   xy)  ECHO_C='\c';;
   22667   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   22668        ECHO_T='	';;
   22669   esac;;
   22670 *)
   22671   ECHO_N='-n';;
   22672 esac
   22673 
   22674 # For backward compatibility with old third-party macros, we provide
   22675 # the shell variables $as_echo and $as_echo_n.  New code should use
   22676 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   22677 as_echo='printf %s\n'
   22678 as_echo_n='printf %s'
   22679 
   22680 rm -f conf$$ conf$$.exe conf$$.file
   22681 if test -d conf$$.dir; then
   22682   rm -f conf$$.dir/conf$$.file
   22683 else
   22684   rm -f conf$$.dir
   22685   mkdir conf$$.dir 2>/dev/null
   22686 fi
   22687 if (echo >conf$$.file) 2>/dev/null; then
   22688   if ln -s conf$$.file conf$$ 2>/dev/null; then
   22689     as_ln_s='ln -s'
   22690     # ... but there are two gotchas:
   22691     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   22692     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   22693     # In both cases, we have to default to 'cp -pR'.
   22694     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   22695       as_ln_s='cp -pR'
   22696   elif ln conf$$.file conf$$ 2>/dev/null; then
   22697     as_ln_s=ln
   22698   else
   22699     as_ln_s='cp -pR'
   22700   fi
   22701 else
   22702   as_ln_s='cp -pR'
   22703 fi
   22704 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   22705 rmdir conf$$.dir 2>/dev/null
   22706 
   22707 
   22708 # as_fn_mkdir_p
   22709 # -------------
   22710 # Create "$as_dir" as a directory, including parents if necessary.
   22711 as_fn_mkdir_p ()
   22712 {
   22713 
   22714   case $as_dir in #(
   22715   -*) as_dir=./$as_dir;;
   22716   esac
   22717   test -d "$as_dir" || eval $as_mkdir_p || {
   22718     as_dirs=
   22719     while :; do
   22720       case $as_dir in #(
   22721       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   22722       *) as_qdir=$as_dir;;
   22723       esac
   22724       as_dirs="'$as_qdir' $as_dirs"
   22725       as_dir=`$as_dirname -- "$as_dir" ||
   22726 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22727 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   22728 	 X"$as_dir" : 'X\(//\)$' \| \
   22729 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   22730 printf "%s\n" X"$as_dir" |
   22731     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22732 	    s//\1/
   22733 	    q
   22734 	  }
   22735 	  /^X\(\/\/\)[^/].*/{
   22736 	    s//\1/
   22737 	    q
   22738 	  }
   22739 	  /^X\(\/\/\)$/{
   22740 	    s//\1/
   22741 	    q
   22742 	  }
   22743 	  /^X\(\/\).*/{
   22744 	    s//\1/
   22745 	    q
   22746 	  }
   22747 	  s/.*/./; q'`
   22748       test -d "$as_dir" && break
   22749     done
   22750     test -z "$as_dirs" || eval "mkdir $as_dirs"
   22751   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   22752 
   22753 
   22754 } # as_fn_mkdir_p
   22755 if mkdir -p . 2>/dev/null; then
   22756   as_mkdir_p='mkdir -p "$as_dir"'
   22757 else
   22758   test -d ./-p && rmdir ./-p
   22759   as_mkdir_p=false
   22760 fi
   22761 
   22762 
   22763 # as_fn_executable_p FILE
   22764 # -----------------------
   22765 # Test if FILE is an executable regular file.
   22766 as_fn_executable_p ()
   22767 {
   22768   test -f "$1" && test -x "$1"
   22769 } # as_fn_executable_p
   22770 as_test_x='test -x'
   22771 as_executable_p=as_fn_executable_p
   22772 
   22773 # Sed expression to map a string onto a valid CPP name.
   22774 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   22775 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   22776 
   22777 # Sed expression to map a string onto a valid variable name.
   22778 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   22779 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   22780 
   22781 
   22782 exec 6>&1
   22783 ## ----------------------------------- ##
   22784 ## Main body of $CONFIG_STATUS script. ##
   22785 ## ----------------------------------- ##
   22786 _ASEOF
   22787 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   22788 
   22789 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22790 # Save the log message, to keep $0 and so on meaningful, and to
   22791 # report actual input values of CONFIG_FILES etc. instead of their
   22792 # values after options handling.
   22793 ac_log="
   22794 This file was extended by libICE $as_me 1.1.2, which was
   22795 generated by GNU Autoconf 2.72.  Invocation command line was
   22796 
   22797   CONFIG_FILES    = $CONFIG_FILES
   22798   CONFIG_HEADERS  = $CONFIG_HEADERS
   22799   CONFIG_LINKS    = $CONFIG_LINKS
   22800   CONFIG_COMMANDS = $CONFIG_COMMANDS
   22801   $ $0 $@
   22802 
   22803 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   22804 "
   22805 
   22806 _ACEOF
   22807 
   22808 case $ac_config_files in *"
   22809 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   22810 esac
   22811 
   22812 case $ac_config_headers in *"
   22813 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   22814 esac
   22815 
   22816 
   22817 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22818 # Files that config.status was made for.
   22819 config_files="$ac_config_files"
   22820 config_headers="$ac_config_headers"
   22821 config_commands="$ac_config_commands"
   22822 
   22823 _ACEOF
   22824 
   22825 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22826 ac_cs_usage="\
   22827 '$as_me' instantiates files and other configuration actions
   22828 from templates according to the current configuration.  Unless the files
   22829 and actions are specified as TAGs, all are instantiated by default.
   22830 
   22831 Usage: $0 [OPTION]... [TAG]...
   22832 
   22833   -h, --help       print this help, then exit
   22834   -V, --version    print version number and configuration settings, then exit
   22835       --config     print configuration, then exit
   22836   -q, --quiet, --silent
   22837                    do not print progress messages
   22838   -d, --debug      don't remove temporary files
   22839       --recheck    update $as_me by reconfiguring in the same conditions
   22840       --file=FILE[:TEMPLATE]
   22841                    instantiate the configuration file FILE
   22842       --header=FILE[:TEMPLATE]
   22843                    instantiate the configuration header FILE
   22844 
   22845 Configuration files:
   22846 $config_files
   22847 
   22848 Configuration headers:
   22849 $config_headers
   22850 
   22851 Configuration commands:
   22852 $config_commands
   22853 
   22854 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libice/-/issues>."
   22855 
   22856 _ACEOF
   22857 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   22858 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   22859 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22860 ac_cs_config='$ac_cs_config_escaped'
   22861 ac_cs_version="\\
   22862 libICE config.status 1.1.2
   22863 configured by $0, generated by GNU Autoconf 2.72,
   22864   with options \\"\$ac_cs_config\\"
   22865 
   22866 Copyright (C) 2023 Free Software Foundation, Inc.
   22867 This config.status script is free software; the Free Software Foundation
   22868 gives unlimited permission to copy, distribute and modify it."
   22869 
   22870 ac_pwd='$ac_pwd'
   22871 srcdir='$srcdir'
   22872 INSTALL='$INSTALL'
   22873 MKDIR_P='$MKDIR_P'
   22874 AWK='$AWK'
   22875 test -n "\$AWK" || AWK=awk
   22876 _ACEOF
   22877 
   22878 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22879 # The default lists apply if the user does not specify any file.
   22880 ac_need_defaults=:
   22881 while test $# != 0
   22882 do
   22883   case $1 in
   22884   --*=?*)
   22885     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   22886     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   22887     ac_shift=:
   22888     ;;
   22889   --*=)
   22890     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   22891     ac_optarg=
   22892     ac_shift=:
   22893     ;;
   22894   *)
   22895     ac_option=$1
   22896     ac_optarg=$2
   22897     ac_shift=shift
   22898     ;;
   22899   esac
   22900 
   22901   case $ac_option in
   22902   # Handling of the options.
   22903   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   22904     ac_cs_recheck=: ;;
   22905   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   22906     printf "%s\n" "$ac_cs_version"; exit ;;
   22907   --config | --confi | --conf | --con | --co | --c )
   22908     printf "%s\n" "$ac_cs_config"; exit ;;
   22909   --debug | --debu | --deb | --de | --d | -d )
   22910     debug=: ;;
   22911   --file | --fil | --fi | --f )
   22912     $ac_shift
   22913     case $ac_optarg in
   22914     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   22915     '') as_fn_error $? "missing file argument" ;;
   22916     esac
   22917     as_fn_append CONFIG_FILES " '$ac_optarg'"
   22918     ac_need_defaults=false;;
   22919   --header | --heade | --head | --hea )
   22920     $ac_shift
   22921     case $ac_optarg in
   22922     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   22923     esac
   22924     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   22925     ac_need_defaults=false;;
   22926   --he | --h)
   22927     # Conflict between --help and --header
   22928     as_fn_error $? "ambiguous option: '$1'
   22929 Try '$0 --help' for more information.";;
   22930   --help | --hel | -h )
   22931     printf "%s\n" "$ac_cs_usage"; exit ;;
   22932   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   22933   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   22934     ac_cs_silent=: ;;
   22935 
   22936   # This is an error.
   22937   -*) as_fn_error $? "unrecognized option: '$1'
   22938 Try '$0 --help' for more information." ;;
   22939 
   22940   *) as_fn_append ac_config_targets " $1"
   22941      ac_need_defaults=false ;;
   22942 
   22943   esac
   22944   shift
   22945 done
   22946 
   22947 ac_configure_extra_args=
   22948 
   22949 if $ac_cs_silent; then
   22950   exec 6>/dev/null
   22951   ac_configure_extra_args="$ac_configure_extra_args --silent"
   22952 fi
   22953 
   22954 _ACEOF
   22955 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22956 if \$ac_cs_recheck; then
   22957   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   22958   shift
   22959   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   22960   CONFIG_SHELL='$SHELL'
   22961   export CONFIG_SHELL
   22962   exec "\$@"
   22963 fi
   22964 
   22965 _ACEOF
   22966 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22967 exec 5>>config.log
   22968 {
   22969   echo
   22970   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   22971 ## Running $as_me. ##
   22972 _ASBOX
   22973   printf "%s\n" "$ac_log"
   22974 } >&5
   22975 
   22976 _ACEOF
   22977 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22978 #
   22979 # INIT-COMMANDS
   22980 #
   22981 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   22982 
   22983 
   22984 # The HP-UX ksh and POSIX shell print the target directory to stdout
   22985 # if CDPATH is set.
   22986 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   22987 
   22988 sed_quote_subst='$sed_quote_subst'
   22989 double_quote_subst='$double_quote_subst'
   22990 delay_variable_subst='$delay_variable_subst'
   22991 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   22992 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   22993 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   22994 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   22995 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   22996 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   22997 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   22998 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   22999 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   23000 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   23001 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   23002 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   23003 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   23004 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   23005 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   23006 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   23007 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   23008 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   23009 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   23010 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   23011 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   23012 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   23013 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   23014 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   23015 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   23016 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   23017 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   23018 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   23019 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   23020 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   23021 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   23022 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   23023 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   23024 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   23025 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   23026 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   23027 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   23028 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   23029 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   23030 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   23031 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   23032 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   23033 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   23034 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   23035 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   23036 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   23037 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   23038 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   23039 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   23040 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   23041 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   23042 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   23043 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   23044 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   23045 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   23046 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   23047 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   23048 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   23049 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   23050 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   23051 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"`'
   23052 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   23053 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   23054 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   23055 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   23056 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   23057 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   23058 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   23059 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   23060 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   23061 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   23062 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   23063 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   23064 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   23065 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   23066 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   23067 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   23068 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   23069 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   23070 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   23071 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   23072 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   23073 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   23074 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   23075 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   23076 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   23077 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   23078 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   23079 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   23080 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   23081 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   23082 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   23083 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   23084 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   23085 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   23086 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   23087 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   23088 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   23089 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   23090 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   23091 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   23092 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   23093 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   23094 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   23095 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   23096 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   23097 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   23098 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   23099 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   23100 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   23101 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   23102 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   23103 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   23104 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   23105 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   23106 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   23107 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   23108 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   23109 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   23110 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   23111 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   23112 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   23113 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   23114 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   23115 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   23116 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   23117 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   23118 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   23119 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   23120 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   23121 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   23122 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   23123 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   23124 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   23125 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   23126 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   23127 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   23128 
   23129 LTCC='$LTCC'
   23130 LTCFLAGS='$LTCFLAGS'
   23131 compiler='$compiler_DEFAULT'
   23132 
   23133 # A function that is used when there is no print builtin or printf.
   23134 func_fallback_echo ()
   23135 {
   23136   eval 'cat <<_LTECHO_EOF
   23137 \$1
   23138 _LTECHO_EOF'
   23139 }
   23140 
   23141 # Quote evaled strings.
   23142 for var in SHELL \
   23143 ECHO \
   23144 PATH_SEPARATOR \
   23145 SED \
   23146 GREP \
   23147 EGREP \
   23148 FGREP \
   23149 LD \
   23150 NM \
   23151 LN_S \
   23152 lt_SP2NL \
   23153 lt_NL2SP \
   23154 reload_flag \
   23155 FILECMD \
   23156 OBJDUMP \
   23157 deplibs_check_method \
   23158 file_magic_cmd \
   23159 file_magic_glob \
   23160 want_nocaseglob \
   23161 DLLTOOL \
   23162 sharedlib_from_linklib_cmd \
   23163 AR \
   23164 archiver_list_spec \
   23165 STRIP \
   23166 RANLIB \
   23167 CC \
   23168 CFLAGS \
   23169 compiler \
   23170 lt_cv_sys_global_symbol_pipe \
   23171 lt_cv_sys_global_symbol_to_cdecl \
   23172 lt_cv_sys_global_symbol_to_import \
   23173 lt_cv_sys_global_symbol_to_c_name_address \
   23174 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   23175 lt_cv_nm_interface \
   23176 nm_file_list_spec \
   23177 lt_cv_truncate_bin \
   23178 lt_prog_compiler_no_builtin_flag \
   23179 lt_prog_compiler_pic \
   23180 lt_prog_compiler_wl \
   23181 lt_prog_compiler_static \
   23182 lt_cv_prog_compiler_c_o \
   23183 need_locks \
   23184 MANIFEST_TOOL \
   23185 DSYMUTIL \
   23186 NMEDIT \
   23187 LIPO \
   23188 OTOOL \
   23189 OTOOL64 \
   23190 shrext_cmds \
   23191 export_dynamic_flag_spec \
   23192 whole_archive_flag_spec \
   23193 compiler_needs_object \
   23194 with_gnu_ld \
   23195 allow_undefined_flag \
   23196 no_undefined_flag \
   23197 hardcode_libdir_flag_spec \
   23198 hardcode_libdir_separator \
   23199 exclude_expsyms \
   23200 include_expsyms \
   23201 file_list_spec \
   23202 variables_saved_for_relink \
   23203 libname_spec \
   23204 library_names_spec \
   23205 soname_spec \
   23206 install_override_mode \
   23207 finish_eval \
   23208 old_striplib \
   23209 striplib; do
   23210     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   23211     *[\\\\\\\`\\"\\\$]*)
   23212       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   23213       ;;
   23214     *)
   23215       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   23216       ;;
   23217     esac
   23218 done
   23219 
   23220 # Double-quote double-evaled strings.
   23221 for var in reload_cmds \
   23222 old_postinstall_cmds \
   23223 old_postuninstall_cmds \
   23224 old_archive_cmds \
   23225 extract_expsyms_cmds \
   23226 old_archive_from_new_cmds \
   23227 old_archive_from_expsyms_cmds \
   23228 archive_cmds \
   23229 archive_expsym_cmds \
   23230 module_cmds \
   23231 module_expsym_cmds \
   23232 export_symbols_cmds \
   23233 prelink_cmds \
   23234 postlink_cmds \
   23235 postinstall_cmds \
   23236 postuninstall_cmds \
   23237 finish_cmds \
   23238 sys_lib_search_path_spec \
   23239 configure_time_dlsearch_path \
   23240 configure_time_lt_sys_library_path; do
   23241     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   23242     *[\\\\\\\`\\"\\\$]*)
   23243       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   23244       ;;
   23245     *)
   23246       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   23247       ;;
   23248     esac
   23249 done
   23250 
   23251 ac_aux_dir='$ac_aux_dir'
   23252 
   23253 # See if we are running on zsh, and set the options that allow our
   23254 # commands through without removal of \ escapes INIT.
   23255 if test -n "\${ZSH_VERSION+set}"; then
   23256    setopt NO_GLOB_SUBST
   23257 fi
   23258 
   23259 
   23260     PACKAGE='$PACKAGE'
   23261     VERSION='$VERSION'
   23262     RM='$RM'
   23263     ofile='$ofile'
   23264 
   23265 
   23266 
   23267 
   23268 _ACEOF
   23269 
   23270 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23271 
   23272 # Handling of arguments.
   23273 for ac_config_target in $ac_config_targets
   23274 do
   23275   case $ac_config_target in
   23276     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   23277     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   23278     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   23279     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   23280     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   23281     "specs/Makefile") CONFIG_FILES="$CONFIG_FILES specs/Makefile" ;;
   23282     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   23283     "ice.pc") CONFIG_FILES="$CONFIG_FILES ice.pc" ;;
   23284 
   23285   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   23286   esac
   23287 done
   23288 
   23289 
   23290 # If the user did not use the arguments to specify the items to instantiate,
   23291 # then the envvar interface is used.  Set only those that are not.
   23292 # We use the long form for the default assignment because of an extremely
   23293 # bizarre bug on SunOS 4.1.3.
   23294 if $ac_need_defaults; then
   23295   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   23296   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   23297   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   23298 fi
   23299 
   23300 # Have a temporary directory for convenience.  Make it in the build tree
   23301 # simply because there is no reason against having it here, and in addition,
   23302 # creating and moving files from /tmp can sometimes cause problems.
   23303 # Hook for its removal unless debugging.
   23304 # Note that there is a small window in which the directory will not be cleaned:
   23305 # after its creation but before its name has been assigned to '$tmp'.
   23306 $debug ||
   23307 {
   23308   tmp= ac_tmp=
   23309   trap 'exit_status=$?
   23310   : "${ac_tmp:=$tmp}"
   23311   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   23312 ' 0
   23313   trap 'as_fn_exit 1' 1 2 13 15
   23314 }
   23315 # Create a (secure) tmp directory for tmp files.
   23316 
   23317 {
   23318   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   23319   test -d "$tmp"
   23320 }  ||
   23321 {
   23322   tmp=./conf$$-$RANDOM
   23323   (umask 077 && mkdir "$tmp")
   23324 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   23325 ac_tmp=$tmp
   23326 
   23327 # Set up the scripts for CONFIG_FILES section.
   23328 # No need to generate them if there are no CONFIG_FILES.
   23329 # This happens for instance with './config.status config.h'.
   23330 if test -n "$CONFIG_FILES"; then
   23331 
   23332 
   23333 ac_cr=`echo X | tr X '\015'`
   23334 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   23335 # But we know of no other shell where ac_cr would be empty at this
   23336 # point, so we can use a bashism as a fallback.
   23337 if test "x$ac_cr" = x; then
   23338   eval ac_cr=\$\'\\r\'
   23339 fi
   23340 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   23341 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   23342   ac_cs_awk_cr='\\r'
   23343 else
   23344   ac_cs_awk_cr=$ac_cr
   23345 fi
   23346 
   23347 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   23348 _ACEOF
   23349 
   23350 
   23351 {
   23352   echo "cat >conf$$subs.awk <<_ACEOF" &&
   23353   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   23354   echo "_ACEOF"
   23355 } >conf$$subs.sh ||
   23356   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   23357 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   23358 ac_delim='%!_!# '
   23359 for ac_last_try in false false false false false :; do
   23360   . ./conf$$subs.sh ||
   23361     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   23362 
   23363   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   23364   if test $ac_delim_n = $ac_delim_num; then
   23365     break
   23366   elif $ac_last_try; then
   23367     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   23368   else
   23369     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   23370   fi
   23371 done
   23372 rm -f conf$$subs.sh
   23373 
   23374 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23375 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   23376 _ACEOF
   23377 sed -n '
   23378 h
   23379 s/^/S["/; s/!.*/"]=/
   23380 p
   23381 g
   23382 s/^[^!]*!//
   23383 :repl
   23384 t repl
   23385 s/'"$ac_delim"'$//
   23386 t delim
   23387 :nl
   23388 h
   23389 s/\(.\{148\}\)..*/\1/
   23390 t more1
   23391 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   23392 p
   23393 n
   23394 b repl
   23395 :more1
   23396 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   23397 p
   23398 g
   23399 s/.\{148\}//
   23400 t nl
   23401 :delim
   23402 h
   23403 s/\(.\{148\}\)..*/\1/
   23404 t more2
   23405 s/["\\]/\\&/g; s/^/"/; s/$/"/
   23406 p
   23407 b
   23408 :more2
   23409 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   23410 p
   23411 g
   23412 s/.\{148\}//
   23413 t delim
   23414 ' <conf$$subs.awk | sed '
   23415 /^[^""]/{
   23416   N
   23417   s/\n//
   23418 }
   23419 ' >>$CONFIG_STATUS || ac_write_fail=1
   23420 rm -f conf$$subs.awk
   23421 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23422 _ACAWK
   23423 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   23424   for (key in S) S_is_set[key] = 1
   23425   FS = ""
   23426 
   23427 }
   23428 {
   23429   line = $ 0
   23430   nfields = split(line, field, "@")
   23431   substed = 0
   23432   len = length(field[1])
   23433   for (i = 2; i < nfields; i++) {
   23434     key = field[i]
   23435     keylen = length(key)
   23436     if (S_is_set[key]) {
   23437       value = S[key]
   23438       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   23439       len += length(value) + length(field[++i])
   23440       substed = 1
   23441     } else
   23442       len += 1 + keylen
   23443   }
   23444 
   23445   print line
   23446 }
   23447 
   23448 _ACAWK
   23449 _ACEOF
   23450 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23451 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   23452   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   23453 else
   23454   cat
   23455 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   23456   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   23457 _ACEOF
   23458 
   23459 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   23460 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   23461 # trailing colons and then remove the whole line if VPATH becomes empty
   23462 # (actually we leave an empty line to preserve line numbers).
   23463 if test "x$srcdir" = x.; then
   23464   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   23465 h
   23466 s///
   23467 s/^/:/
   23468 s/[	 ]*$/:/
   23469 s/:\$(srcdir):/:/g
   23470 s/:\${srcdir}:/:/g
   23471 s/:@srcdir@:/:/g
   23472 s/^:*//
   23473 s/:*$//
   23474 x
   23475 s/\(=[	 ]*\).*/\1/
   23476 G
   23477 s/\n//
   23478 s/^[^=]*=[	 ]*$//
   23479 }'
   23480 fi
   23481 
   23482 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23483 fi # test -n "$CONFIG_FILES"
   23484 
   23485 # Set up the scripts for CONFIG_HEADERS section.
   23486 # No need to generate them if there are no CONFIG_HEADERS.
   23487 # This happens for instance with './config.status Makefile'.
   23488 if test -n "$CONFIG_HEADERS"; then
   23489 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   23490 BEGIN {
   23491 _ACEOF
   23492 
   23493 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   23494 # here-document in config.status, that substitutes the proper values into
   23495 # config.h.in to produce config.h.
   23496 
   23497 # Create a delimiter string that does not exist in confdefs.h, to ease
   23498 # handling of long lines.
   23499 ac_delim='%!_!# '
   23500 for ac_last_try in false false :; do
   23501   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   23502   if test -z "$ac_tt"; then
   23503     break
   23504   elif $ac_last_try; then
   23505     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   23506   else
   23507     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   23508   fi
   23509 done
   23510 
   23511 # For the awk script, D is an array of macro values keyed by name,
   23512 # likewise P contains macro parameters if any.  Preserve backslash
   23513 # newline sequences.
   23514 
   23515 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   23516 sed -n '
   23517 s/.\{148\}/&'"$ac_delim"'/g
   23518 t rset
   23519 :rset
   23520 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   23521 t def
   23522 d
   23523 :def
   23524 s/\\$//
   23525 t bsnl
   23526 s/["\\]/\\&/g
   23527 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   23528 D["\1"]=" \3"/p
   23529 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   23530 d
   23531 :bsnl
   23532 s/["\\]/\\&/g
   23533 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   23534 D["\1"]=" \3\\\\\\n"\\/p
   23535 t cont
   23536 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   23537 t cont
   23538 d
   23539 :cont
   23540 n
   23541 s/.\{148\}/&'"$ac_delim"'/g
   23542 t clear
   23543 :clear
   23544 s/\\$//
   23545 t bsnlc
   23546 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   23547 d
   23548 :bsnlc
   23549 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   23550 b cont
   23551 ' <confdefs.h | sed '
   23552 s/'"$ac_delim"'/"\\\
   23553 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   23554 
   23555 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23556   for (key in D) D_is_set[key] = 1
   23557   FS = ""
   23558 }
   23559 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   23560   line = \$ 0
   23561   split(line, arg, " ")
   23562   if (arg[1] == "#") {
   23563     defundef = arg[2]
   23564     mac1 = arg[3]
   23565   } else {
   23566     defundef = substr(arg[1], 2)
   23567     mac1 = arg[2]
   23568   }
   23569   split(mac1, mac2, "(") #)
   23570   macro = mac2[1]
   23571   prefix = substr(line, 1, index(line, defundef) - 1)
   23572   if (D_is_set[macro]) {
   23573     # Preserve the white space surrounding the "#".
   23574     print prefix "define", macro P[macro] D[macro]
   23575     next
   23576   } else {
   23577     # Replace #undef with comments.  This is necessary, for example,
   23578     # in the case of _POSIX_SOURCE, which is predefined and required
   23579     # on some systems where configure will not decide to define it.
   23580     if (defundef == "undef") {
   23581       print "/*", prefix defundef, macro, "*/"
   23582       next
   23583     }
   23584   }
   23585 }
   23586 { print }
   23587 _ACAWK
   23588 _ACEOF
   23589 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23590   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   23591 fi # test -n "$CONFIG_HEADERS"
   23592 
   23593 
   23594 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   23595 shift
   23596 for ac_tag
   23597 do
   23598   case $ac_tag in
   23599   :[FHLC]) ac_mode=$ac_tag; continue;;
   23600   esac
   23601   case $ac_mode$ac_tag in
   23602   :[FHL]*:*);;
   23603   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   23604   :[FH]-) ac_tag=-:-;;
   23605   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   23606   esac
   23607   ac_save_IFS=$IFS
   23608   IFS=:
   23609   set x $ac_tag
   23610   IFS=$ac_save_IFS
   23611   shift
   23612   ac_file=$1
   23613   shift
   23614 
   23615   case $ac_mode in
   23616   :L) ac_source=$1;;
   23617   :[FH])
   23618     ac_file_inputs=
   23619     for ac_f
   23620     do
   23621       case $ac_f in
   23622       -) ac_f="$ac_tmp/stdin";;
   23623       *) # Look for the file first in the build tree, then in the source tree
   23624 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   23625 	 # because $ac_f cannot contain ':'.
   23626 	 test -f "$ac_f" ||
   23627 	   case $ac_f in
   23628 	   [\\/$]*) false;;
   23629 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   23630 	   esac ||
   23631 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   23632       esac
   23633       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   23634       as_fn_append ac_file_inputs " '$ac_f'"
   23635     done
   23636 
   23637     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   23638     # use $as_me), people would be surprised to read:
   23639     #    /* config.h.  Generated by config.status.  */
   23640     configure_input='Generated from '`
   23641 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   23642 	`' by configure.'
   23643     if test x"$ac_file" != x-; then
   23644       configure_input="$ac_file.  $configure_input"
   23645       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   23646 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   23647     fi
   23648     # Neutralize special characters interpreted by sed in replacement strings.
   23649     case $configure_input in #(
   23650     *\&* | *\|* | *\\* )
   23651        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   23652        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   23653     *) ac_sed_conf_input=$configure_input;;
   23654     esac
   23655 
   23656     case $ac_tag in
   23657     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   23658       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   23659     esac
   23660     ;;
   23661   esac
   23662 
   23663   ac_dir=`$as_dirname -- "$ac_file" ||
   23664 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23665 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   23666 	 X"$ac_file" : 'X\(//\)$' \| \
   23667 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   23668 printf "%s\n" X"$ac_file" |
   23669     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23670 	    s//\1/
   23671 	    q
   23672 	  }
   23673 	  /^X\(\/\/\)[^/].*/{
   23674 	    s//\1/
   23675 	    q
   23676 	  }
   23677 	  /^X\(\/\/\)$/{
   23678 	    s//\1/
   23679 	    q
   23680 	  }
   23681 	  /^X\(\/\).*/{
   23682 	    s//\1/
   23683 	    q
   23684 	  }
   23685 	  s/.*/./; q'`
   23686   as_dir="$ac_dir"; as_fn_mkdir_p
   23687   ac_builddir=.
   23688 
   23689 case "$ac_dir" in
   23690 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   23691 *)
   23692   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   23693   # A ".." for each directory in $ac_dir_suffix.
   23694   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   23695   case $ac_top_builddir_sub in
   23696   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   23697   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   23698   esac ;;
   23699 esac
   23700 ac_abs_top_builddir=$ac_pwd
   23701 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   23702 # for backward compatibility:
   23703 ac_top_builddir=$ac_top_build_prefix
   23704 
   23705 case $srcdir in
   23706   .)  # We are building in place.
   23707     ac_srcdir=.
   23708     ac_top_srcdir=$ac_top_builddir_sub
   23709     ac_abs_top_srcdir=$ac_pwd ;;
   23710   [\\/]* | ?:[\\/]* )  # Absolute name.
   23711     ac_srcdir=$srcdir$ac_dir_suffix;
   23712     ac_top_srcdir=$srcdir
   23713     ac_abs_top_srcdir=$srcdir ;;
   23714   *) # Relative name.
   23715     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   23716     ac_top_srcdir=$ac_top_build_prefix$srcdir
   23717     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   23718 esac
   23719 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   23720 
   23721 
   23722   case $ac_mode in
   23723   :F)
   23724   #
   23725   # CONFIG_FILE
   23726   #
   23727 
   23728   case $INSTALL in
   23729   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   23730   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   23731   esac
   23732   ac_MKDIR_P=$MKDIR_P
   23733   case $MKDIR_P in
   23734   [\\/$]* | ?:[\\/]* ) ;;
   23735   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   23736   esac
   23737 _ACEOF
   23738 
   23739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23740 # If the template does not know about datarootdir, expand it.
   23741 # FIXME: This hack should be removed a few years after 2.60.
   23742 ac_datarootdir_hack=; ac_datarootdir_seen=
   23743 ac_sed_dataroot='
   23744 /datarootdir/ {
   23745   p
   23746   q
   23747 }
   23748 /@datadir@/p
   23749 /@docdir@/p
   23750 /@infodir@/p
   23751 /@localedir@/p
   23752 /@mandir@/p'
   23753 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   23754 *datarootdir*) ac_datarootdir_seen=yes;;
   23755 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   23756   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   23757 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   23758 _ACEOF
   23759 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23760   ac_datarootdir_hack='
   23761   s&@datadir@&$datadir&g
   23762   s&@docdir@&$docdir&g
   23763   s&@infodir@&$infodir&g
   23764   s&@localedir@&$localedir&g
   23765   s&@mandir@&$mandir&g
   23766   s&\\\${datarootdir}&$datarootdir&g' ;;
   23767 esac
   23768 _ACEOF
   23769 
   23770 # Neutralize VPATH when '$srcdir' = '.'.
   23771 # Shell code in configure.ac might set extrasub.
   23772 # FIXME: do we really want to maintain this feature?
   23773 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23774 ac_sed_extra="$ac_vpsub
   23775 $extrasub
   23776 _ACEOF
   23777 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23778 :t
   23779 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   23780 s|@configure_input@|$ac_sed_conf_input|;t t
   23781 s&@top_builddir@&$ac_top_builddir_sub&;t t
   23782 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   23783 s&@srcdir@&$ac_srcdir&;t t
   23784 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   23785 s&@top_srcdir@&$ac_top_srcdir&;t t
   23786 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   23787 s&@builddir@&$ac_builddir&;t t
   23788 s&@abs_builddir@&$ac_abs_builddir&;t t
   23789 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   23790 s&@INSTALL@&$ac_INSTALL&;t t
   23791 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   23792 $ac_datarootdir_hack
   23793 "
   23794 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   23795   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   23796 
   23797 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   23798   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   23799   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   23800       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   23801   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   23802 which seems to be undefined.  Please make sure it is defined" >&5
   23803 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   23804 which seems to be undefined.  Please make sure it is defined" >&2;}
   23805 
   23806   rm -f "$ac_tmp/stdin"
   23807   case $ac_file in
   23808   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   23809   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   23810   esac \
   23811   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   23812  ;;
   23813   :H)
   23814   #
   23815   # CONFIG_HEADER
   23816   #
   23817   if test x"$ac_file" != x-; then
   23818     {
   23819       printf "%s\n" "/* $configure_input  */" >&1 \
   23820       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   23821     } >"$ac_tmp/config.h" \
   23822       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   23823     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   23824       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   23825 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   23826     else
   23827       rm -f "$ac_file"
   23828       mv "$ac_tmp/config.h" "$ac_file" \
   23829 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   23830     fi
   23831   else
   23832     printf "%s\n" "/* $configure_input  */" >&1 \
   23833       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   23834       || as_fn_error $? "could not create -" "$LINENO" 5
   23835   fi
   23836 # Compute "$ac_file"'s index in $config_headers.
   23837 _am_arg="$ac_file"
   23838 _am_stamp_count=1
   23839 for _am_header in $config_headers :; do
   23840   case $_am_header in
   23841     $_am_arg | $_am_arg:* )
   23842       break ;;
   23843     * )
   23844       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   23845   esac
   23846 done
   23847 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   23848 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23849 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   23850 	 X"$_am_arg" : 'X\(//\)$' \| \
   23851 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   23852 printf "%s\n" X"$_am_arg" |
   23853     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23854 	    s//\1/
   23855 	    q
   23856 	  }
   23857 	  /^X\(\/\/\)[^/].*/{
   23858 	    s//\1/
   23859 	    q
   23860 	  }
   23861 	  /^X\(\/\/\)$/{
   23862 	    s//\1/
   23863 	    q
   23864 	  }
   23865 	  /^X\(\/\).*/{
   23866 	    s//\1/
   23867 	    q
   23868 	  }
   23869 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   23870  ;;
   23871 
   23872   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   23873 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   23874  ;;
   23875   esac
   23876 
   23877 
   23878   case $ac_file$ac_mode in
   23879     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   23880   # Older Autoconf quotes --file arguments for eval, but not when files
   23881   # are listed without --file.  Let's play safe and only enable the eval
   23882   # if we detect the quoting.
   23883   # TODO: see whether this extra hack can be removed once we start
   23884   # requiring Autoconf 2.70 or later.
   23885   case $CONFIG_FILES in #(
   23886   *\'*) :
   23887     eval set x "$CONFIG_FILES" ;; #(
   23888   *) :
   23889     set x $CONFIG_FILES ;; #(
   23890   *) :
   23891      ;;
   23892 esac
   23893   shift
   23894   # Used to flag and report bootstrapping failures.
   23895   am_rc=0
   23896   for am_mf
   23897   do
   23898     # Strip MF so we end up with the name of the file.
   23899     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   23900     # Check whether this is an Automake generated Makefile which includes
   23901     # dependency-tracking related rules and includes.
   23902     # Grep'ing the whole file directly is not great: AIX grep has a line
   23903     # limit of 2048, but all sed's we know have understand at least 4000.
   23904     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   23905       || continue
   23906     am_dirpart=`$as_dirname -- "$am_mf" ||
   23907 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23908 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   23909 	 X"$am_mf" : 'X\(//\)$' \| \
   23910 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   23911 printf "%s\n" X"$am_mf" |
   23912     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23913 	    s//\1/
   23914 	    q
   23915 	  }
   23916 	  /^X\(\/\/\)[^/].*/{
   23917 	    s//\1/
   23918 	    q
   23919 	  }
   23920 	  /^X\(\/\/\)$/{
   23921 	    s//\1/
   23922 	    q
   23923 	  }
   23924 	  /^X\(\/\).*/{
   23925 	    s//\1/
   23926 	    q
   23927 	  }
   23928 	  s/.*/./; q'`
   23929     am_filepart=`$as_basename -- "$am_mf" ||
   23930 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   23931 	 X"$am_mf" : 'X\(//\)$' \| \
   23932 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   23933 printf "%s\n" X/"$am_mf" |
   23934     sed '/^.*\/\([^/][^/]*\)\/*$/{
   23935 	    s//\1/
   23936 	    q
   23937 	  }
   23938 	  /^X\/\(\/\/\)$/{
   23939 	    s//\1/
   23940 	    q
   23941 	  }
   23942 	  /^X\/\(\/\).*/{
   23943 	    s//\1/
   23944 	    q
   23945 	  }
   23946 	  s/.*/./; q'`
   23947     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   23948       && sed -e '/# am--include-marker/d' "$am_filepart" \
   23949         | $MAKE -f - am--depfiles" >&5
   23950    (cd "$am_dirpart" \
   23951       && sed -e '/# am--include-marker/d' "$am_filepart" \
   23952         | $MAKE -f - am--depfiles) >&5 2>&5
   23953    ac_status=$?
   23954    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   23955    (exit $ac_status); } || am_rc=$?
   23956   done
   23957   if test $am_rc -ne 0; then
   23958     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   23959 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   23960 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   23961     for automatic dependency tracking.  If GNU make was not used, consider
   23962     re-running the configure script with MAKE=\"gmake\" (or whatever is
   23963     necessary).  You can also try re-running configure with the
   23964     '--disable-dependency-tracking' option to at least be able to build
   23965     the package (albeit without support for automatic dependency tracking).
   23966 See 'config.log' for more details" "$LINENO" 5; }
   23967   fi
   23968   { am_dirpart=; unset am_dirpart;}
   23969   { am_filepart=; unset am_filepart;}
   23970   { am_mf=; unset am_mf;}
   23971   { am_rc=; unset am_rc;}
   23972   rm -f conftest-deps.mk
   23973 }
   23974  ;;
   23975     "libtool":C)
   23976 
   23977     # See if we are running on zsh, and set the options that allow our
   23978     # commands through without removal of \ escapes.
   23979     if test -n "${ZSH_VERSION+set}"; then
   23980       setopt NO_GLOB_SUBST
   23981     fi
   23982 
   23983     cfgfile=${ofile}T
   23984     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   23985     $RM "$cfgfile"
   23986 
   23987     cat <<_LT_EOF >> "$cfgfile"
   23988 #! $SHELL
   23989 # Generated automatically by $as_me ($PACKAGE) $VERSION
   23990 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   23991 
   23992 # Provide generalized library-building support services.
   23993 # Written by Gordon Matzigkeit, 1996
   23994 
   23995 # Copyright (C) 2024 Free Software Foundation, Inc.
   23996 # This is free software; see the source for copying conditions.  There is NO
   23997 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   23998 
   23999 # GNU Libtool is free software; you can redistribute it and/or modify
   24000 # it under the terms of the GNU General Public License as published by
   24001 # the Free Software Foundation; either version 2 of the License, or
   24002 # (at your option) any later version.
   24003 #
   24004 # As a special exception to the GNU General Public License, if you
   24005 # distribute this file as part of a program or library that is built
   24006 # using GNU Libtool, you may include this file under the  same
   24007 # distribution terms that you use for the rest of that program.
   24008 #
   24009 # GNU Libtool is distributed in the hope that it will be useful, but
   24010 # WITHOUT ANY WARRANTY; without even the implied warranty of
   24011 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   24012 # GNU General Public License for more details.
   24013 #
   24014 # You should have received a copy of the GNU General Public License
   24015 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   24016 
   24017 
   24018 # The names of the tagged configurations supported by this script.
   24019 available_tags=''
   24020 
   24021 # Configured defaults for sys_lib_dlsearch_path munging.
   24022 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   24023 
   24024 # ### BEGIN LIBTOOL CONFIG
   24025 
   24026 # Which release of libtool.m4 was used?
   24027 macro_version=$macro_version
   24028 macro_revision=$macro_revision
   24029 
   24030 # Whether or not to build shared libraries.
   24031 build_libtool_libs=$enable_shared
   24032 
   24033 # Whether or not to build static libraries.
   24034 build_old_libs=$enable_static
   24035 
   24036 # What type of objects to build.
   24037 pic_mode=$pic_mode
   24038 
   24039 # Whether or not to optimize for fast installation.
   24040 fast_install=$enable_fast_install
   24041 
   24042 # Shared archive member basename,for filename based shared library versioning on AIX.
   24043 shared_archive_member_spec=$shared_archive_member_spec
   24044 
   24045 # Shell to use when invoking shell scripts.
   24046 SHELL=$lt_SHELL
   24047 
   24048 # An echo program that protects backslashes.
   24049 ECHO=$lt_ECHO
   24050 
   24051 # The PATH separator for the build system.
   24052 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   24053 
   24054 # The host system.
   24055 host_alias=$host_alias
   24056 host=$host
   24057 host_os=$host_os
   24058 
   24059 # The build system.
   24060 build_alias=$build_alias
   24061 build=$build
   24062 build_os=$build_os
   24063 
   24064 # A sed program that does not truncate output.
   24065 SED=$lt_SED
   24066 
   24067 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   24068 Xsed="\$SED -e 1s/^X//"
   24069 
   24070 # A grep program that handles long lines.
   24071 GREP=$lt_GREP
   24072 
   24073 # An ERE matcher.
   24074 EGREP=$lt_EGREP
   24075 
   24076 # A literal string matcher.
   24077 FGREP=$lt_FGREP
   24078 
   24079 # A BSD- or MS-compatible name lister.
   24080 NM=$lt_NM
   24081 
   24082 # Whether we need soft or hard links.
   24083 LN_S=$lt_LN_S
   24084 
   24085 # What is the maximum length of a command?
   24086 max_cmd_len=$max_cmd_len
   24087 
   24088 # Object file suffix (normally "o").
   24089 objext=$ac_objext
   24090 
   24091 # Executable file suffix (normally "").
   24092 exeext=$exeext
   24093 
   24094 # whether the shell understands "unset".
   24095 lt_unset=$lt_unset
   24096 
   24097 # turn spaces into newlines.
   24098 SP2NL=$lt_lt_SP2NL
   24099 
   24100 # turn newlines into spaces.
   24101 NL2SP=$lt_lt_NL2SP
   24102 
   24103 # convert \$build file names to \$host format.
   24104 to_host_file_cmd=$lt_cv_to_host_file_cmd
   24105 
   24106 # convert \$build files to toolchain format.
   24107 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   24108 
   24109 # A file(cmd) program that detects file types.
   24110 FILECMD=$lt_FILECMD
   24111 
   24112 # An object symbol dumper.
   24113 OBJDUMP=$lt_OBJDUMP
   24114 
   24115 # Method to check whether dependent libraries are shared objects.
   24116 deplibs_check_method=$lt_deplibs_check_method
   24117 
   24118 # Command to use when deplibs_check_method = "file_magic".
   24119 file_magic_cmd=$lt_file_magic_cmd
   24120 
   24121 # How to find potential files when deplibs_check_method = "file_magic".
   24122 file_magic_glob=$lt_file_magic_glob
   24123 
   24124 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   24125 want_nocaseglob=$lt_want_nocaseglob
   24126 
   24127 # DLL creation program.
   24128 DLLTOOL=$lt_DLLTOOL
   24129 
   24130 # Command to associate shared and link libraries.
   24131 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   24132 
   24133 # The archiver.
   24134 AR=$lt_AR
   24135 
   24136 # Flags to create an archive (by configure).
   24137 lt_ar_flags=$lt_ar_flags
   24138 
   24139 # Flags to create an archive.
   24140 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   24141 
   24142 # How to feed a file listing to the archiver.
   24143 archiver_list_spec=$lt_archiver_list_spec
   24144 
   24145 # A symbol stripping program.
   24146 STRIP=$lt_STRIP
   24147 
   24148 # Commands used to install an old-style archive.
   24149 RANLIB=$lt_RANLIB
   24150 old_postinstall_cmds=$lt_old_postinstall_cmds
   24151 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   24152 
   24153 # Whether to use a lock for old archive extraction.
   24154 lock_old_archive_extraction=$lock_old_archive_extraction
   24155 
   24156 # A C compiler.
   24157 LTCC=$lt_CC
   24158 
   24159 # LTCC compiler flags.
   24160 LTCFLAGS=$lt_CFLAGS
   24161 
   24162 # Take the output of nm and produce a listing of raw symbols and C names.
   24163 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   24164 
   24165 # Transform the output of nm in a proper C declaration.
   24166 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   24167 
   24168 # Transform the output of nm into a list of symbols to manually relocate.
   24169 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   24170 
   24171 # Transform the output of nm in a C name address pair.
   24172 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   24173 
   24174 # Transform the output of nm in a C name address pair when lib prefix is needed.
   24175 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   24176 
   24177 # The name lister interface.
   24178 nm_interface=$lt_lt_cv_nm_interface
   24179 
   24180 # Specify filename containing input files for \$NM.
   24181 nm_file_list_spec=$lt_nm_file_list_spec
   24182 
   24183 # The root where to search for dependent libraries,and where our libraries should be installed.
   24184 lt_sysroot=$lt_sysroot
   24185 
   24186 # Command to truncate a binary pipe.
   24187 lt_truncate_bin=$lt_lt_cv_truncate_bin
   24188 
   24189 # The name of the directory that contains temporary libtool files.
   24190 objdir=$objdir
   24191 
   24192 # Used to examine libraries when file_magic_cmd begins with "file".
   24193 MAGIC_CMD=$MAGIC_CMD
   24194 
   24195 # Must we lock files when doing compilation?
   24196 need_locks=$lt_need_locks
   24197 
   24198 # Manifest tool.
   24199 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   24200 
   24201 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   24202 DSYMUTIL=$lt_DSYMUTIL
   24203 
   24204 # Tool to change global to local symbols on Mac OS X.
   24205 NMEDIT=$lt_NMEDIT
   24206 
   24207 # Tool to manipulate fat objects and archives on Mac OS X.
   24208 LIPO=$lt_LIPO
   24209 
   24210 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   24211 OTOOL=$lt_OTOOL
   24212 
   24213 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   24214 OTOOL64=$lt_OTOOL64
   24215 
   24216 # Old archive suffix (normally "a").
   24217 libext=$libext
   24218 
   24219 # Shared library suffix (normally ".so").
   24220 shrext_cmds=$lt_shrext_cmds
   24221 
   24222 # The commands to extract the exported symbol list from a shared archive.
   24223 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   24224 
   24225 # Variables whose values should be saved in libtool wrapper scripts and
   24226 # restored at link time.
   24227 variables_saved_for_relink=$lt_variables_saved_for_relink
   24228 
   24229 # Do we need the "lib" prefix for modules?
   24230 need_lib_prefix=$need_lib_prefix
   24231 
   24232 # Do we need a version for libraries?
   24233 need_version=$need_version
   24234 
   24235 # Library versioning type.
   24236 version_type=$version_type
   24237 
   24238 # Shared library runtime path variable.
   24239 runpath_var=$runpath_var
   24240 
   24241 # Shared library path variable.
   24242 shlibpath_var=$shlibpath_var
   24243 
   24244 # Is shlibpath searched before the hard-coded library search path?
   24245 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   24246 
   24247 # Format of library name prefix.
   24248 libname_spec=$lt_libname_spec
   24249 
   24250 # List of archive names.  First name is the real one, the rest are links.
   24251 # The last name is the one that the linker finds with -lNAME
   24252 library_names_spec=$lt_library_names_spec
   24253 
   24254 # The coded name of the library, if different from the real name.
   24255 soname_spec=$lt_soname_spec
   24256 
   24257 # Permission mode override for installation of shared libraries.
   24258 install_override_mode=$lt_install_override_mode
   24259 
   24260 # Command to use after installation of a shared archive.
   24261 postinstall_cmds=$lt_postinstall_cmds
   24262 
   24263 # Command to use after uninstallation of a shared archive.
   24264 postuninstall_cmds=$lt_postuninstall_cmds
   24265 
   24266 # Commands used to finish a libtool library installation in a directory.
   24267 finish_cmds=$lt_finish_cmds
   24268 
   24269 # As "finish_cmds", except a single script fragment to be evaled but
   24270 # not shown.
   24271 finish_eval=$lt_finish_eval
   24272 
   24273 # Whether we should hardcode library paths into libraries.
   24274 hardcode_into_libs=$hardcode_into_libs
   24275 
   24276 # Compile-time system search path for libraries.
   24277 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   24278 
   24279 # Detected run-time system search path for libraries.
   24280 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   24281 
   24282 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   24283 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   24284 
   24285 # Whether dlopen is supported.
   24286 dlopen_support=$enable_dlopen
   24287 
   24288 # Whether dlopen of programs is supported.
   24289 dlopen_self=$enable_dlopen_self
   24290 
   24291 # Whether dlopen of statically linked programs is supported.
   24292 dlopen_self_static=$enable_dlopen_self_static
   24293 
   24294 # Commands to strip libraries.
   24295 old_striplib=$lt_old_striplib
   24296 striplib=$lt_striplib
   24297 
   24298 
   24299 # The linker used to build libraries.
   24300 LD=$lt_LD
   24301 
   24302 # How to create reloadable object files.
   24303 reload_flag=$lt_reload_flag
   24304 reload_cmds=$lt_reload_cmds
   24305 
   24306 # Commands used to build an old-style archive.
   24307 old_archive_cmds=$lt_old_archive_cmds
   24308 
   24309 # A language specific compiler.
   24310 CC=$lt_compiler
   24311 
   24312 # Is the compiler the GNU compiler?
   24313 with_gcc=$GCC
   24314 
   24315 # Compiler flag to turn off builtin functions.
   24316 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   24317 
   24318 # Additional compiler flags for building library objects.
   24319 pic_flag=$lt_lt_prog_compiler_pic
   24320 
   24321 # How to pass a linker flag through the compiler.
   24322 wl=$lt_lt_prog_compiler_wl
   24323 
   24324 # Compiler flag to prevent dynamic linking.
   24325 link_static_flag=$lt_lt_prog_compiler_static
   24326 
   24327 # Does compiler simultaneously support -c and -o options?
   24328 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   24329 
   24330 # Whether or not to add -lc for building shared libraries.
   24331 build_libtool_need_lc=$archive_cmds_need_lc
   24332 
   24333 # Whether or not to disallow shared libs when runtime libs are static.
   24334 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   24335 
   24336 # Compiler flag to allow reflexive dlopens.
   24337 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   24338 
   24339 # Compiler flag to generate shared objects directly from archives.
   24340 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   24341 
   24342 # Whether the compiler copes with passing no objects directly.
   24343 compiler_needs_object=$lt_compiler_needs_object
   24344 
   24345 # Create an old-style archive from a shared archive.
   24346 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   24347 
   24348 # Create a temporary old-style archive to link instead of a shared archive.
   24349 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   24350 
   24351 # Commands used to build a shared archive.
   24352 archive_cmds=$lt_archive_cmds
   24353 archive_expsym_cmds=$lt_archive_expsym_cmds
   24354 
   24355 # Commands used to build a loadable module if different from building
   24356 # a shared archive.
   24357 module_cmds=$lt_module_cmds
   24358 module_expsym_cmds=$lt_module_expsym_cmds
   24359 
   24360 # Whether we are building with GNU ld or not.
   24361 with_gnu_ld=$lt_with_gnu_ld
   24362 
   24363 # Flag that allows shared libraries with undefined symbols to be built.
   24364 allow_undefined_flag=$lt_allow_undefined_flag
   24365 
   24366 # Flag that enforces no undefined symbols.
   24367 no_undefined_flag=$lt_no_undefined_flag
   24368 
   24369 # Flag to hardcode \$libdir into a binary during linking.
   24370 # This must work even if \$libdir does not exist
   24371 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   24372 
   24373 # Whether we need a single "-rpath" flag with a separated argument.
   24374 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   24375 
   24376 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   24377 # DIR into the resulting binary.
   24378 hardcode_direct=$hardcode_direct
   24379 
   24380 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   24381 # DIR into the resulting binary and the resulting library dependency is
   24382 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
   24383 # library is relocated.
   24384 hardcode_direct_absolute=$hardcode_direct_absolute
   24385 
   24386 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   24387 # into the resulting binary.
   24388 hardcode_minus_L=$hardcode_minus_L
   24389 
   24390 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   24391 # into the resulting binary.
   24392 hardcode_shlibpath_var=$hardcode_shlibpath_var
   24393 
   24394 # Set to "yes" if building a shared library automatically hardcodes DIR
   24395 # into the library and all subsequent libraries and executables linked
   24396 # against it.
   24397 hardcode_automatic=$hardcode_automatic
   24398 
   24399 # Set to yes if linker adds runtime paths of dependent libraries
   24400 # to runtime path list.
   24401 inherit_rpath=$inherit_rpath
   24402 
   24403 # Whether libtool must link a program against all its dependency libraries.
   24404 link_all_deplibs=$link_all_deplibs
   24405 
   24406 # Set to "yes" if exported symbols are required.
   24407 always_export_symbols=$always_export_symbols
   24408 
   24409 # The commands to list exported symbols.
   24410 export_symbols_cmds=$lt_export_symbols_cmds
   24411 
   24412 # Symbols that should not be listed in the preloaded symbols.
   24413 exclude_expsyms=$lt_exclude_expsyms
   24414 
   24415 # Symbols that must always be exported.
   24416 include_expsyms=$lt_include_expsyms
   24417 
   24418 # Commands necessary for linking programs (against libraries) with templates.
   24419 prelink_cmds=$lt_prelink_cmds
   24420 
   24421 # Commands necessary for finishing linking programs.
   24422 postlink_cmds=$lt_postlink_cmds
   24423 
   24424 # Specify filename containing input files.
   24425 file_list_spec=$lt_file_list_spec
   24426 
   24427 # How to hardcode a shared library path into an executable.
   24428 hardcode_action=$hardcode_action
   24429 
   24430 # ### END LIBTOOL CONFIG
   24431 
   24432 _LT_EOF
   24433 
   24434     cat <<'_LT_EOF' >> "$cfgfile"
   24435 
   24436 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   24437 
   24438 # func_munge_path_list VARIABLE PATH
   24439 # -----------------------------------
   24440 # VARIABLE is name of variable containing _space_ separated list of
   24441 # directories to be munged by the contents of PATH, which is string
   24442 # having a format:
   24443 # "DIR[:DIR]:"
   24444 #       string "DIR[ DIR]" will be prepended to VARIABLE
   24445 # ":DIR[:DIR]"
   24446 #       string "DIR[ DIR]" will be appended to VARIABLE
   24447 # "DIRP[:DIRP]::[DIRA:]DIRA"
   24448 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   24449 #       "DIRA[ DIRA]" will be appended to VARIABLE
   24450 # "DIR[:DIR]"
   24451 #       VARIABLE will be replaced by "DIR[ DIR]"
   24452 func_munge_path_list ()
   24453 {
   24454     case x$2 in
   24455     x)
   24456         ;;
   24457     *:)
   24458         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   24459         ;;
   24460     x:*)
   24461         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   24462         ;;
   24463     *::*)
   24464         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   24465         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   24466         ;;
   24467     *)
   24468         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   24469         ;;
   24470     esac
   24471 }
   24472 
   24473 
   24474 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   24475 func_cc_basename ()
   24476 {
   24477     for cc_temp in $*""; do
   24478       case $cc_temp in
   24479         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   24480         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   24481         \-*) ;;
   24482         *) break;;
   24483       esac
   24484     done
   24485     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   24486 }
   24487 
   24488 
   24489 # ### END FUNCTIONS SHARED WITH CONFIGURE
   24490 
   24491 _LT_EOF
   24492 
   24493   case $host_os in
   24494   aix3*)
   24495     cat <<\_LT_EOF >> "$cfgfile"
   24496 # AIX sometimes has problems with the GCC collect2 program.  For some
   24497 # reason, if we set the COLLECT_NAMES environment variable, the problems
   24498 # vanish in a puff of smoke.
   24499 if test set != "${COLLECT_NAMES+set}"; then
   24500   COLLECT_NAMES=
   24501   export COLLECT_NAMES
   24502 fi
   24503 _LT_EOF
   24504     ;;
   24505   esac
   24506 
   24507 
   24508 
   24509 ltmain=$ac_aux_dir/ltmain.sh
   24510 
   24511 
   24512   # We use sed instead of cat because bash on DJGPP gets confused if
   24513   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   24514   # text mode, it properly converts lines to CR/LF.  This bash problem
   24515   # is reportedly fixed, but why not run on old versions too?
   24516   $SED '$q' "$ltmain" >> "$cfgfile" \
   24517      || (rm -f "$cfgfile"; exit 1)
   24518 
   24519    mv -f "$cfgfile" "$ofile" ||
   24520     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   24521   chmod +x "$ofile"
   24522 
   24523  ;;
   24524 
   24525   esac
   24526 done # for ac_tag
   24527 
   24528 
   24529 as_fn_exit 0
   24530 _ACEOF
   24531 ac_clean_files=$ac_clean_files_save
   24532 
   24533 test $ac_write_fail = 0 ||
   24534   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   24535 
   24536 
   24537 # configure is writing to config.log, and then calls config.status.
   24538 # config.status does its own redirection, appending to config.log.
   24539 # Unfortunately, on DOS this fails, as config.log is still kept open
   24540 # by configure, so config.status won't be able to write to it; its
   24541 # output is simply discarded.  So we exec the FD to /dev/null,
   24542 # effectively closing config.log, so it can be properly (re)opened and
   24543 # appended to by config.status.  When coming back to configure, we
   24544 # need to make the FD available again.
   24545 if test "$no_create" != yes; then
   24546   ac_cs_success=:
   24547   ac_config_status_args=
   24548   test "$silent" = yes &&
   24549     ac_config_status_args="$ac_config_status_args --quiet"
   24550   exec 5>/dev/null
   24551   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   24552   exec 5>>config.log
   24553   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   24554   # would make configure fail if this is the last instruction.
   24555   $ac_cs_success || as_fn_exit 1
   24556 fi
   24557 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   24558   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   24559 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   24560 fi
   24561 
   24562 
   24563