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 libX11 1.8.12.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libx11/-/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/libx11/-/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='libX11'
    677 PACKAGE_TARNAME='libX11'
    678 PACKAGE_VERSION='1.8.12'
    679 PACKAGE_STRING='libX11 1.8.12'
    680 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libx11/-/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 ac_func_c_list=
    717 enable_year2038=no
    718 ac_subst_vars='am__EXEEXT_FALSE
    719 am__EXEEXT_TRUE
    720 LTLIBOBJS
    721 XTMALLOC_ZERO_CFLAGS
    722 XMALLOC_ZERO_CFLAGS
    723 MALLOC_ZERO_CFLAGS
    724 XERRORDB
    725 XKEYSYMDB
    726 locales
    727 X11_LOCALEDIR
    728 XLOCALEDIR
    729 X11_LOCALELIBDIR
    730 XLOCALELIBDIR
    731 X11_LOCALEDATADIR
    732 XLOCALEDATADIR
    733 X11_LIBS
    734 X11_CFLAGS
    735 X11_LIBDIR
    736 X11_DATADIR
    737 MAKE_LINT_LIB_FALSE
    738 MAKE_LINT_LIB_TRUE
    739 LINTLIB
    740 LINT_FALSE
    741 LINT_TRUE
    742 LINT_FLAGS
    743 LINT
    744 XKBPROTO_REQUIRES
    745 XKB_FALSE
    746 XKB_TRUE
    747 BIGFONT_LIBS
    748 BIGFONT_CFLAGS
    749 XLOCALE_FALSE
    750 XLOCALE_TRUE
    751 XCMS_FALSE
    752 XCMS_TRUE
    753 KEYSYMDEFS
    754 USE_THREAD_LIBS
    755 XTHREAD_CFLAGS
    756 XTHREADLIB
    757 LAUNCHD
    758 OS2_FALSE
    759 OS2_TRUE
    760 WCHAR32
    761 LIBOBJS
    762 XLIB_LOADABLE_I18N_FALSE
    763 XLIB_LOADABLE_I18N_TRUE
    764 I18N_MODULE_LIBS
    765 X11_EXTRA_DEPS
    766 EXEEXT_FOR_BUILD
    767 LDFLAGS_FOR_BUILD
    768 CFLAGS_FOR_BUILD
    769 CPPFLAGS_FOR_BUILD
    770 CC_FOR_BUILD
    771 HAVE_PERL_FALSE
    772 HAVE_PERL_TRUE
    773 PERL
    774 TRADITIONALCPPFLAGS
    775 RAWCPPFLAGS
    776 RAWCPP
    777 CPP
    778 HAVE_STYLESHEETS_FALSE
    779 HAVE_STYLESHEETS_TRUE
    780 XSL_STYLESHEET
    781 STYLESHEET_SRCDIR
    782 XORG_SGML_PATH
    783 HAVE_XSLTPROC_FALSE
    784 HAVE_XSLTPROC_TRUE
    785 XSLTPROC
    786 HAVE_FOP_FALSE
    787 HAVE_FOP_TRUE
    788 FOP
    789 HAVE_XMLTO_FALSE
    790 HAVE_XMLTO_TRUE
    791 HAVE_XMLTO_TEXT_FALSE
    792 HAVE_XMLTO_TEXT_TRUE
    793 XMLTO
    794 ENABLE_SPECS_FALSE
    795 ENABLE_SPECS_TRUE
    796 MAN_SUBSTS
    797 XORG_MAN_PAGE
    798 ADMIN_MAN_DIR
    799 DRIVER_MAN_DIR
    800 MISC_MAN_DIR
    801 FILE_MAN_DIR
    802 LIB_MAN_DIR
    803 APP_MAN_DIR
    804 ADMIN_MAN_SUFFIX
    805 DRIVER_MAN_SUFFIX
    806 MISC_MAN_SUFFIX
    807 FILE_MAN_SUFFIX
    808 LIB_MAN_SUFFIX
    809 APP_MAN_SUFFIX
    810 INSTALL_CMD
    811 PKG_CONFIG_LIBDIR
    812 PKG_CONFIG_PATH
    813 PKG_CONFIG
    814 CHANGELOG_CMD
    815 STRICT_CFLAGS
    816 CWARNFLAGS
    817 BASE_CFLAGS
    818 LT_SYS_LIBRARY_PATH
    819 OTOOL64
    820 OTOOL
    821 LIPO
    822 NMEDIT
    823 DSYMUTIL
    824 MANIFEST_TOOL
    825 RANLIB
    826 ac_ct_AR
    827 AR
    828 DLLTOOL
    829 OBJDUMP
    830 FILECMD
    831 LN_S
    832 NM
    833 ac_ct_DUMPBIN
    834 DUMPBIN
    835 LD
    836 FGREP
    837 EGREP
    838 GREP
    839 SED
    840 LIBTOOL
    841 am__xargs_n
    842 am__rm_f_notfound
    843 AM_BACKSLASH
    844 AM_DEFAULT_VERBOSITY
    845 AM_DEFAULT_V
    846 AM_V
    847 CSCOPE
    848 ETAGS
    849 CTAGS
    850 am__fastdepCC_FALSE
    851 am__fastdepCC_TRUE
    852 CCDEPMODE
    853 am__nodep
    854 AMDEPBACKSLASH
    855 AMDEP_FALSE
    856 AMDEP_TRUE
    857 am__include
    858 DEPDIR
    859 am__untar
    860 am__tar
    861 AMTAR
    862 am__leading_dot
    863 SET_MAKE
    864 AWK
    865 mkdir_p
    866 MKDIR_P
    867 INSTALL_STRIP_PROGRAM
    868 STRIP
    869 install_sh
    870 MAKEINFO
    871 AUTOHEADER
    872 AUTOMAKE
    873 AUTOCONF
    874 ACLOCAL
    875 VERSION
    876 PACKAGE
    877 CYGPATH_W
    878 am__isrc
    879 INSTALL_DATA
    880 INSTALL_SCRIPT
    881 INSTALL_PROGRAM
    882 OBJEXT
    883 EXEEXT
    884 ac_ct_CC
    885 CPPFLAGS
    886 LDFLAGS
    887 CFLAGS
    888 CC
    889 host_os
    890 host_vendor
    891 host_cpu
    892 host
    893 build_os
    894 build_vendor
    895 build_cpu
    896 build
    897 target_alias
    898 host_alias
    899 build_alias
    900 LIBS
    901 ECHO_T
    902 ECHO_N
    903 ECHO_C
    904 DEFS
    905 mandir
    906 localedir
    907 libdir
    908 psdir
    909 pdfdir
    910 dvidir
    911 htmldir
    912 infodir
    913 docdir
    914 oldincludedir
    915 includedir
    916 runstatedir
    917 localstatedir
    918 sharedstatedir
    919 sysconfdir
    920 datadir
    921 datarootdir
    922 libexecdir
    923 sbindir
    924 bindir
    925 program_transform_name
    926 prefix
    927 exec_prefix
    928 PACKAGE_URL
    929 PACKAGE_BUGREPORT
    930 PACKAGE_STRING
    931 PACKAGE_VERSION
    932 PACKAGE_TARNAME
    933 PACKAGE_NAME
    934 PATH_SEPARATOR
    935 SHELL
    936 am__quote'
    937 ac_subst_files=''
    938 ac_user_opts='
    939 enable_option_checking
    940 enable_dependency_tracking
    941 enable_silent_rules
    942 enable_shared
    943 enable_static
    944 enable_pic
    945 with_pic
    946 enable_fast_install
    947 enable_aix_soname
    948 with_aix_soname
    949 with_gnu_ld
    950 with_sysroot
    951 enable_libtool_lock
    952 enable_largefile
    953 enable_selective_werror
    954 enable_strict_compilation
    955 enable_specs
    956 with_xmlto
    957 with_fop
    958 with_xsltproc
    959 with_perl
    960 enable_unix_transport
    961 enable_tcp_transport
    962 enable_ipv6
    963 enable_local_transport
    964 enable_loadable_i18n
    965 enable_loadable_xcursor
    966 enable_thread_safety_constructor
    967 with_launchd
    968 enable_xthreads
    969 with_keysymdefdir
    970 enable_xcms
    971 enable_xlocale
    972 enable_xlocaledir
    973 enable_xf86bigfont
    974 enable_xkb
    975 enable_composecache
    976 with_lint
    977 enable_lint_library
    978 with_locale_lib_dir
    979 enable_malloc0returnsnull
    980 enable_year2038
    981 '
    982       ac_precious_vars='build_alias
    983 host_alias
    984 target_alias
    985 CC
    986 CFLAGS
    987 LDFLAGS
    988 LIBS
    989 CPPFLAGS
    990 LT_SYS_LIBRARY_PATH
    991 PKG_CONFIG
    992 PKG_CONFIG_PATH
    993 PKG_CONFIG_LIBDIR
    994 XMLTO
    995 FOP
    996 XSLTPROC
    997 CPP
    998 PERL
    999 BIGFONT_CFLAGS
   1000 BIGFONT_LIBS
   1001 LINT
   1002 LINT_FLAGS
   1003 X11_CFLAGS
   1004 X11_LIBS'
   1005 
   1006 
   1007 # Initialize some variables set by options.
   1008 ac_init_help=
   1009 ac_init_version=false
   1010 ac_unrecognized_opts=
   1011 ac_unrecognized_sep=
   1012 # The variables have the same names as the options, with
   1013 # dashes changed to underlines.
   1014 cache_file=/dev/null
   1015 exec_prefix=NONE
   1016 no_create=
   1017 no_recursion=
   1018 prefix=NONE
   1019 program_prefix=NONE
   1020 program_suffix=NONE
   1021 program_transform_name=s,x,x,
   1022 silent=
   1023 site=
   1024 srcdir=
   1025 verbose=
   1026 x_includes=NONE
   1027 x_libraries=NONE
   1028 
   1029 # Installation directory options.
   1030 # These are left unexpanded so users can "make install exec_prefix=/foo"
   1031 # and all the variables that are supposed to be based on exec_prefix
   1032 # by default will actually change.
   1033 # Use braces instead of parens because sh, perl, etc. also accept them.
   1034 # (The list follows the same order as the GNU Coding Standards.)
   1035 bindir='${exec_prefix}/bin'
   1036 sbindir='${exec_prefix}/sbin'
   1037 libexecdir='${exec_prefix}/libexec'
   1038 datarootdir='${prefix}/share'
   1039 datadir='${datarootdir}'
   1040 sysconfdir='${prefix}/etc'
   1041 sharedstatedir='${prefix}/com'
   1042 localstatedir='${prefix}/var'
   1043 runstatedir='${localstatedir}/run'
   1044 includedir='${prefix}/include'
   1045 oldincludedir='/usr/include'
   1046 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1047 infodir='${datarootdir}/info'
   1048 htmldir='${docdir}'
   1049 dvidir='${docdir}'
   1050 pdfdir='${docdir}'
   1051 psdir='${docdir}'
   1052 libdir='${exec_prefix}/lib'
   1053 localedir='${datarootdir}/locale'
   1054 mandir='${datarootdir}/man'
   1055 
   1056 ac_prev=
   1057 ac_dashdash=
   1058 for ac_option
   1059 do
   1060   # If the previous option needs an argument, assign it.
   1061   if test -n "$ac_prev"; then
   1062     eval $ac_prev=\$ac_option
   1063     ac_prev=
   1064     continue
   1065   fi
   1066 
   1067   case $ac_option in
   1068   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1069   *=)   ac_optarg= ;;
   1070   *)    ac_optarg=yes ;;
   1071   esac
   1072 
   1073   case $ac_dashdash$ac_option in
   1074   --)
   1075     ac_dashdash=yes ;;
   1076 
   1077   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1078     ac_prev=bindir ;;
   1079   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1080     bindir=$ac_optarg ;;
   1081 
   1082   -build | --build | --buil | --bui | --bu)
   1083     ac_prev=build_alias ;;
   1084   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1085     build_alias=$ac_optarg ;;
   1086 
   1087   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1088   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1089     ac_prev=cache_file ;;
   1090   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1091   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1092     cache_file=$ac_optarg ;;
   1093 
   1094   --config-cache | -C)
   1095     cache_file=config.cache ;;
   1096 
   1097   -datadir | --datadir | --datadi | --datad)
   1098     ac_prev=datadir ;;
   1099   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1100     datadir=$ac_optarg ;;
   1101 
   1102   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1103   | --dataroo | --dataro | --datar)
   1104     ac_prev=datarootdir ;;
   1105   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1106   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1107     datarootdir=$ac_optarg ;;
   1108 
   1109   -disable-* | --disable-*)
   1110     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1111     # Reject names that are not valid shell variable names.
   1112     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1113       as_fn_error $? "invalid feature name: '$ac_useropt'"
   1114     ac_useropt_orig=$ac_useropt
   1115     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1116     case $ac_user_opts in
   1117       *"
   1118 "enable_$ac_useropt"
   1119 "*) ;;
   1120       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1121 	 ac_unrecognized_sep=', ';;
   1122     esac
   1123     eval enable_$ac_useropt=no ;;
   1124 
   1125   -docdir | --docdir | --docdi | --doc | --do)
   1126     ac_prev=docdir ;;
   1127   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1128     docdir=$ac_optarg ;;
   1129 
   1130   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1131     ac_prev=dvidir ;;
   1132   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1133     dvidir=$ac_optarg ;;
   1134 
   1135   -enable-* | --enable-*)
   1136     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1137     # Reject names that are not valid shell variable names.
   1138     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1139       as_fn_error $? "invalid feature name: '$ac_useropt'"
   1140     ac_useropt_orig=$ac_useropt
   1141     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1142     case $ac_user_opts in
   1143       *"
   1144 "enable_$ac_useropt"
   1145 "*) ;;
   1146       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1147 	 ac_unrecognized_sep=', ';;
   1148     esac
   1149     eval enable_$ac_useropt=\$ac_optarg ;;
   1150 
   1151   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1152   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1153   | --exec | --exe | --ex)
   1154     ac_prev=exec_prefix ;;
   1155   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1156   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1157   | --exec=* | --exe=* | --ex=*)
   1158     exec_prefix=$ac_optarg ;;
   1159 
   1160   -gas | --gas | --ga | --g)
   1161     # Obsolete; use --with-gas.
   1162     with_gas=yes ;;
   1163 
   1164   -help | --help | --hel | --he | -h)
   1165     ac_init_help=long ;;
   1166   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1167     ac_init_help=recursive ;;
   1168   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1169     ac_init_help=short ;;
   1170 
   1171   -host | --host | --hos | --ho)
   1172     ac_prev=host_alias ;;
   1173   -host=* | --host=* | --hos=* | --ho=*)
   1174     host_alias=$ac_optarg ;;
   1175 
   1176   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1177     ac_prev=htmldir ;;
   1178   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1179   | --ht=*)
   1180     htmldir=$ac_optarg ;;
   1181 
   1182   -includedir | --includedir | --includedi | --included | --include \
   1183   | --includ | --inclu | --incl | --inc)
   1184     ac_prev=includedir ;;
   1185   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1186   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1187     includedir=$ac_optarg ;;
   1188 
   1189   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1190     ac_prev=infodir ;;
   1191   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1192     infodir=$ac_optarg ;;
   1193 
   1194   -libdir | --libdir | --libdi | --libd)
   1195     ac_prev=libdir ;;
   1196   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1197     libdir=$ac_optarg ;;
   1198 
   1199   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1200   | --libexe | --libex | --libe)
   1201     ac_prev=libexecdir ;;
   1202   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1203   | --libexe=* | --libex=* | --libe=*)
   1204     libexecdir=$ac_optarg ;;
   1205 
   1206   -localedir | --localedir | --localedi | --localed | --locale)
   1207     ac_prev=localedir ;;
   1208   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1209     localedir=$ac_optarg ;;
   1210 
   1211   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1212   | --localstate | --localstat | --localsta | --localst | --locals)
   1213     ac_prev=localstatedir ;;
   1214   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1215   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1216     localstatedir=$ac_optarg ;;
   1217 
   1218   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1219     ac_prev=mandir ;;
   1220   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1221     mandir=$ac_optarg ;;
   1222 
   1223   -nfp | --nfp | --nf)
   1224     # Obsolete; use --without-fp.
   1225     with_fp=no ;;
   1226 
   1227   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1228   | --no-cr | --no-c | -n)
   1229     no_create=yes ;;
   1230 
   1231   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1232   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1233     no_recursion=yes ;;
   1234 
   1235   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1236   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1237   | --oldin | --oldi | --old | --ol | --o)
   1238     ac_prev=oldincludedir ;;
   1239   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1240   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1241   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1242     oldincludedir=$ac_optarg ;;
   1243 
   1244   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1245     ac_prev=prefix ;;
   1246   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1247     prefix=$ac_optarg ;;
   1248 
   1249   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1250   | --program-pre | --program-pr | --program-p)
   1251     ac_prev=program_prefix ;;
   1252   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1253   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1254     program_prefix=$ac_optarg ;;
   1255 
   1256   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1257   | --program-suf | --program-su | --program-s)
   1258     ac_prev=program_suffix ;;
   1259   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1260   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1261     program_suffix=$ac_optarg ;;
   1262 
   1263   -program-transform-name | --program-transform-name \
   1264   | --program-transform-nam | --program-transform-na \
   1265   | --program-transform-n | --program-transform- \
   1266   | --program-transform | --program-transfor \
   1267   | --program-transfo | --program-transf \
   1268   | --program-trans | --program-tran \
   1269   | --progr-tra | --program-tr | --program-t)
   1270     ac_prev=program_transform_name ;;
   1271   -program-transform-name=* | --program-transform-name=* \
   1272   | --program-transform-nam=* | --program-transform-na=* \
   1273   | --program-transform-n=* | --program-transform-=* \
   1274   | --program-transform=* | --program-transfor=* \
   1275   | --program-transfo=* | --program-transf=* \
   1276   | --program-trans=* | --program-tran=* \
   1277   | --progr-tra=* | --program-tr=* | --program-t=*)
   1278     program_transform_name=$ac_optarg ;;
   1279 
   1280   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1281     ac_prev=pdfdir ;;
   1282   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1283     pdfdir=$ac_optarg ;;
   1284 
   1285   -psdir | --psdir | --psdi | --psd | --ps)
   1286     ac_prev=psdir ;;
   1287   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1288     psdir=$ac_optarg ;;
   1289 
   1290   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1291   | -silent | --silent | --silen | --sile | --sil)
   1292     silent=yes ;;
   1293 
   1294   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1295   | --runstate | --runstat | --runsta | --runst | --runs \
   1296   | --run | --ru | --r)
   1297     ac_prev=runstatedir ;;
   1298   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1299   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1300   | --run=* | --ru=* | --r=*)
   1301     runstatedir=$ac_optarg ;;
   1302 
   1303   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1304     ac_prev=sbindir ;;
   1305   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1306   | --sbi=* | --sb=*)
   1307     sbindir=$ac_optarg ;;
   1308 
   1309   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1310   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1311   | --sharedst | --shareds | --shared | --share | --shar \
   1312   | --sha | --sh)
   1313     ac_prev=sharedstatedir ;;
   1314   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1315   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1316   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1317   | --sha=* | --sh=*)
   1318     sharedstatedir=$ac_optarg ;;
   1319 
   1320   -site | --site | --sit)
   1321     ac_prev=site ;;
   1322   -site=* | --site=* | --sit=*)
   1323     site=$ac_optarg ;;
   1324 
   1325   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1326     ac_prev=srcdir ;;
   1327   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1328     srcdir=$ac_optarg ;;
   1329 
   1330   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1331   | --syscon | --sysco | --sysc | --sys | --sy)
   1332     ac_prev=sysconfdir ;;
   1333   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1334   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1335     sysconfdir=$ac_optarg ;;
   1336 
   1337   -target | --target | --targe | --targ | --tar | --ta | --t)
   1338     ac_prev=target_alias ;;
   1339   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1340     target_alias=$ac_optarg ;;
   1341 
   1342   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1343     verbose=yes ;;
   1344 
   1345   -version | --version | --versio | --versi | --vers | -V)
   1346     ac_init_version=: ;;
   1347 
   1348   -with-* | --with-*)
   1349     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1350     # Reject names that are not valid shell variable names.
   1351     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1352       as_fn_error $? "invalid package name: '$ac_useropt'"
   1353     ac_useropt_orig=$ac_useropt
   1354     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1355     case $ac_user_opts in
   1356       *"
   1357 "with_$ac_useropt"
   1358 "*) ;;
   1359       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1360 	 ac_unrecognized_sep=', ';;
   1361     esac
   1362     eval with_$ac_useropt=\$ac_optarg ;;
   1363 
   1364   -without-* | --without-*)
   1365     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1366     # Reject names that are not valid shell variable names.
   1367     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1368       as_fn_error $? "invalid package name: '$ac_useropt'"
   1369     ac_useropt_orig=$ac_useropt
   1370     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1371     case $ac_user_opts in
   1372       *"
   1373 "with_$ac_useropt"
   1374 "*) ;;
   1375       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1376 	 ac_unrecognized_sep=', ';;
   1377     esac
   1378     eval with_$ac_useropt=no ;;
   1379 
   1380   --x)
   1381     # Obsolete; use --with-x.
   1382     with_x=yes ;;
   1383 
   1384   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1385   | --x-incl | --x-inc | --x-in | --x-i)
   1386     ac_prev=x_includes ;;
   1387   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1388   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1389     x_includes=$ac_optarg ;;
   1390 
   1391   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1392   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1393     ac_prev=x_libraries ;;
   1394   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1395   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1396     x_libraries=$ac_optarg ;;
   1397 
   1398   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1399 Try '$0 --help' for more information"
   1400     ;;
   1401 
   1402   *=*)
   1403     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1404     # Reject names that are not valid shell variable names.
   1405     case $ac_envvar in #(
   1406       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1407       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1408     esac
   1409     eval $ac_envvar=\$ac_optarg
   1410     export $ac_envvar ;;
   1411 
   1412   *)
   1413     # FIXME: should be removed in autoconf 3.0.
   1414     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1415     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1416       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1417     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1418     ;;
   1419 
   1420   esac
   1421 done
   1422 
   1423 if test -n "$ac_prev"; then
   1424   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1425   as_fn_error $? "missing argument to $ac_option"
   1426 fi
   1427 
   1428 if test -n "$ac_unrecognized_opts"; then
   1429   case $enable_option_checking in
   1430     no) ;;
   1431     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1432     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1433   esac
   1434 fi
   1435 
   1436 # Check all directory arguments for consistency.
   1437 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1438 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1439 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1440 		libdir localedir mandir runstatedir
   1441 do
   1442   eval ac_val=\$$ac_var
   1443   # Remove trailing slashes.
   1444   case $ac_val in
   1445     */ )
   1446       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1447       eval $ac_var=\$ac_val;;
   1448   esac
   1449   # Be sure to have absolute directory names.
   1450   case $ac_val in
   1451     [\\/$]* | ?:[\\/]* )  continue;;
   1452     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1453   esac
   1454   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1455 done
   1456 
   1457 # There might be people who depend on the old broken behavior: '$host'
   1458 # used to hold the argument of --host etc.
   1459 # FIXME: To remove some day.
   1460 build=$build_alias
   1461 host=$host_alias
   1462 target=$target_alias
   1463 
   1464 # FIXME: To remove some day.
   1465 if test "x$host_alias" != x; then
   1466   if test "x$build_alias" = x; then
   1467     cross_compiling=maybe
   1468   elif test "x$build_alias" != "x$host_alias"; then
   1469     cross_compiling=yes
   1470   fi
   1471 fi
   1472 
   1473 ac_tool_prefix=
   1474 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1475 
   1476 test "$silent" = yes && exec 6>/dev/null
   1477 
   1478 
   1479 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1480 ac_ls_di=`ls -di .` &&
   1481 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1482   as_fn_error $? "working directory cannot be determined"
   1483 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1484   as_fn_error $? "pwd does not report name of working directory"
   1485 
   1486 
   1487 # Find the source files, if location was not specified.
   1488 if test -z "$srcdir"; then
   1489   ac_srcdir_defaulted=yes
   1490   # Try the directory containing this script, then the parent directory.
   1491   ac_confdir=`$as_dirname -- "$as_myself" ||
   1492 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1493 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1494 	 X"$as_myself" : 'X\(//\)$' \| \
   1495 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1496 printf "%s\n" X"$as_myself" |
   1497     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1498 	    s//\1/
   1499 	    q
   1500 	  }
   1501 	  /^X\(\/\/\)[^/].*/{
   1502 	    s//\1/
   1503 	    q
   1504 	  }
   1505 	  /^X\(\/\/\)$/{
   1506 	    s//\1/
   1507 	    q
   1508 	  }
   1509 	  /^X\(\/\).*/{
   1510 	    s//\1/
   1511 	    q
   1512 	  }
   1513 	  s/.*/./; q'`
   1514   srcdir=$ac_confdir
   1515   if test ! -r "$srcdir/$ac_unique_file"; then
   1516     srcdir=..
   1517   fi
   1518 else
   1519   ac_srcdir_defaulted=no
   1520 fi
   1521 if test ! -r "$srcdir/$ac_unique_file"; then
   1522   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1523   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1524 fi
   1525 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1526 ac_abs_confdir=`(
   1527 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1528 	pwd)`
   1529 # When building in place, set srcdir=.
   1530 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1531   srcdir=.
   1532 fi
   1533 # Remove unnecessary trailing slashes from srcdir.
   1534 # Double slashes in file names in object file debugging info
   1535 # mess up M-x gdb in Emacs.
   1536 case $srcdir in
   1537 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1538 esac
   1539 for ac_var in $ac_precious_vars; do
   1540   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1541   eval ac_env_${ac_var}_value=\$${ac_var}
   1542   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1543   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1544 done
   1545 
   1546 #
   1547 # Report the --help message.
   1548 #
   1549 if test "$ac_init_help" = "long"; then
   1550   # Omit some internal or obsolete options to make the list less imposing.
   1551   # This message is too long to be a string in the A/UX 3.1 sh.
   1552   cat <<_ACEOF
   1553 'configure' configures libX11 1.8.12 to adapt to many kinds of systems.
   1554 
   1555 Usage: $0 [OPTION]... [VAR=VALUE]...
   1556 
   1557 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1558 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1559 
   1560 Defaults for the options are specified in brackets.
   1561 
   1562 Configuration:
   1563   -h, --help              display this help and exit
   1564       --help=short        display options specific to this package
   1565       --help=recursive    display the short help of all the included packages
   1566   -V, --version           display version information and exit
   1567   -q, --quiet, --silent   do not print 'checking ...' messages
   1568       --cache-file=FILE   cache test results in FILE [disabled]
   1569   -C, --config-cache      alias for '--cache-file=config.cache'
   1570   -n, --no-create         do not create output files
   1571       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1572 
   1573 Installation directories:
   1574   --prefix=PREFIX         install architecture-independent files in PREFIX
   1575                           [$ac_default_prefix]
   1576   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1577                           [PREFIX]
   1578 
   1579 By default, 'make install' will install all the files in
   1580 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1581 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1582 for instance '--prefix=\$HOME'.
   1583 
   1584 For better control, use the options below.
   1585 
   1586 Fine tuning of the installation directories:
   1587   --bindir=DIR            user executables [EPREFIX/bin]
   1588   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1589   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1590   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1591   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1592   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1593   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1594   --libdir=DIR            object code libraries [EPREFIX/lib]
   1595   --includedir=DIR        C header files [PREFIX/include]
   1596   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1597   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1598   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1599   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1600   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1601   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1602   --docdir=DIR            documentation root [DATAROOTDIR/doc/libX11]
   1603   --htmldir=DIR           html documentation [DOCDIR]
   1604   --dvidir=DIR            dvi documentation [DOCDIR]
   1605   --pdfdir=DIR            pdf documentation [DOCDIR]
   1606   --psdir=DIR             ps documentation [DOCDIR]
   1607 _ACEOF
   1608 
   1609   cat <<\_ACEOF
   1610 
   1611 Program names:
   1612   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1613   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1614   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1615 
   1616 System types:
   1617   --build=BUILD     configure for building on BUILD [guessed]
   1618   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1619 _ACEOF
   1620 fi
   1621 
   1622 if test -n "$ac_init_help"; then
   1623   case $ac_init_help in
   1624      short | recursive ) echo "Configuration of libX11 1.8.12:";;
   1625    esac
   1626   cat <<\_ACEOF
   1627 
   1628 Optional Features:
   1629   --disable-option-checking  ignore unrecognized --enable/--with options
   1630   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1631   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1632   --enable-dependency-tracking
   1633                           do not reject slow dependency extractors
   1634   --disable-dependency-tracking
   1635                           speeds up one-time build
   1636   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1637   --disable-silent-rules  verbose build output (undo: "make V=0")
   1638   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1639   --enable-static[=PKGS]  build static libraries [default=yes]
   1640   --enable-pic[=PKGS]     try to use only PIC/non-PIC objects [default=use
   1641                           both]
   1642   --enable-fast-install[=PKGS]
   1643                           optimize for fast installation [default=yes]
   1644   --enable-aix-soname=aix|svr4|both
   1645                           shared library versioning (aka "SONAME") variant to
   1646                           provide on AIX, [default=aix].
   1647   --disable-libtool-lock  avoid locking (might break parallel builds)
   1648   --disable-largefile     omit support for large files
   1649   --disable-selective-werror
   1650                           Turn off selective compiler errors. (default:
   1651                           enabled)
   1652   --enable-strict-compilation
   1653                           Enable all warnings from compiler and make them
   1654                           errors (default: disabled)
   1655   --enable-specs          Enable building the specs (default: yes)
   1656   --enable-unix-transport Enable UNIX domain socket transport
   1657   --enable-tcp-transport  Enable TCP socket transport
   1658   --enable-ipv6           Enable IPv6 support
   1659   --enable-local-transport
   1660                           Enable os-specific local transport
   1661   --enable-loadable-i18n  Controls loadable i18n module support
   1662   --disable-loadable-xcursor
   1663                           Controls loadable xcursor library support
   1664   --disable-thread-safety-constructor
   1665                           Controls mandatory thread safety support
   1666   --disable-xthreads      Disable Xlib support for Multithreading
   1667   --disable-xcms          Disable Xlib support for CMS *EXPERIMENTAL*
   1668   --disable-xlocale       Disable Xlib locale implementation *EXPERIMENTAL*
   1669   --enable-xlocaledir     Enable XLOCALEDIR environment variable support
   1670   --disable-xf86bigfont   Disable XF86BigFont extension support
   1671   --disable-xkb           Disable XKB support *EXPERIMENTAL*
   1672   --disable-composecache  Disable compose table cache support
   1673   --enable-lint-library   Create lint library (default: disabled)
   1674   --enable-malloc0returnsnull
   1675                           assume malloc(0) can return NULL (default: yes)
   1676   --enable-year2038       support timestamps after 2038
   1677 
   1678 Optional Packages:
   1679   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1680   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1681   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1682   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1683                           compiler's sysroot if not specified).
   1684   --with-xmlto            Use xmlto to regenerate documentation (default:
   1685                           auto)
   1686   --with-fop              Use fop to regenerate documentation (default: no)
   1687   --with-xsltproc         Use xsltproc for the transformation of XML documents
   1688                           (default: auto)
   1689   --with-perl             Use perl for extracting information from files
   1690                           (default: auto)
   1691   --with-launchd          Build with support for Apple's launchd (default:
   1692                           auto)
   1693   --with-keysymdefdir=DIR The location of keysymdef.h (defaults to xproto
   1694                           include dir)
   1695   --with-lint             Use a lint-style source code checker (default:
   1696                           disabled)
   1697   --with-locale-lib-dir=DIR
   1698                           Directory where locale libraries files are installed
   1699                           (default: $libdir/X11/locale)
   1700 
   1701 Some influential environment variables:
   1702   CC          C compiler command
   1703   CFLAGS      C compiler flags
   1704   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1705               nonstandard directory <lib dir>
   1706   LIBS        libraries to pass to the linker, e.g. -l<library>
   1707   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1708               you have headers in a nonstandard directory <include dir>
   1709   LT_SYS_LIBRARY_PATH
   1710               User-defined run-time library search path.
   1711   PKG_CONFIG  path to pkg-config utility
   1712   PKG_CONFIG_PATH
   1713               directories to add to pkg-config's search path
   1714   PKG_CONFIG_LIBDIR
   1715               path overriding pkg-config's built-in search path
   1716   XMLTO       Path to xmlto command
   1717   FOP         Path to fop command
   1718   XSLTPROC    Path to xsltproc command
   1719   CPP         C preprocessor
   1720   PERL        Path to perl command
   1721   BIGFONT_CFLAGS
   1722               C compiler flags for BIGFONT, overriding pkg-config
   1723   BIGFONT_LIBS
   1724               linker flags for BIGFONT, overriding pkg-config
   1725   LINT        Path to a lint-style command
   1726   LINT_FLAGS  Flags for the lint-style command
   1727   X11_CFLAGS  C compiler flags for X11, overriding pkg-config
   1728   X11_LIBS    linker flags for X11, overriding pkg-config
   1729 
   1730 Use these variables to override the choices made by 'configure' or to help
   1731 it to find libraries and programs with nonstandard names/locations.
   1732 
   1733 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues>.
   1734 _ACEOF
   1735 ac_status=$?
   1736 fi
   1737 
   1738 if test "$ac_init_help" = "recursive"; then
   1739   # If there are subdirs, report their specific --help.
   1740   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1741     test -d "$ac_dir" ||
   1742       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1743       continue
   1744     ac_builddir=.
   1745 
   1746 case "$ac_dir" in
   1747 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1748 *)
   1749   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1750   # A ".." for each directory in $ac_dir_suffix.
   1751   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1752   case $ac_top_builddir_sub in
   1753   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1754   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1755   esac ;;
   1756 esac
   1757 ac_abs_top_builddir=$ac_pwd
   1758 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1759 # for backward compatibility:
   1760 ac_top_builddir=$ac_top_build_prefix
   1761 
   1762 case $srcdir in
   1763   .)  # We are building in place.
   1764     ac_srcdir=.
   1765     ac_top_srcdir=$ac_top_builddir_sub
   1766     ac_abs_top_srcdir=$ac_pwd ;;
   1767   [\\/]* | ?:[\\/]* )  # Absolute name.
   1768     ac_srcdir=$srcdir$ac_dir_suffix;
   1769     ac_top_srcdir=$srcdir
   1770     ac_abs_top_srcdir=$srcdir ;;
   1771   *) # Relative name.
   1772     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1773     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1774     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1775 esac
   1776 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1777 
   1778     cd "$ac_dir" || { ac_status=$?; continue; }
   1779     # Check for configure.gnu first; this name is used for a wrapper for
   1780     # Metaconfig's "Configure" on case-insensitive file systems.
   1781     if test -f "$ac_srcdir/configure.gnu"; then
   1782       echo &&
   1783       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1784     elif test -f "$ac_srcdir/configure"; then
   1785       echo &&
   1786       $SHELL "$ac_srcdir/configure" --help=recursive
   1787     else
   1788       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1789     fi || ac_status=$?
   1790     cd "$ac_pwd" || { ac_status=$?; break; }
   1791   done
   1792 fi
   1793 
   1794 test -n "$ac_init_help" && exit $ac_status
   1795 if $ac_init_version; then
   1796   cat <<\_ACEOF
   1797 libX11 configure 1.8.12
   1798 generated by GNU Autoconf 2.72
   1799 
   1800 Copyright (C) 2023 Free Software Foundation, Inc.
   1801 This configure script is free software; the Free Software Foundation
   1802 gives unlimited permission to copy, distribute and modify it.
   1803 _ACEOF
   1804   exit
   1805 fi
   1806 
   1807 ## ------------------------ ##
   1808 ## Autoconf initialization. ##
   1809 ## ------------------------ ##
   1810 
   1811 # ac_fn_c_try_compile LINENO
   1812 # --------------------------
   1813 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1814 ac_fn_c_try_compile ()
   1815 {
   1816   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1817   rm -f conftest.$ac_objext conftest.beam
   1818   if { { ac_try="$ac_compile"
   1819 case "(($ac_try" in
   1820   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1821   *) ac_try_echo=$ac_try;;
   1822 esac
   1823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1824 printf "%s\n" "$ac_try_echo"; } >&5
   1825   (eval "$ac_compile") 2>conftest.err
   1826   ac_status=$?
   1827   if test -s conftest.err; then
   1828     grep -v '^ *+' conftest.err >conftest.er1
   1829     cat conftest.er1 >&5
   1830     mv -f conftest.er1 conftest.err
   1831   fi
   1832   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1833   test $ac_status = 0; } && {
   1834 	 test -z "$ac_c_werror_flag" ||
   1835 	 test ! -s conftest.err
   1836        } && test -s conftest.$ac_objext
   1837 then :
   1838   ac_retval=0
   1839 else case e in #(
   1840   e) printf "%s\n" "$as_me: failed program was:" >&5
   1841 sed 's/^/| /' conftest.$ac_ext >&5
   1842 
   1843 	ac_retval=1 ;;
   1844 esac
   1845 fi
   1846   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1847   as_fn_set_status $ac_retval
   1848 
   1849 } # ac_fn_c_try_compile
   1850 
   1851 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1852 # -------------------------------------------------------
   1853 # Tests whether HEADER exists and can be compiled using the include files in
   1854 # INCLUDES, setting the cache variable VAR accordingly.
   1855 ac_fn_c_check_header_compile ()
   1856 {
   1857   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1858   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1859 printf %s "checking for $2... " >&6; }
   1860 if eval test \${$3+y}
   1861 then :
   1862   printf %s "(cached) " >&6
   1863 else case e in #(
   1864   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1865 /* end confdefs.h.  */
   1866 $4
   1867 #include <$2>
   1868 _ACEOF
   1869 if ac_fn_c_try_compile "$LINENO"
   1870 then :
   1871   eval "$3=yes"
   1872 else case e in #(
   1873   e) eval "$3=no" ;;
   1874 esac
   1875 fi
   1876 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1877 esac
   1878 fi
   1879 eval ac_res=\$$3
   1880 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1881 printf "%s\n" "$ac_res" >&6; }
   1882   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1883 
   1884 } # ac_fn_c_check_header_compile
   1885 
   1886 # ac_fn_c_try_link LINENO
   1887 # -----------------------
   1888 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1889 ac_fn_c_try_link ()
   1890 {
   1891   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1892   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1893   if { { ac_try="$ac_link"
   1894 case "(($ac_try" in
   1895   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1896   *) ac_try_echo=$ac_try;;
   1897 esac
   1898 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1899 printf "%s\n" "$ac_try_echo"; } >&5
   1900   (eval "$ac_link") 2>conftest.err
   1901   ac_status=$?
   1902   if test -s conftest.err; then
   1903     grep -v '^ *+' conftest.err >conftest.er1
   1904     cat conftest.er1 >&5
   1905     mv -f conftest.er1 conftest.err
   1906   fi
   1907   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1908   test $ac_status = 0; } && {
   1909 	 test -z "$ac_c_werror_flag" ||
   1910 	 test ! -s conftest.err
   1911        } && test -s conftest$ac_exeext && {
   1912 	 test "$cross_compiling" = yes ||
   1913 	 test -x conftest$ac_exeext
   1914        }
   1915 then :
   1916   ac_retval=0
   1917 else case e in #(
   1918   e) printf "%s\n" "$as_me: failed program was:" >&5
   1919 sed 's/^/| /' conftest.$ac_ext >&5
   1920 
   1921 	ac_retval=1 ;;
   1922 esac
   1923 fi
   1924   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1925   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1926   # interfere with the next link command; also delete a directory that is
   1927   # left behind by Apple's compiler.  We do this before executing the actions.
   1928   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1929   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1930   as_fn_set_status $ac_retval
   1931 
   1932 } # ac_fn_c_try_link
   1933 
   1934 # ac_fn_c_check_func LINENO FUNC VAR
   1935 # ----------------------------------
   1936 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1937 ac_fn_c_check_func ()
   1938 {
   1939   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1940   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1941 printf %s "checking for $2... " >&6; }
   1942 if eval test \${$3+y}
   1943 then :
   1944   printf %s "(cached) " >&6
   1945 else case e in #(
   1946   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1947 /* end confdefs.h.  */
   1948 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1949    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1950 #define $2 innocuous_$2
   1951 
   1952 /* System header to define __stub macros and hopefully few prototypes,
   1953    which can conflict with char $2 (void); below.  */
   1954 
   1955 #include <limits.h>
   1956 #undef $2
   1957 
   1958 /* Override any GCC internal prototype to avoid an error.
   1959    Use char because int might match the return type of a GCC
   1960    builtin and then its argument prototype would still apply.  */
   1961 #ifdef __cplusplus
   1962 extern "C"
   1963 #endif
   1964 char $2 (void);
   1965 /* The GNU C library defines this for functions which it implements
   1966     to always fail with ENOSYS.  Some functions are actually named
   1967     something starting with __ and the normal name is an alias.  */
   1968 #if defined __stub_$2 || defined __stub___$2
   1969 choke me
   1970 #endif
   1971 
   1972 int
   1973 main (void)
   1974 {
   1975 return $2 ();
   1976   ;
   1977   return 0;
   1978 }
   1979 _ACEOF
   1980 if ac_fn_c_try_link "$LINENO"
   1981 then :
   1982   eval "$3=yes"
   1983 else case e in #(
   1984   e) eval "$3=no" ;;
   1985 esac
   1986 fi
   1987 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1988     conftest$ac_exeext conftest.$ac_ext ;;
   1989 esac
   1990 fi
   1991 eval ac_res=\$$3
   1992 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1993 printf "%s\n" "$ac_res" >&6; }
   1994   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1995 
   1996 } # ac_fn_c_check_func
   1997 
   1998 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1999 # ------------------------------------------------------------------
   2000 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   2001 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   2002 ac_fn_check_decl ()
   2003 {
   2004   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2005   as_decl_name=`echo $2|sed 's/ *(.*//'`
   2006   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   2007 printf %s "checking whether $as_decl_name is declared... " >&6; }
   2008 if eval test \${$3+y}
   2009 then :
   2010   printf %s "(cached) " >&6
   2011 else case e in #(
   2012   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2013   eval ac_save_FLAGS=\$$6
   2014   as_fn_append $6 " $5"
   2015   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2016 /* end confdefs.h.  */
   2017 $4
   2018 int
   2019 main (void)
   2020 {
   2021 #ifndef $as_decl_name
   2022 #ifdef __cplusplus
   2023   (void) $as_decl_use;
   2024 #else
   2025   (void) $as_decl_name;
   2026 #endif
   2027 #endif
   2028 
   2029   ;
   2030   return 0;
   2031 }
   2032 _ACEOF
   2033 if ac_fn_c_try_compile "$LINENO"
   2034 then :
   2035   eval "$3=yes"
   2036 else case e in #(
   2037   e) eval "$3=no" ;;
   2038 esac
   2039 fi
   2040 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2041   eval $6=\$ac_save_FLAGS
   2042  ;;
   2043 esac
   2044 fi
   2045 eval ac_res=\$$3
   2046 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2047 printf "%s\n" "$ac_res" >&6; }
   2048   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2049 
   2050 } # ac_fn_check_decl
   2051 
   2052 # ac_fn_c_try_cpp LINENO
   2053 # ----------------------
   2054 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   2055 ac_fn_c_try_cpp ()
   2056 {
   2057   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2058   if { { ac_try="$ac_cpp conftest.$ac_ext"
   2059 case "(($ac_try" in
   2060   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2061   *) ac_try_echo=$ac_try;;
   2062 esac
   2063 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2064 printf "%s\n" "$ac_try_echo"; } >&5
   2065   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   2066   ac_status=$?
   2067   if test -s conftest.err; then
   2068     grep -v '^ *+' conftest.err >conftest.er1
   2069     cat conftest.er1 >&5
   2070     mv -f conftest.er1 conftest.err
   2071   fi
   2072   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2073   test $ac_status = 0; } > conftest.i && {
   2074 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   2075 	 test ! -s conftest.err
   2076        }
   2077 then :
   2078   ac_retval=0
   2079 else case e in #(
   2080   e) printf "%s\n" "$as_me: failed program was:" >&5
   2081 sed 's/^/| /' conftest.$ac_ext >&5
   2082 
   2083     ac_retval=1 ;;
   2084 esac
   2085 fi
   2086   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2087   as_fn_set_status $ac_retval
   2088 
   2089 } # ac_fn_c_try_cpp
   2090 
   2091 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   2092 # ----------------------------------------------------
   2093 # Tries to find if the field MEMBER exists in type AGGR, after including
   2094 # INCLUDES, setting cache variable VAR accordingly.
   2095 ac_fn_c_check_member ()
   2096 {
   2097   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2098   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   2099 printf %s "checking for $2.$3... " >&6; }
   2100 if eval test \${$4+y}
   2101 then :
   2102   printf %s "(cached) " >&6
   2103 else case e in #(
   2104   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2105 /* end confdefs.h.  */
   2106 $5
   2107 int
   2108 main (void)
   2109 {
   2110 static $2 ac_aggr;
   2111 if (ac_aggr.$3)
   2112 return 0;
   2113   ;
   2114   return 0;
   2115 }
   2116 _ACEOF
   2117 if ac_fn_c_try_compile "$LINENO"
   2118 then :
   2119   eval "$4=yes"
   2120 else case e in #(
   2121   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2122 /* end confdefs.h.  */
   2123 $5
   2124 int
   2125 main (void)
   2126 {
   2127 static $2 ac_aggr;
   2128 if (sizeof ac_aggr.$3)
   2129 return 0;
   2130   ;
   2131   return 0;
   2132 }
   2133 _ACEOF
   2134 if ac_fn_c_try_compile "$LINENO"
   2135 then :
   2136   eval "$4=yes"
   2137 else case e in #(
   2138   e) eval "$4=no" ;;
   2139 esac
   2140 fi
   2141 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   2142 esac
   2143 fi
   2144 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   2145 esac
   2146 fi
   2147 eval ac_res=\$$4
   2148 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2149 printf "%s\n" "$ac_res" >&6; }
   2150   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2151 
   2152 } # ac_fn_c_check_member
   2153 
   2154 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   2155 # -------------------------------------------
   2156 # Tests whether TYPE exists after having included INCLUDES, setting cache
   2157 # variable VAR accordingly.
   2158 ac_fn_c_check_type ()
   2159 {
   2160   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2161   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2162 printf %s "checking for $2... " >&6; }
   2163 if eval test \${$3+y}
   2164 then :
   2165   printf %s "(cached) " >&6
   2166 else case e in #(
   2167   e) eval "$3=no"
   2168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2169 /* end confdefs.h.  */
   2170 $4
   2171 int
   2172 main (void)
   2173 {
   2174 if (sizeof ($2))
   2175 	 return 0;
   2176   ;
   2177   return 0;
   2178 }
   2179 _ACEOF
   2180 if ac_fn_c_try_compile "$LINENO"
   2181 then :
   2182   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2183 /* end confdefs.h.  */
   2184 $4
   2185 int
   2186 main (void)
   2187 {
   2188 if (sizeof (($2)))
   2189 	    return 0;
   2190   ;
   2191   return 0;
   2192 }
   2193 _ACEOF
   2194 if ac_fn_c_try_compile "$LINENO"
   2195 then :
   2196 
   2197 else case e in #(
   2198   e) eval "$3=yes" ;;
   2199 esac
   2200 fi
   2201 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2202 fi
   2203 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   2204 esac
   2205 fi
   2206 eval ac_res=\$$3
   2207 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2208 printf "%s\n" "$ac_res" >&6; }
   2209   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2210 
   2211 } # ac_fn_c_check_type
   2212 
   2213 # ac_fn_c_try_run LINENO
   2214 # ----------------------
   2215 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
   2216 # executables *can* be run.
   2217 ac_fn_c_try_run ()
   2218 {
   2219   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2220   if { { ac_try="$ac_link"
   2221 case "(($ac_try" in
   2222   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2223   *) ac_try_echo=$ac_try;;
   2224 esac
   2225 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2226 printf "%s\n" "$ac_try_echo"; } >&5
   2227   (eval "$ac_link") 2>&5
   2228   ac_status=$?
   2229   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2230   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   2231   { { case "(($ac_try" in
   2232   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2233   *) ac_try_echo=$ac_try;;
   2234 esac
   2235 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2236 printf "%s\n" "$ac_try_echo"; } >&5
   2237   (eval "$ac_try") 2>&5
   2238   ac_status=$?
   2239   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2240   test $ac_status = 0; }; }
   2241 then :
   2242   ac_retval=0
   2243 else case e in #(
   2244   e) printf "%s\n" "$as_me: program exited with status $ac_status" >&5
   2245        printf "%s\n" "$as_me: failed program was:" >&5
   2246 sed 's/^/| /' conftest.$ac_ext >&5
   2247 
   2248        ac_retval=$ac_status ;;
   2249 esac
   2250 fi
   2251   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   2252   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2253   as_fn_set_status $ac_retval
   2254 
   2255 } # ac_fn_c_try_run
   2256 ac_configure_args_raw=
   2257 for ac_arg
   2258 do
   2259   case $ac_arg in
   2260   *\'*)
   2261     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2262   esac
   2263   as_fn_append ac_configure_args_raw " '$ac_arg'"
   2264 done
   2265 
   2266 case $ac_configure_args_raw in
   2267   *$as_nl*)
   2268     ac_safe_unquote= ;;
   2269   *)
   2270     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   2271     ac_unsafe_a="$ac_unsafe_z#~"
   2272     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   2273     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   2274 esac
   2275 
   2276 cat >config.log <<_ACEOF
   2277 This file contains any messages produced by compilers while
   2278 running configure, to aid debugging if configure makes a mistake.
   2279 
   2280 It was created by libX11 $as_me 1.8.12, which was
   2281 generated by GNU Autoconf 2.72.  Invocation command line was
   2282 
   2283   $ $0$ac_configure_args_raw
   2284 
   2285 _ACEOF
   2286 exec 5>>config.log
   2287 {
   2288 cat <<_ASUNAME
   2289 ## --------- ##
   2290 ## Platform. ##
   2291 ## --------- ##
   2292 
   2293 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2294 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2295 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2296 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2297 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2298 
   2299 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2300 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2301 
   2302 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2303 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2304 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2305 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2306 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2307 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2308 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2309 
   2310 _ASUNAME
   2311 
   2312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2313 for as_dir in $PATH
   2314 do
   2315   IFS=$as_save_IFS
   2316   case $as_dir in #(((
   2317     '') as_dir=./ ;;
   2318     */) ;;
   2319     *) as_dir=$as_dir/ ;;
   2320   esac
   2321     printf "%s\n" "PATH: $as_dir"
   2322   done
   2323 IFS=$as_save_IFS
   2324 
   2325 } >&5
   2326 
   2327 cat >&5 <<_ACEOF
   2328 
   2329 
   2330 ## ----------- ##
   2331 ## Core tests. ##
   2332 ## ----------- ##
   2333 
   2334 _ACEOF
   2335 
   2336 
   2337 # Keep a trace of the command line.
   2338 # Strip out --no-create and --no-recursion so they do not pile up.
   2339 # Strip out --silent because we don't want to record it for future runs.
   2340 # Also quote any args containing shell meta-characters.
   2341 # Make two passes to allow for proper duplicate-argument suppression.
   2342 ac_configure_args=
   2343 ac_configure_args0=
   2344 ac_configure_args1=
   2345 ac_must_keep_next=false
   2346 for ac_pass in 1 2
   2347 do
   2348   for ac_arg
   2349   do
   2350     case $ac_arg in
   2351     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2352     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2353     | -silent | --silent | --silen | --sile | --sil)
   2354       continue ;;
   2355     *\'*)
   2356       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2357     esac
   2358     case $ac_pass in
   2359     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2360     2)
   2361       as_fn_append ac_configure_args1 " '$ac_arg'"
   2362       if test $ac_must_keep_next = true; then
   2363 	ac_must_keep_next=false # Got value, back to normal.
   2364       else
   2365 	case $ac_arg in
   2366 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2367 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2368 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2369 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2370 	    case "$ac_configure_args0 " in
   2371 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2372 	    esac
   2373 	    ;;
   2374 	  -* ) ac_must_keep_next=true ;;
   2375 	esac
   2376       fi
   2377       as_fn_append ac_configure_args " '$ac_arg'"
   2378       ;;
   2379     esac
   2380   done
   2381 done
   2382 { ac_configure_args0=; unset ac_configure_args0;}
   2383 { ac_configure_args1=; unset ac_configure_args1;}
   2384 
   2385 # When interrupted or exit'd, cleanup temporary files, and complete
   2386 # config.log.  We remove comments because anyway the quotes in there
   2387 # would cause problems or look ugly.
   2388 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2389 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2390 trap 'exit_status=$?
   2391   # Sanitize IFS.
   2392   IFS=" ""	$as_nl"
   2393   # Save into config.log some information that might help in debugging.
   2394   {
   2395     echo
   2396 
   2397     printf "%s\n" "## ---------------- ##
   2398 ## Cache variables. ##
   2399 ## ---------------- ##"
   2400     echo
   2401     # The following way of writing the cache mishandles newlines in values,
   2402 (
   2403   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2404     eval ac_val=\$$ac_var
   2405     case $ac_val in #(
   2406     *${as_nl}*)
   2407       case $ac_var in #(
   2408       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2409 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2410       esac
   2411       case $ac_var in #(
   2412       _ | IFS | as_nl) ;; #(
   2413       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2414       *) { eval $ac_var=; unset $ac_var;} ;;
   2415       esac ;;
   2416     esac
   2417   done
   2418   (set) 2>&1 |
   2419     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2420     *${as_nl}ac_space=\ *)
   2421       sed -n \
   2422 	"s/'\''/'\''\\\\'\'''\''/g;
   2423 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2424       ;; #(
   2425     *)
   2426       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2427       ;;
   2428     esac |
   2429     sort
   2430 )
   2431     echo
   2432 
   2433     printf "%s\n" "## ----------------- ##
   2434 ## Output variables. ##
   2435 ## ----------------- ##"
   2436     echo
   2437     for ac_var in $ac_subst_vars
   2438     do
   2439       eval ac_val=\$$ac_var
   2440       case $ac_val in
   2441       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2442       esac
   2443       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2444     done | sort
   2445     echo
   2446 
   2447     if test -n "$ac_subst_files"; then
   2448       printf "%s\n" "## ------------------- ##
   2449 ## File substitutions. ##
   2450 ## ------------------- ##"
   2451       echo
   2452       for ac_var in $ac_subst_files
   2453       do
   2454 	eval ac_val=\$$ac_var
   2455 	case $ac_val in
   2456 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2457 	esac
   2458 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2459       done | sort
   2460       echo
   2461     fi
   2462 
   2463     if test -s confdefs.h; then
   2464       printf "%s\n" "## ----------- ##
   2465 ## confdefs.h. ##
   2466 ## ----------- ##"
   2467       echo
   2468       cat confdefs.h
   2469       echo
   2470     fi
   2471     test "$ac_signal" != 0 &&
   2472       printf "%s\n" "$as_me: caught signal $ac_signal"
   2473     printf "%s\n" "$as_me: exit $exit_status"
   2474   } >&5
   2475   rm -f core *.core core.conftest.* &&
   2476     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2477     exit $exit_status
   2478 ' 0
   2479 for ac_signal in 1 2 13 15; do
   2480   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2481 done
   2482 ac_signal=0
   2483 
   2484 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2485 rm -f -r conftest* confdefs.h
   2486 
   2487 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2488 
   2489 # Predefined preprocessor variables.
   2490 
   2491 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2492 
   2493 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2494 
   2495 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2496 
   2497 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2498 
   2499 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2500 
   2501 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2502 
   2503 
   2504 # Let the site file select an alternate cache file if it wants to.
   2505 # Prefer an explicitly selected file to automatically selected ones.
   2506 if test -n "$CONFIG_SITE"; then
   2507   ac_site_files="$CONFIG_SITE"
   2508 elif test "x$prefix" != xNONE; then
   2509   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2510 else
   2511   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2512 fi
   2513 
   2514 for ac_site_file in $ac_site_files
   2515 do
   2516   case $ac_site_file in #(
   2517   */*) :
   2518      ;; #(
   2519   *) :
   2520     ac_site_file=./$ac_site_file ;;
   2521 esac
   2522   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2523     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2524 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2525     sed 's/^/| /' "$ac_site_file" >&5
   2526     . "$ac_site_file" \
   2527       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2528 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2529 as_fn_error $? "failed to load site script $ac_site_file
   2530 See 'config.log' for more details" "$LINENO" 5; }
   2531   fi
   2532 done
   2533 
   2534 if test -r "$cache_file"; then
   2535   # Some versions of bash will fail to source /dev/null (special files
   2536   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2537   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2538     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2539 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2540     case $cache_file in
   2541       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2542       *)                      . "./$cache_file";;
   2543     esac
   2544   fi
   2545 else
   2546   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2547 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2548   >$cache_file
   2549 fi
   2550 
   2551 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2552 # Test code for whether the C compiler supports C89 (global declarations)
   2553 ac_c_conftest_c89_globals='
   2554 /* Does the compiler advertise C89 conformance?
   2555    Do not test the value of __STDC__, because some compilers set it to 0
   2556    while being otherwise adequately conformant. */
   2557 #if !defined __STDC__
   2558 # error "Compiler does not advertise C89 conformance"
   2559 #endif
   2560 
   2561 #include <stddef.h>
   2562 #include <stdarg.h>
   2563 struct stat;
   2564 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2565 struct buf { int x; };
   2566 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2567 static char *e (char **p, int i)
   2568 {
   2569   return p[i];
   2570 }
   2571 static char *f (char * (*g) (char **, int), char **p, ...)
   2572 {
   2573   char *s;
   2574   va_list v;
   2575   va_start (v,p);
   2576   s = g (p, va_arg (v,int));
   2577   va_end (v);
   2578   return s;
   2579 }
   2580 
   2581 /* C89 style stringification. */
   2582 #define noexpand_stringify(a) #a
   2583 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2584 
   2585 /* C89 style token pasting.  Exercises some of the corner cases that
   2586    e.g. old MSVC gets wrong, but not very hard. */
   2587 #define noexpand_concat(a,b) a##b
   2588 #define expand_concat(a,b) noexpand_concat(a,b)
   2589 extern int vA;
   2590 extern int vbee;
   2591 #define aye A
   2592 #define bee B
   2593 int *pvA = &expand_concat(v,aye);
   2594 int *pvbee = &noexpand_concat(v,bee);
   2595 
   2596 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2597    function prototypes and stuff, but not \xHH hex character constants.
   2598    These do not provoke an error unfortunately, instead are silently treated
   2599    as an "x".  The following induces an error, until -std is added to get
   2600    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2601    array size at least.  It is necessary to write \x00 == 0 to get something
   2602    that is true only with -std.  */
   2603 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2604 
   2605 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2606    inside strings and character constants.  */
   2607 #define FOO(x) '\''x'\''
   2608 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2609 
   2610 int test (int i, double x);
   2611 struct s1 {int (*f) (int a);};
   2612 struct s2 {int (*f) (double a);};
   2613 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2614                int, int);'
   2615 
   2616 # Test code for whether the C compiler supports C89 (body of main).
   2617 ac_c_conftest_c89_main='
   2618 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2619 '
   2620 
   2621 # Test code for whether the C compiler supports C99 (global declarations)
   2622 ac_c_conftest_c99_globals='
   2623 /* Does the compiler advertise C99 conformance? */
   2624 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2625 # error "Compiler does not advertise C99 conformance"
   2626 #endif
   2627 
   2628 // See if C++-style comments work.
   2629 
   2630 #include <stdbool.h>
   2631 extern int puts (const char *);
   2632 extern int printf (const char *, ...);
   2633 extern int dprintf (int, const char *, ...);
   2634 extern void *malloc (size_t);
   2635 extern void free (void *);
   2636 
   2637 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2638 // dprintf is used instead of fprintf to avoid needing to declare
   2639 // FILE and stderr.
   2640 #define debug(...) dprintf (2, __VA_ARGS__)
   2641 #define showlist(...) puts (#__VA_ARGS__)
   2642 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2643 static void
   2644 test_varargs_macros (void)
   2645 {
   2646   int x = 1234;
   2647   int y = 5678;
   2648   debug ("Flag");
   2649   debug ("X = %d\n", x);
   2650   showlist (The first, second, and third items.);
   2651   report (x>y, "x is %d but y is %d", x, y);
   2652 }
   2653 
   2654 // Check long long types.
   2655 #define BIG64 18446744073709551615ull
   2656 #define BIG32 4294967295ul
   2657 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2658 #if !BIG_OK
   2659   #error "your preprocessor is broken"
   2660 #endif
   2661 #if BIG_OK
   2662 #else
   2663   #error "your preprocessor is broken"
   2664 #endif
   2665 static long long int bignum = -9223372036854775807LL;
   2666 static unsigned long long int ubignum = BIG64;
   2667 
   2668 struct incomplete_array
   2669 {
   2670   int datasize;
   2671   double data[];
   2672 };
   2673 
   2674 struct named_init {
   2675   int number;
   2676   const wchar_t *name;
   2677   double average;
   2678 };
   2679 
   2680 typedef const char *ccp;
   2681 
   2682 static inline int
   2683 test_restrict (ccp restrict text)
   2684 {
   2685   // Iterate through items via the restricted pointer.
   2686   // Also check for declarations in for loops.
   2687   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2688     continue;
   2689   return 0;
   2690 }
   2691 
   2692 // Check varargs and va_copy.
   2693 static bool
   2694 test_varargs (const char *format, ...)
   2695 {
   2696   va_list args;
   2697   va_start (args, format);
   2698   va_list args_copy;
   2699   va_copy (args_copy, args);
   2700 
   2701   const char *str = "";
   2702   int number = 0;
   2703   float fnumber = 0;
   2704 
   2705   while (*format)
   2706     {
   2707       switch (*format++)
   2708 	{
   2709 	case '\''s'\'': // string
   2710 	  str = va_arg (args_copy, const char *);
   2711 	  break;
   2712 	case '\''d'\'': // int
   2713 	  number = va_arg (args_copy, int);
   2714 	  break;
   2715 	case '\''f'\'': // float
   2716 	  fnumber = va_arg (args_copy, double);
   2717 	  break;
   2718 	default:
   2719 	  break;
   2720 	}
   2721     }
   2722   va_end (args_copy);
   2723   va_end (args);
   2724 
   2725   return *str && number && fnumber;
   2726 }
   2727 '
   2728 
   2729 # Test code for whether the C compiler supports C99 (body of main).
   2730 ac_c_conftest_c99_main='
   2731   // Check bool.
   2732   _Bool success = false;
   2733   success |= (argc != 0);
   2734 
   2735   // Check restrict.
   2736   if (test_restrict ("String literal") == 0)
   2737     success = true;
   2738   char *restrict newvar = "Another string";
   2739 
   2740   // Check varargs.
   2741   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2742   test_varargs_macros ();
   2743 
   2744   // Check flexible array members.
   2745   struct incomplete_array *ia =
   2746     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2747   ia->datasize = 10;
   2748   for (int i = 0; i < ia->datasize; ++i)
   2749     ia->data[i] = i * 1.234;
   2750   // Work around memory leak warnings.
   2751   free (ia);
   2752 
   2753   // Check named initializers.
   2754   struct named_init ni = {
   2755     .number = 34,
   2756     .name = L"Test wide string",
   2757     .average = 543.34343,
   2758   };
   2759 
   2760   ni.number = 58;
   2761 
   2762   int dynamic_array[ni.number];
   2763   dynamic_array[0] = argv[0][0];
   2764   dynamic_array[ni.number - 1] = 543;
   2765 
   2766   // work around unused variable warnings
   2767   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2768 	 || dynamic_array[ni.number - 1] != 543);
   2769 '
   2770 
   2771 # Test code for whether the C compiler supports C11 (global declarations)
   2772 ac_c_conftest_c11_globals='
   2773 /* Does the compiler advertise C11 conformance? */
   2774 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2775 # error "Compiler does not advertise C11 conformance"
   2776 #endif
   2777 
   2778 // Check _Alignas.
   2779 char _Alignas (double) aligned_as_double;
   2780 char _Alignas (0) no_special_alignment;
   2781 extern char aligned_as_int;
   2782 char _Alignas (0) _Alignas (int) aligned_as_int;
   2783 
   2784 // Check _Alignof.
   2785 enum
   2786 {
   2787   int_alignment = _Alignof (int),
   2788   int_array_alignment = _Alignof (int[100]),
   2789   char_alignment = _Alignof (char)
   2790 };
   2791 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2792 
   2793 // Check _Noreturn.
   2794 int _Noreturn does_not_return (void) { for (;;) continue; }
   2795 
   2796 // Check _Static_assert.
   2797 struct test_static_assert
   2798 {
   2799   int x;
   2800   _Static_assert (sizeof (int) <= sizeof (long int),
   2801                   "_Static_assert does not work in struct");
   2802   long int y;
   2803 };
   2804 
   2805 // Check UTF-8 literals.
   2806 #define u8 syntax error!
   2807 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2808 
   2809 // Check duplicate typedefs.
   2810 typedef long *long_ptr;
   2811 typedef long int *long_ptr;
   2812 typedef long_ptr long_ptr;
   2813 
   2814 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2815 struct anonymous
   2816 {
   2817   union {
   2818     struct { int i; int j; };
   2819     struct { int k; long int l; } w;
   2820   };
   2821   int m;
   2822 } v1;
   2823 '
   2824 
   2825 # Test code for whether the C compiler supports C11 (body of main).
   2826 ac_c_conftest_c11_main='
   2827   _Static_assert ((offsetof (struct anonymous, i)
   2828 		   == offsetof (struct anonymous, w.k)),
   2829 		  "Anonymous union alignment botch");
   2830   v1.i = 2;
   2831   v1.w.k = 5;
   2832   ok |= v1.i != 5;
   2833 '
   2834 
   2835 # Test code for whether the C compiler supports C11 (complete).
   2836 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2837 ${ac_c_conftest_c99_globals}
   2838 ${ac_c_conftest_c11_globals}
   2839 
   2840 int
   2841 main (int argc, char **argv)
   2842 {
   2843   int ok = 0;
   2844   ${ac_c_conftest_c89_main}
   2845   ${ac_c_conftest_c99_main}
   2846   ${ac_c_conftest_c11_main}
   2847   return ok;
   2848 }
   2849 "
   2850 
   2851 # Test code for whether the C compiler supports C99 (complete).
   2852 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2853 ${ac_c_conftest_c99_globals}
   2854 
   2855 int
   2856 main (int argc, char **argv)
   2857 {
   2858   int ok = 0;
   2859   ${ac_c_conftest_c89_main}
   2860   ${ac_c_conftest_c99_main}
   2861   return ok;
   2862 }
   2863 "
   2864 
   2865 # Test code for whether the C compiler supports C89 (complete).
   2866 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2867 
   2868 int
   2869 main (int argc, char **argv)
   2870 {
   2871   int ok = 0;
   2872   ${ac_c_conftest_c89_main}
   2873   return ok;
   2874 }
   2875 "
   2876 
   2877 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2878 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2879 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2880 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2881 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2882 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2883 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2884 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2885 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
   2886 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
   2887 as_fn_append ac_header_c_list " sys/param.h sys_param_h HAVE_SYS_PARAM_H"
   2888 as_fn_append ac_func_c_list " getpagesize HAVE_GETPAGESIZE"
   2889 
   2890 # Auxiliary files required by this configure script.
   2891 ac_aux_files="ltmain.sh missing install-sh compile config.guess config.sub"
   2892 
   2893 # Locations in which to look for auxiliary files.
   2894 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2895 
   2896 # Search for a directory containing all of the required auxiliary files,
   2897 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2898 # If we don't find one directory that contains all the files we need,
   2899 # we report the set of missing files from the *first* directory in
   2900 # $ac_aux_dir_candidates and give up.
   2901 ac_missing_aux_files=""
   2902 ac_first_candidate=:
   2903 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2905 as_found=false
   2906 for as_dir in $ac_aux_dir_candidates
   2907 do
   2908   IFS=$as_save_IFS
   2909   case $as_dir in #(((
   2910     '') as_dir=./ ;;
   2911     */) ;;
   2912     *) as_dir=$as_dir/ ;;
   2913   esac
   2914   as_found=:
   2915 
   2916   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2917   ac_aux_dir_found=yes
   2918   ac_install_sh=
   2919   for ac_aux in $ac_aux_files
   2920   do
   2921     # As a special case, if "install-sh" is required, that requirement
   2922     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2923     # and $ac_install_sh is set appropriately for whichever one is found.
   2924     if test x"$ac_aux" = x"install-sh"
   2925     then
   2926       if test -f "${as_dir}install-sh"; then
   2927         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2928         ac_install_sh="${as_dir}install-sh -c"
   2929       elif test -f "${as_dir}install.sh"; then
   2930         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2931         ac_install_sh="${as_dir}install.sh -c"
   2932       elif test -f "${as_dir}shtool"; then
   2933         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2934         ac_install_sh="${as_dir}shtool install -c"
   2935       else
   2936         ac_aux_dir_found=no
   2937         if $ac_first_candidate; then
   2938           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2939         else
   2940           break
   2941         fi
   2942       fi
   2943     else
   2944       if test -f "${as_dir}${ac_aux}"; then
   2945         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2946       else
   2947         ac_aux_dir_found=no
   2948         if $ac_first_candidate; then
   2949           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2950         else
   2951           break
   2952         fi
   2953       fi
   2954     fi
   2955   done
   2956   if test "$ac_aux_dir_found" = yes; then
   2957     ac_aux_dir="$as_dir"
   2958     break
   2959   fi
   2960   ac_first_candidate=false
   2961 
   2962   as_found=false
   2963 done
   2964 IFS=$as_save_IFS
   2965 if $as_found
   2966 then :
   2967 
   2968 else case e in #(
   2969   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2970 esac
   2971 fi
   2972 
   2973 
   2974 # These three variables are undocumented and unsupported,
   2975 # and are intended to be withdrawn in a future Autoconf release.
   2976 # They can cause serious problems if a builder's source tree is in a directory
   2977 # whose full name contains unusual characters.
   2978 if test -f "${ac_aux_dir}config.guess"; then
   2979   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2980 fi
   2981 if test -f "${ac_aux_dir}config.sub"; then
   2982   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2983 fi
   2984 if test -f "$ac_aux_dir/configure"; then
   2985   ac_configure="$SHELL ${ac_aux_dir}configure"
   2986 fi
   2987 
   2988 # Check that the precious variables saved in the cache have kept the same
   2989 # value.
   2990 ac_cache_corrupted=false
   2991 for ac_var in $ac_precious_vars; do
   2992   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2993   eval ac_new_set=\$ac_env_${ac_var}_set
   2994   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2995   eval ac_new_val=\$ac_env_${ac_var}_value
   2996   case $ac_old_set,$ac_new_set in
   2997     set,)
   2998       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2999 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   3000       ac_cache_corrupted=: ;;
   3001     ,set)
   3002       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   3003 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   3004       ac_cache_corrupted=: ;;
   3005     ,);;
   3006     *)
   3007       if test "x$ac_old_val" != "x$ac_new_val"; then
   3008 	# differences in whitespace do not lead to failure.
   3009 	ac_old_val_w=`echo x $ac_old_val`
   3010 	ac_new_val_w=`echo x $ac_new_val`
   3011 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   3012 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   3013 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   3014 	  ac_cache_corrupted=:
   3015 	else
   3016 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   3017 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   3018 	  eval $ac_var=\$ac_old_val
   3019 	fi
   3020 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   3021 printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
   3022 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   3023 printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
   3024       fi;;
   3025   esac
   3026   # Pass precious variables to config.status.
   3027   if test "$ac_new_set" = set; then
   3028     case $ac_new_val in
   3029     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   3030     *) ac_arg=$ac_var=$ac_new_val ;;
   3031     esac
   3032     case " $ac_configure_args " in
   3033       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   3034       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   3035     esac
   3036   fi
   3037 done
   3038 if $ac_cache_corrupted; then
   3039   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3040 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3041   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   3042 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   3043   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   3044 	    and start over" "$LINENO" 5
   3045 fi
   3046 ## -------------------- ##
   3047 ## Main body of script. ##
   3048 ## -------------------- ##
   3049 
   3050 ac_ext=c
   3051 ac_cpp='$CPP $CPPFLAGS'
   3052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3055 
   3056 
   3057 
   3058 ac_config_headers="$ac_config_headers src/config.h include/X11/XlibConf.h"
   3059 
   3060 
   3061 
   3062 
   3063 
   3064   # Make sure we can run config.sub.
   3065 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   3066   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   3067 
   3068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3069 printf %s "checking build system type... " >&6; }
   3070 if test ${ac_cv_build+y}
   3071 then :
   3072   printf %s "(cached) " >&6
   3073 else case e in #(
   3074   e) ac_build_alias=$build_alias
   3075 test "x$ac_build_alias" = x &&
   3076   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   3077 test "x$ac_build_alias" = x &&
   3078   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3079 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   3080   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   3081  ;;
   3082 esac
   3083 fi
   3084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3085 printf "%s\n" "$ac_cv_build" >&6; }
   3086 case $ac_cv_build in
   3087 *-*-*) ;;
   3088 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3089 esac
   3090 build=$ac_cv_build
   3091 ac_save_IFS=$IFS; IFS='-'
   3092 set x $ac_cv_build
   3093 shift
   3094 build_cpu=$1
   3095 build_vendor=$2
   3096 shift; shift
   3097 # Remember, the first character of IFS is used to create $*,
   3098 # except with old shells:
   3099 build_os=$*
   3100 IFS=$ac_save_IFS
   3101 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3102 
   3103 
   3104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3105 printf %s "checking host system type... " >&6; }
   3106 if test ${ac_cv_host+y}
   3107 then :
   3108   printf %s "(cached) " >&6
   3109 else case e in #(
   3110   e) if test "x$host_alias" = x; then
   3111   ac_cv_host=$ac_cv_build
   3112 else
   3113   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   3114     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   3115 fi
   3116  ;;
   3117 esac
   3118 fi
   3119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3120 printf "%s\n" "$ac_cv_host" >&6; }
   3121 case $ac_cv_host in
   3122 *-*-*) ;;
   3123 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3124 esac
   3125 host=$ac_cv_host
   3126 ac_save_IFS=$IFS; IFS='-'
   3127 set x $ac_cv_host
   3128 shift
   3129 host_cpu=$1
   3130 host_vendor=$2
   3131 shift; shift
   3132 # Remember, the first character of IFS is used to create $*,
   3133 # except with old shells:
   3134 host_os=$*
   3135 IFS=$ac_save_IFS
   3136 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3137 
   3138 
   3139 # Set common system defines for POSIX extensions, such as _GNU_SOURCE
   3140 # Must be called before any macros that run the compiler (like LT_INIT)
   3141 # to avoid autoconf errors.
   3142 
   3143 
   3144 
   3145 
   3146 
   3147 
   3148 
   3149 
   3150 
   3151 
   3152 # Expand $ac_aux_dir to an absolute path.
   3153 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   3154 
   3155 ac_ext=c
   3156 ac_cpp='$CPP $CPPFLAGS'
   3157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3160 if test -n "$ac_tool_prefix"; then
   3161   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3162 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3164 printf %s "checking for $ac_word... " >&6; }
   3165 if test ${ac_cv_prog_CC+y}
   3166 then :
   3167   printf %s "(cached) " >&6
   3168 else case e in #(
   3169   e) if test -n "$CC"; then
   3170   ac_cv_prog_CC="$CC" # Let the user override the test.
   3171 else
   3172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3173 for as_dir in $PATH
   3174 do
   3175   IFS=$as_save_IFS
   3176   case $as_dir in #(((
   3177     '') as_dir=./ ;;
   3178     */) ;;
   3179     *) as_dir=$as_dir/ ;;
   3180   esac
   3181     for ac_exec_ext in '' $ac_executable_extensions; do
   3182   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3183     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3184     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3185     break 2
   3186   fi
   3187 done
   3188   done
   3189 IFS=$as_save_IFS
   3190 
   3191 fi ;;
   3192 esac
   3193 fi
   3194 CC=$ac_cv_prog_CC
   3195 if test -n "$CC"; then
   3196   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3197 printf "%s\n" "$CC" >&6; }
   3198 else
   3199   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3200 printf "%s\n" "no" >&6; }
   3201 fi
   3202 
   3203 
   3204 fi
   3205 if test -z "$ac_cv_prog_CC"; then
   3206   ac_ct_CC=$CC
   3207   # Extract the first word of "gcc", so it can be a program name with args.
   3208 set dummy gcc; ac_word=$2
   3209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3210 printf %s "checking for $ac_word... " >&6; }
   3211 if test ${ac_cv_prog_ac_ct_CC+y}
   3212 then :
   3213   printf %s "(cached) " >&6
   3214 else case e in #(
   3215   e) if test -n "$ac_ct_CC"; then
   3216   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3217 else
   3218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3219 for as_dir in $PATH
   3220 do
   3221   IFS=$as_save_IFS
   3222   case $as_dir in #(((
   3223     '') as_dir=./ ;;
   3224     */) ;;
   3225     *) as_dir=$as_dir/ ;;
   3226   esac
   3227     for ac_exec_ext in '' $ac_executable_extensions; do
   3228   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3229     ac_cv_prog_ac_ct_CC="gcc"
   3230     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3231     break 2
   3232   fi
   3233 done
   3234   done
   3235 IFS=$as_save_IFS
   3236 
   3237 fi ;;
   3238 esac
   3239 fi
   3240 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3241 if test -n "$ac_ct_CC"; then
   3242   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3243 printf "%s\n" "$ac_ct_CC" >&6; }
   3244 else
   3245   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3246 printf "%s\n" "no" >&6; }
   3247 fi
   3248 
   3249   if test "x$ac_ct_CC" = x; then
   3250     CC=""
   3251   else
   3252     case $cross_compiling:$ac_tool_warned in
   3253 yes:)
   3254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3255 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3256 ac_tool_warned=yes ;;
   3257 esac
   3258     CC=$ac_ct_CC
   3259   fi
   3260 else
   3261   CC="$ac_cv_prog_CC"
   3262 fi
   3263 
   3264 if test -z "$CC"; then
   3265           if test -n "$ac_tool_prefix"; then
   3266     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3267 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3269 printf %s "checking for $ac_word... " >&6; }
   3270 if test ${ac_cv_prog_CC+y}
   3271 then :
   3272   printf %s "(cached) " >&6
   3273 else case e in #(
   3274   e) if test -n "$CC"; then
   3275   ac_cv_prog_CC="$CC" # Let the user override the test.
   3276 else
   3277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3278 for as_dir in $PATH
   3279 do
   3280   IFS=$as_save_IFS
   3281   case $as_dir in #(((
   3282     '') as_dir=./ ;;
   3283     */) ;;
   3284     *) as_dir=$as_dir/ ;;
   3285   esac
   3286     for ac_exec_ext in '' $ac_executable_extensions; do
   3287   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3288     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3289     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3290     break 2
   3291   fi
   3292 done
   3293   done
   3294 IFS=$as_save_IFS
   3295 
   3296 fi ;;
   3297 esac
   3298 fi
   3299 CC=$ac_cv_prog_CC
   3300 if test -n "$CC"; then
   3301   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3302 printf "%s\n" "$CC" >&6; }
   3303 else
   3304   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3305 printf "%s\n" "no" >&6; }
   3306 fi
   3307 
   3308 
   3309   fi
   3310 fi
   3311 if test -z "$CC"; then
   3312   # Extract the first word of "cc", so it can be a program name with args.
   3313 set dummy cc; ac_word=$2
   3314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3315 printf %s "checking for $ac_word... " >&6; }
   3316 if test ${ac_cv_prog_CC+y}
   3317 then :
   3318   printf %s "(cached) " >&6
   3319 else case e in #(
   3320   e) if test -n "$CC"; then
   3321   ac_cv_prog_CC="$CC" # Let the user override the test.
   3322 else
   3323   ac_prog_rejected=no
   3324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3325 for as_dir in $PATH
   3326 do
   3327   IFS=$as_save_IFS
   3328   case $as_dir in #(((
   3329     '') as_dir=./ ;;
   3330     */) ;;
   3331     *) as_dir=$as_dir/ ;;
   3332   esac
   3333     for ac_exec_ext in '' $ac_executable_extensions; do
   3334   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3335     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3336        ac_prog_rejected=yes
   3337        continue
   3338      fi
   3339     ac_cv_prog_CC="cc"
   3340     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3341     break 2
   3342   fi
   3343 done
   3344   done
   3345 IFS=$as_save_IFS
   3346 
   3347 if test $ac_prog_rejected = yes; then
   3348   # We found a bogon in the path, so make sure we never use it.
   3349   set dummy $ac_cv_prog_CC
   3350   shift
   3351   if test $# != 0; then
   3352     # We chose a different compiler from the bogus one.
   3353     # However, it has the same basename, so the bogon will be chosen
   3354     # first if we set CC to just the basename; use the full file name.
   3355     shift
   3356     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3357   fi
   3358 fi
   3359 fi ;;
   3360 esac
   3361 fi
   3362 CC=$ac_cv_prog_CC
   3363 if test -n "$CC"; then
   3364   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3365 printf "%s\n" "$CC" >&6; }
   3366 else
   3367   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3368 printf "%s\n" "no" >&6; }
   3369 fi
   3370 
   3371 
   3372 fi
   3373 if test -z "$CC"; then
   3374   if test -n "$ac_tool_prefix"; then
   3375   for ac_prog in cl.exe
   3376   do
   3377     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3378 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3380 printf %s "checking for $ac_word... " >&6; }
   3381 if test ${ac_cv_prog_CC+y}
   3382 then :
   3383   printf %s "(cached) " >&6
   3384 else case e in #(
   3385   e) if test -n "$CC"; then
   3386   ac_cv_prog_CC="$CC" # Let the user override the test.
   3387 else
   3388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3389 for as_dir in $PATH
   3390 do
   3391   IFS=$as_save_IFS
   3392   case $as_dir in #(((
   3393     '') as_dir=./ ;;
   3394     */) ;;
   3395     *) as_dir=$as_dir/ ;;
   3396   esac
   3397     for ac_exec_ext in '' $ac_executable_extensions; do
   3398   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3399     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3400     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3401     break 2
   3402   fi
   3403 done
   3404   done
   3405 IFS=$as_save_IFS
   3406 
   3407 fi ;;
   3408 esac
   3409 fi
   3410 CC=$ac_cv_prog_CC
   3411 if test -n "$CC"; then
   3412   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3413 printf "%s\n" "$CC" >&6; }
   3414 else
   3415   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3416 printf "%s\n" "no" >&6; }
   3417 fi
   3418 
   3419 
   3420     test -n "$CC" && break
   3421   done
   3422 fi
   3423 if test -z "$CC"; then
   3424   ac_ct_CC=$CC
   3425   for ac_prog in cl.exe
   3426 do
   3427   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3428 set dummy $ac_prog; ac_word=$2
   3429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3430 printf %s "checking for $ac_word... " >&6; }
   3431 if test ${ac_cv_prog_ac_ct_CC+y}
   3432 then :
   3433   printf %s "(cached) " >&6
   3434 else case e in #(
   3435   e) if test -n "$ac_ct_CC"; then
   3436   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3437 else
   3438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3439 for as_dir in $PATH
   3440 do
   3441   IFS=$as_save_IFS
   3442   case $as_dir in #(((
   3443     '') as_dir=./ ;;
   3444     */) ;;
   3445     *) as_dir=$as_dir/ ;;
   3446   esac
   3447     for ac_exec_ext in '' $ac_executable_extensions; do
   3448   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3449     ac_cv_prog_ac_ct_CC="$ac_prog"
   3450     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3451     break 2
   3452   fi
   3453 done
   3454   done
   3455 IFS=$as_save_IFS
   3456 
   3457 fi ;;
   3458 esac
   3459 fi
   3460 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3461 if test -n "$ac_ct_CC"; then
   3462   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3463 printf "%s\n" "$ac_ct_CC" >&6; }
   3464 else
   3465   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3466 printf "%s\n" "no" >&6; }
   3467 fi
   3468 
   3469 
   3470   test -n "$ac_ct_CC" && break
   3471 done
   3472 
   3473   if test "x$ac_ct_CC" = x; then
   3474     CC=""
   3475   else
   3476     case $cross_compiling:$ac_tool_warned in
   3477 yes:)
   3478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3479 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3480 ac_tool_warned=yes ;;
   3481 esac
   3482     CC=$ac_ct_CC
   3483   fi
   3484 fi
   3485 
   3486 fi
   3487 if test -z "$CC"; then
   3488   if test -n "$ac_tool_prefix"; then
   3489   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3490 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3492 printf %s "checking for $ac_word... " >&6; }
   3493 if test ${ac_cv_prog_CC+y}
   3494 then :
   3495   printf %s "(cached) " >&6
   3496 else case e in #(
   3497   e) if test -n "$CC"; then
   3498   ac_cv_prog_CC="$CC" # Let the user override the test.
   3499 else
   3500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3501 for as_dir in $PATH
   3502 do
   3503   IFS=$as_save_IFS
   3504   case $as_dir in #(((
   3505     '') as_dir=./ ;;
   3506     */) ;;
   3507     *) as_dir=$as_dir/ ;;
   3508   esac
   3509     for ac_exec_ext in '' $ac_executable_extensions; do
   3510   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3511     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3512     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3513     break 2
   3514   fi
   3515 done
   3516   done
   3517 IFS=$as_save_IFS
   3518 
   3519 fi ;;
   3520 esac
   3521 fi
   3522 CC=$ac_cv_prog_CC
   3523 if test -n "$CC"; then
   3524   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3525 printf "%s\n" "$CC" >&6; }
   3526 else
   3527   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3528 printf "%s\n" "no" >&6; }
   3529 fi
   3530 
   3531 
   3532 fi
   3533 if test -z "$ac_cv_prog_CC"; then
   3534   ac_ct_CC=$CC
   3535   # Extract the first word of "clang", so it can be a program name with args.
   3536 set dummy clang; ac_word=$2
   3537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3538 printf %s "checking for $ac_word... " >&6; }
   3539 if test ${ac_cv_prog_ac_ct_CC+y}
   3540 then :
   3541   printf %s "(cached) " >&6
   3542 else case e in #(
   3543   e) if test -n "$ac_ct_CC"; then
   3544   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3545 else
   3546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3547 for as_dir in $PATH
   3548 do
   3549   IFS=$as_save_IFS
   3550   case $as_dir in #(((
   3551     '') as_dir=./ ;;
   3552     */) ;;
   3553     *) as_dir=$as_dir/ ;;
   3554   esac
   3555     for ac_exec_ext in '' $ac_executable_extensions; do
   3556   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3557     ac_cv_prog_ac_ct_CC="clang"
   3558     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3559     break 2
   3560   fi
   3561 done
   3562   done
   3563 IFS=$as_save_IFS
   3564 
   3565 fi ;;
   3566 esac
   3567 fi
   3568 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3569 if test -n "$ac_ct_CC"; then
   3570   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3571 printf "%s\n" "$ac_ct_CC" >&6; }
   3572 else
   3573   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3574 printf "%s\n" "no" >&6; }
   3575 fi
   3576 
   3577   if test "x$ac_ct_CC" = x; then
   3578     CC=""
   3579   else
   3580     case $cross_compiling:$ac_tool_warned in
   3581 yes:)
   3582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3583 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3584 ac_tool_warned=yes ;;
   3585 esac
   3586     CC=$ac_ct_CC
   3587   fi
   3588 else
   3589   CC="$ac_cv_prog_CC"
   3590 fi
   3591 
   3592 fi
   3593 
   3594 
   3595 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3596 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3597 as_fn_error $? "no acceptable C compiler found in \$PATH
   3598 See 'config.log' for more details" "$LINENO" 5; }
   3599 
   3600 # Provide some information about the compiler.
   3601 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3602 set X $ac_compile
   3603 ac_compiler=$2
   3604 for ac_option in --version -v -V -qversion -version; do
   3605   { { ac_try="$ac_compiler $ac_option >&5"
   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_compiler $ac_option >&5") 2>conftest.err
   3613   ac_status=$?
   3614   if test -s conftest.err; then
   3615     sed '10a\
   3616 ... rest of stderr output deleted ...
   3617          10q' conftest.err >conftest.er1
   3618     cat conftest.er1 >&5
   3619   fi
   3620   rm -f conftest.er1 conftest.err
   3621   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3622   test $ac_status = 0; }
   3623 done
   3624 
   3625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3626 /* end confdefs.h.  */
   3627 
   3628 int
   3629 main (void)
   3630 {
   3631 
   3632   ;
   3633   return 0;
   3634 }
   3635 _ACEOF
   3636 ac_clean_files_save=$ac_clean_files
   3637 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3638 # Try to create an executable without -o first, disregard a.out.
   3639 # It will help us diagnose broken compilers, and finding out an intuition
   3640 # of exeext.
   3641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3642 printf %s "checking whether the C compiler works... " >&6; }
   3643 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3644 
   3645 # The possible output files:
   3646 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3647 
   3648 ac_rmfiles=
   3649 for ac_file in $ac_files
   3650 do
   3651   case $ac_file in
   3652     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3653     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3654   esac
   3655 done
   3656 rm -f $ac_rmfiles
   3657 
   3658 if { { ac_try="$ac_link_default"
   3659 case "(($ac_try" in
   3660   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3661   *) ac_try_echo=$ac_try;;
   3662 esac
   3663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3664 printf "%s\n" "$ac_try_echo"; } >&5
   3665   (eval "$ac_link_default") 2>&5
   3666   ac_status=$?
   3667   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3668   test $ac_status = 0; }
   3669 then :
   3670   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   3671 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   3672 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3673 # so that the user can short-circuit this test for compilers unknown to
   3674 # Autoconf.
   3675 for ac_file in $ac_files ''
   3676 do
   3677   test -f "$ac_file" || continue
   3678   case $ac_file in
   3679     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3680 	;;
   3681     [ab].out )
   3682 	# We found the default executable, but exeext='' is most
   3683 	# certainly right.
   3684 	break;;
   3685     *.* )
   3686 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3687 	then :; else
   3688 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3689 	fi
   3690 	# We set ac_cv_exeext here because the later test for it is not
   3691 	# safe: cross compilers may not add the suffix if given an '-o'
   3692 	# argument, so we may need to know it at that point already.
   3693 	# Even if this section looks crufty: it has the advantage of
   3694 	# actually working.
   3695 	break;;
   3696     * )
   3697 	break;;
   3698   esac
   3699 done
   3700 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3701 
   3702 else case e in #(
   3703   e) ac_file='' ;;
   3704 esac
   3705 fi
   3706 if test -z "$ac_file"
   3707 then :
   3708   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3709 printf "%s\n" "no" >&6; }
   3710 printf "%s\n" "$as_me: failed program was:" >&5
   3711 sed 's/^/| /' conftest.$ac_ext >&5
   3712 
   3713 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3714 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3715 as_fn_error 77 "C compiler cannot create executables
   3716 See 'config.log' for more details" "$LINENO" 5; }
   3717 else case e in #(
   3718   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3719 printf "%s\n" "yes" >&6; } ;;
   3720 esac
   3721 fi
   3722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3723 printf %s "checking for C compiler default output file name... " >&6; }
   3724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3725 printf "%s\n" "$ac_file" >&6; }
   3726 ac_exeext=$ac_cv_exeext
   3727 
   3728 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3729 ac_clean_files=$ac_clean_files_save
   3730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3731 printf %s "checking for suffix of executables... " >&6; }
   3732 if { { ac_try="$ac_link"
   3733 case "(($ac_try" in
   3734   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3735   *) ac_try_echo=$ac_try;;
   3736 esac
   3737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3738 printf "%s\n" "$ac_try_echo"; } >&5
   3739   (eval "$ac_link") 2>&5
   3740   ac_status=$?
   3741   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3742   test $ac_status = 0; }
   3743 then :
   3744   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   3745 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   3746 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   3747 # 'rm'.
   3748 for ac_file in conftest.exe conftest conftest.*; do
   3749   test -f "$ac_file" || continue
   3750   case $ac_file in
   3751     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3752     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3753 	  break;;
   3754     * ) break;;
   3755   esac
   3756 done
   3757 else case e in #(
   3758   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3759 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3760 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3761 See 'config.log' for more details" "$LINENO" 5; } ;;
   3762 esac
   3763 fi
   3764 rm -f conftest conftest$ac_cv_exeext
   3765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3766 printf "%s\n" "$ac_cv_exeext" >&6; }
   3767 
   3768 rm -f conftest.$ac_ext
   3769 EXEEXT=$ac_cv_exeext
   3770 ac_exeext=$EXEEXT
   3771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3772 /* end confdefs.h.  */
   3773 #include <stdio.h>
   3774 int
   3775 main (void)
   3776 {
   3777 FILE *f = fopen ("conftest.out", "w");
   3778  if (!f)
   3779   return 1;
   3780  return ferror (f) || fclose (f) != 0;
   3781 
   3782   ;
   3783   return 0;
   3784 }
   3785 _ACEOF
   3786 ac_clean_files="$ac_clean_files conftest.out"
   3787 # Check that the compiler produces executables we can run.  If not, either
   3788 # the compiler is broken, or we cross compile.
   3789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3790 printf %s "checking whether we are cross compiling... " >&6; }
   3791 if test "$cross_compiling" != yes; then
   3792   { { ac_try="$ac_link"
   3793 case "(($ac_try" in
   3794   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3795   *) ac_try_echo=$ac_try;;
   3796 esac
   3797 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3798 printf "%s\n" "$ac_try_echo"; } >&5
   3799   (eval "$ac_link") 2>&5
   3800   ac_status=$?
   3801   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3802   test $ac_status = 0; }
   3803   if { ac_try='./conftest$ac_cv_exeext'
   3804   { { case "(($ac_try" in
   3805   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3806   *) ac_try_echo=$ac_try;;
   3807 esac
   3808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3809 printf "%s\n" "$ac_try_echo"; } >&5
   3810   (eval "$ac_try") 2>&5
   3811   ac_status=$?
   3812   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3813   test $ac_status = 0; }; }; then
   3814     cross_compiling=no
   3815   else
   3816     if test "$cross_compiling" = maybe; then
   3817 	cross_compiling=yes
   3818     else
   3819 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3820 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3821 as_fn_error 77 "cannot run C compiled programs.
   3822 If you meant to cross compile, use '--host'.
   3823 See 'config.log' for more details" "$LINENO" 5; }
   3824     fi
   3825   fi
   3826 fi
   3827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3828 printf "%s\n" "$cross_compiling" >&6; }
   3829 
   3830 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   3831   conftest.o conftest.obj conftest.out
   3832 ac_clean_files=$ac_clean_files_save
   3833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3834 printf %s "checking for suffix of object files... " >&6; }
   3835 if test ${ac_cv_objext+y}
   3836 then :
   3837   printf %s "(cached) " >&6
   3838 else case e in #(
   3839   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3840 /* end confdefs.h.  */
   3841 
   3842 int
   3843 main (void)
   3844 {
   3845 
   3846   ;
   3847   return 0;
   3848 }
   3849 _ACEOF
   3850 rm -f conftest.o conftest.obj
   3851 if { { ac_try="$ac_compile"
   3852 case "(($ac_try" in
   3853   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3854   *) ac_try_echo=$ac_try;;
   3855 esac
   3856 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3857 printf "%s\n" "$ac_try_echo"; } >&5
   3858   (eval "$ac_compile") 2>&5
   3859   ac_status=$?
   3860   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3861   test $ac_status = 0; }
   3862 then :
   3863   for ac_file in conftest.o conftest.obj conftest.*; do
   3864   test -f "$ac_file" || continue;
   3865   case $ac_file in
   3866     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3867     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3868        break;;
   3869   esac
   3870 done
   3871 else case e in #(
   3872   e) printf "%s\n" "$as_me: failed program was:" >&5
   3873 sed 's/^/| /' conftest.$ac_ext >&5
   3874 
   3875 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3876 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3877 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3878 See 'config.log' for more details" "$LINENO" 5; } ;;
   3879 esac
   3880 fi
   3881 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   3882 esac
   3883 fi
   3884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3885 printf "%s\n" "$ac_cv_objext" >&6; }
   3886 OBJEXT=$ac_cv_objext
   3887 ac_objext=$OBJEXT
   3888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   3889 printf %s "checking whether the compiler supports GNU C... " >&6; }
   3890 if test ${ac_cv_c_compiler_gnu+y}
   3891 then :
   3892   printf %s "(cached) " >&6
   3893 else case e in #(
   3894   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3895 /* end confdefs.h.  */
   3896 
   3897 int
   3898 main (void)
   3899 {
   3900 #ifndef __GNUC__
   3901        choke me
   3902 #endif
   3903 
   3904   ;
   3905   return 0;
   3906 }
   3907 _ACEOF
   3908 if ac_fn_c_try_compile "$LINENO"
   3909 then :
   3910   ac_compiler_gnu=yes
   3911 else case e in #(
   3912   e) ac_compiler_gnu=no ;;
   3913 esac
   3914 fi
   3915 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3916 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3917  ;;
   3918 esac
   3919 fi
   3920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3921 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   3922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3923 
   3924 if test $ac_compiler_gnu = yes; then
   3925   GCC=yes
   3926 else
   3927   GCC=
   3928 fi
   3929 ac_test_CFLAGS=${CFLAGS+y}
   3930 ac_save_CFLAGS=$CFLAGS
   3931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3932 printf %s "checking whether $CC accepts -g... " >&6; }
   3933 if test ${ac_cv_prog_cc_g+y}
   3934 then :
   3935   printf %s "(cached) " >&6
   3936 else case e in #(
   3937   e) ac_save_c_werror_flag=$ac_c_werror_flag
   3938    ac_c_werror_flag=yes
   3939    ac_cv_prog_cc_g=no
   3940    CFLAGS="-g"
   3941    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3942 /* end confdefs.h.  */
   3943 
   3944 int
   3945 main (void)
   3946 {
   3947 
   3948   ;
   3949   return 0;
   3950 }
   3951 _ACEOF
   3952 if ac_fn_c_try_compile "$LINENO"
   3953 then :
   3954   ac_cv_prog_cc_g=yes
   3955 else case e in #(
   3956   e) CFLAGS=""
   3957       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3958 /* end confdefs.h.  */
   3959 
   3960 int
   3961 main (void)
   3962 {
   3963 
   3964   ;
   3965   return 0;
   3966 }
   3967 _ACEOF
   3968 if ac_fn_c_try_compile "$LINENO"
   3969 then :
   3970 
   3971 else case e in #(
   3972   e) ac_c_werror_flag=$ac_save_c_werror_flag
   3973 	 CFLAGS="-g"
   3974 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3975 /* end confdefs.h.  */
   3976 
   3977 int
   3978 main (void)
   3979 {
   3980 
   3981   ;
   3982   return 0;
   3983 }
   3984 _ACEOF
   3985 if ac_fn_c_try_compile "$LINENO"
   3986 then :
   3987   ac_cv_prog_cc_g=yes
   3988 fi
   3989 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   3990 esac
   3991 fi
   3992 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   3993 esac
   3994 fi
   3995 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3996    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   3997 esac
   3998 fi
   3999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4000 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4001 if test $ac_test_CFLAGS; then
   4002   CFLAGS=$ac_save_CFLAGS
   4003 elif test $ac_cv_prog_cc_g = yes; then
   4004   if test "$GCC" = yes; then
   4005     CFLAGS="-g -O2"
   4006   else
   4007     CFLAGS="-g"
   4008   fi
   4009 else
   4010   if test "$GCC" = yes; then
   4011     CFLAGS="-O2"
   4012   else
   4013     CFLAGS=
   4014   fi
   4015 fi
   4016 ac_prog_cc_stdc=no
   4017 if test x$ac_prog_cc_stdc = xno
   4018 then :
   4019   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4020 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4021 if test ${ac_cv_prog_cc_c11+y}
   4022 then :
   4023   printf %s "(cached) " >&6
   4024 else case e in #(
   4025   e) ac_cv_prog_cc_c11=no
   4026 ac_save_CC=$CC
   4027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4028 /* end confdefs.h.  */
   4029 $ac_c_conftest_c11_program
   4030 _ACEOF
   4031 for ac_arg in '' -std=gnu11
   4032 do
   4033   CC="$ac_save_CC $ac_arg"
   4034   if ac_fn_c_try_compile "$LINENO"
   4035 then :
   4036   ac_cv_prog_cc_c11=$ac_arg
   4037 fi
   4038 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4039   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4040 done
   4041 rm -f conftest.$ac_ext
   4042 CC=$ac_save_CC ;;
   4043 esac
   4044 fi
   4045 
   4046 if test "x$ac_cv_prog_cc_c11" = xno
   4047 then :
   4048   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4049 printf "%s\n" "unsupported" >&6; }
   4050 else case e in #(
   4051   e) if test "x$ac_cv_prog_cc_c11" = x
   4052 then :
   4053   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4054 printf "%s\n" "none needed" >&6; }
   4055 else case e in #(
   4056   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4057 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4058      CC="$CC $ac_cv_prog_cc_c11" ;;
   4059 esac
   4060 fi
   4061   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4062   ac_prog_cc_stdc=c11 ;;
   4063 esac
   4064 fi
   4065 fi
   4066 if test x$ac_prog_cc_stdc = xno
   4067 then :
   4068   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4069 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4070 if test ${ac_cv_prog_cc_c99+y}
   4071 then :
   4072   printf %s "(cached) " >&6
   4073 else case e in #(
   4074   e) ac_cv_prog_cc_c99=no
   4075 ac_save_CC=$CC
   4076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4077 /* end confdefs.h.  */
   4078 $ac_c_conftest_c99_program
   4079 _ACEOF
   4080 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4081 do
   4082   CC="$ac_save_CC $ac_arg"
   4083   if ac_fn_c_try_compile "$LINENO"
   4084 then :
   4085   ac_cv_prog_cc_c99=$ac_arg
   4086 fi
   4087 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4088   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4089 done
   4090 rm -f conftest.$ac_ext
   4091 CC=$ac_save_CC ;;
   4092 esac
   4093 fi
   4094 
   4095 if test "x$ac_cv_prog_cc_c99" = xno
   4096 then :
   4097   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4098 printf "%s\n" "unsupported" >&6; }
   4099 else case e in #(
   4100   e) if test "x$ac_cv_prog_cc_c99" = x
   4101 then :
   4102   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4103 printf "%s\n" "none needed" >&6; }
   4104 else case e in #(
   4105   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4106 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4107      CC="$CC $ac_cv_prog_cc_c99" ;;
   4108 esac
   4109 fi
   4110   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4111   ac_prog_cc_stdc=c99 ;;
   4112 esac
   4113 fi
   4114 fi
   4115 if test x$ac_prog_cc_stdc = xno
   4116 then :
   4117   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4118 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4119 if test ${ac_cv_prog_cc_c89+y}
   4120 then :
   4121   printf %s "(cached) " >&6
   4122 else case e in #(
   4123   e) ac_cv_prog_cc_c89=no
   4124 ac_save_CC=$CC
   4125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4126 /* end confdefs.h.  */
   4127 $ac_c_conftest_c89_program
   4128 _ACEOF
   4129 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4130 do
   4131   CC="$ac_save_CC $ac_arg"
   4132   if ac_fn_c_try_compile "$LINENO"
   4133 then :
   4134   ac_cv_prog_cc_c89=$ac_arg
   4135 fi
   4136 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4137   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4138 done
   4139 rm -f conftest.$ac_ext
   4140 CC=$ac_save_CC ;;
   4141 esac
   4142 fi
   4143 
   4144 if test "x$ac_cv_prog_cc_c89" = xno
   4145 then :
   4146   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4147 printf "%s\n" "unsupported" >&6; }
   4148 else case e in #(
   4149   e) if test "x$ac_cv_prog_cc_c89" = x
   4150 then :
   4151   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4152 printf "%s\n" "none needed" >&6; }
   4153 else case e in #(
   4154   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4155 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4156      CC="$CC $ac_cv_prog_cc_c89" ;;
   4157 esac
   4158 fi
   4159   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4160   ac_prog_cc_stdc=c89 ;;
   4161 esac
   4162 fi
   4163 fi
   4164 
   4165 ac_ext=c
   4166 ac_cpp='$CPP $CPPFLAGS'
   4167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4170 
   4171 
   4172   ac_ext=c
   4173 ac_cpp='$CPP $CPPFLAGS'
   4174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4178 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4179 if test ${am_cv_prog_cc_c_o+y}
   4180 then :
   4181   printf %s "(cached) " >&6
   4182 else case e in #(
   4183   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4184 /* end confdefs.h.  */
   4185 
   4186 int
   4187 main (void)
   4188 {
   4189 
   4190   ;
   4191   return 0;
   4192 }
   4193 _ACEOF
   4194   # Make sure it works both with $CC and with simple cc.
   4195   # Following AC_PROG_CC_C_O, we do the test twice because some
   4196   # compilers refuse to overwrite an existing .o file with -o,
   4197   # though they will create one.
   4198   am_cv_prog_cc_c_o=yes
   4199   for am_i in 1 2; do
   4200     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4201    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4202    ac_status=$?
   4203    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4204    (exit $ac_status); } \
   4205          && test -f conftest2.$ac_objext; then
   4206       : OK
   4207     else
   4208       am_cv_prog_cc_c_o=no
   4209       break
   4210     fi
   4211   done
   4212   rm -f core conftest*
   4213   unset am_i ;;
   4214 esac
   4215 fi
   4216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4217 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4218 if test "$am_cv_prog_cc_c_o" != yes; then
   4219    # Losing compiler, so override with the script.
   4220    # FIXME: It is wrong to rewrite CC.
   4221    # But if we don't then we get into trouble of one sort or another.
   4222    # A longer-term fix would be to have automake use am__CC in this case,
   4223    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4224    CC="$am_aux_dir/compile $CC"
   4225 fi
   4226 ac_ext=c
   4227 ac_cpp='$CPP $CPPFLAGS'
   4228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4231 
   4232 
   4233 
   4234 ac_header= ac_cache=
   4235 for ac_item in $ac_header_c_list
   4236 do
   4237   if test $ac_cache; then
   4238     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4239     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4240       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4241     fi
   4242     ac_header= ac_cache=
   4243   elif test $ac_header; then
   4244     ac_cache=$ac_item
   4245   else
   4246     ac_header=$ac_item
   4247   fi
   4248 done
   4249 
   4250 
   4251 
   4252 
   4253 
   4254 
   4255 
   4256 
   4257 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4258 then :
   4259 
   4260 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4261 
   4262 fi
   4263 
   4264 
   4265 
   4266 
   4267 
   4268 
   4269   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   4270 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   4271 if test ${ac_cv_safe_to_define___extensions__+y}
   4272 then :
   4273   printf %s "(cached) " >&6
   4274 else case e in #(
   4275   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4276 /* end confdefs.h.  */
   4277 
   4278 #         define __EXTENSIONS__ 1
   4279           $ac_includes_default
   4280 int
   4281 main (void)
   4282 {
   4283 
   4284   ;
   4285   return 0;
   4286 }
   4287 _ACEOF
   4288 if ac_fn_c_try_compile "$LINENO"
   4289 then :
   4290   ac_cv_safe_to_define___extensions__=yes
   4291 else case e in #(
   4292   e) ac_cv_safe_to_define___extensions__=no ;;
   4293 esac
   4294 fi
   4295 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4296 esac
   4297 fi
   4298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   4299 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
   4300 
   4301   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
   4302 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
   4303 if test ${ac_cv_should_define__xopen_source+y}
   4304 then :
   4305   printf %s "(cached) " >&6
   4306 else case e in #(
   4307   e) ac_cv_should_define__xopen_source=no
   4308     if test $ac_cv_header_wchar_h = yes
   4309 then :
   4310   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4311 /* end confdefs.h.  */
   4312 
   4313           #include <wchar.h>
   4314           mbstate_t x;
   4315 int
   4316 main (void)
   4317 {
   4318 
   4319   ;
   4320   return 0;
   4321 }
   4322 _ACEOF
   4323 if ac_fn_c_try_compile "$LINENO"
   4324 then :
   4325 
   4326 else case e in #(
   4327   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4328 /* end confdefs.h.  */
   4329 
   4330             #define _XOPEN_SOURCE 500
   4331             #include <wchar.h>
   4332             mbstate_t x;
   4333 int
   4334 main (void)
   4335 {
   4336 
   4337   ;
   4338   return 0;
   4339 }
   4340 _ACEOF
   4341 if ac_fn_c_try_compile "$LINENO"
   4342 then :
   4343   ac_cv_should_define__xopen_source=yes
   4344 fi
   4345 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4346 esac
   4347 fi
   4348 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4349 fi ;;
   4350 esac
   4351 fi
   4352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
   4353 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
   4354 
   4355   printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
   4356 
   4357   printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
   4358 
   4359   printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
   4360 
   4361   printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
   4362 
   4363   printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
   4364 
   4365   printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
   4366 
   4367   printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   4368 
   4369   printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
   4370 
   4371   printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
   4372 
   4373   printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
   4374 
   4375   printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h
   4376 
   4377   printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
   4378 
   4379   printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
   4380 
   4381   printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
   4382 
   4383   printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
   4384 
   4385   printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
   4386 
   4387   if test $ac_cv_header_minix_config_h = yes
   4388 then :
   4389   MINIX=yes
   4390     printf "%s\n" "#define _MINIX 1" >>confdefs.h
   4391 
   4392     printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
   4393 
   4394     printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
   4395 
   4396 else case e in #(
   4397   e) MINIX= ;;
   4398 esac
   4399 fi
   4400   if test $ac_cv_safe_to_define___extensions__ = yes
   4401 then :
   4402   printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
   4403 
   4404 fi
   4405   if test $ac_cv_should_define__xopen_source = yes
   4406 then :
   4407   printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
   4408 
   4409 fi
   4410 
   4411 
   4412 # Initialize Automake
   4413 am__api_version='1.17'
   4414 
   4415 
   4416   # Find a good install program.  We prefer a C program (faster),
   4417 # so one script is as good as another.  But avoid the broken or
   4418 # incompatible versions:
   4419 # SysV /etc/install, /usr/sbin/install
   4420 # SunOS /usr/etc/install
   4421 # IRIX /sbin/install
   4422 # AIX /bin/install
   4423 # AmigaOS /C/install, which installs bootblocks on floppy discs
   4424 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   4425 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   4426 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   4427 # OS/2's system install, which has a completely different semantic
   4428 # ./install, which can be erroneously created by make from ./install.sh.
   4429 # Reject install programs that cannot install multiple files.
   4430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   4431 printf %s "checking for a BSD-compatible install... " >&6; }
   4432 if test -z "$INSTALL"; then
   4433 if test ${ac_cv_path_install+y}
   4434 then :
   4435   printf %s "(cached) " >&6
   4436 else case e in #(
   4437   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4438 for as_dir in $PATH
   4439 do
   4440   IFS=$as_save_IFS
   4441   case $as_dir in #(((
   4442     '') as_dir=./ ;;
   4443     */) ;;
   4444     *) as_dir=$as_dir/ ;;
   4445   esac
   4446     # Account for fact that we put trailing slashes in our PATH walk.
   4447 case $as_dir in #((
   4448   ./ | /[cC]/* | \
   4449   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   4450   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   4451   /usr/ucb/* ) ;;
   4452   *)
   4453     # OSF1 and SCO ODT 3.0 have their own names for install.
   4454     # Don't use installbsd from OSF since it installs stuff as root
   4455     # by default.
   4456     for ac_prog in ginstall scoinst install; do
   4457       for ac_exec_ext in '' $ac_executable_extensions; do
   4458 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   4459 	  if test $ac_prog = install &&
   4460 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4461 	    # AIX install.  It has an incompatible calling convention.
   4462 	    :
   4463 	  elif test $ac_prog = install &&
   4464 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4465 	    # program-specific install script used by HP pwplus--don't use.
   4466 	    :
   4467 	  else
   4468 	    rm -rf conftest.one conftest.two conftest.dir
   4469 	    echo one > conftest.one
   4470 	    echo two > conftest.two
   4471 	    mkdir conftest.dir
   4472 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   4473 	      test -s conftest.one && test -s conftest.two &&
   4474 	      test -s conftest.dir/conftest.one &&
   4475 	      test -s conftest.dir/conftest.two
   4476 	    then
   4477 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   4478 	      break 3
   4479 	    fi
   4480 	  fi
   4481 	fi
   4482       done
   4483     done
   4484     ;;
   4485 esac
   4486 
   4487   done
   4488 IFS=$as_save_IFS
   4489 
   4490 rm -rf conftest.one conftest.two conftest.dir
   4491  ;;
   4492 esac
   4493 fi
   4494   if test ${ac_cv_path_install+y}; then
   4495     INSTALL=$ac_cv_path_install
   4496   else
   4497     # As a last resort, use the slow shell script.  Don't cache a
   4498     # value for INSTALL within a source directory, because that will
   4499     # break other packages using the cache if that directory is
   4500     # removed, or if the value is a relative name.
   4501     INSTALL=$ac_install_sh
   4502   fi
   4503 fi
   4504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   4505 printf "%s\n" "$INSTALL" >&6; }
   4506 
   4507 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   4508 # It thinks the first close brace ends the variable substitution.
   4509 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   4510 
   4511 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   4512 
   4513 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   4514 
   4515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
   4516 printf %s "checking whether sleep supports fractional seconds... " >&6; }
   4517 if test ${am_cv_sleep_fractional_seconds+y}
   4518 then :
   4519   printf %s "(cached) " >&6
   4520 else case e in #(
   4521   e) if sleep 0.001 2>/dev/null
   4522 then :
   4523   am_cv_sleep_fractional_seconds=yes
   4524 else case e in #(
   4525   e) am_cv_sleep_fractional_seconds=no ;;
   4526 esac
   4527 fi
   4528  ;;
   4529 esac
   4530 fi
   4531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
   4532 printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
   4533 
   4534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
   4535 printf %s "checking filesystem timestamp resolution... " >&6; }
   4536 if test ${am_cv_filesystem_timestamp_resolution+y}
   4537 then :
   4538   printf %s "(cached) " >&6
   4539 else case e in #(
   4540   e) # Default to the worst case.
   4541 am_cv_filesystem_timestamp_resolution=2
   4542 
   4543 # Only try to go finer than 1 sec if sleep can do it.
   4544 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
   4545 # - 1 sec is not much of a win compared to 2 sec, and
   4546 # - it takes 2 seconds to perform the test whether 1 sec works.
   4547 #
   4548 # Instead, just use the default 2s on platforms that have 1s resolution,
   4549 # accept the extra 1s delay when using $sleep in the Automake tests, in
   4550 # exchange for not incurring the 2s delay for running the test for all
   4551 # packages.
   4552 #
   4553 am_try_resolutions=
   4554 if test "$am_cv_sleep_fractional_seconds" = yes; then
   4555   # Even a millisecond often causes a bunch of false positives,
   4556   # so just try a hundredth of a second. The time saved between .001 and
   4557   # .01 is not terribly consequential.
   4558   am_try_resolutions="0.01 0.1 $am_try_resolutions"
   4559 fi
   4560 
   4561 # In order to catch current-generation FAT out, we must *modify* files
   4562 # that already exist; the *creation* timestamp is finer.  Use names
   4563 # that make ls -t sort them differently when they have equal
   4564 # timestamps than when they have distinct timestamps, keeping
   4565 # in mind that ls -t prints the *newest* file first.
   4566 rm -f conftest.ts?
   4567 : > conftest.ts1
   4568 : > conftest.ts2
   4569 : > conftest.ts3
   4570 
   4571 # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
   4572 # clobber the current shell's arguments. (Outer-level square brackets
   4573 # are removed by m4; they're present so that m4 does not expand
   4574 # <dollar><star>; be careful, easy to get confused.)
   4575 if (
   4576      set X `ls -t conftest.ts[12]` &&
   4577      {
   4578        test "$*" != "X conftest.ts1 conftest.ts2" ||
   4579        test "$*" != "X conftest.ts2 conftest.ts1";
   4580      }
   4581 ); then :; else
   4582   # If neither matched, then we have a broken ls.  This can happen
   4583   # if, for instance, CONFIG_SHELL is bash and it inherits a
   4584   # broken ls alias from the environment.  This has actually
   4585   # happened.  Such a system could not be considered "sane".
   4586   printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
   4587   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4588 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4589 as_fn_error $? "ls -t produces unexpected output.
   4590 Make sure there is not a broken ls alias in your environment.
   4591 See 'config.log' for more details" "$LINENO" 5; }
   4592 fi
   4593 
   4594 for am_try_res in $am_try_resolutions; do
   4595   # Any one fine-grained sleep might happen to cross the boundary
   4596   # between two values of a coarser actual resolution, but if we do
   4597   # two fine-grained sleeps in a row, at least one of them will fall
   4598   # entirely within a coarse interval.
   4599   echo alpha > conftest.ts1
   4600   sleep $am_try_res
   4601   echo beta > conftest.ts2
   4602   sleep $am_try_res
   4603   echo gamma > conftest.ts3
   4604 
   4605   # We assume that 'ls -t' will make use of high-resolution
   4606   # timestamps if the operating system supports them at all.
   4607   if (set X `ls -t conftest.ts?` &&
   4608       test "$2" = conftest.ts3 &&
   4609       test "$3" = conftest.ts2 &&
   4610       test "$4" = conftest.ts1); then
   4611     #
   4612     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
   4613     # because we don't need to test make.
   4614     make_ok=true
   4615     if test $am_try_res != 1; then
   4616       # But if we've succeeded so far with a subsecond resolution, we
   4617       # have one more thing to check: make. It can happen that
   4618       # everything else supports the subsecond mtimes, but make doesn't;
   4619       # notably on macOS, which ships make 3.81 from 2006 (the last one
   4620       # released under GPLv2). https://bugs.gnu.org/68808
   4621       #
   4622       # We test $MAKE if it is defined in the environment, else "make".
   4623       # It might get overridden later, but our hope is that in practice
   4624       # it does not matter: it is the system "make" which is (by far)
   4625       # the most likely to be broken, whereas if the user overrides it,
   4626       # probably they did so with a better, or at least not worse, make.
   4627       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
   4628       #
   4629       # Create a Makefile (real tab character here):
   4630       rm -f conftest.mk
   4631       echo 'conftest.ts1: conftest.ts2' >conftest.mk
   4632       echo '	touch conftest.ts2' >>conftest.mk
   4633       #
   4634       # Now, running
   4635       #   touch conftest.ts1; touch conftest.ts2; make
   4636       # should touch ts1 because ts2 is newer. This could happen by luck,
   4637       # but most often, it will fail if make's support is insufficient. So
   4638       # test for several consecutive successes.
   4639       #
   4640       # (We reuse conftest.ts[12] because we still want to modify existing
   4641       # files, not create new ones, per above.)
   4642       n=0
   4643       make=${MAKE-make}
   4644       until test $n -eq 3; do
   4645         echo one > conftest.ts1
   4646         sleep $am_try_res
   4647         echo two > conftest.ts2 # ts2 should now be newer than ts1
   4648         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
   4649           make_ok=false
   4650           break # out of $n loop
   4651         fi
   4652         n=`expr $n + 1`
   4653       done
   4654     fi
   4655     #
   4656     if $make_ok; then
   4657       # Everything we know to check worked out, so call this resolution good.
   4658       am_cv_filesystem_timestamp_resolution=$am_try_res
   4659       break # out of $am_try_res loop
   4660     fi
   4661     # Otherwise, we'll go on to check the next resolution.
   4662   fi
   4663 done
   4664 rm -f conftest.ts?
   4665 # (end _am_filesystem_timestamp_resolution)
   4666  ;;
   4667 esac
   4668 fi
   4669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
   4670 printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
   4671 
   4672 # This check should not be cached, as it may vary across builds of
   4673 # different projects.
   4674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   4675 printf %s "checking whether build environment is sane... " >&6; }
   4676 # Reject unsafe characters in $srcdir or the absolute working directory
   4677 # name.  Accept space and tab only in the latter.
   4678 am_lf='
   4679 '
   4680 case `pwd` in
   4681   *[\\\"\#\$\&\'\`$am_lf]*)
   4682     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   4683 esac
   4684 case $srcdir in
   4685   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   4686     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   4687 esac
   4688 
   4689 # Do 'set' in a subshell so we don't clobber the current shell's
   4690 # arguments.  Must try -L first in case configure is actually a
   4691 # symlink; some systems play weird games with the mod time of symlinks
   4692 # (eg FreeBSD returns the mod time of the symlink's containing
   4693 # directory).
   4694 am_build_env_is_sane=no
   4695 am_has_slept=no
   4696 rm -f conftest.file
   4697 for am_try in 1 2; do
   4698   echo "timestamp, slept: $am_has_slept" > conftest.file
   4699   if (
   4700     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   4701     if test "$*" = "X"; then
   4702       # -L didn't work.
   4703       set X `ls -t "$srcdir/configure" conftest.file`
   4704     fi
   4705     test "$2" = conftest.file
   4706   ); then
   4707     am_build_env_is_sane=yes
   4708     break
   4709   fi
   4710   # Just in case.
   4711   sleep "$am_cv_filesystem_timestamp_resolution"
   4712   am_has_slept=yes
   4713 done
   4714 
   4715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
   4716 printf "%s\n" "$am_build_env_is_sane" >&6; }
   4717 if test "$am_build_env_is_sane" = no; then
   4718   as_fn_error $? "newly created file is older than distributed files!
   4719 Check your system clock" "$LINENO" 5
   4720 fi
   4721 
   4722 # If we didn't sleep, we still need to ensure time stamps of config.status and
   4723 # generated files are strictly newer.
   4724 am_sleep_pid=
   4725 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
   4726 then :
   4727 
   4728 else case e in #(
   4729   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
   4730   am_sleep_pid=$!
   4731  ;;
   4732 esac
   4733 fi
   4734 
   4735 rm -f conftest.file
   4736 
   4737 test "$program_prefix" != NONE &&
   4738   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   4739 # Use a double $ so make ignores it.
   4740 test "$program_suffix" != NONE &&
   4741   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   4742 # Double any \ or $.
   4743 # By default was 's,x,x', remove it if useless.
   4744 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   4745 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   4746 
   4747 
   4748   if test x"${MISSING+set}" != xset; then
   4749   MISSING="\${SHELL} '$am_aux_dir/missing'"
   4750 fi
   4751 # Use eval to expand $SHELL
   4752 if eval "$MISSING --is-lightweight"; then
   4753   am_missing_run="$MISSING "
   4754 else
   4755   am_missing_run=
   4756   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   4757 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   4758 fi
   4759 
   4760 if test x"${install_sh+set}" != xset; then
   4761   case $am_aux_dir in
   4762   *\ * | *\	*)
   4763     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   4764   *)
   4765     install_sh="\${SHELL} $am_aux_dir/install-sh"
   4766   esac
   4767 fi
   4768 
   4769 # Installed binaries are usually stripped using 'strip' when the user
   4770 # run "make install-strip".  However 'strip' might not be the right
   4771 # tool to use in cross-compilation environments, therefore Automake
   4772 # will honor the 'STRIP' environment variable to overrule this program.
   4773 if test "$cross_compiling" != no; then
   4774   if test -n "$ac_tool_prefix"; then
   4775   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   4776 set dummy ${ac_tool_prefix}strip; ac_word=$2
   4777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4778 printf %s "checking for $ac_word... " >&6; }
   4779 if test ${ac_cv_prog_STRIP+y}
   4780 then :
   4781   printf %s "(cached) " >&6
   4782 else case e in #(
   4783   e) if test -n "$STRIP"; then
   4784   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   4785 else
   4786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4787 for as_dir in $PATH
   4788 do
   4789   IFS=$as_save_IFS
   4790   case $as_dir in #(((
   4791     '') as_dir=./ ;;
   4792     */) ;;
   4793     *) as_dir=$as_dir/ ;;
   4794   esac
   4795     for ac_exec_ext in '' $ac_executable_extensions; do
   4796   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4797     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   4798     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4799     break 2
   4800   fi
   4801 done
   4802   done
   4803 IFS=$as_save_IFS
   4804 
   4805 fi ;;
   4806 esac
   4807 fi
   4808 STRIP=$ac_cv_prog_STRIP
   4809 if test -n "$STRIP"; then
   4810   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   4811 printf "%s\n" "$STRIP" >&6; }
   4812 else
   4813   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4814 printf "%s\n" "no" >&6; }
   4815 fi
   4816 
   4817 
   4818 fi
   4819 if test -z "$ac_cv_prog_STRIP"; then
   4820   ac_ct_STRIP=$STRIP
   4821   # Extract the first word of "strip", so it can be a program name with args.
   4822 set dummy strip; ac_word=$2
   4823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4824 printf %s "checking for $ac_word... " >&6; }
   4825 if test ${ac_cv_prog_ac_ct_STRIP+y}
   4826 then :
   4827   printf %s "(cached) " >&6
   4828 else case e in #(
   4829   e) if test -n "$ac_ct_STRIP"; then
   4830   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   4831 else
   4832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4833 for as_dir in $PATH
   4834 do
   4835   IFS=$as_save_IFS
   4836   case $as_dir in #(((
   4837     '') as_dir=./ ;;
   4838     */) ;;
   4839     *) as_dir=$as_dir/ ;;
   4840   esac
   4841     for ac_exec_ext in '' $ac_executable_extensions; do
   4842   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4843     ac_cv_prog_ac_ct_STRIP="strip"
   4844     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4845     break 2
   4846   fi
   4847 done
   4848   done
   4849 IFS=$as_save_IFS
   4850 
   4851 fi ;;
   4852 esac
   4853 fi
   4854 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   4855 if test -n "$ac_ct_STRIP"; then
   4856   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   4857 printf "%s\n" "$ac_ct_STRIP" >&6; }
   4858 else
   4859   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4860 printf "%s\n" "no" >&6; }
   4861 fi
   4862 
   4863   if test "x$ac_ct_STRIP" = x; then
   4864     STRIP=":"
   4865   else
   4866     case $cross_compiling:$ac_tool_warned in
   4867 yes:)
   4868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4869 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4870 ac_tool_warned=yes ;;
   4871 esac
   4872     STRIP=$ac_ct_STRIP
   4873   fi
   4874 else
   4875   STRIP="$ac_cv_prog_STRIP"
   4876 fi
   4877 
   4878 fi
   4879 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   4880 
   4881 
   4882   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   4883 printf %s "checking for a race-free mkdir -p... " >&6; }
   4884 if test -z "$MKDIR_P"; then
   4885   if test ${ac_cv_path_mkdir+y}
   4886 then :
   4887   printf %s "(cached) " >&6
   4888 else case e in #(
   4889   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4890 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   4891 do
   4892   IFS=$as_save_IFS
   4893   case $as_dir in #(((
   4894     '') as_dir=./ ;;
   4895     */) ;;
   4896     *) as_dir=$as_dir/ ;;
   4897   esac
   4898     for ac_prog in mkdir gmkdir; do
   4899 	 for ac_exec_ext in '' $ac_executable_extensions; do
   4900 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   4901 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   4902 	     'mkdir ('*'coreutils) '* | \
   4903 	     *'BusyBox '* | \
   4904 	     'mkdir (fileutils) '4.1*)
   4905 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   4906 	       break 3;;
   4907 	   esac
   4908 	 done
   4909        done
   4910   done
   4911 IFS=$as_save_IFS
   4912  ;;
   4913 esac
   4914 fi
   4915 
   4916   test -d ./--version && rmdir ./--version
   4917   if test ${ac_cv_path_mkdir+y}; then
   4918     MKDIR_P="$ac_cv_path_mkdir -p"
   4919   else
   4920     # As a last resort, use plain mkdir -p,
   4921     # in the hope it doesn't have the bugs of ancient mkdir.
   4922     MKDIR_P='mkdir -p'
   4923   fi
   4924 fi
   4925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   4926 printf "%s\n" "$MKDIR_P" >&6; }
   4927 
   4928 for ac_prog in gawk mawk nawk awk
   4929 do
   4930   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4931 set dummy $ac_prog; ac_word=$2
   4932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4933 printf %s "checking for $ac_word... " >&6; }
   4934 if test ${ac_cv_prog_AWK+y}
   4935 then :
   4936   printf %s "(cached) " >&6
   4937 else case e in #(
   4938   e) if test -n "$AWK"; then
   4939   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   4940 else
   4941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4942 for as_dir in $PATH
   4943 do
   4944   IFS=$as_save_IFS
   4945   case $as_dir in #(((
   4946     '') as_dir=./ ;;
   4947     */) ;;
   4948     *) as_dir=$as_dir/ ;;
   4949   esac
   4950     for ac_exec_ext in '' $ac_executable_extensions; do
   4951   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4952     ac_cv_prog_AWK="$ac_prog"
   4953     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4954     break 2
   4955   fi
   4956 done
   4957   done
   4958 IFS=$as_save_IFS
   4959 
   4960 fi ;;
   4961 esac
   4962 fi
   4963 AWK=$ac_cv_prog_AWK
   4964 if test -n "$AWK"; then
   4965   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   4966 printf "%s\n" "$AWK" >&6; }
   4967 else
   4968   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4969 printf "%s\n" "no" >&6; }
   4970 fi
   4971 
   4972 
   4973   test -n "$AWK" && break
   4974 done
   4975 
   4976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4977 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4978 set x ${MAKE-make}
   4979 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4980 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   4981 then :
   4982   printf %s "(cached) " >&6
   4983 else case e in #(
   4984   e) cat >conftest.make <<\_ACEOF
   4985 SHELL = /bin/sh
   4986 all:
   4987 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4988 _ACEOF
   4989 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4990 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4991   *@@@%%%=?*=@@@%%%*)
   4992     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4993   *)
   4994     eval ac_cv_prog_make_${ac_make}_set=no;;
   4995 esac
   4996 rm -f conftest.make ;;
   4997 esac
   4998 fi
   4999 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   5000   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5001 printf "%s\n" "yes" >&6; }
   5002   SET_MAKE=
   5003 else
   5004   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5005 printf "%s\n" "no" >&6; }
   5006   SET_MAKE="MAKE=${MAKE-make}"
   5007 fi
   5008 
   5009 rm -rf .tst 2>/dev/null
   5010 mkdir .tst 2>/dev/null
   5011 if test -d .tst; then
   5012   am__leading_dot=.
   5013 else
   5014   am__leading_dot=_
   5015 fi
   5016 rmdir .tst 2>/dev/null
   5017 
   5018 DEPDIR="${am__leading_dot}deps"
   5019 
   5020 ac_config_commands="$ac_config_commands depfiles"
   5021 
   5022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   5023 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   5024 cat > confinc.mk << 'END'
   5025 am__doit:
   5026 	@echo this is the am__doit target >confinc.out
   5027 .PHONY: am__doit
   5028 END
   5029 am__include="#"
   5030 am__quote=
   5031 # BSD make does it like this.
   5032 echo '.include "confinc.mk" # ignored' > confmf.BSD
   5033 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   5034 echo 'include confinc.mk # ignored' > confmf.GNU
   5035 _am_result=no
   5036 for s in GNU BSD; do
   5037   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   5038    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   5039    ac_status=$?
   5040    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5041    (exit $ac_status); }
   5042   case $?:`cat confinc.out 2>/dev/null` in #(
   5043   '0:this is the am__doit target') :
   5044     case $s in #(
   5045   BSD) :
   5046     am__include='.include' am__quote='"' ;; #(
   5047   *) :
   5048     am__include='include' am__quote='' ;;
   5049 esac ;; #(
   5050   *) :
   5051      ;;
   5052 esac
   5053   if test "$am__include" != "#"; then
   5054     _am_result="yes ($s style)"
   5055     break
   5056   fi
   5057 done
   5058 rm -f confinc.* confmf.*
   5059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   5060 printf "%s\n" "${_am_result}" >&6; }
   5061 
   5062 # Check whether --enable-dependency-tracking was given.
   5063 if test ${enable_dependency_tracking+y}
   5064 then :
   5065   enableval=$enable_dependency_tracking;
   5066 fi
   5067 
   5068 if test "x$enable_dependency_tracking" != xno; then
   5069   am_depcomp="$ac_aux_dir/depcomp"
   5070   AMDEPBACKSLASH='\'
   5071   am__nodep='_no'
   5072 fi
   5073  if test "x$enable_dependency_tracking" != xno; then
   5074   AMDEP_TRUE=
   5075   AMDEP_FALSE='#'
   5076 else
   5077   AMDEP_TRUE='#'
   5078   AMDEP_FALSE=
   5079 fi
   5080 
   5081 
   5082 AM_DEFAULT_VERBOSITY=1
   5083 # Check whether --enable-silent-rules was given.
   5084 if test ${enable_silent_rules+y}
   5085 then :
   5086   enableval=$enable_silent_rules;
   5087 fi
   5088 
   5089 am_make=${MAKE-make}
   5090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   5091 printf %s "checking whether $am_make supports nested variables... " >&6; }
   5092 if test ${am_cv_make_support_nested_variables+y}
   5093 then :
   5094   printf %s "(cached) " >&6
   5095 else case e in #(
   5096   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   5097 BAR0=false
   5098 BAR1=true
   5099 V=1
   5100 am__doit:
   5101 	@$(TRUE)
   5102 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   5103   am_cv_make_support_nested_variables=yes
   5104 else
   5105   am_cv_make_support_nested_variables=no
   5106 fi ;;
   5107 esac
   5108 fi
   5109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   5110 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   5111 AM_BACKSLASH='\'
   5112 
   5113 am__rm_f_notfound=
   5114 if (rm -f && rm -fr && rm -rf) 2>/dev/null
   5115 then :
   5116 
   5117 else case e in #(
   5118   e) am__rm_f_notfound='""' ;;
   5119 esac
   5120 fi
   5121 
   5122 
   5123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
   5124 printf %s "checking xargs -n works... " >&6; }
   5125 if test ${am_cv_xargs_n_works+y}
   5126 then :
   5127   printf %s "(cached) " >&6
   5128 else case e in #(
   5129   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
   5130 3"
   5131 then :
   5132   am_cv_xargs_n_works=yes
   5133 else case e in #(
   5134   e) am_cv_xargs_n_works=no ;;
   5135 esac
   5136 fi ;;
   5137 esac
   5138 fi
   5139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
   5140 printf "%s\n" "$am_cv_xargs_n_works" >&6; }
   5141 if test "$am_cv_xargs_n_works" = yes
   5142 then :
   5143   am__xargs_n='xargs -n'
   5144 else case e in #(
   5145   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
   5146  ;;
   5147 esac
   5148 fi
   5149 
   5150 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   5151   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   5152   # is not polluted with repeated "-I."
   5153   am__isrc=' -I$(srcdir)'
   5154   # test to see if srcdir already configured
   5155   if test -f $srcdir/config.status; then
   5156     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   5157   fi
   5158 fi
   5159 
   5160 # test whether we have cygpath
   5161 if test -z "$CYGPATH_W"; then
   5162   if (cygpath --version) >/dev/null 2>/dev/null; then
   5163     CYGPATH_W='cygpath -w'
   5164   else
   5165     CYGPATH_W=echo
   5166   fi
   5167 fi
   5168 
   5169 
   5170 # Define the identity of the package.
   5171  PACKAGE='libX11'
   5172  VERSION='1.8.12'
   5173 
   5174 
   5175 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   5176 
   5177 
   5178 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   5179 
   5180 # Some tools Automake needs.
   5181 
   5182 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   5183 
   5184 
   5185 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   5186 
   5187 
   5188 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   5189 
   5190 
   5191 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   5192 
   5193 
   5194 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   5195 
   5196 # For better backward compatibility.  To be removed once Automake 1.9.x
   5197 # dies out for good.  For more background, see:
   5198 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   5199 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   5200 mkdir_p='$(MKDIR_P)'
   5201 
   5202 # We need awk for the "check" target (and possibly the TAP driver).  The
   5203 # system "awk" is bad on some platforms.
   5204 # Always define AMTAR for backward compatibility.  Yes, it's still used
   5205 # in the wild :-(  We should find a proper way to deprecate it ...
   5206 AMTAR='$${TAR-tar}'
   5207 
   5208 
   5209 # We'll loop over all known methods to create a tar archive until one works.
   5210 _am_tools='gnutar  pax cpio none'
   5211 
   5212 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   5213 
   5214 
   5215 
   5216 
   5217 
   5218 depcc="$CC"   am_compiler_list=
   5219 
   5220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   5221 printf %s "checking dependency style of $depcc... " >&6; }
   5222 if test ${am_cv_CC_dependencies_compiler_type+y}
   5223 then :
   5224   printf %s "(cached) " >&6
   5225 else case e in #(
   5226   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5227   # We make a subdir and do the tests there.  Otherwise we can end up
   5228   # making bogus files that we don't know about and never remove.  For
   5229   # instance it was reported that on HP-UX the gcc test will end up
   5230   # making a dummy file named 'D' -- because '-MD' means "put the output
   5231   # in D".
   5232   rm -rf conftest.dir
   5233   mkdir conftest.dir
   5234   # Copy depcomp to subdir because otherwise we won't find it if we're
   5235   # using a relative directory.
   5236   cp "$am_depcomp" conftest.dir
   5237   cd conftest.dir
   5238   # We will build objects and dependencies in a subdirectory because
   5239   # it helps to detect inapplicable dependency modes.  For instance
   5240   # both Tru64's cc and ICC support -MD to output dependencies as a
   5241   # side effect of compilation, but ICC will put the dependencies in
   5242   # the current directory while Tru64 will put them in the object
   5243   # directory.
   5244   mkdir sub
   5245 
   5246   am_cv_CC_dependencies_compiler_type=none
   5247   if test "$am_compiler_list" = ""; then
   5248      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5249   fi
   5250   am__universal=false
   5251   case " $depcc " in #(
   5252      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5253      esac
   5254 
   5255   for depmode in $am_compiler_list; do
   5256     # Setup a source with many dependencies, because some compilers
   5257     # like to wrap large dependency lists on column 80 (with \), and
   5258     # we should not choose a depcomp mode which is confused by this.
   5259     #
   5260     # We need to recreate these files for each test, as the compiler may
   5261     # overwrite some of them when testing with obscure command lines.
   5262     # This happens at least with the AIX C compiler.
   5263     : > sub/conftest.c
   5264     for i in 1 2 3 4 5 6; do
   5265       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5266       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   5267       # Solaris 10 /bin/sh.
   5268       echo '/* dummy */' > sub/conftst$i.h
   5269     done
   5270     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5271 
   5272     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   5273     # mode.  It turns out that the SunPro C++ compiler does not properly
   5274     # handle '-M -o', and we need to detect this.  Also, some Intel
   5275     # versions had trouble with output in subdirs.
   5276     am__obj=sub/conftest.${OBJEXT-o}
   5277     am__minus_obj="-o $am__obj"
   5278     case $depmode in
   5279     gcc)
   5280       # This depmode causes a compiler race in universal mode.
   5281       test "$am__universal" = false || continue
   5282       ;;
   5283     nosideeffect)
   5284       # After this tag, mechanisms are not by side-effect, so they'll
   5285       # only be used when explicitly requested.
   5286       if test "x$enable_dependency_tracking" = xyes; then
   5287 	continue
   5288       else
   5289 	break
   5290       fi
   5291       ;;
   5292     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   5293       # This compiler won't grok '-c -o', but also, the minuso test has
   5294       # not run yet.  These depmodes are late enough in the game, and
   5295       # so weak that their functioning should not be impacted.
   5296       am__obj=conftest.${OBJEXT-o}
   5297       am__minus_obj=
   5298       ;;
   5299     none) break ;;
   5300     esac
   5301     if depmode=$depmode \
   5302        source=sub/conftest.c object=$am__obj \
   5303        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5304        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5305          >/dev/null 2>conftest.err &&
   5306        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5307        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5308        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5309        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5310       # icc doesn't choke on unknown options, it will just issue warnings
   5311       # or remarks (even with -Werror).  So we grep stderr for any message
   5312       # that says an option was ignored or not supported.
   5313       # When given -MP, icc 7.0 and 7.1 complain thus:
   5314       #   icc: Command line warning: ignoring option '-M'; no argument required
   5315       # The diagnosis changed in icc 8.0:
   5316       #   icc: Command line remark: option '-MP' not supported
   5317       if (grep 'ignoring option' conftest.err ||
   5318           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5319         am_cv_CC_dependencies_compiler_type=$depmode
   5320         break
   5321       fi
   5322     fi
   5323   done
   5324 
   5325   cd ..
   5326   rm -rf conftest.dir
   5327 else
   5328   am_cv_CC_dependencies_compiler_type=none
   5329 fi
   5330  ;;
   5331 esac
   5332 fi
   5333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   5334 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   5335 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   5336 
   5337  if
   5338   test "x$enable_dependency_tracking" != xno \
   5339   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   5340   am__fastdepCC_TRUE=
   5341   am__fastdepCC_FALSE='#'
   5342 else
   5343   am__fastdepCC_TRUE='#'
   5344   am__fastdepCC_FALSE=
   5345 fi
   5346 
   5347 
   5348 # Variables for tags utilities; see am/tags.am
   5349 if test -z "$CTAGS"; then
   5350   CTAGS=ctags
   5351 fi
   5352 
   5353 if test -z "$ETAGS"; then
   5354   ETAGS=etags
   5355 fi
   5356 
   5357 if test -z "$CSCOPE"; then
   5358   CSCOPE=cscope
   5359 fi
   5360 
   5361 
   5362 
   5363 
   5364 
   5365 
   5366 
   5367 
   5368 # Initialize libtool
   5369 case `pwd` in
   5370   *\ * | *\	*)
   5371     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5372 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5373 esac
   5374 
   5375 
   5376 
   5377 macro_version='2.5.4'
   5378 macro_revision='2.5.4'
   5379 
   5380 
   5381 
   5382 
   5383 
   5384 
   5385 
   5386 
   5387 
   5388 
   5389 
   5390 
   5391 
   5392 
   5393 ltmain=$ac_aux_dir/ltmain.sh
   5394 
   5395 # Backslashify metacharacters that are still active within
   5396 # double-quoted strings.
   5397 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   5398 
   5399 # Same as above, but do not quote variable references.
   5400 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   5401 
   5402 # Sed substitution to delay expansion of an escaped shell variable in a
   5403 # double_quote_subst'ed string.
   5404 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   5405 
   5406 # Sed substitution to delay expansion of an escaped single quote.
   5407 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   5408 
   5409 # Sed substitution to avoid accidental globbing in evaled expressions
   5410 no_glob_subst='s/\*/\\\*/g'
   5411 
   5412 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   5413 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   5414 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   5415 
   5416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   5417 printf %s "checking how to print strings... " >&6; }
   5418 # Test print first, because it will be a builtin if present.
   5419 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   5420    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   5421   ECHO='print -r --'
   5422 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   5423   ECHO='printf %s\n'
   5424 else
   5425   # Use this function as a fallback that always works.
   5426   func_fallback_echo ()
   5427   {
   5428     eval 'cat <<_LTECHO_EOF
   5429 $1
   5430 _LTECHO_EOF'
   5431   }
   5432   ECHO='func_fallback_echo'
   5433 fi
   5434 
   5435 # func_echo_all arg...
   5436 # Invoke $ECHO with all args, space-separated.
   5437 func_echo_all ()
   5438 {
   5439     $ECHO ""
   5440 }
   5441 
   5442 case $ECHO in
   5443   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   5444 printf "%s\n" "printf" >&6; } ;;
   5445   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   5446 printf "%s\n" "print -r" >&6; } ;;
   5447   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   5448 printf "%s\n" "cat" >&6; } ;;
   5449 esac
   5450 
   5451 
   5452 
   5453 
   5454 
   5455 
   5456 
   5457 
   5458 
   5459 
   5460 
   5461 
   5462 
   5463 
   5464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5465 printf %s "checking for a sed that does not truncate output... " >&6; }
   5466 if test ${ac_cv_path_SED+y}
   5467 then :
   5468   printf %s "(cached) " >&6
   5469 else case e in #(
   5470   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5471      for ac_i in 1 2 3 4 5 6 7; do
   5472        ac_script="$ac_script$as_nl$ac_script"
   5473      done
   5474      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5475      { ac_script=; unset ac_script;}
   5476      if test -z "$SED"; then
   5477   ac_path_SED_found=false
   5478   # Loop through the user's path and test for each of PROGNAME-LIST
   5479   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5480 for as_dir in $PATH
   5481 do
   5482   IFS=$as_save_IFS
   5483   case $as_dir in #(((
   5484     '') as_dir=./ ;;
   5485     */) ;;
   5486     *) as_dir=$as_dir/ ;;
   5487   esac
   5488     for ac_prog in sed gsed
   5489    do
   5490     for ac_exec_ext in '' $ac_executable_extensions; do
   5491       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5492       as_fn_executable_p "$ac_path_SED" || continue
   5493 # Check for GNU ac_path_SED and select it if it is found.
   5494   # Check for GNU $ac_path_SED
   5495 case `"$ac_path_SED" --version 2>&1` in #(
   5496 *GNU*)
   5497   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5498 #(
   5499 *)
   5500   ac_count=0
   5501   printf %s 0123456789 >"conftest.in"
   5502   while :
   5503   do
   5504     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5505     mv "conftest.tmp" "conftest.in"
   5506     cp "conftest.in" "conftest.nl"
   5507     printf "%s\n" '' >> "conftest.nl"
   5508     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5509     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5510     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5511     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5512       # Best one so far, save it but keep looking for a better one
   5513       ac_cv_path_SED="$ac_path_SED"
   5514       ac_path_SED_max=$ac_count
   5515     fi
   5516     # 10*(2^10) chars as input seems more than enough
   5517     test $ac_count -gt 10 && break
   5518   done
   5519   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5520 esac
   5521 
   5522       $ac_path_SED_found && break 3
   5523     done
   5524   done
   5525   done
   5526 IFS=$as_save_IFS
   5527   if test -z "$ac_cv_path_SED"; then
   5528     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5529   fi
   5530 else
   5531   ac_cv_path_SED=$SED
   5532 fi
   5533  ;;
   5534 esac
   5535 fi
   5536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5537 printf "%s\n" "$ac_cv_path_SED" >&6; }
   5538  SED="$ac_cv_path_SED"
   5539   rm -f conftest.sed
   5540 
   5541 test -z "$SED" && SED=sed
   5542 Xsed="$SED -e 1s/^X//"
   5543 
   5544 
   5545 
   5546 
   5547 
   5548 
   5549 
   5550 
   5551 
   5552 
   5553 
   5554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   5555 printf %s "checking for grep that handles long lines and -e... " >&6; }
   5556 if test ${ac_cv_path_GREP+y}
   5557 then :
   5558   printf %s "(cached) " >&6
   5559 else case e in #(
   5560   e) if test -z "$GREP"; then
   5561   ac_path_GREP_found=false
   5562   # Loop through the user's path and test for each of PROGNAME-LIST
   5563   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5564 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5565 do
   5566   IFS=$as_save_IFS
   5567   case $as_dir in #(((
   5568     '') as_dir=./ ;;
   5569     */) ;;
   5570     *) as_dir=$as_dir/ ;;
   5571   esac
   5572     for ac_prog in grep ggrep
   5573    do
   5574     for ac_exec_ext in '' $ac_executable_extensions; do
   5575       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   5576       as_fn_executable_p "$ac_path_GREP" || continue
   5577 # Check for GNU ac_path_GREP and select it if it is found.
   5578   # Check for GNU $ac_path_GREP
   5579 case `"$ac_path_GREP" --version 2>&1` in #(
   5580 *GNU*)
   5581   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   5582 #(
   5583 *)
   5584   ac_count=0
   5585   printf %s 0123456789 >"conftest.in"
   5586   while :
   5587   do
   5588     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5589     mv "conftest.tmp" "conftest.in"
   5590     cp "conftest.in" "conftest.nl"
   5591     printf "%s\n" 'GREP' >> "conftest.nl"
   5592     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5593     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5594     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5595     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   5596       # Best one so far, save it but keep looking for a better one
   5597       ac_cv_path_GREP="$ac_path_GREP"
   5598       ac_path_GREP_max=$ac_count
   5599     fi
   5600     # 10*(2^10) chars as input seems more than enough
   5601     test $ac_count -gt 10 && break
   5602   done
   5603   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5604 esac
   5605 
   5606       $ac_path_GREP_found && break 3
   5607     done
   5608   done
   5609   done
   5610 IFS=$as_save_IFS
   5611   if test -z "$ac_cv_path_GREP"; then
   5612     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5613   fi
   5614 else
   5615   ac_cv_path_GREP=$GREP
   5616 fi
   5617  ;;
   5618 esac
   5619 fi
   5620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   5621 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   5622  GREP="$ac_cv_path_GREP"
   5623 
   5624 
   5625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   5626 printf %s "checking for egrep... " >&6; }
   5627 if test ${ac_cv_path_EGREP+y}
   5628 then :
   5629   printf %s "(cached) " >&6
   5630 else case e in #(
   5631   e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   5632    then ac_cv_path_EGREP="$GREP -E"
   5633    else
   5634      if test -z "$EGREP"; then
   5635   ac_path_EGREP_found=false
   5636   # Loop through the user's path and test for each of PROGNAME-LIST
   5637   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5638 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5639 do
   5640   IFS=$as_save_IFS
   5641   case $as_dir in #(((
   5642     '') as_dir=./ ;;
   5643     */) ;;
   5644     *) as_dir=$as_dir/ ;;
   5645   esac
   5646     for ac_prog in egrep
   5647    do
   5648     for ac_exec_ext in '' $ac_executable_extensions; do
   5649       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   5650       as_fn_executable_p "$ac_path_EGREP" || continue
   5651 # Check for GNU ac_path_EGREP and select it if it is found.
   5652   # Check for GNU $ac_path_EGREP
   5653 case `"$ac_path_EGREP" --version 2>&1` in #(
   5654 *GNU*)
   5655   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   5656 #(
   5657 *)
   5658   ac_count=0
   5659   printf %s 0123456789 >"conftest.in"
   5660   while :
   5661   do
   5662     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5663     mv "conftest.tmp" "conftest.in"
   5664     cp "conftest.in" "conftest.nl"
   5665     printf "%s\n" 'EGREP' >> "conftest.nl"
   5666     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5667     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5668     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5669     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   5670       # Best one so far, save it but keep looking for a better one
   5671       ac_cv_path_EGREP="$ac_path_EGREP"
   5672       ac_path_EGREP_max=$ac_count
   5673     fi
   5674     # 10*(2^10) chars as input seems more than enough
   5675     test $ac_count -gt 10 && break
   5676   done
   5677   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5678 esac
   5679 
   5680       $ac_path_EGREP_found && break 3
   5681     done
   5682   done
   5683   done
   5684 IFS=$as_save_IFS
   5685   if test -z "$ac_cv_path_EGREP"; then
   5686     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5687   fi
   5688 else
   5689   ac_cv_path_EGREP=$EGREP
   5690 fi
   5691 
   5692    fi ;;
   5693 esac
   5694 fi
   5695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   5696 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   5697  EGREP="$ac_cv_path_EGREP"
   5698 
   5699          EGREP_TRADITIONAL=$EGREP
   5700  ac_cv_path_EGREP_TRADITIONAL=$EGREP
   5701 
   5702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5703 printf %s "checking for fgrep... " >&6; }
   5704 if test ${ac_cv_path_FGREP+y}
   5705 then :
   5706   printf %s "(cached) " >&6
   5707 else case e in #(
   5708   e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5709    then ac_cv_path_FGREP="$GREP -F"
   5710    else
   5711      if test -z "$FGREP"; then
   5712   ac_path_FGREP_found=false
   5713   # Loop through the user's path and test for each of PROGNAME-LIST
   5714   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5715 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5716 do
   5717   IFS=$as_save_IFS
   5718   case $as_dir in #(((
   5719     '') as_dir=./ ;;
   5720     */) ;;
   5721     *) as_dir=$as_dir/ ;;
   5722   esac
   5723     for ac_prog in fgrep
   5724    do
   5725     for ac_exec_ext in '' $ac_executable_extensions; do
   5726       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   5727       as_fn_executable_p "$ac_path_FGREP" || continue
   5728 # Check for GNU ac_path_FGREP and select it if it is found.
   5729   # Check for GNU $ac_path_FGREP
   5730 case `"$ac_path_FGREP" --version 2>&1` in #(
   5731 *GNU*)
   5732   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5733 #(
   5734 *)
   5735   ac_count=0
   5736   printf %s 0123456789 >"conftest.in"
   5737   while :
   5738   do
   5739     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5740     mv "conftest.tmp" "conftest.in"
   5741     cp "conftest.in" "conftest.nl"
   5742     printf "%s\n" 'FGREP' >> "conftest.nl"
   5743     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5744     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5745     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5746     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5747       # Best one so far, save it but keep looking for a better one
   5748       ac_cv_path_FGREP="$ac_path_FGREP"
   5749       ac_path_FGREP_max=$ac_count
   5750     fi
   5751     # 10*(2^10) chars as input seems more than enough
   5752     test $ac_count -gt 10 && break
   5753   done
   5754   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5755 esac
   5756 
   5757       $ac_path_FGREP_found && break 3
   5758     done
   5759   done
   5760   done
   5761 IFS=$as_save_IFS
   5762   if test -z "$ac_cv_path_FGREP"; then
   5763     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5764   fi
   5765 else
   5766   ac_cv_path_FGREP=$FGREP
   5767 fi
   5768 
   5769    fi ;;
   5770 esac
   5771 fi
   5772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5773 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   5774  FGREP="$ac_cv_path_FGREP"
   5775 
   5776 
   5777 test -z "$GREP" && GREP=grep
   5778 
   5779 
   5780 
   5781 
   5782 
   5783 
   5784 
   5785 
   5786 
   5787 
   5788 
   5789 
   5790 
   5791 
   5792 
   5793 
   5794 
   5795 
   5796 
   5797 # Check whether --with-gnu-ld was given.
   5798 if test ${with_gnu_ld+y}
   5799 then :
   5800   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   5801 else case e in #(
   5802   e) with_gnu_ld=no ;;
   5803 esac
   5804 fi
   5805 
   5806 ac_prog=ld
   5807 if test yes = "$GCC"; then
   5808   # Check if gcc -print-prog-name=ld gives a path.
   5809   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5810 printf %s "checking for ld used by $CC... " >&6; }
   5811   case $host in
   5812   *-*-mingw* | *-*-windows*)
   5813     # gcc leaves a trailing carriage return, which upsets mingw
   5814     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5815   *)
   5816     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5817   esac
   5818   case $ac_prog in
   5819     # Accept absolute paths.
   5820     [\\/]* | ?:[\\/]*)
   5821       re_direlt='/[^/][^/]*/\.\./'
   5822       # Canonicalize the pathname of ld
   5823       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5824       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5825 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5826       done
   5827       test -z "$LD" && LD=$ac_prog
   5828       ;;
   5829   "")
   5830     # If it fails, then pretend we aren't using GCC.
   5831     ac_prog=ld
   5832     ;;
   5833   *)
   5834     # If it is relative, then search for the first ld in PATH.
   5835     with_gnu_ld=unknown
   5836     ;;
   5837   esac
   5838 elif test yes = "$with_gnu_ld"; then
   5839   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5840 printf %s "checking for GNU ld... " >&6; }
   5841 else
   5842   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5843 printf %s "checking for non-GNU ld... " >&6; }
   5844 fi
   5845 if test ${lt_cv_path_LD+y}
   5846 then :
   5847   printf %s "(cached) " >&6
   5848 else case e in #(
   5849   e) if test -z "$LD"; then
   5850   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5851   for ac_dir in $PATH; do
   5852     IFS=$lt_save_ifs
   5853     test -z "$ac_dir" && ac_dir=.
   5854     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5855       lt_cv_path_LD=$ac_dir/$ac_prog
   5856       # Check to see if the program is GNU ld.  I'd rather use --version,
   5857       # but apparently some variants of GNU ld only accept -v.
   5858       # Break only if it was the GNU/non-GNU ld that we prefer.
   5859       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5860       *GNU* | *'with BFD'*)
   5861 	test no != "$with_gnu_ld" && break
   5862 	;;
   5863       *)
   5864 	test yes != "$with_gnu_ld" && break
   5865 	;;
   5866       esac
   5867     fi
   5868   done
   5869   IFS=$lt_save_ifs
   5870 else
   5871   lt_cv_path_LD=$LD # Let the user override the test with a path.
   5872 fi ;;
   5873 esac
   5874 fi
   5875 
   5876 LD=$lt_cv_path_LD
   5877 if test -n "$LD"; then
   5878   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5879 printf "%s\n" "$LD" >&6; }
   5880 else
   5881   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5882 printf "%s\n" "no" >&6; }
   5883 fi
   5884 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5886 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   5887 if test ${lt_cv_prog_gnu_ld+y}
   5888 then :
   5889   printf %s "(cached) " >&6
   5890 else case e in #(
   5891   e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5892 case `$LD -v 2>&1 </dev/null` in
   5893 *GNU* | *'with BFD'*)
   5894   lt_cv_prog_gnu_ld=yes
   5895   ;;
   5896 *)
   5897   lt_cv_prog_gnu_ld=no
   5898   ;;
   5899 esac ;;
   5900 esac
   5901 fi
   5902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5903 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   5904 with_gnu_ld=$lt_cv_prog_gnu_ld
   5905 
   5906 
   5907 
   5908 
   5909 
   5910 
   5911 
   5912 
   5913 
   5914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5915 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5916 if test ${lt_cv_path_NM+y}
   5917 then :
   5918   printf %s "(cached) " >&6
   5919 else case e in #(
   5920   e) if test -n "$NM"; then
   5921   # Let the user override the test.
   5922   lt_cv_path_NM=$NM
   5923 else
   5924   lt_nm_to_check=${ac_tool_prefix}nm
   5925   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5926     lt_nm_to_check="$lt_nm_to_check nm"
   5927   fi
   5928   for lt_tmp_nm in $lt_nm_to_check; do
   5929     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5930     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5931       IFS=$lt_save_ifs
   5932       test -z "$ac_dir" && ac_dir=.
   5933       tmp_nm=$ac_dir/$lt_tmp_nm
   5934       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   5935 	# Check to see if the nm accepts a BSD-compat flag.
   5936 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   5937 	#   nm: unknown option "B" ignored
   5938 	# Tru64's nm complains that /dev/null is an invalid object file
   5939 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   5940 	case $build_os in
   5941 	mingw* | windows*) lt_bad_file=conftest.nm/nofile ;;
   5942 	*) lt_bad_file=/dev/null ;;
   5943 	esac
   5944 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   5945 	*$lt_bad_file* | *'Invalid file or object type'*)
   5946 	  lt_cv_path_NM="$tmp_nm -B"
   5947 	  break 2
   5948 	  ;;
   5949 	*)
   5950 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   5951 	  */dev/null*)
   5952 	    lt_cv_path_NM="$tmp_nm -p"
   5953 	    break 2
   5954 	    ;;
   5955 	  *)
   5956 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5957 	    continue # so that we can try to find one that supports BSD flags
   5958 	    ;;
   5959 	  esac
   5960 	  ;;
   5961 	esac
   5962       fi
   5963     done
   5964     IFS=$lt_save_ifs
   5965   done
   5966   : ${lt_cv_path_NM=no}
   5967 fi ;;
   5968 esac
   5969 fi
   5970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5971 printf "%s\n" "$lt_cv_path_NM" >&6; }
   5972 if test no != "$lt_cv_path_NM"; then
   5973   NM=$lt_cv_path_NM
   5974 else
   5975   # Didn't find any BSD compatible name lister, look for dumpbin.
   5976   if test -n "$DUMPBIN"; then :
   5977     # Let the user override the test.
   5978   else
   5979     if test -n "$ac_tool_prefix"; then
   5980   for ac_prog in dumpbin "link -dump"
   5981   do
   5982     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5983 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5985 printf %s "checking for $ac_word... " >&6; }
   5986 if test ${ac_cv_prog_DUMPBIN+y}
   5987 then :
   5988   printf %s "(cached) " >&6
   5989 else case e in #(
   5990   e) if test -n "$DUMPBIN"; then
   5991   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5992 else
   5993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5994 for as_dir in $PATH
   5995 do
   5996   IFS=$as_save_IFS
   5997   case $as_dir in #(((
   5998     '') as_dir=./ ;;
   5999     */) ;;
   6000     *) as_dir=$as_dir/ ;;
   6001   esac
   6002     for ac_exec_ext in '' $ac_executable_extensions; do
   6003   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6004     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   6005     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6006     break 2
   6007   fi
   6008 done
   6009   done
   6010 IFS=$as_save_IFS
   6011 
   6012 fi ;;
   6013 esac
   6014 fi
   6015 DUMPBIN=$ac_cv_prog_DUMPBIN
   6016 if test -n "$DUMPBIN"; then
   6017   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   6018 printf "%s\n" "$DUMPBIN" >&6; }
   6019 else
   6020   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6021 printf "%s\n" "no" >&6; }
   6022 fi
   6023 
   6024 
   6025     test -n "$DUMPBIN" && break
   6026   done
   6027 fi
   6028 if test -z "$DUMPBIN"; then
   6029   ac_ct_DUMPBIN=$DUMPBIN
   6030   for ac_prog in dumpbin "link -dump"
   6031 do
   6032   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6033 set dummy $ac_prog; ac_word=$2
   6034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6035 printf %s "checking for $ac_word... " >&6; }
   6036 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   6037 then :
   6038   printf %s "(cached) " >&6
   6039 else case e in #(
   6040   e) if test -n "$ac_ct_DUMPBIN"; then
   6041   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   6042 else
   6043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6044 for as_dir in $PATH
   6045 do
   6046   IFS=$as_save_IFS
   6047   case $as_dir in #(((
   6048     '') as_dir=./ ;;
   6049     */) ;;
   6050     *) as_dir=$as_dir/ ;;
   6051   esac
   6052     for ac_exec_ext in '' $ac_executable_extensions; do
   6053   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6054     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   6055     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6056     break 2
   6057   fi
   6058 done
   6059   done
   6060 IFS=$as_save_IFS
   6061 
   6062 fi ;;
   6063 esac
   6064 fi
   6065 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   6066 if test -n "$ac_ct_DUMPBIN"; then
   6067   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   6068 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   6069 else
   6070   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6071 printf "%s\n" "no" >&6; }
   6072 fi
   6073 
   6074 
   6075   test -n "$ac_ct_DUMPBIN" && break
   6076 done
   6077 
   6078   if test "x$ac_ct_DUMPBIN" = x; then
   6079     DUMPBIN=":"
   6080   else
   6081     case $cross_compiling:$ac_tool_warned in
   6082 yes:)
   6083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6084 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6085 ac_tool_warned=yes ;;
   6086 esac
   6087     DUMPBIN=$ac_ct_DUMPBIN
   6088   fi
   6089 fi
   6090 
   6091     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   6092     *COFF*)
   6093       DUMPBIN="$DUMPBIN -symbols -headers"
   6094       ;;
   6095     *)
   6096       DUMPBIN=:
   6097       ;;
   6098     esac
   6099   fi
   6100 
   6101   if test : != "$DUMPBIN"; then
   6102     NM=$DUMPBIN
   6103   fi
   6104 fi
   6105 test -z "$NM" && NM=nm
   6106 
   6107 
   6108 
   6109 
   6110 
   6111 
   6112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   6113 printf %s "checking the name lister ($NM) interface... " >&6; }
   6114 if test ${lt_cv_nm_interface+y}
   6115 then :
   6116   printf %s "(cached) " >&6
   6117 else case e in #(
   6118   e) lt_cv_nm_interface="BSD nm"
   6119   echo "int some_variable = 0;" > conftest.$ac_ext
   6120   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   6121   (eval "$ac_compile" 2>conftest.err)
   6122   cat conftest.err >&5
   6123   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   6124   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   6125   cat conftest.err >&5
   6126   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   6127   cat conftest.out >&5
   6128   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   6129     lt_cv_nm_interface="MS dumpbin"
   6130   fi
   6131   rm -f conftest* ;;
   6132 esac
   6133 fi
   6134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   6135 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   6136 
   6137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   6138 printf %s "checking whether ln -s works... " >&6; }
   6139 LN_S=$as_ln_s
   6140 if test "$LN_S" = "ln -s"; then
   6141   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   6142 printf "%s\n" "yes" >&6; }
   6143 else
   6144   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   6145 printf "%s\n" "no, using $LN_S" >&6; }
   6146 fi
   6147 
   6148 # find the maximum length of command line arguments
   6149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   6150 printf %s "checking the maximum length of command line arguments... " >&6; }
   6151 if test ${lt_cv_sys_max_cmd_len+y}
   6152 then :
   6153   printf %s "(cached) " >&6
   6154 else case e in #(
   6155   e)   i=0
   6156   teststring=ABCD
   6157 
   6158   case $build_os in
   6159   msdosdjgpp*)
   6160     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6161     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6162     # during glob expansion).  Even if it were fixed, the result of this
   6163     # check would be larger than it should be.
   6164     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6165     ;;
   6166 
   6167   gnu* | ironclad*)
   6168     # Under GNU Hurd and Ironclad, this test is not required because there
   6169     # is no limit to the length of command line arguments.
   6170     # Libtool will interpret -1 as no limit whatsoever
   6171     lt_cv_sys_max_cmd_len=-1;
   6172     ;;
   6173 
   6174   cygwin* | mingw* | windows* | cegcc*)
   6175     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6176     # about 5 minutes as the teststring grows exponentially.
   6177     # Worse, since 9x/ME are not pre-emptively multitasking,
   6178     # you end up with a "frozen" computer, even though with patience
   6179     # the test eventually succeeds (with a max line length of 256k).
   6180     # Instead, let's just punt: use the minimum linelength reported by
   6181     # all of the supported platforms: 8192 (on NT/2K/XP).
   6182     lt_cv_sys_max_cmd_len=8192;
   6183     ;;
   6184 
   6185   mint*)
   6186     # On MiNT this can take a long time and run out of memory.
   6187     lt_cv_sys_max_cmd_len=8192;
   6188     ;;
   6189 
   6190   amigaos*)
   6191     # On AmigaOS with pdksh, this test takes hours, literally.
   6192     # So we just punt and use a minimum line length of 8192.
   6193     lt_cv_sys_max_cmd_len=8192;
   6194     ;;
   6195 
   6196   darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   6197     # This has been around since 386BSD, at least.  Likely further.
   6198     if test -x /sbin/sysctl; then
   6199       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6200     elif test -x /usr/sbin/sysctl; then
   6201       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6202     else
   6203       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6204     fi
   6205     # And add a safety zone
   6206     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6207     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6208     ;;
   6209 
   6210   interix*)
   6211     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6212     lt_cv_sys_max_cmd_len=196608
   6213     ;;
   6214 
   6215   os2*)
   6216     # The test takes a long time on OS/2.
   6217     lt_cv_sys_max_cmd_len=8192
   6218     ;;
   6219 
   6220   osf*)
   6221     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6222     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6223     # nice to cause kernel panics so lets avoid the loop below.
   6224     # First set a reasonable default.
   6225     lt_cv_sys_max_cmd_len=16384
   6226     #
   6227     if test -x /sbin/sysconfig; then
   6228       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6229         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6230       esac
   6231     fi
   6232     ;;
   6233   sco3.2v5*)
   6234     lt_cv_sys_max_cmd_len=102400
   6235     ;;
   6236   sysv5* | sco5v6* | sysv4.2uw2*)
   6237     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6238     if test -n "$kargmax"; then
   6239       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   6240     else
   6241       lt_cv_sys_max_cmd_len=32768
   6242     fi
   6243     ;;
   6244   *)
   6245     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6246     if test -n "$lt_cv_sys_max_cmd_len" && \
   6247        test undefined != "$lt_cv_sys_max_cmd_len"; then
   6248       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6249       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6250     else
   6251       # Make teststring a little bigger before we do anything with it.
   6252       # a 1K string should be a reasonable start.
   6253       for i in 1 2 3 4 5 6 7 8; do
   6254         teststring=$teststring$teststring
   6255       done
   6256       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6257       # If test is not a shell built-in, we'll probably end up computing a
   6258       # maximum length that is only half of the actual maximum length, but
   6259       # we can't tell.
   6260       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   6261 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   6262 	      test 17 != "$i" # 1/2 MB should be enough
   6263       do
   6264         i=`expr $i + 1`
   6265         teststring=$teststring$teststring
   6266       done
   6267       # Only check the string length outside the loop.
   6268       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   6269       teststring=
   6270       # Add a significant safety factor because C++ compilers can tack on
   6271       # massive amounts of additional arguments before passing them to the
   6272       # linker.  It appears as though 1/2 is a usable value.
   6273       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6274     fi
   6275     ;;
   6276   esac
   6277  ;;
   6278 esac
   6279 fi
   6280 
   6281 if test -n "$lt_cv_sys_max_cmd_len"; then
   6282   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   6283 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   6284 else
   6285   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   6286 printf "%s\n" "none" >&6; }
   6287 fi
   6288 max_cmd_len=$lt_cv_sys_max_cmd_len
   6289 
   6290 
   6291 
   6292 
   6293 
   6294 
   6295 : ${CP="cp -f"}
   6296 : ${MV="mv -f"}
   6297 : ${RM="rm -f"}
   6298 
   6299 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   6300   lt_unset=unset
   6301 else
   6302   lt_unset=false
   6303 fi
   6304 
   6305 
   6306 
   6307 
   6308 
   6309 # test EBCDIC or ASCII
   6310 case `echo X|tr X '\101'` in
   6311  A) # ASCII based system
   6312     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   6313   lt_SP2NL='tr \040 \012'
   6314   lt_NL2SP='tr \015\012 \040\040'
   6315   ;;
   6316  *) # EBCDIC based system
   6317   lt_SP2NL='tr \100 \n'
   6318   lt_NL2SP='tr \r\n \100\100'
   6319   ;;
   6320 esac
   6321 
   6322 
   6323 
   6324 
   6325 
   6326 
   6327 
   6328 
   6329 
   6330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   6331 printf %s "checking how to convert $build file names to $host format... " >&6; }
   6332 if test ${lt_cv_to_host_file_cmd+y}
   6333 then :
   6334   printf %s "(cached) " >&6
   6335 else case e in #(
   6336   e) case $host in
   6337   *-*-mingw* )
   6338     case $build in
   6339       *-*-mingw* | *-*-windows* ) # actually msys
   6340         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   6341         ;;
   6342       *-*-cygwin* )
   6343         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   6344         ;;
   6345       * ) # otherwise, assume *nix
   6346         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   6347         ;;
   6348     esac
   6349     ;;
   6350   *-*-cygwin* )
   6351     case $build in
   6352       *-*-mingw* | *-*-windows* ) # actually msys
   6353         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   6354         ;;
   6355       *-*-cygwin* )
   6356         lt_cv_to_host_file_cmd=func_convert_file_noop
   6357         ;;
   6358       * ) # otherwise, assume *nix
   6359         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   6360         ;;
   6361     esac
   6362     ;;
   6363   * ) # unhandled hosts (and "normal" native builds)
   6364     lt_cv_to_host_file_cmd=func_convert_file_noop
   6365     ;;
   6366 esac
   6367  ;;
   6368 esac
   6369 fi
   6370 
   6371 to_host_file_cmd=$lt_cv_to_host_file_cmd
   6372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   6373 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   6374 
   6375 
   6376 
   6377 
   6378 
   6379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   6380 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   6381 if test ${lt_cv_to_tool_file_cmd+y}
   6382 then :
   6383   printf %s "(cached) " >&6
   6384 else case e in #(
   6385   e) #assume ordinary cross tools, or native build.
   6386 lt_cv_to_tool_file_cmd=func_convert_file_noop
   6387 case $host in
   6388   *-*-mingw* | *-*-windows* )
   6389     case $build in
   6390       *-*-mingw* | *-*-windows* ) # actually msys
   6391         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   6392         ;;
   6393     esac
   6394     ;;
   6395 esac
   6396  ;;
   6397 esac
   6398 fi
   6399 
   6400 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   6401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   6402 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   6403 
   6404 
   6405 
   6406 
   6407 
   6408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   6409 printf %s "checking for $LD option to reload object files... " >&6; }
   6410 if test ${lt_cv_ld_reload_flag+y}
   6411 then :
   6412   printf %s "(cached) " >&6
   6413 else case e in #(
   6414   e) lt_cv_ld_reload_flag='-r' ;;
   6415 esac
   6416 fi
   6417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   6418 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   6419 reload_flag=$lt_cv_ld_reload_flag
   6420 case $reload_flag in
   6421 "" | " "*) ;;
   6422 *) reload_flag=" $reload_flag" ;;
   6423 esac
   6424 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6425 case $host_os in
   6426   cygwin* | mingw* | windows* | pw32* | cegcc*)
   6427     if test yes != "$GCC"; then
   6428       reload_cmds=false
   6429     fi
   6430     ;;
   6431   darwin*)
   6432     if test yes = "$GCC"; then
   6433       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   6434     else
   6435       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6436     fi
   6437     ;;
   6438 esac
   6439 
   6440 
   6441 
   6442 
   6443 
   6444 
   6445 
   6446 
   6447 
   6448 # Extract the first word of "file", so it can be a program name with args.
   6449 set dummy file; ac_word=$2
   6450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6451 printf %s "checking for $ac_word... " >&6; }
   6452 if test ${ac_cv_prog_FILECMD+y}
   6453 then :
   6454   printf %s "(cached) " >&6
   6455 else case e in #(
   6456   e) if test -n "$FILECMD"; then
   6457   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   6458 else
   6459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6460 for as_dir in $PATH
   6461 do
   6462   IFS=$as_save_IFS
   6463   case $as_dir in #(((
   6464     '') as_dir=./ ;;
   6465     */) ;;
   6466     *) as_dir=$as_dir/ ;;
   6467   esac
   6468     for ac_exec_ext in '' $ac_executable_extensions; do
   6469   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6470     ac_cv_prog_FILECMD="file"
   6471     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6472     break 2
   6473   fi
   6474 done
   6475   done
   6476 IFS=$as_save_IFS
   6477 
   6478   test -z "$ac_cv_prog_FILECMD" && ac_cv_prog_FILECMD=":"
   6479 fi ;;
   6480 esac
   6481 fi
   6482 FILECMD=$ac_cv_prog_FILECMD
   6483 if test -n "$FILECMD"; then
   6484   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   6485 printf "%s\n" "$FILECMD" >&6; }
   6486 else
   6487   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6488 printf "%s\n" "no" >&6; }
   6489 fi
   6490 
   6491 
   6492 
   6493 
   6494 
   6495 
   6496 
   6497 
   6498 if test -n "$ac_tool_prefix"; then
   6499   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6500 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6502 printf %s "checking for $ac_word... " >&6; }
   6503 if test ${ac_cv_prog_OBJDUMP+y}
   6504 then :
   6505   printf %s "(cached) " >&6
   6506 else case e in #(
   6507   e) if test -n "$OBJDUMP"; then
   6508   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6509 else
   6510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6511 for as_dir in $PATH
   6512 do
   6513   IFS=$as_save_IFS
   6514   case $as_dir in #(((
   6515     '') as_dir=./ ;;
   6516     */) ;;
   6517     *) as_dir=$as_dir/ ;;
   6518   esac
   6519     for ac_exec_ext in '' $ac_executable_extensions; do
   6520   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6521     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6522     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6523     break 2
   6524   fi
   6525 done
   6526   done
   6527 IFS=$as_save_IFS
   6528 
   6529 fi ;;
   6530 esac
   6531 fi
   6532 OBJDUMP=$ac_cv_prog_OBJDUMP
   6533 if test -n "$OBJDUMP"; then
   6534   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   6535 printf "%s\n" "$OBJDUMP" >&6; }
   6536 else
   6537   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6538 printf "%s\n" "no" >&6; }
   6539 fi
   6540 
   6541 
   6542 fi
   6543 if test -z "$ac_cv_prog_OBJDUMP"; then
   6544   ac_ct_OBJDUMP=$OBJDUMP
   6545   # Extract the first word of "objdump", so it can be a program name with args.
   6546 set dummy objdump; ac_word=$2
   6547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6548 printf %s "checking for $ac_word... " >&6; }
   6549 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   6550 then :
   6551   printf %s "(cached) " >&6
   6552 else case e in #(
   6553   e) if test -n "$ac_ct_OBJDUMP"; then
   6554   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6555 else
   6556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6557 for as_dir in $PATH
   6558 do
   6559   IFS=$as_save_IFS
   6560   case $as_dir in #(((
   6561     '') as_dir=./ ;;
   6562     */) ;;
   6563     *) as_dir=$as_dir/ ;;
   6564   esac
   6565     for ac_exec_ext in '' $ac_executable_extensions; do
   6566   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6567     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6568     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6569     break 2
   6570   fi
   6571 done
   6572   done
   6573 IFS=$as_save_IFS
   6574 
   6575 fi ;;
   6576 esac
   6577 fi
   6578 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6579 if test -n "$ac_ct_OBJDUMP"; then
   6580   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6581 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   6582 else
   6583   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6584 printf "%s\n" "no" >&6; }
   6585 fi
   6586 
   6587   if test "x$ac_ct_OBJDUMP" = x; then
   6588     OBJDUMP="false"
   6589   else
   6590     case $cross_compiling:$ac_tool_warned in
   6591 yes:)
   6592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6593 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6594 ac_tool_warned=yes ;;
   6595 esac
   6596     OBJDUMP=$ac_ct_OBJDUMP
   6597   fi
   6598 else
   6599   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6600 fi
   6601 
   6602 test -z "$OBJDUMP" && OBJDUMP=objdump
   6603 
   6604 
   6605 
   6606 
   6607 
   6608 
   6609 
   6610 
   6611 
   6612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6613 printf %s "checking how to recognize dependent libraries... " >&6; }
   6614 if test ${lt_cv_deplibs_check_method+y}
   6615 then :
   6616   printf %s "(cached) " >&6
   6617 else case e in #(
   6618   e) lt_cv_file_magic_cmd='$MAGIC_CMD'
   6619 lt_cv_file_magic_test_file=
   6620 lt_cv_deplibs_check_method='unknown'
   6621 # Need to set the preceding variable on all platforms that support
   6622 # interlibrary dependencies.
   6623 # 'none' -- dependencies not supported.
   6624 # 'unknown' -- same as none, but documents that we really don't know.
   6625 # 'pass_all' -- all dependencies passed with no checks.
   6626 # 'file_magic [[regex]]' -- check by looking for files in library path
   6627 # that responds to the $file_magic_cmd with a given extended regex.
   6628 # If you have 'file' or equivalent on your system and you're not sure
   6629 # whether 'pass_all' will *always* work, you probably want this one.
   6630 
   6631 case $host_os in
   6632 aix[4-9]*)
   6633   lt_cv_deplibs_check_method=pass_all
   6634   ;;
   6635 
   6636 beos*)
   6637   lt_cv_deplibs_check_method=pass_all
   6638   ;;
   6639 
   6640 bsdi[45]*)
   6641   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6642   lt_cv_file_magic_cmd='$FILECMD -L'
   6643   lt_cv_file_magic_test_file=/shlib/libc.so
   6644   ;;
   6645 
   6646 cygwin*)
   6647   # func_win32_libid is a shell function defined in ltmain.sh
   6648   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6649   lt_cv_file_magic_cmd='func_win32_libid'
   6650   ;;
   6651 
   6652 mingw* | windows* | pw32*)
   6653   # Base MSYS/MinGW do not provide the 'file' command needed by
   6654   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6655   # unless we find 'file', for example because we are cross-compiling.
   6656   if ( file / ) >/dev/null 2>&1; then
   6657     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6658     lt_cv_file_magic_cmd='func_win32_libid'
   6659   else
   6660     # Keep this pattern in sync with the one in func_win32_libid.
   6661     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|pe-aarch64)'
   6662     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6663   fi
   6664   ;;
   6665 
   6666 cegcc*)
   6667   # use the weaker test based on 'objdump'. See mingw*.
   6668   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6669   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6670   ;;
   6671 
   6672 darwin* | rhapsody*)
   6673   lt_cv_deplibs_check_method=pass_all
   6674   ;;
   6675 
   6676 freebsd* | dragonfly* | midnightbsd*)
   6677   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6678     case $host_cpu in
   6679     i*86 )
   6680       # Not sure whether the presence of OpenBSD here was a mistake.
   6681       # Let's accept both of them until this is cleared up.
   6682       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6683       lt_cv_file_magic_cmd=$FILECMD
   6684       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6685       ;;
   6686     esac
   6687   else
   6688     lt_cv_deplibs_check_method=pass_all
   6689   fi
   6690   ;;
   6691 
   6692 haiku*)
   6693   lt_cv_deplibs_check_method=pass_all
   6694   ;;
   6695 
   6696 hpux10.20* | hpux11*)
   6697   lt_cv_file_magic_cmd=$FILECMD
   6698   case $host_cpu in
   6699   ia64*)
   6700     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6701     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6702     ;;
   6703   hppa*64*)
   6704     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]'
   6705     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6706     ;;
   6707   *)
   6708     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6709     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6710     ;;
   6711   esac
   6712   ;;
   6713 
   6714 interix[3-9]*)
   6715   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6716   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6717   ;;
   6718 
   6719 irix5* | irix6* | nonstopux*)
   6720   case $LD in
   6721   *-32|*"-32 ") libmagic=32-bit;;
   6722   *-n32|*"-n32 ") libmagic=N32;;
   6723   *-64|*"-64 ") libmagic=64-bit;;
   6724   *) libmagic=never-match;;
   6725   esac
   6726   lt_cv_deplibs_check_method=pass_all
   6727   ;;
   6728 
   6729 # This must be glibc/ELF.
   6730 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   6731   lt_cv_deplibs_check_method=pass_all
   6732   ;;
   6733 
   6734 *-mlibc)
   6735   lt_cv_deplibs_check_method=pass_all
   6736   ;;
   6737 
   6738 netbsd* | netbsdelf*-gnu)
   6739   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6740     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6741   else
   6742     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6743   fi
   6744   ;;
   6745 
   6746 newos6*)
   6747   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6748   lt_cv_file_magic_cmd=$FILECMD
   6749   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6750   ;;
   6751 
   6752 *nto* | *qnx*)
   6753   lt_cv_deplibs_check_method=pass_all
   6754   ;;
   6755 
   6756 openbsd*)
   6757   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   6758     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6759   else
   6760     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6761   fi
   6762   ;;
   6763 
   6764 osf3* | osf4* | osf5*)
   6765   lt_cv_deplibs_check_method=pass_all
   6766   ;;
   6767 
   6768 rdos*)
   6769   lt_cv_deplibs_check_method=pass_all
   6770   ;;
   6771 
   6772 serenity*)
   6773   lt_cv_deplibs_check_method=pass_all
   6774   ;;
   6775 
   6776 solaris*)
   6777   lt_cv_deplibs_check_method=pass_all
   6778   ;;
   6779 
   6780 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6781   lt_cv_deplibs_check_method=pass_all
   6782   ;;
   6783 
   6784 sysv4 | sysv4.3*)
   6785   case $host_vendor in
   6786   motorola)
   6787     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]'
   6788     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6789     ;;
   6790   ncr)
   6791     lt_cv_deplibs_check_method=pass_all
   6792     ;;
   6793   sequent)
   6794     lt_cv_file_magic_cmd='/bin/file'
   6795     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6796     ;;
   6797   sni)
   6798     lt_cv_file_magic_cmd='/bin/file'
   6799     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6800     lt_cv_file_magic_test_file=/lib/libc.so
   6801     ;;
   6802   siemens)
   6803     lt_cv_deplibs_check_method=pass_all
   6804     ;;
   6805   pc)
   6806     lt_cv_deplibs_check_method=pass_all
   6807     ;;
   6808   esac
   6809   ;;
   6810 
   6811 tpf*)
   6812   lt_cv_deplibs_check_method=pass_all
   6813   ;;
   6814 os2*)
   6815   lt_cv_deplibs_check_method=pass_all
   6816   ;;
   6817 esac
   6818  ;;
   6819 esac
   6820 fi
   6821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6822 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   6823 
   6824 file_magic_glob=
   6825 want_nocaseglob=no
   6826 if test "$build" = "$host"; then
   6827   case $host_os in
   6828   mingw* | windows* | pw32*)
   6829     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6830       want_nocaseglob=yes
   6831     else
   6832       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6833     fi
   6834     ;;
   6835   esac
   6836 fi
   6837 
   6838 file_magic_cmd=$lt_cv_file_magic_cmd
   6839 deplibs_check_method=$lt_cv_deplibs_check_method
   6840 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6841 
   6842 
   6843 
   6844 
   6845 
   6846 
   6847 
   6848 
   6849 
   6850 
   6851 
   6852 
   6853 
   6854 
   6855 
   6856 
   6857 
   6858 
   6859 
   6860 
   6861 
   6862 
   6863 if test -n "$ac_tool_prefix"; then
   6864   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6865 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6867 printf %s "checking for $ac_word... " >&6; }
   6868 if test ${ac_cv_prog_DLLTOOL+y}
   6869 then :
   6870   printf %s "(cached) " >&6
   6871 else case e in #(
   6872   e) if test -n "$DLLTOOL"; then
   6873   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6874 else
   6875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6876 for as_dir in $PATH
   6877 do
   6878   IFS=$as_save_IFS
   6879   case $as_dir in #(((
   6880     '') as_dir=./ ;;
   6881     */) ;;
   6882     *) as_dir=$as_dir/ ;;
   6883   esac
   6884     for ac_exec_ext in '' $ac_executable_extensions; do
   6885   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6886     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6887     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6888     break 2
   6889   fi
   6890 done
   6891   done
   6892 IFS=$as_save_IFS
   6893 
   6894 fi ;;
   6895 esac
   6896 fi
   6897 DLLTOOL=$ac_cv_prog_DLLTOOL
   6898 if test -n "$DLLTOOL"; then
   6899   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6900 printf "%s\n" "$DLLTOOL" >&6; }
   6901 else
   6902   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6903 printf "%s\n" "no" >&6; }
   6904 fi
   6905 
   6906 
   6907 fi
   6908 if test -z "$ac_cv_prog_DLLTOOL"; then
   6909   ac_ct_DLLTOOL=$DLLTOOL
   6910   # Extract the first word of "dlltool", so it can be a program name with args.
   6911 set dummy dlltool; ac_word=$2
   6912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6913 printf %s "checking for $ac_word... " >&6; }
   6914 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   6915 then :
   6916   printf %s "(cached) " >&6
   6917 else case e in #(
   6918   e) if test -n "$ac_ct_DLLTOOL"; then
   6919   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6920 else
   6921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6922 for as_dir in $PATH
   6923 do
   6924   IFS=$as_save_IFS
   6925   case $as_dir in #(((
   6926     '') as_dir=./ ;;
   6927     */) ;;
   6928     *) as_dir=$as_dir/ ;;
   6929   esac
   6930     for ac_exec_ext in '' $ac_executable_extensions; do
   6931   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6932     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6933     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6934     break 2
   6935   fi
   6936 done
   6937   done
   6938 IFS=$as_save_IFS
   6939 
   6940 fi ;;
   6941 esac
   6942 fi
   6943 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6944 if test -n "$ac_ct_DLLTOOL"; then
   6945   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6946 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   6947 else
   6948   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6949 printf "%s\n" "no" >&6; }
   6950 fi
   6951 
   6952   if test "x$ac_ct_DLLTOOL" = x; then
   6953     DLLTOOL="false"
   6954   else
   6955     case $cross_compiling:$ac_tool_warned in
   6956 yes:)
   6957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6958 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6959 ac_tool_warned=yes ;;
   6960 esac
   6961     DLLTOOL=$ac_ct_DLLTOOL
   6962   fi
   6963 else
   6964   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6965 fi
   6966 
   6967 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6968 
   6969 
   6970 
   6971 
   6972 
   6973 
   6974 
   6975 
   6976 
   6977 
   6978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6979 printf %s "checking how to associate runtime and link libraries... " >&6; }
   6980 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   6981 then :
   6982   printf %s "(cached) " >&6
   6983 else case e in #(
   6984   e) lt_cv_sharedlib_from_linklib_cmd='unknown'
   6985 
   6986 case $host_os in
   6987 cygwin* | mingw* | windows* | pw32* | cegcc*)
   6988   # two different shell functions defined in ltmain.sh;
   6989   # decide which one to use based on capabilities of $DLLTOOL
   6990   case `$DLLTOOL --help 2>&1` in
   6991   *--identify-strict*)
   6992     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6993     ;;
   6994   *)
   6995     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6996     ;;
   6997   esac
   6998   ;;
   6999 *)
   7000   # fallback: assume linklib IS sharedlib
   7001   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   7002   ;;
   7003 esac
   7004  ;;
   7005 esac
   7006 fi
   7007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   7008 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   7009 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   7010 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   7011 
   7012 
   7013 
   7014 
   7015 
   7016 
   7017 
   7018 if test -n "$ac_tool_prefix"; then
   7019   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   7020 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   7021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7022 printf %s "checking for $ac_word... " >&6; }
   7023 if test ${ac_cv_prog_RANLIB+y}
   7024 then :
   7025   printf %s "(cached) " >&6
   7026 else case e in #(
   7027   e) if test -n "$RANLIB"; then
   7028   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   7029 else
   7030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7031 for as_dir in $PATH
   7032 do
   7033   IFS=$as_save_IFS
   7034   case $as_dir in #(((
   7035     '') as_dir=./ ;;
   7036     */) ;;
   7037     *) as_dir=$as_dir/ ;;
   7038   esac
   7039     for ac_exec_ext in '' $ac_executable_extensions; do
   7040   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7041     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   7042     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7043     break 2
   7044   fi
   7045 done
   7046   done
   7047 IFS=$as_save_IFS
   7048 
   7049 fi ;;
   7050 esac
   7051 fi
   7052 RANLIB=$ac_cv_prog_RANLIB
   7053 if test -n "$RANLIB"; then
   7054   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   7055 printf "%s\n" "$RANLIB" >&6; }
   7056 else
   7057   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7058 printf "%s\n" "no" >&6; }
   7059 fi
   7060 
   7061 
   7062 fi
   7063 if test -z "$ac_cv_prog_RANLIB"; then
   7064   ac_ct_RANLIB=$RANLIB
   7065   # Extract the first word of "ranlib", so it can be a program name with args.
   7066 set dummy ranlib; ac_word=$2
   7067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7068 printf %s "checking for $ac_word... " >&6; }
   7069 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   7070 then :
   7071   printf %s "(cached) " >&6
   7072 else case e in #(
   7073   e) if test -n "$ac_ct_RANLIB"; then
   7074   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   7075 else
   7076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7077 for as_dir in $PATH
   7078 do
   7079   IFS=$as_save_IFS
   7080   case $as_dir in #(((
   7081     '') as_dir=./ ;;
   7082     */) ;;
   7083     *) as_dir=$as_dir/ ;;
   7084   esac
   7085     for ac_exec_ext in '' $ac_executable_extensions; do
   7086   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7087     ac_cv_prog_ac_ct_RANLIB="ranlib"
   7088     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7089     break 2
   7090   fi
   7091 done
   7092   done
   7093 IFS=$as_save_IFS
   7094 
   7095 fi ;;
   7096 esac
   7097 fi
   7098 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   7099 if test -n "$ac_ct_RANLIB"; then
   7100   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   7101 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   7102 else
   7103   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7104 printf "%s\n" "no" >&6; }
   7105 fi
   7106 
   7107   if test "x$ac_ct_RANLIB" = x; then
   7108     RANLIB=":"
   7109   else
   7110     case $cross_compiling:$ac_tool_warned in
   7111 yes:)
   7112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7113 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7114 ac_tool_warned=yes ;;
   7115 esac
   7116     RANLIB=$ac_ct_RANLIB
   7117   fi
   7118 else
   7119   RANLIB="$ac_cv_prog_RANLIB"
   7120 fi
   7121 
   7122 if test -n "$ac_tool_prefix"; then
   7123   for ac_prog in ar
   7124   do
   7125     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   7126 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   7127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7128 printf %s "checking for $ac_word... " >&6; }
   7129 if test ${ac_cv_prog_AR+y}
   7130 then :
   7131   printf %s "(cached) " >&6
   7132 else case e in #(
   7133   e) if test -n "$AR"; then
   7134   ac_cv_prog_AR="$AR" # Let the user override the test.
   7135 else
   7136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7137 for as_dir in $PATH
   7138 do
   7139   IFS=$as_save_IFS
   7140   case $as_dir in #(((
   7141     '') as_dir=./ ;;
   7142     */) ;;
   7143     *) as_dir=$as_dir/ ;;
   7144   esac
   7145     for ac_exec_ext in '' $ac_executable_extensions; do
   7146   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7147     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   7148     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7149     break 2
   7150   fi
   7151 done
   7152   done
   7153 IFS=$as_save_IFS
   7154 
   7155 fi ;;
   7156 esac
   7157 fi
   7158 AR=$ac_cv_prog_AR
   7159 if test -n "$AR"; then
   7160   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   7161 printf "%s\n" "$AR" >&6; }
   7162 else
   7163   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7164 printf "%s\n" "no" >&6; }
   7165 fi
   7166 
   7167 
   7168     test -n "$AR" && break
   7169   done
   7170 fi
   7171 if test -z "$AR"; then
   7172   ac_ct_AR=$AR
   7173   for ac_prog in ar
   7174 do
   7175   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7176 set dummy $ac_prog; ac_word=$2
   7177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7178 printf %s "checking for $ac_word... " >&6; }
   7179 if test ${ac_cv_prog_ac_ct_AR+y}
   7180 then :
   7181   printf %s "(cached) " >&6
   7182 else case e in #(
   7183   e) if test -n "$ac_ct_AR"; then
   7184   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   7185 else
   7186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7187 for as_dir in $PATH
   7188 do
   7189   IFS=$as_save_IFS
   7190   case $as_dir in #(((
   7191     '') as_dir=./ ;;
   7192     */) ;;
   7193     *) as_dir=$as_dir/ ;;
   7194   esac
   7195     for ac_exec_ext in '' $ac_executable_extensions; do
   7196   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7197     ac_cv_prog_ac_ct_AR="$ac_prog"
   7198     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7199     break 2
   7200   fi
   7201 done
   7202   done
   7203 IFS=$as_save_IFS
   7204 
   7205 fi ;;
   7206 esac
   7207 fi
   7208 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   7209 if test -n "$ac_ct_AR"; then
   7210   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   7211 printf "%s\n" "$ac_ct_AR" >&6; }
   7212 else
   7213   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7214 printf "%s\n" "no" >&6; }
   7215 fi
   7216 
   7217 
   7218   test -n "$ac_ct_AR" && break
   7219 done
   7220 
   7221   if test "x$ac_ct_AR" = x; then
   7222     AR="false"
   7223   else
   7224     case $cross_compiling:$ac_tool_warned in
   7225 yes:)
   7226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7227 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7228 ac_tool_warned=yes ;;
   7229 esac
   7230     AR=$ac_ct_AR
   7231   fi
   7232 fi
   7233 
   7234 : ${AR=ar}
   7235 
   7236 
   7237 
   7238 
   7239 
   7240 
   7241 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   7242 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   7243 # higher priority because that's what people were doing historically (setting
   7244 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   7245 # variable obsoleted/removed.
   7246 
   7247 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   7248 lt_ar_flags=$AR_FLAGS
   7249 
   7250 
   7251 
   7252 
   7253 
   7254 
   7255 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   7256 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   7257 
   7258 
   7259 
   7260 
   7261 
   7262 
   7263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   7264 printf %s "checking for archiver @FILE support... " >&6; }
   7265 if test ${lt_cv_ar_at_file+y}
   7266 then :
   7267   printf %s "(cached) " >&6
   7268 else case e in #(
   7269   e) lt_cv_ar_at_file=no
   7270    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7271 /* end confdefs.h.  */
   7272 
   7273 int
   7274 main (void)
   7275 {
   7276 
   7277   ;
   7278   return 0;
   7279 }
   7280 _ACEOF
   7281 if ac_fn_c_try_compile "$LINENO"
   7282 then :
   7283   echo conftest.$ac_objext > conftest.lst
   7284       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   7285       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   7286   (eval $lt_ar_try) 2>&5
   7287   ac_status=$?
   7288   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7289   test $ac_status = 0; }
   7290       if test 0 -eq "$ac_status"; then
   7291 	# Ensure the archiver fails upon bogus file names.
   7292 	rm -f conftest.$ac_objext libconftest.a
   7293 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   7294   (eval $lt_ar_try) 2>&5
   7295   ac_status=$?
   7296   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7297   test $ac_status = 0; }
   7298 	if test 0 -ne "$ac_status"; then
   7299           lt_cv_ar_at_file=@
   7300         fi
   7301       fi
   7302       rm -f conftest.* libconftest.a
   7303 
   7304 fi
   7305 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7306    ;;
   7307 esac
   7308 fi
   7309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   7310 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   7311 
   7312 if test no = "$lt_cv_ar_at_file"; then
   7313   archiver_list_spec=
   7314 else
   7315   archiver_list_spec=$lt_cv_ar_at_file
   7316 fi
   7317 
   7318 
   7319 
   7320 
   7321 
   7322 
   7323 
   7324 if test -n "$ac_tool_prefix"; then
   7325   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   7326 set dummy ${ac_tool_prefix}strip; ac_word=$2
   7327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7328 printf %s "checking for $ac_word... " >&6; }
   7329 if test ${ac_cv_prog_STRIP+y}
   7330 then :
   7331   printf %s "(cached) " >&6
   7332 else case e in #(
   7333   e) if test -n "$STRIP"; then
   7334   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   7335 else
   7336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7337 for as_dir in $PATH
   7338 do
   7339   IFS=$as_save_IFS
   7340   case $as_dir in #(((
   7341     '') as_dir=./ ;;
   7342     */) ;;
   7343     *) as_dir=$as_dir/ ;;
   7344   esac
   7345     for ac_exec_ext in '' $ac_executable_extensions; do
   7346   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7347     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7348     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7349     break 2
   7350   fi
   7351 done
   7352   done
   7353 IFS=$as_save_IFS
   7354 
   7355 fi ;;
   7356 esac
   7357 fi
   7358 STRIP=$ac_cv_prog_STRIP
   7359 if test -n "$STRIP"; then
   7360   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   7361 printf "%s\n" "$STRIP" >&6; }
   7362 else
   7363   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7364 printf "%s\n" "no" >&6; }
   7365 fi
   7366 
   7367 
   7368 fi
   7369 if test -z "$ac_cv_prog_STRIP"; then
   7370   ac_ct_STRIP=$STRIP
   7371   # Extract the first word of "strip", so it can be a program name with args.
   7372 set dummy strip; ac_word=$2
   7373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7374 printf %s "checking for $ac_word... " >&6; }
   7375 if test ${ac_cv_prog_ac_ct_STRIP+y}
   7376 then :
   7377   printf %s "(cached) " >&6
   7378 else case e in #(
   7379   e) if test -n "$ac_ct_STRIP"; then
   7380   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7381 else
   7382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7383 for as_dir in $PATH
   7384 do
   7385   IFS=$as_save_IFS
   7386   case $as_dir in #(((
   7387     '') as_dir=./ ;;
   7388     */) ;;
   7389     *) as_dir=$as_dir/ ;;
   7390   esac
   7391     for ac_exec_ext in '' $ac_executable_extensions; do
   7392   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7393     ac_cv_prog_ac_ct_STRIP="strip"
   7394     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7395     break 2
   7396   fi
   7397 done
   7398   done
   7399 IFS=$as_save_IFS
   7400 
   7401 fi ;;
   7402 esac
   7403 fi
   7404 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7405 if test -n "$ac_ct_STRIP"; then
   7406   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   7407 printf "%s\n" "$ac_ct_STRIP" >&6; }
   7408 else
   7409   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7410 printf "%s\n" "no" >&6; }
   7411 fi
   7412 
   7413   if test "x$ac_ct_STRIP" = x; then
   7414     STRIP=":"
   7415   else
   7416     case $cross_compiling:$ac_tool_warned in
   7417 yes:)
   7418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7419 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7420 ac_tool_warned=yes ;;
   7421 esac
   7422     STRIP=$ac_ct_STRIP
   7423   fi
   7424 else
   7425   STRIP="$ac_cv_prog_STRIP"
   7426 fi
   7427 
   7428 test -z "$STRIP" && STRIP=:
   7429 
   7430 
   7431 
   7432 
   7433 
   7434 
   7435 
   7436 test -z "$RANLIB" && RANLIB=:
   7437 
   7438 
   7439 
   7440 
   7441 
   7442 
   7443 # Determine commands to create old-style static archives.
   7444 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7445 old_postinstall_cmds='chmod 644 $oldlib'
   7446 old_postuninstall_cmds=
   7447 
   7448 if test -n "$RANLIB"; then
   7449   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   7450   old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   7451 fi
   7452 
   7453 case $host_os in
   7454   darwin*)
   7455     lock_old_archive_extraction=yes ;;
   7456   *)
   7457     lock_old_archive_extraction=no ;;
   7458 esac
   7459 
   7460 
   7461 
   7462 
   7463 
   7464 
   7465 
   7466 
   7467 
   7468 
   7469 
   7470 
   7471 
   7472 
   7473 
   7474 
   7475 
   7476 
   7477 
   7478 
   7479 
   7480 
   7481 
   7482 
   7483 
   7484 
   7485 
   7486 
   7487 
   7488 
   7489 
   7490 
   7491 
   7492 
   7493 
   7494 
   7495 
   7496 
   7497 
   7498 # If no C compiler was specified, use CC.
   7499 LTCC=${LTCC-"$CC"}
   7500 
   7501 # If no C compiler flags were specified, use CFLAGS.
   7502 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7503 
   7504 # Allow CC to be a program name with arguments.
   7505 compiler=$CC
   7506 
   7507 
   7508 # Check for command to grab the raw symbol name followed by C symbol from nm.
   7509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   7510 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   7511 if test ${lt_cv_sys_global_symbol_pipe+y}
   7512 then :
   7513   printf %s "(cached) " >&6
   7514 else case e in #(
   7515   e)
   7516 # These are sane defaults that work on at least a few old systems.
   7517 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   7518 
   7519 # Character class describing NM global symbol codes.
   7520 symcode='[BCDEGRST]'
   7521 
   7522 # Regexp to match symbols that can be accessed directly from C.
   7523 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   7524 
   7525 # Define system-specific variables.
   7526 case $host_os in
   7527 aix*)
   7528   symcode='[BCDT]'
   7529   ;;
   7530 cygwin* | mingw* | windows* | pw32* | cegcc*)
   7531   symcode='[ABCDGISTW]'
   7532   ;;
   7533 hpux*)
   7534   if test ia64 = "$host_cpu"; then
   7535     symcode='[ABCDEGRST]'
   7536   fi
   7537   ;;
   7538 irix* | nonstopux*)
   7539   symcode='[BCDEGRST]'
   7540   ;;
   7541 osf*)
   7542   symcode='[BCDEGQRST]'
   7543   ;;
   7544 solaris*)
   7545   symcode='[BCDRT]'
   7546   ;;
   7547 sco3.2v5*)
   7548   symcode='[DT]'
   7549   ;;
   7550 sysv4.2uw2*)
   7551   symcode='[DT]'
   7552   ;;
   7553 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   7554   symcode='[ABDT]'
   7555   ;;
   7556 sysv4)
   7557   symcode='[DFNSTU]'
   7558   ;;
   7559 esac
   7560 
   7561 # If we're using GNU nm, then use its standard symbol codes.
   7562 case `$NM -V 2>&1` in
   7563 *GNU* | *'with BFD'*)
   7564   symcode='[ABCDGIRSTW]' ;;
   7565 esac
   7566 
   7567 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7568   # Gets list of data symbols to import.
   7569   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   7570   # Adjust the below global symbol transforms to fixup imported variables.
   7571   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   7572   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   7573   lt_c_name_lib_hook="\
   7574   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   7575   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   7576 else
   7577   # Disable hooks by default.
   7578   lt_cv_sys_global_symbol_to_import=
   7579   lt_cdecl_hook=
   7580   lt_c_name_hook=
   7581   lt_c_name_lib_hook=
   7582 fi
   7583 
   7584 # Transform an extracted symbol line into a proper C declaration.
   7585 # Some systems (esp. on ia64) link data and code symbols differently,
   7586 # so use this general approach.
   7587 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   7588 $lt_cdecl_hook\
   7589 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   7590 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   7591 
   7592 # Transform an extracted symbol line into symbol name and symbol address
   7593 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   7594 $lt_c_name_hook\
   7595 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7596 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   7597 
   7598 # Transform an extracted symbol line into symbol name with lib prefix and
   7599 # symbol address.
   7600 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   7601 $lt_c_name_lib_hook\
   7602 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7603 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   7604 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   7605 
   7606 # Handle CRLF in mingw tool chain
   7607 opt_cr=
   7608 case $build_os in
   7609 mingw* | windows*)
   7610   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7611   ;;
   7612 esac
   7613 
   7614 # Try without a prefix underscore, then with it.
   7615 for ac_symprfx in "" "_"; do
   7616 
   7617   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7618   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7619 
   7620   # Write the raw and C identifiers.
   7621   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7622     # Fake it for dumpbin and say T for any non-static function,
   7623     # D for any global variable and I for any imported variable.
   7624     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   7625     # which start with @ or ?.
   7626     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7627 "     {last_section=section; section=\$ 3};"\
   7628 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   7629 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7630 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   7631 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   7632 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   7633 "     \$ 0!~/External *\|/{next};"\
   7634 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7635 "     {if(hide[section]) next};"\
   7636 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   7637 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   7638 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   7639 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   7640 "     ' prfx=^$ac_symprfx"
   7641   else
   7642     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7643   fi
   7644   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   7645 
   7646   # Check to see that the pipe works correctly.
   7647   pipe_works=no
   7648 
   7649   rm -f conftest*
   7650   cat > conftest.$ac_ext <<_LT_EOF
   7651 #ifdef __cplusplus
   7652 extern "C" {
   7653 #endif
   7654 char nm_test_var;
   7655 void nm_test_func(void);
   7656 void nm_test_func(void){}
   7657 #ifdef __cplusplus
   7658 }
   7659 #endif
   7660 int main(void){nm_test_var='a';nm_test_func();return(0);}
   7661 _LT_EOF
   7662 
   7663   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7664   (eval $ac_compile) 2>&5
   7665   ac_status=$?
   7666   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7667   test $ac_status = 0; }; then
   7668     # Now try to grab the symbols.
   7669     nlist=conftest.nm
   7670     $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
   7671     if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
   7672       # Try sorting and uniquifying the output.
   7673       if sort "$nlist" | uniq > "$nlist"T; then
   7674 	mv -f "$nlist"T "$nlist"
   7675       else
   7676 	rm -f "$nlist"T
   7677       fi
   7678 
   7679       # Make sure that we snagged all the symbols we need.
   7680       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7681 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7682 	  cat <<_LT_EOF > conftest.$ac_ext
   7683 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   7684 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   7685 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   7686    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   7687 # define LT_DLSYM_CONST
   7688 #elif defined __osf__
   7689 /* This system does not cope well with relocations in const data.  */
   7690 # define LT_DLSYM_CONST
   7691 #else
   7692 # define LT_DLSYM_CONST const
   7693 #endif
   7694 
   7695 #ifdef __cplusplus
   7696 extern "C" {
   7697 #endif
   7698 
   7699 _LT_EOF
   7700 	  # Now generate the symbol file.
   7701 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7702 
   7703 	  cat <<_LT_EOF >> conftest.$ac_ext
   7704 
   7705 /* The mapping between symbol names and symbols.  */
   7706 LT_DLSYM_CONST struct {
   7707   const char *name;
   7708   void       *address;
   7709 }
   7710 lt__PROGRAM__LTX_preloaded_symbols[] =
   7711 {
   7712   { "@PROGRAM@", (void *) 0 },
   7713 _LT_EOF
   7714 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7715 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7716   {0, (void *) 0}
   7717 };
   7718 
   7719 /* This works around a problem in FreeBSD linker */
   7720 #ifdef FREEBSD_WORKAROUND
   7721 static const void *lt_preloaded_setup() {
   7722   return lt__PROGRAM__LTX_preloaded_symbols;
   7723 }
   7724 #endif
   7725 
   7726 #ifdef __cplusplus
   7727 }
   7728 #endif
   7729 _LT_EOF
   7730 	  # Now try linking the two files.
   7731 	  mv conftest.$ac_objext conftstm.$ac_objext
   7732 	  lt_globsym_save_LIBS=$LIBS
   7733 	  lt_globsym_save_CFLAGS=$CFLAGS
   7734 	  LIBS=conftstm.$ac_objext
   7735 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7736 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7737   (eval $ac_link) 2>&5
   7738   ac_status=$?
   7739   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7740   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   7741 	    pipe_works=yes
   7742 	  fi
   7743 	  LIBS=$lt_globsym_save_LIBS
   7744 	  CFLAGS=$lt_globsym_save_CFLAGS
   7745 	else
   7746 	  echo "cannot find nm_test_func in $nlist" >&5
   7747 	fi
   7748       else
   7749 	echo "cannot find nm_test_var in $nlist" >&5
   7750       fi
   7751     else
   7752       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7753     fi
   7754   else
   7755     echo "$progname: failed program was:" >&5
   7756     cat conftest.$ac_ext >&5
   7757   fi
   7758   rm -rf conftest* conftst*
   7759 
   7760   # Do not use the global_symbol_pipe unless it works.
   7761   if test yes = "$pipe_works"; then
   7762     break
   7763   else
   7764     lt_cv_sys_global_symbol_pipe=
   7765   fi
   7766 done
   7767  ;;
   7768 esac
   7769 fi
   7770 
   7771 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7772   lt_cv_sys_global_symbol_to_cdecl=
   7773 fi
   7774 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7775   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7776 printf "%s\n" "failed" >&6; }
   7777 else
   7778   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7779 printf "%s\n" "ok" >&6; }
   7780 fi
   7781 
   7782 # Response file support.
   7783 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7784   nm_file_list_spec='@'
   7785 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7786   nm_file_list_spec='@'
   7787 fi
   7788 
   7789 
   7790 
   7791 
   7792 
   7793 
   7794 
   7795 
   7796 
   7797 
   7798 
   7799 
   7800 
   7801 
   7802 
   7803 
   7804 
   7805 
   7806 
   7807 
   7808 
   7809 
   7810 
   7811 
   7812 
   7813 
   7814 
   7815 
   7816 
   7817 
   7818 
   7819 
   7820 
   7821 
   7822 
   7823 
   7824 
   7825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7826 printf %s "checking for sysroot... " >&6; }
   7827 
   7828 # Check whether --with-sysroot was given.
   7829 if test ${with_sysroot+y}
   7830 then :
   7831   withval=$with_sysroot;
   7832 else case e in #(
   7833   e) with_sysroot=no ;;
   7834 esac
   7835 fi
   7836 
   7837 
   7838 lt_sysroot=
   7839 case $with_sysroot in #(
   7840  yes)
   7841    if test yes = "$GCC"; then
   7842      # Trim trailing / since we'll always append absolute paths and we want
   7843      # to avoid //, if only for less confusing output for the user.
   7844      lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'`
   7845    fi
   7846    ;; #(
   7847  /*)
   7848    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   7849    ;; #(
   7850  no|'')
   7851    ;; #(
   7852  *)
   7853    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   7854 printf "%s\n" "$with_sysroot" >&6; }
   7855    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7856    ;;
   7857 esac
   7858 
   7859  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7860 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   7861 
   7862 
   7863 
   7864 
   7865 
   7866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   7867 printf %s "checking for a working dd... " >&6; }
   7868 if test ${ac_cv_path_lt_DD+y}
   7869 then :
   7870   printf %s "(cached) " >&6
   7871 else case e in #(
   7872   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   7873 cat conftest.i conftest.i >conftest2.i
   7874 : ${lt_DD:=$DD}
   7875 if test -z "$lt_DD"; then
   7876   ac_path_lt_DD_found=false
   7877   # Loop through the user's path and test for each of PROGNAME-LIST
   7878   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7879 for as_dir in $PATH
   7880 do
   7881   IFS=$as_save_IFS
   7882   case $as_dir in #(((
   7883     '') as_dir=./ ;;
   7884     */) ;;
   7885     *) as_dir=$as_dir/ ;;
   7886   esac
   7887     for ac_prog in dd
   7888    do
   7889     for ac_exec_ext in '' $ac_executable_extensions; do
   7890       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   7891       as_fn_executable_p "$ac_path_lt_DD" || continue
   7892 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7893   cmp -s conftest.i conftest.out \
   7894   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   7895 fi
   7896       $ac_path_lt_DD_found && break 3
   7897     done
   7898   done
   7899   done
   7900 IFS=$as_save_IFS
   7901   if test -z "$ac_cv_path_lt_DD"; then
   7902     :
   7903   fi
   7904 else
   7905   ac_cv_path_lt_DD=$lt_DD
   7906 fi
   7907 
   7908 rm -f conftest.i conftest2.i conftest.out ;;
   7909 esac
   7910 fi
   7911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   7912 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   7913 
   7914 
   7915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   7916 printf %s "checking how to truncate binary pipes... " >&6; }
   7917 if test ${lt_cv_truncate_bin+y}
   7918 then :
   7919   printf %s "(cached) " >&6
   7920 else case e in #(
   7921   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   7922 cat conftest.i conftest.i >conftest2.i
   7923 lt_cv_truncate_bin=
   7924 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7925   cmp -s conftest.i conftest.out \
   7926   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   7927 fi
   7928 rm -f conftest.i conftest2.i conftest.out
   7929 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;;
   7930 esac
   7931 fi
   7932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   7933 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   7934 
   7935 
   7936 
   7937 
   7938 
   7939 
   7940 
   7941 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   7942 func_cc_basename ()
   7943 {
   7944     for cc_temp in $*""; do
   7945       case $cc_temp in
   7946         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7947         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7948         \-*) ;;
   7949         *) break;;
   7950       esac
   7951     done
   7952     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7953 }
   7954 
   7955 # Check whether --enable-libtool-lock was given.
   7956 if test ${enable_libtool_lock+y}
   7957 then :
   7958   enableval=$enable_libtool_lock;
   7959 fi
   7960 
   7961 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   7962 
   7963 # Some flags need to be propagated to the compiler or linker for good
   7964 # libtool support.
   7965 case $host in
   7966 ia64-*-hpux*)
   7967   # Find out what ABI is being produced by ac_compile, and set mode
   7968   # options accordingly.
   7969   echo 'int i;' > conftest.$ac_ext
   7970   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7971   (eval $ac_compile) 2>&5
   7972   ac_status=$?
   7973   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7974   test $ac_status = 0; }; then
   7975     case `$FILECMD conftest.$ac_objext` in
   7976       *ELF-32*)
   7977 	HPUX_IA64_MODE=32
   7978 	;;
   7979       *ELF-64*)
   7980 	HPUX_IA64_MODE=64
   7981 	;;
   7982     esac
   7983   fi
   7984   rm -rf conftest*
   7985   ;;
   7986 *-*-irix6*)
   7987   # Find out what ABI is being produced by ac_compile, and set linker
   7988   # options accordingly.
   7989   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7990   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7991   (eval $ac_compile) 2>&5
   7992   ac_status=$?
   7993   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7994   test $ac_status = 0; }; then
   7995     if test yes = "$lt_cv_prog_gnu_ld"; then
   7996       case `$FILECMD conftest.$ac_objext` in
   7997 	*32-bit*)
   7998 	  LD="${LD-ld} -melf32bsmip"
   7999 	  ;;
   8000 	*N32*)
   8001 	  LD="${LD-ld} -melf32bmipn32"
   8002 	  ;;
   8003 	*64-bit*)
   8004 	  LD="${LD-ld} -melf64bmip"
   8005 	;;
   8006       esac
   8007     else
   8008       case `$FILECMD conftest.$ac_objext` in
   8009 	*32-bit*)
   8010 	  LD="${LD-ld} -32"
   8011 	  ;;
   8012 	*N32*)
   8013 	  LD="${LD-ld} -n32"
   8014 	  ;;
   8015 	*64-bit*)
   8016 	  LD="${LD-ld} -64"
   8017 	  ;;
   8018       esac
   8019     fi
   8020   fi
   8021   rm -rf conftest*
   8022   ;;
   8023 
   8024 mips64*-*linux*)
   8025   # Find out what ABI is being produced by ac_compile, and set linker
   8026   # options accordingly.
   8027   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   8028   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8029   (eval $ac_compile) 2>&5
   8030   ac_status=$?
   8031   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8032   test $ac_status = 0; }; then
   8033     emul=elf
   8034     case `$FILECMD conftest.$ac_objext` in
   8035       *32-bit*)
   8036 	emul="${emul}32"
   8037 	;;
   8038       *64-bit*)
   8039 	emul="${emul}64"
   8040 	;;
   8041     esac
   8042     case `$FILECMD conftest.$ac_objext` in
   8043       *MSB*)
   8044 	emul="${emul}btsmip"
   8045 	;;
   8046       *LSB*)
   8047 	emul="${emul}ltsmip"
   8048 	;;
   8049     esac
   8050     case `$FILECMD conftest.$ac_objext` in
   8051       *N32*)
   8052 	emul="${emul}n32"
   8053 	;;
   8054     esac
   8055     LD="${LD-ld} -m $emul"
   8056   fi
   8057   rm -rf conftest*
   8058   ;;
   8059 
   8060 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   8061 s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*)
   8062   # Find out what ABI is being produced by ac_compile, and set linker
   8063   # options accordingly.  Note that the listed cases only cover the
   8064   # situations where additional linker options are needed (such as when
   8065   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   8066   # vice versa); the common cases where no linker options are needed do
   8067   # not appear in the list.
   8068   echo 'int i;' > conftest.$ac_ext
   8069   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8070   (eval $ac_compile) 2>&5
   8071   ac_status=$?
   8072   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8073   test $ac_status = 0; }; then
   8074     case `$FILECMD conftest.o` in
   8075       *32-bit*)
   8076 	case $host in
   8077 	  x86_64-*kfreebsd*-gnu)
   8078 	    LD="${LD-ld} -m elf_i386_fbsd"
   8079 	    ;;
   8080 	  x86_64-*linux*|x86_64-gnu*)
   8081 	    case `$FILECMD conftest.o` in
   8082 	      *x86-64*)
   8083 		LD="${LD-ld} -m elf32_x86_64"
   8084 		;;
   8085 	      *)
   8086 		LD="${LD-ld} -m elf_i386"
   8087 		;;
   8088 	    esac
   8089 	    ;;
   8090 	  powerpc64le-*linux*)
   8091 	    LD="${LD-ld} -m elf32lppclinux"
   8092 	    ;;
   8093 	  powerpc64-*linux*)
   8094 	    LD="${LD-ld} -m elf32ppclinux"
   8095 	    ;;
   8096 	  s390x-*linux*)
   8097 	    LD="${LD-ld} -m elf_s390"
   8098 	    ;;
   8099 	  sparc64-*linux*)
   8100 	    LD="${LD-ld} -m elf32_sparc"
   8101 	    ;;
   8102 	esac
   8103 	;;
   8104       *64-bit*)
   8105 	case $host in
   8106 	  x86_64-*kfreebsd*-gnu)
   8107 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   8108 	    ;;
   8109 	  x86_64-*linux*|x86_64-gnu*)
   8110 	    LD="${LD-ld} -m elf_x86_64"
   8111 	    ;;
   8112 	  powerpcle-*linux*)
   8113 	    LD="${LD-ld} -m elf64lppc"
   8114 	    ;;
   8115 	  powerpc-*linux*)
   8116 	    LD="${LD-ld} -m elf64ppc"
   8117 	    ;;
   8118 	  s390*-*linux*|s390*-*tpf*)
   8119 	    LD="${LD-ld} -m elf64_s390"
   8120 	    ;;
   8121 	  sparc*-*linux*)
   8122 	    LD="${LD-ld} -m elf64_sparc"
   8123 	    ;;
   8124 	esac
   8125 	;;
   8126     esac
   8127   fi
   8128   rm -rf conftest*
   8129   ;;
   8130 
   8131 *-*-sco3.2v5*)
   8132   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   8133   SAVE_CFLAGS=$CFLAGS
   8134   CFLAGS="$CFLAGS -belf"
   8135   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   8136 printf %s "checking whether the C compiler needs -belf... " >&6; }
   8137 if test ${lt_cv_cc_needs_belf+y}
   8138 then :
   8139   printf %s "(cached) " >&6
   8140 else case e in #(
   8141   e) ac_ext=c
   8142 ac_cpp='$CPP $CPPFLAGS'
   8143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8146 
   8147      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8148 /* end confdefs.h.  */
   8149 
   8150 int
   8151 main (void)
   8152 {
   8153 
   8154   ;
   8155   return 0;
   8156 }
   8157 _ACEOF
   8158 if ac_fn_c_try_link "$LINENO"
   8159 then :
   8160   lt_cv_cc_needs_belf=yes
   8161 else case e in #(
   8162   e) lt_cv_cc_needs_belf=no ;;
   8163 esac
   8164 fi
   8165 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8166     conftest$ac_exeext conftest.$ac_ext
   8167      ac_ext=c
   8168 ac_cpp='$CPP $CPPFLAGS'
   8169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8172  ;;
   8173 esac
   8174 fi
   8175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   8176 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   8177   if test yes != "$lt_cv_cc_needs_belf"; then
   8178     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   8179     CFLAGS=$SAVE_CFLAGS
   8180   fi
   8181   ;;
   8182 *-*solaris*)
   8183   # Find out what ABI is being produced by ac_compile, and set linker
   8184   # options accordingly.
   8185   echo 'int i;' > conftest.$ac_ext
   8186   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8187   (eval $ac_compile) 2>&5
   8188   ac_status=$?
   8189   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8190   test $ac_status = 0; }; then
   8191     case `$FILECMD conftest.o` in
   8192     *64-bit*)
   8193       case $lt_cv_prog_gnu_ld in
   8194       yes*)
   8195         case $host in
   8196         i?86-*-solaris*|x86_64-*-solaris*)
   8197           LD="${LD-ld} -m elf_x86_64"
   8198           ;;
   8199         sparc*-*-solaris*)
   8200           LD="${LD-ld} -m elf64_sparc"
   8201           ;;
   8202         esac
   8203         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   8204         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   8205           LD=${LD-ld}_sol2
   8206         fi
   8207         ;;
   8208       *)
   8209 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   8210 	  LD="${LD-ld} -64"
   8211 	fi
   8212 	;;
   8213       esac
   8214       ;;
   8215     esac
   8216   fi
   8217   rm -rf conftest*
   8218   ;;
   8219 esac
   8220 
   8221 need_locks=$enable_libtool_lock
   8222 
   8223 if test -n "$ac_tool_prefix"; then
   8224   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   8225 set dummy ${ac_tool_prefix}mt; ac_word=$2
   8226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8227 printf %s "checking for $ac_word... " >&6; }
   8228 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   8229 then :
   8230   printf %s "(cached) " >&6
   8231 else case e in #(
   8232   e) if test -n "$MANIFEST_TOOL"; then
   8233   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   8234 else
   8235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8236 for as_dir in $PATH
   8237 do
   8238   IFS=$as_save_IFS
   8239   case $as_dir in #(((
   8240     '') as_dir=./ ;;
   8241     */) ;;
   8242     *) as_dir=$as_dir/ ;;
   8243   esac
   8244     for ac_exec_ext in '' $ac_executable_extensions; do
   8245   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8246     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   8247     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8248     break 2
   8249   fi
   8250 done
   8251   done
   8252 IFS=$as_save_IFS
   8253 
   8254 fi ;;
   8255 esac
   8256 fi
   8257 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   8258 if test -n "$MANIFEST_TOOL"; then
   8259   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   8260 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   8261 else
   8262   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8263 printf "%s\n" "no" >&6; }
   8264 fi
   8265 
   8266 
   8267 fi
   8268 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   8269   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   8270   # Extract the first word of "mt", so it can be a program name with args.
   8271 set dummy mt; ac_word=$2
   8272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8273 printf %s "checking for $ac_word... " >&6; }
   8274 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   8275 then :
   8276   printf %s "(cached) " >&6
   8277 else case e in #(
   8278   e) if test -n "$ac_ct_MANIFEST_TOOL"; then
   8279   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   8280 else
   8281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8282 for as_dir in $PATH
   8283 do
   8284   IFS=$as_save_IFS
   8285   case $as_dir in #(((
   8286     '') as_dir=./ ;;
   8287     */) ;;
   8288     *) as_dir=$as_dir/ ;;
   8289   esac
   8290     for ac_exec_ext in '' $ac_executable_extensions; do
   8291   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8292     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   8293     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8294     break 2
   8295   fi
   8296 done
   8297   done
   8298 IFS=$as_save_IFS
   8299 
   8300 fi ;;
   8301 esac
   8302 fi
   8303 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   8304 if test -n "$ac_ct_MANIFEST_TOOL"; then
   8305   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   8306 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   8307 else
   8308   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8309 printf "%s\n" "no" >&6; }
   8310 fi
   8311 
   8312   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   8313     MANIFEST_TOOL=":"
   8314   else
   8315     case $cross_compiling:$ac_tool_warned in
   8316 yes:)
   8317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8318 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8319 ac_tool_warned=yes ;;
   8320 esac
   8321     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   8322   fi
   8323 else
   8324   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   8325 fi
   8326 
   8327 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   8328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   8329 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   8330 if test ${lt_cv_path_manifest_tool+y}
   8331 then :
   8332   printf %s "(cached) " >&6
   8333 else case e in #(
   8334   e) lt_cv_path_manifest_tool=no
   8335   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   8336   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   8337   cat conftest.err >&5
   8338   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   8339     lt_cv_path_manifest_tool=yes
   8340   fi
   8341   rm -f conftest* ;;
   8342 esac
   8343 fi
   8344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_manifest_tool" >&5
   8345 printf "%s\n" "$lt_cv_path_manifest_tool" >&6; }
   8346 if test yes != "$lt_cv_path_manifest_tool"; then
   8347   MANIFEST_TOOL=:
   8348 fi
   8349 
   8350 
   8351 
   8352 
   8353 
   8354 
   8355   case $host_os in
   8356     rhapsody* | darwin*)
   8357     if test -n "$ac_tool_prefix"; then
   8358   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   8359 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   8360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8361 printf %s "checking for $ac_word... " >&6; }
   8362 if test ${ac_cv_prog_DSYMUTIL+y}
   8363 then :
   8364   printf %s "(cached) " >&6
   8365 else case e in #(
   8366   e) if test -n "$DSYMUTIL"; then
   8367   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   8368 else
   8369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8370 for as_dir in $PATH
   8371 do
   8372   IFS=$as_save_IFS
   8373   case $as_dir in #(((
   8374     '') as_dir=./ ;;
   8375     */) ;;
   8376     *) as_dir=$as_dir/ ;;
   8377   esac
   8378     for ac_exec_ext in '' $ac_executable_extensions; do
   8379   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8380     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   8381     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8382     break 2
   8383   fi
   8384 done
   8385   done
   8386 IFS=$as_save_IFS
   8387 
   8388 fi ;;
   8389 esac
   8390 fi
   8391 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   8392 if test -n "$DSYMUTIL"; then
   8393   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   8394 printf "%s\n" "$DSYMUTIL" >&6; }
   8395 else
   8396   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8397 printf "%s\n" "no" >&6; }
   8398 fi
   8399 
   8400 
   8401 fi
   8402 if test -z "$ac_cv_prog_DSYMUTIL"; then
   8403   ac_ct_DSYMUTIL=$DSYMUTIL
   8404   # Extract the first word of "dsymutil", so it can be a program name with args.
   8405 set dummy dsymutil; ac_word=$2
   8406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8407 printf %s "checking for $ac_word... " >&6; }
   8408 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   8409 then :
   8410   printf %s "(cached) " >&6
   8411 else case e in #(
   8412   e) if test -n "$ac_ct_DSYMUTIL"; then
   8413   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   8414 else
   8415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8416 for as_dir in $PATH
   8417 do
   8418   IFS=$as_save_IFS
   8419   case $as_dir in #(((
   8420     '') as_dir=./ ;;
   8421     */) ;;
   8422     *) as_dir=$as_dir/ ;;
   8423   esac
   8424     for ac_exec_ext in '' $ac_executable_extensions; do
   8425   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8426     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   8427     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8428     break 2
   8429   fi
   8430 done
   8431   done
   8432 IFS=$as_save_IFS
   8433 
   8434 fi ;;
   8435 esac
   8436 fi
   8437 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   8438 if test -n "$ac_ct_DSYMUTIL"; then
   8439   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   8440 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   8441 else
   8442   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8443 printf "%s\n" "no" >&6; }
   8444 fi
   8445 
   8446   if test "x$ac_ct_DSYMUTIL" = x; then
   8447     DSYMUTIL=":"
   8448   else
   8449     case $cross_compiling:$ac_tool_warned in
   8450 yes:)
   8451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8452 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8453 ac_tool_warned=yes ;;
   8454 esac
   8455     DSYMUTIL=$ac_ct_DSYMUTIL
   8456   fi
   8457 else
   8458   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   8459 fi
   8460 
   8461     if test -n "$ac_tool_prefix"; then
   8462   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   8463 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   8464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8465 printf %s "checking for $ac_word... " >&6; }
   8466 if test ${ac_cv_prog_NMEDIT+y}
   8467 then :
   8468   printf %s "(cached) " >&6
   8469 else case e in #(
   8470   e) if test -n "$NMEDIT"; then
   8471   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   8472 else
   8473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8474 for as_dir in $PATH
   8475 do
   8476   IFS=$as_save_IFS
   8477   case $as_dir in #(((
   8478     '') as_dir=./ ;;
   8479     */) ;;
   8480     *) as_dir=$as_dir/ ;;
   8481   esac
   8482     for ac_exec_ext in '' $ac_executable_extensions; do
   8483   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8484     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   8485     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8486     break 2
   8487   fi
   8488 done
   8489   done
   8490 IFS=$as_save_IFS
   8491 
   8492 fi ;;
   8493 esac
   8494 fi
   8495 NMEDIT=$ac_cv_prog_NMEDIT
   8496 if test -n "$NMEDIT"; then
   8497   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   8498 printf "%s\n" "$NMEDIT" >&6; }
   8499 else
   8500   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8501 printf "%s\n" "no" >&6; }
   8502 fi
   8503 
   8504 
   8505 fi
   8506 if test -z "$ac_cv_prog_NMEDIT"; then
   8507   ac_ct_NMEDIT=$NMEDIT
   8508   # Extract the first word of "nmedit", so it can be a program name with args.
   8509 set dummy nmedit; ac_word=$2
   8510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8511 printf %s "checking for $ac_word... " >&6; }
   8512 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   8513 then :
   8514   printf %s "(cached) " >&6
   8515 else case e in #(
   8516   e) if test -n "$ac_ct_NMEDIT"; then
   8517   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   8518 else
   8519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8520 for as_dir in $PATH
   8521 do
   8522   IFS=$as_save_IFS
   8523   case $as_dir in #(((
   8524     '') as_dir=./ ;;
   8525     */) ;;
   8526     *) as_dir=$as_dir/ ;;
   8527   esac
   8528     for ac_exec_ext in '' $ac_executable_extensions; do
   8529   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8530     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   8531     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8532     break 2
   8533   fi
   8534 done
   8535   done
   8536 IFS=$as_save_IFS
   8537 
   8538 fi ;;
   8539 esac
   8540 fi
   8541 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   8542 if test -n "$ac_ct_NMEDIT"; then
   8543   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   8544 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   8545 else
   8546   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8547 printf "%s\n" "no" >&6; }
   8548 fi
   8549 
   8550   if test "x$ac_ct_NMEDIT" = x; then
   8551     NMEDIT=":"
   8552   else
   8553     case $cross_compiling:$ac_tool_warned in
   8554 yes:)
   8555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8556 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8557 ac_tool_warned=yes ;;
   8558 esac
   8559     NMEDIT=$ac_ct_NMEDIT
   8560   fi
   8561 else
   8562   NMEDIT="$ac_cv_prog_NMEDIT"
   8563 fi
   8564 
   8565     if test -n "$ac_tool_prefix"; then
   8566   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   8567 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   8568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8569 printf %s "checking for $ac_word... " >&6; }
   8570 if test ${ac_cv_prog_LIPO+y}
   8571 then :
   8572   printf %s "(cached) " >&6
   8573 else case e in #(
   8574   e) if test -n "$LIPO"; then
   8575   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8576 else
   8577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8578 for as_dir in $PATH
   8579 do
   8580   IFS=$as_save_IFS
   8581   case $as_dir in #(((
   8582     '') as_dir=./ ;;
   8583     */) ;;
   8584     *) as_dir=$as_dir/ ;;
   8585   esac
   8586     for ac_exec_ext in '' $ac_executable_extensions; do
   8587   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8588     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   8589     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8590     break 2
   8591   fi
   8592 done
   8593   done
   8594 IFS=$as_save_IFS
   8595 
   8596 fi ;;
   8597 esac
   8598 fi
   8599 LIPO=$ac_cv_prog_LIPO
   8600 if test -n "$LIPO"; then
   8601   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8602 printf "%s\n" "$LIPO" >&6; }
   8603 else
   8604   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8605 printf "%s\n" "no" >&6; }
   8606 fi
   8607 
   8608 
   8609 fi
   8610 if test -z "$ac_cv_prog_LIPO"; then
   8611   ac_ct_LIPO=$LIPO
   8612   # Extract the first word of "lipo", so it can be a program name with args.
   8613 set dummy lipo; ac_word=$2
   8614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8615 printf %s "checking for $ac_word... " >&6; }
   8616 if test ${ac_cv_prog_ac_ct_LIPO+y}
   8617 then :
   8618   printf %s "(cached) " >&6
   8619 else case e in #(
   8620   e) if test -n "$ac_ct_LIPO"; then
   8621   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   8622 else
   8623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8624 for as_dir in $PATH
   8625 do
   8626   IFS=$as_save_IFS
   8627   case $as_dir in #(((
   8628     '') as_dir=./ ;;
   8629     */) ;;
   8630     *) as_dir=$as_dir/ ;;
   8631   esac
   8632     for ac_exec_ext in '' $ac_executable_extensions; do
   8633   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8634     ac_cv_prog_ac_ct_LIPO="lipo"
   8635     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8636     break 2
   8637   fi
   8638 done
   8639   done
   8640 IFS=$as_save_IFS
   8641 
   8642 fi ;;
   8643 esac
   8644 fi
   8645 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   8646 if test -n "$ac_ct_LIPO"; then
   8647   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   8648 printf "%s\n" "$ac_ct_LIPO" >&6; }
   8649 else
   8650   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8651 printf "%s\n" "no" >&6; }
   8652 fi
   8653 
   8654   if test "x$ac_ct_LIPO" = x; then
   8655     LIPO=":"
   8656   else
   8657     case $cross_compiling:$ac_tool_warned in
   8658 yes:)
   8659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8660 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8661 ac_tool_warned=yes ;;
   8662 esac
   8663     LIPO=$ac_ct_LIPO
   8664   fi
   8665 else
   8666   LIPO="$ac_cv_prog_LIPO"
   8667 fi
   8668 
   8669     if test -n "$ac_tool_prefix"; then
   8670   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   8671 set dummy ${ac_tool_prefix}otool; ac_word=$2
   8672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8673 printf %s "checking for $ac_word... " >&6; }
   8674 if test ${ac_cv_prog_OTOOL+y}
   8675 then :
   8676   printf %s "(cached) " >&6
   8677 else case e in #(
   8678   e) if test -n "$OTOOL"; then
   8679   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   8680 else
   8681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8682 for as_dir in $PATH
   8683 do
   8684   IFS=$as_save_IFS
   8685   case $as_dir in #(((
   8686     '') as_dir=./ ;;
   8687     */) ;;
   8688     *) as_dir=$as_dir/ ;;
   8689   esac
   8690     for ac_exec_ext in '' $ac_executable_extensions; do
   8691   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8692     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   8693     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8694     break 2
   8695   fi
   8696 done
   8697   done
   8698 IFS=$as_save_IFS
   8699 
   8700 fi ;;
   8701 esac
   8702 fi
   8703 OTOOL=$ac_cv_prog_OTOOL
   8704 if test -n "$OTOOL"; then
   8705   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   8706 printf "%s\n" "$OTOOL" >&6; }
   8707 else
   8708   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8709 printf "%s\n" "no" >&6; }
   8710 fi
   8711 
   8712 
   8713 fi
   8714 if test -z "$ac_cv_prog_OTOOL"; then
   8715   ac_ct_OTOOL=$OTOOL
   8716   # Extract the first word of "otool", so it can be a program name with args.
   8717 set dummy otool; ac_word=$2
   8718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8719 printf %s "checking for $ac_word... " >&6; }
   8720 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   8721 then :
   8722   printf %s "(cached) " >&6
   8723 else case e in #(
   8724   e) if test -n "$ac_ct_OTOOL"; then
   8725   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8726 else
   8727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8728 for as_dir in $PATH
   8729 do
   8730   IFS=$as_save_IFS
   8731   case $as_dir in #(((
   8732     '') as_dir=./ ;;
   8733     */) ;;
   8734     *) as_dir=$as_dir/ ;;
   8735   esac
   8736     for ac_exec_ext in '' $ac_executable_extensions; do
   8737   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8738     ac_cv_prog_ac_ct_OTOOL="otool"
   8739     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8740     break 2
   8741   fi
   8742 done
   8743   done
   8744 IFS=$as_save_IFS
   8745 
   8746 fi ;;
   8747 esac
   8748 fi
   8749 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8750 if test -n "$ac_ct_OTOOL"; then
   8751   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8752 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   8753 else
   8754   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8755 printf "%s\n" "no" >&6; }
   8756 fi
   8757 
   8758   if test "x$ac_ct_OTOOL" = x; then
   8759     OTOOL=":"
   8760   else
   8761     case $cross_compiling:$ac_tool_warned in
   8762 yes:)
   8763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8764 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8765 ac_tool_warned=yes ;;
   8766 esac
   8767     OTOOL=$ac_ct_OTOOL
   8768   fi
   8769 else
   8770   OTOOL="$ac_cv_prog_OTOOL"
   8771 fi
   8772 
   8773     if test -n "$ac_tool_prefix"; then
   8774   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8775 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8777 printf %s "checking for $ac_word... " >&6; }
   8778 if test ${ac_cv_prog_OTOOL64+y}
   8779 then :
   8780   printf %s "(cached) " >&6
   8781 else case e in #(
   8782   e) if test -n "$OTOOL64"; then
   8783   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8784 else
   8785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8786 for as_dir in $PATH
   8787 do
   8788   IFS=$as_save_IFS
   8789   case $as_dir in #(((
   8790     '') as_dir=./ ;;
   8791     */) ;;
   8792     *) as_dir=$as_dir/ ;;
   8793   esac
   8794     for ac_exec_ext in '' $ac_executable_extensions; do
   8795   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8796     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8797     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8798     break 2
   8799   fi
   8800 done
   8801   done
   8802 IFS=$as_save_IFS
   8803 
   8804 fi ;;
   8805 esac
   8806 fi
   8807 OTOOL64=$ac_cv_prog_OTOOL64
   8808 if test -n "$OTOOL64"; then
   8809   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8810 printf "%s\n" "$OTOOL64" >&6; }
   8811 else
   8812   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8813 printf "%s\n" "no" >&6; }
   8814 fi
   8815 
   8816 
   8817 fi
   8818 if test -z "$ac_cv_prog_OTOOL64"; then
   8819   ac_ct_OTOOL64=$OTOOL64
   8820   # Extract the first word of "otool64", so it can be a program name with args.
   8821 set dummy otool64; ac_word=$2
   8822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8823 printf %s "checking for $ac_word... " >&6; }
   8824 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   8825 then :
   8826   printf %s "(cached) " >&6
   8827 else case e in #(
   8828   e) if test -n "$ac_ct_OTOOL64"; then
   8829   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8830 else
   8831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8832 for as_dir in $PATH
   8833 do
   8834   IFS=$as_save_IFS
   8835   case $as_dir in #(((
   8836     '') as_dir=./ ;;
   8837     */) ;;
   8838     *) as_dir=$as_dir/ ;;
   8839   esac
   8840     for ac_exec_ext in '' $ac_executable_extensions; do
   8841   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8842     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8843     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8844     break 2
   8845   fi
   8846 done
   8847   done
   8848 IFS=$as_save_IFS
   8849 
   8850 fi ;;
   8851 esac
   8852 fi
   8853 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8854 if test -n "$ac_ct_OTOOL64"; then
   8855   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8856 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   8857 else
   8858   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8859 printf "%s\n" "no" >&6; }
   8860 fi
   8861 
   8862   if test "x$ac_ct_OTOOL64" = x; then
   8863     OTOOL64=":"
   8864   else
   8865     case $cross_compiling:$ac_tool_warned in
   8866 yes:)
   8867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8868 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8869 ac_tool_warned=yes ;;
   8870 esac
   8871     OTOOL64=$ac_ct_OTOOL64
   8872   fi
   8873 else
   8874   OTOOL64="$ac_cv_prog_OTOOL64"
   8875 fi
   8876 
   8877 
   8878 
   8879 
   8880 
   8881 
   8882 
   8883 
   8884 
   8885 
   8886 
   8887 
   8888 
   8889 
   8890 
   8891 
   8892 
   8893 
   8894 
   8895 
   8896 
   8897 
   8898 
   8899 
   8900 
   8901 
   8902 
   8903     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8904 printf %s "checking for -single_module linker flag... " >&6; }
   8905 if test ${lt_cv_apple_cc_single_mod+y}
   8906 then :
   8907   printf %s "(cached) " >&6
   8908 else case e in #(
   8909   e) lt_cv_apple_cc_single_mod=no
   8910       if test -z "$LT_MULTI_MODULE"; then
   8911 	# By default we will add the -single_module flag. You can override
   8912 	# by either setting the environment variable LT_MULTI_MODULE
   8913 	# non-empty at configure time, or by adding -multi_module to the
   8914 	# link flags.
   8915 	rm -rf libconftest.dylib*
   8916 	echo "int foo(void){return 1;}" > conftest.c
   8917 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8918 -dynamiclib -Wl,-single_module conftest.c" >&5
   8919 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8920 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8921         _lt_result=$?
   8922 	# If there is a non-empty error log, and "single_module"
   8923 	# appears in it, assume the flag caused a linker warning
   8924         if test -s conftest.err && $GREP single_module conftest.err; then
   8925 	  cat conftest.err >&5
   8926 	# Otherwise, if the output was created with a 0 exit code from
   8927 	# the compiler, it worked.
   8928 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   8929 	  lt_cv_apple_cc_single_mod=yes
   8930 	else
   8931 	  cat conftest.err >&5
   8932 	fi
   8933 	rm -rf libconftest.dylib*
   8934 	rm -f conftest.*
   8935       fi ;;
   8936 esac
   8937 fi
   8938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8939 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   8940 
   8941     # Feature test to disable chained fixups since it is not
   8942     # compatible with '-undefined dynamic_lookup'
   8943     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -no_fixup_chains linker flag" >&5
   8944 printf %s "checking for -no_fixup_chains linker flag... " >&6; }
   8945 if test ${lt_cv_support_no_fixup_chains+y}
   8946 then :
   8947   printf %s "(cached) " >&6
   8948 else case e in #(
   8949   e)  save_LDFLAGS=$LDFLAGS
   8950         LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains"
   8951         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8952 /* end confdefs.h.  */
   8953 
   8954 int
   8955 main (void)
   8956 {
   8957 
   8958   ;
   8959   return 0;
   8960 }
   8961 _ACEOF
   8962 if ac_fn_c_try_link "$LINENO"
   8963 then :
   8964   lt_cv_support_no_fixup_chains=yes
   8965 else case e in #(
   8966   e) lt_cv_support_no_fixup_chains=no
   8967          ;;
   8968 esac
   8969 fi
   8970 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8971     conftest$ac_exeext conftest.$ac_ext
   8972         LDFLAGS=$save_LDFLAGS
   8973 
   8974      ;;
   8975 esac
   8976 fi
   8977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_support_no_fixup_chains" >&5
   8978 printf "%s\n" "$lt_cv_support_no_fixup_chains" >&6; }
   8979 
   8980     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8981 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   8982 if test ${lt_cv_ld_exported_symbols_list+y}
   8983 then :
   8984   printf %s "(cached) " >&6
   8985 else case e in #(
   8986   e) lt_cv_ld_exported_symbols_list=no
   8987       save_LDFLAGS=$LDFLAGS
   8988       echo "_main" > conftest.sym
   8989       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8990       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8991 /* end confdefs.h.  */
   8992 
   8993 int
   8994 main (void)
   8995 {
   8996 
   8997   ;
   8998   return 0;
   8999 }
   9000 _ACEOF
   9001 if ac_fn_c_try_link "$LINENO"
   9002 then :
   9003   lt_cv_ld_exported_symbols_list=yes
   9004 else case e in #(
   9005   e) lt_cv_ld_exported_symbols_list=no ;;
   9006 esac
   9007 fi
   9008 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9009     conftest$ac_exeext conftest.$ac_ext
   9010 	LDFLAGS=$save_LDFLAGS
   9011      ;;
   9012 esac
   9013 fi
   9014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   9015 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   9016 
   9017     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   9018 printf %s "checking for -force_load linker flag... " >&6; }
   9019 if test ${lt_cv_ld_force_load+y}
   9020 then :
   9021   printf %s "(cached) " >&6
   9022 else case e in #(
   9023   e) lt_cv_ld_force_load=no
   9024       cat > conftest.c << _LT_EOF
   9025 int forced_loaded() { return 2;}
   9026 _LT_EOF
   9027       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   9028       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   9029       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   9030       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   9031       echo "$RANLIB libconftest.a" >&5
   9032       $RANLIB libconftest.a 2>&5
   9033       cat > conftest.c << _LT_EOF
   9034 int main(void) { return 0;}
   9035 _LT_EOF
   9036       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   9037       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   9038       _lt_result=$?
   9039       if test -s conftest.err && $GREP force_load conftest.err; then
   9040 	cat conftest.err >&5
   9041       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   9042 	lt_cv_ld_force_load=yes
   9043       else
   9044 	cat conftest.err >&5
   9045       fi
   9046         rm -f conftest.err libconftest.a conftest conftest.c
   9047         rm -rf conftest.dSYM
   9048      ;;
   9049 esac
   9050 fi
   9051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   9052 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   9053     case $host_os in
   9054     rhapsody* | darwin1.[012])
   9055       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   9056     darwin1.*)
   9057       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   9058     darwin*)
   9059       case $MACOSX_DEPLOYMENT_TARGET,$host in
   9060         10.[012],*|,*powerpc*-darwin[5-8]*)
   9061           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   9062         *)
   9063           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup'
   9064           if test yes = "$lt_cv_support_no_fixup_chains"; then
   9065             as_fn_append _lt_dar_allow_undefined ' $wl-no_fixup_chains'
   9066           fi
   9067         ;;
   9068       esac
   9069     ;;
   9070   esac
   9071     if test yes = "$lt_cv_apple_cc_single_mod"; then
   9072       _lt_dar_single_mod='$single_module'
   9073     fi
   9074     _lt_dar_needs_single_mod=no
   9075     case $host_os in
   9076     rhapsody* | darwin1.*)
   9077       _lt_dar_needs_single_mod=yes ;;
   9078     darwin*)
   9079       # When targeting Mac OS X 10.4 (darwin 8) or later,
   9080       # -single_module is the default and -multi_module is unsupported.
   9081       # The toolchain on macOS 10.14 (darwin 18) and later cannot
   9082       # target any OS version that needs -single_module.
   9083       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   9084       10.0,*-darwin[567].*|10.[0-3],*-darwin[5-9].*|10.[0-3],*-darwin1[0-7].*)
   9085         _lt_dar_needs_single_mod=yes ;;
   9086       esac
   9087     ;;
   9088     esac
   9089     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   9090       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   9091     else
   9092       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   9093     fi
   9094     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   9095       _lt_dsymutil='~$DSYMUTIL $lib || :'
   9096     else
   9097       _lt_dsymutil=
   9098     fi
   9099     ;;
   9100   esac
   9101 
   9102 # func_munge_path_list VARIABLE PATH
   9103 # -----------------------------------
   9104 # VARIABLE is name of variable containing _space_ separated list of
   9105 # directories to be munged by the contents of PATH, which is string
   9106 # having a format:
   9107 # "DIR[:DIR]:"
   9108 #       string "DIR[ DIR]" will be prepended to VARIABLE
   9109 # ":DIR[:DIR]"
   9110 #       string "DIR[ DIR]" will be appended to VARIABLE
   9111 # "DIRP[:DIRP]::[DIRA:]DIRA"
   9112 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   9113 #       "DIRA[ DIRA]" will be appended to VARIABLE
   9114 # "DIR[:DIR]"
   9115 #       VARIABLE will be replaced by "DIR[ DIR]"
   9116 func_munge_path_list ()
   9117 {
   9118     case x$2 in
   9119     x)
   9120         ;;
   9121     *:)
   9122         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   9123         ;;
   9124     x:*)
   9125         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   9126         ;;
   9127     *::*)
   9128         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   9129         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   9130         ;;
   9131     *)
   9132         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   9133         ;;
   9134     esac
   9135 }
   9136 
   9137 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   9138 "
   9139 if test "x$ac_cv_header_dlfcn_h" = xyes
   9140 then :
   9141   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   9142 
   9143 fi
   9144 
   9145 
   9146 
   9147 
   9148 
   9149 # Set options
   9150 
   9151 
   9152 
   9153         enable_dlopen=no
   9154 
   9155 
   9156   enable_win32_dll=no
   9157 
   9158 
   9159             # Check whether --enable-shared was given.
   9160 if test ${enable_shared+y}
   9161 then :
   9162   enableval=$enable_shared; p=${PACKAGE-default}
   9163     case $enableval in
   9164     yes) enable_shared=yes ;;
   9165     no) enable_shared=no ;;
   9166     *)
   9167       enable_shared=no
   9168       # Look at the argument we got.  We use all the common list separators.
   9169       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9170       for pkg in $enableval; do
   9171 	IFS=$lt_save_ifs
   9172 	if test "X$pkg" = "X$p"; then
   9173 	  enable_shared=yes
   9174 	fi
   9175       done
   9176       IFS=$lt_save_ifs
   9177       ;;
   9178     esac
   9179 else case e in #(
   9180   e) enable_shared=yes ;;
   9181 esac
   9182 fi
   9183 
   9184 
   9185 
   9186 
   9187 
   9188 
   9189 
   9190 
   9191 
   9192   # Check whether --enable-static was given.
   9193 if test ${enable_static+y}
   9194 then :
   9195   enableval=$enable_static; p=${PACKAGE-default}
   9196     case $enableval in
   9197     yes) enable_static=yes ;;
   9198     no) enable_static=no ;;
   9199     *)
   9200      enable_static=no
   9201       # Look at the argument we got.  We use all the common list separators.
   9202       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9203       for pkg in $enableval; do
   9204 	IFS=$lt_save_ifs
   9205 	if test "X$pkg" = "X$p"; then
   9206 	  enable_static=yes
   9207 	fi
   9208       done
   9209       IFS=$lt_save_ifs
   9210       ;;
   9211     esac
   9212 else case e in #(
   9213   e) enable_static=yes ;;
   9214 esac
   9215 fi
   9216 
   9217 
   9218 
   9219 
   9220 
   9221 
   9222 
   9223 
   9224 
   9225   # Check whether --enable-pic was given.
   9226 if test ${enable_pic+y}
   9227 then :
   9228   enableval=$enable_pic; lt_p=${PACKAGE-default}
   9229      case $enableval in
   9230      yes|no) pic_mode=$enableval ;;
   9231      *)
   9232        pic_mode=default
   9233        # Look at the argument we got.  We use all the common list separators.
   9234        lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9235        for lt_pkg in $enableval; do
   9236 	 IFS=$lt_save_ifs
   9237 	 if test "X$lt_pkg" = "X$lt_p"; then
   9238 	   pic_mode=yes
   9239 	 fi
   9240        done
   9241        IFS=$lt_save_ifs
   9242        ;;
   9243      esac
   9244 else case e in #(
   9245   e)           # Check whether --with-pic was given.
   9246 if test ${with_pic+y}
   9247 then :
   9248   withval=$with_pic; lt_p=${PACKAGE-default}
   9249 	 case $withval in
   9250 	 yes|no) pic_mode=$withval ;;
   9251 	 *)
   9252 	   pic_mode=default
   9253 	   # Look at the argument we got.  We use all the common list separators.
   9254 	   lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9255 	   for lt_pkg in $withval; do
   9256 	     IFS=$lt_save_ifs
   9257 	     if test "X$lt_pkg" = "X$lt_p"; then
   9258 	       pic_mode=yes
   9259 	     fi
   9260 	   done
   9261 	   IFS=$lt_save_ifs
   9262 	   ;;
   9263 	 esac
   9264 else case e in #(
   9265   e) pic_mode=default ;;
   9266 esac
   9267 fi
   9268 
   9269      ;;
   9270 esac
   9271 fi
   9272 
   9273 
   9274 
   9275 
   9276 
   9277 
   9278 
   9279 
   9280   # Check whether --enable-fast-install was given.
   9281 if test ${enable_fast_install+y}
   9282 then :
   9283   enableval=$enable_fast_install; p=${PACKAGE-default}
   9284     case $enableval in
   9285     yes) enable_fast_install=yes ;;
   9286     no) enable_fast_install=no ;;
   9287     *)
   9288       enable_fast_install=no
   9289       # Look at the argument we got.  We use all the common list separators.
   9290       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9291       for pkg in $enableval; do
   9292 	IFS=$lt_save_ifs
   9293 	if test "X$pkg" = "X$p"; then
   9294 	  enable_fast_install=yes
   9295 	fi
   9296       done
   9297       IFS=$lt_save_ifs
   9298       ;;
   9299     esac
   9300 else case e in #(
   9301   e) enable_fast_install=yes ;;
   9302 esac
   9303 fi
   9304 
   9305 
   9306 
   9307 
   9308 
   9309 
   9310 
   9311 
   9312   shared_archive_member_spec=
   9313 case $host,$enable_shared in
   9314 power*-*-aix[5-9]*,yes)
   9315   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   9316 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   9317   # Check whether --enable-aix-soname was given.
   9318 if test ${enable_aix_soname+y}
   9319 then :
   9320   enableval=$enable_aix_soname; case $enableval in
   9321      aix|svr4|both)
   9322        ;;
   9323      *)
   9324        as_fn_error $? "Unknown argument to --enable-aix-soname" "$LINENO" 5
   9325        ;;
   9326      esac
   9327      lt_cv_with_aix_soname=$enable_aix_soname
   9328 else case e in #(
   9329   e) # Check whether --with-aix-soname was given.
   9330 if test ${with_aix_soname+y}
   9331 then :
   9332   withval=$with_aix_soname; case $withval in
   9333          aix|svr4|both)
   9334            ;;
   9335          *)
   9336            as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   9337            ;;
   9338          esac
   9339          lt_cv_with_aix_soname=$with_aix_soname
   9340 else case e in #(
   9341   e) if test ${lt_cv_with_aix_soname+y}
   9342 then :
   9343   printf %s "(cached) " >&6
   9344 else case e in #(
   9345   e) lt_cv_with_aix_soname=aix ;;
   9346 esac
   9347 fi
   9348  ;;
   9349 esac
   9350 fi
   9351 
   9352      enable_aix_soname=$lt_cv_with_aix_soname ;;
   9353 esac
   9354 fi
   9355 
   9356   with_aix_soname=$enable_aix_soname
   9357   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   9358 printf "%s\n" "$with_aix_soname" >&6; }
   9359   if test aix != "$with_aix_soname"; then
   9360     # For the AIX way of multilib, we name the shared archive member
   9361     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   9362     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   9363     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   9364     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   9365     if test 64 = "${OBJECT_MODE-32}"; then
   9366       shared_archive_member_spec=shr_64
   9367     else
   9368       shared_archive_member_spec=shr
   9369     fi
   9370   fi
   9371   ;;
   9372 *)
   9373   with_aix_soname=aix
   9374   ;;
   9375 esac
   9376 
   9377 
   9378 
   9379 
   9380 
   9381 
   9382 
   9383 
   9384 
   9385 
   9386 # This can be used to rebuild libtool when needed
   9387 LIBTOOL_DEPS=$ltmain
   9388 
   9389 # Always use our own libtool.
   9390 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   9391 
   9392 
   9393 
   9394 
   9395 
   9396 
   9397 
   9398 
   9399 
   9400 
   9401 
   9402 
   9403 
   9404 
   9405 
   9406 
   9407 
   9408 
   9409 
   9410 
   9411 
   9412 
   9413 
   9414 
   9415 
   9416 
   9417 
   9418 
   9419 
   9420 
   9421 test -z "$LN_S" && LN_S="ln -s"
   9422 
   9423 
   9424 
   9425 
   9426 
   9427 
   9428 
   9429 
   9430 
   9431 
   9432 
   9433 
   9434 
   9435 
   9436 if test -n "${ZSH_VERSION+set}"; then
   9437    setopt NO_GLOB_SUBST
   9438 fi
   9439 
   9440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   9441 printf %s "checking for objdir... " >&6; }
   9442 if test ${lt_cv_objdir+y}
   9443 then :
   9444   printf %s "(cached) " >&6
   9445 else case e in #(
   9446   e) rm -f .libs 2>/dev/null
   9447 mkdir .libs 2>/dev/null
   9448 if test -d .libs; then
   9449   lt_cv_objdir=.libs
   9450 else
   9451   # MS-DOS does not allow filenames that begin with a dot.
   9452   lt_cv_objdir=_libs
   9453 fi
   9454 rmdir .libs 2>/dev/null ;;
   9455 esac
   9456 fi
   9457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   9458 printf "%s\n" "$lt_cv_objdir" >&6; }
   9459 objdir=$lt_cv_objdir
   9460 
   9461 
   9462 
   9463 
   9464 
   9465 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   9466 
   9467 
   9468 
   9469 
   9470 case $host_os in
   9471 aix3*)
   9472   # AIX sometimes has problems with the GCC collect2 program.  For some
   9473   # reason, if we set the COLLECT_NAMES environment variable, the problems
   9474   # vanish in a puff of smoke.
   9475   if test set != "${COLLECT_NAMES+set}"; then
   9476     COLLECT_NAMES=
   9477     export COLLECT_NAMES
   9478   fi
   9479   ;;
   9480 esac
   9481 
   9482 # Global variables:
   9483 ofile=libtool
   9484 can_build_shared=yes
   9485 
   9486 # All known linkers require a '.a' archive for static linking (except MSVC and
   9487 # ICC, which need '.lib').
   9488 libext=a
   9489 
   9490 with_gnu_ld=$lt_cv_prog_gnu_ld
   9491 
   9492 old_CC=$CC
   9493 old_CFLAGS=$CFLAGS
   9494 
   9495 # Set sane defaults for various variables
   9496 test -z "$CC" && CC=cc
   9497 test -z "$LTCC" && LTCC=$CC
   9498 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   9499 test -z "$LD" && LD=ld
   9500 test -z "$ac_objext" && ac_objext=o
   9501 
   9502 func_cc_basename $compiler
   9503 cc_basename=$func_cc_basename_result
   9504 
   9505 
   9506 # Only perform the check for file, if the check method requires it
   9507 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   9508 case $deplibs_check_method in
   9509 file_magic*)
   9510   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   9511     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   9512 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   9513 if test ${lt_cv_path_MAGIC_CMD+y}
   9514 then :
   9515   printf %s "(cached) " >&6
   9516 else case e in #(
   9517   e) case $MAGIC_CMD in
   9518 [\\/*] |  ?:[\\/]*)
   9519   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9520   ;;
   9521 *)
   9522   lt_save_MAGIC_CMD=$MAGIC_CMD
   9523   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9524   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9525   for ac_dir in $ac_dummy; do
   9526     IFS=$lt_save_ifs
   9527     test -z "$ac_dir" && ac_dir=.
   9528     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   9529       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   9530       if test -n "$file_magic_test_file"; then
   9531 	case $deplibs_check_method in
   9532 	"file_magic "*)
   9533 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9534 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9535 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9536 	    $EGREP "$file_magic_regex" > /dev/null; then
   9537 	    :
   9538 	  else
   9539 	    cat <<_LT_EOF 1>&2
   9540 
   9541 *** Warning: the command libtool uses to detect shared libraries,
   9542 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9543 *** The result is that libtool may fail to recognize shared libraries
   9544 *** as such.  This will affect the creation of libtool libraries that
   9545 *** depend on shared libraries, but programs linked with such libtool
   9546 *** libraries will work regardless of this problem.  Nevertheless, you
   9547 *** may want to report the problem to your system manager and/or to
   9548 *** bug-libtool@gnu.org
   9549 
   9550 _LT_EOF
   9551 	  fi ;;
   9552 	esac
   9553       fi
   9554       break
   9555     fi
   9556   done
   9557   IFS=$lt_save_ifs
   9558   MAGIC_CMD=$lt_save_MAGIC_CMD
   9559   ;;
   9560 esac ;;
   9561 esac
   9562 fi
   9563 
   9564 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9565 if test -n "$MAGIC_CMD"; then
   9566   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9567 printf "%s\n" "$MAGIC_CMD" >&6; }
   9568 else
   9569   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9570 printf "%s\n" "no" >&6; }
   9571 fi
   9572 
   9573 
   9574 
   9575 
   9576 
   9577 if test -z "$lt_cv_path_MAGIC_CMD"; then
   9578   if test -n "$ac_tool_prefix"; then
   9579     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   9580 printf %s "checking for file... " >&6; }
   9581 if test ${lt_cv_path_MAGIC_CMD+y}
   9582 then :
   9583   printf %s "(cached) " >&6
   9584 else case e in #(
   9585   e) case $MAGIC_CMD in
   9586 [\\/*] |  ?:[\\/]*)
   9587   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9588   ;;
   9589 *)
   9590   lt_save_MAGIC_CMD=$MAGIC_CMD
   9591   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9592   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9593   for ac_dir in $ac_dummy; do
   9594     IFS=$lt_save_ifs
   9595     test -z "$ac_dir" && ac_dir=.
   9596     if test -f "$ac_dir/file"; then
   9597       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   9598       if test -n "$file_magic_test_file"; then
   9599 	case $deplibs_check_method in
   9600 	"file_magic "*)
   9601 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9602 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9603 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9604 	    $EGREP "$file_magic_regex" > /dev/null; then
   9605 	    :
   9606 	  else
   9607 	    cat <<_LT_EOF 1>&2
   9608 
   9609 *** Warning: the command libtool uses to detect shared libraries,
   9610 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9611 *** The result is that libtool may fail to recognize shared libraries
   9612 *** as such.  This will affect the creation of libtool libraries that
   9613 *** depend on shared libraries, but programs linked with such libtool
   9614 *** libraries will work regardless of this problem.  Nevertheless, you
   9615 *** may want to report the problem to your system manager and/or to
   9616 *** bug-libtool@gnu.org
   9617 
   9618 _LT_EOF
   9619 	  fi ;;
   9620 	esac
   9621       fi
   9622       break
   9623     fi
   9624   done
   9625   IFS=$lt_save_ifs
   9626   MAGIC_CMD=$lt_save_MAGIC_CMD
   9627   ;;
   9628 esac ;;
   9629 esac
   9630 fi
   9631 
   9632 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9633 if test -n "$MAGIC_CMD"; then
   9634   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9635 printf "%s\n" "$MAGIC_CMD" >&6; }
   9636 else
   9637   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9638 printf "%s\n" "no" >&6; }
   9639 fi
   9640 
   9641 
   9642   else
   9643     MAGIC_CMD=:
   9644   fi
   9645 fi
   9646 
   9647   fi
   9648   ;;
   9649 esac
   9650 
   9651 # Use C for the default configuration in the libtool script
   9652 
   9653 lt_save_CC=$CC
   9654 ac_ext=c
   9655 ac_cpp='$CPP $CPPFLAGS'
   9656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9659 
   9660 
   9661 # Source file extension for C test sources.
   9662 ac_ext=c
   9663 
   9664 # Object file extension for compiled C test sources.
   9665 objext=o
   9666 objext=$objext
   9667 
   9668 # Code to be used in simple compile tests
   9669 lt_simple_compile_test_code="int some_variable = 0;"
   9670 
   9671 # Code to be used in simple link tests
   9672 lt_simple_link_test_code='int main(void){return(0);}'
   9673 
   9674 
   9675 
   9676 
   9677 
   9678 
   9679 
   9680 # If no C compiler was specified, use CC.
   9681 LTCC=${LTCC-"$CC"}
   9682 
   9683 # If no C compiler flags were specified, use CFLAGS.
   9684 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   9685 
   9686 # Allow CC to be a program name with arguments.
   9687 compiler=$CC
   9688 
   9689 # Save the default compiler, since it gets overwritten when the other
   9690 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   9691 compiler_DEFAULT=$CC
   9692 
   9693 # save warnings/boilerplate of simple test code
   9694 ac_outfile=conftest.$ac_objext
   9695 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   9696 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9697 _lt_compiler_boilerplate=`cat conftest.err`
   9698 $RM conftest*
   9699 
   9700 ac_outfile=conftest.$ac_objext
   9701 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   9702 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9703 _lt_linker_boilerplate=`cat conftest.err`
   9704 $RM -r conftest*
   9705 
   9706 
   9707 ## CAVEAT EMPTOR:
   9708 ## There is no encapsulation within the following macros, do not change
   9709 ## the running order or otherwise move them around unless you know exactly
   9710 ## what you are doing...
   9711 if test -n "$compiler"; then
   9712 
   9713 lt_prog_compiler_no_builtin_flag=
   9714 
   9715 if test yes = "$GCC"; then
   9716   case $cc_basename in
   9717   nvcc*)
   9718     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   9719   *)
   9720     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   9721   esac
   9722 
   9723   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   9724 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   9725 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   9726 then :
   9727   printf %s "(cached) " >&6
   9728 else case e in #(
   9729   e) lt_cv_prog_compiler_rtti_exceptions=no
   9730    ac_outfile=conftest.$ac_objext
   9731    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9732    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   9733    # Insert the option either (1) after the last *FLAGS variable, or
   9734    # (2) before a word containing "conftest.", or (3) at the end.
   9735    # Note that $ac_compile itself does not contain backslashes and begins
   9736    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9737    # The option is referenced via a variable to avoid confusing sed.
   9738    lt_compile=`echo "$ac_compile" | $SED \
   9739    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9740    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9741    -e 's:$: $lt_compiler_flag:'`
   9742    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9743    (eval "$lt_compile" 2>conftest.err)
   9744    ac_status=$?
   9745    cat conftest.err >&5
   9746    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9747    if (exit $ac_status) && test -s "$ac_outfile"; then
   9748      # The compiler can only warn and ignore the option if not recognized
   9749      # So say no if there are warnings other than the usual output.
   9750      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9751      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9752      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9753        lt_cv_prog_compiler_rtti_exceptions=yes
   9754      fi
   9755    fi
   9756    $RM conftest*
   9757  ;;
   9758 esac
   9759 fi
   9760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   9761 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   9762 
   9763 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   9764     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   9765 else
   9766     :
   9767 fi
   9768 
   9769 fi
   9770 
   9771 
   9772 
   9773 
   9774 
   9775 
   9776   lt_prog_compiler_wl=
   9777 lt_prog_compiler_pic=
   9778 lt_prog_compiler_static=
   9779 
   9780 
   9781   if test yes = "$GCC"; then
   9782     lt_prog_compiler_wl='-Wl,'
   9783     lt_prog_compiler_static='-static'
   9784 
   9785     case $host_os in
   9786       aix*)
   9787       # All AIX code is PIC.
   9788       if test ia64 = "$host_cpu"; then
   9789 	# AIX 5 now supports IA64 processor
   9790 	lt_prog_compiler_static='-Bstatic'
   9791       fi
   9792       lt_prog_compiler_pic='-fPIC'
   9793       ;;
   9794 
   9795     amigaos*)
   9796       case $host_cpu in
   9797       powerpc)
   9798             # see comment about AmigaOS4 .so support
   9799             lt_prog_compiler_pic='-fPIC'
   9800         ;;
   9801       m68k)
   9802             # FIXME: we need at least 68020 code to build shared libraries, but
   9803             # adding the '-m68020' flag to GCC prevents building anything better,
   9804             # like '-m68040'.
   9805             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9806         ;;
   9807       esac
   9808       ;;
   9809 
   9810     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9811       # PIC is the default for these OSes.
   9812       ;;
   9813 
   9814     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   9815       # This hack is so that the source file can tell whether it is being
   9816       # built for inclusion in a dll (and should export symbols for example).
   9817       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9818       # (--disable-auto-import) libraries
   9819       lt_prog_compiler_pic='-DDLL_EXPORT'
   9820       case $host_os in
   9821       os2*)
   9822 	lt_prog_compiler_static='$wl-static'
   9823 	;;
   9824       esac
   9825       ;;
   9826 
   9827     darwin* | rhapsody*)
   9828       # PIC is the default on this platform
   9829       # Common symbols not allowed in MH_DYLIB files
   9830       lt_prog_compiler_pic='-fno-common'
   9831       ;;
   9832 
   9833     haiku*)
   9834       # PIC is the default for Haiku.
   9835       # The "-static" flag exists, but is broken.
   9836       lt_prog_compiler_static=
   9837       ;;
   9838 
   9839     hpux*)
   9840       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9841       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9842       # sets the default TLS model and affects inlining.
   9843       case $host_cpu in
   9844       hppa*64*)
   9845 	# +Z the default
   9846 	;;
   9847       *)
   9848 	lt_prog_compiler_pic='-fPIC'
   9849 	;;
   9850       esac
   9851       ;;
   9852 
   9853     interix[3-9]*)
   9854       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9855       # Instead, we relocate shared libraries at runtime.
   9856       ;;
   9857 
   9858     msdosdjgpp*)
   9859       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9860       # on systems that don't support them.
   9861       lt_prog_compiler_can_build_shared=no
   9862       enable_shared=no
   9863       ;;
   9864 
   9865     *nto* | *qnx*)
   9866       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9867       # it will coredump.
   9868       lt_prog_compiler_pic='-fPIC -shared'
   9869       ;;
   9870 
   9871     sysv4*MP*)
   9872       if test -d /usr/nec; then
   9873 	lt_prog_compiler_pic=-Kconform_pic
   9874       fi
   9875       ;;
   9876 
   9877     *)
   9878       lt_prog_compiler_pic='-fPIC'
   9879       ;;
   9880     esac
   9881 
   9882     case $cc_basename in
   9883     nvcc*) # Cuda Compiler Driver 2.2
   9884       lt_prog_compiler_wl='-Xlinker '
   9885       if test -n "$lt_prog_compiler_pic"; then
   9886         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   9887       fi
   9888       ;;
   9889     esac
   9890   else
   9891     # PORTME Check for flag to pass linker flags through the system compiler.
   9892     case $host_os in
   9893     aix*)
   9894       lt_prog_compiler_wl='-Wl,'
   9895       if test ia64 = "$host_cpu"; then
   9896 	# AIX 5 now supports IA64 processor
   9897 	lt_prog_compiler_static='-Bstatic'
   9898       else
   9899 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9900       fi
   9901       ;;
   9902 
   9903     darwin* | rhapsody*)
   9904       # PIC is the default on this platform
   9905       # Common symbols not allowed in MH_DYLIB files
   9906       lt_prog_compiler_pic='-fno-common'
   9907       case $cc_basename in
   9908       nagfor*)
   9909         # NAG Fortran compiler
   9910         lt_prog_compiler_wl='-Wl,-Wl,,'
   9911         lt_prog_compiler_pic='-PIC'
   9912         lt_prog_compiler_static='-Bstatic'
   9913         ;;
   9914       esac
   9915       ;;
   9916 
   9917     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   9918       # This hack is so that the source file can tell whether it is being
   9919       # built for inclusion in a dll (and should export symbols for example).
   9920       lt_prog_compiler_pic='-DDLL_EXPORT'
   9921       case $host_os in
   9922       os2*)
   9923 	lt_prog_compiler_static='$wl-static'
   9924 	;;
   9925       esac
   9926       ;;
   9927 
   9928     hpux9* | hpux10* | hpux11*)
   9929       lt_prog_compiler_wl='-Wl,'
   9930       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9931       # not for PA HP-UX.
   9932       case $host_cpu in
   9933       hppa*64*|ia64*)
   9934 	# +Z the default
   9935 	;;
   9936       *)
   9937 	lt_prog_compiler_pic='+Z'
   9938 	;;
   9939       esac
   9940       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9941       lt_prog_compiler_static='$wl-a ${wl}archive'
   9942       ;;
   9943 
   9944     irix5* | irix6* | nonstopux*)
   9945       lt_prog_compiler_wl='-Wl,'
   9946       # PIC (with -KPIC) is the default.
   9947       lt_prog_compiler_static='-non_shared'
   9948       ;;
   9949 
   9950     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   9951       case $cc_basename in
   9952       # old Intel for x86_64, which still supported -KPIC.
   9953       ecc*)
   9954 	lt_prog_compiler_wl='-Wl,'
   9955 	lt_prog_compiler_pic='-KPIC'
   9956 	lt_prog_compiler_static='-static'
   9957         ;;
   9958       *flang* | ftn | f18* | f95*)
   9959         # Flang compiler.
   9960 	lt_prog_compiler_wl='-Wl,'
   9961 	lt_prog_compiler_pic='-fPIC'
   9962 	lt_prog_compiler_static='-static'
   9963         ;;
   9964       # icc used to be incompatible with GCC.
   9965       # ICC 10 doesn't accept -KPIC any more.
   9966       icc* | ifort*)
   9967 	lt_prog_compiler_wl='-Wl,'
   9968 	lt_prog_compiler_pic='-fPIC'
   9969 	lt_prog_compiler_static='-static'
   9970         ;;
   9971       # Lahey Fortran 8.1.
   9972       lf95*)
   9973 	lt_prog_compiler_wl='-Wl,'
   9974 	lt_prog_compiler_pic='--shared'
   9975 	lt_prog_compiler_static='--static'
   9976 	;;
   9977       nagfor*)
   9978 	# NAG Fortran compiler
   9979 	lt_prog_compiler_wl='-Wl,-Wl,,'
   9980 	lt_prog_compiler_pic='-PIC'
   9981 	lt_prog_compiler_static='-Bstatic'
   9982 	;;
   9983       tcc*)
   9984 	# Fabrice Bellard et al's Tiny C Compiler
   9985 	lt_prog_compiler_wl='-Wl,'
   9986 	lt_prog_compiler_pic='-fPIC'
   9987 	lt_prog_compiler_static='-static'
   9988 	;;
   9989       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9990         # Portland Group compilers (*not* the Pentium gcc compiler,
   9991 	# which looks to be a dead project)
   9992 	lt_prog_compiler_wl='-Wl,'
   9993 	lt_prog_compiler_pic='-fpic'
   9994 	lt_prog_compiler_static='-Bstatic'
   9995         ;;
   9996       ccc*)
   9997         lt_prog_compiler_wl='-Wl,'
   9998         # All Alpha code is PIC.
   9999         lt_prog_compiler_static='-non_shared'
   10000         ;;
   10001       xl* | bgxl* | bgf* | mpixl*)
   10002 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   10003 	lt_prog_compiler_wl='-Wl,'
   10004 	lt_prog_compiler_pic='-qpic'
   10005 	lt_prog_compiler_static='-qstaticlink'
   10006 	;;
   10007       *)
   10008 	case `$CC -V 2>&1 | $SED 5q` in
   10009 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   10010 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   10011 	  lt_prog_compiler_pic='-KPIC'
   10012 	  lt_prog_compiler_static='-Bstatic'
   10013 	  lt_prog_compiler_wl=''
   10014 	  ;;
   10015 	*Sun\ F* | *Sun*Fortran*)
   10016 	  lt_prog_compiler_pic='-KPIC'
   10017 	  lt_prog_compiler_static='-Bstatic'
   10018 	  lt_prog_compiler_wl='-Qoption ld '
   10019 	  ;;
   10020 	*Sun\ C*)
   10021 	  # Sun C 5.9
   10022 	  lt_prog_compiler_pic='-KPIC'
   10023 	  lt_prog_compiler_static='-Bstatic'
   10024 	  lt_prog_compiler_wl='-Wl,'
   10025 	  ;;
   10026         *Intel*\ [CF]*Compiler*)
   10027 	  lt_prog_compiler_wl='-Wl,'
   10028 	  lt_prog_compiler_pic='-fPIC'
   10029 	  lt_prog_compiler_static='-static'
   10030 	  ;;
   10031 	*Portland\ Group*)
   10032 	  lt_prog_compiler_wl='-Wl,'
   10033 	  lt_prog_compiler_pic='-fpic'
   10034 	  lt_prog_compiler_static='-Bstatic'
   10035 	  ;;
   10036 	esac
   10037 	;;
   10038       esac
   10039       ;;
   10040 
   10041     newsos6)
   10042       lt_prog_compiler_pic='-KPIC'
   10043       lt_prog_compiler_static='-Bstatic'
   10044       ;;
   10045 
   10046     *-mlibc)
   10047       lt_prog_compiler_wl='-Wl,'
   10048       lt_prog_compiler_pic='-fPIC'
   10049       lt_prog_compiler_static='-static'
   10050       ;;
   10051 
   10052     *nto* | *qnx*)
   10053       # QNX uses GNU C++, but need to define -shared option too, otherwise
   10054       # it will coredump.
   10055       lt_prog_compiler_pic='-fPIC -shared'
   10056       ;;
   10057 
   10058     osf3* | osf4* | osf5*)
   10059       lt_prog_compiler_wl='-Wl,'
   10060       # All OSF/1 code is PIC.
   10061       lt_prog_compiler_static='-non_shared'
   10062       ;;
   10063 
   10064     rdos*)
   10065       lt_prog_compiler_static='-non_shared'
   10066       ;;
   10067 
   10068     serenity*)
   10069       ;;
   10070 
   10071     solaris*)
   10072       lt_prog_compiler_pic='-KPIC'
   10073       lt_prog_compiler_static='-Bstatic'
   10074       case $cc_basename in
   10075       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   10076 	lt_prog_compiler_wl='-Qoption ld ';;
   10077       *)
   10078 	lt_prog_compiler_wl='-Wl,';;
   10079       esac
   10080       ;;
   10081 
   10082     sunos4*)
   10083       lt_prog_compiler_wl='-Qoption ld '
   10084       lt_prog_compiler_pic='-PIC'
   10085       lt_prog_compiler_static='-Bstatic'
   10086       ;;
   10087 
   10088     sysv4 | sysv4.2uw2* | sysv4.3*)
   10089       lt_prog_compiler_wl='-Wl,'
   10090       lt_prog_compiler_pic='-KPIC'
   10091       lt_prog_compiler_static='-Bstatic'
   10092       ;;
   10093 
   10094     sysv4*MP*)
   10095       if test -d /usr/nec; then
   10096 	lt_prog_compiler_pic='-Kconform_pic'
   10097 	lt_prog_compiler_static='-Bstatic'
   10098       fi
   10099       ;;
   10100 
   10101     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   10102       lt_prog_compiler_wl='-Wl,'
   10103       lt_prog_compiler_pic='-KPIC'
   10104       lt_prog_compiler_static='-Bstatic'
   10105       ;;
   10106 
   10107     unicos*)
   10108       lt_prog_compiler_wl='-Wl,'
   10109       lt_prog_compiler_can_build_shared=no
   10110       ;;
   10111 
   10112     uts4*)
   10113       lt_prog_compiler_pic='-pic'
   10114       lt_prog_compiler_static='-Bstatic'
   10115       ;;
   10116 
   10117     *)
   10118       lt_prog_compiler_can_build_shared=no
   10119       ;;
   10120     esac
   10121   fi
   10122 
   10123 case $host_os in
   10124   # For platforms that do not support PIC, -DPIC is meaningless:
   10125   *djgpp*)
   10126     lt_prog_compiler_pic=
   10127     ;;
   10128   *)
   10129     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   10130     ;;
   10131 esac
   10132 
   10133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   10134 printf %s "checking for $compiler option to produce PIC... " >&6; }
   10135 if test ${lt_cv_prog_compiler_pic+y}
   10136 then :
   10137   printf %s "(cached) " >&6
   10138 else case e in #(
   10139   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
   10140 esac
   10141 fi
   10142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   10143 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   10144 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   10145 
   10146 #
   10147 # Check to make sure the PIC flag actually works.
   10148 #
   10149 if test -n "$lt_prog_compiler_pic"; then
   10150   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   10151 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   10152 if test ${lt_cv_prog_compiler_pic_works+y}
   10153 then :
   10154   printf %s "(cached) " >&6
   10155 else case e in #(
   10156   e) lt_cv_prog_compiler_pic_works=no
   10157    ac_outfile=conftest.$ac_objext
   10158    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10159    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   10160    # Insert the option either (1) after the last *FLAGS variable, or
   10161    # (2) before a word containing "conftest.", or (3) at the end.
   10162    # Note that $ac_compile itself does not contain backslashes and begins
   10163    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10164    # The option is referenced via a variable to avoid confusing sed.
   10165    lt_compile=`echo "$ac_compile" | $SED \
   10166    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10167    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10168    -e 's:$: $lt_compiler_flag:'`
   10169    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10170    (eval "$lt_compile" 2>conftest.err)
   10171    ac_status=$?
   10172    cat conftest.err >&5
   10173    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10174    if (exit $ac_status) && test -s "$ac_outfile"; then
   10175      # The compiler can only warn and ignore the option if not recognized
   10176      # So say no if there are warnings other than the usual output.
   10177      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   10178      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10179      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   10180        lt_cv_prog_compiler_pic_works=yes
   10181      fi
   10182    fi
   10183    $RM conftest*
   10184  ;;
   10185 esac
   10186 fi
   10187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   10188 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   10189 
   10190 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   10191     case $lt_prog_compiler_pic in
   10192      "" | " "*) ;;
   10193      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   10194      esac
   10195 else
   10196     lt_prog_compiler_pic=
   10197      lt_prog_compiler_can_build_shared=no
   10198 fi
   10199 
   10200 fi
   10201 
   10202 
   10203 
   10204 
   10205 
   10206 
   10207 
   10208 
   10209 
   10210 
   10211 
   10212 #
   10213 # Check to make sure the static flag actually works.
   10214 #
   10215 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   10216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   10217 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   10218 if test ${lt_cv_prog_compiler_static_works+y}
   10219 then :
   10220   printf %s "(cached) " >&6
   10221 else case e in #(
   10222   e) lt_cv_prog_compiler_static_works=no
   10223    save_LDFLAGS=$LDFLAGS
   10224    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   10225    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10226    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10227      # The linker can only warn and ignore the option if not recognized
   10228      # So say no if there are warnings
   10229      if test -s conftest.err; then
   10230        # Append any errors to the config.log.
   10231        cat conftest.err 1>&5
   10232        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10233        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10234        if diff conftest.exp conftest.er2 >/dev/null; then
   10235          lt_cv_prog_compiler_static_works=yes
   10236        fi
   10237      else
   10238        lt_cv_prog_compiler_static_works=yes
   10239      fi
   10240    fi
   10241    $RM -r conftest*
   10242    LDFLAGS=$save_LDFLAGS
   10243  ;;
   10244 esac
   10245 fi
   10246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   10247 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   10248 
   10249 if test yes = "$lt_cv_prog_compiler_static_works"; then
   10250     :
   10251 else
   10252     lt_prog_compiler_static=
   10253 fi
   10254 
   10255 
   10256 
   10257 
   10258 
   10259 
   10260 
   10261   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   10262 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   10263 if test ${lt_cv_prog_compiler_c_o+y}
   10264 then :
   10265   printf %s "(cached) " >&6
   10266 else case e in #(
   10267   e) lt_cv_prog_compiler_c_o=no
   10268    $RM -r conftest 2>/dev/null
   10269    mkdir conftest
   10270    cd conftest
   10271    mkdir out
   10272    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10273 
   10274    lt_compiler_flag="-o out/conftest2.$ac_objext"
   10275    # Insert the option either (1) after the last *FLAGS variable, or
   10276    # (2) before a word containing "conftest.", or (3) at the end.
   10277    # Note that $ac_compile itself does not contain backslashes and begins
   10278    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10279    lt_compile=`echo "$ac_compile" | $SED \
   10280    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10281    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10282    -e 's:$: $lt_compiler_flag:'`
   10283    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10284    (eval "$lt_compile" 2>out/conftest.err)
   10285    ac_status=$?
   10286    cat out/conftest.err >&5
   10287    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10288    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   10289    then
   10290      # The compiler can only warn and ignore the option if not recognized
   10291      # So say no if there are warnings
   10292      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   10293      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   10294      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   10295        lt_cv_prog_compiler_c_o=yes
   10296      fi
   10297    fi
   10298    chmod u+w . 2>&5
   10299    $RM conftest*
   10300    # SGI C++ compiler will create directory out/ii_files/ for
   10301    # template instantiation
   10302    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   10303    $RM out/* && rmdir out
   10304    cd ..
   10305    $RM -r conftest
   10306    $RM conftest*
   10307  ;;
   10308 esac
   10309 fi
   10310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   10311 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   10312 
   10313 
   10314 
   10315 
   10316 
   10317 
   10318   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   10319 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   10320 if test ${lt_cv_prog_compiler_c_o+y}
   10321 then :
   10322   printf %s "(cached) " >&6
   10323 else case e in #(
   10324   e) lt_cv_prog_compiler_c_o=no
   10325    $RM -r conftest 2>/dev/null
   10326    mkdir conftest
   10327    cd conftest
   10328    mkdir out
   10329    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10330 
   10331    lt_compiler_flag="-o out/conftest2.$ac_objext"
   10332    # Insert the option either (1) after the last *FLAGS variable, or
   10333    # (2) before a word containing "conftest.", or (3) at the end.
   10334    # Note that $ac_compile itself does not contain backslashes and begins
   10335    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10336    lt_compile=`echo "$ac_compile" | $SED \
   10337    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10338    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10339    -e 's:$: $lt_compiler_flag:'`
   10340    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10341    (eval "$lt_compile" 2>out/conftest.err)
   10342    ac_status=$?
   10343    cat out/conftest.err >&5
   10344    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10345    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   10346    then
   10347      # The compiler can only warn and ignore the option if not recognized
   10348      # So say no if there are warnings
   10349      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   10350      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   10351      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   10352        lt_cv_prog_compiler_c_o=yes
   10353      fi
   10354    fi
   10355    chmod u+w . 2>&5
   10356    $RM conftest*
   10357    # SGI C++ compiler will create directory out/ii_files/ for
   10358    # template instantiation
   10359    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   10360    $RM out/* && rmdir out
   10361    cd ..
   10362    $RM -r conftest
   10363    $RM conftest*
   10364  ;;
   10365 esac
   10366 fi
   10367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   10368 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   10369 
   10370 
   10371 
   10372 
   10373 hard_links=nottested
   10374 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   10375   # do not overwrite the value of need_locks provided by the user
   10376   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   10377 printf %s "checking if we can lock with hard links... " >&6; }
   10378   hard_links=yes
   10379   $RM conftest*
   10380   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   10381   touch conftest.a
   10382   ln conftest.a conftest.b 2>&5 || hard_links=no
   10383   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   10384   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   10385 printf "%s\n" "$hard_links" >&6; }
   10386   if test no = "$hard_links"; then
   10387     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   10388 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   10389     need_locks=warn
   10390   fi
   10391 else
   10392   need_locks=no
   10393 fi
   10394 
   10395 
   10396 
   10397 
   10398 
   10399 
   10400   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   10401 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   10402 
   10403   runpath_var=
   10404   allow_undefined_flag=
   10405   always_export_symbols=no
   10406   archive_cmds=
   10407   archive_expsym_cmds=
   10408   compiler_needs_object=no
   10409   enable_shared_with_static_runtimes=no
   10410   export_dynamic_flag_spec=
   10411   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   10412   hardcode_automatic=no
   10413   hardcode_direct=no
   10414   hardcode_direct_absolute=no
   10415   hardcode_libdir_flag_spec=
   10416   hardcode_libdir_separator=
   10417   hardcode_minus_L=no
   10418   hardcode_shlibpath_var=unsupported
   10419   inherit_rpath=no
   10420   link_all_deplibs=unknown
   10421   module_cmds=
   10422   module_expsym_cmds=
   10423   old_archive_from_new_cmds=
   10424   old_archive_from_expsyms_cmds=
   10425   thread_safe_flag_spec=
   10426   whole_archive_flag_spec=
   10427   # include_expsyms should be a list of space-separated symbols to be *always*
   10428   # included in the symbol list
   10429   include_expsyms=
   10430   # exclude_expsyms can be an extended regexp of symbols to exclude
   10431   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   10432   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   10433   # as well as any symbol that contains 'd'.
   10434   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   10435   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   10436   # platforms (ab)use it in PIC code, but their linkers get confused if
   10437   # the symbol is explicitly referenced.  Since portable code cannot
   10438   # rely on this symbol name, it's probably fine to never include it in
   10439   # preloaded symbol tables.
   10440   # Exclude shared library initialization/finalization symbols.
   10441   extract_expsyms_cmds=
   10442 
   10443   case $host_os in
   10444   cygwin* | mingw* | windows* | pw32* | cegcc*)
   10445     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   10446     # When not using gcc, we currently assume that we are using
   10447     # Microsoft Visual C++ or Intel C++ Compiler.
   10448     if test yes != "$GCC"; then
   10449       with_gnu_ld=no
   10450     fi
   10451     ;;
   10452   interix*)
   10453     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   10454     with_gnu_ld=yes
   10455     ;;
   10456   esac
   10457 
   10458   ld_shlibs=yes
   10459 
   10460   # On some targets, GNU ld is compatible enough with the native linker
   10461   # that we're better off using the native interface for both.
   10462   lt_use_gnu_ld_interface=no
   10463   if test yes = "$with_gnu_ld"; then
   10464     case $host_os in
   10465       aix*)
   10466 	# The AIX port of GNU ld has always aspired to compatibility
   10467 	# with the native linker.  However, as the warning in the GNU ld
   10468 	# block says, versions before 2.19.5* couldn't really create working
   10469 	# shared libraries, regardless of the interface used.
   10470 	case `$LD -v 2>&1` in
   10471 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   10472 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   10473 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   10474 	  *)
   10475 	    lt_use_gnu_ld_interface=yes
   10476 	    ;;
   10477 	esac
   10478 	;;
   10479       *)
   10480 	lt_use_gnu_ld_interface=yes
   10481 	;;
   10482     esac
   10483   fi
   10484 
   10485   if test yes = "$lt_use_gnu_ld_interface"; then
   10486     # If archive_cmds runs LD, not CC, wlarc should be empty
   10487     wlarc='$wl'
   10488 
   10489     # Set some defaults for GNU ld with shared library support. These
   10490     # are reset later if shared libraries are not supported. Putting them
   10491     # here allows them to be overridden if necessary.
   10492     runpath_var=LD_RUN_PATH
   10493     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10494     export_dynamic_flag_spec='$wl--export-dynamic'
   10495     # ancient GNU ld didn't support --whole-archive et. al.
   10496     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   10497       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   10498     else
   10499       whole_archive_flag_spec=
   10500     fi
   10501     supports_anon_versioning=no
   10502     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   10503       *GNU\ gold*) supports_anon_versioning=yes ;;
   10504       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   10505       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   10506       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   10507       *\ 2.11.*) ;; # other 2.11 versions
   10508       *) supports_anon_versioning=yes ;;
   10509     esac
   10510 
   10511     # See if GNU ld supports shared libraries.
   10512     case $host_os in
   10513     aix[3-9]*)
   10514       # On AIX/PPC, the GNU linker is very broken
   10515       if test ia64 != "$host_cpu"; then
   10516 	ld_shlibs=no
   10517 	cat <<_LT_EOF 1>&2
   10518 
   10519 *** Warning: the GNU linker, at least up to release 2.19, is reported
   10520 *** to be unable to reliably create shared libraries on AIX.
   10521 *** Therefore, libtool is disabling shared libraries support.  If you
   10522 *** really care for shared libraries, you may want to install binutils
   10523 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   10524 *** You will then need to restart the configuration process.
   10525 
   10526 _LT_EOF
   10527       fi
   10528       ;;
   10529 
   10530     amigaos*)
   10531       case $host_cpu in
   10532       powerpc)
   10533             # see comment about AmigaOS4 .so support
   10534             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10535             archive_expsym_cmds=''
   10536         ;;
   10537       m68k)
   10538             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)'
   10539             hardcode_libdir_flag_spec='-L$libdir'
   10540             hardcode_minus_L=yes
   10541         ;;
   10542       esac
   10543       ;;
   10544 
   10545     beos*)
   10546       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10547 	allow_undefined_flag=unsupported
   10548 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   10549 	# support --undefined.  This deserves some investigation.  FIXME
   10550 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10551       else
   10552 	ld_shlibs=no
   10553       fi
   10554       ;;
   10555 
   10556     cygwin* | mingw* | windows* | pw32* | cegcc*)
   10557       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   10558       # as there is no search path for DLLs.
   10559       hardcode_libdir_flag_spec='-L$libdir'
   10560       export_dynamic_flag_spec='$wl--export-all-symbols'
   10561       allow_undefined_flag=unsupported
   10562       always_export_symbols=no
   10563       enable_shared_with_static_runtimes=yes
   10564       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'
   10565       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   10566       file_list_spec='@'
   10567 
   10568       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   10569         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10570 	# If the export-symbols file already is a .def file, use it as
   10571 	# is; otherwise, prepend EXPORTS...
   10572 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10573           cp $export_symbols $output_objdir/$soname.def;
   10574         else
   10575           echo EXPORTS > $output_objdir/$soname.def;
   10576           cat $export_symbols >> $output_objdir/$soname.def;
   10577         fi~
   10578         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10579       else
   10580 	ld_shlibs=no
   10581       fi
   10582       ;;
   10583 
   10584     haiku*)
   10585       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10586       link_all_deplibs=no
   10587       ;;
   10588 
   10589     os2*)
   10590       hardcode_libdir_flag_spec='-L$libdir'
   10591       hardcode_minus_L=yes
   10592       allow_undefined_flag=unsupported
   10593       shrext_cmds=.dll
   10594       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10595 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10596 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10597 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10598 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10599 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10600 	emximp -o $lib $output_objdir/$libname.def'
   10601       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10602 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10603 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10604 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10605 	prefix_cmds="$SED"~
   10606 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10607 	  prefix_cmds="$prefix_cmds -e 1d";
   10608 	fi~
   10609 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10610 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10611 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10612 	emximp -o $lib $output_objdir/$libname.def'
   10613       old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10614       enable_shared_with_static_runtimes=yes
   10615       file_list_spec='@'
   10616       ;;
   10617 
   10618     interix[3-9]*)
   10619       hardcode_direct=no
   10620       hardcode_shlibpath_var=no
   10621       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10622       export_dynamic_flag_spec='$wl-E'
   10623       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   10624       # Instead, shared libraries are loaded at an image base (0x10000000 by
   10625       # default) and relocated if they conflict, which is a slow very memory
   10626       # consuming and fragmenting process.  To avoid this, we pick a random,
   10627       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   10628       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   10629       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   10630       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'
   10631       ;;
   10632 
   10633     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   10634       tmp_diet=no
   10635       if test linux-dietlibc = "$host_os"; then
   10636 	case $cc_basename in
   10637 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   10638 	esac
   10639       fi
   10640       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   10641 	 && test no = "$tmp_diet"
   10642       then
   10643 	tmp_addflag=' $pic_flag'
   10644 	tmp_sharedflag='-shared'
   10645 	case $cc_basename,$host_cpu in
   10646         pgcc*)				# Portland Group C compiler
   10647 	  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'
   10648 	  tmp_addflag=' $pic_flag'
   10649 	  ;;
   10650 	pgf77* | pgf90* | pgf95* | pgfortran*)
   10651 					# Portland Group f77 and f90 compilers
   10652 	  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'
   10653 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   10654 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   10655 	  tmp_addflag=' -i_dynamic' ;;
   10656 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   10657 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   10658 	ifc* | ifort*)			# Intel Fortran compiler
   10659 	  tmp_addflag=' -nofor_main' ;;
   10660 	lf95*)				# Lahey Fortran 8.1
   10661 	  whole_archive_flag_spec=
   10662 	  tmp_sharedflag='--shared' ;;
   10663         nagfor*)                        # NAGFOR 5.3
   10664           tmp_sharedflag='-Wl,-shared' ;;
   10665 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   10666 	  tmp_sharedflag='-qmkshrobj'
   10667 	  tmp_addflag= ;;
   10668 	nvcc*)	# Cuda Compiler Driver 2.2
   10669 	  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'
   10670 	  compiler_needs_object=yes
   10671 	  ;;
   10672 	esac
   10673 	case `$CC -V 2>&1 | $SED 5q` in
   10674 	*Sun\ C*)			# Sun C 5.9
   10675 	  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'
   10676 	  compiler_needs_object=yes
   10677 	  tmp_sharedflag='-G' ;;
   10678 	*Sun\ F*)			# Sun Fortran 8.3
   10679 	  tmp_sharedflag='-G' ;;
   10680 	esac
   10681 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10682 
   10683         if test yes = "$supports_anon_versioning"; then
   10684           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10685             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10686             echo "local: *; };" >> $output_objdir/$libname.ver~
   10687             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   10688         fi
   10689 
   10690 	case $cc_basename in
   10691 	tcc*)
   10692 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10693 	  export_dynamic_flag_spec='-rdynamic'
   10694 	  ;;
   10695 	xlf* | bgf* | bgxlf* | mpixlf*)
   10696 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   10697 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   10698 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10699 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   10700 	  if test yes = "$supports_anon_versioning"; then
   10701 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10702               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10703               echo "local: *; };" >> $output_objdir/$libname.ver~
   10704               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   10705 	  fi
   10706 	  ;;
   10707 	esac
   10708       else
   10709         ld_shlibs=no
   10710       fi
   10711       ;;
   10712 
   10713     *-mlibc)
   10714 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10715 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10716       ;;
   10717 
   10718     netbsd* | netbsdelf*-gnu)
   10719       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10720 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   10721 	wlarc=
   10722       else
   10723 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10724 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10725       fi
   10726       ;;
   10727 
   10728     solaris*)
   10729       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   10730 	ld_shlibs=no
   10731 	cat <<_LT_EOF 1>&2
   10732 
   10733 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   10734 *** create shared libraries on Solaris systems.  Therefore, libtool
   10735 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10736 *** binutils to release 2.9.1 or newer.  Another option is to modify
   10737 *** your PATH or compiler configuration so that the native linker is
   10738 *** used, and then restart.
   10739 
   10740 _LT_EOF
   10741       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10742 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10743 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10744       else
   10745 	ld_shlibs=no
   10746       fi
   10747       ;;
   10748 
   10749     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   10750       case `$LD -v 2>&1` in
   10751         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   10752 	ld_shlibs=no
   10753 	cat <<_LT_EOF 1>&2
   10754 
   10755 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   10756 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   10757 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10758 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   10759 *** your PATH or compiler configuration so that the native linker is
   10760 *** used, and then restart.
   10761 
   10762 _LT_EOF
   10763 	;;
   10764 	*)
   10765 	  # For security reasons, it is highly recommended that you always
   10766 	  # use absolute paths for naming shared libraries, and exclude the
   10767 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   10768 	  # requires that you compile everything twice, which is a pain.
   10769 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10770 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10771 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10772 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10773 	  else
   10774 	    ld_shlibs=no
   10775 	  fi
   10776 	;;
   10777       esac
   10778       ;;
   10779 
   10780     sunos4*)
   10781       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10782       wlarc=
   10783       hardcode_direct=yes
   10784       hardcode_shlibpath_var=no
   10785       ;;
   10786 
   10787     *)
   10788       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10789 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10790 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10791       else
   10792 	ld_shlibs=no
   10793       fi
   10794       ;;
   10795     esac
   10796 
   10797     if test no = "$ld_shlibs"; then
   10798       runpath_var=
   10799       hardcode_libdir_flag_spec=
   10800       export_dynamic_flag_spec=
   10801       whole_archive_flag_spec=
   10802     fi
   10803   else
   10804     # PORTME fill in a description of your system's linker (not GNU ld)
   10805     case $host_os in
   10806     aix3*)
   10807       allow_undefined_flag=unsupported
   10808       always_export_symbols=yes
   10809       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'
   10810       # Note: this linker hardcodes the directories in LIBPATH if there
   10811       # are no directories specified by -L.
   10812       hardcode_minus_L=yes
   10813       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   10814 	# Neither direct hardcoding nor static linking is supported with a
   10815 	# broken collect2.
   10816 	hardcode_direct=unsupported
   10817       fi
   10818       ;;
   10819 
   10820     aix[4-9]*)
   10821       if test ia64 = "$host_cpu"; then
   10822 	# On IA64, the linker does run time linking by default, so we don't
   10823 	# have to do anything special.
   10824 	aix_use_runtimelinking=no
   10825 	exp_sym_flag='-Bexport'
   10826 	no_entry_flag=
   10827       else
   10828 	# If we're using GNU nm, then we don't want the "-C" option.
   10829 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   10830 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   10831 	# weak defined symbols like other global defined symbols, whereas
   10832 	# GNU nm marks them as "W".
   10833 	# While the 'weak' keyword is ignored in the Export File, we need
   10834 	# it in the Import File for the 'aix-soname' feature, so we have
   10835 	# to replace the "-B" option with "-P" for AIX nm.
   10836 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   10837 	  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'
   10838 	else
   10839 	  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'
   10840 	fi
   10841 	aix_use_runtimelinking=no
   10842 
   10843 	# Test if we are trying to use run time linking or normal
   10844 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10845 	# have runtime linking enabled, and use it for executables.
   10846 	# For shared libraries, we enable/disable runtime linking
   10847 	# depending on the kind of the shared library created -
   10848 	# when "with_aix_soname,aix_use_runtimelinking" is:
   10849 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   10850 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   10851 	#            lib.a           static archive
   10852 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   10853 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   10854 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   10855 	#            lib.a(lib.so.V) shared, rtl:no
   10856 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   10857 	#            lib.a           static archive
   10858 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10859 	  for ld_flag in $LDFLAGS; do
   10860 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   10861 	    aix_use_runtimelinking=yes
   10862 	    break
   10863 	  fi
   10864 	  done
   10865 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   10866 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   10867 	    # so we don't have lib.a shared libs to link our executables.
   10868 	    # We have to force runtime linking in this case.
   10869 	    aix_use_runtimelinking=yes
   10870 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   10871 	  fi
   10872 	  ;;
   10873 	esac
   10874 
   10875 	exp_sym_flag='-bexport'
   10876 	no_entry_flag='-bnoentry'
   10877       fi
   10878 
   10879       # When large executables or shared objects are built, AIX ld can
   10880       # have problems creating the table of contents.  If linking a library
   10881       # or program results in "error TOC overflow" add -mminimal-toc to
   10882       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10883       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10884 
   10885       archive_cmds=''
   10886       hardcode_direct=yes
   10887       hardcode_direct_absolute=yes
   10888       hardcode_libdir_separator=':'
   10889       link_all_deplibs=yes
   10890       file_list_spec='$wl-f,'
   10891       case $with_aix_soname,$aix_use_runtimelinking in
   10892       aix,*) ;; # traditional, no import file
   10893       svr4,* | *,yes) # use import file
   10894 	# The Import File defines what to hardcode.
   10895 	hardcode_direct=no
   10896 	hardcode_direct_absolute=no
   10897 	;;
   10898       esac
   10899 
   10900       if test yes = "$GCC"; then
   10901 	case $host_os in aix4.[012]|aix4.[012].*)
   10902 	# We only want to do this on AIX 4.2 and lower, the check
   10903 	# below for broken collect2 doesn't work under 4.3+
   10904 	  collect2name=`$CC -print-prog-name=collect2`
   10905 	  if test -f "$collect2name" &&
   10906 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10907 	  then
   10908 	  # We have reworked collect2
   10909 	  :
   10910 	  else
   10911 	  # We have old collect2
   10912 	  hardcode_direct=unsupported
   10913 	  # It fails to find uninstalled libraries when the uninstalled
   10914 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10915 	  # to unsupported forces relinking
   10916 	  hardcode_minus_L=yes
   10917 	  hardcode_libdir_flag_spec='-L$libdir'
   10918 	  hardcode_libdir_separator=
   10919 	  fi
   10920 	  ;;
   10921 	esac
   10922 	shared_flag='-shared'
   10923 	if test yes = "$aix_use_runtimelinking"; then
   10924 	  shared_flag="$shared_flag "'$wl-G'
   10925 	fi
   10926 	# Need to ensure runtime linking is disabled for the traditional
   10927 	# shared library, or the linker may eventually find shared libraries
   10928 	# /with/ Import File - we do not want to mix them.
   10929 	shared_flag_aix='-shared'
   10930 	shared_flag_svr4='-shared $wl-G'
   10931       else
   10932 	# not using gcc
   10933 	if test ia64 = "$host_cpu"; then
   10934 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10935 	# chokes on -Wl,-G. The following line is correct:
   10936 	  shared_flag='-G'
   10937 	else
   10938 	  if test yes = "$aix_use_runtimelinking"; then
   10939 	    shared_flag='$wl-G'
   10940 	  else
   10941 	    shared_flag='$wl-bM:SRE'
   10942 	  fi
   10943 	  shared_flag_aix='$wl-bM:SRE'
   10944 	  shared_flag_svr4='$wl-G'
   10945 	fi
   10946       fi
   10947 
   10948       export_dynamic_flag_spec='$wl-bexpall'
   10949       # It seems that -bexpall does not export symbols beginning with
   10950       # underscore (_), so it is better to generate a list of symbols to export.
   10951       always_export_symbols=yes
   10952       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   10953 	# Warning - without using the other runtime loading flags (-brtl),
   10954 	# -berok will link without error, but may produce a broken library.
   10955 	allow_undefined_flag='-berok'
   10956         # Determine the default libpath from the value encoded in an
   10957         # empty executable.
   10958         if test set = "${lt_cv_aix_libpath+set}"; then
   10959   aix_libpath=$lt_cv_aix_libpath
   10960 else
   10961   if test ${lt_cv_aix_libpath_+y}
   10962 then :
   10963   printf %s "(cached) " >&6
   10964 else case e in #(
   10965   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10966 /* end confdefs.h.  */
   10967 
   10968 int
   10969 main (void)
   10970 {
   10971 
   10972   ;
   10973   return 0;
   10974 }
   10975 _ACEOF
   10976 if ac_fn_c_try_link "$LINENO"
   10977 then :
   10978 
   10979   lt_aix_libpath_sed='
   10980       /Import File Strings/,/^$/ {
   10981 	  /^0/ {
   10982 	      s/^0  *\([^ ]*\) *$/\1/
   10983 	      p
   10984 	  }
   10985       }'
   10986   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10987   # Check for a 64-bit object if we didn't find anything.
   10988   if test -z "$lt_cv_aix_libpath_"; then
   10989     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10990   fi
   10991 fi
   10992 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10993     conftest$ac_exeext conftest.$ac_ext
   10994   if test -z "$lt_cv_aix_libpath_"; then
   10995     lt_cv_aix_libpath_=/usr/lib:/lib
   10996   fi
   10997    ;;
   10998 esac
   10999 fi
   11000 
   11001   aix_libpath=$lt_cv_aix_libpath_
   11002 fi
   11003 
   11004         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   11005         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
   11006       else
   11007 	if test ia64 = "$host_cpu"; then
   11008 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   11009 	  allow_undefined_flag="-z nodefs"
   11010 	  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"
   11011 	else
   11012 	 # Determine the default libpath from the value encoded in an
   11013 	 # empty executable.
   11014 	 if test set = "${lt_cv_aix_libpath+set}"; then
   11015   aix_libpath=$lt_cv_aix_libpath
   11016 else
   11017   if test ${lt_cv_aix_libpath_+y}
   11018 then :
   11019   printf %s "(cached) " >&6
   11020 else case e in #(
   11021   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11022 /* end confdefs.h.  */
   11023 
   11024 int
   11025 main (void)
   11026 {
   11027 
   11028   ;
   11029   return 0;
   11030 }
   11031 _ACEOF
   11032 if ac_fn_c_try_link "$LINENO"
   11033 then :
   11034 
   11035   lt_aix_libpath_sed='
   11036       /Import File Strings/,/^$/ {
   11037 	  /^0/ {
   11038 	      s/^0  *\([^ ]*\) *$/\1/
   11039 	      p
   11040 	  }
   11041       }'
   11042   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11043   # Check for a 64-bit object if we didn't find anything.
   11044   if test -z "$lt_cv_aix_libpath_"; then
   11045     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11046   fi
   11047 fi
   11048 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11049     conftest$ac_exeext conftest.$ac_ext
   11050   if test -z "$lt_cv_aix_libpath_"; then
   11051     lt_cv_aix_libpath_=/usr/lib:/lib
   11052   fi
   11053    ;;
   11054 esac
   11055 fi
   11056 
   11057   aix_libpath=$lt_cv_aix_libpath_
   11058 fi
   11059 
   11060 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   11061 	  # Warning - without using the other run time loading flags,
   11062 	  # -berok will link without error, but may produce a broken library.
   11063 	  no_undefined_flag=' $wl-bernotok'
   11064 	  allow_undefined_flag=' $wl-berok'
   11065 	  if test yes = "$with_gnu_ld"; then
   11066 	    # We only use this code for GNU lds that support --whole-archive.
   11067 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   11068 	  else
   11069 	    # Exported symbols can be pulled into shared objects from archives
   11070 	    whole_archive_flag_spec='$convenience'
   11071 	  fi
   11072 	  archive_cmds_need_lc=yes
   11073 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   11074 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   11075 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   11076 	  if test svr4 != "$with_aix_soname"; then
   11077 	    # This is similar to how AIX traditionally builds its shared libraries.
   11078 	    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'
   11079 	  fi
   11080 	  if test aix != "$with_aix_soname"; then
   11081 	    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'
   11082 	  else
   11083 	    # used by -dlpreopen to get the symbols
   11084 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   11085 	  fi
   11086 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   11087 	fi
   11088       fi
   11089       ;;
   11090 
   11091     amigaos*)
   11092       case $host_cpu in
   11093       powerpc)
   11094             # see comment about AmigaOS4 .so support
   11095             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11096             archive_expsym_cmds=''
   11097         ;;
   11098       m68k)
   11099             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)'
   11100             hardcode_libdir_flag_spec='-L$libdir'
   11101             hardcode_minus_L=yes
   11102         ;;
   11103       esac
   11104       ;;
   11105 
   11106     bsdi[45]*)
   11107       export_dynamic_flag_spec=-rdynamic
   11108       ;;
   11109 
   11110     cygwin* | mingw* | windows* | pw32* | cegcc*)
   11111       # When not using gcc, we currently assume that we are using
   11112       # Microsoft Visual C++ or Intel C++ Compiler.
   11113       # hardcode_libdir_flag_spec is actually meaningless, as there is
   11114       # no search path for DLLs.
   11115       case $cc_basename in
   11116       cl* | icl*)
   11117 	# Native MSVC or ICC
   11118 	hardcode_libdir_flag_spec=' '
   11119 	allow_undefined_flag=unsupported
   11120 	always_export_symbols=yes
   11121 	file_list_spec='@'
   11122 	# Tell ltmain to make .lib files, not .a files.
   11123 	libext=lib
   11124 	# Tell ltmain to make .dll files, not .so files.
   11125 	shrext_cmds=.dll
   11126 	# FIXME: Setting linknames here is a bad hack.
   11127 	archive_cmds='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   11128 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   11129             cp "$export_symbols" "$output_objdir/$soname.def";
   11130             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   11131           else
   11132             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   11133           fi~
   11134           $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   11135           linknames='
   11136 	# The linker will not automatically build a static lib if we build a DLL.
   11137 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   11138 	enable_shared_with_static_runtimes=yes
   11139 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   11140 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   11141 	# Don't use ranlib
   11142 	old_postinstall_cmds='chmod 644 $oldlib'
   11143 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   11144           lt_tool_outputfile="@TOOL_OUTPUT@"~
   11145           case $lt_outputfile in
   11146             *.exe|*.EXE) ;;
   11147             *)
   11148               lt_outputfile=$lt_outputfile.exe
   11149               lt_tool_outputfile=$lt_tool_outputfile.exe
   11150               ;;
   11151           esac~
   11152           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   11153             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   11154             $RM "$lt_outputfile.manifest";
   11155           fi'
   11156 	;;
   11157       *)
   11158 	# Assume MSVC and ICC wrapper
   11159 	hardcode_libdir_flag_spec=' '
   11160 	allow_undefined_flag=unsupported
   11161 	# Tell ltmain to make .lib files, not .a files.
   11162 	libext=lib
   11163 	# Tell ltmain to make .dll files, not .so files.
   11164 	shrext_cmds=.dll
   11165 	# FIXME: Setting linknames here is a bad hack.
   11166 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   11167 	# The linker will automatically build a .lib file if we build a DLL.
   11168 	old_archive_from_new_cmds='true'
   11169 	# FIXME: Should let the user specify the lib program.
   11170 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   11171 	enable_shared_with_static_runtimes=yes
   11172 	;;
   11173       esac
   11174       ;;
   11175 
   11176     darwin* | rhapsody*)
   11177 
   11178 
   11179   archive_cmds_need_lc=no
   11180   hardcode_direct=no
   11181   hardcode_automatic=yes
   11182   hardcode_shlibpath_var=unsupported
   11183   if test yes = "$lt_cv_ld_force_load"; then
   11184     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\"`'
   11185 
   11186   else
   11187     whole_archive_flag_spec=''
   11188   fi
   11189   link_all_deplibs=yes
   11190   allow_undefined_flag=$_lt_dar_allow_undefined
   11191   case $cc_basename in
   11192      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   11193      *) _lt_dar_can_shared=$GCC ;;
   11194   esac
   11195   if test yes = "$_lt_dar_can_shared"; then
   11196     output_verbose_link_cmd=func_echo_all
   11197     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   11198     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   11199     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"
   11200     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"
   11201 
   11202   else
   11203   ld_shlibs=no
   11204   fi
   11205 
   11206       ;;
   11207 
   11208     dgux*)
   11209       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11210       hardcode_libdir_flag_spec='-L$libdir'
   11211       hardcode_shlibpath_var=no
   11212       ;;
   11213 
   11214     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   11215     # support.  Future versions do this automatically, but an explicit c++rt0.o
   11216     # does not break anything, and helps significantly (at the cost of a little
   11217     # extra space).
   11218     freebsd2.2*)
   11219       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   11220       hardcode_libdir_flag_spec='-R$libdir'
   11221       hardcode_direct=yes
   11222       hardcode_shlibpath_var=no
   11223       ;;
   11224 
   11225     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   11226     freebsd2.*)
   11227       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   11228       hardcode_direct=yes
   11229       hardcode_minus_L=yes
   11230       hardcode_shlibpath_var=no
   11231       ;;
   11232 
   11233     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   11234     freebsd* | dragonfly* | midnightbsd*)
   11235       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11236       hardcode_libdir_flag_spec='-R$libdir'
   11237       hardcode_direct=yes
   11238       hardcode_shlibpath_var=no
   11239       ;;
   11240 
   11241     hpux9*)
   11242       if test yes = "$GCC"; then
   11243 	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'
   11244       else
   11245 	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'
   11246       fi
   11247       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11248       hardcode_libdir_separator=:
   11249       hardcode_direct=yes
   11250 
   11251       # hardcode_minus_L: Not really in the search PATH,
   11252       # but as the default location of the library.
   11253       hardcode_minus_L=yes
   11254       export_dynamic_flag_spec='$wl-E'
   11255       ;;
   11256 
   11257     hpux10*)
   11258       if test yes,no = "$GCC,$with_gnu_ld"; then
   11259 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11260       else
   11261 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   11262       fi
   11263       if test no = "$with_gnu_ld"; then
   11264 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11265 	hardcode_libdir_separator=:
   11266 	hardcode_direct=yes
   11267 	hardcode_direct_absolute=yes
   11268 	export_dynamic_flag_spec='$wl-E'
   11269 	# hardcode_minus_L: Not really in the search PATH,
   11270 	# but as the default location of the library.
   11271 	hardcode_minus_L=yes
   11272       fi
   11273       ;;
   11274 
   11275     hpux11*)
   11276       if test yes,no = "$GCC,$with_gnu_ld"; then
   11277 	case $host_cpu in
   11278 	hppa*64*)
   11279 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11280 	  ;;
   11281 	ia64*)
   11282 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   11283 	  ;;
   11284 	*)
   11285 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11286 	  ;;
   11287 	esac
   11288       else
   11289 	case $host_cpu in
   11290 	hppa*64*)
   11291 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11292 	  ;;
   11293 	ia64*)
   11294 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   11295 	  ;;
   11296 	*)
   11297 
   11298 	  # Older versions of the 11.00 compiler do not understand -b yet
   11299 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   11300 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   11301 printf %s "checking if $CC understands -b... " >&6; }
   11302 if test ${lt_cv_prog_compiler__b+y}
   11303 then :
   11304   printf %s "(cached) " >&6
   11305 else case e in #(
   11306   e) lt_cv_prog_compiler__b=no
   11307    save_LDFLAGS=$LDFLAGS
   11308    LDFLAGS="$LDFLAGS -b"
   11309    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   11310    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   11311      # The linker can only warn and ignore the option if not recognized
   11312      # So say no if there are warnings
   11313      if test -s conftest.err; then
   11314        # Append any errors to the config.log.
   11315        cat conftest.err 1>&5
   11316        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   11317        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   11318        if diff conftest.exp conftest.er2 >/dev/null; then
   11319          lt_cv_prog_compiler__b=yes
   11320        fi
   11321      else
   11322        lt_cv_prog_compiler__b=yes
   11323      fi
   11324    fi
   11325    $RM -r conftest*
   11326    LDFLAGS=$save_LDFLAGS
   11327  ;;
   11328 esac
   11329 fi
   11330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   11331 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   11332 
   11333 if test yes = "$lt_cv_prog_compiler__b"; then
   11334     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11335 else
   11336     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   11337 fi
   11338 
   11339 	  ;;
   11340 	esac
   11341       fi
   11342       if test no = "$with_gnu_ld"; then
   11343 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11344 	hardcode_libdir_separator=:
   11345 
   11346 	case $host_cpu in
   11347 	hppa*64*|ia64*)
   11348 	  hardcode_direct=no
   11349 	  hardcode_shlibpath_var=no
   11350 	  ;;
   11351 	*)
   11352 	  hardcode_direct=yes
   11353 	  hardcode_direct_absolute=yes
   11354 	  export_dynamic_flag_spec='$wl-E'
   11355 
   11356 	  # hardcode_minus_L: Not really in the search PATH,
   11357 	  # but as the default location of the library.
   11358 	  hardcode_minus_L=yes
   11359 	  ;;
   11360 	esac
   11361       fi
   11362       ;;
   11363 
   11364     irix5* | irix6* | nonstopux*)
   11365       if test yes = "$GCC"; then
   11366 	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'
   11367 	# Try to use the -exported_symbol ld option, if it does not
   11368 	# work, assume that -exports_file does not work either and
   11369 	# implicitly export all symbols.
   11370 	# This should be the same for all languages, so no per-tag cache variable.
   11371 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   11372 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   11373 if test ${lt_cv_irix_exported_symbol+y}
   11374 then :
   11375   printf %s "(cached) " >&6
   11376 else case e in #(
   11377   e) save_LDFLAGS=$LDFLAGS
   11378 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   11379 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11380 /* end confdefs.h.  */
   11381 int foo (void) { return 0; }
   11382 _ACEOF
   11383 if ac_fn_c_try_link "$LINENO"
   11384 then :
   11385   lt_cv_irix_exported_symbol=yes
   11386 else case e in #(
   11387   e) lt_cv_irix_exported_symbol=no ;;
   11388 esac
   11389 fi
   11390 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11391     conftest$ac_exeext conftest.$ac_ext
   11392            LDFLAGS=$save_LDFLAGS ;;
   11393 esac
   11394 fi
   11395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   11396 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   11397 	if test yes = "$lt_cv_irix_exported_symbol"; then
   11398           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'
   11399 	fi
   11400       else
   11401 	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'
   11402 	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'
   11403       fi
   11404       archive_cmds_need_lc='no'
   11405       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11406       hardcode_libdir_separator=:
   11407       inherit_rpath=yes
   11408       link_all_deplibs=yes
   11409       ;;
   11410 
   11411     linux*)
   11412       case $cc_basename in
   11413       tcc*)
   11414 	# Fabrice Bellard et al's Tiny C Compiler
   11415 	ld_shlibs=yes
   11416 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11417 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11418 	;;
   11419       esac
   11420       ;;
   11421 
   11422     *-mlibc)
   11423       ;;
   11424 
   11425     netbsd* | netbsdelf*-gnu)
   11426       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11427 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   11428       else
   11429 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   11430       fi
   11431       hardcode_libdir_flag_spec='-R$libdir'
   11432       hardcode_direct=yes
   11433       hardcode_shlibpath_var=no
   11434       ;;
   11435 
   11436     newsos6)
   11437       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11438       hardcode_direct=yes
   11439       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11440       hardcode_libdir_separator=:
   11441       hardcode_shlibpath_var=no
   11442       ;;
   11443 
   11444     *nto* | *qnx*)
   11445       ;;
   11446 
   11447     openbsd*)
   11448       if test -f /usr/libexec/ld.so; then
   11449 	hardcode_direct=yes
   11450 	hardcode_shlibpath_var=no
   11451 	hardcode_direct_absolute=yes
   11452 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11453 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11454 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   11455 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11456 	  export_dynamic_flag_spec='$wl-E'
   11457 	else
   11458 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11459 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11460 	fi
   11461       else
   11462 	ld_shlibs=no
   11463       fi
   11464       ;;
   11465 
   11466     os2*)
   11467       hardcode_libdir_flag_spec='-L$libdir'
   11468       hardcode_minus_L=yes
   11469       allow_undefined_flag=unsupported
   11470       shrext_cmds=.dll
   11471       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11472 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11473 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11474 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11475 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   11476 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11477 	emximp -o $lib $output_objdir/$libname.def'
   11478       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11479 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11480 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11481 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11482 	prefix_cmds="$SED"~
   11483 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   11484 	  prefix_cmds="$prefix_cmds -e 1d";
   11485 	fi~
   11486 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   11487 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   11488 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11489 	emximp -o $lib $output_objdir/$libname.def'
   11490       old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   11491       enable_shared_with_static_runtimes=yes
   11492       file_list_spec='@'
   11493       ;;
   11494 
   11495     osf3*)
   11496       if test yes = "$GCC"; then
   11497 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11498 	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'
   11499       else
   11500 	allow_undefined_flag=' -expect_unresolved \*'
   11501 	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'
   11502       fi
   11503       archive_cmds_need_lc='no'
   11504       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11505       hardcode_libdir_separator=:
   11506       ;;
   11507 
   11508     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   11509       if test yes = "$GCC"; then
   11510 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11511 	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'
   11512 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11513       else
   11514 	allow_undefined_flag=' -expect_unresolved \*'
   11515 	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'
   11516 	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~
   11517           $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'
   11518 
   11519 	# Both c and cxx compiler support -rpath directly
   11520 	hardcode_libdir_flag_spec='-rpath $libdir'
   11521       fi
   11522       archive_cmds_need_lc='no'
   11523       hardcode_libdir_separator=:
   11524       ;;
   11525 
   11526     serenity*)
   11527       ;;
   11528 
   11529     solaris*)
   11530       no_undefined_flag=' -z defs'
   11531       if test yes = "$GCC"; then
   11532 	wlarc='$wl'
   11533 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11534 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11535           $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'
   11536       else
   11537 	case `$CC -V 2>&1` in
   11538 	*"Compilers 5.0"*)
   11539 	  wlarc=''
   11540 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11541 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11542             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   11543 	  ;;
   11544 	*)
   11545 	  wlarc='$wl'
   11546 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11547 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11548             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   11549 	  ;;
   11550 	esac
   11551       fi
   11552       hardcode_libdir_flag_spec='-R$libdir'
   11553       hardcode_shlibpath_var=no
   11554       case $host_os in
   11555       solaris2.[0-5] | solaris2.[0-5].*) ;;
   11556       *)
   11557 	# The compiler driver will combine and reorder linker options,
   11558 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   11559 	# but is careful enough not to reorder.
   11560 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   11561 	if test yes = "$GCC"; then
   11562 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   11563 	else
   11564 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   11565 	fi
   11566 	;;
   11567       esac
   11568       link_all_deplibs=yes
   11569       ;;
   11570 
   11571     sunos4*)
   11572       if test sequent = "$host_vendor"; then
   11573 	# Use $CC to link under sequent, because it throws in some extra .o
   11574 	# files that make .init and .fini sections work.
   11575 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11576       else
   11577 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   11578       fi
   11579       hardcode_libdir_flag_spec='-L$libdir'
   11580       hardcode_direct=yes
   11581       hardcode_minus_L=yes
   11582       hardcode_shlibpath_var=no
   11583       ;;
   11584 
   11585     sysv4)
   11586       case $host_vendor in
   11587 	sni)
   11588 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11589 	  hardcode_direct=yes # is this really true???
   11590 	;;
   11591 	siemens)
   11592 	  ## LD is ld it makes a PLAMLIB
   11593 	  ## CC just makes a GrossModule.
   11594 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   11595 	  reload_cmds='$CC -r -o $output$reload_objs'
   11596 	  hardcode_direct=no
   11597         ;;
   11598 	motorola)
   11599 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11600 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   11601 	;;
   11602       esac
   11603       runpath_var='LD_RUN_PATH'
   11604       hardcode_shlibpath_var=no
   11605       ;;
   11606 
   11607     sysv4.3*)
   11608       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11609       hardcode_shlibpath_var=no
   11610       export_dynamic_flag_spec='-Bexport'
   11611       ;;
   11612 
   11613     sysv4*MP*)
   11614       if test -d /usr/nec; then
   11615 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11616 	hardcode_shlibpath_var=no
   11617 	runpath_var=LD_RUN_PATH
   11618 	hardcode_runpath_var=yes
   11619 	ld_shlibs=yes
   11620       fi
   11621       ;;
   11622 
   11623     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11624       no_undefined_flag='$wl-z,text'
   11625       archive_cmds_need_lc=no
   11626       hardcode_shlibpath_var=no
   11627       runpath_var='LD_RUN_PATH'
   11628 
   11629       if test yes = "$GCC"; then
   11630 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11631 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11632       else
   11633 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11634 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11635       fi
   11636       ;;
   11637 
   11638     sysv5* | sco3.2v5* | sco5v6*)
   11639       # Note: We CANNOT use -z defs as we might desire, because we do not
   11640       # link with -lc, and that would cause any symbols used from libc to
   11641       # always be unresolved, which means just about no library would
   11642       # ever link correctly.  If we're not using GNU ld we use -z text
   11643       # though, which does catch some bad symbols but isn't as heavy-handed
   11644       # as -z defs.
   11645       no_undefined_flag='$wl-z,text'
   11646       allow_undefined_flag='$wl-z,nodefs'
   11647       archive_cmds_need_lc=no
   11648       hardcode_shlibpath_var=no
   11649       hardcode_libdir_flag_spec='$wl-R,$libdir'
   11650       hardcode_libdir_separator=':'
   11651       link_all_deplibs=yes
   11652       export_dynamic_flag_spec='$wl-Bexport'
   11653       runpath_var='LD_RUN_PATH'
   11654 
   11655       if test yes = "$GCC"; then
   11656 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11657 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11658       else
   11659 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11660 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11661       fi
   11662       ;;
   11663 
   11664     uts4*)
   11665       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11666       hardcode_libdir_flag_spec='-L$libdir'
   11667       hardcode_shlibpath_var=no
   11668       ;;
   11669 
   11670     *)
   11671       ld_shlibs=no
   11672       ;;
   11673     esac
   11674 
   11675     if test sni = "$host_vendor"; then
   11676       case $host in
   11677       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   11678 	export_dynamic_flag_spec='$wl-Blargedynsym'
   11679 	;;
   11680       esac
   11681     fi
   11682   fi
   11683 
   11684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   11685 printf "%s\n" "$ld_shlibs" >&6; }
   11686 test no = "$ld_shlibs" && can_build_shared=no
   11687 
   11688 with_gnu_ld=$with_gnu_ld
   11689 
   11690 
   11691 
   11692 
   11693 
   11694 
   11695 
   11696 
   11697 
   11698 
   11699 
   11700 
   11701 
   11702 
   11703 
   11704 #
   11705 # Do we need to explicitly link libc?
   11706 #
   11707 case "x$archive_cmds_need_lc" in
   11708 x|xyes)
   11709   # Assume -lc should be added
   11710   archive_cmds_need_lc=yes
   11711 
   11712   if test yes,yes = "$GCC,$enable_shared"; then
   11713     case $archive_cmds in
   11714     *'~'*)
   11715       # FIXME: we may have to deal with multi-command sequences.
   11716       ;;
   11717     '$CC '*)
   11718       # Test whether the compiler implicitly links with -lc since on some
   11719       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   11720       # to ld, don't add -lc before -lgcc.
   11721       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   11722 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   11723 if test ${lt_cv_archive_cmds_need_lc+y}
   11724 then :
   11725   printf %s "(cached) " >&6
   11726 else case e in #(
   11727   e) $RM conftest*
   11728 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11729 
   11730 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11731   (eval $ac_compile) 2>&5
   11732   ac_status=$?
   11733   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11734   test $ac_status = 0; } 2>conftest.err; then
   11735 	  soname=conftest
   11736 	  lib=conftest
   11737 	  libobjs=conftest.$ac_objext
   11738 	  deplibs=
   11739 	  wl=$lt_prog_compiler_wl
   11740 	  pic_flag=$lt_prog_compiler_pic
   11741 	  compiler_flags=-v
   11742 	  linker_flags=-v
   11743 	  verstring=
   11744 	  output_objdir=.
   11745 	  libname=conftest
   11746 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   11747 	  allow_undefined_flag=
   11748 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   11749   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   11750   ac_status=$?
   11751   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11752   test $ac_status = 0; }
   11753 	  then
   11754 	    lt_cv_archive_cmds_need_lc=no
   11755 	  else
   11756 	    lt_cv_archive_cmds_need_lc=yes
   11757 	  fi
   11758 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   11759 	else
   11760 	  cat conftest.err 1>&5
   11761 	fi
   11762 	$RM conftest*
   11763 	 ;;
   11764 esac
   11765 fi
   11766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   11767 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   11768       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   11769       ;;
   11770     esac
   11771   fi
   11772   ;;
   11773 esac
   11774 
   11775 
   11776 
   11777 
   11778 
   11779 
   11780 
   11781 
   11782 
   11783 
   11784 
   11785 
   11786 
   11787 
   11788 
   11789 
   11790 
   11791 
   11792 
   11793 
   11794 
   11795 
   11796 
   11797 
   11798 
   11799 
   11800 
   11801 
   11802 
   11803 
   11804 
   11805 
   11806 
   11807 
   11808 
   11809 
   11810 
   11811 
   11812 
   11813 
   11814 
   11815 
   11816 
   11817 
   11818 
   11819 
   11820 
   11821 
   11822 
   11823 
   11824 
   11825 
   11826 
   11827 
   11828 
   11829 
   11830 
   11831 
   11832 
   11833 
   11834 
   11835 
   11836 
   11837 
   11838 
   11839 
   11840 
   11841 
   11842 
   11843 
   11844 
   11845 
   11846 
   11847 
   11848 
   11849 
   11850 
   11851 
   11852 
   11853 
   11854 
   11855 
   11856 
   11857 
   11858 
   11859 
   11860 
   11861 
   11862 
   11863 
   11864 
   11865 
   11866 
   11867 
   11868 
   11869 
   11870 
   11871 
   11872 
   11873 
   11874 
   11875 
   11876 
   11877 
   11878 
   11879 
   11880 
   11881 
   11882 
   11883 
   11884 
   11885 
   11886 
   11887 
   11888 
   11889 
   11890 
   11891 
   11892 
   11893 
   11894 
   11895 
   11896 
   11897 
   11898 
   11899 
   11900 
   11901 
   11902 
   11903 
   11904 
   11905 
   11906 
   11907 
   11908 
   11909 
   11910 
   11911 
   11912 
   11913 
   11914 
   11915 
   11916 
   11917 
   11918 
   11919 
   11920 
   11921 
   11922 
   11923 
   11924 
   11925 
   11926   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11927 printf %s "checking dynamic linker characteristics... " >&6; }
   11928 
   11929 if test yes = "$GCC"; then
   11930   case $host_os in
   11931     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   11932     *) lt_awk_arg='/^libraries:/' ;;
   11933   esac
   11934   case $host_os in
   11935     mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   11936     *) lt_sed_strip_eq='s|=/|/|g' ;;
   11937   esac
   11938   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11939   case $lt_search_path_spec in
   11940   *\;*)
   11941     # if the path contains ";" then we assume it to be the separator
   11942     # otherwise default to the standard path separator (i.e. ":") - it is
   11943     # assumed that no part of a normal pathname contains ";" but that should
   11944     # okay in the real world where ";" in dirpaths is itself problematic.
   11945     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11946     ;;
   11947   *)
   11948     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11949     ;;
   11950   esac
   11951   # Ok, now we have the path, separated by spaces, we can step through it
   11952   # and add multilib dir if necessary...
   11953   lt_tmp_lt_search_path_spec=
   11954   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11955   # ...but if some path component already ends with the multilib dir we assume
   11956   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   11957   case "$lt_multi_os_dir; $lt_search_path_spec " in
   11958   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   11959     lt_multi_os_dir=
   11960     ;;
   11961   esac
   11962   for lt_sys_path in $lt_search_path_spec; do
   11963     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   11964       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   11965     elif test -n "$lt_multi_os_dir"; then
   11966       test -d "$lt_sys_path" && \
   11967 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11968     fi
   11969   done
   11970   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11971 BEGIN {RS = " "; FS = "/|\n";} {
   11972   lt_foo = "";
   11973   lt_count = 0;
   11974   for (lt_i = NF; lt_i > 0; lt_i--) {
   11975     if ($lt_i != "" && $lt_i != ".") {
   11976       if ($lt_i == "..") {
   11977         lt_count++;
   11978       } else {
   11979         if (lt_count == 0) {
   11980           lt_foo = "/" $lt_i lt_foo;
   11981         } else {
   11982           lt_count--;
   11983         }
   11984       }
   11985     }
   11986   }
   11987   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11988   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11989 }'`
   11990   # AWK program above erroneously prepends '/' to C:/dos/paths
   11991   # for these hosts.
   11992   case $host_os in
   11993     mingw* | windows* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11994       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   11995   esac
   11996   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11997 else
   11998   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11999 fi
   12000 library_names_spec=
   12001 libname_spec='lib$name'
   12002 soname_spec=
   12003 shrext_cmds=.so
   12004 postinstall_cmds=
   12005 postuninstall_cmds=
   12006 finish_cmds=
   12007 finish_eval=
   12008 shlibpath_var=
   12009 shlibpath_overrides_runpath=unknown
   12010 version_type=none
   12011 dynamic_linker="$host_os ld.so"
   12012 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   12013 need_lib_prefix=unknown
   12014 hardcode_into_libs=no
   12015 
   12016 # when you set need_version to no, make sure it does not cause -set_version
   12017 # flags to be left without arguments
   12018 need_version=unknown
   12019 
   12020 
   12021 
   12022 case $host_os in
   12023 aix3*)
   12024   version_type=linux # correct to gnu/linux during the next big refactor
   12025   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   12026   shlibpath_var=LIBPATH
   12027 
   12028   # AIX 3 has no versioning support, so we append a major version to the name.
   12029   soname_spec='$libname$release$shared_ext$major'
   12030   ;;
   12031 
   12032 aix[4-9]*)
   12033   version_type=linux # correct to gnu/linux during the next big refactor
   12034   need_lib_prefix=no
   12035   need_version=no
   12036   hardcode_into_libs=yes
   12037   if test ia64 = "$host_cpu"; then
   12038     # AIX 5 supports IA64
   12039     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   12040     shlibpath_var=LD_LIBRARY_PATH
   12041   else
   12042     # With GCC up to 2.95.x, collect2 would create an import file
   12043     # for dependence libraries.  The import file would start with
   12044     # the line '#! .'.  This would cause the generated library to
   12045     # depend on '.', always an invalid library.  This was fixed in
   12046     # development snapshots of GCC prior to 3.0.
   12047     case $host_os in
   12048       aix4 | aix4.[01] | aix4.[01].*)
   12049       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   12050 	   echo ' yes '
   12051 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   12052 	:
   12053       else
   12054 	can_build_shared=no
   12055       fi
   12056       ;;
   12057     esac
   12058     # Using Import Files as archive members, it is possible to support
   12059     # filename-based versioning of shared library archives on AIX. While
   12060     # this would work for both with and without runtime linking, it will
   12061     # prevent static linking of such archives. So we do filename-based
   12062     # shared library versioning with .so extension only, which is used
   12063     # when both runtime linking and shared linking is enabled.
   12064     # Unfortunately, runtime linking may impact performance, so we do
   12065     # not want this to be the default eventually. Also, we use the
   12066     # versioned .so libs for executables only if there is the -brtl
   12067     # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
   12068     # To allow for filename-based versioning support, we need to create
   12069     # libNAME.so.V as an archive file, containing:
   12070     # *) an Import File, referring to the versioned filename of the
   12071     #    archive as well as the shared archive member, telling the
   12072     #    bitwidth (32 or 64) of that shared object, and providing the
   12073     #    list of exported symbols of that shared object, eventually
   12074     #    decorated with the 'weak' keyword
   12075     # *) the shared object with the F_LOADONLY flag set, to really avoid
   12076     #    it being seen by the linker.
   12077     # At run time we better use the real file rather than another symlink,
   12078     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   12079 
   12080     case $with_aix_soname,$aix_use_runtimelinking in
   12081     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   12082     # soname into executable. Probably we can add versioning support to
   12083     # collect2, so additional links can be useful in future.
   12084     aix,yes) # traditional libtool
   12085       dynamic_linker='AIX unversionable lib.so'
   12086       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   12087       # instead of lib<name>.a to let people know that these are not
   12088       # typical AIX shared libraries.
   12089       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12090       ;;
   12091     aix,no) # traditional AIX only
   12092       dynamic_linker='AIX lib.a(lib.so.V)'
   12093       # We preserve .a as extension for shared libraries through AIX4.2
   12094       # and later when we are not doing run time linking.
   12095       library_names_spec='$libname$release.a $libname.a'
   12096       soname_spec='$libname$release$shared_ext$major'
   12097       ;;
   12098     svr4,*) # full svr4 only
   12099       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   12100       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   12101       # We do not specify a path in Import Files, so LIBPATH fires.
   12102       shlibpath_overrides_runpath=yes
   12103       ;;
   12104     *,yes) # both, prefer svr4
   12105       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   12106       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   12107       # unpreferred sharedlib libNAME.a needs extra handling
   12108       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"'
   12109       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"'
   12110       # We do not specify a path in Import Files, so LIBPATH fires.
   12111       shlibpath_overrides_runpath=yes
   12112       ;;
   12113     *,no) # both, prefer aix
   12114       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   12115       library_names_spec='$libname$release.a $libname.a'
   12116       soname_spec='$libname$release$shared_ext$major'
   12117       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   12118       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)'
   12119       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"'
   12120       ;;
   12121     esac
   12122     shlibpath_var=LIBPATH
   12123   fi
   12124   ;;
   12125 
   12126 amigaos*)
   12127   case $host_cpu in
   12128   powerpc)
   12129     # Since July 2007 AmigaOS4 officially supports .so libraries.
   12130     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   12131     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12132     ;;
   12133   m68k)
   12134     library_names_spec='$libname.ixlibrary $libname.a'
   12135     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   12136     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'
   12137     ;;
   12138   esac
   12139   ;;
   12140 
   12141 beos*)
   12142   library_names_spec='$libname$shared_ext'
   12143   dynamic_linker="$host_os ld.so"
   12144   shlibpath_var=LIBRARY_PATH
   12145   ;;
   12146 
   12147 bsdi[45]*)
   12148   version_type=linux # correct to gnu/linux during the next big refactor
   12149   need_version=no
   12150   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12151   soname_spec='$libname$release$shared_ext$major'
   12152   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   12153   shlibpath_var=LD_LIBRARY_PATH
   12154   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   12155   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   12156   # the default ld.so.conf also contains /usr/contrib/lib and
   12157   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   12158   # libtool to hard-code these into programs
   12159   ;;
   12160 
   12161 cygwin* | mingw* | windows* | pw32* | cegcc*)
   12162   version_type=windows
   12163   shrext_cmds=.dll
   12164   need_version=no
   12165   need_lib_prefix=no
   12166 
   12167   case $GCC,$cc_basename in
   12168   yes,*)
   12169     # gcc
   12170     library_names_spec='$libname.dll.a'
   12171     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   12172     # If user builds GCC with multilib enabled,
   12173     # it should just install on $(libdir)
   12174     # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
   12175     if test xyes = x"$multilib"; then
   12176       postinstall_cmds='base_file=`basename \$file`~
   12177         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   12178         dldir=$destdir/`dirname \$dlpath`~
   12179         $install_prog $dir/$dlname $destdir/$dlname~
   12180         chmod a+x $destdir/$dlname~
   12181         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12182           eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
   12183         fi'
   12184     else
   12185       postinstall_cmds='base_file=`basename \$file`~
   12186         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   12187         dldir=$destdir/`dirname \$dlpath`~
   12188         test -d \$dldir || mkdir -p \$dldir~
   12189         $install_prog $dir/$dlname \$dldir/$dlname~
   12190         chmod a+x \$dldir/$dlname~
   12191         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12192           eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   12193         fi'
   12194     fi
   12195     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   12196       dlpath=$dir/\$dldll~
   12197        $RM \$dlpath'
   12198     shlibpath_overrides_runpath=yes
   12199 
   12200     case $host_os in
   12201     cygwin*)
   12202       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   12203       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12204 
   12205       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   12206       ;;
   12207     mingw* | windows* | cegcc*)
   12208       # MinGW DLLs use traditional 'lib' prefix
   12209       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12210       ;;
   12211     pw32*)
   12212       # pw32 DLLs use 'pw' prefix rather than 'lib'
   12213       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12214       ;;
   12215     esac
   12216     dynamic_linker='Win32 ld.exe'
   12217     ;;
   12218 
   12219   *,cl* | *,icl*)
   12220     # Native MSVC or ICC
   12221     libname_spec='$name'
   12222     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12223     library_names_spec='$libname.dll.lib'
   12224 
   12225     case $build_os in
   12226     mingw* | windows*)
   12227       sys_lib_search_path_spec=
   12228       lt_save_ifs=$IFS
   12229       IFS=';'
   12230       for lt_path in $LIB
   12231       do
   12232         IFS=$lt_save_ifs
   12233         # Let DOS variable expansion print the short 8.3 style file name.
   12234         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   12235         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   12236       done
   12237       IFS=$lt_save_ifs
   12238       # Convert to MSYS style.
   12239       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   12240       ;;
   12241     cygwin*)
   12242       # Convert to unix form, then to dos form, then back to unix form
   12243       # but this time dos style (no spaces!) so that the unix form looks
   12244       # like /cygdrive/c/PROGRA~1:/cygdr...
   12245       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   12246       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   12247       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   12248       ;;
   12249     *)
   12250       sys_lib_search_path_spec=$LIB
   12251       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   12252         # It is most probably a Windows format PATH.
   12253         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   12254       else
   12255         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   12256       fi
   12257       # FIXME: find the short name or the path components, as spaces are
   12258       # common. (e.g. "Program Files" -> "PROGRA~1")
   12259       ;;
   12260     esac
   12261 
   12262     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   12263     postinstall_cmds='base_file=`basename \$file`~
   12264       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   12265       dldir=$destdir/`dirname \$dlpath`~
   12266       test -d \$dldir || mkdir -p \$dldir~
   12267       $install_prog $dir/$dlname \$dldir/$dlname'
   12268     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   12269       dlpath=$dir/\$dldll~
   12270        $RM \$dlpath'
   12271     shlibpath_overrides_runpath=yes
   12272     dynamic_linker='Win32 link.exe'
   12273     ;;
   12274 
   12275   *)
   12276     # Assume MSVC and ICC wrapper
   12277     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   12278     dynamic_linker='Win32 ld.exe'
   12279     ;;
   12280   esac
   12281   # FIXME: first we should search . and the directory the executable is in
   12282   shlibpath_var=PATH
   12283   ;;
   12284 
   12285 darwin* | rhapsody*)
   12286   dynamic_linker="$host_os dyld"
   12287   version_type=darwin
   12288   need_lib_prefix=no
   12289   need_version=no
   12290   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   12291   soname_spec='$libname$release$major$shared_ext'
   12292   shlibpath_overrides_runpath=yes
   12293   shlibpath_var=DYLD_LIBRARY_PATH
   12294   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   12295 
   12296   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   12297   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   12298   ;;
   12299 
   12300 dgux*)
   12301   version_type=linux # correct to gnu/linux during the next big refactor
   12302   need_lib_prefix=no
   12303   need_version=no
   12304   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12305   soname_spec='$libname$release$shared_ext$major'
   12306   shlibpath_var=LD_LIBRARY_PATH
   12307   ;;
   12308 
   12309 freebsd* | dragonfly* | midnightbsd*)
   12310   # DragonFly does not have aout.  When/if they implement a new
   12311   # versioning mechanism, adjust this.
   12312   if test -x /usr/bin/objformat; then
   12313     objformat=`/usr/bin/objformat`
   12314   else
   12315     case $host_os in
   12316     freebsd[23].*) objformat=aout ;;
   12317     *) objformat=elf ;;
   12318     esac
   12319   fi
   12320   version_type=freebsd-$objformat
   12321   case $version_type in
   12322     freebsd-elf*)
   12323       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12324       soname_spec='$libname$release$shared_ext$major'
   12325       need_version=no
   12326       need_lib_prefix=no
   12327       ;;
   12328     freebsd-*)
   12329       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12330       need_version=yes
   12331       ;;
   12332   esac
   12333   case $host_cpu in
   12334     powerpc64)
   12335       # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
   12336       # binaries.  See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
   12337       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12338 /* end confdefs.h.  */
   12339 int test_pointer_size[sizeof (void *) - 5];
   12340 
   12341 _ACEOF
   12342 if ac_fn_c_try_compile "$LINENO"
   12343 then :
   12344   shlibpath_var=LD_LIBRARY_PATH
   12345 else case e in #(
   12346   e) shlibpath_var=LD_32_LIBRARY_PATH ;;
   12347 esac
   12348 fi
   12349 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12350       ;;
   12351     *)
   12352       shlibpath_var=LD_LIBRARY_PATH
   12353       ;;
   12354   esac
   12355   case $host_os in
   12356   freebsd2.*)
   12357     shlibpath_overrides_runpath=yes
   12358     ;;
   12359   freebsd3.[01]* | freebsdelf3.[01]*)
   12360     shlibpath_overrides_runpath=yes
   12361     hardcode_into_libs=yes
   12362     ;;
   12363   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   12364   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   12365     shlibpath_overrides_runpath=no
   12366     hardcode_into_libs=yes
   12367     ;;
   12368   *) # from 4.6 on, and DragonFly
   12369     shlibpath_overrides_runpath=yes
   12370     hardcode_into_libs=yes
   12371     ;;
   12372   esac
   12373   ;;
   12374 
   12375 haiku*)
   12376   version_type=linux # correct to gnu/linux during the next big refactor
   12377   need_lib_prefix=no
   12378   need_version=no
   12379   dynamic_linker="$host_os runtime_loader"
   12380   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12381   soname_spec='$libname$release$shared_ext$major'
   12382   shlibpath_var=LIBRARY_PATH
   12383   shlibpath_overrides_runpath=no
   12384   sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib'
   12385   sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib'
   12386   hardcode_into_libs=no
   12387   ;;
   12388 
   12389 hpux9* | hpux10* | hpux11*)
   12390   # Give a soname corresponding to the major version so that dld.sl refuses to
   12391   # link against other versions.
   12392   version_type=sunos
   12393   need_lib_prefix=no
   12394   need_version=no
   12395   case $host_cpu in
   12396   ia64*)
   12397     shrext_cmds='.so'
   12398     hardcode_into_libs=yes
   12399     dynamic_linker="$host_os dld.so"
   12400     shlibpath_var=LD_LIBRARY_PATH
   12401     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12402     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12403     soname_spec='$libname$release$shared_ext$major'
   12404     if test 32 = "$HPUX_IA64_MODE"; then
   12405       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   12406       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   12407     else
   12408       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   12409       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   12410     fi
   12411     ;;
   12412   hppa*64*)
   12413     shrext_cmds='.sl'
   12414     hardcode_into_libs=yes
   12415     dynamic_linker="$host_os dld.sl"
   12416     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   12417     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12418     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12419     soname_spec='$libname$release$shared_ext$major'
   12420     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   12421     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12422     ;;
   12423   *)
   12424     shrext_cmds='.sl'
   12425     dynamic_linker="$host_os dld.sl"
   12426     shlibpath_var=SHLIB_PATH
   12427     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   12428     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12429     soname_spec='$libname$release$shared_ext$major'
   12430     ;;
   12431   esac
   12432   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   12433   postinstall_cmds='chmod 555 $lib'
   12434   # or fails outright, so override atomically:
   12435   install_override_mode=555
   12436   ;;
   12437 
   12438 interix[3-9]*)
   12439   version_type=linux # correct to gnu/linux during the next big refactor
   12440   need_lib_prefix=no
   12441   need_version=no
   12442   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12443   soname_spec='$libname$release$shared_ext$major'
   12444   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   12445   shlibpath_var=LD_LIBRARY_PATH
   12446   shlibpath_overrides_runpath=no
   12447   hardcode_into_libs=yes
   12448   ;;
   12449 
   12450 irix5* | irix6* | nonstopux*)
   12451   case $host_os in
   12452     nonstopux*) version_type=nonstopux ;;
   12453     *)
   12454 	if test yes = "$lt_cv_prog_gnu_ld"; then
   12455 		version_type=linux # correct to gnu/linux during the next big refactor
   12456 	else
   12457 		version_type=irix
   12458 	fi ;;
   12459   esac
   12460   need_lib_prefix=no
   12461   need_version=no
   12462   soname_spec='$libname$release$shared_ext$major'
   12463   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   12464   case $host_os in
   12465   irix5* | nonstopux*)
   12466     libsuff= shlibsuff=
   12467     ;;
   12468   *)
   12469     case $LD in # libtool.m4 will add one of these switches to LD
   12470     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   12471       libsuff= shlibsuff= libmagic=32-bit;;
   12472     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   12473       libsuff=32 shlibsuff=N32 libmagic=N32;;
   12474     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   12475       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   12476     *) libsuff= shlibsuff= libmagic=never-match;;
   12477     esac
   12478     ;;
   12479   esac
   12480   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   12481   shlibpath_overrides_runpath=no
   12482   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   12483   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   12484   hardcode_into_libs=yes
   12485   ;;
   12486 
   12487 # No shared lib support for Linux oldld, aout, or coff.
   12488 linux*oldld* | linux*aout* | linux*coff*)
   12489   dynamic_linker=no
   12490   ;;
   12491 
   12492 linux*android*)
   12493   version_type=none # Android doesn't support versioned libraries.
   12494   need_lib_prefix=no
   12495   need_version=no
   12496   library_names_spec='$libname$release$shared_ext $libname$shared_ext'
   12497   soname_spec='$libname$release$shared_ext'
   12498   finish_cmds=
   12499   shlibpath_var=LD_LIBRARY_PATH
   12500   shlibpath_overrides_runpath=yes
   12501 
   12502   # This implies no fast_install, which is unacceptable.
   12503   # Some rework will be needed to allow for fast_install
   12504   # before this can be enabled.
   12505   hardcode_into_libs=yes
   12506 
   12507   dynamic_linker='Android linker'
   12508   # -rpath works at least for libraries that are not overridden by
   12509   # libraries installed in system locations.
   12510   hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   12511   ;;
   12512 
   12513 # This must be glibc/ELF.
   12514 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12515   version_type=linux # correct to gnu/linux during the next big refactor
   12516   need_lib_prefix=no
   12517   need_version=no
   12518   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12519   soname_spec='$libname$release$shared_ext$major'
   12520   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   12521   shlibpath_var=LD_LIBRARY_PATH
   12522   shlibpath_overrides_runpath=no
   12523 
   12524   # Some binutils ld are patched to set DT_RUNPATH
   12525   if test ${lt_cv_shlibpath_overrides_runpath+y}
   12526 then :
   12527   printf %s "(cached) " >&6
   12528 else case e in #(
   12529   e) lt_cv_shlibpath_overrides_runpath=no
   12530     save_LDFLAGS=$LDFLAGS
   12531     save_libdir=$libdir
   12532     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   12533 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   12534     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12535 /* end confdefs.h.  */
   12536 
   12537 int
   12538 main (void)
   12539 {
   12540 
   12541   ;
   12542   return 0;
   12543 }
   12544 _ACEOF
   12545 if ac_fn_c_try_link "$LINENO"
   12546 then :
   12547   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   12548 then :
   12549   lt_cv_shlibpath_overrides_runpath=yes
   12550 fi
   12551 fi
   12552 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12553     conftest$ac_exeext conftest.$ac_ext
   12554     LDFLAGS=$save_LDFLAGS
   12555     libdir=$save_libdir
   12556      ;;
   12557 esac
   12558 fi
   12559 
   12560   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   12561 
   12562   # This implies no fast_install, which is unacceptable.
   12563   # Some rework will be needed to allow for fast_install
   12564   # before this can be enabled.
   12565   hardcode_into_libs=yes
   12566 
   12567   # Ideally, we could use ldconfig to report *all* directories which are
   12568   # searched for libraries, however this is still not possible.  Aside from not
   12569   # being certain /sbin/ldconfig is available, command
   12570   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   12571   # even though it is searched at run-time.  Try to do the best guess by
   12572   # appending ld.so.conf contents (and includes) to the search path.
   12573   if test -f /etc/ld.so.conf; then
   12574     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' ' '`
   12575     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   12576   fi
   12577 
   12578   # We used to test for /lib/ld.so.1 and disable shared libraries on
   12579   # powerpc, because MkLinux only supported shared libraries with the
   12580   # GNU dynamic linker.  Since this was broken with cross compilers,
   12581   # most powerpc-linux boxes support dynamic linking these days and
   12582   # people can always --disable-shared, the test was removed, and we
   12583   # assume the GNU/Linux dynamic linker is in use.
   12584   dynamic_linker='GNU/Linux ld.so'
   12585   ;;
   12586 
   12587 netbsdelf*-gnu)
   12588   version_type=linux
   12589   need_lib_prefix=no
   12590   need_version=no
   12591   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12592   soname_spec='$libname$release$shared_ext$major'
   12593   shlibpath_var=LD_LIBRARY_PATH
   12594   shlibpath_overrides_runpath=no
   12595   hardcode_into_libs=yes
   12596   dynamic_linker='NetBSD ld.elf_so'
   12597   ;;
   12598 
   12599 netbsd*)
   12600   version_type=sunos
   12601   need_lib_prefix=no
   12602   need_version=no
   12603   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   12604     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12605     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12606     dynamic_linker='NetBSD (a.out) ld.so'
   12607   else
   12608     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12609     soname_spec='$libname$release$shared_ext$major'
   12610     dynamic_linker='NetBSD ld.elf_so'
   12611   fi
   12612   shlibpath_var=LD_LIBRARY_PATH
   12613   shlibpath_overrides_runpath=yes
   12614   hardcode_into_libs=yes
   12615   ;;
   12616 
   12617 *-mlibc)
   12618   version_type=linux # correct to gnu/linux during the next big refactor
   12619   need_lib_prefix=no
   12620   need_version=no
   12621   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12622   soname_spec='$libname$release$shared_ext$major'
   12623   dynamic_linker='mlibc ld.so'
   12624   shlibpath_var=LD_LIBRARY_PATH
   12625   shlibpath_overrides_runpath=no
   12626   hardcode_into_libs=yes
   12627   ;;
   12628 
   12629 newsos6)
   12630   version_type=linux # correct to gnu/linux during the next big refactor
   12631   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12632   shlibpath_var=LD_LIBRARY_PATH
   12633   shlibpath_overrides_runpath=yes
   12634   ;;
   12635 
   12636 *nto* | *qnx*)
   12637   version_type=qnx
   12638   need_lib_prefix=no
   12639   need_version=no
   12640   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12641   soname_spec='$libname$release$shared_ext$major'
   12642   shlibpath_var=LD_LIBRARY_PATH
   12643   shlibpath_overrides_runpath=no
   12644   hardcode_into_libs=yes
   12645   dynamic_linker='ldqnx.so'
   12646   ;;
   12647 
   12648 openbsd*)
   12649   version_type=sunos
   12650   sys_lib_dlsearch_path_spec=/usr/lib
   12651   need_lib_prefix=no
   12652   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12653     need_version=no
   12654   else
   12655     need_version=yes
   12656   fi
   12657   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12658   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12659   shlibpath_var=LD_LIBRARY_PATH
   12660   shlibpath_overrides_runpath=yes
   12661   ;;
   12662 
   12663 os2*)
   12664   libname_spec='$name'
   12665   version_type=windows
   12666   shrext_cmds=.dll
   12667   need_version=no
   12668   need_lib_prefix=no
   12669   # OS/2 can only load a DLL with a base name of 8 characters or less.
   12670   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   12671     v=$($ECHO $release$versuffix | tr -d .-);
   12672     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   12673     $ECHO $n$v`$shared_ext'
   12674   library_names_spec='${libname}_dll.$libext'
   12675   dynamic_linker='OS/2 ld.exe'
   12676   shlibpath_var=BEGINLIBPATH
   12677   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12678   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12679   postinstall_cmds='base_file=`basename \$file`~
   12680     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   12681     dldir=$destdir/`dirname \$dlpath`~
   12682     test -d \$dldir || mkdir -p \$dldir~
   12683     $install_prog $dir/$dlname \$dldir/$dlname~
   12684     chmod a+x \$dldir/$dlname~
   12685     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12686       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   12687     fi'
   12688   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   12689     dlpath=$dir/\$dldll~
   12690     $RM \$dlpath'
   12691   ;;
   12692 
   12693 osf3* | osf4* | osf5*)
   12694   version_type=osf
   12695   need_lib_prefix=no
   12696   need_version=no
   12697   soname_spec='$libname$release$shared_ext$major'
   12698   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12699   shlibpath_var=LD_LIBRARY_PATH
   12700   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   12701   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12702   ;;
   12703 
   12704 rdos*)
   12705   dynamic_linker=no
   12706   ;;
   12707 
   12708 serenity*)
   12709   version_type=linux # correct to gnu/linux during the next big refactor
   12710   need_lib_prefix=no
   12711   need_version=no
   12712   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12713   soname_spec='$libname$release$shared_ext$major'
   12714   shlibpath_var=LD_LIBRARY_PATH
   12715   shlibpath_overrides_runpath=no
   12716   dynamic_linker='SerenityOS LibELF'
   12717   ;;
   12718 
   12719 solaris*)
   12720   version_type=linux # correct to gnu/linux during the next big refactor
   12721   need_lib_prefix=no
   12722   need_version=no
   12723   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12724   soname_spec='$libname$release$shared_ext$major'
   12725   shlibpath_var=LD_LIBRARY_PATH
   12726   shlibpath_overrides_runpath=yes
   12727   hardcode_into_libs=yes
   12728   # ldd complains unless libraries are executable
   12729   postinstall_cmds='chmod +x $lib'
   12730   ;;
   12731 
   12732 sunos4*)
   12733   version_type=sunos
   12734   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12735   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   12736   shlibpath_var=LD_LIBRARY_PATH
   12737   shlibpath_overrides_runpath=yes
   12738   if test yes = "$with_gnu_ld"; then
   12739     need_lib_prefix=no
   12740   fi
   12741   need_version=yes
   12742   ;;
   12743 
   12744 sysv4 | sysv4.3*)
   12745   version_type=linux # correct to gnu/linux during the next big refactor
   12746   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12747   soname_spec='$libname$release$shared_ext$major'
   12748   shlibpath_var=LD_LIBRARY_PATH
   12749   case $host_vendor in
   12750     sni)
   12751       shlibpath_overrides_runpath=no
   12752       need_lib_prefix=no
   12753       runpath_var=LD_RUN_PATH
   12754       ;;
   12755     siemens)
   12756       need_lib_prefix=no
   12757       ;;
   12758     motorola)
   12759       need_lib_prefix=no
   12760       need_version=no
   12761       shlibpath_overrides_runpath=no
   12762       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   12763       ;;
   12764   esac
   12765   ;;
   12766 
   12767 sysv4*MP*)
   12768   if test -d /usr/nec; then
   12769     version_type=linux # correct to gnu/linux during the next big refactor
   12770     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   12771     soname_spec='$libname$shared_ext.$major'
   12772     shlibpath_var=LD_LIBRARY_PATH
   12773   fi
   12774   ;;
   12775 
   12776 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12777   version_type=sco
   12778   need_lib_prefix=no
   12779   need_version=no
   12780   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   12781   soname_spec='$libname$release$shared_ext$major'
   12782   shlibpath_var=LD_LIBRARY_PATH
   12783   shlibpath_overrides_runpath=yes
   12784   hardcode_into_libs=yes
   12785   if test yes = "$with_gnu_ld"; then
   12786     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   12787   else
   12788     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   12789     case $host_os in
   12790       sco3.2v5*)
   12791         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   12792 	;;
   12793     esac
   12794   fi
   12795   sys_lib_dlsearch_path_spec='/usr/lib'
   12796   ;;
   12797 
   12798 tpf*)
   12799   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   12800   version_type=linux # correct to gnu/linux during the next big refactor
   12801   need_lib_prefix=no
   12802   need_version=no
   12803   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12804   shlibpath_var=LD_LIBRARY_PATH
   12805   shlibpath_overrides_runpath=no
   12806   hardcode_into_libs=yes
   12807   ;;
   12808 
   12809 uts4*)
   12810   version_type=linux # correct to gnu/linux during the next big refactor
   12811   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12812   soname_spec='$libname$release$shared_ext$major'
   12813   shlibpath_var=LD_LIBRARY_PATH
   12814   ;;
   12815 
   12816 emscripten*)
   12817   version_type=none
   12818   need_lib_prefix=no
   12819   need_version=no
   12820   library_names_spec='$libname$release$shared_ext'
   12821   soname_spec='$libname$release$shared_ext'
   12822   finish_cmds=
   12823   dynamic_linker="Emscripten linker"
   12824   lt_prog_compiler_wl=
   12825 lt_prog_compiler_pic=
   12826 lt_prog_compiler_static=
   12827 
   12828 
   12829   if test yes = "$GCC"; then
   12830     lt_prog_compiler_wl='-Wl,'
   12831     lt_prog_compiler_static='-static'
   12832 
   12833     case $host_os in
   12834       aix*)
   12835       # All AIX code is PIC.
   12836       if test ia64 = "$host_cpu"; then
   12837 	# AIX 5 now supports IA64 processor
   12838 	lt_prog_compiler_static='-Bstatic'
   12839       fi
   12840       lt_prog_compiler_pic='-fPIC'
   12841       ;;
   12842 
   12843     amigaos*)
   12844       case $host_cpu in
   12845       powerpc)
   12846             # see comment about AmigaOS4 .so support
   12847             lt_prog_compiler_pic='-fPIC'
   12848         ;;
   12849       m68k)
   12850             # FIXME: we need at least 68020 code to build shared libraries, but
   12851             # adding the '-m68020' flag to GCC prevents building anything better,
   12852             # like '-m68040'.
   12853             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   12854         ;;
   12855       esac
   12856       ;;
   12857 
   12858     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12859       # PIC is the default for these OSes.
   12860       ;;
   12861 
   12862     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   12863       # This hack is so that the source file can tell whether it is being
   12864       # built for inclusion in a dll (and should export symbols for example).
   12865       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12866       # (--disable-auto-import) libraries
   12867       lt_prog_compiler_pic='-DDLL_EXPORT'
   12868       case $host_os in
   12869       os2*)
   12870 	lt_prog_compiler_static='$wl-static'
   12871 	;;
   12872       esac
   12873       ;;
   12874 
   12875     darwin* | rhapsody*)
   12876       # PIC is the default on this platform
   12877       # Common symbols not allowed in MH_DYLIB files
   12878       lt_prog_compiler_pic='-fno-common'
   12879       ;;
   12880 
   12881     haiku*)
   12882       # PIC is the default for Haiku.
   12883       # The "-static" flag exists, but is broken.
   12884       lt_prog_compiler_static=
   12885       ;;
   12886 
   12887     hpux*)
   12888       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   12889       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   12890       # sets the default TLS model and affects inlining.
   12891       case $host_cpu in
   12892       hppa*64*)
   12893 	# +Z the default
   12894 	;;
   12895       *)
   12896 	lt_prog_compiler_pic='-fPIC'
   12897 	;;
   12898       esac
   12899       ;;
   12900 
   12901     interix[3-9]*)
   12902       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12903       # Instead, we relocate shared libraries at runtime.
   12904       ;;
   12905 
   12906     msdosdjgpp*)
   12907       # Just because we use GCC doesn't mean we suddenly get shared libraries
   12908       # on systems that don't support them.
   12909       lt_prog_compiler_can_build_shared=no
   12910       enable_shared=no
   12911       ;;
   12912 
   12913     *nto* | *qnx*)
   12914       # QNX uses GNU C++, but need to define -shared option too, otherwise
   12915       # it will coredump.
   12916       lt_prog_compiler_pic='-fPIC -shared'
   12917       ;;
   12918 
   12919     sysv4*MP*)
   12920       if test -d /usr/nec; then
   12921 	lt_prog_compiler_pic=-Kconform_pic
   12922       fi
   12923       ;;
   12924 
   12925     *)
   12926       lt_prog_compiler_pic='-fPIC'
   12927       ;;
   12928     esac
   12929 
   12930     case $cc_basename in
   12931     nvcc*) # Cuda Compiler Driver 2.2
   12932       lt_prog_compiler_wl='-Xlinker '
   12933       if test -n "$lt_prog_compiler_pic"; then
   12934         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   12935       fi
   12936       ;;
   12937     esac
   12938   else
   12939     # PORTME Check for flag to pass linker flags through the system compiler.
   12940     case $host_os in
   12941     aix*)
   12942       lt_prog_compiler_wl='-Wl,'
   12943       if test ia64 = "$host_cpu"; then
   12944 	# AIX 5 now supports IA64 processor
   12945 	lt_prog_compiler_static='-Bstatic'
   12946       else
   12947 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   12948       fi
   12949       ;;
   12950 
   12951     darwin* | rhapsody*)
   12952       # PIC is the default on this platform
   12953       # Common symbols not allowed in MH_DYLIB files
   12954       lt_prog_compiler_pic='-fno-common'
   12955       case $cc_basename in
   12956       nagfor*)
   12957         # NAG Fortran compiler
   12958         lt_prog_compiler_wl='-Wl,-Wl,,'
   12959         lt_prog_compiler_pic='-PIC'
   12960         lt_prog_compiler_static='-Bstatic'
   12961         ;;
   12962       esac
   12963       ;;
   12964 
   12965     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   12966       # This hack is so that the source file can tell whether it is being
   12967       # built for inclusion in a dll (and should export symbols for example).
   12968       lt_prog_compiler_pic='-DDLL_EXPORT'
   12969       case $host_os in
   12970       os2*)
   12971 	lt_prog_compiler_static='$wl-static'
   12972 	;;
   12973       esac
   12974       ;;
   12975 
   12976     hpux9* | hpux10* | hpux11*)
   12977       lt_prog_compiler_wl='-Wl,'
   12978       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12979       # not for PA HP-UX.
   12980       case $host_cpu in
   12981       hppa*64*|ia64*)
   12982 	# +Z the default
   12983 	;;
   12984       *)
   12985 	lt_prog_compiler_pic='+Z'
   12986 	;;
   12987       esac
   12988       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   12989       lt_prog_compiler_static='$wl-a ${wl}archive'
   12990       ;;
   12991 
   12992     irix5* | irix6* | nonstopux*)
   12993       lt_prog_compiler_wl='-Wl,'
   12994       # PIC (with -KPIC) is the default.
   12995       lt_prog_compiler_static='-non_shared'
   12996       ;;
   12997 
   12998     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12999       case $cc_basename in
   13000       # old Intel for x86_64, which still supported -KPIC.
   13001       ecc*)
   13002 	lt_prog_compiler_wl='-Wl,'
   13003 	lt_prog_compiler_pic='-KPIC'
   13004 	lt_prog_compiler_static='-static'
   13005         ;;
   13006       *flang* | ftn | f18* | f95*)
   13007         # Flang compiler.
   13008 	lt_prog_compiler_wl='-Wl,'
   13009 	lt_prog_compiler_pic='-fPIC'
   13010 	lt_prog_compiler_static='-static'
   13011         ;;
   13012       # icc used to be incompatible with GCC.
   13013       # ICC 10 doesn't accept -KPIC any more.
   13014       icc* | ifort*)
   13015 	lt_prog_compiler_wl='-Wl,'
   13016 	lt_prog_compiler_pic='-fPIC'
   13017 	lt_prog_compiler_static='-static'
   13018         ;;
   13019       # Lahey Fortran 8.1.
   13020       lf95*)
   13021 	lt_prog_compiler_wl='-Wl,'
   13022 	lt_prog_compiler_pic='--shared'
   13023 	lt_prog_compiler_static='--static'
   13024 	;;
   13025       nagfor*)
   13026 	# NAG Fortran compiler
   13027 	lt_prog_compiler_wl='-Wl,-Wl,,'
   13028 	lt_prog_compiler_pic='-PIC'
   13029 	lt_prog_compiler_static='-Bstatic'
   13030 	;;
   13031       tcc*)
   13032 	# Fabrice Bellard et al's Tiny C Compiler
   13033 	lt_prog_compiler_wl='-Wl,'
   13034 	lt_prog_compiler_pic='-fPIC'
   13035 	lt_prog_compiler_static='-static'
   13036 	;;
   13037       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   13038         # Portland Group compilers (*not* the Pentium gcc compiler,
   13039 	# which looks to be a dead project)
   13040 	lt_prog_compiler_wl='-Wl,'
   13041 	lt_prog_compiler_pic='-fpic'
   13042 	lt_prog_compiler_static='-Bstatic'
   13043         ;;
   13044       ccc*)
   13045         lt_prog_compiler_wl='-Wl,'
   13046         # All Alpha code is PIC.
   13047         lt_prog_compiler_static='-non_shared'
   13048         ;;
   13049       xl* | bgxl* | bgf* | mpixl*)
   13050 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   13051 	lt_prog_compiler_wl='-Wl,'
   13052 	lt_prog_compiler_pic='-qpic'
   13053 	lt_prog_compiler_static='-qstaticlink'
   13054 	;;
   13055       *)
   13056 	case `$CC -V 2>&1 | $SED 5q` in
   13057 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   13058 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   13059 	  lt_prog_compiler_pic='-KPIC'
   13060 	  lt_prog_compiler_static='-Bstatic'
   13061 	  lt_prog_compiler_wl=''
   13062 	  ;;
   13063 	*Sun\ F* | *Sun*Fortran*)
   13064 	  lt_prog_compiler_pic='-KPIC'
   13065 	  lt_prog_compiler_static='-Bstatic'
   13066 	  lt_prog_compiler_wl='-Qoption ld '
   13067 	  ;;
   13068 	*Sun\ C*)
   13069 	  # Sun C 5.9
   13070 	  lt_prog_compiler_pic='-KPIC'
   13071 	  lt_prog_compiler_static='-Bstatic'
   13072 	  lt_prog_compiler_wl='-Wl,'
   13073 	  ;;
   13074         *Intel*\ [CF]*Compiler*)
   13075 	  lt_prog_compiler_wl='-Wl,'
   13076 	  lt_prog_compiler_pic='-fPIC'
   13077 	  lt_prog_compiler_static='-static'
   13078 	  ;;
   13079 	*Portland\ Group*)
   13080 	  lt_prog_compiler_wl='-Wl,'
   13081 	  lt_prog_compiler_pic='-fpic'
   13082 	  lt_prog_compiler_static='-Bstatic'
   13083 	  ;;
   13084 	esac
   13085 	;;
   13086       esac
   13087       ;;
   13088 
   13089     newsos6)
   13090       lt_prog_compiler_pic='-KPIC'
   13091       lt_prog_compiler_static='-Bstatic'
   13092       ;;
   13093 
   13094     *-mlibc)
   13095       lt_prog_compiler_wl='-Wl,'
   13096       lt_prog_compiler_pic='-fPIC'
   13097       lt_prog_compiler_static='-static'
   13098       ;;
   13099 
   13100     *nto* | *qnx*)
   13101       # QNX uses GNU C++, but need to define -shared option too, otherwise
   13102       # it will coredump.
   13103       lt_prog_compiler_pic='-fPIC -shared'
   13104       ;;
   13105 
   13106     osf3* | osf4* | osf5*)
   13107       lt_prog_compiler_wl='-Wl,'
   13108       # All OSF/1 code is PIC.
   13109       lt_prog_compiler_static='-non_shared'
   13110       ;;
   13111 
   13112     rdos*)
   13113       lt_prog_compiler_static='-non_shared'
   13114       ;;
   13115 
   13116     serenity*)
   13117       ;;
   13118 
   13119     solaris*)
   13120       lt_prog_compiler_pic='-KPIC'
   13121       lt_prog_compiler_static='-Bstatic'
   13122       case $cc_basename in
   13123       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   13124 	lt_prog_compiler_wl='-Qoption ld ';;
   13125       *)
   13126 	lt_prog_compiler_wl='-Wl,';;
   13127       esac
   13128       ;;
   13129 
   13130     sunos4*)
   13131       lt_prog_compiler_wl='-Qoption ld '
   13132       lt_prog_compiler_pic='-PIC'
   13133       lt_prog_compiler_static='-Bstatic'
   13134       ;;
   13135 
   13136     sysv4 | sysv4.2uw2* | sysv4.3*)
   13137       lt_prog_compiler_wl='-Wl,'
   13138       lt_prog_compiler_pic='-KPIC'
   13139       lt_prog_compiler_static='-Bstatic'
   13140       ;;
   13141 
   13142     sysv4*MP*)
   13143       if test -d /usr/nec; then
   13144 	lt_prog_compiler_pic='-Kconform_pic'
   13145 	lt_prog_compiler_static='-Bstatic'
   13146       fi
   13147       ;;
   13148 
   13149     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   13150       lt_prog_compiler_wl='-Wl,'
   13151       lt_prog_compiler_pic='-KPIC'
   13152       lt_prog_compiler_static='-Bstatic'
   13153       ;;
   13154 
   13155     unicos*)
   13156       lt_prog_compiler_wl='-Wl,'
   13157       lt_prog_compiler_can_build_shared=no
   13158       ;;
   13159 
   13160     uts4*)
   13161       lt_prog_compiler_pic='-pic'
   13162       lt_prog_compiler_static='-Bstatic'
   13163       ;;
   13164 
   13165     *)
   13166       lt_prog_compiler_can_build_shared=no
   13167       ;;
   13168     esac
   13169   fi
   13170 
   13171 case $host_os in
   13172   # For platforms that do not support PIC, -DPIC is meaningless:
   13173   *djgpp*)
   13174     lt_prog_compiler_pic=
   13175     ;;
   13176   *)
   13177     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   13178     ;;
   13179 esac
   13180 
   13181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   13182 printf %s "checking for $compiler option to produce PIC... " >&6; }
   13183 if test ${lt_cv_prog_compiler_pic+y}
   13184 then :
   13185   printf %s "(cached) " >&6
   13186 else case e in #(
   13187   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
   13188 esac
   13189 fi
   13190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   13191 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   13192 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   13193 
   13194 #
   13195 # Check to make sure the PIC flag actually works.
   13196 #
   13197 if test -n "$lt_prog_compiler_pic"; then
   13198   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   13199 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   13200 if test ${lt_cv_prog_compiler_pic_works+y}
   13201 then :
   13202   printf %s "(cached) " >&6
   13203 else case e in #(
   13204   e) lt_cv_prog_compiler_pic_works=no
   13205    ac_outfile=conftest.$ac_objext
   13206    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13207    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   13208    # Insert the option either (1) after the last *FLAGS variable, or
   13209    # (2) before a word containing "conftest.", or (3) at the end.
   13210    # Note that $ac_compile itself does not contain backslashes and begins
   13211    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13212    # The option is referenced via a variable to avoid confusing sed.
   13213    lt_compile=`echo "$ac_compile" | $SED \
   13214    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13215    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13216    -e 's:$: $lt_compiler_flag:'`
   13217    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   13218    (eval "$lt_compile" 2>conftest.err)
   13219    ac_status=$?
   13220    cat conftest.err >&5
   13221    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13222    if (exit $ac_status) && test -s "$ac_outfile"; then
   13223      # The compiler can only warn and ignore the option if not recognized
   13224      # So say no if there are warnings other than the usual output.
   13225      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   13226      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13227      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   13228        lt_cv_prog_compiler_pic_works=yes
   13229      fi
   13230    fi
   13231    $RM conftest*
   13232  ;;
   13233 esac
   13234 fi
   13235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   13236 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   13237 
   13238 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   13239     case $lt_prog_compiler_pic in
   13240      "" | " "*) ;;
   13241      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   13242      esac
   13243 else
   13244     lt_prog_compiler_pic=
   13245      lt_prog_compiler_can_build_shared=no
   13246 fi
   13247 
   13248 fi
   13249 
   13250 
   13251 
   13252 
   13253 
   13254 #
   13255 # Check to make sure the static flag actually works.
   13256 #
   13257 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   13258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   13259 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   13260 if test ${lt_cv_prog_compiler_static_works+y}
   13261 then :
   13262   printf %s "(cached) " >&6
   13263 else case e in #(
   13264   e) lt_cv_prog_compiler_static_works=no
   13265    save_LDFLAGS=$LDFLAGS
   13266    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13267    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   13268    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13269      # The linker can only warn and ignore the option if not recognized
   13270      # So say no if there are warnings
   13271      if test -s conftest.err; then
   13272        # Append any errors to the config.log.
   13273        cat conftest.err 1>&5
   13274        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   13275        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13276        if diff conftest.exp conftest.er2 >/dev/null; then
   13277          lt_cv_prog_compiler_static_works=yes
   13278        fi
   13279      else
   13280        lt_cv_prog_compiler_static_works=yes
   13281      fi
   13282    fi
   13283    $RM -r conftest*
   13284    LDFLAGS=$save_LDFLAGS
   13285  ;;
   13286 esac
   13287 fi
   13288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   13289 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   13290 
   13291 if test yes = "$lt_cv_prog_compiler_static_works"; then
   13292     :
   13293 else
   13294     lt_prog_compiler_static=
   13295 fi
   13296 
   13297 
   13298 
   13299 ='-fPIC'
   13300   archive_cmds='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
   13301   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'
   13302   archive_cmds_need_lc=no
   13303   no_undefined_flag=
   13304   ;;
   13305 
   13306 *)
   13307   dynamic_linker=no
   13308   ;;
   13309 esac
   13310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   13311 printf "%s\n" "$dynamic_linker" >&6; }
   13312 test no = "$dynamic_linker" && can_build_shared=no
   13313 
   13314 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13315 if test yes = "$GCC"; then
   13316   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13317 fi
   13318 
   13319 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   13320   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   13321 fi
   13322 
   13323 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   13324   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   13325 fi
   13326 
   13327 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   13328 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   13329 
   13330 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   13331 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   13332 
   13333 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   13334 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   13335 
   13336 
   13337 
   13338 
   13339 
   13340 
   13341 
   13342 
   13343 
   13344 
   13345 
   13346 
   13347 
   13348 
   13349 
   13350 
   13351 
   13352 
   13353 
   13354 
   13355 
   13356 
   13357 
   13358 
   13359 
   13360 
   13361 
   13362 
   13363 
   13364 
   13365 
   13366 
   13367 
   13368 
   13369 
   13370 
   13371 
   13372 
   13373 
   13374 
   13375 
   13376 
   13377 
   13378 
   13379 
   13380 
   13381 
   13382 
   13383 
   13384 
   13385 
   13386 
   13387 
   13388 
   13389 
   13390 
   13391 
   13392 
   13393 
   13394 
   13395 
   13396 
   13397 
   13398 
   13399 
   13400 
   13401 
   13402 
   13403 
   13404 
   13405 
   13406 
   13407 
   13408 
   13409 
   13410 
   13411 
   13412 
   13413 
   13414 
   13415 
   13416 
   13417 
   13418 
   13419 
   13420 
   13421 
   13422 
   13423 
   13424 
   13425 
   13426 
   13427 
   13428 
   13429 
   13430 
   13431 
   13432   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   13433 printf %s "checking how to hardcode library paths into programs... " >&6; }
   13434 hardcode_action=
   13435 if test -n "$hardcode_libdir_flag_spec" ||
   13436    test -n "$runpath_var" ||
   13437    test yes = "$hardcode_automatic"; then
   13438 
   13439   # We can hardcode non-existent directories.
   13440   if test no != "$hardcode_direct" &&
   13441      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13442      # have to relink, otherwise we might link with an installed library
   13443      # when we should be linking with a yet-to-be-installed one
   13444      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   13445      test no != "$hardcode_minus_L"; then
   13446     # Linking always hardcodes the temporary library directory.
   13447     hardcode_action=relink
   13448   else
   13449     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13450     hardcode_action=immediate
   13451   fi
   13452 else
   13453   # We cannot hardcode anything, or else we can only hardcode existing
   13454   # directories.
   13455   hardcode_action=unsupported
   13456 fi
   13457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   13458 printf "%s\n" "$hardcode_action" >&6; }
   13459 
   13460 if test relink = "$hardcode_action" ||
   13461    test yes = "$inherit_rpath"; then
   13462   # Fast installation is not supported
   13463   enable_fast_install=no
   13464 elif test yes = "$shlibpath_overrides_runpath" ||
   13465      test no = "$enable_shared"; then
   13466   # Fast installation is not necessary
   13467   enable_fast_install=needless
   13468 fi
   13469 
   13470 
   13471 
   13472 
   13473 
   13474 
   13475   if test yes != "$enable_dlopen"; then
   13476   enable_dlopen=unknown
   13477   enable_dlopen_self=unknown
   13478   enable_dlopen_self_static=unknown
   13479 else
   13480   lt_cv_dlopen=no
   13481   lt_cv_dlopen_libs=
   13482 
   13483   case $host_os in
   13484   beos*)
   13485     lt_cv_dlopen=load_add_on
   13486     lt_cv_dlopen_libs=
   13487     lt_cv_dlopen_self=yes
   13488     ;;
   13489 
   13490   mingw* | windows* | pw32* | cegcc*)
   13491     lt_cv_dlopen=LoadLibrary
   13492     lt_cv_dlopen_libs=
   13493     ;;
   13494 
   13495   cygwin*)
   13496     lt_cv_dlopen=dlopen
   13497     lt_cv_dlopen_libs=
   13498     ;;
   13499 
   13500   darwin*)
   13501     # if libdl is installed we need to link against it
   13502     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   13503 printf %s "checking for dlopen in -ldl... " >&6; }
   13504 if test ${ac_cv_lib_dl_dlopen+y}
   13505 then :
   13506   printf %s "(cached) " >&6
   13507 else case e in #(
   13508   e) ac_check_lib_save_LIBS=$LIBS
   13509 LIBS="-ldl  $LIBS"
   13510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13511 /* end confdefs.h.  */
   13512 
   13513 /* Override any GCC internal prototype to avoid an error.
   13514    Use char because int might match the return type of a GCC
   13515    builtin and then its argument prototype would still apply.
   13516    The 'extern "C"' is for builds by C++ compilers;
   13517    although this is not generally supported in C code supporting it here
   13518    has little cost and some practical benefit (sr 110532).  */
   13519 #ifdef __cplusplus
   13520 extern "C"
   13521 #endif
   13522 char dlopen (void);
   13523 int
   13524 main (void)
   13525 {
   13526 return dlopen ();
   13527   ;
   13528   return 0;
   13529 }
   13530 _ACEOF
   13531 if ac_fn_c_try_link "$LINENO"
   13532 then :
   13533   ac_cv_lib_dl_dlopen=yes
   13534 else case e in #(
   13535   e) ac_cv_lib_dl_dlopen=no ;;
   13536 esac
   13537 fi
   13538 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13539     conftest$ac_exeext conftest.$ac_ext
   13540 LIBS=$ac_check_lib_save_LIBS ;;
   13541 esac
   13542 fi
   13543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   13544 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   13545 if test "x$ac_cv_lib_dl_dlopen" = xyes
   13546 then :
   13547   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   13548 else case e in #(
   13549   e)
   13550     lt_cv_dlopen=dyld
   13551     lt_cv_dlopen_libs=
   13552     lt_cv_dlopen_self=yes
   13553      ;;
   13554 esac
   13555 fi
   13556 
   13557     ;;
   13558 
   13559   tpf*)
   13560     # Don't try to run any link tests for TPF.  We know it's impossible
   13561     # because TPF is a cross-compiler, and we know how we open DSOs.
   13562     lt_cv_dlopen=dlopen
   13563     lt_cv_dlopen_libs=
   13564     lt_cv_dlopen_self=no
   13565     ;;
   13566 
   13567   *)
   13568     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   13569 if test "x$ac_cv_func_shl_load" = xyes
   13570 then :
   13571   lt_cv_dlopen=shl_load
   13572 else case e in #(
   13573   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   13574 printf %s "checking for shl_load in -ldld... " >&6; }
   13575 if test ${ac_cv_lib_dld_shl_load+y}
   13576 then :
   13577   printf %s "(cached) " >&6
   13578 else case e in #(
   13579   e) ac_check_lib_save_LIBS=$LIBS
   13580 LIBS="-ldld  $LIBS"
   13581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13582 /* end confdefs.h.  */
   13583 
   13584 /* Override any GCC internal prototype to avoid an error.
   13585    Use char because int might match the return type of a GCC
   13586    builtin and then its argument prototype would still apply.
   13587    The 'extern "C"' is for builds by C++ compilers;
   13588    although this is not generally supported in C code supporting it here
   13589    has little cost and some practical benefit (sr 110532).  */
   13590 #ifdef __cplusplus
   13591 extern "C"
   13592 #endif
   13593 char shl_load (void);
   13594 int
   13595 main (void)
   13596 {
   13597 return shl_load ();
   13598   ;
   13599   return 0;
   13600 }
   13601 _ACEOF
   13602 if ac_fn_c_try_link "$LINENO"
   13603 then :
   13604   ac_cv_lib_dld_shl_load=yes
   13605 else case e in #(
   13606   e) ac_cv_lib_dld_shl_load=no ;;
   13607 esac
   13608 fi
   13609 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13610     conftest$ac_exeext conftest.$ac_ext
   13611 LIBS=$ac_check_lib_save_LIBS ;;
   13612 esac
   13613 fi
   13614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   13615 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   13616 if test "x$ac_cv_lib_dld_shl_load" = xyes
   13617 then :
   13618   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   13619 else case e in #(
   13620   e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   13621 if test "x$ac_cv_func_dlopen" = xyes
   13622 then :
   13623   lt_cv_dlopen=dlopen
   13624 else case e in #(
   13625   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   13626 printf %s "checking for dlopen in -ldl... " >&6; }
   13627 if test ${ac_cv_lib_dl_dlopen+y}
   13628 then :
   13629   printf %s "(cached) " >&6
   13630 else case e in #(
   13631   e) ac_check_lib_save_LIBS=$LIBS
   13632 LIBS="-ldl  $LIBS"
   13633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13634 /* end confdefs.h.  */
   13635 
   13636 /* Override any GCC internal prototype to avoid an error.
   13637    Use char because int might match the return type of a GCC
   13638    builtin and then its argument prototype would still apply.
   13639    The 'extern "C"' is for builds by C++ compilers;
   13640    although this is not generally supported in C code supporting it here
   13641    has little cost and some practical benefit (sr 110532).  */
   13642 #ifdef __cplusplus
   13643 extern "C"
   13644 #endif
   13645 char dlopen (void);
   13646 int
   13647 main (void)
   13648 {
   13649 return dlopen ();
   13650   ;
   13651   return 0;
   13652 }
   13653 _ACEOF
   13654 if ac_fn_c_try_link "$LINENO"
   13655 then :
   13656   ac_cv_lib_dl_dlopen=yes
   13657 else case e in #(
   13658   e) ac_cv_lib_dl_dlopen=no ;;
   13659 esac
   13660 fi
   13661 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13662     conftest$ac_exeext conftest.$ac_ext
   13663 LIBS=$ac_check_lib_save_LIBS ;;
   13664 esac
   13665 fi
   13666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   13667 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   13668 if test "x$ac_cv_lib_dl_dlopen" = xyes
   13669 then :
   13670   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   13671 else case e in #(
   13672   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   13673 printf %s "checking for dlopen in -lsvld... " >&6; }
   13674 if test ${ac_cv_lib_svld_dlopen+y}
   13675 then :
   13676   printf %s "(cached) " >&6
   13677 else case e in #(
   13678   e) ac_check_lib_save_LIBS=$LIBS
   13679 LIBS="-lsvld  $LIBS"
   13680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13681 /* end confdefs.h.  */
   13682 
   13683 /* Override any GCC internal prototype to avoid an error.
   13684    Use char because int might match the return type of a GCC
   13685    builtin and then its argument prototype would still apply.
   13686    The 'extern "C"' is for builds by C++ compilers;
   13687    although this is not generally supported in C code supporting it here
   13688    has little cost and some practical benefit (sr 110532).  */
   13689 #ifdef __cplusplus
   13690 extern "C"
   13691 #endif
   13692 char dlopen (void);
   13693 int
   13694 main (void)
   13695 {
   13696 return dlopen ();
   13697   ;
   13698   return 0;
   13699 }
   13700 _ACEOF
   13701 if ac_fn_c_try_link "$LINENO"
   13702 then :
   13703   ac_cv_lib_svld_dlopen=yes
   13704 else case e in #(
   13705   e) ac_cv_lib_svld_dlopen=no ;;
   13706 esac
   13707 fi
   13708 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13709     conftest$ac_exeext conftest.$ac_ext
   13710 LIBS=$ac_check_lib_save_LIBS ;;
   13711 esac
   13712 fi
   13713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   13714 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   13715 if test "x$ac_cv_lib_svld_dlopen" = xyes
   13716 then :
   13717   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   13718 else case e in #(
   13719   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   13720 printf %s "checking for dld_link in -ldld... " >&6; }
   13721 if test ${ac_cv_lib_dld_dld_link+y}
   13722 then :
   13723   printf %s "(cached) " >&6
   13724 else case e in #(
   13725   e) ac_check_lib_save_LIBS=$LIBS
   13726 LIBS="-ldld  $LIBS"
   13727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13728 /* end confdefs.h.  */
   13729 
   13730 /* Override any GCC internal prototype to avoid an error.
   13731    Use char because int might match the return type of a GCC
   13732    builtin and then its argument prototype would still apply.
   13733    The 'extern "C"' is for builds by C++ compilers;
   13734    although this is not generally supported in C code supporting it here
   13735    has little cost and some practical benefit (sr 110532).  */
   13736 #ifdef __cplusplus
   13737 extern "C"
   13738 #endif
   13739 char dld_link (void);
   13740 int
   13741 main (void)
   13742 {
   13743 return dld_link ();
   13744   ;
   13745   return 0;
   13746 }
   13747 _ACEOF
   13748 if ac_fn_c_try_link "$LINENO"
   13749 then :
   13750   ac_cv_lib_dld_dld_link=yes
   13751 else case e in #(
   13752   e) ac_cv_lib_dld_dld_link=no ;;
   13753 esac
   13754 fi
   13755 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13756     conftest$ac_exeext conftest.$ac_ext
   13757 LIBS=$ac_check_lib_save_LIBS ;;
   13758 esac
   13759 fi
   13760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   13761 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   13762 if test "x$ac_cv_lib_dld_dld_link" = xyes
   13763 then :
   13764   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   13765 fi
   13766 
   13767 	       ;;
   13768 esac
   13769 fi
   13770 
   13771 	     ;;
   13772 esac
   13773 fi
   13774 
   13775 	   ;;
   13776 esac
   13777 fi
   13778 
   13779 	 ;;
   13780 esac
   13781 fi
   13782 
   13783        ;;
   13784 esac
   13785 fi
   13786 
   13787     ;;
   13788   esac
   13789 
   13790   if test no = "$lt_cv_dlopen"; then
   13791     enable_dlopen=no
   13792   else
   13793     enable_dlopen=yes
   13794   fi
   13795 
   13796   case $lt_cv_dlopen in
   13797   dlopen)
   13798     save_CPPFLAGS=$CPPFLAGS
   13799     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   13800 
   13801     save_LDFLAGS=$LDFLAGS
   13802     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   13803 
   13804     save_LIBS=$LIBS
   13805     LIBS="$lt_cv_dlopen_libs $LIBS"
   13806 
   13807     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   13808 printf %s "checking whether a program can dlopen itself... " >&6; }
   13809 if test ${lt_cv_dlopen_self+y}
   13810 then :
   13811   printf %s "(cached) " >&6
   13812 else case e in #(
   13813   e) 	  if test yes = "$cross_compiling"; then :
   13814   lt_cv_dlopen_self=cross
   13815 else
   13816   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   13817   lt_status=$lt_dlunknown
   13818   cat > conftest.$ac_ext <<_LT_EOF
   13819 #line $LINENO "configure"
   13820 #include "confdefs.h"
   13821 
   13822 #if HAVE_DLFCN_H
   13823 #include <dlfcn.h>
   13824 #endif
   13825 
   13826 #include <stdio.h>
   13827 
   13828 #ifdef RTLD_GLOBAL
   13829 #  define LT_DLGLOBAL		RTLD_GLOBAL
   13830 #else
   13831 #  ifdef DL_GLOBAL
   13832 #    define LT_DLGLOBAL		DL_GLOBAL
   13833 #  else
   13834 #    define LT_DLGLOBAL		0
   13835 #  endif
   13836 #endif
   13837 
   13838 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   13839    find out it does not work in some platform. */
   13840 #ifndef LT_DLLAZY_OR_NOW
   13841 #  ifdef RTLD_LAZY
   13842 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   13843 #  else
   13844 #    ifdef DL_LAZY
   13845 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   13846 #    else
   13847 #      ifdef RTLD_NOW
   13848 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   13849 #      else
   13850 #        ifdef DL_NOW
   13851 #          define LT_DLLAZY_OR_NOW	DL_NOW
   13852 #        else
   13853 #          define LT_DLLAZY_OR_NOW	0
   13854 #        endif
   13855 #      endif
   13856 #    endif
   13857 #  endif
   13858 #endif
   13859 
   13860 /* When -fvisibility=hidden is used, assume the code has been annotated
   13861    correspondingly for the symbols needed.  */
   13862 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   13863 int fnord (void) __attribute__((visibility("default")));
   13864 #endif
   13865 
   13866 int fnord (void) { return 42; }
   13867 int main (void)
   13868 {
   13869   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   13870   int status = $lt_dlunknown;
   13871 
   13872   if (self)
   13873     {
   13874       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   13875       else
   13876         {
   13877 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   13878           else puts (dlerror ());
   13879 	}
   13880       /* dlclose (self); */
   13881     }
   13882   else
   13883     puts (dlerror ());
   13884 
   13885   return status;
   13886 }
   13887 _LT_EOF
   13888   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13889   (eval $ac_link) 2>&5
   13890   ac_status=$?
   13891   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13892   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   13893     (./conftest; exit; ) >&5 2>/dev/null
   13894     lt_status=$?
   13895     case x$lt_status in
   13896       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   13897       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   13898       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   13899     esac
   13900   else :
   13901     # compilation failed
   13902     lt_cv_dlopen_self=no
   13903   fi
   13904 fi
   13905 rm -fr conftest*
   13906 
   13907      ;;
   13908 esac
   13909 fi
   13910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   13911 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   13912 
   13913     if test yes = "$lt_cv_dlopen_self"; then
   13914       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   13915       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   13916 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   13917 if test ${lt_cv_dlopen_self_static+y}
   13918 then :
   13919   printf %s "(cached) " >&6
   13920 else case e in #(
   13921   e) 	  if test yes = "$cross_compiling"; then :
   13922   lt_cv_dlopen_self_static=cross
   13923 else
   13924   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   13925   lt_status=$lt_dlunknown
   13926   cat > conftest.$ac_ext <<_LT_EOF
   13927 #line $LINENO "configure"
   13928 #include "confdefs.h"
   13929 
   13930 #if HAVE_DLFCN_H
   13931 #include <dlfcn.h>
   13932 #endif
   13933 
   13934 #include <stdio.h>
   13935 
   13936 #ifdef RTLD_GLOBAL
   13937 #  define LT_DLGLOBAL		RTLD_GLOBAL
   13938 #else
   13939 #  ifdef DL_GLOBAL
   13940 #    define LT_DLGLOBAL		DL_GLOBAL
   13941 #  else
   13942 #    define LT_DLGLOBAL		0
   13943 #  endif
   13944 #endif
   13945 
   13946 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   13947    find out it does not work in some platform. */
   13948 #ifndef LT_DLLAZY_OR_NOW
   13949 #  ifdef RTLD_LAZY
   13950 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   13951 #  else
   13952 #    ifdef DL_LAZY
   13953 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   13954 #    else
   13955 #      ifdef RTLD_NOW
   13956 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   13957 #      else
   13958 #        ifdef DL_NOW
   13959 #          define LT_DLLAZY_OR_NOW	DL_NOW
   13960 #        else
   13961 #          define LT_DLLAZY_OR_NOW	0
   13962 #        endif
   13963 #      endif
   13964 #    endif
   13965 #  endif
   13966 #endif
   13967 
   13968 /* When -fvisibility=hidden is used, assume the code has been annotated
   13969    correspondingly for the symbols needed.  */
   13970 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   13971 int fnord (void) __attribute__((visibility("default")));
   13972 #endif
   13973 
   13974 int fnord (void) { return 42; }
   13975 int main (void)
   13976 {
   13977   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   13978   int status = $lt_dlunknown;
   13979 
   13980   if (self)
   13981     {
   13982       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   13983       else
   13984         {
   13985 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   13986           else puts (dlerror ());
   13987 	}
   13988       /* dlclose (self); */
   13989     }
   13990   else
   13991     puts (dlerror ());
   13992 
   13993   return status;
   13994 }
   13995 _LT_EOF
   13996   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13997   (eval $ac_link) 2>&5
   13998   ac_status=$?
   13999   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14000   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   14001     (./conftest; exit; ) >&5 2>/dev/null
   14002     lt_status=$?
   14003     case x$lt_status in
   14004       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   14005       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   14006       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   14007     esac
   14008   else :
   14009     # compilation failed
   14010     lt_cv_dlopen_self_static=no
   14011   fi
   14012 fi
   14013 rm -fr conftest*
   14014 
   14015        ;;
   14016 esac
   14017 fi
   14018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   14019 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   14020     fi
   14021 
   14022     CPPFLAGS=$save_CPPFLAGS
   14023     LDFLAGS=$save_LDFLAGS
   14024     LIBS=$save_LIBS
   14025     ;;
   14026   esac
   14027 
   14028   case $lt_cv_dlopen_self in
   14029   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   14030   *) enable_dlopen_self=unknown ;;
   14031   esac
   14032 
   14033   case $lt_cv_dlopen_self_static in
   14034   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   14035   *) enable_dlopen_self_static=unknown ;;
   14036   esac
   14037 fi
   14038 
   14039 
   14040 
   14041 
   14042 
   14043 
   14044 
   14045 
   14046 
   14047 
   14048 
   14049 
   14050 
   14051 
   14052 
   14053 
   14054 
   14055 striplib=
   14056 old_striplib=
   14057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   14058 printf %s "checking whether stripping libraries is possible... " >&6; }
   14059 if test -z "$STRIP"; then
   14060   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14061 printf "%s\n" "no" >&6; }
   14062 else
   14063   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   14064     old_striplib="$STRIP --strip-debug"
   14065     striplib="$STRIP --strip-unneeded"
   14066     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14067 printf "%s\n" "yes" >&6; }
   14068   else
   14069     case $host_os in
   14070     darwin*)
   14071       # FIXME - insert some real tests, host_os isn't really good enough
   14072       striplib="$STRIP -x"
   14073       old_striplib="$STRIP -S"
   14074       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14075 printf "%s\n" "yes" >&6; }
   14076       ;;
   14077     freebsd*)
   14078       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   14079         old_striplib="$STRIP --strip-debug"
   14080         striplib="$STRIP --strip-unneeded"
   14081         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14082 printf "%s\n" "yes" >&6; }
   14083       else
   14084         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14085 printf "%s\n" "no" >&6; }
   14086       fi
   14087       ;;
   14088     *)
   14089       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14090 printf "%s\n" "no" >&6; }
   14091       ;;
   14092     esac
   14093   fi
   14094 fi
   14095 
   14096 
   14097 
   14098 
   14099 
   14100 
   14101 
   14102 
   14103 
   14104 
   14105 
   14106 
   14107   # Report what library types will actually be built
   14108   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   14109 printf %s "checking if libtool supports shared libraries... " >&6; }
   14110   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   14111 printf "%s\n" "$can_build_shared" >&6; }
   14112 
   14113   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   14114 printf %s "checking whether to build shared libraries... " >&6; }
   14115   test no = "$can_build_shared" && enable_shared=no
   14116 
   14117   # On AIX, shared libraries and static libraries use the same namespace, and
   14118   # are all built from PIC.
   14119   case $host_os in
   14120   aix3*)
   14121     test yes = "$enable_shared" && enable_static=no
   14122     if test -n "$RANLIB"; then
   14123       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   14124       postinstall_cmds='$RANLIB $lib'
   14125     fi
   14126     ;;
   14127 
   14128   aix[4-9]*)
   14129     if test ia64 != "$host_cpu"; then
   14130       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   14131       yes,aix,yes) ;;			# shared object as lib.so file only
   14132       yes,svr4,*) ;;			# shared object as lib.so archive member only
   14133       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   14134       esac
   14135     fi
   14136     ;;
   14137   esac
   14138   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   14139 printf "%s\n" "$enable_shared" >&6; }
   14140 
   14141   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   14142 printf %s "checking whether to build static libraries... " >&6; }
   14143   # Make sure either enable_shared or enable_static is yes.
   14144   test yes = "$enable_shared" || enable_static=yes
   14145   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   14146 printf "%s\n" "$enable_static" >&6; }
   14147 
   14148 
   14149 
   14150 
   14151 fi
   14152 ac_ext=c
   14153 ac_cpp='$CPP $CPPFLAGS'
   14154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14157 
   14158 CC=$lt_save_CC
   14159 
   14160 
   14161 
   14162 
   14163 
   14164 
   14165 
   14166 
   14167 
   14168 
   14169 
   14170 
   14171 
   14172 
   14173 
   14174         ac_config_commands="$ac_config_commands libtool"
   14175 
   14176 
   14177 
   14178 
   14179 # Only expand once:
   14180 
   14181 
   14182 
   14183 # Check whether --enable-largefile was given.
   14184 if test ${enable_largefile+y}
   14185 then :
   14186   enableval=$enable_largefile;
   14187 fi
   14188 if test "$enable_largefile,$enable_year2038" != no,no
   14189 then :
   14190   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable large file support" >&5
   14191 printf %s "checking for $CC option to enable large file support... " >&6; }
   14192 if test ${ac_cv_sys_largefile_opts+y}
   14193 then :
   14194   printf %s "(cached) " >&6
   14195 else case e in #(
   14196   e) ac_save_CC="$CC"
   14197   ac_opt_found=no
   14198   for ac_opt in "none needed" "-D_FILE_OFFSET_BITS=64" "-D_LARGE_FILES=1" "-n32"; do
   14199     if test x"$ac_opt" != x"none needed"
   14200 then :
   14201   CC="$ac_save_CC $ac_opt"
   14202 fi
   14203     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14204 /* end confdefs.h.  */
   14205 #include <sys/types.h>
   14206 #ifndef FTYPE
   14207 # define FTYPE off_t
   14208 #endif
   14209  /* Check that FTYPE can represent 2**63 - 1 correctly.
   14210     We can't simply define LARGE_FTYPE to be 9223372036854775807,
   14211     since some C++ compilers masquerading as C compilers
   14212     incorrectly reject 9223372036854775807.  */
   14213 #define LARGE_FTYPE (((FTYPE) 1 << 31 << 31) - 1 + ((FTYPE) 1 << 31 << 31))
   14214   int FTYPE_is_large[(LARGE_FTYPE % 2147483629 == 721
   14215 		       && LARGE_FTYPE % 2147483647 == 1)
   14216 		      ? 1 : -1];
   14217 int
   14218 main (void)
   14219 {
   14220 
   14221   ;
   14222   return 0;
   14223 }
   14224 _ACEOF
   14225 if ac_fn_c_try_compile "$LINENO"
   14226 then :
   14227   if test x"$ac_opt" = x"none needed"
   14228 then :
   14229   # GNU/Linux s390x and alpha need _FILE_OFFSET_BITS=64 for wide ino_t.
   14230 	 CC="$CC -DFTYPE=ino_t"
   14231 	 if ac_fn_c_try_compile "$LINENO"
   14232 then :
   14233 
   14234 else case e in #(
   14235   e) CC="$CC -D_FILE_OFFSET_BITS=64"
   14236 	    if ac_fn_c_try_compile "$LINENO"
   14237 then :
   14238   ac_opt='-D_FILE_OFFSET_BITS=64'
   14239 fi
   14240 rm -f core conftest.err conftest.$ac_objext conftest.beam ;;
   14241 esac
   14242 fi
   14243 rm -f core conftest.err conftest.$ac_objext conftest.beam
   14244 fi
   14245       ac_cv_sys_largefile_opts=$ac_opt
   14246       ac_opt_found=yes
   14247 fi
   14248 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14249     test $ac_opt_found = no || break
   14250   done
   14251   CC="$ac_save_CC"
   14252 
   14253   test $ac_opt_found = yes || ac_cv_sys_largefile_opts="support not detected" ;;
   14254 esac
   14255 fi
   14256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_opts" >&5
   14257 printf "%s\n" "$ac_cv_sys_largefile_opts" >&6; }
   14258 
   14259 ac_have_largefile=yes
   14260 case $ac_cv_sys_largefile_opts in #(
   14261   "none needed") :
   14262      ;; #(
   14263   "supported through gnulib") :
   14264      ;; #(
   14265   "support not detected") :
   14266     ac_have_largefile=no ;; #(
   14267   "-D_FILE_OFFSET_BITS=64") :
   14268 
   14269 printf "%s\n" "#define _FILE_OFFSET_BITS 64" >>confdefs.h
   14270  ;; #(
   14271   "-D_LARGE_FILES=1") :
   14272 
   14273 printf "%s\n" "#define _LARGE_FILES 1" >>confdefs.h
   14274  ;; #(
   14275   "-n32") :
   14276     CC="$CC -n32" ;; #(
   14277   *) :
   14278     as_fn_error $? "internal error: bad value for \$ac_cv_sys_largefile_opts" "$LINENO" 5 ;;
   14279 esac
   14280 
   14281 if test "$enable_year2038" != no
   14282 then :
   14283   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option for timestamps after 2038" >&5
   14284 printf %s "checking for $CC option for timestamps after 2038... " >&6; }
   14285 if test ${ac_cv_sys_year2038_opts+y}
   14286 then :
   14287   printf %s "(cached) " >&6
   14288 else case e in #(
   14289   e) ac_save_CPPFLAGS="$CPPFLAGS"
   14290   ac_opt_found=no
   14291   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
   14292     if test x"$ac_opt" != x"none needed"
   14293 then :
   14294   CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"
   14295 fi
   14296     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14297 /* end confdefs.h.  */
   14298 
   14299   #include <time.h>
   14300   /* Check that time_t can represent 2**32 - 1 correctly.  */
   14301   #define LARGE_TIME_T \\
   14302     ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30)))
   14303   int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535
   14304                            && LARGE_TIME_T % 65537 == 0)
   14305                           ? 1 : -1];
   14306 
   14307 int
   14308 main (void)
   14309 {
   14310 
   14311   ;
   14312   return 0;
   14313 }
   14314 _ACEOF
   14315 if ac_fn_c_try_compile "$LINENO"
   14316 then :
   14317   ac_cv_sys_year2038_opts="$ac_opt"
   14318       ac_opt_found=yes
   14319 fi
   14320 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14321     test $ac_opt_found = no || break
   14322   done
   14323   CPPFLAGS="$ac_save_CPPFLAGS"
   14324   test $ac_opt_found = yes || ac_cv_sys_year2038_opts="support not detected" ;;
   14325 esac
   14326 fi
   14327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_year2038_opts" >&5
   14328 printf "%s\n" "$ac_cv_sys_year2038_opts" >&6; }
   14329 
   14330 ac_have_year2038=yes
   14331 case $ac_cv_sys_year2038_opts in #(
   14332   "none needed") :
   14333      ;; #(
   14334   "support not detected") :
   14335     ac_have_year2038=no ;; #(
   14336   "-D_TIME_BITS=64") :
   14337 
   14338 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
   14339  ;; #(
   14340   "-D__MINGW_USE_VC2005_COMPAT") :
   14341 
   14342 printf "%s\n" "#define __MINGW_USE_VC2005_COMPAT 1" >>confdefs.h
   14343  ;; #(
   14344   "-U_USE_32_BIT_TIME_T"*) :
   14345     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   14346 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   14347 as_fn_error $? "the 'time_t' type is currently forced to be 32-bit. It
   14348 will stop working after mid-January 2038. Remove
   14349 _USE_32BIT_TIME_T from the compiler flags.
   14350 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   14351   *) :
   14352     as_fn_error $? "internal error: bad value for \$ac_cv_sys_year2038_opts" "$LINENO" 5 ;;
   14353 esac
   14354 
   14355 fi
   14356 
   14357 fi
   14358 
   14359 # Require xorg-macros minimum of 1.15 for fop minimum version
   14360 
   14361 
   14362 
   14363 
   14364 
   14365 
   14366 
   14367 
   14368 
   14369 
   14370 
   14371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   14372 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   14373 if test ${ac_cv_c_undeclared_builtin_options+y}
   14374 then :
   14375   printf %s "(cached) " >&6
   14376 else case e in #(
   14377   e) ac_save_CFLAGS=$CFLAGS
   14378    ac_cv_c_undeclared_builtin_options='cannot detect'
   14379    for ac_arg in '' -fno-builtin; do
   14380      CFLAGS="$ac_save_CFLAGS $ac_arg"
   14381      # This test program should *not* compile successfully.
   14382      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14383 /* end confdefs.h.  */
   14384 
   14385 int
   14386 main (void)
   14387 {
   14388 (void) strchr;
   14389   ;
   14390   return 0;
   14391 }
   14392 _ACEOF
   14393 if ac_fn_c_try_compile "$LINENO"
   14394 then :
   14395 
   14396 else case e in #(
   14397   e) # This test program should compile successfully.
   14398         # No library function is consistently available on
   14399         # freestanding implementations, so test against a dummy
   14400         # declaration.  Include always-available headers on the
   14401         # off chance that they somehow elicit warnings.
   14402         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14403 /* end confdefs.h.  */
   14404 #include <float.h>
   14405 #include <limits.h>
   14406 #include <stdarg.h>
   14407 #include <stddef.h>
   14408 extern void ac_decl (int, char *);
   14409 
   14410 int
   14411 main (void)
   14412 {
   14413 (void) ac_decl (0, (char *) 0);
   14414   (void) ac_decl;
   14415 
   14416   ;
   14417   return 0;
   14418 }
   14419 _ACEOF
   14420 if ac_fn_c_try_compile "$LINENO"
   14421 then :
   14422   if test x"$ac_arg" = x
   14423 then :
   14424   ac_cv_c_undeclared_builtin_options='none needed'
   14425 else case e in #(
   14426   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   14427 esac
   14428 fi
   14429           break
   14430 fi
   14431 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14432 esac
   14433 fi
   14434 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14435     done
   14436     CFLAGS=$ac_save_CFLAGS
   14437    ;;
   14438 esac
   14439 fi
   14440 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   14441 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   14442   case $ac_cv_c_undeclared_builtin_options in #(
   14443   'cannot detect') :
   14444     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   14445 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   14446 as_fn_error $? "cannot make $CC report undeclared builtins
   14447 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   14448   'none needed') :
   14449     ac_c_undeclared_builtin_options='' ;; #(
   14450   *) :
   14451     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   14452 esac
   14453 
   14454 
   14455 
   14456 
   14457 
   14458 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   14459 if test "x$ac_cv_have_decl___clang__" = xyes
   14460 then :
   14461   CLANGCC="yes"
   14462 else case e in #(
   14463   e) CLANGCC="no" ;;
   14464 esac
   14465 fi
   14466 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   14467 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   14468 then :
   14469   INTELCC="yes"
   14470 else case e in #(
   14471   e) INTELCC="no" ;;
   14472 esac
   14473 fi
   14474 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   14475 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   14476 then :
   14477   SUNCC="yes"
   14478 else case e in #(
   14479   e) SUNCC="no" ;;
   14480 esac
   14481 fi
   14482 
   14483 
   14484 
   14485 
   14486 
   14487 
   14488 
   14489 
   14490 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   14491 	if test -n "$ac_tool_prefix"; then
   14492   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   14493 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   14494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14495 printf %s "checking for $ac_word... " >&6; }
   14496 if test ${ac_cv_path_PKG_CONFIG+y}
   14497 then :
   14498   printf %s "(cached) " >&6
   14499 else case e in #(
   14500   e) case $PKG_CONFIG in
   14501   [\\/]* | ?:[\\/]*)
   14502   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   14503   ;;
   14504   *)
   14505   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14506 for as_dir in $PATH
   14507 do
   14508   IFS=$as_save_IFS
   14509   case $as_dir in #(((
   14510     '') as_dir=./ ;;
   14511     */) ;;
   14512     *) as_dir=$as_dir/ ;;
   14513   esac
   14514     for ac_exec_ext in '' $ac_executable_extensions; do
   14515   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14516     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   14517     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14518     break 2
   14519   fi
   14520 done
   14521   done
   14522 IFS=$as_save_IFS
   14523 
   14524   ;;
   14525 esac ;;
   14526 esac
   14527 fi
   14528 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   14529 if test -n "$PKG_CONFIG"; then
   14530   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   14531 printf "%s\n" "$PKG_CONFIG" >&6; }
   14532 else
   14533   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14534 printf "%s\n" "no" >&6; }
   14535 fi
   14536 
   14537 
   14538 fi
   14539 if test -z "$ac_cv_path_PKG_CONFIG"; then
   14540   ac_pt_PKG_CONFIG=$PKG_CONFIG
   14541   # Extract the first word of "pkg-config", so it can be a program name with args.
   14542 set dummy pkg-config; ac_word=$2
   14543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14544 printf %s "checking for $ac_word... " >&6; }
   14545 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   14546 then :
   14547   printf %s "(cached) " >&6
   14548 else case e in #(
   14549   e) case $ac_pt_PKG_CONFIG in
   14550   [\\/]* | ?:[\\/]*)
   14551   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   14552   ;;
   14553   *)
   14554   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14555 for as_dir in $PATH
   14556 do
   14557   IFS=$as_save_IFS
   14558   case $as_dir in #(((
   14559     '') as_dir=./ ;;
   14560     */) ;;
   14561     *) as_dir=$as_dir/ ;;
   14562   esac
   14563     for ac_exec_ext in '' $ac_executable_extensions; do
   14564   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14565     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   14566     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14567     break 2
   14568   fi
   14569 done
   14570   done
   14571 IFS=$as_save_IFS
   14572 
   14573   ;;
   14574 esac ;;
   14575 esac
   14576 fi
   14577 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   14578 if test -n "$ac_pt_PKG_CONFIG"; then
   14579   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   14580 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   14581 else
   14582   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14583 printf "%s\n" "no" >&6; }
   14584 fi
   14585 
   14586   if test "x$ac_pt_PKG_CONFIG" = x; then
   14587     PKG_CONFIG=""
   14588   else
   14589     case $cross_compiling:$ac_tool_warned in
   14590 yes:)
   14591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14592 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14593 ac_tool_warned=yes ;;
   14594 esac
   14595     PKG_CONFIG=$ac_pt_PKG_CONFIG
   14596   fi
   14597 else
   14598   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   14599 fi
   14600 
   14601 fi
   14602 if test -n "$PKG_CONFIG"; then
   14603 	_pkg_min_version=0.9.0
   14604 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   14605 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   14606 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   14607 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14608 printf "%s\n" "yes" >&6; }
   14609 	else
   14610 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14611 printf "%s\n" "no" >&6; }
   14612 		PKG_CONFIG=""
   14613 	fi
   14614 fi
   14615 
   14616 
   14617 
   14618 
   14619 
   14620 # Check whether --enable-selective-werror was given.
   14621 if test ${enable_selective_werror+y}
   14622 then :
   14623   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   14624 else case e in #(
   14625   e) SELECTIVE_WERROR=yes ;;
   14626 esac
   14627 fi
   14628 
   14629 
   14630 
   14631 
   14632 
   14633 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   14634 if test "x$SUNCC" = "xyes"; then
   14635     BASE_CFLAGS="-v"
   14636 else
   14637     BASE_CFLAGS=""
   14638 fi
   14639 
   14640 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   14641 
   14642 
   14643 
   14644 
   14645 
   14646 
   14647 
   14648 
   14649 
   14650 
   14651 
   14652 
   14653 
   14654 xorg_testset_save_CFLAGS="$CFLAGS"
   14655 
   14656 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14657 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14658 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14659 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14660 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14661 then :
   14662   printf %s "(cached) " >&6
   14663 else case e in #(
   14664   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14665 /* end confdefs.h.  */
   14666 int i;
   14667 _ACEOF
   14668 if ac_fn_c_try_compile "$LINENO"
   14669 then :
   14670   xorg_cv_cc_flag_unknown_warning_option=yes
   14671 else case e in #(
   14672   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14673 esac
   14674 fi
   14675 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14676 esac
   14677 fi
   14678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14679 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14680 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14681 	CFLAGS="$xorg_testset_save_CFLAGS"
   14682 fi
   14683 
   14684 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14685 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14686 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14687 	fi
   14688 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14689 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14690 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14691 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14692 then :
   14693   printf %s "(cached) " >&6
   14694 else case e in #(
   14695   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14696 /* end confdefs.h.  */
   14697 int i;
   14698 _ACEOF
   14699 if ac_fn_c_try_compile "$LINENO"
   14700 then :
   14701   xorg_cv_cc_flag_unused_command_line_argument=yes
   14702 else case e in #(
   14703   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14704 esac
   14705 fi
   14706 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14707 esac
   14708 fi
   14709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14710 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14711 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14712 	CFLAGS="$xorg_testset_save_CFLAGS"
   14713 fi
   14714 
   14715 found="no"
   14716 
   14717 	if test $found = "no" ; then
   14718 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14719 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14720 		fi
   14721 
   14722 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14723 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14724 		fi
   14725 
   14726 		CFLAGS="$CFLAGS -Wall"
   14727 
   14728 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   14729 printf %s "checking if $CC supports -Wall... " >&6; }
   14730 		cacheid=xorg_cv_cc_flag__Wall
   14731 		if eval test \${$cacheid+y}
   14732 then :
   14733   printf %s "(cached) " >&6
   14734 else case e in #(
   14735   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14736 /* end confdefs.h.  */
   14737 int i;
   14738 int
   14739 main (void)
   14740 {
   14741 
   14742   ;
   14743   return 0;
   14744 }
   14745 _ACEOF
   14746 if ac_fn_c_try_link "$LINENO"
   14747 then :
   14748   eval $cacheid=yes
   14749 else case e in #(
   14750   e) eval $cacheid=no ;;
   14751 esac
   14752 fi
   14753 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14754     conftest$ac_exeext conftest.$ac_ext ;;
   14755 esac
   14756 fi
   14757 
   14758 
   14759 		CFLAGS="$xorg_testset_save_CFLAGS"
   14760 
   14761 		eval supported=\$$cacheid
   14762 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14763 printf "%s\n" "$supported" >&6; }
   14764 		if test "$supported" = "yes" ; then
   14765 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   14766 			found="yes"
   14767 		fi
   14768 	fi
   14769 
   14770 
   14771 
   14772 
   14773 
   14774 
   14775 
   14776 
   14777 
   14778 
   14779 
   14780 
   14781 
   14782 
   14783 
   14784 xorg_testset_save_CFLAGS="$CFLAGS"
   14785 
   14786 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14787 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14788 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14789 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14790 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14791 then :
   14792   printf %s "(cached) " >&6
   14793 else case e in #(
   14794   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14795 /* end confdefs.h.  */
   14796 int i;
   14797 _ACEOF
   14798 if ac_fn_c_try_compile "$LINENO"
   14799 then :
   14800   xorg_cv_cc_flag_unknown_warning_option=yes
   14801 else case e in #(
   14802   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14803 esac
   14804 fi
   14805 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14806 esac
   14807 fi
   14808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14809 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14810 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14811 	CFLAGS="$xorg_testset_save_CFLAGS"
   14812 fi
   14813 
   14814 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14815 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14816 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14817 	fi
   14818 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14819 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14820 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14821 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14822 then :
   14823   printf %s "(cached) " >&6
   14824 else case e in #(
   14825   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14826 /* end confdefs.h.  */
   14827 int i;
   14828 _ACEOF
   14829 if ac_fn_c_try_compile "$LINENO"
   14830 then :
   14831   xorg_cv_cc_flag_unused_command_line_argument=yes
   14832 else case e in #(
   14833   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14834 esac
   14835 fi
   14836 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14837 esac
   14838 fi
   14839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14840 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14841 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14842 	CFLAGS="$xorg_testset_save_CFLAGS"
   14843 fi
   14844 
   14845 found="no"
   14846 
   14847 	if test $found = "no" ; then
   14848 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14849 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14850 		fi
   14851 
   14852 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14853 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14854 		fi
   14855 
   14856 		CFLAGS="$CFLAGS -Wpointer-arith"
   14857 
   14858 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   14859 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   14860 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   14861 		if eval test \${$cacheid+y}
   14862 then :
   14863   printf %s "(cached) " >&6
   14864 else case e in #(
   14865   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14866 /* end confdefs.h.  */
   14867 int i;
   14868 int
   14869 main (void)
   14870 {
   14871 
   14872   ;
   14873   return 0;
   14874 }
   14875 _ACEOF
   14876 if ac_fn_c_try_link "$LINENO"
   14877 then :
   14878   eval $cacheid=yes
   14879 else case e in #(
   14880   e) eval $cacheid=no ;;
   14881 esac
   14882 fi
   14883 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14884     conftest$ac_exeext conftest.$ac_ext ;;
   14885 esac
   14886 fi
   14887 
   14888 
   14889 		CFLAGS="$xorg_testset_save_CFLAGS"
   14890 
   14891 		eval supported=\$$cacheid
   14892 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14893 printf "%s\n" "$supported" >&6; }
   14894 		if test "$supported" = "yes" ; then
   14895 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   14896 			found="yes"
   14897 		fi
   14898 	fi
   14899 
   14900 
   14901 
   14902 
   14903 
   14904 
   14905 
   14906 
   14907 
   14908 
   14909 
   14910 
   14911 
   14912 
   14913 
   14914 xorg_testset_save_CFLAGS="$CFLAGS"
   14915 
   14916 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14917 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14918 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14919 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14920 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14921 then :
   14922   printf %s "(cached) " >&6
   14923 else case e in #(
   14924   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14925 /* end confdefs.h.  */
   14926 int i;
   14927 _ACEOF
   14928 if ac_fn_c_try_compile "$LINENO"
   14929 then :
   14930   xorg_cv_cc_flag_unknown_warning_option=yes
   14931 else case e in #(
   14932   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14933 esac
   14934 fi
   14935 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14936 esac
   14937 fi
   14938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14939 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14940 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14941 	CFLAGS="$xorg_testset_save_CFLAGS"
   14942 fi
   14943 
   14944 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14945 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14946 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14947 	fi
   14948 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14949 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14950 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14951 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14952 then :
   14953   printf %s "(cached) " >&6
   14954 else case e in #(
   14955   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14956 /* end confdefs.h.  */
   14957 int i;
   14958 _ACEOF
   14959 if ac_fn_c_try_compile "$LINENO"
   14960 then :
   14961   xorg_cv_cc_flag_unused_command_line_argument=yes
   14962 else case e in #(
   14963   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14964 esac
   14965 fi
   14966 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14967 esac
   14968 fi
   14969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14970 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14971 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14972 	CFLAGS="$xorg_testset_save_CFLAGS"
   14973 fi
   14974 
   14975 found="no"
   14976 
   14977 	if test $found = "no" ; then
   14978 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14979 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14980 		fi
   14981 
   14982 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14983 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14984 		fi
   14985 
   14986 		CFLAGS="$CFLAGS -Wmissing-declarations"
   14987 
   14988 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   14989 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   14990 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   14991 		if eval test \${$cacheid+y}
   14992 then :
   14993   printf %s "(cached) " >&6
   14994 else case e in #(
   14995   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14996 /* end confdefs.h.  */
   14997 int i;
   14998 int
   14999 main (void)
   15000 {
   15001 
   15002   ;
   15003   return 0;
   15004 }
   15005 _ACEOF
   15006 if ac_fn_c_try_link "$LINENO"
   15007 then :
   15008   eval $cacheid=yes
   15009 else case e in #(
   15010   e) eval $cacheid=no ;;
   15011 esac
   15012 fi
   15013 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15014     conftest$ac_exeext conftest.$ac_ext ;;
   15015 esac
   15016 fi
   15017 
   15018 
   15019 		CFLAGS="$xorg_testset_save_CFLAGS"
   15020 
   15021 		eval supported=\$$cacheid
   15022 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15023 printf "%s\n" "$supported" >&6; }
   15024 		if test "$supported" = "yes" ; then
   15025 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   15026 			found="yes"
   15027 		fi
   15028 	fi
   15029 
   15030 
   15031 
   15032 
   15033 
   15034 
   15035 
   15036 
   15037 
   15038 
   15039 
   15040 
   15041 
   15042 
   15043 
   15044 xorg_testset_save_CFLAGS="$CFLAGS"
   15045 
   15046 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15047 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15048 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15049 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15050 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15051 then :
   15052   printf %s "(cached) " >&6
   15053 else case e in #(
   15054   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15055 /* end confdefs.h.  */
   15056 int i;
   15057 _ACEOF
   15058 if ac_fn_c_try_compile "$LINENO"
   15059 then :
   15060   xorg_cv_cc_flag_unknown_warning_option=yes
   15061 else case e in #(
   15062   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15063 esac
   15064 fi
   15065 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15066 esac
   15067 fi
   15068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15069 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15070 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15071 	CFLAGS="$xorg_testset_save_CFLAGS"
   15072 fi
   15073 
   15074 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15075 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15076 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15077 	fi
   15078 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15079 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15080 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15081 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15082 then :
   15083   printf %s "(cached) " >&6
   15084 else case e in #(
   15085   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15086 /* end confdefs.h.  */
   15087 int i;
   15088 _ACEOF
   15089 if ac_fn_c_try_compile "$LINENO"
   15090 then :
   15091   xorg_cv_cc_flag_unused_command_line_argument=yes
   15092 else case e in #(
   15093   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15094 esac
   15095 fi
   15096 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15097 esac
   15098 fi
   15099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15100 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15101 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15102 	CFLAGS="$xorg_testset_save_CFLAGS"
   15103 fi
   15104 
   15105 found="no"
   15106 
   15107 	if test $found = "no" ; then
   15108 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15109 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15110 		fi
   15111 
   15112 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15113 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15114 		fi
   15115 
   15116 		CFLAGS="$CFLAGS -Wformat=2"
   15117 
   15118 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   15119 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   15120 		cacheid=xorg_cv_cc_flag__Wformat_2
   15121 		if eval test \${$cacheid+y}
   15122 then :
   15123   printf %s "(cached) " >&6
   15124 else case e in #(
   15125   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15126 /* end confdefs.h.  */
   15127 int i;
   15128 int
   15129 main (void)
   15130 {
   15131 
   15132   ;
   15133   return 0;
   15134 }
   15135 _ACEOF
   15136 if ac_fn_c_try_link "$LINENO"
   15137 then :
   15138   eval $cacheid=yes
   15139 else case e in #(
   15140   e) eval $cacheid=no ;;
   15141 esac
   15142 fi
   15143 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15144     conftest$ac_exeext conftest.$ac_ext ;;
   15145 esac
   15146 fi
   15147 
   15148 
   15149 		CFLAGS="$xorg_testset_save_CFLAGS"
   15150 
   15151 		eval supported=\$$cacheid
   15152 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15153 printf "%s\n" "$supported" >&6; }
   15154 		if test "$supported" = "yes" ; then
   15155 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   15156 			found="yes"
   15157 		fi
   15158 	fi
   15159 
   15160 	if test $found = "no" ; then
   15161 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15162 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15163 		fi
   15164 
   15165 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15166 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15167 		fi
   15168 
   15169 		CFLAGS="$CFLAGS -Wformat"
   15170 
   15171 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   15172 printf %s "checking if $CC supports -Wformat... " >&6; }
   15173 		cacheid=xorg_cv_cc_flag__Wformat
   15174 		if eval test \${$cacheid+y}
   15175 then :
   15176   printf %s "(cached) " >&6
   15177 else case e in #(
   15178   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15179 /* end confdefs.h.  */
   15180 int i;
   15181 int
   15182 main (void)
   15183 {
   15184 
   15185   ;
   15186   return 0;
   15187 }
   15188 _ACEOF
   15189 if ac_fn_c_try_link "$LINENO"
   15190 then :
   15191   eval $cacheid=yes
   15192 else case e in #(
   15193   e) eval $cacheid=no ;;
   15194 esac
   15195 fi
   15196 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15197     conftest$ac_exeext conftest.$ac_ext ;;
   15198 esac
   15199 fi
   15200 
   15201 
   15202 		CFLAGS="$xorg_testset_save_CFLAGS"
   15203 
   15204 		eval supported=\$$cacheid
   15205 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15206 printf "%s\n" "$supported" >&6; }
   15207 		if test "$supported" = "yes" ; then
   15208 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   15209 			found="yes"
   15210 		fi
   15211 	fi
   15212 
   15213 
   15214 
   15215 
   15216 
   15217 
   15218 
   15219 
   15220 
   15221 
   15222 
   15223 
   15224 
   15225 
   15226 
   15227 
   15228 
   15229 xorg_testset_save_CFLAGS="$CFLAGS"
   15230 
   15231 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15232 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15233 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15234 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15235 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15236 then :
   15237   printf %s "(cached) " >&6
   15238 else case e in #(
   15239   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15240 /* end confdefs.h.  */
   15241 int i;
   15242 _ACEOF
   15243 if ac_fn_c_try_compile "$LINENO"
   15244 then :
   15245   xorg_cv_cc_flag_unknown_warning_option=yes
   15246 else case e in #(
   15247   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15248 esac
   15249 fi
   15250 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15251 esac
   15252 fi
   15253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15254 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15255 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15256 	CFLAGS="$xorg_testset_save_CFLAGS"
   15257 fi
   15258 
   15259 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15260 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15261 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15262 	fi
   15263 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15264 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15265 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15266 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15267 then :
   15268   printf %s "(cached) " >&6
   15269 else case e in #(
   15270   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15271 /* end confdefs.h.  */
   15272 int i;
   15273 _ACEOF
   15274 if ac_fn_c_try_compile "$LINENO"
   15275 then :
   15276   xorg_cv_cc_flag_unused_command_line_argument=yes
   15277 else case e in #(
   15278   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15279 esac
   15280 fi
   15281 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15282 esac
   15283 fi
   15284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15285 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15286 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15287 	CFLAGS="$xorg_testset_save_CFLAGS"
   15288 fi
   15289 
   15290 found="no"
   15291 
   15292 	if test $found = "no" ; then
   15293 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15294 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15295 		fi
   15296 
   15297 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15298 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15299 		fi
   15300 
   15301 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   15302 
   15303 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   15304 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   15305 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   15306 		if eval test \${$cacheid+y}
   15307 then :
   15308   printf %s "(cached) " >&6
   15309 else case e in #(
   15310   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15311 /* end confdefs.h.  */
   15312 int i;
   15313 int
   15314 main (void)
   15315 {
   15316 
   15317   ;
   15318   return 0;
   15319 }
   15320 _ACEOF
   15321 if ac_fn_c_try_link "$LINENO"
   15322 then :
   15323   eval $cacheid=yes
   15324 else case e in #(
   15325   e) eval $cacheid=no ;;
   15326 esac
   15327 fi
   15328 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15329     conftest$ac_exeext conftest.$ac_ext ;;
   15330 esac
   15331 fi
   15332 
   15333 
   15334 		CFLAGS="$xorg_testset_save_CFLAGS"
   15335 
   15336 		eval supported=\$$cacheid
   15337 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15338 printf "%s\n" "$supported" >&6; }
   15339 		if test "$supported" = "yes" ; then
   15340 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   15341 			found="yes"
   15342 		fi
   15343 	fi
   15344 
   15345 
   15346 
   15347 
   15348 
   15349 
   15350 
   15351 
   15352 
   15353 
   15354 
   15355 
   15356 
   15357 
   15358 
   15359 xorg_testset_save_CFLAGS="$CFLAGS"
   15360 
   15361 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15362 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15363 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15364 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15365 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15366 then :
   15367   printf %s "(cached) " >&6
   15368 else case e in #(
   15369   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15370 /* end confdefs.h.  */
   15371 int i;
   15372 _ACEOF
   15373 if ac_fn_c_try_compile "$LINENO"
   15374 then :
   15375   xorg_cv_cc_flag_unknown_warning_option=yes
   15376 else case e in #(
   15377   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15378 esac
   15379 fi
   15380 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15381 esac
   15382 fi
   15383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15384 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15385 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15386 	CFLAGS="$xorg_testset_save_CFLAGS"
   15387 fi
   15388 
   15389 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15390 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15391 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15392 	fi
   15393 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15394 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15395 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15396 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15397 then :
   15398   printf %s "(cached) " >&6
   15399 else case e in #(
   15400   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15401 /* end confdefs.h.  */
   15402 int i;
   15403 _ACEOF
   15404 if ac_fn_c_try_compile "$LINENO"
   15405 then :
   15406   xorg_cv_cc_flag_unused_command_line_argument=yes
   15407 else case e in #(
   15408   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15409 esac
   15410 fi
   15411 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15412 esac
   15413 fi
   15414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15415 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15416 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15417 	CFLAGS="$xorg_testset_save_CFLAGS"
   15418 fi
   15419 
   15420 found="no"
   15421 
   15422 	if test $found = "no" ; then
   15423 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15424 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15425 		fi
   15426 
   15427 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15428 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15429 		fi
   15430 
   15431 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   15432 
   15433 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   15434 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   15435 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   15436 		if eval test \${$cacheid+y}
   15437 then :
   15438   printf %s "(cached) " >&6
   15439 else case e in #(
   15440   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15441 /* end confdefs.h.  */
   15442 int i;
   15443 int
   15444 main (void)
   15445 {
   15446 
   15447   ;
   15448   return 0;
   15449 }
   15450 _ACEOF
   15451 if ac_fn_c_try_link "$LINENO"
   15452 then :
   15453   eval $cacheid=yes
   15454 else case e in #(
   15455   e) eval $cacheid=no ;;
   15456 esac
   15457 fi
   15458 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15459     conftest$ac_exeext conftest.$ac_ext ;;
   15460 esac
   15461 fi
   15462 
   15463 
   15464 		CFLAGS="$xorg_testset_save_CFLAGS"
   15465 
   15466 		eval supported=\$$cacheid
   15467 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15468 printf "%s\n" "$supported" >&6; }
   15469 		if test "$supported" = "yes" ; then
   15470 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   15471 			found="yes"
   15472 		fi
   15473 	fi
   15474 
   15475 
   15476 
   15477 
   15478 
   15479 
   15480 
   15481 
   15482 
   15483 
   15484 
   15485 
   15486 
   15487 
   15488 
   15489 xorg_testset_save_CFLAGS="$CFLAGS"
   15490 
   15491 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15492 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15493 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15494 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15495 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15496 then :
   15497   printf %s "(cached) " >&6
   15498 else case e in #(
   15499   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15500 /* end confdefs.h.  */
   15501 int i;
   15502 _ACEOF
   15503 if ac_fn_c_try_compile "$LINENO"
   15504 then :
   15505   xorg_cv_cc_flag_unknown_warning_option=yes
   15506 else case e in #(
   15507   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15508 esac
   15509 fi
   15510 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15511 esac
   15512 fi
   15513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15514 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15515 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15516 	CFLAGS="$xorg_testset_save_CFLAGS"
   15517 fi
   15518 
   15519 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15520 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15521 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15522 	fi
   15523 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15524 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15525 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15526 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15527 then :
   15528   printf %s "(cached) " >&6
   15529 else case e in #(
   15530   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15531 /* end confdefs.h.  */
   15532 int i;
   15533 _ACEOF
   15534 if ac_fn_c_try_compile "$LINENO"
   15535 then :
   15536   xorg_cv_cc_flag_unused_command_line_argument=yes
   15537 else case e in #(
   15538   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15539 esac
   15540 fi
   15541 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15542 esac
   15543 fi
   15544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15545 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15546 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15547 	CFLAGS="$xorg_testset_save_CFLAGS"
   15548 fi
   15549 
   15550 found="no"
   15551 
   15552 	if test $found = "no" ; then
   15553 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15554 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15555 		fi
   15556 
   15557 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15558 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15559 		fi
   15560 
   15561 		CFLAGS="$CFLAGS -Wnested-externs"
   15562 
   15563 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   15564 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   15565 		cacheid=xorg_cv_cc_flag__Wnested_externs
   15566 		if eval test \${$cacheid+y}
   15567 then :
   15568   printf %s "(cached) " >&6
   15569 else case e in #(
   15570   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15571 /* end confdefs.h.  */
   15572 int i;
   15573 int
   15574 main (void)
   15575 {
   15576 
   15577   ;
   15578   return 0;
   15579 }
   15580 _ACEOF
   15581 if ac_fn_c_try_link "$LINENO"
   15582 then :
   15583   eval $cacheid=yes
   15584 else case e in #(
   15585   e) eval $cacheid=no ;;
   15586 esac
   15587 fi
   15588 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15589     conftest$ac_exeext conftest.$ac_ext ;;
   15590 esac
   15591 fi
   15592 
   15593 
   15594 		CFLAGS="$xorg_testset_save_CFLAGS"
   15595 
   15596 		eval supported=\$$cacheid
   15597 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15598 printf "%s\n" "$supported" >&6; }
   15599 		if test "$supported" = "yes" ; then
   15600 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   15601 			found="yes"
   15602 		fi
   15603 	fi
   15604 
   15605 
   15606 
   15607 
   15608 
   15609 
   15610 
   15611 
   15612 
   15613 
   15614 
   15615 
   15616 
   15617 
   15618 
   15619 xorg_testset_save_CFLAGS="$CFLAGS"
   15620 
   15621 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15622 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15623 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15624 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15625 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15626 then :
   15627   printf %s "(cached) " >&6
   15628 else case e in #(
   15629   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15630 /* end confdefs.h.  */
   15631 int i;
   15632 _ACEOF
   15633 if ac_fn_c_try_compile "$LINENO"
   15634 then :
   15635   xorg_cv_cc_flag_unknown_warning_option=yes
   15636 else case e in #(
   15637   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15638 esac
   15639 fi
   15640 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15641 esac
   15642 fi
   15643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15644 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15645 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15646 	CFLAGS="$xorg_testset_save_CFLAGS"
   15647 fi
   15648 
   15649 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15650 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15651 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15652 	fi
   15653 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15654 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15655 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15656 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15657 then :
   15658   printf %s "(cached) " >&6
   15659 else case e in #(
   15660   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15661 /* end confdefs.h.  */
   15662 int i;
   15663 _ACEOF
   15664 if ac_fn_c_try_compile "$LINENO"
   15665 then :
   15666   xorg_cv_cc_flag_unused_command_line_argument=yes
   15667 else case e in #(
   15668   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15669 esac
   15670 fi
   15671 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15672 esac
   15673 fi
   15674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15675 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15676 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15677 	CFLAGS="$xorg_testset_save_CFLAGS"
   15678 fi
   15679 
   15680 found="no"
   15681 
   15682 	if test $found = "no" ; then
   15683 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15684 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15685 		fi
   15686 
   15687 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15688 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15689 		fi
   15690 
   15691 		CFLAGS="$CFLAGS -Wbad-function-cast"
   15692 
   15693 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   15694 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   15695 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   15696 		if eval test \${$cacheid+y}
   15697 then :
   15698   printf %s "(cached) " >&6
   15699 else case e in #(
   15700   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15701 /* end confdefs.h.  */
   15702 int i;
   15703 int
   15704 main (void)
   15705 {
   15706 
   15707   ;
   15708   return 0;
   15709 }
   15710 _ACEOF
   15711 if ac_fn_c_try_link "$LINENO"
   15712 then :
   15713   eval $cacheid=yes
   15714 else case e in #(
   15715   e) eval $cacheid=no ;;
   15716 esac
   15717 fi
   15718 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15719     conftest$ac_exeext conftest.$ac_ext ;;
   15720 esac
   15721 fi
   15722 
   15723 
   15724 		CFLAGS="$xorg_testset_save_CFLAGS"
   15725 
   15726 		eval supported=\$$cacheid
   15727 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15728 printf "%s\n" "$supported" >&6; }
   15729 		if test "$supported" = "yes" ; then
   15730 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   15731 			found="yes"
   15732 		fi
   15733 	fi
   15734 
   15735 
   15736 
   15737 
   15738 
   15739 
   15740 
   15741 
   15742 
   15743 
   15744 
   15745 
   15746 
   15747 
   15748 
   15749 xorg_testset_save_CFLAGS="$CFLAGS"
   15750 
   15751 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15752 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15753 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15754 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15755 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15756 then :
   15757   printf %s "(cached) " >&6
   15758 else case e in #(
   15759   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15760 /* end confdefs.h.  */
   15761 int i;
   15762 _ACEOF
   15763 if ac_fn_c_try_compile "$LINENO"
   15764 then :
   15765   xorg_cv_cc_flag_unknown_warning_option=yes
   15766 else case e in #(
   15767   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15768 esac
   15769 fi
   15770 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15771 esac
   15772 fi
   15773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15774 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15775 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15776 	CFLAGS="$xorg_testset_save_CFLAGS"
   15777 fi
   15778 
   15779 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15780 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15781 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15782 	fi
   15783 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15784 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15785 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15786 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15787 then :
   15788   printf %s "(cached) " >&6
   15789 else case e in #(
   15790   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15791 /* end confdefs.h.  */
   15792 int i;
   15793 _ACEOF
   15794 if ac_fn_c_try_compile "$LINENO"
   15795 then :
   15796   xorg_cv_cc_flag_unused_command_line_argument=yes
   15797 else case e in #(
   15798   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15799 esac
   15800 fi
   15801 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15802 esac
   15803 fi
   15804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15805 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15806 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15807 	CFLAGS="$xorg_testset_save_CFLAGS"
   15808 fi
   15809 
   15810 found="no"
   15811 
   15812 	if test $found = "no" ; then
   15813 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15814 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15815 		fi
   15816 
   15817 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15818 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15819 		fi
   15820 
   15821 		CFLAGS="$CFLAGS -Wold-style-definition"
   15822 
   15823 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   15824 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   15825 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   15826 		if eval test \${$cacheid+y}
   15827 then :
   15828   printf %s "(cached) " >&6
   15829 else case e in #(
   15830   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15831 /* end confdefs.h.  */
   15832 int i;
   15833 int
   15834 main (void)
   15835 {
   15836 
   15837   ;
   15838   return 0;
   15839 }
   15840 _ACEOF
   15841 if ac_fn_c_try_link "$LINENO"
   15842 then :
   15843   eval $cacheid=yes
   15844 else case e in #(
   15845   e) eval $cacheid=no ;;
   15846 esac
   15847 fi
   15848 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15849     conftest$ac_exeext conftest.$ac_ext ;;
   15850 esac
   15851 fi
   15852 
   15853 
   15854 		CFLAGS="$xorg_testset_save_CFLAGS"
   15855 
   15856 		eval supported=\$$cacheid
   15857 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15858 printf "%s\n" "$supported" >&6; }
   15859 		if test "$supported" = "yes" ; then
   15860 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   15861 			found="yes"
   15862 		fi
   15863 	fi
   15864 
   15865 	if test $found = "no" ; then
   15866 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15867 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15868 		fi
   15869 
   15870 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15871 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15872 		fi
   15873 
   15874 		CFLAGS="$CFLAGS -fd"
   15875 
   15876 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   15877 printf %s "checking if $CC supports -fd... " >&6; }
   15878 		cacheid=xorg_cv_cc_flag__fd
   15879 		if eval test \${$cacheid+y}
   15880 then :
   15881   printf %s "(cached) " >&6
   15882 else case e in #(
   15883   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15884 /* end confdefs.h.  */
   15885 int i;
   15886 int
   15887 main (void)
   15888 {
   15889 
   15890   ;
   15891   return 0;
   15892 }
   15893 _ACEOF
   15894 if ac_fn_c_try_link "$LINENO"
   15895 then :
   15896   eval $cacheid=yes
   15897 else case e in #(
   15898   e) eval $cacheid=no ;;
   15899 esac
   15900 fi
   15901 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15902     conftest$ac_exeext conftest.$ac_ext ;;
   15903 esac
   15904 fi
   15905 
   15906 
   15907 		CFLAGS="$xorg_testset_save_CFLAGS"
   15908 
   15909 		eval supported=\$$cacheid
   15910 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15911 printf "%s\n" "$supported" >&6; }
   15912 		if test "$supported" = "yes" ; then
   15913 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   15914 			found="yes"
   15915 		fi
   15916 	fi
   15917 
   15918 
   15919 
   15920 
   15921 
   15922 # This chunk adds additional warnings that could catch undesired effects.
   15923 
   15924 
   15925 
   15926 
   15927 
   15928 
   15929 
   15930 
   15931 
   15932 
   15933 
   15934 
   15935 
   15936 xorg_testset_save_CFLAGS="$CFLAGS"
   15937 
   15938 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15939 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15940 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15941 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15942 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15943 then :
   15944   printf %s "(cached) " >&6
   15945 else case e in #(
   15946   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15947 /* end confdefs.h.  */
   15948 int i;
   15949 _ACEOF
   15950 if ac_fn_c_try_compile "$LINENO"
   15951 then :
   15952   xorg_cv_cc_flag_unknown_warning_option=yes
   15953 else case e in #(
   15954   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15955 esac
   15956 fi
   15957 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15958 esac
   15959 fi
   15960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15961 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15962 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15963 	CFLAGS="$xorg_testset_save_CFLAGS"
   15964 fi
   15965 
   15966 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15967 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15968 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15969 	fi
   15970 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15971 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15972 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15973 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15974 then :
   15975   printf %s "(cached) " >&6
   15976 else case e in #(
   15977   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15978 /* end confdefs.h.  */
   15979 int i;
   15980 _ACEOF
   15981 if ac_fn_c_try_compile "$LINENO"
   15982 then :
   15983   xorg_cv_cc_flag_unused_command_line_argument=yes
   15984 else case e in #(
   15985   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15986 esac
   15987 fi
   15988 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15989 esac
   15990 fi
   15991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15992 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15993 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15994 	CFLAGS="$xorg_testset_save_CFLAGS"
   15995 fi
   15996 
   15997 found="no"
   15998 
   15999 	if test $found = "no" ; then
   16000 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16001 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16002 		fi
   16003 
   16004 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16005 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16006 		fi
   16007 
   16008 		CFLAGS="$CFLAGS -Wunused"
   16009 
   16010 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   16011 printf %s "checking if $CC supports -Wunused... " >&6; }
   16012 		cacheid=xorg_cv_cc_flag__Wunused
   16013 		if eval test \${$cacheid+y}
   16014 then :
   16015   printf %s "(cached) " >&6
   16016 else case e in #(
   16017   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16018 /* end confdefs.h.  */
   16019 int i;
   16020 int
   16021 main (void)
   16022 {
   16023 
   16024   ;
   16025   return 0;
   16026 }
   16027 _ACEOF
   16028 if ac_fn_c_try_link "$LINENO"
   16029 then :
   16030   eval $cacheid=yes
   16031 else case e in #(
   16032   e) eval $cacheid=no ;;
   16033 esac
   16034 fi
   16035 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16036     conftest$ac_exeext conftest.$ac_ext ;;
   16037 esac
   16038 fi
   16039 
   16040 
   16041 		CFLAGS="$xorg_testset_save_CFLAGS"
   16042 
   16043 		eval supported=\$$cacheid
   16044 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16045 printf "%s\n" "$supported" >&6; }
   16046 		if test "$supported" = "yes" ; then
   16047 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   16048 			found="yes"
   16049 		fi
   16050 	fi
   16051 
   16052 
   16053 
   16054 
   16055 
   16056 
   16057 
   16058 
   16059 
   16060 
   16061 
   16062 
   16063 
   16064 
   16065 
   16066 xorg_testset_save_CFLAGS="$CFLAGS"
   16067 
   16068 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16069 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16070 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16071 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16072 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16073 then :
   16074   printf %s "(cached) " >&6
   16075 else case e in #(
   16076   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16077 /* end confdefs.h.  */
   16078 int i;
   16079 _ACEOF
   16080 if ac_fn_c_try_compile "$LINENO"
   16081 then :
   16082   xorg_cv_cc_flag_unknown_warning_option=yes
   16083 else case e in #(
   16084   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16085 esac
   16086 fi
   16087 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16088 esac
   16089 fi
   16090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16091 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16092 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16093 	CFLAGS="$xorg_testset_save_CFLAGS"
   16094 fi
   16095 
   16096 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16097 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16098 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16099 	fi
   16100 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16101 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16102 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16103 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16104 then :
   16105   printf %s "(cached) " >&6
   16106 else case e in #(
   16107   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16108 /* end confdefs.h.  */
   16109 int i;
   16110 _ACEOF
   16111 if ac_fn_c_try_compile "$LINENO"
   16112 then :
   16113   xorg_cv_cc_flag_unused_command_line_argument=yes
   16114 else case e in #(
   16115   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16116 esac
   16117 fi
   16118 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16119 esac
   16120 fi
   16121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16122 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16123 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16124 	CFLAGS="$xorg_testset_save_CFLAGS"
   16125 fi
   16126 
   16127 found="no"
   16128 
   16129 	if test $found = "no" ; then
   16130 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16131 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16132 		fi
   16133 
   16134 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16135 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16136 		fi
   16137 
   16138 		CFLAGS="$CFLAGS -Wuninitialized"
   16139 
   16140 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   16141 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   16142 		cacheid=xorg_cv_cc_flag__Wuninitialized
   16143 		if eval test \${$cacheid+y}
   16144 then :
   16145   printf %s "(cached) " >&6
   16146 else case e in #(
   16147   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16148 /* end confdefs.h.  */
   16149 int i;
   16150 int
   16151 main (void)
   16152 {
   16153 
   16154   ;
   16155   return 0;
   16156 }
   16157 _ACEOF
   16158 if ac_fn_c_try_link "$LINENO"
   16159 then :
   16160   eval $cacheid=yes
   16161 else case e in #(
   16162   e) eval $cacheid=no ;;
   16163 esac
   16164 fi
   16165 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16166     conftest$ac_exeext conftest.$ac_ext ;;
   16167 esac
   16168 fi
   16169 
   16170 
   16171 		CFLAGS="$xorg_testset_save_CFLAGS"
   16172 
   16173 		eval supported=\$$cacheid
   16174 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16175 printf "%s\n" "$supported" >&6; }
   16176 		if test "$supported" = "yes" ; then
   16177 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   16178 			found="yes"
   16179 		fi
   16180 	fi
   16181 
   16182 
   16183 
   16184 
   16185 
   16186 
   16187 
   16188 
   16189 
   16190 
   16191 
   16192 
   16193 
   16194 
   16195 
   16196 xorg_testset_save_CFLAGS="$CFLAGS"
   16197 
   16198 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16199 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16200 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16201 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16202 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16203 then :
   16204   printf %s "(cached) " >&6
   16205 else case e in #(
   16206   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16207 /* end confdefs.h.  */
   16208 int i;
   16209 _ACEOF
   16210 if ac_fn_c_try_compile "$LINENO"
   16211 then :
   16212   xorg_cv_cc_flag_unknown_warning_option=yes
   16213 else case e in #(
   16214   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16215 esac
   16216 fi
   16217 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16218 esac
   16219 fi
   16220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16221 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16222 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16223 	CFLAGS="$xorg_testset_save_CFLAGS"
   16224 fi
   16225 
   16226 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16227 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16228 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16229 	fi
   16230 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16231 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16232 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16233 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16234 then :
   16235   printf %s "(cached) " >&6
   16236 else case e in #(
   16237   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16238 /* end confdefs.h.  */
   16239 int i;
   16240 _ACEOF
   16241 if ac_fn_c_try_compile "$LINENO"
   16242 then :
   16243   xorg_cv_cc_flag_unused_command_line_argument=yes
   16244 else case e in #(
   16245   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16246 esac
   16247 fi
   16248 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16249 esac
   16250 fi
   16251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16252 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16253 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16254 	CFLAGS="$xorg_testset_save_CFLAGS"
   16255 fi
   16256 
   16257 found="no"
   16258 
   16259 	if test $found = "no" ; then
   16260 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16261 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16262 		fi
   16263 
   16264 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16265 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16266 		fi
   16267 
   16268 		CFLAGS="$CFLAGS -Wshadow"
   16269 
   16270 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   16271 printf %s "checking if $CC supports -Wshadow... " >&6; }
   16272 		cacheid=xorg_cv_cc_flag__Wshadow
   16273 		if eval test \${$cacheid+y}
   16274 then :
   16275   printf %s "(cached) " >&6
   16276 else case e in #(
   16277   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16278 /* end confdefs.h.  */
   16279 int i;
   16280 int
   16281 main (void)
   16282 {
   16283 
   16284   ;
   16285   return 0;
   16286 }
   16287 _ACEOF
   16288 if ac_fn_c_try_link "$LINENO"
   16289 then :
   16290   eval $cacheid=yes
   16291 else case e in #(
   16292   e) eval $cacheid=no ;;
   16293 esac
   16294 fi
   16295 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16296     conftest$ac_exeext conftest.$ac_ext ;;
   16297 esac
   16298 fi
   16299 
   16300 
   16301 		CFLAGS="$xorg_testset_save_CFLAGS"
   16302 
   16303 		eval supported=\$$cacheid
   16304 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16305 printf "%s\n" "$supported" >&6; }
   16306 		if test "$supported" = "yes" ; then
   16307 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   16308 			found="yes"
   16309 		fi
   16310 	fi
   16311 
   16312 
   16313 
   16314 
   16315 
   16316 
   16317 
   16318 
   16319 
   16320 
   16321 
   16322 
   16323 
   16324 
   16325 
   16326 xorg_testset_save_CFLAGS="$CFLAGS"
   16327 
   16328 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16329 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16330 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16331 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16332 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16333 then :
   16334   printf %s "(cached) " >&6
   16335 else case e in #(
   16336   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16337 /* end confdefs.h.  */
   16338 int i;
   16339 _ACEOF
   16340 if ac_fn_c_try_compile "$LINENO"
   16341 then :
   16342   xorg_cv_cc_flag_unknown_warning_option=yes
   16343 else case e in #(
   16344   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16345 esac
   16346 fi
   16347 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16348 esac
   16349 fi
   16350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16351 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16352 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16353 	CFLAGS="$xorg_testset_save_CFLAGS"
   16354 fi
   16355 
   16356 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16357 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16358 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16359 	fi
   16360 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16361 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16362 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16363 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16364 then :
   16365   printf %s "(cached) " >&6
   16366 else case e in #(
   16367   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16368 /* end confdefs.h.  */
   16369 int i;
   16370 _ACEOF
   16371 if ac_fn_c_try_compile "$LINENO"
   16372 then :
   16373   xorg_cv_cc_flag_unused_command_line_argument=yes
   16374 else case e in #(
   16375   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16376 esac
   16377 fi
   16378 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16379 esac
   16380 fi
   16381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16382 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16383 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16384 	CFLAGS="$xorg_testset_save_CFLAGS"
   16385 fi
   16386 
   16387 found="no"
   16388 
   16389 	if test $found = "no" ; then
   16390 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16391 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16392 		fi
   16393 
   16394 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16395 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16396 		fi
   16397 
   16398 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   16399 
   16400 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   16401 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   16402 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   16403 		if eval test \${$cacheid+y}
   16404 then :
   16405   printf %s "(cached) " >&6
   16406 else case e in #(
   16407   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16408 /* end confdefs.h.  */
   16409 int i;
   16410 int
   16411 main (void)
   16412 {
   16413 
   16414   ;
   16415   return 0;
   16416 }
   16417 _ACEOF
   16418 if ac_fn_c_try_link "$LINENO"
   16419 then :
   16420   eval $cacheid=yes
   16421 else case e in #(
   16422   e) eval $cacheid=no ;;
   16423 esac
   16424 fi
   16425 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16426     conftest$ac_exeext conftest.$ac_ext ;;
   16427 esac
   16428 fi
   16429 
   16430 
   16431 		CFLAGS="$xorg_testset_save_CFLAGS"
   16432 
   16433 		eval supported=\$$cacheid
   16434 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16435 printf "%s\n" "$supported" >&6; }
   16436 		if test "$supported" = "yes" ; then
   16437 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   16438 			found="yes"
   16439 		fi
   16440 	fi
   16441 
   16442 
   16443 
   16444 
   16445 
   16446 
   16447 
   16448 
   16449 
   16450 
   16451 
   16452 
   16453 
   16454 
   16455 
   16456 xorg_testset_save_CFLAGS="$CFLAGS"
   16457 
   16458 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16459 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16460 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16461 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16462 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16463 then :
   16464   printf %s "(cached) " >&6
   16465 else case e in #(
   16466   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16467 /* end confdefs.h.  */
   16468 int i;
   16469 _ACEOF
   16470 if ac_fn_c_try_compile "$LINENO"
   16471 then :
   16472   xorg_cv_cc_flag_unknown_warning_option=yes
   16473 else case e in #(
   16474   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16475 esac
   16476 fi
   16477 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16478 esac
   16479 fi
   16480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16481 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16482 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16483 	CFLAGS="$xorg_testset_save_CFLAGS"
   16484 fi
   16485 
   16486 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16487 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16488 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16489 	fi
   16490 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16491 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16492 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16493 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16494 then :
   16495   printf %s "(cached) " >&6
   16496 else case e in #(
   16497   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16498 /* end confdefs.h.  */
   16499 int i;
   16500 _ACEOF
   16501 if ac_fn_c_try_compile "$LINENO"
   16502 then :
   16503   xorg_cv_cc_flag_unused_command_line_argument=yes
   16504 else case e in #(
   16505   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16506 esac
   16507 fi
   16508 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16509 esac
   16510 fi
   16511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16512 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16513 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16514 	CFLAGS="$xorg_testset_save_CFLAGS"
   16515 fi
   16516 
   16517 found="no"
   16518 
   16519 	if test $found = "no" ; then
   16520 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16521 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16522 		fi
   16523 
   16524 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16525 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16526 		fi
   16527 
   16528 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   16529 
   16530 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   16531 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   16532 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   16533 		if eval test \${$cacheid+y}
   16534 then :
   16535   printf %s "(cached) " >&6
   16536 else case e in #(
   16537   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16538 /* end confdefs.h.  */
   16539 int i;
   16540 int
   16541 main (void)
   16542 {
   16543 
   16544   ;
   16545   return 0;
   16546 }
   16547 _ACEOF
   16548 if ac_fn_c_try_link "$LINENO"
   16549 then :
   16550   eval $cacheid=yes
   16551 else case e in #(
   16552   e) eval $cacheid=no ;;
   16553 esac
   16554 fi
   16555 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16556     conftest$ac_exeext conftest.$ac_ext ;;
   16557 esac
   16558 fi
   16559 
   16560 
   16561 		CFLAGS="$xorg_testset_save_CFLAGS"
   16562 
   16563 		eval supported=\$$cacheid
   16564 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16565 printf "%s\n" "$supported" >&6; }
   16566 		if test "$supported" = "yes" ; then
   16567 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   16568 			found="yes"
   16569 		fi
   16570 	fi
   16571 
   16572 
   16573 
   16574 
   16575 
   16576 
   16577 
   16578 
   16579 
   16580 
   16581 
   16582 
   16583 
   16584 
   16585 
   16586 xorg_testset_save_CFLAGS="$CFLAGS"
   16587 
   16588 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16589 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16590 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16591 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16592 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16593 then :
   16594   printf %s "(cached) " >&6
   16595 else case e in #(
   16596   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16597 /* end confdefs.h.  */
   16598 int i;
   16599 _ACEOF
   16600 if ac_fn_c_try_compile "$LINENO"
   16601 then :
   16602   xorg_cv_cc_flag_unknown_warning_option=yes
   16603 else case e in #(
   16604   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16605 esac
   16606 fi
   16607 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16608 esac
   16609 fi
   16610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16611 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16612 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16613 	CFLAGS="$xorg_testset_save_CFLAGS"
   16614 fi
   16615 
   16616 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16617 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16618 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16619 	fi
   16620 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16621 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16622 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16623 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16624 then :
   16625   printf %s "(cached) " >&6
   16626 else case e in #(
   16627   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16628 /* end confdefs.h.  */
   16629 int i;
   16630 _ACEOF
   16631 if ac_fn_c_try_compile "$LINENO"
   16632 then :
   16633   xorg_cv_cc_flag_unused_command_line_argument=yes
   16634 else case e in #(
   16635   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16636 esac
   16637 fi
   16638 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16639 esac
   16640 fi
   16641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16642 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16643 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16644 	CFLAGS="$xorg_testset_save_CFLAGS"
   16645 fi
   16646 
   16647 found="no"
   16648 
   16649 	if test $found = "no" ; then
   16650 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16651 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16652 		fi
   16653 
   16654 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16655 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16656 		fi
   16657 
   16658 		CFLAGS="$CFLAGS -Wredundant-decls"
   16659 
   16660 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   16661 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   16662 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   16663 		if eval test \${$cacheid+y}
   16664 then :
   16665   printf %s "(cached) " >&6
   16666 else case e in #(
   16667   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16668 /* end confdefs.h.  */
   16669 int i;
   16670 int
   16671 main (void)
   16672 {
   16673 
   16674   ;
   16675   return 0;
   16676 }
   16677 _ACEOF
   16678 if ac_fn_c_try_link "$LINENO"
   16679 then :
   16680   eval $cacheid=yes
   16681 else case e in #(
   16682   e) eval $cacheid=no ;;
   16683 esac
   16684 fi
   16685 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16686     conftest$ac_exeext conftest.$ac_ext ;;
   16687 esac
   16688 fi
   16689 
   16690 
   16691 		CFLAGS="$xorg_testset_save_CFLAGS"
   16692 
   16693 		eval supported=\$$cacheid
   16694 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16695 printf "%s\n" "$supported" >&6; }
   16696 		if test "$supported" = "yes" ; then
   16697 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   16698 			found="yes"
   16699 		fi
   16700 	fi
   16701 
   16702 
   16703 
   16704 
   16705 
   16706 
   16707 
   16708 
   16709 
   16710 
   16711 
   16712 
   16713 
   16714 
   16715 
   16716 xorg_testset_save_CFLAGS="$CFLAGS"
   16717 
   16718 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16719 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16720 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16721 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16722 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16723 then :
   16724   printf %s "(cached) " >&6
   16725 else case e in #(
   16726   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16727 /* end confdefs.h.  */
   16728 int i;
   16729 _ACEOF
   16730 if ac_fn_c_try_compile "$LINENO"
   16731 then :
   16732   xorg_cv_cc_flag_unknown_warning_option=yes
   16733 else case e in #(
   16734   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16735 esac
   16736 fi
   16737 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16738 esac
   16739 fi
   16740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16741 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16742 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16743 	CFLAGS="$xorg_testset_save_CFLAGS"
   16744 fi
   16745 
   16746 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16747 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16748 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16749 	fi
   16750 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16751 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16752 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16753 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16754 then :
   16755   printf %s "(cached) " >&6
   16756 else case e in #(
   16757   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16758 /* end confdefs.h.  */
   16759 int i;
   16760 _ACEOF
   16761 if ac_fn_c_try_compile "$LINENO"
   16762 then :
   16763   xorg_cv_cc_flag_unused_command_line_argument=yes
   16764 else case e in #(
   16765   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16766 esac
   16767 fi
   16768 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16769 esac
   16770 fi
   16771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16772 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16773 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16774 	CFLAGS="$xorg_testset_save_CFLAGS"
   16775 fi
   16776 
   16777 found="no"
   16778 
   16779 	if test $found = "no" ; then
   16780 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16781 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16782 		fi
   16783 
   16784 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16785 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16786 		fi
   16787 
   16788 		CFLAGS="$CFLAGS -Wlogical-op"
   16789 
   16790 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   16791 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   16792 		cacheid=xorg_cv_cc_flag__Wlogical_op
   16793 		if eval test \${$cacheid+y}
   16794 then :
   16795   printf %s "(cached) " >&6
   16796 else case e in #(
   16797   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16798 /* end confdefs.h.  */
   16799 int i;
   16800 int
   16801 main (void)
   16802 {
   16803 
   16804   ;
   16805   return 0;
   16806 }
   16807 _ACEOF
   16808 if ac_fn_c_try_link "$LINENO"
   16809 then :
   16810   eval $cacheid=yes
   16811 else case e in #(
   16812   e) eval $cacheid=no ;;
   16813 esac
   16814 fi
   16815 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16816     conftest$ac_exeext conftest.$ac_ext ;;
   16817 esac
   16818 fi
   16819 
   16820 
   16821 		CFLAGS="$xorg_testset_save_CFLAGS"
   16822 
   16823 		eval supported=\$$cacheid
   16824 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16825 printf "%s\n" "$supported" >&6; }
   16826 		if test "$supported" = "yes" ; then
   16827 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   16828 			found="yes"
   16829 		fi
   16830 	fi
   16831 
   16832 
   16833 
   16834 # These are currently disabled because they are noisy.  They will be enabled
   16835 # in the future once the codebase is sufficiently modernized to silence
   16836 # them.  For now, I don't want them to drown out the other warnings.
   16837 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   16838 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   16839 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   16840 
   16841 # Turn some warnings into errors, so we don't accidentally get successful builds
   16842 # when there are problems that should be fixed.
   16843 
   16844 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   16845 
   16846 
   16847 
   16848 
   16849 
   16850 
   16851 
   16852 
   16853 
   16854 
   16855 
   16856 
   16857 
   16858 xorg_testset_save_CFLAGS="$CFLAGS"
   16859 
   16860 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16861 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16862 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16863 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16864 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16865 then :
   16866   printf %s "(cached) " >&6
   16867 else case e in #(
   16868   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16869 /* end confdefs.h.  */
   16870 int i;
   16871 _ACEOF
   16872 if ac_fn_c_try_compile "$LINENO"
   16873 then :
   16874   xorg_cv_cc_flag_unknown_warning_option=yes
   16875 else case e in #(
   16876   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16877 esac
   16878 fi
   16879 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16880 esac
   16881 fi
   16882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16883 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16884 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16885 	CFLAGS="$xorg_testset_save_CFLAGS"
   16886 fi
   16887 
   16888 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16889 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16890 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16891 	fi
   16892 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16893 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16894 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16895 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16896 then :
   16897   printf %s "(cached) " >&6
   16898 else case e in #(
   16899   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16900 /* end confdefs.h.  */
   16901 int i;
   16902 _ACEOF
   16903 if ac_fn_c_try_compile "$LINENO"
   16904 then :
   16905   xorg_cv_cc_flag_unused_command_line_argument=yes
   16906 else case e in #(
   16907   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16908 esac
   16909 fi
   16910 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16911 esac
   16912 fi
   16913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16914 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16915 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16916 	CFLAGS="$xorg_testset_save_CFLAGS"
   16917 fi
   16918 
   16919 found="no"
   16920 
   16921 	if test $found = "no" ; then
   16922 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16923 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16924 		fi
   16925 
   16926 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16927 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16928 		fi
   16929 
   16930 		CFLAGS="$CFLAGS -Werror=implicit"
   16931 
   16932 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   16933 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   16934 		cacheid=xorg_cv_cc_flag__Werror_implicit
   16935 		if eval test \${$cacheid+y}
   16936 then :
   16937   printf %s "(cached) " >&6
   16938 else case e in #(
   16939   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16940 /* end confdefs.h.  */
   16941 int i;
   16942 int
   16943 main (void)
   16944 {
   16945 
   16946   ;
   16947   return 0;
   16948 }
   16949 _ACEOF
   16950 if ac_fn_c_try_link "$LINENO"
   16951 then :
   16952   eval $cacheid=yes
   16953 else case e in #(
   16954   e) eval $cacheid=no ;;
   16955 esac
   16956 fi
   16957 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16958     conftest$ac_exeext conftest.$ac_ext ;;
   16959 esac
   16960 fi
   16961 
   16962 
   16963 		CFLAGS="$xorg_testset_save_CFLAGS"
   16964 
   16965 		eval supported=\$$cacheid
   16966 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16967 printf "%s\n" "$supported" >&6; }
   16968 		if test "$supported" = "yes" ; then
   16969 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   16970 			found="yes"
   16971 		fi
   16972 	fi
   16973 
   16974 	if test $found = "no" ; then
   16975 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16976 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16977 		fi
   16978 
   16979 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16980 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16981 		fi
   16982 
   16983 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   16984 
   16985 		{ 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
   16986 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   16987 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   16988 		if eval test \${$cacheid+y}
   16989 then :
   16990   printf %s "(cached) " >&6
   16991 else case e in #(
   16992   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16993 /* end confdefs.h.  */
   16994 int i;
   16995 int
   16996 main (void)
   16997 {
   16998 
   16999   ;
   17000   return 0;
   17001 }
   17002 _ACEOF
   17003 if ac_fn_c_try_link "$LINENO"
   17004 then :
   17005   eval $cacheid=yes
   17006 else case e in #(
   17007   e) eval $cacheid=no ;;
   17008 esac
   17009 fi
   17010 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17011     conftest$ac_exeext conftest.$ac_ext ;;
   17012 esac
   17013 fi
   17014 
   17015 
   17016 		CFLAGS="$xorg_testset_save_CFLAGS"
   17017 
   17018 		eval supported=\$$cacheid
   17019 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17020 printf "%s\n" "$supported" >&6; }
   17021 		if test "$supported" = "yes" ; then
   17022 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   17023 			found="yes"
   17024 		fi
   17025 	fi
   17026 
   17027 
   17028 
   17029 
   17030 
   17031 
   17032 
   17033 
   17034 
   17035 
   17036 
   17037 
   17038 
   17039 
   17040 
   17041 xorg_testset_save_CFLAGS="$CFLAGS"
   17042 
   17043 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17044 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17045 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17046 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17047 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17048 then :
   17049   printf %s "(cached) " >&6
   17050 else case e in #(
   17051   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17052 /* end confdefs.h.  */
   17053 int i;
   17054 _ACEOF
   17055 if ac_fn_c_try_compile "$LINENO"
   17056 then :
   17057   xorg_cv_cc_flag_unknown_warning_option=yes
   17058 else case e in #(
   17059   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17060 esac
   17061 fi
   17062 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17063 esac
   17064 fi
   17065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17066 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17067 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17068 	CFLAGS="$xorg_testset_save_CFLAGS"
   17069 fi
   17070 
   17071 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17072 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17073 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17074 	fi
   17075 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17076 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17077 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17078 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17079 then :
   17080   printf %s "(cached) " >&6
   17081 else case e in #(
   17082   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17083 /* end confdefs.h.  */
   17084 int i;
   17085 _ACEOF
   17086 if ac_fn_c_try_compile "$LINENO"
   17087 then :
   17088   xorg_cv_cc_flag_unused_command_line_argument=yes
   17089 else case e in #(
   17090   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17091 esac
   17092 fi
   17093 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17094 esac
   17095 fi
   17096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17097 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17098 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17099 	CFLAGS="$xorg_testset_save_CFLAGS"
   17100 fi
   17101 
   17102 found="no"
   17103 
   17104 	if test $found = "no" ; then
   17105 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17106 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17107 		fi
   17108 
   17109 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17110 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17111 		fi
   17112 
   17113 		CFLAGS="$CFLAGS -Werror=nonnull"
   17114 
   17115 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   17116 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   17117 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   17118 		if eval test \${$cacheid+y}
   17119 then :
   17120   printf %s "(cached) " >&6
   17121 else case e in #(
   17122   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17123 /* end confdefs.h.  */
   17124 int i;
   17125 int
   17126 main (void)
   17127 {
   17128 
   17129   ;
   17130   return 0;
   17131 }
   17132 _ACEOF
   17133 if ac_fn_c_try_link "$LINENO"
   17134 then :
   17135   eval $cacheid=yes
   17136 else case e in #(
   17137   e) eval $cacheid=no ;;
   17138 esac
   17139 fi
   17140 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17141     conftest$ac_exeext conftest.$ac_ext ;;
   17142 esac
   17143 fi
   17144 
   17145 
   17146 		CFLAGS="$xorg_testset_save_CFLAGS"
   17147 
   17148 		eval supported=\$$cacheid
   17149 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17150 printf "%s\n" "$supported" >&6; }
   17151 		if test "$supported" = "yes" ; then
   17152 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   17153 			found="yes"
   17154 		fi
   17155 	fi
   17156 
   17157 
   17158 
   17159 
   17160 
   17161 
   17162 
   17163 
   17164 
   17165 
   17166 
   17167 
   17168 
   17169 
   17170 
   17171 xorg_testset_save_CFLAGS="$CFLAGS"
   17172 
   17173 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17174 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17175 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17176 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17177 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17178 then :
   17179   printf %s "(cached) " >&6
   17180 else case e in #(
   17181   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17182 /* end confdefs.h.  */
   17183 int i;
   17184 _ACEOF
   17185 if ac_fn_c_try_compile "$LINENO"
   17186 then :
   17187   xorg_cv_cc_flag_unknown_warning_option=yes
   17188 else case e in #(
   17189   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17190 esac
   17191 fi
   17192 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17193 esac
   17194 fi
   17195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17196 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17197 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17198 	CFLAGS="$xorg_testset_save_CFLAGS"
   17199 fi
   17200 
   17201 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17202 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17203 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17204 	fi
   17205 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17206 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17207 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17208 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17209 then :
   17210   printf %s "(cached) " >&6
   17211 else case e in #(
   17212   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17213 /* end confdefs.h.  */
   17214 int i;
   17215 _ACEOF
   17216 if ac_fn_c_try_compile "$LINENO"
   17217 then :
   17218   xorg_cv_cc_flag_unused_command_line_argument=yes
   17219 else case e in #(
   17220   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17221 esac
   17222 fi
   17223 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17224 esac
   17225 fi
   17226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17227 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17228 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17229 	CFLAGS="$xorg_testset_save_CFLAGS"
   17230 fi
   17231 
   17232 found="no"
   17233 
   17234 	if test $found = "no" ; then
   17235 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17236 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17237 		fi
   17238 
   17239 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17240 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17241 		fi
   17242 
   17243 		CFLAGS="$CFLAGS -Werror=init-self"
   17244 
   17245 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   17246 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   17247 		cacheid=xorg_cv_cc_flag__Werror_init_self
   17248 		if eval test \${$cacheid+y}
   17249 then :
   17250   printf %s "(cached) " >&6
   17251 else case e in #(
   17252   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17253 /* end confdefs.h.  */
   17254 int i;
   17255 int
   17256 main (void)
   17257 {
   17258 
   17259   ;
   17260   return 0;
   17261 }
   17262 _ACEOF
   17263 if ac_fn_c_try_link "$LINENO"
   17264 then :
   17265   eval $cacheid=yes
   17266 else case e in #(
   17267   e) eval $cacheid=no ;;
   17268 esac
   17269 fi
   17270 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17271     conftest$ac_exeext conftest.$ac_ext ;;
   17272 esac
   17273 fi
   17274 
   17275 
   17276 		CFLAGS="$xorg_testset_save_CFLAGS"
   17277 
   17278 		eval supported=\$$cacheid
   17279 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17280 printf "%s\n" "$supported" >&6; }
   17281 		if test "$supported" = "yes" ; then
   17282 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   17283 			found="yes"
   17284 		fi
   17285 	fi
   17286 
   17287 
   17288 
   17289 
   17290 
   17291 
   17292 
   17293 
   17294 
   17295 
   17296 
   17297 
   17298 
   17299 
   17300 
   17301 xorg_testset_save_CFLAGS="$CFLAGS"
   17302 
   17303 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17304 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17305 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17306 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17307 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17308 then :
   17309   printf %s "(cached) " >&6
   17310 else case e in #(
   17311   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17312 /* end confdefs.h.  */
   17313 int i;
   17314 _ACEOF
   17315 if ac_fn_c_try_compile "$LINENO"
   17316 then :
   17317   xorg_cv_cc_flag_unknown_warning_option=yes
   17318 else case e in #(
   17319   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17320 esac
   17321 fi
   17322 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17323 esac
   17324 fi
   17325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17326 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17327 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17328 	CFLAGS="$xorg_testset_save_CFLAGS"
   17329 fi
   17330 
   17331 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17332 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17333 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17334 	fi
   17335 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17336 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17337 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17338 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17339 then :
   17340   printf %s "(cached) " >&6
   17341 else case e in #(
   17342   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17343 /* end confdefs.h.  */
   17344 int i;
   17345 _ACEOF
   17346 if ac_fn_c_try_compile "$LINENO"
   17347 then :
   17348   xorg_cv_cc_flag_unused_command_line_argument=yes
   17349 else case e in #(
   17350   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17351 esac
   17352 fi
   17353 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17354 esac
   17355 fi
   17356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17357 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17358 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17359 	CFLAGS="$xorg_testset_save_CFLAGS"
   17360 fi
   17361 
   17362 found="no"
   17363 
   17364 	if test $found = "no" ; then
   17365 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17366 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17367 		fi
   17368 
   17369 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17370 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17371 		fi
   17372 
   17373 		CFLAGS="$CFLAGS -Werror=main"
   17374 
   17375 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   17376 printf %s "checking if $CC supports -Werror=main... " >&6; }
   17377 		cacheid=xorg_cv_cc_flag__Werror_main
   17378 		if eval test \${$cacheid+y}
   17379 then :
   17380   printf %s "(cached) " >&6
   17381 else case e in #(
   17382   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17383 /* end confdefs.h.  */
   17384 int i;
   17385 int
   17386 main (void)
   17387 {
   17388 
   17389   ;
   17390   return 0;
   17391 }
   17392 _ACEOF
   17393 if ac_fn_c_try_link "$LINENO"
   17394 then :
   17395   eval $cacheid=yes
   17396 else case e in #(
   17397   e) eval $cacheid=no ;;
   17398 esac
   17399 fi
   17400 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17401     conftest$ac_exeext conftest.$ac_ext ;;
   17402 esac
   17403 fi
   17404 
   17405 
   17406 		CFLAGS="$xorg_testset_save_CFLAGS"
   17407 
   17408 		eval supported=\$$cacheid
   17409 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17410 printf "%s\n" "$supported" >&6; }
   17411 		if test "$supported" = "yes" ; then
   17412 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   17413 			found="yes"
   17414 		fi
   17415 	fi
   17416 
   17417 
   17418 
   17419 
   17420 
   17421 
   17422 
   17423 
   17424 
   17425 
   17426 
   17427 
   17428 
   17429 
   17430 
   17431 xorg_testset_save_CFLAGS="$CFLAGS"
   17432 
   17433 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17434 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17435 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17436 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17437 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17438 then :
   17439   printf %s "(cached) " >&6
   17440 else case e in #(
   17441   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17442 /* end confdefs.h.  */
   17443 int i;
   17444 _ACEOF
   17445 if ac_fn_c_try_compile "$LINENO"
   17446 then :
   17447   xorg_cv_cc_flag_unknown_warning_option=yes
   17448 else case e in #(
   17449   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17450 esac
   17451 fi
   17452 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17453 esac
   17454 fi
   17455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17456 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17457 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17458 	CFLAGS="$xorg_testset_save_CFLAGS"
   17459 fi
   17460 
   17461 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17462 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17463 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17464 	fi
   17465 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17466 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17467 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17468 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17469 then :
   17470   printf %s "(cached) " >&6
   17471 else case e in #(
   17472   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17473 /* end confdefs.h.  */
   17474 int i;
   17475 _ACEOF
   17476 if ac_fn_c_try_compile "$LINENO"
   17477 then :
   17478   xorg_cv_cc_flag_unused_command_line_argument=yes
   17479 else case e in #(
   17480   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17481 esac
   17482 fi
   17483 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17484 esac
   17485 fi
   17486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17487 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17488 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17489 	CFLAGS="$xorg_testset_save_CFLAGS"
   17490 fi
   17491 
   17492 found="no"
   17493 
   17494 	if test $found = "no" ; then
   17495 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17496 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17497 		fi
   17498 
   17499 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17500 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17501 		fi
   17502 
   17503 		CFLAGS="$CFLAGS -Werror=missing-braces"
   17504 
   17505 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   17506 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   17507 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   17508 		if eval test \${$cacheid+y}
   17509 then :
   17510   printf %s "(cached) " >&6
   17511 else case e in #(
   17512   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17513 /* end confdefs.h.  */
   17514 int i;
   17515 int
   17516 main (void)
   17517 {
   17518 
   17519   ;
   17520   return 0;
   17521 }
   17522 _ACEOF
   17523 if ac_fn_c_try_link "$LINENO"
   17524 then :
   17525   eval $cacheid=yes
   17526 else case e in #(
   17527   e) eval $cacheid=no ;;
   17528 esac
   17529 fi
   17530 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17531     conftest$ac_exeext conftest.$ac_ext ;;
   17532 esac
   17533 fi
   17534 
   17535 
   17536 		CFLAGS="$xorg_testset_save_CFLAGS"
   17537 
   17538 		eval supported=\$$cacheid
   17539 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17540 printf "%s\n" "$supported" >&6; }
   17541 		if test "$supported" = "yes" ; then
   17542 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   17543 			found="yes"
   17544 		fi
   17545 	fi
   17546 
   17547 
   17548 
   17549 
   17550 
   17551 
   17552 
   17553 
   17554 
   17555 
   17556 
   17557 
   17558 
   17559 
   17560 
   17561 xorg_testset_save_CFLAGS="$CFLAGS"
   17562 
   17563 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17564 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17565 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17566 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17567 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17568 then :
   17569   printf %s "(cached) " >&6
   17570 else case e in #(
   17571   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17572 /* end confdefs.h.  */
   17573 int i;
   17574 _ACEOF
   17575 if ac_fn_c_try_compile "$LINENO"
   17576 then :
   17577   xorg_cv_cc_flag_unknown_warning_option=yes
   17578 else case e in #(
   17579   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17580 esac
   17581 fi
   17582 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17583 esac
   17584 fi
   17585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17586 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17587 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17588 	CFLAGS="$xorg_testset_save_CFLAGS"
   17589 fi
   17590 
   17591 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17592 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17593 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17594 	fi
   17595 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17596 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17597 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17598 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17599 then :
   17600   printf %s "(cached) " >&6
   17601 else case e in #(
   17602   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17603 /* end confdefs.h.  */
   17604 int i;
   17605 _ACEOF
   17606 if ac_fn_c_try_compile "$LINENO"
   17607 then :
   17608   xorg_cv_cc_flag_unused_command_line_argument=yes
   17609 else case e in #(
   17610   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17611 esac
   17612 fi
   17613 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17614 esac
   17615 fi
   17616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17617 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17618 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17619 	CFLAGS="$xorg_testset_save_CFLAGS"
   17620 fi
   17621 
   17622 found="no"
   17623 
   17624 	if test $found = "no" ; then
   17625 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17626 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17627 		fi
   17628 
   17629 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17630 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17631 		fi
   17632 
   17633 		CFLAGS="$CFLAGS -Werror=sequence-point"
   17634 
   17635 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   17636 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   17637 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   17638 		if eval test \${$cacheid+y}
   17639 then :
   17640   printf %s "(cached) " >&6
   17641 else case e in #(
   17642   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17643 /* end confdefs.h.  */
   17644 int i;
   17645 int
   17646 main (void)
   17647 {
   17648 
   17649   ;
   17650   return 0;
   17651 }
   17652 _ACEOF
   17653 if ac_fn_c_try_link "$LINENO"
   17654 then :
   17655   eval $cacheid=yes
   17656 else case e in #(
   17657   e) eval $cacheid=no ;;
   17658 esac
   17659 fi
   17660 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17661     conftest$ac_exeext conftest.$ac_ext ;;
   17662 esac
   17663 fi
   17664 
   17665 
   17666 		CFLAGS="$xorg_testset_save_CFLAGS"
   17667 
   17668 		eval supported=\$$cacheid
   17669 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17670 printf "%s\n" "$supported" >&6; }
   17671 		if test "$supported" = "yes" ; then
   17672 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   17673 			found="yes"
   17674 		fi
   17675 	fi
   17676 
   17677 
   17678 
   17679 
   17680 
   17681 
   17682 
   17683 
   17684 
   17685 
   17686 
   17687 
   17688 
   17689 
   17690 
   17691 xorg_testset_save_CFLAGS="$CFLAGS"
   17692 
   17693 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17694 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17695 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17696 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17697 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17698 then :
   17699   printf %s "(cached) " >&6
   17700 else case e in #(
   17701   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17702 /* end confdefs.h.  */
   17703 int i;
   17704 _ACEOF
   17705 if ac_fn_c_try_compile "$LINENO"
   17706 then :
   17707   xorg_cv_cc_flag_unknown_warning_option=yes
   17708 else case e in #(
   17709   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17710 esac
   17711 fi
   17712 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17713 esac
   17714 fi
   17715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17716 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17717 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17718 	CFLAGS="$xorg_testset_save_CFLAGS"
   17719 fi
   17720 
   17721 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17722 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17723 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17724 	fi
   17725 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17726 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17727 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17728 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17729 then :
   17730   printf %s "(cached) " >&6
   17731 else case e in #(
   17732   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17733 /* end confdefs.h.  */
   17734 int i;
   17735 _ACEOF
   17736 if ac_fn_c_try_compile "$LINENO"
   17737 then :
   17738   xorg_cv_cc_flag_unused_command_line_argument=yes
   17739 else case e in #(
   17740   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17741 esac
   17742 fi
   17743 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17744 esac
   17745 fi
   17746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17747 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17748 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17749 	CFLAGS="$xorg_testset_save_CFLAGS"
   17750 fi
   17751 
   17752 found="no"
   17753 
   17754 	if test $found = "no" ; then
   17755 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17756 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17757 		fi
   17758 
   17759 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17760 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17761 		fi
   17762 
   17763 		CFLAGS="$CFLAGS -Werror=return-type"
   17764 
   17765 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   17766 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   17767 		cacheid=xorg_cv_cc_flag__Werror_return_type
   17768 		if eval test \${$cacheid+y}
   17769 then :
   17770   printf %s "(cached) " >&6
   17771 else case e in #(
   17772   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17773 /* end confdefs.h.  */
   17774 int i;
   17775 int
   17776 main (void)
   17777 {
   17778 
   17779   ;
   17780   return 0;
   17781 }
   17782 _ACEOF
   17783 if ac_fn_c_try_link "$LINENO"
   17784 then :
   17785   eval $cacheid=yes
   17786 else case e in #(
   17787   e) eval $cacheid=no ;;
   17788 esac
   17789 fi
   17790 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17791     conftest$ac_exeext conftest.$ac_ext ;;
   17792 esac
   17793 fi
   17794 
   17795 
   17796 		CFLAGS="$xorg_testset_save_CFLAGS"
   17797 
   17798 		eval supported=\$$cacheid
   17799 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17800 printf "%s\n" "$supported" >&6; }
   17801 		if test "$supported" = "yes" ; then
   17802 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   17803 			found="yes"
   17804 		fi
   17805 	fi
   17806 
   17807 	if test $found = "no" ; then
   17808 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17809 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17810 		fi
   17811 
   17812 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17813 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17814 		fi
   17815 
   17816 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   17817 
   17818 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   17819 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   17820 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   17821 		if eval test \${$cacheid+y}
   17822 then :
   17823   printf %s "(cached) " >&6
   17824 else case e in #(
   17825   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17826 /* end confdefs.h.  */
   17827 int i;
   17828 int
   17829 main (void)
   17830 {
   17831 
   17832   ;
   17833   return 0;
   17834 }
   17835 _ACEOF
   17836 if ac_fn_c_try_link "$LINENO"
   17837 then :
   17838   eval $cacheid=yes
   17839 else case e in #(
   17840   e) eval $cacheid=no ;;
   17841 esac
   17842 fi
   17843 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17844     conftest$ac_exeext conftest.$ac_ext ;;
   17845 esac
   17846 fi
   17847 
   17848 
   17849 		CFLAGS="$xorg_testset_save_CFLAGS"
   17850 
   17851 		eval supported=\$$cacheid
   17852 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17853 printf "%s\n" "$supported" >&6; }
   17854 		if test "$supported" = "yes" ; then
   17855 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   17856 			found="yes"
   17857 		fi
   17858 	fi
   17859 
   17860 
   17861 
   17862 
   17863 
   17864 
   17865 
   17866 
   17867 
   17868 
   17869 
   17870 
   17871 
   17872 
   17873 
   17874 xorg_testset_save_CFLAGS="$CFLAGS"
   17875 
   17876 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17877 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17878 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17879 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17880 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17881 then :
   17882   printf %s "(cached) " >&6
   17883 else case e in #(
   17884   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17885 /* end confdefs.h.  */
   17886 int i;
   17887 _ACEOF
   17888 if ac_fn_c_try_compile "$LINENO"
   17889 then :
   17890   xorg_cv_cc_flag_unknown_warning_option=yes
   17891 else case e in #(
   17892   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17893 esac
   17894 fi
   17895 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17896 esac
   17897 fi
   17898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17899 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17900 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17901 	CFLAGS="$xorg_testset_save_CFLAGS"
   17902 fi
   17903 
   17904 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17905 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17906 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17907 	fi
   17908 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17909 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17910 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17911 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17912 then :
   17913   printf %s "(cached) " >&6
   17914 else case e in #(
   17915   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17916 /* end confdefs.h.  */
   17917 int i;
   17918 _ACEOF
   17919 if ac_fn_c_try_compile "$LINENO"
   17920 then :
   17921   xorg_cv_cc_flag_unused_command_line_argument=yes
   17922 else case e in #(
   17923   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17924 esac
   17925 fi
   17926 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17927 esac
   17928 fi
   17929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17930 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17931 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17932 	CFLAGS="$xorg_testset_save_CFLAGS"
   17933 fi
   17934 
   17935 found="no"
   17936 
   17937 	if test $found = "no" ; then
   17938 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17939 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17940 		fi
   17941 
   17942 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17943 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17944 		fi
   17945 
   17946 		CFLAGS="$CFLAGS -Werror=trigraphs"
   17947 
   17948 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   17949 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   17950 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   17951 		if eval test \${$cacheid+y}
   17952 then :
   17953   printf %s "(cached) " >&6
   17954 else case e in #(
   17955   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17956 /* end confdefs.h.  */
   17957 int i;
   17958 int
   17959 main (void)
   17960 {
   17961 
   17962   ;
   17963   return 0;
   17964 }
   17965 _ACEOF
   17966 if ac_fn_c_try_link "$LINENO"
   17967 then :
   17968   eval $cacheid=yes
   17969 else case e in #(
   17970   e) eval $cacheid=no ;;
   17971 esac
   17972 fi
   17973 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17974     conftest$ac_exeext conftest.$ac_ext ;;
   17975 esac
   17976 fi
   17977 
   17978 
   17979 		CFLAGS="$xorg_testset_save_CFLAGS"
   17980 
   17981 		eval supported=\$$cacheid
   17982 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17983 printf "%s\n" "$supported" >&6; }
   17984 		if test "$supported" = "yes" ; then
   17985 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   17986 			found="yes"
   17987 		fi
   17988 	fi
   17989 
   17990 
   17991 
   17992 
   17993 
   17994 
   17995 
   17996 
   17997 
   17998 
   17999 
   18000 
   18001 
   18002 
   18003 
   18004 xorg_testset_save_CFLAGS="$CFLAGS"
   18005 
   18006 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18007 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18008 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18009 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18010 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18011 then :
   18012   printf %s "(cached) " >&6
   18013 else case e in #(
   18014   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18015 /* end confdefs.h.  */
   18016 int i;
   18017 _ACEOF
   18018 if ac_fn_c_try_compile "$LINENO"
   18019 then :
   18020   xorg_cv_cc_flag_unknown_warning_option=yes
   18021 else case e in #(
   18022   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18023 esac
   18024 fi
   18025 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18026 esac
   18027 fi
   18028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18029 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18030 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18031 	CFLAGS="$xorg_testset_save_CFLAGS"
   18032 fi
   18033 
   18034 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18035 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18036 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18037 	fi
   18038 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18039 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18040 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18041 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18042 then :
   18043   printf %s "(cached) " >&6
   18044 else case e in #(
   18045   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18046 /* end confdefs.h.  */
   18047 int i;
   18048 _ACEOF
   18049 if ac_fn_c_try_compile "$LINENO"
   18050 then :
   18051   xorg_cv_cc_flag_unused_command_line_argument=yes
   18052 else case e in #(
   18053   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18054 esac
   18055 fi
   18056 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18057 esac
   18058 fi
   18059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18060 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18061 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18062 	CFLAGS="$xorg_testset_save_CFLAGS"
   18063 fi
   18064 
   18065 found="no"
   18066 
   18067 	if test $found = "no" ; then
   18068 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18069 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18070 		fi
   18071 
   18072 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18073 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18074 		fi
   18075 
   18076 		CFLAGS="$CFLAGS -Werror=array-bounds"
   18077 
   18078 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   18079 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   18080 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   18081 		if eval test \${$cacheid+y}
   18082 then :
   18083   printf %s "(cached) " >&6
   18084 else case e in #(
   18085   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18086 /* end confdefs.h.  */
   18087 int i;
   18088 int
   18089 main (void)
   18090 {
   18091 
   18092   ;
   18093   return 0;
   18094 }
   18095 _ACEOF
   18096 if ac_fn_c_try_link "$LINENO"
   18097 then :
   18098   eval $cacheid=yes
   18099 else case e in #(
   18100   e) eval $cacheid=no ;;
   18101 esac
   18102 fi
   18103 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18104     conftest$ac_exeext conftest.$ac_ext ;;
   18105 esac
   18106 fi
   18107 
   18108 
   18109 		CFLAGS="$xorg_testset_save_CFLAGS"
   18110 
   18111 		eval supported=\$$cacheid
   18112 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18113 printf "%s\n" "$supported" >&6; }
   18114 		if test "$supported" = "yes" ; then
   18115 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   18116 			found="yes"
   18117 		fi
   18118 	fi
   18119 
   18120 
   18121 
   18122 
   18123 
   18124 
   18125 
   18126 
   18127 
   18128 
   18129 
   18130 
   18131 
   18132 
   18133 
   18134 xorg_testset_save_CFLAGS="$CFLAGS"
   18135 
   18136 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18137 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18138 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18139 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18140 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18141 then :
   18142   printf %s "(cached) " >&6
   18143 else case e in #(
   18144   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18145 /* end confdefs.h.  */
   18146 int i;
   18147 _ACEOF
   18148 if ac_fn_c_try_compile "$LINENO"
   18149 then :
   18150   xorg_cv_cc_flag_unknown_warning_option=yes
   18151 else case e in #(
   18152   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18153 esac
   18154 fi
   18155 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18156 esac
   18157 fi
   18158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18159 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18160 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18161 	CFLAGS="$xorg_testset_save_CFLAGS"
   18162 fi
   18163 
   18164 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18165 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18166 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18167 	fi
   18168 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18169 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18170 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18171 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18172 then :
   18173   printf %s "(cached) " >&6
   18174 else case e in #(
   18175   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18176 /* end confdefs.h.  */
   18177 int i;
   18178 _ACEOF
   18179 if ac_fn_c_try_compile "$LINENO"
   18180 then :
   18181   xorg_cv_cc_flag_unused_command_line_argument=yes
   18182 else case e in #(
   18183   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18184 esac
   18185 fi
   18186 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18187 esac
   18188 fi
   18189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18190 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18191 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18192 	CFLAGS="$xorg_testset_save_CFLAGS"
   18193 fi
   18194 
   18195 found="no"
   18196 
   18197 	if test $found = "no" ; then
   18198 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18199 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18200 		fi
   18201 
   18202 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18203 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18204 		fi
   18205 
   18206 		CFLAGS="$CFLAGS -Werror=write-strings"
   18207 
   18208 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   18209 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   18210 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   18211 		if eval test \${$cacheid+y}
   18212 then :
   18213   printf %s "(cached) " >&6
   18214 else case e in #(
   18215   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18216 /* end confdefs.h.  */
   18217 int i;
   18218 int
   18219 main (void)
   18220 {
   18221 
   18222   ;
   18223   return 0;
   18224 }
   18225 _ACEOF
   18226 if ac_fn_c_try_link "$LINENO"
   18227 then :
   18228   eval $cacheid=yes
   18229 else case e in #(
   18230   e) eval $cacheid=no ;;
   18231 esac
   18232 fi
   18233 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18234     conftest$ac_exeext conftest.$ac_ext ;;
   18235 esac
   18236 fi
   18237 
   18238 
   18239 		CFLAGS="$xorg_testset_save_CFLAGS"
   18240 
   18241 		eval supported=\$$cacheid
   18242 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18243 printf "%s\n" "$supported" >&6; }
   18244 		if test "$supported" = "yes" ; then
   18245 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   18246 			found="yes"
   18247 		fi
   18248 	fi
   18249 
   18250 
   18251 
   18252 
   18253 
   18254 
   18255 
   18256 
   18257 
   18258 
   18259 
   18260 
   18261 
   18262 
   18263 
   18264 xorg_testset_save_CFLAGS="$CFLAGS"
   18265 
   18266 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18267 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18268 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18269 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18270 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18271 then :
   18272   printf %s "(cached) " >&6
   18273 else case e in #(
   18274   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18275 /* end confdefs.h.  */
   18276 int i;
   18277 _ACEOF
   18278 if ac_fn_c_try_compile "$LINENO"
   18279 then :
   18280   xorg_cv_cc_flag_unknown_warning_option=yes
   18281 else case e in #(
   18282   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18283 esac
   18284 fi
   18285 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18286 esac
   18287 fi
   18288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18289 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18290 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18291 	CFLAGS="$xorg_testset_save_CFLAGS"
   18292 fi
   18293 
   18294 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18295 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18296 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18297 	fi
   18298 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18299 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18300 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18301 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18302 then :
   18303   printf %s "(cached) " >&6
   18304 else case e in #(
   18305   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18306 /* end confdefs.h.  */
   18307 int i;
   18308 _ACEOF
   18309 if ac_fn_c_try_compile "$LINENO"
   18310 then :
   18311   xorg_cv_cc_flag_unused_command_line_argument=yes
   18312 else case e in #(
   18313   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18314 esac
   18315 fi
   18316 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18317 esac
   18318 fi
   18319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18320 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18321 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18322 	CFLAGS="$xorg_testset_save_CFLAGS"
   18323 fi
   18324 
   18325 found="no"
   18326 
   18327 	if test $found = "no" ; then
   18328 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18329 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18330 		fi
   18331 
   18332 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18333 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18334 		fi
   18335 
   18336 		CFLAGS="$CFLAGS -Werror=address"
   18337 
   18338 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   18339 printf %s "checking if $CC supports -Werror=address... " >&6; }
   18340 		cacheid=xorg_cv_cc_flag__Werror_address
   18341 		if eval test \${$cacheid+y}
   18342 then :
   18343   printf %s "(cached) " >&6
   18344 else case e in #(
   18345   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18346 /* end confdefs.h.  */
   18347 int i;
   18348 int
   18349 main (void)
   18350 {
   18351 
   18352   ;
   18353   return 0;
   18354 }
   18355 _ACEOF
   18356 if ac_fn_c_try_link "$LINENO"
   18357 then :
   18358   eval $cacheid=yes
   18359 else case e in #(
   18360   e) eval $cacheid=no ;;
   18361 esac
   18362 fi
   18363 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18364     conftest$ac_exeext conftest.$ac_ext ;;
   18365 esac
   18366 fi
   18367 
   18368 
   18369 		CFLAGS="$xorg_testset_save_CFLAGS"
   18370 
   18371 		eval supported=\$$cacheid
   18372 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18373 printf "%s\n" "$supported" >&6; }
   18374 		if test "$supported" = "yes" ; then
   18375 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   18376 			found="yes"
   18377 		fi
   18378 	fi
   18379 
   18380 
   18381 
   18382 
   18383 
   18384 
   18385 
   18386 
   18387 
   18388 
   18389 
   18390 
   18391 
   18392 
   18393 
   18394 xorg_testset_save_CFLAGS="$CFLAGS"
   18395 
   18396 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18397 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18398 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18399 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18400 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18401 then :
   18402   printf %s "(cached) " >&6
   18403 else case e in #(
   18404   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18405 /* end confdefs.h.  */
   18406 int i;
   18407 _ACEOF
   18408 if ac_fn_c_try_compile "$LINENO"
   18409 then :
   18410   xorg_cv_cc_flag_unknown_warning_option=yes
   18411 else case e in #(
   18412   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18413 esac
   18414 fi
   18415 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18416 esac
   18417 fi
   18418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18419 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18420 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18421 	CFLAGS="$xorg_testset_save_CFLAGS"
   18422 fi
   18423 
   18424 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18425 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18426 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18427 	fi
   18428 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18429 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18430 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18431 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18432 then :
   18433   printf %s "(cached) " >&6
   18434 else case e in #(
   18435   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18436 /* end confdefs.h.  */
   18437 int i;
   18438 _ACEOF
   18439 if ac_fn_c_try_compile "$LINENO"
   18440 then :
   18441   xorg_cv_cc_flag_unused_command_line_argument=yes
   18442 else case e in #(
   18443   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18444 esac
   18445 fi
   18446 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18447 esac
   18448 fi
   18449 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18450 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18451 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18452 	CFLAGS="$xorg_testset_save_CFLAGS"
   18453 fi
   18454 
   18455 found="no"
   18456 
   18457 	if test $found = "no" ; then
   18458 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18459 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18460 		fi
   18461 
   18462 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18463 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18464 		fi
   18465 
   18466 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   18467 
   18468 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   18469 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   18470 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   18471 		if eval test \${$cacheid+y}
   18472 then :
   18473   printf %s "(cached) " >&6
   18474 else case e in #(
   18475   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18476 /* end confdefs.h.  */
   18477 int i;
   18478 int
   18479 main (void)
   18480 {
   18481 
   18482   ;
   18483   return 0;
   18484 }
   18485 _ACEOF
   18486 if ac_fn_c_try_link "$LINENO"
   18487 then :
   18488   eval $cacheid=yes
   18489 else case e in #(
   18490   e) eval $cacheid=no ;;
   18491 esac
   18492 fi
   18493 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18494     conftest$ac_exeext conftest.$ac_ext ;;
   18495 esac
   18496 fi
   18497 
   18498 
   18499 		CFLAGS="$xorg_testset_save_CFLAGS"
   18500 
   18501 		eval supported=\$$cacheid
   18502 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18503 printf "%s\n" "$supported" >&6; }
   18504 		if test "$supported" = "yes" ; then
   18505 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   18506 			found="yes"
   18507 		fi
   18508 	fi
   18509 
   18510 	if test $found = "no" ; then
   18511 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18512 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18513 		fi
   18514 
   18515 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18516 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18517 		fi
   18518 
   18519 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   18520 
   18521 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   18522 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   18523 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   18524 		if eval test \${$cacheid+y}
   18525 then :
   18526   printf %s "(cached) " >&6
   18527 else case e in #(
   18528   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18529 /* end confdefs.h.  */
   18530 int i;
   18531 int
   18532 main (void)
   18533 {
   18534 
   18535   ;
   18536   return 0;
   18537 }
   18538 _ACEOF
   18539 if ac_fn_c_try_link "$LINENO"
   18540 then :
   18541   eval $cacheid=yes
   18542 else case e in #(
   18543   e) eval $cacheid=no ;;
   18544 esac
   18545 fi
   18546 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18547     conftest$ac_exeext conftest.$ac_ext ;;
   18548 esac
   18549 fi
   18550 
   18551 
   18552 		CFLAGS="$xorg_testset_save_CFLAGS"
   18553 
   18554 		eval supported=\$$cacheid
   18555 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18556 printf "%s\n" "$supported" >&6; }
   18557 		if test "$supported" = "yes" ; then
   18558 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   18559 			found="yes"
   18560 		fi
   18561 	fi
   18562 
   18563 
   18564 
   18565 
   18566 
   18567 
   18568 
   18569 
   18570 
   18571 
   18572 
   18573 
   18574 
   18575 
   18576 
   18577 xorg_testset_save_CFLAGS="$CFLAGS"
   18578 
   18579 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18580 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18581 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18582 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18583 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18584 then :
   18585   printf %s "(cached) " >&6
   18586 else case e in #(
   18587   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18588 /* end confdefs.h.  */
   18589 int i;
   18590 _ACEOF
   18591 if ac_fn_c_try_compile "$LINENO"
   18592 then :
   18593   xorg_cv_cc_flag_unknown_warning_option=yes
   18594 else case e in #(
   18595   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18596 esac
   18597 fi
   18598 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18599 esac
   18600 fi
   18601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18602 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18603 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18604 	CFLAGS="$xorg_testset_save_CFLAGS"
   18605 fi
   18606 
   18607 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18608 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18609 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18610 	fi
   18611 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18612 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18613 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18614 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18615 then :
   18616   printf %s "(cached) " >&6
   18617 else case e in #(
   18618   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18619 /* end confdefs.h.  */
   18620 int i;
   18621 _ACEOF
   18622 if ac_fn_c_try_compile "$LINENO"
   18623 then :
   18624   xorg_cv_cc_flag_unused_command_line_argument=yes
   18625 else case e in #(
   18626   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18627 esac
   18628 fi
   18629 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18630 esac
   18631 fi
   18632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18633 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18634 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18635 	CFLAGS="$xorg_testset_save_CFLAGS"
   18636 fi
   18637 
   18638 found="no"
   18639 
   18640 	if test $found = "no" ; then
   18641 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18642 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18643 		fi
   18644 
   18645 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18646 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18647 		fi
   18648 
   18649 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   18650 
   18651 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   18652 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   18653 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   18654 		if eval test \${$cacheid+y}
   18655 then :
   18656   printf %s "(cached) " >&6
   18657 else case e in #(
   18658   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18659 /* end confdefs.h.  */
   18660 int i;
   18661 int
   18662 main (void)
   18663 {
   18664 
   18665   ;
   18666   return 0;
   18667 }
   18668 _ACEOF
   18669 if ac_fn_c_try_link "$LINENO"
   18670 then :
   18671   eval $cacheid=yes
   18672 else case e in #(
   18673   e) eval $cacheid=no ;;
   18674 esac
   18675 fi
   18676 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18677     conftest$ac_exeext conftest.$ac_ext ;;
   18678 esac
   18679 fi
   18680 
   18681 
   18682 		CFLAGS="$xorg_testset_save_CFLAGS"
   18683 
   18684 		eval supported=\$$cacheid
   18685 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18686 printf "%s\n" "$supported" >&6; }
   18687 		if test "$supported" = "yes" ; then
   18688 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   18689 			found="yes"
   18690 		fi
   18691 	fi
   18692 
   18693  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   18694 else
   18695 { 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
   18696 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;}
   18697 
   18698 
   18699 
   18700 
   18701 
   18702 
   18703 
   18704 
   18705 
   18706 
   18707 
   18708 
   18709 
   18710 xorg_testset_save_CFLAGS="$CFLAGS"
   18711 
   18712 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18713 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18714 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18715 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18716 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18717 then :
   18718   printf %s "(cached) " >&6
   18719 else case e in #(
   18720   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18721 /* end confdefs.h.  */
   18722 int i;
   18723 _ACEOF
   18724 if ac_fn_c_try_compile "$LINENO"
   18725 then :
   18726   xorg_cv_cc_flag_unknown_warning_option=yes
   18727 else case e in #(
   18728   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18729 esac
   18730 fi
   18731 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18732 esac
   18733 fi
   18734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18735 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18736 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18737 	CFLAGS="$xorg_testset_save_CFLAGS"
   18738 fi
   18739 
   18740 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18741 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18742 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18743 	fi
   18744 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18745 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18746 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18747 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18748 then :
   18749   printf %s "(cached) " >&6
   18750 else case e in #(
   18751   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18752 /* end confdefs.h.  */
   18753 int i;
   18754 _ACEOF
   18755 if ac_fn_c_try_compile "$LINENO"
   18756 then :
   18757   xorg_cv_cc_flag_unused_command_line_argument=yes
   18758 else case e in #(
   18759   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18760 esac
   18761 fi
   18762 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18763 esac
   18764 fi
   18765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18766 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18767 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18768 	CFLAGS="$xorg_testset_save_CFLAGS"
   18769 fi
   18770 
   18771 found="no"
   18772 
   18773 	if test $found = "no" ; then
   18774 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18775 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18776 		fi
   18777 
   18778 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18779 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18780 		fi
   18781 
   18782 		CFLAGS="$CFLAGS -Wimplicit"
   18783 
   18784 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   18785 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   18786 		cacheid=xorg_cv_cc_flag__Wimplicit
   18787 		if eval test \${$cacheid+y}
   18788 then :
   18789   printf %s "(cached) " >&6
   18790 else case e in #(
   18791   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18792 /* end confdefs.h.  */
   18793 int i;
   18794 int
   18795 main (void)
   18796 {
   18797 
   18798   ;
   18799   return 0;
   18800 }
   18801 _ACEOF
   18802 if ac_fn_c_try_link "$LINENO"
   18803 then :
   18804   eval $cacheid=yes
   18805 else case e in #(
   18806   e) eval $cacheid=no ;;
   18807 esac
   18808 fi
   18809 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18810     conftest$ac_exeext conftest.$ac_ext ;;
   18811 esac
   18812 fi
   18813 
   18814 
   18815 		CFLAGS="$xorg_testset_save_CFLAGS"
   18816 
   18817 		eval supported=\$$cacheid
   18818 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18819 printf "%s\n" "$supported" >&6; }
   18820 		if test "$supported" = "yes" ; then
   18821 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   18822 			found="yes"
   18823 		fi
   18824 	fi
   18825 
   18826 
   18827 
   18828 
   18829 
   18830 
   18831 
   18832 
   18833 
   18834 
   18835 
   18836 
   18837 
   18838 
   18839 
   18840 xorg_testset_save_CFLAGS="$CFLAGS"
   18841 
   18842 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18843 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18844 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18845 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18846 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18847 then :
   18848   printf %s "(cached) " >&6
   18849 else case e in #(
   18850   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18851 /* end confdefs.h.  */
   18852 int i;
   18853 _ACEOF
   18854 if ac_fn_c_try_compile "$LINENO"
   18855 then :
   18856   xorg_cv_cc_flag_unknown_warning_option=yes
   18857 else case e in #(
   18858   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18859 esac
   18860 fi
   18861 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18862 esac
   18863 fi
   18864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18865 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18866 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18867 	CFLAGS="$xorg_testset_save_CFLAGS"
   18868 fi
   18869 
   18870 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18871 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18872 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18873 	fi
   18874 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18875 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18876 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18877 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18878 then :
   18879   printf %s "(cached) " >&6
   18880 else case e in #(
   18881   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18882 /* end confdefs.h.  */
   18883 int i;
   18884 _ACEOF
   18885 if ac_fn_c_try_compile "$LINENO"
   18886 then :
   18887   xorg_cv_cc_flag_unused_command_line_argument=yes
   18888 else case e in #(
   18889   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18890 esac
   18891 fi
   18892 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18893 esac
   18894 fi
   18895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18896 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18897 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18898 	CFLAGS="$xorg_testset_save_CFLAGS"
   18899 fi
   18900 
   18901 found="no"
   18902 
   18903 	if test $found = "no" ; then
   18904 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18905 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18906 		fi
   18907 
   18908 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18909 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18910 		fi
   18911 
   18912 		CFLAGS="$CFLAGS -Wnonnull"
   18913 
   18914 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   18915 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   18916 		cacheid=xorg_cv_cc_flag__Wnonnull
   18917 		if eval test \${$cacheid+y}
   18918 then :
   18919   printf %s "(cached) " >&6
   18920 else case e in #(
   18921   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18922 /* end confdefs.h.  */
   18923 int i;
   18924 int
   18925 main (void)
   18926 {
   18927 
   18928   ;
   18929   return 0;
   18930 }
   18931 _ACEOF
   18932 if ac_fn_c_try_link "$LINENO"
   18933 then :
   18934   eval $cacheid=yes
   18935 else case e in #(
   18936   e) eval $cacheid=no ;;
   18937 esac
   18938 fi
   18939 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18940     conftest$ac_exeext conftest.$ac_ext ;;
   18941 esac
   18942 fi
   18943 
   18944 
   18945 		CFLAGS="$xorg_testset_save_CFLAGS"
   18946 
   18947 		eval supported=\$$cacheid
   18948 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18949 printf "%s\n" "$supported" >&6; }
   18950 		if test "$supported" = "yes" ; then
   18951 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   18952 			found="yes"
   18953 		fi
   18954 	fi
   18955 
   18956 
   18957 
   18958 
   18959 
   18960 
   18961 
   18962 
   18963 
   18964 
   18965 
   18966 
   18967 
   18968 
   18969 
   18970 xorg_testset_save_CFLAGS="$CFLAGS"
   18971 
   18972 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18973 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18974 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18975 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18976 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18977 then :
   18978   printf %s "(cached) " >&6
   18979 else case e in #(
   18980   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18981 /* end confdefs.h.  */
   18982 int i;
   18983 _ACEOF
   18984 if ac_fn_c_try_compile "$LINENO"
   18985 then :
   18986   xorg_cv_cc_flag_unknown_warning_option=yes
   18987 else case e in #(
   18988   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18989 esac
   18990 fi
   18991 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18992 esac
   18993 fi
   18994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18995 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18996 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18997 	CFLAGS="$xorg_testset_save_CFLAGS"
   18998 fi
   18999 
   19000 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19001 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19002 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19003 	fi
   19004 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19005 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19006 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19007 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19008 then :
   19009   printf %s "(cached) " >&6
   19010 else case e in #(
   19011   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19012 /* end confdefs.h.  */
   19013 int i;
   19014 _ACEOF
   19015 if ac_fn_c_try_compile "$LINENO"
   19016 then :
   19017   xorg_cv_cc_flag_unused_command_line_argument=yes
   19018 else case e in #(
   19019   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19020 esac
   19021 fi
   19022 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19023 esac
   19024 fi
   19025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19026 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19027 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19028 	CFLAGS="$xorg_testset_save_CFLAGS"
   19029 fi
   19030 
   19031 found="no"
   19032 
   19033 	if test $found = "no" ; then
   19034 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19035 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19036 		fi
   19037 
   19038 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19039 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19040 		fi
   19041 
   19042 		CFLAGS="$CFLAGS -Winit-self"
   19043 
   19044 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   19045 printf %s "checking if $CC supports -Winit-self... " >&6; }
   19046 		cacheid=xorg_cv_cc_flag__Winit_self
   19047 		if eval test \${$cacheid+y}
   19048 then :
   19049   printf %s "(cached) " >&6
   19050 else case e in #(
   19051   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19052 /* end confdefs.h.  */
   19053 int i;
   19054 int
   19055 main (void)
   19056 {
   19057 
   19058   ;
   19059   return 0;
   19060 }
   19061 _ACEOF
   19062 if ac_fn_c_try_link "$LINENO"
   19063 then :
   19064   eval $cacheid=yes
   19065 else case e in #(
   19066   e) eval $cacheid=no ;;
   19067 esac
   19068 fi
   19069 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19070     conftest$ac_exeext conftest.$ac_ext ;;
   19071 esac
   19072 fi
   19073 
   19074 
   19075 		CFLAGS="$xorg_testset_save_CFLAGS"
   19076 
   19077 		eval supported=\$$cacheid
   19078 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19079 printf "%s\n" "$supported" >&6; }
   19080 		if test "$supported" = "yes" ; then
   19081 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   19082 			found="yes"
   19083 		fi
   19084 	fi
   19085 
   19086 
   19087 
   19088 
   19089 
   19090 
   19091 
   19092 
   19093 
   19094 
   19095 
   19096 
   19097 
   19098 
   19099 
   19100 xorg_testset_save_CFLAGS="$CFLAGS"
   19101 
   19102 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19103 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19104 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19105 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19106 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19107 then :
   19108   printf %s "(cached) " >&6
   19109 else case e in #(
   19110   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19111 /* end confdefs.h.  */
   19112 int i;
   19113 _ACEOF
   19114 if ac_fn_c_try_compile "$LINENO"
   19115 then :
   19116   xorg_cv_cc_flag_unknown_warning_option=yes
   19117 else case e in #(
   19118   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19119 esac
   19120 fi
   19121 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19122 esac
   19123 fi
   19124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19125 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19126 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19127 	CFLAGS="$xorg_testset_save_CFLAGS"
   19128 fi
   19129 
   19130 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19131 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19132 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19133 	fi
   19134 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19135 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19136 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19137 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19138 then :
   19139   printf %s "(cached) " >&6
   19140 else case e in #(
   19141   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19142 /* end confdefs.h.  */
   19143 int i;
   19144 _ACEOF
   19145 if ac_fn_c_try_compile "$LINENO"
   19146 then :
   19147   xorg_cv_cc_flag_unused_command_line_argument=yes
   19148 else case e in #(
   19149   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19150 esac
   19151 fi
   19152 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19153 esac
   19154 fi
   19155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19156 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19157 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19158 	CFLAGS="$xorg_testset_save_CFLAGS"
   19159 fi
   19160 
   19161 found="no"
   19162 
   19163 	if test $found = "no" ; then
   19164 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19165 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19166 		fi
   19167 
   19168 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19169 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19170 		fi
   19171 
   19172 		CFLAGS="$CFLAGS -Wmain"
   19173 
   19174 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   19175 printf %s "checking if $CC supports -Wmain... " >&6; }
   19176 		cacheid=xorg_cv_cc_flag__Wmain
   19177 		if eval test \${$cacheid+y}
   19178 then :
   19179   printf %s "(cached) " >&6
   19180 else case e in #(
   19181   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19182 /* end confdefs.h.  */
   19183 int i;
   19184 int
   19185 main (void)
   19186 {
   19187 
   19188   ;
   19189   return 0;
   19190 }
   19191 _ACEOF
   19192 if ac_fn_c_try_link "$LINENO"
   19193 then :
   19194   eval $cacheid=yes
   19195 else case e in #(
   19196   e) eval $cacheid=no ;;
   19197 esac
   19198 fi
   19199 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19200     conftest$ac_exeext conftest.$ac_ext ;;
   19201 esac
   19202 fi
   19203 
   19204 
   19205 		CFLAGS="$xorg_testset_save_CFLAGS"
   19206 
   19207 		eval supported=\$$cacheid
   19208 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19209 printf "%s\n" "$supported" >&6; }
   19210 		if test "$supported" = "yes" ; then
   19211 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   19212 			found="yes"
   19213 		fi
   19214 	fi
   19215 
   19216 
   19217 
   19218 
   19219 
   19220 
   19221 
   19222 
   19223 
   19224 
   19225 
   19226 
   19227 
   19228 
   19229 
   19230 xorg_testset_save_CFLAGS="$CFLAGS"
   19231 
   19232 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19233 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19234 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19235 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19236 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19237 then :
   19238   printf %s "(cached) " >&6
   19239 else case e in #(
   19240   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19241 /* end confdefs.h.  */
   19242 int i;
   19243 _ACEOF
   19244 if ac_fn_c_try_compile "$LINENO"
   19245 then :
   19246   xorg_cv_cc_flag_unknown_warning_option=yes
   19247 else case e in #(
   19248   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19249 esac
   19250 fi
   19251 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19252 esac
   19253 fi
   19254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19255 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19256 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19257 	CFLAGS="$xorg_testset_save_CFLAGS"
   19258 fi
   19259 
   19260 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19261 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19262 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19263 	fi
   19264 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19265 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19266 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19267 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19268 then :
   19269   printf %s "(cached) " >&6
   19270 else case e in #(
   19271   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19272 /* end confdefs.h.  */
   19273 int i;
   19274 _ACEOF
   19275 if ac_fn_c_try_compile "$LINENO"
   19276 then :
   19277   xorg_cv_cc_flag_unused_command_line_argument=yes
   19278 else case e in #(
   19279   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19280 esac
   19281 fi
   19282 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19283 esac
   19284 fi
   19285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19286 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19287 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19288 	CFLAGS="$xorg_testset_save_CFLAGS"
   19289 fi
   19290 
   19291 found="no"
   19292 
   19293 	if test $found = "no" ; then
   19294 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19295 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19296 		fi
   19297 
   19298 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19299 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19300 		fi
   19301 
   19302 		CFLAGS="$CFLAGS -Wmissing-braces"
   19303 
   19304 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   19305 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   19306 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   19307 		if eval test \${$cacheid+y}
   19308 then :
   19309   printf %s "(cached) " >&6
   19310 else case e in #(
   19311   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19312 /* end confdefs.h.  */
   19313 int i;
   19314 int
   19315 main (void)
   19316 {
   19317 
   19318   ;
   19319   return 0;
   19320 }
   19321 _ACEOF
   19322 if ac_fn_c_try_link "$LINENO"
   19323 then :
   19324   eval $cacheid=yes
   19325 else case e in #(
   19326   e) eval $cacheid=no ;;
   19327 esac
   19328 fi
   19329 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19330     conftest$ac_exeext conftest.$ac_ext ;;
   19331 esac
   19332 fi
   19333 
   19334 
   19335 		CFLAGS="$xorg_testset_save_CFLAGS"
   19336 
   19337 		eval supported=\$$cacheid
   19338 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19339 printf "%s\n" "$supported" >&6; }
   19340 		if test "$supported" = "yes" ; then
   19341 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   19342 			found="yes"
   19343 		fi
   19344 	fi
   19345 
   19346 
   19347 
   19348 
   19349 
   19350 
   19351 
   19352 
   19353 
   19354 
   19355 
   19356 
   19357 
   19358 
   19359 
   19360 xorg_testset_save_CFLAGS="$CFLAGS"
   19361 
   19362 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19363 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19364 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19365 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19366 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19367 then :
   19368   printf %s "(cached) " >&6
   19369 else case e in #(
   19370   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19371 /* end confdefs.h.  */
   19372 int i;
   19373 _ACEOF
   19374 if ac_fn_c_try_compile "$LINENO"
   19375 then :
   19376   xorg_cv_cc_flag_unknown_warning_option=yes
   19377 else case e in #(
   19378   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19379 esac
   19380 fi
   19381 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19382 esac
   19383 fi
   19384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19385 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19386 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19387 	CFLAGS="$xorg_testset_save_CFLAGS"
   19388 fi
   19389 
   19390 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19391 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19392 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19393 	fi
   19394 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19395 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19396 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19397 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19398 then :
   19399   printf %s "(cached) " >&6
   19400 else case e in #(
   19401   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19402 /* end confdefs.h.  */
   19403 int i;
   19404 _ACEOF
   19405 if ac_fn_c_try_compile "$LINENO"
   19406 then :
   19407   xorg_cv_cc_flag_unused_command_line_argument=yes
   19408 else case e in #(
   19409   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19410 esac
   19411 fi
   19412 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19413 esac
   19414 fi
   19415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19416 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19417 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19418 	CFLAGS="$xorg_testset_save_CFLAGS"
   19419 fi
   19420 
   19421 found="no"
   19422 
   19423 	if test $found = "no" ; then
   19424 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19425 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19426 		fi
   19427 
   19428 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19429 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19430 		fi
   19431 
   19432 		CFLAGS="$CFLAGS -Wsequence-point"
   19433 
   19434 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   19435 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   19436 		cacheid=xorg_cv_cc_flag__Wsequence_point
   19437 		if eval test \${$cacheid+y}
   19438 then :
   19439   printf %s "(cached) " >&6
   19440 else case e in #(
   19441   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19442 /* end confdefs.h.  */
   19443 int i;
   19444 int
   19445 main (void)
   19446 {
   19447 
   19448   ;
   19449   return 0;
   19450 }
   19451 _ACEOF
   19452 if ac_fn_c_try_link "$LINENO"
   19453 then :
   19454   eval $cacheid=yes
   19455 else case e in #(
   19456   e) eval $cacheid=no ;;
   19457 esac
   19458 fi
   19459 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19460     conftest$ac_exeext conftest.$ac_ext ;;
   19461 esac
   19462 fi
   19463 
   19464 
   19465 		CFLAGS="$xorg_testset_save_CFLAGS"
   19466 
   19467 		eval supported=\$$cacheid
   19468 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19469 printf "%s\n" "$supported" >&6; }
   19470 		if test "$supported" = "yes" ; then
   19471 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   19472 			found="yes"
   19473 		fi
   19474 	fi
   19475 
   19476 
   19477 
   19478 
   19479 
   19480 
   19481 
   19482 
   19483 
   19484 
   19485 
   19486 
   19487 
   19488 
   19489 
   19490 xorg_testset_save_CFLAGS="$CFLAGS"
   19491 
   19492 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19493 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19494 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19495 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19496 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19497 then :
   19498   printf %s "(cached) " >&6
   19499 else case e in #(
   19500   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19501 /* end confdefs.h.  */
   19502 int i;
   19503 _ACEOF
   19504 if ac_fn_c_try_compile "$LINENO"
   19505 then :
   19506   xorg_cv_cc_flag_unknown_warning_option=yes
   19507 else case e in #(
   19508   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19509 esac
   19510 fi
   19511 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19512 esac
   19513 fi
   19514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19515 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19516 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19517 	CFLAGS="$xorg_testset_save_CFLAGS"
   19518 fi
   19519 
   19520 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19521 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19522 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19523 	fi
   19524 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19525 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19526 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19527 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19528 then :
   19529   printf %s "(cached) " >&6
   19530 else case e in #(
   19531   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19532 /* end confdefs.h.  */
   19533 int i;
   19534 _ACEOF
   19535 if ac_fn_c_try_compile "$LINENO"
   19536 then :
   19537   xorg_cv_cc_flag_unused_command_line_argument=yes
   19538 else case e in #(
   19539   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19540 esac
   19541 fi
   19542 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19543 esac
   19544 fi
   19545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19546 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19547 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19548 	CFLAGS="$xorg_testset_save_CFLAGS"
   19549 fi
   19550 
   19551 found="no"
   19552 
   19553 	if test $found = "no" ; then
   19554 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19555 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19556 		fi
   19557 
   19558 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19559 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19560 		fi
   19561 
   19562 		CFLAGS="$CFLAGS -Wreturn-type"
   19563 
   19564 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   19565 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   19566 		cacheid=xorg_cv_cc_flag__Wreturn_type
   19567 		if eval test \${$cacheid+y}
   19568 then :
   19569   printf %s "(cached) " >&6
   19570 else case e in #(
   19571   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19572 /* end confdefs.h.  */
   19573 int i;
   19574 int
   19575 main (void)
   19576 {
   19577 
   19578   ;
   19579   return 0;
   19580 }
   19581 _ACEOF
   19582 if ac_fn_c_try_link "$LINENO"
   19583 then :
   19584   eval $cacheid=yes
   19585 else case e in #(
   19586   e) eval $cacheid=no ;;
   19587 esac
   19588 fi
   19589 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19590     conftest$ac_exeext conftest.$ac_ext ;;
   19591 esac
   19592 fi
   19593 
   19594 
   19595 		CFLAGS="$xorg_testset_save_CFLAGS"
   19596 
   19597 		eval supported=\$$cacheid
   19598 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19599 printf "%s\n" "$supported" >&6; }
   19600 		if test "$supported" = "yes" ; then
   19601 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   19602 			found="yes"
   19603 		fi
   19604 	fi
   19605 
   19606 
   19607 
   19608 
   19609 
   19610 
   19611 
   19612 
   19613 
   19614 
   19615 
   19616 
   19617 
   19618 
   19619 
   19620 xorg_testset_save_CFLAGS="$CFLAGS"
   19621 
   19622 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19623 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19624 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19625 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19626 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19627 then :
   19628   printf %s "(cached) " >&6
   19629 else case e in #(
   19630   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19631 /* end confdefs.h.  */
   19632 int i;
   19633 _ACEOF
   19634 if ac_fn_c_try_compile "$LINENO"
   19635 then :
   19636   xorg_cv_cc_flag_unknown_warning_option=yes
   19637 else case e in #(
   19638   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19639 esac
   19640 fi
   19641 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19642 esac
   19643 fi
   19644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19645 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19646 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19647 	CFLAGS="$xorg_testset_save_CFLAGS"
   19648 fi
   19649 
   19650 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19651 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19652 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19653 	fi
   19654 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19655 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19656 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19657 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19658 then :
   19659   printf %s "(cached) " >&6
   19660 else case e in #(
   19661   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19662 /* end confdefs.h.  */
   19663 int i;
   19664 _ACEOF
   19665 if ac_fn_c_try_compile "$LINENO"
   19666 then :
   19667   xorg_cv_cc_flag_unused_command_line_argument=yes
   19668 else case e in #(
   19669   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19670 esac
   19671 fi
   19672 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19673 esac
   19674 fi
   19675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19676 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19677 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19678 	CFLAGS="$xorg_testset_save_CFLAGS"
   19679 fi
   19680 
   19681 found="no"
   19682 
   19683 	if test $found = "no" ; then
   19684 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19685 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19686 		fi
   19687 
   19688 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19689 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19690 		fi
   19691 
   19692 		CFLAGS="$CFLAGS -Wtrigraphs"
   19693 
   19694 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   19695 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   19696 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   19697 		if eval test \${$cacheid+y}
   19698 then :
   19699   printf %s "(cached) " >&6
   19700 else case e in #(
   19701   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19702 /* end confdefs.h.  */
   19703 int i;
   19704 int
   19705 main (void)
   19706 {
   19707 
   19708   ;
   19709   return 0;
   19710 }
   19711 _ACEOF
   19712 if ac_fn_c_try_link "$LINENO"
   19713 then :
   19714   eval $cacheid=yes
   19715 else case e in #(
   19716   e) eval $cacheid=no ;;
   19717 esac
   19718 fi
   19719 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19720     conftest$ac_exeext conftest.$ac_ext ;;
   19721 esac
   19722 fi
   19723 
   19724 
   19725 		CFLAGS="$xorg_testset_save_CFLAGS"
   19726 
   19727 		eval supported=\$$cacheid
   19728 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19729 printf "%s\n" "$supported" >&6; }
   19730 		if test "$supported" = "yes" ; then
   19731 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   19732 			found="yes"
   19733 		fi
   19734 	fi
   19735 
   19736 
   19737 
   19738 
   19739 
   19740 
   19741 
   19742 
   19743 
   19744 
   19745 
   19746 
   19747 
   19748 
   19749 
   19750 xorg_testset_save_CFLAGS="$CFLAGS"
   19751 
   19752 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19753 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19754 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19755 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19756 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19757 then :
   19758   printf %s "(cached) " >&6
   19759 else case e in #(
   19760   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19761 /* end confdefs.h.  */
   19762 int i;
   19763 _ACEOF
   19764 if ac_fn_c_try_compile "$LINENO"
   19765 then :
   19766   xorg_cv_cc_flag_unknown_warning_option=yes
   19767 else case e in #(
   19768   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19769 esac
   19770 fi
   19771 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19772 esac
   19773 fi
   19774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19775 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19776 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19777 	CFLAGS="$xorg_testset_save_CFLAGS"
   19778 fi
   19779 
   19780 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19781 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19782 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19783 	fi
   19784 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19785 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19786 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19787 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19788 then :
   19789   printf %s "(cached) " >&6
   19790 else case e in #(
   19791   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19792 /* end confdefs.h.  */
   19793 int i;
   19794 _ACEOF
   19795 if ac_fn_c_try_compile "$LINENO"
   19796 then :
   19797   xorg_cv_cc_flag_unused_command_line_argument=yes
   19798 else case e in #(
   19799   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19800 esac
   19801 fi
   19802 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19803 esac
   19804 fi
   19805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19806 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19807 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19808 	CFLAGS="$xorg_testset_save_CFLAGS"
   19809 fi
   19810 
   19811 found="no"
   19812 
   19813 	if test $found = "no" ; then
   19814 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19815 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19816 		fi
   19817 
   19818 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19819 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19820 		fi
   19821 
   19822 		CFLAGS="$CFLAGS -Warray-bounds"
   19823 
   19824 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   19825 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   19826 		cacheid=xorg_cv_cc_flag__Warray_bounds
   19827 		if eval test \${$cacheid+y}
   19828 then :
   19829   printf %s "(cached) " >&6
   19830 else case e in #(
   19831   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19832 /* end confdefs.h.  */
   19833 int i;
   19834 int
   19835 main (void)
   19836 {
   19837 
   19838   ;
   19839   return 0;
   19840 }
   19841 _ACEOF
   19842 if ac_fn_c_try_link "$LINENO"
   19843 then :
   19844   eval $cacheid=yes
   19845 else case e in #(
   19846   e) eval $cacheid=no ;;
   19847 esac
   19848 fi
   19849 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19850     conftest$ac_exeext conftest.$ac_ext ;;
   19851 esac
   19852 fi
   19853 
   19854 
   19855 		CFLAGS="$xorg_testset_save_CFLAGS"
   19856 
   19857 		eval supported=\$$cacheid
   19858 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19859 printf "%s\n" "$supported" >&6; }
   19860 		if test "$supported" = "yes" ; then
   19861 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   19862 			found="yes"
   19863 		fi
   19864 	fi
   19865 
   19866 
   19867 
   19868 
   19869 
   19870 
   19871 
   19872 
   19873 
   19874 
   19875 
   19876 
   19877 
   19878 
   19879 
   19880 xorg_testset_save_CFLAGS="$CFLAGS"
   19881 
   19882 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19883 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19884 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19885 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19886 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19887 then :
   19888   printf %s "(cached) " >&6
   19889 else case e in #(
   19890   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19891 /* end confdefs.h.  */
   19892 int i;
   19893 _ACEOF
   19894 if ac_fn_c_try_compile "$LINENO"
   19895 then :
   19896   xorg_cv_cc_flag_unknown_warning_option=yes
   19897 else case e in #(
   19898   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19899 esac
   19900 fi
   19901 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19902 esac
   19903 fi
   19904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19905 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19906 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19907 	CFLAGS="$xorg_testset_save_CFLAGS"
   19908 fi
   19909 
   19910 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19911 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19912 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19913 	fi
   19914 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19915 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19916 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19917 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19918 then :
   19919   printf %s "(cached) " >&6
   19920 else case e in #(
   19921   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19922 /* end confdefs.h.  */
   19923 int i;
   19924 _ACEOF
   19925 if ac_fn_c_try_compile "$LINENO"
   19926 then :
   19927   xorg_cv_cc_flag_unused_command_line_argument=yes
   19928 else case e in #(
   19929   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19930 esac
   19931 fi
   19932 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19933 esac
   19934 fi
   19935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19936 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19937 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19938 	CFLAGS="$xorg_testset_save_CFLAGS"
   19939 fi
   19940 
   19941 found="no"
   19942 
   19943 	if test $found = "no" ; then
   19944 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19945 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19946 		fi
   19947 
   19948 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19949 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19950 		fi
   19951 
   19952 		CFLAGS="$CFLAGS -Wwrite-strings"
   19953 
   19954 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   19955 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   19956 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   19957 		if eval test \${$cacheid+y}
   19958 then :
   19959   printf %s "(cached) " >&6
   19960 else case e in #(
   19961   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19962 /* end confdefs.h.  */
   19963 int i;
   19964 int
   19965 main (void)
   19966 {
   19967 
   19968   ;
   19969   return 0;
   19970 }
   19971 _ACEOF
   19972 if ac_fn_c_try_link "$LINENO"
   19973 then :
   19974   eval $cacheid=yes
   19975 else case e in #(
   19976   e) eval $cacheid=no ;;
   19977 esac
   19978 fi
   19979 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19980     conftest$ac_exeext conftest.$ac_ext ;;
   19981 esac
   19982 fi
   19983 
   19984 
   19985 		CFLAGS="$xorg_testset_save_CFLAGS"
   19986 
   19987 		eval supported=\$$cacheid
   19988 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19989 printf "%s\n" "$supported" >&6; }
   19990 		if test "$supported" = "yes" ; then
   19991 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   19992 			found="yes"
   19993 		fi
   19994 	fi
   19995 
   19996 
   19997 
   19998 
   19999 
   20000 
   20001 
   20002 
   20003 
   20004 
   20005 
   20006 
   20007 
   20008 
   20009 
   20010 xorg_testset_save_CFLAGS="$CFLAGS"
   20011 
   20012 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20013 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20014 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20015 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20016 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20017 then :
   20018   printf %s "(cached) " >&6
   20019 else case e in #(
   20020   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20021 /* end confdefs.h.  */
   20022 int i;
   20023 _ACEOF
   20024 if ac_fn_c_try_compile "$LINENO"
   20025 then :
   20026   xorg_cv_cc_flag_unknown_warning_option=yes
   20027 else case e in #(
   20028   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20029 esac
   20030 fi
   20031 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20032 esac
   20033 fi
   20034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20035 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20036 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20037 	CFLAGS="$xorg_testset_save_CFLAGS"
   20038 fi
   20039 
   20040 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20041 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20042 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20043 	fi
   20044 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20045 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20046 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20047 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20048 then :
   20049   printf %s "(cached) " >&6
   20050 else case e in #(
   20051   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20052 /* end confdefs.h.  */
   20053 int i;
   20054 _ACEOF
   20055 if ac_fn_c_try_compile "$LINENO"
   20056 then :
   20057   xorg_cv_cc_flag_unused_command_line_argument=yes
   20058 else case e in #(
   20059   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20060 esac
   20061 fi
   20062 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20063 esac
   20064 fi
   20065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20066 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20067 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20068 	CFLAGS="$xorg_testset_save_CFLAGS"
   20069 fi
   20070 
   20071 found="no"
   20072 
   20073 	if test $found = "no" ; then
   20074 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20075 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20076 		fi
   20077 
   20078 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20079 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20080 		fi
   20081 
   20082 		CFLAGS="$CFLAGS -Waddress"
   20083 
   20084 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   20085 printf %s "checking if $CC supports -Waddress... " >&6; }
   20086 		cacheid=xorg_cv_cc_flag__Waddress
   20087 		if eval test \${$cacheid+y}
   20088 then :
   20089   printf %s "(cached) " >&6
   20090 else case e in #(
   20091   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20092 /* end confdefs.h.  */
   20093 int i;
   20094 int
   20095 main (void)
   20096 {
   20097 
   20098   ;
   20099   return 0;
   20100 }
   20101 _ACEOF
   20102 if ac_fn_c_try_link "$LINENO"
   20103 then :
   20104   eval $cacheid=yes
   20105 else case e in #(
   20106   e) eval $cacheid=no ;;
   20107 esac
   20108 fi
   20109 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20110     conftest$ac_exeext conftest.$ac_ext ;;
   20111 esac
   20112 fi
   20113 
   20114 
   20115 		CFLAGS="$xorg_testset_save_CFLAGS"
   20116 
   20117 		eval supported=\$$cacheid
   20118 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20119 printf "%s\n" "$supported" >&6; }
   20120 		if test "$supported" = "yes" ; then
   20121 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   20122 			found="yes"
   20123 		fi
   20124 	fi
   20125 
   20126 
   20127 
   20128 
   20129 
   20130 
   20131 
   20132 
   20133 
   20134 
   20135 
   20136 
   20137 
   20138 
   20139 
   20140 xorg_testset_save_CFLAGS="$CFLAGS"
   20141 
   20142 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20143 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20144 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20145 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20146 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20147 then :
   20148   printf %s "(cached) " >&6
   20149 else case e in #(
   20150   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20151 /* end confdefs.h.  */
   20152 int i;
   20153 _ACEOF
   20154 if ac_fn_c_try_compile "$LINENO"
   20155 then :
   20156   xorg_cv_cc_flag_unknown_warning_option=yes
   20157 else case e in #(
   20158   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20159 esac
   20160 fi
   20161 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20162 esac
   20163 fi
   20164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20165 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20166 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20167 	CFLAGS="$xorg_testset_save_CFLAGS"
   20168 fi
   20169 
   20170 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20171 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20172 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20173 	fi
   20174 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20175 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20176 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20177 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20178 then :
   20179   printf %s "(cached) " >&6
   20180 else case e in #(
   20181   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20182 /* end confdefs.h.  */
   20183 int i;
   20184 _ACEOF
   20185 if ac_fn_c_try_compile "$LINENO"
   20186 then :
   20187   xorg_cv_cc_flag_unused_command_line_argument=yes
   20188 else case e in #(
   20189   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20190 esac
   20191 fi
   20192 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20193 esac
   20194 fi
   20195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20196 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20197 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20198 	CFLAGS="$xorg_testset_save_CFLAGS"
   20199 fi
   20200 
   20201 found="no"
   20202 
   20203 	if test $found = "no" ; then
   20204 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20205 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20206 		fi
   20207 
   20208 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20209 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20210 		fi
   20211 
   20212 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   20213 
   20214 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   20215 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   20216 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   20217 		if eval test \${$cacheid+y}
   20218 then :
   20219   printf %s "(cached) " >&6
   20220 else case e in #(
   20221   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20222 /* end confdefs.h.  */
   20223 int i;
   20224 int
   20225 main (void)
   20226 {
   20227 
   20228   ;
   20229   return 0;
   20230 }
   20231 _ACEOF
   20232 if ac_fn_c_try_link "$LINENO"
   20233 then :
   20234   eval $cacheid=yes
   20235 else case e in #(
   20236   e) eval $cacheid=no ;;
   20237 esac
   20238 fi
   20239 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20240     conftest$ac_exeext conftest.$ac_ext ;;
   20241 esac
   20242 fi
   20243 
   20244 
   20245 		CFLAGS="$xorg_testset_save_CFLAGS"
   20246 
   20247 		eval supported=\$$cacheid
   20248 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20249 printf "%s\n" "$supported" >&6; }
   20250 		if test "$supported" = "yes" ; then
   20251 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   20252 			found="yes"
   20253 		fi
   20254 	fi
   20255 
   20256 
   20257 
   20258 
   20259 
   20260 
   20261 
   20262 
   20263 
   20264 
   20265 
   20266 
   20267 
   20268 
   20269 
   20270 xorg_testset_save_CFLAGS="$CFLAGS"
   20271 
   20272 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20273 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20274 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20275 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20276 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20277 then :
   20278   printf %s "(cached) " >&6
   20279 else case e in #(
   20280   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20281 /* end confdefs.h.  */
   20282 int i;
   20283 _ACEOF
   20284 if ac_fn_c_try_compile "$LINENO"
   20285 then :
   20286   xorg_cv_cc_flag_unknown_warning_option=yes
   20287 else case e in #(
   20288   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20289 esac
   20290 fi
   20291 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20292 esac
   20293 fi
   20294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20295 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20296 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20297 	CFLAGS="$xorg_testset_save_CFLAGS"
   20298 fi
   20299 
   20300 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20301 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20302 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20303 	fi
   20304 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20305 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20306 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20307 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20308 then :
   20309   printf %s "(cached) " >&6
   20310 else case e in #(
   20311   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20312 /* end confdefs.h.  */
   20313 int i;
   20314 _ACEOF
   20315 if ac_fn_c_try_compile "$LINENO"
   20316 then :
   20317   xorg_cv_cc_flag_unused_command_line_argument=yes
   20318 else case e in #(
   20319   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20320 esac
   20321 fi
   20322 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20323 esac
   20324 fi
   20325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20326 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20327 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20328 	CFLAGS="$xorg_testset_save_CFLAGS"
   20329 fi
   20330 
   20331 found="no"
   20332 
   20333 	if test $found = "no" ; then
   20334 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20335 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20336 		fi
   20337 
   20338 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20339 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20340 		fi
   20341 
   20342 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   20343 
   20344 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   20345 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   20346 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   20347 		if eval test \${$cacheid+y}
   20348 then :
   20349   printf %s "(cached) " >&6
   20350 else case e in #(
   20351   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20352 /* end confdefs.h.  */
   20353 int i;
   20354 int
   20355 main (void)
   20356 {
   20357 
   20358   ;
   20359   return 0;
   20360 }
   20361 _ACEOF
   20362 if ac_fn_c_try_link "$LINENO"
   20363 then :
   20364   eval $cacheid=yes
   20365 else case e in #(
   20366   e) eval $cacheid=no ;;
   20367 esac
   20368 fi
   20369 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20370     conftest$ac_exeext conftest.$ac_ext ;;
   20371 esac
   20372 fi
   20373 
   20374 
   20375 		CFLAGS="$xorg_testset_save_CFLAGS"
   20376 
   20377 		eval supported=\$$cacheid
   20378 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20379 printf "%s\n" "$supported" >&6; }
   20380 		if test "$supported" = "yes" ; then
   20381 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   20382 			found="yes"
   20383 		fi
   20384 	fi
   20385 
   20386 
   20387 fi
   20388 
   20389 
   20390 
   20391 
   20392 
   20393 
   20394 
   20395 		CWARNFLAGS="$BASE_CFLAGS"
   20396 		if  test "x$GCC" = xyes ; then
   20397 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   20398 		fi
   20399 
   20400 
   20401 
   20402 
   20403 
   20404 
   20405 
   20406 
   20407 # Check whether --enable-strict-compilation was given.
   20408 if test ${enable_strict_compilation+y}
   20409 then :
   20410   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   20411 else case e in #(
   20412   e) STRICT_COMPILE=no ;;
   20413 esac
   20414 fi
   20415 
   20416 
   20417 
   20418 
   20419 
   20420 
   20421 STRICT_CFLAGS=""
   20422 
   20423 
   20424 
   20425 
   20426 
   20427 
   20428 
   20429 
   20430 
   20431 
   20432 
   20433 
   20434 
   20435 xorg_testset_save_CFLAGS="$CFLAGS"
   20436 
   20437 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20438 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20439 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20440 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20441 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20442 then :
   20443   printf %s "(cached) " >&6
   20444 else case e in #(
   20445   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20446 /* end confdefs.h.  */
   20447 int i;
   20448 _ACEOF
   20449 if ac_fn_c_try_compile "$LINENO"
   20450 then :
   20451   xorg_cv_cc_flag_unknown_warning_option=yes
   20452 else case e in #(
   20453   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20454 esac
   20455 fi
   20456 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20457 esac
   20458 fi
   20459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20460 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20461 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20462 	CFLAGS="$xorg_testset_save_CFLAGS"
   20463 fi
   20464 
   20465 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20466 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20467 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20468 	fi
   20469 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20470 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20471 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20472 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20473 then :
   20474   printf %s "(cached) " >&6
   20475 else case e in #(
   20476   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20477 /* end confdefs.h.  */
   20478 int i;
   20479 _ACEOF
   20480 if ac_fn_c_try_compile "$LINENO"
   20481 then :
   20482   xorg_cv_cc_flag_unused_command_line_argument=yes
   20483 else case e in #(
   20484   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20485 esac
   20486 fi
   20487 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20488 esac
   20489 fi
   20490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20491 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20492 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20493 	CFLAGS="$xorg_testset_save_CFLAGS"
   20494 fi
   20495 
   20496 found="no"
   20497 
   20498 	if test $found = "no" ; then
   20499 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20500 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20501 		fi
   20502 
   20503 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20504 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20505 		fi
   20506 
   20507 		CFLAGS="$CFLAGS -pedantic"
   20508 
   20509 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   20510 printf %s "checking if $CC supports -pedantic... " >&6; }
   20511 		cacheid=xorg_cv_cc_flag__pedantic
   20512 		if eval test \${$cacheid+y}
   20513 then :
   20514   printf %s "(cached) " >&6
   20515 else case e in #(
   20516   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20517 /* end confdefs.h.  */
   20518 int i;
   20519 int
   20520 main (void)
   20521 {
   20522 
   20523   ;
   20524   return 0;
   20525 }
   20526 _ACEOF
   20527 if ac_fn_c_try_link "$LINENO"
   20528 then :
   20529   eval $cacheid=yes
   20530 else case e in #(
   20531   e) eval $cacheid=no ;;
   20532 esac
   20533 fi
   20534 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20535     conftest$ac_exeext conftest.$ac_ext ;;
   20536 esac
   20537 fi
   20538 
   20539 
   20540 		CFLAGS="$xorg_testset_save_CFLAGS"
   20541 
   20542 		eval supported=\$$cacheid
   20543 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20544 printf "%s\n" "$supported" >&6; }
   20545 		if test "$supported" = "yes" ; then
   20546 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   20547 			found="yes"
   20548 		fi
   20549 	fi
   20550 
   20551 
   20552 
   20553 
   20554 
   20555 
   20556 
   20557 
   20558 
   20559 
   20560 
   20561 
   20562 
   20563 
   20564 
   20565 xorg_testset_save_CFLAGS="$CFLAGS"
   20566 
   20567 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20568 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20569 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20570 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20571 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20572 then :
   20573   printf %s "(cached) " >&6
   20574 else case e in #(
   20575   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20576 /* end confdefs.h.  */
   20577 int i;
   20578 _ACEOF
   20579 if ac_fn_c_try_compile "$LINENO"
   20580 then :
   20581   xorg_cv_cc_flag_unknown_warning_option=yes
   20582 else case e in #(
   20583   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20584 esac
   20585 fi
   20586 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20587 esac
   20588 fi
   20589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20590 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20591 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20592 	CFLAGS="$xorg_testset_save_CFLAGS"
   20593 fi
   20594 
   20595 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20596 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20597 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20598 	fi
   20599 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20600 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20601 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20602 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20603 then :
   20604   printf %s "(cached) " >&6
   20605 else case e in #(
   20606   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20607 /* end confdefs.h.  */
   20608 int i;
   20609 _ACEOF
   20610 if ac_fn_c_try_compile "$LINENO"
   20611 then :
   20612   xorg_cv_cc_flag_unused_command_line_argument=yes
   20613 else case e in #(
   20614   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20615 esac
   20616 fi
   20617 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20618 esac
   20619 fi
   20620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20621 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20622 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20623 	CFLAGS="$xorg_testset_save_CFLAGS"
   20624 fi
   20625 
   20626 found="no"
   20627 
   20628 	if test $found = "no" ; then
   20629 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20630 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20631 		fi
   20632 
   20633 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20634 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20635 		fi
   20636 
   20637 		CFLAGS="$CFLAGS -Werror"
   20638 
   20639 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   20640 printf %s "checking if $CC supports -Werror... " >&6; }
   20641 		cacheid=xorg_cv_cc_flag__Werror
   20642 		if eval test \${$cacheid+y}
   20643 then :
   20644   printf %s "(cached) " >&6
   20645 else case e in #(
   20646   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20647 /* end confdefs.h.  */
   20648 int i;
   20649 int
   20650 main (void)
   20651 {
   20652 
   20653   ;
   20654   return 0;
   20655 }
   20656 _ACEOF
   20657 if ac_fn_c_try_link "$LINENO"
   20658 then :
   20659   eval $cacheid=yes
   20660 else case e in #(
   20661   e) eval $cacheid=no ;;
   20662 esac
   20663 fi
   20664 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20665     conftest$ac_exeext conftest.$ac_ext ;;
   20666 esac
   20667 fi
   20668 
   20669 
   20670 		CFLAGS="$xorg_testset_save_CFLAGS"
   20671 
   20672 		eval supported=\$$cacheid
   20673 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20674 printf "%s\n" "$supported" >&6; }
   20675 		if test "$supported" = "yes" ; then
   20676 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   20677 			found="yes"
   20678 		fi
   20679 	fi
   20680 
   20681 	if test $found = "no" ; then
   20682 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20683 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20684 		fi
   20685 
   20686 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20687 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20688 		fi
   20689 
   20690 		CFLAGS="$CFLAGS -errwarn"
   20691 
   20692 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   20693 printf %s "checking if $CC supports -errwarn... " >&6; }
   20694 		cacheid=xorg_cv_cc_flag__errwarn
   20695 		if eval test \${$cacheid+y}
   20696 then :
   20697   printf %s "(cached) " >&6
   20698 else case e in #(
   20699   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20700 /* end confdefs.h.  */
   20701 int i;
   20702 int
   20703 main (void)
   20704 {
   20705 
   20706   ;
   20707   return 0;
   20708 }
   20709 _ACEOF
   20710 if ac_fn_c_try_link "$LINENO"
   20711 then :
   20712   eval $cacheid=yes
   20713 else case e in #(
   20714   e) eval $cacheid=no ;;
   20715 esac
   20716 fi
   20717 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20718     conftest$ac_exeext conftest.$ac_ext ;;
   20719 esac
   20720 fi
   20721 
   20722 
   20723 		CFLAGS="$xorg_testset_save_CFLAGS"
   20724 
   20725 		eval supported=\$$cacheid
   20726 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20727 printf "%s\n" "$supported" >&6; }
   20728 		if test "$supported" = "yes" ; then
   20729 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   20730 			found="yes"
   20731 		fi
   20732 	fi
   20733 
   20734 
   20735 
   20736 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   20737 # activate it with -Werror, so we add it here explicitly.
   20738 
   20739 
   20740 
   20741 
   20742 
   20743 
   20744 
   20745 
   20746 
   20747 
   20748 
   20749 
   20750 
   20751 xorg_testset_save_CFLAGS="$CFLAGS"
   20752 
   20753 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20754 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20755 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20756 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20757 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20758 then :
   20759   printf %s "(cached) " >&6
   20760 else case e in #(
   20761   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20762 /* end confdefs.h.  */
   20763 int i;
   20764 _ACEOF
   20765 if ac_fn_c_try_compile "$LINENO"
   20766 then :
   20767   xorg_cv_cc_flag_unknown_warning_option=yes
   20768 else case e in #(
   20769   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20770 esac
   20771 fi
   20772 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20773 esac
   20774 fi
   20775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20776 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20777 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20778 	CFLAGS="$xorg_testset_save_CFLAGS"
   20779 fi
   20780 
   20781 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20782 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20783 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20784 	fi
   20785 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20786 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20787 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20788 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20789 then :
   20790   printf %s "(cached) " >&6
   20791 else case e in #(
   20792   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20793 /* end confdefs.h.  */
   20794 int i;
   20795 _ACEOF
   20796 if ac_fn_c_try_compile "$LINENO"
   20797 then :
   20798   xorg_cv_cc_flag_unused_command_line_argument=yes
   20799 else case e in #(
   20800   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20801 esac
   20802 fi
   20803 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20804 esac
   20805 fi
   20806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20807 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20808 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20809 	CFLAGS="$xorg_testset_save_CFLAGS"
   20810 fi
   20811 
   20812 found="no"
   20813 
   20814 	if test $found = "no" ; then
   20815 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20816 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20817 		fi
   20818 
   20819 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20820 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20821 		fi
   20822 
   20823 		CFLAGS="$CFLAGS -Werror=attributes"
   20824 
   20825 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   20826 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   20827 		cacheid=xorg_cv_cc_flag__Werror_attributes
   20828 		if eval test \${$cacheid+y}
   20829 then :
   20830   printf %s "(cached) " >&6
   20831 else case e in #(
   20832   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20833 /* end confdefs.h.  */
   20834 int i;
   20835 int
   20836 main (void)
   20837 {
   20838 
   20839   ;
   20840   return 0;
   20841 }
   20842 _ACEOF
   20843 if ac_fn_c_try_link "$LINENO"
   20844 then :
   20845   eval $cacheid=yes
   20846 else case e in #(
   20847   e) eval $cacheid=no ;;
   20848 esac
   20849 fi
   20850 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20851     conftest$ac_exeext conftest.$ac_ext ;;
   20852 esac
   20853 fi
   20854 
   20855 
   20856 		CFLAGS="$xorg_testset_save_CFLAGS"
   20857 
   20858 		eval supported=\$$cacheid
   20859 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20860 printf "%s\n" "$supported" >&6; }
   20861 		if test "$supported" = "yes" ; then
   20862 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   20863 			found="yes"
   20864 		fi
   20865 	fi
   20866 
   20867 
   20868 
   20869 if test "x$STRICT_COMPILE" = "xyes"; then
   20870     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   20871     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   20872 fi
   20873 
   20874 
   20875 
   20876 
   20877 
   20878 
   20879 
   20880 
   20881 cat >>confdefs.h <<_ACEOF
   20882 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   20883 _ACEOF
   20884 
   20885 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   20886 	if test "x$PVM" = "x"; then
   20887 		PVM="0"
   20888 	fi
   20889 
   20890 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   20891 
   20892 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   20893 	if test "x$PVP" = "x"; then
   20894 		PVP="0"
   20895 	fi
   20896 
   20897 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   20898 
   20899 
   20900 
   20901 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   20902 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   20903 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   20904 touch \$(top_srcdir)/ChangeLog; \
   20905 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   20906 
   20907 
   20908 
   20909 
   20910 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   20911 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   20912 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   20913 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   20914 touch \$(top_srcdir)/INSTALL; \
   20915 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   20916 
   20917 
   20918 
   20919 
   20920 
   20921 
   20922 case $host_os in
   20923     solaris*)
   20924         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   20925         # check for a man page file found in later versions that use
   20926         # traditional section numbers instead
   20927         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   20928 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   20929 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   20930 then :
   20931   printf %s "(cached) " >&6
   20932 else case e in #(
   20933   e) test "$cross_compiling" = yes &&
   20934   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   20935 if test -r "/usr/share/man/man7/attributes.7"; then
   20936   ac_cv_file__usr_share_man_man7_attributes_7=yes
   20937 else
   20938   ac_cv_file__usr_share_man_man7_attributes_7=no
   20939 fi ;;
   20940 esac
   20941 fi
   20942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   20943 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   20944 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   20945 then :
   20946   SYSV_MAN_SECTIONS=false
   20947 else case e in #(
   20948   e) SYSV_MAN_SECTIONS=true ;;
   20949 esac
   20950 fi
   20951 
   20952         ;;
   20953     *) SYSV_MAN_SECTIONS=false ;;
   20954 esac
   20955 
   20956 if test x$APP_MAN_SUFFIX = x    ; then
   20957     APP_MAN_SUFFIX=1
   20958 fi
   20959 if test x$APP_MAN_DIR = x    ; then
   20960     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   20961 fi
   20962 
   20963 if test x$LIB_MAN_SUFFIX = x    ; then
   20964     LIB_MAN_SUFFIX=3
   20965 fi
   20966 if test x$LIB_MAN_DIR = x    ; then
   20967     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   20968 fi
   20969 
   20970 if test x$FILE_MAN_SUFFIX = x    ; then
   20971     case $SYSV_MAN_SECTIONS in
   20972 	true)				FILE_MAN_SUFFIX=4  ;;
   20973 	*)				FILE_MAN_SUFFIX=5  ;;
   20974     esac
   20975 fi
   20976 if test x$FILE_MAN_DIR = x    ; then
   20977     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   20978 fi
   20979 
   20980 if test x$MISC_MAN_SUFFIX = x    ; then
   20981     case $SYSV_MAN_SECTIONS in
   20982 	true)				MISC_MAN_SUFFIX=5  ;;
   20983 	*)				MISC_MAN_SUFFIX=7  ;;
   20984     esac
   20985 fi
   20986 if test x$MISC_MAN_DIR = x    ; then
   20987     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   20988 fi
   20989 
   20990 if test x$DRIVER_MAN_SUFFIX = x    ; then
   20991     case $SYSV_MAN_SECTIONS in
   20992 	true)				DRIVER_MAN_SUFFIX=7  ;;
   20993 	*)				DRIVER_MAN_SUFFIX=4  ;;
   20994     esac
   20995 fi
   20996 if test x$DRIVER_MAN_DIR = x    ; then
   20997     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   20998 fi
   20999 
   21000 if test x$ADMIN_MAN_SUFFIX = x    ; then
   21001     case $SYSV_MAN_SECTIONS in
   21002 	true)				ADMIN_MAN_SUFFIX=1m ;;
   21003 	*)				ADMIN_MAN_SUFFIX=8  ;;
   21004     esac
   21005 fi
   21006 if test x$ADMIN_MAN_DIR = x    ; then
   21007     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   21008 fi
   21009 
   21010 
   21011 
   21012 
   21013 
   21014 
   21015 
   21016 
   21017 
   21018 
   21019 
   21020 
   21021 
   21022 
   21023 
   21024 XORG_MAN_PAGE="X Version 11"
   21025 
   21026 MAN_SUBSTS="\
   21027 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   21028 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   21029 	-e 's|__xservername__|Xorg|g' \
   21030 	-e 's|__xconfigfile__|xorg.conf|g' \
   21031 	-e 's|__projectroot__|\$(prefix)|g' \
   21032 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   21033 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   21034 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   21035 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   21036 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   21037 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   21038 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   21039 
   21040 
   21041 
   21042 
   21043 AM_DEFAULT_VERBOSITY=0
   21044 
   21045 
   21046 
   21047 
   21048 # Check whether --enable-specs was given.
   21049 if test ${enable_specs+y}
   21050 then :
   21051   enableval=$enable_specs; build_specs=$enableval
   21052 else case e in #(
   21053   e) build_specs=yes ;;
   21054 esac
   21055 fi
   21056 
   21057 
   21058  if test x$build_specs = xyes; then
   21059   ENABLE_SPECS_TRUE=
   21060   ENABLE_SPECS_FALSE='#'
   21061 else
   21062   ENABLE_SPECS_TRUE='#'
   21063   ENABLE_SPECS_FALSE=
   21064 fi
   21065 
   21066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build functional specifications" >&5
   21067 printf %s "checking whether to build functional specifications... " >&6; }
   21068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $build_specs" >&5
   21069 printf "%s\n" "$build_specs" >&6; }
   21070 
   21071 
   21072 
   21073 
   21074 
   21075 # Check whether --with-xmlto was given.
   21076 if test ${with_xmlto+y}
   21077 then :
   21078   withval=$with_xmlto; use_xmlto=$withval
   21079 else case e in #(
   21080   e) use_xmlto=auto ;;
   21081 esac
   21082 fi
   21083 
   21084 
   21085 
   21086 if test "x$use_xmlto" = x"auto"; then
   21087    # Extract the first word of "xmlto", so it can be a program name with args.
   21088 set dummy xmlto; ac_word=$2
   21089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21090 printf %s "checking for $ac_word... " >&6; }
   21091 if test ${ac_cv_path_XMLTO+y}
   21092 then :
   21093   printf %s "(cached) " >&6
   21094 else case e in #(
   21095   e) case $XMLTO in
   21096   [\\/]* | ?:[\\/]*)
   21097   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   21098   ;;
   21099   *)
   21100   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21101 for as_dir in $PATH
   21102 do
   21103   IFS=$as_save_IFS
   21104   case $as_dir in #(((
   21105     '') as_dir=./ ;;
   21106     */) ;;
   21107     *) as_dir=$as_dir/ ;;
   21108   esac
   21109     for ac_exec_ext in '' $ac_executable_extensions; do
   21110   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21111     ac_cv_path_XMLTO="$as_dir$ac_word$ac_exec_ext"
   21112     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21113     break 2
   21114   fi
   21115 done
   21116   done
   21117 IFS=$as_save_IFS
   21118 
   21119   ;;
   21120 esac ;;
   21121 esac
   21122 fi
   21123 XMLTO=$ac_cv_path_XMLTO
   21124 if test -n "$XMLTO"; then
   21125   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   21126 printf "%s\n" "$XMLTO" >&6; }
   21127 else
   21128   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21129 printf "%s\n" "no" >&6; }
   21130 fi
   21131 
   21132 
   21133    if test "x$XMLTO" = "x"; then
   21134         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
   21135 printf "%s\n" "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   21136 	have_xmlto=no
   21137    else
   21138         have_xmlto=yes
   21139    fi
   21140 elif test "x$use_xmlto" = x"yes" ; then
   21141    # Extract the first word of "xmlto", so it can be a program name with args.
   21142 set dummy xmlto; ac_word=$2
   21143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21144 printf %s "checking for $ac_word... " >&6; }
   21145 if test ${ac_cv_path_XMLTO+y}
   21146 then :
   21147   printf %s "(cached) " >&6
   21148 else case e in #(
   21149   e) case $XMLTO in
   21150   [\\/]* | ?:[\\/]*)
   21151   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   21152   ;;
   21153   *)
   21154   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21155 for as_dir in $PATH
   21156 do
   21157   IFS=$as_save_IFS
   21158   case $as_dir in #(((
   21159     '') as_dir=./ ;;
   21160     */) ;;
   21161     *) as_dir=$as_dir/ ;;
   21162   esac
   21163     for ac_exec_ext in '' $ac_executable_extensions; do
   21164   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21165     ac_cv_path_XMLTO="$as_dir$ac_word$ac_exec_ext"
   21166     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21167     break 2
   21168   fi
   21169 done
   21170   done
   21171 IFS=$as_save_IFS
   21172 
   21173   ;;
   21174 esac ;;
   21175 esac
   21176 fi
   21177 XMLTO=$ac_cv_path_XMLTO
   21178 if test -n "$XMLTO"; then
   21179   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   21180 printf "%s\n" "$XMLTO" >&6; }
   21181 else
   21182   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21183 printf "%s\n" "no" >&6; }
   21184 fi
   21185 
   21186 
   21187    if test "x$XMLTO" = "x"; then
   21188         as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
   21189    fi
   21190    have_xmlto=yes
   21191 elif test "x$use_xmlto" = x"no" ; then
   21192    if test "x$XMLTO" != "x"; then
   21193       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   21194 printf "%s\n" "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   21195    fi
   21196    have_xmlto=no
   21197 else
   21198    as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
   21199 fi
   21200 
   21201 # Test for a minimum version of xmlto, if provided.
   21202 if test "$have_xmlto" = yes; then
   21203     # scrape the xmlto version
   21204     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
   21205 printf %s "checking the xmlto version... " >&6; }
   21206     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   21207     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
   21208 printf "%s\n" "$xmlto_version" >&6; }
   21209     as_arg_v1=$xmlto_version
   21210 as_arg_v2=0.0.22
   21211 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   21212 case $? in #(
   21213   1) :
   21214     if test "x$use_xmlto" = xauto; then
   21215             { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&5
   21216 printf "%s\n" "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&2;}
   21217             have_xmlto=no
   21218         else
   21219             as_fn_error $? "xmlto version $xmlto_version found, but 0.0.22 needed" "$LINENO" 5
   21220         fi ;; #(
   21221   0) :
   21222      ;; #(
   21223   2) :
   21224      ;; #(
   21225   *) :
   21226      ;;
   21227 esac
   21228 fi
   21229 
   21230 # Test for the ability of xmlto to generate a text target
   21231 #
   21232 # NOTE: xmlto 0.0.27 or higher return a non-zero return code in the
   21233 # following test for empty XML docbook files.
   21234 # For compatibility reasons use the following empty XML docbook file and if
   21235 # it fails try it again with a non-empty XML file.
   21236 have_xmlto_text=no
   21237 cat > conftest.xml << "EOF"
   21238 EOF
   21239 if test "$have_xmlto" = yes
   21240 then :
   21241   if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1
   21242 then :
   21243   have_xmlto_text=yes
   21244 else case e in #(
   21245   e) # Try it again with a non-empty XML file.
   21246               cat > conftest.xml << "EOF"
   21247 <x></x>
   21248 EOF
   21249               if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1
   21250 then :
   21251   have_xmlto_text=yes
   21252 else case e in #(
   21253   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
   21254 printf "%s\n" "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;} ;;
   21255 esac
   21256 fi ;;
   21257 esac
   21258 fi
   21259 fi
   21260 rm -f conftest.xml
   21261  if test $have_xmlto_text = yes; then
   21262   HAVE_XMLTO_TEXT_TRUE=
   21263   HAVE_XMLTO_TEXT_FALSE='#'
   21264 else
   21265   HAVE_XMLTO_TEXT_TRUE='#'
   21266   HAVE_XMLTO_TEXT_FALSE=
   21267 fi
   21268 
   21269  if test "$have_xmlto" = yes; then
   21270   HAVE_XMLTO_TRUE=
   21271   HAVE_XMLTO_FALSE='#'
   21272 else
   21273   HAVE_XMLTO_TRUE='#'
   21274   HAVE_XMLTO_FALSE=
   21275 fi
   21276 
   21277 
   21278 
   21279 
   21280 
   21281 
   21282 # Check whether --with-fop was given.
   21283 if test ${with_fop+y}
   21284 then :
   21285   withval=$with_fop; use_fop=$withval
   21286 else case e in #(
   21287   e) use_fop=no ;;
   21288 esac
   21289 fi
   21290 
   21291 
   21292 
   21293 if test "x$use_fop" = x"auto"; then
   21294    # Extract the first word of "fop", so it can be a program name with args.
   21295 set dummy fop; ac_word=$2
   21296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21297 printf %s "checking for $ac_word... " >&6; }
   21298 if test ${ac_cv_path_FOP+y}
   21299 then :
   21300   printf %s "(cached) " >&6
   21301 else case e in #(
   21302   e) case $FOP in
   21303   [\\/]* | ?:[\\/]*)
   21304   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   21305   ;;
   21306   *)
   21307   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21308 for as_dir in $PATH
   21309 do
   21310   IFS=$as_save_IFS
   21311   case $as_dir in #(((
   21312     '') as_dir=./ ;;
   21313     */) ;;
   21314     *) as_dir=$as_dir/ ;;
   21315   esac
   21316     for ac_exec_ext in '' $ac_executable_extensions; do
   21317   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21318     ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
   21319     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21320     break 2
   21321   fi
   21322 done
   21323   done
   21324 IFS=$as_save_IFS
   21325 
   21326   ;;
   21327 esac ;;
   21328 esac
   21329 fi
   21330 FOP=$ac_cv_path_FOP
   21331 if test -n "$FOP"; then
   21332   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   21333 printf "%s\n" "$FOP" >&6; }
   21334 else
   21335   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21336 printf "%s\n" "no" >&6; }
   21337 fi
   21338 
   21339 
   21340    if test "x$FOP" = "x"; then
   21341         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
   21342 printf "%s\n" "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
   21343 	have_fop=no
   21344    else
   21345         have_fop=yes
   21346    fi
   21347 elif test "x$use_fop" = x"yes" ; then
   21348    # Extract the first word of "fop", so it can be a program name with args.
   21349 set dummy fop; ac_word=$2
   21350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21351 printf %s "checking for $ac_word... " >&6; }
   21352 if test ${ac_cv_path_FOP+y}
   21353 then :
   21354   printf %s "(cached) " >&6
   21355 else case e in #(
   21356   e) case $FOP in
   21357   [\\/]* | ?:[\\/]*)
   21358   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   21359   ;;
   21360   *)
   21361   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21362 for as_dir in $PATH
   21363 do
   21364   IFS=$as_save_IFS
   21365   case $as_dir in #(((
   21366     '') as_dir=./ ;;
   21367     */) ;;
   21368     *) as_dir=$as_dir/ ;;
   21369   esac
   21370     for ac_exec_ext in '' $ac_executable_extensions; do
   21371   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21372     ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
   21373     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21374     break 2
   21375   fi
   21376 done
   21377   done
   21378 IFS=$as_save_IFS
   21379 
   21380   ;;
   21381 esac ;;
   21382 esac
   21383 fi
   21384 FOP=$ac_cv_path_FOP
   21385 if test -n "$FOP"; then
   21386   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   21387 printf "%s\n" "$FOP" >&6; }
   21388 else
   21389   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21390 printf "%s\n" "no" >&6; }
   21391 fi
   21392 
   21393 
   21394    if test "x$FOP" = "x"; then
   21395         as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
   21396    fi
   21397    have_fop=yes
   21398 elif test "x$use_fop" = x"no" ; then
   21399    if test "x$FOP" != "x"; then
   21400       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
   21401 printf "%s\n" "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
   21402    fi
   21403    have_fop=no
   21404 else
   21405    as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
   21406 fi
   21407 
   21408 # Test for a minimum version of fop, if provided.
   21409 
   21410  if test "$have_fop" = yes; then
   21411   HAVE_FOP_TRUE=
   21412   HAVE_FOP_FALSE='#'
   21413 else
   21414   HAVE_FOP_TRUE='#'
   21415   HAVE_FOP_FALSE=
   21416 fi
   21417 
   21418 
   21419 
   21420 
   21421 # Preserves the interface, should it be implemented later
   21422 
   21423 
   21424 
   21425 # Check whether --with-xsltproc was given.
   21426 if test ${with_xsltproc+y}
   21427 then :
   21428   withval=$with_xsltproc; use_xsltproc=$withval
   21429 else case e in #(
   21430   e) use_xsltproc=auto ;;
   21431 esac
   21432 fi
   21433 
   21434 
   21435 
   21436 if test "x$use_xsltproc" = x"auto"; then
   21437    # Extract the first word of "xsltproc", so it can be a program name with args.
   21438 set dummy xsltproc; ac_word=$2
   21439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21440 printf %s "checking for $ac_word... " >&6; }
   21441 if test ${ac_cv_path_XSLTPROC+y}
   21442 then :
   21443   printf %s "(cached) " >&6
   21444 else case e in #(
   21445   e) case $XSLTPROC in
   21446   [\\/]* | ?:[\\/]*)
   21447   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   21448   ;;
   21449   *)
   21450   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21451 for as_dir in $PATH
   21452 do
   21453   IFS=$as_save_IFS
   21454   case $as_dir in #(((
   21455     '') as_dir=./ ;;
   21456     */) ;;
   21457     *) as_dir=$as_dir/ ;;
   21458   esac
   21459     for ac_exec_ext in '' $ac_executable_extensions; do
   21460   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21461     ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext"
   21462     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21463     break 2
   21464   fi
   21465 done
   21466   done
   21467 IFS=$as_save_IFS
   21468 
   21469   ;;
   21470 esac ;;
   21471 esac
   21472 fi
   21473 XSLTPROC=$ac_cv_path_XSLTPROC
   21474 if test -n "$XSLTPROC"; then
   21475   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   21476 printf "%s\n" "$XSLTPROC" >&6; }
   21477 else
   21478   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21479 printf "%s\n" "no" >&6; }
   21480 fi
   21481 
   21482 
   21483    if test "x$XSLTPROC" = "x"; then
   21484         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xsltproc not found - cannot transform XML documents" >&5
   21485 printf "%s\n" "$as_me: WARNING: xsltproc not found - cannot transform XML documents" >&2;}
   21486 	have_xsltproc=no
   21487    else
   21488         have_xsltproc=yes
   21489    fi
   21490 elif test "x$use_xsltproc" = x"yes" ; then
   21491    # Extract the first word of "xsltproc", so it can be a program name with args.
   21492 set dummy xsltproc; ac_word=$2
   21493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21494 printf %s "checking for $ac_word... " >&6; }
   21495 if test ${ac_cv_path_XSLTPROC+y}
   21496 then :
   21497   printf %s "(cached) " >&6
   21498 else case e in #(
   21499   e) case $XSLTPROC in
   21500   [\\/]* | ?:[\\/]*)
   21501   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   21502   ;;
   21503   *)
   21504   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21505 for as_dir in $PATH
   21506 do
   21507   IFS=$as_save_IFS
   21508   case $as_dir in #(((
   21509     '') as_dir=./ ;;
   21510     */) ;;
   21511     *) as_dir=$as_dir/ ;;
   21512   esac
   21513     for ac_exec_ext in '' $ac_executable_extensions; do
   21514   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21515     ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext"
   21516     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21517     break 2
   21518   fi
   21519 done
   21520   done
   21521 IFS=$as_save_IFS
   21522 
   21523   ;;
   21524 esac ;;
   21525 esac
   21526 fi
   21527 XSLTPROC=$ac_cv_path_XSLTPROC
   21528 if test -n "$XSLTPROC"; then
   21529   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   21530 printf "%s\n" "$XSLTPROC" >&6; }
   21531 else
   21532   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21533 printf "%s\n" "no" >&6; }
   21534 fi
   21535 
   21536 
   21537    if test "x$XSLTPROC" = "x"; then
   21538         as_fn_error $? "--with-xsltproc=yes specified but xsltproc not found in PATH" "$LINENO" 5
   21539    fi
   21540    have_xsltproc=yes
   21541 elif test "x$use_xsltproc" = x"no" ; then
   21542    if test "x$XSLTPROC" != "x"; then
   21543       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&5
   21544 printf "%s\n" "$as_me: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&2;}
   21545    fi
   21546    have_xsltproc=no
   21547 else
   21548    as_fn_error $? "--with-xsltproc expects 'yes' or 'no'" "$LINENO" 5
   21549 fi
   21550 
   21551  if test "$have_xsltproc" = yes; then
   21552   HAVE_XSLTPROC_TRUE=
   21553   HAVE_XSLTPROC_FALSE='#'
   21554 else
   21555   HAVE_XSLTPROC_TRUE='#'
   21556   HAVE_XSLTPROC_FALSE=
   21557 fi
   21558 
   21559 
   21560 
   21561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.10" >&5
   21562 printf %s "checking for X.Org SGML entities >= 1.10... " >&6; }
   21563 XORG_SGML_PATH=
   21564 if test -n "$PKG_CONFIG" && \
   21565     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.10\""; } >&5
   21566   ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.10") 2>&5
   21567   ac_status=$?
   21568   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21569   test $ac_status = 0; }; then
   21570   XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
   21571 else
   21572   :
   21573 
   21574 fi
   21575 
   21576 # Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
   21577 # the path and the name of the doc stylesheet
   21578 if test "x$XORG_SGML_PATH" != "x" ; then
   21579    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
   21580 printf "%s\n" "$XORG_SGML_PATH" >&6; }
   21581    STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
   21582    XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
   21583 else
   21584    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21585 printf "%s\n" "no" >&6; }
   21586 fi
   21587 
   21588 
   21589 
   21590 
   21591  if test "x$XSL_STYLESHEET" != "x"; then
   21592   HAVE_STYLESHEETS_TRUE=
   21593   HAVE_STYLESHEETS_FALSE='#'
   21594 else
   21595   HAVE_STYLESHEETS_TRUE='#'
   21596   HAVE_STYLESHEETS_FALSE=
   21597 fi
   21598 
   21599 
   21600 ac_ext=c
   21601 ac_cpp='$CPP $CPPFLAGS'
   21602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   21603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   21604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   21605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   21606 printf %s "checking how to run the C preprocessor... " >&6; }
   21607 # On Suns, sometimes $CPP names a directory.
   21608 if test -n "$CPP" && test -d "$CPP"; then
   21609   CPP=
   21610 fi
   21611 if test -z "$CPP"; then
   21612   if test ${ac_cv_prog_CPP+y}
   21613 then :
   21614   printf %s "(cached) " >&6
   21615 else case e in #(
   21616   e)     # Double quotes because $CC needs to be expanded
   21617     for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
   21618     do
   21619       ac_preproc_ok=false
   21620 for ac_c_preproc_warn_flag in '' yes
   21621 do
   21622   # Use a header file that comes with gcc, so configuring glibc
   21623   # with a fresh cross-compiler works.
   21624   # On the NeXT, cc -E runs the code through the compiler's parser,
   21625   # not just through cpp. "Syntax error" is here to catch this case.
   21626   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21627 /* end confdefs.h.  */
   21628 #include <limits.h>
   21629 		     Syntax error
   21630 _ACEOF
   21631 if ac_fn_c_try_cpp "$LINENO"
   21632 then :
   21633 
   21634 else case e in #(
   21635   e) # Broken: fails on valid input.
   21636 continue ;;
   21637 esac
   21638 fi
   21639 rm -f conftest.err conftest.i conftest.$ac_ext
   21640 
   21641   # OK, works on sane cases.  Now check whether nonexistent headers
   21642   # can be detected and how.
   21643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21644 /* end confdefs.h.  */
   21645 #include <ac_nonexistent.h>
   21646 _ACEOF
   21647 if ac_fn_c_try_cpp "$LINENO"
   21648 then :
   21649   # Broken: success on invalid input.
   21650 continue
   21651 else case e in #(
   21652   e) # Passes both tests.
   21653 ac_preproc_ok=:
   21654 break ;;
   21655 esac
   21656 fi
   21657 rm -f conftest.err conftest.i conftest.$ac_ext
   21658 
   21659 done
   21660 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   21661 rm -f conftest.i conftest.err conftest.$ac_ext
   21662 if $ac_preproc_ok
   21663 then :
   21664   break
   21665 fi
   21666 
   21667     done
   21668     ac_cv_prog_CPP=$CPP
   21669    ;;
   21670 esac
   21671 fi
   21672   CPP=$ac_cv_prog_CPP
   21673 else
   21674   ac_cv_prog_CPP=$CPP
   21675 fi
   21676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   21677 printf "%s\n" "$CPP" >&6; }
   21678 ac_preproc_ok=false
   21679 for ac_c_preproc_warn_flag in '' yes
   21680 do
   21681   # Use a header file that comes with gcc, so configuring glibc
   21682   # with a fresh cross-compiler works.
   21683   # On the NeXT, cc -E runs the code through the compiler's parser,
   21684   # not just through cpp. "Syntax error" is here to catch this case.
   21685   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21686 /* end confdefs.h.  */
   21687 #include <limits.h>
   21688 		     Syntax error
   21689 _ACEOF
   21690 if ac_fn_c_try_cpp "$LINENO"
   21691 then :
   21692 
   21693 else case e in #(
   21694   e) # Broken: fails on valid input.
   21695 continue ;;
   21696 esac
   21697 fi
   21698 rm -f conftest.err conftest.i conftest.$ac_ext
   21699 
   21700   # OK, works on sane cases.  Now check whether nonexistent headers
   21701   # can be detected and how.
   21702   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21703 /* end confdefs.h.  */
   21704 #include <ac_nonexistent.h>
   21705 _ACEOF
   21706 if ac_fn_c_try_cpp "$LINENO"
   21707 then :
   21708   # Broken: success on invalid input.
   21709 continue
   21710 else case e in #(
   21711   e) # Passes both tests.
   21712 ac_preproc_ok=:
   21713 break ;;
   21714 esac
   21715 fi
   21716 rm -f conftest.err conftest.i conftest.$ac_ext
   21717 
   21718 done
   21719 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   21720 rm -f conftest.i conftest.err conftest.$ac_ext
   21721 if $ac_preproc_ok
   21722 then :
   21723 
   21724 else case e in #(
   21725   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   21726 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   21727 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   21728 See 'config.log' for more details" "$LINENO" 5; } ;;
   21729 esac
   21730 fi
   21731 
   21732 ac_ext=c
   21733 ac_cpp='$CPP $CPPFLAGS'
   21734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   21735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   21736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   21737 
   21738 
   21739 
   21740 if test -n "$ac_tool_prefix"; then
   21741   # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
   21742 set dummy ${ac_tool_prefix}cpp; ac_word=$2
   21743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21744 printf %s "checking for $ac_word... " >&6; }
   21745 if test ${ac_cv_path_RAWCPP+y}
   21746 then :
   21747   printf %s "(cached) " >&6
   21748 else case e in #(
   21749   e) case $RAWCPP in
   21750   [\\/]* | ?:[\\/]*)
   21751   ac_cv_path_RAWCPP="$RAWCPP" # Let the user override the test with a path.
   21752   ;;
   21753   *)
   21754   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21755 as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
   21756 for as_dir in $as_dummy
   21757 do
   21758   IFS=$as_save_IFS
   21759   case $as_dir in #(((
   21760     '') as_dir=./ ;;
   21761     */) ;;
   21762     *) as_dir=$as_dir/ ;;
   21763   esac
   21764     for ac_exec_ext in '' $ac_executable_extensions; do
   21765   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21766     ac_cv_path_RAWCPP="$as_dir$ac_word$ac_exec_ext"
   21767     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21768     break 2
   21769   fi
   21770 done
   21771   done
   21772 IFS=$as_save_IFS
   21773 
   21774   ;;
   21775 esac ;;
   21776 esac
   21777 fi
   21778 RAWCPP=$ac_cv_path_RAWCPP
   21779 if test -n "$RAWCPP"; then
   21780   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RAWCPP" >&5
   21781 printf "%s\n" "$RAWCPP" >&6; }
   21782 else
   21783   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21784 printf "%s\n" "no" >&6; }
   21785 fi
   21786 
   21787 
   21788 fi
   21789 if test -z "$ac_cv_path_RAWCPP"; then
   21790   ac_pt_RAWCPP=$RAWCPP
   21791   # Extract the first word of "cpp", so it can be a program name with args.
   21792 set dummy cpp; ac_word=$2
   21793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21794 printf %s "checking for $ac_word... " >&6; }
   21795 if test ${ac_cv_path_ac_pt_RAWCPP+y}
   21796 then :
   21797   printf %s "(cached) " >&6
   21798 else case e in #(
   21799   e) case $ac_pt_RAWCPP in
   21800   [\\/]* | ?:[\\/]*)
   21801   ac_cv_path_ac_pt_RAWCPP="$ac_pt_RAWCPP" # Let the user override the test with a path.
   21802   ;;
   21803   *)
   21804   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21805 as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
   21806 for as_dir in $as_dummy
   21807 do
   21808   IFS=$as_save_IFS
   21809   case $as_dir in #(((
   21810     '') as_dir=./ ;;
   21811     */) ;;
   21812     *) as_dir=$as_dir/ ;;
   21813   esac
   21814     for ac_exec_ext in '' $ac_executable_extensions; do
   21815   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21816     ac_cv_path_ac_pt_RAWCPP="$as_dir$ac_word$ac_exec_ext"
   21817     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21818     break 2
   21819   fi
   21820 done
   21821   done
   21822 IFS=$as_save_IFS
   21823 
   21824   ;;
   21825 esac ;;
   21826 esac
   21827 fi
   21828 ac_pt_RAWCPP=$ac_cv_path_ac_pt_RAWCPP
   21829 if test -n "$ac_pt_RAWCPP"; then
   21830   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_RAWCPP" >&5
   21831 printf "%s\n" "$ac_pt_RAWCPP" >&6; }
   21832 else
   21833   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21834 printf "%s\n" "no" >&6; }
   21835 fi
   21836 
   21837   if test "x$ac_pt_RAWCPP" = x; then
   21838     RAWCPP="${CPP}"
   21839   else
   21840     case $cross_compiling:$ac_tool_warned in
   21841 yes:)
   21842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   21843 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   21844 ac_tool_warned=yes ;;
   21845 esac
   21846     RAWCPP=$ac_pt_RAWCPP
   21847   fi
   21848 else
   21849   RAWCPP="$ac_cv_path_RAWCPP"
   21850 fi
   21851 
   21852 
   21853 # Check for flag to avoid builtin definitions - assumes unix is predefined,
   21854 # which is not the best choice for supporting other OS'es, but covers most
   21855 # of the ones we need for now.
   21856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -undef" >&5
   21857 printf %s "checking if $RAWCPP requires -undef... " >&6; }
   21858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21859 /* end confdefs.h.  */
   21860 Does cpp redefine unix ?
   21861 _ACEOF
   21862 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   21863 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21864 printf "%s\n" "no" >&6; }
   21865 else
   21866 	if test `${RAWCPP} -undef < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   21867 		RAWCPPFLAGS=-undef
   21868 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21869 printf "%s\n" "yes" >&6; }
   21870 	# under Cygwin unix is still defined even with -undef
   21871 	elif test `${RAWCPP} -undef -ansi < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   21872 		RAWCPPFLAGS="-undef -ansi"
   21873 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes, with -ansi" >&5
   21874 printf "%s\n" "yes, with -ansi" >&6; }
   21875 	else
   21876 		as_fn_error $? "${RAWCPP} defines unix with or without -undef.  I don't know what to do." "$LINENO" 5
   21877 	fi
   21878 fi
   21879 rm -f conftest.$ac_ext
   21880 
   21881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -traditional" >&5
   21882 printf %s "checking if $RAWCPP requires -traditional... " >&6; }
   21883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21884 /* end confdefs.h.  */
   21885 Does cpp preserve   "whitespace"?
   21886 _ACEOF
   21887 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'preserve   "'` -eq 1 ; then
   21888 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21889 printf "%s\n" "no" >&6; }
   21890 else
   21891 	if test `${RAWCPP} -traditional < conftest.$ac_ext | grep -c 'preserve   "'` -eq 1 ; then
   21892 		TRADITIONALCPPFLAGS="-traditional"
   21893 		RAWCPPFLAGS="${RAWCPPFLAGS} -traditional"
   21894 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21895 printf "%s\n" "yes" >&6; }
   21896 	else
   21897 		as_fn_error $? "${RAWCPP} does not preserve whitespace with or without -traditional.  I don't know what to do." "$LINENO" 5
   21898 	fi
   21899 fi
   21900 rm -f conftest.$ac_ext
   21901 
   21902 
   21903 
   21904 
   21905 
   21906 # Preserves the interface, should it be implemented later
   21907 
   21908 
   21909 
   21910 # Check whether --with-perl was given.
   21911 if test ${with_perl+y}
   21912 then :
   21913   withval=$with_perl; use_perl=$withval
   21914 else case e in #(
   21915   e) use_perl=auto ;;
   21916 esac
   21917 fi
   21918 
   21919 
   21920 
   21921 if test "x$use_perl" = x"auto"; then
   21922    # Extract the first word of "perl", so it can be a program name with args.
   21923 set dummy perl; ac_word=$2
   21924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21925 printf %s "checking for $ac_word... " >&6; }
   21926 if test ${ac_cv_path_PERL+y}
   21927 then :
   21928   printf %s "(cached) " >&6
   21929 else case e in #(
   21930   e) case $PERL in
   21931   [\\/]* | ?:[\\/]*)
   21932   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
   21933   ;;
   21934   *)
   21935   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21936 for as_dir in $PATH
   21937 do
   21938   IFS=$as_save_IFS
   21939   case $as_dir in #(((
   21940     '') as_dir=./ ;;
   21941     */) ;;
   21942     *) as_dir=$as_dir/ ;;
   21943   esac
   21944     for ac_exec_ext in '' $ac_executable_extensions; do
   21945   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21946     ac_cv_path_PERL="$as_dir$ac_word$ac_exec_ext"
   21947     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21948     break 2
   21949   fi
   21950 done
   21951   done
   21952 IFS=$as_save_IFS
   21953 
   21954   ;;
   21955 esac ;;
   21956 esac
   21957 fi
   21958 PERL=$ac_cv_path_PERL
   21959 if test -n "$PERL"; then
   21960   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
   21961 printf "%s\n" "$PERL" >&6; }
   21962 else
   21963   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21964 printf "%s\n" "no" >&6; }
   21965 fi
   21966 
   21967 
   21968    if test "x$PERL" = "x"; then
   21969         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - cannot extract information and report" >&5
   21970 printf "%s\n" "$as_me: WARNING: perl not found - cannot extract information and report" >&2;}
   21971 	have_perl=no
   21972    else
   21973         have_perl=yes
   21974    fi
   21975 elif test "x$use_perl" = x"yes" ; then
   21976    # Extract the first word of "perl", so it can be a program name with args.
   21977 set dummy perl; ac_word=$2
   21978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21979 printf %s "checking for $ac_word... " >&6; }
   21980 if test ${ac_cv_path_PERL+y}
   21981 then :
   21982   printf %s "(cached) " >&6
   21983 else case e in #(
   21984   e) case $PERL in
   21985   [\\/]* | ?:[\\/]*)
   21986   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
   21987   ;;
   21988   *)
   21989   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21990 for as_dir in $PATH
   21991 do
   21992   IFS=$as_save_IFS
   21993   case $as_dir in #(((
   21994     '') as_dir=./ ;;
   21995     */) ;;
   21996     *) as_dir=$as_dir/ ;;
   21997   esac
   21998     for ac_exec_ext in '' $ac_executable_extensions; do
   21999   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   22000     ac_cv_path_PERL="$as_dir$ac_word$ac_exec_ext"
   22001     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   22002     break 2
   22003   fi
   22004 done
   22005   done
   22006 IFS=$as_save_IFS
   22007 
   22008   ;;
   22009 esac ;;
   22010 esac
   22011 fi
   22012 PERL=$ac_cv_path_PERL
   22013 if test -n "$PERL"; then
   22014   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
   22015 printf "%s\n" "$PERL" >&6; }
   22016 else
   22017   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22018 printf "%s\n" "no" >&6; }
   22019 fi
   22020 
   22021 
   22022    if test "x$PERL" = "x"; then
   22023         as_fn_error $? "--with-perl=yes specified but perl not found in PATH" "$LINENO" 5
   22024    fi
   22025    have_perl=yes
   22026 elif test "x$use_perl" = x"no" ; then
   22027    if test "x$PERL" != "x"; then
   22028       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring PERL environment variable since --with-perl=no was specified" >&5
   22029 printf "%s\n" "$as_me: WARNING: ignoring PERL environment variable since --with-perl=no was specified" >&2;}
   22030    fi
   22031    have_perl=no
   22032 else
   22033    as_fn_error $? "--with-perl expects 'yes' or 'no'" "$LINENO" 5
   22034 fi
   22035 
   22036  if test "$have_perl" = yes; then
   22037   HAVE_PERL_TRUE=
   22038   HAVE_PERL_FALSE='#'
   22039 else
   22040   HAVE_PERL_TRUE='#'
   22041   HAVE_PERL_FALSE=
   22042 fi
   22043 
   22044 
   22045 
   22046 # Required when PKG_CHECK_MODULES called within an if statement
   22047 
   22048 
   22049 
   22050 
   22051 
   22052 
   22053 
   22054 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   22055 	if test -n "$ac_tool_prefix"; then
   22056   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   22057 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   22058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   22059 printf %s "checking for $ac_word... " >&6; }
   22060 if test ${ac_cv_path_PKG_CONFIG+y}
   22061 then :
   22062   printf %s "(cached) " >&6
   22063 else case e in #(
   22064   e) case $PKG_CONFIG in
   22065   [\\/]* | ?:[\\/]*)
   22066   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   22067   ;;
   22068   *)
   22069   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22070 for as_dir in $PATH
   22071 do
   22072   IFS=$as_save_IFS
   22073   case $as_dir in #(((
   22074     '') as_dir=./ ;;
   22075     */) ;;
   22076     *) as_dir=$as_dir/ ;;
   22077   esac
   22078     for ac_exec_ext in '' $ac_executable_extensions; do
   22079   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   22080     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   22081     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   22082     break 2
   22083   fi
   22084 done
   22085   done
   22086 IFS=$as_save_IFS
   22087 
   22088   ;;
   22089 esac ;;
   22090 esac
   22091 fi
   22092 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   22093 if test -n "$PKG_CONFIG"; then
   22094   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   22095 printf "%s\n" "$PKG_CONFIG" >&6; }
   22096 else
   22097   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22098 printf "%s\n" "no" >&6; }
   22099 fi
   22100 
   22101 
   22102 fi
   22103 if test -z "$ac_cv_path_PKG_CONFIG"; then
   22104   ac_pt_PKG_CONFIG=$PKG_CONFIG
   22105   # Extract the first word of "pkg-config", so it can be a program name with args.
   22106 set dummy pkg-config; ac_word=$2
   22107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   22108 printf %s "checking for $ac_word... " >&6; }
   22109 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   22110 then :
   22111   printf %s "(cached) " >&6
   22112 else case e in #(
   22113   e) case $ac_pt_PKG_CONFIG in
   22114   [\\/]* | ?:[\\/]*)
   22115   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   22116   ;;
   22117   *)
   22118   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22119 for as_dir in $PATH
   22120 do
   22121   IFS=$as_save_IFS
   22122   case $as_dir in #(((
   22123     '') as_dir=./ ;;
   22124     */) ;;
   22125     *) as_dir=$as_dir/ ;;
   22126   esac
   22127     for ac_exec_ext in '' $ac_executable_extensions; do
   22128   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   22129     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   22130     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   22131     break 2
   22132   fi
   22133 done
   22134   done
   22135 IFS=$as_save_IFS
   22136 
   22137   ;;
   22138 esac ;;
   22139 esac
   22140 fi
   22141 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   22142 if test -n "$ac_pt_PKG_CONFIG"; then
   22143   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   22144 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   22145 else
   22146   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22147 printf "%s\n" "no" >&6; }
   22148 fi
   22149 
   22150   if test "x$ac_pt_PKG_CONFIG" = x; then
   22151     PKG_CONFIG=""
   22152   else
   22153     case $cross_compiling:$ac_tool_warned in
   22154 yes:)
   22155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   22156 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   22157 ac_tool_warned=yes ;;
   22158 esac
   22159     PKG_CONFIG=$ac_pt_PKG_CONFIG
   22160   fi
   22161 else
   22162   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   22163 fi
   22164 
   22165 fi
   22166 if test -n "$PKG_CONFIG"; then
   22167 	_pkg_min_version=0.9.0
   22168 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   22169 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   22170 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   22171 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   22172 printf "%s\n" "yes" >&6; }
   22173 	else
   22174 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22175 printf "%s\n" "no" >&6; }
   22176 		PKG_CONFIG=""
   22177 	fi
   22178 fi
   22179 
   22180 if test x"$CC_FOR_BUILD" = x; then
   22181 	if test x"$cross_compiling" = xyes; then
   22182 	       for ac_prog in gcc cc
   22183 do
   22184   # Extract the first word of "$ac_prog", so it can be a program name with args.
   22185 set dummy $ac_prog; ac_word=$2
   22186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   22187 printf %s "checking for $ac_word... " >&6; }
   22188 if test ${ac_cv_prog_CC_FOR_BUILD+y}
   22189 then :
   22190   printf %s "(cached) " >&6
   22191 else case e in #(
   22192   e) if test -n "$CC_FOR_BUILD"; then
   22193   ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
   22194 else
   22195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22196 for as_dir in $PATH
   22197 do
   22198   IFS=$as_save_IFS
   22199   case $as_dir in #(((
   22200     '') as_dir=./ ;;
   22201     */) ;;
   22202     *) as_dir=$as_dir/ ;;
   22203   esac
   22204     for ac_exec_ext in '' $ac_executable_extensions; do
   22205   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   22206     ac_cv_prog_CC_FOR_BUILD="$ac_prog"
   22207     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   22208     break 2
   22209   fi
   22210 done
   22211   done
   22212 IFS=$as_save_IFS
   22213 
   22214 fi ;;
   22215 esac
   22216 fi
   22217 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
   22218 if test -n "$CC_FOR_BUILD"; then
   22219   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
   22220 printf "%s\n" "$CC_FOR_BUILD" >&6; }
   22221 else
   22222   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22223 printf "%s\n" "no" >&6; }
   22224 fi
   22225 
   22226 
   22227   test -n "$CC_FOR_BUILD" && break
   22228 done
   22229 
   22230 	else
   22231 	       CC_FOR_BUILD="$CC"
   22232 	fi
   22233 fi
   22234 
   22235 
   22236 if test x"$CPPFLAGS_FOR_BUILD" = x; then
   22237 	if test ! x"$cross_compiling" = xyes; then
   22238 		CPPFLAGS_FOR_BUILD=${CPPFLAGS}
   22239 	fi
   22240 fi
   22241 
   22242 
   22243 if test x"$CFLAGS_FOR_BUILD" = x; then
   22244 	if test ! x"$cross_compiling" = xyes; then
   22245 		CFLAGS_FOR_BUILD=${CFLAGS}
   22246 	fi
   22247 fi
   22248 
   22249 
   22250 if test x"$LDFLAGS_FOR_BUILD" = x; then
   22251 	if test ! x"$cross_compiling" = xyes; then
   22252 		LDFLAGS_FOR_BUILD=${LDFLAGS}
   22253 	fi
   22254 fi
   22255 
   22256 
   22257 if test x"$EXEEXT_FOR_BUILD" = x; then
   22258 	if test x"$cross_compiling" = xno; then
   22259 		EXEEXT_FOR_BUILD=${EXEEXT}
   22260 	fi
   22261 	# If cross-compiling and not provided, assume EXEEXT_FOR_BUILD is empty
   22262 fi
   22263 
   22264 
   22265 # Checks for pkg-config packages
   22266 
   22267 # Always required
   22268 X11_REQUIRES='xproto >= 7.0.25 xextproto xtrans xcb >= 1.11.1'
   22269 X11_EXTRA_DEPS="xcb >= 1.11.1"
   22270 
   22271 
   22272 
   22273 
   22274 
   22275 
   22276 
   22277 
   22278 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   22279 	if test -n "$ac_tool_prefix"; then
   22280   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   22281 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   22282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   22283 printf %s "checking for $ac_word... " >&6; }
   22284 if test ${ac_cv_path_PKG_CONFIG+y}
   22285 then :
   22286   printf %s "(cached) " >&6
   22287 else case e in #(
   22288   e) case $PKG_CONFIG in
   22289   [\\/]* | ?:[\\/]*)
   22290   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   22291   ;;
   22292   *)
   22293   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22294 for as_dir in $PATH
   22295 do
   22296   IFS=$as_save_IFS
   22297   case $as_dir in #(((
   22298     '') as_dir=./ ;;
   22299     */) ;;
   22300     *) as_dir=$as_dir/ ;;
   22301   esac
   22302     for ac_exec_ext in '' $ac_executable_extensions; do
   22303   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   22304     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   22305     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   22306     break 2
   22307   fi
   22308 done
   22309   done
   22310 IFS=$as_save_IFS
   22311 
   22312   ;;
   22313 esac ;;
   22314 esac
   22315 fi
   22316 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   22317 if test -n "$PKG_CONFIG"; then
   22318   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   22319 printf "%s\n" "$PKG_CONFIG" >&6; }
   22320 else
   22321   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22322 printf "%s\n" "no" >&6; }
   22323 fi
   22324 
   22325 
   22326 fi
   22327 if test -z "$ac_cv_path_PKG_CONFIG"; then
   22328   ac_pt_PKG_CONFIG=$PKG_CONFIG
   22329   # Extract the first word of "pkg-config", so it can be a program name with args.
   22330 set dummy pkg-config; ac_word=$2
   22331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   22332 printf %s "checking for $ac_word... " >&6; }
   22333 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   22334 then :
   22335   printf %s "(cached) " >&6
   22336 else case e in #(
   22337   e) case $ac_pt_PKG_CONFIG in
   22338   [\\/]* | ?:[\\/]*)
   22339   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   22340   ;;
   22341   *)
   22342   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22343 for as_dir in $PATH
   22344 do
   22345   IFS=$as_save_IFS
   22346   case $as_dir in #(((
   22347     '') as_dir=./ ;;
   22348     */) ;;
   22349     *) as_dir=$as_dir/ ;;
   22350   esac
   22351     for ac_exec_ext in '' $ac_executable_extensions; do
   22352   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   22353     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   22354     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   22355     break 2
   22356   fi
   22357 done
   22358   done
   22359 IFS=$as_save_IFS
   22360 
   22361   ;;
   22362 esac ;;
   22363 esac
   22364 fi
   22365 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   22366 if test -n "$ac_pt_PKG_CONFIG"; then
   22367   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   22368 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   22369 else
   22370   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22371 printf "%s\n" "no" >&6; }
   22372 fi
   22373 
   22374   if test "x$ac_pt_PKG_CONFIG" = x; then
   22375     PKG_CONFIG=""
   22376   else
   22377     case $cross_compiling:$ac_tool_warned in
   22378 yes:)
   22379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   22380 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   22381 ac_tool_warned=yes ;;
   22382 esac
   22383     PKG_CONFIG=$ac_pt_PKG_CONFIG
   22384   fi
   22385 else
   22386   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   22387 fi
   22388 
   22389 fi
   22390 if test -n "$PKG_CONFIG"; then
   22391 	_pkg_min_version=0.9.0
   22392 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   22393 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   22394 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   22395 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   22396 printf "%s\n" "yes" >&6; }
   22397 	else
   22398 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22399 printf "%s\n" "no" >&6; }
   22400 		PKG_CONFIG=""
   22401 	fi
   22402 fi
   22403 
   22404 
   22405 
   22406 # Issue an error if xtrans.m4 was not found and XTRANS_CONNECTION_FLAGS macro
   22407 # was not expanded, since libX11 with no transport types is rather useless.
   22408 #
   22409 # If you're seeing an error here, be sure you installed the lib/xtrans module
   22410 # first and if it's not in the default location, that you set the ACLOCAL
   22411 # environment variable to find it, such as:
   22412 #	ACLOCAL="aclocal -I ${PREFIX}/share/aclocal"
   22413 
   22414 
   22415 # Transport selection macro from xtrans.m4
   22416 
   22417 
   22418  case $host_os in
   22419 	mingw*)	unixdef="no"   ;;
   22420 	*)	unixdef="yes"  ;;
   22421  esac
   22422  # Check whether --enable-unix-transport was given.
   22423 if test ${enable_unix_transport+y}
   22424 then :
   22425   enableval=$enable_unix_transport; UNIXCONN=$enableval
   22426 else case e in #(
   22427   e) UNIXCONN=$unixdef ;;
   22428 esac
   22429 fi
   22430 
   22431  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support UNIX socket connections" >&5
   22432 printf %s "checking if Xtrans should support UNIX socket connections... " >&6; }
   22433  if test "$UNIXCONN" = "yes"; then
   22434 
   22435 printf "%s\n" "#define UNIXCONN 1" >>confdefs.h
   22436 
   22437  fi
   22438  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $UNIXCONN" >&5
   22439 printf "%s\n" "$UNIXCONN" >&6; }
   22440  # Check whether --enable-tcp-transport was given.
   22441 if test ${enable_tcp_transport+y}
   22442 then :
   22443   enableval=$enable_tcp_transport; TCPCONN=$enableval
   22444 else case e in #(
   22445   e) TCPCONN=yes ;;
   22446 esac
   22447 fi
   22448 
   22449  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support TCP socket connections" >&5
   22450 printf %s "checking if Xtrans should support TCP socket connections... " >&6; }
   22451  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $TCPCONN" >&5
   22452 printf "%s\n" "$TCPCONN" >&6; }
   22453  if test "$TCPCONN" = "yes"; then
   22454 
   22455 printf "%s\n" "#define TCPCONN 1" >>confdefs.h
   22456 
   22457 
   22458  # SVR4 hides these in libraries other than libc
   22459  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
   22460 printf %s "checking for library containing socket... " >&6; }
   22461 if test ${ac_cv_search_socket+y}
   22462 then :
   22463   printf %s "(cached) " >&6
   22464 else case e in #(
   22465   e) ac_func_search_save_LIBS=$LIBS
   22466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22467 /* end confdefs.h.  */
   22468 
   22469 /* Override any GCC internal prototype to avoid an error.
   22470    Use char because int might match the return type of a GCC
   22471    builtin and then its argument prototype would still apply.
   22472    The 'extern "C"' is for builds by C++ compilers;
   22473    although this is not generally supported in C code supporting it here
   22474    has little cost and some practical benefit (sr 110532).  */
   22475 #ifdef __cplusplus
   22476 extern "C"
   22477 #endif
   22478 char socket (void);
   22479 int
   22480 main (void)
   22481 {
   22482 return socket ();
   22483   ;
   22484   return 0;
   22485 }
   22486 _ACEOF
   22487 for ac_lib in '' socket
   22488 do
   22489   if test -z "$ac_lib"; then
   22490     ac_res="none required"
   22491   else
   22492     ac_res=-l$ac_lib
   22493     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   22494   fi
   22495   if ac_fn_c_try_link "$LINENO"
   22496 then :
   22497   ac_cv_search_socket=$ac_res
   22498 fi
   22499 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   22500     conftest$ac_exeext
   22501   if test ${ac_cv_search_socket+y}
   22502 then :
   22503   break
   22504 fi
   22505 done
   22506 if test ${ac_cv_search_socket+y}
   22507 then :
   22508 
   22509 else case e in #(
   22510   e) ac_cv_search_socket=no ;;
   22511 esac
   22512 fi
   22513 rm conftest.$ac_ext
   22514 LIBS=$ac_func_search_save_LIBS ;;
   22515 esac
   22516 fi
   22517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
   22518 printf "%s\n" "$ac_cv_search_socket" >&6; }
   22519 ac_res=$ac_cv_search_socket
   22520 if test "$ac_res" != no
   22521 then :
   22522   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   22523 
   22524 fi
   22525 
   22526  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
   22527 printf %s "checking for library containing gethostbyname... " >&6; }
   22528 if test ${ac_cv_search_gethostbyname+y}
   22529 then :
   22530   printf %s "(cached) " >&6
   22531 else case e in #(
   22532   e) ac_func_search_save_LIBS=$LIBS
   22533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22534 /* end confdefs.h.  */
   22535 
   22536 /* Override any GCC internal prototype to avoid an error.
   22537    Use char because int might match the return type of a GCC
   22538    builtin and then its argument prototype would still apply.
   22539    The 'extern "C"' is for builds by C++ compilers;
   22540    although this is not generally supported in C code supporting it here
   22541    has little cost and some practical benefit (sr 110532).  */
   22542 #ifdef __cplusplus
   22543 extern "C"
   22544 #endif
   22545 char gethostbyname (void);
   22546 int
   22547 main (void)
   22548 {
   22549 return gethostbyname ();
   22550   ;
   22551   return 0;
   22552 }
   22553 _ACEOF
   22554 for ac_lib in '' nsl
   22555 do
   22556   if test -z "$ac_lib"; then
   22557     ac_res="none required"
   22558   else
   22559     ac_res=-l$ac_lib
   22560     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   22561   fi
   22562   if ac_fn_c_try_link "$LINENO"
   22563 then :
   22564   ac_cv_search_gethostbyname=$ac_res
   22565 fi
   22566 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   22567     conftest$ac_exeext
   22568   if test ${ac_cv_search_gethostbyname+y}
   22569 then :
   22570   break
   22571 fi
   22572 done
   22573 if test ${ac_cv_search_gethostbyname+y}
   22574 then :
   22575 
   22576 else case e in #(
   22577   e) ac_cv_search_gethostbyname=no ;;
   22578 esac
   22579 fi
   22580 rm conftest.$ac_ext
   22581 LIBS=$ac_func_search_save_LIBS ;;
   22582 esac
   22583 fi
   22584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
   22585 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
   22586 ac_res=$ac_cv_search_gethostbyname
   22587 if test "$ac_res" != no
   22588 then :
   22589   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   22590 
   22591 fi
   22592 
   22593  if test "$ac_cv_search_socket$ac_cv_search_gethostbyname" = "nono"; then
   22594    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
   22595 printf %s "checking for main in -lws2_32... " >&6; }
   22596 if test ${ac_cv_lib_ws2_32_main+y}
   22597 then :
   22598   printf %s "(cached) " >&6
   22599 else case e in #(
   22600   e) ac_check_lib_save_LIBS=$LIBS
   22601 LIBS="-lws2_32  $LIBS"
   22602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22603 /* end confdefs.h.  */
   22604 
   22605 
   22606 int
   22607 main (void)
   22608 {
   22609 return main ();
   22610   ;
   22611   return 0;
   22612 }
   22613 _ACEOF
   22614 if ac_fn_c_try_link "$LINENO"
   22615 then :
   22616   ac_cv_lib_ws2_32_main=yes
   22617 else case e in #(
   22618   e) ac_cv_lib_ws2_32_main=no ;;
   22619 esac
   22620 fi
   22621 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   22622     conftest$ac_exeext conftest.$ac_ext
   22623 LIBS=$ac_check_lib_save_LIBS ;;
   22624 esac
   22625 fi
   22626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
   22627 printf "%s\n" "$ac_cv_lib_ws2_32_main" >&6; }
   22628 if test "x$ac_cv_lib_ws2_32_main" = xyes
   22629 then :
   22630   printf "%s\n" "#define HAVE_LIBWS2_32 1" >>confdefs.h
   22631 
   22632   LIBS="-lws2_32 $LIBS"
   22633 
   22634 fi
   22635 
   22636  fi
   22637 
   22638  # Needs to come after above checks for libsocket & libnsl for SVR4 systems
   22639  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
   22640 if test "x$ac_cv_func_getaddrinfo" = xyes
   22641 then :
   22642   printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
   22643 
   22644 fi
   22645 ac_fn_c_check_func "$LINENO" "inet_ntop" "ac_cv_func_inet_ntop"
   22646 if test "x$ac_cv_func_inet_ntop" = xyes
   22647 then :
   22648   printf "%s\n" "#define HAVE_INET_NTOP 1" >>confdefs.h
   22649 
   22650 fi
   22651 
   22652 
   22653  # Check whether --enable-ipv6 was given.
   22654 if test ${enable_ipv6+y}
   22655 then :
   22656   enableval=$enable_ipv6; IPV6CONN=$enableval
   22657 else case e in #(
   22658   e) IPV6CONN=$ac_cv_func_getaddrinfo ;;
   22659 esac
   22660 fi
   22661 
   22662  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IPv6 support should be built" >&5
   22663 printf %s "checking if IPv6 support should be built... " >&6; }
   22664  if test "$IPV6CONN" = "yes"; then
   22665 
   22666 printf "%s\n" "#define IPv6 1" >>confdefs.h
   22667 
   22668  fi
   22669  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $IPV6CONN" >&5
   22670 printf "%s\n" "$IPV6CONN" >&6; }
   22671 
   22672  # 4.3BSD-Reno added a new member to struct sockaddr_in
   22673  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "
   22674 #include <sys/types.h>
   22675 #include <sys/socket.h>
   22676 #include <netinet/in.h>
   22677 
   22678 "
   22679 if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes
   22680 then :
   22681 
   22682 printf "%s\n" "#define BSD44SOCKETS 1" >>confdefs.h
   22683 
   22684 fi
   22685 
   22686 
   22687  # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc.
   22688  # and added a type defined to be large enough to hold any sockaddr format.
   22689  ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
   22690 $ac_includes_default
   22691 #include <sys/socket.h>
   22692 
   22693 "
   22694 if test "x$ac_cv_type_socklen_t" = xyes
   22695 then :
   22696 
   22697 printf "%s\n" "#define HAVE_SOCKLEN_T 1" >>confdefs.h
   22698 
   22699 
   22700 fi
   22701 ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "
   22702 $ac_includes_default
   22703 #include <sys/socket.h>
   22704 
   22705 "
   22706 if test "x$ac_cv_type_struct_sockaddr_storage" = xyes
   22707 then :
   22708 
   22709 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_STORAGE 1" >>confdefs.h
   22710 
   22711 
   22712 fi
   22713 
   22714 
   22715  # XPG4v2/UNIX95 added msg_control - check to see if we need to define
   22716  # _XOPEN_SOURCE to get it (such as on Solaris)
   22717  ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   22718 $ac_includes_default
   22719 #include <sys/socket.h>
   22720 
   22721 "
   22722 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
   22723 then :
   22724 
   22725 fi
   22726 
   22727  # First try for Solaris in C99 compliant mode, which requires XPG6/UNIX03
   22728  if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   22729      unset ac_cv_member_struct_msghdr_msg_control
   22730      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=600" >&5
   22731 printf "%s\n" "$as_me: trying again with _XOPEN_SOURCE=600" >&6;}
   22732      ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   22733 #define _XOPEN_SOURCE 600
   22734 $ac_includes_default
   22735 #include <sys/socket.h>
   22736 
   22737 "
   22738 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
   22739 then :
   22740 
   22741 printf "%s\n" "#define _XOPEN_SOURCE 600" >>confdefs.h
   22742 
   22743 
   22744 fi
   22745 
   22746  fi
   22747  # If that didn't work, fall back to XPG5/UNIX98 with C89
   22748  if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   22749      unset ac_cv_member_struct_msghdr_msg_control
   22750      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=500" >&5
   22751 printf "%s\n" "$as_me: trying again with _XOPEN_SOURCE=500" >&6;}
   22752      ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   22753 #define _XOPEN_SOURCE 500
   22754 $ac_includes_default
   22755 #include <sys/socket.h>
   22756 
   22757 "
   22758 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
   22759 then :
   22760 
   22761 printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
   22762 
   22763 
   22764 fi
   22765 
   22766  fi
   22767 
   22768 
   22769 
   22770  fi
   22771  case $host_os in
   22772 	solaris*)		localdef="yes" ;;
   22773 	*)			localdef="no"  ;;
   22774  esac
   22775  # Check whether --enable-local-transport was given.
   22776 if test ${enable_local_transport+y}
   22777 then :
   22778   enableval=$enable_local_transport; LOCALCONN=$enableval
   22779 else case e in #(
   22780   e) LOCALCONN=$localdef ;;
   22781 esac
   22782 fi
   22783 
   22784  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support os-specific local connections" >&5
   22785 printf %s "checking if Xtrans should support os-specific local connections... " >&6; }
   22786  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LOCALCONN" >&5
   22787 printf "%s\n" "$LOCALCONN" >&6; }
   22788  if test "$LOCALCONN" = "yes"; then
   22789 
   22790 printf "%s\n" "#define LOCALCONN 1" >>confdefs.h
   22791 
   22792  fi
   22793 
   22794  # Other functions Xtrans may need
   22795  ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
   22796 if test "x$ac_cv_func_strcasecmp" = xyes
   22797 then :
   22798   printf "%s\n" "#define HAVE_STRCASECMP 1" >>confdefs.h
   22799 
   22800 fi
   22801 ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
   22802 if test "x$ac_cv_func_strlcpy" = xyes
   22803 then :
   22804   printf "%s\n" "#define HAVE_STRLCPY 1" >>confdefs.h
   22805 
   22806 fi
   22807 
   22808 
   22809 
   22810 
   22811 # Check for dlopen
   22812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
   22813 printf %s "checking for library containing dlopen... " >&6; }
   22814 if test ${ac_cv_search_dlopen+y}
   22815 then :
   22816   printf %s "(cached) " >&6
   22817 else case e in #(
   22818   e) ac_func_search_save_LIBS=$LIBS
   22819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22820 /* end confdefs.h.  */
   22821 
   22822 /* Override any GCC internal prototype to avoid an error.
   22823    Use char because int might match the return type of a GCC
   22824    builtin and then its argument prototype would still apply.
   22825    The 'extern "C"' is for builds by C++ compilers;
   22826    although this is not generally supported in C code supporting it here
   22827    has little cost and some practical benefit (sr 110532).  */
   22828 #ifdef __cplusplus
   22829 extern "C"
   22830 #endif
   22831 char dlopen (void);
   22832 int
   22833 main (void)
   22834 {
   22835 return dlopen ();
   22836   ;
   22837   return 0;
   22838 }
   22839 _ACEOF
   22840 for ac_lib in '' dl svld
   22841 do
   22842   if test -z "$ac_lib"; then
   22843     ac_res="none required"
   22844   else
   22845     ac_res=-l$ac_lib
   22846     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   22847   fi
   22848   if ac_fn_c_try_link "$LINENO"
   22849 then :
   22850   ac_cv_search_dlopen=$ac_res
   22851 fi
   22852 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   22853     conftest$ac_exeext
   22854   if test ${ac_cv_search_dlopen+y}
   22855 then :
   22856   break
   22857 fi
   22858 done
   22859 if test ${ac_cv_search_dlopen+y}
   22860 then :
   22861 
   22862 else case e in #(
   22863   e) ac_cv_search_dlopen=no ;;
   22864 esac
   22865 fi
   22866 rm conftest.$ac_ext
   22867 LIBS=$ac_func_search_save_LIBS ;;
   22868 esac
   22869 fi
   22870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
   22871 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
   22872 ac_res=$ac_cv_search_dlopen
   22873 if test "$ac_res" != no
   22874 then :
   22875   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   22876 
   22877 fi
   22878 
   22879 if test "x$ac_cv_search_dlopen" != xno; then
   22880 
   22881 printf "%s\n" "#define HAVE_DLOPEN 1" >>confdefs.h
   22882 
   22883 	ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
   22884 if test "x$ac_cv_header_dlfcn_h" = xyes
   22885 then :
   22886   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   22887 
   22888 fi
   22889 
   22890 fi
   22891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if run-time linking is supported" >&5
   22892 printf %s "checking if run-time linking is supported... " >&6; }
   22893 if test "x$ac_cv_header_dlfcn_h" = xyes; then
   22894 	HAVE_LOADABLE_MODULES=yes
   22895 else
   22896 	HAVE_LOADABLE_MODULES=no
   22897 fi
   22898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $HAVE_LOADABLE_MODULES" >&5
   22899 printf "%s\n" "$HAVE_LOADABLE_MODULES" >&6; }
   22900 
   22901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if loadable i18n module support should be enabled" >&5
   22902 printf %s "checking if loadable i18n module support should be enabled... " >&6; }
   22903 # Check whether --enable-loadable-i18n was given.
   22904 if test ${enable_loadable_i18n+y}
   22905 then :
   22906   enableval=$enable_loadable_i18n; XLIB_LOADABLE_I18N=$enableval
   22907 else case e in #(
   22908   e) XLIB_LOADABLE_I18N="no" ;;
   22909 esac
   22910 fi
   22911 
   22912 if test x$XLIB_LOADABLE_I18N = xyes; then
   22913 	if test x$HAVE_LOADABLE_MODULES = xno; then
   22914 		as_fn_error $? "Loadable module support is required to enable loadable i18n module support" "$LINENO" 5
   22915 	fi
   22916 
   22917 printf "%s\n" "#define USE_DYNAMIC_LC 1" >>confdefs.h
   22918 
   22919 	I18N_MODULE_LIBS='${top_builddir}/src/libX11.la'
   22920 
   22921 fi
   22922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XLIB_LOADABLE_I18N" >&5
   22923 printf "%s\n" "$XLIB_LOADABLE_I18N" >&6; }
   22924 
   22925  if test x$XLIB_LOADABLE_I18N = xyes; then
   22926   XLIB_LOADABLE_I18N_TRUE=
   22927   XLIB_LOADABLE_I18N_FALSE='#'
   22928 else
   22929   XLIB_LOADABLE_I18N_TRUE='#'
   22930   XLIB_LOADABLE_I18N_FALSE=
   22931 fi
   22932 
   22933 
   22934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if loadable Xcursor library support should be enabled" >&5
   22935 printf %s "checking if loadable Xcursor library support should be enabled... " >&6; }
   22936 # Check whether --enable-loadable-xcursor was given.
   22937 if test ${enable_loadable_xcursor+y}
   22938 then :
   22939   enableval=$enable_loadable_xcursor; XLIB_LOADABLE_XCURSOR=$enableval
   22940 else case e in #(
   22941   e) XLIB_LOADABLE_XCURSOR=$HAVE_LOADABLE_MODULES ;;
   22942 esac
   22943 fi
   22944 
   22945 if test x$XLIB_LOADABLE_XCURSOR = xyes; then
   22946 
   22947 printf "%s\n" "#define USE_DYNAMIC_XCURSOR 1" >>confdefs.h
   22948 
   22949 fi
   22950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XLIB_LOADABLE_XCURSOR" >&5
   22951 printf "%s\n" "$XLIB_LOADABLE_XCURSOR" >&6; }
   22952 
   22953 # Check whether --enable-thread-safety-constructor was given.
   22954 if test ${enable_thread_safety_constructor+y}
   22955 then :
   22956   enableval=$enable_thread_safety_constructor; USE_THREAD_SAFETY_CONSTRUCTOR=$enableval
   22957 else case e in #(
   22958   e) USE_THREAD_SAFETY_CONSTRUCTOR="yes" ;;
   22959 esac
   22960 fi
   22961 
   22962 if test "x$USE_THREAD_SAFETY_CONSTRUCTOR" = "xyes"; then
   22963 
   22964 printf "%s\n" "#define USE_THREAD_SAFETY_CONSTRUCTOR 1" >>confdefs.h
   22965 
   22966 fi
   22967 
   22968 # Checks for header files.
   22969 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
   22970 if test "x$ac_cv_header_sys_filio_h" = xyes
   22971 then :
   22972   printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
   22973 
   22974 fi
   22975 ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default"
   22976 if test "x$ac_cv_header_sys_select_h" = xyes
   22977 then :
   22978   printf "%s\n" "#define HAVE_SYS_SELECT_H 1" >>confdefs.h
   22979 
   22980 fi
   22981 ac_fn_c_check_header_compile "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default"
   22982 if test "x$ac_cv_header_sys_ioctl_h" = xyes
   22983 then :
   22984   printf "%s\n" "#define HAVE_SYS_IOCTL_H 1" >>confdefs.h
   22985 
   22986 fi
   22987 ac_fn_c_check_header_compile "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
   22988 if test "x$ac_cv_header_sys_socket_h" = xyes
   22989 then :
   22990   printf "%s\n" "#define HAVE_SYS_SOCKET_H 1" >>confdefs.h
   22991 
   22992 fi
   22993 
   22994 
   22995 # Checks for typedefs, structures, and compiler characteristics.
   22996 
   22997 
   22998 
   22999     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcountl" >&5
   23000 printf %s "checking for __builtin_popcountl... " >&6; }
   23001 if test ${ax_cv_have___builtin_popcountl+y}
   23002 then :
   23003   printf %s "(cached) " >&6
   23004 else case e in #(
   23005   e)
   23006         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23007 /* end confdefs.h.  */
   23008 
   23009 int
   23010 main (void)
   23011 {
   23012 
   23013             __builtin_popcountl(0)
   23014 
   23015   ;
   23016   return 0;
   23017 }
   23018 _ACEOF
   23019 if ac_fn_c_try_link "$LINENO"
   23020 then :
   23021   ax_cv_have___builtin_popcountl=yes
   23022 else case e in #(
   23023   e) ax_cv_have___builtin_popcountl=no ;;
   23024 esac
   23025 fi
   23026 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   23027     conftest$ac_exeext conftest.$ac_ext
   23028      ;;
   23029 esac
   23030 fi
   23031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have___builtin_popcountl" >&5
   23032 printf "%s\n" "$ax_cv_have___builtin_popcountl" >&6; }
   23033 
   23034     if test yes = $ax_cv_have___builtin_popcountl
   23035 then :
   23036 
   23037 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNTL 1" >>confdefs.h
   23038 
   23039 fi
   23040 
   23041 
   23042 
   23043 
   23044 # Checks for library functions.
   23045 ac_fn_c_check_func "$LINENO" "strtol" "ac_cv_func_strtol"
   23046 if test "x$ac_cv_func_strtol" = xyes
   23047 then :
   23048   printf "%s\n" "#define HAVE_STRTOL 1" >>confdefs.h
   23049 
   23050 fi
   23051 ac_fn_c_check_func "$LINENO" "seteuid" "ac_cv_func_seteuid"
   23052 if test "x$ac_cv_func_seteuid" = xyes
   23053 then :
   23054   printf "%s\n" "#define HAVE_SETEUID 1" >>confdefs.h
   23055 
   23056 fi
   23057 
   23058 ac_fn_c_check_func "$LINENO" "reallocarray" "ac_cv_func_reallocarray"
   23059 if test "x$ac_cv_func_reallocarray" = xyes
   23060 then :
   23061   printf "%s\n" "#define HAVE_REALLOCARRAY 1" >>confdefs.h
   23062 
   23063 else case e in #(
   23064   e) case " $LIBOBJS " in
   23065   *" reallocarray.$ac_objext "* ) ;;
   23066   *) LIBOBJS="$LIBOBJS reallocarray.$ac_objext"
   23067  ;;
   23068 esac
   23069  ;;
   23070 esac
   23071 fi
   23072 
   23073 # Used in lcFile.c (see also --enable-xlocaledir settings below)
   23074 XLOCALEDIR_IS_SAFE="no"
   23075 ac_fn_check_decl "$LINENO" "issetugid" "ac_cv_have_decl_issetugid" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   23076 if test "x$ac_cv_have_decl_issetugid" = xyes
   23077 then :
   23078 
   23079 fi
   23080 ac_fn_c_check_func "$LINENO" "issetugid" "ac_cv_func_issetugid"
   23081 if test "x$ac_cv_func_issetugid" = xyes
   23082 then :
   23083 
   23084 fi
   23085 
   23086 if test "$ac_cv_have_decl_issetugid" = yes && test "$ac_cv_func_issetugid" = yes; then
   23087     XLOCALEDIR_IS_SAFE="yes"
   23088 
   23089 printf "%s\n" "#define HASSETUGID 1" >>confdefs.h
   23090 
   23091 fi
   23092 ac_fn_c_check_func "$LINENO" "getresuid" "ac_cv_func_getresuid"
   23093 if test "x$ac_cv_func_getresuid" = xyes
   23094 then :
   23095   XLOCALEDIR_IS_SAFE="yes"
   23096 
   23097 printf "%s\n" "#define HASGETRESUID 1" >>confdefs.h
   23098 
   23099 fi
   23100 
   23101 # Used in Font.c
   23102 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
   23103 if test "x$ac_cv_func_shmat" = xyes
   23104 then :
   23105 
   23106 printf "%s\n" "#define HAS_SHM 1" >>confdefs.h
   23107 
   23108 fi
   23109 
   23110 
   23111 # Checks for system services
   23112 # AC_PATH_XTRA
   23113 
   23114 # arch specific things
   23115 WCHAR32="1"
   23116 case $host_os in
   23117   os2*) os2="true" ; WCHAR32="0" ;;
   23118   *) ;;
   23119 esac
   23120 
   23121 
   23122  if test x$os2 = xtrue; then
   23123   OS2_TRUE=
   23124   OS2_FALSE='#'
   23125 else
   23126   OS2_TRUE='#'
   23127   OS2_FALSE=
   23128 fi
   23129 
   23130 
   23131 
   23132 # Check whether --with-launchd was given.
   23133 if test ${with_launchd+y}
   23134 then :
   23135   withval=$with_launchd; LAUNCHD=$withval
   23136 else case e in #(
   23137   e) LAUNCHD=auto ;;
   23138 esac
   23139 fi
   23140 
   23141 if test "x$LAUNCHD" = xauto; then
   23142 	unset LAUNCHD
   23143 	# Extract the first word of "launchd", so it can be a program name with args.
   23144 set dummy launchd; ac_word=$2
   23145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   23146 printf %s "checking for $ac_word... " >&6; }
   23147 if test ${ac_cv_prog_LAUNCHD+y}
   23148 then :
   23149   printf %s "(cached) " >&6
   23150 else case e in #(
   23151   e) if test -n "$LAUNCHD"; then
   23152   ac_cv_prog_LAUNCHD="$LAUNCHD" # Let the user override the test.
   23153 else
   23154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   23155 for as_dir in $PATH$PATH_SEPARATOR/sbin
   23156 do
   23157   IFS=$as_save_IFS
   23158   case $as_dir in #(((
   23159     '') as_dir=./ ;;
   23160     */) ;;
   23161     *) as_dir=$as_dir/ ;;
   23162   esac
   23163     for ac_exec_ext in '' $ac_executable_extensions; do
   23164   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   23165     ac_cv_prog_LAUNCHD="yes"
   23166     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   23167     break 2
   23168   fi
   23169 done
   23170   done
   23171 IFS=$as_save_IFS
   23172 
   23173   test -z "$ac_cv_prog_LAUNCHD" && ac_cv_prog_LAUNCHD="no"
   23174 fi ;;
   23175 esac
   23176 fi
   23177 LAUNCHD=$ac_cv_prog_LAUNCHD
   23178 if test -n "$LAUNCHD"; then
   23179   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LAUNCHD" >&5
   23180 printf "%s\n" "$LAUNCHD" >&6; }
   23181 else
   23182   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23183 printf "%s\n" "no" >&6; }
   23184 fi
   23185 
   23186 
   23187 fi
   23188 
   23189 if test "x$LAUNCHD" = xyes ; then
   23190 
   23191 printf "%s\n" "#define HAVE_LAUNCHD 1" >>confdefs.h
   23192 
   23193 
   23194 printf "%s\n" "#define TRANS_REOPEN 1" >>confdefs.h
   23195 
   23196 fi
   23197 
   23198 # Check whether --enable-xthreads was given.
   23199 if test ${enable_xthreads+y}
   23200 then :
   23201   enableval=$enable_xthreads; xthreads=$enableval
   23202 else case e in #(
   23203   e) xthreads=yes ;;
   23204 esac
   23205 fi
   23206 
   23207 
   23208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getpwuid_r in -lc" >&5
   23209 printf %s "checking for getpwuid_r in -lc... " >&6; }
   23210 if test ${ac_cv_lib_c_getpwuid_r+y}
   23211 then :
   23212   printf %s "(cached) " >&6
   23213 else case e in #(
   23214   e) ac_check_lib_save_LIBS=$LIBS
   23215 LIBS="-lc  $LIBS"
   23216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23217 /* end confdefs.h.  */
   23218 
   23219 /* Override any GCC internal prototype to avoid an error.
   23220    Use char because int might match the return type of a GCC
   23221    builtin and then its argument prototype would still apply.
   23222    The 'extern "C"' is for builds by C++ compilers;
   23223    although this is not generally supported in C code supporting it here
   23224    has little cost and some practical benefit (sr 110532).  */
   23225 #ifdef __cplusplus
   23226 extern "C"
   23227 #endif
   23228 char getpwuid_r (void);
   23229 int
   23230 main (void)
   23231 {
   23232 return getpwuid_r ();
   23233   ;
   23234   return 0;
   23235 }
   23236 _ACEOF
   23237 if ac_fn_c_try_link "$LINENO"
   23238 then :
   23239   ac_cv_lib_c_getpwuid_r=yes
   23240 else case e in #(
   23241   e) ac_cv_lib_c_getpwuid_r=no ;;
   23242 esac
   23243 fi
   23244 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   23245     conftest$ac_exeext conftest.$ac_ext
   23246 LIBS=$ac_check_lib_save_LIBS ;;
   23247 esac
   23248 fi
   23249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getpwuid_r" >&5
   23250 printf "%s\n" "$ac_cv_lib_c_getpwuid_r" >&6; }
   23251 if test "x$ac_cv_lib_c_getpwuid_r" = xyes
   23252 then :
   23253   mtsafeapi="yes"
   23254 else case e in #(
   23255   e) mtsafeapi="no" ;;
   23256 esac
   23257 fi
   23258 
   23259 
   23260 case x$xthreads in
   23261 xyes)
   23262 
   23263 printf "%s\n" "#define XTHREADS 1" >>confdefs.h
   23264 
   23265 	if test x$mtsafeapi = xyes
   23266 	then
   23267 
   23268 printf "%s\n" "#define XUSE_MTSAFE_API 1" >>confdefs.h
   23269 
   23270 	fi
   23271 	;;
   23272 *)
   23273 	;;
   23274 esac
   23275 
   23276 # XXX incomplete, please fill this in
   23277 if test x$xthreads = xyes ; then
   23278     case $host_os in
   23279     linux*|gnu*|k*bsd*-gnu)
   23280         XTHREADLIB=-lpthread ;;
   23281     netbsd*)
   23282 	XTHREAD_CFLAGS="-D_POSIX_THREAD_SAFE_FUNCTIONS"
   23283 	XTHREADLIB="-lpthread" ;;
   23284     freebsd*)
   23285         XTHREAD_CFLAGS="-D_THREAD_SAFE"
   23286         XTHREADLIB="-pthread" ;;
   23287     dragonfly*|openbsd*)
   23288         XTHREADLIB="-pthread" ;;
   23289     solaris*)
   23290 	XTHREAD_CFLAGS="-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS" ;;
   23291     esac
   23292 fi
   23293 
   23294 
   23295 
   23296 if test "x$USE_THREAD_SAFETY_CONSTRUCTOR" = "xyes"; then
   23297     USE_THREAD_LIBS="$XTHREADLIB"
   23298 else
   23299     # This should be kept in sync with libxcb
   23300     case $host_os in
   23301     linux*|darwin*|solaris*|dragonfly*|freebsd*|netbsd*) ;;
   23302          *) X11_REQUIRES="$X11_REQUIRES pthread-stubs" ;;
   23303     esac
   23304 fi
   23305 
   23306 
   23307 ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
   23308 if test "x$ac_cv_func_poll" = xyes
   23309 then :
   23310 
   23311 printf "%s\n" "#define USE_POLL 1" >>confdefs.h
   23312 
   23313 fi
   23314 
   23315 
   23316 #
   23317 # Find keysymdef.h
   23318 #
   23319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking keysym definitions" >&5
   23320 printf %s "checking keysym definitions... " >&6; }
   23321 
   23322 # Check whether --with-keysymdefdir was given.
   23323 if test ${with_keysymdefdir+y}
   23324 then :
   23325   withval=$with_keysymdefdir; KEYSYMDEFDIR=$withval
   23326 else case e in #(
   23327   e) KEYSYMDEFDIR=`$PKG_CONFIG --variable=includedir xproto`/X11 ;;
   23328 esac
   23329 fi
   23330 
   23331 
   23332 if test ! -d "$KEYSYMDEFDIR"; then
   23333 	as_fn_error $? "$KEYSYMDEFDIR doesn't exist or isn't a directory" "$LINENO" 5
   23334 fi
   23335 
   23336 FILES="keysymdef.h XF86keysym.h Sunkeysym.h DECkeysym.h HPkeysym.h"
   23337 for i in $FILES; do
   23338     if test -f "$KEYSYMDEFDIR/$i"; then
   23339             KEYSYMDEFS="$KEYSYMDEFS $KEYSYMDEFDIR/$i"
   23340     elif test "x$i" = "xkeysymdef.h"; then
   23341 	    as_fn_error $? "Cannot find keysymdef.h" "$LINENO" 5
   23342     fi
   23343 done
   23344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $KEYSYMDEFS" >&5
   23345 printf "%s\n" "$KEYSYMDEFS" >&6; }
   23346 
   23347 
   23348 # Check whether --enable-xcms was given.
   23349 if test ${enable_xcms+y}
   23350 then :
   23351   enableval=$enable_xcms; XCMS=$enableval
   23352 else case e in #(
   23353   e) XCMS=yes ;;
   23354 esac
   23355 fi
   23356 
   23357  if test x$XCMS = xyes ; then
   23358   XCMS_TRUE=
   23359   XCMS_FALSE='#'
   23360 else
   23361   XCMS_TRUE='#'
   23362   XCMS_FALSE=
   23363 fi
   23364 
   23365 if test x"$XCMS" = "xyes"; then
   23366 
   23367 printf "%s\n" "#define XCMS 1" >>confdefs.h
   23368 
   23369 fi
   23370 
   23371 # Check whether --enable-xlocale was given.
   23372 if test ${enable_xlocale+y}
   23373 then :
   23374   enableval=$enable_xlocale; XLOCALE=$enableval
   23375 else case e in #(
   23376   e) XLOCALE=yes ;;
   23377 esac
   23378 fi
   23379 
   23380 
   23381  if  test x$XLOCALE = xyes ; then
   23382   XLOCALE_TRUE=
   23383   XLOCALE_FALSE='#'
   23384 else
   23385   XLOCALE_TRUE='#'
   23386   XLOCALE_FALSE=
   23387 fi
   23388 
   23389 if test x"$XLOCALE" = "xyes"; then
   23390 
   23391 printf "%s\n" "#define XLOCALE 1" >>confdefs.h
   23392 
   23393 fi
   23394 
   23395 # This disables XLOCALEDIR.  Set it if you're using BuildLoadableXlibI18n,
   23396 # don't have either issetugid() or getresuid(), and you need to protect
   23397 # clients that are setgid or setuid to an id other than 0.
   23398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if XLOCALEDIR support should be enabled" >&5
   23399 printf %s "checking if XLOCALEDIR support should be enabled... " >&6; }
   23400 # Check whether --enable-xlocaledir was given.
   23401 if test ${enable_xlocaledir+y}
   23402 then :
   23403   enableval=$enable_xlocaledir; ENABLE_XLOCALEDIR=$enableval
   23404 else case e in #(
   23405   e) ENABLE_XLOCALEDIR=$XLOCALEDIR_IS_SAFE ;;
   23406 esac
   23407 fi
   23408 
   23409 if test "x$ENABLE_XLOCALEDIR" = "xno"; then
   23410 
   23411 printf "%s\n" "#define NO_XLOCALEDIR 1" >>confdefs.h
   23412 
   23413 fi
   23414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ENABLE_XLOCALEDIR" >&5
   23415 printf "%s\n" "$ENABLE_XLOCALEDIR" >&6; }
   23416 
   23417 # Check whether --enable-xf86bigfont was given.
   23418 if test ${enable_xf86bigfont+y}
   23419 then :
   23420   enableval=$enable_xf86bigfont; XF86BIGFONT=$enableval
   23421 else case e in #(
   23422   e) XF86BIGFONT="yes" ;;
   23423 esac
   23424 fi
   23425 
   23426 if test "x$XF86BIGFONT" = "xyes"; then
   23427 
   23428 pkg_failed=no
   23429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BIGFONT" >&5
   23430 printf %s "checking for BIGFONT... " >&6; }
   23431 
   23432 if test -n "$BIGFONT_CFLAGS"; then
   23433     pkg_cv_BIGFONT_CFLAGS="$BIGFONT_CFLAGS"
   23434  elif test -n "$PKG_CONFIG"; then
   23435     if test -n "$PKG_CONFIG" && \
   23436     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xf86bigfontproto >= 1.2.0\""; } >&5
   23437   ($PKG_CONFIG --exists --print-errors "xf86bigfontproto >= 1.2.0") 2>&5
   23438   ac_status=$?
   23439   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23440   test $ac_status = 0; }; then
   23441   pkg_cv_BIGFONT_CFLAGS=`$PKG_CONFIG --cflags "xf86bigfontproto >= 1.2.0" 2>/dev/null`
   23442 		      test "x$?" != "x0" && pkg_failed=yes
   23443 else
   23444   pkg_failed=yes
   23445 fi
   23446  else
   23447     pkg_failed=untried
   23448 fi
   23449 if test -n "$BIGFONT_LIBS"; then
   23450     pkg_cv_BIGFONT_LIBS="$BIGFONT_LIBS"
   23451  elif test -n "$PKG_CONFIG"; then
   23452     if test -n "$PKG_CONFIG" && \
   23453     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xf86bigfontproto >= 1.2.0\""; } >&5
   23454   ($PKG_CONFIG --exists --print-errors "xf86bigfontproto >= 1.2.0") 2>&5
   23455   ac_status=$?
   23456   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23457   test $ac_status = 0; }; then
   23458   pkg_cv_BIGFONT_LIBS=`$PKG_CONFIG --libs "xf86bigfontproto >= 1.2.0" 2>/dev/null`
   23459 		      test "x$?" != "x0" && pkg_failed=yes
   23460 else
   23461   pkg_failed=yes
   23462 fi
   23463  else
   23464     pkg_failed=untried
   23465 fi
   23466 
   23467 
   23468 
   23469 if test $pkg_failed = yes; then
   23470    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23471 printf "%s\n" "no" >&6; }
   23472 
   23473 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   23474         _pkg_short_errors_supported=yes
   23475 else
   23476         _pkg_short_errors_supported=no
   23477 fi
   23478         if test $_pkg_short_errors_supported = yes; then
   23479 	        BIGFONT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xf86bigfontproto >= 1.2.0" 2>&1`
   23480         else
   23481 	        BIGFONT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xf86bigfontproto >= 1.2.0" 2>&1`
   23482         fi
   23483 	# Put the nasty error message in config.log where it belongs
   23484 	echo "$BIGFONT_PKG_ERRORS" >&5
   23485 
   23486 	XF86BIGFONT="no"
   23487 elif test $pkg_failed = untried; then
   23488      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23489 printf "%s\n" "no" >&6; }
   23490 	XF86BIGFONT="no"
   23491 else
   23492 	BIGFONT_CFLAGS=$pkg_cv_BIGFONT_CFLAGS
   23493 	BIGFONT_LIBS=$pkg_cv_BIGFONT_LIBS
   23494         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   23495 printf "%s\n" "yes" >&6; }
   23496 
   23497 printf "%s\n" "#define XF86BIGFONT 1" >>confdefs.h
   23498 
   23499 fi
   23500 fi
   23501 
   23502 # Check whether --enable-xkb was given.
   23503 if test ${enable_xkb+y}
   23504 then :
   23505   enableval=$enable_xkb; XKB=$enableval
   23506 else case e in #(
   23507   e) XKB=yes ;;
   23508 esac
   23509 fi
   23510 
   23511 
   23512  if  test x$XKB = xyes ; then
   23513   XKB_TRUE=
   23514   XKB_FALSE='#'
   23515 else
   23516   XKB_TRUE='#'
   23517   XKB_FALSE=
   23518 fi
   23519 
   23520 if test x"$XKB" = "xyes"; then
   23521    XKBPROTO_REQUIRES="kbproto"
   23522    X11_REQUIRES="${X11_REQUIRES} kbproto inputproto"
   23523 
   23524 printf "%s\n" "#define XKB 1" >>confdefs.h
   23525 
   23526 else
   23527    XKBPROTO_REQUIRES=""
   23528 fi
   23529 
   23530 
   23531 
   23532 ac_func=
   23533 for ac_item in $ac_func_c_list
   23534 do
   23535   if test $ac_func; then
   23536     ac_fn_c_check_func "$LINENO" $ac_func ac_cv_func_$ac_func
   23537     if eval test \"x\$ac_cv_func_$ac_func\" = xyes; then
   23538       echo "#define $ac_item 1" >> confdefs.h
   23539     fi
   23540     ac_func=
   23541   else
   23542     ac_func=$ac_item
   23543   fi
   23544 done
   23545 
   23546 
   23547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
   23548 printf %s "checking for working mmap... " >&6; }
   23549 if test ${ac_cv_func_mmap_fixed_mapped+y}
   23550 then :
   23551   printf %s "(cached) " >&6
   23552 else case e in #(
   23553   e) if test "$cross_compiling" = yes
   23554 then :
   23555   case "$host_os" in # ((
   23556 			  # Guess yes on platforms where we know the result.
   23557 		  linux*) ac_cv_func_mmap_fixed_mapped=yes ;;
   23558 			  # If we don't know, assume the worst.
   23559 		  *)      ac_cv_func_mmap_fixed_mapped=no ;;
   23560 		esac
   23561 else case e in #(
   23562   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23563 /* end confdefs.h.  */
   23564 $ac_includes_default
   23565 /* malloc might have been renamed as rpl_malloc. */
   23566 #undef malloc
   23567 
   23568 /* Thanks to Mike Haertel and Jim Avera for this test.
   23569    Here is a matrix of mmap possibilities:
   23570 	mmap private not fixed
   23571 	mmap private fixed at somewhere currently unmapped
   23572 	mmap private fixed at somewhere already mapped
   23573 	mmap shared not fixed
   23574 	mmap shared fixed at somewhere currently unmapped
   23575 	mmap shared fixed at somewhere already mapped
   23576    For private mappings, we should verify that changes cannot be read()
   23577    back from the file, nor mmap's back from the file at a different
   23578    address.  (There have been systems where private was not correctly
   23579    implemented like the infamous i386 svr4.0, and systems where the
   23580    VM page cache was not coherent with the file system buffer cache
   23581    like early versions of FreeBSD and possibly contemporary NetBSD.)
   23582    For shared mappings, we should conversely verify that changes get
   23583    propagated back to all the places they're supposed to be.  */
   23584 
   23585 #include <fcntl.h>
   23586 #include <sys/mman.h>
   23587 
   23588 #ifndef getpagesize
   23589 /* Prefer sysconf to the legacy getpagesize function, as getpagesize has
   23590    been removed from POSIX and is limited to page sizes that fit in 'int'.  */
   23591 # ifdef _SC_PAGESIZE
   23592 #  define getpagesize() sysconf (_SC_PAGESIZE)
   23593 # elif defined _SC_PAGE_SIZE
   23594 #  define getpagesize() sysconf (_SC_PAGE_SIZE)
   23595 # elif HAVE_GETPAGESIZE
   23596 int getpagesize ();
   23597 # else
   23598 #  ifdef HAVE_SYS_PARAM_H
   23599 #   include <sys/param.h>
   23600 #   ifdef EXEC_PAGESIZE
   23601 #    define getpagesize() EXEC_PAGESIZE
   23602 #   else /* no EXEC_PAGESIZE */
   23603 #    ifdef NBPG
   23604 #     define getpagesize() NBPG * CLSIZE
   23605 #     ifndef CLSIZE
   23606 #      define CLSIZE 1
   23607 #     endif /* no CLSIZE */
   23608 #    else /* no NBPG */
   23609 #     ifdef NBPC
   23610 #      define getpagesize() NBPC
   23611 #     else /* no NBPC */
   23612 #      ifdef PAGESIZE
   23613 #       define getpagesize() PAGESIZE
   23614 #      endif /* PAGESIZE */
   23615 #     endif /* no NBPC */
   23616 #    endif /* no NBPG */
   23617 #   endif /* no EXEC_PAGESIZE */
   23618 #  else /* no HAVE_SYS_PARAM_H */
   23619 #   define getpagesize() 8192	/* punt totally */
   23620 #  endif /* no HAVE_SYS_PARAM_H */
   23621 # endif
   23622 #endif
   23623 
   23624 int
   23625 main (void)
   23626 {
   23627   char *data, *data2, *data3;
   23628   const char *cdata2;
   23629   long i, pagesize;
   23630   int fd, fd2;
   23631 
   23632   pagesize = getpagesize ();
   23633 
   23634   /* First, make a file with some known garbage in it. */
   23635   data = (char *) malloc (pagesize);
   23636   if (!data)
   23637     return 1;
   23638   for (i = 0; i < pagesize; ++i)
   23639     *(data + i) = rand ();
   23640   umask (0);
   23641   fd = creat ("conftest.mmap", 0600);
   23642   if (fd < 0)
   23643     return 2;
   23644   if (write (fd, data, pagesize) != pagesize)
   23645     return 3;
   23646   close (fd);
   23647 
   23648   /* Next, check that the tail of a page is zero-filled.  File must have
   23649      non-zero length, otherwise we risk SIGBUS for entire page.  */
   23650   fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
   23651   if (fd2 < 0)
   23652     return 4;
   23653   cdata2 = "";
   23654   if (write (fd2, cdata2, 1) != 1)
   23655     return 5;
   23656   data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
   23657   if (data2 == MAP_FAILED)
   23658     return 6;
   23659   for (i = 0; i < pagesize; ++i)
   23660     if (*(data2 + i))
   23661       return 7;
   23662   close (fd2);
   23663   /* 'return 8;' not currently used.  */
   23664 
   23665   /* Next, try to mmap the file at a fixed address which already has
   23666      something else allocated at it.  If we can, also make sure that
   23667      we see the same garbage.  */
   23668   fd = open ("conftest.mmap", O_RDWR);
   23669   if (fd < 0)
   23670     return 9;
   23671   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
   23672 		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
   23673     return 10;
   23674   for (i = 0; i < pagesize; ++i)
   23675     if (*(data + i) != *(data2 + i))
   23676       return 11;
   23677 
   23678   /* Finally, make sure that changes to the mapped area do not
   23679      percolate back to the file as seen by read().  (This is a bug on
   23680      some variants of i386 svr4.0.)  */
   23681   for (i = 0; i < pagesize; ++i)
   23682     *(data2 + i) = *(data2 + i) + 1;
   23683   data3 = (char *) malloc (pagesize);
   23684   if (!data3)
   23685     return 12;
   23686   if (read (fd, data3, pagesize) != pagesize)
   23687     return 13;
   23688   for (i = 0; i < pagesize; ++i)
   23689     if (*(data + i) != *(data3 + i))
   23690       return 14;
   23691   close (fd);
   23692   free (data);
   23693   free (data3);
   23694   return 0;
   23695 }
   23696 _ACEOF
   23697 if ac_fn_c_try_run "$LINENO"
   23698 then :
   23699   ac_cv_func_mmap_fixed_mapped=yes
   23700 else case e in #(
   23701   e) ac_cv_func_mmap_fixed_mapped=no ;;
   23702 esac
   23703 fi
   23704 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   23705   conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   23706 esac
   23707 fi
   23708  ;;
   23709 esac
   23710 fi
   23711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
   23712 printf "%s\n" "$ac_cv_func_mmap_fixed_mapped" >&6; }
   23713 if test $ac_cv_func_mmap_fixed_mapped = yes; then
   23714 
   23715 printf "%s\n" "#define HAVE_MMAP 1" >>confdefs.h
   23716 
   23717 fi
   23718 rm -f conftest.mmap conftest.txt
   23719 
   23720 composecache_default=$ac_cv_func_mmap_fixed_mapped
   23721 ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo"
   23722 if test "x$ac_cv_func_nl_langinfo" = xyes
   23723 then :
   23724 
   23725 else case e in #(
   23726   e) composecache_default=no ;;
   23727 esac
   23728 fi
   23729 
   23730 # Check whether --enable-composecache was given.
   23731 if test ${enable_composecache+y}
   23732 then :
   23733   enableval=$enable_composecache; COMPOSECACHE=$enableval
   23734 else case e in #(
   23735   e) COMPOSECACHE=$composecache_default ;;
   23736 esac
   23737 fi
   23738 
   23739 if test x"$COMPOSECACHE" = "xyes"; then
   23740 
   23741 printf "%s\n" "#define COMPOSECACHE 1" >>confdefs.h
   23742 
   23743 fi
   23744 
   23745 # Allow checking code with lint, sparse, etc.
   23746 
   23747 
   23748 
   23749 
   23750 
   23751 # Check whether --with-lint was given.
   23752 if test ${with_lint+y}
   23753 then :
   23754   withval=$with_lint; use_lint=$withval
   23755 else case e in #(
   23756   e) use_lint=no ;;
   23757 esac
   23758 fi
   23759 
   23760 
   23761 # Obtain platform specific info like program name and options
   23762 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   23763 case $host_os in
   23764   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   23765 	lint_name=splint
   23766 	lint_options="-badflag"
   23767 	;;
   23768   *freebsd* | *netbsd*)
   23769 	lint_name=lint
   23770 	lint_options="-u -b"
   23771 	;;
   23772   *solaris*)
   23773 	lint_name=lint
   23774 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   23775 	;;
   23776 esac
   23777 
   23778 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   23779 if test "x$use_lint" = x"yes" ; then
   23780    # Extract the first word of "$lint_name", so it can be a program name with args.
   23781 set dummy $lint_name; ac_word=$2
   23782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   23783 printf %s "checking for $ac_word... " >&6; }
   23784 if test ${ac_cv_path_LINT+y}
   23785 then :
   23786   printf %s "(cached) " >&6
   23787 else case e in #(
   23788   e) case $LINT in
   23789   [\\/]* | ?:[\\/]*)
   23790   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   23791   ;;
   23792   *)
   23793   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   23794 for as_dir in $PATH
   23795 do
   23796   IFS=$as_save_IFS
   23797   case $as_dir in #(((
   23798     '') as_dir=./ ;;
   23799     */) ;;
   23800     *) as_dir=$as_dir/ ;;
   23801   esac
   23802     for ac_exec_ext in '' $ac_executable_extensions; do
   23803   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   23804     ac_cv_path_LINT="$as_dir$ac_word$ac_exec_ext"
   23805     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   23806     break 2
   23807   fi
   23808 done
   23809   done
   23810 IFS=$as_save_IFS
   23811 
   23812   ;;
   23813 esac ;;
   23814 esac
   23815 fi
   23816 LINT=$ac_cv_path_LINT
   23817 if test -n "$LINT"; then
   23818   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   23819 printf "%s\n" "$LINT" >&6; }
   23820 else
   23821   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23822 printf "%s\n" "no" >&6; }
   23823 fi
   23824 
   23825 
   23826    if test "x$LINT" = "x"; then
   23827         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   23828    fi
   23829 elif test "x$use_lint" = x"no" ; then
   23830    if test "x$LINT" != "x"; then
   23831       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   23832 printf "%s\n" "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   23833    fi
   23834 else
   23835    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   23836 fi
   23837 
   23838 # User supplied flags override default flags
   23839 if test "x$LINT_FLAGS" != "x"; then
   23840    lint_options=$LINT_FLAGS
   23841 fi
   23842 
   23843 LINT_FLAGS=$lint_options
   23844 
   23845  if test "x$LINT" != x; then
   23846   LINT_TRUE=
   23847   LINT_FALSE='#'
   23848 else
   23849   LINT_TRUE='#'
   23850   LINT_FALSE=
   23851 fi
   23852 
   23853 
   23854 
   23855 
   23856 
   23857 # Check whether --enable-lint-library was given.
   23858 if test ${enable_lint_library+y}
   23859 then :
   23860   enableval=$enable_lint_library; make_lint_lib=$enableval
   23861 else case e in #(
   23862   e) make_lint_lib=no ;;
   23863 esac
   23864 fi
   23865 
   23866 
   23867 if test "x$make_lint_lib" = x"yes" ; then
   23868    LINTLIB=llib-lX11.ln
   23869    if test "x$LINT" = "x"; then
   23870         as_fn_error $? "Cannot make lint library without --with-lint" "$LINENO" 5
   23871    fi
   23872 elif test "x$make_lint_lib" != x"no" ; then
   23873    as_fn_error $? "--enable-lint-library expects 'yes' or 'no'." "$LINENO" 5
   23874 fi
   23875 
   23876 
   23877  if test x$make_lint_lib != xno; then
   23878   MAKE_LINT_LIB_TRUE=
   23879   MAKE_LINT_LIB_FALSE='#'
   23880 else
   23881   MAKE_LINT_LIB_TRUE='#'
   23882   MAKE_LINT_LIB_FALSE=
   23883 fi
   23884 
   23885 
   23886 
   23887 
   23888 X11_DATADIR="${datadir}/X11"
   23889 
   23890   prefix_NONE=
   23891   exec_prefix_NONE=
   23892   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   23893   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   23894   eval ax_define_dir="\"$X11_DATADIR\""
   23895   eval ax_define_dir="\"$ax_define_dir\""
   23896   X11_DATADIR="$ax_define_dir"
   23897 
   23898 
   23899 printf "%s\n" "#define X11_DATADIR \"$ax_define_dir\"" >>confdefs.h
   23900 
   23901   test "$prefix_NONE" && prefix=NONE
   23902   test "$exec_prefix_NONE" && exec_prefix=NONE
   23903 
   23904 
   23905 
   23906 X11_LIBDIR="${libdir}/X11"
   23907 
   23908   prefix_NONE=
   23909   exec_prefix_NONE=
   23910   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   23911   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   23912   eval ax_define_dir="\"$X11_LIBDIR\""
   23913   eval ax_define_dir="\"$ax_define_dir\""
   23914   X11_LIBDIR="$ax_define_dir"
   23915 
   23916 
   23917 printf "%s\n" "#define X11_LIBDIR \"$ax_define_dir\"" >>confdefs.h
   23918 
   23919   test "$prefix_NONE" && prefix=NONE
   23920   test "$exec_prefix_NONE" && exec_prefix=NONE
   23921 
   23922 
   23923 
   23924 
   23925 pkg_failed=no
   23926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
   23927 printf %s "checking for X11... " >&6; }
   23928 
   23929 if test -n "$X11_CFLAGS"; then
   23930     pkg_cv_X11_CFLAGS="$X11_CFLAGS"
   23931  elif test -n "$PKG_CONFIG"; then
   23932     if test -n "$PKG_CONFIG" && \
   23933     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$X11_REQUIRES\""; } >&5
   23934   ($PKG_CONFIG --exists --print-errors "$X11_REQUIRES") 2>&5
   23935   ac_status=$?
   23936   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23937   test $ac_status = 0; }; then
   23938   pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "$X11_REQUIRES" 2>/dev/null`
   23939 		      test "x$?" != "x0" && pkg_failed=yes
   23940 else
   23941   pkg_failed=yes
   23942 fi
   23943  else
   23944     pkg_failed=untried
   23945 fi
   23946 if test -n "$X11_LIBS"; then
   23947     pkg_cv_X11_LIBS="$X11_LIBS"
   23948  elif test -n "$PKG_CONFIG"; then
   23949     if test -n "$PKG_CONFIG" && \
   23950     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$X11_REQUIRES\""; } >&5
   23951   ($PKG_CONFIG --exists --print-errors "$X11_REQUIRES") 2>&5
   23952   ac_status=$?
   23953   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23954   test $ac_status = 0; }; then
   23955   pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "$X11_REQUIRES" 2>/dev/null`
   23956 		      test "x$?" != "x0" && pkg_failed=yes
   23957 else
   23958   pkg_failed=yes
   23959 fi
   23960  else
   23961     pkg_failed=untried
   23962 fi
   23963 
   23964 
   23965 
   23966 if test $pkg_failed = yes; then
   23967    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23968 printf "%s\n" "no" >&6; }
   23969 
   23970 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   23971         _pkg_short_errors_supported=yes
   23972 else
   23973         _pkg_short_errors_supported=no
   23974 fi
   23975         if test $_pkg_short_errors_supported = yes; then
   23976 	        X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$X11_REQUIRES" 2>&1`
   23977         else
   23978 	        X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$X11_REQUIRES" 2>&1`
   23979         fi
   23980 	# Put the nasty error message in config.log where it belongs
   23981 	echo "$X11_PKG_ERRORS" >&5
   23982 
   23983 	as_fn_error $? "Package requirements ($X11_REQUIRES) were not met:
   23984 
   23985 $X11_PKG_ERRORS
   23986 
   23987 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   23988 installed software in a non-standard prefix.
   23989 
   23990 Alternatively, you may set the environment variables X11_CFLAGS
   23991 and X11_LIBS to avoid the need to call pkg-config.
   23992 See the pkg-config man page for more details." "$LINENO" 5
   23993 elif test $pkg_failed = untried; then
   23994      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23995 printf "%s\n" "no" >&6; }
   23996 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   23997 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   23998 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   23999 is in your PATH or set the PKG_CONFIG environment variable to the full
   24000 path to pkg-config.
   24001 
   24002 Alternatively, you may set the environment variables X11_CFLAGS
   24003 and X11_LIBS to avoid the need to call pkg-config.
   24004 See the pkg-config man page for more details.
   24005 
   24006 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   24007 See 'config.log' for more details" "$LINENO" 5; }
   24008 else
   24009 	X11_CFLAGS=$pkg_cv_X11_CFLAGS
   24010 	X11_LIBS=$pkg_cv_X11_LIBS
   24011         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   24012 printf "%s\n" "yes" >&6; }
   24013 
   24014 fi
   24015 X11_CFLAGS="$X11_CFLAGS $XTHREAD_CFLAGS"
   24016 
   24017 #
   24018 # Yes, it would be nice to put the locale data in
   24019 # /usr/share, but the locale stuff includes loadable
   24020 # libraries which must be located in the same directory
   24021 # as the other locale data, so for now, everything lives
   24022 # in ${libdir}
   24023 #
   24024 
   24025 X11_LOCALEDATADIR="${X11_DATADIR}/locale"
   24026 
   24027   prefix_NONE=
   24028   exec_prefix_NONE=
   24029   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   24030   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   24031   eval ax_define_dir="\"$X11_LOCALEDATADIR\""
   24032   eval ax_define_dir="\"$ax_define_dir\""
   24033   XLOCALEDATADIR="$ax_define_dir"
   24034 
   24035 
   24036 printf "%s\n" "#define XLOCALEDATADIR \"$ax_define_dir\"" >>confdefs.h
   24037 
   24038   test "$prefix_NONE" && prefix=NONE
   24039   test "$exec_prefix_NONE" && exec_prefix=NONE
   24040 
   24041 
   24042 
   24043 
   24044 # Check whether --with-locale-lib-dir was given.
   24045 if test ${with_locale_lib_dir+y}
   24046 then :
   24047   withval=$with_locale_lib_dir;  X11_LOCALELIBDIR="$withval"
   24048 else case e in #(
   24049   e)  X11_LOCALELIBDIR="${X11_LIBDIR}/locale"  ;;
   24050 esac
   24051 fi
   24052 
   24053 
   24054   prefix_NONE=
   24055   exec_prefix_NONE=
   24056   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   24057   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   24058   eval ax_define_dir="\"$X11_LOCALELIBDIR\""
   24059   eval ax_define_dir="\"$ax_define_dir\""
   24060   XLOCALELIBDIR="$ax_define_dir"
   24061 
   24062 
   24063 printf "%s\n" "#define XLOCALELIBDIR \"$ax_define_dir\"" >>confdefs.h
   24064 
   24065   test "$prefix_NONE" && prefix=NONE
   24066   test "$exec_prefix_NONE" && exec_prefix=NONE
   24067 
   24068 
   24069 
   24070 X11_LOCALEDIR="${X11_LOCALEDATADIR}"
   24071 
   24072   prefix_NONE=
   24073   exec_prefix_NONE=
   24074   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   24075   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   24076   eval ax_define_dir="\"$X11_LOCALEDIR\""
   24077   eval ax_define_dir="\"$ax_define_dir\""
   24078   XLOCALEDIR="$ax_define_dir"
   24079 
   24080 
   24081 printf "%s\n" "#define XLOCALEDIR \"$ax_define_dir\"" >>confdefs.h
   24082 
   24083   test "$prefix_NONE" && prefix=NONE
   24084   test "$exec_prefix_NONE" && exec_prefix=NONE
   24085 
   24086 
   24087 
   24088 locales="\
   24089  am_ET.UTF-8  armscii-8   C           cs_CZ.UTF-8  el_GR.UTF-8  en_US.UTF-8 \
   24090  fi_FI.UTF-8  georgian-academy        georgian-ps  ibm-cp1133   iscii-dev \
   24091  isiri-3342   iso8859-1   iso8859-10  iso8859-11   iso8859-13   iso8859-14 \
   24092  iso8859-15   iso8859-2   iso8859-3   iso8859-4    iso8859-5    iso8859-6 \
   24093  iso8859-7    iso8859-8   iso8859-9   iso8859-9e   ja           ja.JIS \
   24094  ja_JP.UTF-8  ja.SJIS     km_KH.UTF-8 ko           koi8-c       koi8-r \
   24095  koi8-u       ko_KR.UTF-8 microsoft-cp1251         microsoft-cp1255 \
   24096  microsoft-cp1256         mulelao-1   nokhchi-1    pt_BR.UTF-8  pt_PT.UTF-8 \
   24097  ru_RU.UTF-8  sr_RS.UTF-8 tatar-cyr   th_TH        th_TH.UTF-8  tscii-0 \
   24098  vi_VN.tcvn   vi_VN.viscii            zh_CN        zh_CN.gb18030 \
   24099  zh_CN.gbk    zh_CN.UTF-8 zh_HK.big5  zh_HK.big5hkscs           zh_HK.UTF-8 \
   24100  zh_TW        zh_TW.big5  zh_TW.UTF-8"
   24101 
   24102 
   24103 XKEYSYMDB="${X11_DATADIR}/XKeysymDB"
   24104 
   24105   prefix_NONE=
   24106   exec_prefix_NONE=
   24107   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   24108   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   24109   eval ax_define_dir="\"$XKEYSYMDB\""
   24110   eval ax_define_dir="\"$ax_define_dir\""
   24111   XKEYSYMDB="$ax_define_dir"
   24112 
   24113 
   24114 printf "%s\n" "#define XKEYSYMDB \"$ax_define_dir\"" >>confdefs.h
   24115 
   24116   test "$prefix_NONE" && prefix=NONE
   24117   test "$exec_prefix_NONE" && exec_prefix=NONE
   24118 
   24119 
   24120 XERRORDB="${X11_DATADIR}/XErrorDB"
   24121 
   24122   prefix_NONE=
   24123   exec_prefix_NONE=
   24124   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   24125   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   24126   eval ax_define_dir="\"$XERRORDB\""
   24127   eval ax_define_dir="\"$ax_define_dir\""
   24128   XERRORDB="$ax_define_dir"
   24129 
   24130 
   24131 printf "%s\n" "#define XERRORDB \"$ax_define_dir\"" >>confdefs.h
   24132 
   24133   test "$prefix_NONE" && prefix=NONE
   24134   test "$exec_prefix_NONE" && exec_prefix=NONE
   24135 
   24136 
   24137 
   24138 # Check whether --enable-malloc0returnsnull was given.
   24139 if test ${enable_malloc0returnsnull+y}
   24140 then :
   24141   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   24142 else case e in #(
   24143   e) MALLOC_ZERO_RETURNS_NULL=yes ;;
   24144 esac
   24145 fi
   24146 
   24147 
   24148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to act as if malloc(0) can return NULL" >&5
   24149 printf %s "checking whether to act as if malloc(0) can return NULL... " >&6; }
   24150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   24151 printf "%s\n" "$MALLOC_ZERO_RETURNS_NULL" >&6; }
   24152 
   24153 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   24154 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   24155 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   24156 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   24157 else
   24158 	MALLOC_ZERO_CFLAGS=""
   24159 	XMALLOC_ZERO_CFLAGS=""
   24160 	XTMALLOC_ZERO_CFLAGS=""
   24161 fi
   24162 
   24163 
   24164 
   24165 
   24166 
   24167 
   24168 ac_config_files="$ac_config_files Makefile include/Makefile man/Makefile man/xkb/Makefile src/Makefile src/util/Makefile src/xcms/Makefile src/xlibi18n/Makefile modules/Makefile modules/im/Makefile modules/im/ximcp/Makefile modules/lc/Makefile modules/lc/def/Makefile modules/lc/gen/Makefile modules/lc/Utf8/Makefile modules/om/Makefile modules/om/generic/Makefile src/xkb/Makefile nls/Makefile specs/Makefile specs/i18n/Makefile specs/i18n/compose/Makefile specs/i18n/framework/Makefile specs/i18n/localedb/Makefile specs/i18n/trans/Makefile specs/libX11/Makefile specs/XIM/Makefile specs/XKB/Makefile x11.pc x11-xcb.pc"
   24169 
   24170 cat >confcache <<\_ACEOF
   24171 # This file is a shell script that caches the results of configure
   24172 # tests run on this system so they can be shared between configure
   24173 # scripts and configure runs, see configure's option --config-cache.
   24174 # It is not useful on other systems.  If it contains results you don't
   24175 # want to keep, you may remove or edit it.
   24176 #
   24177 # config.status only pays attention to the cache file if you give it
   24178 # the --recheck option to rerun configure.
   24179 #
   24180 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   24181 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   24182 # following values.
   24183 
   24184 _ACEOF
   24185 
   24186 # The following way of writing the cache mishandles newlines in values,
   24187 # but we know of no workaround that is simple, portable, and efficient.
   24188 # So, we kill variables containing newlines.
   24189 # Ultrix sh set writes to stderr and can't be redirected directly,
   24190 # and sets the high bit in the cache file unless we assign to the vars.
   24191 (
   24192   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   24193     eval ac_val=\$$ac_var
   24194     case $ac_val in #(
   24195     *${as_nl}*)
   24196       case $ac_var in #(
   24197       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   24198 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   24199       esac
   24200       case $ac_var in #(
   24201       _ | IFS | as_nl) ;; #(
   24202       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   24203       *) { eval $ac_var=; unset $ac_var;} ;;
   24204       esac ;;
   24205     esac
   24206   done
   24207 
   24208   (set) 2>&1 |
   24209     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   24210     *${as_nl}ac_space=\ *)
   24211       # 'set' does not quote correctly, so add quotes: double-quote
   24212       # substitution turns \\\\ into \\, and sed turns \\ into \.
   24213       sed -n \
   24214 	"s/'/'\\\\''/g;
   24215 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   24216       ;; #(
   24217     *)
   24218       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   24219       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   24220       ;;
   24221     esac |
   24222     sort
   24223 ) |
   24224   sed '
   24225      /^ac_cv_env_/b end
   24226      t clear
   24227      :clear
   24228      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   24229      t end
   24230      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   24231      :end' >>confcache
   24232 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   24233   if test -w "$cache_file"; then
   24234     if test "x$cache_file" != "x/dev/null"; then
   24235       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   24236 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   24237       if test ! -f "$cache_file" || test -h "$cache_file"; then
   24238 	cat confcache >"$cache_file"
   24239       else
   24240         case $cache_file in #(
   24241         */* | ?:*)
   24242 	  mv -f confcache "$cache_file"$$ &&
   24243 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   24244         *)
   24245 	  mv -f confcache "$cache_file" ;;
   24246 	esac
   24247       fi
   24248     fi
   24249   else
   24250     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   24251 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   24252   fi
   24253 fi
   24254 rm -f confcache
   24255 
   24256 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   24257 # Let make expand exec_prefix.
   24258 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   24259 
   24260 DEFS=-DHAVE_CONFIG_H
   24261 
   24262 ac_libobjs=
   24263 ac_ltlibobjs=
   24264 U=
   24265 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   24266   # 1. Remove the extension, and $U if already installed.
   24267   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   24268   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   24269   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   24270   #    will be set to the directory where LIBOBJS objects are built.
   24271   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   24272   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   24273 done
   24274 LIBOBJS=$ac_libobjs
   24275 
   24276 LTLIBOBJS=$ac_ltlibobjs
   24277 
   24278 
   24279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   24280 printf %s "checking that generated files are newer than configure... " >&6; }
   24281    if test -n "$am_sleep_pid"; then
   24282      # Hide warnings about reused PIDs.
   24283      wait $am_sleep_pid 2>/dev/null
   24284    fi
   24285    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   24286 printf "%s\n" "done" >&6; }
   24287 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   24288   as_fn_error $? "conditional \"AMDEP\" was never defined.
   24289 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24290 fi
   24291 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   24292   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   24293 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24294 fi
   24295 case $enable_silent_rules in # (((
   24296   yes) AM_DEFAULT_VERBOSITY=0;;
   24297    no) AM_DEFAULT_VERBOSITY=1;;
   24298 esac
   24299 if test $am_cv_make_support_nested_variables = yes; then
   24300     AM_V='$(V)'
   24301   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   24302 else
   24303   AM_V=$AM_DEFAULT_VERBOSITY
   24304   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   24305 fi
   24306 
   24307  if test -n "$EXEEXT"; then
   24308   am__EXEEXT_TRUE=
   24309   am__EXEEXT_FALSE='#'
   24310 else
   24311   am__EXEEXT_TRUE='#'
   24312   am__EXEEXT_FALSE=
   24313 fi
   24314 
   24315 # Check whether --enable-year2038 was given.
   24316 if test ${enable_year2038+y}
   24317 then :
   24318   enableval=$enable_year2038;
   24319 fi
   24320 
   24321 if test -z "${ENABLE_SPECS_TRUE}" && test -z "${ENABLE_SPECS_FALSE}"; then
   24322   as_fn_error $? "conditional \"ENABLE_SPECS\" was never defined.
   24323 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24324 fi
   24325 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
   24326   as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
   24327 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24328 fi
   24329 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   24330   as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
   24331 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24332 fi
   24333 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
   24334   as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
   24335 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24336 fi
   24337 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
   24338   as_fn_error $? "conditional \"HAVE_XSLTPROC\" was never defined.
   24339 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24340 fi
   24341 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
   24342   as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
   24343 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24344 fi
   24345 if test -z "${HAVE_PERL_TRUE}" && test -z "${HAVE_PERL_FALSE}"; then
   24346   as_fn_error $? "conditional \"HAVE_PERL\" was never defined.
   24347 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24348 fi
   24349 if test -z "${XLIB_LOADABLE_I18N_TRUE}" && test -z "${XLIB_LOADABLE_I18N_FALSE}"; then
   24350   as_fn_error $? "conditional \"XLIB_LOADABLE_I18N\" was never defined.
   24351 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24352 fi
   24353 if test -z "${OS2_TRUE}" && test -z "${OS2_FALSE}"; then
   24354   as_fn_error $? "conditional \"OS2\" was never defined.
   24355 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24356 fi
   24357 if test -z "${XCMS_TRUE}" && test -z "${XCMS_FALSE}"; then
   24358   as_fn_error $? "conditional \"XCMS\" was never defined.
   24359 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24360 fi
   24361 if test -z "${XLOCALE_TRUE}" && test -z "${XLOCALE_FALSE}"; then
   24362   as_fn_error $? "conditional \"XLOCALE\" was never defined.
   24363 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24364 fi
   24365 if test -z "${XKB_TRUE}" && test -z "${XKB_FALSE}"; then
   24366   as_fn_error $? "conditional \"XKB\" was never defined.
   24367 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24368 fi
   24369 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   24370   as_fn_error $? "conditional \"LINT\" was never defined.
   24371 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24372 fi
   24373 if test -z "${MAKE_LINT_LIB_TRUE}" && test -z "${MAKE_LINT_LIB_FALSE}"; then
   24374   as_fn_error $? "conditional \"MAKE_LINT_LIB\" was never defined.
   24375 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24376 fi
   24377 
   24378 : "${CONFIG_STATUS=./config.status}"
   24379 ac_write_fail=0
   24380 ac_clean_files_save=$ac_clean_files
   24381 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   24382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   24383 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   24384 as_write_fail=0
   24385 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   24386 #! $SHELL
   24387 # Generated by $as_me.
   24388 # Run this file to recreate the current configuration.
   24389 # Compiler output produced by configure, useful for debugging
   24390 # configure, is in config.log if it exists.
   24391 
   24392 debug=false
   24393 ac_cs_recheck=false
   24394 ac_cs_silent=false
   24395 
   24396 SHELL=\${CONFIG_SHELL-$SHELL}
   24397 export SHELL
   24398 _ASEOF
   24399 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   24400 ## -------------------- ##
   24401 ## M4sh Initialization. ##
   24402 ## -------------------- ##
   24403 
   24404 # Be more Bourne compatible
   24405 DUALCASE=1; export DUALCASE # for MKS sh
   24406 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   24407 then :
   24408   emulate sh
   24409   NULLCMD=:
   24410   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   24411   # is contrary to our usage.  Disable this feature.
   24412   alias -g '${1+"$@"}'='"$@"'
   24413   setopt NO_GLOB_SUBST
   24414 else case e in #(
   24415   e) case `(set -o) 2>/dev/null` in #(
   24416   *posix*) :
   24417     set -o posix ;; #(
   24418   *) :
   24419      ;;
   24420 esac ;;
   24421 esac
   24422 fi
   24423 
   24424 
   24425 
   24426 # Reset variables that may have inherited troublesome values from
   24427 # the environment.
   24428 
   24429 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   24430 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   24431 # side effect of setting IFS to empty, thus disabling word splitting.)
   24432 # Quoting is to prevent editors from complaining about space-tab.
   24433 as_nl='
   24434 '
   24435 export as_nl
   24436 IFS=" ""	$as_nl"
   24437 
   24438 PS1='$ '
   24439 PS2='> '
   24440 PS4='+ '
   24441 
   24442 # Ensure predictable behavior from utilities with locale-dependent output.
   24443 LC_ALL=C
   24444 export LC_ALL
   24445 LANGUAGE=C
   24446 export LANGUAGE
   24447 
   24448 # We cannot yet rely on "unset" to work, but we need these variables
   24449 # to be unset--not just set to an empty or harmless value--now, to
   24450 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   24451 # also avoids known problems related to "unset" and subshell syntax
   24452 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   24453 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   24454 do eval test \${$as_var+y} \
   24455   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   24456 done
   24457 
   24458 # Ensure that fds 0, 1, and 2 are open.
   24459 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   24460 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   24461 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   24462 
   24463 # The user is always right.
   24464 if ${PATH_SEPARATOR+false} :; then
   24465   PATH_SEPARATOR=:
   24466   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   24467     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   24468       PATH_SEPARATOR=';'
   24469   }
   24470 fi
   24471 
   24472 
   24473 # Find who we are.  Look in the path if we contain no directory separator.
   24474 as_myself=
   24475 case $0 in #((
   24476   *[\\/]* ) as_myself=$0 ;;
   24477   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   24478 for as_dir in $PATH
   24479 do
   24480   IFS=$as_save_IFS
   24481   case $as_dir in #(((
   24482     '') as_dir=./ ;;
   24483     */) ;;
   24484     *) as_dir=$as_dir/ ;;
   24485   esac
   24486     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   24487   done
   24488 IFS=$as_save_IFS
   24489 
   24490      ;;
   24491 esac
   24492 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   24493 # in which case we are not to be found in the path.
   24494 if test "x$as_myself" = x; then
   24495   as_myself=$0
   24496 fi
   24497 if test ! -f "$as_myself"; then
   24498   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   24499   exit 1
   24500 fi
   24501 
   24502 
   24503 
   24504 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   24505 # ----------------------------------------
   24506 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   24507 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   24508 # script with STATUS, using 1 if that was 0.
   24509 as_fn_error ()
   24510 {
   24511   as_status=$1; test $as_status -eq 0 && as_status=1
   24512   if test "$4"; then
   24513     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   24514     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   24515   fi
   24516   printf "%s\n" "$as_me: error: $2" >&2
   24517   as_fn_exit $as_status
   24518 } # as_fn_error
   24519 
   24520 
   24521 # as_fn_set_status STATUS
   24522 # -----------------------
   24523 # Set $? to STATUS, without forking.
   24524 as_fn_set_status ()
   24525 {
   24526   return $1
   24527 } # as_fn_set_status
   24528 
   24529 # as_fn_exit STATUS
   24530 # -----------------
   24531 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   24532 as_fn_exit ()
   24533 {
   24534   set +e
   24535   as_fn_set_status $1
   24536   exit $1
   24537 } # as_fn_exit
   24538 
   24539 # as_fn_unset VAR
   24540 # ---------------
   24541 # Portably unset VAR.
   24542 as_fn_unset ()
   24543 {
   24544   { eval $1=; unset $1;}
   24545 }
   24546 as_unset=as_fn_unset
   24547 
   24548 # as_fn_append VAR VALUE
   24549 # ----------------------
   24550 # Append the text in VALUE to the end of the definition contained in VAR. Take
   24551 # advantage of any shell optimizations that allow amortized linear growth over
   24552 # repeated appends, instead of the typical quadratic growth present in naive
   24553 # implementations.
   24554 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   24555 then :
   24556   eval 'as_fn_append ()
   24557   {
   24558     eval $1+=\$2
   24559   }'
   24560 else case e in #(
   24561   e) as_fn_append ()
   24562   {
   24563     eval $1=\$$1\$2
   24564   } ;;
   24565 esac
   24566 fi # as_fn_append
   24567 
   24568 # as_fn_arith ARG...
   24569 # ------------------
   24570 # Perform arithmetic evaluation on the ARGs, and store the result in the
   24571 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   24572 # must be portable across $(()) and expr.
   24573 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   24574 then :
   24575   eval 'as_fn_arith ()
   24576   {
   24577     as_val=$(( $* ))
   24578   }'
   24579 else case e in #(
   24580   e) as_fn_arith ()
   24581   {
   24582     as_val=`expr "$@" || test $? -eq 1`
   24583   } ;;
   24584 esac
   24585 fi # as_fn_arith
   24586 
   24587 
   24588 if expr a : '\(a\)' >/dev/null 2>&1 &&
   24589    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   24590   as_expr=expr
   24591 else
   24592   as_expr=false
   24593 fi
   24594 
   24595 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   24596   as_basename=basename
   24597 else
   24598   as_basename=false
   24599 fi
   24600 
   24601 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   24602   as_dirname=dirname
   24603 else
   24604   as_dirname=false
   24605 fi
   24606 
   24607 as_me=`$as_basename -- "$0" ||
   24608 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   24609 	 X"$0" : 'X\(//\)$' \| \
   24610 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   24611 printf "%s\n" X/"$0" |
   24612     sed '/^.*\/\([^/][^/]*\)\/*$/{
   24613 	    s//\1/
   24614 	    q
   24615 	  }
   24616 	  /^X\/\(\/\/\)$/{
   24617 	    s//\1/
   24618 	    q
   24619 	  }
   24620 	  /^X\/\(\/\).*/{
   24621 	    s//\1/
   24622 	    q
   24623 	  }
   24624 	  s/.*/./; q'`
   24625 
   24626 # Avoid depending upon Character Ranges.
   24627 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   24628 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   24629 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   24630 as_cr_digits='0123456789'
   24631 as_cr_alnum=$as_cr_Letters$as_cr_digits
   24632 
   24633 
   24634 # Determine whether it's possible to make 'echo' print without a newline.
   24635 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   24636 # for compatibility with existing Makefiles.
   24637 ECHO_C= ECHO_N= ECHO_T=
   24638 case `echo -n x` in #(((((
   24639 -n*)
   24640   case `echo 'xy\c'` in
   24641   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   24642   xy)  ECHO_C='\c';;
   24643   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   24644        ECHO_T='	';;
   24645   esac;;
   24646 *)
   24647   ECHO_N='-n';;
   24648 esac
   24649 
   24650 # For backward compatibility with old third-party macros, we provide
   24651 # the shell variables $as_echo and $as_echo_n.  New code should use
   24652 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   24653 as_echo='printf %s\n'
   24654 as_echo_n='printf %s'
   24655 
   24656 rm -f conf$$ conf$$.exe conf$$.file
   24657 if test -d conf$$.dir; then
   24658   rm -f conf$$.dir/conf$$.file
   24659 else
   24660   rm -f conf$$.dir
   24661   mkdir conf$$.dir 2>/dev/null
   24662 fi
   24663 if (echo >conf$$.file) 2>/dev/null; then
   24664   if ln -s conf$$.file conf$$ 2>/dev/null; then
   24665     as_ln_s='ln -s'
   24666     # ... but there are two gotchas:
   24667     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   24668     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   24669     # In both cases, we have to default to 'cp -pR'.
   24670     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   24671       as_ln_s='cp -pR'
   24672   elif ln conf$$.file conf$$ 2>/dev/null; then
   24673     as_ln_s=ln
   24674   else
   24675     as_ln_s='cp -pR'
   24676   fi
   24677 else
   24678   as_ln_s='cp -pR'
   24679 fi
   24680 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   24681 rmdir conf$$.dir 2>/dev/null
   24682 
   24683 
   24684 # as_fn_mkdir_p
   24685 # -------------
   24686 # Create "$as_dir" as a directory, including parents if necessary.
   24687 as_fn_mkdir_p ()
   24688 {
   24689 
   24690   case $as_dir in #(
   24691   -*) as_dir=./$as_dir;;
   24692   esac
   24693   test -d "$as_dir" || eval $as_mkdir_p || {
   24694     as_dirs=
   24695     while :; do
   24696       case $as_dir in #(
   24697       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   24698       *) as_qdir=$as_dir;;
   24699       esac
   24700       as_dirs="'$as_qdir' $as_dirs"
   24701       as_dir=`$as_dirname -- "$as_dir" ||
   24702 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   24703 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   24704 	 X"$as_dir" : 'X\(//\)$' \| \
   24705 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   24706 printf "%s\n" X"$as_dir" |
   24707     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   24708 	    s//\1/
   24709 	    q
   24710 	  }
   24711 	  /^X\(\/\/\)[^/].*/{
   24712 	    s//\1/
   24713 	    q
   24714 	  }
   24715 	  /^X\(\/\/\)$/{
   24716 	    s//\1/
   24717 	    q
   24718 	  }
   24719 	  /^X\(\/\).*/{
   24720 	    s//\1/
   24721 	    q
   24722 	  }
   24723 	  s/.*/./; q'`
   24724       test -d "$as_dir" && break
   24725     done
   24726     test -z "$as_dirs" || eval "mkdir $as_dirs"
   24727   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   24728 
   24729 
   24730 } # as_fn_mkdir_p
   24731 if mkdir -p . 2>/dev/null; then
   24732   as_mkdir_p='mkdir -p "$as_dir"'
   24733 else
   24734   test -d ./-p && rmdir ./-p
   24735   as_mkdir_p=false
   24736 fi
   24737 
   24738 
   24739 # as_fn_executable_p FILE
   24740 # -----------------------
   24741 # Test if FILE is an executable regular file.
   24742 as_fn_executable_p ()
   24743 {
   24744   test -f "$1" && test -x "$1"
   24745 } # as_fn_executable_p
   24746 as_test_x='test -x'
   24747 as_executable_p=as_fn_executable_p
   24748 
   24749 # Sed expression to map a string onto a valid CPP name.
   24750 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   24751 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   24752 
   24753 # Sed expression to map a string onto a valid variable name.
   24754 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   24755 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   24756 
   24757 
   24758 exec 6>&1
   24759 ## ----------------------------------- ##
   24760 ## Main body of $CONFIG_STATUS script. ##
   24761 ## ----------------------------------- ##
   24762 _ASEOF
   24763 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   24764 
   24765 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24766 # Save the log message, to keep $0 and so on meaningful, and to
   24767 # report actual input values of CONFIG_FILES etc. instead of their
   24768 # values after options handling.
   24769 ac_log="
   24770 This file was extended by libX11 $as_me 1.8.12, which was
   24771 generated by GNU Autoconf 2.72.  Invocation command line was
   24772 
   24773   CONFIG_FILES    = $CONFIG_FILES
   24774   CONFIG_HEADERS  = $CONFIG_HEADERS
   24775   CONFIG_LINKS    = $CONFIG_LINKS
   24776   CONFIG_COMMANDS = $CONFIG_COMMANDS
   24777   $ $0 $@
   24778 
   24779 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   24780 "
   24781 
   24782 _ACEOF
   24783 
   24784 case $ac_config_files in *"
   24785 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   24786 esac
   24787 
   24788 case $ac_config_headers in *"
   24789 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   24790 esac
   24791 
   24792 
   24793 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24794 # Files that config.status was made for.
   24795 config_files="$ac_config_files"
   24796 config_headers="$ac_config_headers"
   24797 config_commands="$ac_config_commands"
   24798 
   24799 _ACEOF
   24800 
   24801 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24802 ac_cs_usage="\
   24803 '$as_me' instantiates files and other configuration actions
   24804 from templates according to the current configuration.  Unless the files
   24805 and actions are specified as TAGs, all are instantiated by default.
   24806 
   24807 Usage: $0 [OPTION]... [TAG]...
   24808 
   24809   -h, --help       print this help, then exit
   24810   -V, --version    print version number and configuration settings, then exit
   24811       --config     print configuration, then exit
   24812   -q, --quiet, --silent
   24813                    do not print progress messages
   24814   -d, --debug      don't remove temporary files
   24815       --recheck    update $as_me by reconfiguring in the same conditions
   24816       --file=FILE[:TEMPLATE]
   24817                    instantiate the configuration file FILE
   24818       --header=FILE[:TEMPLATE]
   24819                    instantiate the configuration header FILE
   24820 
   24821 Configuration files:
   24822 $config_files
   24823 
   24824 Configuration headers:
   24825 $config_headers
   24826 
   24827 Configuration commands:
   24828 $config_commands
   24829 
   24830 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues>."
   24831 
   24832 _ACEOF
   24833 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   24834 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   24835 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24836 ac_cs_config='$ac_cs_config_escaped'
   24837 ac_cs_version="\\
   24838 libX11 config.status 1.8.12
   24839 configured by $0, generated by GNU Autoconf 2.72,
   24840   with options \\"\$ac_cs_config\\"
   24841 
   24842 Copyright (C) 2023 Free Software Foundation, Inc.
   24843 This config.status script is free software; the Free Software Foundation
   24844 gives unlimited permission to copy, distribute and modify it."
   24845 
   24846 ac_pwd='$ac_pwd'
   24847 srcdir='$srcdir'
   24848 INSTALL='$INSTALL'
   24849 MKDIR_P='$MKDIR_P'
   24850 AWK='$AWK'
   24851 test -n "\$AWK" || AWK=awk
   24852 _ACEOF
   24853 
   24854 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24855 # The default lists apply if the user does not specify any file.
   24856 ac_need_defaults=:
   24857 while test $# != 0
   24858 do
   24859   case $1 in
   24860   --*=?*)
   24861     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   24862     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   24863     ac_shift=:
   24864     ;;
   24865   --*=)
   24866     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   24867     ac_optarg=
   24868     ac_shift=:
   24869     ;;
   24870   *)
   24871     ac_option=$1
   24872     ac_optarg=$2
   24873     ac_shift=shift
   24874     ;;
   24875   esac
   24876 
   24877   case $ac_option in
   24878   # Handling of the options.
   24879   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   24880     ac_cs_recheck=: ;;
   24881   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   24882     printf "%s\n" "$ac_cs_version"; exit ;;
   24883   --config | --confi | --conf | --con | --co | --c )
   24884     printf "%s\n" "$ac_cs_config"; exit ;;
   24885   --debug | --debu | --deb | --de | --d | -d )
   24886     debug=: ;;
   24887   --file | --fil | --fi | --f )
   24888     $ac_shift
   24889     case $ac_optarg in
   24890     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   24891     '') as_fn_error $? "missing file argument" ;;
   24892     esac
   24893     as_fn_append CONFIG_FILES " '$ac_optarg'"
   24894     ac_need_defaults=false;;
   24895   --header | --heade | --head | --hea )
   24896     $ac_shift
   24897     case $ac_optarg in
   24898     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   24899     esac
   24900     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   24901     ac_need_defaults=false;;
   24902   --he | --h)
   24903     # Conflict between --help and --header
   24904     as_fn_error $? "ambiguous option: '$1'
   24905 Try '$0 --help' for more information.";;
   24906   --help | --hel | -h )
   24907     printf "%s\n" "$ac_cs_usage"; exit ;;
   24908   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   24909   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   24910     ac_cs_silent=: ;;
   24911 
   24912   # This is an error.
   24913   -*) as_fn_error $? "unrecognized option: '$1'
   24914 Try '$0 --help' for more information." ;;
   24915 
   24916   *) as_fn_append ac_config_targets " $1"
   24917      ac_need_defaults=false ;;
   24918 
   24919   esac
   24920   shift
   24921 done
   24922 
   24923 ac_configure_extra_args=
   24924 
   24925 if $ac_cs_silent; then
   24926   exec 6>/dev/null
   24927   ac_configure_extra_args="$ac_configure_extra_args --silent"
   24928 fi
   24929 
   24930 _ACEOF
   24931 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24932 if \$ac_cs_recheck; then
   24933   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   24934   shift
   24935   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   24936   CONFIG_SHELL='$SHELL'
   24937   export CONFIG_SHELL
   24938   exec "\$@"
   24939 fi
   24940 
   24941 _ACEOF
   24942 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24943 exec 5>>config.log
   24944 {
   24945   echo
   24946   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   24947 ## Running $as_me. ##
   24948 _ASBOX
   24949   printf "%s\n" "$ac_log"
   24950 } >&5
   24951 
   24952 _ACEOF
   24953 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24954 #
   24955 # INIT-COMMANDS
   24956 #
   24957 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   24958 
   24959 
   24960 # The HP-UX ksh and POSIX shell print the target directory to stdout
   24961 # if CDPATH is set.
   24962 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   24963 
   24964 sed_quote_subst='$sed_quote_subst'
   24965 double_quote_subst='$double_quote_subst'
   24966 delay_variable_subst='$delay_variable_subst'
   24967 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   24968 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   24969 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   24970 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   24971 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   24972 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   24973 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   24974 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   24975 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   24976 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   24977 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   24978 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   24979 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   24980 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   24981 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   24982 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   24983 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   24984 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   24985 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   24986 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   24987 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   24988 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   24989 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   24990 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   24991 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   24992 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   24993 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   24994 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   24995 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   24996 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   24997 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   24998 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   24999 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   25000 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   25001 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   25002 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   25003 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   25004 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   25005 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   25006 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   25007 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   25008 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   25009 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   25010 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   25011 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   25012 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   25013 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   25014 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   25015 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   25016 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   25017 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   25018 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   25019 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   25020 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   25021 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   25022 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   25023 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   25024 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   25025 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   25026 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   25027 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"`'
   25028 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   25029 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   25030 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   25031 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   25032 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   25033 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   25034 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   25035 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   25036 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   25037 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   25038 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   25039 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   25040 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   25041 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   25042 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   25043 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   25044 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   25045 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   25046 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   25047 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   25048 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   25049 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   25050 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   25051 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   25052 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   25053 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   25054 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   25055 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   25056 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   25057 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   25058 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   25059 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   25060 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   25061 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   25062 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   25063 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   25064 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   25065 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   25066 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   25067 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   25068 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   25069 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   25070 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   25071 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   25072 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   25073 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   25074 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   25075 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   25076 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   25077 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   25078 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   25079 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   25080 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   25081 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   25082 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   25083 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   25084 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   25085 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   25086 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   25087 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   25088 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   25089 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   25090 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   25091 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   25092 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   25093 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   25094 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   25095 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   25096 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   25097 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   25098 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   25099 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   25100 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   25101 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   25102 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   25103 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   25104 
   25105 LTCC='$LTCC'
   25106 LTCFLAGS='$LTCFLAGS'
   25107 compiler='$compiler_DEFAULT'
   25108 
   25109 # A function that is used when there is no print builtin or printf.
   25110 func_fallback_echo ()
   25111 {
   25112   eval 'cat <<_LTECHO_EOF
   25113 \$1
   25114 _LTECHO_EOF'
   25115 }
   25116 
   25117 # Quote evaled strings.
   25118 for var in SHELL \
   25119 ECHO \
   25120 PATH_SEPARATOR \
   25121 SED \
   25122 GREP \
   25123 EGREP \
   25124 FGREP \
   25125 LD \
   25126 NM \
   25127 LN_S \
   25128 lt_SP2NL \
   25129 lt_NL2SP \
   25130 reload_flag \
   25131 FILECMD \
   25132 OBJDUMP \
   25133 deplibs_check_method \
   25134 file_magic_cmd \
   25135 file_magic_glob \
   25136 want_nocaseglob \
   25137 DLLTOOL \
   25138 sharedlib_from_linklib_cmd \
   25139 AR \
   25140 archiver_list_spec \
   25141 STRIP \
   25142 RANLIB \
   25143 CC \
   25144 CFLAGS \
   25145 compiler \
   25146 lt_cv_sys_global_symbol_pipe \
   25147 lt_cv_sys_global_symbol_to_cdecl \
   25148 lt_cv_sys_global_symbol_to_import \
   25149 lt_cv_sys_global_symbol_to_c_name_address \
   25150 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   25151 lt_cv_nm_interface \
   25152 nm_file_list_spec \
   25153 lt_cv_truncate_bin \
   25154 lt_prog_compiler_no_builtin_flag \
   25155 lt_prog_compiler_pic \
   25156 lt_prog_compiler_wl \
   25157 lt_prog_compiler_static \
   25158 lt_cv_prog_compiler_c_o \
   25159 need_locks \
   25160 MANIFEST_TOOL \
   25161 DSYMUTIL \
   25162 NMEDIT \
   25163 LIPO \
   25164 OTOOL \
   25165 OTOOL64 \
   25166 shrext_cmds \
   25167 export_dynamic_flag_spec \
   25168 whole_archive_flag_spec \
   25169 compiler_needs_object \
   25170 with_gnu_ld \
   25171 allow_undefined_flag \
   25172 no_undefined_flag \
   25173 hardcode_libdir_flag_spec \
   25174 hardcode_libdir_separator \
   25175 exclude_expsyms \
   25176 include_expsyms \
   25177 file_list_spec \
   25178 variables_saved_for_relink \
   25179 libname_spec \
   25180 library_names_spec \
   25181 soname_spec \
   25182 install_override_mode \
   25183 finish_eval \
   25184 old_striplib \
   25185 striplib; do
   25186     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   25187     *[\\\\\\\`\\"\\\$]*)
   25188       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   25189       ;;
   25190     *)
   25191       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   25192       ;;
   25193     esac
   25194 done
   25195 
   25196 # Double-quote double-evaled strings.
   25197 for var in reload_cmds \
   25198 old_postinstall_cmds \
   25199 old_postuninstall_cmds \
   25200 old_archive_cmds \
   25201 extract_expsyms_cmds \
   25202 old_archive_from_new_cmds \
   25203 old_archive_from_expsyms_cmds \
   25204 archive_cmds \
   25205 archive_expsym_cmds \
   25206 module_cmds \
   25207 module_expsym_cmds \
   25208 export_symbols_cmds \
   25209 prelink_cmds \
   25210 postlink_cmds \
   25211 postinstall_cmds \
   25212 postuninstall_cmds \
   25213 finish_cmds \
   25214 sys_lib_search_path_spec \
   25215 configure_time_dlsearch_path \
   25216 configure_time_lt_sys_library_path; do
   25217     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   25218     *[\\\\\\\`\\"\\\$]*)
   25219       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   25220       ;;
   25221     *)
   25222       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   25223       ;;
   25224     esac
   25225 done
   25226 
   25227 ac_aux_dir='$ac_aux_dir'
   25228 
   25229 # See if we are running on zsh, and set the options that allow our
   25230 # commands through without removal of \ escapes INIT.
   25231 if test -n "\${ZSH_VERSION+set}"; then
   25232    setopt NO_GLOB_SUBST
   25233 fi
   25234 
   25235 
   25236     PACKAGE='$PACKAGE'
   25237     VERSION='$VERSION'
   25238     RM='$RM'
   25239     ofile='$ofile'
   25240 
   25241 
   25242 
   25243 
   25244 _ACEOF
   25245 
   25246 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25247 
   25248 # Handling of arguments.
   25249 for ac_config_target in $ac_config_targets
   25250 do
   25251   case $ac_config_target in
   25252     "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
   25253     "include/X11/XlibConf.h") CONFIG_HEADERS="$CONFIG_HEADERS include/X11/XlibConf.h" ;;
   25254     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   25255     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   25256     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   25257     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   25258     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   25259     "man/xkb/Makefile") CONFIG_FILES="$CONFIG_FILES man/xkb/Makefile" ;;
   25260     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   25261     "src/util/Makefile") CONFIG_FILES="$CONFIG_FILES src/util/Makefile" ;;
   25262     "src/xcms/Makefile") CONFIG_FILES="$CONFIG_FILES src/xcms/Makefile" ;;
   25263     "src/xlibi18n/Makefile") CONFIG_FILES="$CONFIG_FILES src/xlibi18n/Makefile" ;;
   25264     "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
   25265     "modules/im/Makefile") CONFIG_FILES="$CONFIG_FILES modules/im/Makefile" ;;
   25266     "modules/im/ximcp/Makefile") CONFIG_FILES="$CONFIG_FILES modules/im/ximcp/Makefile" ;;
   25267     "modules/lc/Makefile") CONFIG_FILES="$CONFIG_FILES modules/lc/Makefile" ;;
   25268     "modules/lc/def/Makefile") CONFIG_FILES="$CONFIG_FILES modules/lc/def/Makefile" ;;
   25269     "modules/lc/gen/Makefile") CONFIG_FILES="$CONFIG_FILES modules/lc/gen/Makefile" ;;
   25270     "modules/lc/Utf8/Makefile") CONFIG_FILES="$CONFIG_FILES modules/lc/Utf8/Makefile" ;;
   25271     "modules/om/Makefile") CONFIG_FILES="$CONFIG_FILES modules/om/Makefile" ;;
   25272     "modules/om/generic/Makefile") CONFIG_FILES="$CONFIG_FILES modules/om/generic/Makefile" ;;
   25273     "src/xkb/Makefile") CONFIG_FILES="$CONFIG_FILES src/xkb/Makefile" ;;
   25274     "nls/Makefile") CONFIG_FILES="$CONFIG_FILES nls/Makefile" ;;
   25275     "specs/Makefile") CONFIG_FILES="$CONFIG_FILES specs/Makefile" ;;
   25276     "specs/i18n/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/Makefile" ;;
   25277     "specs/i18n/compose/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/compose/Makefile" ;;
   25278     "specs/i18n/framework/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/framework/Makefile" ;;
   25279     "specs/i18n/localedb/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/localedb/Makefile" ;;
   25280     "specs/i18n/trans/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/trans/Makefile" ;;
   25281     "specs/libX11/Makefile") CONFIG_FILES="$CONFIG_FILES specs/libX11/Makefile" ;;
   25282     "specs/XIM/Makefile") CONFIG_FILES="$CONFIG_FILES specs/XIM/Makefile" ;;
   25283     "specs/XKB/Makefile") CONFIG_FILES="$CONFIG_FILES specs/XKB/Makefile" ;;
   25284     "x11.pc") CONFIG_FILES="$CONFIG_FILES x11.pc" ;;
   25285     "x11-xcb.pc") CONFIG_FILES="$CONFIG_FILES x11-xcb.pc" ;;
   25286 
   25287   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   25288   esac
   25289 done
   25290 
   25291 
   25292 # If the user did not use the arguments to specify the items to instantiate,
   25293 # then the envvar interface is used.  Set only those that are not.
   25294 # We use the long form for the default assignment because of an extremely
   25295 # bizarre bug on SunOS 4.1.3.
   25296 if $ac_need_defaults; then
   25297   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   25298   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   25299   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   25300 fi
   25301 
   25302 # Have a temporary directory for convenience.  Make it in the build tree
   25303 # simply because there is no reason against having it here, and in addition,
   25304 # creating and moving files from /tmp can sometimes cause problems.
   25305 # Hook for its removal unless debugging.
   25306 # Note that there is a small window in which the directory will not be cleaned:
   25307 # after its creation but before its name has been assigned to '$tmp'.
   25308 $debug ||
   25309 {
   25310   tmp= ac_tmp=
   25311   trap 'exit_status=$?
   25312   : "${ac_tmp:=$tmp}"
   25313   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   25314 ' 0
   25315   trap 'as_fn_exit 1' 1 2 13 15
   25316 }
   25317 # Create a (secure) tmp directory for tmp files.
   25318 
   25319 {
   25320   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   25321   test -d "$tmp"
   25322 }  ||
   25323 {
   25324   tmp=./conf$$-$RANDOM
   25325   (umask 077 && mkdir "$tmp")
   25326 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   25327 ac_tmp=$tmp
   25328 
   25329 # Set up the scripts for CONFIG_FILES section.
   25330 # No need to generate them if there are no CONFIG_FILES.
   25331 # This happens for instance with './config.status config.h'.
   25332 if test -n "$CONFIG_FILES"; then
   25333 
   25334 
   25335 ac_cr=`echo X | tr X '\015'`
   25336 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   25337 # But we know of no other shell where ac_cr would be empty at this
   25338 # point, so we can use a bashism as a fallback.
   25339 if test "x$ac_cr" = x; then
   25340   eval ac_cr=\$\'\\r\'
   25341 fi
   25342 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   25343 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   25344   ac_cs_awk_cr='\\r'
   25345 else
   25346   ac_cs_awk_cr=$ac_cr
   25347 fi
   25348 
   25349 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   25350 _ACEOF
   25351 
   25352 
   25353 {
   25354   echo "cat >conf$$subs.awk <<_ACEOF" &&
   25355   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   25356   echo "_ACEOF"
   25357 } >conf$$subs.sh ||
   25358   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   25359 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   25360 ac_delim='%!_!# '
   25361 for ac_last_try in false false false false false :; do
   25362   . ./conf$$subs.sh ||
   25363     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   25364 
   25365   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   25366   if test $ac_delim_n = $ac_delim_num; then
   25367     break
   25368   elif $ac_last_try; then
   25369     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   25370   else
   25371     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   25372   fi
   25373 done
   25374 rm -f conf$$subs.sh
   25375 
   25376 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25377 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   25378 _ACEOF
   25379 sed -n '
   25380 h
   25381 s/^/S["/; s/!.*/"]=/
   25382 p
   25383 g
   25384 s/^[^!]*!//
   25385 :repl
   25386 t repl
   25387 s/'"$ac_delim"'$//
   25388 t delim
   25389 :nl
   25390 h
   25391 s/\(.\{148\}\)..*/\1/
   25392 t more1
   25393 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   25394 p
   25395 n
   25396 b repl
   25397 :more1
   25398 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   25399 p
   25400 g
   25401 s/.\{148\}//
   25402 t nl
   25403 :delim
   25404 h
   25405 s/\(.\{148\}\)..*/\1/
   25406 t more2
   25407 s/["\\]/\\&/g; s/^/"/; s/$/"/
   25408 p
   25409 b
   25410 :more2
   25411 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   25412 p
   25413 g
   25414 s/.\{148\}//
   25415 t delim
   25416 ' <conf$$subs.awk | sed '
   25417 /^[^""]/{
   25418   N
   25419   s/\n//
   25420 }
   25421 ' >>$CONFIG_STATUS || ac_write_fail=1
   25422 rm -f conf$$subs.awk
   25423 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25424 _ACAWK
   25425 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   25426   for (key in S) S_is_set[key] = 1
   25427   FS = ""
   25428 
   25429 }
   25430 {
   25431   line = $ 0
   25432   nfields = split(line, field, "@")
   25433   substed = 0
   25434   len = length(field[1])
   25435   for (i = 2; i < nfields; i++) {
   25436     key = field[i]
   25437     keylen = length(key)
   25438     if (S_is_set[key]) {
   25439       value = S[key]
   25440       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   25441       len += length(value) + length(field[++i])
   25442       substed = 1
   25443     } else
   25444       len += 1 + keylen
   25445   }
   25446 
   25447   print line
   25448 }
   25449 
   25450 _ACAWK
   25451 _ACEOF
   25452 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25453 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   25454   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   25455 else
   25456   cat
   25457 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   25458   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   25459 _ACEOF
   25460 
   25461 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   25462 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   25463 # trailing colons and then remove the whole line if VPATH becomes empty
   25464 # (actually we leave an empty line to preserve line numbers).
   25465 if test "x$srcdir" = x.; then
   25466   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   25467 h
   25468 s///
   25469 s/^/:/
   25470 s/[	 ]*$/:/
   25471 s/:\$(srcdir):/:/g
   25472 s/:\${srcdir}:/:/g
   25473 s/:@srcdir@:/:/g
   25474 s/^:*//
   25475 s/:*$//
   25476 x
   25477 s/\(=[	 ]*\).*/\1/
   25478 G
   25479 s/\n//
   25480 s/^[^=]*=[	 ]*$//
   25481 }'
   25482 fi
   25483 
   25484 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25485 fi # test -n "$CONFIG_FILES"
   25486 
   25487 # Set up the scripts for CONFIG_HEADERS section.
   25488 # No need to generate them if there are no CONFIG_HEADERS.
   25489 # This happens for instance with './config.status Makefile'.
   25490 if test -n "$CONFIG_HEADERS"; then
   25491 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   25492 BEGIN {
   25493 _ACEOF
   25494 
   25495 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   25496 # here-document in config.status, that substitutes the proper values into
   25497 # config.h.in to produce config.h.
   25498 
   25499 # Create a delimiter string that does not exist in confdefs.h, to ease
   25500 # handling of long lines.
   25501 ac_delim='%!_!# '
   25502 for ac_last_try in false false :; do
   25503   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   25504   if test -z "$ac_tt"; then
   25505     break
   25506   elif $ac_last_try; then
   25507     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   25508   else
   25509     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   25510   fi
   25511 done
   25512 
   25513 # For the awk script, D is an array of macro values keyed by name,
   25514 # likewise P contains macro parameters if any.  Preserve backslash
   25515 # newline sequences.
   25516 
   25517 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   25518 sed -n '
   25519 s/.\{148\}/&'"$ac_delim"'/g
   25520 t rset
   25521 :rset
   25522 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   25523 t def
   25524 d
   25525 :def
   25526 s/\\$//
   25527 t bsnl
   25528 s/["\\]/\\&/g
   25529 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   25530 D["\1"]=" \3"/p
   25531 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   25532 d
   25533 :bsnl
   25534 s/["\\]/\\&/g
   25535 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   25536 D["\1"]=" \3\\\\\\n"\\/p
   25537 t cont
   25538 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   25539 t cont
   25540 d
   25541 :cont
   25542 n
   25543 s/.\{148\}/&'"$ac_delim"'/g
   25544 t clear
   25545 :clear
   25546 s/\\$//
   25547 t bsnlc
   25548 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   25549 d
   25550 :bsnlc
   25551 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   25552 b cont
   25553 ' <confdefs.h | sed '
   25554 s/'"$ac_delim"'/"\\\
   25555 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   25556 
   25557 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25558   for (key in D) D_is_set[key] = 1
   25559   FS = ""
   25560 }
   25561 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   25562   line = \$ 0
   25563   split(line, arg, " ")
   25564   if (arg[1] == "#") {
   25565     defundef = arg[2]
   25566     mac1 = arg[3]
   25567   } else {
   25568     defundef = substr(arg[1], 2)
   25569     mac1 = arg[2]
   25570   }
   25571   split(mac1, mac2, "(") #)
   25572   macro = mac2[1]
   25573   prefix = substr(line, 1, index(line, defundef) - 1)
   25574   if (D_is_set[macro]) {
   25575     # Preserve the white space surrounding the "#".
   25576     print prefix "define", macro P[macro] D[macro]
   25577     next
   25578   } else {
   25579     # Replace #undef with comments.  This is necessary, for example,
   25580     # in the case of _POSIX_SOURCE, which is predefined and required
   25581     # on some systems where configure will not decide to define it.
   25582     if (defundef == "undef") {
   25583       print "/*", prefix defundef, macro, "*/"
   25584       next
   25585     }
   25586   }
   25587 }
   25588 { print }
   25589 _ACAWK
   25590 _ACEOF
   25591 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25592   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   25593 fi # test -n "$CONFIG_HEADERS"
   25594 
   25595 
   25596 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   25597 shift
   25598 for ac_tag
   25599 do
   25600   case $ac_tag in
   25601   :[FHLC]) ac_mode=$ac_tag; continue;;
   25602   esac
   25603   case $ac_mode$ac_tag in
   25604   :[FHL]*:*);;
   25605   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   25606   :[FH]-) ac_tag=-:-;;
   25607   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   25608   esac
   25609   ac_save_IFS=$IFS
   25610   IFS=:
   25611   set x $ac_tag
   25612   IFS=$ac_save_IFS
   25613   shift
   25614   ac_file=$1
   25615   shift
   25616 
   25617   case $ac_mode in
   25618   :L) ac_source=$1;;
   25619   :[FH])
   25620     ac_file_inputs=
   25621     for ac_f
   25622     do
   25623       case $ac_f in
   25624       -) ac_f="$ac_tmp/stdin";;
   25625       *) # Look for the file first in the build tree, then in the source tree
   25626 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   25627 	 # because $ac_f cannot contain ':'.
   25628 	 test -f "$ac_f" ||
   25629 	   case $ac_f in
   25630 	   [\\/$]*) false;;
   25631 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   25632 	   esac ||
   25633 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   25634       esac
   25635       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   25636       as_fn_append ac_file_inputs " '$ac_f'"
   25637     done
   25638 
   25639     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   25640     # use $as_me), people would be surprised to read:
   25641     #    /* config.h.  Generated by config.status.  */
   25642     configure_input='Generated from '`
   25643 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   25644 	`' by configure.'
   25645     if test x"$ac_file" != x-; then
   25646       configure_input="$ac_file.  $configure_input"
   25647       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   25648 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   25649     fi
   25650     # Neutralize special characters interpreted by sed in replacement strings.
   25651     case $configure_input in #(
   25652     *\&* | *\|* | *\\* )
   25653        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   25654        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   25655     *) ac_sed_conf_input=$configure_input;;
   25656     esac
   25657 
   25658     case $ac_tag in
   25659     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   25660       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   25661     esac
   25662     ;;
   25663   esac
   25664 
   25665   ac_dir=`$as_dirname -- "$ac_file" ||
   25666 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   25667 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   25668 	 X"$ac_file" : 'X\(//\)$' \| \
   25669 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   25670 printf "%s\n" X"$ac_file" |
   25671     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   25672 	    s//\1/
   25673 	    q
   25674 	  }
   25675 	  /^X\(\/\/\)[^/].*/{
   25676 	    s//\1/
   25677 	    q
   25678 	  }
   25679 	  /^X\(\/\/\)$/{
   25680 	    s//\1/
   25681 	    q
   25682 	  }
   25683 	  /^X\(\/\).*/{
   25684 	    s//\1/
   25685 	    q
   25686 	  }
   25687 	  s/.*/./; q'`
   25688   as_dir="$ac_dir"; as_fn_mkdir_p
   25689   ac_builddir=.
   25690 
   25691 case "$ac_dir" in
   25692 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   25693 *)
   25694   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   25695   # A ".." for each directory in $ac_dir_suffix.
   25696   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   25697   case $ac_top_builddir_sub in
   25698   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   25699   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   25700   esac ;;
   25701 esac
   25702 ac_abs_top_builddir=$ac_pwd
   25703 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   25704 # for backward compatibility:
   25705 ac_top_builddir=$ac_top_build_prefix
   25706 
   25707 case $srcdir in
   25708   .)  # We are building in place.
   25709     ac_srcdir=.
   25710     ac_top_srcdir=$ac_top_builddir_sub
   25711     ac_abs_top_srcdir=$ac_pwd ;;
   25712   [\\/]* | ?:[\\/]* )  # Absolute name.
   25713     ac_srcdir=$srcdir$ac_dir_suffix;
   25714     ac_top_srcdir=$srcdir
   25715     ac_abs_top_srcdir=$srcdir ;;
   25716   *) # Relative name.
   25717     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   25718     ac_top_srcdir=$ac_top_build_prefix$srcdir
   25719     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   25720 esac
   25721 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   25722 
   25723 
   25724   case $ac_mode in
   25725   :F)
   25726   #
   25727   # CONFIG_FILE
   25728   #
   25729 
   25730   case $INSTALL in
   25731   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   25732   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   25733   esac
   25734   ac_MKDIR_P=$MKDIR_P
   25735   case $MKDIR_P in
   25736   [\\/$]* | ?:[\\/]* ) ;;
   25737   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   25738   esac
   25739 _ACEOF
   25740 
   25741 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25742 # If the template does not know about datarootdir, expand it.
   25743 # FIXME: This hack should be removed a few years after 2.60.
   25744 ac_datarootdir_hack=; ac_datarootdir_seen=
   25745 ac_sed_dataroot='
   25746 /datarootdir/ {
   25747   p
   25748   q
   25749 }
   25750 /@datadir@/p
   25751 /@docdir@/p
   25752 /@infodir@/p
   25753 /@localedir@/p
   25754 /@mandir@/p'
   25755 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   25756 *datarootdir*) ac_datarootdir_seen=yes;;
   25757 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   25758   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   25759 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   25760 _ACEOF
   25761 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25762   ac_datarootdir_hack='
   25763   s&@datadir@&$datadir&g
   25764   s&@docdir@&$docdir&g
   25765   s&@infodir@&$infodir&g
   25766   s&@localedir@&$localedir&g
   25767   s&@mandir@&$mandir&g
   25768   s&\\\${datarootdir}&$datarootdir&g' ;;
   25769 esac
   25770 _ACEOF
   25771 
   25772 # Neutralize VPATH when '$srcdir' = '.'.
   25773 # Shell code in configure.ac might set extrasub.
   25774 # FIXME: do we really want to maintain this feature?
   25775 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25776 ac_sed_extra="$ac_vpsub
   25777 $extrasub
   25778 _ACEOF
   25779 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25780 :t
   25781 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   25782 s|@configure_input@|$ac_sed_conf_input|;t t
   25783 s&@top_builddir@&$ac_top_builddir_sub&;t t
   25784 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   25785 s&@srcdir@&$ac_srcdir&;t t
   25786 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   25787 s&@top_srcdir@&$ac_top_srcdir&;t t
   25788 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   25789 s&@builddir@&$ac_builddir&;t t
   25790 s&@abs_builddir@&$ac_abs_builddir&;t t
   25791 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   25792 s&@INSTALL@&$ac_INSTALL&;t t
   25793 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   25794 $ac_datarootdir_hack
   25795 "
   25796 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   25797   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   25798 
   25799 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   25800   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   25801   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   25802       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   25803   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   25804 which seems to be undefined.  Please make sure it is defined" >&5
   25805 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   25806 which seems to be undefined.  Please make sure it is defined" >&2;}
   25807 
   25808   rm -f "$ac_tmp/stdin"
   25809   case $ac_file in
   25810   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   25811   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   25812   esac \
   25813   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   25814  ;;
   25815   :H)
   25816   #
   25817   # CONFIG_HEADER
   25818   #
   25819   if test x"$ac_file" != x-; then
   25820     {
   25821       printf "%s\n" "/* $configure_input  */" >&1 \
   25822       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   25823     } >"$ac_tmp/config.h" \
   25824       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   25825     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   25826       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   25827 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   25828     else
   25829       rm -f "$ac_file"
   25830       mv "$ac_tmp/config.h" "$ac_file" \
   25831 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   25832     fi
   25833   else
   25834     printf "%s\n" "/* $configure_input  */" >&1 \
   25835       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   25836       || as_fn_error $? "could not create -" "$LINENO" 5
   25837   fi
   25838 # Compute "$ac_file"'s index in $config_headers.
   25839 _am_arg="$ac_file"
   25840 _am_stamp_count=1
   25841 for _am_header in $config_headers :; do
   25842   case $_am_header in
   25843     $_am_arg | $_am_arg:* )
   25844       break ;;
   25845     * )
   25846       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   25847   esac
   25848 done
   25849 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   25850 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   25851 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   25852 	 X"$_am_arg" : 'X\(//\)$' \| \
   25853 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   25854 printf "%s\n" X"$_am_arg" |
   25855     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   25856 	    s//\1/
   25857 	    q
   25858 	  }
   25859 	  /^X\(\/\/\)[^/].*/{
   25860 	    s//\1/
   25861 	    q
   25862 	  }
   25863 	  /^X\(\/\/\)$/{
   25864 	    s//\1/
   25865 	    q
   25866 	  }
   25867 	  /^X\(\/\).*/{
   25868 	    s//\1/
   25869 	    q
   25870 	  }
   25871 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   25872  ;;
   25873 
   25874   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   25875 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   25876  ;;
   25877   esac
   25878 
   25879 
   25880   case $ac_file$ac_mode in
   25881     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   25882   # Older Autoconf quotes --file arguments for eval, but not when files
   25883   # are listed without --file.  Let's play safe and only enable the eval
   25884   # if we detect the quoting.
   25885   # TODO: see whether this extra hack can be removed once we start
   25886   # requiring Autoconf 2.70 or later.
   25887   case $CONFIG_FILES in #(
   25888   *\'*) :
   25889     eval set x "$CONFIG_FILES" ;; #(
   25890   *) :
   25891     set x $CONFIG_FILES ;; #(
   25892   *) :
   25893      ;;
   25894 esac
   25895   shift
   25896   # Used to flag and report bootstrapping failures.
   25897   am_rc=0
   25898   for am_mf
   25899   do
   25900     # Strip MF so we end up with the name of the file.
   25901     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   25902     # Check whether this is an Automake generated Makefile which includes
   25903     # dependency-tracking related rules and includes.
   25904     # Grep'ing the whole file directly is not great: AIX grep has a line
   25905     # limit of 2048, but all sed's we know have understand at least 4000.
   25906     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   25907       || continue
   25908     am_dirpart=`$as_dirname -- "$am_mf" ||
   25909 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   25910 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   25911 	 X"$am_mf" : 'X\(//\)$' \| \
   25912 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   25913 printf "%s\n" X"$am_mf" |
   25914     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   25915 	    s//\1/
   25916 	    q
   25917 	  }
   25918 	  /^X\(\/\/\)[^/].*/{
   25919 	    s//\1/
   25920 	    q
   25921 	  }
   25922 	  /^X\(\/\/\)$/{
   25923 	    s//\1/
   25924 	    q
   25925 	  }
   25926 	  /^X\(\/\).*/{
   25927 	    s//\1/
   25928 	    q
   25929 	  }
   25930 	  s/.*/./; q'`
   25931     am_filepart=`$as_basename -- "$am_mf" ||
   25932 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   25933 	 X"$am_mf" : 'X\(//\)$' \| \
   25934 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   25935 printf "%s\n" X/"$am_mf" |
   25936     sed '/^.*\/\([^/][^/]*\)\/*$/{
   25937 	    s//\1/
   25938 	    q
   25939 	  }
   25940 	  /^X\/\(\/\/\)$/{
   25941 	    s//\1/
   25942 	    q
   25943 	  }
   25944 	  /^X\/\(\/\).*/{
   25945 	    s//\1/
   25946 	    q
   25947 	  }
   25948 	  s/.*/./; q'`
   25949     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   25950       && sed -e '/# am--include-marker/d' "$am_filepart" \
   25951         | $MAKE -f - am--depfiles" >&5
   25952    (cd "$am_dirpart" \
   25953       && sed -e '/# am--include-marker/d' "$am_filepart" \
   25954         | $MAKE -f - am--depfiles) >&5 2>&5
   25955    ac_status=$?
   25956    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   25957    (exit $ac_status); } || am_rc=$?
   25958   done
   25959   if test $am_rc -ne 0; then
   25960     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   25961 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   25962 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   25963     for automatic dependency tracking.  If GNU make was not used, consider
   25964     re-running the configure script with MAKE=\"gmake\" (or whatever is
   25965     necessary).  You can also try re-running configure with the
   25966     '--disable-dependency-tracking' option to at least be able to build
   25967     the package (albeit without support for automatic dependency tracking).
   25968 See 'config.log' for more details" "$LINENO" 5; }
   25969   fi
   25970   { am_dirpart=; unset am_dirpart;}
   25971   { am_filepart=; unset am_filepart;}
   25972   { am_mf=; unset am_mf;}
   25973   { am_rc=; unset am_rc;}
   25974   rm -f conftest-deps.mk
   25975 }
   25976  ;;
   25977     "libtool":C)
   25978 
   25979     # See if we are running on zsh, and set the options that allow our
   25980     # commands through without removal of \ escapes.
   25981     if test -n "${ZSH_VERSION+set}"; then
   25982       setopt NO_GLOB_SUBST
   25983     fi
   25984 
   25985     cfgfile=${ofile}T
   25986     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   25987     $RM "$cfgfile"
   25988 
   25989     cat <<_LT_EOF >> "$cfgfile"
   25990 #! $SHELL
   25991 # Generated automatically by $as_me ($PACKAGE) $VERSION
   25992 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   25993 
   25994 # Provide generalized library-building support services.
   25995 # Written by Gordon Matzigkeit, 1996
   25996 
   25997 # Copyright (C) 2024 Free Software Foundation, Inc.
   25998 # This is free software; see the source for copying conditions.  There is NO
   25999 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   26000 
   26001 # GNU Libtool is free software; you can redistribute it and/or modify
   26002 # it under the terms of the GNU General Public License as published by
   26003 # the Free Software Foundation; either version 2 of the License, or
   26004 # (at your option) any later version.
   26005 #
   26006 # As a special exception to the GNU General Public License, if you
   26007 # distribute this file as part of a program or library that is built
   26008 # using GNU Libtool, you may include this file under the  same
   26009 # distribution terms that you use for the rest of that program.
   26010 #
   26011 # GNU Libtool is distributed in the hope that it will be useful, but
   26012 # WITHOUT ANY WARRANTY; without even the implied warranty of
   26013 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   26014 # GNU General Public License for more details.
   26015 #
   26016 # You should have received a copy of the GNU General Public License
   26017 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   26018 
   26019 
   26020 # The names of the tagged configurations supported by this script.
   26021 available_tags=''
   26022 
   26023 # Configured defaults for sys_lib_dlsearch_path munging.
   26024 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   26025 
   26026 # ### BEGIN LIBTOOL CONFIG
   26027 
   26028 # Which release of libtool.m4 was used?
   26029 macro_version=$macro_version
   26030 macro_revision=$macro_revision
   26031 
   26032 # Whether or not to build shared libraries.
   26033 build_libtool_libs=$enable_shared
   26034 
   26035 # Whether or not to build static libraries.
   26036 build_old_libs=$enable_static
   26037 
   26038 # What type of objects to build.
   26039 pic_mode=$pic_mode
   26040 
   26041 # Whether or not to optimize for fast installation.
   26042 fast_install=$enable_fast_install
   26043 
   26044 # Shared archive member basename,for filename based shared library versioning on AIX.
   26045 shared_archive_member_spec=$shared_archive_member_spec
   26046 
   26047 # Shell to use when invoking shell scripts.
   26048 SHELL=$lt_SHELL
   26049 
   26050 # An echo program that protects backslashes.
   26051 ECHO=$lt_ECHO
   26052 
   26053 # The PATH separator for the build system.
   26054 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   26055 
   26056 # The host system.
   26057 host_alias=$host_alias
   26058 host=$host
   26059 host_os=$host_os
   26060 
   26061 # The build system.
   26062 build_alias=$build_alias
   26063 build=$build
   26064 build_os=$build_os
   26065 
   26066 # A sed program that does not truncate output.
   26067 SED=$lt_SED
   26068 
   26069 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   26070 Xsed="\$SED -e 1s/^X//"
   26071 
   26072 # A grep program that handles long lines.
   26073 GREP=$lt_GREP
   26074 
   26075 # An ERE matcher.
   26076 EGREP=$lt_EGREP
   26077 
   26078 # A literal string matcher.
   26079 FGREP=$lt_FGREP
   26080 
   26081 # A BSD- or MS-compatible name lister.
   26082 NM=$lt_NM
   26083 
   26084 # Whether we need soft or hard links.
   26085 LN_S=$lt_LN_S
   26086 
   26087 # What is the maximum length of a command?
   26088 max_cmd_len=$max_cmd_len
   26089 
   26090 # Object file suffix (normally "o").
   26091 objext=$ac_objext
   26092 
   26093 # Executable file suffix (normally "").
   26094 exeext=$exeext
   26095 
   26096 # whether the shell understands "unset".
   26097 lt_unset=$lt_unset
   26098 
   26099 # turn spaces into newlines.
   26100 SP2NL=$lt_lt_SP2NL
   26101 
   26102 # turn newlines into spaces.
   26103 NL2SP=$lt_lt_NL2SP
   26104 
   26105 # convert \$build file names to \$host format.
   26106 to_host_file_cmd=$lt_cv_to_host_file_cmd
   26107 
   26108 # convert \$build files to toolchain format.
   26109 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   26110 
   26111 # A file(cmd) program that detects file types.
   26112 FILECMD=$lt_FILECMD
   26113 
   26114 # An object symbol dumper.
   26115 OBJDUMP=$lt_OBJDUMP
   26116 
   26117 # Method to check whether dependent libraries are shared objects.
   26118 deplibs_check_method=$lt_deplibs_check_method
   26119 
   26120 # Command to use when deplibs_check_method = "file_magic".
   26121 file_magic_cmd=$lt_file_magic_cmd
   26122 
   26123 # How to find potential files when deplibs_check_method = "file_magic".
   26124 file_magic_glob=$lt_file_magic_glob
   26125 
   26126 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   26127 want_nocaseglob=$lt_want_nocaseglob
   26128 
   26129 # DLL creation program.
   26130 DLLTOOL=$lt_DLLTOOL
   26131 
   26132 # Command to associate shared and link libraries.
   26133 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   26134 
   26135 # The archiver.
   26136 AR=$lt_AR
   26137 
   26138 # Flags to create an archive (by configure).
   26139 lt_ar_flags=$lt_ar_flags
   26140 
   26141 # Flags to create an archive.
   26142 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   26143 
   26144 # How to feed a file listing to the archiver.
   26145 archiver_list_spec=$lt_archiver_list_spec
   26146 
   26147 # A symbol stripping program.
   26148 STRIP=$lt_STRIP
   26149 
   26150 # Commands used to install an old-style archive.
   26151 RANLIB=$lt_RANLIB
   26152 old_postinstall_cmds=$lt_old_postinstall_cmds
   26153 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   26154 
   26155 # Whether to use a lock for old archive extraction.
   26156 lock_old_archive_extraction=$lock_old_archive_extraction
   26157 
   26158 # A C compiler.
   26159 LTCC=$lt_CC
   26160 
   26161 # LTCC compiler flags.
   26162 LTCFLAGS=$lt_CFLAGS
   26163 
   26164 # Take the output of nm and produce a listing of raw symbols and C names.
   26165 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   26166 
   26167 # Transform the output of nm in a proper C declaration.
   26168 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   26169 
   26170 # Transform the output of nm into a list of symbols to manually relocate.
   26171 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   26172 
   26173 # Transform the output of nm in a C name address pair.
   26174 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   26175 
   26176 # Transform the output of nm in a C name address pair when lib prefix is needed.
   26177 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   26178 
   26179 # The name lister interface.
   26180 nm_interface=$lt_lt_cv_nm_interface
   26181 
   26182 # Specify filename containing input files for \$NM.
   26183 nm_file_list_spec=$lt_nm_file_list_spec
   26184 
   26185 # The root where to search for dependent libraries,and where our libraries should be installed.
   26186 lt_sysroot=$lt_sysroot
   26187 
   26188 # Command to truncate a binary pipe.
   26189 lt_truncate_bin=$lt_lt_cv_truncate_bin
   26190 
   26191 # The name of the directory that contains temporary libtool files.
   26192 objdir=$objdir
   26193 
   26194 # Used to examine libraries when file_magic_cmd begins with "file".
   26195 MAGIC_CMD=$MAGIC_CMD
   26196 
   26197 # Must we lock files when doing compilation?
   26198 need_locks=$lt_need_locks
   26199 
   26200 # Manifest tool.
   26201 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   26202 
   26203 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   26204 DSYMUTIL=$lt_DSYMUTIL
   26205 
   26206 # Tool to change global to local symbols on Mac OS X.
   26207 NMEDIT=$lt_NMEDIT
   26208 
   26209 # Tool to manipulate fat objects and archives on Mac OS X.
   26210 LIPO=$lt_LIPO
   26211 
   26212 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   26213 OTOOL=$lt_OTOOL
   26214 
   26215 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   26216 OTOOL64=$lt_OTOOL64
   26217 
   26218 # Old archive suffix (normally "a").
   26219 libext=$libext
   26220 
   26221 # Shared library suffix (normally ".so").
   26222 shrext_cmds=$lt_shrext_cmds
   26223 
   26224 # The commands to extract the exported symbol list from a shared archive.
   26225 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   26226 
   26227 # Variables whose values should be saved in libtool wrapper scripts and
   26228 # restored at link time.
   26229 variables_saved_for_relink=$lt_variables_saved_for_relink
   26230 
   26231 # Do we need the "lib" prefix for modules?
   26232 need_lib_prefix=$need_lib_prefix
   26233 
   26234 # Do we need a version for libraries?
   26235 need_version=$need_version
   26236 
   26237 # Library versioning type.
   26238 version_type=$version_type
   26239 
   26240 # Shared library runtime path variable.
   26241 runpath_var=$runpath_var
   26242 
   26243 # Shared library path variable.
   26244 shlibpath_var=$shlibpath_var
   26245 
   26246 # Is shlibpath searched before the hard-coded library search path?
   26247 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   26248 
   26249 # Format of library name prefix.
   26250 libname_spec=$lt_libname_spec
   26251 
   26252 # List of archive names.  First name is the real one, the rest are links.
   26253 # The last name is the one that the linker finds with -lNAME
   26254 library_names_spec=$lt_library_names_spec
   26255 
   26256 # The coded name of the library, if different from the real name.
   26257 soname_spec=$lt_soname_spec
   26258 
   26259 # Permission mode override for installation of shared libraries.
   26260 install_override_mode=$lt_install_override_mode
   26261 
   26262 # Command to use after installation of a shared archive.
   26263 postinstall_cmds=$lt_postinstall_cmds
   26264 
   26265 # Command to use after uninstallation of a shared archive.
   26266 postuninstall_cmds=$lt_postuninstall_cmds
   26267 
   26268 # Commands used to finish a libtool library installation in a directory.
   26269 finish_cmds=$lt_finish_cmds
   26270 
   26271 # As "finish_cmds", except a single script fragment to be evaled but
   26272 # not shown.
   26273 finish_eval=$lt_finish_eval
   26274 
   26275 # Whether we should hardcode library paths into libraries.
   26276 hardcode_into_libs=$hardcode_into_libs
   26277 
   26278 # Compile-time system search path for libraries.
   26279 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   26280 
   26281 # Detected run-time system search path for libraries.
   26282 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   26283 
   26284 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   26285 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   26286 
   26287 # Whether dlopen is supported.
   26288 dlopen_support=$enable_dlopen
   26289 
   26290 # Whether dlopen of programs is supported.
   26291 dlopen_self=$enable_dlopen_self
   26292 
   26293 # Whether dlopen of statically linked programs is supported.
   26294 dlopen_self_static=$enable_dlopen_self_static
   26295 
   26296 # Commands to strip libraries.
   26297 old_striplib=$lt_old_striplib
   26298 striplib=$lt_striplib
   26299 
   26300 
   26301 # The linker used to build libraries.
   26302 LD=$lt_LD
   26303 
   26304 # How to create reloadable object files.
   26305 reload_flag=$lt_reload_flag
   26306 reload_cmds=$lt_reload_cmds
   26307 
   26308 # Commands used to build an old-style archive.
   26309 old_archive_cmds=$lt_old_archive_cmds
   26310 
   26311 # A language specific compiler.
   26312 CC=$lt_compiler
   26313 
   26314 # Is the compiler the GNU compiler?
   26315 with_gcc=$GCC
   26316 
   26317 # Compiler flag to turn off builtin functions.
   26318 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   26319 
   26320 # Additional compiler flags for building library objects.
   26321 pic_flag=$lt_lt_prog_compiler_pic
   26322 
   26323 # How to pass a linker flag through the compiler.
   26324 wl=$lt_lt_prog_compiler_wl
   26325 
   26326 # Compiler flag to prevent dynamic linking.
   26327 link_static_flag=$lt_lt_prog_compiler_static
   26328 
   26329 # Does compiler simultaneously support -c and -o options?
   26330 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   26331 
   26332 # Whether or not to add -lc for building shared libraries.
   26333 build_libtool_need_lc=$archive_cmds_need_lc
   26334 
   26335 # Whether or not to disallow shared libs when runtime libs are static.
   26336 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   26337 
   26338 # Compiler flag to allow reflexive dlopens.
   26339 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   26340 
   26341 # Compiler flag to generate shared objects directly from archives.
   26342 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   26343 
   26344 # Whether the compiler copes with passing no objects directly.
   26345 compiler_needs_object=$lt_compiler_needs_object
   26346 
   26347 # Create an old-style archive from a shared archive.
   26348 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   26349 
   26350 # Create a temporary old-style archive to link instead of a shared archive.
   26351 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   26352 
   26353 # Commands used to build a shared archive.
   26354 archive_cmds=$lt_archive_cmds
   26355 archive_expsym_cmds=$lt_archive_expsym_cmds
   26356 
   26357 # Commands used to build a loadable module if different from building
   26358 # a shared archive.
   26359 module_cmds=$lt_module_cmds
   26360 module_expsym_cmds=$lt_module_expsym_cmds
   26361 
   26362 # Whether we are building with GNU ld or not.
   26363 with_gnu_ld=$lt_with_gnu_ld
   26364 
   26365 # Flag that allows shared libraries with undefined symbols to be built.
   26366 allow_undefined_flag=$lt_allow_undefined_flag
   26367 
   26368 # Flag that enforces no undefined symbols.
   26369 no_undefined_flag=$lt_no_undefined_flag
   26370 
   26371 # Flag to hardcode \$libdir into a binary during linking.
   26372 # This must work even if \$libdir does not exist
   26373 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   26374 
   26375 # Whether we need a single "-rpath" flag with a separated argument.
   26376 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   26377 
   26378 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   26379 # DIR into the resulting binary.
   26380 hardcode_direct=$hardcode_direct
   26381 
   26382 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   26383 # DIR into the resulting binary and the resulting library dependency is
   26384 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
   26385 # library is relocated.
   26386 hardcode_direct_absolute=$hardcode_direct_absolute
   26387 
   26388 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   26389 # into the resulting binary.
   26390 hardcode_minus_L=$hardcode_minus_L
   26391 
   26392 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   26393 # into the resulting binary.
   26394 hardcode_shlibpath_var=$hardcode_shlibpath_var
   26395 
   26396 # Set to "yes" if building a shared library automatically hardcodes DIR
   26397 # into the library and all subsequent libraries and executables linked
   26398 # against it.
   26399 hardcode_automatic=$hardcode_automatic
   26400 
   26401 # Set to yes if linker adds runtime paths of dependent libraries
   26402 # to runtime path list.
   26403 inherit_rpath=$inherit_rpath
   26404 
   26405 # Whether libtool must link a program against all its dependency libraries.
   26406 link_all_deplibs=$link_all_deplibs
   26407 
   26408 # Set to "yes" if exported symbols are required.
   26409 always_export_symbols=$always_export_symbols
   26410 
   26411 # The commands to list exported symbols.
   26412 export_symbols_cmds=$lt_export_symbols_cmds
   26413 
   26414 # Symbols that should not be listed in the preloaded symbols.
   26415 exclude_expsyms=$lt_exclude_expsyms
   26416 
   26417 # Symbols that must always be exported.
   26418 include_expsyms=$lt_include_expsyms
   26419 
   26420 # Commands necessary for linking programs (against libraries) with templates.
   26421 prelink_cmds=$lt_prelink_cmds
   26422 
   26423 # Commands necessary for finishing linking programs.
   26424 postlink_cmds=$lt_postlink_cmds
   26425 
   26426 # Specify filename containing input files.
   26427 file_list_spec=$lt_file_list_spec
   26428 
   26429 # How to hardcode a shared library path into an executable.
   26430 hardcode_action=$hardcode_action
   26431 
   26432 # ### END LIBTOOL CONFIG
   26433 
   26434 _LT_EOF
   26435 
   26436     cat <<'_LT_EOF' >> "$cfgfile"
   26437 
   26438 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   26439 
   26440 # func_munge_path_list VARIABLE PATH
   26441 # -----------------------------------
   26442 # VARIABLE is name of variable containing _space_ separated list of
   26443 # directories to be munged by the contents of PATH, which is string
   26444 # having a format:
   26445 # "DIR[:DIR]:"
   26446 #       string "DIR[ DIR]" will be prepended to VARIABLE
   26447 # ":DIR[:DIR]"
   26448 #       string "DIR[ DIR]" will be appended to VARIABLE
   26449 # "DIRP[:DIRP]::[DIRA:]DIRA"
   26450 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   26451 #       "DIRA[ DIRA]" will be appended to VARIABLE
   26452 # "DIR[:DIR]"
   26453 #       VARIABLE will be replaced by "DIR[ DIR]"
   26454 func_munge_path_list ()
   26455 {
   26456     case x$2 in
   26457     x)
   26458         ;;
   26459     *:)
   26460         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   26461         ;;
   26462     x:*)
   26463         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   26464         ;;
   26465     *::*)
   26466         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   26467         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   26468         ;;
   26469     *)
   26470         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   26471         ;;
   26472     esac
   26473 }
   26474 
   26475 
   26476 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   26477 func_cc_basename ()
   26478 {
   26479     for cc_temp in $*""; do
   26480       case $cc_temp in
   26481         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   26482         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   26483         \-*) ;;
   26484         *) break;;
   26485       esac
   26486     done
   26487     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   26488 }
   26489 
   26490 
   26491 # ### END FUNCTIONS SHARED WITH CONFIGURE
   26492 
   26493 _LT_EOF
   26494 
   26495   case $host_os in
   26496   aix3*)
   26497     cat <<\_LT_EOF >> "$cfgfile"
   26498 # AIX sometimes has problems with the GCC collect2 program.  For some
   26499 # reason, if we set the COLLECT_NAMES environment variable, the problems
   26500 # vanish in a puff of smoke.
   26501 if test set != "${COLLECT_NAMES+set}"; then
   26502   COLLECT_NAMES=
   26503   export COLLECT_NAMES
   26504 fi
   26505 _LT_EOF
   26506     ;;
   26507   esac
   26508 
   26509 
   26510 
   26511 ltmain=$ac_aux_dir/ltmain.sh
   26512 
   26513 
   26514   # We use sed instead of cat because bash on DJGPP gets confused if
   26515   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   26516   # text mode, it properly converts lines to CR/LF.  This bash problem
   26517   # is reportedly fixed, but why not run on old versions too?
   26518   $SED '$q' "$ltmain" >> "$cfgfile" \
   26519      || (rm -f "$cfgfile"; exit 1)
   26520 
   26521    mv -f "$cfgfile" "$ofile" ||
   26522     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   26523   chmod +x "$ofile"
   26524 
   26525  ;;
   26526 
   26527   esac
   26528 done # for ac_tag
   26529 
   26530 
   26531 as_fn_exit 0
   26532 _ACEOF
   26533 ac_clean_files=$ac_clean_files_save
   26534 
   26535 test $ac_write_fail = 0 ||
   26536   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   26537 
   26538 
   26539 # configure is writing to config.log, and then calls config.status.
   26540 # config.status does its own redirection, appending to config.log.
   26541 # Unfortunately, on DOS this fails, as config.log is still kept open
   26542 # by configure, so config.status won't be able to write to it; its
   26543 # output is simply discarded.  So we exec the FD to /dev/null,
   26544 # effectively closing config.log, so it can be properly (re)opened and
   26545 # appended to by config.status.  When coming back to configure, we
   26546 # need to make the FD available again.
   26547 if test "$no_create" != yes; then
   26548   ac_cs_success=:
   26549   ac_config_status_args=
   26550   test "$silent" = yes &&
   26551     ac_config_status_args="$ac_config_status_args --quiet"
   26552   exec 5>/dev/null
   26553   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   26554   exec 5>>config.log
   26555   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   26556   # would make configure fail if this is the last instruction.
   26557   $ac_cs_success || as_fn_exit 1
   26558 fi
   26559 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   26560   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   26561 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   26562 fi
   26563 
   26564 
   26565 echo ""
   26566 echo "$PACKAGE_STRING will be built with the following settings:"
   26567 echo " Loadable i18n module support:            "$XLIB_LOADABLE_I18N
   26568 echo " Loadable xcursor library support:        "$XLIB_LOADABLE_XCURSOR
   26569 echo " Threading support:                       "$xthreads
   26570 echo " Use Threads safe API:                    "$mtsafeapi
   26571 echo " Use thread safety constructor:           "$USE_THREAD_SAFETY_CONSTRUCTOR
   26572 echo " XCMS:                                    "$XCMS
   26573 echo " Internationalization support:            "$XLOCALE
   26574 echo " XF86BigFont support:                     "$XF86BIGFONT
   26575 echo " XKB support:                             "$XKB
   26576 echo " XLOCALEDIR environment variable support: "$ENABLE_XLOCALEDIR
   26577 echo " Compose table cache enabled:             "$COMPOSECACHE
   26578 echo " Functional specs building enabled:       "$build_specs
   26579 echo ""
   26580 
   26581