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.13.
      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.13'
    679 PACKAGE_STRING='libX11 1.8.13'
    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 WCHAR32
    759 LIBOBJS
    760 XLIB_LOADABLE_I18N_FALSE
    761 XLIB_LOADABLE_I18N_TRUE
    762 I18N_MODULE_LIBS
    763 X11_EXTRA_DEPS
    764 EXEEXT_FOR_BUILD
    765 LDFLAGS_FOR_BUILD
    766 CFLAGS_FOR_BUILD
    767 CPPFLAGS_FOR_BUILD
    768 CC_FOR_BUILD
    769 HAVE_PERL_FALSE
    770 HAVE_PERL_TRUE
    771 PERL
    772 TRADITIONALCPPFLAGS
    773 RAWCPPFLAGS
    774 RAWCPP
    775 CPP
    776 HAVE_STYLESHEETS_FALSE
    777 HAVE_STYLESHEETS_TRUE
    778 XSL_STYLESHEET
    779 STYLESHEET_SRCDIR
    780 XORG_SGML_PATH
    781 HAVE_XSLTPROC_FALSE
    782 HAVE_XSLTPROC_TRUE
    783 XSLTPROC
    784 HAVE_FOP_FALSE
    785 HAVE_FOP_TRUE
    786 FOP
    787 HAVE_XMLTO_FALSE
    788 HAVE_XMLTO_TRUE
    789 HAVE_XMLTO_TEXT_FALSE
    790 HAVE_XMLTO_TEXT_TRUE
    791 XMLTO
    792 ENABLE_SPECS_FALSE
    793 ENABLE_SPECS_TRUE
    794 MAN_SUBSTS
    795 XORG_MAN_PAGE
    796 ADMIN_MAN_DIR
    797 DRIVER_MAN_DIR
    798 MISC_MAN_DIR
    799 FILE_MAN_DIR
    800 LIB_MAN_DIR
    801 APP_MAN_DIR
    802 ADMIN_MAN_SUFFIX
    803 DRIVER_MAN_SUFFIX
    804 MISC_MAN_SUFFIX
    805 FILE_MAN_SUFFIX
    806 LIB_MAN_SUFFIX
    807 APP_MAN_SUFFIX
    808 INSTALL_CMD
    809 PKG_CONFIG_LIBDIR
    810 PKG_CONFIG_PATH
    811 PKG_CONFIG
    812 CHANGELOG_CMD
    813 STRICT_CFLAGS
    814 CWARNFLAGS
    815 BASE_CFLAGS
    816 LT_SYS_LIBRARY_PATH
    817 OTOOL64
    818 OTOOL
    819 LIPO
    820 NMEDIT
    821 DSYMUTIL
    822 MANIFEST_TOOL
    823 RANLIB
    824 ac_ct_AR
    825 AR
    826 DLLTOOL
    827 OBJDUMP
    828 FILECMD
    829 LN_S
    830 NM
    831 ac_ct_DUMPBIN
    832 DUMPBIN
    833 LD
    834 FGREP
    835 EGREP
    836 GREP
    837 SED
    838 LIBTOOL
    839 am__xargs_n
    840 am__rm_f_notfound
    841 AM_BACKSLASH
    842 AM_DEFAULT_VERBOSITY
    843 AM_DEFAULT_V
    844 AM_V
    845 CSCOPE
    846 ETAGS
    847 CTAGS
    848 am__fastdepCC_FALSE
    849 am__fastdepCC_TRUE
    850 CCDEPMODE
    851 am__nodep
    852 AMDEPBACKSLASH
    853 AMDEP_FALSE
    854 AMDEP_TRUE
    855 am__include
    856 DEPDIR
    857 am__untar
    858 am__tar
    859 AMTAR
    860 am__leading_dot
    861 SET_MAKE
    862 AWK
    863 mkdir_p
    864 MKDIR_P
    865 INSTALL_STRIP_PROGRAM
    866 STRIP
    867 install_sh
    868 MAKEINFO
    869 AUTOHEADER
    870 AUTOMAKE
    871 AUTOCONF
    872 ACLOCAL
    873 VERSION
    874 PACKAGE
    875 CYGPATH_W
    876 am__isrc
    877 INSTALL_DATA
    878 INSTALL_SCRIPT
    879 INSTALL_PROGRAM
    880 OBJEXT
    881 EXEEXT
    882 ac_ct_CC
    883 CPPFLAGS
    884 LDFLAGS
    885 CFLAGS
    886 CC
    887 host_os
    888 host_vendor
    889 host_cpu
    890 host
    891 build_os
    892 build_vendor
    893 build_cpu
    894 build
    895 target_alias
    896 host_alias
    897 build_alias
    898 LIBS
    899 ECHO_T
    900 ECHO_N
    901 ECHO_C
    902 DEFS
    903 mandir
    904 localedir
    905 libdir
    906 psdir
    907 pdfdir
    908 dvidir
    909 htmldir
    910 infodir
    911 docdir
    912 oldincludedir
    913 includedir
    914 runstatedir
    915 localstatedir
    916 sharedstatedir
    917 sysconfdir
    918 datadir
    919 datarootdir
    920 libexecdir
    921 sbindir
    922 bindir
    923 program_transform_name
    924 prefix
    925 exec_prefix
    926 PACKAGE_URL
    927 PACKAGE_BUGREPORT
    928 PACKAGE_STRING
    929 PACKAGE_VERSION
    930 PACKAGE_TARNAME
    931 PACKAGE_NAME
    932 PATH_SEPARATOR
    933 SHELL
    934 am__quote'
    935 ac_subst_files=''
    936 ac_user_opts='
    937 enable_option_checking
    938 enable_dependency_tracking
    939 enable_silent_rules
    940 enable_shared
    941 enable_static
    942 enable_pic
    943 with_pic
    944 enable_fast_install
    945 enable_aix_soname
    946 with_aix_soname
    947 with_gnu_ld
    948 with_sysroot
    949 enable_libtool_lock
    950 enable_largefile
    951 enable_selective_werror
    952 enable_strict_compilation
    953 enable_specs
    954 with_xmlto
    955 with_fop
    956 with_xsltproc
    957 with_perl
    958 enable_unix_transport
    959 enable_tcp_transport
    960 enable_ipv6
    961 enable_local_transport
    962 enable_loadable_i18n
    963 enable_loadable_xcursor
    964 enable_thread_safety_constructor
    965 with_launchd
    966 enable_xthreads
    967 with_keysymdefdir
    968 enable_xcms
    969 enable_xlocale
    970 enable_xlocaledir
    971 enable_xf86bigfont
    972 enable_xkb
    973 enable_composecache
    974 with_lint
    975 enable_lint_library
    976 with_locale_lib_dir
    977 enable_malloc0returnsnull
    978 enable_year2038
    979 '
    980       ac_precious_vars='build_alias
    981 host_alias
    982 target_alias
    983 CC
    984 CFLAGS
    985 LDFLAGS
    986 LIBS
    987 CPPFLAGS
    988 LT_SYS_LIBRARY_PATH
    989 PKG_CONFIG
    990 PKG_CONFIG_PATH
    991 PKG_CONFIG_LIBDIR
    992 XMLTO
    993 FOP
    994 XSLTPROC
    995 CPP
    996 PERL
    997 BIGFONT_CFLAGS
    998 BIGFONT_LIBS
    999 LINT
   1000 LINT_FLAGS
   1001 X11_CFLAGS
   1002 X11_LIBS'
   1003 
   1004 
   1005 # Initialize some variables set by options.
   1006 ac_init_help=
   1007 ac_init_version=false
   1008 ac_unrecognized_opts=
   1009 ac_unrecognized_sep=
   1010 # The variables have the same names as the options, with
   1011 # dashes changed to underlines.
   1012 cache_file=/dev/null
   1013 exec_prefix=NONE
   1014 no_create=
   1015 no_recursion=
   1016 prefix=NONE
   1017 program_prefix=NONE
   1018 program_suffix=NONE
   1019 program_transform_name=s,x,x,
   1020 silent=
   1021 site=
   1022 srcdir=
   1023 verbose=
   1024 x_includes=NONE
   1025 x_libraries=NONE
   1026 
   1027 # Installation directory options.
   1028 # These are left unexpanded so users can "make install exec_prefix=/foo"
   1029 # and all the variables that are supposed to be based on exec_prefix
   1030 # by default will actually change.
   1031 # Use braces instead of parens because sh, perl, etc. also accept them.
   1032 # (The list follows the same order as the GNU Coding Standards.)
   1033 bindir='${exec_prefix}/bin'
   1034 sbindir='${exec_prefix}/sbin'
   1035 libexecdir='${exec_prefix}/libexec'
   1036 datarootdir='${prefix}/share'
   1037 datadir='${datarootdir}'
   1038 sysconfdir='${prefix}/etc'
   1039 sharedstatedir='${prefix}/com'
   1040 localstatedir='${prefix}/var'
   1041 runstatedir='${localstatedir}/run'
   1042 includedir='${prefix}/include'
   1043 oldincludedir='/usr/include'
   1044 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1045 infodir='${datarootdir}/info'
   1046 htmldir='${docdir}'
   1047 dvidir='${docdir}'
   1048 pdfdir='${docdir}'
   1049 psdir='${docdir}'
   1050 libdir='${exec_prefix}/lib'
   1051 localedir='${datarootdir}/locale'
   1052 mandir='${datarootdir}/man'
   1053 
   1054 ac_prev=
   1055 ac_dashdash=
   1056 for ac_option
   1057 do
   1058   # If the previous option needs an argument, assign it.
   1059   if test -n "$ac_prev"; then
   1060     eval $ac_prev=\$ac_option
   1061     ac_prev=
   1062     continue
   1063   fi
   1064 
   1065   case $ac_option in
   1066   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1067   *=)   ac_optarg= ;;
   1068   *)    ac_optarg=yes ;;
   1069   esac
   1070 
   1071   case $ac_dashdash$ac_option in
   1072   --)
   1073     ac_dashdash=yes ;;
   1074 
   1075   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1076     ac_prev=bindir ;;
   1077   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1078     bindir=$ac_optarg ;;
   1079 
   1080   -build | --build | --buil | --bui | --bu)
   1081     ac_prev=build_alias ;;
   1082   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1083     build_alias=$ac_optarg ;;
   1084 
   1085   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1086   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1087     ac_prev=cache_file ;;
   1088   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1089   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1090     cache_file=$ac_optarg ;;
   1091 
   1092   --config-cache | -C)
   1093     cache_file=config.cache ;;
   1094 
   1095   -datadir | --datadir | --datadi | --datad)
   1096     ac_prev=datadir ;;
   1097   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1098     datadir=$ac_optarg ;;
   1099 
   1100   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1101   | --dataroo | --dataro | --datar)
   1102     ac_prev=datarootdir ;;
   1103   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1104   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1105     datarootdir=$ac_optarg ;;
   1106 
   1107   -disable-* | --disable-*)
   1108     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1109     # Reject names that are not valid shell variable names.
   1110     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1111       as_fn_error $? "invalid feature name: '$ac_useropt'"
   1112     ac_useropt_orig=$ac_useropt
   1113     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1114     case $ac_user_opts in
   1115       *"
   1116 "enable_$ac_useropt"
   1117 "*) ;;
   1118       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1119 	 ac_unrecognized_sep=', ';;
   1120     esac
   1121     eval enable_$ac_useropt=no ;;
   1122 
   1123   -docdir | --docdir | --docdi | --doc | --do)
   1124     ac_prev=docdir ;;
   1125   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1126     docdir=$ac_optarg ;;
   1127 
   1128   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1129     ac_prev=dvidir ;;
   1130   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1131     dvidir=$ac_optarg ;;
   1132 
   1133   -enable-* | --enable-*)
   1134     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1135     # Reject names that are not valid shell variable names.
   1136     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1137       as_fn_error $? "invalid feature name: '$ac_useropt'"
   1138     ac_useropt_orig=$ac_useropt
   1139     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1140     case $ac_user_opts in
   1141       *"
   1142 "enable_$ac_useropt"
   1143 "*) ;;
   1144       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1145 	 ac_unrecognized_sep=', ';;
   1146     esac
   1147     eval enable_$ac_useropt=\$ac_optarg ;;
   1148 
   1149   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1150   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1151   | --exec | --exe | --ex)
   1152     ac_prev=exec_prefix ;;
   1153   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1154   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1155   | --exec=* | --exe=* | --ex=*)
   1156     exec_prefix=$ac_optarg ;;
   1157 
   1158   -gas | --gas | --ga | --g)
   1159     # Obsolete; use --with-gas.
   1160     with_gas=yes ;;
   1161 
   1162   -help | --help | --hel | --he | -h)
   1163     ac_init_help=long ;;
   1164   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1165     ac_init_help=recursive ;;
   1166   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1167     ac_init_help=short ;;
   1168 
   1169   -host | --host | --hos | --ho)
   1170     ac_prev=host_alias ;;
   1171   -host=* | --host=* | --hos=* | --ho=*)
   1172     host_alias=$ac_optarg ;;
   1173 
   1174   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1175     ac_prev=htmldir ;;
   1176   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1177   | --ht=*)
   1178     htmldir=$ac_optarg ;;
   1179 
   1180   -includedir | --includedir | --includedi | --included | --include \
   1181   | --includ | --inclu | --incl | --inc)
   1182     ac_prev=includedir ;;
   1183   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1184   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1185     includedir=$ac_optarg ;;
   1186 
   1187   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1188     ac_prev=infodir ;;
   1189   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1190     infodir=$ac_optarg ;;
   1191 
   1192   -libdir | --libdir | --libdi | --libd)
   1193     ac_prev=libdir ;;
   1194   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1195     libdir=$ac_optarg ;;
   1196 
   1197   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1198   | --libexe | --libex | --libe)
   1199     ac_prev=libexecdir ;;
   1200   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1201   | --libexe=* | --libex=* | --libe=*)
   1202     libexecdir=$ac_optarg ;;
   1203 
   1204   -localedir | --localedir | --localedi | --localed | --locale)
   1205     ac_prev=localedir ;;
   1206   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1207     localedir=$ac_optarg ;;
   1208 
   1209   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1210   | --localstate | --localstat | --localsta | --localst | --locals)
   1211     ac_prev=localstatedir ;;
   1212   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1213   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1214     localstatedir=$ac_optarg ;;
   1215 
   1216   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1217     ac_prev=mandir ;;
   1218   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1219     mandir=$ac_optarg ;;
   1220 
   1221   -nfp | --nfp | --nf)
   1222     # Obsolete; use --without-fp.
   1223     with_fp=no ;;
   1224 
   1225   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1226   | --no-cr | --no-c | -n)
   1227     no_create=yes ;;
   1228 
   1229   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1230   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1231     no_recursion=yes ;;
   1232 
   1233   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1234   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1235   | --oldin | --oldi | --old | --ol | --o)
   1236     ac_prev=oldincludedir ;;
   1237   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1238   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1239   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1240     oldincludedir=$ac_optarg ;;
   1241 
   1242   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1243     ac_prev=prefix ;;
   1244   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1245     prefix=$ac_optarg ;;
   1246 
   1247   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1248   | --program-pre | --program-pr | --program-p)
   1249     ac_prev=program_prefix ;;
   1250   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1251   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1252     program_prefix=$ac_optarg ;;
   1253 
   1254   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1255   | --program-suf | --program-su | --program-s)
   1256     ac_prev=program_suffix ;;
   1257   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1258   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1259     program_suffix=$ac_optarg ;;
   1260 
   1261   -program-transform-name | --program-transform-name \
   1262   | --program-transform-nam | --program-transform-na \
   1263   | --program-transform-n | --program-transform- \
   1264   | --program-transform | --program-transfor \
   1265   | --program-transfo | --program-transf \
   1266   | --program-trans | --program-tran \
   1267   | --progr-tra | --program-tr | --program-t)
   1268     ac_prev=program_transform_name ;;
   1269   -program-transform-name=* | --program-transform-name=* \
   1270   | --program-transform-nam=* | --program-transform-na=* \
   1271   | --program-transform-n=* | --program-transform-=* \
   1272   | --program-transform=* | --program-transfor=* \
   1273   | --program-transfo=* | --program-transf=* \
   1274   | --program-trans=* | --program-tran=* \
   1275   | --progr-tra=* | --program-tr=* | --program-t=*)
   1276     program_transform_name=$ac_optarg ;;
   1277 
   1278   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1279     ac_prev=pdfdir ;;
   1280   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1281     pdfdir=$ac_optarg ;;
   1282 
   1283   -psdir | --psdir | --psdi | --psd | --ps)
   1284     ac_prev=psdir ;;
   1285   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1286     psdir=$ac_optarg ;;
   1287 
   1288   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1289   | -silent | --silent | --silen | --sile | --sil)
   1290     silent=yes ;;
   1291 
   1292   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1293   | --runstate | --runstat | --runsta | --runst | --runs \
   1294   | --run | --ru | --r)
   1295     ac_prev=runstatedir ;;
   1296   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1297   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1298   | --run=* | --ru=* | --r=*)
   1299     runstatedir=$ac_optarg ;;
   1300 
   1301   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1302     ac_prev=sbindir ;;
   1303   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1304   | --sbi=* | --sb=*)
   1305     sbindir=$ac_optarg ;;
   1306 
   1307   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1308   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1309   | --sharedst | --shareds | --shared | --share | --shar \
   1310   | --sha | --sh)
   1311     ac_prev=sharedstatedir ;;
   1312   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1313   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1314   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1315   | --sha=* | --sh=*)
   1316     sharedstatedir=$ac_optarg ;;
   1317 
   1318   -site | --site | --sit)
   1319     ac_prev=site ;;
   1320   -site=* | --site=* | --sit=*)
   1321     site=$ac_optarg ;;
   1322 
   1323   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1324     ac_prev=srcdir ;;
   1325   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1326     srcdir=$ac_optarg ;;
   1327 
   1328   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1329   | --syscon | --sysco | --sysc | --sys | --sy)
   1330     ac_prev=sysconfdir ;;
   1331   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1332   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1333     sysconfdir=$ac_optarg ;;
   1334 
   1335   -target | --target | --targe | --targ | --tar | --ta | --t)
   1336     ac_prev=target_alias ;;
   1337   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1338     target_alias=$ac_optarg ;;
   1339 
   1340   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1341     verbose=yes ;;
   1342 
   1343   -version | --version | --versio | --versi | --vers | -V)
   1344     ac_init_version=: ;;
   1345 
   1346   -with-* | --with-*)
   1347     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1348     # Reject names that are not valid shell variable names.
   1349     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1350       as_fn_error $? "invalid package name: '$ac_useropt'"
   1351     ac_useropt_orig=$ac_useropt
   1352     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1353     case $ac_user_opts in
   1354       *"
   1355 "with_$ac_useropt"
   1356 "*) ;;
   1357       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1358 	 ac_unrecognized_sep=', ';;
   1359     esac
   1360     eval with_$ac_useropt=\$ac_optarg ;;
   1361 
   1362   -without-* | --without-*)
   1363     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1364     # Reject names that are not valid shell variable names.
   1365     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1366       as_fn_error $? "invalid package name: '$ac_useropt'"
   1367     ac_useropt_orig=$ac_useropt
   1368     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1369     case $ac_user_opts in
   1370       *"
   1371 "with_$ac_useropt"
   1372 "*) ;;
   1373       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1374 	 ac_unrecognized_sep=', ';;
   1375     esac
   1376     eval with_$ac_useropt=no ;;
   1377 
   1378   --x)
   1379     # Obsolete; use --with-x.
   1380     with_x=yes ;;
   1381 
   1382   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1383   | --x-incl | --x-inc | --x-in | --x-i)
   1384     ac_prev=x_includes ;;
   1385   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1386   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1387     x_includes=$ac_optarg ;;
   1388 
   1389   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1390   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1391     ac_prev=x_libraries ;;
   1392   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1393   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1394     x_libraries=$ac_optarg ;;
   1395 
   1396   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1397 Try '$0 --help' for more information"
   1398     ;;
   1399 
   1400   *=*)
   1401     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1402     # Reject names that are not valid shell variable names.
   1403     case $ac_envvar in #(
   1404       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1405       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1406     esac
   1407     eval $ac_envvar=\$ac_optarg
   1408     export $ac_envvar ;;
   1409 
   1410   *)
   1411     # FIXME: should be removed in autoconf 3.0.
   1412     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1413     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1414       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1415     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1416     ;;
   1417 
   1418   esac
   1419 done
   1420 
   1421 if test -n "$ac_prev"; then
   1422   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1423   as_fn_error $? "missing argument to $ac_option"
   1424 fi
   1425 
   1426 if test -n "$ac_unrecognized_opts"; then
   1427   case $enable_option_checking in
   1428     no) ;;
   1429     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1430     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1431   esac
   1432 fi
   1433 
   1434 # Check all directory arguments for consistency.
   1435 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1436 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1437 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1438 		libdir localedir mandir runstatedir
   1439 do
   1440   eval ac_val=\$$ac_var
   1441   # Remove trailing slashes.
   1442   case $ac_val in
   1443     */ )
   1444       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1445       eval $ac_var=\$ac_val;;
   1446   esac
   1447   # Be sure to have absolute directory names.
   1448   case $ac_val in
   1449     [\\/$]* | ?:[\\/]* )  continue;;
   1450     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1451   esac
   1452   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1453 done
   1454 
   1455 # There might be people who depend on the old broken behavior: '$host'
   1456 # used to hold the argument of --host etc.
   1457 # FIXME: To remove some day.
   1458 build=$build_alias
   1459 host=$host_alias
   1460 target=$target_alias
   1461 
   1462 # FIXME: To remove some day.
   1463 if test "x$host_alias" != x; then
   1464   if test "x$build_alias" = x; then
   1465     cross_compiling=maybe
   1466   elif test "x$build_alias" != "x$host_alias"; then
   1467     cross_compiling=yes
   1468   fi
   1469 fi
   1470 
   1471 ac_tool_prefix=
   1472 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1473 
   1474 test "$silent" = yes && exec 6>/dev/null
   1475 
   1476 
   1477 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1478 ac_ls_di=`ls -di .` &&
   1479 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1480   as_fn_error $? "working directory cannot be determined"
   1481 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1482   as_fn_error $? "pwd does not report name of working directory"
   1483 
   1484 
   1485 # Find the source files, if location was not specified.
   1486 if test -z "$srcdir"; then
   1487   ac_srcdir_defaulted=yes
   1488   # Try the directory containing this script, then the parent directory.
   1489   ac_confdir=`$as_dirname -- "$as_myself" ||
   1490 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1491 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1492 	 X"$as_myself" : 'X\(//\)$' \| \
   1493 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1494 printf "%s\n" X"$as_myself" |
   1495     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1496 	    s//\1/
   1497 	    q
   1498 	  }
   1499 	  /^X\(\/\/\)[^/].*/{
   1500 	    s//\1/
   1501 	    q
   1502 	  }
   1503 	  /^X\(\/\/\)$/{
   1504 	    s//\1/
   1505 	    q
   1506 	  }
   1507 	  /^X\(\/\).*/{
   1508 	    s//\1/
   1509 	    q
   1510 	  }
   1511 	  s/.*/./; q'`
   1512   srcdir=$ac_confdir
   1513   if test ! -r "$srcdir/$ac_unique_file"; then
   1514     srcdir=..
   1515   fi
   1516 else
   1517   ac_srcdir_defaulted=no
   1518 fi
   1519 if test ! -r "$srcdir/$ac_unique_file"; then
   1520   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1521   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1522 fi
   1523 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1524 ac_abs_confdir=`(
   1525 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1526 	pwd)`
   1527 # When building in place, set srcdir=.
   1528 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1529   srcdir=.
   1530 fi
   1531 # Remove unnecessary trailing slashes from srcdir.
   1532 # Double slashes in file names in object file debugging info
   1533 # mess up M-x gdb in Emacs.
   1534 case $srcdir in
   1535 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1536 esac
   1537 for ac_var in $ac_precious_vars; do
   1538   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1539   eval ac_env_${ac_var}_value=\$${ac_var}
   1540   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1541   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1542 done
   1543 
   1544 #
   1545 # Report the --help message.
   1546 #
   1547 if test "$ac_init_help" = "long"; then
   1548   # Omit some internal or obsolete options to make the list less imposing.
   1549   # This message is too long to be a string in the A/UX 3.1 sh.
   1550   cat <<_ACEOF
   1551 'configure' configures libX11 1.8.13 to adapt to many kinds of systems.
   1552 
   1553 Usage: $0 [OPTION]... [VAR=VALUE]...
   1554 
   1555 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1556 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1557 
   1558 Defaults for the options are specified in brackets.
   1559 
   1560 Configuration:
   1561   -h, --help              display this help and exit
   1562       --help=short        display options specific to this package
   1563       --help=recursive    display the short help of all the included packages
   1564   -V, --version           display version information and exit
   1565   -q, --quiet, --silent   do not print 'checking ...' messages
   1566       --cache-file=FILE   cache test results in FILE [disabled]
   1567   -C, --config-cache      alias for '--cache-file=config.cache'
   1568   -n, --no-create         do not create output files
   1569       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1570 
   1571 Installation directories:
   1572   --prefix=PREFIX         install architecture-independent files in PREFIX
   1573                           [$ac_default_prefix]
   1574   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1575                           [PREFIX]
   1576 
   1577 By default, 'make install' will install all the files in
   1578 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1579 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1580 for instance '--prefix=\$HOME'.
   1581 
   1582 For better control, use the options below.
   1583 
   1584 Fine tuning of the installation directories:
   1585   --bindir=DIR            user executables [EPREFIX/bin]
   1586   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1587   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1588   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1589   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1590   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1591   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1592   --libdir=DIR            object code libraries [EPREFIX/lib]
   1593   --includedir=DIR        C header files [PREFIX/include]
   1594   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1595   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1596   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1597   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1598   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1599   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1600   --docdir=DIR            documentation root [DATAROOTDIR/doc/libX11]
   1601   --htmldir=DIR           html documentation [DOCDIR]
   1602   --dvidir=DIR            dvi documentation [DOCDIR]
   1603   --pdfdir=DIR            pdf documentation [DOCDIR]
   1604   --psdir=DIR             ps documentation [DOCDIR]
   1605 _ACEOF
   1606 
   1607   cat <<\_ACEOF
   1608 
   1609 Program names:
   1610   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1611   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1612   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1613 
   1614 System types:
   1615   --build=BUILD     configure for building on BUILD [guessed]
   1616   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1617 _ACEOF
   1618 fi
   1619 
   1620 if test -n "$ac_init_help"; then
   1621   case $ac_init_help in
   1622      short | recursive ) echo "Configuration of libX11 1.8.13:";;
   1623    esac
   1624   cat <<\_ACEOF
   1625 
   1626 Optional Features:
   1627   --disable-option-checking  ignore unrecognized --enable/--with options
   1628   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1629   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1630   --enable-dependency-tracking
   1631                           do not reject slow dependency extractors
   1632   --disable-dependency-tracking
   1633                           speeds up one-time build
   1634   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1635   --disable-silent-rules  verbose build output (undo: "make V=0")
   1636   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1637   --enable-static[=PKGS]  build static libraries [default=yes]
   1638   --enable-pic[=PKGS]     try to use only PIC/non-PIC objects [default=use
   1639                           both]
   1640   --enable-fast-install[=PKGS]
   1641                           optimize for fast installation [default=yes]
   1642   --enable-aix-soname=aix|svr4|both
   1643                           shared library versioning (aka "SONAME") variant to
   1644                           provide on AIX, [default=aix].
   1645   --disable-libtool-lock  avoid locking (might break parallel builds)
   1646   --disable-largefile     omit support for large files
   1647   --disable-selective-werror
   1648                           Turn off selective compiler errors. (default:
   1649                           enabled)
   1650   --enable-strict-compilation
   1651                           Enable all warnings from compiler and make them
   1652                           errors (default: disabled)
   1653   --enable-specs          Enable building the specs (default: yes)
   1654   --enable-unix-transport Enable UNIX domain socket transport
   1655   --enable-tcp-transport  Enable TCP socket transport
   1656   --enable-ipv6           Enable IPv6 support
   1657   --enable-local-transport
   1658                           Enable os-specific local transport
   1659   --enable-loadable-i18n  Controls loadable i18n module support
   1660   --disable-loadable-xcursor
   1661                           Controls loadable xcursor library support
   1662   --disable-thread-safety-constructor
   1663                           Controls mandatory thread safety support
   1664   --disable-xthreads      Disable Xlib support for Multithreading
   1665   --disable-xcms          Disable Xlib support for CMS *EXPERIMENTAL*
   1666   --disable-xlocale       Disable Xlib locale implementation *EXPERIMENTAL*
   1667   --enable-xlocaledir     Enable XLOCALEDIR environment variable support
   1668   --disable-xf86bigfont   Disable XF86BigFont extension support
   1669   --disable-xkb           Disable XKB support *EXPERIMENTAL*
   1670   --disable-composecache  Disable compose table cache support
   1671   --enable-lint-library   Create lint library (default: disabled)
   1672   --enable-malloc0returnsnull
   1673                           assume malloc(0) can return NULL (default: yes)
   1674   --enable-year2038       support timestamps after 2038
   1675 
   1676 Optional Packages:
   1677   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1678   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1679   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1680   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1681                           compiler's sysroot if not specified).
   1682   --with-xmlto            Use xmlto to regenerate documentation (default:
   1683                           auto)
   1684   --with-fop              Use fop to regenerate documentation (default: no)
   1685   --with-xsltproc         Use xsltproc for the transformation of XML documents
   1686                           (default: auto)
   1687   --with-perl             Use perl for extracting information from files
   1688                           (default: auto)
   1689   --with-launchd          Build with support for Apple's launchd (default:
   1690                           auto)
   1691   --with-keysymdefdir=DIR The location of keysymdef.h (defaults to xproto
   1692                           include dir)
   1693   --with-lint             Use a lint-style source code checker (default:
   1694                           disabled)
   1695   --with-locale-lib-dir=DIR
   1696                           Directory where locale libraries files are installed
   1697                           (default: $libdir/X11/locale)
   1698 
   1699 Some influential environment variables:
   1700   CC          C compiler command
   1701   CFLAGS      C compiler flags
   1702   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1703               nonstandard directory <lib dir>
   1704   LIBS        libraries to pass to the linker, e.g. -l<library>
   1705   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1706               you have headers in a nonstandard directory <include dir>
   1707   LT_SYS_LIBRARY_PATH
   1708               User-defined run-time library search path.
   1709   PKG_CONFIG  path to pkg-config utility
   1710   PKG_CONFIG_PATH
   1711               directories to add to pkg-config's search path
   1712   PKG_CONFIG_LIBDIR
   1713               path overriding pkg-config's built-in search path
   1714   XMLTO       Path to xmlto command
   1715   FOP         Path to fop command
   1716   XSLTPROC    Path to xsltproc command
   1717   CPP         C preprocessor
   1718   PERL        Path to perl command
   1719   BIGFONT_CFLAGS
   1720               C compiler flags for BIGFONT, overriding pkg-config
   1721   BIGFONT_LIBS
   1722               linker flags for BIGFONT, overriding pkg-config
   1723   LINT        Path to a lint-style command
   1724   LINT_FLAGS  Flags for the lint-style command
   1725   X11_CFLAGS  C compiler flags for X11, overriding pkg-config
   1726   X11_LIBS    linker flags for X11, overriding pkg-config
   1727 
   1728 Use these variables to override the choices made by 'configure' or to help
   1729 it to find libraries and programs with nonstandard names/locations.
   1730 
   1731 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues>.
   1732 _ACEOF
   1733 ac_status=$?
   1734 fi
   1735 
   1736 if test "$ac_init_help" = "recursive"; then
   1737   # If there are subdirs, report their specific --help.
   1738   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1739     test -d "$ac_dir" ||
   1740       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1741       continue
   1742     ac_builddir=.
   1743 
   1744 case "$ac_dir" in
   1745 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1746 *)
   1747   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1748   # A ".." for each directory in $ac_dir_suffix.
   1749   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1750   case $ac_top_builddir_sub in
   1751   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1752   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1753   esac ;;
   1754 esac
   1755 ac_abs_top_builddir=$ac_pwd
   1756 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1757 # for backward compatibility:
   1758 ac_top_builddir=$ac_top_build_prefix
   1759 
   1760 case $srcdir in
   1761   .)  # We are building in place.
   1762     ac_srcdir=.
   1763     ac_top_srcdir=$ac_top_builddir_sub
   1764     ac_abs_top_srcdir=$ac_pwd ;;
   1765   [\\/]* | ?:[\\/]* )  # Absolute name.
   1766     ac_srcdir=$srcdir$ac_dir_suffix;
   1767     ac_top_srcdir=$srcdir
   1768     ac_abs_top_srcdir=$srcdir ;;
   1769   *) # Relative name.
   1770     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1771     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1772     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1773 esac
   1774 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1775 
   1776     cd "$ac_dir" || { ac_status=$?; continue; }
   1777     # Check for configure.gnu first; this name is used for a wrapper for
   1778     # Metaconfig's "Configure" on case-insensitive file systems.
   1779     if test -f "$ac_srcdir/configure.gnu"; then
   1780       echo &&
   1781       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1782     elif test -f "$ac_srcdir/configure"; then
   1783       echo &&
   1784       $SHELL "$ac_srcdir/configure" --help=recursive
   1785     else
   1786       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1787     fi || ac_status=$?
   1788     cd "$ac_pwd" || { ac_status=$?; break; }
   1789   done
   1790 fi
   1791 
   1792 test -n "$ac_init_help" && exit $ac_status
   1793 if $ac_init_version; then
   1794   cat <<\_ACEOF
   1795 libX11 configure 1.8.13
   1796 generated by GNU Autoconf 2.72
   1797 
   1798 Copyright (C) 2023 Free Software Foundation, Inc.
   1799 This configure script is free software; the Free Software Foundation
   1800 gives unlimited permission to copy, distribute and modify it.
   1801 _ACEOF
   1802   exit
   1803 fi
   1804 
   1805 ## ------------------------ ##
   1806 ## Autoconf initialization. ##
   1807 ## ------------------------ ##
   1808 
   1809 # ac_fn_c_try_compile LINENO
   1810 # --------------------------
   1811 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1812 ac_fn_c_try_compile ()
   1813 {
   1814   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1815   rm -f conftest.$ac_objext conftest.beam
   1816   if { { ac_try="$ac_compile"
   1817 case "(($ac_try" in
   1818   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1819   *) ac_try_echo=$ac_try;;
   1820 esac
   1821 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1822 printf "%s\n" "$ac_try_echo"; } >&5
   1823   (eval "$ac_compile") 2>conftest.err
   1824   ac_status=$?
   1825   if test -s conftest.err; then
   1826     grep -v '^ *+' conftest.err >conftest.er1
   1827     cat conftest.er1 >&5
   1828     mv -f conftest.er1 conftest.err
   1829   fi
   1830   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1831   test $ac_status = 0; } && {
   1832 	 test -z "$ac_c_werror_flag" ||
   1833 	 test ! -s conftest.err
   1834        } && test -s conftest.$ac_objext
   1835 then :
   1836   ac_retval=0
   1837 else case e in #(
   1838   e) printf "%s\n" "$as_me: failed program was:" >&5
   1839 sed 's/^/| /' conftest.$ac_ext >&5
   1840 
   1841 	ac_retval=1 ;;
   1842 esac
   1843 fi
   1844   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1845   as_fn_set_status $ac_retval
   1846 
   1847 } # ac_fn_c_try_compile
   1848 
   1849 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1850 # -------------------------------------------------------
   1851 # Tests whether HEADER exists and can be compiled using the include files in
   1852 # INCLUDES, setting the cache variable VAR accordingly.
   1853 ac_fn_c_check_header_compile ()
   1854 {
   1855   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1856   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1857 printf %s "checking for $2... " >&6; }
   1858 if eval test \${$3+y}
   1859 then :
   1860   printf %s "(cached) " >&6
   1861 else case e in #(
   1862   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1863 /* end confdefs.h.  */
   1864 $4
   1865 #include <$2>
   1866 _ACEOF
   1867 if ac_fn_c_try_compile "$LINENO"
   1868 then :
   1869   eval "$3=yes"
   1870 else case e in #(
   1871   e) eval "$3=no" ;;
   1872 esac
   1873 fi
   1874 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1875 esac
   1876 fi
   1877 eval ac_res=\$$3
   1878 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1879 printf "%s\n" "$ac_res" >&6; }
   1880   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1881 
   1882 } # ac_fn_c_check_header_compile
   1883 
   1884 # ac_fn_c_try_link LINENO
   1885 # -----------------------
   1886 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1887 ac_fn_c_try_link ()
   1888 {
   1889   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1890   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1891   if { { ac_try="$ac_link"
   1892 case "(($ac_try" in
   1893   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1894   *) ac_try_echo=$ac_try;;
   1895 esac
   1896 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1897 printf "%s\n" "$ac_try_echo"; } >&5
   1898   (eval "$ac_link") 2>conftest.err
   1899   ac_status=$?
   1900   if test -s conftest.err; then
   1901     grep -v '^ *+' conftest.err >conftest.er1
   1902     cat conftest.er1 >&5
   1903     mv -f conftest.er1 conftest.err
   1904   fi
   1905   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1906   test $ac_status = 0; } && {
   1907 	 test -z "$ac_c_werror_flag" ||
   1908 	 test ! -s conftest.err
   1909        } && test -s conftest$ac_exeext && {
   1910 	 test "$cross_compiling" = yes ||
   1911 	 test -x conftest$ac_exeext
   1912        }
   1913 then :
   1914   ac_retval=0
   1915 else case e in #(
   1916   e) printf "%s\n" "$as_me: failed program was:" >&5
   1917 sed 's/^/| /' conftest.$ac_ext >&5
   1918 
   1919 	ac_retval=1 ;;
   1920 esac
   1921 fi
   1922   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1923   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1924   # interfere with the next link command; also delete a directory that is
   1925   # left behind by Apple's compiler.  We do this before executing the actions.
   1926   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1927   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1928   as_fn_set_status $ac_retval
   1929 
   1930 } # ac_fn_c_try_link
   1931 
   1932 # ac_fn_c_check_func LINENO FUNC VAR
   1933 # ----------------------------------
   1934 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1935 ac_fn_c_check_func ()
   1936 {
   1937   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1938   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1939 printf %s "checking for $2... " >&6; }
   1940 if eval test \${$3+y}
   1941 then :
   1942   printf %s "(cached) " >&6
   1943 else case e in #(
   1944   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1945 /* end confdefs.h.  */
   1946 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1947    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1948 #define $2 innocuous_$2
   1949 
   1950 /* System header to define __stub macros and hopefully few prototypes,
   1951    which can conflict with char $2 (void); below.  */
   1952 
   1953 #include <limits.h>
   1954 #undef $2
   1955 
   1956 /* Override any GCC internal prototype to avoid an error.
   1957    Use char because int might match the return type of a GCC
   1958    builtin and then its argument prototype would still apply.  */
   1959 #ifdef __cplusplus
   1960 extern "C"
   1961 #endif
   1962 char $2 (void);
   1963 /* The GNU C library defines this for functions which it implements
   1964     to always fail with ENOSYS.  Some functions are actually named
   1965     something starting with __ and the normal name is an alias.  */
   1966 #if defined __stub_$2 || defined __stub___$2
   1967 choke me
   1968 #endif
   1969 
   1970 int
   1971 main (void)
   1972 {
   1973 return $2 ();
   1974   ;
   1975   return 0;
   1976 }
   1977 _ACEOF
   1978 if ac_fn_c_try_link "$LINENO"
   1979 then :
   1980   eval "$3=yes"
   1981 else case e in #(
   1982   e) eval "$3=no" ;;
   1983 esac
   1984 fi
   1985 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1986     conftest$ac_exeext conftest.$ac_ext ;;
   1987 esac
   1988 fi
   1989 eval ac_res=\$$3
   1990 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1991 printf "%s\n" "$ac_res" >&6; }
   1992   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1993 
   1994 } # ac_fn_c_check_func
   1995 
   1996 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1997 # ------------------------------------------------------------------
   1998 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1999 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   2000 ac_fn_check_decl ()
   2001 {
   2002   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2003   as_decl_name=`echo $2|sed 's/ *(.*//'`
   2004   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   2005 printf %s "checking whether $as_decl_name is declared... " >&6; }
   2006 if eval test \${$3+y}
   2007 then :
   2008   printf %s "(cached) " >&6
   2009 else case e in #(
   2010   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2011   eval ac_save_FLAGS=\$$6
   2012   as_fn_append $6 " $5"
   2013   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2014 /* end confdefs.h.  */
   2015 $4
   2016 int
   2017 main (void)
   2018 {
   2019 #ifndef $as_decl_name
   2020 #ifdef __cplusplus
   2021   (void) $as_decl_use;
   2022 #else
   2023   (void) $as_decl_name;
   2024 #endif
   2025 #endif
   2026 
   2027   ;
   2028   return 0;
   2029 }
   2030 _ACEOF
   2031 if ac_fn_c_try_compile "$LINENO"
   2032 then :
   2033   eval "$3=yes"
   2034 else case e in #(
   2035   e) eval "$3=no" ;;
   2036 esac
   2037 fi
   2038 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2039   eval $6=\$ac_save_FLAGS
   2040  ;;
   2041 esac
   2042 fi
   2043 eval ac_res=\$$3
   2044 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2045 printf "%s\n" "$ac_res" >&6; }
   2046   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2047 
   2048 } # ac_fn_check_decl
   2049 
   2050 # ac_fn_c_try_cpp LINENO
   2051 # ----------------------
   2052 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   2053 ac_fn_c_try_cpp ()
   2054 {
   2055   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2056   if { { ac_try="$ac_cpp conftest.$ac_ext"
   2057 case "(($ac_try" in
   2058   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2059   *) ac_try_echo=$ac_try;;
   2060 esac
   2061 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2062 printf "%s\n" "$ac_try_echo"; } >&5
   2063   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   2064   ac_status=$?
   2065   if test -s conftest.err; then
   2066     grep -v '^ *+' conftest.err >conftest.er1
   2067     cat conftest.er1 >&5
   2068     mv -f conftest.er1 conftest.err
   2069   fi
   2070   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2071   test $ac_status = 0; } > conftest.i && {
   2072 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   2073 	 test ! -s conftest.err
   2074        }
   2075 then :
   2076   ac_retval=0
   2077 else case e in #(
   2078   e) printf "%s\n" "$as_me: failed program was:" >&5
   2079 sed 's/^/| /' conftest.$ac_ext >&5
   2080 
   2081     ac_retval=1 ;;
   2082 esac
   2083 fi
   2084   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2085   as_fn_set_status $ac_retval
   2086 
   2087 } # ac_fn_c_try_cpp
   2088 
   2089 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   2090 # ----------------------------------------------------
   2091 # Tries to find if the field MEMBER exists in type AGGR, after including
   2092 # INCLUDES, setting cache variable VAR accordingly.
   2093 ac_fn_c_check_member ()
   2094 {
   2095   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2096   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   2097 printf %s "checking for $2.$3... " >&6; }
   2098 if eval test \${$4+y}
   2099 then :
   2100   printf %s "(cached) " >&6
   2101 else case e in #(
   2102   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2103 /* end confdefs.h.  */
   2104 $5
   2105 int
   2106 main (void)
   2107 {
   2108 static $2 ac_aggr;
   2109 if (ac_aggr.$3)
   2110 return 0;
   2111   ;
   2112   return 0;
   2113 }
   2114 _ACEOF
   2115 if ac_fn_c_try_compile "$LINENO"
   2116 then :
   2117   eval "$4=yes"
   2118 else case e in #(
   2119   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2120 /* end confdefs.h.  */
   2121 $5
   2122 int
   2123 main (void)
   2124 {
   2125 static $2 ac_aggr;
   2126 if (sizeof ac_aggr.$3)
   2127 return 0;
   2128   ;
   2129   return 0;
   2130 }
   2131 _ACEOF
   2132 if ac_fn_c_try_compile "$LINENO"
   2133 then :
   2134   eval "$4=yes"
   2135 else case e in #(
   2136   e) eval "$4=no" ;;
   2137 esac
   2138 fi
   2139 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   2140 esac
   2141 fi
   2142 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   2143 esac
   2144 fi
   2145 eval ac_res=\$$4
   2146 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2147 printf "%s\n" "$ac_res" >&6; }
   2148   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2149 
   2150 } # ac_fn_c_check_member
   2151 
   2152 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   2153 # -------------------------------------------
   2154 # Tests whether TYPE exists after having included INCLUDES, setting cache
   2155 # variable VAR accordingly.
   2156 ac_fn_c_check_type ()
   2157 {
   2158   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2159   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2160 printf %s "checking for $2... " >&6; }
   2161 if eval test \${$3+y}
   2162 then :
   2163   printf %s "(cached) " >&6
   2164 else case e in #(
   2165   e) eval "$3=no"
   2166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2167 /* end confdefs.h.  */
   2168 $4
   2169 int
   2170 main (void)
   2171 {
   2172 if (sizeof ($2))
   2173 	 return 0;
   2174   ;
   2175   return 0;
   2176 }
   2177 _ACEOF
   2178 if ac_fn_c_try_compile "$LINENO"
   2179 then :
   2180   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2181 /* end confdefs.h.  */
   2182 $4
   2183 int
   2184 main (void)
   2185 {
   2186 if (sizeof (($2)))
   2187 	    return 0;
   2188   ;
   2189   return 0;
   2190 }
   2191 _ACEOF
   2192 if ac_fn_c_try_compile "$LINENO"
   2193 then :
   2194 
   2195 else case e in #(
   2196   e) eval "$3=yes" ;;
   2197 esac
   2198 fi
   2199 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2200 fi
   2201 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   2202 esac
   2203 fi
   2204 eval ac_res=\$$3
   2205 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2206 printf "%s\n" "$ac_res" >&6; }
   2207   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2208 
   2209 } # ac_fn_c_check_type
   2210 
   2211 # ac_fn_c_try_run LINENO
   2212 # ----------------------
   2213 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
   2214 # executables *can* be run.
   2215 ac_fn_c_try_run ()
   2216 {
   2217   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2218   if { { ac_try="$ac_link"
   2219 case "(($ac_try" in
   2220   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2221   *) ac_try_echo=$ac_try;;
   2222 esac
   2223 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2224 printf "%s\n" "$ac_try_echo"; } >&5
   2225   (eval "$ac_link") 2>&5
   2226   ac_status=$?
   2227   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2228   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   2229   { { case "(($ac_try" in
   2230   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2231   *) ac_try_echo=$ac_try;;
   2232 esac
   2233 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2234 printf "%s\n" "$ac_try_echo"; } >&5
   2235   (eval "$ac_try") 2>&5
   2236   ac_status=$?
   2237   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2238   test $ac_status = 0; }; }
   2239 then :
   2240   ac_retval=0
   2241 else case e in #(
   2242   e) printf "%s\n" "$as_me: program exited with status $ac_status" >&5
   2243        printf "%s\n" "$as_me: failed program was:" >&5
   2244 sed 's/^/| /' conftest.$ac_ext >&5
   2245 
   2246        ac_retval=$ac_status ;;
   2247 esac
   2248 fi
   2249   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   2250   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2251   as_fn_set_status $ac_retval
   2252 
   2253 } # ac_fn_c_try_run
   2254 ac_configure_args_raw=
   2255 for ac_arg
   2256 do
   2257   case $ac_arg in
   2258   *\'*)
   2259     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2260   esac
   2261   as_fn_append ac_configure_args_raw " '$ac_arg'"
   2262 done
   2263 
   2264 case $ac_configure_args_raw in
   2265   *$as_nl*)
   2266     ac_safe_unquote= ;;
   2267   *)
   2268     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   2269     ac_unsafe_a="$ac_unsafe_z#~"
   2270     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   2271     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   2272 esac
   2273 
   2274 cat >config.log <<_ACEOF
   2275 This file contains any messages produced by compilers while
   2276 running configure, to aid debugging if configure makes a mistake.
   2277 
   2278 It was created by libX11 $as_me 1.8.13, which was
   2279 generated by GNU Autoconf 2.72.  Invocation command line was
   2280 
   2281   $ $0$ac_configure_args_raw
   2282 
   2283 _ACEOF
   2284 exec 5>>config.log
   2285 {
   2286 cat <<_ASUNAME
   2287 ## --------- ##
   2288 ## Platform. ##
   2289 ## --------- ##
   2290 
   2291 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2292 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2293 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2294 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2295 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2296 
   2297 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2298 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2299 
   2300 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2301 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2302 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2303 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2304 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2305 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2306 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2307 
   2308 _ASUNAME
   2309 
   2310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2311 for as_dir in $PATH
   2312 do
   2313   IFS=$as_save_IFS
   2314   case $as_dir in #(((
   2315     '') as_dir=./ ;;
   2316     */) ;;
   2317     *) as_dir=$as_dir/ ;;
   2318   esac
   2319     printf "%s\n" "PATH: $as_dir"
   2320   done
   2321 IFS=$as_save_IFS
   2322 
   2323 } >&5
   2324 
   2325 cat >&5 <<_ACEOF
   2326 
   2327 
   2328 ## ----------- ##
   2329 ## Core tests. ##
   2330 ## ----------- ##
   2331 
   2332 _ACEOF
   2333 
   2334 
   2335 # Keep a trace of the command line.
   2336 # Strip out --no-create and --no-recursion so they do not pile up.
   2337 # Strip out --silent because we don't want to record it for future runs.
   2338 # Also quote any args containing shell meta-characters.
   2339 # Make two passes to allow for proper duplicate-argument suppression.
   2340 ac_configure_args=
   2341 ac_configure_args0=
   2342 ac_configure_args1=
   2343 ac_must_keep_next=false
   2344 for ac_pass in 1 2
   2345 do
   2346   for ac_arg
   2347   do
   2348     case $ac_arg in
   2349     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2350     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2351     | -silent | --silent | --silen | --sile | --sil)
   2352       continue ;;
   2353     *\'*)
   2354       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2355     esac
   2356     case $ac_pass in
   2357     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2358     2)
   2359       as_fn_append ac_configure_args1 " '$ac_arg'"
   2360       if test $ac_must_keep_next = true; then
   2361 	ac_must_keep_next=false # Got value, back to normal.
   2362       else
   2363 	case $ac_arg in
   2364 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2365 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2366 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2367 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2368 	    case "$ac_configure_args0 " in
   2369 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2370 	    esac
   2371 	    ;;
   2372 	  -* ) ac_must_keep_next=true ;;
   2373 	esac
   2374       fi
   2375       as_fn_append ac_configure_args " '$ac_arg'"
   2376       ;;
   2377     esac
   2378   done
   2379 done
   2380 { ac_configure_args0=; unset ac_configure_args0;}
   2381 { ac_configure_args1=; unset ac_configure_args1;}
   2382 
   2383 # When interrupted or exit'd, cleanup temporary files, and complete
   2384 # config.log.  We remove comments because anyway the quotes in there
   2385 # would cause problems or look ugly.
   2386 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2387 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2388 trap 'exit_status=$?
   2389   # Sanitize IFS.
   2390   IFS=" ""	$as_nl"
   2391   # Save into config.log some information that might help in debugging.
   2392   {
   2393     echo
   2394 
   2395     printf "%s\n" "## ---------------- ##
   2396 ## Cache variables. ##
   2397 ## ---------------- ##"
   2398     echo
   2399     # The following way of writing the cache mishandles newlines in values,
   2400 (
   2401   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2402     eval ac_val=\$$ac_var
   2403     case $ac_val in #(
   2404     *${as_nl}*)
   2405       case $ac_var in #(
   2406       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2407 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2408       esac
   2409       case $ac_var in #(
   2410       _ | IFS | as_nl) ;; #(
   2411       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2412       *) { eval $ac_var=; unset $ac_var;} ;;
   2413       esac ;;
   2414     esac
   2415   done
   2416   (set) 2>&1 |
   2417     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2418     *${as_nl}ac_space=\ *)
   2419       sed -n \
   2420 	"s/'\''/'\''\\\\'\'''\''/g;
   2421 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2422       ;; #(
   2423     *)
   2424       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2425       ;;
   2426     esac |
   2427     sort
   2428 )
   2429     echo
   2430 
   2431     printf "%s\n" "## ----------------- ##
   2432 ## Output variables. ##
   2433 ## ----------------- ##"
   2434     echo
   2435     for ac_var in $ac_subst_vars
   2436     do
   2437       eval ac_val=\$$ac_var
   2438       case $ac_val in
   2439       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2440       esac
   2441       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2442     done | sort
   2443     echo
   2444 
   2445     if test -n "$ac_subst_files"; then
   2446       printf "%s\n" "## ------------------- ##
   2447 ## File substitutions. ##
   2448 ## ------------------- ##"
   2449       echo
   2450       for ac_var in $ac_subst_files
   2451       do
   2452 	eval ac_val=\$$ac_var
   2453 	case $ac_val in
   2454 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2455 	esac
   2456 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2457       done | sort
   2458       echo
   2459     fi
   2460 
   2461     if test -s confdefs.h; then
   2462       printf "%s\n" "## ----------- ##
   2463 ## confdefs.h. ##
   2464 ## ----------- ##"
   2465       echo
   2466       cat confdefs.h
   2467       echo
   2468     fi
   2469     test "$ac_signal" != 0 &&
   2470       printf "%s\n" "$as_me: caught signal $ac_signal"
   2471     printf "%s\n" "$as_me: exit $exit_status"
   2472   } >&5
   2473   rm -f core *.core core.conftest.* &&
   2474     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2475     exit $exit_status
   2476 ' 0
   2477 for ac_signal in 1 2 13 15; do
   2478   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2479 done
   2480 ac_signal=0
   2481 
   2482 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2483 rm -f -r conftest* confdefs.h
   2484 
   2485 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2486 
   2487 # Predefined preprocessor variables.
   2488 
   2489 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2490 
   2491 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2492 
   2493 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2494 
   2495 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2496 
   2497 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2498 
   2499 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2500 
   2501 
   2502 # Let the site file select an alternate cache file if it wants to.
   2503 # Prefer an explicitly selected file to automatically selected ones.
   2504 if test -n "$CONFIG_SITE"; then
   2505   ac_site_files="$CONFIG_SITE"
   2506 elif test "x$prefix" != xNONE; then
   2507   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2508 else
   2509   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2510 fi
   2511 
   2512 for ac_site_file in $ac_site_files
   2513 do
   2514   case $ac_site_file in #(
   2515   */*) :
   2516      ;; #(
   2517   *) :
   2518     ac_site_file=./$ac_site_file ;;
   2519 esac
   2520   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2521     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2522 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2523     sed 's/^/| /' "$ac_site_file" >&5
   2524     . "$ac_site_file" \
   2525       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2526 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2527 as_fn_error $? "failed to load site script $ac_site_file
   2528 See 'config.log' for more details" "$LINENO" 5; }
   2529   fi
   2530 done
   2531 
   2532 if test -r "$cache_file"; then
   2533   # Some versions of bash will fail to source /dev/null (special files
   2534   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2535   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2536     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2537 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2538     case $cache_file in
   2539       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2540       *)                      . "./$cache_file";;
   2541     esac
   2542   fi
   2543 else
   2544   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2545 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2546   >$cache_file
   2547 fi
   2548 
   2549 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2550 # Test code for whether the C compiler supports C89 (global declarations)
   2551 ac_c_conftest_c89_globals='
   2552 /* Does the compiler advertise C89 conformance?
   2553    Do not test the value of __STDC__, because some compilers set it to 0
   2554    while being otherwise adequately conformant. */
   2555 #if !defined __STDC__
   2556 # error "Compiler does not advertise C89 conformance"
   2557 #endif
   2558 
   2559 #include <stddef.h>
   2560 #include <stdarg.h>
   2561 struct stat;
   2562 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2563 struct buf { int x; };
   2564 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2565 static char *e (char **p, int i)
   2566 {
   2567   return p[i];
   2568 }
   2569 static char *f (char * (*g) (char **, int), char **p, ...)
   2570 {
   2571   char *s;
   2572   va_list v;
   2573   va_start (v,p);
   2574   s = g (p, va_arg (v,int));
   2575   va_end (v);
   2576   return s;
   2577 }
   2578 
   2579 /* C89 style stringification. */
   2580 #define noexpand_stringify(a) #a
   2581 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2582 
   2583 /* C89 style token pasting.  Exercises some of the corner cases that
   2584    e.g. old MSVC gets wrong, but not very hard. */
   2585 #define noexpand_concat(a,b) a##b
   2586 #define expand_concat(a,b) noexpand_concat(a,b)
   2587 extern int vA;
   2588 extern int vbee;
   2589 #define aye A
   2590 #define bee B
   2591 int *pvA = &expand_concat(v,aye);
   2592 int *pvbee = &noexpand_concat(v,bee);
   2593 
   2594 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2595    function prototypes and stuff, but not \xHH hex character constants.
   2596    These do not provoke an error unfortunately, instead are silently treated
   2597    as an "x".  The following induces an error, until -std is added to get
   2598    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2599    array size at least.  It is necessary to write \x00 == 0 to get something
   2600    that is true only with -std.  */
   2601 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2602 
   2603 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2604    inside strings and character constants.  */
   2605 #define FOO(x) '\''x'\''
   2606 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2607 
   2608 int test (int i, double x);
   2609 struct s1 {int (*f) (int a);};
   2610 struct s2 {int (*f) (double a);};
   2611 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2612                int, int);'
   2613 
   2614 # Test code for whether the C compiler supports C89 (body of main).
   2615 ac_c_conftest_c89_main='
   2616 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2617 '
   2618 
   2619 # Test code for whether the C compiler supports C99 (global declarations)
   2620 ac_c_conftest_c99_globals='
   2621 /* Does the compiler advertise C99 conformance? */
   2622 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2623 # error "Compiler does not advertise C99 conformance"
   2624 #endif
   2625 
   2626 // See if C++-style comments work.
   2627 
   2628 #include <stdbool.h>
   2629 extern int puts (const char *);
   2630 extern int printf (const char *, ...);
   2631 extern int dprintf (int, const char *, ...);
   2632 extern void *malloc (size_t);
   2633 extern void free (void *);
   2634 
   2635 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2636 // dprintf is used instead of fprintf to avoid needing to declare
   2637 // FILE and stderr.
   2638 #define debug(...) dprintf (2, __VA_ARGS__)
   2639 #define showlist(...) puts (#__VA_ARGS__)
   2640 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2641 static void
   2642 test_varargs_macros (void)
   2643 {
   2644   int x = 1234;
   2645   int y = 5678;
   2646   debug ("Flag");
   2647   debug ("X = %d\n", x);
   2648   showlist (The first, second, and third items.);
   2649   report (x>y, "x is %d but y is %d", x, y);
   2650 }
   2651 
   2652 // Check long long types.
   2653 #define BIG64 18446744073709551615ull
   2654 #define BIG32 4294967295ul
   2655 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2656 #if !BIG_OK
   2657   #error "your preprocessor is broken"
   2658 #endif
   2659 #if BIG_OK
   2660 #else
   2661   #error "your preprocessor is broken"
   2662 #endif
   2663 static long long int bignum = -9223372036854775807LL;
   2664 static unsigned long long int ubignum = BIG64;
   2665 
   2666 struct incomplete_array
   2667 {
   2668   int datasize;
   2669   double data[];
   2670 };
   2671 
   2672 struct named_init {
   2673   int number;
   2674   const wchar_t *name;
   2675   double average;
   2676 };
   2677 
   2678 typedef const char *ccp;
   2679 
   2680 static inline int
   2681 test_restrict (ccp restrict text)
   2682 {
   2683   // Iterate through items via the restricted pointer.
   2684   // Also check for declarations in for loops.
   2685   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2686     continue;
   2687   return 0;
   2688 }
   2689 
   2690 // Check varargs and va_copy.
   2691 static bool
   2692 test_varargs (const char *format, ...)
   2693 {
   2694   va_list args;
   2695   va_start (args, format);
   2696   va_list args_copy;
   2697   va_copy (args_copy, args);
   2698 
   2699   const char *str = "";
   2700   int number = 0;
   2701   float fnumber = 0;
   2702 
   2703   while (*format)
   2704     {
   2705       switch (*format++)
   2706 	{
   2707 	case '\''s'\'': // string
   2708 	  str = va_arg (args_copy, const char *);
   2709 	  break;
   2710 	case '\''d'\'': // int
   2711 	  number = va_arg (args_copy, int);
   2712 	  break;
   2713 	case '\''f'\'': // float
   2714 	  fnumber = va_arg (args_copy, double);
   2715 	  break;
   2716 	default:
   2717 	  break;
   2718 	}
   2719     }
   2720   va_end (args_copy);
   2721   va_end (args);
   2722 
   2723   return *str && number && fnumber;
   2724 }
   2725 '
   2726 
   2727 # Test code for whether the C compiler supports C99 (body of main).
   2728 ac_c_conftest_c99_main='
   2729   // Check bool.
   2730   _Bool success = false;
   2731   success |= (argc != 0);
   2732 
   2733   // Check restrict.
   2734   if (test_restrict ("String literal") == 0)
   2735     success = true;
   2736   char *restrict newvar = "Another string";
   2737 
   2738   // Check varargs.
   2739   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2740   test_varargs_macros ();
   2741 
   2742   // Check flexible array members.
   2743   struct incomplete_array *ia =
   2744     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2745   ia->datasize = 10;
   2746   for (int i = 0; i < ia->datasize; ++i)
   2747     ia->data[i] = i * 1.234;
   2748   // Work around memory leak warnings.
   2749   free (ia);
   2750 
   2751   // Check named initializers.
   2752   struct named_init ni = {
   2753     .number = 34,
   2754     .name = L"Test wide string",
   2755     .average = 543.34343,
   2756   };
   2757 
   2758   ni.number = 58;
   2759 
   2760   int dynamic_array[ni.number];
   2761   dynamic_array[0] = argv[0][0];
   2762   dynamic_array[ni.number - 1] = 543;
   2763 
   2764   // work around unused variable warnings
   2765   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2766 	 || dynamic_array[ni.number - 1] != 543);
   2767 '
   2768 
   2769 # Test code for whether the C compiler supports C11 (global declarations)
   2770 ac_c_conftest_c11_globals='
   2771 /* Does the compiler advertise C11 conformance? */
   2772 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2773 # error "Compiler does not advertise C11 conformance"
   2774 #endif
   2775 
   2776 // Check _Alignas.
   2777 char _Alignas (double) aligned_as_double;
   2778 char _Alignas (0) no_special_alignment;
   2779 extern char aligned_as_int;
   2780 char _Alignas (0) _Alignas (int) aligned_as_int;
   2781 
   2782 // Check _Alignof.
   2783 enum
   2784 {
   2785   int_alignment = _Alignof (int),
   2786   int_array_alignment = _Alignof (int[100]),
   2787   char_alignment = _Alignof (char)
   2788 };
   2789 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2790 
   2791 // Check _Noreturn.
   2792 int _Noreturn does_not_return (void) { for (;;) continue; }
   2793 
   2794 // Check _Static_assert.
   2795 struct test_static_assert
   2796 {
   2797   int x;
   2798   _Static_assert (sizeof (int) <= sizeof (long int),
   2799                   "_Static_assert does not work in struct");
   2800   long int y;
   2801 };
   2802 
   2803 // Check UTF-8 literals.
   2804 #define u8 syntax error!
   2805 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2806 
   2807 // Check duplicate typedefs.
   2808 typedef long *long_ptr;
   2809 typedef long int *long_ptr;
   2810 typedef long_ptr long_ptr;
   2811 
   2812 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2813 struct anonymous
   2814 {
   2815   union {
   2816     struct { int i; int j; };
   2817     struct { int k; long int l; } w;
   2818   };
   2819   int m;
   2820 } v1;
   2821 '
   2822 
   2823 # Test code for whether the C compiler supports C11 (body of main).
   2824 ac_c_conftest_c11_main='
   2825   _Static_assert ((offsetof (struct anonymous, i)
   2826 		   == offsetof (struct anonymous, w.k)),
   2827 		  "Anonymous union alignment botch");
   2828   v1.i = 2;
   2829   v1.w.k = 5;
   2830   ok |= v1.i != 5;
   2831 '
   2832 
   2833 # Test code for whether the C compiler supports C11 (complete).
   2834 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2835 ${ac_c_conftest_c99_globals}
   2836 ${ac_c_conftest_c11_globals}
   2837 
   2838 int
   2839 main (int argc, char **argv)
   2840 {
   2841   int ok = 0;
   2842   ${ac_c_conftest_c89_main}
   2843   ${ac_c_conftest_c99_main}
   2844   ${ac_c_conftest_c11_main}
   2845   return ok;
   2846 }
   2847 "
   2848 
   2849 # Test code for whether the C compiler supports C99 (complete).
   2850 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2851 ${ac_c_conftest_c99_globals}
   2852 
   2853 int
   2854 main (int argc, char **argv)
   2855 {
   2856   int ok = 0;
   2857   ${ac_c_conftest_c89_main}
   2858   ${ac_c_conftest_c99_main}
   2859   return ok;
   2860 }
   2861 "
   2862 
   2863 # Test code for whether the C compiler supports C89 (complete).
   2864 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2865 
   2866 int
   2867 main (int argc, char **argv)
   2868 {
   2869   int ok = 0;
   2870   ${ac_c_conftest_c89_main}
   2871   return ok;
   2872 }
   2873 "
   2874 
   2875 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2876 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2877 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2878 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2879 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2880 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2881 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2882 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2883 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
   2884 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
   2885 as_fn_append ac_header_c_list " sys/param.h sys_param_h HAVE_SYS_PARAM_H"
   2886 as_fn_append ac_func_c_list " getpagesize HAVE_GETPAGESIZE"
   2887 
   2888 # Auxiliary files required by this configure script.
   2889 ac_aux_files="ltmain.sh missing install-sh compile config.guess config.sub"
   2890 
   2891 # Locations in which to look for auxiliary files.
   2892 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2893 
   2894 # Search for a directory containing all of the required auxiliary files,
   2895 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2896 # If we don't find one directory that contains all the files we need,
   2897 # we report the set of missing files from the *first* directory in
   2898 # $ac_aux_dir_candidates and give up.
   2899 ac_missing_aux_files=""
   2900 ac_first_candidate=:
   2901 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2903 as_found=false
   2904 for as_dir in $ac_aux_dir_candidates
   2905 do
   2906   IFS=$as_save_IFS
   2907   case $as_dir in #(((
   2908     '') as_dir=./ ;;
   2909     */) ;;
   2910     *) as_dir=$as_dir/ ;;
   2911   esac
   2912   as_found=:
   2913 
   2914   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2915   ac_aux_dir_found=yes
   2916   ac_install_sh=
   2917   for ac_aux in $ac_aux_files
   2918   do
   2919     # As a special case, if "install-sh" is required, that requirement
   2920     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2921     # and $ac_install_sh is set appropriately for whichever one is found.
   2922     if test x"$ac_aux" = x"install-sh"
   2923     then
   2924       if test -f "${as_dir}install-sh"; then
   2925         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2926         ac_install_sh="${as_dir}install-sh -c"
   2927       elif test -f "${as_dir}install.sh"; then
   2928         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2929         ac_install_sh="${as_dir}install.sh -c"
   2930       elif test -f "${as_dir}shtool"; then
   2931         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2932         ac_install_sh="${as_dir}shtool install -c"
   2933       else
   2934         ac_aux_dir_found=no
   2935         if $ac_first_candidate; then
   2936           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2937         else
   2938           break
   2939         fi
   2940       fi
   2941     else
   2942       if test -f "${as_dir}${ac_aux}"; then
   2943         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2944       else
   2945         ac_aux_dir_found=no
   2946         if $ac_first_candidate; then
   2947           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2948         else
   2949           break
   2950         fi
   2951       fi
   2952     fi
   2953   done
   2954   if test "$ac_aux_dir_found" = yes; then
   2955     ac_aux_dir="$as_dir"
   2956     break
   2957   fi
   2958   ac_first_candidate=false
   2959 
   2960   as_found=false
   2961 done
   2962 IFS=$as_save_IFS
   2963 if $as_found
   2964 then :
   2965 
   2966 else case e in #(
   2967   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2968 esac
   2969 fi
   2970 
   2971 
   2972 # These three variables are undocumented and unsupported,
   2973 # and are intended to be withdrawn in a future Autoconf release.
   2974 # They can cause serious problems if a builder's source tree is in a directory
   2975 # whose full name contains unusual characters.
   2976 if test -f "${ac_aux_dir}config.guess"; then
   2977   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2978 fi
   2979 if test -f "${ac_aux_dir}config.sub"; then
   2980   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2981 fi
   2982 if test -f "$ac_aux_dir/configure"; then
   2983   ac_configure="$SHELL ${ac_aux_dir}configure"
   2984 fi
   2985 
   2986 # Check that the precious variables saved in the cache have kept the same
   2987 # value.
   2988 ac_cache_corrupted=false
   2989 for ac_var in $ac_precious_vars; do
   2990   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2991   eval ac_new_set=\$ac_env_${ac_var}_set
   2992   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2993   eval ac_new_val=\$ac_env_${ac_var}_value
   2994   case $ac_old_set,$ac_new_set in
   2995     set,)
   2996       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2997 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2998       ac_cache_corrupted=: ;;
   2999     ,set)
   3000       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   3001 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   3002       ac_cache_corrupted=: ;;
   3003     ,);;
   3004     *)
   3005       if test "x$ac_old_val" != "x$ac_new_val"; then
   3006 	# differences in whitespace do not lead to failure.
   3007 	ac_old_val_w=`echo x $ac_old_val`
   3008 	ac_new_val_w=`echo x $ac_new_val`
   3009 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   3010 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   3011 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   3012 	  ac_cache_corrupted=:
   3013 	else
   3014 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   3015 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   3016 	  eval $ac_var=\$ac_old_val
   3017 	fi
   3018 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   3019 printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
   3020 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   3021 printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
   3022       fi;;
   3023   esac
   3024   # Pass precious variables to config.status.
   3025   if test "$ac_new_set" = set; then
   3026     case $ac_new_val in
   3027     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   3028     *) ac_arg=$ac_var=$ac_new_val ;;
   3029     esac
   3030     case " $ac_configure_args " in
   3031       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   3032       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   3033     esac
   3034   fi
   3035 done
   3036 if $ac_cache_corrupted; then
   3037   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3038 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3039   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   3040 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   3041   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   3042 	    and start over" "$LINENO" 5
   3043 fi
   3044 ## -------------------- ##
   3045 ## Main body of script. ##
   3046 ## -------------------- ##
   3047 
   3048 ac_ext=c
   3049 ac_cpp='$CPP $CPPFLAGS'
   3050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3053 
   3054 
   3055 
   3056 ac_config_headers="$ac_config_headers src/config.h include/X11/XlibConf.h"
   3057 
   3058 
   3059 
   3060 
   3061 
   3062   # Make sure we can run config.sub.
   3063 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   3064   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   3065 
   3066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3067 printf %s "checking build system type... " >&6; }
   3068 if test ${ac_cv_build+y}
   3069 then :
   3070   printf %s "(cached) " >&6
   3071 else case e in #(
   3072   e) ac_build_alias=$build_alias
   3073 test "x$ac_build_alias" = x &&
   3074   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   3075 test "x$ac_build_alias" = x &&
   3076   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3077 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   3078   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   3079  ;;
   3080 esac
   3081 fi
   3082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3083 printf "%s\n" "$ac_cv_build" >&6; }
   3084 case $ac_cv_build in
   3085 *-*-*) ;;
   3086 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3087 esac
   3088 build=$ac_cv_build
   3089 ac_save_IFS=$IFS; IFS='-'
   3090 set x $ac_cv_build
   3091 shift
   3092 build_cpu=$1
   3093 build_vendor=$2
   3094 shift; shift
   3095 # Remember, the first character of IFS is used to create $*,
   3096 # except with old shells:
   3097 build_os=$*
   3098 IFS=$ac_save_IFS
   3099 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3100 
   3101 
   3102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3103 printf %s "checking host system type... " >&6; }
   3104 if test ${ac_cv_host+y}
   3105 then :
   3106   printf %s "(cached) " >&6
   3107 else case e in #(
   3108   e) if test "x$host_alias" = x; then
   3109   ac_cv_host=$ac_cv_build
   3110 else
   3111   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   3112     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   3113 fi
   3114  ;;
   3115 esac
   3116 fi
   3117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3118 printf "%s\n" "$ac_cv_host" >&6; }
   3119 case $ac_cv_host in
   3120 *-*-*) ;;
   3121 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3122 esac
   3123 host=$ac_cv_host
   3124 ac_save_IFS=$IFS; IFS='-'
   3125 set x $ac_cv_host
   3126 shift
   3127 host_cpu=$1
   3128 host_vendor=$2
   3129 shift; shift
   3130 # Remember, the first character of IFS is used to create $*,
   3131 # except with old shells:
   3132 host_os=$*
   3133 IFS=$ac_save_IFS
   3134 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3135 
   3136 
   3137 # Set common system defines for POSIX extensions, such as _GNU_SOURCE
   3138 # Must be called before any macros that run the compiler (like LT_INIT)
   3139 # to avoid autoconf errors.
   3140 
   3141 
   3142 
   3143 
   3144 
   3145 
   3146 
   3147 
   3148 
   3149 
   3150 # Expand $ac_aux_dir to an absolute path.
   3151 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   3152 
   3153 ac_ext=c
   3154 ac_cpp='$CPP $CPPFLAGS'
   3155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3158 if test -n "$ac_tool_prefix"; then
   3159   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3160 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3162 printf %s "checking for $ac_word... " >&6; }
   3163 if test ${ac_cv_prog_CC+y}
   3164 then :
   3165   printf %s "(cached) " >&6
   3166 else case e in #(
   3167   e) if test -n "$CC"; then
   3168   ac_cv_prog_CC="$CC" # Let the user override the test.
   3169 else
   3170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3171 for as_dir in $PATH
   3172 do
   3173   IFS=$as_save_IFS
   3174   case $as_dir in #(((
   3175     '') as_dir=./ ;;
   3176     */) ;;
   3177     *) as_dir=$as_dir/ ;;
   3178   esac
   3179     for ac_exec_ext in '' $ac_executable_extensions; do
   3180   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3181     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3182     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3183     break 2
   3184   fi
   3185 done
   3186   done
   3187 IFS=$as_save_IFS
   3188 
   3189 fi ;;
   3190 esac
   3191 fi
   3192 CC=$ac_cv_prog_CC
   3193 if test -n "$CC"; then
   3194   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3195 printf "%s\n" "$CC" >&6; }
   3196 else
   3197   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3198 printf "%s\n" "no" >&6; }
   3199 fi
   3200 
   3201 
   3202 fi
   3203 if test -z "$ac_cv_prog_CC"; then
   3204   ac_ct_CC=$CC
   3205   # Extract the first word of "gcc", so it can be a program name with args.
   3206 set dummy gcc; ac_word=$2
   3207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3208 printf %s "checking for $ac_word... " >&6; }
   3209 if test ${ac_cv_prog_ac_ct_CC+y}
   3210 then :
   3211   printf %s "(cached) " >&6
   3212 else case e in #(
   3213   e) if test -n "$ac_ct_CC"; then
   3214   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3215 else
   3216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3217 for as_dir in $PATH
   3218 do
   3219   IFS=$as_save_IFS
   3220   case $as_dir in #(((
   3221     '') as_dir=./ ;;
   3222     */) ;;
   3223     *) as_dir=$as_dir/ ;;
   3224   esac
   3225     for ac_exec_ext in '' $ac_executable_extensions; do
   3226   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3227     ac_cv_prog_ac_ct_CC="gcc"
   3228     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3229     break 2
   3230   fi
   3231 done
   3232   done
   3233 IFS=$as_save_IFS
   3234 
   3235 fi ;;
   3236 esac
   3237 fi
   3238 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3239 if test -n "$ac_ct_CC"; then
   3240   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3241 printf "%s\n" "$ac_ct_CC" >&6; }
   3242 else
   3243   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3244 printf "%s\n" "no" >&6; }
   3245 fi
   3246 
   3247   if test "x$ac_ct_CC" = x; then
   3248     CC=""
   3249   else
   3250     case $cross_compiling:$ac_tool_warned in
   3251 yes:)
   3252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3253 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3254 ac_tool_warned=yes ;;
   3255 esac
   3256     CC=$ac_ct_CC
   3257   fi
   3258 else
   3259   CC="$ac_cv_prog_CC"
   3260 fi
   3261 
   3262 if test -z "$CC"; then
   3263           if test -n "$ac_tool_prefix"; then
   3264     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3265 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3267 printf %s "checking for $ac_word... " >&6; }
   3268 if test ${ac_cv_prog_CC+y}
   3269 then :
   3270   printf %s "(cached) " >&6
   3271 else case e in #(
   3272   e) if test -n "$CC"; then
   3273   ac_cv_prog_CC="$CC" # Let the user override the test.
   3274 else
   3275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3276 for as_dir in $PATH
   3277 do
   3278   IFS=$as_save_IFS
   3279   case $as_dir in #(((
   3280     '') as_dir=./ ;;
   3281     */) ;;
   3282     *) as_dir=$as_dir/ ;;
   3283   esac
   3284     for ac_exec_ext in '' $ac_executable_extensions; do
   3285   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3286     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3287     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3288     break 2
   3289   fi
   3290 done
   3291   done
   3292 IFS=$as_save_IFS
   3293 
   3294 fi ;;
   3295 esac
   3296 fi
   3297 CC=$ac_cv_prog_CC
   3298 if test -n "$CC"; then
   3299   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3300 printf "%s\n" "$CC" >&6; }
   3301 else
   3302   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3303 printf "%s\n" "no" >&6; }
   3304 fi
   3305 
   3306 
   3307   fi
   3308 fi
   3309 if test -z "$CC"; then
   3310   # Extract the first word of "cc", so it can be a program name with args.
   3311 set dummy cc; ac_word=$2
   3312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3313 printf %s "checking for $ac_word... " >&6; }
   3314 if test ${ac_cv_prog_CC+y}
   3315 then :
   3316   printf %s "(cached) " >&6
   3317 else case e in #(
   3318   e) if test -n "$CC"; then
   3319   ac_cv_prog_CC="$CC" # Let the user override the test.
   3320 else
   3321   ac_prog_rejected=no
   3322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3323 for as_dir in $PATH
   3324 do
   3325   IFS=$as_save_IFS
   3326   case $as_dir in #(((
   3327     '') as_dir=./ ;;
   3328     */) ;;
   3329     *) as_dir=$as_dir/ ;;
   3330   esac
   3331     for ac_exec_ext in '' $ac_executable_extensions; do
   3332   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3333     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3334        ac_prog_rejected=yes
   3335        continue
   3336      fi
   3337     ac_cv_prog_CC="cc"
   3338     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3339     break 2
   3340   fi
   3341 done
   3342   done
   3343 IFS=$as_save_IFS
   3344 
   3345 if test $ac_prog_rejected = yes; then
   3346   # We found a bogon in the path, so make sure we never use it.
   3347   set dummy $ac_cv_prog_CC
   3348   shift
   3349   if test $# != 0; then
   3350     # We chose a different compiler from the bogus one.
   3351     # However, it has the same basename, so the bogon will be chosen
   3352     # first if we set CC to just the basename; use the full file name.
   3353     shift
   3354     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3355   fi
   3356 fi
   3357 fi ;;
   3358 esac
   3359 fi
   3360 CC=$ac_cv_prog_CC
   3361 if test -n "$CC"; then
   3362   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3363 printf "%s\n" "$CC" >&6; }
   3364 else
   3365   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3366 printf "%s\n" "no" >&6; }
   3367 fi
   3368 
   3369 
   3370 fi
   3371 if test -z "$CC"; then
   3372   if test -n "$ac_tool_prefix"; then
   3373   for ac_prog in cl.exe
   3374   do
   3375     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3376 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3378 printf %s "checking for $ac_word... " >&6; }
   3379 if test ${ac_cv_prog_CC+y}
   3380 then :
   3381   printf %s "(cached) " >&6
   3382 else case e in #(
   3383   e) if test -n "$CC"; then
   3384   ac_cv_prog_CC="$CC" # Let the user override the test.
   3385 else
   3386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3387 for as_dir in $PATH
   3388 do
   3389   IFS=$as_save_IFS
   3390   case $as_dir in #(((
   3391     '') as_dir=./ ;;
   3392     */) ;;
   3393     *) as_dir=$as_dir/ ;;
   3394   esac
   3395     for ac_exec_ext in '' $ac_executable_extensions; do
   3396   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3397     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3398     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3399     break 2
   3400   fi
   3401 done
   3402   done
   3403 IFS=$as_save_IFS
   3404 
   3405 fi ;;
   3406 esac
   3407 fi
   3408 CC=$ac_cv_prog_CC
   3409 if test -n "$CC"; then
   3410   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3411 printf "%s\n" "$CC" >&6; }
   3412 else
   3413   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3414 printf "%s\n" "no" >&6; }
   3415 fi
   3416 
   3417 
   3418     test -n "$CC" && break
   3419   done
   3420 fi
   3421 if test -z "$CC"; then
   3422   ac_ct_CC=$CC
   3423   for ac_prog in cl.exe
   3424 do
   3425   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3426 set dummy $ac_prog; ac_word=$2
   3427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3428 printf %s "checking for $ac_word... " >&6; }
   3429 if test ${ac_cv_prog_ac_ct_CC+y}
   3430 then :
   3431   printf %s "(cached) " >&6
   3432 else case e in #(
   3433   e) if test -n "$ac_ct_CC"; then
   3434   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3435 else
   3436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3437 for as_dir in $PATH
   3438 do
   3439   IFS=$as_save_IFS
   3440   case $as_dir in #(((
   3441     '') as_dir=./ ;;
   3442     */) ;;
   3443     *) as_dir=$as_dir/ ;;
   3444   esac
   3445     for ac_exec_ext in '' $ac_executable_extensions; do
   3446   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3447     ac_cv_prog_ac_ct_CC="$ac_prog"
   3448     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3449     break 2
   3450   fi
   3451 done
   3452   done
   3453 IFS=$as_save_IFS
   3454 
   3455 fi ;;
   3456 esac
   3457 fi
   3458 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3459 if test -n "$ac_ct_CC"; then
   3460   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3461 printf "%s\n" "$ac_ct_CC" >&6; }
   3462 else
   3463   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3464 printf "%s\n" "no" >&6; }
   3465 fi
   3466 
   3467 
   3468   test -n "$ac_ct_CC" && break
   3469 done
   3470 
   3471   if test "x$ac_ct_CC" = x; then
   3472     CC=""
   3473   else
   3474     case $cross_compiling:$ac_tool_warned in
   3475 yes:)
   3476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3477 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3478 ac_tool_warned=yes ;;
   3479 esac
   3480     CC=$ac_ct_CC
   3481   fi
   3482 fi
   3483 
   3484 fi
   3485 if test -z "$CC"; then
   3486   if test -n "$ac_tool_prefix"; then
   3487   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3488 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3490 printf %s "checking for $ac_word... " >&6; }
   3491 if test ${ac_cv_prog_CC+y}
   3492 then :
   3493   printf %s "(cached) " >&6
   3494 else case e in #(
   3495   e) if test -n "$CC"; then
   3496   ac_cv_prog_CC="$CC" # Let the user override the test.
   3497 else
   3498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3499 for as_dir in $PATH
   3500 do
   3501   IFS=$as_save_IFS
   3502   case $as_dir in #(((
   3503     '') as_dir=./ ;;
   3504     */) ;;
   3505     *) as_dir=$as_dir/ ;;
   3506   esac
   3507     for ac_exec_ext in '' $ac_executable_extensions; do
   3508   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3509     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3510     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3511     break 2
   3512   fi
   3513 done
   3514   done
   3515 IFS=$as_save_IFS
   3516 
   3517 fi ;;
   3518 esac
   3519 fi
   3520 CC=$ac_cv_prog_CC
   3521 if test -n "$CC"; then
   3522   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3523 printf "%s\n" "$CC" >&6; }
   3524 else
   3525   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3526 printf "%s\n" "no" >&6; }
   3527 fi
   3528 
   3529 
   3530 fi
   3531 if test -z "$ac_cv_prog_CC"; then
   3532   ac_ct_CC=$CC
   3533   # Extract the first word of "clang", so it can be a program name with args.
   3534 set dummy clang; ac_word=$2
   3535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3536 printf %s "checking for $ac_word... " >&6; }
   3537 if test ${ac_cv_prog_ac_ct_CC+y}
   3538 then :
   3539   printf %s "(cached) " >&6
   3540 else case e in #(
   3541   e) if test -n "$ac_ct_CC"; then
   3542   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3543 else
   3544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3545 for as_dir in $PATH
   3546 do
   3547   IFS=$as_save_IFS
   3548   case $as_dir in #(((
   3549     '') as_dir=./ ;;
   3550     */) ;;
   3551     *) as_dir=$as_dir/ ;;
   3552   esac
   3553     for ac_exec_ext in '' $ac_executable_extensions; do
   3554   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3555     ac_cv_prog_ac_ct_CC="clang"
   3556     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3557     break 2
   3558   fi
   3559 done
   3560   done
   3561 IFS=$as_save_IFS
   3562 
   3563 fi ;;
   3564 esac
   3565 fi
   3566 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3567 if test -n "$ac_ct_CC"; then
   3568   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3569 printf "%s\n" "$ac_ct_CC" >&6; }
   3570 else
   3571   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3572 printf "%s\n" "no" >&6; }
   3573 fi
   3574 
   3575   if test "x$ac_ct_CC" = x; then
   3576     CC=""
   3577   else
   3578     case $cross_compiling:$ac_tool_warned in
   3579 yes:)
   3580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3581 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3582 ac_tool_warned=yes ;;
   3583 esac
   3584     CC=$ac_ct_CC
   3585   fi
   3586 else
   3587   CC="$ac_cv_prog_CC"
   3588 fi
   3589 
   3590 fi
   3591 
   3592 
   3593 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3594 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3595 as_fn_error $? "no acceptable C compiler found in \$PATH
   3596 See 'config.log' for more details" "$LINENO" 5; }
   3597 
   3598 # Provide some information about the compiler.
   3599 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3600 set X $ac_compile
   3601 ac_compiler=$2
   3602 for ac_option in --version -v -V -qversion -version; do
   3603   { { ac_try="$ac_compiler $ac_option >&5"
   3604 case "(($ac_try" in
   3605   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3606   *) ac_try_echo=$ac_try;;
   3607 esac
   3608 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3609 printf "%s\n" "$ac_try_echo"; } >&5
   3610   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3611   ac_status=$?
   3612   if test -s conftest.err; then
   3613     sed '10a\
   3614 ... rest of stderr output deleted ...
   3615          10q' conftest.err >conftest.er1
   3616     cat conftest.er1 >&5
   3617   fi
   3618   rm -f conftest.er1 conftest.err
   3619   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3620   test $ac_status = 0; }
   3621 done
   3622 
   3623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3624 /* end confdefs.h.  */
   3625 
   3626 int
   3627 main (void)
   3628 {
   3629 
   3630   ;
   3631   return 0;
   3632 }
   3633 _ACEOF
   3634 ac_clean_files_save=$ac_clean_files
   3635 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3636 # Try to create an executable without -o first, disregard a.out.
   3637 # It will help us diagnose broken compilers, and finding out an intuition
   3638 # of exeext.
   3639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3640 printf %s "checking whether the C compiler works... " >&6; }
   3641 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3642 
   3643 # The possible output files:
   3644 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3645 
   3646 ac_rmfiles=
   3647 for ac_file in $ac_files
   3648 do
   3649   case $ac_file in
   3650     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3651     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3652   esac
   3653 done
   3654 rm -f $ac_rmfiles
   3655 
   3656 if { { ac_try="$ac_link_default"
   3657 case "(($ac_try" in
   3658   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3659   *) ac_try_echo=$ac_try;;
   3660 esac
   3661 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3662 printf "%s\n" "$ac_try_echo"; } >&5
   3663   (eval "$ac_link_default") 2>&5
   3664   ac_status=$?
   3665   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3666   test $ac_status = 0; }
   3667 then :
   3668   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   3669 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   3670 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3671 # so that the user can short-circuit this test for compilers unknown to
   3672 # Autoconf.
   3673 for ac_file in $ac_files ''
   3674 do
   3675   test -f "$ac_file" || continue
   3676   case $ac_file in
   3677     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3678 	;;
   3679     [ab].out )
   3680 	# We found the default executable, but exeext='' is most
   3681 	# certainly right.
   3682 	break;;
   3683     *.* )
   3684 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3685 	then :; else
   3686 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3687 	fi
   3688 	# We set ac_cv_exeext here because the later test for it is not
   3689 	# safe: cross compilers may not add the suffix if given an '-o'
   3690 	# argument, so we may need to know it at that point already.
   3691 	# Even if this section looks crufty: it has the advantage of
   3692 	# actually working.
   3693 	break;;
   3694     * )
   3695 	break;;
   3696   esac
   3697 done
   3698 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3699 
   3700 else case e in #(
   3701   e) ac_file='' ;;
   3702 esac
   3703 fi
   3704 if test -z "$ac_file"
   3705 then :
   3706   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3707 printf "%s\n" "no" >&6; }
   3708 printf "%s\n" "$as_me: failed program was:" >&5
   3709 sed 's/^/| /' conftest.$ac_ext >&5
   3710 
   3711 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3712 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3713 as_fn_error 77 "C compiler cannot create executables
   3714 See 'config.log' for more details" "$LINENO" 5; }
   3715 else case e in #(
   3716   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3717 printf "%s\n" "yes" >&6; } ;;
   3718 esac
   3719 fi
   3720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3721 printf %s "checking for C compiler default output file name... " >&6; }
   3722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3723 printf "%s\n" "$ac_file" >&6; }
   3724 ac_exeext=$ac_cv_exeext
   3725 
   3726 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3727 ac_clean_files=$ac_clean_files_save
   3728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3729 printf %s "checking for suffix of executables... " >&6; }
   3730 if { { ac_try="$ac_link"
   3731 case "(($ac_try" in
   3732   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3733   *) ac_try_echo=$ac_try;;
   3734 esac
   3735 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3736 printf "%s\n" "$ac_try_echo"; } >&5
   3737   (eval "$ac_link") 2>&5
   3738   ac_status=$?
   3739   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3740   test $ac_status = 0; }
   3741 then :
   3742   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   3743 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   3744 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   3745 # 'rm'.
   3746 for ac_file in conftest.exe conftest conftest.*; do
   3747   test -f "$ac_file" || continue
   3748   case $ac_file in
   3749     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3750     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3751 	  break;;
   3752     * ) break;;
   3753   esac
   3754 done
   3755 else case e in #(
   3756   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3757 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3758 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3759 See 'config.log' for more details" "$LINENO" 5; } ;;
   3760 esac
   3761 fi
   3762 rm -f conftest conftest$ac_cv_exeext
   3763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3764 printf "%s\n" "$ac_cv_exeext" >&6; }
   3765 
   3766 rm -f conftest.$ac_ext
   3767 EXEEXT=$ac_cv_exeext
   3768 ac_exeext=$EXEEXT
   3769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3770 /* end confdefs.h.  */
   3771 #include <stdio.h>
   3772 int
   3773 main (void)
   3774 {
   3775 FILE *f = fopen ("conftest.out", "w");
   3776  if (!f)
   3777   return 1;
   3778  return ferror (f) || fclose (f) != 0;
   3779 
   3780   ;
   3781   return 0;
   3782 }
   3783 _ACEOF
   3784 ac_clean_files="$ac_clean_files conftest.out"
   3785 # Check that the compiler produces executables we can run.  If not, either
   3786 # the compiler is broken, or we cross compile.
   3787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3788 printf %s "checking whether we are cross compiling... " >&6; }
   3789 if test "$cross_compiling" != yes; then
   3790   { { ac_try="$ac_link"
   3791 case "(($ac_try" in
   3792   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3793   *) ac_try_echo=$ac_try;;
   3794 esac
   3795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3796 printf "%s\n" "$ac_try_echo"; } >&5
   3797   (eval "$ac_link") 2>&5
   3798   ac_status=$?
   3799   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3800   test $ac_status = 0; }
   3801   if { ac_try='./conftest$ac_cv_exeext'
   3802   { { case "(($ac_try" in
   3803   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3804   *) ac_try_echo=$ac_try;;
   3805 esac
   3806 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3807 printf "%s\n" "$ac_try_echo"; } >&5
   3808   (eval "$ac_try") 2>&5
   3809   ac_status=$?
   3810   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3811   test $ac_status = 0; }; }; then
   3812     cross_compiling=no
   3813   else
   3814     if test "$cross_compiling" = maybe; then
   3815 	cross_compiling=yes
   3816     else
   3817 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3818 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3819 as_fn_error 77 "cannot run C compiled programs.
   3820 If you meant to cross compile, use '--host'.
   3821 See 'config.log' for more details" "$LINENO" 5; }
   3822     fi
   3823   fi
   3824 fi
   3825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3826 printf "%s\n" "$cross_compiling" >&6; }
   3827 
   3828 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   3829   conftest.o conftest.obj conftest.out
   3830 ac_clean_files=$ac_clean_files_save
   3831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3832 printf %s "checking for suffix of object files... " >&6; }
   3833 if test ${ac_cv_objext+y}
   3834 then :
   3835   printf %s "(cached) " >&6
   3836 else case e in #(
   3837   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3838 /* end confdefs.h.  */
   3839 
   3840 int
   3841 main (void)
   3842 {
   3843 
   3844   ;
   3845   return 0;
   3846 }
   3847 _ACEOF
   3848 rm -f conftest.o conftest.obj
   3849 if { { ac_try="$ac_compile"
   3850 case "(($ac_try" in
   3851   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3852   *) ac_try_echo=$ac_try;;
   3853 esac
   3854 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3855 printf "%s\n" "$ac_try_echo"; } >&5
   3856   (eval "$ac_compile") 2>&5
   3857   ac_status=$?
   3858   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3859   test $ac_status = 0; }
   3860 then :
   3861   for ac_file in conftest.o conftest.obj conftest.*; do
   3862   test -f "$ac_file" || continue;
   3863   case $ac_file in
   3864     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3865     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3866        break;;
   3867   esac
   3868 done
   3869 else case e in #(
   3870   e) printf "%s\n" "$as_me: failed program was:" >&5
   3871 sed 's/^/| /' conftest.$ac_ext >&5
   3872 
   3873 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3874 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3875 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3876 See 'config.log' for more details" "$LINENO" 5; } ;;
   3877 esac
   3878 fi
   3879 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   3880 esac
   3881 fi
   3882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3883 printf "%s\n" "$ac_cv_objext" >&6; }
   3884 OBJEXT=$ac_cv_objext
   3885 ac_objext=$OBJEXT
   3886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   3887 printf %s "checking whether the compiler supports GNU C... " >&6; }
   3888 if test ${ac_cv_c_compiler_gnu+y}
   3889 then :
   3890   printf %s "(cached) " >&6
   3891 else case e in #(
   3892   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3893 /* end confdefs.h.  */
   3894 
   3895 int
   3896 main (void)
   3897 {
   3898 #ifndef __GNUC__
   3899        choke me
   3900 #endif
   3901 
   3902   ;
   3903   return 0;
   3904 }
   3905 _ACEOF
   3906 if ac_fn_c_try_compile "$LINENO"
   3907 then :
   3908   ac_compiler_gnu=yes
   3909 else case e in #(
   3910   e) ac_compiler_gnu=no ;;
   3911 esac
   3912 fi
   3913 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3914 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3915  ;;
   3916 esac
   3917 fi
   3918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3919 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   3920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3921 
   3922 if test $ac_compiler_gnu = yes; then
   3923   GCC=yes
   3924 else
   3925   GCC=
   3926 fi
   3927 ac_test_CFLAGS=${CFLAGS+y}
   3928 ac_save_CFLAGS=$CFLAGS
   3929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3930 printf %s "checking whether $CC accepts -g... " >&6; }
   3931 if test ${ac_cv_prog_cc_g+y}
   3932 then :
   3933   printf %s "(cached) " >&6
   3934 else case e in #(
   3935   e) ac_save_c_werror_flag=$ac_c_werror_flag
   3936    ac_c_werror_flag=yes
   3937    ac_cv_prog_cc_g=no
   3938    CFLAGS="-g"
   3939    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3940 /* end confdefs.h.  */
   3941 
   3942 int
   3943 main (void)
   3944 {
   3945 
   3946   ;
   3947   return 0;
   3948 }
   3949 _ACEOF
   3950 if ac_fn_c_try_compile "$LINENO"
   3951 then :
   3952   ac_cv_prog_cc_g=yes
   3953 else case e in #(
   3954   e) CFLAGS=""
   3955       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3956 /* end confdefs.h.  */
   3957 
   3958 int
   3959 main (void)
   3960 {
   3961 
   3962   ;
   3963   return 0;
   3964 }
   3965 _ACEOF
   3966 if ac_fn_c_try_compile "$LINENO"
   3967 then :
   3968 
   3969 else case e in #(
   3970   e) ac_c_werror_flag=$ac_save_c_werror_flag
   3971 	 CFLAGS="-g"
   3972 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3973 /* end confdefs.h.  */
   3974 
   3975 int
   3976 main (void)
   3977 {
   3978 
   3979   ;
   3980   return 0;
   3981 }
   3982 _ACEOF
   3983 if ac_fn_c_try_compile "$LINENO"
   3984 then :
   3985   ac_cv_prog_cc_g=yes
   3986 fi
   3987 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   3988 esac
   3989 fi
   3990 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   3991 esac
   3992 fi
   3993 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3994    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   3995 esac
   3996 fi
   3997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3998 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   3999 if test $ac_test_CFLAGS; then
   4000   CFLAGS=$ac_save_CFLAGS
   4001 elif test $ac_cv_prog_cc_g = yes; then
   4002   if test "$GCC" = yes; then
   4003     CFLAGS="-g -O2"
   4004   else
   4005     CFLAGS="-g"
   4006   fi
   4007 else
   4008   if test "$GCC" = yes; then
   4009     CFLAGS="-O2"
   4010   else
   4011     CFLAGS=
   4012   fi
   4013 fi
   4014 ac_prog_cc_stdc=no
   4015 if test x$ac_prog_cc_stdc = xno
   4016 then :
   4017   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4018 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4019 if test ${ac_cv_prog_cc_c11+y}
   4020 then :
   4021   printf %s "(cached) " >&6
   4022 else case e in #(
   4023   e) ac_cv_prog_cc_c11=no
   4024 ac_save_CC=$CC
   4025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4026 /* end confdefs.h.  */
   4027 $ac_c_conftest_c11_program
   4028 _ACEOF
   4029 for ac_arg in '' -std=gnu11
   4030 do
   4031   CC="$ac_save_CC $ac_arg"
   4032   if ac_fn_c_try_compile "$LINENO"
   4033 then :
   4034   ac_cv_prog_cc_c11=$ac_arg
   4035 fi
   4036 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4037   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4038 done
   4039 rm -f conftest.$ac_ext
   4040 CC=$ac_save_CC ;;
   4041 esac
   4042 fi
   4043 
   4044 if test "x$ac_cv_prog_cc_c11" = xno
   4045 then :
   4046   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4047 printf "%s\n" "unsupported" >&6; }
   4048 else case e in #(
   4049   e) if test "x$ac_cv_prog_cc_c11" = x
   4050 then :
   4051   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4052 printf "%s\n" "none needed" >&6; }
   4053 else case e in #(
   4054   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4055 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4056      CC="$CC $ac_cv_prog_cc_c11" ;;
   4057 esac
   4058 fi
   4059   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4060   ac_prog_cc_stdc=c11 ;;
   4061 esac
   4062 fi
   4063 fi
   4064 if test x$ac_prog_cc_stdc = xno
   4065 then :
   4066   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4067 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4068 if test ${ac_cv_prog_cc_c99+y}
   4069 then :
   4070   printf %s "(cached) " >&6
   4071 else case e in #(
   4072   e) ac_cv_prog_cc_c99=no
   4073 ac_save_CC=$CC
   4074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4075 /* end confdefs.h.  */
   4076 $ac_c_conftest_c99_program
   4077 _ACEOF
   4078 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4079 do
   4080   CC="$ac_save_CC $ac_arg"
   4081   if ac_fn_c_try_compile "$LINENO"
   4082 then :
   4083   ac_cv_prog_cc_c99=$ac_arg
   4084 fi
   4085 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4086   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4087 done
   4088 rm -f conftest.$ac_ext
   4089 CC=$ac_save_CC ;;
   4090 esac
   4091 fi
   4092 
   4093 if test "x$ac_cv_prog_cc_c99" = xno
   4094 then :
   4095   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4096 printf "%s\n" "unsupported" >&6; }
   4097 else case e in #(
   4098   e) if test "x$ac_cv_prog_cc_c99" = x
   4099 then :
   4100   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4101 printf "%s\n" "none needed" >&6; }
   4102 else case e in #(
   4103   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4104 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4105      CC="$CC $ac_cv_prog_cc_c99" ;;
   4106 esac
   4107 fi
   4108   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4109   ac_prog_cc_stdc=c99 ;;
   4110 esac
   4111 fi
   4112 fi
   4113 if test x$ac_prog_cc_stdc = xno
   4114 then :
   4115   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4116 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4117 if test ${ac_cv_prog_cc_c89+y}
   4118 then :
   4119   printf %s "(cached) " >&6
   4120 else case e in #(
   4121   e) ac_cv_prog_cc_c89=no
   4122 ac_save_CC=$CC
   4123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4124 /* end confdefs.h.  */
   4125 $ac_c_conftest_c89_program
   4126 _ACEOF
   4127 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4128 do
   4129   CC="$ac_save_CC $ac_arg"
   4130   if ac_fn_c_try_compile "$LINENO"
   4131 then :
   4132   ac_cv_prog_cc_c89=$ac_arg
   4133 fi
   4134 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4135   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4136 done
   4137 rm -f conftest.$ac_ext
   4138 CC=$ac_save_CC ;;
   4139 esac
   4140 fi
   4141 
   4142 if test "x$ac_cv_prog_cc_c89" = xno
   4143 then :
   4144   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4145 printf "%s\n" "unsupported" >&6; }
   4146 else case e in #(
   4147   e) if test "x$ac_cv_prog_cc_c89" = x
   4148 then :
   4149   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4150 printf "%s\n" "none needed" >&6; }
   4151 else case e in #(
   4152   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4153 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4154      CC="$CC $ac_cv_prog_cc_c89" ;;
   4155 esac
   4156 fi
   4157   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4158   ac_prog_cc_stdc=c89 ;;
   4159 esac
   4160 fi
   4161 fi
   4162 
   4163 ac_ext=c
   4164 ac_cpp='$CPP $CPPFLAGS'
   4165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4168 
   4169 
   4170   ac_ext=c
   4171 ac_cpp='$CPP $CPPFLAGS'
   4172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4176 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4177 if test ${am_cv_prog_cc_c_o+y}
   4178 then :
   4179   printf %s "(cached) " >&6
   4180 else case e in #(
   4181   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4182 /* end confdefs.h.  */
   4183 
   4184 int
   4185 main (void)
   4186 {
   4187 
   4188   ;
   4189   return 0;
   4190 }
   4191 _ACEOF
   4192   # Make sure it works both with $CC and with simple cc.
   4193   # Following AC_PROG_CC_C_O, we do the test twice because some
   4194   # compilers refuse to overwrite an existing .o file with -o,
   4195   # though they will create one.
   4196   am_cv_prog_cc_c_o=yes
   4197   for am_i in 1 2; do
   4198     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4199    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4200    ac_status=$?
   4201    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4202    (exit $ac_status); } \
   4203          && test -f conftest2.$ac_objext; then
   4204       : OK
   4205     else
   4206       am_cv_prog_cc_c_o=no
   4207       break
   4208     fi
   4209   done
   4210   # aligned with autoconf, so not including core; see bug#72225.
   4211   rm -f -r a.out a.exe b.out conftest.$ac_ext conftest.$ac_objext \
   4212     conftest.dSYM conftest1.$ac_ext conftest1.$ac_objext conftest1.dSYM \
   4213     conftest2.$ac_ext conftest2.$ac_objext conftest2.dSYM
   4214   unset am_i ;;
   4215 esac
   4216 fi
   4217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4218 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4219 if test "$am_cv_prog_cc_c_o" != yes; then
   4220    # Losing compiler, so override with the script.
   4221    # FIXME: It is wrong to rewrite CC.
   4222    # But if we don't then we get into trouble of one sort or another.
   4223    # A longer-term fix would be to have automake use am__CC in this case,
   4224    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4225    CC="$am_aux_dir/compile $CC"
   4226 fi
   4227 ac_ext=c
   4228 ac_cpp='$CPP $CPPFLAGS'
   4229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4232 
   4233 
   4234 
   4235 ac_header= ac_cache=
   4236 for ac_item in $ac_header_c_list
   4237 do
   4238   if test $ac_cache; then
   4239     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4240     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4241       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4242     fi
   4243     ac_header= ac_cache=
   4244   elif test $ac_header; then
   4245     ac_cache=$ac_item
   4246   else
   4247     ac_header=$ac_item
   4248   fi
   4249 done
   4250 
   4251 
   4252 
   4253 
   4254 
   4255 
   4256 
   4257 
   4258 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4259 then :
   4260 
   4261 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4262 
   4263 fi
   4264 
   4265 
   4266 
   4267 
   4268 
   4269 
   4270   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   4271 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   4272 if test ${ac_cv_safe_to_define___extensions__+y}
   4273 then :
   4274   printf %s "(cached) " >&6
   4275 else case e in #(
   4276   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4277 /* end confdefs.h.  */
   4278 
   4279 #         define __EXTENSIONS__ 1
   4280           $ac_includes_default
   4281 int
   4282 main (void)
   4283 {
   4284 
   4285   ;
   4286   return 0;
   4287 }
   4288 _ACEOF
   4289 if ac_fn_c_try_compile "$LINENO"
   4290 then :
   4291   ac_cv_safe_to_define___extensions__=yes
   4292 else case e in #(
   4293   e) ac_cv_safe_to_define___extensions__=no ;;
   4294 esac
   4295 fi
   4296 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4297 esac
   4298 fi
   4299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   4300 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
   4301 
   4302   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
   4303 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
   4304 if test ${ac_cv_should_define__xopen_source+y}
   4305 then :
   4306   printf %s "(cached) " >&6
   4307 else case e in #(
   4308   e) ac_cv_should_define__xopen_source=no
   4309     if test $ac_cv_header_wchar_h = yes
   4310 then :
   4311   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4312 /* end confdefs.h.  */
   4313 
   4314           #include <wchar.h>
   4315           mbstate_t x;
   4316 int
   4317 main (void)
   4318 {
   4319 
   4320   ;
   4321   return 0;
   4322 }
   4323 _ACEOF
   4324 if ac_fn_c_try_compile "$LINENO"
   4325 then :
   4326 
   4327 else case e in #(
   4328   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4329 /* end confdefs.h.  */
   4330 
   4331             #define _XOPEN_SOURCE 500
   4332             #include <wchar.h>
   4333             mbstate_t x;
   4334 int
   4335 main (void)
   4336 {
   4337 
   4338   ;
   4339   return 0;
   4340 }
   4341 _ACEOF
   4342 if ac_fn_c_try_compile "$LINENO"
   4343 then :
   4344   ac_cv_should_define__xopen_source=yes
   4345 fi
   4346 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4347 esac
   4348 fi
   4349 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4350 fi ;;
   4351 esac
   4352 fi
   4353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
   4354 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
   4355 
   4356   printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
   4357 
   4358   printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
   4359 
   4360   printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
   4361 
   4362   printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
   4363 
   4364   printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
   4365 
   4366   printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
   4367 
   4368   printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   4369 
   4370   printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
   4371 
   4372   printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
   4373 
   4374   printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
   4375 
   4376   printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h
   4377 
   4378   printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
   4379 
   4380   printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
   4381 
   4382   printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
   4383 
   4384   printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
   4385 
   4386   printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
   4387 
   4388   if test $ac_cv_header_minix_config_h = yes
   4389 then :
   4390   MINIX=yes
   4391     printf "%s\n" "#define _MINIX 1" >>confdefs.h
   4392 
   4393     printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
   4394 
   4395     printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
   4396 
   4397 else case e in #(
   4398   e) MINIX= ;;
   4399 esac
   4400 fi
   4401   if test $ac_cv_safe_to_define___extensions__ = yes
   4402 then :
   4403   printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
   4404 
   4405 fi
   4406   if test $ac_cv_should_define__xopen_source = yes
   4407 then :
   4408   printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
   4409 
   4410 fi
   4411 
   4412 
   4413 # Initialize Automake
   4414 am__api_version='1.18'
   4415 
   4416 
   4417   # Find a good install program.  We prefer a C program (faster),
   4418 # so one script is as good as another.  But avoid the broken or
   4419 # incompatible versions:
   4420 # SysV /etc/install, /usr/sbin/install
   4421 # SunOS /usr/etc/install
   4422 # IRIX /sbin/install
   4423 # AIX /bin/install
   4424 # AmigaOS /C/install, which installs bootblocks on floppy discs
   4425 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   4426 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   4427 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   4428 # OS/2's system install, which has a completely different semantic
   4429 # ./install, which can be erroneously created by make from ./install.sh.
   4430 # Reject install programs that cannot install multiple files.
   4431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   4432 printf %s "checking for a BSD-compatible install... " >&6; }
   4433 if test -z "$INSTALL"; then
   4434 if test ${ac_cv_path_install+y}
   4435 then :
   4436   printf %s "(cached) " >&6
   4437 else case e in #(
   4438   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4439 for as_dir in $PATH
   4440 do
   4441   IFS=$as_save_IFS
   4442   case $as_dir in #(((
   4443     '') as_dir=./ ;;
   4444     */) ;;
   4445     *) as_dir=$as_dir/ ;;
   4446   esac
   4447     # Account for fact that we put trailing slashes in our PATH walk.
   4448 case $as_dir in #((
   4449   ./ | /[cC]/* | \
   4450   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   4451   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   4452   /usr/ucb/* ) ;;
   4453   *)
   4454     # OSF1 and SCO ODT 3.0 have their own names for install.
   4455     # Don't use installbsd from OSF since it installs stuff as root
   4456     # by default.
   4457     for ac_prog in ginstall scoinst install; do
   4458       for ac_exec_ext in '' $ac_executable_extensions; do
   4459 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   4460 	  if test $ac_prog = install &&
   4461 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4462 	    # AIX install.  It has an incompatible calling convention.
   4463 	    :
   4464 	  elif test $ac_prog = install &&
   4465 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4466 	    # program-specific install script used by HP pwplus--don't use.
   4467 	    :
   4468 	  else
   4469 	    rm -rf conftest.one conftest.two conftest.dir
   4470 	    echo one > conftest.one
   4471 	    echo two > conftest.two
   4472 	    mkdir conftest.dir
   4473 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   4474 	      test -s conftest.one && test -s conftest.two &&
   4475 	      test -s conftest.dir/conftest.one &&
   4476 	      test -s conftest.dir/conftest.two
   4477 	    then
   4478 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   4479 	      break 3
   4480 	    fi
   4481 	  fi
   4482 	fi
   4483       done
   4484     done
   4485     ;;
   4486 esac
   4487 
   4488   done
   4489 IFS=$as_save_IFS
   4490 
   4491 rm -rf conftest.one conftest.two conftest.dir
   4492  ;;
   4493 esac
   4494 fi
   4495   if test ${ac_cv_path_install+y}; then
   4496     INSTALL=$ac_cv_path_install
   4497   else
   4498     # As a last resort, use the slow shell script.  Don't cache a
   4499     # value for INSTALL within a source directory, because that will
   4500     # break other packages using the cache if that directory is
   4501     # removed, or if the value is a relative name.
   4502     INSTALL=$ac_install_sh
   4503   fi
   4504 fi
   4505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   4506 printf "%s\n" "$INSTALL" >&6; }
   4507 
   4508 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   4509 # It thinks the first close brace ends the variable substitution.
   4510 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   4511 
   4512 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   4513 
   4514 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   4515 
   4516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
   4517 printf %s "checking whether sleep supports fractional seconds... " >&6; }
   4518 if test ${am_cv_sleep_fractional_seconds+y}
   4519 then :
   4520   printf %s "(cached) " >&6
   4521 else case e in #(
   4522   e) if sleep 0.001 2>/dev/null
   4523 then :
   4524   am_cv_sleep_fractional_seconds=yes
   4525 else case e in #(
   4526   e) am_cv_sleep_fractional_seconds=no ;;
   4527 esac
   4528 fi
   4529  ;;
   4530 esac
   4531 fi
   4532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
   4533 printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
   4534 
   4535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
   4536 printf %s "checking filesystem timestamp resolution... " >&6; }
   4537 if test ${am_cv_filesystem_timestamp_resolution+y}
   4538 then :
   4539   printf %s "(cached) " >&6
   4540 else case e in #(
   4541   e) # Default to the worst case.
   4542 am_cv_filesystem_timestamp_resolution=2
   4543 
   4544 # Only try to go finer than 1 sec if sleep can do it.
   4545 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
   4546 # - 1 sec is not much of a win compared to 2 sec, and
   4547 # - it takes 2 seconds to perform the test whether 1 sec works.
   4548 #
   4549 # Instead, just use the default 2s on platforms that have 1s resolution,
   4550 # accept the extra 1s delay when using $sleep in the Automake tests, in
   4551 # exchange for not incurring the 2s delay for running the test for all
   4552 # packages.
   4553 #
   4554 am_try_resolutions=
   4555 if test "$am_cv_sleep_fractional_seconds" = yes; then
   4556   # Even a millisecond often causes a bunch of false positives,
   4557   # so just try a hundredth of a second. The time saved between .001 and
   4558   # .01 is not terribly consequential.
   4559   am_try_resolutions="0.01 0.1 $am_try_resolutions"
   4560 fi
   4561 
   4562 # In order to catch current-generation FAT out, we must *modify* files
   4563 # that already exist; the *creation* timestamp is finer.  Use names
   4564 # that make ls -t sort them differently when they have equal
   4565 # timestamps than when they have distinct timestamps, keeping
   4566 # in mind that ls -t prints the *newest* file first.
   4567 rm -f conftest.ts?
   4568 : > conftest.ts1
   4569 : > conftest.ts2
   4570 : > conftest.ts3
   4571 
   4572 # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
   4573 # clobber the current shell's arguments. (Outer-level square brackets
   4574 # are removed by m4; they're present so that m4 does not expand
   4575 # <dollar><star>; be careful, easy to get confused.)
   4576 if (
   4577      set X `ls -t conftest.ts[12]` &&
   4578      {
   4579        test "$*" != "X conftest.ts1 conftest.ts2" ||
   4580        test "$*" != "X conftest.ts2 conftest.ts1";
   4581      }
   4582 ); then :; else
   4583   # If neither matched, then we have a broken ls.  This can happen
   4584   # if, for instance, CONFIG_SHELL is bash and it inherits a
   4585   # broken ls alias from the environment.  This has actually
   4586   # happened.  Such a system could not be considered "sane".
   4587   printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
   4588   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4589 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4590 as_fn_error $? "ls -t produces unexpected output.
   4591 Make sure there is not a broken ls alias in your environment.
   4592 See 'config.log' for more details" "$LINENO" 5; }
   4593 fi
   4594 
   4595 for am_try_res in $am_try_resolutions; do
   4596   # Any one fine-grained sleep might happen to cross the boundary
   4597   # between two values of a coarser actual resolution, but if we do
   4598   # two fine-grained sleeps in a row, at least one of them will fall
   4599   # entirely within a coarse interval.
   4600   echo alpha > conftest.ts1
   4601   sleep $am_try_res
   4602   echo beta > conftest.ts2
   4603   sleep $am_try_res
   4604   echo gamma > conftest.ts3
   4605 
   4606   # We assume that 'ls -t' will make use of high-resolution
   4607   # timestamps if the operating system supports them at all.
   4608   if (set X `ls -t conftest.ts?` &&
   4609       test "$2" = conftest.ts3 &&
   4610       test "$3" = conftest.ts2 &&
   4611       test "$4" = conftest.ts1); then
   4612     #
   4613     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
   4614     # because we don't need to test make.
   4615     make_ok=true
   4616     if test $am_try_res != 1; then
   4617       # But if we've succeeded so far with a subsecond resolution, we
   4618       # have one more thing to check: make. It can happen that
   4619       # everything else supports the subsecond mtimes, but make doesn't;
   4620       # notably on macOS, which ships make 3.81 from 2006 (the last one
   4621       # released under GPLv2). https://bugs.gnu.org/68808
   4622       #
   4623       # We test $MAKE if it is defined in the environment, else "make".
   4624       # It might get overridden later, but our hope is that in practice
   4625       # it does not matter: it is the system "make" which is (by far)
   4626       # the most likely to be broken, whereas if the user overrides it,
   4627       # probably they did so with a better, or at least not worse, make.
   4628       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
   4629       #
   4630       # Create a Makefile (real tab character here):
   4631       rm -f conftest.mk
   4632       echo 'conftest.ts1: conftest.ts2' >conftest.mk
   4633       echo '	touch conftest.ts2' >>conftest.mk
   4634       #
   4635       # Now, running
   4636       #   touch conftest.ts1; touch conftest.ts2; make
   4637       # should touch ts1 because ts2 is newer. This could happen by luck,
   4638       # but most often, it will fail if make's support is insufficient. So
   4639       # test for several consecutive successes.
   4640       #
   4641       # (We reuse conftest.ts[12] because we still want to modify existing
   4642       # files, not create new ones, per above.)
   4643       n=0
   4644       make=${MAKE-make}
   4645       until test $n -eq 3; do
   4646         echo one > conftest.ts1
   4647         sleep $am_try_res
   4648         echo two > conftest.ts2 # ts2 should now be newer than ts1
   4649         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
   4650           make_ok=false
   4651           break # out of $n loop
   4652         fi
   4653         n=`expr $n + 1`
   4654       done
   4655     fi
   4656     #
   4657     if $make_ok; then
   4658       # Everything we know to check worked out, so call this resolution good.
   4659       am_cv_filesystem_timestamp_resolution=$am_try_res
   4660       break # out of $am_try_res loop
   4661     fi
   4662     # Otherwise, we'll go on to check the next resolution.
   4663   fi
   4664 done
   4665 rm -f conftest.ts?
   4666 # (end _am_filesystem_timestamp_resolution)
   4667  ;;
   4668 esac
   4669 fi
   4670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
   4671 printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
   4672 
   4673 # This check should not be cached, as it may vary across builds of
   4674 # different projects.
   4675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   4676 printf %s "checking whether build environment is sane... " >&6; }
   4677 # Reject unsafe characters in $srcdir or the absolute working directory
   4678 # name.  Accept space and tab only in the latter.
   4679 am_lf='
   4680 '
   4681 case `pwd` in
   4682   *[\\\"\#\$\&\'\`$am_lf]*)
   4683     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4684 printf "%s\n" "no" >&6; }
   4685     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   4686 esac
   4687 case $srcdir in
   4688   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   4689     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4690 printf "%s\n" "no" >&6; }
   4691     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   4692 esac
   4693 
   4694 # Do 'set' in a subshell so we don't clobber the current shell's
   4695 # arguments.  Must try -L first in case configure is actually a
   4696 # symlink; some systems play weird games with the mod time of symlinks
   4697 # (eg FreeBSD returns the mod time of the symlink's containing
   4698 # directory).
   4699 am_build_env_is_sane=no
   4700 am_has_slept=no
   4701 rm -f conftest.file
   4702 for am_try in 1 2; do
   4703   echo "timestamp, slept: $am_has_slept" > conftest.file
   4704   if (
   4705     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   4706     if test "$*" = "X"; then
   4707       # -L didn't work.
   4708       set X `ls -t "$srcdir/configure" conftest.file`
   4709     fi
   4710     test "$2" = conftest.file
   4711   ); then
   4712     am_build_env_is_sane=yes
   4713     break
   4714   fi
   4715   # Just in case.
   4716   sleep "$am_cv_filesystem_timestamp_resolution"
   4717   am_has_slept=yes
   4718 done
   4719 
   4720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
   4721 printf "%s\n" "$am_build_env_is_sane" >&6; }
   4722 if test "$am_build_env_is_sane" = no; then
   4723   as_fn_error $? "newly created file is older than distributed files!
   4724 Check your system clock" "$LINENO" 5
   4725 fi
   4726 
   4727 # If we didn't sleep, we still need to ensure time stamps of config.status and
   4728 # generated files are strictly newer.
   4729 am_sleep_pid=
   4730 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
   4731 then :
   4732 
   4733 else case e in #(
   4734   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
   4735   am_sleep_pid=$!
   4736  ;;
   4737 esac
   4738 fi
   4739 
   4740 rm -f conftest.file
   4741 
   4742 test "$program_prefix" != NONE &&
   4743   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   4744 # Use a double $ so make ignores it.
   4745 test "$program_suffix" != NONE &&
   4746   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   4747 # Double any \ or $.
   4748 # By default was 's,x,x', remove it if useless.
   4749 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   4750 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   4751 
   4752 
   4753   if test x"${MISSING+set}" != xset; then
   4754   MISSING="\${SHELL} '$am_aux_dir/missing'"
   4755 fi
   4756 # Use eval to expand $SHELL
   4757 if eval "$MISSING --is-lightweight"; then
   4758   am_missing_run="$MISSING "
   4759 else
   4760   am_missing_run=
   4761   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   4762 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   4763 fi
   4764 
   4765 if test x"${install_sh+set}" != xset; then
   4766   case $am_aux_dir in
   4767   *\ * | *\	*)
   4768     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   4769   *)
   4770     install_sh="\${SHELL} $am_aux_dir/install-sh"
   4771   esac
   4772 fi
   4773 
   4774 # Installed binaries are usually stripped using 'strip' when the user
   4775 # run "make install-strip".  However 'strip' might not be the right
   4776 # tool to use in cross-compilation environments, therefore Automake
   4777 # will honor the 'STRIP' environment variable to overrule this program.
   4778 if test "$cross_compiling" != no; then
   4779   if test -n "$ac_tool_prefix"; then
   4780   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   4781 set dummy ${ac_tool_prefix}strip; ac_word=$2
   4782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4783 printf %s "checking for $ac_word... " >&6; }
   4784 if test ${ac_cv_prog_STRIP+y}
   4785 then :
   4786   printf %s "(cached) " >&6
   4787 else case e in #(
   4788   e) if test -n "$STRIP"; then
   4789   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   4790 else
   4791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4792 for as_dir in $PATH
   4793 do
   4794   IFS=$as_save_IFS
   4795   case $as_dir in #(((
   4796     '') as_dir=./ ;;
   4797     */) ;;
   4798     *) as_dir=$as_dir/ ;;
   4799   esac
   4800     for ac_exec_ext in '' $ac_executable_extensions; do
   4801   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4802     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   4803     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4804     break 2
   4805   fi
   4806 done
   4807   done
   4808 IFS=$as_save_IFS
   4809 
   4810 fi ;;
   4811 esac
   4812 fi
   4813 STRIP=$ac_cv_prog_STRIP
   4814 if test -n "$STRIP"; then
   4815   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   4816 printf "%s\n" "$STRIP" >&6; }
   4817 else
   4818   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4819 printf "%s\n" "no" >&6; }
   4820 fi
   4821 
   4822 
   4823 fi
   4824 if test -z "$ac_cv_prog_STRIP"; then
   4825   ac_ct_STRIP=$STRIP
   4826   # Extract the first word of "strip", so it can be a program name with args.
   4827 set dummy strip; ac_word=$2
   4828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4829 printf %s "checking for $ac_word... " >&6; }
   4830 if test ${ac_cv_prog_ac_ct_STRIP+y}
   4831 then :
   4832   printf %s "(cached) " >&6
   4833 else case e in #(
   4834   e) if test -n "$ac_ct_STRIP"; then
   4835   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   4836 else
   4837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4838 for as_dir in $PATH
   4839 do
   4840   IFS=$as_save_IFS
   4841   case $as_dir in #(((
   4842     '') as_dir=./ ;;
   4843     */) ;;
   4844     *) as_dir=$as_dir/ ;;
   4845   esac
   4846     for ac_exec_ext in '' $ac_executable_extensions; do
   4847   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4848     ac_cv_prog_ac_ct_STRIP="strip"
   4849     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4850     break 2
   4851   fi
   4852 done
   4853   done
   4854 IFS=$as_save_IFS
   4855 
   4856 fi ;;
   4857 esac
   4858 fi
   4859 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   4860 if test -n "$ac_ct_STRIP"; then
   4861   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   4862 printf "%s\n" "$ac_ct_STRIP" >&6; }
   4863 else
   4864   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4865 printf "%s\n" "no" >&6; }
   4866 fi
   4867 
   4868   if test "x$ac_ct_STRIP" = x; then
   4869     STRIP=":"
   4870   else
   4871     case $cross_compiling:$ac_tool_warned in
   4872 yes:)
   4873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4874 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4875 ac_tool_warned=yes ;;
   4876 esac
   4877     STRIP=$ac_ct_STRIP
   4878   fi
   4879 else
   4880   STRIP="$ac_cv_prog_STRIP"
   4881 fi
   4882 
   4883 fi
   4884 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   4885 
   4886 
   4887   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   4888 printf %s "checking for a race-free mkdir -p... " >&6; }
   4889 if test -z "$MKDIR_P"; then
   4890   if test ${ac_cv_path_mkdir+y}
   4891 then :
   4892   printf %s "(cached) " >&6
   4893 else case e in #(
   4894   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4895 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   4896 do
   4897   IFS=$as_save_IFS
   4898   case $as_dir in #(((
   4899     '') as_dir=./ ;;
   4900     */) ;;
   4901     *) as_dir=$as_dir/ ;;
   4902   esac
   4903     for ac_prog in mkdir gmkdir; do
   4904 	 for ac_exec_ext in '' $ac_executable_extensions; do
   4905 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   4906 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   4907 	     'mkdir ('*'coreutils) '* | \
   4908 	     *'BusyBox '* | \
   4909 	     'mkdir (fileutils) '4.1*)
   4910 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   4911 	       break 3;;
   4912 	   esac
   4913 	 done
   4914        done
   4915   done
   4916 IFS=$as_save_IFS
   4917  ;;
   4918 esac
   4919 fi
   4920 
   4921   test -d ./--version && rmdir ./--version
   4922   if test ${ac_cv_path_mkdir+y}; then
   4923     MKDIR_P="$ac_cv_path_mkdir -p"
   4924   else
   4925     # As a last resort, use plain mkdir -p,
   4926     # in the hope it doesn't have the bugs of ancient mkdir.
   4927     MKDIR_P='mkdir -p'
   4928   fi
   4929 fi
   4930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   4931 printf "%s\n" "$MKDIR_P" >&6; }
   4932 
   4933 for ac_prog in gawk mawk nawk awk
   4934 do
   4935   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4936 set dummy $ac_prog; ac_word=$2
   4937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4938 printf %s "checking for $ac_word... " >&6; }
   4939 if test ${ac_cv_prog_AWK+y}
   4940 then :
   4941   printf %s "(cached) " >&6
   4942 else case e in #(
   4943   e) if test -n "$AWK"; then
   4944   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   4945 else
   4946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4947 for as_dir in $PATH
   4948 do
   4949   IFS=$as_save_IFS
   4950   case $as_dir in #(((
   4951     '') as_dir=./ ;;
   4952     */) ;;
   4953     *) as_dir=$as_dir/ ;;
   4954   esac
   4955     for ac_exec_ext in '' $ac_executable_extensions; do
   4956   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4957     ac_cv_prog_AWK="$ac_prog"
   4958     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4959     break 2
   4960   fi
   4961 done
   4962   done
   4963 IFS=$as_save_IFS
   4964 
   4965 fi ;;
   4966 esac
   4967 fi
   4968 AWK=$ac_cv_prog_AWK
   4969 if test -n "$AWK"; then
   4970   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   4971 printf "%s\n" "$AWK" >&6; }
   4972 else
   4973   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4974 printf "%s\n" "no" >&6; }
   4975 fi
   4976 
   4977 
   4978   test -n "$AWK" && break
   4979 done
   4980 
   4981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4982 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4983 set x ${MAKE-make}
   4984 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4985 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   4986 then :
   4987   printf %s "(cached) " >&6
   4988 else case e in #(
   4989   e) cat >conftest.make <<\_ACEOF
   4990 SHELL = /bin/sh
   4991 all:
   4992 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4993 _ACEOF
   4994 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4995 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4996   *@@@%%%=?*=@@@%%%*)
   4997     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4998   *)
   4999     eval ac_cv_prog_make_${ac_make}_set=no;;
   5000 esac
   5001 rm -f conftest.make ;;
   5002 esac
   5003 fi
   5004 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   5005   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5006 printf "%s\n" "yes" >&6; }
   5007   SET_MAKE=
   5008 else
   5009   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5010 printf "%s\n" "no" >&6; }
   5011   SET_MAKE="MAKE=${MAKE-make}"
   5012 fi
   5013 
   5014 rm -rf .tst 2>/dev/null
   5015 mkdir .tst 2>/dev/null
   5016 if test -d .tst; then
   5017   am__leading_dot=.
   5018 else
   5019   am__leading_dot=_
   5020 fi
   5021 rmdir .tst 2>/dev/null
   5022 
   5023 DEPDIR="${am__leading_dot}deps"
   5024 
   5025 ac_config_commands="$ac_config_commands depfiles"
   5026 
   5027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   5028 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   5029 cat > confinc.mk << 'END'
   5030 am__doit:
   5031 	@echo this is the am__doit target >confinc.out
   5032 .PHONY: am__doit
   5033 END
   5034 am__include="#"
   5035 am__quote=
   5036 # BSD make does it like this.
   5037 echo '.include "confinc.mk" # ignored' > confmf.BSD
   5038 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   5039 echo 'include confinc.mk # ignored' > confmf.GNU
   5040 _am_result=no
   5041 for s in GNU BSD; do
   5042   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   5043    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   5044    ac_status=$?
   5045    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5046    (exit $ac_status); }
   5047   case $?:`cat confinc.out 2>/dev/null` in #(
   5048   '0:this is the am__doit target') :
   5049     case $s in #(
   5050   BSD) :
   5051     am__include='.include' am__quote='"' ;; #(
   5052   *) :
   5053     am__include='include' am__quote='' ;;
   5054 esac ;; #(
   5055   *) :
   5056      ;;
   5057 esac
   5058   if test "$am__include" != "#"; then
   5059     _am_result="yes ($s style)"
   5060     break
   5061   fi
   5062 done
   5063 rm -f confinc.* confmf.*
   5064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   5065 printf "%s\n" "${_am_result}" >&6; }
   5066 
   5067 # Check whether --enable-dependency-tracking was given.
   5068 if test ${enable_dependency_tracking+y}
   5069 then :
   5070   enableval=$enable_dependency_tracking;
   5071 fi
   5072 
   5073 if test "x$enable_dependency_tracking" != xno; then
   5074   am_depcomp="$ac_aux_dir/depcomp"
   5075   AMDEPBACKSLASH='\'
   5076   am__nodep='_no'
   5077 fi
   5078  if test "x$enable_dependency_tracking" != xno; then
   5079   AMDEP_TRUE=
   5080   AMDEP_FALSE='#'
   5081 else
   5082   AMDEP_TRUE='#'
   5083   AMDEP_FALSE=
   5084 fi
   5085 
   5086 
   5087 AM_DEFAULT_VERBOSITY=1
   5088 # Check whether --enable-silent-rules was given.
   5089 if test ${enable_silent_rules+y}
   5090 then :
   5091   enableval=$enable_silent_rules;
   5092 fi
   5093 
   5094 am_make=${MAKE-make}
   5095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   5096 printf %s "checking whether $am_make supports nested variables... " >&6; }
   5097 if test ${am_cv_make_support_nested_variables+y}
   5098 then :
   5099   printf %s "(cached) " >&6
   5100 else case e in #(
   5101   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   5102 BAR0=false
   5103 BAR1=true
   5104 V=1
   5105 am__doit:
   5106 	@$(TRUE)
   5107 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   5108   am_cv_make_support_nested_variables=yes
   5109 else
   5110   am_cv_make_support_nested_variables=no
   5111 fi ;;
   5112 esac
   5113 fi
   5114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   5115 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   5116 AM_BACKSLASH='\'
   5117 
   5118 am__rm_f_notfound=
   5119 if (rm -f && rm -fr && rm -rf) 2>/dev/null
   5120 then :
   5121 
   5122 else case e in #(
   5123   e) am__rm_f_notfound='""' ;;
   5124 esac
   5125 fi
   5126 
   5127 
   5128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
   5129 printf %s "checking xargs -n works... " >&6; }
   5130 if test ${am_cv_xargs_n_works+y}
   5131 then :
   5132   printf %s "(cached) " >&6
   5133 else case e in #(
   5134   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
   5135 3"
   5136 then :
   5137   am_cv_xargs_n_works=yes
   5138 else case e in #(
   5139   e) am_cv_xargs_n_works=no ;;
   5140 esac
   5141 fi ;;
   5142 esac
   5143 fi
   5144 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
   5145 printf "%s\n" "$am_cv_xargs_n_works" >&6; }
   5146 if test "$am_cv_xargs_n_works" = yes
   5147 then :
   5148   am__xargs_n='xargs -n'
   5149 else case e in #(
   5150   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
   5151  ;;
   5152 esac
   5153 fi
   5154 
   5155 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   5156   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   5157   # is not polluted with repeated "-I."
   5158   am__isrc=' -I$(srcdir)'
   5159   # test to see if srcdir already configured
   5160   if test -f $srcdir/config.status; then
   5161     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   5162   fi
   5163 fi
   5164 
   5165 # test whether we have cygpath
   5166 if test -z "$CYGPATH_W"; then
   5167   if (cygpath --version) >/dev/null 2>/dev/null; then
   5168     CYGPATH_W='cygpath -w'
   5169   else
   5170     CYGPATH_W=echo
   5171   fi
   5172 fi
   5173 
   5174 
   5175 # Define the identity of the package.
   5176  PACKAGE='libX11'
   5177  VERSION='1.8.13'
   5178 
   5179 
   5180 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   5181 
   5182 
   5183 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   5184 
   5185 # Some tools Automake needs.
   5186 
   5187 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   5188 
   5189 
   5190 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   5191 
   5192 
   5193 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   5194 
   5195 
   5196 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   5197 
   5198 
   5199 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   5200 
   5201 # For better backward compatibility.  To be removed once Automake 1.9.x
   5202 # dies out for good.  For more background, see:
   5203 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   5204 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   5205 mkdir_p='$(MKDIR_P)'
   5206 
   5207 # We need awk for the "check" target (and possibly the TAP driver).  The
   5208 # system "awk" is bad on some platforms.
   5209 # Always define AMTAR for backward compatibility.  Yes, it's still used
   5210 # in the wild :-(  We should find a proper way to deprecate it ...
   5211 AMTAR='$${TAR-tar}'
   5212 
   5213 
   5214 # We'll loop over all known methods to create a tar archive until one works.
   5215 _am_tools='gnutar plaintar pax cpio none'
   5216 
   5217 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
   5218       # There is notably a 21 bits limit for the UID and the GID.  In fact,
   5219       # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
   5220       # and bug#13588).
   5221       am_max_uid=2097151 # 2^21 - 1
   5222       am_max_gid=$am_max_uid
   5223       # The $UID and $GID variables are not portable, so we need to resort
   5224       # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
   5225       # below are definitely unexpected, so allow the users to see them
   5226       # (that is, avoid stderr redirection).
   5227       am_uid=`id -u || echo unknown`
   5228       am_gid=`id -g || echo unknown`
   5229       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
   5230 printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
   5231       if test x$am_uid = xunknown; then
   5232         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&5
   5233 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current UID is ok, but dist-ustar might not work" >&2;}
   5234       elif test $am_uid -le $am_max_uid; then
   5235         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5236 printf "%s\n" "yes" >&6; }
   5237       else
   5238         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5239 printf "%s\n" "no" >&6; }
   5240         _am_tools=none
   5241       fi
   5242       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
   5243 printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
   5244       if test x$gm_gid = xunknown; then
   5245         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&5
   5246 printf "%s\n" "$as_me: WARNING: ancient id detected; assuming current GID is ok, but dist-ustar might not work" >&2;}
   5247       elif test $am_gid -le $am_max_gid; then
   5248         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5249 printf "%s\n" "yes" >&6; }
   5250       else
   5251         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5252 printf "%s\n" "no" >&6; }
   5253         _am_tools=none
   5254       fi
   5255 
   5256   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
   5257 printf %s "checking how to create a ustar tar archive... " >&6; }
   5258 
   5259   # Go ahead even if we have the value already cached.  We do so because we
   5260   # need to set the values for the 'am__tar' and 'am__untar' variables.
   5261   _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
   5262 
   5263   for _am_tool in $_am_tools; do
   5264     case $_am_tool in
   5265     gnutar)
   5266       for _am_tar in tar gnutar gtar; do
   5267         { echo "$as_me:$LINENO: $_am_tar --version" >&5
   5268    ($_am_tar --version) >&5 2>&5
   5269    ac_status=$?
   5270    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5271    (exit $ac_status); } && break
   5272       done
   5273       am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
   5274       am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
   5275       am__untar="$_am_tar -xf -"
   5276       ;;
   5277     plaintar)
   5278       # Must skip GNU tar: if it does not support --format= it doesn't create
   5279       # ustar tarball either.
   5280       (tar --version) >/dev/null 2>&1 && continue
   5281       am__tar='tar chf - "$$tardir"'
   5282       am__tar_='tar chf - "$tardir"'
   5283       am__untar='tar xf -'
   5284       ;;
   5285     pax)
   5286       am__tar='pax -L -x ustar -w "$$tardir"'
   5287       am__tar_='pax -L -x ustar -w "$tardir"'
   5288       am__untar='pax -r'
   5289       ;;
   5290     cpio)
   5291       am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
   5292       am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
   5293       am__untar='cpio -i -H ustar -d'
   5294       ;;
   5295     none)
   5296       am__tar=false
   5297       am__tar_=false
   5298       am__untar=false
   5299       ;;
   5300     esac
   5301 
   5302     # If the value was cached, stop now.  We just wanted to have am__tar
   5303     # and am__untar set.
   5304     test -n "${am_cv_prog_tar_ustar}" && break
   5305 
   5306     # tar/untar a dummy directory, and stop if the command works.
   5307     rm -rf conftest.dir
   5308     mkdir conftest.dir
   5309     echo GrepMe > conftest.dir/file
   5310     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
   5311    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
   5312    ac_status=$?
   5313    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5314    (exit $ac_status); }
   5315     rm -rf conftest.dir
   5316     if test -s conftest.tar; then
   5317       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
   5318    ($am__untar <conftest.tar) >&5 2>&5
   5319    ac_status=$?
   5320    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5321    (exit $ac_status); }
   5322       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
   5323    (cat conftest.dir/file) >&5 2>&5
   5324    ac_status=$?
   5325    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5326    (exit $ac_status); }
   5327       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
   5328     fi
   5329   done
   5330   rm -rf conftest.dir
   5331 
   5332   if test ${am_cv_prog_tar_ustar+y}
   5333 then :
   5334   printf %s "(cached) " >&6
   5335 else case e in #(
   5336   e) am_cv_prog_tar_ustar=$_am_tool ;;
   5337 esac
   5338 fi
   5339 
   5340   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
   5341 printf "%s\n" "$am_cv_prog_tar_ustar" >&6; }
   5342 
   5343 
   5344 
   5345 
   5346 
   5347 depcc="$CC"   am_compiler_list=
   5348 
   5349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   5350 printf %s "checking dependency style of $depcc... " >&6; }
   5351 if test ${am_cv_CC_dependencies_compiler_type+y}
   5352 then :
   5353   printf %s "(cached) " >&6
   5354 else case e in #(
   5355   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5356   # We make a subdir and do the tests there.  Otherwise we can end up
   5357   # making bogus files that we don't know about and never remove.  For
   5358   # instance it was reported that on HP-UX the gcc test will end up
   5359   # making a dummy file named 'D' -- because '-MD' means "put the output
   5360   # in D".
   5361   rm -rf conftest.dir
   5362   mkdir conftest.dir
   5363   # Copy depcomp to subdir because otherwise we won't find it if we're
   5364   # using a relative directory.
   5365   cp "$am_depcomp" conftest.dir
   5366   cd conftest.dir
   5367   # We will build objects and dependencies in a subdirectory because
   5368   # it helps to detect inapplicable dependency modes.  For instance
   5369   # both Tru64's cc and ICC support -MD to output dependencies as a
   5370   # side effect of compilation, but ICC will put the dependencies in
   5371   # the current directory while Tru64 will put them in the object
   5372   # directory.
   5373   mkdir sub
   5374 
   5375   am_cv_CC_dependencies_compiler_type=none
   5376   if test "$am_compiler_list" = ""; then
   5377      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5378   fi
   5379   am__universal=false
   5380   case " $depcc " in #(
   5381      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5382      esac
   5383 
   5384   for depmode in $am_compiler_list; do
   5385     # Setup a source with many dependencies, because some compilers
   5386     # like to wrap large dependency lists on column 80 (with \), and
   5387     # we should not choose a depcomp mode which is confused by this.
   5388     #
   5389     # We need to recreate these files for each test, as the compiler may
   5390     # overwrite some of them when testing with obscure command lines.
   5391     # This happens at least with the AIX C compiler.
   5392     : > sub/conftest.c
   5393     for i in 1 2 3 4 5 6; do
   5394       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5395       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   5396       # Solaris 10 /bin/sh.
   5397       echo '/* dummy */' > sub/conftst$i.h
   5398     done
   5399     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5400 
   5401     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   5402     # mode.  It turns out that the SunPro C++ compiler does not properly
   5403     # handle '-M -o', and we need to detect this.  Also, some Intel
   5404     # versions had trouble with output in subdirs.
   5405     am__obj=sub/conftest.${OBJEXT-o}
   5406     am__minus_obj="-o $am__obj"
   5407     case $depmode in
   5408     gcc)
   5409       # This depmode causes a compiler race in universal mode.
   5410       test "$am__universal" = false || continue
   5411       ;;
   5412     nosideeffect)
   5413       # After this tag, mechanisms are not by side-effect, so they'll
   5414       # only be used when explicitly requested.
   5415       if test "x$enable_dependency_tracking" = xyes; then
   5416 	continue
   5417       else
   5418 	break
   5419       fi
   5420       ;;
   5421     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   5422       # This compiler won't grok '-c -o', but also, the minuso test has
   5423       # not run yet.  These depmodes are late enough in the game, and
   5424       # so weak that their functioning should not be impacted.
   5425       am__obj=conftest.${OBJEXT-o}
   5426       am__minus_obj=
   5427       ;;
   5428     none) break ;;
   5429     esac
   5430     if depmode=$depmode \
   5431        source=sub/conftest.c object=$am__obj \
   5432        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5433        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5434          >/dev/null 2>conftest.err &&
   5435        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5436        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5437        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5438        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5439       # icc doesn't choke on unknown options, it will just issue warnings
   5440       # or remarks (even with -Werror).  So we grep stderr for any message
   5441       # that says an option was ignored or not supported.
   5442       # When given -MP, icc 7.0 and 7.1 complain thus:
   5443       #   icc: Command line warning: ignoring option '-M'; no argument required
   5444       # The diagnosis changed in icc 8.0:
   5445       #   icc: Command line remark: option '-MP' not supported
   5446       if (grep 'ignoring option' conftest.err ||
   5447           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5448         am_cv_CC_dependencies_compiler_type=$depmode
   5449         break
   5450       fi
   5451     fi
   5452   done
   5453 
   5454   cd ..
   5455   rm -rf conftest.dir
   5456 else
   5457   am_cv_CC_dependencies_compiler_type=none
   5458 fi
   5459  ;;
   5460 esac
   5461 fi
   5462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   5463 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   5464 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   5465 
   5466  if
   5467   test "x$enable_dependency_tracking" != xno \
   5468   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   5469   am__fastdepCC_TRUE=
   5470   am__fastdepCC_FALSE='#'
   5471 else
   5472   am__fastdepCC_TRUE='#'
   5473   am__fastdepCC_FALSE=
   5474 fi
   5475 
   5476 
   5477 # Variables for tags utilities; see am/tags.am
   5478 if test -z "$CTAGS"; then
   5479   CTAGS=ctags
   5480 fi
   5481 
   5482 if test -z "$ETAGS"; then
   5483   ETAGS=etags
   5484 fi
   5485 
   5486 if test -z "$CSCOPE"; then
   5487   CSCOPE=cscope
   5488 fi
   5489 
   5490 
   5491 
   5492 
   5493 
   5494 
   5495 
   5496 
   5497 # Initialize libtool
   5498 case `pwd` in
   5499   *\ * | *\	*)
   5500     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5501 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5502 esac
   5503 
   5504 
   5505 
   5506 macro_version='2.5.4'
   5507 macro_revision='2.5.4'
   5508 
   5509 
   5510 
   5511 
   5512 
   5513 
   5514 
   5515 
   5516 
   5517 
   5518 
   5519 
   5520 
   5521 
   5522 ltmain=$ac_aux_dir/ltmain.sh
   5523 
   5524 # Backslashify metacharacters that are still active within
   5525 # double-quoted strings.
   5526 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   5527 
   5528 # Same as above, but do not quote variable references.
   5529 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   5530 
   5531 # Sed substitution to delay expansion of an escaped shell variable in a
   5532 # double_quote_subst'ed string.
   5533 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   5534 
   5535 # Sed substitution to delay expansion of an escaped single quote.
   5536 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   5537 
   5538 # Sed substitution to avoid accidental globbing in evaled expressions
   5539 no_glob_subst='s/\*/\\\*/g'
   5540 
   5541 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   5542 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   5543 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   5544 
   5545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   5546 printf %s "checking how to print strings... " >&6; }
   5547 # Test print first, because it will be a builtin if present.
   5548 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   5549    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   5550   ECHO='print -r --'
   5551 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   5552   ECHO='printf %s\n'
   5553 else
   5554   # Use this function as a fallback that always works.
   5555   func_fallback_echo ()
   5556   {
   5557     eval 'cat <<_LTECHO_EOF
   5558 $1
   5559 _LTECHO_EOF'
   5560   }
   5561   ECHO='func_fallback_echo'
   5562 fi
   5563 
   5564 # func_echo_all arg...
   5565 # Invoke $ECHO with all args, space-separated.
   5566 func_echo_all ()
   5567 {
   5568     $ECHO ""
   5569 }
   5570 
   5571 case $ECHO in
   5572   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   5573 printf "%s\n" "printf" >&6; } ;;
   5574   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   5575 printf "%s\n" "print -r" >&6; } ;;
   5576   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   5577 printf "%s\n" "cat" >&6; } ;;
   5578 esac
   5579 
   5580 
   5581 
   5582 
   5583 
   5584 
   5585 
   5586 
   5587 
   5588 
   5589 
   5590 
   5591 
   5592 
   5593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5594 printf %s "checking for a sed that does not truncate output... " >&6; }
   5595 if test ${ac_cv_path_SED+y}
   5596 then :
   5597   printf %s "(cached) " >&6
   5598 else case e in #(
   5599   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5600      for ac_i in 1 2 3 4 5 6 7; do
   5601        ac_script="$ac_script$as_nl$ac_script"
   5602      done
   5603      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5604      { ac_script=; unset ac_script;}
   5605      if test -z "$SED"; then
   5606   ac_path_SED_found=false
   5607   # Loop through the user's path and test for each of PROGNAME-LIST
   5608   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5609 for as_dir in $PATH
   5610 do
   5611   IFS=$as_save_IFS
   5612   case $as_dir in #(((
   5613     '') as_dir=./ ;;
   5614     */) ;;
   5615     *) as_dir=$as_dir/ ;;
   5616   esac
   5617     for ac_prog in sed gsed
   5618    do
   5619     for ac_exec_ext in '' $ac_executable_extensions; do
   5620       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5621       as_fn_executable_p "$ac_path_SED" || continue
   5622 # Check for GNU ac_path_SED and select it if it is found.
   5623   # Check for GNU $ac_path_SED
   5624 case `"$ac_path_SED" --version 2>&1` in #(
   5625 *GNU*)
   5626   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5627 #(
   5628 *)
   5629   ac_count=0
   5630   printf %s 0123456789 >"conftest.in"
   5631   while :
   5632   do
   5633     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5634     mv "conftest.tmp" "conftest.in"
   5635     cp "conftest.in" "conftest.nl"
   5636     printf "%s\n" '' >> "conftest.nl"
   5637     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5638     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5639     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5640     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5641       # Best one so far, save it but keep looking for a better one
   5642       ac_cv_path_SED="$ac_path_SED"
   5643       ac_path_SED_max=$ac_count
   5644     fi
   5645     # 10*(2^10) chars as input seems more than enough
   5646     test $ac_count -gt 10 && break
   5647   done
   5648   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5649 esac
   5650 
   5651       $ac_path_SED_found && break 3
   5652     done
   5653   done
   5654   done
   5655 IFS=$as_save_IFS
   5656   if test -z "$ac_cv_path_SED"; then
   5657     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5658   fi
   5659 else
   5660   ac_cv_path_SED=$SED
   5661 fi
   5662  ;;
   5663 esac
   5664 fi
   5665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5666 printf "%s\n" "$ac_cv_path_SED" >&6; }
   5667  SED="$ac_cv_path_SED"
   5668   rm -f conftest.sed
   5669 
   5670 test -z "$SED" && SED=sed
   5671 Xsed="$SED -e 1s/^X//"
   5672 
   5673 
   5674 
   5675 
   5676 
   5677 
   5678 
   5679 
   5680 
   5681 
   5682 
   5683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   5684 printf %s "checking for grep that handles long lines and -e... " >&6; }
   5685 if test ${ac_cv_path_GREP+y}
   5686 then :
   5687   printf %s "(cached) " >&6
   5688 else case e in #(
   5689   e) if test -z "$GREP"; then
   5690   ac_path_GREP_found=false
   5691   # Loop through the user's path and test for each of PROGNAME-LIST
   5692   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5693 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5694 do
   5695   IFS=$as_save_IFS
   5696   case $as_dir in #(((
   5697     '') as_dir=./ ;;
   5698     */) ;;
   5699     *) as_dir=$as_dir/ ;;
   5700   esac
   5701     for ac_prog in grep ggrep
   5702    do
   5703     for ac_exec_ext in '' $ac_executable_extensions; do
   5704       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   5705       as_fn_executable_p "$ac_path_GREP" || continue
   5706 # Check for GNU ac_path_GREP and select it if it is found.
   5707   # Check for GNU $ac_path_GREP
   5708 case `"$ac_path_GREP" --version 2>&1` in #(
   5709 *GNU*)
   5710   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   5711 #(
   5712 *)
   5713   ac_count=0
   5714   printf %s 0123456789 >"conftest.in"
   5715   while :
   5716   do
   5717     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5718     mv "conftest.tmp" "conftest.in"
   5719     cp "conftest.in" "conftest.nl"
   5720     printf "%s\n" 'GREP' >> "conftest.nl"
   5721     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5722     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5723     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5724     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   5725       # Best one so far, save it but keep looking for a better one
   5726       ac_cv_path_GREP="$ac_path_GREP"
   5727       ac_path_GREP_max=$ac_count
   5728     fi
   5729     # 10*(2^10) chars as input seems more than enough
   5730     test $ac_count -gt 10 && break
   5731   done
   5732   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5733 esac
   5734 
   5735       $ac_path_GREP_found && break 3
   5736     done
   5737   done
   5738   done
   5739 IFS=$as_save_IFS
   5740   if test -z "$ac_cv_path_GREP"; then
   5741     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5742   fi
   5743 else
   5744   ac_cv_path_GREP=$GREP
   5745 fi
   5746  ;;
   5747 esac
   5748 fi
   5749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   5750 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   5751  GREP="$ac_cv_path_GREP"
   5752 
   5753 
   5754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   5755 printf %s "checking for egrep... " >&6; }
   5756 if test ${ac_cv_path_EGREP+y}
   5757 then :
   5758   printf %s "(cached) " >&6
   5759 else case e in #(
   5760   e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   5761    then ac_cv_path_EGREP="$GREP -E"
   5762    else
   5763      if test -z "$EGREP"; then
   5764   ac_path_EGREP_found=false
   5765   # Loop through the user's path and test for each of PROGNAME-LIST
   5766   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5767 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5768 do
   5769   IFS=$as_save_IFS
   5770   case $as_dir in #(((
   5771     '') as_dir=./ ;;
   5772     */) ;;
   5773     *) as_dir=$as_dir/ ;;
   5774   esac
   5775     for ac_prog in egrep
   5776    do
   5777     for ac_exec_ext in '' $ac_executable_extensions; do
   5778       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   5779       as_fn_executable_p "$ac_path_EGREP" || continue
   5780 # Check for GNU ac_path_EGREP and select it if it is found.
   5781   # Check for GNU $ac_path_EGREP
   5782 case `"$ac_path_EGREP" --version 2>&1` in #(
   5783 *GNU*)
   5784   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   5785 #(
   5786 *)
   5787   ac_count=0
   5788   printf %s 0123456789 >"conftest.in"
   5789   while :
   5790   do
   5791     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5792     mv "conftest.tmp" "conftest.in"
   5793     cp "conftest.in" "conftest.nl"
   5794     printf "%s\n" 'EGREP' >> "conftest.nl"
   5795     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5796     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5797     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5798     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   5799       # Best one so far, save it but keep looking for a better one
   5800       ac_cv_path_EGREP="$ac_path_EGREP"
   5801       ac_path_EGREP_max=$ac_count
   5802     fi
   5803     # 10*(2^10) chars as input seems more than enough
   5804     test $ac_count -gt 10 && break
   5805   done
   5806   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5807 esac
   5808 
   5809       $ac_path_EGREP_found && break 3
   5810     done
   5811   done
   5812   done
   5813 IFS=$as_save_IFS
   5814   if test -z "$ac_cv_path_EGREP"; then
   5815     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5816   fi
   5817 else
   5818   ac_cv_path_EGREP=$EGREP
   5819 fi
   5820 
   5821    fi ;;
   5822 esac
   5823 fi
   5824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   5825 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   5826  EGREP="$ac_cv_path_EGREP"
   5827 
   5828          EGREP_TRADITIONAL=$EGREP
   5829  ac_cv_path_EGREP_TRADITIONAL=$EGREP
   5830 
   5831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5832 printf %s "checking for fgrep... " >&6; }
   5833 if test ${ac_cv_path_FGREP+y}
   5834 then :
   5835   printf %s "(cached) " >&6
   5836 else case e in #(
   5837   e) if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5838    then ac_cv_path_FGREP="$GREP -F"
   5839    else
   5840      if test -z "$FGREP"; then
   5841   ac_path_FGREP_found=false
   5842   # Loop through the user's path and test for each of PROGNAME-LIST
   5843   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5844 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5845 do
   5846   IFS=$as_save_IFS
   5847   case $as_dir in #(((
   5848     '') as_dir=./ ;;
   5849     */) ;;
   5850     *) as_dir=$as_dir/ ;;
   5851   esac
   5852     for ac_prog in fgrep
   5853    do
   5854     for ac_exec_ext in '' $ac_executable_extensions; do
   5855       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   5856       as_fn_executable_p "$ac_path_FGREP" || continue
   5857 # Check for GNU ac_path_FGREP and select it if it is found.
   5858   # Check for GNU $ac_path_FGREP
   5859 case `"$ac_path_FGREP" --version 2>&1` in #(
   5860 *GNU*)
   5861   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5862 #(
   5863 *)
   5864   ac_count=0
   5865   printf %s 0123456789 >"conftest.in"
   5866   while :
   5867   do
   5868     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5869     mv "conftest.tmp" "conftest.in"
   5870     cp "conftest.in" "conftest.nl"
   5871     printf "%s\n" 'FGREP' >> "conftest.nl"
   5872     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5873     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5874     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5875     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5876       # Best one so far, save it but keep looking for a better one
   5877       ac_cv_path_FGREP="$ac_path_FGREP"
   5878       ac_path_FGREP_max=$ac_count
   5879     fi
   5880     # 10*(2^10) chars as input seems more than enough
   5881     test $ac_count -gt 10 && break
   5882   done
   5883   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5884 esac
   5885 
   5886       $ac_path_FGREP_found && break 3
   5887     done
   5888   done
   5889   done
   5890 IFS=$as_save_IFS
   5891   if test -z "$ac_cv_path_FGREP"; then
   5892     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5893   fi
   5894 else
   5895   ac_cv_path_FGREP=$FGREP
   5896 fi
   5897 
   5898    fi ;;
   5899 esac
   5900 fi
   5901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5902 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   5903  FGREP="$ac_cv_path_FGREP"
   5904 
   5905 
   5906 test -z "$GREP" && GREP=grep
   5907 
   5908 
   5909 
   5910 
   5911 
   5912 
   5913 
   5914 
   5915 
   5916 
   5917 
   5918 
   5919 
   5920 
   5921 
   5922 
   5923 
   5924 
   5925 
   5926 # Check whether --with-gnu-ld was given.
   5927 if test ${with_gnu_ld+y}
   5928 then :
   5929   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   5930 else case e in #(
   5931   e) with_gnu_ld=no ;;
   5932 esac
   5933 fi
   5934 
   5935 ac_prog=ld
   5936 if test yes = "$GCC"; then
   5937   # Check if gcc -print-prog-name=ld gives a path.
   5938   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5939 printf %s "checking for ld used by $CC... " >&6; }
   5940   case $host in
   5941   *-*-mingw* | *-*-windows*)
   5942     # gcc leaves a trailing carriage return, which upsets mingw
   5943     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5944   *)
   5945     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5946   esac
   5947   case $ac_prog in
   5948     # Accept absolute paths.
   5949     [\\/]* | ?:[\\/]*)
   5950       re_direlt='/[^/][^/]*/\.\./'
   5951       # Canonicalize the pathname of ld
   5952       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5953       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5954 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5955       done
   5956       test -z "$LD" && LD=$ac_prog
   5957       ;;
   5958   "")
   5959     # If it fails, then pretend we aren't using GCC.
   5960     ac_prog=ld
   5961     ;;
   5962   *)
   5963     # If it is relative, then search for the first ld in PATH.
   5964     with_gnu_ld=unknown
   5965     ;;
   5966   esac
   5967 elif test yes = "$with_gnu_ld"; then
   5968   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5969 printf %s "checking for GNU ld... " >&6; }
   5970 else
   5971   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5972 printf %s "checking for non-GNU ld... " >&6; }
   5973 fi
   5974 if test ${lt_cv_path_LD+y}
   5975 then :
   5976   printf %s "(cached) " >&6
   5977 else case e in #(
   5978   e) if test -z "$LD"; then
   5979   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5980   for ac_dir in $PATH; do
   5981     IFS=$lt_save_ifs
   5982     test -z "$ac_dir" && ac_dir=.
   5983     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5984       lt_cv_path_LD=$ac_dir/$ac_prog
   5985       # Check to see if the program is GNU ld.  I'd rather use --version,
   5986       # but apparently some variants of GNU ld only accept -v.
   5987       # Break only if it was the GNU/non-GNU ld that we prefer.
   5988       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5989       *GNU* | *'with BFD'*)
   5990 	test no != "$with_gnu_ld" && break
   5991 	;;
   5992       *)
   5993 	test yes != "$with_gnu_ld" && break
   5994 	;;
   5995       esac
   5996     fi
   5997   done
   5998   IFS=$lt_save_ifs
   5999 else
   6000   lt_cv_path_LD=$LD # Let the user override the test with a path.
   6001 fi ;;
   6002 esac
   6003 fi
   6004 
   6005 LD=$lt_cv_path_LD
   6006 if test -n "$LD"; then
   6007   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   6008 printf "%s\n" "$LD" >&6; }
   6009 else
   6010   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6011 printf "%s\n" "no" >&6; }
   6012 fi
   6013 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   6014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   6015 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   6016 if test ${lt_cv_prog_gnu_ld+y}
   6017 then :
   6018   printf %s "(cached) " >&6
   6019 else case e in #(
   6020   e) # I'd rather use --version here, but apparently some GNU lds only accept -v.
   6021 case `$LD -v 2>&1 </dev/null` in
   6022 *GNU* | *'with BFD'*)
   6023   lt_cv_prog_gnu_ld=yes
   6024   ;;
   6025 *)
   6026   lt_cv_prog_gnu_ld=no
   6027   ;;
   6028 esac ;;
   6029 esac
   6030 fi
   6031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   6032 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   6033 with_gnu_ld=$lt_cv_prog_gnu_ld
   6034 
   6035 
   6036 
   6037 
   6038 
   6039 
   6040 
   6041 
   6042 
   6043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   6044 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   6045 if test ${lt_cv_path_NM+y}
   6046 then :
   6047   printf %s "(cached) " >&6
   6048 else case e in #(
   6049   e) if test -n "$NM"; then
   6050   # Let the user override the test.
   6051   lt_cv_path_NM=$NM
   6052 else
   6053   lt_nm_to_check=${ac_tool_prefix}nm
   6054   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   6055     lt_nm_to_check="$lt_nm_to_check nm"
   6056   fi
   6057   for lt_tmp_nm in $lt_nm_to_check; do
   6058     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   6059     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   6060       IFS=$lt_save_ifs
   6061       test -z "$ac_dir" && ac_dir=.
   6062       tmp_nm=$ac_dir/$lt_tmp_nm
   6063       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   6064 	# Check to see if the nm accepts a BSD-compat flag.
   6065 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   6066 	#   nm: unknown option "B" ignored
   6067 	# Tru64's nm complains that /dev/null is an invalid object file
   6068 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   6069 	case $build_os in
   6070 	mingw* | windows*) lt_bad_file=conftest.nm/nofile ;;
   6071 	*) lt_bad_file=/dev/null ;;
   6072 	esac
   6073 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   6074 	*$lt_bad_file* | *'Invalid file or object type'*)
   6075 	  lt_cv_path_NM="$tmp_nm -B"
   6076 	  break 2
   6077 	  ;;
   6078 	*)
   6079 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   6080 	  */dev/null*)
   6081 	    lt_cv_path_NM="$tmp_nm -p"
   6082 	    break 2
   6083 	    ;;
   6084 	  *)
   6085 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   6086 	    continue # so that we can try to find one that supports BSD flags
   6087 	    ;;
   6088 	  esac
   6089 	  ;;
   6090 	esac
   6091       fi
   6092     done
   6093     IFS=$lt_save_ifs
   6094   done
   6095   : ${lt_cv_path_NM=no}
   6096 fi ;;
   6097 esac
   6098 fi
   6099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   6100 printf "%s\n" "$lt_cv_path_NM" >&6; }
   6101 if test no != "$lt_cv_path_NM"; then
   6102   NM=$lt_cv_path_NM
   6103 else
   6104   # Didn't find any BSD compatible name lister, look for dumpbin.
   6105   if test -n "$DUMPBIN"; then :
   6106     # Let the user override the test.
   6107   else
   6108     if test -n "$ac_tool_prefix"; then
   6109   for ac_prog in dumpbin "link -dump"
   6110   do
   6111     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6112 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6114 printf %s "checking for $ac_word... " >&6; }
   6115 if test ${ac_cv_prog_DUMPBIN+y}
   6116 then :
   6117   printf %s "(cached) " >&6
   6118 else case e in #(
   6119   e) if test -n "$DUMPBIN"; then
   6120   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   6121 else
   6122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6123 for as_dir in $PATH
   6124 do
   6125   IFS=$as_save_IFS
   6126   case $as_dir in #(((
   6127     '') as_dir=./ ;;
   6128     */) ;;
   6129     *) as_dir=$as_dir/ ;;
   6130   esac
   6131     for ac_exec_ext in '' $ac_executable_extensions; do
   6132   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6133     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   6134     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6135     break 2
   6136   fi
   6137 done
   6138   done
   6139 IFS=$as_save_IFS
   6140 
   6141 fi ;;
   6142 esac
   6143 fi
   6144 DUMPBIN=$ac_cv_prog_DUMPBIN
   6145 if test -n "$DUMPBIN"; then
   6146   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   6147 printf "%s\n" "$DUMPBIN" >&6; }
   6148 else
   6149   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6150 printf "%s\n" "no" >&6; }
   6151 fi
   6152 
   6153 
   6154     test -n "$DUMPBIN" && break
   6155   done
   6156 fi
   6157 if test -z "$DUMPBIN"; then
   6158   ac_ct_DUMPBIN=$DUMPBIN
   6159   for ac_prog in dumpbin "link -dump"
   6160 do
   6161   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6162 set dummy $ac_prog; ac_word=$2
   6163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6164 printf %s "checking for $ac_word... " >&6; }
   6165 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   6166 then :
   6167   printf %s "(cached) " >&6
   6168 else case e in #(
   6169   e) if test -n "$ac_ct_DUMPBIN"; then
   6170   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   6171 else
   6172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6173 for as_dir in $PATH
   6174 do
   6175   IFS=$as_save_IFS
   6176   case $as_dir in #(((
   6177     '') as_dir=./ ;;
   6178     */) ;;
   6179     *) as_dir=$as_dir/ ;;
   6180   esac
   6181     for ac_exec_ext in '' $ac_executable_extensions; do
   6182   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6183     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   6184     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6185     break 2
   6186   fi
   6187 done
   6188   done
   6189 IFS=$as_save_IFS
   6190 
   6191 fi ;;
   6192 esac
   6193 fi
   6194 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   6195 if test -n "$ac_ct_DUMPBIN"; then
   6196   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   6197 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   6198 else
   6199   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6200 printf "%s\n" "no" >&6; }
   6201 fi
   6202 
   6203 
   6204   test -n "$ac_ct_DUMPBIN" && break
   6205 done
   6206 
   6207   if test "x$ac_ct_DUMPBIN" = x; then
   6208     DUMPBIN=":"
   6209   else
   6210     case $cross_compiling:$ac_tool_warned in
   6211 yes:)
   6212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6213 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6214 ac_tool_warned=yes ;;
   6215 esac
   6216     DUMPBIN=$ac_ct_DUMPBIN
   6217   fi
   6218 fi
   6219 
   6220     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   6221     *COFF*)
   6222       DUMPBIN="$DUMPBIN -symbols -headers"
   6223       ;;
   6224     *)
   6225       DUMPBIN=:
   6226       ;;
   6227     esac
   6228   fi
   6229 
   6230   if test : != "$DUMPBIN"; then
   6231     NM=$DUMPBIN
   6232   fi
   6233 fi
   6234 test -z "$NM" && NM=nm
   6235 
   6236 
   6237 
   6238 
   6239 
   6240 
   6241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   6242 printf %s "checking the name lister ($NM) interface... " >&6; }
   6243 if test ${lt_cv_nm_interface+y}
   6244 then :
   6245   printf %s "(cached) " >&6
   6246 else case e in #(
   6247   e) lt_cv_nm_interface="BSD nm"
   6248   echo "int some_variable = 0;" > conftest.$ac_ext
   6249   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   6250   (eval "$ac_compile" 2>conftest.err)
   6251   cat conftest.err >&5
   6252   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   6253   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   6254   cat conftest.err >&5
   6255   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   6256   cat conftest.out >&5
   6257   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   6258     lt_cv_nm_interface="MS dumpbin"
   6259   fi
   6260   rm -f conftest* ;;
   6261 esac
   6262 fi
   6263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   6264 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   6265 
   6266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   6267 printf %s "checking whether ln -s works... " >&6; }
   6268 LN_S=$as_ln_s
   6269 if test "$LN_S" = "ln -s"; then
   6270   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   6271 printf "%s\n" "yes" >&6; }
   6272 else
   6273   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   6274 printf "%s\n" "no, using $LN_S" >&6; }
   6275 fi
   6276 
   6277 # find the maximum length of command line arguments
   6278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   6279 printf %s "checking the maximum length of command line arguments... " >&6; }
   6280 if test ${lt_cv_sys_max_cmd_len+y}
   6281 then :
   6282   printf %s "(cached) " >&6
   6283 else case e in #(
   6284   e)   i=0
   6285   teststring=ABCD
   6286 
   6287   case $build_os in
   6288   msdosdjgpp*)
   6289     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6290     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6291     # during glob expansion).  Even if it were fixed, the result of this
   6292     # check would be larger than it should be.
   6293     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6294     ;;
   6295 
   6296   gnu* | ironclad*)
   6297     # Under GNU Hurd and Ironclad, this test is not required because there
   6298     # is no limit to the length of command line arguments.
   6299     # Libtool will interpret -1 as no limit whatsoever
   6300     lt_cv_sys_max_cmd_len=-1;
   6301     ;;
   6302 
   6303   cygwin* | mingw* | windows* | cegcc*)
   6304     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6305     # about 5 minutes as the teststring grows exponentially.
   6306     # Worse, since 9x/ME are not pre-emptively multitasking,
   6307     # you end up with a "frozen" computer, even though with patience
   6308     # the test eventually succeeds (with a max line length of 256k).
   6309     # Instead, let's just punt: use the minimum linelength reported by
   6310     # all of the supported platforms: 8192 (on NT/2K/XP).
   6311     lt_cv_sys_max_cmd_len=8192;
   6312     ;;
   6313 
   6314   mint*)
   6315     # On MiNT this can take a long time and run out of memory.
   6316     lt_cv_sys_max_cmd_len=8192;
   6317     ;;
   6318 
   6319   amigaos*)
   6320     # On AmigaOS with pdksh, this test takes hours, literally.
   6321     # So we just punt and use a minimum line length of 8192.
   6322     lt_cv_sys_max_cmd_len=8192;
   6323     ;;
   6324 
   6325   darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   6326     # This has been around since 386BSD, at least.  Likely further.
   6327     if test -x /sbin/sysctl; then
   6328       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6329     elif test -x /usr/sbin/sysctl; then
   6330       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6331     else
   6332       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6333     fi
   6334     # And add a safety zone
   6335     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6336     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6337     ;;
   6338 
   6339   interix*)
   6340     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6341     lt_cv_sys_max_cmd_len=196608
   6342     ;;
   6343 
   6344   os2*)
   6345     # The test takes a long time on OS/2.
   6346     lt_cv_sys_max_cmd_len=8192
   6347     ;;
   6348 
   6349   osf*)
   6350     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6351     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6352     # nice to cause kernel panics so lets avoid the loop below.
   6353     # First set a reasonable default.
   6354     lt_cv_sys_max_cmd_len=16384
   6355     #
   6356     if test -x /sbin/sysconfig; then
   6357       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6358         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6359       esac
   6360     fi
   6361     ;;
   6362   sco3.2v5*)
   6363     lt_cv_sys_max_cmd_len=102400
   6364     ;;
   6365   sysv5* | sco5v6* | sysv4.2uw2*)
   6366     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6367     if test -n "$kargmax"; then
   6368       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   6369     else
   6370       lt_cv_sys_max_cmd_len=32768
   6371     fi
   6372     ;;
   6373   *)
   6374     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6375     if test -n "$lt_cv_sys_max_cmd_len" && \
   6376        test undefined != "$lt_cv_sys_max_cmd_len"; then
   6377       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6378       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6379     else
   6380       # Make teststring a little bigger before we do anything with it.
   6381       # a 1K string should be a reasonable start.
   6382       for i in 1 2 3 4 5 6 7 8; do
   6383         teststring=$teststring$teststring
   6384       done
   6385       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6386       # If test is not a shell built-in, we'll probably end up computing a
   6387       # maximum length that is only half of the actual maximum length, but
   6388       # we can't tell.
   6389       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   6390 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   6391 	      test 17 != "$i" # 1/2 MB should be enough
   6392       do
   6393         i=`expr $i + 1`
   6394         teststring=$teststring$teststring
   6395       done
   6396       # Only check the string length outside the loop.
   6397       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   6398       teststring=
   6399       # Add a significant safety factor because C++ compilers can tack on
   6400       # massive amounts of additional arguments before passing them to the
   6401       # linker.  It appears as though 1/2 is a usable value.
   6402       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6403     fi
   6404     ;;
   6405   esac
   6406  ;;
   6407 esac
   6408 fi
   6409 
   6410 if test -n "$lt_cv_sys_max_cmd_len"; then
   6411   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   6412 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   6413 else
   6414   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   6415 printf "%s\n" "none" >&6; }
   6416 fi
   6417 max_cmd_len=$lt_cv_sys_max_cmd_len
   6418 
   6419 
   6420 
   6421 
   6422 
   6423 
   6424 : ${CP="cp -f"}
   6425 : ${MV="mv -f"}
   6426 : ${RM="rm -f"}
   6427 
   6428 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   6429   lt_unset=unset
   6430 else
   6431   lt_unset=false
   6432 fi
   6433 
   6434 
   6435 
   6436 
   6437 
   6438 # test EBCDIC or ASCII
   6439 case `echo X|tr X '\101'` in
   6440  A) # ASCII based system
   6441     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   6442   lt_SP2NL='tr \040 \012'
   6443   lt_NL2SP='tr \015\012 \040\040'
   6444   ;;
   6445  *) # EBCDIC based system
   6446   lt_SP2NL='tr \100 \n'
   6447   lt_NL2SP='tr \r\n \100\100'
   6448   ;;
   6449 esac
   6450 
   6451 
   6452 
   6453 
   6454 
   6455 
   6456 
   6457 
   6458 
   6459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   6460 printf %s "checking how to convert $build file names to $host format... " >&6; }
   6461 if test ${lt_cv_to_host_file_cmd+y}
   6462 then :
   6463   printf %s "(cached) " >&6
   6464 else case e in #(
   6465   e) case $host in
   6466   *-*-mingw* )
   6467     case $build in
   6468       *-*-mingw* | *-*-windows* ) # actually msys
   6469         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   6470         ;;
   6471       *-*-cygwin* )
   6472         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   6473         ;;
   6474       * ) # otherwise, assume *nix
   6475         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   6476         ;;
   6477     esac
   6478     ;;
   6479   *-*-cygwin* )
   6480     case $build in
   6481       *-*-mingw* | *-*-windows* ) # actually msys
   6482         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   6483         ;;
   6484       *-*-cygwin* )
   6485         lt_cv_to_host_file_cmd=func_convert_file_noop
   6486         ;;
   6487       * ) # otherwise, assume *nix
   6488         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   6489         ;;
   6490     esac
   6491     ;;
   6492   * ) # unhandled hosts (and "normal" native builds)
   6493     lt_cv_to_host_file_cmd=func_convert_file_noop
   6494     ;;
   6495 esac
   6496  ;;
   6497 esac
   6498 fi
   6499 
   6500 to_host_file_cmd=$lt_cv_to_host_file_cmd
   6501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   6502 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   6503 
   6504 
   6505 
   6506 
   6507 
   6508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   6509 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   6510 if test ${lt_cv_to_tool_file_cmd+y}
   6511 then :
   6512   printf %s "(cached) " >&6
   6513 else case e in #(
   6514   e) #assume ordinary cross tools, or native build.
   6515 lt_cv_to_tool_file_cmd=func_convert_file_noop
   6516 case $host in
   6517   *-*-mingw* | *-*-windows* )
   6518     case $build in
   6519       *-*-mingw* | *-*-windows* ) # actually msys
   6520         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   6521         ;;
   6522     esac
   6523     ;;
   6524 esac
   6525  ;;
   6526 esac
   6527 fi
   6528 
   6529 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   6530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   6531 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   6532 
   6533 
   6534 
   6535 
   6536 
   6537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   6538 printf %s "checking for $LD option to reload object files... " >&6; }
   6539 if test ${lt_cv_ld_reload_flag+y}
   6540 then :
   6541   printf %s "(cached) " >&6
   6542 else case e in #(
   6543   e) lt_cv_ld_reload_flag='-r' ;;
   6544 esac
   6545 fi
   6546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   6547 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   6548 reload_flag=$lt_cv_ld_reload_flag
   6549 case $reload_flag in
   6550 "" | " "*) ;;
   6551 *) reload_flag=" $reload_flag" ;;
   6552 esac
   6553 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6554 case $host_os in
   6555   cygwin* | mingw* | windows* | pw32* | cegcc*)
   6556     if test yes != "$GCC"; then
   6557       reload_cmds=false
   6558     fi
   6559     ;;
   6560   darwin*)
   6561     if test yes = "$GCC"; then
   6562       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   6563     else
   6564       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6565     fi
   6566     ;;
   6567 esac
   6568 
   6569 
   6570 
   6571 
   6572 
   6573 
   6574 
   6575 
   6576 
   6577 # Extract the first word of "file", so it can be a program name with args.
   6578 set dummy file; ac_word=$2
   6579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6580 printf %s "checking for $ac_word... " >&6; }
   6581 if test ${ac_cv_prog_FILECMD+y}
   6582 then :
   6583   printf %s "(cached) " >&6
   6584 else case e in #(
   6585   e) if test -n "$FILECMD"; then
   6586   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   6587 else
   6588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6589 for as_dir in $PATH
   6590 do
   6591   IFS=$as_save_IFS
   6592   case $as_dir in #(((
   6593     '') as_dir=./ ;;
   6594     */) ;;
   6595     *) as_dir=$as_dir/ ;;
   6596   esac
   6597     for ac_exec_ext in '' $ac_executable_extensions; do
   6598   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6599     ac_cv_prog_FILECMD="file"
   6600     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6601     break 2
   6602   fi
   6603 done
   6604   done
   6605 IFS=$as_save_IFS
   6606 
   6607   test -z "$ac_cv_prog_FILECMD" && ac_cv_prog_FILECMD=":"
   6608 fi ;;
   6609 esac
   6610 fi
   6611 FILECMD=$ac_cv_prog_FILECMD
   6612 if test -n "$FILECMD"; then
   6613   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   6614 printf "%s\n" "$FILECMD" >&6; }
   6615 else
   6616   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6617 printf "%s\n" "no" >&6; }
   6618 fi
   6619 
   6620 
   6621 
   6622 
   6623 
   6624 
   6625 
   6626 
   6627 if test -n "$ac_tool_prefix"; then
   6628   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6629 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6631 printf %s "checking for $ac_word... " >&6; }
   6632 if test ${ac_cv_prog_OBJDUMP+y}
   6633 then :
   6634   printf %s "(cached) " >&6
   6635 else case e in #(
   6636   e) if test -n "$OBJDUMP"; then
   6637   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6638 else
   6639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6640 for as_dir in $PATH
   6641 do
   6642   IFS=$as_save_IFS
   6643   case $as_dir in #(((
   6644     '') as_dir=./ ;;
   6645     */) ;;
   6646     *) as_dir=$as_dir/ ;;
   6647   esac
   6648     for ac_exec_ext in '' $ac_executable_extensions; do
   6649   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6650     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6651     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6652     break 2
   6653   fi
   6654 done
   6655   done
   6656 IFS=$as_save_IFS
   6657 
   6658 fi ;;
   6659 esac
   6660 fi
   6661 OBJDUMP=$ac_cv_prog_OBJDUMP
   6662 if test -n "$OBJDUMP"; then
   6663   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   6664 printf "%s\n" "$OBJDUMP" >&6; }
   6665 else
   6666   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6667 printf "%s\n" "no" >&6; }
   6668 fi
   6669 
   6670 
   6671 fi
   6672 if test -z "$ac_cv_prog_OBJDUMP"; then
   6673   ac_ct_OBJDUMP=$OBJDUMP
   6674   # Extract the first word of "objdump", so it can be a program name with args.
   6675 set dummy objdump; ac_word=$2
   6676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6677 printf %s "checking for $ac_word... " >&6; }
   6678 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   6679 then :
   6680   printf %s "(cached) " >&6
   6681 else case e in #(
   6682   e) if test -n "$ac_ct_OBJDUMP"; then
   6683   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6684 else
   6685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6686 for as_dir in $PATH
   6687 do
   6688   IFS=$as_save_IFS
   6689   case $as_dir in #(((
   6690     '') as_dir=./ ;;
   6691     */) ;;
   6692     *) as_dir=$as_dir/ ;;
   6693   esac
   6694     for ac_exec_ext in '' $ac_executable_extensions; do
   6695   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6696     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6697     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6698     break 2
   6699   fi
   6700 done
   6701   done
   6702 IFS=$as_save_IFS
   6703 
   6704 fi ;;
   6705 esac
   6706 fi
   6707 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6708 if test -n "$ac_ct_OBJDUMP"; then
   6709   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6710 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   6711 else
   6712   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6713 printf "%s\n" "no" >&6; }
   6714 fi
   6715 
   6716   if test "x$ac_ct_OBJDUMP" = x; then
   6717     OBJDUMP="false"
   6718   else
   6719     case $cross_compiling:$ac_tool_warned in
   6720 yes:)
   6721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6722 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6723 ac_tool_warned=yes ;;
   6724 esac
   6725     OBJDUMP=$ac_ct_OBJDUMP
   6726   fi
   6727 else
   6728   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6729 fi
   6730 
   6731 test -z "$OBJDUMP" && OBJDUMP=objdump
   6732 
   6733 
   6734 
   6735 
   6736 
   6737 
   6738 
   6739 
   6740 
   6741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6742 printf %s "checking how to recognize dependent libraries... " >&6; }
   6743 if test ${lt_cv_deplibs_check_method+y}
   6744 then :
   6745   printf %s "(cached) " >&6
   6746 else case e in #(
   6747   e) lt_cv_file_magic_cmd='$MAGIC_CMD'
   6748 lt_cv_file_magic_test_file=
   6749 lt_cv_deplibs_check_method='unknown'
   6750 # Need to set the preceding variable on all platforms that support
   6751 # interlibrary dependencies.
   6752 # 'none' -- dependencies not supported.
   6753 # 'unknown' -- same as none, but documents that we really don't know.
   6754 # 'pass_all' -- all dependencies passed with no checks.
   6755 # 'file_magic [[regex]]' -- check by looking for files in library path
   6756 # that responds to the $file_magic_cmd with a given extended regex.
   6757 # If you have 'file' or equivalent on your system and you're not sure
   6758 # whether 'pass_all' will *always* work, you probably want this one.
   6759 
   6760 case $host_os in
   6761 aix[4-9]*)
   6762   lt_cv_deplibs_check_method=pass_all
   6763   ;;
   6764 
   6765 beos*)
   6766   lt_cv_deplibs_check_method=pass_all
   6767   ;;
   6768 
   6769 bsdi[45]*)
   6770   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6771   lt_cv_file_magic_cmd='$FILECMD -L'
   6772   lt_cv_file_magic_test_file=/shlib/libc.so
   6773   ;;
   6774 
   6775 cygwin*)
   6776   # func_win32_libid is a shell function defined in ltmain.sh
   6777   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6778   lt_cv_file_magic_cmd='func_win32_libid'
   6779   ;;
   6780 
   6781 mingw* | windows* | pw32*)
   6782   # Base MSYS/MinGW do not provide the 'file' command needed by
   6783   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6784   # unless we find 'file', for example because we are cross-compiling.
   6785   if ( file / ) >/dev/null 2>&1; then
   6786     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6787     lt_cv_file_magic_cmd='func_win32_libid'
   6788   else
   6789     # Keep this pattern in sync with the one in func_win32_libid.
   6790     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|pe-aarch64)'
   6791     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6792   fi
   6793   ;;
   6794 
   6795 cegcc*)
   6796   # use the weaker test based on 'objdump'. See mingw*.
   6797   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6798   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6799   ;;
   6800 
   6801 darwin* | rhapsody*)
   6802   lt_cv_deplibs_check_method=pass_all
   6803   ;;
   6804 
   6805 freebsd* | dragonfly* | midnightbsd*)
   6806   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6807     case $host_cpu in
   6808     i*86 )
   6809       # Not sure whether the presence of OpenBSD here was a mistake.
   6810       # Let's accept both of them until this is cleared up.
   6811       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6812       lt_cv_file_magic_cmd=$FILECMD
   6813       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6814       ;;
   6815     esac
   6816   else
   6817     lt_cv_deplibs_check_method=pass_all
   6818   fi
   6819   ;;
   6820 
   6821 haiku*)
   6822   lt_cv_deplibs_check_method=pass_all
   6823   ;;
   6824 
   6825 hpux10.20* | hpux11*)
   6826   lt_cv_file_magic_cmd=$FILECMD
   6827   case $host_cpu in
   6828   ia64*)
   6829     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6830     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6831     ;;
   6832   hppa*64*)
   6833     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]'
   6834     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6835     ;;
   6836   *)
   6837     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6838     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6839     ;;
   6840   esac
   6841   ;;
   6842 
   6843 interix[3-9]*)
   6844   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6845   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6846   ;;
   6847 
   6848 irix5* | irix6* | nonstopux*)
   6849   case $LD in
   6850   *-32|*"-32 ") libmagic=32-bit;;
   6851   *-n32|*"-n32 ") libmagic=N32;;
   6852   *-64|*"-64 ") libmagic=64-bit;;
   6853   *) libmagic=never-match;;
   6854   esac
   6855   lt_cv_deplibs_check_method=pass_all
   6856   ;;
   6857 
   6858 # This must be glibc/ELF.
   6859 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   6860   lt_cv_deplibs_check_method=pass_all
   6861   ;;
   6862 
   6863 *-mlibc)
   6864   lt_cv_deplibs_check_method=pass_all
   6865   ;;
   6866 
   6867 netbsd* | netbsdelf*-gnu)
   6868   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6869     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6870   else
   6871     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6872   fi
   6873   ;;
   6874 
   6875 newos6*)
   6876   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6877   lt_cv_file_magic_cmd=$FILECMD
   6878   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6879   ;;
   6880 
   6881 *nto* | *qnx*)
   6882   lt_cv_deplibs_check_method=pass_all
   6883   ;;
   6884 
   6885 openbsd*)
   6886   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   6887     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6888   else
   6889     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6890   fi
   6891   ;;
   6892 
   6893 osf3* | osf4* | osf5*)
   6894   lt_cv_deplibs_check_method=pass_all
   6895   ;;
   6896 
   6897 rdos*)
   6898   lt_cv_deplibs_check_method=pass_all
   6899   ;;
   6900 
   6901 serenity*)
   6902   lt_cv_deplibs_check_method=pass_all
   6903   ;;
   6904 
   6905 solaris*)
   6906   lt_cv_deplibs_check_method=pass_all
   6907   ;;
   6908 
   6909 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6910   lt_cv_deplibs_check_method=pass_all
   6911   ;;
   6912 
   6913 sysv4 | sysv4.3*)
   6914   case $host_vendor in
   6915   motorola)
   6916     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]'
   6917     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6918     ;;
   6919   ncr)
   6920     lt_cv_deplibs_check_method=pass_all
   6921     ;;
   6922   sequent)
   6923     lt_cv_file_magic_cmd='/bin/file'
   6924     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6925     ;;
   6926   sni)
   6927     lt_cv_file_magic_cmd='/bin/file'
   6928     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6929     lt_cv_file_magic_test_file=/lib/libc.so
   6930     ;;
   6931   siemens)
   6932     lt_cv_deplibs_check_method=pass_all
   6933     ;;
   6934   pc)
   6935     lt_cv_deplibs_check_method=pass_all
   6936     ;;
   6937   esac
   6938   ;;
   6939 
   6940 tpf*)
   6941   lt_cv_deplibs_check_method=pass_all
   6942   ;;
   6943 os2*)
   6944   lt_cv_deplibs_check_method=pass_all
   6945   ;;
   6946 esac
   6947  ;;
   6948 esac
   6949 fi
   6950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6951 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   6952 
   6953 file_magic_glob=
   6954 want_nocaseglob=no
   6955 if test "$build" = "$host"; then
   6956   case $host_os in
   6957   mingw* | windows* | pw32*)
   6958     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6959       want_nocaseglob=yes
   6960     else
   6961       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6962     fi
   6963     ;;
   6964   esac
   6965 fi
   6966 
   6967 file_magic_cmd=$lt_cv_file_magic_cmd
   6968 deplibs_check_method=$lt_cv_deplibs_check_method
   6969 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6970 
   6971 
   6972 
   6973 
   6974 
   6975 
   6976 
   6977 
   6978 
   6979 
   6980 
   6981 
   6982 
   6983 
   6984 
   6985 
   6986 
   6987 
   6988 
   6989 
   6990 
   6991 
   6992 if test -n "$ac_tool_prefix"; then
   6993   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6994 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6996 printf %s "checking for $ac_word... " >&6; }
   6997 if test ${ac_cv_prog_DLLTOOL+y}
   6998 then :
   6999   printf %s "(cached) " >&6
   7000 else case e in #(
   7001   e) if test -n "$DLLTOOL"; then
   7002   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   7003 else
   7004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7005 for as_dir in $PATH
   7006 do
   7007   IFS=$as_save_IFS
   7008   case $as_dir in #(((
   7009     '') as_dir=./ ;;
   7010     */) ;;
   7011     *) as_dir=$as_dir/ ;;
   7012   esac
   7013     for ac_exec_ext in '' $ac_executable_extensions; do
   7014   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7015     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   7016     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7017     break 2
   7018   fi
   7019 done
   7020   done
   7021 IFS=$as_save_IFS
   7022 
   7023 fi ;;
   7024 esac
   7025 fi
   7026 DLLTOOL=$ac_cv_prog_DLLTOOL
   7027 if test -n "$DLLTOOL"; then
   7028   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   7029 printf "%s\n" "$DLLTOOL" >&6; }
   7030 else
   7031   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7032 printf "%s\n" "no" >&6; }
   7033 fi
   7034 
   7035 
   7036 fi
   7037 if test -z "$ac_cv_prog_DLLTOOL"; then
   7038   ac_ct_DLLTOOL=$DLLTOOL
   7039   # Extract the first word of "dlltool", so it can be a program name with args.
   7040 set dummy dlltool; ac_word=$2
   7041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7042 printf %s "checking for $ac_word... " >&6; }
   7043 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   7044 then :
   7045   printf %s "(cached) " >&6
   7046 else case e in #(
   7047   e) if test -n "$ac_ct_DLLTOOL"; then
   7048   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   7049 else
   7050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7051 for as_dir in $PATH
   7052 do
   7053   IFS=$as_save_IFS
   7054   case $as_dir in #(((
   7055     '') as_dir=./ ;;
   7056     */) ;;
   7057     *) as_dir=$as_dir/ ;;
   7058   esac
   7059     for ac_exec_ext in '' $ac_executable_extensions; do
   7060   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7061     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   7062     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7063     break 2
   7064   fi
   7065 done
   7066   done
   7067 IFS=$as_save_IFS
   7068 
   7069 fi ;;
   7070 esac
   7071 fi
   7072 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   7073 if test -n "$ac_ct_DLLTOOL"; then
   7074   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   7075 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   7076 else
   7077   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7078 printf "%s\n" "no" >&6; }
   7079 fi
   7080 
   7081   if test "x$ac_ct_DLLTOOL" = x; then
   7082     DLLTOOL="false"
   7083   else
   7084     case $cross_compiling:$ac_tool_warned in
   7085 yes:)
   7086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7087 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7088 ac_tool_warned=yes ;;
   7089 esac
   7090     DLLTOOL=$ac_ct_DLLTOOL
   7091   fi
   7092 else
   7093   DLLTOOL="$ac_cv_prog_DLLTOOL"
   7094 fi
   7095 
   7096 test -z "$DLLTOOL" && DLLTOOL=dlltool
   7097 
   7098 
   7099 
   7100 
   7101 
   7102 
   7103 
   7104 
   7105 
   7106 
   7107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   7108 printf %s "checking how to associate runtime and link libraries... " >&6; }
   7109 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   7110 then :
   7111   printf %s "(cached) " >&6
   7112 else case e in #(
   7113   e) lt_cv_sharedlib_from_linklib_cmd='unknown'
   7114 
   7115 case $host_os in
   7116 cygwin* | mingw* | windows* | pw32* | cegcc*)
   7117   # two different shell functions defined in ltmain.sh;
   7118   # decide which one to use based on capabilities of $DLLTOOL
   7119   case `$DLLTOOL --help 2>&1` in
   7120   *--identify-strict*)
   7121     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   7122     ;;
   7123   *)
   7124     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   7125     ;;
   7126   esac
   7127   ;;
   7128 *)
   7129   # fallback: assume linklib IS sharedlib
   7130   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   7131   ;;
   7132 esac
   7133  ;;
   7134 esac
   7135 fi
   7136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   7137 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   7138 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   7139 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   7140 
   7141 
   7142 
   7143 
   7144 
   7145 
   7146 
   7147 if test -n "$ac_tool_prefix"; then
   7148   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   7149 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   7150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7151 printf %s "checking for $ac_word... " >&6; }
   7152 if test ${ac_cv_prog_RANLIB+y}
   7153 then :
   7154   printf %s "(cached) " >&6
   7155 else case e in #(
   7156   e) if test -n "$RANLIB"; then
   7157   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   7158 else
   7159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7160 for as_dir in $PATH
   7161 do
   7162   IFS=$as_save_IFS
   7163   case $as_dir in #(((
   7164     '') as_dir=./ ;;
   7165     */) ;;
   7166     *) as_dir=$as_dir/ ;;
   7167   esac
   7168     for ac_exec_ext in '' $ac_executable_extensions; do
   7169   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7170     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   7171     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7172     break 2
   7173   fi
   7174 done
   7175   done
   7176 IFS=$as_save_IFS
   7177 
   7178 fi ;;
   7179 esac
   7180 fi
   7181 RANLIB=$ac_cv_prog_RANLIB
   7182 if test -n "$RANLIB"; then
   7183   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   7184 printf "%s\n" "$RANLIB" >&6; }
   7185 else
   7186   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7187 printf "%s\n" "no" >&6; }
   7188 fi
   7189 
   7190 
   7191 fi
   7192 if test -z "$ac_cv_prog_RANLIB"; then
   7193   ac_ct_RANLIB=$RANLIB
   7194   # Extract the first word of "ranlib", so it can be a program name with args.
   7195 set dummy ranlib; ac_word=$2
   7196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7197 printf %s "checking for $ac_word... " >&6; }
   7198 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   7199 then :
   7200   printf %s "(cached) " >&6
   7201 else case e in #(
   7202   e) if test -n "$ac_ct_RANLIB"; then
   7203   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   7204 else
   7205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7206 for as_dir in $PATH
   7207 do
   7208   IFS=$as_save_IFS
   7209   case $as_dir in #(((
   7210     '') as_dir=./ ;;
   7211     */) ;;
   7212     *) as_dir=$as_dir/ ;;
   7213   esac
   7214     for ac_exec_ext in '' $ac_executable_extensions; do
   7215   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7216     ac_cv_prog_ac_ct_RANLIB="ranlib"
   7217     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7218     break 2
   7219   fi
   7220 done
   7221   done
   7222 IFS=$as_save_IFS
   7223 
   7224 fi ;;
   7225 esac
   7226 fi
   7227 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   7228 if test -n "$ac_ct_RANLIB"; then
   7229   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   7230 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   7231 else
   7232   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7233 printf "%s\n" "no" >&6; }
   7234 fi
   7235 
   7236   if test "x$ac_ct_RANLIB" = x; then
   7237     RANLIB=":"
   7238   else
   7239     case $cross_compiling:$ac_tool_warned in
   7240 yes:)
   7241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7242 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7243 ac_tool_warned=yes ;;
   7244 esac
   7245     RANLIB=$ac_ct_RANLIB
   7246   fi
   7247 else
   7248   RANLIB="$ac_cv_prog_RANLIB"
   7249 fi
   7250 
   7251 if test -n "$ac_tool_prefix"; then
   7252   for ac_prog in ar
   7253   do
   7254     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   7255 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   7256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7257 printf %s "checking for $ac_word... " >&6; }
   7258 if test ${ac_cv_prog_AR+y}
   7259 then :
   7260   printf %s "(cached) " >&6
   7261 else case e in #(
   7262   e) if test -n "$AR"; then
   7263   ac_cv_prog_AR="$AR" # Let the user override the test.
   7264 else
   7265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7266 for as_dir in $PATH
   7267 do
   7268   IFS=$as_save_IFS
   7269   case $as_dir in #(((
   7270     '') as_dir=./ ;;
   7271     */) ;;
   7272     *) as_dir=$as_dir/ ;;
   7273   esac
   7274     for ac_exec_ext in '' $ac_executable_extensions; do
   7275   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7276     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   7277     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7278     break 2
   7279   fi
   7280 done
   7281   done
   7282 IFS=$as_save_IFS
   7283 
   7284 fi ;;
   7285 esac
   7286 fi
   7287 AR=$ac_cv_prog_AR
   7288 if test -n "$AR"; then
   7289   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   7290 printf "%s\n" "$AR" >&6; }
   7291 else
   7292   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7293 printf "%s\n" "no" >&6; }
   7294 fi
   7295 
   7296 
   7297     test -n "$AR" && break
   7298   done
   7299 fi
   7300 if test -z "$AR"; then
   7301   ac_ct_AR=$AR
   7302   for ac_prog in ar
   7303 do
   7304   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7305 set dummy $ac_prog; ac_word=$2
   7306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7307 printf %s "checking for $ac_word... " >&6; }
   7308 if test ${ac_cv_prog_ac_ct_AR+y}
   7309 then :
   7310   printf %s "(cached) " >&6
   7311 else case e in #(
   7312   e) if test -n "$ac_ct_AR"; then
   7313   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   7314 else
   7315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7316 for as_dir in $PATH
   7317 do
   7318   IFS=$as_save_IFS
   7319   case $as_dir in #(((
   7320     '') as_dir=./ ;;
   7321     */) ;;
   7322     *) as_dir=$as_dir/ ;;
   7323   esac
   7324     for ac_exec_ext in '' $ac_executable_extensions; do
   7325   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7326     ac_cv_prog_ac_ct_AR="$ac_prog"
   7327     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7328     break 2
   7329   fi
   7330 done
   7331   done
   7332 IFS=$as_save_IFS
   7333 
   7334 fi ;;
   7335 esac
   7336 fi
   7337 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   7338 if test -n "$ac_ct_AR"; then
   7339   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   7340 printf "%s\n" "$ac_ct_AR" >&6; }
   7341 else
   7342   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7343 printf "%s\n" "no" >&6; }
   7344 fi
   7345 
   7346 
   7347   test -n "$ac_ct_AR" && break
   7348 done
   7349 
   7350   if test "x$ac_ct_AR" = x; then
   7351     AR="false"
   7352   else
   7353     case $cross_compiling:$ac_tool_warned in
   7354 yes:)
   7355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7356 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7357 ac_tool_warned=yes ;;
   7358 esac
   7359     AR=$ac_ct_AR
   7360   fi
   7361 fi
   7362 
   7363 : ${AR=ar}
   7364 
   7365 
   7366 
   7367 
   7368 
   7369 
   7370 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   7371 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   7372 # higher priority because that's what people were doing historically (setting
   7373 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   7374 # variable obsoleted/removed.
   7375 
   7376 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   7377 lt_ar_flags=$AR_FLAGS
   7378 
   7379 
   7380 
   7381 
   7382 
   7383 
   7384 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   7385 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   7386 
   7387 
   7388 
   7389 
   7390 
   7391 
   7392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   7393 printf %s "checking for archiver @FILE support... " >&6; }
   7394 if test ${lt_cv_ar_at_file+y}
   7395 then :
   7396   printf %s "(cached) " >&6
   7397 else case e in #(
   7398   e) lt_cv_ar_at_file=no
   7399    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7400 /* end confdefs.h.  */
   7401 
   7402 int
   7403 main (void)
   7404 {
   7405 
   7406   ;
   7407   return 0;
   7408 }
   7409 _ACEOF
   7410 if ac_fn_c_try_compile "$LINENO"
   7411 then :
   7412   echo conftest.$ac_objext > conftest.lst
   7413       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   7414       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   7415   (eval $lt_ar_try) 2>&5
   7416   ac_status=$?
   7417   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7418   test $ac_status = 0; }
   7419       if test 0 -eq "$ac_status"; then
   7420 	# Ensure the archiver fails upon bogus file names.
   7421 	rm -f conftest.$ac_objext libconftest.a
   7422 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   7423   (eval $lt_ar_try) 2>&5
   7424   ac_status=$?
   7425   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7426   test $ac_status = 0; }
   7427 	if test 0 -ne "$ac_status"; then
   7428           lt_cv_ar_at_file=@
   7429         fi
   7430       fi
   7431       rm -f conftest.* libconftest.a
   7432 
   7433 fi
   7434 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7435    ;;
   7436 esac
   7437 fi
   7438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   7439 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   7440 
   7441 if test no = "$lt_cv_ar_at_file"; then
   7442   archiver_list_spec=
   7443 else
   7444   archiver_list_spec=$lt_cv_ar_at_file
   7445 fi
   7446 
   7447 
   7448 
   7449 
   7450 
   7451 
   7452 
   7453 if test -n "$ac_tool_prefix"; then
   7454   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   7455 set dummy ${ac_tool_prefix}strip; ac_word=$2
   7456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7457 printf %s "checking for $ac_word... " >&6; }
   7458 if test ${ac_cv_prog_STRIP+y}
   7459 then :
   7460   printf %s "(cached) " >&6
   7461 else case e in #(
   7462   e) if test -n "$STRIP"; then
   7463   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   7464 else
   7465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7466 for as_dir in $PATH
   7467 do
   7468   IFS=$as_save_IFS
   7469   case $as_dir in #(((
   7470     '') as_dir=./ ;;
   7471     */) ;;
   7472     *) as_dir=$as_dir/ ;;
   7473   esac
   7474     for ac_exec_ext in '' $ac_executable_extensions; do
   7475   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7476     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7477     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7478     break 2
   7479   fi
   7480 done
   7481   done
   7482 IFS=$as_save_IFS
   7483 
   7484 fi ;;
   7485 esac
   7486 fi
   7487 STRIP=$ac_cv_prog_STRIP
   7488 if test -n "$STRIP"; then
   7489   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   7490 printf "%s\n" "$STRIP" >&6; }
   7491 else
   7492   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7493 printf "%s\n" "no" >&6; }
   7494 fi
   7495 
   7496 
   7497 fi
   7498 if test -z "$ac_cv_prog_STRIP"; then
   7499   ac_ct_STRIP=$STRIP
   7500   # Extract the first word of "strip", so it can be a program name with args.
   7501 set dummy strip; ac_word=$2
   7502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7503 printf %s "checking for $ac_word... " >&6; }
   7504 if test ${ac_cv_prog_ac_ct_STRIP+y}
   7505 then :
   7506   printf %s "(cached) " >&6
   7507 else case e in #(
   7508   e) if test -n "$ac_ct_STRIP"; then
   7509   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7510 else
   7511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7512 for as_dir in $PATH
   7513 do
   7514   IFS=$as_save_IFS
   7515   case $as_dir in #(((
   7516     '') as_dir=./ ;;
   7517     */) ;;
   7518     *) as_dir=$as_dir/ ;;
   7519   esac
   7520     for ac_exec_ext in '' $ac_executable_extensions; do
   7521   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7522     ac_cv_prog_ac_ct_STRIP="strip"
   7523     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7524     break 2
   7525   fi
   7526 done
   7527   done
   7528 IFS=$as_save_IFS
   7529 
   7530 fi ;;
   7531 esac
   7532 fi
   7533 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7534 if test -n "$ac_ct_STRIP"; then
   7535   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   7536 printf "%s\n" "$ac_ct_STRIP" >&6; }
   7537 else
   7538   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7539 printf "%s\n" "no" >&6; }
   7540 fi
   7541 
   7542   if test "x$ac_ct_STRIP" = x; then
   7543     STRIP=":"
   7544   else
   7545     case $cross_compiling:$ac_tool_warned in
   7546 yes:)
   7547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7548 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7549 ac_tool_warned=yes ;;
   7550 esac
   7551     STRIP=$ac_ct_STRIP
   7552   fi
   7553 else
   7554   STRIP="$ac_cv_prog_STRIP"
   7555 fi
   7556 
   7557 test -z "$STRIP" && STRIP=:
   7558 
   7559 
   7560 
   7561 
   7562 
   7563 
   7564 
   7565 test -z "$RANLIB" && RANLIB=:
   7566 
   7567 
   7568 
   7569 
   7570 
   7571 
   7572 # Determine commands to create old-style static archives.
   7573 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7574 old_postinstall_cmds='chmod 644 $oldlib'
   7575 old_postuninstall_cmds=
   7576 
   7577 if test -n "$RANLIB"; then
   7578   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   7579   old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   7580 fi
   7581 
   7582 case $host_os in
   7583   darwin*)
   7584     lock_old_archive_extraction=yes ;;
   7585   *)
   7586     lock_old_archive_extraction=no ;;
   7587 esac
   7588 
   7589 
   7590 
   7591 
   7592 
   7593 
   7594 
   7595 
   7596 
   7597 
   7598 
   7599 
   7600 
   7601 
   7602 
   7603 
   7604 
   7605 
   7606 
   7607 
   7608 
   7609 
   7610 
   7611 
   7612 
   7613 
   7614 
   7615 
   7616 
   7617 
   7618 
   7619 
   7620 
   7621 
   7622 
   7623 
   7624 
   7625 
   7626 
   7627 # If no C compiler was specified, use CC.
   7628 LTCC=${LTCC-"$CC"}
   7629 
   7630 # If no C compiler flags were specified, use CFLAGS.
   7631 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7632 
   7633 # Allow CC to be a program name with arguments.
   7634 compiler=$CC
   7635 
   7636 
   7637 # Check for command to grab the raw symbol name followed by C symbol from nm.
   7638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   7639 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   7640 if test ${lt_cv_sys_global_symbol_pipe+y}
   7641 then :
   7642   printf %s "(cached) " >&6
   7643 else case e in #(
   7644   e)
   7645 # These are sane defaults that work on at least a few old systems.
   7646 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   7647 
   7648 # Character class describing NM global symbol codes.
   7649 symcode='[BCDEGRST]'
   7650 
   7651 # Regexp to match symbols that can be accessed directly from C.
   7652 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   7653 
   7654 # Define system-specific variables.
   7655 case $host_os in
   7656 aix*)
   7657   symcode='[BCDT]'
   7658   ;;
   7659 cygwin* | mingw* | windows* | pw32* | cegcc*)
   7660   symcode='[ABCDGISTW]'
   7661   ;;
   7662 hpux*)
   7663   if test ia64 = "$host_cpu"; then
   7664     symcode='[ABCDEGRST]'
   7665   fi
   7666   ;;
   7667 irix* | nonstopux*)
   7668   symcode='[BCDEGRST]'
   7669   ;;
   7670 osf*)
   7671   symcode='[BCDEGQRST]'
   7672   ;;
   7673 solaris*)
   7674   symcode='[BCDRT]'
   7675   ;;
   7676 sco3.2v5*)
   7677   symcode='[DT]'
   7678   ;;
   7679 sysv4.2uw2*)
   7680   symcode='[DT]'
   7681   ;;
   7682 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   7683   symcode='[ABDT]'
   7684   ;;
   7685 sysv4)
   7686   symcode='[DFNSTU]'
   7687   ;;
   7688 esac
   7689 
   7690 # If we're using GNU nm, then use its standard symbol codes.
   7691 case `$NM -V 2>&1` in
   7692 *GNU* | *'with BFD'*)
   7693   symcode='[ABCDGIRSTW]' ;;
   7694 esac
   7695 
   7696 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7697   # Gets list of data symbols to import.
   7698   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   7699   # Adjust the below global symbol transforms to fixup imported variables.
   7700   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   7701   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   7702   lt_c_name_lib_hook="\
   7703   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   7704   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   7705 else
   7706   # Disable hooks by default.
   7707   lt_cv_sys_global_symbol_to_import=
   7708   lt_cdecl_hook=
   7709   lt_c_name_hook=
   7710   lt_c_name_lib_hook=
   7711 fi
   7712 
   7713 # Transform an extracted symbol line into a proper C declaration.
   7714 # Some systems (esp. on ia64) link data and code symbols differently,
   7715 # so use this general approach.
   7716 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   7717 $lt_cdecl_hook\
   7718 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   7719 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   7720 
   7721 # Transform an extracted symbol line into symbol name and symbol address
   7722 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   7723 $lt_c_name_hook\
   7724 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7725 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   7726 
   7727 # Transform an extracted symbol line into symbol name with lib prefix and
   7728 # symbol address.
   7729 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   7730 $lt_c_name_lib_hook\
   7731 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7732 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   7733 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   7734 
   7735 # Handle CRLF in mingw tool chain
   7736 opt_cr=
   7737 case $build_os in
   7738 mingw* | windows*)
   7739   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7740   ;;
   7741 esac
   7742 
   7743 # Try without a prefix underscore, then with it.
   7744 for ac_symprfx in "" "_"; do
   7745 
   7746   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7747   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7748 
   7749   # Write the raw and C identifiers.
   7750   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7751     # Fake it for dumpbin and say T for any non-static function,
   7752     # D for any global variable and I for any imported variable.
   7753     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   7754     # which start with @ or ?.
   7755     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7756 "     {last_section=section; section=\$ 3};"\
   7757 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   7758 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7759 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   7760 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   7761 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   7762 "     \$ 0!~/External *\|/{next};"\
   7763 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7764 "     {if(hide[section]) next};"\
   7765 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   7766 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   7767 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   7768 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   7769 "     ' prfx=^$ac_symprfx"
   7770   else
   7771     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7772   fi
   7773   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   7774 
   7775   # Check to see that the pipe works correctly.
   7776   pipe_works=no
   7777 
   7778   rm -f conftest*
   7779   cat > conftest.$ac_ext <<_LT_EOF
   7780 #ifdef __cplusplus
   7781 extern "C" {
   7782 #endif
   7783 char nm_test_var;
   7784 void nm_test_func(void);
   7785 void nm_test_func(void){}
   7786 #ifdef __cplusplus
   7787 }
   7788 #endif
   7789 int main(void){nm_test_var='a';nm_test_func();return(0);}
   7790 _LT_EOF
   7791 
   7792   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7793   (eval $ac_compile) 2>&5
   7794   ac_status=$?
   7795   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7796   test $ac_status = 0; }; then
   7797     # Now try to grab the symbols.
   7798     nlist=conftest.nm
   7799     $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
   7800     if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
   7801       # Try sorting and uniquifying the output.
   7802       if sort "$nlist" | uniq > "$nlist"T; then
   7803 	mv -f "$nlist"T "$nlist"
   7804       else
   7805 	rm -f "$nlist"T
   7806       fi
   7807 
   7808       # Make sure that we snagged all the symbols we need.
   7809       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7810 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7811 	  cat <<_LT_EOF > conftest.$ac_ext
   7812 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   7813 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   7814 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   7815    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   7816 # define LT_DLSYM_CONST
   7817 #elif defined __osf__
   7818 /* This system does not cope well with relocations in const data.  */
   7819 # define LT_DLSYM_CONST
   7820 #else
   7821 # define LT_DLSYM_CONST const
   7822 #endif
   7823 
   7824 #ifdef __cplusplus
   7825 extern "C" {
   7826 #endif
   7827 
   7828 _LT_EOF
   7829 	  # Now generate the symbol file.
   7830 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7831 
   7832 	  cat <<_LT_EOF >> conftest.$ac_ext
   7833 
   7834 /* The mapping between symbol names and symbols.  */
   7835 LT_DLSYM_CONST struct {
   7836   const char *name;
   7837   void       *address;
   7838 }
   7839 lt__PROGRAM__LTX_preloaded_symbols[] =
   7840 {
   7841   { "@PROGRAM@", (void *) 0 },
   7842 _LT_EOF
   7843 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7844 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7845   {0, (void *) 0}
   7846 };
   7847 
   7848 /* This works around a problem in FreeBSD linker */
   7849 #ifdef FREEBSD_WORKAROUND
   7850 static const void *lt_preloaded_setup() {
   7851   return lt__PROGRAM__LTX_preloaded_symbols;
   7852 }
   7853 #endif
   7854 
   7855 #ifdef __cplusplus
   7856 }
   7857 #endif
   7858 _LT_EOF
   7859 	  # Now try linking the two files.
   7860 	  mv conftest.$ac_objext conftstm.$ac_objext
   7861 	  lt_globsym_save_LIBS=$LIBS
   7862 	  lt_globsym_save_CFLAGS=$CFLAGS
   7863 	  LIBS=conftstm.$ac_objext
   7864 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7865 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7866   (eval $ac_link) 2>&5
   7867   ac_status=$?
   7868   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7869   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   7870 	    pipe_works=yes
   7871 	  fi
   7872 	  LIBS=$lt_globsym_save_LIBS
   7873 	  CFLAGS=$lt_globsym_save_CFLAGS
   7874 	else
   7875 	  echo "cannot find nm_test_func in $nlist" >&5
   7876 	fi
   7877       else
   7878 	echo "cannot find nm_test_var in $nlist" >&5
   7879       fi
   7880     else
   7881       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7882     fi
   7883   else
   7884     echo "$progname: failed program was:" >&5
   7885     cat conftest.$ac_ext >&5
   7886   fi
   7887   rm -rf conftest* conftst*
   7888 
   7889   # Do not use the global_symbol_pipe unless it works.
   7890   if test yes = "$pipe_works"; then
   7891     break
   7892   else
   7893     lt_cv_sys_global_symbol_pipe=
   7894   fi
   7895 done
   7896  ;;
   7897 esac
   7898 fi
   7899 
   7900 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7901   lt_cv_sys_global_symbol_to_cdecl=
   7902 fi
   7903 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7904   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7905 printf "%s\n" "failed" >&6; }
   7906 else
   7907   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7908 printf "%s\n" "ok" >&6; }
   7909 fi
   7910 
   7911 # Response file support.
   7912 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7913   nm_file_list_spec='@'
   7914 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7915   nm_file_list_spec='@'
   7916 fi
   7917 
   7918 
   7919 
   7920 
   7921 
   7922 
   7923 
   7924 
   7925 
   7926 
   7927 
   7928 
   7929 
   7930 
   7931 
   7932 
   7933 
   7934 
   7935 
   7936 
   7937 
   7938 
   7939 
   7940 
   7941 
   7942 
   7943 
   7944 
   7945 
   7946 
   7947 
   7948 
   7949 
   7950 
   7951 
   7952 
   7953 
   7954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7955 printf %s "checking for sysroot... " >&6; }
   7956 
   7957 # Check whether --with-sysroot was given.
   7958 if test ${with_sysroot+y}
   7959 then :
   7960   withval=$with_sysroot;
   7961 else case e in #(
   7962   e) with_sysroot=no ;;
   7963 esac
   7964 fi
   7965 
   7966 
   7967 lt_sysroot=
   7968 case $with_sysroot in #(
   7969  yes)
   7970    if test yes = "$GCC"; then
   7971      # Trim trailing / since we'll always append absolute paths and we want
   7972      # to avoid //, if only for less confusing output for the user.
   7973      lt_sysroot=`$CC --print-sysroot 2>/dev/null | $SED 's:/\+$::'`
   7974    fi
   7975    ;; #(
   7976  /*)
   7977    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   7978    ;; #(
   7979  no|'')
   7980    ;; #(
   7981  *)
   7982    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   7983 printf "%s\n" "$with_sysroot" >&6; }
   7984    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7985    ;;
   7986 esac
   7987 
   7988  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7989 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   7990 
   7991 
   7992 
   7993 
   7994 
   7995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   7996 printf %s "checking for a working dd... " >&6; }
   7997 if test ${ac_cv_path_lt_DD+y}
   7998 then :
   7999   printf %s "(cached) " >&6
   8000 else case e in #(
   8001   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   8002 cat conftest.i conftest.i >conftest2.i
   8003 : ${lt_DD:=$DD}
   8004 if test -z "$lt_DD"; then
   8005   ac_path_lt_DD_found=false
   8006   # Loop through the user's path and test for each of PROGNAME-LIST
   8007   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8008 for as_dir in $PATH
   8009 do
   8010   IFS=$as_save_IFS
   8011   case $as_dir in #(((
   8012     '') as_dir=./ ;;
   8013     */) ;;
   8014     *) as_dir=$as_dir/ ;;
   8015   esac
   8016     for ac_prog in dd
   8017    do
   8018     for ac_exec_ext in '' $ac_executable_extensions; do
   8019       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   8020       as_fn_executable_p "$ac_path_lt_DD" || continue
   8021 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   8022   cmp -s conftest.i conftest.out \
   8023   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   8024 fi
   8025       $ac_path_lt_DD_found && break 3
   8026     done
   8027   done
   8028   done
   8029 IFS=$as_save_IFS
   8030   if test -z "$ac_cv_path_lt_DD"; then
   8031     :
   8032   fi
   8033 else
   8034   ac_cv_path_lt_DD=$lt_DD
   8035 fi
   8036 
   8037 rm -f conftest.i conftest2.i conftest.out ;;
   8038 esac
   8039 fi
   8040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   8041 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   8042 
   8043 
   8044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   8045 printf %s "checking how to truncate binary pipes... " >&6; }
   8046 if test ${lt_cv_truncate_bin+y}
   8047 then :
   8048   printf %s "(cached) " >&6
   8049 else case e in #(
   8050   e) printf 0123456789abcdef0123456789abcdef >conftest.i
   8051 cat conftest.i conftest.i >conftest2.i
   8052 lt_cv_truncate_bin=
   8053 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   8054   cmp -s conftest.i conftest.out \
   8055   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   8056 fi
   8057 rm -f conftest.i conftest2.i conftest.out
   8058 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" ;;
   8059 esac
   8060 fi
   8061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   8062 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   8063 
   8064 
   8065 
   8066 
   8067 
   8068 
   8069 
   8070 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   8071 func_cc_basename ()
   8072 {
   8073     for cc_temp in $*""; do
   8074       case $cc_temp in
   8075         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8076         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8077         \-*) ;;
   8078         *) break;;
   8079       esac
   8080     done
   8081     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   8082 }
   8083 
   8084 # Check whether --enable-libtool-lock was given.
   8085 if test ${enable_libtool_lock+y}
   8086 then :
   8087   enableval=$enable_libtool_lock;
   8088 fi
   8089 
   8090 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   8091 
   8092 # Some flags need to be propagated to the compiler or linker for good
   8093 # libtool support.
   8094 case $host in
   8095 ia64-*-hpux*)
   8096   # Find out what ABI is being produced by ac_compile, and set mode
   8097   # options accordingly.
   8098   echo 'int i;' > conftest.$ac_ext
   8099   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8100   (eval $ac_compile) 2>&5
   8101   ac_status=$?
   8102   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8103   test $ac_status = 0; }; then
   8104     case `$FILECMD conftest.$ac_objext` in
   8105       *ELF-32*)
   8106 	HPUX_IA64_MODE=32
   8107 	;;
   8108       *ELF-64*)
   8109 	HPUX_IA64_MODE=64
   8110 	;;
   8111     esac
   8112   fi
   8113   rm -rf conftest*
   8114   ;;
   8115 *-*-irix6*)
   8116   # Find out what ABI is being produced by ac_compile, and set linker
   8117   # options accordingly.
   8118   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   8119   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8120   (eval $ac_compile) 2>&5
   8121   ac_status=$?
   8122   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8123   test $ac_status = 0; }; then
   8124     if test yes = "$lt_cv_prog_gnu_ld"; then
   8125       case `$FILECMD conftest.$ac_objext` in
   8126 	*32-bit*)
   8127 	  LD="${LD-ld} -melf32bsmip"
   8128 	  ;;
   8129 	*N32*)
   8130 	  LD="${LD-ld} -melf32bmipn32"
   8131 	  ;;
   8132 	*64-bit*)
   8133 	  LD="${LD-ld} -melf64bmip"
   8134 	;;
   8135       esac
   8136     else
   8137       case `$FILECMD conftest.$ac_objext` in
   8138 	*32-bit*)
   8139 	  LD="${LD-ld} -32"
   8140 	  ;;
   8141 	*N32*)
   8142 	  LD="${LD-ld} -n32"
   8143 	  ;;
   8144 	*64-bit*)
   8145 	  LD="${LD-ld} -64"
   8146 	  ;;
   8147       esac
   8148     fi
   8149   fi
   8150   rm -rf conftest*
   8151   ;;
   8152 
   8153 mips64*-*linux*)
   8154   # Find out what ABI is being produced by ac_compile, and set linker
   8155   # options accordingly.
   8156   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   8157   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8158   (eval $ac_compile) 2>&5
   8159   ac_status=$?
   8160   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8161   test $ac_status = 0; }; then
   8162     emul=elf
   8163     case `$FILECMD conftest.$ac_objext` in
   8164       *32-bit*)
   8165 	emul="${emul}32"
   8166 	;;
   8167       *64-bit*)
   8168 	emul="${emul}64"
   8169 	;;
   8170     esac
   8171     case `$FILECMD conftest.$ac_objext` in
   8172       *MSB*)
   8173 	emul="${emul}btsmip"
   8174 	;;
   8175       *LSB*)
   8176 	emul="${emul}ltsmip"
   8177 	;;
   8178     esac
   8179     case `$FILECMD conftest.$ac_objext` in
   8180       *N32*)
   8181 	emul="${emul}n32"
   8182 	;;
   8183     esac
   8184     LD="${LD-ld} -m $emul"
   8185   fi
   8186   rm -rf conftest*
   8187   ;;
   8188 
   8189 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   8190 s390*-*linux*|s390*-*tpf*|sparc*-*linux*|x86_64-gnu*)
   8191   # Find out what ABI is being produced by ac_compile, and set linker
   8192   # options accordingly.  Note that the listed cases only cover the
   8193   # situations where additional linker options are needed (such as when
   8194   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   8195   # vice versa); the common cases where no linker options are needed do
   8196   # not appear in the list.
   8197   echo 'int i;' > conftest.$ac_ext
   8198   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8199   (eval $ac_compile) 2>&5
   8200   ac_status=$?
   8201   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8202   test $ac_status = 0; }; then
   8203     case `$FILECMD conftest.o` in
   8204       *32-bit*)
   8205 	case $host in
   8206 	  x86_64-*kfreebsd*-gnu)
   8207 	    LD="${LD-ld} -m elf_i386_fbsd"
   8208 	    ;;
   8209 	  x86_64-*linux*|x86_64-gnu*)
   8210 	    case `$FILECMD conftest.o` in
   8211 	      *x86-64*)
   8212 		LD="${LD-ld} -m elf32_x86_64"
   8213 		;;
   8214 	      *)
   8215 		LD="${LD-ld} -m elf_i386"
   8216 		;;
   8217 	    esac
   8218 	    ;;
   8219 	  powerpc64le-*linux*)
   8220 	    LD="${LD-ld} -m elf32lppclinux"
   8221 	    ;;
   8222 	  powerpc64-*linux*)
   8223 	    LD="${LD-ld} -m elf32ppclinux"
   8224 	    ;;
   8225 	  s390x-*linux*)
   8226 	    LD="${LD-ld} -m elf_s390"
   8227 	    ;;
   8228 	  sparc64-*linux*)
   8229 	    LD="${LD-ld} -m elf32_sparc"
   8230 	    ;;
   8231 	esac
   8232 	;;
   8233       *64-bit*)
   8234 	case $host in
   8235 	  x86_64-*kfreebsd*-gnu)
   8236 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   8237 	    ;;
   8238 	  x86_64-*linux*|x86_64-gnu*)
   8239 	    LD="${LD-ld} -m elf_x86_64"
   8240 	    ;;
   8241 	  powerpcle-*linux*)
   8242 	    LD="${LD-ld} -m elf64lppc"
   8243 	    ;;
   8244 	  powerpc-*linux*)
   8245 	    LD="${LD-ld} -m elf64ppc"
   8246 	    ;;
   8247 	  s390*-*linux*|s390*-*tpf*)
   8248 	    LD="${LD-ld} -m elf64_s390"
   8249 	    ;;
   8250 	  sparc*-*linux*)
   8251 	    LD="${LD-ld} -m elf64_sparc"
   8252 	    ;;
   8253 	esac
   8254 	;;
   8255     esac
   8256   fi
   8257   rm -rf conftest*
   8258   ;;
   8259 
   8260 *-*-sco3.2v5*)
   8261   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   8262   SAVE_CFLAGS=$CFLAGS
   8263   CFLAGS="$CFLAGS -belf"
   8264   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   8265 printf %s "checking whether the C compiler needs -belf... " >&6; }
   8266 if test ${lt_cv_cc_needs_belf+y}
   8267 then :
   8268   printf %s "(cached) " >&6
   8269 else case e in #(
   8270   e) ac_ext=c
   8271 ac_cpp='$CPP $CPPFLAGS'
   8272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8275 
   8276      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8277 /* end confdefs.h.  */
   8278 
   8279 int
   8280 main (void)
   8281 {
   8282 
   8283   ;
   8284   return 0;
   8285 }
   8286 _ACEOF
   8287 if ac_fn_c_try_link "$LINENO"
   8288 then :
   8289   lt_cv_cc_needs_belf=yes
   8290 else case e in #(
   8291   e) lt_cv_cc_needs_belf=no ;;
   8292 esac
   8293 fi
   8294 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8295     conftest$ac_exeext conftest.$ac_ext
   8296      ac_ext=c
   8297 ac_cpp='$CPP $CPPFLAGS'
   8298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8301  ;;
   8302 esac
   8303 fi
   8304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   8305 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   8306   if test yes != "$lt_cv_cc_needs_belf"; then
   8307     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   8308     CFLAGS=$SAVE_CFLAGS
   8309   fi
   8310   ;;
   8311 *-*solaris*)
   8312   # Find out what ABI is being produced by ac_compile, and set linker
   8313   # options accordingly.
   8314   echo 'int i;' > conftest.$ac_ext
   8315   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8316   (eval $ac_compile) 2>&5
   8317   ac_status=$?
   8318   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8319   test $ac_status = 0; }; then
   8320     case `$FILECMD conftest.o` in
   8321     *64-bit*)
   8322       case $lt_cv_prog_gnu_ld in
   8323       yes*)
   8324         case $host in
   8325         i?86-*-solaris*|x86_64-*-solaris*)
   8326           LD="${LD-ld} -m elf_x86_64"
   8327           ;;
   8328         sparc*-*-solaris*)
   8329           LD="${LD-ld} -m elf64_sparc"
   8330           ;;
   8331         esac
   8332         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   8333         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   8334           LD=${LD-ld}_sol2
   8335         fi
   8336         ;;
   8337       *)
   8338 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   8339 	  LD="${LD-ld} -64"
   8340 	fi
   8341 	;;
   8342       esac
   8343       ;;
   8344     esac
   8345   fi
   8346   rm -rf conftest*
   8347   ;;
   8348 esac
   8349 
   8350 need_locks=$enable_libtool_lock
   8351 
   8352 if test -n "$ac_tool_prefix"; then
   8353   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   8354 set dummy ${ac_tool_prefix}mt; ac_word=$2
   8355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8356 printf %s "checking for $ac_word... " >&6; }
   8357 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   8358 then :
   8359   printf %s "(cached) " >&6
   8360 else case e in #(
   8361   e) if test -n "$MANIFEST_TOOL"; then
   8362   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   8363 else
   8364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8365 for as_dir in $PATH
   8366 do
   8367   IFS=$as_save_IFS
   8368   case $as_dir in #(((
   8369     '') as_dir=./ ;;
   8370     */) ;;
   8371     *) as_dir=$as_dir/ ;;
   8372   esac
   8373     for ac_exec_ext in '' $ac_executable_extensions; do
   8374   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8375     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   8376     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8377     break 2
   8378   fi
   8379 done
   8380   done
   8381 IFS=$as_save_IFS
   8382 
   8383 fi ;;
   8384 esac
   8385 fi
   8386 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   8387 if test -n "$MANIFEST_TOOL"; then
   8388   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   8389 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   8390 else
   8391   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8392 printf "%s\n" "no" >&6; }
   8393 fi
   8394 
   8395 
   8396 fi
   8397 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   8398   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   8399   # Extract the first word of "mt", so it can be a program name with args.
   8400 set dummy mt; ac_word=$2
   8401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8402 printf %s "checking for $ac_word... " >&6; }
   8403 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   8404 then :
   8405   printf %s "(cached) " >&6
   8406 else case e in #(
   8407   e) if test -n "$ac_ct_MANIFEST_TOOL"; then
   8408   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   8409 else
   8410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8411 for as_dir in $PATH
   8412 do
   8413   IFS=$as_save_IFS
   8414   case $as_dir in #(((
   8415     '') as_dir=./ ;;
   8416     */) ;;
   8417     *) as_dir=$as_dir/ ;;
   8418   esac
   8419     for ac_exec_ext in '' $ac_executable_extensions; do
   8420   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8421     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   8422     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8423     break 2
   8424   fi
   8425 done
   8426   done
   8427 IFS=$as_save_IFS
   8428 
   8429 fi ;;
   8430 esac
   8431 fi
   8432 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   8433 if test -n "$ac_ct_MANIFEST_TOOL"; then
   8434   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   8435 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   8436 else
   8437   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8438 printf "%s\n" "no" >&6; }
   8439 fi
   8440 
   8441   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   8442     MANIFEST_TOOL=":"
   8443   else
   8444     case $cross_compiling:$ac_tool_warned in
   8445 yes:)
   8446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8447 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8448 ac_tool_warned=yes ;;
   8449 esac
   8450     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   8451   fi
   8452 else
   8453   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   8454 fi
   8455 
   8456 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   8457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   8458 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   8459 if test ${lt_cv_path_manifest_tool+y}
   8460 then :
   8461   printf %s "(cached) " >&6
   8462 else case e in #(
   8463   e) lt_cv_path_manifest_tool=no
   8464   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   8465   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   8466   cat conftest.err >&5
   8467   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   8468     lt_cv_path_manifest_tool=yes
   8469   fi
   8470   rm -f conftest* ;;
   8471 esac
   8472 fi
   8473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_manifest_tool" >&5
   8474 printf "%s\n" "$lt_cv_path_manifest_tool" >&6; }
   8475 if test yes != "$lt_cv_path_manifest_tool"; then
   8476   MANIFEST_TOOL=:
   8477 fi
   8478 
   8479 
   8480 
   8481 
   8482 
   8483 
   8484   case $host_os in
   8485     rhapsody* | darwin*)
   8486     if test -n "$ac_tool_prefix"; then
   8487   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   8488 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   8489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8490 printf %s "checking for $ac_word... " >&6; }
   8491 if test ${ac_cv_prog_DSYMUTIL+y}
   8492 then :
   8493   printf %s "(cached) " >&6
   8494 else case e in #(
   8495   e) if test -n "$DSYMUTIL"; then
   8496   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   8497 else
   8498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8499 for as_dir in $PATH
   8500 do
   8501   IFS=$as_save_IFS
   8502   case $as_dir in #(((
   8503     '') as_dir=./ ;;
   8504     */) ;;
   8505     *) as_dir=$as_dir/ ;;
   8506   esac
   8507     for ac_exec_ext in '' $ac_executable_extensions; do
   8508   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8509     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   8510     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8511     break 2
   8512   fi
   8513 done
   8514   done
   8515 IFS=$as_save_IFS
   8516 
   8517 fi ;;
   8518 esac
   8519 fi
   8520 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   8521 if test -n "$DSYMUTIL"; then
   8522   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   8523 printf "%s\n" "$DSYMUTIL" >&6; }
   8524 else
   8525   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8526 printf "%s\n" "no" >&6; }
   8527 fi
   8528 
   8529 
   8530 fi
   8531 if test -z "$ac_cv_prog_DSYMUTIL"; then
   8532   ac_ct_DSYMUTIL=$DSYMUTIL
   8533   # Extract the first word of "dsymutil", so it can be a program name with args.
   8534 set dummy dsymutil; ac_word=$2
   8535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8536 printf %s "checking for $ac_word... " >&6; }
   8537 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   8538 then :
   8539   printf %s "(cached) " >&6
   8540 else case e in #(
   8541   e) if test -n "$ac_ct_DSYMUTIL"; then
   8542   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   8543 else
   8544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8545 for as_dir in $PATH
   8546 do
   8547   IFS=$as_save_IFS
   8548   case $as_dir in #(((
   8549     '') as_dir=./ ;;
   8550     */) ;;
   8551     *) as_dir=$as_dir/ ;;
   8552   esac
   8553     for ac_exec_ext in '' $ac_executable_extensions; do
   8554   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8555     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   8556     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8557     break 2
   8558   fi
   8559 done
   8560   done
   8561 IFS=$as_save_IFS
   8562 
   8563 fi ;;
   8564 esac
   8565 fi
   8566 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   8567 if test -n "$ac_ct_DSYMUTIL"; then
   8568   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   8569 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   8570 else
   8571   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8572 printf "%s\n" "no" >&6; }
   8573 fi
   8574 
   8575   if test "x$ac_ct_DSYMUTIL" = x; then
   8576     DSYMUTIL=":"
   8577   else
   8578     case $cross_compiling:$ac_tool_warned in
   8579 yes:)
   8580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8581 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8582 ac_tool_warned=yes ;;
   8583 esac
   8584     DSYMUTIL=$ac_ct_DSYMUTIL
   8585   fi
   8586 else
   8587   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   8588 fi
   8589 
   8590     if test -n "$ac_tool_prefix"; then
   8591   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   8592 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   8593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8594 printf %s "checking for $ac_word... " >&6; }
   8595 if test ${ac_cv_prog_NMEDIT+y}
   8596 then :
   8597   printf %s "(cached) " >&6
   8598 else case e in #(
   8599   e) if test -n "$NMEDIT"; then
   8600   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   8601 else
   8602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8603 for as_dir in $PATH
   8604 do
   8605   IFS=$as_save_IFS
   8606   case $as_dir in #(((
   8607     '') as_dir=./ ;;
   8608     */) ;;
   8609     *) as_dir=$as_dir/ ;;
   8610   esac
   8611     for ac_exec_ext in '' $ac_executable_extensions; do
   8612   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8613     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   8614     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8615     break 2
   8616   fi
   8617 done
   8618   done
   8619 IFS=$as_save_IFS
   8620 
   8621 fi ;;
   8622 esac
   8623 fi
   8624 NMEDIT=$ac_cv_prog_NMEDIT
   8625 if test -n "$NMEDIT"; then
   8626   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   8627 printf "%s\n" "$NMEDIT" >&6; }
   8628 else
   8629   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8630 printf "%s\n" "no" >&6; }
   8631 fi
   8632 
   8633 
   8634 fi
   8635 if test -z "$ac_cv_prog_NMEDIT"; then
   8636   ac_ct_NMEDIT=$NMEDIT
   8637   # Extract the first word of "nmedit", so it can be a program name with args.
   8638 set dummy nmedit; ac_word=$2
   8639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8640 printf %s "checking for $ac_word... " >&6; }
   8641 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   8642 then :
   8643   printf %s "(cached) " >&6
   8644 else case e in #(
   8645   e) if test -n "$ac_ct_NMEDIT"; then
   8646   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   8647 else
   8648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8649 for as_dir in $PATH
   8650 do
   8651   IFS=$as_save_IFS
   8652   case $as_dir in #(((
   8653     '') as_dir=./ ;;
   8654     */) ;;
   8655     *) as_dir=$as_dir/ ;;
   8656   esac
   8657     for ac_exec_ext in '' $ac_executable_extensions; do
   8658   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8659     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   8660     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8661     break 2
   8662   fi
   8663 done
   8664   done
   8665 IFS=$as_save_IFS
   8666 
   8667 fi ;;
   8668 esac
   8669 fi
   8670 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   8671 if test -n "$ac_ct_NMEDIT"; then
   8672   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   8673 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   8674 else
   8675   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8676 printf "%s\n" "no" >&6; }
   8677 fi
   8678 
   8679   if test "x$ac_ct_NMEDIT" = x; then
   8680     NMEDIT=":"
   8681   else
   8682     case $cross_compiling:$ac_tool_warned in
   8683 yes:)
   8684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8685 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8686 ac_tool_warned=yes ;;
   8687 esac
   8688     NMEDIT=$ac_ct_NMEDIT
   8689   fi
   8690 else
   8691   NMEDIT="$ac_cv_prog_NMEDIT"
   8692 fi
   8693 
   8694     if test -n "$ac_tool_prefix"; then
   8695   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   8696 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   8697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8698 printf %s "checking for $ac_word... " >&6; }
   8699 if test ${ac_cv_prog_LIPO+y}
   8700 then :
   8701   printf %s "(cached) " >&6
   8702 else case e in #(
   8703   e) if test -n "$LIPO"; then
   8704   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8705 else
   8706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8707 for as_dir in $PATH
   8708 do
   8709   IFS=$as_save_IFS
   8710   case $as_dir in #(((
   8711     '') as_dir=./ ;;
   8712     */) ;;
   8713     *) as_dir=$as_dir/ ;;
   8714   esac
   8715     for ac_exec_ext in '' $ac_executable_extensions; do
   8716   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8717     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   8718     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8719     break 2
   8720   fi
   8721 done
   8722   done
   8723 IFS=$as_save_IFS
   8724 
   8725 fi ;;
   8726 esac
   8727 fi
   8728 LIPO=$ac_cv_prog_LIPO
   8729 if test -n "$LIPO"; then
   8730   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8731 printf "%s\n" "$LIPO" >&6; }
   8732 else
   8733   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8734 printf "%s\n" "no" >&6; }
   8735 fi
   8736 
   8737 
   8738 fi
   8739 if test -z "$ac_cv_prog_LIPO"; then
   8740   ac_ct_LIPO=$LIPO
   8741   # Extract the first word of "lipo", so it can be a program name with args.
   8742 set dummy lipo; ac_word=$2
   8743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8744 printf %s "checking for $ac_word... " >&6; }
   8745 if test ${ac_cv_prog_ac_ct_LIPO+y}
   8746 then :
   8747   printf %s "(cached) " >&6
   8748 else case e in #(
   8749   e) if test -n "$ac_ct_LIPO"; then
   8750   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   8751 else
   8752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8753 for as_dir in $PATH
   8754 do
   8755   IFS=$as_save_IFS
   8756   case $as_dir in #(((
   8757     '') as_dir=./ ;;
   8758     */) ;;
   8759     *) as_dir=$as_dir/ ;;
   8760   esac
   8761     for ac_exec_ext in '' $ac_executable_extensions; do
   8762   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8763     ac_cv_prog_ac_ct_LIPO="lipo"
   8764     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8765     break 2
   8766   fi
   8767 done
   8768   done
   8769 IFS=$as_save_IFS
   8770 
   8771 fi ;;
   8772 esac
   8773 fi
   8774 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   8775 if test -n "$ac_ct_LIPO"; then
   8776   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   8777 printf "%s\n" "$ac_ct_LIPO" >&6; }
   8778 else
   8779   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8780 printf "%s\n" "no" >&6; }
   8781 fi
   8782 
   8783   if test "x$ac_ct_LIPO" = x; then
   8784     LIPO=":"
   8785   else
   8786     case $cross_compiling:$ac_tool_warned in
   8787 yes:)
   8788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8789 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8790 ac_tool_warned=yes ;;
   8791 esac
   8792     LIPO=$ac_ct_LIPO
   8793   fi
   8794 else
   8795   LIPO="$ac_cv_prog_LIPO"
   8796 fi
   8797 
   8798     if test -n "$ac_tool_prefix"; then
   8799   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   8800 set dummy ${ac_tool_prefix}otool; ac_word=$2
   8801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8802 printf %s "checking for $ac_word... " >&6; }
   8803 if test ${ac_cv_prog_OTOOL+y}
   8804 then :
   8805   printf %s "(cached) " >&6
   8806 else case e in #(
   8807   e) if test -n "$OTOOL"; then
   8808   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   8809 else
   8810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8811 for as_dir in $PATH
   8812 do
   8813   IFS=$as_save_IFS
   8814   case $as_dir in #(((
   8815     '') as_dir=./ ;;
   8816     */) ;;
   8817     *) as_dir=$as_dir/ ;;
   8818   esac
   8819     for ac_exec_ext in '' $ac_executable_extensions; do
   8820   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8821     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   8822     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8823     break 2
   8824   fi
   8825 done
   8826   done
   8827 IFS=$as_save_IFS
   8828 
   8829 fi ;;
   8830 esac
   8831 fi
   8832 OTOOL=$ac_cv_prog_OTOOL
   8833 if test -n "$OTOOL"; then
   8834   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   8835 printf "%s\n" "$OTOOL" >&6; }
   8836 else
   8837   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8838 printf "%s\n" "no" >&6; }
   8839 fi
   8840 
   8841 
   8842 fi
   8843 if test -z "$ac_cv_prog_OTOOL"; then
   8844   ac_ct_OTOOL=$OTOOL
   8845   # Extract the first word of "otool", so it can be a program name with args.
   8846 set dummy otool; ac_word=$2
   8847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8848 printf %s "checking for $ac_word... " >&6; }
   8849 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   8850 then :
   8851   printf %s "(cached) " >&6
   8852 else case e in #(
   8853   e) if test -n "$ac_ct_OTOOL"; then
   8854   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8855 else
   8856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8857 for as_dir in $PATH
   8858 do
   8859   IFS=$as_save_IFS
   8860   case $as_dir in #(((
   8861     '') as_dir=./ ;;
   8862     */) ;;
   8863     *) as_dir=$as_dir/ ;;
   8864   esac
   8865     for ac_exec_ext in '' $ac_executable_extensions; do
   8866   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8867     ac_cv_prog_ac_ct_OTOOL="otool"
   8868     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8869     break 2
   8870   fi
   8871 done
   8872   done
   8873 IFS=$as_save_IFS
   8874 
   8875 fi ;;
   8876 esac
   8877 fi
   8878 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8879 if test -n "$ac_ct_OTOOL"; then
   8880   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8881 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   8882 else
   8883   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8884 printf "%s\n" "no" >&6; }
   8885 fi
   8886 
   8887   if test "x$ac_ct_OTOOL" = x; then
   8888     OTOOL=":"
   8889   else
   8890     case $cross_compiling:$ac_tool_warned in
   8891 yes:)
   8892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8893 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8894 ac_tool_warned=yes ;;
   8895 esac
   8896     OTOOL=$ac_ct_OTOOL
   8897   fi
   8898 else
   8899   OTOOL="$ac_cv_prog_OTOOL"
   8900 fi
   8901 
   8902     if test -n "$ac_tool_prefix"; then
   8903   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8904 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8906 printf %s "checking for $ac_word... " >&6; }
   8907 if test ${ac_cv_prog_OTOOL64+y}
   8908 then :
   8909   printf %s "(cached) " >&6
   8910 else case e in #(
   8911   e) if test -n "$OTOOL64"; then
   8912   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8913 else
   8914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8915 for as_dir in $PATH
   8916 do
   8917   IFS=$as_save_IFS
   8918   case $as_dir in #(((
   8919     '') as_dir=./ ;;
   8920     */) ;;
   8921     *) as_dir=$as_dir/ ;;
   8922   esac
   8923     for ac_exec_ext in '' $ac_executable_extensions; do
   8924   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8925     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8926     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8927     break 2
   8928   fi
   8929 done
   8930   done
   8931 IFS=$as_save_IFS
   8932 
   8933 fi ;;
   8934 esac
   8935 fi
   8936 OTOOL64=$ac_cv_prog_OTOOL64
   8937 if test -n "$OTOOL64"; then
   8938   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8939 printf "%s\n" "$OTOOL64" >&6; }
   8940 else
   8941   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8942 printf "%s\n" "no" >&6; }
   8943 fi
   8944 
   8945 
   8946 fi
   8947 if test -z "$ac_cv_prog_OTOOL64"; then
   8948   ac_ct_OTOOL64=$OTOOL64
   8949   # Extract the first word of "otool64", so it can be a program name with args.
   8950 set dummy otool64; ac_word=$2
   8951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8952 printf %s "checking for $ac_word... " >&6; }
   8953 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   8954 then :
   8955   printf %s "(cached) " >&6
   8956 else case e in #(
   8957   e) if test -n "$ac_ct_OTOOL64"; then
   8958   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8959 else
   8960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8961 for as_dir in $PATH
   8962 do
   8963   IFS=$as_save_IFS
   8964   case $as_dir in #(((
   8965     '') as_dir=./ ;;
   8966     */) ;;
   8967     *) as_dir=$as_dir/ ;;
   8968   esac
   8969     for ac_exec_ext in '' $ac_executable_extensions; do
   8970   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8971     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8972     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8973     break 2
   8974   fi
   8975 done
   8976   done
   8977 IFS=$as_save_IFS
   8978 
   8979 fi ;;
   8980 esac
   8981 fi
   8982 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8983 if test -n "$ac_ct_OTOOL64"; then
   8984   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8985 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   8986 else
   8987   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8988 printf "%s\n" "no" >&6; }
   8989 fi
   8990 
   8991   if test "x$ac_ct_OTOOL64" = x; then
   8992     OTOOL64=":"
   8993   else
   8994     case $cross_compiling:$ac_tool_warned in
   8995 yes:)
   8996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8997 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8998 ac_tool_warned=yes ;;
   8999 esac
   9000     OTOOL64=$ac_ct_OTOOL64
   9001   fi
   9002 else
   9003   OTOOL64="$ac_cv_prog_OTOOL64"
   9004 fi
   9005 
   9006 
   9007 
   9008 
   9009 
   9010 
   9011 
   9012 
   9013 
   9014 
   9015 
   9016 
   9017 
   9018 
   9019 
   9020 
   9021 
   9022 
   9023 
   9024 
   9025 
   9026 
   9027 
   9028 
   9029 
   9030 
   9031 
   9032     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   9033 printf %s "checking for -single_module linker flag... " >&6; }
   9034 if test ${lt_cv_apple_cc_single_mod+y}
   9035 then :
   9036   printf %s "(cached) " >&6
   9037 else case e in #(
   9038   e) lt_cv_apple_cc_single_mod=no
   9039       if test -z "$LT_MULTI_MODULE"; then
   9040 	# By default we will add the -single_module flag. You can override
   9041 	# by either setting the environment variable LT_MULTI_MODULE
   9042 	# non-empty at configure time, or by adding -multi_module to the
   9043 	# link flags.
   9044 	rm -rf libconftest.dylib*
   9045 	echo "int foo(void){return 1;}" > conftest.c
   9046 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   9047 -dynamiclib -Wl,-single_module conftest.c" >&5
   9048 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   9049 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   9050         _lt_result=$?
   9051 	# If there is a non-empty error log, and "single_module"
   9052 	# appears in it, assume the flag caused a linker warning
   9053         if test -s conftest.err && $GREP single_module conftest.err; then
   9054 	  cat conftest.err >&5
   9055 	# Otherwise, if the output was created with a 0 exit code from
   9056 	# the compiler, it worked.
   9057 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   9058 	  lt_cv_apple_cc_single_mod=yes
   9059 	else
   9060 	  cat conftest.err >&5
   9061 	fi
   9062 	rm -rf libconftest.dylib*
   9063 	rm -f conftest.*
   9064       fi ;;
   9065 esac
   9066 fi
   9067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   9068 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   9069 
   9070     # Feature test to disable chained fixups since it is not
   9071     # compatible with '-undefined dynamic_lookup'
   9072     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -no_fixup_chains linker flag" >&5
   9073 printf %s "checking for -no_fixup_chains linker flag... " >&6; }
   9074 if test ${lt_cv_support_no_fixup_chains+y}
   9075 then :
   9076   printf %s "(cached) " >&6
   9077 else case e in #(
   9078   e)  save_LDFLAGS=$LDFLAGS
   9079         LDFLAGS="$LDFLAGS -Wl,-no_fixup_chains"
   9080         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9081 /* end confdefs.h.  */
   9082 
   9083 int
   9084 main (void)
   9085 {
   9086 
   9087   ;
   9088   return 0;
   9089 }
   9090 _ACEOF
   9091 if ac_fn_c_try_link "$LINENO"
   9092 then :
   9093   lt_cv_support_no_fixup_chains=yes
   9094 else case e in #(
   9095   e) lt_cv_support_no_fixup_chains=no
   9096          ;;
   9097 esac
   9098 fi
   9099 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9100     conftest$ac_exeext conftest.$ac_ext
   9101         LDFLAGS=$save_LDFLAGS
   9102 
   9103      ;;
   9104 esac
   9105 fi
   9106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_support_no_fixup_chains" >&5
   9107 printf "%s\n" "$lt_cv_support_no_fixup_chains" >&6; }
   9108 
   9109     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   9110 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   9111 if test ${lt_cv_ld_exported_symbols_list+y}
   9112 then :
   9113   printf %s "(cached) " >&6
   9114 else case e in #(
   9115   e) lt_cv_ld_exported_symbols_list=no
   9116       save_LDFLAGS=$LDFLAGS
   9117       echo "_main" > conftest.sym
   9118       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   9119       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9120 /* end confdefs.h.  */
   9121 
   9122 int
   9123 main (void)
   9124 {
   9125 
   9126   ;
   9127   return 0;
   9128 }
   9129 _ACEOF
   9130 if ac_fn_c_try_link "$LINENO"
   9131 then :
   9132   lt_cv_ld_exported_symbols_list=yes
   9133 else case e in #(
   9134   e) lt_cv_ld_exported_symbols_list=no ;;
   9135 esac
   9136 fi
   9137 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9138     conftest$ac_exeext conftest.$ac_ext
   9139 	LDFLAGS=$save_LDFLAGS
   9140      ;;
   9141 esac
   9142 fi
   9143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   9144 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   9145 
   9146     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   9147 printf %s "checking for -force_load linker flag... " >&6; }
   9148 if test ${lt_cv_ld_force_load+y}
   9149 then :
   9150   printf %s "(cached) " >&6
   9151 else case e in #(
   9152   e) lt_cv_ld_force_load=no
   9153       cat > conftest.c << _LT_EOF
   9154 int forced_loaded() { return 2;}
   9155 _LT_EOF
   9156       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   9157       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   9158       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   9159       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   9160       echo "$RANLIB libconftest.a" >&5
   9161       $RANLIB libconftest.a 2>&5
   9162       cat > conftest.c << _LT_EOF
   9163 int main(void) { return 0;}
   9164 _LT_EOF
   9165       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   9166       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   9167       _lt_result=$?
   9168       if test -s conftest.err && $GREP force_load conftest.err; then
   9169 	cat conftest.err >&5
   9170       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   9171 	lt_cv_ld_force_load=yes
   9172       else
   9173 	cat conftest.err >&5
   9174       fi
   9175         rm -f conftest.err libconftest.a conftest conftest.c
   9176         rm -rf conftest.dSYM
   9177      ;;
   9178 esac
   9179 fi
   9180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   9181 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   9182     case $host_os in
   9183     rhapsody* | darwin1.[012])
   9184       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   9185     darwin1.*)
   9186       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   9187     darwin*)
   9188       case $MACOSX_DEPLOYMENT_TARGET,$host in
   9189         10.[012],*|,*powerpc*-darwin[5-8]*)
   9190           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   9191         *)
   9192           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup'
   9193           if test yes = "$lt_cv_support_no_fixup_chains"; then
   9194             as_fn_append _lt_dar_allow_undefined ' $wl-no_fixup_chains'
   9195           fi
   9196         ;;
   9197       esac
   9198     ;;
   9199   esac
   9200     if test yes = "$lt_cv_apple_cc_single_mod"; then
   9201       _lt_dar_single_mod='$single_module'
   9202     fi
   9203     _lt_dar_needs_single_mod=no
   9204     case $host_os in
   9205     rhapsody* | darwin1.*)
   9206       _lt_dar_needs_single_mod=yes ;;
   9207     darwin*)
   9208       # When targeting Mac OS X 10.4 (darwin 8) or later,
   9209       # -single_module is the default and -multi_module is unsupported.
   9210       # The toolchain on macOS 10.14 (darwin 18) and later cannot
   9211       # target any OS version that needs -single_module.
   9212       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   9213       10.0,*-darwin[567].*|10.[0-3],*-darwin[5-9].*|10.[0-3],*-darwin1[0-7].*)
   9214         _lt_dar_needs_single_mod=yes ;;
   9215       esac
   9216     ;;
   9217     esac
   9218     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   9219       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   9220     else
   9221       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   9222     fi
   9223     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   9224       _lt_dsymutil='~$DSYMUTIL $lib || :'
   9225     else
   9226       _lt_dsymutil=
   9227     fi
   9228     ;;
   9229   esac
   9230 
   9231 # func_munge_path_list VARIABLE PATH
   9232 # -----------------------------------
   9233 # VARIABLE is name of variable containing _space_ separated list of
   9234 # directories to be munged by the contents of PATH, which is string
   9235 # having a format:
   9236 # "DIR[:DIR]:"
   9237 #       string "DIR[ DIR]" will be prepended to VARIABLE
   9238 # ":DIR[:DIR]"
   9239 #       string "DIR[ DIR]" will be appended to VARIABLE
   9240 # "DIRP[:DIRP]::[DIRA:]DIRA"
   9241 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   9242 #       "DIRA[ DIRA]" will be appended to VARIABLE
   9243 # "DIR[:DIR]"
   9244 #       VARIABLE will be replaced by "DIR[ DIR]"
   9245 func_munge_path_list ()
   9246 {
   9247     case x$2 in
   9248     x)
   9249         ;;
   9250     *:)
   9251         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   9252         ;;
   9253     x:*)
   9254         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   9255         ;;
   9256     *::*)
   9257         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   9258         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   9259         ;;
   9260     *)
   9261         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   9262         ;;
   9263     esac
   9264 }
   9265 
   9266 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   9267 "
   9268 if test "x$ac_cv_header_dlfcn_h" = xyes
   9269 then :
   9270   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   9271 
   9272 fi
   9273 
   9274 
   9275 
   9276 
   9277 
   9278 # Set options
   9279 
   9280 
   9281 
   9282         enable_dlopen=no
   9283 
   9284 
   9285   enable_win32_dll=no
   9286 
   9287 
   9288             # Check whether --enable-shared was given.
   9289 if test ${enable_shared+y}
   9290 then :
   9291   enableval=$enable_shared; p=${PACKAGE-default}
   9292     case $enableval in
   9293     yes) enable_shared=yes ;;
   9294     no) enable_shared=no ;;
   9295     *)
   9296       enable_shared=no
   9297       # Look at the argument we got.  We use all the common list separators.
   9298       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9299       for pkg in $enableval; do
   9300 	IFS=$lt_save_ifs
   9301 	if test "X$pkg" = "X$p"; then
   9302 	  enable_shared=yes
   9303 	fi
   9304       done
   9305       IFS=$lt_save_ifs
   9306       ;;
   9307     esac
   9308 else case e in #(
   9309   e) enable_shared=yes ;;
   9310 esac
   9311 fi
   9312 
   9313 
   9314 
   9315 
   9316 
   9317 
   9318 
   9319 
   9320 
   9321   # Check whether --enable-static was given.
   9322 if test ${enable_static+y}
   9323 then :
   9324   enableval=$enable_static; p=${PACKAGE-default}
   9325     case $enableval in
   9326     yes) enable_static=yes ;;
   9327     no) enable_static=no ;;
   9328     *)
   9329      enable_static=no
   9330       # Look at the argument we got.  We use all the common list separators.
   9331       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9332       for pkg in $enableval; do
   9333 	IFS=$lt_save_ifs
   9334 	if test "X$pkg" = "X$p"; then
   9335 	  enable_static=yes
   9336 	fi
   9337       done
   9338       IFS=$lt_save_ifs
   9339       ;;
   9340     esac
   9341 else case e in #(
   9342   e) enable_static=yes ;;
   9343 esac
   9344 fi
   9345 
   9346 
   9347 
   9348 
   9349 
   9350 
   9351 
   9352 
   9353 
   9354   # Check whether --enable-pic was given.
   9355 if test ${enable_pic+y}
   9356 then :
   9357   enableval=$enable_pic; lt_p=${PACKAGE-default}
   9358      case $enableval in
   9359      yes|no) pic_mode=$enableval ;;
   9360      *)
   9361        pic_mode=default
   9362        # Look at the argument we got.  We use all the common list separators.
   9363        lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9364        for lt_pkg in $enableval; do
   9365 	 IFS=$lt_save_ifs
   9366 	 if test "X$lt_pkg" = "X$lt_p"; then
   9367 	   pic_mode=yes
   9368 	 fi
   9369        done
   9370        IFS=$lt_save_ifs
   9371        ;;
   9372      esac
   9373 else case e in #(
   9374   e)           # Check whether --with-pic was given.
   9375 if test ${with_pic+y}
   9376 then :
   9377   withval=$with_pic; lt_p=${PACKAGE-default}
   9378 	 case $withval in
   9379 	 yes|no) pic_mode=$withval ;;
   9380 	 *)
   9381 	   pic_mode=default
   9382 	   # Look at the argument we got.  We use all the common list separators.
   9383 	   lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9384 	   for lt_pkg in $withval; do
   9385 	     IFS=$lt_save_ifs
   9386 	     if test "X$lt_pkg" = "X$lt_p"; then
   9387 	       pic_mode=yes
   9388 	     fi
   9389 	   done
   9390 	   IFS=$lt_save_ifs
   9391 	   ;;
   9392 	 esac
   9393 else case e in #(
   9394   e) pic_mode=default ;;
   9395 esac
   9396 fi
   9397 
   9398      ;;
   9399 esac
   9400 fi
   9401 
   9402 
   9403 
   9404 
   9405 
   9406 
   9407 
   9408 
   9409   # Check whether --enable-fast-install was given.
   9410 if test ${enable_fast_install+y}
   9411 then :
   9412   enableval=$enable_fast_install; p=${PACKAGE-default}
   9413     case $enableval in
   9414     yes) enable_fast_install=yes ;;
   9415     no) enable_fast_install=no ;;
   9416     *)
   9417       enable_fast_install=no
   9418       # Look at the argument we got.  We use all the common list separators.
   9419       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   9420       for pkg in $enableval; do
   9421 	IFS=$lt_save_ifs
   9422 	if test "X$pkg" = "X$p"; then
   9423 	  enable_fast_install=yes
   9424 	fi
   9425       done
   9426       IFS=$lt_save_ifs
   9427       ;;
   9428     esac
   9429 else case e in #(
   9430   e) enable_fast_install=yes ;;
   9431 esac
   9432 fi
   9433 
   9434 
   9435 
   9436 
   9437 
   9438 
   9439 
   9440 
   9441   shared_archive_member_spec=
   9442 case $host,$enable_shared in
   9443 power*-*-aix[5-9]*,yes)
   9444   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   9445 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   9446   # Check whether --enable-aix-soname was given.
   9447 if test ${enable_aix_soname+y}
   9448 then :
   9449   enableval=$enable_aix_soname; case $enableval in
   9450      aix|svr4|both)
   9451        ;;
   9452      *)
   9453        as_fn_error $? "Unknown argument to --enable-aix-soname" "$LINENO" 5
   9454        ;;
   9455      esac
   9456      lt_cv_with_aix_soname=$enable_aix_soname
   9457 else case e in #(
   9458   e) # Check whether --with-aix-soname was given.
   9459 if test ${with_aix_soname+y}
   9460 then :
   9461   withval=$with_aix_soname; case $withval in
   9462          aix|svr4|both)
   9463            ;;
   9464          *)
   9465            as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   9466            ;;
   9467          esac
   9468          lt_cv_with_aix_soname=$with_aix_soname
   9469 else case e in #(
   9470   e) if test ${lt_cv_with_aix_soname+y}
   9471 then :
   9472   printf %s "(cached) " >&6
   9473 else case e in #(
   9474   e) lt_cv_with_aix_soname=aix ;;
   9475 esac
   9476 fi
   9477  ;;
   9478 esac
   9479 fi
   9480 
   9481      enable_aix_soname=$lt_cv_with_aix_soname ;;
   9482 esac
   9483 fi
   9484 
   9485   with_aix_soname=$enable_aix_soname
   9486   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   9487 printf "%s\n" "$with_aix_soname" >&6; }
   9488   if test aix != "$with_aix_soname"; then
   9489     # For the AIX way of multilib, we name the shared archive member
   9490     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   9491     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   9492     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   9493     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   9494     if test 64 = "${OBJECT_MODE-32}"; then
   9495       shared_archive_member_spec=shr_64
   9496     else
   9497       shared_archive_member_spec=shr
   9498     fi
   9499   fi
   9500   ;;
   9501 *)
   9502   with_aix_soname=aix
   9503   ;;
   9504 esac
   9505 
   9506 
   9507 
   9508 
   9509 
   9510 
   9511 
   9512 
   9513 
   9514 
   9515 # This can be used to rebuild libtool when needed
   9516 LIBTOOL_DEPS=$ltmain
   9517 
   9518 # Always use our own libtool.
   9519 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   9520 
   9521 
   9522 
   9523 
   9524 
   9525 
   9526 
   9527 
   9528 
   9529 
   9530 
   9531 
   9532 
   9533 
   9534 
   9535 
   9536 
   9537 
   9538 
   9539 
   9540 
   9541 
   9542 
   9543 
   9544 
   9545 
   9546 
   9547 
   9548 
   9549 
   9550 test -z "$LN_S" && LN_S="ln -s"
   9551 
   9552 
   9553 
   9554 
   9555 
   9556 
   9557 
   9558 
   9559 
   9560 
   9561 
   9562 
   9563 
   9564 
   9565 if test -n "${ZSH_VERSION+set}"; then
   9566    setopt NO_GLOB_SUBST
   9567 fi
   9568 
   9569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   9570 printf %s "checking for objdir... " >&6; }
   9571 if test ${lt_cv_objdir+y}
   9572 then :
   9573   printf %s "(cached) " >&6
   9574 else case e in #(
   9575   e) rm -f .libs 2>/dev/null
   9576 mkdir .libs 2>/dev/null
   9577 if test -d .libs; then
   9578   lt_cv_objdir=.libs
   9579 else
   9580   # MS-DOS does not allow filenames that begin with a dot.
   9581   lt_cv_objdir=_libs
   9582 fi
   9583 rmdir .libs 2>/dev/null ;;
   9584 esac
   9585 fi
   9586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   9587 printf "%s\n" "$lt_cv_objdir" >&6; }
   9588 objdir=$lt_cv_objdir
   9589 
   9590 
   9591 
   9592 
   9593 
   9594 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   9595 
   9596 
   9597 
   9598 
   9599 case $host_os in
   9600 aix3*)
   9601   # AIX sometimes has problems with the GCC collect2 program.  For some
   9602   # reason, if we set the COLLECT_NAMES environment variable, the problems
   9603   # vanish in a puff of smoke.
   9604   if test set != "${COLLECT_NAMES+set}"; then
   9605     COLLECT_NAMES=
   9606     export COLLECT_NAMES
   9607   fi
   9608   ;;
   9609 esac
   9610 
   9611 # Global variables:
   9612 ofile=libtool
   9613 can_build_shared=yes
   9614 
   9615 # All known linkers require a '.a' archive for static linking (except MSVC and
   9616 # ICC, which need '.lib').
   9617 libext=a
   9618 
   9619 with_gnu_ld=$lt_cv_prog_gnu_ld
   9620 
   9621 old_CC=$CC
   9622 old_CFLAGS=$CFLAGS
   9623 
   9624 # Set sane defaults for various variables
   9625 test -z "$CC" && CC=cc
   9626 test -z "$LTCC" && LTCC=$CC
   9627 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   9628 test -z "$LD" && LD=ld
   9629 test -z "$ac_objext" && ac_objext=o
   9630 
   9631 func_cc_basename $compiler
   9632 cc_basename=$func_cc_basename_result
   9633 
   9634 
   9635 # Only perform the check for file, if the check method requires it
   9636 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   9637 case $deplibs_check_method in
   9638 file_magic*)
   9639   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   9640     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   9641 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   9642 if test ${lt_cv_path_MAGIC_CMD+y}
   9643 then :
   9644   printf %s "(cached) " >&6
   9645 else case e in #(
   9646   e) case $MAGIC_CMD in
   9647 [\\/*] |  ?:[\\/]*)
   9648   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9649   ;;
   9650 *)
   9651   lt_save_MAGIC_CMD=$MAGIC_CMD
   9652   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9653   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9654   for ac_dir in $ac_dummy; do
   9655     IFS=$lt_save_ifs
   9656     test -z "$ac_dir" && ac_dir=.
   9657     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   9658       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   9659       if test -n "$file_magic_test_file"; then
   9660 	case $deplibs_check_method in
   9661 	"file_magic "*)
   9662 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9663 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9664 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9665 	    $EGREP "$file_magic_regex" > /dev/null; then
   9666 	    :
   9667 	  else
   9668 	    cat <<_LT_EOF 1>&2
   9669 
   9670 *** Warning: the command libtool uses to detect shared libraries,
   9671 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9672 *** The result is that libtool may fail to recognize shared libraries
   9673 *** as such.  This will affect the creation of libtool libraries that
   9674 *** depend on shared libraries, but programs linked with such libtool
   9675 *** libraries will work regardless of this problem.  Nevertheless, you
   9676 *** may want to report the problem to your system manager and/or to
   9677 *** bug-libtool@gnu.org
   9678 
   9679 _LT_EOF
   9680 	  fi ;;
   9681 	esac
   9682       fi
   9683       break
   9684     fi
   9685   done
   9686   IFS=$lt_save_ifs
   9687   MAGIC_CMD=$lt_save_MAGIC_CMD
   9688   ;;
   9689 esac ;;
   9690 esac
   9691 fi
   9692 
   9693 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9694 if test -n "$MAGIC_CMD"; then
   9695   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9696 printf "%s\n" "$MAGIC_CMD" >&6; }
   9697 else
   9698   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9699 printf "%s\n" "no" >&6; }
   9700 fi
   9701 
   9702 
   9703 
   9704 
   9705 
   9706 if test -z "$lt_cv_path_MAGIC_CMD"; then
   9707   if test -n "$ac_tool_prefix"; then
   9708     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   9709 printf %s "checking for file... " >&6; }
   9710 if test ${lt_cv_path_MAGIC_CMD+y}
   9711 then :
   9712   printf %s "(cached) " >&6
   9713 else case e in #(
   9714   e) case $MAGIC_CMD in
   9715 [\\/*] |  ?:[\\/]*)
   9716   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9717   ;;
   9718 *)
   9719   lt_save_MAGIC_CMD=$MAGIC_CMD
   9720   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9721   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9722   for ac_dir in $ac_dummy; do
   9723     IFS=$lt_save_ifs
   9724     test -z "$ac_dir" && ac_dir=.
   9725     if test -f "$ac_dir/file"; then
   9726       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   9727       if test -n "$file_magic_test_file"; then
   9728 	case $deplibs_check_method in
   9729 	"file_magic "*)
   9730 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9731 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9732 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9733 	    $EGREP "$file_magic_regex" > /dev/null; then
   9734 	    :
   9735 	  else
   9736 	    cat <<_LT_EOF 1>&2
   9737 
   9738 *** Warning: the command libtool uses to detect shared libraries,
   9739 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9740 *** The result is that libtool may fail to recognize shared libraries
   9741 *** as such.  This will affect the creation of libtool libraries that
   9742 *** depend on shared libraries, but programs linked with such libtool
   9743 *** libraries will work regardless of this problem.  Nevertheless, you
   9744 *** may want to report the problem to your system manager and/or to
   9745 *** bug-libtool@gnu.org
   9746 
   9747 _LT_EOF
   9748 	  fi ;;
   9749 	esac
   9750       fi
   9751       break
   9752     fi
   9753   done
   9754   IFS=$lt_save_ifs
   9755   MAGIC_CMD=$lt_save_MAGIC_CMD
   9756   ;;
   9757 esac ;;
   9758 esac
   9759 fi
   9760 
   9761 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9762 if test -n "$MAGIC_CMD"; then
   9763   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9764 printf "%s\n" "$MAGIC_CMD" >&6; }
   9765 else
   9766   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9767 printf "%s\n" "no" >&6; }
   9768 fi
   9769 
   9770 
   9771   else
   9772     MAGIC_CMD=:
   9773   fi
   9774 fi
   9775 
   9776   fi
   9777   ;;
   9778 esac
   9779 
   9780 # Use C for the default configuration in the libtool script
   9781 
   9782 lt_save_CC=$CC
   9783 ac_ext=c
   9784 ac_cpp='$CPP $CPPFLAGS'
   9785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9788 
   9789 
   9790 # Source file extension for C test sources.
   9791 ac_ext=c
   9792 
   9793 # Object file extension for compiled C test sources.
   9794 objext=o
   9795 objext=$objext
   9796 
   9797 # Code to be used in simple compile tests
   9798 lt_simple_compile_test_code="int some_variable = 0;"
   9799 
   9800 # Code to be used in simple link tests
   9801 lt_simple_link_test_code='int main(void){return(0);}'
   9802 
   9803 
   9804 
   9805 
   9806 
   9807 
   9808 
   9809 # If no C compiler was specified, use CC.
   9810 LTCC=${LTCC-"$CC"}
   9811 
   9812 # If no C compiler flags were specified, use CFLAGS.
   9813 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   9814 
   9815 # Allow CC to be a program name with arguments.
   9816 compiler=$CC
   9817 
   9818 # Save the default compiler, since it gets overwritten when the other
   9819 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   9820 compiler_DEFAULT=$CC
   9821 
   9822 # save warnings/boilerplate of simple test code
   9823 ac_outfile=conftest.$ac_objext
   9824 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   9825 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9826 _lt_compiler_boilerplate=`cat conftest.err`
   9827 $RM conftest*
   9828 
   9829 ac_outfile=conftest.$ac_objext
   9830 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   9831 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9832 _lt_linker_boilerplate=`cat conftest.err`
   9833 $RM -r conftest*
   9834 
   9835 
   9836 ## CAVEAT EMPTOR:
   9837 ## There is no encapsulation within the following macros, do not change
   9838 ## the running order or otherwise move them around unless you know exactly
   9839 ## what you are doing...
   9840 if test -n "$compiler"; then
   9841 
   9842 lt_prog_compiler_no_builtin_flag=
   9843 
   9844 if test yes = "$GCC"; then
   9845   case $cc_basename in
   9846   nvcc*)
   9847     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   9848   *)
   9849     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   9850   esac
   9851 
   9852   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   9853 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   9854 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   9855 then :
   9856   printf %s "(cached) " >&6
   9857 else case e in #(
   9858   e) lt_cv_prog_compiler_rtti_exceptions=no
   9859    ac_outfile=conftest.$ac_objext
   9860    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9861    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   9862    # Insert the option either (1) after the last *FLAGS variable, or
   9863    # (2) before a word containing "conftest.", or (3) at the end.
   9864    # Note that $ac_compile itself does not contain backslashes and begins
   9865    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9866    # The option is referenced via a variable to avoid confusing sed.
   9867    lt_compile=`echo "$ac_compile" | $SED \
   9868    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9869    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9870    -e 's:$: $lt_compiler_flag:'`
   9871    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9872    (eval "$lt_compile" 2>conftest.err)
   9873    ac_status=$?
   9874    cat conftest.err >&5
   9875    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9876    if (exit $ac_status) && test -s "$ac_outfile"; then
   9877      # The compiler can only warn and ignore the option if not recognized
   9878      # So say no if there are warnings other than the usual output.
   9879      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9880      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9881      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9882        lt_cv_prog_compiler_rtti_exceptions=yes
   9883      fi
   9884    fi
   9885    $RM conftest*
   9886  ;;
   9887 esac
   9888 fi
   9889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   9890 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   9891 
   9892 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   9893     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   9894 else
   9895     :
   9896 fi
   9897 
   9898 fi
   9899 
   9900 
   9901 
   9902 
   9903 
   9904 
   9905   lt_prog_compiler_wl=
   9906 lt_prog_compiler_pic=
   9907 lt_prog_compiler_static=
   9908 
   9909 
   9910   if test yes = "$GCC"; then
   9911     lt_prog_compiler_wl='-Wl,'
   9912     lt_prog_compiler_static='-static'
   9913 
   9914     case $host_os in
   9915       aix*)
   9916       # All AIX code is PIC.
   9917       if test ia64 = "$host_cpu"; then
   9918 	# AIX 5 now supports IA64 processor
   9919 	lt_prog_compiler_static='-Bstatic'
   9920       fi
   9921       lt_prog_compiler_pic='-fPIC'
   9922       ;;
   9923 
   9924     amigaos*)
   9925       case $host_cpu in
   9926       powerpc)
   9927             # see comment about AmigaOS4 .so support
   9928             lt_prog_compiler_pic='-fPIC'
   9929         ;;
   9930       m68k)
   9931             # FIXME: we need at least 68020 code to build shared libraries, but
   9932             # adding the '-m68020' flag to GCC prevents building anything better,
   9933             # like '-m68040'.
   9934             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9935         ;;
   9936       esac
   9937       ;;
   9938 
   9939     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9940       # PIC is the default for these OSes.
   9941       ;;
   9942 
   9943     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   9944       # This hack is so that the source file can tell whether it is being
   9945       # built for inclusion in a dll (and should export symbols for example).
   9946       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9947       # (--disable-auto-import) libraries
   9948       lt_prog_compiler_pic='-DDLL_EXPORT'
   9949       case $host_os in
   9950       os2*)
   9951 	lt_prog_compiler_static='$wl-static'
   9952 	;;
   9953       esac
   9954       ;;
   9955 
   9956     darwin* | rhapsody*)
   9957       # PIC is the default on this platform
   9958       # Common symbols not allowed in MH_DYLIB files
   9959       lt_prog_compiler_pic='-fno-common'
   9960       ;;
   9961 
   9962     haiku*)
   9963       # PIC is the default for Haiku.
   9964       # The "-static" flag exists, but is broken.
   9965       lt_prog_compiler_static=
   9966       ;;
   9967 
   9968     hpux*)
   9969       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9970       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9971       # sets the default TLS model and affects inlining.
   9972       case $host_cpu in
   9973       hppa*64*)
   9974 	# +Z the default
   9975 	;;
   9976       *)
   9977 	lt_prog_compiler_pic='-fPIC'
   9978 	;;
   9979       esac
   9980       ;;
   9981 
   9982     interix[3-9]*)
   9983       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9984       # Instead, we relocate shared libraries at runtime.
   9985       ;;
   9986 
   9987     msdosdjgpp*)
   9988       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9989       # on systems that don't support them.
   9990       lt_prog_compiler_can_build_shared=no
   9991       enable_shared=no
   9992       ;;
   9993 
   9994     *nto* | *qnx*)
   9995       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9996       # it will coredump.
   9997       lt_prog_compiler_pic='-fPIC -shared'
   9998       ;;
   9999 
   10000     sysv4*MP*)
   10001       if test -d /usr/nec; then
   10002 	lt_prog_compiler_pic=-Kconform_pic
   10003       fi
   10004       ;;
   10005 
   10006     *)
   10007       lt_prog_compiler_pic='-fPIC'
   10008       ;;
   10009     esac
   10010 
   10011     case $cc_basename in
   10012     nvcc*) # Cuda Compiler Driver 2.2
   10013       lt_prog_compiler_wl='-Xlinker '
   10014       if test -n "$lt_prog_compiler_pic"; then
   10015         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   10016       fi
   10017       ;;
   10018     esac
   10019   else
   10020     # PORTME Check for flag to pass linker flags through the system compiler.
   10021     case $host_os in
   10022     aix*)
   10023       lt_prog_compiler_wl='-Wl,'
   10024       if test ia64 = "$host_cpu"; then
   10025 	# AIX 5 now supports IA64 processor
   10026 	lt_prog_compiler_static='-Bstatic'
   10027       else
   10028 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   10029       fi
   10030       ;;
   10031 
   10032     darwin* | rhapsody*)
   10033       # PIC is the default on this platform
   10034       # Common symbols not allowed in MH_DYLIB files
   10035       lt_prog_compiler_pic='-fno-common'
   10036       case $cc_basename in
   10037       nagfor*)
   10038         # NAG Fortran compiler
   10039         lt_prog_compiler_wl='-Wl,-Wl,,'
   10040         lt_prog_compiler_pic='-PIC'
   10041         lt_prog_compiler_static='-Bstatic'
   10042         ;;
   10043       esac
   10044       ;;
   10045 
   10046     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   10047       # This hack is so that the source file can tell whether it is being
   10048       # built for inclusion in a dll (and should export symbols for example).
   10049       lt_prog_compiler_pic='-DDLL_EXPORT'
   10050       case $host_os in
   10051       os2*)
   10052 	lt_prog_compiler_static='$wl-static'
   10053 	;;
   10054       esac
   10055       ;;
   10056 
   10057     hpux9* | hpux10* | hpux11*)
   10058       lt_prog_compiler_wl='-Wl,'
   10059       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   10060       # not for PA HP-UX.
   10061       case $host_cpu in
   10062       hppa*64*|ia64*)
   10063 	# +Z the default
   10064 	;;
   10065       *)
   10066 	lt_prog_compiler_pic='+Z'
   10067 	;;
   10068       esac
   10069       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   10070       lt_prog_compiler_static='$wl-a ${wl}archive'
   10071       ;;
   10072 
   10073     irix5* | irix6* | nonstopux*)
   10074       lt_prog_compiler_wl='-Wl,'
   10075       # PIC (with -KPIC) is the default.
   10076       lt_prog_compiler_static='-non_shared'
   10077       ;;
   10078 
   10079     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   10080       case $cc_basename in
   10081       # old Intel for x86_64, which still supported -KPIC.
   10082       ecc*)
   10083 	lt_prog_compiler_wl='-Wl,'
   10084 	lt_prog_compiler_pic='-KPIC'
   10085 	lt_prog_compiler_static='-static'
   10086         ;;
   10087       *flang* | ftn | f18* | f95*)
   10088         # Flang compiler.
   10089 	lt_prog_compiler_wl='-Wl,'
   10090 	lt_prog_compiler_pic='-fPIC'
   10091 	lt_prog_compiler_static='-static'
   10092         ;;
   10093       # icc used to be incompatible with GCC.
   10094       # ICC 10 doesn't accept -KPIC any more.
   10095       icc* | ifort*)
   10096 	lt_prog_compiler_wl='-Wl,'
   10097 	lt_prog_compiler_pic='-fPIC'
   10098 	lt_prog_compiler_static='-static'
   10099         ;;
   10100       # Lahey Fortran 8.1.
   10101       lf95*)
   10102 	lt_prog_compiler_wl='-Wl,'
   10103 	lt_prog_compiler_pic='--shared'
   10104 	lt_prog_compiler_static='--static'
   10105 	;;
   10106       nagfor*)
   10107 	# NAG Fortran compiler
   10108 	lt_prog_compiler_wl='-Wl,-Wl,,'
   10109 	lt_prog_compiler_pic='-PIC'
   10110 	lt_prog_compiler_static='-Bstatic'
   10111 	;;
   10112       tcc*)
   10113 	# Fabrice Bellard et al's Tiny C Compiler
   10114 	lt_prog_compiler_wl='-Wl,'
   10115 	lt_prog_compiler_pic='-fPIC'
   10116 	lt_prog_compiler_static='-static'
   10117 	;;
   10118       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   10119         # Portland Group compilers (*not* the Pentium gcc compiler,
   10120 	# which looks to be a dead project)
   10121 	lt_prog_compiler_wl='-Wl,'
   10122 	lt_prog_compiler_pic='-fpic'
   10123 	lt_prog_compiler_static='-Bstatic'
   10124         ;;
   10125       ccc*)
   10126         lt_prog_compiler_wl='-Wl,'
   10127         # All Alpha code is PIC.
   10128         lt_prog_compiler_static='-non_shared'
   10129         ;;
   10130       xl* | bgxl* | bgf* | mpixl*)
   10131 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   10132 	lt_prog_compiler_wl='-Wl,'
   10133 	lt_prog_compiler_pic='-qpic'
   10134 	lt_prog_compiler_static='-qstaticlink'
   10135 	;;
   10136       *)
   10137 	case `$CC -V 2>&1 | $SED 5q` in
   10138 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   10139 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   10140 	  lt_prog_compiler_pic='-KPIC'
   10141 	  lt_prog_compiler_static='-Bstatic'
   10142 	  lt_prog_compiler_wl=''
   10143 	  ;;
   10144 	*Sun\ F* | *Sun*Fortran*)
   10145 	  lt_prog_compiler_pic='-KPIC'
   10146 	  lt_prog_compiler_static='-Bstatic'
   10147 	  lt_prog_compiler_wl='-Qoption ld '
   10148 	  ;;
   10149 	*Sun\ C*)
   10150 	  # Sun C 5.9
   10151 	  lt_prog_compiler_pic='-KPIC'
   10152 	  lt_prog_compiler_static='-Bstatic'
   10153 	  lt_prog_compiler_wl='-Wl,'
   10154 	  ;;
   10155         *Intel*\ [CF]*Compiler*)
   10156 	  lt_prog_compiler_wl='-Wl,'
   10157 	  lt_prog_compiler_pic='-fPIC'
   10158 	  lt_prog_compiler_static='-static'
   10159 	  ;;
   10160 	*Portland\ Group*)
   10161 	  lt_prog_compiler_wl='-Wl,'
   10162 	  lt_prog_compiler_pic='-fpic'
   10163 	  lt_prog_compiler_static='-Bstatic'
   10164 	  ;;
   10165 	esac
   10166 	;;
   10167       esac
   10168       ;;
   10169 
   10170     newsos6)
   10171       lt_prog_compiler_pic='-KPIC'
   10172       lt_prog_compiler_static='-Bstatic'
   10173       ;;
   10174 
   10175     *-mlibc)
   10176       lt_prog_compiler_wl='-Wl,'
   10177       lt_prog_compiler_pic='-fPIC'
   10178       lt_prog_compiler_static='-static'
   10179       ;;
   10180 
   10181     *nto* | *qnx*)
   10182       # QNX uses GNU C++, but need to define -shared option too, otherwise
   10183       # it will coredump.
   10184       lt_prog_compiler_pic='-fPIC -shared'
   10185       ;;
   10186 
   10187     osf3* | osf4* | osf5*)
   10188       lt_prog_compiler_wl='-Wl,'
   10189       # All OSF/1 code is PIC.
   10190       lt_prog_compiler_static='-non_shared'
   10191       ;;
   10192 
   10193     rdos*)
   10194       lt_prog_compiler_static='-non_shared'
   10195       ;;
   10196 
   10197     serenity*)
   10198       ;;
   10199 
   10200     solaris*)
   10201       lt_prog_compiler_pic='-KPIC'
   10202       lt_prog_compiler_static='-Bstatic'
   10203       case $cc_basename in
   10204       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   10205 	lt_prog_compiler_wl='-Qoption ld ';;
   10206       *)
   10207 	lt_prog_compiler_wl='-Wl,';;
   10208       esac
   10209       ;;
   10210 
   10211     sunos4*)
   10212       lt_prog_compiler_wl='-Qoption ld '
   10213       lt_prog_compiler_pic='-PIC'
   10214       lt_prog_compiler_static='-Bstatic'
   10215       ;;
   10216 
   10217     sysv4 | sysv4.2uw2* | sysv4.3*)
   10218       lt_prog_compiler_wl='-Wl,'
   10219       lt_prog_compiler_pic='-KPIC'
   10220       lt_prog_compiler_static='-Bstatic'
   10221       ;;
   10222 
   10223     sysv4*MP*)
   10224       if test -d /usr/nec; then
   10225 	lt_prog_compiler_pic='-Kconform_pic'
   10226 	lt_prog_compiler_static='-Bstatic'
   10227       fi
   10228       ;;
   10229 
   10230     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   10231       lt_prog_compiler_wl='-Wl,'
   10232       lt_prog_compiler_pic='-KPIC'
   10233       lt_prog_compiler_static='-Bstatic'
   10234       ;;
   10235 
   10236     unicos*)
   10237       lt_prog_compiler_wl='-Wl,'
   10238       lt_prog_compiler_can_build_shared=no
   10239       ;;
   10240 
   10241     uts4*)
   10242       lt_prog_compiler_pic='-pic'
   10243       lt_prog_compiler_static='-Bstatic'
   10244       ;;
   10245 
   10246     *)
   10247       lt_prog_compiler_can_build_shared=no
   10248       ;;
   10249     esac
   10250   fi
   10251 
   10252 case $host_os in
   10253   # For platforms that do not support PIC, -DPIC is meaningless:
   10254   *djgpp*)
   10255     lt_prog_compiler_pic=
   10256     ;;
   10257   *)
   10258     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   10259     ;;
   10260 esac
   10261 
   10262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   10263 printf %s "checking for $compiler option to produce PIC... " >&6; }
   10264 if test ${lt_cv_prog_compiler_pic+y}
   10265 then :
   10266   printf %s "(cached) " >&6
   10267 else case e in #(
   10268   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
   10269 esac
   10270 fi
   10271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   10272 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   10273 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   10274 
   10275 #
   10276 # Check to make sure the PIC flag actually works.
   10277 #
   10278 if test -n "$lt_prog_compiler_pic"; then
   10279   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   10280 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   10281 if test ${lt_cv_prog_compiler_pic_works+y}
   10282 then :
   10283   printf %s "(cached) " >&6
   10284 else case e in #(
   10285   e) lt_cv_prog_compiler_pic_works=no
   10286    ac_outfile=conftest.$ac_objext
   10287    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10288    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   10289    # Insert the option either (1) after the last *FLAGS variable, or
   10290    # (2) before a word containing "conftest.", or (3) at the end.
   10291    # Note that $ac_compile itself does not contain backslashes and begins
   10292    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10293    # The option is referenced via a variable to avoid confusing sed.
   10294    lt_compile=`echo "$ac_compile" | $SED \
   10295    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10296    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10297    -e 's:$: $lt_compiler_flag:'`
   10298    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10299    (eval "$lt_compile" 2>conftest.err)
   10300    ac_status=$?
   10301    cat conftest.err >&5
   10302    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10303    if (exit $ac_status) && test -s "$ac_outfile"; then
   10304      # The compiler can only warn and ignore the option if not recognized
   10305      # So say no if there are warnings other than the usual output.
   10306      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   10307      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10308      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   10309        lt_cv_prog_compiler_pic_works=yes
   10310      fi
   10311    fi
   10312    $RM conftest*
   10313  ;;
   10314 esac
   10315 fi
   10316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   10317 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   10318 
   10319 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   10320     case $lt_prog_compiler_pic in
   10321      "" | " "*) ;;
   10322      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   10323      esac
   10324 else
   10325     lt_prog_compiler_pic=
   10326      lt_prog_compiler_can_build_shared=no
   10327 fi
   10328 
   10329 fi
   10330 
   10331 
   10332 
   10333 
   10334 
   10335 
   10336 
   10337 
   10338 
   10339 
   10340 
   10341 #
   10342 # Check to make sure the static flag actually works.
   10343 #
   10344 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   10345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   10346 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   10347 if test ${lt_cv_prog_compiler_static_works+y}
   10348 then :
   10349   printf %s "(cached) " >&6
   10350 else case e in #(
   10351   e) lt_cv_prog_compiler_static_works=no
   10352    save_LDFLAGS=$LDFLAGS
   10353    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   10354    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10355    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10356      # The linker can only warn and ignore the option if not recognized
   10357      # So say no if there are warnings
   10358      if test -s conftest.err; then
   10359        # Append any errors to the config.log.
   10360        cat conftest.err 1>&5
   10361        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10362        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10363        if diff conftest.exp conftest.er2 >/dev/null; then
   10364          lt_cv_prog_compiler_static_works=yes
   10365        fi
   10366      else
   10367        lt_cv_prog_compiler_static_works=yes
   10368      fi
   10369    fi
   10370    $RM -r conftest*
   10371    LDFLAGS=$save_LDFLAGS
   10372  ;;
   10373 esac
   10374 fi
   10375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   10376 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   10377 
   10378 if test yes = "$lt_cv_prog_compiler_static_works"; then
   10379     :
   10380 else
   10381     lt_prog_compiler_static=
   10382 fi
   10383 
   10384 
   10385 
   10386 
   10387 
   10388 
   10389 
   10390   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   10391 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   10392 if test ${lt_cv_prog_compiler_c_o+y}
   10393 then :
   10394   printf %s "(cached) " >&6
   10395 else case e in #(
   10396   e) lt_cv_prog_compiler_c_o=no
   10397    $RM -r conftest 2>/dev/null
   10398    mkdir conftest
   10399    cd conftest
   10400    mkdir out
   10401    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10402 
   10403    lt_compiler_flag="-o out/conftest2.$ac_objext"
   10404    # Insert the option either (1) after the last *FLAGS variable, or
   10405    # (2) before a word containing "conftest.", or (3) at the end.
   10406    # Note that $ac_compile itself does not contain backslashes and begins
   10407    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10408    lt_compile=`echo "$ac_compile" | $SED \
   10409    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10410    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10411    -e 's:$: $lt_compiler_flag:'`
   10412    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10413    (eval "$lt_compile" 2>out/conftest.err)
   10414    ac_status=$?
   10415    cat out/conftest.err >&5
   10416    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10417    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   10418    then
   10419      # The compiler can only warn and ignore the option if not recognized
   10420      # So say no if there are warnings
   10421      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   10422      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   10423      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   10424        lt_cv_prog_compiler_c_o=yes
   10425      fi
   10426    fi
   10427    chmod u+w . 2>&5
   10428    $RM conftest*
   10429    # SGI C++ compiler will create directory out/ii_files/ for
   10430    # template instantiation
   10431    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   10432    $RM out/* && rmdir out
   10433    cd ..
   10434    $RM -r conftest
   10435    $RM conftest*
   10436  ;;
   10437 esac
   10438 fi
   10439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   10440 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   10441 
   10442 
   10443 
   10444 
   10445 
   10446 
   10447   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   10448 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   10449 if test ${lt_cv_prog_compiler_c_o+y}
   10450 then :
   10451   printf %s "(cached) " >&6
   10452 else case e in #(
   10453   e) lt_cv_prog_compiler_c_o=no
   10454    $RM -r conftest 2>/dev/null
   10455    mkdir conftest
   10456    cd conftest
   10457    mkdir out
   10458    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10459 
   10460    lt_compiler_flag="-o out/conftest2.$ac_objext"
   10461    # Insert the option either (1) after the last *FLAGS variable, or
   10462    # (2) before a word containing "conftest.", or (3) at the end.
   10463    # Note that $ac_compile itself does not contain backslashes and begins
   10464    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10465    lt_compile=`echo "$ac_compile" | $SED \
   10466    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10467    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10468    -e 's:$: $lt_compiler_flag:'`
   10469    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10470    (eval "$lt_compile" 2>out/conftest.err)
   10471    ac_status=$?
   10472    cat out/conftest.err >&5
   10473    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10474    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   10475    then
   10476      # The compiler can only warn and ignore the option if not recognized
   10477      # So say no if there are warnings
   10478      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   10479      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   10480      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   10481        lt_cv_prog_compiler_c_o=yes
   10482      fi
   10483    fi
   10484    chmod u+w . 2>&5
   10485    $RM conftest*
   10486    # SGI C++ compiler will create directory out/ii_files/ for
   10487    # template instantiation
   10488    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   10489    $RM out/* && rmdir out
   10490    cd ..
   10491    $RM -r conftest
   10492    $RM conftest*
   10493  ;;
   10494 esac
   10495 fi
   10496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   10497 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   10498 
   10499 
   10500 
   10501 
   10502 hard_links=nottested
   10503 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   10504   # do not overwrite the value of need_locks provided by the user
   10505   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   10506 printf %s "checking if we can lock with hard links... " >&6; }
   10507   hard_links=yes
   10508   $RM conftest*
   10509   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   10510   touch conftest.a
   10511   ln conftest.a conftest.b 2>&5 || hard_links=no
   10512   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   10513   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   10514 printf "%s\n" "$hard_links" >&6; }
   10515   if test no = "$hard_links"; then
   10516     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   10517 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   10518     need_locks=warn
   10519   fi
   10520 else
   10521   need_locks=no
   10522 fi
   10523 
   10524 
   10525 
   10526 
   10527 
   10528 
   10529   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   10530 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   10531 
   10532   runpath_var=
   10533   allow_undefined_flag=
   10534   always_export_symbols=no
   10535   archive_cmds=
   10536   archive_expsym_cmds=
   10537   compiler_needs_object=no
   10538   enable_shared_with_static_runtimes=no
   10539   export_dynamic_flag_spec=
   10540   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   10541   hardcode_automatic=no
   10542   hardcode_direct=no
   10543   hardcode_direct_absolute=no
   10544   hardcode_libdir_flag_spec=
   10545   hardcode_libdir_separator=
   10546   hardcode_minus_L=no
   10547   hardcode_shlibpath_var=unsupported
   10548   inherit_rpath=no
   10549   link_all_deplibs=unknown
   10550   module_cmds=
   10551   module_expsym_cmds=
   10552   old_archive_from_new_cmds=
   10553   old_archive_from_expsyms_cmds=
   10554   thread_safe_flag_spec=
   10555   whole_archive_flag_spec=
   10556   # include_expsyms should be a list of space-separated symbols to be *always*
   10557   # included in the symbol list
   10558   include_expsyms=
   10559   # exclude_expsyms can be an extended regexp of symbols to exclude
   10560   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   10561   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   10562   # as well as any symbol that contains 'd'.
   10563   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   10564   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   10565   # platforms (ab)use it in PIC code, but their linkers get confused if
   10566   # the symbol is explicitly referenced.  Since portable code cannot
   10567   # rely on this symbol name, it's probably fine to never include it in
   10568   # preloaded symbol tables.
   10569   # Exclude shared library initialization/finalization symbols.
   10570   extract_expsyms_cmds=
   10571 
   10572   case $host_os in
   10573   cygwin* | mingw* | windows* | pw32* | cegcc*)
   10574     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   10575     # When not using gcc, we currently assume that we are using
   10576     # Microsoft Visual C++ or Intel C++ Compiler.
   10577     if test yes != "$GCC"; then
   10578       with_gnu_ld=no
   10579     fi
   10580     ;;
   10581   interix*)
   10582     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   10583     with_gnu_ld=yes
   10584     ;;
   10585   esac
   10586 
   10587   ld_shlibs=yes
   10588 
   10589   # On some targets, GNU ld is compatible enough with the native linker
   10590   # that we're better off using the native interface for both.
   10591   lt_use_gnu_ld_interface=no
   10592   if test yes = "$with_gnu_ld"; then
   10593     case $host_os in
   10594       aix*)
   10595 	# The AIX port of GNU ld has always aspired to compatibility
   10596 	# with the native linker.  However, as the warning in the GNU ld
   10597 	# block says, versions before 2.19.5* couldn't really create working
   10598 	# shared libraries, regardless of the interface used.
   10599 	case `$LD -v 2>&1` in
   10600 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   10601 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   10602 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   10603 	  *)
   10604 	    lt_use_gnu_ld_interface=yes
   10605 	    ;;
   10606 	esac
   10607 	;;
   10608       *)
   10609 	lt_use_gnu_ld_interface=yes
   10610 	;;
   10611     esac
   10612   fi
   10613 
   10614   if test yes = "$lt_use_gnu_ld_interface"; then
   10615     # If archive_cmds runs LD, not CC, wlarc should be empty
   10616     wlarc='$wl'
   10617 
   10618     # Set some defaults for GNU ld with shared library support. These
   10619     # are reset later if shared libraries are not supported. Putting them
   10620     # here allows them to be overridden if necessary.
   10621     runpath_var=LD_RUN_PATH
   10622     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10623     export_dynamic_flag_spec='$wl--export-dynamic'
   10624     # ancient GNU ld didn't support --whole-archive et. al.
   10625     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   10626       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   10627     else
   10628       whole_archive_flag_spec=
   10629     fi
   10630     supports_anon_versioning=no
   10631     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   10632       *GNU\ gold*) supports_anon_versioning=yes ;;
   10633       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   10634       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   10635       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   10636       *\ 2.11.*) ;; # other 2.11 versions
   10637       *) supports_anon_versioning=yes ;;
   10638     esac
   10639 
   10640     # See if GNU ld supports shared libraries.
   10641     case $host_os in
   10642     aix[3-9]*)
   10643       # On AIX/PPC, the GNU linker is very broken
   10644       if test ia64 != "$host_cpu"; then
   10645 	ld_shlibs=no
   10646 	cat <<_LT_EOF 1>&2
   10647 
   10648 *** Warning: the GNU linker, at least up to release 2.19, is reported
   10649 *** to be unable to reliably create shared libraries on AIX.
   10650 *** Therefore, libtool is disabling shared libraries support.  If you
   10651 *** really care for shared libraries, you may want to install binutils
   10652 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   10653 *** You will then need to restart the configuration process.
   10654 
   10655 _LT_EOF
   10656       fi
   10657       ;;
   10658 
   10659     amigaos*)
   10660       case $host_cpu in
   10661       powerpc)
   10662             # see comment about AmigaOS4 .so support
   10663             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10664             archive_expsym_cmds=''
   10665         ;;
   10666       m68k)
   10667             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)'
   10668             hardcode_libdir_flag_spec='-L$libdir'
   10669             hardcode_minus_L=yes
   10670         ;;
   10671       esac
   10672       ;;
   10673 
   10674     beos*)
   10675       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10676 	allow_undefined_flag=unsupported
   10677 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   10678 	# support --undefined.  This deserves some investigation.  FIXME
   10679 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10680       else
   10681 	ld_shlibs=no
   10682       fi
   10683       ;;
   10684 
   10685     cygwin* | mingw* | windows* | pw32* | cegcc*)
   10686       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   10687       # as there is no search path for DLLs.
   10688       hardcode_libdir_flag_spec='-L$libdir'
   10689       export_dynamic_flag_spec='$wl--export-all-symbols'
   10690       allow_undefined_flag=unsupported
   10691       always_export_symbols=no
   10692       enable_shared_with_static_runtimes=yes
   10693       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'
   10694       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   10695       file_list_spec='@'
   10696 
   10697       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   10698         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10699 	# If the export-symbols file already is a .def file, use it as
   10700 	# is; otherwise, prepend EXPORTS...
   10701 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10702           cp $export_symbols $output_objdir/$soname.def;
   10703         else
   10704           echo EXPORTS > $output_objdir/$soname.def;
   10705           cat $export_symbols >> $output_objdir/$soname.def;
   10706         fi~
   10707         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10708       else
   10709 	ld_shlibs=no
   10710       fi
   10711       ;;
   10712 
   10713     haiku*)
   10714       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10715       link_all_deplibs=no
   10716       ;;
   10717 
   10718     os2*)
   10719       hardcode_libdir_flag_spec='-L$libdir'
   10720       hardcode_minus_L=yes
   10721       allow_undefined_flag=unsupported
   10722       shrext_cmds=.dll
   10723       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10724 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10725 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10726 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10727 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10728 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10729 	emximp -o $lib $output_objdir/$libname.def'
   10730       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10731 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10732 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10733 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10734 	prefix_cmds="$SED"~
   10735 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10736 	  prefix_cmds="$prefix_cmds -e 1d";
   10737 	fi~
   10738 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10739 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10740 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10741 	emximp -o $lib $output_objdir/$libname.def'
   10742       old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10743       enable_shared_with_static_runtimes=yes
   10744       file_list_spec='@'
   10745       ;;
   10746 
   10747     interix[3-9]*)
   10748       hardcode_direct=no
   10749       hardcode_shlibpath_var=no
   10750       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10751       export_dynamic_flag_spec='$wl-E'
   10752       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   10753       # Instead, shared libraries are loaded at an image base (0x10000000 by
   10754       # default) and relocated if they conflict, which is a slow very memory
   10755       # consuming and fragmenting process.  To avoid this, we pick a random,
   10756       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   10757       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   10758       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   10759       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'
   10760       ;;
   10761 
   10762     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   10763       tmp_diet=no
   10764       if test linux-dietlibc = "$host_os"; then
   10765 	case $cc_basename in
   10766 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   10767 	esac
   10768       fi
   10769       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   10770 	 && test no = "$tmp_diet"
   10771       then
   10772 	tmp_addflag=' $pic_flag'
   10773 	tmp_sharedflag='-shared'
   10774 	case $cc_basename,$host_cpu in
   10775         pgcc*)				# Portland Group C compiler
   10776 	  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'
   10777 	  tmp_addflag=' $pic_flag'
   10778 	  ;;
   10779 	pgf77* | pgf90* | pgf95* | pgfortran*)
   10780 					# Portland Group f77 and f90 compilers
   10781 	  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'
   10782 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   10783 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   10784 	  tmp_addflag=' -i_dynamic' ;;
   10785 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   10786 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   10787 	ifc* | ifort*)			# Intel Fortran compiler
   10788 	  tmp_addflag=' -nofor_main' ;;
   10789 	lf95*)				# Lahey Fortran 8.1
   10790 	  whole_archive_flag_spec=
   10791 	  tmp_sharedflag='--shared' ;;
   10792         nagfor*)                        # NAGFOR 5.3
   10793           tmp_sharedflag='-Wl,-shared' ;;
   10794 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   10795 	  tmp_sharedflag='-qmkshrobj'
   10796 	  tmp_addflag= ;;
   10797 	nvcc*)	# Cuda Compiler Driver 2.2
   10798 	  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'
   10799 	  compiler_needs_object=yes
   10800 	  ;;
   10801 	esac
   10802 	case `$CC -V 2>&1 | $SED 5q` in
   10803 	*Sun\ C*)			# Sun C 5.9
   10804 	  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'
   10805 	  compiler_needs_object=yes
   10806 	  tmp_sharedflag='-G' ;;
   10807 	*Sun\ F*)			# Sun Fortran 8.3
   10808 	  tmp_sharedflag='-G' ;;
   10809 	esac
   10810 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10811 
   10812         if test yes = "$supports_anon_versioning"; then
   10813           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10814             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10815             echo "local: *; };" >> $output_objdir/$libname.ver~
   10816             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   10817         fi
   10818 
   10819 	case $cc_basename in
   10820 	tcc*)
   10821 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10822 	  export_dynamic_flag_spec='-rdynamic'
   10823 	  ;;
   10824 	xlf* | bgf* | bgxlf* | mpixlf*)
   10825 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   10826 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   10827 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10828 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   10829 	  if test yes = "$supports_anon_versioning"; then
   10830 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10831               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10832               echo "local: *; };" >> $output_objdir/$libname.ver~
   10833               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   10834 	  fi
   10835 	  ;;
   10836 	esac
   10837       else
   10838         ld_shlibs=no
   10839       fi
   10840       ;;
   10841 
   10842     *-mlibc)
   10843 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10844 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10845       ;;
   10846 
   10847     netbsd* | netbsdelf*-gnu)
   10848       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10849 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   10850 	wlarc=
   10851       else
   10852 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10853 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10854       fi
   10855       ;;
   10856 
   10857     solaris*)
   10858       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   10859 	ld_shlibs=no
   10860 	cat <<_LT_EOF 1>&2
   10861 
   10862 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   10863 *** create shared libraries on Solaris systems.  Therefore, libtool
   10864 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10865 *** binutils to release 2.9.1 or newer.  Another option is to modify
   10866 *** your PATH or compiler configuration so that the native linker is
   10867 *** used, and then restart.
   10868 
   10869 _LT_EOF
   10870       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10871 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10872 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10873       else
   10874 	ld_shlibs=no
   10875       fi
   10876       ;;
   10877 
   10878     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   10879       case `$LD -v 2>&1` in
   10880         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   10881 	ld_shlibs=no
   10882 	cat <<_LT_EOF 1>&2
   10883 
   10884 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   10885 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   10886 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10887 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   10888 *** your PATH or compiler configuration so that the native linker is
   10889 *** used, and then restart.
   10890 
   10891 _LT_EOF
   10892 	;;
   10893 	*)
   10894 	  # For security reasons, it is highly recommended that you always
   10895 	  # use absolute paths for naming shared libraries, and exclude the
   10896 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   10897 	  # requires that you compile everything twice, which is a pain.
   10898 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10899 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10900 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10901 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10902 	  else
   10903 	    ld_shlibs=no
   10904 	  fi
   10905 	;;
   10906       esac
   10907       ;;
   10908 
   10909     sunos4*)
   10910       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10911       wlarc=
   10912       hardcode_direct=yes
   10913       hardcode_shlibpath_var=no
   10914       ;;
   10915 
   10916     *)
   10917       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10918 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10919 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10920       else
   10921 	ld_shlibs=no
   10922       fi
   10923       ;;
   10924     esac
   10925 
   10926     if test no = "$ld_shlibs"; then
   10927       runpath_var=
   10928       hardcode_libdir_flag_spec=
   10929       export_dynamic_flag_spec=
   10930       whole_archive_flag_spec=
   10931     fi
   10932   else
   10933     # PORTME fill in a description of your system's linker (not GNU ld)
   10934     case $host_os in
   10935     aix3*)
   10936       allow_undefined_flag=unsupported
   10937       always_export_symbols=yes
   10938       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'
   10939       # Note: this linker hardcodes the directories in LIBPATH if there
   10940       # are no directories specified by -L.
   10941       hardcode_minus_L=yes
   10942       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   10943 	# Neither direct hardcoding nor static linking is supported with a
   10944 	# broken collect2.
   10945 	hardcode_direct=unsupported
   10946       fi
   10947       ;;
   10948 
   10949     aix[4-9]*)
   10950       if test ia64 = "$host_cpu"; then
   10951 	# On IA64, the linker does run time linking by default, so we don't
   10952 	# have to do anything special.
   10953 	aix_use_runtimelinking=no
   10954 	exp_sym_flag='-Bexport'
   10955 	no_entry_flag=
   10956       else
   10957 	# If we're using GNU nm, then we don't want the "-C" option.
   10958 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   10959 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   10960 	# weak defined symbols like other global defined symbols, whereas
   10961 	# GNU nm marks them as "W".
   10962 	# While the 'weak' keyword is ignored in the Export File, we need
   10963 	# it in the Import File for the 'aix-soname' feature, so we have
   10964 	# to replace the "-B" option with "-P" for AIX nm.
   10965 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   10966 	  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'
   10967 	else
   10968 	  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'
   10969 	fi
   10970 	aix_use_runtimelinking=no
   10971 
   10972 	# Test if we are trying to use run time linking or normal
   10973 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10974 	# have runtime linking enabled, and use it for executables.
   10975 	# For shared libraries, we enable/disable runtime linking
   10976 	# depending on the kind of the shared library created -
   10977 	# when "with_aix_soname,aix_use_runtimelinking" is:
   10978 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   10979 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   10980 	#            lib.a           static archive
   10981 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   10982 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   10983 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   10984 	#            lib.a(lib.so.V) shared, rtl:no
   10985 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   10986 	#            lib.a           static archive
   10987 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10988 	  for ld_flag in $LDFLAGS; do
   10989 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   10990 	    aix_use_runtimelinking=yes
   10991 	    break
   10992 	  fi
   10993 	  done
   10994 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   10995 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   10996 	    # so we don't have lib.a shared libs to link our executables.
   10997 	    # We have to force runtime linking in this case.
   10998 	    aix_use_runtimelinking=yes
   10999 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   11000 	  fi
   11001 	  ;;
   11002 	esac
   11003 
   11004 	exp_sym_flag='-bexport'
   11005 	no_entry_flag='-bnoentry'
   11006       fi
   11007 
   11008       # When large executables or shared objects are built, AIX ld can
   11009       # have problems creating the table of contents.  If linking a library
   11010       # or program results in "error TOC overflow" add -mminimal-toc to
   11011       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   11012       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   11013 
   11014       archive_cmds=''
   11015       hardcode_direct=yes
   11016       hardcode_direct_absolute=yes
   11017       hardcode_libdir_separator=':'
   11018       link_all_deplibs=yes
   11019       file_list_spec='$wl-f,'
   11020       case $with_aix_soname,$aix_use_runtimelinking in
   11021       aix,*) ;; # traditional, no import file
   11022       svr4,* | *,yes) # use import file
   11023 	# The Import File defines what to hardcode.
   11024 	hardcode_direct=no
   11025 	hardcode_direct_absolute=no
   11026 	;;
   11027       esac
   11028 
   11029       if test yes = "$GCC"; then
   11030 	case $host_os in aix4.[012]|aix4.[012].*)
   11031 	# We only want to do this on AIX 4.2 and lower, the check
   11032 	# below for broken collect2 doesn't work under 4.3+
   11033 	  collect2name=`$CC -print-prog-name=collect2`
   11034 	  if test -f "$collect2name" &&
   11035 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   11036 	  then
   11037 	  # We have reworked collect2
   11038 	  :
   11039 	  else
   11040 	  # We have old collect2
   11041 	  hardcode_direct=unsupported
   11042 	  # It fails to find uninstalled libraries when the uninstalled
   11043 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   11044 	  # to unsupported forces relinking
   11045 	  hardcode_minus_L=yes
   11046 	  hardcode_libdir_flag_spec='-L$libdir'
   11047 	  hardcode_libdir_separator=
   11048 	  fi
   11049 	  ;;
   11050 	esac
   11051 	shared_flag='-shared'
   11052 	if test yes = "$aix_use_runtimelinking"; then
   11053 	  shared_flag="$shared_flag "'$wl-G'
   11054 	fi
   11055 	# Need to ensure runtime linking is disabled for the traditional
   11056 	# shared library, or the linker may eventually find shared libraries
   11057 	# /with/ Import File - we do not want to mix them.
   11058 	shared_flag_aix='-shared'
   11059 	shared_flag_svr4='-shared $wl-G'
   11060       else
   11061 	# not using gcc
   11062 	if test ia64 = "$host_cpu"; then
   11063 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   11064 	# chokes on -Wl,-G. The following line is correct:
   11065 	  shared_flag='-G'
   11066 	else
   11067 	  if test yes = "$aix_use_runtimelinking"; then
   11068 	    shared_flag='$wl-G'
   11069 	  else
   11070 	    shared_flag='$wl-bM:SRE'
   11071 	  fi
   11072 	  shared_flag_aix='$wl-bM:SRE'
   11073 	  shared_flag_svr4='$wl-G'
   11074 	fi
   11075       fi
   11076 
   11077       export_dynamic_flag_spec='$wl-bexpall'
   11078       # It seems that -bexpall does not export symbols beginning with
   11079       # underscore (_), so it is better to generate a list of symbols to export.
   11080       always_export_symbols=yes
   11081       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   11082 	# Warning - without using the other runtime loading flags (-brtl),
   11083 	# -berok will link without error, but may produce a broken library.
   11084 	allow_undefined_flag='-berok'
   11085         # Determine the default libpath from the value encoded in an
   11086         # empty executable.
   11087         if test set = "${lt_cv_aix_libpath+set}"; then
   11088   aix_libpath=$lt_cv_aix_libpath
   11089 else
   11090   if test ${lt_cv_aix_libpath_+y}
   11091 then :
   11092   printf %s "(cached) " >&6
   11093 else case e in #(
   11094   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11095 /* end confdefs.h.  */
   11096 
   11097 int
   11098 main (void)
   11099 {
   11100 
   11101   ;
   11102   return 0;
   11103 }
   11104 _ACEOF
   11105 if ac_fn_c_try_link "$LINENO"
   11106 then :
   11107 
   11108   lt_aix_libpath_sed='
   11109       /Import File Strings/,/^$/ {
   11110 	  /^0/ {
   11111 	      s/^0  *\([^ ]*\) *$/\1/
   11112 	      p
   11113 	  }
   11114       }'
   11115   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11116   # Check for a 64-bit object if we didn't find anything.
   11117   if test -z "$lt_cv_aix_libpath_"; then
   11118     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11119   fi
   11120 fi
   11121 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11122     conftest$ac_exeext conftest.$ac_ext
   11123   if test -z "$lt_cv_aix_libpath_"; then
   11124     lt_cv_aix_libpath_=/usr/lib:/lib
   11125   fi
   11126    ;;
   11127 esac
   11128 fi
   11129 
   11130   aix_libpath=$lt_cv_aix_libpath_
   11131 fi
   11132 
   11133         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   11134         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
   11135       else
   11136 	if test ia64 = "$host_cpu"; then
   11137 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   11138 	  allow_undefined_flag="-z nodefs"
   11139 	  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"
   11140 	else
   11141 	 # Determine the default libpath from the value encoded in an
   11142 	 # empty executable.
   11143 	 if test set = "${lt_cv_aix_libpath+set}"; then
   11144   aix_libpath=$lt_cv_aix_libpath
   11145 else
   11146   if test ${lt_cv_aix_libpath_+y}
   11147 then :
   11148   printf %s "(cached) " >&6
   11149 else case e in #(
   11150   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11151 /* end confdefs.h.  */
   11152 
   11153 int
   11154 main (void)
   11155 {
   11156 
   11157   ;
   11158   return 0;
   11159 }
   11160 _ACEOF
   11161 if ac_fn_c_try_link "$LINENO"
   11162 then :
   11163 
   11164   lt_aix_libpath_sed='
   11165       /Import File Strings/,/^$/ {
   11166 	  /^0/ {
   11167 	      s/^0  *\([^ ]*\) *$/\1/
   11168 	      p
   11169 	  }
   11170       }'
   11171   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11172   # Check for a 64-bit object if we didn't find anything.
   11173   if test -z "$lt_cv_aix_libpath_"; then
   11174     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11175   fi
   11176 fi
   11177 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11178     conftest$ac_exeext conftest.$ac_ext
   11179   if test -z "$lt_cv_aix_libpath_"; then
   11180     lt_cv_aix_libpath_=/usr/lib:/lib
   11181   fi
   11182    ;;
   11183 esac
   11184 fi
   11185 
   11186   aix_libpath=$lt_cv_aix_libpath_
   11187 fi
   11188 
   11189 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   11190 	  # Warning - without using the other run time loading flags,
   11191 	  # -berok will link without error, but may produce a broken library.
   11192 	  no_undefined_flag=' $wl-bernotok'
   11193 	  allow_undefined_flag=' $wl-berok'
   11194 	  if test yes = "$with_gnu_ld"; then
   11195 	    # We only use this code for GNU lds that support --whole-archive.
   11196 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   11197 	  else
   11198 	    # Exported symbols can be pulled into shared objects from archives
   11199 	    whole_archive_flag_spec='$convenience'
   11200 	  fi
   11201 	  archive_cmds_need_lc=yes
   11202 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   11203 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   11204 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   11205 	  if test svr4 != "$with_aix_soname"; then
   11206 	    # This is similar to how AIX traditionally builds its shared libraries.
   11207 	    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'
   11208 	  fi
   11209 	  if test aix != "$with_aix_soname"; then
   11210 	    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'
   11211 	  else
   11212 	    # used by -dlpreopen to get the symbols
   11213 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   11214 	  fi
   11215 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   11216 	fi
   11217       fi
   11218       ;;
   11219 
   11220     amigaos*)
   11221       case $host_cpu in
   11222       powerpc)
   11223             # see comment about AmigaOS4 .so support
   11224             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   11225             archive_expsym_cmds=''
   11226         ;;
   11227       m68k)
   11228             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)'
   11229             hardcode_libdir_flag_spec='-L$libdir'
   11230             hardcode_minus_L=yes
   11231         ;;
   11232       esac
   11233       ;;
   11234 
   11235     bsdi[45]*)
   11236       export_dynamic_flag_spec=-rdynamic
   11237       ;;
   11238 
   11239     cygwin* | mingw* | windows* | pw32* | cegcc*)
   11240       # When not using gcc, we currently assume that we are using
   11241       # Microsoft Visual C++ or Intel C++ Compiler.
   11242       # hardcode_libdir_flag_spec is actually meaningless, as there is
   11243       # no search path for DLLs.
   11244       case $cc_basename in
   11245       cl* | icl*)
   11246 	# Native MSVC or ICC
   11247 	hardcode_libdir_flag_spec=' '
   11248 	allow_undefined_flag=unsupported
   11249 	always_export_symbols=yes
   11250 	file_list_spec='@'
   11251 	# Tell ltmain to make .lib files, not .a files.
   11252 	libext=lib
   11253 	# Tell ltmain to make .dll files, not .so files.
   11254 	shrext_cmds=.dll
   11255 	# FIXME: Setting linknames here is a bad hack.
   11256 	archive_cmds='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   11257 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   11258             cp "$export_symbols" "$output_objdir/$soname.def";
   11259             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   11260           else
   11261             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   11262           fi~
   11263           $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   11264           linknames='
   11265 	# The linker will not automatically build a static lib if we build a DLL.
   11266 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   11267 	enable_shared_with_static_runtimes=yes
   11268 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   11269 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   11270 	# Don't use ranlib
   11271 	old_postinstall_cmds='chmod 644 $oldlib'
   11272 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   11273           lt_tool_outputfile="@TOOL_OUTPUT@"~
   11274           case $lt_outputfile in
   11275             *.exe|*.EXE) ;;
   11276             *)
   11277               lt_outputfile=$lt_outputfile.exe
   11278               lt_tool_outputfile=$lt_tool_outputfile.exe
   11279               ;;
   11280           esac~
   11281           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   11282             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   11283             $RM "$lt_outputfile.manifest";
   11284           fi'
   11285 	;;
   11286       *)
   11287 	# Assume MSVC and ICC wrapper
   11288 	hardcode_libdir_flag_spec=' '
   11289 	allow_undefined_flag=unsupported
   11290 	# Tell ltmain to make .lib files, not .a files.
   11291 	libext=lib
   11292 	# Tell ltmain to make .dll files, not .so files.
   11293 	shrext_cmds=.dll
   11294 	# FIXME: Setting linknames here is a bad hack.
   11295 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   11296 	# The linker will automatically build a .lib file if we build a DLL.
   11297 	old_archive_from_new_cmds='true'
   11298 	# FIXME: Should let the user specify the lib program.
   11299 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   11300 	enable_shared_with_static_runtimes=yes
   11301 	;;
   11302       esac
   11303       ;;
   11304 
   11305     darwin* | rhapsody*)
   11306 
   11307 
   11308   archive_cmds_need_lc=no
   11309   hardcode_direct=no
   11310   hardcode_automatic=yes
   11311   hardcode_shlibpath_var=unsupported
   11312   if test yes = "$lt_cv_ld_force_load"; then
   11313     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\"`'
   11314 
   11315   else
   11316     whole_archive_flag_spec=''
   11317   fi
   11318   link_all_deplibs=yes
   11319   allow_undefined_flag=$_lt_dar_allow_undefined
   11320   case $cc_basename in
   11321      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   11322      *) _lt_dar_can_shared=$GCC ;;
   11323   esac
   11324   if test yes = "$_lt_dar_can_shared"; then
   11325     output_verbose_link_cmd=func_echo_all
   11326     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   11327     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   11328     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"
   11329     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"
   11330 
   11331   else
   11332   ld_shlibs=no
   11333   fi
   11334 
   11335       ;;
   11336 
   11337     dgux*)
   11338       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11339       hardcode_libdir_flag_spec='-L$libdir'
   11340       hardcode_shlibpath_var=no
   11341       ;;
   11342 
   11343     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   11344     # support.  Future versions do this automatically, but an explicit c++rt0.o
   11345     # does not break anything, and helps significantly (at the cost of a little
   11346     # extra space).
   11347     freebsd2.2*)
   11348       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   11349       hardcode_libdir_flag_spec='-R$libdir'
   11350       hardcode_direct=yes
   11351       hardcode_shlibpath_var=no
   11352       ;;
   11353 
   11354     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   11355     freebsd2.*)
   11356       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   11357       hardcode_direct=yes
   11358       hardcode_minus_L=yes
   11359       hardcode_shlibpath_var=no
   11360       ;;
   11361 
   11362     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   11363     freebsd* | dragonfly* | midnightbsd*)
   11364       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11365       hardcode_libdir_flag_spec='-R$libdir'
   11366       hardcode_direct=yes
   11367       hardcode_shlibpath_var=no
   11368       ;;
   11369 
   11370     hpux9*)
   11371       if test yes = "$GCC"; then
   11372 	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'
   11373       else
   11374 	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'
   11375       fi
   11376       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11377       hardcode_libdir_separator=:
   11378       hardcode_direct=yes
   11379 
   11380       # hardcode_minus_L: Not really in the search PATH,
   11381       # but as the default location of the library.
   11382       hardcode_minus_L=yes
   11383       export_dynamic_flag_spec='$wl-E'
   11384       ;;
   11385 
   11386     hpux10*)
   11387       if test yes,no = "$GCC,$with_gnu_ld"; then
   11388 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11389       else
   11390 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   11391       fi
   11392       if test no = "$with_gnu_ld"; then
   11393 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11394 	hardcode_libdir_separator=:
   11395 	hardcode_direct=yes
   11396 	hardcode_direct_absolute=yes
   11397 	export_dynamic_flag_spec='$wl-E'
   11398 	# hardcode_minus_L: Not really in the search PATH,
   11399 	# but as the default location of the library.
   11400 	hardcode_minus_L=yes
   11401       fi
   11402       ;;
   11403 
   11404     hpux11*)
   11405       if test yes,no = "$GCC,$with_gnu_ld"; then
   11406 	case $host_cpu in
   11407 	hppa*64*)
   11408 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11409 	  ;;
   11410 	ia64*)
   11411 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   11412 	  ;;
   11413 	*)
   11414 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11415 	  ;;
   11416 	esac
   11417       else
   11418 	case $host_cpu in
   11419 	hppa*64*)
   11420 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11421 	  ;;
   11422 	ia64*)
   11423 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   11424 	  ;;
   11425 	*)
   11426 
   11427 	  # Older versions of the 11.00 compiler do not understand -b yet
   11428 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   11429 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   11430 printf %s "checking if $CC understands -b... " >&6; }
   11431 if test ${lt_cv_prog_compiler__b+y}
   11432 then :
   11433   printf %s "(cached) " >&6
   11434 else case e in #(
   11435   e) lt_cv_prog_compiler__b=no
   11436    save_LDFLAGS=$LDFLAGS
   11437    LDFLAGS="$LDFLAGS -b"
   11438    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   11439    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   11440      # The linker can only warn and ignore the option if not recognized
   11441      # So say no if there are warnings
   11442      if test -s conftest.err; then
   11443        # Append any errors to the config.log.
   11444        cat conftest.err 1>&5
   11445        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   11446        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   11447        if diff conftest.exp conftest.er2 >/dev/null; then
   11448          lt_cv_prog_compiler__b=yes
   11449        fi
   11450      else
   11451        lt_cv_prog_compiler__b=yes
   11452      fi
   11453    fi
   11454    $RM -r conftest*
   11455    LDFLAGS=$save_LDFLAGS
   11456  ;;
   11457 esac
   11458 fi
   11459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   11460 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   11461 
   11462 if test yes = "$lt_cv_prog_compiler__b"; then
   11463     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11464 else
   11465     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   11466 fi
   11467 
   11468 	  ;;
   11469 	esac
   11470       fi
   11471       if test no = "$with_gnu_ld"; then
   11472 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   11473 	hardcode_libdir_separator=:
   11474 
   11475 	case $host_cpu in
   11476 	hppa*64*|ia64*)
   11477 	  hardcode_direct=no
   11478 	  hardcode_shlibpath_var=no
   11479 	  ;;
   11480 	*)
   11481 	  hardcode_direct=yes
   11482 	  hardcode_direct_absolute=yes
   11483 	  export_dynamic_flag_spec='$wl-E'
   11484 
   11485 	  # hardcode_minus_L: Not really in the search PATH,
   11486 	  # but as the default location of the library.
   11487 	  hardcode_minus_L=yes
   11488 	  ;;
   11489 	esac
   11490       fi
   11491       ;;
   11492 
   11493     irix5* | irix6* | nonstopux*)
   11494       if test yes = "$GCC"; then
   11495 	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'
   11496 	# Try to use the -exported_symbol ld option, if it does not
   11497 	# work, assume that -exports_file does not work either and
   11498 	# implicitly export all symbols.
   11499 	# This should be the same for all languages, so no per-tag cache variable.
   11500 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   11501 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   11502 if test ${lt_cv_irix_exported_symbol+y}
   11503 then :
   11504   printf %s "(cached) " >&6
   11505 else case e in #(
   11506   e) save_LDFLAGS=$LDFLAGS
   11507 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   11508 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11509 /* end confdefs.h.  */
   11510 int foo (void) { return 0; }
   11511 _ACEOF
   11512 if ac_fn_c_try_link "$LINENO"
   11513 then :
   11514   lt_cv_irix_exported_symbol=yes
   11515 else case e in #(
   11516   e) lt_cv_irix_exported_symbol=no ;;
   11517 esac
   11518 fi
   11519 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11520     conftest$ac_exeext conftest.$ac_ext
   11521            LDFLAGS=$save_LDFLAGS ;;
   11522 esac
   11523 fi
   11524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   11525 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   11526 	if test yes = "$lt_cv_irix_exported_symbol"; then
   11527           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'
   11528 	fi
   11529       else
   11530 	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'
   11531 	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'
   11532       fi
   11533       archive_cmds_need_lc='no'
   11534       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11535       hardcode_libdir_separator=:
   11536       inherit_rpath=yes
   11537       link_all_deplibs=yes
   11538       ;;
   11539 
   11540     linux*)
   11541       case $cc_basename in
   11542       tcc*)
   11543 	# Fabrice Bellard et al's Tiny C Compiler
   11544 	ld_shlibs=yes
   11545 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11546 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11547 	;;
   11548       esac
   11549       ;;
   11550 
   11551     *-mlibc)
   11552       ;;
   11553 
   11554     netbsd* | netbsdelf*-gnu)
   11555       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11556 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   11557       else
   11558 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   11559       fi
   11560       hardcode_libdir_flag_spec='-R$libdir'
   11561       hardcode_direct=yes
   11562       hardcode_shlibpath_var=no
   11563       ;;
   11564 
   11565     newsos6)
   11566       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11567       hardcode_direct=yes
   11568       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11569       hardcode_libdir_separator=:
   11570       hardcode_shlibpath_var=no
   11571       ;;
   11572 
   11573     *nto* | *qnx*)
   11574       ;;
   11575 
   11576     openbsd*)
   11577       if test -f /usr/libexec/ld.so; then
   11578 	hardcode_direct=yes
   11579 	hardcode_shlibpath_var=no
   11580 	hardcode_direct_absolute=yes
   11581 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11582 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11583 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   11584 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11585 	  export_dynamic_flag_spec='$wl-E'
   11586 	else
   11587 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11588 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11589 	fi
   11590       else
   11591 	ld_shlibs=no
   11592       fi
   11593       ;;
   11594 
   11595     os2*)
   11596       hardcode_libdir_flag_spec='-L$libdir'
   11597       hardcode_minus_L=yes
   11598       allow_undefined_flag=unsupported
   11599       shrext_cmds=.dll
   11600       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11601 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11602 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11603 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11604 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   11605 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11606 	emximp -o $lib $output_objdir/$libname.def'
   11607       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11608 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11609 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11610 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11611 	prefix_cmds="$SED"~
   11612 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   11613 	  prefix_cmds="$prefix_cmds -e 1d";
   11614 	fi~
   11615 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   11616 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   11617 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11618 	emximp -o $lib $output_objdir/$libname.def'
   11619       old_archive_from_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   11620       enable_shared_with_static_runtimes=yes
   11621       file_list_spec='@'
   11622       ;;
   11623 
   11624     osf3*)
   11625       if test yes = "$GCC"; then
   11626 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11627 	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'
   11628       else
   11629 	allow_undefined_flag=' -expect_unresolved \*'
   11630 	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'
   11631       fi
   11632       archive_cmds_need_lc='no'
   11633       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11634       hardcode_libdir_separator=:
   11635       ;;
   11636 
   11637     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   11638       if test yes = "$GCC"; then
   11639 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11640 	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'
   11641 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11642       else
   11643 	allow_undefined_flag=' -expect_unresolved \*'
   11644 	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'
   11645 	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~
   11646           $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'
   11647 
   11648 	# Both c and cxx compiler support -rpath directly
   11649 	hardcode_libdir_flag_spec='-rpath $libdir'
   11650       fi
   11651       archive_cmds_need_lc='no'
   11652       hardcode_libdir_separator=:
   11653       ;;
   11654 
   11655     serenity*)
   11656       ;;
   11657 
   11658     solaris*)
   11659       no_undefined_flag=' -z defs'
   11660       if test yes = "$GCC"; then
   11661 	wlarc='$wl'
   11662 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11663 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11664           $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'
   11665       else
   11666 	case `$CC -V 2>&1` in
   11667 	*"Compilers 5.0"*)
   11668 	  wlarc=''
   11669 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11670 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11671             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   11672 	  ;;
   11673 	*)
   11674 	  wlarc='$wl'
   11675 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11676 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11677             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   11678 	  ;;
   11679 	esac
   11680       fi
   11681       hardcode_libdir_flag_spec='-R$libdir'
   11682       hardcode_shlibpath_var=no
   11683       case $host_os in
   11684       solaris2.[0-5] | solaris2.[0-5].*) ;;
   11685       *)
   11686 	# The compiler driver will combine and reorder linker options,
   11687 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   11688 	# but is careful enough not to reorder.
   11689 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   11690 	if test yes = "$GCC"; then
   11691 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   11692 	else
   11693 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   11694 	fi
   11695 	;;
   11696       esac
   11697       link_all_deplibs=yes
   11698       ;;
   11699 
   11700     sunos4*)
   11701       if test sequent = "$host_vendor"; then
   11702 	# Use $CC to link under sequent, because it throws in some extra .o
   11703 	# files that make .init and .fini sections work.
   11704 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11705       else
   11706 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   11707       fi
   11708       hardcode_libdir_flag_spec='-L$libdir'
   11709       hardcode_direct=yes
   11710       hardcode_minus_L=yes
   11711       hardcode_shlibpath_var=no
   11712       ;;
   11713 
   11714     sysv4)
   11715       case $host_vendor in
   11716 	sni)
   11717 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11718 	  hardcode_direct=yes # is this really true???
   11719 	;;
   11720 	siemens)
   11721 	  ## LD is ld it makes a PLAMLIB
   11722 	  ## CC just makes a GrossModule.
   11723 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   11724 	  reload_cmds='$CC -r -o $output$reload_objs'
   11725 	  hardcode_direct=no
   11726         ;;
   11727 	motorola)
   11728 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11729 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   11730 	;;
   11731       esac
   11732       runpath_var='LD_RUN_PATH'
   11733       hardcode_shlibpath_var=no
   11734       ;;
   11735 
   11736     sysv4.3*)
   11737       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11738       hardcode_shlibpath_var=no
   11739       export_dynamic_flag_spec='-Bexport'
   11740       ;;
   11741 
   11742     sysv4*MP*)
   11743       if test -d /usr/nec; then
   11744 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11745 	hardcode_shlibpath_var=no
   11746 	runpath_var=LD_RUN_PATH
   11747 	hardcode_runpath_var=yes
   11748 	ld_shlibs=yes
   11749       fi
   11750       ;;
   11751 
   11752     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11753       no_undefined_flag='$wl-z,text'
   11754       archive_cmds_need_lc=no
   11755       hardcode_shlibpath_var=no
   11756       runpath_var='LD_RUN_PATH'
   11757 
   11758       if test yes = "$GCC"; then
   11759 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11760 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11761       else
   11762 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11763 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11764       fi
   11765       ;;
   11766 
   11767     sysv5* | sco3.2v5* | sco5v6*)
   11768       # Note: We CANNOT use -z defs as we might desire, because we do not
   11769       # link with -lc, and that would cause any symbols used from libc to
   11770       # always be unresolved, which means just about no library would
   11771       # ever link correctly.  If we're not using GNU ld we use -z text
   11772       # though, which does catch some bad symbols but isn't as heavy-handed
   11773       # as -z defs.
   11774       no_undefined_flag='$wl-z,text'
   11775       allow_undefined_flag='$wl-z,nodefs'
   11776       archive_cmds_need_lc=no
   11777       hardcode_shlibpath_var=no
   11778       hardcode_libdir_flag_spec='$wl-R,$libdir'
   11779       hardcode_libdir_separator=':'
   11780       link_all_deplibs=yes
   11781       export_dynamic_flag_spec='$wl-Bexport'
   11782       runpath_var='LD_RUN_PATH'
   11783 
   11784       if test yes = "$GCC"; then
   11785 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11786 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11787       else
   11788 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11789 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11790       fi
   11791       ;;
   11792 
   11793     uts4*)
   11794       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11795       hardcode_libdir_flag_spec='-L$libdir'
   11796       hardcode_shlibpath_var=no
   11797       ;;
   11798 
   11799     *)
   11800       ld_shlibs=no
   11801       ;;
   11802     esac
   11803 
   11804     if test sni = "$host_vendor"; then
   11805       case $host in
   11806       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   11807 	export_dynamic_flag_spec='$wl-Blargedynsym'
   11808 	;;
   11809       esac
   11810     fi
   11811   fi
   11812 
   11813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   11814 printf "%s\n" "$ld_shlibs" >&6; }
   11815 test no = "$ld_shlibs" && can_build_shared=no
   11816 
   11817 with_gnu_ld=$with_gnu_ld
   11818 
   11819 
   11820 
   11821 
   11822 
   11823 
   11824 
   11825 
   11826 
   11827 
   11828 
   11829 
   11830 
   11831 
   11832 
   11833 #
   11834 # Do we need to explicitly link libc?
   11835 #
   11836 case "x$archive_cmds_need_lc" in
   11837 x|xyes)
   11838   # Assume -lc should be added
   11839   archive_cmds_need_lc=yes
   11840 
   11841   if test yes,yes = "$GCC,$enable_shared"; then
   11842     case $archive_cmds in
   11843     *'~'*)
   11844       # FIXME: we may have to deal with multi-command sequences.
   11845       ;;
   11846     '$CC '*)
   11847       # Test whether the compiler implicitly links with -lc since on some
   11848       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   11849       # to ld, don't add -lc before -lgcc.
   11850       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   11851 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   11852 if test ${lt_cv_archive_cmds_need_lc+y}
   11853 then :
   11854   printf %s "(cached) " >&6
   11855 else case e in #(
   11856   e) $RM conftest*
   11857 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11858 
   11859 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11860   (eval $ac_compile) 2>&5
   11861   ac_status=$?
   11862   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11863   test $ac_status = 0; } 2>conftest.err; then
   11864 	  soname=conftest
   11865 	  lib=conftest
   11866 	  libobjs=conftest.$ac_objext
   11867 	  deplibs=
   11868 	  wl=$lt_prog_compiler_wl
   11869 	  pic_flag=$lt_prog_compiler_pic
   11870 	  compiler_flags=-v
   11871 	  linker_flags=-v
   11872 	  verstring=
   11873 	  output_objdir=.
   11874 	  libname=conftest
   11875 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   11876 	  allow_undefined_flag=
   11877 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   11878   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   11879   ac_status=$?
   11880   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11881   test $ac_status = 0; }
   11882 	  then
   11883 	    lt_cv_archive_cmds_need_lc=no
   11884 	  else
   11885 	    lt_cv_archive_cmds_need_lc=yes
   11886 	  fi
   11887 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   11888 	else
   11889 	  cat conftest.err 1>&5
   11890 	fi
   11891 	$RM conftest*
   11892 	 ;;
   11893 esac
   11894 fi
   11895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   11896 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   11897       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   11898       ;;
   11899     esac
   11900   fi
   11901   ;;
   11902 esac
   11903 
   11904 
   11905 
   11906 
   11907 
   11908 
   11909 
   11910 
   11911 
   11912 
   11913 
   11914 
   11915 
   11916 
   11917 
   11918 
   11919 
   11920 
   11921 
   11922 
   11923 
   11924 
   11925 
   11926 
   11927 
   11928 
   11929 
   11930 
   11931 
   11932 
   11933 
   11934 
   11935 
   11936 
   11937 
   11938 
   11939 
   11940 
   11941 
   11942 
   11943 
   11944 
   11945 
   11946 
   11947 
   11948 
   11949 
   11950 
   11951 
   11952 
   11953 
   11954 
   11955 
   11956 
   11957 
   11958 
   11959 
   11960 
   11961 
   11962 
   11963 
   11964 
   11965 
   11966 
   11967 
   11968 
   11969 
   11970 
   11971 
   11972 
   11973 
   11974 
   11975 
   11976 
   11977 
   11978 
   11979 
   11980 
   11981 
   11982 
   11983 
   11984 
   11985 
   11986 
   11987 
   11988 
   11989 
   11990 
   11991 
   11992 
   11993 
   11994 
   11995 
   11996 
   11997 
   11998 
   11999 
   12000 
   12001 
   12002 
   12003 
   12004 
   12005 
   12006 
   12007 
   12008 
   12009 
   12010 
   12011 
   12012 
   12013 
   12014 
   12015 
   12016 
   12017 
   12018 
   12019 
   12020 
   12021 
   12022 
   12023 
   12024 
   12025 
   12026 
   12027 
   12028 
   12029 
   12030 
   12031 
   12032 
   12033 
   12034 
   12035 
   12036 
   12037 
   12038 
   12039 
   12040 
   12041 
   12042 
   12043 
   12044 
   12045 
   12046 
   12047 
   12048 
   12049 
   12050 
   12051 
   12052 
   12053 
   12054 
   12055   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   12056 printf %s "checking dynamic linker characteristics... " >&6; }
   12057 
   12058 if test yes = "$GCC"; then
   12059   case $host_os in
   12060     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   12061     *) lt_awk_arg='/^libraries:/' ;;
   12062   esac
   12063   case $host_os in
   12064     mingw* | windows* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   12065     *) lt_sed_strip_eq='s|=/|/|g' ;;
   12066   esac
   12067   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   12068   case $lt_search_path_spec in
   12069   *\;*)
   12070     # if the path contains ";" then we assume it to be the separator
   12071     # otherwise default to the standard path separator (i.e. ":") - it is
   12072     # assumed that no part of a normal pathname contains ";" but that should
   12073     # okay in the real world where ";" in dirpaths is itself problematic.
   12074     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   12075     ;;
   12076   *)
   12077     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   12078     ;;
   12079   esac
   12080   # Ok, now we have the path, separated by spaces, we can step through it
   12081   # and add multilib dir if necessary...
   12082   lt_tmp_lt_search_path_spec=
   12083   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   12084   # ...but if some path component already ends with the multilib dir we assume
   12085   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   12086   case "$lt_multi_os_dir; $lt_search_path_spec " in
   12087   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   12088     lt_multi_os_dir=
   12089     ;;
   12090   esac
   12091   for lt_sys_path in $lt_search_path_spec; do
   12092     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   12093       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   12094     elif test -n "$lt_multi_os_dir"; then
   12095       test -d "$lt_sys_path" && \
   12096 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   12097     fi
   12098   done
   12099   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   12100 BEGIN {RS = " "; FS = "/|\n";} {
   12101   lt_foo = "";
   12102   lt_count = 0;
   12103   for (lt_i = NF; lt_i > 0; lt_i--) {
   12104     if ($lt_i != "" && $lt_i != ".") {
   12105       if ($lt_i == "..") {
   12106         lt_count++;
   12107       } else {
   12108         if (lt_count == 0) {
   12109           lt_foo = "/" $lt_i lt_foo;
   12110         } else {
   12111           lt_count--;
   12112         }
   12113       }
   12114     }
   12115   }
   12116   if (lt_foo != "") { lt_freq[lt_foo]++; }
   12117   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   12118 }'`
   12119   # AWK program above erroneously prepends '/' to C:/dos/paths
   12120   # for these hosts.
   12121   case $host_os in
   12122     mingw* | windows* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   12123       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   12124   esac
   12125   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   12126 else
   12127   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12128 fi
   12129 library_names_spec=
   12130 libname_spec='lib$name'
   12131 soname_spec=
   12132 shrext_cmds=.so
   12133 postinstall_cmds=
   12134 postuninstall_cmds=
   12135 finish_cmds=
   12136 finish_eval=
   12137 shlibpath_var=
   12138 shlibpath_overrides_runpath=unknown
   12139 version_type=none
   12140 dynamic_linker="$host_os ld.so"
   12141 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   12142 need_lib_prefix=unknown
   12143 hardcode_into_libs=no
   12144 
   12145 # when you set need_version to no, make sure it does not cause -set_version
   12146 # flags to be left without arguments
   12147 need_version=unknown
   12148 
   12149 
   12150 
   12151 case $host_os in
   12152 aix3*)
   12153   version_type=linux # correct to gnu/linux during the next big refactor
   12154   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   12155   shlibpath_var=LIBPATH
   12156 
   12157   # AIX 3 has no versioning support, so we append a major version to the name.
   12158   soname_spec='$libname$release$shared_ext$major'
   12159   ;;
   12160 
   12161 aix[4-9]*)
   12162   version_type=linux # correct to gnu/linux during the next big refactor
   12163   need_lib_prefix=no
   12164   need_version=no
   12165   hardcode_into_libs=yes
   12166   if test ia64 = "$host_cpu"; then
   12167     # AIX 5 supports IA64
   12168     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   12169     shlibpath_var=LD_LIBRARY_PATH
   12170   else
   12171     # With GCC up to 2.95.x, collect2 would create an import file
   12172     # for dependence libraries.  The import file would start with
   12173     # the line '#! .'.  This would cause the generated library to
   12174     # depend on '.', always an invalid library.  This was fixed in
   12175     # development snapshots of GCC prior to 3.0.
   12176     case $host_os in
   12177       aix4 | aix4.[01] | aix4.[01].*)
   12178       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   12179 	   echo ' yes '
   12180 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   12181 	:
   12182       else
   12183 	can_build_shared=no
   12184       fi
   12185       ;;
   12186     esac
   12187     # Using Import Files as archive members, it is possible to support
   12188     # filename-based versioning of shared library archives on AIX. While
   12189     # this would work for both with and without runtime linking, it will
   12190     # prevent static linking of such archives. So we do filename-based
   12191     # shared library versioning with .so extension only, which is used
   12192     # when both runtime linking and shared linking is enabled.
   12193     # Unfortunately, runtime linking may impact performance, so we do
   12194     # not want this to be the default eventually. Also, we use the
   12195     # versioned .so libs for executables only if there is the -brtl
   12196     # linker flag in LDFLAGS as well, or --enable-aix-soname=svr4 only.
   12197     # To allow for filename-based versioning support, we need to create
   12198     # libNAME.so.V as an archive file, containing:
   12199     # *) an Import File, referring to the versioned filename of the
   12200     #    archive as well as the shared archive member, telling the
   12201     #    bitwidth (32 or 64) of that shared object, and providing the
   12202     #    list of exported symbols of that shared object, eventually
   12203     #    decorated with the 'weak' keyword
   12204     # *) the shared object with the F_LOADONLY flag set, to really avoid
   12205     #    it being seen by the linker.
   12206     # At run time we better use the real file rather than another symlink,
   12207     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   12208 
   12209     case $with_aix_soname,$aix_use_runtimelinking in
   12210     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   12211     # soname into executable. Probably we can add versioning support to
   12212     # collect2, so additional links can be useful in future.
   12213     aix,yes) # traditional libtool
   12214       dynamic_linker='AIX unversionable lib.so'
   12215       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   12216       # instead of lib<name>.a to let people know that these are not
   12217       # typical AIX shared libraries.
   12218       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12219       ;;
   12220     aix,no) # traditional AIX only
   12221       dynamic_linker='AIX lib.a(lib.so.V)'
   12222       # We preserve .a as extension for shared libraries through AIX4.2
   12223       # and later when we are not doing run time linking.
   12224       library_names_spec='$libname$release.a $libname.a'
   12225       soname_spec='$libname$release$shared_ext$major'
   12226       ;;
   12227     svr4,*) # full svr4 only
   12228       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   12229       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   12230       # We do not specify a path in Import Files, so LIBPATH fires.
   12231       shlibpath_overrides_runpath=yes
   12232       ;;
   12233     *,yes) # both, prefer svr4
   12234       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   12235       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   12236       # unpreferred sharedlib libNAME.a needs extra handling
   12237       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"'
   12238       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"'
   12239       # We do not specify a path in Import Files, so LIBPATH fires.
   12240       shlibpath_overrides_runpath=yes
   12241       ;;
   12242     *,no) # both, prefer aix
   12243       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   12244       library_names_spec='$libname$release.a $libname.a'
   12245       soname_spec='$libname$release$shared_ext$major'
   12246       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   12247       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)'
   12248       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"'
   12249       ;;
   12250     esac
   12251     shlibpath_var=LIBPATH
   12252   fi
   12253   ;;
   12254 
   12255 amigaos*)
   12256   case $host_cpu in
   12257   powerpc)
   12258     # Since July 2007 AmigaOS4 officially supports .so libraries.
   12259     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   12260     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12261     ;;
   12262   m68k)
   12263     library_names_spec='$libname.ixlibrary $libname.a'
   12264     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   12265     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'
   12266     ;;
   12267   esac
   12268   ;;
   12269 
   12270 beos*)
   12271   library_names_spec='$libname$shared_ext'
   12272   dynamic_linker="$host_os ld.so"
   12273   shlibpath_var=LIBRARY_PATH
   12274   ;;
   12275 
   12276 bsdi[45]*)
   12277   version_type=linux # correct to gnu/linux during the next big refactor
   12278   need_version=no
   12279   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12280   soname_spec='$libname$release$shared_ext$major'
   12281   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   12282   shlibpath_var=LD_LIBRARY_PATH
   12283   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   12284   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   12285   # the default ld.so.conf also contains /usr/contrib/lib and
   12286   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   12287   # libtool to hard-code these into programs
   12288   ;;
   12289 
   12290 cygwin* | mingw* | windows* | pw32* | cegcc*)
   12291   version_type=windows
   12292   shrext_cmds=.dll
   12293   need_version=no
   12294   need_lib_prefix=no
   12295 
   12296   case $GCC,$cc_basename in
   12297   yes,*)
   12298     # gcc
   12299     library_names_spec='$libname.dll.a'
   12300     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   12301     # If user builds GCC with multilib enabled,
   12302     # it should just install on $(libdir)
   12303     # not on $(libdir)/../bin or 32 bits dlls would override 64 bit ones.
   12304     if test xyes = x"$multilib"; then
   12305       postinstall_cmds='base_file=`basename \$file`~
   12306         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   12307         dldir=$destdir/`dirname \$dlpath`~
   12308         $install_prog $dir/$dlname $destdir/$dlname~
   12309         chmod a+x $destdir/$dlname~
   12310         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12311           eval '\''$striplib $destdir/$dlname'\'' || exit \$?;
   12312         fi'
   12313     else
   12314       postinstall_cmds='base_file=`basename \$file`~
   12315         dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   12316         dldir=$destdir/`dirname \$dlpath`~
   12317         test -d \$dldir || mkdir -p \$dldir~
   12318         $install_prog $dir/$dlname \$dldir/$dlname~
   12319         chmod a+x \$dldir/$dlname~
   12320         if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12321           eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   12322         fi'
   12323     fi
   12324     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   12325       dlpath=$dir/\$dldll~
   12326        $RM \$dlpath'
   12327     shlibpath_overrides_runpath=yes
   12328 
   12329     case $host_os in
   12330     cygwin*)
   12331       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   12332       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12333 
   12334       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   12335       ;;
   12336     mingw* | windows* | cegcc*)
   12337       # MinGW DLLs use traditional 'lib' prefix
   12338       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12339       ;;
   12340     pw32*)
   12341       # pw32 DLLs use 'pw' prefix rather than 'lib'
   12342       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12343       ;;
   12344     esac
   12345     dynamic_linker='Win32 ld.exe'
   12346     ;;
   12347 
   12348   *,cl* | *,icl*)
   12349     # Native MSVC or ICC
   12350     libname_spec='$name'
   12351     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   12352     library_names_spec='$libname.dll.lib'
   12353 
   12354     case $build_os in
   12355     mingw* | windows*)
   12356       sys_lib_search_path_spec=
   12357       lt_save_ifs=$IFS
   12358       IFS=';'
   12359       for lt_path in $LIB
   12360       do
   12361         IFS=$lt_save_ifs
   12362         # Let DOS variable expansion print the short 8.3 style file name.
   12363         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   12364         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   12365       done
   12366       IFS=$lt_save_ifs
   12367       # Convert to MSYS style.
   12368       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   12369       ;;
   12370     cygwin*)
   12371       # Convert to unix form, then to dos form, then back to unix form
   12372       # but this time dos style (no spaces!) so that the unix form looks
   12373       # like /cygdrive/c/PROGRA~1:/cygdr...
   12374       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   12375       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   12376       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   12377       ;;
   12378     *)
   12379       sys_lib_search_path_spec=$LIB
   12380       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   12381         # It is most probably a Windows format PATH.
   12382         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   12383       else
   12384         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   12385       fi
   12386       # FIXME: find the short name or the path components, as spaces are
   12387       # common. (e.g. "Program Files" -> "PROGRA~1")
   12388       ;;
   12389     esac
   12390 
   12391     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   12392     postinstall_cmds='base_file=`basename \$file`~
   12393       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   12394       dldir=$destdir/`dirname \$dlpath`~
   12395       test -d \$dldir || mkdir -p \$dldir~
   12396       $install_prog $dir/$dlname \$dldir/$dlname'
   12397     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   12398       dlpath=$dir/\$dldll~
   12399        $RM \$dlpath'
   12400     shlibpath_overrides_runpath=yes
   12401     dynamic_linker='Win32 link.exe'
   12402     ;;
   12403 
   12404   *)
   12405     # Assume MSVC and ICC wrapper
   12406     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   12407     dynamic_linker='Win32 ld.exe'
   12408     ;;
   12409   esac
   12410   # FIXME: first we should search . and the directory the executable is in
   12411   shlibpath_var=PATH
   12412   ;;
   12413 
   12414 darwin* | rhapsody*)
   12415   dynamic_linker="$host_os dyld"
   12416   version_type=darwin
   12417   need_lib_prefix=no
   12418   need_version=no
   12419   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   12420   soname_spec='$libname$release$major$shared_ext'
   12421   shlibpath_overrides_runpath=yes
   12422   shlibpath_var=DYLD_LIBRARY_PATH
   12423   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   12424 
   12425   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   12426   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   12427   ;;
   12428 
   12429 dgux*)
   12430   version_type=linux # correct to gnu/linux during the next big refactor
   12431   need_lib_prefix=no
   12432   need_version=no
   12433   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12434   soname_spec='$libname$release$shared_ext$major'
   12435   shlibpath_var=LD_LIBRARY_PATH
   12436   ;;
   12437 
   12438 freebsd* | dragonfly* | midnightbsd*)
   12439   # DragonFly does not have aout.  When/if they implement a new
   12440   # versioning mechanism, adjust this.
   12441   if test -x /usr/bin/objformat; then
   12442     objformat=`/usr/bin/objformat`
   12443   else
   12444     case $host_os in
   12445     freebsd[23].*) objformat=aout ;;
   12446     *) objformat=elf ;;
   12447     esac
   12448   fi
   12449   version_type=freebsd-$objformat
   12450   case $version_type in
   12451     freebsd-elf*)
   12452       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12453       soname_spec='$libname$release$shared_ext$major'
   12454       need_version=no
   12455       need_lib_prefix=no
   12456       ;;
   12457     freebsd-*)
   12458       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12459       need_version=yes
   12460       ;;
   12461   esac
   12462   case $host_cpu in
   12463     powerpc64)
   12464       # On FreeBSD bi-arch platforms, a different variable is used for 32-bit
   12465       # binaries.  See <https://man.freebsd.org/cgi/man.cgi?query=ld.so>.
   12466       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12467 /* end confdefs.h.  */
   12468 int test_pointer_size[sizeof (void *) - 5];
   12469 
   12470 _ACEOF
   12471 if ac_fn_c_try_compile "$LINENO"
   12472 then :
   12473   shlibpath_var=LD_LIBRARY_PATH
   12474 else case e in #(
   12475   e) shlibpath_var=LD_32_LIBRARY_PATH ;;
   12476 esac
   12477 fi
   12478 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   12479       ;;
   12480     *)
   12481       shlibpath_var=LD_LIBRARY_PATH
   12482       ;;
   12483   esac
   12484   case $host_os in
   12485   freebsd2.*)
   12486     shlibpath_overrides_runpath=yes
   12487     ;;
   12488   freebsd3.[01]* | freebsdelf3.[01]*)
   12489     shlibpath_overrides_runpath=yes
   12490     hardcode_into_libs=yes
   12491     ;;
   12492   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   12493   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   12494     shlibpath_overrides_runpath=no
   12495     hardcode_into_libs=yes
   12496     ;;
   12497   *) # from 4.6 on, and DragonFly
   12498     shlibpath_overrides_runpath=yes
   12499     hardcode_into_libs=yes
   12500     ;;
   12501   esac
   12502   ;;
   12503 
   12504 haiku*)
   12505   version_type=linux # correct to gnu/linux during the next big refactor
   12506   need_lib_prefix=no
   12507   need_version=no
   12508   dynamic_linker="$host_os runtime_loader"
   12509   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12510   soname_spec='$libname$release$shared_ext$major'
   12511   shlibpath_var=LIBRARY_PATH
   12512   shlibpath_overrides_runpath=no
   12513   sys_lib_search_path_spec='/boot/system/non-packaged/develop/lib /boot/system/develop/lib'
   12514   sys_lib_dlsearch_path_spec='/boot/home/config/non-packaged/lib /boot/home/config/lib /boot/system/non-packaged/lib /boot/system/lib'
   12515   hardcode_into_libs=no
   12516   ;;
   12517 
   12518 hpux9* | hpux10* | hpux11*)
   12519   # Give a soname corresponding to the major version so that dld.sl refuses to
   12520   # link against other versions.
   12521   version_type=sunos
   12522   need_lib_prefix=no
   12523   need_version=no
   12524   case $host_cpu in
   12525   ia64*)
   12526     shrext_cmds='.so'
   12527     hardcode_into_libs=yes
   12528     dynamic_linker="$host_os dld.so"
   12529     shlibpath_var=LD_LIBRARY_PATH
   12530     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12531     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12532     soname_spec='$libname$release$shared_ext$major'
   12533     if test 32 = "$HPUX_IA64_MODE"; then
   12534       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   12535       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   12536     else
   12537       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   12538       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   12539     fi
   12540     ;;
   12541   hppa*64*)
   12542     shrext_cmds='.sl'
   12543     hardcode_into_libs=yes
   12544     dynamic_linker="$host_os dld.sl"
   12545     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   12546     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12547     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12548     soname_spec='$libname$release$shared_ext$major'
   12549     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   12550     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12551     ;;
   12552   *)
   12553     shrext_cmds='.sl'
   12554     dynamic_linker="$host_os dld.sl"
   12555     shlibpath_var=SHLIB_PATH
   12556     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   12557     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12558     soname_spec='$libname$release$shared_ext$major'
   12559     ;;
   12560   esac
   12561   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   12562   postinstall_cmds='chmod 555 $lib'
   12563   # or fails outright, so override atomically:
   12564   install_override_mode=555
   12565   ;;
   12566 
   12567 interix[3-9]*)
   12568   version_type=linux # correct to gnu/linux during the next big refactor
   12569   need_lib_prefix=no
   12570   need_version=no
   12571   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12572   soname_spec='$libname$release$shared_ext$major'
   12573   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   12574   shlibpath_var=LD_LIBRARY_PATH
   12575   shlibpath_overrides_runpath=no
   12576   hardcode_into_libs=yes
   12577   ;;
   12578 
   12579 irix5* | irix6* | nonstopux*)
   12580   case $host_os in
   12581     nonstopux*) version_type=nonstopux ;;
   12582     *)
   12583 	if test yes = "$lt_cv_prog_gnu_ld"; then
   12584 		version_type=linux # correct to gnu/linux during the next big refactor
   12585 	else
   12586 		version_type=irix
   12587 	fi ;;
   12588   esac
   12589   need_lib_prefix=no
   12590   need_version=no
   12591   soname_spec='$libname$release$shared_ext$major'
   12592   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   12593   case $host_os in
   12594   irix5* | nonstopux*)
   12595     libsuff= shlibsuff=
   12596     ;;
   12597   *)
   12598     case $LD in # libtool.m4 will add one of these switches to LD
   12599     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   12600       libsuff= shlibsuff= libmagic=32-bit;;
   12601     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   12602       libsuff=32 shlibsuff=N32 libmagic=N32;;
   12603     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   12604       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   12605     *) libsuff= shlibsuff= libmagic=never-match;;
   12606     esac
   12607     ;;
   12608   esac
   12609   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   12610   shlibpath_overrides_runpath=no
   12611   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   12612   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   12613   hardcode_into_libs=yes
   12614   ;;
   12615 
   12616 # No shared lib support for Linux oldld, aout, or coff.
   12617 linux*oldld* | linux*aout* | linux*coff*)
   12618   dynamic_linker=no
   12619   ;;
   12620 
   12621 linux*android*)
   12622   version_type=none # Android doesn't support versioned libraries.
   12623   need_lib_prefix=no
   12624   need_version=no
   12625   library_names_spec='$libname$release$shared_ext $libname$shared_ext'
   12626   soname_spec='$libname$release$shared_ext'
   12627   finish_cmds=
   12628   shlibpath_var=LD_LIBRARY_PATH
   12629   shlibpath_overrides_runpath=yes
   12630 
   12631   # This implies no fast_install, which is unacceptable.
   12632   # Some rework will be needed to allow for fast_install
   12633   # before this can be enabled.
   12634   hardcode_into_libs=yes
   12635 
   12636   dynamic_linker='Android linker'
   12637   # -rpath works at least for libraries that are not overridden by
   12638   # libraries installed in system locations.
   12639   hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   12640   ;;
   12641 
   12642 # This must be glibc/ELF.
   12643 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12644   version_type=linux # correct to gnu/linux during the next big refactor
   12645   need_lib_prefix=no
   12646   need_version=no
   12647   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12648   soname_spec='$libname$release$shared_ext$major'
   12649   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   12650   shlibpath_var=LD_LIBRARY_PATH
   12651   shlibpath_overrides_runpath=no
   12652 
   12653   # Some binutils ld are patched to set DT_RUNPATH
   12654   if test ${lt_cv_shlibpath_overrides_runpath+y}
   12655 then :
   12656   printf %s "(cached) " >&6
   12657 else case e in #(
   12658   e) lt_cv_shlibpath_overrides_runpath=no
   12659     save_LDFLAGS=$LDFLAGS
   12660     save_libdir=$libdir
   12661     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   12662 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   12663     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12664 /* end confdefs.h.  */
   12665 
   12666 int
   12667 main (void)
   12668 {
   12669 
   12670   ;
   12671   return 0;
   12672 }
   12673 _ACEOF
   12674 if ac_fn_c_try_link "$LINENO"
   12675 then :
   12676   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   12677 then :
   12678   lt_cv_shlibpath_overrides_runpath=yes
   12679 fi
   12680 fi
   12681 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12682     conftest$ac_exeext conftest.$ac_ext
   12683     LDFLAGS=$save_LDFLAGS
   12684     libdir=$save_libdir
   12685      ;;
   12686 esac
   12687 fi
   12688 
   12689   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   12690 
   12691   # This implies no fast_install, which is unacceptable.
   12692   # Some rework will be needed to allow for fast_install
   12693   # before this can be enabled.
   12694   hardcode_into_libs=yes
   12695 
   12696   # Ideally, we could use ldconfig to report *all* directories which are
   12697   # searched for libraries, however this is still not possible.  Aside from not
   12698   # being certain /sbin/ldconfig is available, command
   12699   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   12700   # even though it is searched at run-time.  Try to do the best guess by
   12701   # appending ld.so.conf contents (and includes) to the search path.
   12702   if test -f /etc/ld.so.conf; then
   12703     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' ' '`
   12704     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   12705   fi
   12706 
   12707   # We used to test for /lib/ld.so.1 and disable shared libraries on
   12708   # powerpc, because MkLinux only supported shared libraries with the
   12709   # GNU dynamic linker.  Since this was broken with cross compilers,
   12710   # most powerpc-linux boxes support dynamic linking these days and
   12711   # people can always --disable-shared, the test was removed, and we
   12712   # assume the GNU/Linux dynamic linker is in use.
   12713   dynamic_linker='GNU/Linux ld.so'
   12714   ;;
   12715 
   12716 netbsdelf*-gnu)
   12717   version_type=linux
   12718   need_lib_prefix=no
   12719   need_version=no
   12720   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12721   soname_spec='$libname$release$shared_ext$major'
   12722   shlibpath_var=LD_LIBRARY_PATH
   12723   shlibpath_overrides_runpath=no
   12724   hardcode_into_libs=yes
   12725   dynamic_linker='NetBSD ld.elf_so'
   12726   ;;
   12727 
   12728 netbsd*)
   12729   version_type=sunos
   12730   need_lib_prefix=no
   12731   need_version=no
   12732   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   12733     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12734     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12735     dynamic_linker='NetBSD (a.out) ld.so'
   12736   else
   12737     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12738     soname_spec='$libname$release$shared_ext$major'
   12739     dynamic_linker='NetBSD ld.elf_so'
   12740   fi
   12741   shlibpath_var=LD_LIBRARY_PATH
   12742   shlibpath_overrides_runpath=yes
   12743   hardcode_into_libs=yes
   12744   ;;
   12745 
   12746 *-mlibc)
   12747   version_type=linux # correct to gnu/linux during the next big refactor
   12748   need_lib_prefix=no
   12749   need_version=no
   12750   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12751   soname_spec='$libname$release$shared_ext$major'
   12752   dynamic_linker='mlibc ld.so'
   12753   shlibpath_var=LD_LIBRARY_PATH
   12754   shlibpath_overrides_runpath=no
   12755   hardcode_into_libs=yes
   12756   ;;
   12757 
   12758 newsos6)
   12759   version_type=linux # correct to gnu/linux during the next big refactor
   12760   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12761   shlibpath_var=LD_LIBRARY_PATH
   12762   shlibpath_overrides_runpath=yes
   12763   ;;
   12764 
   12765 *nto* | *qnx*)
   12766   version_type=qnx
   12767   need_lib_prefix=no
   12768   need_version=no
   12769   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12770   soname_spec='$libname$release$shared_ext$major'
   12771   shlibpath_var=LD_LIBRARY_PATH
   12772   shlibpath_overrides_runpath=no
   12773   hardcode_into_libs=yes
   12774   dynamic_linker='ldqnx.so'
   12775   ;;
   12776 
   12777 openbsd*)
   12778   version_type=sunos
   12779   sys_lib_dlsearch_path_spec=/usr/lib
   12780   need_lib_prefix=no
   12781   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12782     need_version=no
   12783   else
   12784     need_version=yes
   12785   fi
   12786   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12787   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12788   shlibpath_var=LD_LIBRARY_PATH
   12789   shlibpath_overrides_runpath=yes
   12790   ;;
   12791 
   12792 os2*)
   12793   libname_spec='$name'
   12794   version_type=windows
   12795   shrext_cmds=.dll
   12796   need_version=no
   12797   need_lib_prefix=no
   12798   # OS/2 can only load a DLL with a base name of 8 characters or less.
   12799   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   12800     v=$($ECHO $release$versuffix | tr -d .-);
   12801     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   12802     $ECHO $n$v`$shared_ext'
   12803   library_names_spec='${libname}_dll.$libext'
   12804   dynamic_linker='OS/2 ld.exe'
   12805   shlibpath_var=BEGINLIBPATH
   12806   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12807   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12808   postinstall_cmds='base_file=`basename \$file`~
   12809     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   12810     dldir=$destdir/`dirname \$dlpath`~
   12811     test -d \$dldir || mkdir -p \$dldir~
   12812     $install_prog $dir/$dlname \$dldir/$dlname~
   12813     chmod a+x \$dldir/$dlname~
   12814     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12815       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   12816     fi'
   12817   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   12818     dlpath=$dir/\$dldll~
   12819     $RM \$dlpath'
   12820   ;;
   12821 
   12822 osf3* | osf4* | osf5*)
   12823   version_type=osf
   12824   need_lib_prefix=no
   12825   need_version=no
   12826   soname_spec='$libname$release$shared_ext$major'
   12827   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12828   shlibpath_var=LD_LIBRARY_PATH
   12829   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   12830   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12831   ;;
   12832 
   12833 rdos*)
   12834   dynamic_linker=no
   12835   ;;
   12836 
   12837 serenity*)
   12838   version_type=linux # correct to gnu/linux during the next big refactor
   12839   need_lib_prefix=no
   12840   need_version=no
   12841   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12842   soname_spec='$libname$release$shared_ext$major'
   12843   shlibpath_var=LD_LIBRARY_PATH
   12844   shlibpath_overrides_runpath=no
   12845   dynamic_linker='SerenityOS LibELF'
   12846   ;;
   12847 
   12848 solaris*)
   12849   version_type=linux # correct to gnu/linux during the next big refactor
   12850   need_lib_prefix=no
   12851   need_version=no
   12852   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12853   soname_spec='$libname$release$shared_ext$major'
   12854   shlibpath_var=LD_LIBRARY_PATH
   12855   shlibpath_overrides_runpath=yes
   12856   hardcode_into_libs=yes
   12857   # ldd complains unless libraries are executable
   12858   postinstall_cmds='chmod +x $lib'
   12859   ;;
   12860 
   12861 sunos4*)
   12862   version_type=sunos
   12863   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12864   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   12865   shlibpath_var=LD_LIBRARY_PATH
   12866   shlibpath_overrides_runpath=yes
   12867   if test yes = "$with_gnu_ld"; then
   12868     need_lib_prefix=no
   12869   fi
   12870   need_version=yes
   12871   ;;
   12872 
   12873 sysv4 | sysv4.3*)
   12874   version_type=linux # correct to gnu/linux during the next big refactor
   12875   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12876   soname_spec='$libname$release$shared_ext$major'
   12877   shlibpath_var=LD_LIBRARY_PATH
   12878   case $host_vendor in
   12879     sni)
   12880       shlibpath_overrides_runpath=no
   12881       need_lib_prefix=no
   12882       runpath_var=LD_RUN_PATH
   12883       ;;
   12884     siemens)
   12885       need_lib_prefix=no
   12886       ;;
   12887     motorola)
   12888       need_lib_prefix=no
   12889       need_version=no
   12890       shlibpath_overrides_runpath=no
   12891       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   12892       ;;
   12893   esac
   12894   ;;
   12895 
   12896 sysv4*MP*)
   12897   if test -d /usr/nec; then
   12898     version_type=linux # correct to gnu/linux during the next big refactor
   12899     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   12900     soname_spec='$libname$shared_ext.$major'
   12901     shlibpath_var=LD_LIBRARY_PATH
   12902   fi
   12903   ;;
   12904 
   12905 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12906   version_type=sco
   12907   need_lib_prefix=no
   12908   need_version=no
   12909   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   12910   soname_spec='$libname$release$shared_ext$major'
   12911   shlibpath_var=LD_LIBRARY_PATH
   12912   shlibpath_overrides_runpath=yes
   12913   hardcode_into_libs=yes
   12914   if test yes = "$with_gnu_ld"; then
   12915     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   12916   else
   12917     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   12918     case $host_os in
   12919       sco3.2v5*)
   12920         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   12921 	;;
   12922     esac
   12923   fi
   12924   sys_lib_dlsearch_path_spec='/usr/lib'
   12925   ;;
   12926 
   12927 tpf*)
   12928   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   12929   version_type=linux # correct to gnu/linux during the next big refactor
   12930   need_lib_prefix=no
   12931   need_version=no
   12932   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12933   shlibpath_var=LD_LIBRARY_PATH
   12934   shlibpath_overrides_runpath=no
   12935   hardcode_into_libs=yes
   12936   ;;
   12937 
   12938 uts4*)
   12939   version_type=linux # correct to gnu/linux during the next big refactor
   12940   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12941   soname_spec='$libname$release$shared_ext$major'
   12942   shlibpath_var=LD_LIBRARY_PATH
   12943   ;;
   12944 
   12945 emscripten*)
   12946   version_type=none
   12947   need_lib_prefix=no
   12948   need_version=no
   12949   library_names_spec='$libname$release$shared_ext'
   12950   soname_spec='$libname$release$shared_ext'
   12951   finish_cmds=
   12952   dynamic_linker="Emscripten linker"
   12953   lt_prog_compiler_wl=
   12954 lt_prog_compiler_pic=
   12955 lt_prog_compiler_static=
   12956 
   12957 
   12958   if test yes = "$GCC"; then
   12959     lt_prog_compiler_wl='-Wl,'
   12960     lt_prog_compiler_static='-static'
   12961 
   12962     case $host_os in
   12963       aix*)
   12964       # All AIX code is PIC.
   12965       if test ia64 = "$host_cpu"; then
   12966 	# AIX 5 now supports IA64 processor
   12967 	lt_prog_compiler_static='-Bstatic'
   12968       fi
   12969       lt_prog_compiler_pic='-fPIC'
   12970       ;;
   12971 
   12972     amigaos*)
   12973       case $host_cpu in
   12974       powerpc)
   12975             # see comment about AmigaOS4 .so support
   12976             lt_prog_compiler_pic='-fPIC'
   12977         ;;
   12978       m68k)
   12979             # FIXME: we need at least 68020 code to build shared libraries, but
   12980             # adding the '-m68020' flag to GCC prevents building anything better,
   12981             # like '-m68040'.
   12982             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   12983         ;;
   12984       esac
   12985       ;;
   12986 
   12987     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12988       # PIC is the default for these OSes.
   12989       ;;
   12990 
   12991     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   12992       # This hack is so that the source file can tell whether it is being
   12993       # built for inclusion in a dll (and should export symbols for example).
   12994       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12995       # (--disable-auto-import) libraries
   12996       lt_prog_compiler_pic='-DDLL_EXPORT'
   12997       case $host_os in
   12998       os2*)
   12999 	lt_prog_compiler_static='$wl-static'
   13000 	;;
   13001       esac
   13002       ;;
   13003 
   13004     darwin* | rhapsody*)
   13005       # PIC is the default on this platform
   13006       # Common symbols not allowed in MH_DYLIB files
   13007       lt_prog_compiler_pic='-fno-common'
   13008       ;;
   13009 
   13010     haiku*)
   13011       # PIC is the default for Haiku.
   13012       # The "-static" flag exists, but is broken.
   13013       lt_prog_compiler_static=
   13014       ;;
   13015 
   13016     hpux*)
   13017       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   13018       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   13019       # sets the default TLS model and affects inlining.
   13020       case $host_cpu in
   13021       hppa*64*)
   13022 	# +Z the default
   13023 	;;
   13024       *)
   13025 	lt_prog_compiler_pic='-fPIC'
   13026 	;;
   13027       esac
   13028       ;;
   13029 
   13030     interix[3-9]*)
   13031       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   13032       # Instead, we relocate shared libraries at runtime.
   13033       ;;
   13034 
   13035     msdosdjgpp*)
   13036       # Just because we use GCC doesn't mean we suddenly get shared libraries
   13037       # on systems that don't support them.
   13038       lt_prog_compiler_can_build_shared=no
   13039       enable_shared=no
   13040       ;;
   13041 
   13042     *nto* | *qnx*)
   13043       # QNX uses GNU C++, but need to define -shared option too, otherwise
   13044       # it will coredump.
   13045       lt_prog_compiler_pic='-fPIC -shared'
   13046       ;;
   13047 
   13048     sysv4*MP*)
   13049       if test -d /usr/nec; then
   13050 	lt_prog_compiler_pic=-Kconform_pic
   13051       fi
   13052       ;;
   13053 
   13054     *)
   13055       lt_prog_compiler_pic='-fPIC'
   13056       ;;
   13057     esac
   13058 
   13059     case $cc_basename in
   13060     nvcc*) # Cuda Compiler Driver 2.2
   13061       lt_prog_compiler_wl='-Xlinker '
   13062       if test -n "$lt_prog_compiler_pic"; then
   13063         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   13064       fi
   13065       ;;
   13066     esac
   13067   else
   13068     # PORTME Check for flag to pass linker flags through the system compiler.
   13069     case $host_os in
   13070     aix*)
   13071       lt_prog_compiler_wl='-Wl,'
   13072       if test ia64 = "$host_cpu"; then
   13073 	# AIX 5 now supports IA64 processor
   13074 	lt_prog_compiler_static='-Bstatic'
   13075       else
   13076 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   13077       fi
   13078       ;;
   13079 
   13080     darwin* | rhapsody*)
   13081       # PIC is the default on this platform
   13082       # Common symbols not allowed in MH_DYLIB files
   13083       lt_prog_compiler_pic='-fno-common'
   13084       case $cc_basename in
   13085       nagfor*)
   13086         # NAG Fortran compiler
   13087         lt_prog_compiler_wl='-Wl,-Wl,,'
   13088         lt_prog_compiler_pic='-PIC'
   13089         lt_prog_compiler_static='-Bstatic'
   13090         ;;
   13091       esac
   13092       ;;
   13093 
   13094     mingw* | windows* | cygwin* | pw32* | os2* | cegcc*)
   13095       # This hack is so that the source file can tell whether it is being
   13096       # built for inclusion in a dll (and should export symbols for example).
   13097       lt_prog_compiler_pic='-DDLL_EXPORT'
   13098       case $host_os in
   13099       os2*)
   13100 	lt_prog_compiler_static='$wl-static'
   13101 	;;
   13102       esac
   13103       ;;
   13104 
   13105     hpux9* | hpux10* | hpux11*)
   13106       lt_prog_compiler_wl='-Wl,'
   13107       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   13108       # not for PA HP-UX.
   13109       case $host_cpu in
   13110       hppa*64*|ia64*)
   13111 	# +Z the default
   13112 	;;
   13113       *)
   13114 	lt_prog_compiler_pic='+Z'
   13115 	;;
   13116       esac
   13117       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   13118       lt_prog_compiler_static='$wl-a ${wl}archive'
   13119       ;;
   13120 
   13121     irix5* | irix6* | nonstopux*)
   13122       lt_prog_compiler_wl='-Wl,'
   13123       # PIC (with -KPIC) is the default.
   13124       lt_prog_compiler_static='-non_shared'
   13125       ;;
   13126 
   13127     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   13128       case $cc_basename in
   13129       # old Intel for x86_64, which still supported -KPIC.
   13130       ecc*)
   13131 	lt_prog_compiler_wl='-Wl,'
   13132 	lt_prog_compiler_pic='-KPIC'
   13133 	lt_prog_compiler_static='-static'
   13134         ;;
   13135       *flang* | ftn | f18* | f95*)
   13136         # Flang compiler.
   13137 	lt_prog_compiler_wl='-Wl,'
   13138 	lt_prog_compiler_pic='-fPIC'
   13139 	lt_prog_compiler_static='-static'
   13140         ;;
   13141       # icc used to be incompatible with GCC.
   13142       # ICC 10 doesn't accept -KPIC any more.
   13143       icc* | ifort*)
   13144 	lt_prog_compiler_wl='-Wl,'
   13145 	lt_prog_compiler_pic='-fPIC'
   13146 	lt_prog_compiler_static='-static'
   13147         ;;
   13148       # Lahey Fortran 8.1.
   13149       lf95*)
   13150 	lt_prog_compiler_wl='-Wl,'
   13151 	lt_prog_compiler_pic='--shared'
   13152 	lt_prog_compiler_static='--static'
   13153 	;;
   13154       nagfor*)
   13155 	# NAG Fortran compiler
   13156 	lt_prog_compiler_wl='-Wl,-Wl,,'
   13157 	lt_prog_compiler_pic='-PIC'
   13158 	lt_prog_compiler_static='-Bstatic'
   13159 	;;
   13160       tcc*)
   13161 	# Fabrice Bellard et al's Tiny C Compiler
   13162 	lt_prog_compiler_wl='-Wl,'
   13163 	lt_prog_compiler_pic='-fPIC'
   13164 	lt_prog_compiler_static='-static'
   13165 	;;
   13166       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   13167         # Portland Group compilers (*not* the Pentium gcc compiler,
   13168 	# which looks to be a dead project)
   13169 	lt_prog_compiler_wl='-Wl,'
   13170 	lt_prog_compiler_pic='-fpic'
   13171 	lt_prog_compiler_static='-Bstatic'
   13172         ;;
   13173       ccc*)
   13174         lt_prog_compiler_wl='-Wl,'
   13175         # All Alpha code is PIC.
   13176         lt_prog_compiler_static='-non_shared'
   13177         ;;
   13178       xl* | bgxl* | bgf* | mpixl*)
   13179 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   13180 	lt_prog_compiler_wl='-Wl,'
   13181 	lt_prog_compiler_pic='-qpic'
   13182 	lt_prog_compiler_static='-qstaticlink'
   13183 	;;
   13184       *)
   13185 	case `$CC -V 2>&1 | $SED 5q` in
   13186 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   13187 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   13188 	  lt_prog_compiler_pic='-KPIC'
   13189 	  lt_prog_compiler_static='-Bstatic'
   13190 	  lt_prog_compiler_wl=''
   13191 	  ;;
   13192 	*Sun\ F* | *Sun*Fortran*)
   13193 	  lt_prog_compiler_pic='-KPIC'
   13194 	  lt_prog_compiler_static='-Bstatic'
   13195 	  lt_prog_compiler_wl='-Qoption ld '
   13196 	  ;;
   13197 	*Sun\ C*)
   13198 	  # Sun C 5.9
   13199 	  lt_prog_compiler_pic='-KPIC'
   13200 	  lt_prog_compiler_static='-Bstatic'
   13201 	  lt_prog_compiler_wl='-Wl,'
   13202 	  ;;
   13203         *Intel*\ [CF]*Compiler*)
   13204 	  lt_prog_compiler_wl='-Wl,'
   13205 	  lt_prog_compiler_pic='-fPIC'
   13206 	  lt_prog_compiler_static='-static'
   13207 	  ;;
   13208 	*Portland\ Group*)
   13209 	  lt_prog_compiler_wl='-Wl,'
   13210 	  lt_prog_compiler_pic='-fpic'
   13211 	  lt_prog_compiler_static='-Bstatic'
   13212 	  ;;
   13213 	esac
   13214 	;;
   13215       esac
   13216       ;;
   13217 
   13218     newsos6)
   13219       lt_prog_compiler_pic='-KPIC'
   13220       lt_prog_compiler_static='-Bstatic'
   13221       ;;
   13222 
   13223     *-mlibc)
   13224       lt_prog_compiler_wl='-Wl,'
   13225       lt_prog_compiler_pic='-fPIC'
   13226       lt_prog_compiler_static='-static'
   13227       ;;
   13228 
   13229     *nto* | *qnx*)
   13230       # QNX uses GNU C++, but need to define -shared option too, otherwise
   13231       # it will coredump.
   13232       lt_prog_compiler_pic='-fPIC -shared'
   13233       ;;
   13234 
   13235     osf3* | osf4* | osf5*)
   13236       lt_prog_compiler_wl='-Wl,'
   13237       # All OSF/1 code is PIC.
   13238       lt_prog_compiler_static='-non_shared'
   13239       ;;
   13240 
   13241     rdos*)
   13242       lt_prog_compiler_static='-non_shared'
   13243       ;;
   13244 
   13245     serenity*)
   13246       ;;
   13247 
   13248     solaris*)
   13249       lt_prog_compiler_pic='-KPIC'
   13250       lt_prog_compiler_static='-Bstatic'
   13251       case $cc_basename in
   13252       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   13253 	lt_prog_compiler_wl='-Qoption ld ';;
   13254       *)
   13255 	lt_prog_compiler_wl='-Wl,';;
   13256       esac
   13257       ;;
   13258 
   13259     sunos4*)
   13260       lt_prog_compiler_wl='-Qoption ld '
   13261       lt_prog_compiler_pic='-PIC'
   13262       lt_prog_compiler_static='-Bstatic'
   13263       ;;
   13264 
   13265     sysv4 | sysv4.2uw2* | sysv4.3*)
   13266       lt_prog_compiler_wl='-Wl,'
   13267       lt_prog_compiler_pic='-KPIC'
   13268       lt_prog_compiler_static='-Bstatic'
   13269       ;;
   13270 
   13271     sysv4*MP*)
   13272       if test -d /usr/nec; then
   13273 	lt_prog_compiler_pic='-Kconform_pic'
   13274 	lt_prog_compiler_static='-Bstatic'
   13275       fi
   13276       ;;
   13277 
   13278     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   13279       lt_prog_compiler_wl='-Wl,'
   13280       lt_prog_compiler_pic='-KPIC'
   13281       lt_prog_compiler_static='-Bstatic'
   13282       ;;
   13283 
   13284     unicos*)
   13285       lt_prog_compiler_wl='-Wl,'
   13286       lt_prog_compiler_can_build_shared=no
   13287       ;;
   13288 
   13289     uts4*)
   13290       lt_prog_compiler_pic='-pic'
   13291       lt_prog_compiler_static='-Bstatic'
   13292       ;;
   13293 
   13294     *)
   13295       lt_prog_compiler_can_build_shared=no
   13296       ;;
   13297     esac
   13298   fi
   13299 
   13300 case $host_os in
   13301   # For platforms that do not support PIC, -DPIC is meaningless:
   13302   *djgpp*)
   13303     lt_prog_compiler_pic=
   13304     ;;
   13305   *)
   13306     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   13307     ;;
   13308 esac
   13309 
   13310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   13311 printf %s "checking for $compiler option to produce PIC... " >&6; }
   13312 if test ${lt_cv_prog_compiler_pic+y}
   13313 then :
   13314   printf %s "(cached) " >&6
   13315 else case e in #(
   13316   e) lt_cv_prog_compiler_pic=$lt_prog_compiler_pic ;;
   13317 esac
   13318 fi
   13319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   13320 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   13321 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   13322 
   13323 #
   13324 # Check to make sure the PIC flag actually works.
   13325 #
   13326 if test -n "$lt_prog_compiler_pic"; then
   13327   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   13328 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   13329 if test ${lt_cv_prog_compiler_pic_works+y}
   13330 then :
   13331   printf %s "(cached) " >&6
   13332 else case e in #(
   13333   e) lt_cv_prog_compiler_pic_works=no
   13334    ac_outfile=conftest.$ac_objext
   13335    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13336    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   13337    # Insert the option either (1) after the last *FLAGS variable, or
   13338    # (2) before a word containing "conftest.", or (3) at the end.
   13339    # Note that $ac_compile itself does not contain backslashes and begins
   13340    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13341    # The option is referenced via a variable to avoid confusing sed.
   13342    lt_compile=`echo "$ac_compile" | $SED \
   13343    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13344    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13345    -e 's:$: $lt_compiler_flag:'`
   13346    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   13347    (eval "$lt_compile" 2>conftest.err)
   13348    ac_status=$?
   13349    cat conftest.err >&5
   13350    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13351    if (exit $ac_status) && test -s "$ac_outfile"; then
   13352      # The compiler can only warn and ignore the option if not recognized
   13353      # So say no if there are warnings other than the usual output.
   13354      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   13355      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13356      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   13357        lt_cv_prog_compiler_pic_works=yes
   13358      fi
   13359    fi
   13360    $RM conftest*
   13361  ;;
   13362 esac
   13363 fi
   13364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   13365 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   13366 
   13367 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   13368     case $lt_prog_compiler_pic in
   13369      "" | " "*) ;;
   13370      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   13371      esac
   13372 else
   13373     lt_prog_compiler_pic=
   13374      lt_prog_compiler_can_build_shared=no
   13375 fi
   13376 
   13377 fi
   13378 
   13379 
   13380 
   13381 
   13382 
   13383 #
   13384 # Check to make sure the static flag actually works.
   13385 #
   13386 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   13387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   13388 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   13389 if test ${lt_cv_prog_compiler_static_works+y}
   13390 then :
   13391   printf %s "(cached) " >&6
   13392 else case e in #(
   13393   e) lt_cv_prog_compiler_static_works=no
   13394    save_LDFLAGS=$LDFLAGS
   13395    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13396    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   13397    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13398      # The linker can only warn and ignore the option if not recognized
   13399      # So say no if there are warnings
   13400      if test -s conftest.err; then
   13401        # Append any errors to the config.log.
   13402        cat conftest.err 1>&5
   13403        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   13404        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13405        if diff conftest.exp conftest.er2 >/dev/null; then
   13406          lt_cv_prog_compiler_static_works=yes
   13407        fi
   13408      else
   13409        lt_cv_prog_compiler_static_works=yes
   13410      fi
   13411    fi
   13412    $RM -r conftest*
   13413    LDFLAGS=$save_LDFLAGS
   13414  ;;
   13415 esac
   13416 fi
   13417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   13418 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   13419 
   13420 if test yes = "$lt_cv_prog_compiler_static_works"; then
   13421     :
   13422 else
   13423     lt_prog_compiler_static=
   13424 fi
   13425 
   13426 
   13427 
   13428 ='-fPIC'
   13429   archive_cmds='$CC -sSIDE_MODULE=2 -shared $libobjs $deplibs $compiler_flags -o $lib'
   13430   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'
   13431   archive_cmds_need_lc=no
   13432   no_undefined_flag=
   13433   ;;
   13434 
   13435 *)
   13436   dynamic_linker=no
   13437   ;;
   13438 esac
   13439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   13440 printf "%s\n" "$dynamic_linker" >&6; }
   13441 test no = "$dynamic_linker" && can_build_shared=no
   13442 
   13443 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13444 if test yes = "$GCC"; then
   13445   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13446 fi
   13447 
   13448 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   13449   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   13450 fi
   13451 
   13452 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   13453   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   13454 fi
   13455 
   13456 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   13457 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   13458 
   13459 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   13460 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   13461 
   13462 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   13463 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   13464 
   13465 
   13466 
   13467 
   13468 
   13469 
   13470 
   13471 
   13472 
   13473 
   13474 
   13475 
   13476 
   13477 
   13478 
   13479 
   13480 
   13481 
   13482 
   13483 
   13484 
   13485 
   13486 
   13487 
   13488 
   13489 
   13490 
   13491 
   13492 
   13493 
   13494 
   13495 
   13496 
   13497 
   13498 
   13499 
   13500 
   13501 
   13502 
   13503 
   13504 
   13505 
   13506 
   13507 
   13508 
   13509 
   13510 
   13511 
   13512 
   13513 
   13514 
   13515 
   13516 
   13517 
   13518 
   13519 
   13520 
   13521 
   13522 
   13523 
   13524 
   13525 
   13526 
   13527 
   13528 
   13529 
   13530 
   13531 
   13532 
   13533 
   13534 
   13535 
   13536 
   13537 
   13538 
   13539 
   13540 
   13541 
   13542 
   13543 
   13544 
   13545 
   13546 
   13547 
   13548 
   13549 
   13550 
   13551 
   13552 
   13553 
   13554 
   13555 
   13556 
   13557 
   13558 
   13559 
   13560 
   13561   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   13562 printf %s "checking how to hardcode library paths into programs... " >&6; }
   13563 hardcode_action=
   13564 if test -n "$hardcode_libdir_flag_spec" ||
   13565    test -n "$runpath_var" ||
   13566    test yes = "$hardcode_automatic"; then
   13567 
   13568   # We can hardcode non-existent directories.
   13569   if test no != "$hardcode_direct" &&
   13570      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13571      # have to relink, otherwise we might link with an installed library
   13572      # when we should be linking with a yet-to-be-installed one
   13573      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   13574      test no != "$hardcode_minus_L"; then
   13575     # Linking always hardcodes the temporary library directory.
   13576     hardcode_action=relink
   13577   else
   13578     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13579     hardcode_action=immediate
   13580   fi
   13581 else
   13582   # We cannot hardcode anything, or else we can only hardcode existing
   13583   # directories.
   13584   hardcode_action=unsupported
   13585 fi
   13586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   13587 printf "%s\n" "$hardcode_action" >&6; }
   13588 
   13589 if test relink = "$hardcode_action" ||
   13590    test yes = "$inherit_rpath"; then
   13591   # Fast installation is not supported
   13592   enable_fast_install=no
   13593 elif test yes = "$shlibpath_overrides_runpath" ||
   13594      test no = "$enable_shared"; then
   13595   # Fast installation is not necessary
   13596   enable_fast_install=needless
   13597 fi
   13598 
   13599 
   13600 
   13601 
   13602 
   13603 
   13604   if test yes != "$enable_dlopen"; then
   13605   enable_dlopen=unknown
   13606   enable_dlopen_self=unknown
   13607   enable_dlopen_self_static=unknown
   13608 else
   13609   lt_cv_dlopen=no
   13610   lt_cv_dlopen_libs=
   13611 
   13612   case $host_os in
   13613   beos*)
   13614     lt_cv_dlopen=load_add_on
   13615     lt_cv_dlopen_libs=
   13616     lt_cv_dlopen_self=yes
   13617     ;;
   13618 
   13619   mingw* | windows* | pw32* | cegcc*)
   13620     lt_cv_dlopen=LoadLibrary
   13621     lt_cv_dlopen_libs=
   13622     ;;
   13623 
   13624   cygwin*)
   13625     lt_cv_dlopen=dlopen
   13626     lt_cv_dlopen_libs=
   13627     ;;
   13628 
   13629   darwin*)
   13630     # if libdl is installed we need to link against it
   13631     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   13632 printf %s "checking for dlopen in -ldl... " >&6; }
   13633 if test ${ac_cv_lib_dl_dlopen+y}
   13634 then :
   13635   printf %s "(cached) " >&6
   13636 else case e in #(
   13637   e) ac_check_lib_save_LIBS=$LIBS
   13638 LIBS="-ldl  $LIBS"
   13639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13640 /* end confdefs.h.  */
   13641 
   13642 /* Override any GCC internal prototype to avoid an error.
   13643    Use char because int might match the return type of a GCC
   13644    builtin and then its argument prototype would still apply.
   13645    The 'extern "C"' is for builds by C++ compilers;
   13646    although this is not generally supported in C code supporting it here
   13647    has little cost and some practical benefit (sr 110532).  */
   13648 #ifdef __cplusplus
   13649 extern "C"
   13650 #endif
   13651 char dlopen (void);
   13652 int
   13653 main (void)
   13654 {
   13655 return dlopen ();
   13656   ;
   13657   return 0;
   13658 }
   13659 _ACEOF
   13660 if ac_fn_c_try_link "$LINENO"
   13661 then :
   13662   ac_cv_lib_dl_dlopen=yes
   13663 else case e in #(
   13664   e) ac_cv_lib_dl_dlopen=no ;;
   13665 esac
   13666 fi
   13667 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13668     conftest$ac_exeext conftest.$ac_ext
   13669 LIBS=$ac_check_lib_save_LIBS ;;
   13670 esac
   13671 fi
   13672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   13673 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   13674 if test "x$ac_cv_lib_dl_dlopen" = xyes
   13675 then :
   13676   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   13677 else case e in #(
   13678   e)
   13679     lt_cv_dlopen=dyld
   13680     lt_cv_dlopen_libs=
   13681     lt_cv_dlopen_self=yes
   13682      ;;
   13683 esac
   13684 fi
   13685 
   13686     ;;
   13687 
   13688   tpf*)
   13689     # Don't try to run any link tests for TPF.  We know it's impossible
   13690     # because TPF is a cross-compiler, and we know how we open DSOs.
   13691     lt_cv_dlopen=dlopen
   13692     lt_cv_dlopen_libs=
   13693     lt_cv_dlopen_self=no
   13694     ;;
   13695 
   13696   *)
   13697     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   13698 if test "x$ac_cv_func_shl_load" = xyes
   13699 then :
   13700   lt_cv_dlopen=shl_load
   13701 else case e in #(
   13702   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   13703 printf %s "checking for shl_load in -ldld... " >&6; }
   13704 if test ${ac_cv_lib_dld_shl_load+y}
   13705 then :
   13706   printf %s "(cached) " >&6
   13707 else case e in #(
   13708   e) ac_check_lib_save_LIBS=$LIBS
   13709 LIBS="-ldld  $LIBS"
   13710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13711 /* end confdefs.h.  */
   13712 
   13713 /* Override any GCC internal prototype to avoid an error.
   13714    Use char because int might match the return type of a GCC
   13715    builtin and then its argument prototype would still apply.
   13716    The 'extern "C"' is for builds by C++ compilers;
   13717    although this is not generally supported in C code supporting it here
   13718    has little cost and some practical benefit (sr 110532).  */
   13719 #ifdef __cplusplus
   13720 extern "C"
   13721 #endif
   13722 char shl_load (void);
   13723 int
   13724 main (void)
   13725 {
   13726 return shl_load ();
   13727   ;
   13728   return 0;
   13729 }
   13730 _ACEOF
   13731 if ac_fn_c_try_link "$LINENO"
   13732 then :
   13733   ac_cv_lib_dld_shl_load=yes
   13734 else case e in #(
   13735   e) ac_cv_lib_dld_shl_load=no ;;
   13736 esac
   13737 fi
   13738 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13739     conftest$ac_exeext conftest.$ac_ext
   13740 LIBS=$ac_check_lib_save_LIBS ;;
   13741 esac
   13742 fi
   13743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   13744 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   13745 if test "x$ac_cv_lib_dld_shl_load" = xyes
   13746 then :
   13747   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   13748 else case e in #(
   13749   e) ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   13750 if test "x$ac_cv_func_dlopen" = xyes
   13751 then :
   13752   lt_cv_dlopen=dlopen
   13753 else case e in #(
   13754   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   13755 printf %s "checking for dlopen in -ldl... " >&6; }
   13756 if test ${ac_cv_lib_dl_dlopen+y}
   13757 then :
   13758   printf %s "(cached) " >&6
   13759 else case e in #(
   13760   e) ac_check_lib_save_LIBS=$LIBS
   13761 LIBS="-ldl  $LIBS"
   13762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13763 /* end confdefs.h.  */
   13764 
   13765 /* Override any GCC internal prototype to avoid an error.
   13766    Use char because int might match the return type of a GCC
   13767    builtin and then its argument prototype would still apply.
   13768    The 'extern "C"' is for builds by C++ compilers;
   13769    although this is not generally supported in C code supporting it here
   13770    has little cost and some practical benefit (sr 110532).  */
   13771 #ifdef __cplusplus
   13772 extern "C"
   13773 #endif
   13774 char dlopen (void);
   13775 int
   13776 main (void)
   13777 {
   13778 return dlopen ();
   13779   ;
   13780   return 0;
   13781 }
   13782 _ACEOF
   13783 if ac_fn_c_try_link "$LINENO"
   13784 then :
   13785   ac_cv_lib_dl_dlopen=yes
   13786 else case e in #(
   13787   e) ac_cv_lib_dl_dlopen=no ;;
   13788 esac
   13789 fi
   13790 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13791     conftest$ac_exeext conftest.$ac_ext
   13792 LIBS=$ac_check_lib_save_LIBS ;;
   13793 esac
   13794 fi
   13795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   13796 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   13797 if test "x$ac_cv_lib_dl_dlopen" = xyes
   13798 then :
   13799   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   13800 else case e in #(
   13801   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   13802 printf %s "checking for dlopen in -lsvld... " >&6; }
   13803 if test ${ac_cv_lib_svld_dlopen+y}
   13804 then :
   13805   printf %s "(cached) " >&6
   13806 else case e in #(
   13807   e) ac_check_lib_save_LIBS=$LIBS
   13808 LIBS="-lsvld  $LIBS"
   13809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13810 /* end confdefs.h.  */
   13811 
   13812 /* Override any GCC internal prototype to avoid an error.
   13813    Use char because int might match the return type of a GCC
   13814    builtin and then its argument prototype would still apply.
   13815    The 'extern "C"' is for builds by C++ compilers;
   13816    although this is not generally supported in C code supporting it here
   13817    has little cost and some practical benefit (sr 110532).  */
   13818 #ifdef __cplusplus
   13819 extern "C"
   13820 #endif
   13821 char dlopen (void);
   13822 int
   13823 main (void)
   13824 {
   13825 return dlopen ();
   13826   ;
   13827   return 0;
   13828 }
   13829 _ACEOF
   13830 if ac_fn_c_try_link "$LINENO"
   13831 then :
   13832   ac_cv_lib_svld_dlopen=yes
   13833 else case e in #(
   13834   e) ac_cv_lib_svld_dlopen=no ;;
   13835 esac
   13836 fi
   13837 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13838     conftest$ac_exeext conftest.$ac_ext
   13839 LIBS=$ac_check_lib_save_LIBS ;;
   13840 esac
   13841 fi
   13842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   13843 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   13844 if test "x$ac_cv_lib_svld_dlopen" = xyes
   13845 then :
   13846   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   13847 else case e in #(
   13848   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   13849 printf %s "checking for dld_link in -ldld... " >&6; }
   13850 if test ${ac_cv_lib_dld_dld_link+y}
   13851 then :
   13852   printf %s "(cached) " >&6
   13853 else case e in #(
   13854   e) ac_check_lib_save_LIBS=$LIBS
   13855 LIBS="-ldld  $LIBS"
   13856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13857 /* end confdefs.h.  */
   13858 
   13859 /* Override any GCC internal prototype to avoid an error.
   13860    Use char because int might match the return type of a GCC
   13861    builtin and then its argument prototype would still apply.
   13862    The 'extern "C"' is for builds by C++ compilers;
   13863    although this is not generally supported in C code supporting it here
   13864    has little cost and some practical benefit (sr 110532).  */
   13865 #ifdef __cplusplus
   13866 extern "C"
   13867 #endif
   13868 char dld_link (void);
   13869 int
   13870 main (void)
   13871 {
   13872 return dld_link ();
   13873   ;
   13874   return 0;
   13875 }
   13876 _ACEOF
   13877 if ac_fn_c_try_link "$LINENO"
   13878 then :
   13879   ac_cv_lib_dld_dld_link=yes
   13880 else case e in #(
   13881   e) ac_cv_lib_dld_dld_link=no ;;
   13882 esac
   13883 fi
   13884 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13885     conftest$ac_exeext conftest.$ac_ext
   13886 LIBS=$ac_check_lib_save_LIBS ;;
   13887 esac
   13888 fi
   13889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   13890 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   13891 if test "x$ac_cv_lib_dld_dld_link" = xyes
   13892 then :
   13893   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   13894 fi
   13895 
   13896 	       ;;
   13897 esac
   13898 fi
   13899 
   13900 	     ;;
   13901 esac
   13902 fi
   13903 
   13904 	   ;;
   13905 esac
   13906 fi
   13907 
   13908 	 ;;
   13909 esac
   13910 fi
   13911 
   13912        ;;
   13913 esac
   13914 fi
   13915 
   13916     ;;
   13917   esac
   13918 
   13919   if test no = "$lt_cv_dlopen"; then
   13920     enable_dlopen=no
   13921   else
   13922     enable_dlopen=yes
   13923   fi
   13924 
   13925   case $lt_cv_dlopen in
   13926   dlopen)
   13927     save_CPPFLAGS=$CPPFLAGS
   13928     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   13929 
   13930     save_LDFLAGS=$LDFLAGS
   13931     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   13932 
   13933     save_LIBS=$LIBS
   13934     LIBS="$lt_cv_dlopen_libs $LIBS"
   13935 
   13936     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   13937 printf %s "checking whether a program can dlopen itself... " >&6; }
   13938 if test ${lt_cv_dlopen_self+y}
   13939 then :
   13940   printf %s "(cached) " >&6
   13941 else case e in #(
   13942   e) 	  if test yes = "$cross_compiling"; then :
   13943   lt_cv_dlopen_self=cross
   13944 else
   13945   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   13946   lt_status=$lt_dlunknown
   13947   cat > conftest.$ac_ext <<_LT_EOF
   13948 #line $LINENO "configure"
   13949 #include "confdefs.h"
   13950 
   13951 #if HAVE_DLFCN_H
   13952 #include <dlfcn.h>
   13953 #endif
   13954 
   13955 #include <stdio.h>
   13956 
   13957 #ifdef RTLD_GLOBAL
   13958 #  define LT_DLGLOBAL		RTLD_GLOBAL
   13959 #else
   13960 #  ifdef DL_GLOBAL
   13961 #    define LT_DLGLOBAL		DL_GLOBAL
   13962 #  else
   13963 #    define LT_DLGLOBAL		0
   13964 #  endif
   13965 #endif
   13966 
   13967 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   13968    find out it does not work in some platform. */
   13969 #ifndef LT_DLLAZY_OR_NOW
   13970 #  ifdef RTLD_LAZY
   13971 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   13972 #  else
   13973 #    ifdef DL_LAZY
   13974 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   13975 #    else
   13976 #      ifdef RTLD_NOW
   13977 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   13978 #      else
   13979 #        ifdef DL_NOW
   13980 #          define LT_DLLAZY_OR_NOW	DL_NOW
   13981 #        else
   13982 #          define LT_DLLAZY_OR_NOW	0
   13983 #        endif
   13984 #      endif
   13985 #    endif
   13986 #  endif
   13987 #endif
   13988 
   13989 /* When -fvisibility=hidden is used, assume the code has been annotated
   13990    correspondingly for the symbols needed.  */
   13991 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   13992 int fnord (void) __attribute__((visibility("default")));
   13993 #endif
   13994 
   13995 int fnord (void) { return 42; }
   13996 int main (void)
   13997 {
   13998   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   13999   int status = $lt_dlunknown;
   14000 
   14001   if (self)
   14002     {
   14003       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   14004       else
   14005         {
   14006 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   14007           else puts (dlerror ());
   14008 	}
   14009       /* dlclose (self); */
   14010     }
   14011   else
   14012     puts (dlerror ());
   14013 
   14014   return status;
   14015 }
   14016 _LT_EOF
   14017   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   14018   (eval $ac_link) 2>&5
   14019   ac_status=$?
   14020   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14021   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   14022     (./conftest; exit; ) >&5 2>/dev/null
   14023     lt_status=$?
   14024     case x$lt_status in
   14025       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   14026       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   14027       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   14028     esac
   14029   else :
   14030     # compilation failed
   14031     lt_cv_dlopen_self=no
   14032   fi
   14033 fi
   14034 rm -fr conftest*
   14035 
   14036      ;;
   14037 esac
   14038 fi
   14039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   14040 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   14041 
   14042     if test yes = "$lt_cv_dlopen_self"; then
   14043       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   14044       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   14045 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   14046 if test ${lt_cv_dlopen_self_static+y}
   14047 then :
   14048   printf %s "(cached) " >&6
   14049 else case e in #(
   14050   e) 	  if test yes = "$cross_compiling"; then :
   14051   lt_cv_dlopen_self_static=cross
   14052 else
   14053   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   14054   lt_status=$lt_dlunknown
   14055   cat > conftest.$ac_ext <<_LT_EOF
   14056 #line $LINENO "configure"
   14057 #include "confdefs.h"
   14058 
   14059 #if HAVE_DLFCN_H
   14060 #include <dlfcn.h>
   14061 #endif
   14062 
   14063 #include <stdio.h>
   14064 
   14065 #ifdef RTLD_GLOBAL
   14066 #  define LT_DLGLOBAL		RTLD_GLOBAL
   14067 #else
   14068 #  ifdef DL_GLOBAL
   14069 #    define LT_DLGLOBAL		DL_GLOBAL
   14070 #  else
   14071 #    define LT_DLGLOBAL		0
   14072 #  endif
   14073 #endif
   14074 
   14075 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   14076    find out it does not work in some platform. */
   14077 #ifndef LT_DLLAZY_OR_NOW
   14078 #  ifdef RTLD_LAZY
   14079 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   14080 #  else
   14081 #    ifdef DL_LAZY
   14082 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   14083 #    else
   14084 #      ifdef RTLD_NOW
   14085 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   14086 #      else
   14087 #        ifdef DL_NOW
   14088 #          define LT_DLLAZY_OR_NOW	DL_NOW
   14089 #        else
   14090 #          define LT_DLLAZY_OR_NOW	0
   14091 #        endif
   14092 #      endif
   14093 #    endif
   14094 #  endif
   14095 #endif
   14096 
   14097 /* When -fvisibility=hidden is used, assume the code has been annotated
   14098    correspondingly for the symbols needed.  */
   14099 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   14100 int fnord (void) __attribute__((visibility("default")));
   14101 #endif
   14102 
   14103 int fnord (void) { return 42; }
   14104 int main (void)
   14105 {
   14106   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   14107   int status = $lt_dlunknown;
   14108 
   14109   if (self)
   14110     {
   14111       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   14112       else
   14113         {
   14114 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   14115           else puts (dlerror ());
   14116 	}
   14117       /* dlclose (self); */
   14118     }
   14119   else
   14120     puts (dlerror ());
   14121 
   14122   return status;
   14123 }
   14124 _LT_EOF
   14125   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   14126   (eval $ac_link) 2>&5
   14127   ac_status=$?
   14128   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14129   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   14130     (./conftest; exit; ) >&5 2>/dev/null
   14131     lt_status=$?
   14132     case x$lt_status in
   14133       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   14134       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   14135       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   14136     esac
   14137   else :
   14138     # compilation failed
   14139     lt_cv_dlopen_self_static=no
   14140   fi
   14141 fi
   14142 rm -fr conftest*
   14143 
   14144        ;;
   14145 esac
   14146 fi
   14147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   14148 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   14149     fi
   14150 
   14151     CPPFLAGS=$save_CPPFLAGS
   14152     LDFLAGS=$save_LDFLAGS
   14153     LIBS=$save_LIBS
   14154     ;;
   14155   esac
   14156 
   14157   case $lt_cv_dlopen_self in
   14158   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   14159   *) enable_dlopen_self=unknown ;;
   14160   esac
   14161 
   14162   case $lt_cv_dlopen_self_static in
   14163   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   14164   *) enable_dlopen_self_static=unknown ;;
   14165   esac
   14166 fi
   14167 
   14168 
   14169 
   14170 
   14171 
   14172 
   14173 
   14174 
   14175 
   14176 
   14177 
   14178 
   14179 
   14180 
   14181 
   14182 
   14183 
   14184 striplib=
   14185 old_striplib=
   14186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   14187 printf %s "checking whether stripping libraries is possible... " >&6; }
   14188 if test -z "$STRIP"; then
   14189   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14190 printf "%s\n" "no" >&6; }
   14191 else
   14192   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   14193     old_striplib="$STRIP --strip-debug"
   14194     striplib="$STRIP --strip-unneeded"
   14195     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14196 printf "%s\n" "yes" >&6; }
   14197   else
   14198     case $host_os in
   14199     darwin*)
   14200       # FIXME - insert some real tests, host_os isn't really good enough
   14201       striplib="$STRIP -x"
   14202       old_striplib="$STRIP -S"
   14203       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14204 printf "%s\n" "yes" >&6; }
   14205       ;;
   14206     freebsd*)
   14207       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   14208         old_striplib="$STRIP --strip-debug"
   14209         striplib="$STRIP --strip-unneeded"
   14210         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14211 printf "%s\n" "yes" >&6; }
   14212       else
   14213         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14214 printf "%s\n" "no" >&6; }
   14215       fi
   14216       ;;
   14217     *)
   14218       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14219 printf "%s\n" "no" >&6; }
   14220       ;;
   14221     esac
   14222   fi
   14223 fi
   14224 
   14225 
   14226 
   14227 
   14228 
   14229 
   14230 
   14231 
   14232 
   14233 
   14234 
   14235 
   14236   # Report what library types will actually be built
   14237   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   14238 printf %s "checking if libtool supports shared libraries... " >&6; }
   14239   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   14240 printf "%s\n" "$can_build_shared" >&6; }
   14241 
   14242   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   14243 printf %s "checking whether to build shared libraries... " >&6; }
   14244   test no = "$can_build_shared" && enable_shared=no
   14245 
   14246   # On AIX, shared libraries and static libraries use the same namespace, and
   14247   # are all built from PIC.
   14248   case $host_os in
   14249   aix3*)
   14250     test yes = "$enable_shared" && enable_static=no
   14251     if test -n "$RANLIB"; then
   14252       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   14253       postinstall_cmds='$RANLIB $lib'
   14254     fi
   14255     ;;
   14256 
   14257   aix[4-9]*)
   14258     if test ia64 != "$host_cpu"; then
   14259       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   14260       yes,aix,yes) ;;			# shared object as lib.so file only
   14261       yes,svr4,*) ;;			# shared object as lib.so archive member only
   14262       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   14263       esac
   14264     fi
   14265     ;;
   14266   esac
   14267   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   14268 printf "%s\n" "$enable_shared" >&6; }
   14269 
   14270   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   14271 printf %s "checking whether to build static libraries... " >&6; }
   14272   # Make sure either enable_shared or enable_static is yes.
   14273   test yes = "$enable_shared" || enable_static=yes
   14274   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   14275 printf "%s\n" "$enable_static" >&6; }
   14276 
   14277 
   14278 
   14279 
   14280 fi
   14281 ac_ext=c
   14282 ac_cpp='$CPP $CPPFLAGS'
   14283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14286 
   14287 CC=$lt_save_CC
   14288 
   14289 
   14290 
   14291 
   14292 
   14293 
   14294 
   14295 
   14296 
   14297 
   14298 
   14299 
   14300 
   14301 
   14302 
   14303         ac_config_commands="$ac_config_commands libtool"
   14304 
   14305 
   14306 
   14307 
   14308 # Only expand once:
   14309 
   14310 
   14311 
   14312 # Check whether --enable-largefile was given.
   14313 if test ${enable_largefile+y}
   14314 then :
   14315   enableval=$enable_largefile;
   14316 fi
   14317 if test "$enable_largefile,$enable_year2038" != no,no
   14318 then :
   14319   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable large file support" >&5
   14320 printf %s "checking for $CC option to enable large file support... " >&6; }
   14321 if test ${ac_cv_sys_largefile_opts+y}
   14322 then :
   14323   printf %s "(cached) " >&6
   14324 else case e in #(
   14325   e) ac_save_CC="$CC"
   14326   ac_opt_found=no
   14327   for ac_opt in "none needed" "-D_FILE_OFFSET_BITS=64" "-D_LARGE_FILES=1" "-n32"; do
   14328     if test x"$ac_opt" != x"none needed"
   14329 then :
   14330   CC="$ac_save_CC $ac_opt"
   14331 fi
   14332     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14333 /* end confdefs.h.  */
   14334 #include <sys/types.h>
   14335 #ifndef FTYPE
   14336 # define FTYPE off_t
   14337 #endif
   14338  /* Check that FTYPE can represent 2**63 - 1 correctly.
   14339     We can't simply define LARGE_FTYPE to be 9223372036854775807,
   14340     since some C++ compilers masquerading as C compilers
   14341     incorrectly reject 9223372036854775807.  */
   14342 #define LARGE_FTYPE (((FTYPE) 1 << 31 << 31) - 1 + ((FTYPE) 1 << 31 << 31))
   14343   int FTYPE_is_large[(LARGE_FTYPE % 2147483629 == 721
   14344 		       && LARGE_FTYPE % 2147483647 == 1)
   14345 		      ? 1 : -1];
   14346 int
   14347 main (void)
   14348 {
   14349 
   14350   ;
   14351   return 0;
   14352 }
   14353 _ACEOF
   14354 if ac_fn_c_try_compile "$LINENO"
   14355 then :
   14356   if test x"$ac_opt" = x"none needed"
   14357 then :
   14358   # GNU/Linux s390x and alpha need _FILE_OFFSET_BITS=64 for wide ino_t.
   14359 	 CC="$CC -DFTYPE=ino_t"
   14360 	 if ac_fn_c_try_compile "$LINENO"
   14361 then :
   14362 
   14363 else case e in #(
   14364   e) CC="$CC -D_FILE_OFFSET_BITS=64"
   14365 	    if ac_fn_c_try_compile "$LINENO"
   14366 then :
   14367   ac_opt='-D_FILE_OFFSET_BITS=64'
   14368 fi
   14369 rm -f core conftest.err conftest.$ac_objext conftest.beam ;;
   14370 esac
   14371 fi
   14372 rm -f core conftest.err conftest.$ac_objext conftest.beam
   14373 fi
   14374       ac_cv_sys_largefile_opts=$ac_opt
   14375       ac_opt_found=yes
   14376 fi
   14377 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14378     test $ac_opt_found = no || break
   14379   done
   14380   CC="$ac_save_CC"
   14381 
   14382   test $ac_opt_found = yes || ac_cv_sys_largefile_opts="support not detected" ;;
   14383 esac
   14384 fi
   14385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_opts" >&5
   14386 printf "%s\n" "$ac_cv_sys_largefile_opts" >&6; }
   14387 
   14388 ac_have_largefile=yes
   14389 case $ac_cv_sys_largefile_opts in #(
   14390   "none needed") :
   14391      ;; #(
   14392   "supported through gnulib") :
   14393      ;; #(
   14394   "support not detected") :
   14395     ac_have_largefile=no ;; #(
   14396   "-D_FILE_OFFSET_BITS=64") :
   14397 
   14398 printf "%s\n" "#define _FILE_OFFSET_BITS 64" >>confdefs.h
   14399  ;; #(
   14400   "-D_LARGE_FILES=1") :
   14401 
   14402 printf "%s\n" "#define _LARGE_FILES 1" >>confdefs.h
   14403  ;; #(
   14404   "-n32") :
   14405     CC="$CC -n32" ;; #(
   14406   *) :
   14407     as_fn_error $? "internal error: bad value for \$ac_cv_sys_largefile_opts" "$LINENO" 5 ;;
   14408 esac
   14409 
   14410 if test "$enable_year2038" != no
   14411 then :
   14412   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option for timestamps after 2038" >&5
   14413 printf %s "checking for $CC option for timestamps after 2038... " >&6; }
   14414 if test ${ac_cv_sys_year2038_opts+y}
   14415 then :
   14416   printf %s "(cached) " >&6
   14417 else case e in #(
   14418   e) ac_save_CPPFLAGS="$CPPFLAGS"
   14419   ac_opt_found=no
   14420   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
   14421     if test x"$ac_opt" != x"none needed"
   14422 then :
   14423   CPPFLAGS="$ac_save_CPPFLAGS $ac_opt"
   14424 fi
   14425     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14426 /* end confdefs.h.  */
   14427 
   14428   #include <time.h>
   14429   /* Check that time_t can represent 2**32 - 1 correctly.  */
   14430   #define LARGE_TIME_T \\
   14431     ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30)))
   14432   int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535
   14433                            && LARGE_TIME_T % 65537 == 0)
   14434                           ? 1 : -1];
   14435 
   14436 int
   14437 main (void)
   14438 {
   14439 
   14440   ;
   14441   return 0;
   14442 }
   14443 _ACEOF
   14444 if ac_fn_c_try_compile "$LINENO"
   14445 then :
   14446   ac_cv_sys_year2038_opts="$ac_opt"
   14447       ac_opt_found=yes
   14448 fi
   14449 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14450     test $ac_opt_found = no || break
   14451   done
   14452   CPPFLAGS="$ac_save_CPPFLAGS"
   14453   test $ac_opt_found = yes || ac_cv_sys_year2038_opts="support not detected" ;;
   14454 esac
   14455 fi
   14456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_year2038_opts" >&5
   14457 printf "%s\n" "$ac_cv_sys_year2038_opts" >&6; }
   14458 
   14459 ac_have_year2038=yes
   14460 case $ac_cv_sys_year2038_opts in #(
   14461   "none needed") :
   14462      ;; #(
   14463   "support not detected") :
   14464     ac_have_year2038=no ;; #(
   14465   "-D_TIME_BITS=64") :
   14466 
   14467 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
   14468  ;; #(
   14469   "-D__MINGW_USE_VC2005_COMPAT") :
   14470 
   14471 printf "%s\n" "#define __MINGW_USE_VC2005_COMPAT 1" >>confdefs.h
   14472  ;; #(
   14473   "-U_USE_32_BIT_TIME_T"*) :
   14474     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   14475 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   14476 as_fn_error $? "the 'time_t' type is currently forced to be 32-bit. It
   14477 will stop working after mid-January 2038. Remove
   14478 _USE_32BIT_TIME_T from the compiler flags.
   14479 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   14480   *) :
   14481     as_fn_error $? "internal error: bad value for \$ac_cv_sys_year2038_opts" "$LINENO" 5 ;;
   14482 esac
   14483 
   14484 fi
   14485 
   14486 fi
   14487 
   14488 # Require xorg-macros minimum of 1.15 for fop minimum version
   14489 
   14490 
   14491 
   14492 
   14493 
   14494 
   14495 
   14496 
   14497 
   14498 
   14499 
   14500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   14501 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   14502 if test ${ac_cv_c_undeclared_builtin_options+y}
   14503 then :
   14504   printf %s "(cached) " >&6
   14505 else case e in #(
   14506   e) ac_save_CFLAGS=$CFLAGS
   14507    ac_cv_c_undeclared_builtin_options='cannot detect'
   14508    for ac_arg in '' -fno-builtin; do
   14509      CFLAGS="$ac_save_CFLAGS $ac_arg"
   14510      # This test program should *not* compile successfully.
   14511      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14512 /* end confdefs.h.  */
   14513 
   14514 int
   14515 main (void)
   14516 {
   14517 (void) strchr;
   14518   ;
   14519   return 0;
   14520 }
   14521 _ACEOF
   14522 if ac_fn_c_try_compile "$LINENO"
   14523 then :
   14524 
   14525 else case e in #(
   14526   e) # This test program should compile successfully.
   14527         # No library function is consistently available on
   14528         # freestanding implementations, so test against a dummy
   14529         # declaration.  Include always-available headers on the
   14530         # off chance that they somehow elicit warnings.
   14531         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14532 /* end confdefs.h.  */
   14533 #include <float.h>
   14534 #include <limits.h>
   14535 #include <stdarg.h>
   14536 #include <stddef.h>
   14537 extern void ac_decl (int, char *);
   14538 
   14539 int
   14540 main (void)
   14541 {
   14542 (void) ac_decl (0, (char *) 0);
   14543   (void) ac_decl;
   14544 
   14545   ;
   14546   return 0;
   14547 }
   14548 _ACEOF
   14549 if ac_fn_c_try_compile "$LINENO"
   14550 then :
   14551   if test x"$ac_arg" = x
   14552 then :
   14553   ac_cv_c_undeclared_builtin_options='none needed'
   14554 else case e in #(
   14555   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   14556 esac
   14557 fi
   14558           break
   14559 fi
   14560 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14561 esac
   14562 fi
   14563 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14564     done
   14565     CFLAGS=$ac_save_CFLAGS
   14566    ;;
   14567 esac
   14568 fi
   14569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   14570 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   14571   case $ac_cv_c_undeclared_builtin_options in #(
   14572   'cannot detect') :
   14573     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   14574 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   14575 as_fn_error $? "cannot make $CC report undeclared builtins
   14576 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   14577   'none needed') :
   14578     ac_c_undeclared_builtin_options='' ;; #(
   14579   *) :
   14580     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   14581 esac
   14582 
   14583 
   14584 
   14585 
   14586 
   14587 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   14588 if test "x$ac_cv_have_decl___clang__" = xyes
   14589 then :
   14590   CLANGCC="yes"
   14591 else case e in #(
   14592   e) CLANGCC="no" ;;
   14593 esac
   14594 fi
   14595 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   14596 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   14597 then :
   14598   INTELCC="yes"
   14599 else case e in #(
   14600   e) INTELCC="no" ;;
   14601 esac
   14602 fi
   14603 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   14604 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   14605 then :
   14606   SUNCC="yes"
   14607 else case e in #(
   14608   e) SUNCC="no" ;;
   14609 esac
   14610 fi
   14611 
   14612 
   14613 
   14614 
   14615 
   14616 
   14617 
   14618 
   14619 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   14620 	if test -n "$ac_tool_prefix"; then
   14621   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   14622 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   14623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14624 printf %s "checking for $ac_word... " >&6; }
   14625 if test ${ac_cv_path_PKG_CONFIG+y}
   14626 then :
   14627   printf %s "(cached) " >&6
   14628 else case e in #(
   14629   e) case $PKG_CONFIG in
   14630   [\\/]* | ?:[\\/]*)
   14631   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   14632   ;;
   14633   *)
   14634   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14635 for as_dir in $PATH
   14636 do
   14637   IFS=$as_save_IFS
   14638   case $as_dir in #(((
   14639     '') as_dir=./ ;;
   14640     */) ;;
   14641     *) as_dir=$as_dir/ ;;
   14642   esac
   14643     for ac_exec_ext in '' $ac_executable_extensions; do
   14644   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14645     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   14646     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14647     break 2
   14648   fi
   14649 done
   14650   done
   14651 IFS=$as_save_IFS
   14652 
   14653   ;;
   14654 esac ;;
   14655 esac
   14656 fi
   14657 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   14658 if test -n "$PKG_CONFIG"; then
   14659   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   14660 printf "%s\n" "$PKG_CONFIG" >&6; }
   14661 else
   14662   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14663 printf "%s\n" "no" >&6; }
   14664 fi
   14665 
   14666 
   14667 fi
   14668 if test -z "$ac_cv_path_PKG_CONFIG"; then
   14669   ac_pt_PKG_CONFIG=$PKG_CONFIG
   14670   # Extract the first word of "pkg-config", so it can be a program name with args.
   14671 set dummy pkg-config; ac_word=$2
   14672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14673 printf %s "checking for $ac_word... " >&6; }
   14674 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   14675 then :
   14676   printf %s "(cached) " >&6
   14677 else case e in #(
   14678   e) case $ac_pt_PKG_CONFIG in
   14679   [\\/]* | ?:[\\/]*)
   14680   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   14681   ;;
   14682   *)
   14683   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14684 for as_dir in $PATH
   14685 do
   14686   IFS=$as_save_IFS
   14687   case $as_dir in #(((
   14688     '') as_dir=./ ;;
   14689     */) ;;
   14690     *) as_dir=$as_dir/ ;;
   14691   esac
   14692     for ac_exec_ext in '' $ac_executable_extensions; do
   14693   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   14694     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   14695     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   14696     break 2
   14697   fi
   14698 done
   14699   done
   14700 IFS=$as_save_IFS
   14701 
   14702   ;;
   14703 esac ;;
   14704 esac
   14705 fi
   14706 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   14707 if test -n "$ac_pt_PKG_CONFIG"; then
   14708   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   14709 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   14710 else
   14711   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14712 printf "%s\n" "no" >&6; }
   14713 fi
   14714 
   14715   if test "x$ac_pt_PKG_CONFIG" = x; then
   14716     PKG_CONFIG=""
   14717   else
   14718     case $cross_compiling:$ac_tool_warned in
   14719 yes:)
   14720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   14721 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   14722 ac_tool_warned=yes ;;
   14723 esac
   14724     PKG_CONFIG=$ac_pt_PKG_CONFIG
   14725   fi
   14726 else
   14727   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   14728 fi
   14729 
   14730 fi
   14731 if test -n "$PKG_CONFIG"; then
   14732 	_pkg_min_version=0.9.0
   14733 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   14734 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   14735 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   14736 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   14737 printf "%s\n" "yes" >&6; }
   14738 	else
   14739 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14740 printf "%s\n" "no" >&6; }
   14741 		PKG_CONFIG=""
   14742 	fi
   14743 fi
   14744 
   14745 
   14746 
   14747 
   14748 
   14749 # Check whether --enable-selective-werror was given.
   14750 if test ${enable_selective_werror+y}
   14751 then :
   14752   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   14753 else case e in #(
   14754   e) SELECTIVE_WERROR=yes ;;
   14755 esac
   14756 fi
   14757 
   14758 
   14759 
   14760 
   14761 
   14762 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   14763 if test "x$SUNCC" = "xyes"; then
   14764     BASE_CFLAGS="-v"
   14765 else
   14766     BASE_CFLAGS=""
   14767 fi
   14768 
   14769 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   14770 
   14771 
   14772 
   14773 
   14774 
   14775 
   14776 
   14777 
   14778 
   14779 
   14780 
   14781 
   14782 
   14783 xorg_testset_save_CFLAGS="$CFLAGS"
   14784 
   14785 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14786 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14787 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14788 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14789 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14790 then :
   14791   printf %s "(cached) " >&6
   14792 else case e in #(
   14793   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14794 /* end confdefs.h.  */
   14795 int i;
   14796 _ACEOF
   14797 if ac_fn_c_try_compile "$LINENO"
   14798 then :
   14799   xorg_cv_cc_flag_unknown_warning_option=yes
   14800 else case e in #(
   14801   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14802 esac
   14803 fi
   14804 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14805 esac
   14806 fi
   14807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14808 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14809 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14810 	CFLAGS="$xorg_testset_save_CFLAGS"
   14811 fi
   14812 
   14813 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14814 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14815 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14816 	fi
   14817 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14818 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14819 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14820 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14821 then :
   14822   printf %s "(cached) " >&6
   14823 else case e in #(
   14824   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14825 /* end confdefs.h.  */
   14826 int i;
   14827 _ACEOF
   14828 if ac_fn_c_try_compile "$LINENO"
   14829 then :
   14830   xorg_cv_cc_flag_unused_command_line_argument=yes
   14831 else case e in #(
   14832   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14833 esac
   14834 fi
   14835 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14836 esac
   14837 fi
   14838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14839 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14840 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14841 	CFLAGS="$xorg_testset_save_CFLAGS"
   14842 fi
   14843 
   14844 found="no"
   14845 
   14846 	if test $found = "no" ; then
   14847 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14848 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14849 		fi
   14850 
   14851 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14852 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14853 		fi
   14854 
   14855 		CFLAGS="$CFLAGS -Wall"
   14856 
   14857 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   14858 printf %s "checking if $CC supports -Wall... " >&6; }
   14859 		cacheid=xorg_cv_cc_flag__Wall
   14860 		if eval test \${$cacheid+y}
   14861 then :
   14862   printf %s "(cached) " >&6
   14863 else case e in #(
   14864   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14865 /* end confdefs.h.  */
   14866 int i;
   14867 int
   14868 main (void)
   14869 {
   14870 
   14871   ;
   14872   return 0;
   14873 }
   14874 _ACEOF
   14875 if ac_fn_c_try_link "$LINENO"
   14876 then :
   14877   eval $cacheid=yes
   14878 else case e in #(
   14879   e) eval $cacheid=no ;;
   14880 esac
   14881 fi
   14882 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14883     conftest$ac_exeext conftest.$ac_ext ;;
   14884 esac
   14885 fi
   14886 
   14887 
   14888 		CFLAGS="$xorg_testset_save_CFLAGS"
   14889 
   14890 		eval supported=\$$cacheid
   14891 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14892 printf "%s\n" "$supported" >&6; }
   14893 		if test "$supported" = "yes" ; then
   14894 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   14895 			found="yes"
   14896 		fi
   14897 	fi
   14898 
   14899 
   14900 
   14901 
   14902 
   14903 
   14904 
   14905 
   14906 
   14907 
   14908 
   14909 
   14910 
   14911 
   14912 
   14913 xorg_testset_save_CFLAGS="$CFLAGS"
   14914 
   14915 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14916 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14917 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14918 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14919 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14920 then :
   14921   printf %s "(cached) " >&6
   14922 else case e in #(
   14923   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14924 /* end confdefs.h.  */
   14925 int i;
   14926 _ACEOF
   14927 if ac_fn_c_try_compile "$LINENO"
   14928 then :
   14929   xorg_cv_cc_flag_unknown_warning_option=yes
   14930 else case e in #(
   14931   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   14932 esac
   14933 fi
   14934 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14935 esac
   14936 fi
   14937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14938 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14939 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14940 	CFLAGS="$xorg_testset_save_CFLAGS"
   14941 fi
   14942 
   14943 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14944 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14945 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14946 	fi
   14947 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14948 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14949 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14950 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14951 then :
   14952   printf %s "(cached) " >&6
   14953 else case e in #(
   14954   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14955 /* end confdefs.h.  */
   14956 int i;
   14957 _ACEOF
   14958 if ac_fn_c_try_compile "$LINENO"
   14959 then :
   14960   xorg_cv_cc_flag_unused_command_line_argument=yes
   14961 else case e in #(
   14962   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   14963 esac
   14964 fi
   14965 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   14966 esac
   14967 fi
   14968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14969 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14970 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14971 	CFLAGS="$xorg_testset_save_CFLAGS"
   14972 fi
   14973 
   14974 found="no"
   14975 
   14976 	if test $found = "no" ; then
   14977 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14978 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14979 		fi
   14980 
   14981 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14982 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14983 		fi
   14984 
   14985 		CFLAGS="$CFLAGS -Wpointer-arith"
   14986 
   14987 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   14988 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   14989 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   14990 		if eval test \${$cacheid+y}
   14991 then :
   14992   printf %s "(cached) " >&6
   14993 else case e in #(
   14994   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14995 /* end confdefs.h.  */
   14996 int i;
   14997 int
   14998 main (void)
   14999 {
   15000 
   15001   ;
   15002   return 0;
   15003 }
   15004 _ACEOF
   15005 if ac_fn_c_try_link "$LINENO"
   15006 then :
   15007   eval $cacheid=yes
   15008 else case e in #(
   15009   e) eval $cacheid=no ;;
   15010 esac
   15011 fi
   15012 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15013     conftest$ac_exeext conftest.$ac_ext ;;
   15014 esac
   15015 fi
   15016 
   15017 
   15018 		CFLAGS="$xorg_testset_save_CFLAGS"
   15019 
   15020 		eval supported=\$$cacheid
   15021 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15022 printf "%s\n" "$supported" >&6; }
   15023 		if test "$supported" = "yes" ; then
   15024 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   15025 			found="yes"
   15026 		fi
   15027 	fi
   15028 
   15029 
   15030 
   15031 
   15032 
   15033 
   15034 
   15035 
   15036 
   15037 
   15038 
   15039 
   15040 
   15041 
   15042 
   15043 xorg_testset_save_CFLAGS="$CFLAGS"
   15044 
   15045 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15046 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15047 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15048 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15049 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15050 then :
   15051   printf %s "(cached) " >&6
   15052 else case e in #(
   15053   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15054 /* end confdefs.h.  */
   15055 int i;
   15056 _ACEOF
   15057 if ac_fn_c_try_compile "$LINENO"
   15058 then :
   15059   xorg_cv_cc_flag_unknown_warning_option=yes
   15060 else case e in #(
   15061   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15062 esac
   15063 fi
   15064 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15065 esac
   15066 fi
   15067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15068 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15069 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15070 	CFLAGS="$xorg_testset_save_CFLAGS"
   15071 fi
   15072 
   15073 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15074 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15075 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15076 	fi
   15077 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15078 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15079 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15080 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15081 then :
   15082   printf %s "(cached) " >&6
   15083 else case e in #(
   15084   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15085 /* end confdefs.h.  */
   15086 int i;
   15087 _ACEOF
   15088 if ac_fn_c_try_compile "$LINENO"
   15089 then :
   15090   xorg_cv_cc_flag_unused_command_line_argument=yes
   15091 else case e in #(
   15092   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15093 esac
   15094 fi
   15095 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15096 esac
   15097 fi
   15098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15099 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15100 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15101 	CFLAGS="$xorg_testset_save_CFLAGS"
   15102 fi
   15103 
   15104 found="no"
   15105 
   15106 	if test $found = "no" ; then
   15107 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15108 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15109 		fi
   15110 
   15111 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15112 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15113 		fi
   15114 
   15115 		CFLAGS="$CFLAGS -Wmissing-declarations"
   15116 
   15117 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   15118 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   15119 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   15120 		if eval test \${$cacheid+y}
   15121 then :
   15122   printf %s "(cached) " >&6
   15123 else case e in #(
   15124   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15125 /* end confdefs.h.  */
   15126 int i;
   15127 int
   15128 main (void)
   15129 {
   15130 
   15131   ;
   15132   return 0;
   15133 }
   15134 _ACEOF
   15135 if ac_fn_c_try_link "$LINENO"
   15136 then :
   15137   eval $cacheid=yes
   15138 else case e in #(
   15139   e) eval $cacheid=no ;;
   15140 esac
   15141 fi
   15142 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15143     conftest$ac_exeext conftest.$ac_ext ;;
   15144 esac
   15145 fi
   15146 
   15147 
   15148 		CFLAGS="$xorg_testset_save_CFLAGS"
   15149 
   15150 		eval supported=\$$cacheid
   15151 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15152 printf "%s\n" "$supported" >&6; }
   15153 		if test "$supported" = "yes" ; then
   15154 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   15155 			found="yes"
   15156 		fi
   15157 	fi
   15158 
   15159 
   15160 
   15161 
   15162 
   15163 
   15164 
   15165 
   15166 
   15167 
   15168 
   15169 
   15170 
   15171 
   15172 
   15173 xorg_testset_save_CFLAGS="$CFLAGS"
   15174 
   15175 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15176 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15177 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15178 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15179 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15180 then :
   15181   printf %s "(cached) " >&6
   15182 else case e in #(
   15183   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15184 /* end confdefs.h.  */
   15185 int i;
   15186 _ACEOF
   15187 if ac_fn_c_try_compile "$LINENO"
   15188 then :
   15189   xorg_cv_cc_flag_unknown_warning_option=yes
   15190 else case e in #(
   15191   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15192 esac
   15193 fi
   15194 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15195 esac
   15196 fi
   15197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15198 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15199 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15200 	CFLAGS="$xorg_testset_save_CFLAGS"
   15201 fi
   15202 
   15203 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15204 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15205 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15206 	fi
   15207 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15208 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15209 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15210 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15211 then :
   15212   printf %s "(cached) " >&6
   15213 else case e in #(
   15214   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15215 /* end confdefs.h.  */
   15216 int i;
   15217 _ACEOF
   15218 if ac_fn_c_try_compile "$LINENO"
   15219 then :
   15220   xorg_cv_cc_flag_unused_command_line_argument=yes
   15221 else case e in #(
   15222   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15223 esac
   15224 fi
   15225 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15226 esac
   15227 fi
   15228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15229 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15230 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15231 	CFLAGS="$xorg_testset_save_CFLAGS"
   15232 fi
   15233 
   15234 found="no"
   15235 
   15236 	if test $found = "no" ; then
   15237 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15238 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15239 		fi
   15240 
   15241 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15242 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15243 		fi
   15244 
   15245 		CFLAGS="$CFLAGS -Wformat=2"
   15246 
   15247 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   15248 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   15249 		cacheid=xorg_cv_cc_flag__Wformat_2
   15250 		if eval test \${$cacheid+y}
   15251 then :
   15252   printf %s "(cached) " >&6
   15253 else case e in #(
   15254   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15255 /* end confdefs.h.  */
   15256 int i;
   15257 int
   15258 main (void)
   15259 {
   15260 
   15261   ;
   15262   return 0;
   15263 }
   15264 _ACEOF
   15265 if ac_fn_c_try_link "$LINENO"
   15266 then :
   15267   eval $cacheid=yes
   15268 else case e in #(
   15269   e) eval $cacheid=no ;;
   15270 esac
   15271 fi
   15272 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15273     conftest$ac_exeext conftest.$ac_ext ;;
   15274 esac
   15275 fi
   15276 
   15277 
   15278 		CFLAGS="$xorg_testset_save_CFLAGS"
   15279 
   15280 		eval supported=\$$cacheid
   15281 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15282 printf "%s\n" "$supported" >&6; }
   15283 		if test "$supported" = "yes" ; then
   15284 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   15285 			found="yes"
   15286 		fi
   15287 	fi
   15288 
   15289 	if test $found = "no" ; then
   15290 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15291 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15292 		fi
   15293 
   15294 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15295 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15296 		fi
   15297 
   15298 		CFLAGS="$CFLAGS -Wformat"
   15299 
   15300 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   15301 printf %s "checking if $CC supports -Wformat... " >&6; }
   15302 		cacheid=xorg_cv_cc_flag__Wformat
   15303 		if eval test \${$cacheid+y}
   15304 then :
   15305   printf %s "(cached) " >&6
   15306 else case e in #(
   15307   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15308 /* end confdefs.h.  */
   15309 int i;
   15310 int
   15311 main (void)
   15312 {
   15313 
   15314   ;
   15315   return 0;
   15316 }
   15317 _ACEOF
   15318 if ac_fn_c_try_link "$LINENO"
   15319 then :
   15320   eval $cacheid=yes
   15321 else case e in #(
   15322   e) eval $cacheid=no ;;
   15323 esac
   15324 fi
   15325 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15326     conftest$ac_exeext conftest.$ac_ext ;;
   15327 esac
   15328 fi
   15329 
   15330 
   15331 		CFLAGS="$xorg_testset_save_CFLAGS"
   15332 
   15333 		eval supported=\$$cacheid
   15334 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15335 printf "%s\n" "$supported" >&6; }
   15336 		if test "$supported" = "yes" ; then
   15337 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   15338 			found="yes"
   15339 		fi
   15340 	fi
   15341 
   15342 
   15343 
   15344 
   15345 
   15346 
   15347 
   15348 
   15349 
   15350 
   15351 
   15352 
   15353 
   15354 
   15355 
   15356 
   15357 
   15358 xorg_testset_save_CFLAGS="$CFLAGS"
   15359 
   15360 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15361 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15362 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15363 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15364 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15365 then :
   15366   printf %s "(cached) " >&6
   15367 else case e in #(
   15368   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15369 /* end confdefs.h.  */
   15370 int i;
   15371 _ACEOF
   15372 if ac_fn_c_try_compile "$LINENO"
   15373 then :
   15374   xorg_cv_cc_flag_unknown_warning_option=yes
   15375 else case e in #(
   15376   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15377 esac
   15378 fi
   15379 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15380 esac
   15381 fi
   15382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15383 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15384 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15385 	CFLAGS="$xorg_testset_save_CFLAGS"
   15386 fi
   15387 
   15388 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15389 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15390 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15391 	fi
   15392 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15393 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15394 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15395 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15396 then :
   15397   printf %s "(cached) " >&6
   15398 else case e in #(
   15399   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15400 /* end confdefs.h.  */
   15401 int i;
   15402 _ACEOF
   15403 if ac_fn_c_try_compile "$LINENO"
   15404 then :
   15405   xorg_cv_cc_flag_unused_command_line_argument=yes
   15406 else case e in #(
   15407   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15408 esac
   15409 fi
   15410 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15411 esac
   15412 fi
   15413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15414 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15415 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15416 	CFLAGS="$xorg_testset_save_CFLAGS"
   15417 fi
   15418 
   15419 found="no"
   15420 
   15421 	if test $found = "no" ; then
   15422 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15423 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15424 		fi
   15425 
   15426 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15427 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15428 		fi
   15429 
   15430 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   15431 
   15432 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   15433 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   15434 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   15435 		if eval test \${$cacheid+y}
   15436 then :
   15437   printf %s "(cached) " >&6
   15438 else case e in #(
   15439   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15440 /* end confdefs.h.  */
   15441 int i;
   15442 int
   15443 main (void)
   15444 {
   15445 
   15446   ;
   15447   return 0;
   15448 }
   15449 _ACEOF
   15450 if ac_fn_c_try_link "$LINENO"
   15451 then :
   15452   eval $cacheid=yes
   15453 else case e in #(
   15454   e) eval $cacheid=no ;;
   15455 esac
   15456 fi
   15457 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15458     conftest$ac_exeext conftest.$ac_ext ;;
   15459 esac
   15460 fi
   15461 
   15462 
   15463 		CFLAGS="$xorg_testset_save_CFLAGS"
   15464 
   15465 		eval supported=\$$cacheid
   15466 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15467 printf "%s\n" "$supported" >&6; }
   15468 		if test "$supported" = "yes" ; then
   15469 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   15470 			found="yes"
   15471 		fi
   15472 	fi
   15473 
   15474 
   15475 
   15476 
   15477 
   15478 
   15479 
   15480 
   15481 
   15482 
   15483 
   15484 
   15485 
   15486 
   15487 
   15488 xorg_testset_save_CFLAGS="$CFLAGS"
   15489 
   15490 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15491 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15492 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15493 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15494 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15495 then :
   15496   printf %s "(cached) " >&6
   15497 else case e in #(
   15498   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15499 /* end confdefs.h.  */
   15500 int i;
   15501 _ACEOF
   15502 if ac_fn_c_try_compile "$LINENO"
   15503 then :
   15504   xorg_cv_cc_flag_unknown_warning_option=yes
   15505 else case e in #(
   15506   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15507 esac
   15508 fi
   15509 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15510 esac
   15511 fi
   15512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15513 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15514 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15515 	CFLAGS="$xorg_testset_save_CFLAGS"
   15516 fi
   15517 
   15518 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15519 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15520 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15521 	fi
   15522 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15523 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15524 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15525 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15526 then :
   15527   printf %s "(cached) " >&6
   15528 else case e in #(
   15529   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15530 /* end confdefs.h.  */
   15531 int i;
   15532 _ACEOF
   15533 if ac_fn_c_try_compile "$LINENO"
   15534 then :
   15535   xorg_cv_cc_flag_unused_command_line_argument=yes
   15536 else case e in #(
   15537   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15538 esac
   15539 fi
   15540 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15541 esac
   15542 fi
   15543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15544 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15545 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15546 	CFLAGS="$xorg_testset_save_CFLAGS"
   15547 fi
   15548 
   15549 found="no"
   15550 
   15551 	if test $found = "no" ; then
   15552 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15553 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15554 		fi
   15555 
   15556 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15557 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15558 		fi
   15559 
   15560 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   15561 
   15562 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   15563 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   15564 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   15565 		if eval test \${$cacheid+y}
   15566 then :
   15567   printf %s "(cached) " >&6
   15568 else case e in #(
   15569   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15570 /* end confdefs.h.  */
   15571 int i;
   15572 int
   15573 main (void)
   15574 {
   15575 
   15576   ;
   15577   return 0;
   15578 }
   15579 _ACEOF
   15580 if ac_fn_c_try_link "$LINENO"
   15581 then :
   15582   eval $cacheid=yes
   15583 else case e in #(
   15584   e) eval $cacheid=no ;;
   15585 esac
   15586 fi
   15587 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15588     conftest$ac_exeext conftest.$ac_ext ;;
   15589 esac
   15590 fi
   15591 
   15592 
   15593 		CFLAGS="$xorg_testset_save_CFLAGS"
   15594 
   15595 		eval supported=\$$cacheid
   15596 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15597 printf "%s\n" "$supported" >&6; }
   15598 		if test "$supported" = "yes" ; then
   15599 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   15600 			found="yes"
   15601 		fi
   15602 	fi
   15603 
   15604 
   15605 
   15606 
   15607 
   15608 
   15609 
   15610 
   15611 
   15612 
   15613 
   15614 
   15615 
   15616 
   15617 
   15618 xorg_testset_save_CFLAGS="$CFLAGS"
   15619 
   15620 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15621 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15622 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15623 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15624 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15625 then :
   15626   printf %s "(cached) " >&6
   15627 else case e in #(
   15628   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15629 /* end confdefs.h.  */
   15630 int i;
   15631 _ACEOF
   15632 if ac_fn_c_try_compile "$LINENO"
   15633 then :
   15634   xorg_cv_cc_flag_unknown_warning_option=yes
   15635 else case e in #(
   15636   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15637 esac
   15638 fi
   15639 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15640 esac
   15641 fi
   15642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15643 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15644 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15645 	CFLAGS="$xorg_testset_save_CFLAGS"
   15646 fi
   15647 
   15648 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15649 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15650 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15651 	fi
   15652 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15653 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15654 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15655 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15656 then :
   15657   printf %s "(cached) " >&6
   15658 else case e in #(
   15659   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15660 /* end confdefs.h.  */
   15661 int i;
   15662 _ACEOF
   15663 if ac_fn_c_try_compile "$LINENO"
   15664 then :
   15665   xorg_cv_cc_flag_unused_command_line_argument=yes
   15666 else case e in #(
   15667   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15668 esac
   15669 fi
   15670 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15671 esac
   15672 fi
   15673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15674 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15675 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15676 	CFLAGS="$xorg_testset_save_CFLAGS"
   15677 fi
   15678 
   15679 found="no"
   15680 
   15681 	if test $found = "no" ; then
   15682 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15683 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15684 		fi
   15685 
   15686 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15687 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15688 		fi
   15689 
   15690 		CFLAGS="$CFLAGS -Wnested-externs"
   15691 
   15692 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   15693 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   15694 		cacheid=xorg_cv_cc_flag__Wnested_externs
   15695 		if eval test \${$cacheid+y}
   15696 then :
   15697   printf %s "(cached) " >&6
   15698 else case e in #(
   15699   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15700 /* end confdefs.h.  */
   15701 int i;
   15702 int
   15703 main (void)
   15704 {
   15705 
   15706   ;
   15707   return 0;
   15708 }
   15709 _ACEOF
   15710 if ac_fn_c_try_link "$LINENO"
   15711 then :
   15712   eval $cacheid=yes
   15713 else case e in #(
   15714   e) eval $cacheid=no ;;
   15715 esac
   15716 fi
   15717 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15718     conftest$ac_exeext conftest.$ac_ext ;;
   15719 esac
   15720 fi
   15721 
   15722 
   15723 		CFLAGS="$xorg_testset_save_CFLAGS"
   15724 
   15725 		eval supported=\$$cacheid
   15726 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15727 printf "%s\n" "$supported" >&6; }
   15728 		if test "$supported" = "yes" ; then
   15729 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   15730 			found="yes"
   15731 		fi
   15732 	fi
   15733 
   15734 
   15735 
   15736 
   15737 
   15738 
   15739 
   15740 
   15741 
   15742 
   15743 
   15744 
   15745 
   15746 
   15747 
   15748 xorg_testset_save_CFLAGS="$CFLAGS"
   15749 
   15750 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15751 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15752 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15753 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15754 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15755 then :
   15756   printf %s "(cached) " >&6
   15757 else case e in #(
   15758   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15759 /* end confdefs.h.  */
   15760 int i;
   15761 _ACEOF
   15762 if ac_fn_c_try_compile "$LINENO"
   15763 then :
   15764   xorg_cv_cc_flag_unknown_warning_option=yes
   15765 else case e in #(
   15766   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15767 esac
   15768 fi
   15769 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15770 esac
   15771 fi
   15772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15773 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15774 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15775 	CFLAGS="$xorg_testset_save_CFLAGS"
   15776 fi
   15777 
   15778 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15779 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15780 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15781 	fi
   15782 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15783 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15784 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15785 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15786 then :
   15787   printf %s "(cached) " >&6
   15788 else case e in #(
   15789   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15790 /* end confdefs.h.  */
   15791 int i;
   15792 _ACEOF
   15793 if ac_fn_c_try_compile "$LINENO"
   15794 then :
   15795   xorg_cv_cc_flag_unused_command_line_argument=yes
   15796 else case e in #(
   15797   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15798 esac
   15799 fi
   15800 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15801 esac
   15802 fi
   15803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15804 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15805 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15806 	CFLAGS="$xorg_testset_save_CFLAGS"
   15807 fi
   15808 
   15809 found="no"
   15810 
   15811 	if test $found = "no" ; then
   15812 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15813 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15814 		fi
   15815 
   15816 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15817 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15818 		fi
   15819 
   15820 		CFLAGS="$CFLAGS -Wbad-function-cast"
   15821 
   15822 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   15823 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   15824 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   15825 		if eval test \${$cacheid+y}
   15826 then :
   15827   printf %s "(cached) " >&6
   15828 else case e in #(
   15829   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15830 /* end confdefs.h.  */
   15831 int i;
   15832 int
   15833 main (void)
   15834 {
   15835 
   15836   ;
   15837   return 0;
   15838 }
   15839 _ACEOF
   15840 if ac_fn_c_try_link "$LINENO"
   15841 then :
   15842   eval $cacheid=yes
   15843 else case e in #(
   15844   e) eval $cacheid=no ;;
   15845 esac
   15846 fi
   15847 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15848     conftest$ac_exeext conftest.$ac_ext ;;
   15849 esac
   15850 fi
   15851 
   15852 
   15853 		CFLAGS="$xorg_testset_save_CFLAGS"
   15854 
   15855 		eval supported=\$$cacheid
   15856 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15857 printf "%s\n" "$supported" >&6; }
   15858 		if test "$supported" = "yes" ; then
   15859 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   15860 			found="yes"
   15861 		fi
   15862 	fi
   15863 
   15864 
   15865 
   15866 
   15867 
   15868 
   15869 
   15870 
   15871 
   15872 
   15873 
   15874 
   15875 
   15876 
   15877 
   15878 xorg_testset_save_CFLAGS="$CFLAGS"
   15879 
   15880 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15881 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15882 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15883 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15884 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15885 then :
   15886   printf %s "(cached) " >&6
   15887 else case e in #(
   15888   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15889 /* end confdefs.h.  */
   15890 int i;
   15891 _ACEOF
   15892 if ac_fn_c_try_compile "$LINENO"
   15893 then :
   15894   xorg_cv_cc_flag_unknown_warning_option=yes
   15895 else case e in #(
   15896   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   15897 esac
   15898 fi
   15899 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15900 esac
   15901 fi
   15902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15903 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15904 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15905 	CFLAGS="$xorg_testset_save_CFLAGS"
   15906 fi
   15907 
   15908 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15909 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15910 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15911 	fi
   15912 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15913 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15914 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15915 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15916 then :
   15917   printf %s "(cached) " >&6
   15918 else case e in #(
   15919   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15920 /* end confdefs.h.  */
   15921 int i;
   15922 _ACEOF
   15923 if ac_fn_c_try_compile "$LINENO"
   15924 then :
   15925   xorg_cv_cc_flag_unused_command_line_argument=yes
   15926 else case e in #(
   15927   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   15928 esac
   15929 fi
   15930 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   15931 esac
   15932 fi
   15933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15934 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15935 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15936 	CFLAGS="$xorg_testset_save_CFLAGS"
   15937 fi
   15938 
   15939 found="no"
   15940 
   15941 	if test $found = "no" ; then
   15942 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15943 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15944 		fi
   15945 
   15946 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15947 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15948 		fi
   15949 
   15950 		CFLAGS="$CFLAGS -Wold-style-definition"
   15951 
   15952 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   15953 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   15954 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   15955 		if eval test \${$cacheid+y}
   15956 then :
   15957   printf %s "(cached) " >&6
   15958 else case e in #(
   15959   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15960 /* end confdefs.h.  */
   15961 int i;
   15962 int
   15963 main (void)
   15964 {
   15965 
   15966   ;
   15967   return 0;
   15968 }
   15969 _ACEOF
   15970 if ac_fn_c_try_link "$LINENO"
   15971 then :
   15972   eval $cacheid=yes
   15973 else case e in #(
   15974   e) eval $cacheid=no ;;
   15975 esac
   15976 fi
   15977 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15978     conftest$ac_exeext conftest.$ac_ext ;;
   15979 esac
   15980 fi
   15981 
   15982 
   15983 		CFLAGS="$xorg_testset_save_CFLAGS"
   15984 
   15985 		eval supported=\$$cacheid
   15986 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15987 printf "%s\n" "$supported" >&6; }
   15988 		if test "$supported" = "yes" ; then
   15989 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   15990 			found="yes"
   15991 		fi
   15992 	fi
   15993 
   15994 	if test $found = "no" ; then
   15995 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15996 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15997 		fi
   15998 
   15999 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16000 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16001 		fi
   16002 
   16003 		CFLAGS="$CFLAGS -fd"
   16004 
   16005 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   16006 printf %s "checking if $CC supports -fd... " >&6; }
   16007 		cacheid=xorg_cv_cc_flag__fd
   16008 		if eval test \${$cacheid+y}
   16009 then :
   16010   printf %s "(cached) " >&6
   16011 else case e in #(
   16012   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16013 /* end confdefs.h.  */
   16014 int i;
   16015 int
   16016 main (void)
   16017 {
   16018 
   16019   ;
   16020   return 0;
   16021 }
   16022 _ACEOF
   16023 if ac_fn_c_try_link "$LINENO"
   16024 then :
   16025   eval $cacheid=yes
   16026 else case e in #(
   16027   e) eval $cacheid=no ;;
   16028 esac
   16029 fi
   16030 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16031     conftest$ac_exeext conftest.$ac_ext ;;
   16032 esac
   16033 fi
   16034 
   16035 
   16036 		CFLAGS="$xorg_testset_save_CFLAGS"
   16037 
   16038 		eval supported=\$$cacheid
   16039 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16040 printf "%s\n" "$supported" >&6; }
   16041 		if test "$supported" = "yes" ; then
   16042 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   16043 			found="yes"
   16044 		fi
   16045 	fi
   16046 
   16047 
   16048 
   16049 
   16050 
   16051 # This chunk adds additional warnings that could catch undesired effects.
   16052 
   16053 
   16054 
   16055 
   16056 
   16057 
   16058 
   16059 
   16060 
   16061 
   16062 
   16063 
   16064 
   16065 xorg_testset_save_CFLAGS="$CFLAGS"
   16066 
   16067 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16068 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16069 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16070 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16071 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16072 then :
   16073   printf %s "(cached) " >&6
   16074 else case e in #(
   16075   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16076 /* end confdefs.h.  */
   16077 int i;
   16078 _ACEOF
   16079 if ac_fn_c_try_compile "$LINENO"
   16080 then :
   16081   xorg_cv_cc_flag_unknown_warning_option=yes
   16082 else case e in #(
   16083   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16084 esac
   16085 fi
   16086 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16087 esac
   16088 fi
   16089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16090 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16091 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16092 	CFLAGS="$xorg_testset_save_CFLAGS"
   16093 fi
   16094 
   16095 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16096 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16097 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16098 	fi
   16099 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16100 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16101 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16102 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16103 then :
   16104   printf %s "(cached) " >&6
   16105 else case e in #(
   16106   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16107 /* end confdefs.h.  */
   16108 int i;
   16109 _ACEOF
   16110 if ac_fn_c_try_compile "$LINENO"
   16111 then :
   16112   xorg_cv_cc_flag_unused_command_line_argument=yes
   16113 else case e in #(
   16114   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16115 esac
   16116 fi
   16117 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16118 esac
   16119 fi
   16120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16121 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16122 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16123 	CFLAGS="$xorg_testset_save_CFLAGS"
   16124 fi
   16125 
   16126 found="no"
   16127 
   16128 	if test $found = "no" ; then
   16129 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16130 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16131 		fi
   16132 
   16133 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16134 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16135 		fi
   16136 
   16137 		CFLAGS="$CFLAGS -Wunused"
   16138 
   16139 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   16140 printf %s "checking if $CC supports -Wunused... " >&6; }
   16141 		cacheid=xorg_cv_cc_flag__Wunused
   16142 		if eval test \${$cacheid+y}
   16143 then :
   16144   printf %s "(cached) " >&6
   16145 else case e in #(
   16146   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16147 /* end confdefs.h.  */
   16148 int i;
   16149 int
   16150 main (void)
   16151 {
   16152 
   16153   ;
   16154   return 0;
   16155 }
   16156 _ACEOF
   16157 if ac_fn_c_try_link "$LINENO"
   16158 then :
   16159   eval $cacheid=yes
   16160 else case e in #(
   16161   e) eval $cacheid=no ;;
   16162 esac
   16163 fi
   16164 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16165     conftest$ac_exeext conftest.$ac_ext ;;
   16166 esac
   16167 fi
   16168 
   16169 
   16170 		CFLAGS="$xorg_testset_save_CFLAGS"
   16171 
   16172 		eval supported=\$$cacheid
   16173 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16174 printf "%s\n" "$supported" >&6; }
   16175 		if test "$supported" = "yes" ; then
   16176 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   16177 			found="yes"
   16178 		fi
   16179 	fi
   16180 
   16181 
   16182 
   16183 
   16184 
   16185 
   16186 
   16187 
   16188 
   16189 
   16190 
   16191 
   16192 
   16193 
   16194 
   16195 xorg_testset_save_CFLAGS="$CFLAGS"
   16196 
   16197 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16198 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16199 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16200 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16201 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16202 then :
   16203   printf %s "(cached) " >&6
   16204 else case e in #(
   16205   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16206 /* end confdefs.h.  */
   16207 int i;
   16208 _ACEOF
   16209 if ac_fn_c_try_compile "$LINENO"
   16210 then :
   16211   xorg_cv_cc_flag_unknown_warning_option=yes
   16212 else case e in #(
   16213   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16214 esac
   16215 fi
   16216 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16217 esac
   16218 fi
   16219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16220 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16221 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16222 	CFLAGS="$xorg_testset_save_CFLAGS"
   16223 fi
   16224 
   16225 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16226 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16227 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16228 	fi
   16229 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16230 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16231 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16232 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16233 then :
   16234   printf %s "(cached) " >&6
   16235 else case e in #(
   16236   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16237 /* end confdefs.h.  */
   16238 int i;
   16239 _ACEOF
   16240 if ac_fn_c_try_compile "$LINENO"
   16241 then :
   16242   xorg_cv_cc_flag_unused_command_line_argument=yes
   16243 else case e in #(
   16244   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16245 esac
   16246 fi
   16247 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16248 esac
   16249 fi
   16250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16251 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16252 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16253 	CFLAGS="$xorg_testset_save_CFLAGS"
   16254 fi
   16255 
   16256 found="no"
   16257 
   16258 	if test $found = "no" ; then
   16259 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16260 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16261 		fi
   16262 
   16263 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16264 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16265 		fi
   16266 
   16267 		CFLAGS="$CFLAGS -Wuninitialized"
   16268 
   16269 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   16270 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   16271 		cacheid=xorg_cv_cc_flag__Wuninitialized
   16272 		if eval test \${$cacheid+y}
   16273 then :
   16274   printf %s "(cached) " >&6
   16275 else case e in #(
   16276   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16277 /* end confdefs.h.  */
   16278 int i;
   16279 int
   16280 main (void)
   16281 {
   16282 
   16283   ;
   16284   return 0;
   16285 }
   16286 _ACEOF
   16287 if ac_fn_c_try_link "$LINENO"
   16288 then :
   16289   eval $cacheid=yes
   16290 else case e in #(
   16291   e) eval $cacheid=no ;;
   16292 esac
   16293 fi
   16294 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16295     conftest$ac_exeext conftest.$ac_ext ;;
   16296 esac
   16297 fi
   16298 
   16299 
   16300 		CFLAGS="$xorg_testset_save_CFLAGS"
   16301 
   16302 		eval supported=\$$cacheid
   16303 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16304 printf "%s\n" "$supported" >&6; }
   16305 		if test "$supported" = "yes" ; then
   16306 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   16307 			found="yes"
   16308 		fi
   16309 	fi
   16310 
   16311 
   16312 
   16313 
   16314 
   16315 
   16316 
   16317 
   16318 
   16319 
   16320 
   16321 
   16322 
   16323 
   16324 
   16325 xorg_testset_save_CFLAGS="$CFLAGS"
   16326 
   16327 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16328 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16329 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16330 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16331 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16332 then :
   16333   printf %s "(cached) " >&6
   16334 else case e in #(
   16335   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16336 /* end confdefs.h.  */
   16337 int i;
   16338 _ACEOF
   16339 if ac_fn_c_try_compile "$LINENO"
   16340 then :
   16341   xorg_cv_cc_flag_unknown_warning_option=yes
   16342 else case e in #(
   16343   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16344 esac
   16345 fi
   16346 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16347 esac
   16348 fi
   16349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16350 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16351 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16352 	CFLAGS="$xorg_testset_save_CFLAGS"
   16353 fi
   16354 
   16355 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16356 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16357 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16358 	fi
   16359 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16360 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16361 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16362 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16363 then :
   16364   printf %s "(cached) " >&6
   16365 else case e in #(
   16366   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16367 /* end confdefs.h.  */
   16368 int i;
   16369 _ACEOF
   16370 if ac_fn_c_try_compile "$LINENO"
   16371 then :
   16372   xorg_cv_cc_flag_unused_command_line_argument=yes
   16373 else case e in #(
   16374   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16375 esac
   16376 fi
   16377 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16378 esac
   16379 fi
   16380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16381 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16382 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16383 	CFLAGS="$xorg_testset_save_CFLAGS"
   16384 fi
   16385 
   16386 found="no"
   16387 
   16388 	if test $found = "no" ; then
   16389 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16390 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16391 		fi
   16392 
   16393 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16394 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16395 		fi
   16396 
   16397 		CFLAGS="$CFLAGS -Wshadow"
   16398 
   16399 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   16400 printf %s "checking if $CC supports -Wshadow... " >&6; }
   16401 		cacheid=xorg_cv_cc_flag__Wshadow
   16402 		if eval test \${$cacheid+y}
   16403 then :
   16404   printf %s "(cached) " >&6
   16405 else case e in #(
   16406   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16407 /* end confdefs.h.  */
   16408 int i;
   16409 int
   16410 main (void)
   16411 {
   16412 
   16413   ;
   16414   return 0;
   16415 }
   16416 _ACEOF
   16417 if ac_fn_c_try_link "$LINENO"
   16418 then :
   16419   eval $cacheid=yes
   16420 else case e in #(
   16421   e) eval $cacheid=no ;;
   16422 esac
   16423 fi
   16424 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16425     conftest$ac_exeext conftest.$ac_ext ;;
   16426 esac
   16427 fi
   16428 
   16429 
   16430 		CFLAGS="$xorg_testset_save_CFLAGS"
   16431 
   16432 		eval supported=\$$cacheid
   16433 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16434 printf "%s\n" "$supported" >&6; }
   16435 		if test "$supported" = "yes" ; then
   16436 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   16437 			found="yes"
   16438 		fi
   16439 	fi
   16440 
   16441 
   16442 
   16443 
   16444 
   16445 
   16446 
   16447 
   16448 
   16449 
   16450 
   16451 
   16452 
   16453 
   16454 
   16455 xorg_testset_save_CFLAGS="$CFLAGS"
   16456 
   16457 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16458 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16459 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16460 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16461 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16462 then :
   16463   printf %s "(cached) " >&6
   16464 else case e in #(
   16465   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16466 /* end confdefs.h.  */
   16467 int i;
   16468 _ACEOF
   16469 if ac_fn_c_try_compile "$LINENO"
   16470 then :
   16471   xorg_cv_cc_flag_unknown_warning_option=yes
   16472 else case e in #(
   16473   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16474 esac
   16475 fi
   16476 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16477 esac
   16478 fi
   16479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16480 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16481 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16482 	CFLAGS="$xorg_testset_save_CFLAGS"
   16483 fi
   16484 
   16485 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16486 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16487 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16488 	fi
   16489 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16490 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16491 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16492 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16493 then :
   16494   printf %s "(cached) " >&6
   16495 else case e in #(
   16496   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16497 /* end confdefs.h.  */
   16498 int i;
   16499 _ACEOF
   16500 if ac_fn_c_try_compile "$LINENO"
   16501 then :
   16502   xorg_cv_cc_flag_unused_command_line_argument=yes
   16503 else case e in #(
   16504   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16505 esac
   16506 fi
   16507 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16508 esac
   16509 fi
   16510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16511 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16512 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16513 	CFLAGS="$xorg_testset_save_CFLAGS"
   16514 fi
   16515 
   16516 found="no"
   16517 
   16518 	if test $found = "no" ; then
   16519 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16520 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16521 		fi
   16522 
   16523 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16524 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16525 		fi
   16526 
   16527 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   16528 
   16529 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   16530 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   16531 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   16532 		if eval test \${$cacheid+y}
   16533 then :
   16534   printf %s "(cached) " >&6
   16535 else case e in #(
   16536   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16537 /* end confdefs.h.  */
   16538 int i;
   16539 int
   16540 main (void)
   16541 {
   16542 
   16543   ;
   16544   return 0;
   16545 }
   16546 _ACEOF
   16547 if ac_fn_c_try_link "$LINENO"
   16548 then :
   16549   eval $cacheid=yes
   16550 else case e in #(
   16551   e) eval $cacheid=no ;;
   16552 esac
   16553 fi
   16554 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16555     conftest$ac_exeext conftest.$ac_ext ;;
   16556 esac
   16557 fi
   16558 
   16559 
   16560 		CFLAGS="$xorg_testset_save_CFLAGS"
   16561 
   16562 		eval supported=\$$cacheid
   16563 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16564 printf "%s\n" "$supported" >&6; }
   16565 		if test "$supported" = "yes" ; then
   16566 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   16567 			found="yes"
   16568 		fi
   16569 	fi
   16570 
   16571 
   16572 
   16573 
   16574 
   16575 
   16576 
   16577 
   16578 
   16579 
   16580 
   16581 
   16582 
   16583 
   16584 
   16585 xorg_testset_save_CFLAGS="$CFLAGS"
   16586 
   16587 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16588 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16589 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16590 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16591 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16592 then :
   16593   printf %s "(cached) " >&6
   16594 else case e in #(
   16595   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16596 /* end confdefs.h.  */
   16597 int i;
   16598 _ACEOF
   16599 if ac_fn_c_try_compile "$LINENO"
   16600 then :
   16601   xorg_cv_cc_flag_unknown_warning_option=yes
   16602 else case e in #(
   16603   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16604 esac
   16605 fi
   16606 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16607 esac
   16608 fi
   16609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16610 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16611 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16612 	CFLAGS="$xorg_testset_save_CFLAGS"
   16613 fi
   16614 
   16615 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16616 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16617 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16618 	fi
   16619 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16620 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16621 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16622 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16623 then :
   16624   printf %s "(cached) " >&6
   16625 else case e in #(
   16626   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16627 /* end confdefs.h.  */
   16628 int i;
   16629 _ACEOF
   16630 if ac_fn_c_try_compile "$LINENO"
   16631 then :
   16632   xorg_cv_cc_flag_unused_command_line_argument=yes
   16633 else case e in #(
   16634   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16635 esac
   16636 fi
   16637 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16638 esac
   16639 fi
   16640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16641 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16642 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16643 	CFLAGS="$xorg_testset_save_CFLAGS"
   16644 fi
   16645 
   16646 found="no"
   16647 
   16648 	if test $found = "no" ; then
   16649 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16650 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16651 		fi
   16652 
   16653 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16654 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16655 		fi
   16656 
   16657 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   16658 
   16659 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   16660 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   16661 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   16662 		if eval test \${$cacheid+y}
   16663 then :
   16664   printf %s "(cached) " >&6
   16665 else case e in #(
   16666   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16667 /* end confdefs.h.  */
   16668 int i;
   16669 int
   16670 main (void)
   16671 {
   16672 
   16673   ;
   16674   return 0;
   16675 }
   16676 _ACEOF
   16677 if ac_fn_c_try_link "$LINENO"
   16678 then :
   16679   eval $cacheid=yes
   16680 else case e in #(
   16681   e) eval $cacheid=no ;;
   16682 esac
   16683 fi
   16684 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16685     conftest$ac_exeext conftest.$ac_ext ;;
   16686 esac
   16687 fi
   16688 
   16689 
   16690 		CFLAGS="$xorg_testset_save_CFLAGS"
   16691 
   16692 		eval supported=\$$cacheid
   16693 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16694 printf "%s\n" "$supported" >&6; }
   16695 		if test "$supported" = "yes" ; then
   16696 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   16697 			found="yes"
   16698 		fi
   16699 	fi
   16700 
   16701 
   16702 
   16703 
   16704 
   16705 
   16706 
   16707 
   16708 
   16709 
   16710 
   16711 
   16712 
   16713 
   16714 
   16715 xorg_testset_save_CFLAGS="$CFLAGS"
   16716 
   16717 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16718 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16719 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16720 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16721 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16722 then :
   16723   printf %s "(cached) " >&6
   16724 else case e in #(
   16725   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16726 /* end confdefs.h.  */
   16727 int i;
   16728 _ACEOF
   16729 if ac_fn_c_try_compile "$LINENO"
   16730 then :
   16731   xorg_cv_cc_flag_unknown_warning_option=yes
   16732 else case e in #(
   16733   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16734 esac
   16735 fi
   16736 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16737 esac
   16738 fi
   16739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16740 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16741 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16742 	CFLAGS="$xorg_testset_save_CFLAGS"
   16743 fi
   16744 
   16745 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16746 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16747 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16748 	fi
   16749 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16750 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16751 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16752 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16753 then :
   16754   printf %s "(cached) " >&6
   16755 else case e in #(
   16756   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16757 /* end confdefs.h.  */
   16758 int i;
   16759 _ACEOF
   16760 if ac_fn_c_try_compile "$LINENO"
   16761 then :
   16762   xorg_cv_cc_flag_unused_command_line_argument=yes
   16763 else case e in #(
   16764   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16765 esac
   16766 fi
   16767 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16768 esac
   16769 fi
   16770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16771 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16772 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16773 	CFLAGS="$xorg_testset_save_CFLAGS"
   16774 fi
   16775 
   16776 found="no"
   16777 
   16778 	if test $found = "no" ; then
   16779 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16780 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16781 		fi
   16782 
   16783 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16784 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16785 		fi
   16786 
   16787 		CFLAGS="$CFLAGS -Wredundant-decls"
   16788 
   16789 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   16790 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   16791 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   16792 		if eval test \${$cacheid+y}
   16793 then :
   16794   printf %s "(cached) " >&6
   16795 else case e in #(
   16796   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16797 /* end confdefs.h.  */
   16798 int i;
   16799 int
   16800 main (void)
   16801 {
   16802 
   16803   ;
   16804   return 0;
   16805 }
   16806 _ACEOF
   16807 if ac_fn_c_try_link "$LINENO"
   16808 then :
   16809   eval $cacheid=yes
   16810 else case e in #(
   16811   e) eval $cacheid=no ;;
   16812 esac
   16813 fi
   16814 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16815     conftest$ac_exeext conftest.$ac_ext ;;
   16816 esac
   16817 fi
   16818 
   16819 
   16820 		CFLAGS="$xorg_testset_save_CFLAGS"
   16821 
   16822 		eval supported=\$$cacheid
   16823 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16824 printf "%s\n" "$supported" >&6; }
   16825 		if test "$supported" = "yes" ; then
   16826 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   16827 			found="yes"
   16828 		fi
   16829 	fi
   16830 
   16831 
   16832 
   16833 
   16834 
   16835 
   16836 
   16837 
   16838 
   16839 
   16840 
   16841 
   16842 
   16843 
   16844 
   16845 xorg_testset_save_CFLAGS="$CFLAGS"
   16846 
   16847 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16848 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16849 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16850 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16851 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16852 then :
   16853   printf %s "(cached) " >&6
   16854 else case e in #(
   16855   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16856 /* end confdefs.h.  */
   16857 int i;
   16858 _ACEOF
   16859 if ac_fn_c_try_compile "$LINENO"
   16860 then :
   16861   xorg_cv_cc_flag_unknown_warning_option=yes
   16862 else case e in #(
   16863   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   16864 esac
   16865 fi
   16866 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16867 esac
   16868 fi
   16869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16870 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16871 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16872 	CFLAGS="$xorg_testset_save_CFLAGS"
   16873 fi
   16874 
   16875 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16876 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16877 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16878 	fi
   16879 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16880 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16881 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16882 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16883 then :
   16884   printf %s "(cached) " >&6
   16885 else case e in #(
   16886   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16887 /* end confdefs.h.  */
   16888 int i;
   16889 _ACEOF
   16890 if ac_fn_c_try_compile "$LINENO"
   16891 then :
   16892   xorg_cv_cc_flag_unused_command_line_argument=yes
   16893 else case e in #(
   16894   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   16895 esac
   16896 fi
   16897 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   16898 esac
   16899 fi
   16900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16901 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16902 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16903 	CFLAGS="$xorg_testset_save_CFLAGS"
   16904 fi
   16905 
   16906 found="no"
   16907 
   16908 	if test $found = "no" ; then
   16909 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16910 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16911 		fi
   16912 
   16913 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16914 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16915 		fi
   16916 
   16917 		CFLAGS="$CFLAGS -Wlogical-op"
   16918 
   16919 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   16920 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   16921 		cacheid=xorg_cv_cc_flag__Wlogical_op
   16922 		if eval test \${$cacheid+y}
   16923 then :
   16924   printf %s "(cached) " >&6
   16925 else case e in #(
   16926   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16927 /* end confdefs.h.  */
   16928 int i;
   16929 int
   16930 main (void)
   16931 {
   16932 
   16933   ;
   16934   return 0;
   16935 }
   16936 _ACEOF
   16937 if ac_fn_c_try_link "$LINENO"
   16938 then :
   16939   eval $cacheid=yes
   16940 else case e in #(
   16941   e) eval $cacheid=no ;;
   16942 esac
   16943 fi
   16944 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16945     conftest$ac_exeext conftest.$ac_ext ;;
   16946 esac
   16947 fi
   16948 
   16949 
   16950 		CFLAGS="$xorg_testset_save_CFLAGS"
   16951 
   16952 		eval supported=\$$cacheid
   16953 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16954 printf "%s\n" "$supported" >&6; }
   16955 		if test "$supported" = "yes" ; then
   16956 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   16957 			found="yes"
   16958 		fi
   16959 	fi
   16960 
   16961 
   16962 
   16963 # These are currently disabled because they are noisy.  They will be enabled
   16964 # in the future once the codebase is sufficiently modernized to silence
   16965 # them.  For now, I don't want them to drown out the other warnings.
   16966 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   16967 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   16968 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   16969 
   16970 # Turn some warnings into errors, so we don't accidentally get successful builds
   16971 # when there are problems that should be fixed.
   16972 
   16973 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   16974 
   16975 
   16976 
   16977 
   16978 
   16979 
   16980 
   16981 
   16982 
   16983 
   16984 
   16985 
   16986 
   16987 xorg_testset_save_CFLAGS="$CFLAGS"
   16988 
   16989 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16990 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16991 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16992 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16993 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16994 then :
   16995   printf %s "(cached) " >&6
   16996 else case e in #(
   16997   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16998 /* end confdefs.h.  */
   16999 int i;
   17000 _ACEOF
   17001 if ac_fn_c_try_compile "$LINENO"
   17002 then :
   17003   xorg_cv_cc_flag_unknown_warning_option=yes
   17004 else case e in #(
   17005   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17006 esac
   17007 fi
   17008 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17009 esac
   17010 fi
   17011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17012 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17013 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17014 	CFLAGS="$xorg_testset_save_CFLAGS"
   17015 fi
   17016 
   17017 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17018 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17019 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17020 	fi
   17021 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17022 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17023 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17024 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17025 then :
   17026   printf %s "(cached) " >&6
   17027 else case e in #(
   17028   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17029 /* end confdefs.h.  */
   17030 int i;
   17031 _ACEOF
   17032 if ac_fn_c_try_compile "$LINENO"
   17033 then :
   17034   xorg_cv_cc_flag_unused_command_line_argument=yes
   17035 else case e in #(
   17036   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17037 esac
   17038 fi
   17039 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17040 esac
   17041 fi
   17042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17043 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17044 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17045 	CFLAGS="$xorg_testset_save_CFLAGS"
   17046 fi
   17047 
   17048 found="no"
   17049 
   17050 	if test $found = "no" ; then
   17051 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17052 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17053 		fi
   17054 
   17055 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17056 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17057 		fi
   17058 
   17059 		CFLAGS="$CFLAGS -Werror=implicit"
   17060 
   17061 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   17062 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   17063 		cacheid=xorg_cv_cc_flag__Werror_implicit
   17064 		if eval test \${$cacheid+y}
   17065 then :
   17066   printf %s "(cached) " >&6
   17067 else case e in #(
   17068   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17069 /* end confdefs.h.  */
   17070 int i;
   17071 int
   17072 main (void)
   17073 {
   17074 
   17075   ;
   17076   return 0;
   17077 }
   17078 _ACEOF
   17079 if ac_fn_c_try_link "$LINENO"
   17080 then :
   17081   eval $cacheid=yes
   17082 else case e in #(
   17083   e) eval $cacheid=no ;;
   17084 esac
   17085 fi
   17086 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17087     conftest$ac_exeext conftest.$ac_ext ;;
   17088 esac
   17089 fi
   17090 
   17091 
   17092 		CFLAGS="$xorg_testset_save_CFLAGS"
   17093 
   17094 		eval supported=\$$cacheid
   17095 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17096 printf "%s\n" "$supported" >&6; }
   17097 		if test "$supported" = "yes" ; then
   17098 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   17099 			found="yes"
   17100 		fi
   17101 	fi
   17102 
   17103 	if test $found = "no" ; then
   17104 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17105 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17106 		fi
   17107 
   17108 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17109 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17110 		fi
   17111 
   17112 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   17113 
   17114 		{ 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
   17115 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   17116 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   17117 		if eval test \${$cacheid+y}
   17118 then :
   17119   printf %s "(cached) " >&6
   17120 else case e in #(
   17121   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17122 /* end confdefs.h.  */
   17123 int i;
   17124 int
   17125 main (void)
   17126 {
   17127 
   17128   ;
   17129   return 0;
   17130 }
   17131 _ACEOF
   17132 if ac_fn_c_try_link "$LINENO"
   17133 then :
   17134   eval $cacheid=yes
   17135 else case e in #(
   17136   e) eval $cacheid=no ;;
   17137 esac
   17138 fi
   17139 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17140     conftest$ac_exeext conftest.$ac_ext ;;
   17141 esac
   17142 fi
   17143 
   17144 
   17145 		CFLAGS="$xorg_testset_save_CFLAGS"
   17146 
   17147 		eval supported=\$$cacheid
   17148 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17149 printf "%s\n" "$supported" >&6; }
   17150 		if test "$supported" = "yes" ; then
   17151 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   17152 			found="yes"
   17153 		fi
   17154 	fi
   17155 
   17156 
   17157 
   17158 
   17159 
   17160 
   17161 
   17162 
   17163 
   17164 
   17165 
   17166 
   17167 
   17168 
   17169 
   17170 xorg_testset_save_CFLAGS="$CFLAGS"
   17171 
   17172 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17173 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17174 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17175 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17176 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17177 then :
   17178   printf %s "(cached) " >&6
   17179 else case e in #(
   17180   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17181 /* end confdefs.h.  */
   17182 int i;
   17183 _ACEOF
   17184 if ac_fn_c_try_compile "$LINENO"
   17185 then :
   17186   xorg_cv_cc_flag_unknown_warning_option=yes
   17187 else case e in #(
   17188   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17189 esac
   17190 fi
   17191 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17192 esac
   17193 fi
   17194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17195 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17196 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17197 	CFLAGS="$xorg_testset_save_CFLAGS"
   17198 fi
   17199 
   17200 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17201 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17202 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17203 	fi
   17204 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17205 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17206 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17207 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17208 then :
   17209   printf %s "(cached) " >&6
   17210 else case e in #(
   17211   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17212 /* end confdefs.h.  */
   17213 int i;
   17214 _ACEOF
   17215 if ac_fn_c_try_compile "$LINENO"
   17216 then :
   17217   xorg_cv_cc_flag_unused_command_line_argument=yes
   17218 else case e in #(
   17219   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17220 esac
   17221 fi
   17222 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17223 esac
   17224 fi
   17225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17226 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17227 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17228 	CFLAGS="$xorg_testset_save_CFLAGS"
   17229 fi
   17230 
   17231 found="no"
   17232 
   17233 	if test $found = "no" ; then
   17234 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17235 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17236 		fi
   17237 
   17238 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17239 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17240 		fi
   17241 
   17242 		CFLAGS="$CFLAGS -Werror=nonnull"
   17243 
   17244 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   17245 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   17246 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   17247 		if eval test \${$cacheid+y}
   17248 then :
   17249   printf %s "(cached) " >&6
   17250 else case e in #(
   17251   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17252 /* end confdefs.h.  */
   17253 int i;
   17254 int
   17255 main (void)
   17256 {
   17257 
   17258   ;
   17259   return 0;
   17260 }
   17261 _ACEOF
   17262 if ac_fn_c_try_link "$LINENO"
   17263 then :
   17264   eval $cacheid=yes
   17265 else case e in #(
   17266   e) eval $cacheid=no ;;
   17267 esac
   17268 fi
   17269 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17270     conftest$ac_exeext conftest.$ac_ext ;;
   17271 esac
   17272 fi
   17273 
   17274 
   17275 		CFLAGS="$xorg_testset_save_CFLAGS"
   17276 
   17277 		eval supported=\$$cacheid
   17278 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17279 printf "%s\n" "$supported" >&6; }
   17280 		if test "$supported" = "yes" ; then
   17281 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   17282 			found="yes"
   17283 		fi
   17284 	fi
   17285 
   17286 
   17287 
   17288 
   17289 
   17290 
   17291 
   17292 
   17293 
   17294 
   17295 
   17296 
   17297 
   17298 
   17299 
   17300 xorg_testset_save_CFLAGS="$CFLAGS"
   17301 
   17302 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17303 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17304 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17305 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17306 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17307 then :
   17308   printf %s "(cached) " >&6
   17309 else case e in #(
   17310   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17311 /* end confdefs.h.  */
   17312 int i;
   17313 _ACEOF
   17314 if ac_fn_c_try_compile "$LINENO"
   17315 then :
   17316   xorg_cv_cc_flag_unknown_warning_option=yes
   17317 else case e in #(
   17318   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17319 esac
   17320 fi
   17321 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17322 esac
   17323 fi
   17324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17325 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17326 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17327 	CFLAGS="$xorg_testset_save_CFLAGS"
   17328 fi
   17329 
   17330 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17331 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17332 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17333 	fi
   17334 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17335 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17336 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17337 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17338 then :
   17339   printf %s "(cached) " >&6
   17340 else case e in #(
   17341   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17342 /* end confdefs.h.  */
   17343 int i;
   17344 _ACEOF
   17345 if ac_fn_c_try_compile "$LINENO"
   17346 then :
   17347   xorg_cv_cc_flag_unused_command_line_argument=yes
   17348 else case e in #(
   17349   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17350 esac
   17351 fi
   17352 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17353 esac
   17354 fi
   17355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17356 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17357 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17358 	CFLAGS="$xorg_testset_save_CFLAGS"
   17359 fi
   17360 
   17361 found="no"
   17362 
   17363 	if test $found = "no" ; then
   17364 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17365 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17366 		fi
   17367 
   17368 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17369 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17370 		fi
   17371 
   17372 		CFLAGS="$CFLAGS -Werror=init-self"
   17373 
   17374 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   17375 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   17376 		cacheid=xorg_cv_cc_flag__Werror_init_self
   17377 		if eval test \${$cacheid+y}
   17378 then :
   17379   printf %s "(cached) " >&6
   17380 else case e in #(
   17381   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17382 /* end confdefs.h.  */
   17383 int i;
   17384 int
   17385 main (void)
   17386 {
   17387 
   17388   ;
   17389   return 0;
   17390 }
   17391 _ACEOF
   17392 if ac_fn_c_try_link "$LINENO"
   17393 then :
   17394   eval $cacheid=yes
   17395 else case e in #(
   17396   e) eval $cacheid=no ;;
   17397 esac
   17398 fi
   17399 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17400     conftest$ac_exeext conftest.$ac_ext ;;
   17401 esac
   17402 fi
   17403 
   17404 
   17405 		CFLAGS="$xorg_testset_save_CFLAGS"
   17406 
   17407 		eval supported=\$$cacheid
   17408 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17409 printf "%s\n" "$supported" >&6; }
   17410 		if test "$supported" = "yes" ; then
   17411 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   17412 			found="yes"
   17413 		fi
   17414 	fi
   17415 
   17416 
   17417 
   17418 
   17419 
   17420 
   17421 
   17422 
   17423 
   17424 
   17425 
   17426 
   17427 
   17428 
   17429 
   17430 xorg_testset_save_CFLAGS="$CFLAGS"
   17431 
   17432 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17433 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17434 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17435 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17436 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17437 then :
   17438   printf %s "(cached) " >&6
   17439 else case e in #(
   17440   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17441 /* end confdefs.h.  */
   17442 int i;
   17443 _ACEOF
   17444 if ac_fn_c_try_compile "$LINENO"
   17445 then :
   17446   xorg_cv_cc_flag_unknown_warning_option=yes
   17447 else case e in #(
   17448   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17449 esac
   17450 fi
   17451 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17452 esac
   17453 fi
   17454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17455 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17456 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17457 	CFLAGS="$xorg_testset_save_CFLAGS"
   17458 fi
   17459 
   17460 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17461 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17462 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17463 	fi
   17464 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17465 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17466 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17467 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17468 then :
   17469   printf %s "(cached) " >&6
   17470 else case e in #(
   17471   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17472 /* end confdefs.h.  */
   17473 int i;
   17474 _ACEOF
   17475 if ac_fn_c_try_compile "$LINENO"
   17476 then :
   17477   xorg_cv_cc_flag_unused_command_line_argument=yes
   17478 else case e in #(
   17479   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17480 esac
   17481 fi
   17482 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17483 esac
   17484 fi
   17485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17486 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17487 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17488 	CFLAGS="$xorg_testset_save_CFLAGS"
   17489 fi
   17490 
   17491 found="no"
   17492 
   17493 	if test $found = "no" ; then
   17494 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17495 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17496 		fi
   17497 
   17498 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17499 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17500 		fi
   17501 
   17502 		CFLAGS="$CFLAGS -Werror=main"
   17503 
   17504 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   17505 printf %s "checking if $CC supports -Werror=main... " >&6; }
   17506 		cacheid=xorg_cv_cc_flag__Werror_main
   17507 		if eval test \${$cacheid+y}
   17508 then :
   17509   printf %s "(cached) " >&6
   17510 else case e in #(
   17511   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17512 /* end confdefs.h.  */
   17513 int i;
   17514 int
   17515 main (void)
   17516 {
   17517 
   17518   ;
   17519   return 0;
   17520 }
   17521 _ACEOF
   17522 if ac_fn_c_try_link "$LINENO"
   17523 then :
   17524   eval $cacheid=yes
   17525 else case e in #(
   17526   e) eval $cacheid=no ;;
   17527 esac
   17528 fi
   17529 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17530     conftest$ac_exeext conftest.$ac_ext ;;
   17531 esac
   17532 fi
   17533 
   17534 
   17535 		CFLAGS="$xorg_testset_save_CFLAGS"
   17536 
   17537 		eval supported=\$$cacheid
   17538 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17539 printf "%s\n" "$supported" >&6; }
   17540 		if test "$supported" = "yes" ; then
   17541 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   17542 			found="yes"
   17543 		fi
   17544 	fi
   17545 
   17546 
   17547 
   17548 
   17549 
   17550 
   17551 
   17552 
   17553 
   17554 
   17555 
   17556 
   17557 
   17558 
   17559 
   17560 xorg_testset_save_CFLAGS="$CFLAGS"
   17561 
   17562 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17563 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17564 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17565 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17566 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17567 then :
   17568   printf %s "(cached) " >&6
   17569 else case e in #(
   17570   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17571 /* end confdefs.h.  */
   17572 int i;
   17573 _ACEOF
   17574 if ac_fn_c_try_compile "$LINENO"
   17575 then :
   17576   xorg_cv_cc_flag_unknown_warning_option=yes
   17577 else case e in #(
   17578   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17579 esac
   17580 fi
   17581 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17582 esac
   17583 fi
   17584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17585 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17586 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17587 	CFLAGS="$xorg_testset_save_CFLAGS"
   17588 fi
   17589 
   17590 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17591 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17592 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17593 	fi
   17594 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17595 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17596 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17597 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17598 then :
   17599   printf %s "(cached) " >&6
   17600 else case e in #(
   17601   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17602 /* end confdefs.h.  */
   17603 int i;
   17604 _ACEOF
   17605 if ac_fn_c_try_compile "$LINENO"
   17606 then :
   17607   xorg_cv_cc_flag_unused_command_line_argument=yes
   17608 else case e in #(
   17609   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17610 esac
   17611 fi
   17612 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17613 esac
   17614 fi
   17615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17616 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17617 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17618 	CFLAGS="$xorg_testset_save_CFLAGS"
   17619 fi
   17620 
   17621 found="no"
   17622 
   17623 	if test $found = "no" ; then
   17624 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17625 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17626 		fi
   17627 
   17628 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17629 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17630 		fi
   17631 
   17632 		CFLAGS="$CFLAGS -Werror=missing-braces"
   17633 
   17634 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   17635 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   17636 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   17637 		if eval test \${$cacheid+y}
   17638 then :
   17639   printf %s "(cached) " >&6
   17640 else case e in #(
   17641   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17642 /* end confdefs.h.  */
   17643 int i;
   17644 int
   17645 main (void)
   17646 {
   17647 
   17648   ;
   17649   return 0;
   17650 }
   17651 _ACEOF
   17652 if ac_fn_c_try_link "$LINENO"
   17653 then :
   17654   eval $cacheid=yes
   17655 else case e in #(
   17656   e) eval $cacheid=no ;;
   17657 esac
   17658 fi
   17659 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17660     conftest$ac_exeext conftest.$ac_ext ;;
   17661 esac
   17662 fi
   17663 
   17664 
   17665 		CFLAGS="$xorg_testset_save_CFLAGS"
   17666 
   17667 		eval supported=\$$cacheid
   17668 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17669 printf "%s\n" "$supported" >&6; }
   17670 		if test "$supported" = "yes" ; then
   17671 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   17672 			found="yes"
   17673 		fi
   17674 	fi
   17675 
   17676 
   17677 
   17678 
   17679 
   17680 
   17681 
   17682 
   17683 
   17684 
   17685 
   17686 
   17687 
   17688 
   17689 
   17690 xorg_testset_save_CFLAGS="$CFLAGS"
   17691 
   17692 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17693 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17694 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17695 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17696 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17697 then :
   17698   printf %s "(cached) " >&6
   17699 else case e in #(
   17700   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17701 /* end confdefs.h.  */
   17702 int i;
   17703 _ACEOF
   17704 if ac_fn_c_try_compile "$LINENO"
   17705 then :
   17706   xorg_cv_cc_flag_unknown_warning_option=yes
   17707 else case e in #(
   17708   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17709 esac
   17710 fi
   17711 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17712 esac
   17713 fi
   17714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17715 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17716 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17717 	CFLAGS="$xorg_testset_save_CFLAGS"
   17718 fi
   17719 
   17720 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17721 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17722 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17723 	fi
   17724 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17725 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17726 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17727 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17728 then :
   17729   printf %s "(cached) " >&6
   17730 else case e in #(
   17731   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17732 /* end confdefs.h.  */
   17733 int i;
   17734 _ACEOF
   17735 if ac_fn_c_try_compile "$LINENO"
   17736 then :
   17737   xorg_cv_cc_flag_unused_command_line_argument=yes
   17738 else case e in #(
   17739   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17740 esac
   17741 fi
   17742 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17743 esac
   17744 fi
   17745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17746 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17747 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17748 	CFLAGS="$xorg_testset_save_CFLAGS"
   17749 fi
   17750 
   17751 found="no"
   17752 
   17753 	if test $found = "no" ; then
   17754 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17755 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17756 		fi
   17757 
   17758 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17759 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17760 		fi
   17761 
   17762 		CFLAGS="$CFLAGS -Werror=sequence-point"
   17763 
   17764 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   17765 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   17766 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   17767 		if eval test \${$cacheid+y}
   17768 then :
   17769   printf %s "(cached) " >&6
   17770 else case e in #(
   17771   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17772 /* end confdefs.h.  */
   17773 int i;
   17774 int
   17775 main (void)
   17776 {
   17777 
   17778   ;
   17779   return 0;
   17780 }
   17781 _ACEOF
   17782 if ac_fn_c_try_link "$LINENO"
   17783 then :
   17784   eval $cacheid=yes
   17785 else case e in #(
   17786   e) eval $cacheid=no ;;
   17787 esac
   17788 fi
   17789 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17790     conftest$ac_exeext conftest.$ac_ext ;;
   17791 esac
   17792 fi
   17793 
   17794 
   17795 		CFLAGS="$xorg_testset_save_CFLAGS"
   17796 
   17797 		eval supported=\$$cacheid
   17798 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17799 printf "%s\n" "$supported" >&6; }
   17800 		if test "$supported" = "yes" ; then
   17801 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   17802 			found="yes"
   17803 		fi
   17804 	fi
   17805 
   17806 
   17807 
   17808 
   17809 
   17810 
   17811 
   17812 
   17813 
   17814 
   17815 
   17816 
   17817 
   17818 
   17819 
   17820 xorg_testset_save_CFLAGS="$CFLAGS"
   17821 
   17822 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17823 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17824 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17825 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17826 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17827 then :
   17828   printf %s "(cached) " >&6
   17829 else case e in #(
   17830   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17831 /* end confdefs.h.  */
   17832 int i;
   17833 _ACEOF
   17834 if ac_fn_c_try_compile "$LINENO"
   17835 then :
   17836   xorg_cv_cc_flag_unknown_warning_option=yes
   17837 else case e in #(
   17838   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   17839 esac
   17840 fi
   17841 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17842 esac
   17843 fi
   17844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17845 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17846 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17847 	CFLAGS="$xorg_testset_save_CFLAGS"
   17848 fi
   17849 
   17850 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17851 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17852 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17853 	fi
   17854 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17855 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17856 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17857 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17858 then :
   17859   printf %s "(cached) " >&6
   17860 else case e in #(
   17861   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17862 /* end confdefs.h.  */
   17863 int i;
   17864 _ACEOF
   17865 if ac_fn_c_try_compile "$LINENO"
   17866 then :
   17867   xorg_cv_cc_flag_unused_command_line_argument=yes
   17868 else case e in #(
   17869   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   17870 esac
   17871 fi
   17872 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   17873 esac
   17874 fi
   17875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17876 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17877 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17878 	CFLAGS="$xorg_testset_save_CFLAGS"
   17879 fi
   17880 
   17881 found="no"
   17882 
   17883 	if test $found = "no" ; then
   17884 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17885 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17886 		fi
   17887 
   17888 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17889 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17890 		fi
   17891 
   17892 		CFLAGS="$CFLAGS -Werror=return-type"
   17893 
   17894 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   17895 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   17896 		cacheid=xorg_cv_cc_flag__Werror_return_type
   17897 		if eval test \${$cacheid+y}
   17898 then :
   17899   printf %s "(cached) " >&6
   17900 else case e in #(
   17901   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17902 /* end confdefs.h.  */
   17903 int i;
   17904 int
   17905 main (void)
   17906 {
   17907 
   17908   ;
   17909   return 0;
   17910 }
   17911 _ACEOF
   17912 if ac_fn_c_try_link "$LINENO"
   17913 then :
   17914   eval $cacheid=yes
   17915 else case e in #(
   17916   e) eval $cacheid=no ;;
   17917 esac
   17918 fi
   17919 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17920     conftest$ac_exeext conftest.$ac_ext ;;
   17921 esac
   17922 fi
   17923 
   17924 
   17925 		CFLAGS="$xorg_testset_save_CFLAGS"
   17926 
   17927 		eval supported=\$$cacheid
   17928 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17929 printf "%s\n" "$supported" >&6; }
   17930 		if test "$supported" = "yes" ; then
   17931 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   17932 			found="yes"
   17933 		fi
   17934 	fi
   17935 
   17936 	if test $found = "no" ; then
   17937 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17938 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17939 		fi
   17940 
   17941 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17942 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17943 		fi
   17944 
   17945 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   17946 
   17947 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   17948 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   17949 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   17950 		if eval test \${$cacheid+y}
   17951 then :
   17952   printf %s "(cached) " >&6
   17953 else case e in #(
   17954   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17955 /* end confdefs.h.  */
   17956 int i;
   17957 int
   17958 main (void)
   17959 {
   17960 
   17961   ;
   17962   return 0;
   17963 }
   17964 _ACEOF
   17965 if ac_fn_c_try_link "$LINENO"
   17966 then :
   17967   eval $cacheid=yes
   17968 else case e in #(
   17969   e) eval $cacheid=no ;;
   17970 esac
   17971 fi
   17972 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17973     conftest$ac_exeext conftest.$ac_ext ;;
   17974 esac
   17975 fi
   17976 
   17977 
   17978 		CFLAGS="$xorg_testset_save_CFLAGS"
   17979 
   17980 		eval supported=\$$cacheid
   17981 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17982 printf "%s\n" "$supported" >&6; }
   17983 		if test "$supported" = "yes" ; then
   17984 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   17985 			found="yes"
   17986 		fi
   17987 	fi
   17988 
   17989 
   17990 
   17991 
   17992 
   17993 
   17994 
   17995 
   17996 
   17997 
   17998 
   17999 
   18000 
   18001 
   18002 
   18003 xorg_testset_save_CFLAGS="$CFLAGS"
   18004 
   18005 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18006 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18007 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18008 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18009 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18010 then :
   18011   printf %s "(cached) " >&6
   18012 else case e in #(
   18013   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18014 /* end confdefs.h.  */
   18015 int i;
   18016 _ACEOF
   18017 if ac_fn_c_try_compile "$LINENO"
   18018 then :
   18019   xorg_cv_cc_flag_unknown_warning_option=yes
   18020 else case e in #(
   18021   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18022 esac
   18023 fi
   18024 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18025 esac
   18026 fi
   18027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18028 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18029 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18030 	CFLAGS="$xorg_testset_save_CFLAGS"
   18031 fi
   18032 
   18033 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18034 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18035 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18036 	fi
   18037 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18038 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18039 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18040 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18041 then :
   18042   printf %s "(cached) " >&6
   18043 else case e in #(
   18044   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18045 /* end confdefs.h.  */
   18046 int i;
   18047 _ACEOF
   18048 if ac_fn_c_try_compile "$LINENO"
   18049 then :
   18050   xorg_cv_cc_flag_unused_command_line_argument=yes
   18051 else case e in #(
   18052   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18053 esac
   18054 fi
   18055 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18056 esac
   18057 fi
   18058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18059 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18060 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18061 	CFLAGS="$xorg_testset_save_CFLAGS"
   18062 fi
   18063 
   18064 found="no"
   18065 
   18066 	if test $found = "no" ; then
   18067 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18068 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18069 		fi
   18070 
   18071 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18072 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18073 		fi
   18074 
   18075 		CFLAGS="$CFLAGS -Werror=trigraphs"
   18076 
   18077 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   18078 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   18079 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   18080 		if eval test \${$cacheid+y}
   18081 then :
   18082   printf %s "(cached) " >&6
   18083 else case e in #(
   18084   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18085 /* end confdefs.h.  */
   18086 int i;
   18087 int
   18088 main (void)
   18089 {
   18090 
   18091   ;
   18092   return 0;
   18093 }
   18094 _ACEOF
   18095 if ac_fn_c_try_link "$LINENO"
   18096 then :
   18097   eval $cacheid=yes
   18098 else case e in #(
   18099   e) eval $cacheid=no ;;
   18100 esac
   18101 fi
   18102 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18103     conftest$ac_exeext conftest.$ac_ext ;;
   18104 esac
   18105 fi
   18106 
   18107 
   18108 		CFLAGS="$xorg_testset_save_CFLAGS"
   18109 
   18110 		eval supported=\$$cacheid
   18111 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18112 printf "%s\n" "$supported" >&6; }
   18113 		if test "$supported" = "yes" ; then
   18114 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   18115 			found="yes"
   18116 		fi
   18117 	fi
   18118 
   18119 
   18120 
   18121 
   18122 
   18123 
   18124 
   18125 
   18126 
   18127 
   18128 
   18129 
   18130 
   18131 
   18132 
   18133 xorg_testset_save_CFLAGS="$CFLAGS"
   18134 
   18135 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18136 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18137 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18138 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18139 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18140 then :
   18141   printf %s "(cached) " >&6
   18142 else case e in #(
   18143   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18144 /* end confdefs.h.  */
   18145 int i;
   18146 _ACEOF
   18147 if ac_fn_c_try_compile "$LINENO"
   18148 then :
   18149   xorg_cv_cc_flag_unknown_warning_option=yes
   18150 else case e in #(
   18151   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18152 esac
   18153 fi
   18154 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18155 esac
   18156 fi
   18157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18158 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18159 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18160 	CFLAGS="$xorg_testset_save_CFLAGS"
   18161 fi
   18162 
   18163 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18164 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18165 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18166 	fi
   18167 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18168 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18169 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18170 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18171 then :
   18172   printf %s "(cached) " >&6
   18173 else case e in #(
   18174   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18175 /* end confdefs.h.  */
   18176 int i;
   18177 _ACEOF
   18178 if ac_fn_c_try_compile "$LINENO"
   18179 then :
   18180   xorg_cv_cc_flag_unused_command_line_argument=yes
   18181 else case e in #(
   18182   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18183 esac
   18184 fi
   18185 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18186 esac
   18187 fi
   18188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18189 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18190 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18191 	CFLAGS="$xorg_testset_save_CFLAGS"
   18192 fi
   18193 
   18194 found="no"
   18195 
   18196 	if test $found = "no" ; then
   18197 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18198 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18199 		fi
   18200 
   18201 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18202 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18203 		fi
   18204 
   18205 		CFLAGS="$CFLAGS -Werror=array-bounds"
   18206 
   18207 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   18208 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   18209 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   18210 		if eval test \${$cacheid+y}
   18211 then :
   18212   printf %s "(cached) " >&6
   18213 else case e in #(
   18214   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18215 /* end confdefs.h.  */
   18216 int i;
   18217 int
   18218 main (void)
   18219 {
   18220 
   18221   ;
   18222   return 0;
   18223 }
   18224 _ACEOF
   18225 if ac_fn_c_try_link "$LINENO"
   18226 then :
   18227   eval $cacheid=yes
   18228 else case e in #(
   18229   e) eval $cacheid=no ;;
   18230 esac
   18231 fi
   18232 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18233     conftest$ac_exeext conftest.$ac_ext ;;
   18234 esac
   18235 fi
   18236 
   18237 
   18238 		CFLAGS="$xorg_testset_save_CFLAGS"
   18239 
   18240 		eval supported=\$$cacheid
   18241 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18242 printf "%s\n" "$supported" >&6; }
   18243 		if test "$supported" = "yes" ; then
   18244 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   18245 			found="yes"
   18246 		fi
   18247 	fi
   18248 
   18249 
   18250 
   18251 
   18252 
   18253 
   18254 
   18255 
   18256 
   18257 
   18258 
   18259 
   18260 
   18261 
   18262 
   18263 xorg_testset_save_CFLAGS="$CFLAGS"
   18264 
   18265 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18266 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18267 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18268 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18269 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18270 then :
   18271   printf %s "(cached) " >&6
   18272 else case e in #(
   18273   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18274 /* end confdefs.h.  */
   18275 int i;
   18276 _ACEOF
   18277 if ac_fn_c_try_compile "$LINENO"
   18278 then :
   18279   xorg_cv_cc_flag_unknown_warning_option=yes
   18280 else case e in #(
   18281   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18282 esac
   18283 fi
   18284 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18285 esac
   18286 fi
   18287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18288 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18289 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18290 	CFLAGS="$xorg_testset_save_CFLAGS"
   18291 fi
   18292 
   18293 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18294 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18295 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18296 	fi
   18297 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18298 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18299 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18300 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18301 then :
   18302   printf %s "(cached) " >&6
   18303 else case e in #(
   18304   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18305 /* end confdefs.h.  */
   18306 int i;
   18307 _ACEOF
   18308 if ac_fn_c_try_compile "$LINENO"
   18309 then :
   18310   xorg_cv_cc_flag_unused_command_line_argument=yes
   18311 else case e in #(
   18312   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18313 esac
   18314 fi
   18315 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18316 esac
   18317 fi
   18318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18319 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18320 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18321 	CFLAGS="$xorg_testset_save_CFLAGS"
   18322 fi
   18323 
   18324 found="no"
   18325 
   18326 	if test $found = "no" ; then
   18327 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18328 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18329 		fi
   18330 
   18331 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18332 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18333 		fi
   18334 
   18335 		CFLAGS="$CFLAGS -Werror=write-strings"
   18336 
   18337 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   18338 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   18339 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   18340 		if eval test \${$cacheid+y}
   18341 then :
   18342   printf %s "(cached) " >&6
   18343 else case e in #(
   18344   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18345 /* end confdefs.h.  */
   18346 int i;
   18347 int
   18348 main (void)
   18349 {
   18350 
   18351   ;
   18352   return 0;
   18353 }
   18354 _ACEOF
   18355 if ac_fn_c_try_link "$LINENO"
   18356 then :
   18357   eval $cacheid=yes
   18358 else case e in #(
   18359   e) eval $cacheid=no ;;
   18360 esac
   18361 fi
   18362 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18363     conftest$ac_exeext conftest.$ac_ext ;;
   18364 esac
   18365 fi
   18366 
   18367 
   18368 		CFLAGS="$xorg_testset_save_CFLAGS"
   18369 
   18370 		eval supported=\$$cacheid
   18371 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18372 printf "%s\n" "$supported" >&6; }
   18373 		if test "$supported" = "yes" ; then
   18374 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   18375 			found="yes"
   18376 		fi
   18377 	fi
   18378 
   18379 
   18380 
   18381 
   18382 
   18383 
   18384 
   18385 
   18386 
   18387 
   18388 
   18389 
   18390 
   18391 
   18392 
   18393 xorg_testset_save_CFLAGS="$CFLAGS"
   18394 
   18395 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18396 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18397 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18398 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18399 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18400 then :
   18401   printf %s "(cached) " >&6
   18402 else case e in #(
   18403   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18404 /* end confdefs.h.  */
   18405 int i;
   18406 _ACEOF
   18407 if ac_fn_c_try_compile "$LINENO"
   18408 then :
   18409   xorg_cv_cc_flag_unknown_warning_option=yes
   18410 else case e in #(
   18411   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18412 esac
   18413 fi
   18414 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18415 esac
   18416 fi
   18417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18418 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18419 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18420 	CFLAGS="$xorg_testset_save_CFLAGS"
   18421 fi
   18422 
   18423 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18424 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18425 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18426 	fi
   18427 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18428 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18429 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18430 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18431 then :
   18432   printf %s "(cached) " >&6
   18433 else case e in #(
   18434   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18435 /* end confdefs.h.  */
   18436 int i;
   18437 _ACEOF
   18438 if ac_fn_c_try_compile "$LINENO"
   18439 then :
   18440   xorg_cv_cc_flag_unused_command_line_argument=yes
   18441 else case e in #(
   18442   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18443 esac
   18444 fi
   18445 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18446 esac
   18447 fi
   18448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18449 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18450 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18451 	CFLAGS="$xorg_testset_save_CFLAGS"
   18452 fi
   18453 
   18454 found="no"
   18455 
   18456 	if test $found = "no" ; then
   18457 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18458 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18459 		fi
   18460 
   18461 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18462 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18463 		fi
   18464 
   18465 		CFLAGS="$CFLAGS -Werror=address"
   18466 
   18467 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   18468 printf %s "checking if $CC supports -Werror=address... " >&6; }
   18469 		cacheid=xorg_cv_cc_flag__Werror_address
   18470 		if eval test \${$cacheid+y}
   18471 then :
   18472   printf %s "(cached) " >&6
   18473 else case e in #(
   18474   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18475 /* end confdefs.h.  */
   18476 int i;
   18477 int
   18478 main (void)
   18479 {
   18480 
   18481   ;
   18482   return 0;
   18483 }
   18484 _ACEOF
   18485 if ac_fn_c_try_link "$LINENO"
   18486 then :
   18487   eval $cacheid=yes
   18488 else case e in #(
   18489   e) eval $cacheid=no ;;
   18490 esac
   18491 fi
   18492 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18493     conftest$ac_exeext conftest.$ac_ext ;;
   18494 esac
   18495 fi
   18496 
   18497 
   18498 		CFLAGS="$xorg_testset_save_CFLAGS"
   18499 
   18500 		eval supported=\$$cacheid
   18501 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18502 printf "%s\n" "$supported" >&6; }
   18503 		if test "$supported" = "yes" ; then
   18504 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   18505 			found="yes"
   18506 		fi
   18507 	fi
   18508 
   18509 
   18510 
   18511 
   18512 
   18513 
   18514 
   18515 
   18516 
   18517 
   18518 
   18519 
   18520 
   18521 
   18522 
   18523 xorg_testset_save_CFLAGS="$CFLAGS"
   18524 
   18525 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18526 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18527 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18528 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18529 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18530 then :
   18531   printf %s "(cached) " >&6
   18532 else case e in #(
   18533   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18534 /* end confdefs.h.  */
   18535 int i;
   18536 _ACEOF
   18537 if ac_fn_c_try_compile "$LINENO"
   18538 then :
   18539   xorg_cv_cc_flag_unknown_warning_option=yes
   18540 else case e in #(
   18541   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18542 esac
   18543 fi
   18544 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18545 esac
   18546 fi
   18547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18548 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18549 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18550 	CFLAGS="$xorg_testset_save_CFLAGS"
   18551 fi
   18552 
   18553 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18554 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18555 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18556 	fi
   18557 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18558 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18559 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18560 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18561 then :
   18562   printf %s "(cached) " >&6
   18563 else case e in #(
   18564   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18565 /* end confdefs.h.  */
   18566 int i;
   18567 _ACEOF
   18568 if ac_fn_c_try_compile "$LINENO"
   18569 then :
   18570   xorg_cv_cc_flag_unused_command_line_argument=yes
   18571 else case e in #(
   18572   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18573 esac
   18574 fi
   18575 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18576 esac
   18577 fi
   18578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18579 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18580 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18581 	CFLAGS="$xorg_testset_save_CFLAGS"
   18582 fi
   18583 
   18584 found="no"
   18585 
   18586 	if test $found = "no" ; then
   18587 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18588 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18589 		fi
   18590 
   18591 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18592 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18593 		fi
   18594 
   18595 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   18596 
   18597 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   18598 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   18599 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   18600 		if eval test \${$cacheid+y}
   18601 then :
   18602   printf %s "(cached) " >&6
   18603 else case e in #(
   18604   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18605 /* end confdefs.h.  */
   18606 int i;
   18607 int
   18608 main (void)
   18609 {
   18610 
   18611   ;
   18612   return 0;
   18613 }
   18614 _ACEOF
   18615 if ac_fn_c_try_link "$LINENO"
   18616 then :
   18617   eval $cacheid=yes
   18618 else case e in #(
   18619   e) eval $cacheid=no ;;
   18620 esac
   18621 fi
   18622 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18623     conftest$ac_exeext conftest.$ac_ext ;;
   18624 esac
   18625 fi
   18626 
   18627 
   18628 		CFLAGS="$xorg_testset_save_CFLAGS"
   18629 
   18630 		eval supported=\$$cacheid
   18631 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18632 printf "%s\n" "$supported" >&6; }
   18633 		if test "$supported" = "yes" ; then
   18634 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   18635 			found="yes"
   18636 		fi
   18637 	fi
   18638 
   18639 	if test $found = "no" ; then
   18640 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18641 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18642 		fi
   18643 
   18644 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18645 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18646 		fi
   18647 
   18648 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   18649 
   18650 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   18651 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   18652 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   18653 		if eval test \${$cacheid+y}
   18654 then :
   18655   printf %s "(cached) " >&6
   18656 else case e in #(
   18657   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18658 /* end confdefs.h.  */
   18659 int i;
   18660 int
   18661 main (void)
   18662 {
   18663 
   18664   ;
   18665   return 0;
   18666 }
   18667 _ACEOF
   18668 if ac_fn_c_try_link "$LINENO"
   18669 then :
   18670   eval $cacheid=yes
   18671 else case e in #(
   18672   e) eval $cacheid=no ;;
   18673 esac
   18674 fi
   18675 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18676     conftest$ac_exeext conftest.$ac_ext ;;
   18677 esac
   18678 fi
   18679 
   18680 
   18681 		CFLAGS="$xorg_testset_save_CFLAGS"
   18682 
   18683 		eval supported=\$$cacheid
   18684 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18685 printf "%s\n" "$supported" >&6; }
   18686 		if test "$supported" = "yes" ; then
   18687 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   18688 			found="yes"
   18689 		fi
   18690 	fi
   18691 
   18692 
   18693 
   18694 
   18695 
   18696 
   18697 
   18698 
   18699 
   18700 
   18701 
   18702 
   18703 
   18704 
   18705 
   18706 xorg_testset_save_CFLAGS="$CFLAGS"
   18707 
   18708 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18709 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18710 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18711 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18712 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18713 then :
   18714   printf %s "(cached) " >&6
   18715 else case e in #(
   18716   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18717 /* end confdefs.h.  */
   18718 int i;
   18719 _ACEOF
   18720 if ac_fn_c_try_compile "$LINENO"
   18721 then :
   18722   xorg_cv_cc_flag_unknown_warning_option=yes
   18723 else case e in #(
   18724   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18725 esac
   18726 fi
   18727 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18728 esac
   18729 fi
   18730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18731 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18732 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18733 	CFLAGS="$xorg_testset_save_CFLAGS"
   18734 fi
   18735 
   18736 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18737 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18738 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18739 	fi
   18740 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18741 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18742 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18743 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18744 then :
   18745   printf %s "(cached) " >&6
   18746 else case e in #(
   18747   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18748 /* end confdefs.h.  */
   18749 int i;
   18750 _ACEOF
   18751 if ac_fn_c_try_compile "$LINENO"
   18752 then :
   18753   xorg_cv_cc_flag_unused_command_line_argument=yes
   18754 else case e in #(
   18755   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18756 esac
   18757 fi
   18758 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18759 esac
   18760 fi
   18761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18762 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18763 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18764 	CFLAGS="$xorg_testset_save_CFLAGS"
   18765 fi
   18766 
   18767 found="no"
   18768 
   18769 	if test $found = "no" ; then
   18770 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18771 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18772 		fi
   18773 
   18774 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18775 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18776 		fi
   18777 
   18778 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   18779 
   18780 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   18781 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   18782 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   18783 		if eval test \${$cacheid+y}
   18784 then :
   18785   printf %s "(cached) " >&6
   18786 else case e in #(
   18787   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18788 /* end confdefs.h.  */
   18789 int i;
   18790 int
   18791 main (void)
   18792 {
   18793 
   18794   ;
   18795   return 0;
   18796 }
   18797 _ACEOF
   18798 if ac_fn_c_try_link "$LINENO"
   18799 then :
   18800   eval $cacheid=yes
   18801 else case e in #(
   18802   e) eval $cacheid=no ;;
   18803 esac
   18804 fi
   18805 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18806     conftest$ac_exeext conftest.$ac_ext ;;
   18807 esac
   18808 fi
   18809 
   18810 
   18811 		CFLAGS="$xorg_testset_save_CFLAGS"
   18812 
   18813 		eval supported=\$$cacheid
   18814 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18815 printf "%s\n" "$supported" >&6; }
   18816 		if test "$supported" = "yes" ; then
   18817 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   18818 			found="yes"
   18819 		fi
   18820 	fi
   18821 
   18822  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   18823 else
   18824 { 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
   18825 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;}
   18826 
   18827 
   18828 
   18829 
   18830 
   18831 
   18832 
   18833 
   18834 
   18835 
   18836 
   18837 
   18838 
   18839 xorg_testset_save_CFLAGS="$CFLAGS"
   18840 
   18841 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18842 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18843 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18844 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18845 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18846 then :
   18847   printf %s "(cached) " >&6
   18848 else case e in #(
   18849   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18850 /* end confdefs.h.  */
   18851 int i;
   18852 _ACEOF
   18853 if ac_fn_c_try_compile "$LINENO"
   18854 then :
   18855   xorg_cv_cc_flag_unknown_warning_option=yes
   18856 else case e in #(
   18857   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18858 esac
   18859 fi
   18860 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18861 esac
   18862 fi
   18863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18864 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18865 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18866 	CFLAGS="$xorg_testset_save_CFLAGS"
   18867 fi
   18868 
   18869 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18870 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18871 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18872 	fi
   18873 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18874 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18875 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18876 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18877 then :
   18878   printf %s "(cached) " >&6
   18879 else case e in #(
   18880   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18881 /* end confdefs.h.  */
   18882 int i;
   18883 _ACEOF
   18884 if ac_fn_c_try_compile "$LINENO"
   18885 then :
   18886   xorg_cv_cc_flag_unused_command_line_argument=yes
   18887 else case e in #(
   18888   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   18889 esac
   18890 fi
   18891 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18892 esac
   18893 fi
   18894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18895 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18896 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18897 	CFLAGS="$xorg_testset_save_CFLAGS"
   18898 fi
   18899 
   18900 found="no"
   18901 
   18902 	if test $found = "no" ; then
   18903 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18904 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18905 		fi
   18906 
   18907 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18908 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18909 		fi
   18910 
   18911 		CFLAGS="$CFLAGS -Wimplicit"
   18912 
   18913 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   18914 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   18915 		cacheid=xorg_cv_cc_flag__Wimplicit
   18916 		if eval test \${$cacheid+y}
   18917 then :
   18918   printf %s "(cached) " >&6
   18919 else case e in #(
   18920   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18921 /* end confdefs.h.  */
   18922 int i;
   18923 int
   18924 main (void)
   18925 {
   18926 
   18927   ;
   18928   return 0;
   18929 }
   18930 _ACEOF
   18931 if ac_fn_c_try_link "$LINENO"
   18932 then :
   18933   eval $cacheid=yes
   18934 else case e in #(
   18935   e) eval $cacheid=no ;;
   18936 esac
   18937 fi
   18938 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18939     conftest$ac_exeext conftest.$ac_ext ;;
   18940 esac
   18941 fi
   18942 
   18943 
   18944 		CFLAGS="$xorg_testset_save_CFLAGS"
   18945 
   18946 		eval supported=\$$cacheid
   18947 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18948 printf "%s\n" "$supported" >&6; }
   18949 		if test "$supported" = "yes" ; then
   18950 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   18951 			found="yes"
   18952 		fi
   18953 	fi
   18954 
   18955 
   18956 
   18957 
   18958 
   18959 
   18960 
   18961 
   18962 
   18963 
   18964 
   18965 
   18966 
   18967 
   18968 
   18969 xorg_testset_save_CFLAGS="$CFLAGS"
   18970 
   18971 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18972 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18973 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18974 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18975 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18976 then :
   18977   printf %s "(cached) " >&6
   18978 else case e in #(
   18979   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18980 /* end confdefs.h.  */
   18981 int i;
   18982 _ACEOF
   18983 if ac_fn_c_try_compile "$LINENO"
   18984 then :
   18985   xorg_cv_cc_flag_unknown_warning_option=yes
   18986 else case e in #(
   18987   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   18988 esac
   18989 fi
   18990 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   18991 esac
   18992 fi
   18993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18994 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18995 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18996 	CFLAGS="$xorg_testset_save_CFLAGS"
   18997 fi
   18998 
   18999 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19000 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19001 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19002 	fi
   19003 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19004 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19005 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19006 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19007 then :
   19008   printf %s "(cached) " >&6
   19009 else case e in #(
   19010   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19011 /* end confdefs.h.  */
   19012 int i;
   19013 _ACEOF
   19014 if ac_fn_c_try_compile "$LINENO"
   19015 then :
   19016   xorg_cv_cc_flag_unused_command_line_argument=yes
   19017 else case e in #(
   19018   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19019 esac
   19020 fi
   19021 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19022 esac
   19023 fi
   19024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19025 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19026 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19027 	CFLAGS="$xorg_testset_save_CFLAGS"
   19028 fi
   19029 
   19030 found="no"
   19031 
   19032 	if test $found = "no" ; then
   19033 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19034 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19035 		fi
   19036 
   19037 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19038 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19039 		fi
   19040 
   19041 		CFLAGS="$CFLAGS -Wnonnull"
   19042 
   19043 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   19044 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   19045 		cacheid=xorg_cv_cc_flag__Wnonnull
   19046 		if eval test \${$cacheid+y}
   19047 then :
   19048   printf %s "(cached) " >&6
   19049 else case e in #(
   19050   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19051 /* end confdefs.h.  */
   19052 int i;
   19053 int
   19054 main (void)
   19055 {
   19056 
   19057   ;
   19058   return 0;
   19059 }
   19060 _ACEOF
   19061 if ac_fn_c_try_link "$LINENO"
   19062 then :
   19063   eval $cacheid=yes
   19064 else case e in #(
   19065   e) eval $cacheid=no ;;
   19066 esac
   19067 fi
   19068 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19069     conftest$ac_exeext conftest.$ac_ext ;;
   19070 esac
   19071 fi
   19072 
   19073 
   19074 		CFLAGS="$xorg_testset_save_CFLAGS"
   19075 
   19076 		eval supported=\$$cacheid
   19077 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19078 printf "%s\n" "$supported" >&6; }
   19079 		if test "$supported" = "yes" ; then
   19080 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   19081 			found="yes"
   19082 		fi
   19083 	fi
   19084 
   19085 
   19086 
   19087 
   19088 
   19089 
   19090 
   19091 
   19092 
   19093 
   19094 
   19095 
   19096 
   19097 
   19098 
   19099 xorg_testset_save_CFLAGS="$CFLAGS"
   19100 
   19101 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19102 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19103 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19104 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19105 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19106 then :
   19107   printf %s "(cached) " >&6
   19108 else case e in #(
   19109   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19110 /* end confdefs.h.  */
   19111 int i;
   19112 _ACEOF
   19113 if ac_fn_c_try_compile "$LINENO"
   19114 then :
   19115   xorg_cv_cc_flag_unknown_warning_option=yes
   19116 else case e in #(
   19117   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19118 esac
   19119 fi
   19120 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19121 esac
   19122 fi
   19123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19124 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19125 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19126 	CFLAGS="$xorg_testset_save_CFLAGS"
   19127 fi
   19128 
   19129 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19130 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19131 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19132 	fi
   19133 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19134 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19135 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19136 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19137 then :
   19138   printf %s "(cached) " >&6
   19139 else case e in #(
   19140   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19141 /* end confdefs.h.  */
   19142 int i;
   19143 _ACEOF
   19144 if ac_fn_c_try_compile "$LINENO"
   19145 then :
   19146   xorg_cv_cc_flag_unused_command_line_argument=yes
   19147 else case e in #(
   19148   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19149 esac
   19150 fi
   19151 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19152 esac
   19153 fi
   19154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19155 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19156 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19157 	CFLAGS="$xorg_testset_save_CFLAGS"
   19158 fi
   19159 
   19160 found="no"
   19161 
   19162 	if test $found = "no" ; then
   19163 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19164 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19165 		fi
   19166 
   19167 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19168 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19169 		fi
   19170 
   19171 		CFLAGS="$CFLAGS -Winit-self"
   19172 
   19173 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   19174 printf %s "checking if $CC supports -Winit-self... " >&6; }
   19175 		cacheid=xorg_cv_cc_flag__Winit_self
   19176 		if eval test \${$cacheid+y}
   19177 then :
   19178   printf %s "(cached) " >&6
   19179 else case e in #(
   19180   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19181 /* end confdefs.h.  */
   19182 int i;
   19183 int
   19184 main (void)
   19185 {
   19186 
   19187   ;
   19188   return 0;
   19189 }
   19190 _ACEOF
   19191 if ac_fn_c_try_link "$LINENO"
   19192 then :
   19193   eval $cacheid=yes
   19194 else case e in #(
   19195   e) eval $cacheid=no ;;
   19196 esac
   19197 fi
   19198 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19199     conftest$ac_exeext conftest.$ac_ext ;;
   19200 esac
   19201 fi
   19202 
   19203 
   19204 		CFLAGS="$xorg_testset_save_CFLAGS"
   19205 
   19206 		eval supported=\$$cacheid
   19207 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19208 printf "%s\n" "$supported" >&6; }
   19209 		if test "$supported" = "yes" ; then
   19210 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   19211 			found="yes"
   19212 		fi
   19213 	fi
   19214 
   19215 
   19216 
   19217 
   19218 
   19219 
   19220 
   19221 
   19222 
   19223 
   19224 
   19225 
   19226 
   19227 
   19228 
   19229 xorg_testset_save_CFLAGS="$CFLAGS"
   19230 
   19231 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19232 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19233 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19234 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19235 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19236 then :
   19237   printf %s "(cached) " >&6
   19238 else case e in #(
   19239   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19240 /* end confdefs.h.  */
   19241 int i;
   19242 _ACEOF
   19243 if ac_fn_c_try_compile "$LINENO"
   19244 then :
   19245   xorg_cv_cc_flag_unknown_warning_option=yes
   19246 else case e in #(
   19247   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19248 esac
   19249 fi
   19250 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19251 esac
   19252 fi
   19253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19254 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19255 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19256 	CFLAGS="$xorg_testset_save_CFLAGS"
   19257 fi
   19258 
   19259 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19260 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19261 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19262 	fi
   19263 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19264 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19265 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19266 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19267 then :
   19268   printf %s "(cached) " >&6
   19269 else case e in #(
   19270   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19271 /* end confdefs.h.  */
   19272 int i;
   19273 _ACEOF
   19274 if ac_fn_c_try_compile "$LINENO"
   19275 then :
   19276   xorg_cv_cc_flag_unused_command_line_argument=yes
   19277 else case e in #(
   19278   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19279 esac
   19280 fi
   19281 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19282 esac
   19283 fi
   19284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19285 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19286 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19287 	CFLAGS="$xorg_testset_save_CFLAGS"
   19288 fi
   19289 
   19290 found="no"
   19291 
   19292 	if test $found = "no" ; then
   19293 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19294 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19295 		fi
   19296 
   19297 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19298 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19299 		fi
   19300 
   19301 		CFLAGS="$CFLAGS -Wmain"
   19302 
   19303 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   19304 printf %s "checking if $CC supports -Wmain... " >&6; }
   19305 		cacheid=xorg_cv_cc_flag__Wmain
   19306 		if eval test \${$cacheid+y}
   19307 then :
   19308   printf %s "(cached) " >&6
   19309 else case e in #(
   19310   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19311 /* end confdefs.h.  */
   19312 int i;
   19313 int
   19314 main (void)
   19315 {
   19316 
   19317   ;
   19318   return 0;
   19319 }
   19320 _ACEOF
   19321 if ac_fn_c_try_link "$LINENO"
   19322 then :
   19323   eval $cacheid=yes
   19324 else case e in #(
   19325   e) eval $cacheid=no ;;
   19326 esac
   19327 fi
   19328 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19329     conftest$ac_exeext conftest.$ac_ext ;;
   19330 esac
   19331 fi
   19332 
   19333 
   19334 		CFLAGS="$xorg_testset_save_CFLAGS"
   19335 
   19336 		eval supported=\$$cacheid
   19337 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19338 printf "%s\n" "$supported" >&6; }
   19339 		if test "$supported" = "yes" ; then
   19340 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   19341 			found="yes"
   19342 		fi
   19343 	fi
   19344 
   19345 
   19346 
   19347 
   19348 
   19349 
   19350 
   19351 
   19352 
   19353 
   19354 
   19355 
   19356 
   19357 
   19358 
   19359 xorg_testset_save_CFLAGS="$CFLAGS"
   19360 
   19361 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19362 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19363 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19364 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19365 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19366 then :
   19367   printf %s "(cached) " >&6
   19368 else case e in #(
   19369   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19370 /* end confdefs.h.  */
   19371 int i;
   19372 _ACEOF
   19373 if ac_fn_c_try_compile "$LINENO"
   19374 then :
   19375   xorg_cv_cc_flag_unknown_warning_option=yes
   19376 else case e in #(
   19377   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19378 esac
   19379 fi
   19380 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19381 esac
   19382 fi
   19383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19384 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19385 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19386 	CFLAGS="$xorg_testset_save_CFLAGS"
   19387 fi
   19388 
   19389 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19390 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19391 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19392 	fi
   19393 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19394 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19395 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19396 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19397 then :
   19398   printf %s "(cached) " >&6
   19399 else case e in #(
   19400   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19401 /* end confdefs.h.  */
   19402 int i;
   19403 _ACEOF
   19404 if ac_fn_c_try_compile "$LINENO"
   19405 then :
   19406   xorg_cv_cc_flag_unused_command_line_argument=yes
   19407 else case e in #(
   19408   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19409 esac
   19410 fi
   19411 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19412 esac
   19413 fi
   19414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19415 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19416 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19417 	CFLAGS="$xorg_testset_save_CFLAGS"
   19418 fi
   19419 
   19420 found="no"
   19421 
   19422 	if test $found = "no" ; then
   19423 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19424 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19425 		fi
   19426 
   19427 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19428 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19429 		fi
   19430 
   19431 		CFLAGS="$CFLAGS -Wmissing-braces"
   19432 
   19433 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   19434 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   19435 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   19436 		if eval test \${$cacheid+y}
   19437 then :
   19438   printf %s "(cached) " >&6
   19439 else case e in #(
   19440   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19441 /* end confdefs.h.  */
   19442 int i;
   19443 int
   19444 main (void)
   19445 {
   19446 
   19447   ;
   19448   return 0;
   19449 }
   19450 _ACEOF
   19451 if ac_fn_c_try_link "$LINENO"
   19452 then :
   19453   eval $cacheid=yes
   19454 else case e in #(
   19455   e) eval $cacheid=no ;;
   19456 esac
   19457 fi
   19458 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19459     conftest$ac_exeext conftest.$ac_ext ;;
   19460 esac
   19461 fi
   19462 
   19463 
   19464 		CFLAGS="$xorg_testset_save_CFLAGS"
   19465 
   19466 		eval supported=\$$cacheid
   19467 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19468 printf "%s\n" "$supported" >&6; }
   19469 		if test "$supported" = "yes" ; then
   19470 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   19471 			found="yes"
   19472 		fi
   19473 	fi
   19474 
   19475 
   19476 
   19477 
   19478 
   19479 
   19480 
   19481 
   19482 
   19483 
   19484 
   19485 
   19486 
   19487 
   19488 
   19489 xorg_testset_save_CFLAGS="$CFLAGS"
   19490 
   19491 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19492 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19493 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19494 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19495 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19496 then :
   19497   printf %s "(cached) " >&6
   19498 else case e in #(
   19499   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19500 /* end confdefs.h.  */
   19501 int i;
   19502 _ACEOF
   19503 if ac_fn_c_try_compile "$LINENO"
   19504 then :
   19505   xorg_cv_cc_flag_unknown_warning_option=yes
   19506 else case e in #(
   19507   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19508 esac
   19509 fi
   19510 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19511 esac
   19512 fi
   19513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19514 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19515 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19516 	CFLAGS="$xorg_testset_save_CFLAGS"
   19517 fi
   19518 
   19519 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19520 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19521 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19522 	fi
   19523 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19524 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19525 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19526 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19527 then :
   19528   printf %s "(cached) " >&6
   19529 else case e in #(
   19530   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19531 /* end confdefs.h.  */
   19532 int i;
   19533 _ACEOF
   19534 if ac_fn_c_try_compile "$LINENO"
   19535 then :
   19536   xorg_cv_cc_flag_unused_command_line_argument=yes
   19537 else case e in #(
   19538   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19539 esac
   19540 fi
   19541 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19542 esac
   19543 fi
   19544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19545 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19546 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19547 	CFLAGS="$xorg_testset_save_CFLAGS"
   19548 fi
   19549 
   19550 found="no"
   19551 
   19552 	if test $found = "no" ; then
   19553 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19554 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19555 		fi
   19556 
   19557 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19558 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19559 		fi
   19560 
   19561 		CFLAGS="$CFLAGS -Wsequence-point"
   19562 
   19563 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   19564 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   19565 		cacheid=xorg_cv_cc_flag__Wsequence_point
   19566 		if eval test \${$cacheid+y}
   19567 then :
   19568   printf %s "(cached) " >&6
   19569 else case e in #(
   19570   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19571 /* end confdefs.h.  */
   19572 int i;
   19573 int
   19574 main (void)
   19575 {
   19576 
   19577   ;
   19578   return 0;
   19579 }
   19580 _ACEOF
   19581 if ac_fn_c_try_link "$LINENO"
   19582 then :
   19583   eval $cacheid=yes
   19584 else case e in #(
   19585   e) eval $cacheid=no ;;
   19586 esac
   19587 fi
   19588 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19589     conftest$ac_exeext conftest.$ac_ext ;;
   19590 esac
   19591 fi
   19592 
   19593 
   19594 		CFLAGS="$xorg_testset_save_CFLAGS"
   19595 
   19596 		eval supported=\$$cacheid
   19597 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19598 printf "%s\n" "$supported" >&6; }
   19599 		if test "$supported" = "yes" ; then
   19600 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   19601 			found="yes"
   19602 		fi
   19603 	fi
   19604 
   19605 
   19606 
   19607 
   19608 
   19609 
   19610 
   19611 
   19612 
   19613 
   19614 
   19615 
   19616 
   19617 
   19618 
   19619 xorg_testset_save_CFLAGS="$CFLAGS"
   19620 
   19621 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19622 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19623 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19624 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19625 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19626 then :
   19627   printf %s "(cached) " >&6
   19628 else case e in #(
   19629   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19630 /* end confdefs.h.  */
   19631 int i;
   19632 _ACEOF
   19633 if ac_fn_c_try_compile "$LINENO"
   19634 then :
   19635   xorg_cv_cc_flag_unknown_warning_option=yes
   19636 else case e in #(
   19637   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19638 esac
   19639 fi
   19640 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19641 esac
   19642 fi
   19643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19644 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19645 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19646 	CFLAGS="$xorg_testset_save_CFLAGS"
   19647 fi
   19648 
   19649 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19650 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19651 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19652 	fi
   19653 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19654 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19655 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19656 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19657 then :
   19658   printf %s "(cached) " >&6
   19659 else case e in #(
   19660   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19661 /* end confdefs.h.  */
   19662 int i;
   19663 _ACEOF
   19664 if ac_fn_c_try_compile "$LINENO"
   19665 then :
   19666   xorg_cv_cc_flag_unused_command_line_argument=yes
   19667 else case e in #(
   19668   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19669 esac
   19670 fi
   19671 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19672 esac
   19673 fi
   19674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19675 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19676 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19677 	CFLAGS="$xorg_testset_save_CFLAGS"
   19678 fi
   19679 
   19680 found="no"
   19681 
   19682 	if test $found = "no" ; then
   19683 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19684 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19685 		fi
   19686 
   19687 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19688 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19689 		fi
   19690 
   19691 		CFLAGS="$CFLAGS -Wreturn-type"
   19692 
   19693 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   19694 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   19695 		cacheid=xorg_cv_cc_flag__Wreturn_type
   19696 		if eval test \${$cacheid+y}
   19697 then :
   19698   printf %s "(cached) " >&6
   19699 else case e in #(
   19700   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19701 /* end confdefs.h.  */
   19702 int i;
   19703 int
   19704 main (void)
   19705 {
   19706 
   19707   ;
   19708   return 0;
   19709 }
   19710 _ACEOF
   19711 if ac_fn_c_try_link "$LINENO"
   19712 then :
   19713   eval $cacheid=yes
   19714 else case e in #(
   19715   e) eval $cacheid=no ;;
   19716 esac
   19717 fi
   19718 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19719     conftest$ac_exeext conftest.$ac_ext ;;
   19720 esac
   19721 fi
   19722 
   19723 
   19724 		CFLAGS="$xorg_testset_save_CFLAGS"
   19725 
   19726 		eval supported=\$$cacheid
   19727 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19728 printf "%s\n" "$supported" >&6; }
   19729 		if test "$supported" = "yes" ; then
   19730 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   19731 			found="yes"
   19732 		fi
   19733 	fi
   19734 
   19735 
   19736 
   19737 
   19738 
   19739 
   19740 
   19741 
   19742 
   19743 
   19744 
   19745 
   19746 
   19747 
   19748 
   19749 xorg_testset_save_CFLAGS="$CFLAGS"
   19750 
   19751 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19752 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19753 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19754 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19755 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19756 then :
   19757   printf %s "(cached) " >&6
   19758 else case e in #(
   19759   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19760 /* end confdefs.h.  */
   19761 int i;
   19762 _ACEOF
   19763 if ac_fn_c_try_compile "$LINENO"
   19764 then :
   19765   xorg_cv_cc_flag_unknown_warning_option=yes
   19766 else case e in #(
   19767   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19768 esac
   19769 fi
   19770 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19771 esac
   19772 fi
   19773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19774 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19775 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19776 	CFLAGS="$xorg_testset_save_CFLAGS"
   19777 fi
   19778 
   19779 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19780 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19781 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19782 	fi
   19783 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19784 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19785 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19786 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19787 then :
   19788   printf %s "(cached) " >&6
   19789 else case e in #(
   19790   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19791 /* end confdefs.h.  */
   19792 int i;
   19793 _ACEOF
   19794 if ac_fn_c_try_compile "$LINENO"
   19795 then :
   19796   xorg_cv_cc_flag_unused_command_line_argument=yes
   19797 else case e in #(
   19798   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19799 esac
   19800 fi
   19801 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19802 esac
   19803 fi
   19804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19805 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19806 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19807 	CFLAGS="$xorg_testset_save_CFLAGS"
   19808 fi
   19809 
   19810 found="no"
   19811 
   19812 	if test $found = "no" ; then
   19813 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19814 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19815 		fi
   19816 
   19817 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19818 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19819 		fi
   19820 
   19821 		CFLAGS="$CFLAGS -Wtrigraphs"
   19822 
   19823 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   19824 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   19825 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   19826 		if eval test \${$cacheid+y}
   19827 then :
   19828   printf %s "(cached) " >&6
   19829 else case e in #(
   19830   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19831 /* end confdefs.h.  */
   19832 int i;
   19833 int
   19834 main (void)
   19835 {
   19836 
   19837   ;
   19838   return 0;
   19839 }
   19840 _ACEOF
   19841 if ac_fn_c_try_link "$LINENO"
   19842 then :
   19843   eval $cacheid=yes
   19844 else case e in #(
   19845   e) eval $cacheid=no ;;
   19846 esac
   19847 fi
   19848 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19849     conftest$ac_exeext conftest.$ac_ext ;;
   19850 esac
   19851 fi
   19852 
   19853 
   19854 		CFLAGS="$xorg_testset_save_CFLAGS"
   19855 
   19856 		eval supported=\$$cacheid
   19857 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19858 printf "%s\n" "$supported" >&6; }
   19859 		if test "$supported" = "yes" ; then
   19860 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   19861 			found="yes"
   19862 		fi
   19863 	fi
   19864 
   19865 
   19866 
   19867 
   19868 
   19869 
   19870 
   19871 
   19872 
   19873 
   19874 
   19875 
   19876 
   19877 
   19878 
   19879 xorg_testset_save_CFLAGS="$CFLAGS"
   19880 
   19881 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19882 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19883 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19884 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19885 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19886 then :
   19887   printf %s "(cached) " >&6
   19888 else case e in #(
   19889   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19890 /* end confdefs.h.  */
   19891 int i;
   19892 _ACEOF
   19893 if ac_fn_c_try_compile "$LINENO"
   19894 then :
   19895   xorg_cv_cc_flag_unknown_warning_option=yes
   19896 else case e in #(
   19897   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   19898 esac
   19899 fi
   19900 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19901 esac
   19902 fi
   19903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19904 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19905 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19906 	CFLAGS="$xorg_testset_save_CFLAGS"
   19907 fi
   19908 
   19909 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19910 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19911 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19912 	fi
   19913 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19914 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19915 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19916 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19917 then :
   19918   printf %s "(cached) " >&6
   19919 else case e in #(
   19920   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19921 /* end confdefs.h.  */
   19922 int i;
   19923 _ACEOF
   19924 if ac_fn_c_try_compile "$LINENO"
   19925 then :
   19926   xorg_cv_cc_flag_unused_command_line_argument=yes
   19927 else case e in #(
   19928   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   19929 esac
   19930 fi
   19931 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   19932 esac
   19933 fi
   19934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19935 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19936 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19937 	CFLAGS="$xorg_testset_save_CFLAGS"
   19938 fi
   19939 
   19940 found="no"
   19941 
   19942 	if test $found = "no" ; then
   19943 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19944 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19945 		fi
   19946 
   19947 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19948 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19949 		fi
   19950 
   19951 		CFLAGS="$CFLAGS -Warray-bounds"
   19952 
   19953 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   19954 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   19955 		cacheid=xorg_cv_cc_flag__Warray_bounds
   19956 		if eval test \${$cacheid+y}
   19957 then :
   19958   printf %s "(cached) " >&6
   19959 else case e in #(
   19960   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19961 /* end confdefs.h.  */
   19962 int i;
   19963 int
   19964 main (void)
   19965 {
   19966 
   19967   ;
   19968   return 0;
   19969 }
   19970 _ACEOF
   19971 if ac_fn_c_try_link "$LINENO"
   19972 then :
   19973   eval $cacheid=yes
   19974 else case e in #(
   19975   e) eval $cacheid=no ;;
   19976 esac
   19977 fi
   19978 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19979     conftest$ac_exeext conftest.$ac_ext ;;
   19980 esac
   19981 fi
   19982 
   19983 
   19984 		CFLAGS="$xorg_testset_save_CFLAGS"
   19985 
   19986 		eval supported=\$$cacheid
   19987 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19988 printf "%s\n" "$supported" >&6; }
   19989 		if test "$supported" = "yes" ; then
   19990 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   19991 			found="yes"
   19992 		fi
   19993 	fi
   19994 
   19995 
   19996 
   19997 
   19998 
   19999 
   20000 
   20001 
   20002 
   20003 
   20004 
   20005 
   20006 
   20007 
   20008 
   20009 xorg_testset_save_CFLAGS="$CFLAGS"
   20010 
   20011 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20012 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20013 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20014 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20015 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20016 then :
   20017   printf %s "(cached) " >&6
   20018 else case e in #(
   20019   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20020 /* end confdefs.h.  */
   20021 int i;
   20022 _ACEOF
   20023 if ac_fn_c_try_compile "$LINENO"
   20024 then :
   20025   xorg_cv_cc_flag_unknown_warning_option=yes
   20026 else case e in #(
   20027   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20028 esac
   20029 fi
   20030 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20031 esac
   20032 fi
   20033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20034 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20035 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20036 	CFLAGS="$xorg_testset_save_CFLAGS"
   20037 fi
   20038 
   20039 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20040 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20041 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20042 	fi
   20043 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20044 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20045 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20046 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20047 then :
   20048   printf %s "(cached) " >&6
   20049 else case e in #(
   20050   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20051 /* end confdefs.h.  */
   20052 int i;
   20053 _ACEOF
   20054 if ac_fn_c_try_compile "$LINENO"
   20055 then :
   20056   xorg_cv_cc_flag_unused_command_line_argument=yes
   20057 else case e in #(
   20058   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20059 esac
   20060 fi
   20061 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20062 esac
   20063 fi
   20064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20065 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20066 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20067 	CFLAGS="$xorg_testset_save_CFLAGS"
   20068 fi
   20069 
   20070 found="no"
   20071 
   20072 	if test $found = "no" ; then
   20073 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20074 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20075 		fi
   20076 
   20077 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20078 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20079 		fi
   20080 
   20081 		CFLAGS="$CFLAGS -Wwrite-strings"
   20082 
   20083 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   20084 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   20085 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   20086 		if eval test \${$cacheid+y}
   20087 then :
   20088   printf %s "(cached) " >&6
   20089 else case e in #(
   20090   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20091 /* end confdefs.h.  */
   20092 int i;
   20093 int
   20094 main (void)
   20095 {
   20096 
   20097   ;
   20098   return 0;
   20099 }
   20100 _ACEOF
   20101 if ac_fn_c_try_link "$LINENO"
   20102 then :
   20103   eval $cacheid=yes
   20104 else case e in #(
   20105   e) eval $cacheid=no ;;
   20106 esac
   20107 fi
   20108 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20109     conftest$ac_exeext conftest.$ac_ext ;;
   20110 esac
   20111 fi
   20112 
   20113 
   20114 		CFLAGS="$xorg_testset_save_CFLAGS"
   20115 
   20116 		eval supported=\$$cacheid
   20117 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20118 printf "%s\n" "$supported" >&6; }
   20119 		if test "$supported" = "yes" ; then
   20120 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   20121 			found="yes"
   20122 		fi
   20123 	fi
   20124 
   20125 
   20126 
   20127 
   20128 
   20129 
   20130 
   20131 
   20132 
   20133 
   20134 
   20135 
   20136 
   20137 
   20138 
   20139 xorg_testset_save_CFLAGS="$CFLAGS"
   20140 
   20141 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20142 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20143 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20144 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20145 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20146 then :
   20147   printf %s "(cached) " >&6
   20148 else case e in #(
   20149   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20150 /* end confdefs.h.  */
   20151 int i;
   20152 _ACEOF
   20153 if ac_fn_c_try_compile "$LINENO"
   20154 then :
   20155   xorg_cv_cc_flag_unknown_warning_option=yes
   20156 else case e in #(
   20157   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20158 esac
   20159 fi
   20160 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20161 esac
   20162 fi
   20163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20164 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20165 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20166 	CFLAGS="$xorg_testset_save_CFLAGS"
   20167 fi
   20168 
   20169 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20170 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20171 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20172 	fi
   20173 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20174 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20175 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20176 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20177 then :
   20178   printf %s "(cached) " >&6
   20179 else case e in #(
   20180   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20181 /* end confdefs.h.  */
   20182 int i;
   20183 _ACEOF
   20184 if ac_fn_c_try_compile "$LINENO"
   20185 then :
   20186   xorg_cv_cc_flag_unused_command_line_argument=yes
   20187 else case e in #(
   20188   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20189 esac
   20190 fi
   20191 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20192 esac
   20193 fi
   20194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20195 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20196 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20197 	CFLAGS="$xorg_testset_save_CFLAGS"
   20198 fi
   20199 
   20200 found="no"
   20201 
   20202 	if test $found = "no" ; then
   20203 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20204 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20205 		fi
   20206 
   20207 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20208 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20209 		fi
   20210 
   20211 		CFLAGS="$CFLAGS -Waddress"
   20212 
   20213 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   20214 printf %s "checking if $CC supports -Waddress... " >&6; }
   20215 		cacheid=xorg_cv_cc_flag__Waddress
   20216 		if eval test \${$cacheid+y}
   20217 then :
   20218   printf %s "(cached) " >&6
   20219 else case e in #(
   20220   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20221 /* end confdefs.h.  */
   20222 int i;
   20223 int
   20224 main (void)
   20225 {
   20226 
   20227   ;
   20228   return 0;
   20229 }
   20230 _ACEOF
   20231 if ac_fn_c_try_link "$LINENO"
   20232 then :
   20233   eval $cacheid=yes
   20234 else case e in #(
   20235   e) eval $cacheid=no ;;
   20236 esac
   20237 fi
   20238 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20239     conftest$ac_exeext conftest.$ac_ext ;;
   20240 esac
   20241 fi
   20242 
   20243 
   20244 		CFLAGS="$xorg_testset_save_CFLAGS"
   20245 
   20246 		eval supported=\$$cacheid
   20247 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20248 printf "%s\n" "$supported" >&6; }
   20249 		if test "$supported" = "yes" ; then
   20250 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   20251 			found="yes"
   20252 		fi
   20253 	fi
   20254 
   20255 
   20256 
   20257 
   20258 
   20259 
   20260 
   20261 
   20262 
   20263 
   20264 
   20265 
   20266 
   20267 
   20268 
   20269 xorg_testset_save_CFLAGS="$CFLAGS"
   20270 
   20271 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20272 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20273 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20274 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20275 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20276 then :
   20277   printf %s "(cached) " >&6
   20278 else case e in #(
   20279   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20280 /* end confdefs.h.  */
   20281 int i;
   20282 _ACEOF
   20283 if ac_fn_c_try_compile "$LINENO"
   20284 then :
   20285   xorg_cv_cc_flag_unknown_warning_option=yes
   20286 else case e in #(
   20287   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20288 esac
   20289 fi
   20290 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20291 esac
   20292 fi
   20293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20294 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20295 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20296 	CFLAGS="$xorg_testset_save_CFLAGS"
   20297 fi
   20298 
   20299 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20300 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20301 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20302 	fi
   20303 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20304 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20305 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20306 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20307 then :
   20308   printf %s "(cached) " >&6
   20309 else case e in #(
   20310   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20311 /* end confdefs.h.  */
   20312 int i;
   20313 _ACEOF
   20314 if ac_fn_c_try_compile "$LINENO"
   20315 then :
   20316   xorg_cv_cc_flag_unused_command_line_argument=yes
   20317 else case e in #(
   20318   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20319 esac
   20320 fi
   20321 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20322 esac
   20323 fi
   20324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20325 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20326 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20327 	CFLAGS="$xorg_testset_save_CFLAGS"
   20328 fi
   20329 
   20330 found="no"
   20331 
   20332 	if test $found = "no" ; then
   20333 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20334 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20335 		fi
   20336 
   20337 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20338 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20339 		fi
   20340 
   20341 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   20342 
   20343 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   20344 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   20345 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   20346 		if eval test \${$cacheid+y}
   20347 then :
   20348   printf %s "(cached) " >&6
   20349 else case e in #(
   20350   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20351 /* end confdefs.h.  */
   20352 int i;
   20353 int
   20354 main (void)
   20355 {
   20356 
   20357   ;
   20358   return 0;
   20359 }
   20360 _ACEOF
   20361 if ac_fn_c_try_link "$LINENO"
   20362 then :
   20363   eval $cacheid=yes
   20364 else case e in #(
   20365   e) eval $cacheid=no ;;
   20366 esac
   20367 fi
   20368 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20369     conftest$ac_exeext conftest.$ac_ext ;;
   20370 esac
   20371 fi
   20372 
   20373 
   20374 		CFLAGS="$xorg_testset_save_CFLAGS"
   20375 
   20376 		eval supported=\$$cacheid
   20377 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20378 printf "%s\n" "$supported" >&6; }
   20379 		if test "$supported" = "yes" ; then
   20380 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   20381 			found="yes"
   20382 		fi
   20383 	fi
   20384 
   20385 
   20386 
   20387 
   20388 
   20389 
   20390 
   20391 
   20392 
   20393 
   20394 
   20395 
   20396 
   20397 
   20398 
   20399 xorg_testset_save_CFLAGS="$CFLAGS"
   20400 
   20401 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20402 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20403 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20404 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20405 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20406 then :
   20407   printf %s "(cached) " >&6
   20408 else case e in #(
   20409   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20410 /* end confdefs.h.  */
   20411 int i;
   20412 _ACEOF
   20413 if ac_fn_c_try_compile "$LINENO"
   20414 then :
   20415   xorg_cv_cc_flag_unknown_warning_option=yes
   20416 else case e in #(
   20417   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20418 esac
   20419 fi
   20420 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20421 esac
   20422 fi
   20423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20424 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20425 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20426 	CFLAGS="$xorg_testset_save_CFLAGS"
   20427 fi
   20428 
   20429 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20430 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20431 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20432 	fi
   20433 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20434 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20435 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20436 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20437 then :
   20438   printf %s "(cached) " >&6
   20439 else case e in #(
   20440   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20441 /* end confdefs.h.  */
   20442 int i;
   20443 _ACEOF
   20444 if ac_fn_c_try_compile "$LINENO"
   20445 then :
   20446   xorg_cv_cc_flag_unused_command_line_argument=yes
   20447 else case e in #(
   20448   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20449 esac
   20450 fi
   20451 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20452 esac
   20453 fi
   20454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20455 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20456 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20457 	CFLAGS="$xorg_testset_save_CFLAGS"
   20458 fi
   20459 
   20460 found="no"
   20461 
   20462 	if test $found = "no" ; then
   20463 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20464 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20465 		fi
   20466 
   20467 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20468 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20469 		fi
   20470 
   20471 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   20472 
   20473 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   20474 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   20475 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   20476 		if eval test \${$cacheid+y}
   20477 then :
   20478   printf %s "(cached) " >&6
   20479 else case e in #(
   20480   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20481 /* end confdefs.h.  */
   20482 int i;
   20483 int
   20484 main (void)
   20485 {
   20486 
   20487   ;
   20488   return 0;
   20489 }
   20490 _ACEOF
   20491 if ac_fn_c_try_link "$LINENO"
   20492 then :
   20493   eval $cacheid=yes
   20494 else case e in #(
   20495   e) eval $cacheid=no ;;
   20496 esac
   20497 fi
   20498 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20499     conftest$ac_exeext conftest.$ac_ext ;;
   20500 esac
   20501 fi
   20502 
   20503 
   20504 		CFLAGS="$xorg_testset_save_CFLAGS"
   20505 
   20506 		eval supported=\$$cacheid
   20507 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20508 printf "%s\n" "$supported" >&6; }
   20509 		if test "$supported" = "yes" ; then
   20510 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   20511 			found="yes"
   20512 		fi
   20513 	fi
   20514 
   20515 
   20516 fi
   20517 
   20518 
   20519 
   20520 
   20521 
   20522 
   20523 
   20524 		CWARNFLAGS="$BASE_CFLAGS"
   20525 		if  test "x$GCC" = xyes ; then
   20526 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   20527 		fi
   20528 
   20529 
   20530 
   20531 
   20532 
   20533 
   20534 
   20535 
   20536 # Check whether --enable-strict-compilation was given.
   20537 if test ${enable_strict_compilation+y}
   20538 then :
   20539   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   20540 else case e in #(
   20541   e) STRICT_COMPILE=no ;;
   20542 esac
   20543 fi
   20544 
   20545 
   20546 
   20547 
   20548 
   20549 
   20550 STRICT_CFLAGS=""
   20551 
   20552 
   20553 
   20554 
   20555 
   20556 
   20557 
   20558 
   20559 
   20560 
   20561 
   20562 
   20563 
   20564 xorg_testset_save_CFLAGS="$CFLAGS"
   20565 
   20566 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20567 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20568 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20569 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20570 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20571 then :
   20572   printf %s "(cached) " >&6
   20573 else case e in #(
   20574   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20575 /* end confdefs.h.  */
   20576 int i;
   20577 _ACEOF
   20578 if ac_fn_c_try_compile "$LINENO"
   20579 then :
   20580   xorg_cv_cc_flag_unknown_warning_option=yes
   20581 else case e in #(
   20582   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20583 esac
   20584 fi
   20585 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20586 esac
   20587 fi
   20588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20589 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20590 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20591 	CFLAGS="$xorg_testset_save_CFLAGS"
   20592 fi
   20593 
   20594 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20595 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20596 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20597 	fi
   20598 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20599 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20600 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20601 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20602 then :
   20603   printf %s "(cached) " >&6
   20604 else case e in #(
   20605   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20606 /* end confdefs.h.  */
   20607 int i;
   20608 _ACEOF
   20609 if ac_fn_c_try_compile "$LINENO"
   20610 then :
   20611   xorg_cv_cc_flag_unused_command_line_argument=yes
   20612 else case e in #(
   20613   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20614 esac
   20615 fi
   20616 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20617 esac
   20618 fi
   20619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20620 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20621 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20622 	CFLAGS="$xorg_testset_save_CFLAGS"
   20623 fi
   20624 
   20625 found="no"
   20626 
   20627 	if test $found = "no" ; then
   20628 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20629 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20630 		fi
   20631 
   20632 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20633 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20634 		fi
   20635 
   20636 		CFLAGS="$CFLAGS -pedantic"
   20637 
   20638 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   20639 printf %s "checking if $CC supports -pedantic... " >&6; }
   20640 		cacheid=xorg_cv_cc_flag__pedantic
   20641 		if eval test \${$cacheid+y}
   20642 then :
   20643   printf %s "(cached) " >&6
   20644 else case e in #(
   20645   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20646 /* end confdefs.h.  */
   20647 int i;
   20648 int
   20649 main (void)
   20650 {
   20651 
   20652   ;
   20653   return 0;
   20654 }
   20655 _ACEOF
   20656 if ac_fn_c_try_link "$LINENO"
   20657 then :
   20658   eval $cacheid=yes
   20659 else case e in #(
   20660   e) eval $cacheid=no ;;
   20661 esac
   20662 fi
   20663 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20664     conftest$ac_exeext conftest.$ac_ext ;;
   20665 esac
   20666 fi
   20667 
   20668 
   20669 		CFLAGS="$xorg_testset_save_CFLAGS"
   20670 
   20671 		eval supported=\$$cacheid
   20672 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20673 printf "%s\n" "$supported" >&6; }
   20674 		if test "$supported" = "yes" ; then
   20675 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   20676 			found="yes"
   20677 		fi
   20678 	fi
   20679 
   20680 
   20681 
   20682 
   20683 
   20684 
   20685 
   20686 
   20687 
   20688 
   20689 
   20690 
   20691 
   20692 
   20693 
   20694 xorg_testset_save_CFLAGS="$CFLAGS"
   20695 
   20696 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20697 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20698 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20699 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20700 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20701 then :
   20702   printf %s "(cached) " >&6
   20703 else case e in #(
   20704   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20705 /* end confdefs.h.  */
   20706 int i;
   20707 _ACEOF
   20708 if ac_fn_c_try_compile "$LINENO"
   20709 then :
   20710   xorg_cv_cc_flag_unknown_warning_option=yes
   20711 else case e in #(
   20712   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20713 esac
   20714 fi
   20715 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20716 esac
   20717 fi
   20718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20719 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20720 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20721 	CFLAGS="$xorg_testset_save_CFLAGS"
   20722 fi
   20723 
   20724 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20725 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20726 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20727 	fi
   20728 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20729 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20730 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20731 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20732 then :
   20733   printf %s "(cached) " >&6
   20734 else case e in #(
   20735   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20736 /* end confdefs.h.  */
   20737 int i;
   20738 _ACEOF
   20739 if ac_fn_c_try_compile "$LINENO"
   20740 then :
   20741   xorg_cv_cc_flag_unused_command_line_argument=yes
   20742 else case e in #(
   20743   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20744 esac
   20745 fi
   20746 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20747 esac
   20748 fi
   20749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20750 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20751 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20752 	CFLAGS="$xorg_testset_save_CFLAGS"
   20753 fi
   20754 
   20755 found="no"
   20756 
   20757 	if test $found = "no" ; then
   20758 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20759 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20760 		fi
   20761 
   20762 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20763 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20764 		fi
   20765 
   20766 		CFLAGS="$CFLAGS -Werror"
   20767 
   20768 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   20769 printf %s "checking if $CC supports -Werror... " >&6; }
   20770 		cacheid=xorg_cv_cc_flag__Werror
   20771 		if eval test \${$cacheid+y}
   20772 then :
   20773   printf %s "(cached) " >&6
   20774 else case e in #(
   20775   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20776 /* end confdefs.h.  */
   20777 int i;
   20778 int
   20779 main (void)
   20780 {
   20781 
   20782   ;
   20783   return 0;
   20784 }
   20785 _ACEOF
   20786 if ac_fn_c_try_link "$LINENO"
   20787 then :
   20788   eval $cacheid=yes
   20789 else case e in #(
   20790   e) eval $cacheid=no ;;
   20791 esac
   20792 fi
   20793 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20794     conftest$ac_exeext conftest.$ac_ext ;;
   20795 esac
   20796 fi
   20797 
   20798 
   20799 		CFLAGS="$xorg_testset_save_CFLAGS"
   20800 
   20801 		eval supported=\$$cacheid
   20802 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20803 printf "%s\n" "$supported" >&6; }
   20804 		if test "$supported" = "yes" ; then
   20805 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   20806 			found="yes"
   20807 		fi
   20808 	fi
   20809 
   20810 	if test $found = "no" ; then
   20811 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20812 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20813 		fi
   20814 
   20815 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20816 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20817 		fi
   20818 
   20819 		CFLAGS="$CFLAGS -errwarn"
   20820 
   20821 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   20822 printf %s "checking if $CC supports -errwarn... " >&6; }
   20823 		cacheid=xorg_cv_cc_flag__errwarn
   20824 		if eval test \${$cacheid+y}
   20825 then :
   20826   printf %s "(cached) " >&6
   20827 else case e in #(
   20828   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20829 /* end confdefs.h.  */
   20830 int i;
   20831 int
   20832 main (void)
   20833 {
   20834 
   20835   ;
   20836   return 0;
   20837 }
   20838 _ACEOF
   20839 if ac_fn_c_try_link "$LINENO"
   20840 then :
   20841   eval $cacheid=yes
   20842 else case e in #(
   20843   e) eval $cacheid=no ;;
   20844 esac
   20845 fi
   20846 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20847     conftest$ac_exeext conftest.$ac_ext ;;
   20848 esac
   20849 fi
   20850 
   20851 
   20852 		CFLAGS="$xorg_testset_save_CFLAGS"
   20853 
   20854 		eval supported=\$$cacheid
   20855 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20856 printf "%s\n" "$supported" >&6; }
   20857 		if test "$supported" = "yes" ; then
   20858 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   20859 			found="yes"
   20860 		fi
   20861 	fi
   20862 
   20863 
   20864 
   20865 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   20866 # activate it with -Werror, so we add it here explicitly.
   20867 
   20868 
   20869 
   20870 
   20871 
   20872 
   20873 
   20874 
   20875 
   20876 
   20877 
   20878 
   20879 
   20880 xorg_testset_save_CFLAGS="$CFLAGS"
   20881 
   20882 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   20883 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20884 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   20885 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   20886 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   20887 then :
   20888   printf %s "(cached) " >&6
   20889 else case e in #(
   20890   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20891 /* end confdefs.h.  */
   20892 int i;
   20893 _ACEOF
   20894 if ac_fn_c_try_compile "$LINENO"
   20895 then :
   20896   xorg_cv_cc_flag_unknown_warning_option=yes
   20897 else case e in #(
   20898   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   20899 esac
   20900 fi
   20901 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20902 esac
   20903 fi
   20904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   20905 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   20906 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   20907 	CFLAGS="$xorg_testset_save_CFLAGS"
   20908 fi
   20909 
   20910 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   20911 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20912 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20913 	fi
   20914 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20915 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   20916 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   20917 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   20918 then :
   20919   printf %s "(cached) " >&6
   20920 else case e in #(
   20921   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20922 /* end confdefs.h.  */
   20923 int i;
   20924 _ACEOF
   20925 if ac_fn_c_try_compile "$LINENO"
   20926 then :
   20927   xorg_cv_cc_flag_unused_command_line_argument=yes
   20928 else case e in #(
   20929   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   20930 esac
   20931 fi
   20932 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   20933 esac
   20934 fi
   20935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   20936 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   20937 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   20938 	CFLAGS="$xorg_testset_save_CFLAGS"
   20939 fi
   20940 
   20941 found="no"
   20942 
   20943 	if test $found = "no" ; then
   20944 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   20945 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   20946 		fi
   20947 
   20948 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   20949 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   20950 		fi
   20951 
   20952 		CFLAGS="$CFLAGS -Werror=attributes"
   20953 
   20954 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   20955 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   20956 		cacheid=xorg_cv_cc_flag__Werror_attributes
   20957 		if eval test \${$cacheid+y}
   20958 then :
   20959   printf %s "(cached) " >&6
   20960 else case e in #(
   20961   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20962 /* end confdefs.h.  */
   20963 int i;
   20964 int
   20965 main (void)
   20966 {
   20967 
   20968   ;
   20969   return 0;
   20970 }
   20971 _ACEOF
   20972 if ac_fn_c_try_link "$LINENO"
   20973 then :
   20974   eval $cacheid=yes
   20975 else case e in #(
   20976   e) eval $cacheid=no ;;
   20977 esac
   20978 fi
   20979 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   20980     conftest$ac_exeext conftest.$ac_ext ;;
   20981 esac
   20982 fi
   20983 
   20984 
   20985 		CFLAGS="$xorg_testset_save_CFLAGS"
   20986 
   20987 		eval supported=\$$cacheid
   20988 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   20989 printf "%s\n" "$supported" >&6; }
   20990 		if test "$supported" = "yes" ; then
   20991 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   20992 			found="yes"
   20993 		fi
   20994 	fi
   20995 
   20996 
   20997 
   20998 if test "x$STRICT_COMPILE" = "xyes"; then
   20999     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   21000     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   21001 fi
   21002 
   21003 
   21004 
   21005 
   21006 
   21007 
   21008 
   21009 
   21010 cat >>confdefs.h <<_ACEOF
   21011 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   21012 _ACEOF
   21013 
   21014 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   21015 	if test "x$PVM" = "x"; then
   21016 		PVM="0"
   21017 	fi
   21018 
   21019 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   21020 
   21021 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   21022 	if test "x$PVP" = "x"; then
   21023 		PVP="0"
   21024 	fi
   21025 
   21026 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   21027 
   21028 
   21029 
   21030 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   21031 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   21032 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   21033 touch \$(top_srcdir)/ChangeLog; \
   21034 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   21035 
   21036 
   21037 
   21038 
   21039 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   21040 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   21041 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   21042 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   21043 touch \$(top_srcdir)/INSTALL; \
   21044 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   21045 
   21046 
   21047 
   21048 
   21049 
   21050 
   21051 case $host_os in
   21052     solaris*)
   21053         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   21054         # check for a man page file found in later versions that use
   21055         # traditional section numbers instead
   21056         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   21057 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   21058 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   21059 then :
   21060   printf %s "(cached) " >&6
   21061 else case e in #(
   21062   e) test "$cross_compiling" = yes &&
   21063   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   21064 if test -r "/usr/share/man/man7/attributes.7"; then
   21065   ac_cv_file__usr_share_man_man7_attributes_7=yes
   21066 else
   21067   ac_cv_file__usr_share_man_man7_attributes_7=no
   21068 fi ;;
   21069 esac
   21070 fi
   21071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   21072 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   21073 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   21074 then :
   21075   SYSV_MAN_SECTIONS=false
   21076 else case e in #(
   21077   e) SYSV_MAN_SECTIONS=true ;;
   21078 esac
   21079 fi
   21080 
   21081         ;;
   21082     *) SYSV_MAN_SECTIONS=false ;;
   21083 esac
   21084 
   21085 if test x$APP_MAN_SUFFIX = x    ; then
   21086     APP_MAN_SUFFIX=1
   21087 fi
   21088 if test x$APP_MAN_DIR = x    ; then
   21089     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   21090 fi
   21091 
   21092 if test x$LIB_MAN_SUFFIX = x    ; then
   21093     LIB_MAN_SUFFIX=3
   21094 fi
   21095 if test x$LIB_MAN_DIR = x    ; then
   21096     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   21097 fi
   21098 
   21099 if test x$FILE_MAN_SUFFIX = x    ; then
   21100     case $SYSV_MAN_SECTIONS in
   21101 	true)				FILE_MAN_SUFFIX=4  ;;
   21102 	*)				FILE_MAN_SUFFIX=5  ;;
   21103     esac
   21104 fi
   21105 if test x$FILE_MAN_DIR = x    ; then
   21106     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   21107 fi
   21108 
   21109 if test x$MISC_MAN_SUFFIX = x    ; then
   21110     case $SYSV_MAN_SECTIONS in
   21111 	true)				MISC_MAN_SUFFIX=5  ;;
   21112 	*)				MISC_MAN_SUFFIX=7  ;;
   21113     esac
   21114 fi
   21115 if test x$MISC_MAN_DIR = x    ; then
   21116     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   21117 fi
   21118 
   21119 if test x$DRIVER_MAN_SUFFIX = x    ; then
   21120     case $SYSV_MAN_SECTIONS in
   21121 	true)				DRIVER_MAN_SUFFIX=7  ;;
   21122 	*)				DRIVER_MAN_SUFFIX=4  ;;
   21123     esac
   21124 fi
   21125 if test x$DRIVER_MAN_DIR = x    ; then
   21126     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   21127 fi
   21128 
   21129 if test x$ADMIN_MAN_SUFFIX = x    ; then
   21130     case $SYSV_MAN_SECTIONS in
   21131 	true)				ADMIN_MAN_SUFFIX=1m ;;
   21132 	*)				ADMIN_MAN_SUFFIX=8  ;;
   21133     esac
   21134 fi
   21135 if test x$ADMIN_MAN_DIR = x    ; then
   21136     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   21137 fi
   21138 
   21139 
   21140 
   21141 
   21142 
   21143 
   21144 
   21145 
   21146 
   21147 
   21148 
   21149 
   21150 
   21151 
   21152 
   21153 XORG_MAN_PAGE="X Version 11"
   21154 
   21155 MAN_SUBSTS="\
   21156 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   21157 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   21158 	-e 's|__xservername__|Xorg|g' \
   21159 	-e 's|__xconfigfile__|xorg.conf|g' \
   21160 	-e 's|__projectroot__|\$(prefix)|g' \
   21161 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   21162 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   21163 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   21164 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   21165 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   21166 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   21167 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   21168 
   21169 
   21170 
   21171 
   21172 AM_DEFAULT_VERBOSITY=0
   21173 
   21174 
   21175 
   21176 
   21177 
   21178 
   21179 # Check whether --enable-specs was given.
   21180 if test ${enable_specs+y}
   21181 then :
   21182   enableval=$enable_specs; build_specs=$enableval
   21183 else case e in #(
   21184   e) build_specs=yes ;;
   21185 esac
   21186 fi
   21187 
   21188 
   21189  if test x$build_specs = xyes; then
   21190   ENABLE_SPECS_TRUE=
   21191   ENABLE_SPECS_FALSE='#'
   21192 else
   21193   ENABLE_SPECS_TRUE='#'
   21194   ENABLE_SPECS_FALSE=
   21195 fi
   21196 
   21197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build functional specifications" >&5
   21198 printf %s "checking whether to build functional specifications... " >&6; }
   21199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $build_specs" >&5
   21200 printf "%s\n" "$build_specs" >&6; }
   21201 
   21202 
   21203 
   21204 
   21205 
   21206 # Check whether --with-xmlto was given.
   21207 if test ${with_xmlto+y}
   21208 then :
   21209   withval=$with_xmlto; use_xmlto=$withval
   21210 else case e in #(
   21211   e) use_xmlto=auto ;;
   21212 esac
   21213 fi
   21214 
   21215 
   21216 
   21217 if test "x$use_xmlto" = x"auto"; then
   21218    # Extract the first word of "xmlto", so it can be a program name with args.
   21219 set dummy xmlto; ac_word=$2
   21220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21221 printf %s "checking for $ac_word... " >&6; }
   21222 if test ${ac_cv_path_XMLTO+y}
   21223 then :
   21224   printf %s "(cached) " >&6
   21225 else case e in #(
   21226   e) case $XMLTO in
   21227   [\\/]* | ?:[\\/]*)
   21228   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   21229   ;;
   21230   *)
   21231   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21232 for as_dir in $PATH
   21233 do
   21234   IFS=$as_save_IFS
   21235   case $as_dir in #(((
   21236     '') as_dir=./ ;;
   21237     */) ;;
   21238     *) as_dir=$as_dir/ ;;
   21239   esac
   21240     for ac_exec_ext in '' $ac_executable_extensions; do
   21241   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21242     ac_cv_path_XMLTO="$as_dir$ac_word$ac_exec_ext"
   21243     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21244     break 2
   21245   fi
   21246 done
   21247   done
   21248 IFS=$as_save_IFS
   21249 
   21250   ;;
   21251 esac ;;
   21252 esac
   21253 fi
   21254 XMLTO=$ac_cv_path_XMLTO
   21255 if test -n "$XMLTO"; then
   21256   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   21257 printf "%s\n" "$XMLTO" >&6; }
   21258 else
   21259   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21260 printf "%s\n" "no" >&6; }
   21261 fi
   21262 
   21263 
   21264    if test "x$XMLTO" = "x"; then
   21265         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
   21266 printf "%s\n" "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   21267 	have_xmlto=no
   21268    else
   21269         have_xmlto=yes
   21270    fi
   21271 elif test "x$use_xmlto" = x"yes" ; then
   21272    # Extract the first word of "xmlto", so it can be a program name with args.
   21273 set dummy xmlto; ac_word=$2
   21274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21275 printf %s "checking for $ac_word... " >&6; }
   21276 if test ${ac_cv_path_XMLTO+y}
   21277 then :
   21278   printf %s "(cached) " >&6
   21279 else case e in #(
   21280   e) case $XMLTO in
   21281   [\\/]* | ?:[\\/]*)
   21282   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   21283   ;;
   21284   *)
   21285   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21286 for as_dir in $PATH
   21287 do
   21288   IFS=$as_save_IFS
   21289   case $as_dir in #(((
   21290     '') as_dir=./ ;;
   21291     */) ;;
   21292     *) as_dir=$as_dir/ ;;
   21293   esac
   21294     for ac_exec_ext in '' $ac_executable_extensions; do
   21295   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21296     ac_cv_path_XMLTO="$as_dir$ac_word$ac_exec_ext"
   21297     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21298     break 2
   21299   fi
   21300 done
   21301   done
   21302 IFS=$as_save_IFS
   21303 
   21304   ;;
   21305 esac ;;
   21306 esac
   21307 fi
   21308 XMLTO=$ac_cv_path_XMLTO
   21309 if test -n "$XMLTO"; then
   21310   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   21311 printf "%s\n" "$XMLTO" >&6; }
   21312 else
   21313   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21314 printf "%s\n" "no" >&6; }
   21315 fi
   21316 
   21317 
   21318    if test "x$XMLTO" = "x"; then
   21319         as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
   21320    fi
   21321    have_xmlto=yes
   21322 elif test "x$use_xmlto" = x"no" ; then
   21323    if test "x$XMLTO" != "x"; then
   21324       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   21325 printf "%s\n" "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   21326    fi
   21327    have_xmlto=no
   21328 else
   21329    as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
   21330 fi
   21331 
   21332 # Test for a minimum version of xmlto, if provided.
   21333 if test "$have_xmlto" = yes; then
   21334     # scrape the xmlto version
   21335     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
   21336 printf %s "checking the xmlto version... " >&6; }
   21337     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   21338     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
   21339 printf "%s\n" "$xmlto_version" >&6; }
   21340     as_arg_v1=$xmlto_version
   21341 as_arg_v2=0.0.22
   21342 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   21343 case $? in #(
   21344   1) :
   21345     if test "x$use_xmlto" = xauto; then
   21346             { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&5
   21347 printf "%s\n" "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&2;}
   21348             have_xmlto=no
   21349         else
   21350             as_fn_error $? "xmlto version $xmlto_version found, but 0.0.22 needed" "$LINENO" 5
   21351         fi ;; #(
   21352   0) :
   21353      ;; #(
   21354   2) :
   21355      ;; #(
   21356   *) :
   21357      ;;
   21358 esac
   21359 fi
   21360 
   21361 # Test for the ability of xmlto to generate a text target
   21362 #
   21363 # NOTE: xmlto 0.0.27 or higher return a non-zero return code in the
   21364 # following test for empty XML docbook files.
   21365 # For compatibility reasons use the following empty XML docbook file and if
   21366 # it fails try it again with a non-empty XML file.
   21367 have_xmlto_text=no
   21368 cat > conftest.xml << "EOF"
   21369 EOF
   21370 if test "$have_xmlto" = yes
   21371 then :
   21372   if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1
   21373 then :
   21374   have_xmlto_text=yes
   21375 else case e in #(
   21376   e) # Try it again with a non-empty XML file.
   21377               cat > conftest.xml << "EOF"
   21378 <x></x>
   21379 EOF
   21380               if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1
   21381 then :
   21382   have_xmlto_text=yes
   21383 else case e in #(
   21384   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
   21385 printf "%s\n" "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;} ;;
   21386 esac
   21387 fi ;;
   21388 esac
   21389 fi
   21390 fi
   21391 rm -f conftest.xml
   21392  if test $have_xmlto_text = yes; then
   21393   HAVE_XMLTO_TEXT_TRUE=
   21394   HAVE_XMLTO_TEXT_FALSE='#'
   21395 else
   21396   HAVE_XMLTO_TEXT_TRUE='#'
   21397   HAVE_XMLTO_TEXT_FALSE=
   21398 fi
   21399 
   21400  if test "$have_xmlto" = yes; then
   21401   HAVE_XMLTO_TRUE=
   21402   HAVE_XMLTO_FALSE='#'
   21403 else
   21404   HAVE_XMLTO_TRUE='#'
   21405   HAVE_XMLTO_FALSE=
   21406 fi
   21407 
   21408 
   21409 
   21410 
   21411 
   21412 
   21413 # Check whether --with-fop was given.
   21414 if test ${with_fop+y}
   21415 then :
   21416   withval=$with_fop; use_fop=$withval
   21417 else case e in #(
   21418   e) use_fop=no ;;
   21419 esac
   21420 fi
   21421 
   21422 
   21423 
   21424 if test "x$use_fop" = x"auto"; then
   21425    # Extract the first word of "fop", so it can be a program name with args.
   21426 set dummy fop; ac_word=$2
   21427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21428 printf %s "checking for $ac_word... " >&6; }
   21429 if test ${ac_cv_path_FOP+y}
   21430 then :
   21431   printf %s "(cached) " >&6
   21432 else case e in #(
   21433   e) case $FOP in
   21434   [\\/]* | ?:[\\/]*)
   21435   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   21436   ;;
   21437   *)
   21438   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21439 for as_dir in $PATH
   21440 do
   21441   IFS=$as_save_IFS
   21442   case $as_dir in #(((
   21443     '') as_dir=./ ;;
   21444     */) ;;
   21445     *) as_dir=$as_dir/ ;;
   21446   esac
   21447     for ac_exec_ext in '' $ac_executable_extensions; do
   21448   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21449     ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
   21450     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21451     break 2
   21452   fi
   21453 done
   21454   done
   21455 IFS=$as_save_IFS
   21456 
   21457   ;;
   21458 esac ;;
   21459 esac
   21460 fi
   21461 FOP=$ac_cv_path_FOP
   21462 if test -n "$FOP"; then
   21463   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   21464 printf "%s\n" "$FOP" >&6; }
   21465 else
   21466   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21467 printf "%s\n" "no" >&6; }
   21468 fi
   21469 
   21470 
   21471    if test "x$FOP" = "x"; then
   21472         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
   21473 printf "%s\n" "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
   21474 	have_fop=no
   21475    else
   21476         have_fop=yes
   21477    fi
   21478 elif test "x$use_fop" = x"yes" ; then
   21479    # Extract the first word of "fop", so it can be a program name with args.
   21480 set dummy fop; ac_word=$2
   21481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21482 printf %s "checking for $ac_word... " >&6; }
   21483 if test ${ac_cv_path_FOP+y}
   21484 then :
   21485   printf %s "(cached) " >&6
   21486 else case e in #(
   21487   e) case $FOP in
   21488   [\\/]* | ?:[\\/]*)
   21489   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   21490   ;;
   21491   *)
   21492   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21493 for as_dir in $PATH
   21494 do
   21495   IFS=$as_save_IFS
   21496   case $as_dir in #(((
   21497     '') as_dir=./ ;;
   21498     */) ;;
   21499     *) as_dir=$as_dir/ ;;
   21500   esac
   21501     for ac_exec_ext in '' $ac_executable_extensions; do
   21502   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21503     ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
   21504     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21505     break 2
   21506   fi
   21507 done
   21508   done
   21509 IFS=$as_save_IFS
   21510 
   21511   ;;
   21512 esac ;;
   21513 esac
   21514 fi
   21515 FOP=$ac_cv_path_FOP
   21516 if test -n "$FOP"; then
   21517   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   21518 printf "%s\n" "$FOP" >&6; }
   21519 else
   21520   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21521 printf "%s\n" "no" >&6; }
   21522 fi
   21523 
   21524 
   21525    if test "x$FOP" = "x"; then
   21526         as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
   21527    fi
   21528    have_fop=yes
   21529 elif test "x$use_fop" = x"no" ; then
   21530    if test "x$FOP" != "x"; then
   21531       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
   21532 printf "%s\n" "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
   21533    fi
   21534    have_fop=no
   21535 else
   21536    as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
   21537 fi
   21538 
   21539 # Test for a minimum version of fop, if provided.
   21540 
   21541  if test "$have_fop" = yes; then
   21542   HAVE_FOP_TRUE=
   21543   HAVE_FOP_FALSE='#'
   21544 else
   21545   HAVE_FOP_TRUE='#'
   21546   HAVE_FOP_FALSE=
   21547 fi
   21548 
   21549 
   21550 
   21551 
   21552 # Preserves the interface, should it be implemented later
   21553 
   21554 
   21555 
   21556 # Check whether --with-xsltproc was given.
   21557 if test ${with_xsltproc+y}
   21558 then :
   21559   withval=$with_xsltproc; use_xsltproc=$withval
   21560 else case e in #(
   21561   e) use_xsltproc=auto ;;
   21562 esac
   21563 fi
   21564 
   21565 
   21566 
   21567 if test "x$use_xsltproc" = x"auto"; then
   21568    # Extract the first word of "xsltproc", so it can be a program name with args.
   21569 set dummy xsltproc; ac_word=$2
   21570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21571 printf %s "checking for $ac_word... " >&6; }
   21572 if test ${ac_cv_path_XSLTPROC+y}
   21573 then :
   21574   printf %s "(cached) " >&6
   21575 else case e in #(
   21576   e) case $XSLTPROC in
   21577   [\\/]* | ?:[\\/]*)
   21578   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   21579   ;;
   21580   *)
   21581   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21582 for as_dir in $PATH
   21583 do
   21584   IFS=$as_save_IFS
   21585   case $as_dir in #(((
   21586     '') as_dir=./ ;;
   21587     */) ;;
   21588     *) as_dir=$as_dir/ ;;
   21589   esac
   21590     for ac_exec_ext in '' $ac_executable_extensions; do
   21591   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21592     ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext"
   21593     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21594     break 2
   21595   fi
   21596 done
   21597   done
   21598 IFS=$as_save_IFS
   21599 
   21600   ;;
   21601 esac ;;
   21602 esac
   21603 fi
   21604 XSLTPROC=$ac_cv_path_XSLTPROC
   21605 if test -n "$XSLTPROC"; then
   21606   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   21607 printf "%s\n" "$XSLTPROC" >&6; }
   21608 else
   21609   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21610 printf "%s\n" "no" >&6; }
   21611 fi
   21612 
   21613 
   21614    if test "x$XSLTPROC" = "x"; then
   21615         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xsltproc not found - cannot transform XML documents" >&5
   21616 printf "%s\n" "$as_me: WARNING: xsltproc not found - cannot transform XML documents" >&2;}
   21617 	have_xsltproc=no
   21618    else
   21619         have_xsltproc=yes
   21620    fi
   21621 elif test "x$use_xsltproc" = x"yes" ; then
   21622    # Extract the first word of "xsltproc", so it can be a program name with args.
   21623 set dummy xsltproc; ac_word=$2
   21624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21625 printf %s "checking for $ac_word... " >&6; }
   21626 if test ${ac_cv_path_XSLTPROC+y}
   21627 then :
   21628   printf %s "(cached) " >&6
   21629 else case e in #(
   21630   e) case $XSLTPROC in
   21631   [\\/]* | ?:[\\/]*)
   21632   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   21633   ;;
   21634   *)
   21635   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21636 for as_dir in $PATH
   21637 do
   21638   IFS=$as_save_IFS
   21639   case $as_dir in #(((
   21640     '') as_dir=./ ;;
   21641     */) ;;
   21642     *) as_dir=$as_dir/ ;;
   21643   esac
   21644     for ac_exec_ext in '' $ac_executable_extensions; do
   21645   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21646     ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext"
   21647     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21648     break 2
   21649   fi
   21650 done
   21651   done
   21652 IFS=$as_save_IFS
   21653 
   21654   ;;
   21655 esac ;;
   21656 esac
   21657 fi
   21658 XSLTPROC=$ac_cv_path_XSLTPROC
   21659 if test -n "$XSLTPROC"; then
   21660   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   21661 printf "%s\n" "$XSLTPROC" >&6; }
   21662 else
   21663   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21664 printf "%s\n" "no" >&6; }
   21665 fi
   21666 
   21667 
   21668    if test "x$XSLTPROC" = "x"; then
   21669         as_fn_error $? "--with-xsltproc=yes specified but xsltproc not found in PATH" "$LINENO" 5
   21670    fi
   21671    have_xsltproc=yes
   21672 elif test "x$use_xsltproc" = x"no" ; then
   21673    if test "x$XSLTPROC" != "x"; then
   21674       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&5
   21675 printf "%s\n" "$as_me: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&2;}
   21676    fi
   21677    have_xsltproc=no
   21678 else
   21679    as_fn_error $? "--with-xsltproc expects 'yes' or 'no'" "$LINENO" 5
   21680 fi
   21681 
   21682  if test "$have_xsltproc" = yes; then
   21683   HAVE_XSLTPROC_TRUE=
   21684   HAVE_XSLTPROC_FALSE='#'
   21685 else
   21686   HAVE_XSLTPROC_TRUE='#'
   21687   HAVE_XSLTPROC_FALSE=
   21688 fi
   21689 
   21690 
   21691 
   21692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.10" >&5
   21693 printf %s "checking for X.Org SGML entities >= 1.10... " >&6; }
   21694 XORG_SGML_PATH=
   21695 if test -n "$PKG_CONFIG" && \
   21696     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.10\""; } >&5
   21697   ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.10") 2>&5
   21698   ac_status=$?
   21699   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   21700   test $ac_status = 0; }; then
   21701   XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
   21702 else
   21703   :
   21704 
   21705 fi
   21706 
   21707 # Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
   21708 # the path and the name of the doc stylesheet
   21709 if test "x$XORG_SGML_PATH" != "x" ; then
   21710    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
   21711 printf "%s\n" "$XORG_SGML_PATH" >&6; }
   21712    STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
   21713    XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
   21714 else
   21715    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21716 printf "%s\n" "no" >&6; }
   21717 fi
   21718 
   21719 
   21720 
   21721 
   21722  if test "x$XSL_STYLESHEET" != "x"; then
   21723   HAVE_STYLESHEETS_TRUE=
   21724   HAVE_STYLESHEETS_FALSE='#'
   21725 else
   21726   HAVE_STYLESHEETS_TRUE='#'
   21727   HAVE_STYLESHEETS_FALSE=
   21728 fi
   21729 
   21730 
   21731 ac_ext=c
   21732 ac_cpp='$CPP $CPPFLAGS'
   21733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   21734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   21735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   21736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   21737 printf %s "checking how to run the C preprocessor... " >&6; }
   21738 # On Suns, sometimes $CPP names a directory.
   21739 if test -n "$CPP" && test -d "$CPP"; then
   21740   CPP=
   21741 fi
   21742 if test -z "$CPP"; then
   21743   if test ${ac_cv_prog_CPP+y}
   21744 then :
   21745   printf %s "(cached) " >&6
   21746 else case e in #(
   21747   e)     # Double quotes because $CC needs to be expanded
   21748     for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
   21749     do
   21750       ac_preproc_ok=false
   21751 for ac_c_preproc_warn_flag in '' yes
   21752 do
   21753   # Use a header file that comes with gcc, so configuring glibc
   21754   # with a fresh cross-compiler works.
   21755   # On the NeXT, cc -E runs the code through the compiler's parser,
   21756   # not just through cpp. "Syntax error" is here to catch this case.
   21757   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21758 /* end confdefs.h.  */
   21759 #include <limits.h>
   21760 		     Syntax error
   21761 _ACEOF
   21762 if ac_fn_c_try_cpp "$LINENO"
   21763 then :
   21764 
   21765 else case e in #(
   21766   e) # Broken: fails on valid input.
   21767 continue ;;
   21768 esac
   21769 fi
   21770 rm -f conftest.err conftest.i conftest.$ac_ext
   21771 
   21772   # OK, works on sane cases.  Now check whether nonexistent headers
   21773   # can be detected and how.
   21774   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21775 /* end confdefs.h.  */
   21776 #include <ac_nonexistent.h>
   21777 _ACEOF
   21778 if ac_fn_c_try_cpp "$LINENO"
   21779 then :
   21780   # Broken: success on invalid input.
   21781 continue
   21782 else case e in #(
   21783   e) # Passes both tests.
   21784 ac_preproc_ok=:
   21785 break ;;
   21786 esac
   21787 fi
   21788 rm -f conftest.err conftest.i conftest.$ac_ext
   21789 
   21790 done
   21791 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   21792 rm -f conftest.i conftest.err conftest.$ac_ext
   21793 if $ac_preproc_ok
   21794 then :
   21795   break
   21796 fi
   21797 
   21798     done
   21799     ac_cv_prog_CPP=$CPP
   21800    ;;
   21801 esac
   21802 fi
   21803   CPP=$ac_cv_prog_CPP
   21804 else
   21805   ac_cv_prog_CPP=$CPP
   21806 fi
   21807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   21808 printf "%s\n" "$CPP" >&6; }
   21809 ac_preproc_ok=false
   21810 for ac_c_preproc_warn_flag in '' yes
   21811 do
   21812   # Use a header file that comes with gcc, so configuring glibc
   21813   # with a fresh cross-compiler works.
   21814   # On the NeXT, cc -E runs the code through the compiler's parser,
   21815   # not just through cpp. "Syntax error" is here to catch this case.
   21816   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21817 /* end confdefs.h.  */
   21818 #include <limits.h>
   21819 		     Syntax error
   21820 _ACEOF
   21821 if ac_fn_c_try_cpp "$LINENO"
   21822 then :
   21823 
   21824 else case e in #(
   21825   e) # Broken: fails on valid input.
   21826 continue ;;
   21827 esac
   21828 fi
   21829 rm -f conftest.err conftest.i conftest.$ac_ext
   21830 
   21831   # OK, works on sane cases.  Now check whether nonexistent headers
   21832   # can be detected and how.
   21833   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21834 /* end confdefs.h.  */
   21835 #include <ac_nonexistent.h>
   21836 _ACEOF
   21837 if ac_fn_c_try_cpp "$LINENO"
   21838 then :
   21839   # Broken: success on invalid input.
   21840 continue
   21841 else case e in #(
   21842   e) # Passes both tests.
   21843 ac_preproc_ok=:
   21844 break ;;
   21845 esac
   21846 fi
   21847 rm -f conftest.err conftest.i conftest.$ac_ext
   21848 
   21849 done
   21850 # Because of 'break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   21851 rm -f conftest.i conftest.err conftest.$ac_ext
   21852 if $ac_preproc_ok
   21853 then :
   21854 
   21855 else case e in #(
   21856   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   21857 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   21858 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   21859 See 'config.log' for more details" "$LINENO" 5; } ;;
   21860 esac
   21861 fi
   21862 
   21863 ac_ext=c
   21864 ac_cpp='$CPP $CPPFLAGS'
   21865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   21866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   21867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   21868 
   21869 
   21870 
   21871 if test -n "$ac_tool_prefix"; then
   21872   # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
   21873 set dummy ${ac_tool_prefix}cpp; ac_word=$2
   21874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21875 printf %s "checking for $ac_word... " >&6; }
   21876 if test ${ac_cv_path_RAWCPP+y}
   21877 then :
   21878   printf %s "(cached) " >&6
   21879 else case e in #(
   21880   e) case $RAWCPP in
   21881   [\\/]* | ?:[\\/]*)
   21882   ac_cv_path_RAWCPP="$RAWCPP" # Let the user override the test with a path.
   21883   ;;
   21884   *)
   21885   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21886 as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
   21887 for as_dir in $as_dummy
   21888 do
   21889   IFS=$as_save_IFS
   21890   case $as_dir in #(((
   21891     '') as_dir=./ ;;
   21892     */) ;;
   21893     *) as_dir=$as_dir/ ;;
   21894   esac
   21895     for ac_exec_ext in '' $ac_executable_extensions; do
   21896   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21897     ac_cv_path_RAWCPP="$as_dir$ac_word$ac_exec_ext"
   21898     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21899     break 2
   21900   fi
   21901 done
   21902   done
   21903 IFS=$as_save_IFS
   21904 
   21905   ;;
   21906 esac ;;
   21907 esac
   21908 fi
   21909 RAWCPP=$ac_cv_path_RAWCPP
   21910 if test -n "$RAWCPP"; then
   21911   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RAWCPP" >&5
   21912 printf "%s\n" "$RAWCPP" >&6; }
   21913 else
   21914   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21915 printf "%s\n" "no" >&6; }
   21916 fi
   21917 
   21918 
   21919 fi
   21920 if test -z "$ac_cv_path_RAWCPP"; then
   21921   ac_pt_RAWCPP=$RAWCPP
   21922   # Extract the first word of "cpp", so it can be a program name with args.
   21923 set dummy cpp; 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_ac_pt_RAWCPP+y}
   21927 then :
   21928   printf %s "(cached) " >&6
   21929 else case e in #(
   21930   e) case $ac_pt_RAWCPP in
   21931   [\\/]* | ?:[\\/]*)
   21932   ac_cv_path_ac_pt_RAWCPP="$ac_pt_RAWCPP" # Let the user override the test with a path.
   21933   ;;
   21934   *)
   21935   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21936 as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
   21937 for as_dir in $as_dummy
   21938 do
   21939   IFS=$as_save_IFS
   21940   case $as_dir in #(((
   21941     '') as_dir=./ ;;
   21942     */) ;;
   21943     *) as_dir=$as_dir/ ;;
   21944   esac
   21945     for ac_exec_ext in '' $ac_executable_extensions; do
   21946   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21947     ac_cv_path_ac_pt_RAWCPP="$as_dir$ac_word$ac_exec_ext"
   21948     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21949     break 2
   21950   fi
   21951 done
   21952   done
   21953 IFS=$as_save_IFS
   21954 
   21955   ;;
   21956 esac ;;
   21957 esac
   21958 fi
   21959 ac_pt_RAWCPP=$ac_cv_path_ac_pt_RAWCPP
   21960 if test -n "$ac_pt_RAWCPP"; then
   21961   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_RAWCPP" >&5
   21962 printf "%s\n" "$ac_pt_RAWCPP" >&6; }
   21963 else
   21964   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21965 printf "%s\n" "no" >&6; }
   21966 fi
   21967 
   21968   if test "x$ac_pt_RAWCPP" = x; then
   21969     RAWCPP="${CPP}"
   21970   else
   21971     case $cross_compiling:$ac_tool_warned in
   21972 yes:)
   21973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   21974 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   21975 ac_tool_warned=yes ;;
   21976 esac
   21977     RAWCPP=$ac_pt_RAWCPP
   21978   fi
   21979 else
   21980   RAWCPP="$ac_cv_path_RAWCPP"
   21981 fi
   21982 
   21983 
   21984 # Check for flag to avoid builtin definitions - assumes unix is predefined,
   21985 # which is not the best choice for supporting other OS'es, but covers most
   21986 # of the ones we need for now.
   21987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -undef" >&5
   21988 printf %s "checking if $RAWCPP requires -undef... " >&6; }
   21989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21990 /* end confdefs.h.  */
   21991 Does cpp redefine unix ?
   21992 _ACEOF
   21993 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   21994 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21995 printf "%s\n" "no" >&6; }
   21996 else
   21997 	if test `${RAWCPP} -undef < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   21998 		RAWCPPFLAGS=-undef
   21999 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   22000 printf "%s\n" "yes" >&6; }
   22001 	# under Cygwin unix is still defined even with -undef
   22002 	elif test `${RAWCPP} -undef -ansi < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   22003 		RAWCPPFLAGS="-undef -ansi"
   22004 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes, with -ansi" >&5
   22005 printf "%s\n" "yes, with -ansi" >&6; }
   22006 	else
   22007 		as_fn_error $? "${RAWCPP} defines unix with or without -undef.  I don't know what to do." "$LINENO" 5
   22008 	fi
   22009 fi
   22010 rm -f conftest.$ac_ext
   22011 
   22012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -traditional" >&5
   22013 printf %s "checking if $RAWCPP requires -traditional... " >&6; }
   22014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22015 /* end confdefs.h.  */
   22016 Does cpp preserve   "whitespace"?
   22017 _ACEOF
   22018 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'preserve   "'` -eq 1 ; then
   22019 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22020 printf "%s\n" "no" >&6; }
   22021 else
   22022 	if test `${RAWCPP} -traditional < conftest.$ac_ext | grep -c 'preserve   "'` -eq 1 ; then
   22023 		TRADITIONALCPPFLAGS="-traditional"
   22024 		RAWCPPFLAGS="${RAWCPPFLAGS} -traditional"
   22025 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   22026 printf "%s\n" "yes" >&6; }
   22027 	else
   22028 		as_fn_error $? "${RAWCPP} does not preserve whitespace with or without -traditional.  I don't know what to do." "$LINENO" 5
   22029 	fi
   22030 fi
   22031 rm -f conftest.$ac_ext
   22032 
   22033 
   22034 
   22035 
   22036 
   22037 # Preserves the interface, should it be implemented later
   22038 
   22039 
   22040 
   22041 # Check whether --with-perl was given.
   22042 if test ${with_perl+y}
   22043 then :
   22044   withval=$with_perl; use_perl=$withval
   22045 else case e in #(
   22046   e) use_perl=auto ;;
   22047 esac
   22048 fi
   22049 
   22050 
   22051 
   22052 if test "x$use_perl" = x"auto"; then
   22053    # Extract the first word of "perl", so it can be a program name with args.
   22054 set dummy perl; ac_word=$2
   22055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   22056 printf %s "checking for $ac_word... " >&6; }
   22057 if test ${ac_cv_path_PERL+y}
   22058 then :
   22059   printf %s "(cached) " >&6
   22060 else case e in #(
   22061   e) case $PERL in
   22062   [\\/]* | ?:[\\/]*)
   22063   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
   22064   ;;
   22065   *)
   22066   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22067 for as_dir in $PATH
   22068 do
   22069   IFS=$as_save_IFS
   22070   case $as_dir in #(((
   22071     '') as_dir=./ ;;
   22072     */) ;;
   22073     *) as_dir=$as_dir/ ;;
   22074   esac
   22075     for ac_exec_ext in '' $ac_executable_extensions; do
   22076   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   22077     ac_cv_path_PERL="$as_dir$ac_word$ac_exec_ext"
   22078     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   22079     break 2
   22080   fi
   22081 done
   22082   done
   22083 IFS=$as_save_IFS
   22084 
   22085   ;;
   22086 esac ;;
   22087 esac
   22088 fi
   22089 PERL=$ac_cv_path_PERL
   22090 if test -n "$PERL"; then
   22091   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
   22092 printf "%s\n" "$PERL" >&6; }
   22093 else
   22094   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22095 printf "%s\n" "no" >&6; }
   22096 fi
   22097 
   22098 
   22099    if test "x$PERL" = "x"; then
   22100         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - cannot extract information and report" >&5
   22101 printf "%s\n" "$as_me: WARNING: perl not found - cannot extract information and report" >&2;}
   22102 	have_perl=no
   22103    else
   22104         have_perl=yes
   22105    fi
   22106 elif test "x$use_perl" = x"yes" ; then
   22107    # Extract the first word of "perl", so it can be a program name with args.
   22108 set dummy perl; ac_word=$2
   22109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   22110 printf %s "checking for $ac_word... " >&6; }
   22111 if test ${ac_cv_path_PERL+y}
   22112 then :
   22113   printf %s "(cached) " >&6
   22114 else case e in #(
   22115   e) case $PERL in
   22116   [\\/]* | ?:[\\/]*)
   22117   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
   22118   ;;
   22119   *)
   22120   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22121 for as_dir in $PATH
   22122 do
   22123   IFS=$as_save_IFS
   22124   case $as_dir in #(((
   22125     '') as_dir=./ ;;
   22126     */) ;;
   22127     *) as_dir=$as_dir/ ;;
   22128   esac
   22129     for ac_exec_ext in '' $ac_executable_extensions; do
   22130   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   22131     ac_cv_path_PERL="$as_dir$ac_word$ac_exec_ext"
   22132     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   22133     break 2
   22134   fi
   22135 done
   22136   done
   22137 IFS=$as_save_IFS
   22138 
   22139   ;;
   22140 esac ;;
   22141 esac
   22142 fi
   22143 PERL=$ac_cv_path_PERL
   22144 if test -n "$PERL"; then
   22145   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
   22146 printf "%s\n" "$PERL" >&6; }
   22147 else
   22148   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22149 printf "%s\n" "no" >&6; }
   22150 fi
   22151 
   22152 
   22153    if test "x$PERL" = "x"; then
   22154         as_fn_error $? "--with-perl=yes specified but perl not found in PATH" "$LINENO" 5
   22155    fi
   22156    have_perl=yes
   22157 elif test "x$use_perl" = x"no" ; then
   22158    if test "x$PERL" != "x"; then
   22159       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring PERL environment variable since --with-perl=no was specified" >&5
   22160 printf "%s\n" "$as_me: WARNING: ignoring PERL environment variable since --with-perl=no was specified" >&2;}
   22161    fi
   22162    have_perl=no
   22163 else
   22164    as_fn_error $? "--with-perl expects 'yes' or 'no'" "$LINENO" 5
   22165 fi
   22166 
   22167  if test "$have_perl" = yes; then
   22168   HAVE_PERL_TRUE=
   22169   HAVE_PERL_FALSE='#'
   22170 else
   22171   HAVE_PERL_TRUE='#'
   22172   HAVE_PERL_FALSE=
   22173 fi
   22174 
   22175 
   22176 
   22177 # Required when PKG_CHECK_MODULES called within an if statement
   22178 
   22179 
   22180 
   22181 
   22182 
   22183 
   22184 
   22185 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   22186 	if test -n "$ac_tool_prefix"; then
   22187   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   22188 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   22189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   22190 printf %s "checking for $ac_word... " >&6; }
   22191 if test ${ac_cv_path_PKG_CONFIG+y}
   22192 then :
   22193   printf %s "(cached) " >&6
   22194 else case e in #(
   22195   e) case $PKG_CONFIG in
   22196   [\\/]* | ?:[\\/]*)
   22197   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   22198   ;;
   22199   *)
   22200   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22201 for as_dir in $PATH
   22202 do
   22203   IFS=$as_save_IFS
   22204   case $as_dir in #(((
   22205     '') as_dir=./ ;;
   22206     */) ;;
   22207     *) as_dir=$as_dir/ ;;
   22208   esac
   22209     for ac_exec_ext in '' $ac_executable_extensions; do
   22210   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   22211     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   22212     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   22213     break 2
   22214   fi
   22215 done
   22216   done
   22217 IFS=$as_save_IFS
   22218 
   22219   ;;
   22220 esac ;;
   22221 esac
   22222 fi
   22223 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   22224 if test -n "$PKG_CONFIG"; then
   22225   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   22226 printf "%s\n" "$PKG_CONFIG" >&6; }
   22227 else
   22228   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22229 printf "%s\n" "no" >&6; }
   22230 fi
   22231 
   22232 
   22233 fi
   22234 if test -z "$ac_cv_path_PKG_CONFIG"; then
   22235   ac_pt_PKG_CONFIG=$PKG_CONFIG
   22236   # Extract the first word of "pkg-config", so it can be a program name with args.
   22237 set dummy pkg-config; ac_word=$2
   22238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   22239 printf %s "checking for $ac_word... " >&6; }
   22240 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   22241 then :
   22242   printf %s "(cached) " >&6
   22243 else case e in #(
   22244   e) case $ac_pt_PKG_CONFIG in
   22245   [\\/]* | ?:[\\/]*)
   22246   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   22247   ;;
   22248   *)
   22249   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22250 for as_dir in $PATH
   22251 do
   22252   IFS=$as_save_IFS
   22253   case $as_dir in #(((
   22254     '') as_dir=./ ;;
   22255     */) ;;
   22256     *) as_dir=$as_dir/ ;;
   22257   esac
   22258     for ac_exec_ext in '' $ac_executable_extensions; do
   22259   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   22260     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   22261     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   22262     break 2
   22263   fi
   22264 done
   22265   done
   22266 IFS=$as_save_IFS
   22267 
   22268   ;;
   22269 esac ;;
   22270 esac
   22271 fi
   22272 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   22273 if test -n "$ac_pt_PKG_CONFIG"; then
   22274   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   22275 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   22276 else
   22277   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22278 printf "%s\n" "no" >&6; }
   22279 fi
   22280 
   22281   if test "x$ac_pt_PKG_CONFIG" = x; then
   22282     PKG_CONFIG=""
   22283   else
   22284     case $cross_compiling:$ac_tool_warned in
   22285 yes:)
   22286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   22287 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   22288 ac_tool_warned=yes ;;
   22289 esac
   22290     PKG_CONFIG=$ac_pt_PKG_CONFIG
   22291   fi
   22292 else
   22293   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   22294 fi
   22295 
   22296 fi
   22297 if test -n "$PKG_CONFIG"; then
   22298 	_pkg_min_version=0.9.0
   22299 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   22300 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   22301 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   22302 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   22303 printf "%s\n" "yes" >&6; }
   22304 	else
   22305 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22306 printf "%s\n" "no" >&6; }
   22307 		PKG_CONFIG=""
   22308 	fi
   22309 fi
   22310 
   22311 if test x"$CC_FOR_BUILD" = x; then
   22312 	if test x"$cross_compiling" = xyes; then
   22313 	       for ac_prog in gcc cc
   22314 do
   22315   # Extract the first word of "$ac_prog", so it can be a program name with args.
   22316 set dummy $ac_prog; ac_word=$2
   22317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   22318 printf %s "checking for $ac_word... " >&6; }
   22319 if test ${ac_cv_prog_CC_FOR_BUILD+y}
   22320 then :
   22321   printf %s "(cached) " >&6
   22322 else case e in #(
   22323   e) if test -n "$CC_FOR_BUILD"; then
   22324   ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
   22325 else
   22326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22327 for as_dir in $PATH
   22328 do
   22329   IFS=$as_save_IFS
   22330   case $as_dir in #(((
   22331     '') as_dir=./ ;;
   22332     */) ;;
   22333     *) as_dir=$as_dir/ ;;
   22334   esac
   22335     for ac_exec_ext in '' $ac_executable_extensions; do
   22336   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   22337     ac_cv_prog_CC_FOR_BUILD="$ac_prog"
   22338     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   22339     break 2
   22340   fi
   22341 done
   22342   done
   22343 IFS=$as_save_IFS
   22344 
   22345 fi ;;
   22346 esac
   22347 fi
   22348 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
   22349 if test -n "$CC_FOR_BUILD"; then
   22350   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
   22351 printf "%s\n" "$CC_FOR_BUILD" >&6; }
   22352 else
   22353   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22354 printf "%s\n" "no" >&6; }
   22355 fi
   22356 
   22357 
   22358   test -n "$CC_FOR_BUILD" && break
   22359 done
   22360 
   22361 	else
   22362 	       CC_FOR_BUILD="$CC"
   22363 	fi
   22364 fi
   22365 
   22366 
   22367 if test x"$CPPFLAGS_FOR_BUILD" = x; then
   22368 	if test ! x"$cross_compiling" = xyes; then
   22369 		CPPFLAGS_FOR_BUILD=${CPPFLAGS}
   22370 	fi
   22371 fi
   22372 
   22373 
   22374 if test x"$CFLAGS_FOR_BUILD" = x; then
   22375 	if test ! x"$cross_compiling" = xyes; then
   22376 		CFLAGS_FOR_BUILD=${CFLAGS}
   22377 	fi
   22378 fi
   22379 
   22380 
   22381 if test x"$LDFLAGS_FOR_BUILD" = x; then
   22382 	if test ! x"$cross_compiling" = xyes; then
   22383 		LDFLAGS_FOR_BUILD=${LDFLAGS}
   22384 	fi
   22385 fi
   22386 
   22387 
   22388 if test x"$EXEEXT_FOR_BUILD" = x; then
   22389 	if test x"$cross_compiling" = xno; then
   22390 		EXEEXT_FOR_BUILD=${EXEEXT}
   22391 	fi
   22392 	# If cross-compiling and not provided, assume EXEEXT_FOR_BUILD is empty
   22393 fi
   22394 
   22395 
   22396 # Checks for pkg-config packages
   22397 
   22398 # Always required
   22399 X11_REQUIRES='xproto >= 7.0.25 xextproto xtrans xcb >= 1.11.1'
   22400 X11_EXTRA_DEPS="xcb >= 1.11.1"
   22401 
   22402 
   22403 
   22404 
   22405 
   22406 
   22407 
   22408 
   22409 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   22410 	if test -n "$ac_tool_prefix"; then
   22411   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   22412 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   22413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   22414 printf %s "checking for $ac_word... " >&6; }
   22415 if test ${ac_cv_path_PKG_CONFIG+y}
   22416 then :
   22417   printf %s "(cached) " >&6
   22418 else case e in #(
   22419   e) case $PKG_CONFIG in
   22420   [\\/]* | ?:[\\/]*)
   22421   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   22422   ;;
   22423   *)
   22424   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22425 for as_dir in $PATH
   22426 do
   22427   IFS=$as_save_IFS
   22428   case $as_dir in #(((
   22429     '') as_dir=./ ;;
   22430     */) ;;
   22431     *) as_dir=$as_dir/ ;;
   22432   esac
   22433     for ac_exec_ext in '' $ac_executable_extensions; do
   22434   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   22435     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   22436     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   22437     break 2
   22438   fi
   22439 done
   22440   done
   22441 IFS=$as_save_IFS
   22442 
   22443   ;;
   22444 esac ;;
   22445 esac
   22446 fi
   22447 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   22448 if test -n "$PKG_CONFIG"; then
   22449   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   22450 printf "%s\n" "$PKG_CONFIG" >&6; }
   22451 else
   22452   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22453 printf "%s\n" "no" >&6; }
   22454 fi
   22455 
   22456 
   22457 fi
   22458 if test -z "$ac_cv_path_PKG_CONFIG"; then
   22459   ac_pt_PKG_CONFIG=$PKG_CONFIG
   22460   # Extract the first word of "pkg-config", so it can be a program name with args.
   22461 set dummy pkg-config; ac_word=$2
   22462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   22463 printf %s "checking for $ac_word... " >&6; }
   22464 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   22465 then :
   22466   printf %s "(cached) " >&6
   22467 else case e in #(
   22468   e) case $ac_pt_PKG_CONFIG in
   22469   [\\/]* | ?:[\\/]*)
   22470   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   22471   ;;
   22472   *)
   22473   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22474 for as_dir in $PATH
   22475 do
   22476   IFS=$as_save_IFS
   22477   case $as_dir in #(((
   22478     '') as_dir=./ ;;
   22479     */) ;;
   22480     *) as_dir=$as_dir/ ;;
   22481   esac
   22482     for ac_exec_ext in '' $ac_executable_extensions; do
   22483   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   22484     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   22485     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   22486     break 2
   22487   fi
   22488 done
   22489   done
   22490 IFS=$as_save_IFS
   22491 
   22492   ;;
   22493 esac ;;
   22494 esac
   22495 fi
   22496 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   22497 if test -n "$ac_pt_PKG_CONFIG"; then
   22498   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   22499 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   22500 else
   22501   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22502 printf "%s\n" "no" >&6; }
   22503 fi
   22504 
   22505   if test "x$ac_pt_PKG_CONFIG" = x; then
   22506     PKG_CONFIG=""
   22507   else
   22508     case $cross_compiling:$ac_tool_warned in
   22509 yes:)
   22510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   22511 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   22512 ac_tool_warned=yes ;;
   22513 esac
   22514     PKG_CONFIG=$ac_pt_PKG_CONFIG
   22515   fi
   22516 else
   22517   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   22518 fi
   22519 
   22520 fi
   22521 if test -n "$PKG_CONFIG"; then
   22522 	_pkg_min_version=0.9.0
   22523 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   22524 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   22525 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   22526 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   22527 printf "%s\n" "yes" >&6; }
   22528 	else
   22529 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22530 printf "%s\n" "no" >&6; }
   22531 		PKG_CONFIG=""
   22532 	fi
   22533 fi
   22534 
   22535 
   22536 
   22537 # Issue an error if xtrans.m4 was not found and XTRANS_CONNECTION_FLAGS macro
   22538 # was not expanded, since libX11 with no transport types is rather useless.
   22539 #
   22540 # If you're seeing an error here, be sure you installed the lib/xtrans module
   22541 # first and if it's not in the default location, that you set the ACLOCAL
   22542 # environment variable to find it, such as:
   22543 #	ACLOCAL="aclocal -I ${PREFIX}/share/aclocal"
   22544 
   22545 
   22546 # Transport selection macro from xtrans.m4
   22547 
   22548 
   22549  case $host_os in
   22550 	mingw*)	unixdef="no"   ;;
   22551 	*)	unixdef="yes"  ;;
   22552  esac
   22553  # Check whether --enable-unix-transport was given.
   22554 if test ${enable_unix_transport+y}
   22555 then :
   22556   enableval=$enable_unix_transport; UNIXCONN=$enableval
   22557 else case e in #(
   22558   e) UNIXCONN=$unixdef ;;
   22559 esac
   22560 fi
   22561 
   22562  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support UNIX socket connections" >&5
   22563 printf %s "checking if Xtrans should support UNIX socket connections... " >&6; }
   22564  if test "$UNIXCONN" = "yes"; then
   22565 
   22566 printf "%s\n" "#define UNIXCONN 1" >>confdefs.h
   22567 
   22568  fi
   22569  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $UNIXCONN" >&5
   22570 printf "%s\n" "$UNIXCONN" >&6; }
   22571  # Check whether --enable-tcp-transport was given.
   22572 if test ${enable_tcp_transport+y}
   22573 then :
   22574   enableval=$enable_tcp_transport; TCPCONN=$enableval
   22575 else case e in #(
   22576   e) TCPCONN=yes ;;
   22577 esac
   22578 fi
   22579 
   22580  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support TCP socket connections" >&5
   22581 printf %s "checking if Xtrans should support TCP socket connections... " >&6; }
   22582  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $TCPCONN" >&5
   22583 printf "%s\n" "$TCPCONN" >&6; }
   22584  if test "$TCPCONN" = "yes"; then
   22585 
   22586 printf "%s\n" "#define TCPCONN 1" >>confdefs.h
   22587 
   22588 
   22589  # SVR4 hides these in libraries other than libc
   22590  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
   22591 printf %s "checking for library containing socket... " >&6; }
   22592 if test ${ac_cv_search_socket+y}
   22593 then :
   22594   printf %s "(cached) " >&6
   22595 else case e in #(
   22596   e) ac_func_search_save_LIBS=$LIBS
   22597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22598 /* end confdefs.h.  */
   22599 
   22600 /* Override any GCC internal prototype to avoid an error.
   22601    Use char because int might match the return type of a GCC
   22602    builtin and then its argument prototype would still apply.
   22603    The 'extern "C"' is for builds by C++ compilers;
   22604    although this is not generally supported in C code supporting it here
   22605    has little cost and some practical benefit (sr 110532).  */
   22606 #ifdef __cplusplus
   22607 extern "C"
   22608 #endif
   22609 char socket (void);
   22610 int
   22611 main (void)
   22612 {
   22613 return socket ();
   22614   ;
   22615   return 0;
   22616 }
   22617 _ACEOF
   22618 for ac_lib in '' socket
   22619 do
   22620   if test -z "$ac_lib"; then
   22621     ac_res="none required"
   22622   else
   22623     ac_res=-l$ac_lib
   22624     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   22625   fi
   22626   if ac_fn_c_try_link "$LINENO"
   22627 then :
   22628   ac_cv_search_socket=$ac_res
   22629 fi
   22630 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   22631     conftest$ac_exeext
   22632   if test ${ac_cv_search_socket+y}
   22633 then :
   22634   break
   22635 fi
   22636 done
   22637 if test ${ac_cv_search_socket+y}
   22638 then :
   22639 
   22640 else case e in #(
   22641   e) ac_cv_search_socket=no ;;
   22642 esac
   22643 fi
   22644 rm conftest.$ac_ext
   22645 LIBS=$ac_func_search_save_LIBS ;;
   22646 esac
   22647 fi
   22648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
   22649 printf "%s\n" "$ac_cv_search_socket" >&6; }
   22650 ac_res=$ac_cv_search_socket
   22651 if test "$ac_res" != no
   22652 then :
   22653   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   22654 
   22655 fi
   22656 
   22657  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
   22658 printf %s "checking for library containing gethostbyname... " >&6; }
   22659 if test ${ac_cv_search_gethostbyname+y}
   22660 then :
   22661   printf %s "(cached) " >&6
   22662 else case e in #(
   22663   e) ac_func_search_save_LIBS=$LIBS
   22664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22665 /* end confdefs.h.  */
   22666 
   22667 /* Override any GCC internal prototype to avoid an error.
   22668    Use char because int might match the return type of a GCC
   22669    builtin and then its argument prototype would still apply.
   22670    The 'extern "C"' is for builds by C++ compilers;
   22671    although this is not generally supported in C code supporting it here
   22672    has little cost and some practical benefit (sr 110532).  */
   22673 #ifdef __cplusplus
   22674 extern "C"
   22675 #endif
   22676 char gethostbyname (void);
   22677 int
   22678 main (void)
   22679 {
   22680 return gethostbyname ();
   22681   ;
   22682   return 0;
   22683 }
   22684 _ACEOF
   22685 for ac_lib in '' nsl
   22686 do
   22687   if test -z "$ac_lib"; then
   22688     ac_res="none required"
   22689   else
   22690     ac_res=-l$ac_lib
   22691     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   22692   fi
   22693   if ac_fn_c_try_link "$LINENO"
   22694 then :
   22695   ac_cv_search_gethostbyname=$ac_res
   22696 fi
   22697 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   22698     conftest$ac_exeext
   22699   if test ${ac_cv_search_gethostbyname+y}
   22700 then :
   22701   break
   22702 fi
   22703 done
   22704 if test ${ac_cv_search_gethostbyname+y}
   22705 then :
   22706 
   22707 else case e in #(
   22708   e) ac_cv_search_gethostbyname=no ;;
   22709 esac
   22710 fi
   22711 rm conftest.$ac_ext
   22712 LIBS=$ac_func_search_save_LIBS ;;
   22713 esac
   22714 fi
   22715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
   22716 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
   22717 ac_res=$ac_cv_search_gethostbyname
   22718 if test "$ac_res" != no
   22719 then :
   22720   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   22721 
   22722 fi
   22723 
   22724  if test "$ac_cv_search_socket$ac_cv_search_gethostbyname" = "nono"; then
   22725    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
   22726 printf %s "checking for main in -lws2_32... " >&6; }
   22727 if test ${ac_cv_lib_ws2_32_main+y}
   22728 then :
   22729   printf %s "(cached) " >&6
   22730 else case e in #(
   22731   e) ac_check_lib_save_LIBS=$LIBS
   22732 LIBS="-lws2_32  $LIBS"
   22733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22734 /* end confdefs.h.  */
   22735 
   22736 
   22737 int
   22738 main (void)
   22739 {
   22740 return main ();
   22741   ;
   22742   return 0;
   22743 }
   22744 _ACEOF
   22745 if ac_fn_c_try_link "$LINENO"
   22746 then :
   22747   ac_cv_lib_ws2_32_main=yes
   22748 else case e in #(
   22749   e) ac_cv_lib_ws2_32_main=no ;;
   22750 esac
   22751 fi
   22752 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   22753     conftest$ac_exeext conftest.$ac_ext
   22754 LIBS=$ac_check_lib_save_LIBS ;;
   22755 esac
   22756 fi
   22757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
   22758 printf "%s\n" "$ac_cv_lib_ws2_32_main" >&6; }
   22759 if test "x$ac_cv_lib_ws2_32_main" = xyes
   22760 then :
   22761   printf "%s\n" "#define HAVE_LIBWS2_32 1" >>confdefs.h
   22762 
   22763   LIBS="-lws2_32 $LIBS"
   22764 
   22765 fi
   22766 
   22767  fi
   22768 
   22769  # Needs to come after above checks for libsocket & libnsl for SVR4 systems
   22770  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
   22771 if test "x$ac_cv_func_getaddrinfo" = xyes
   22772 then :
   22773   printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
   22774 
   22775 fi
   22776 ac_fn_c_check_func "$LINENO" "inet_ntop" "ac_cv_func_inet_ntop"
   22777 if test "x$ac_cv_func_inet_ntop" = xyes
   22778 then :
   22779   printf "%s\n" "#define HAVE_INET_NTOP 1" >>confdefs.h
   22780 
   22781 fi
   22782 
   22783 
   22784  # Check whether --enable-ipv6 was given.
   22785 if test ${enable_ipv6+y}
   22786 then :
   22787   enableval=$enable_ipv6; IPV6CONN=$enableval
   22788 else case e in #(
   22789   e) IPV6CONN=$ac_cv_func_getaddrinfo ;;
   22790 esac
   22791 fi
   22792 
   22793  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IPv6 support should be built" >&5
   22794 printf %s "checking if IPv6 support should be built... " >&6; }
   22795  if test "$IPV6CONN" = "yes"; then
   22796 
   22797 printf "%s\n" "#define IPv6 1" >>confdefs.h
   22798 
   22799  fi
   22800  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $IPV6CONN" >&5
   22801 printf "%s\n" "$IPV6CONN" >&6; }
   22802 
   22803  # 4.3BSD-Reno added a new member to struct sockaddr_in
   22804  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "
   22805 #include <sys/types.h>
   22806 #include <sys/socket.h>
   22807 #include <netinet/in.h>
   22808 
   22809 "
   22810 if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes
   22811 then :
   22812 
   22813 printf "%s\n" "#define BSD44SOCKETS 1" >>confdefs.h
   22814 
   22815 fi
   22816 
   22817 
   22818  # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc.
   22819  # and added a type defined to be large enough to hold any sockaddr format.
   22820  ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
   22821 $ac_includes_default
   22822 #include <sys/socket.h>
   22823 
   22824 "
   22825 if test "x$ac_cv_type_socklen_t" = xyes
   22826 then :
   22827 
   22828 printf "%s\n" "#define HAVE_SOCKLEN_T 1" >>confdefs.h
   22829 
   22830 
   22831 fi
   22832 ac_fn_c_check_type "$LINENO" "struct sockaddr_storage" "ac_cv_type_struct_sockaddr_storage" "
   22833 $ac_includes_default
   22834 #include <sys/socket.h>
   22835 
   22836 "
   22837 if test "x$ac_cv_type_struct_sockaddr_storage" = xyes
   22838 then :
   22839 
   22840 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_STORAGE 1" >>confdefs.h
   22841 
   22842 
   22843 fi
   22844 
   22845 
   22846  # XPG4v2/UNIX95 added msg_control - check to see if we need to define
   22847  # _XOPEN_SOURCE to get it (such as on Solaris)
   22848  ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   22849 $ac_includes_default
   22850 #include <sys/socket.h>
   22851 
   22852 "
   22853 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
   22854 then :
   22855 
   22856 fi
   22857 
   22858  # First try for Solaris in C99 compliant mode, which requires XPG6/UNIX03
   22859  if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   22860      unset ac_cv_member_struct_msghdr_msg_control
   22861      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=600" >&5
   22862 printf "%s\n" "$as_me: trying again with _XOPEN_SOURCE=600" >&6;}
   22863      ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   22864 #define _XOPEN_SOURCE 600
   22865 $ac_includes_default
   22866 #include <sys/socket.h>
   22867 
   22868 "
   22869 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
   22870 then :
   22871 
   22872 printf "%s\n" "#define _XOPEN_SOURCE 600" >>confdefs.h
   22873 
   22874 
   22875 fi
   22876 
   22877  fi
   22878  # If that didn't work, fall back to XPG5/UNIX98 with C89
   22879  if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   22880      unset ac_cv_member_struct_msghdr_msg_control
   22881      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=500" >&5
   22882 printf "%s\n" "$as_me: trying again with _XOPEN_SOURCE=500" >&6;}
   22883      ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   22884 #define _XOPEN_SOURCE 500
   22885 $ac_includes_default
   22886 #include <sys/socket.h>
   22887 
   22888 "
   22889 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
   22890 then :
   22891 
   22892 printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
   22893 
   22894 
   22895 fi
   22896 
   22897  fi
   22898 
   22899 
   22900 
   22901  fi
   22902  case $host_os in
   22903 	solaris*)		localdef="yes" ;;
   22904 	*)			localdef="no"  ;;
   22905  esac
   22906  # Check whether --enable-local-transport was given.
   22907 if test ${enable_local_transport+y}
   22908 then :
   22909   enableval=$enable_local_transport; LOCALCONN=$enableval
   22910 else case e in #(
   22911   e) LOCALCONN=$localdef ;;
   22912 esac
   22913 fi
   22914 
   22915  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support os-specific local connections" >&5
   22916 printf %s "checking if Xtrans should support os-specific local connections... " >&6; }
   22917  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LOCALCONN" >&5
   22918 printf "%s\n" "$LOCALCONN" >&6; }
   22919  if test "$LOCALCONN" = "yes"; then
   22920 
   22921 printf "%s\n" "#define LOCALCONN 1" >>confdefs.h
   22922 
   22923  fi
   22924 
   22925  # Other functions Xtrans may need
   22926  ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
   22927 if test "x$ac_cv_func_strcasecmp" = xyes
   22928 then :
   22929   printf "%s\n" "#define HAVE_STRCASECMP 1" >>confdefs.h
   22930 
   22931 fi
   22932 ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
   22933 if test "x$ac_cv_func_strlcpy" = xyes
   22934 then :
   22935   printf "%s\n" "#define HAVE_STRLCPY 1" >>confdefs.h
   22936 
   22937 fi
   22938 
   22939 
   22940 
   22941 
   22942 # Check for dlopen
   22943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
   22944 printf %s "checking for library containing dlopen... " >&6; }
   22945 if test ${ac_cv_search_dlopen+y}
   22946 then :
   22947   printf %s "(cached) " >&6
   22948 else case e in #(
   22949   e) ac_func_search_save_LIBS=$LIBS
   22950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22951 /* end confdefs.h.  */
   22952 
   22953 /* Override any GCC internal prototype to avoid an error.
   22954    Use char because int might match the return type of a GCC
   22955    builtin and then its argument prototype would still apply.
   22956    The 'extern "C"' is for builds by C++ compilers;
   22957    although this is not generally supported in C code supporting it here
   22958    has little cost and some practical benefit (sr 110532).  */
   22959 #ifdef __cplusplus
   22960 extern "C"
   22961 #endif
   22962 char dlopen (void);
   22963 int
   22964 main (void)
   22965 {
   22966 return dlopen ();
   22967   ;
   22968   return 0;
   22969 }
   22970 _ACEOF
   22971 for ac_lib in '' dl svld
   22972 do
   22973   if test -z "$ac_lib"; then
   22974     ac_res="none required"
   22975   else
   22976     ac_res=-l$ac_lib
   22977     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   22978   fi
   22979   if ac_fn_c_try_link "$LINENO"
   22980 then :
   22981   ac_cv_search_dlopen=$ac_res
   22982 fi
   22983 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   22984     conftest$ac_exeext
   22985   if test ${ac_cv_search_dlopen+y}
   22986 then :
   22987   break
   22988 fi
   22989 done
   22990 if test ${ac_cv_search_dlopen+y}
   22991 then :
   22992 
   22993 else case e in #(
   22994   e) ac_cv_search_dlopen=no ;;
   22995 esac
   22996 fi
   22997 rm conftest.$ac_ext
   22998 LIBS=$ac_func_search_save_LIBS ;;
   22999 esac
   23000 fi
   23001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
   23002 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
   23003 ac_res=$ac_cv_search_dlopen
   23004 if test "$ac_res" != no
   23005 then :
   23006   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   23007 
   23008 fi
   23009 
   23010 if test "x$ac_cv_search_dlopen" != xno; then
   23011 
   23012 printf "%s\n" "#define HAVE_DLOPEN 1" >>confdefs.h
   23013 
   23014 	ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
   23015 if test "x$ac_cv_header_dlfcn_h" = xyes
   23016 then :
   23017   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   23018 
   23019 fi
   23020 
   23021 fi
   23022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if run-time linking is supported" >&5
   23023 printf %s "checking if run-time linking is supported... " >&6; }
   23024 if test "x$ac_cv_header_dlfcn_h" = xyes; then
   23025 	HAVE_LOADABLE_MODULES=yes
   23026 else
   23027 	HAVE_LOADABLE_MODULES=no
   23028 fi
   23029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $HAVE_LOADABLE_MODULES" >&5
   23030 printf "%s\n" "$HAVE_LOADABLE_MODULES" >&6; }
   23031 
   23032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if loadable i18n module support should be enabled" >&5
   23033 printf %s "checking if loadable i18n module support should be enabled... " >&6; }
   23034 # Check whether --enable-loadable-i18n was given.
   23035 if test ${enable_loadable_i18n+y}
   23036 then :
   23037   enableval=$enable_loadable_i18n; XLIB_LOADABLE_I18N=$enableval
   23038 else case e in #(
   23039   e) XLIB_LOADABLE_I18N="no" ;;
   23040 esac
   23041 fi
   23042 
   23043 if test x$XLIB_LOADABLE_I18N = xyes; then
   23044 	if test x$HAVE_LOADABLE_MODULES = xno; then
   23045 		as_fn_error $? "Loadable module support is required to enable loadable i18n module support" "$LINENO" 5
   23046 	fi
   23047 
   23048 printf "%s\n" "#define USE_DYNAMIC_LC 1" >>confdefs.h
   23049 
   23050 	I18N_MODULE_LIBS='${top_builddir}/src/libX11.la'
   23051 
   23052 fi
   23053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XLIB_LOADABLE_I18N" >&5
   23054 printf "%s\n" "$XLIB_LOADABLE_I18N" >&6; }
   23055 
   23056  if test x$XLIB_LOADABLE_I18N = xyes; then
   23057   XLIB_LOADABLE_I18N_TRUE=
   23058   XLIB_LOADABLE_I18N_FALSE='#'
   23059 else
   23060   XLIB_LOADABLE_I18N_TRUE='#'
   23061   XLIB_LOADABLE_I18N_FALSE=
   23062 fi
   23063 
   23064 
   23065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if loadable Xcursor library support should be enabled" >&5
   23066 printf %s "checking if loadable Xcursor library support should be enabled... " >&6; }
   23067 # Check whether --enable-loadable-xcursor was given.
   23068 if test ${enable_loadable_xcursor+y}
   23069 then :
   23070   enableval=$enable_loadable_xcursor; XLIB_LOADABLE_XCURSOR=$enableval
   23071 else case e in #(
   23072   e) XLIB_LOADABLE_XCURSOR=$HAVE_LOADABLE_MODULES ;;
   23073 esac
   23074 fi
   23075 
   23076 if test x$XLIB_LOADABLE_XCURSOR = xyes; then
   23077 
   23078 printf "%s\n" "#define USE_DYNAMIC_XCURSOR 1" >>confdefs.h
   23079 
   23080 fi
   23081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XLIB_LOADABLE_XCURSOR" >&5
   23082 printf "%s\n" "$XLIB_LOADABLE_XCURSOR" >&6; }
   23083 
   23084 # Check whether --enable-thread-safety-constructor was given.
   23085 if test ${enable_thread_safety_constructor+y}
   23086 then :
   23087   enableval=$enable_thread_safety_constructor; USE_THREAD_SAFETY_CONSTRUCTOR=$enableval
   23088 else case e in #(
   23089   e) USE_THREAD_SAFETY_CONSTRUCTOR="yes" ;;
   23090 esac
   23091 fi
   23092 
   23093 if test "x$USE_THREAD_SAFETY_CONSTRUCTOR" = "xyes"; then
   23094 
   23095 printf "%s\n" "#define USE_THREAD_SAFETY_CONSTRUCTOR 1" >>confdefs.h
   23096 
   23097 fi
   23098 
   23099 # Checks for header files.
   23100 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
   23101 if test "x$ac_cv_header_sys_filio_h" = xyes
   23102 then :
   23103   printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
   23104 
   23105 fi
   23106 ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default"
   23107 if test "x$ac_cv_header_sys_select_h" = xyes
   23108 then :
   23109   printf "%s\n" "#define HAVE_SYS_SELECT_H 1" >>confdefs.h
   23110 
   23111 fi
   23112 ac_fn_c_check_header_compile "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default"
   23113 if test "x$ac_cv_header_sys_ioctl_h" = xyes
   23114 then :
   23115   printf "%s\n" "#define HAVE_SYS_IOCTL_H 1" >>confdefs.h
   23116 
   23117 fi
   23118 ac_fn_c_check_header_compile "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
   23119 if test "x$ac_cv_header_sys_socket_h" = xyes
   23120 then :
   23121   printf "%s\n" "#define HAVE_SYS_SOCKET_H 1" >>confdefs.h
   23122 
   23123 fi
   23124 
   23125 
   23126 # Checks for typedefs, structures, and compiler characteristics.
   23127 
   23128 
   23129 
   23130     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcountl" >&5
   23131 printf %s "checking for __builtin_popcountl... " >&6; }
   23132 if test ${ax_cv_have___builtin_popcountl+y}
   23133 then :
   23134   printf %s "(cached) " >&6
   23135 else case e in #(
   23136   e)
   23137         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23138 /* end confdefs.h.  */
   23139 
   23140 int
   23141 main (void)
   23142 {
   23143 
   23144             __builtin_popcountl(0)
   23145 
   23146   ;
   23147   return 0;
   23148 }
   23149 _ACEOF
   23150 if ac_fn_c_try_link "$LINENO"
   23151 then :
   23152   ax_cv_have___builtin_popcountl=yes
   23153 else case e in #(
   23154   e) ax_cv_have___builtin_popcountl=no ;;
   23155 esac
   23156 fi
   23157 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   23158     conftest$ac_exeext conftest.$ac_ext
   23159      ;;
   23160 esac
   23161 fi
   23162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have___builtin_popcountl" >&5
   23163 printf "%s\n" "$ax_cv_have___builtin_popcountl" >&6; }
   23164 
   23165     if test yes = $ax_cv_have___builtin_popcountl
   23166 then :
   23167 
   23168 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNTL 1" >>confdefs.h
   23169 
   23170 fi
   23171 
   23172 
   23173 
   23174 
   23175 # Checks for library functions.
   23176 ac_fn_c_check_func "$LINENO" "strtol" "ac_cv_func_strtol"
   23177 if test "x$ac_cv_func_strtol" = xyes
   23178 then :
   23179   printf "%s\n" "#define HAVE_STRTOL 1" >>confdefs.h
   23180 
   23181 fi
   23182 ac_fn_c_check_func "$LINENO" "seteuid" "ac_cv_func_seteuid"
   23183 if test "x$ac_cv_func_seteuid" = xyes
   23184 then :
   23185   printf "%s\n" "#define HAVE_SETEUID 1" >>confdefs.h
   23186 
   23187 fi
   23188 
   23189 ac_fn_c_check_func "$LINENO" "reallocarray" "ac_cv_func_reallocarray"
   23190 if test "x$ac_cv_func_reallocarray" = xyes
   23191 then :
   23192   printf "%s\n" "#define HAVE_REALLOCARRAY 1" >>confdefs.h
   23193 
   23194 else case e in #(
   23195   e) case " $LIBOBJS " in
   23196   *" reallocarray.$ac_objext "* ) ;;
   23197   *) LIBOBJS="$LIBOBJS reallocarray.$ac_objext"
   23198  ;;
   23199 esac
   23200  ;;
   23201 esac
   23202 fi
   23203 
   23204 # Used in lcFile.c (see also --enable-xlocaledir settings below)
   23205 XLOCALEDIR_IS_SAFE="no"
   23206 ac_fn_check_decl "$LINENO" "issetugid" "ac_cv_have_decl_issetugid" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   23207 if test "x$ac_cv_have_decl_issetugid" = xyes
   23208 then :
   23209 
   23210 fi
   23211 ac_fn_c_check_func "$LINENO" "issetugid" "ac_cv_func_issetugid"
   23212 if test "x$ac_cv_func_issetugid" = xyes
   23213 then :
   23214 
   23215 fi
   23216 
   23217 if test "$ac_cv_have_decl_issetugid" = yes && test "$ac_cv_func_issetugid" = yes; then
   23218     XLOCALEDIR_IS_SAFE="yes"
   23219 
   23220 printf "%s\n" "#define HASSETUGID 1" >>confdefs.h
   23221 
   23222 fi
   23223 ac_fn_c_check_func "$LINENO" "getresuid" "ac_cv_func_getresuid"
   23224 if test "x$ac_cv_func_getresuid" = xyes
   23225 then :
   23226   XLOCALEDIR_IS_SAFE="yes"
   23227 
   23228 printf "%s\n" "#define HASGETRESUID 1" >>confdefs.h
   23229 
   23230 fi
   23231 
   23232 # Used in Font.c
   23233 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
   23234 if test "x$ac_cv_func_shmat" = xyes
   23235 then :
   23236 
   23237 printf "%s\n" "#define HAS_SHM 1" >>confdefs.h
   23238 
   23239 fi
   23240 
   23241 
   23242 # Checks for system services
   23243 # AC_PATH_XTRA
   23244 
   23245 # arch specific things
   23246 WCHAR32="1"
   23247 
   23248 
   23249 
   23250 # Check whether --with-launchd was given.
   23251 if test ${with_launchd+y}
   23252 then :
   23253   withval=$with_launchd; LAUNCHD=$withval
   23254 else case e in #(
   23255   e) LAUNCHD=auto ;;
   23256 esac
   23257 fi
   23258 
   23259 if test "x$LAUNCHD" = xauto; then
   23260 	unset LAUNCHD
   23261 	# Extract the first word of "launchd", so it can be a program name with args.
   23262 set dummy launchd; ac_word=$2
   23263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   23264 printf %s "checking for $ac_word... " >&6; }
   23265 if test ${ac_cv_prog_LAUNCHD+y}
   23266 then :
   23267   printf %s "(cached) " >&6
   23268 else case e in #(
   23269   e) if test -n "$LAUNCHD"; then
   23270   ac_cv_prog_LAUNCHD="$LAUNCHD" # Let the user override the test.
   23271 else
   23272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   23273 for as_dir in $PATH$PATH_SEPARATOR/sbin
   23274 do
   23275   IFS=$as_save_IFS
   23276   case $as_dir in #(((
   23277     '') as_dir=./ ;;
   23278     */) ;;
   23279     *) as_dir=$as_dir/ ;;
   23280   esac
   23281     for ac_exec_ext in '' $ac_executable_extensions; do
   23282   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   23283     ac_cv_prog_LAUNCHD="yes"
   23284     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   23285     break 2
   23286   fi
   23287 done
   23288   done
   23289 IFS=$as_save_IFS
   23290 
   23291   test -z "$ac_cv_prog_LAUNCHD" && ac_cv_prog_LAUNCHD="no"
   23292 fi ;;
   23293 esac
   23294 fi
   23295 LAUNCHD=$ac_cv_prog_LAUNCHD
   23296 if test -n "$LAUNCHD"; then
   23297   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LAUNCHD" >&5
   23298 printf "%s\n" "$LAUNCHD" >&6; }
   23299 else
   23300   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23301 printf "%s\n" "no" >&6; }
   23302 fi
   23303 
   23304 
   23305 fi
   23306 
   23307 if test "x$LAUNCHD" = xyes ; then
   23308 
   23309 printf "%s\n" "#define HAVE_LAUNCHD 1" >>confdefs.h
   23310 
   23311 
   23312 printf "%s\n" "#define TRANS_REOPEN 1" >>confdefs.h
   23313 
   23314 fi
   23315 
   23316 # Check whether --enable-xthreads was given.
   23317 if test ${enable_xthreads+y}
   23318 then :
   23319   enableval=$enable_xthreads; xthreads=$enableval
   23320 else case e in #(
   23321   e) xthreads=yes ;;
   23322 esac
   23323 fi
   23324 
   23325 
   23326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getpwuid_r in -lc" >&5
   23327 printf %s "checking for getpwuid_r in -lc... " >&6; }
   23328 if test ${ac_cv_lib_c_getpwuid_r+y}
   23329 then :
   23330   printf %s "(cached) " >&6
   23331 else case e in #(
   23332   e) ac_check_lib_save_LIBS=$LIBS
   23333 LIBS="-lc  $LIBS"
   23334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23335 /* end confdefs.h.  */
   23336 
   23337 /* Override any GCC internal prototype to avoid an error.
   23338    Use char because int might match the return type of a GCC
   23339    builtin and then its argument prototype would still apply.
   23340    The 'extern "C"' is for builds by C++ compilers;
   23341    although this is not generally supported in C code supporting it here
   23342    has little cost and some practical benefit (sr 110532).  */
   23343 #ifdef __cplusplus
   23344 extern "C"
   23345 #endif
   23346 char getpwuid_r (void);
   23347 int
   23348 main (void)
   23349 {
   23350 return getpwuid_r ();
   23351   ;
   23352   return 0;
   23353 }
   23354 _ACEOF
   23355 if ac_fn_c_try_link "$LINENO"
   23356 then :
   23357   ac_cv_lib_c_getpwuid_r=yes
   23358 else case e in #(
   23359   e) ac_cv_lib_c_getpwuid_r=no ;;
   23360 esac
   23361 fi
   23362 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   23363     conftest$ac_exeext conftest.$ac_ext
   23364 LIBS=$ac_check_lib_save_LIBS ;;
   23365 esac
   23366 fi
   23367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getpwuid_r" >&5
   23368 printf "%s\n" "$ac_cv_lib_c_getpwuid_r" >&6; }
   23369 if test "x$ac_cv_lib_c_getpwuid_r" = xyes
   23370 then :
   23371   mtsafeapi="yes"
   23372 else case e in #(
   23373   e) mtsafeapi="no" ;;
   23374 esac
   23375 fi
   23376 
   23377 
   23378 case x$xthreads in
   23379 xyes)
   23380 
   23381 printf "%s\n" "#define XTHREADS 1" >>confdefs.h
   23382 
   23383 	if test x$mtsafeapi = xyes
   23384 	then
   23385 
   23386 printf "%s\n" "#define XUSE_MTSAFE_API 1" >>confdefs.h
   23387 
   23388 	fi
   23389 	;;
   23390 *)
   23391 	;;
   23392 esac
   23393 
   23394 # XXX incomplete, please fill this in
   23395 if test x$xthreads = xyes ; then
   23396     case $host_os in
   23397     linux*|gnu*|k*bsd*-gnu)
   23398         XTHREADLIB=-lpthread ;;
   23399     netbsd*)
   23400 	XTHREAD_CFLAGS="-D_POSIX_THREAD_SAFE_FUNCTIONS"
   23401 	XTHREADLIB="-lpthread" ;;
   23402     freebsd*)
   23403         XTHREAD_CFLAGS="-D_THREAD_SAFE"
   23404         XTHREADLIB="-pthread" ;;
   23405     dragonfly*|openbsd*)
   23406         XTHREADLIB="-pthread" ;;
   23407     solaris*)
   23408 	XTHREAD_CFLAGS="-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS" ;;
   23409     esac
   23410 fi
   23411 
   23412 
   23413 
   23414 if test "x$USE_THREAD_SAFETY_CONSTRUCTOR" = "xyes"; then
   23415     USE_THREAD_LIBS="$XTHREADLIB"
   23416 else
   23417     # This should be kept in sync with libxcb
   23418     case $host_os in
   23419     linux*|darwin*|solaris*|dragonfly*|freebsd*|netbsd*) ;;
   23420          *) X11_REQUIRES="$X11_REQUIRES pthread-stubs" ;;
   23421     esac
   23422 fi
   23423 
   23424 
   23425 ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
   23426 if test "x$ac_cv_func_poll" = xyes
   23427 then :
   23428 
   23429 printf "%s\n" "#define USE_POLL 1" >>confdefs.h
   23430 
   23431 fi
   23432 
   23433 
   23434 #
   23435 # Find keysymdef.h
   23436 #
   23437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking keysym definitions" >&5
   23438 printf %s "checking keysym definitions... " >&6; }
   23439 
   23440 # Check whether --with-keysymdefdir was given.
   23441 if test ${with_keysymdefdir+y}
   23442 then :
   23443   withval=$with_keysymdefdir; KEYSYMDEFDIR=$withval
   23444 else case e in #(
   23445   e) KEYSYMDEFDIR=`$PKG_CONFIG --variable=includedir xproto`/X11 ;;
   23446 esac
   23447 fi
   23448 
   23449 
   23450 if test ! -d "$KEYSYMDEFDIR"; then
   23451 	as_fn_error $? "$KEYSYMDEFDIR doesn't exist or isn't a directory" "$LINENO" 5
   23452 fi
   23453 
   23454 FILES="keysymdef.h XF86keysym.h Sunkeysym.h DECkeysym.h HPkeysym.h"
   23455 for i in $FILES; do
   23456     if test -f "$KEYSYMDEFDIR/$i"; then
   23457             KEYSYMDEFS="$KEYSYMDEFS $KEYSYMDEFDIR/$i"
   23458     elif test "x$i" = "xkeysymdef.h"; then
   23459 	    as_fn_error $? "Cannot find keysymdef.h" "$LINENO" 5
   23460     fi
   23461 done
   23462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $KEYSYMDEFS" >&5
   23463 printf "%s\n" "$KEYSYMDEFS" >&6; }
   23464 
   23465 
   23466 # Check whether --enable-xcms was given.
   23467 if test ${enable_xcms+y}
   23468 then :
   23469   enableval=$enable_xcms; XCMS=$enableval
   23470 else case e in #(
   23471   e) XCMS=yes ;;
   23472 esac
   23473 fi
   23474 
   23475  if test x$XCMS = xyes ; then
   23476   XCMS_TRUE=
   23477   XCMS_FALSE='#'
   23478 else
   23479   XCMS_TRUE='#'
   23480   XCMS_FALSE=
   23481 fi
   23482 
   23483 if test x"$XCMS" = "xyes"; then
   23484 
   23485 printf "%s\n" "#define XCMS 1" >>confdefs.h
   23486 
   23487 fi
   23488 
   23489 # Check whether --enable-xlocale was given.
   23490 if test ${enable_xlocale+y}
   23491 then :
   23492   enableval=$enable_xlocale; XLOCALE=$enableval
   23493 else case e in #(
   23494   e) XLOCALE=yes ;;
   23495 esac
   23496 fi
   23497 
   23498 
   23499  if  test x$XLOCALE = xyes ; then
   23500   XLOCALE_TRUE=
   23501   XLOCALE_FALSE='#'
   23502 else
   23503   XLOCALE_TRUE='#'
   23504   XLOCALE_FALSE=
   23505 fi
   23506 
   23507 if test x"$XLOCALE" = "xyes"; then
   23508 
   23509 printf "%s\n" "#define XLOCALE 1" >>confdefs.h
   23510 
   23511 fi
   23512 
   23513 # This disables XLOCALEDIR.  Set it if you're using BuildLoadableXlibI18n,
   23514 # don't have either issetugid() or getresuid(), and you need to protect
   23515 # clients that are setgid or setuid to an id other than 0.
   23516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if XLOCALEDIR support should be enabled" >&5
   23517 printf %s "checking if XLOCALEDIR support should be enabled... " >&6; }
   23518 # Check whether --enable-xlocaledir was given.
   23519 if test ${enable_xlocaledir+y}
   23520 then :
   23521   enableval=$enable_xlocaledir; ENABLE_XLOCALEDIR=$enableval
   23522 else case e in #(
   23523   e) ENABLE_XLOCALEDIR=$XLOCALEDIR_IS_SAFE ;;
   23524 esac
   23525 fi
   23526 
   23527 if test "x$ENABLE_XLOCALEDIR" = "xno"; then
   23528 
   23529 printf "%s\n" "#define NO_XLOCALEDIR 1" >>confdefs.h
   23530 
   23531 fi
   23532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ENABLE_XLOCALEDIR" >&5
   23533 printf "%s\n" "$ENABLE_XLOCALEDIR" >&6; }
   23534 
   23535 # Check whether --enable-xf86bigfont was given.
   23536 if test ${enable_xf86bigfont+y}
   23537 then :
   23538   enableval=$enable_xf86bigfont; XF86BIGFONT=$enableval
   23539 else case e in #(
   23540   e) XF86BIGFONT="yes" ;;
   23541 esac
   23542 fi
   23543 
   23544 if test "x$XF86BIGFONT" = "xyes"; then
   23545 
   23546 pkg_failed=no
   23547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BIGFONT" >&5
   23548 printf %s "checking for BIGFONT... " >&6; }
   23549 
   23550 if test -n "$BIGFONT_CFLAGS"; then
   23551     pkg_cv_BIGFONT_CFLAGS="$BIGFONT_CFLAGS"
   23552  elif test -n "$PKG_CONFIG"; then
   23553     if test -n "$PKG_CONFIG" && \
   23554     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xf86bigfontproto >= 1.2.0\""; } >&5
   23555   ($PKG_CONFIG --exists --print-errors "xf86bigfontproto >= 1.2.0") 2>&5
   23556   ac_status=$?
   23557   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23558   test $ac_status = 0; }; then
   23559   pkg_cv_BIGFONT_CFLAGS=`$PKG_CONFIG --cflags "xf86bigfontproto >= 1.2.0" 2>/dev/null`
   23560 		      test "x$?" != "x0" && pkg_failed=yes
   23561 else
   23562   pkg_failed=yes
   23563 fi
   23564  else
   23565     pkg_failed=untried
   23566 fi
   23567 if test -n "$BIGFONT_LIBS"; then
   23568     pkg_cv_BIGFONT_LIBS="$BIGFONT_LIBS"
   23569  elif test -n "$PKG_CONFIG"; then
   23570     if test -n "$PKG_CONFIG" && \
   23571     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xf86bigfontproto >= 1.2.0\""; } >&5
   23572   ($PKG_CONFIG --exists --print-errors "xf86bigfontproto >= 1.2.0") 2>&5
   23573   ac_status=$?
   23574   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   23575   test $ac_status = 0; }; then
   23576   pkg_cv_BIGFONT_LIBS=`$PKG_CONFIG --libs "xf86bigfontproto >= 1.2.0" 2>/dev/null`
   23577 		      test "x$?" != "x0" && pkg_failed=yes
   23578 else
   23579   pkg_failed=yes
   23580 fi
   23581  else
   23582     pkg_failed=untried
   23583 fi
   23584 
   23585 
   23586 
   23587 if test $pkg_failed = yes; then
   23588    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23589 printf "%s\n" "no" >&6; }
   23590 
   23591 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   23592         _pkg_short_errors_supported=yes
   23593 else
   23594         _pkg_short_errors_supported=no
   23595 fi
   23596         if test $_pkg_short_errors_supported = yes; then
   23597 	        BIGFONT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xf86bigfontproto >= 1.2.0" 2>&1`
   23598         else
   23599 	        BIGFONT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xf86bigfontproto >= 1.2.0" 2>&1`
   23600         fi
   23601 	# Put the nasty error message in config.log where it belongs
   23602 	echo "$BIGFONT_PKG_ERRORS" >&5
   23603 
   23604 	XF86BIGFONT="no"
   23605 elif test $pkg_failed = untried; then
   23606      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23607 printf "%s\n" "no" >&6; }
   23608 	XF86BIGFONT="no"
   23609 else
   23610 	BIGFONT_CFLAGS=$pkg_cv_BIGFONT_CFLAGS
   23611 	BIGFONT_LIBS=$pkg_cv_BIGFONT_LIBS
   23612         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   23613 printf "%s\n" "yes" >&6; }
   23614 
   23615 printf "%s\n" "#define XF86BIGFONT 1" >>confdefs.h
   23616 
   23617 fi
   23618 fi
   23619 
   23620 # Check whether --enable-xkb was given.
   23621 if test ${enable_xkb+y}
   23622 then :
   23623   enableval=$enable_xkb; XKB=$enableval
   23624 else case e in #(
   23625   e) XKB=yes ;;
   23626 esac
   23627 fi
   23628 
   23629 
   23630  if  test x$XKB = xyes ; then
   23631   XKB_TRUE=
   23632   XKB_FALSE='#'
   23633 else
   23634   XKB_TRUE='#'
   23635   XKB_FALSE=
   23636 fi
   23637 
   23638 if test x"$XKB" = "xyes"; then
   23639    XKBPROTO_REQUIRES="kbproto"
   23640    X11_REQUIRES="${X11_REQUIRES} kbproto inputproto"
   23641 
   23642 printf "%s\n" "#define XKB 1" >>confdefs.h
   23643 
   23644 else
   23645    XKBPROTO_REQUIRES=""
   23646 fi
   23647 
   23648 
   23649 
   23650 ac_func=
   23651 for ac_item in $ac_func_c_list
   23652 do
   23653   if test $ac_func; then
   23654     ac_fn_c_check_func "$LINENO" $ac_func ac_cv_func_$ac_func
   23655     if eval test \"x\$ac_cv_func_$ac_func\" = xyes; then
   23656       echo "#define $ac_item 1" >> confdefs.h
   23657     fi
   23658     ac_func=
   23659   else
   23660     ac_func=$ac_item
   23661   fi
   23662 done
   23663 
   23664 
   23665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
   23666 printf %s "checking for working mmap... " >&6; }
   23667 if test ${ac_cv_func_mmap_fixed_mapped+y}
   23668 then :
   23669   printf %s "(cached) " >&6
   23670 else case e in #(
   23671   e) if test "$cross_compiling" = yes
   23672 then :
   23673   case "$host_os" in # ((
   23674 			  # Guess yes on platforms where we know the result.
   23675 		  linux*) ac_cv_func_mmap_fixed_mapped=yes ;;
   23676 			  # If we don't know, assume the worst.
   23677 		  *)      ac_cv_func_mmap_fixed_mapped=no ;;
   23678 		esac
   23679 else case e in #(
   23680   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23681 /* end confdefs.h.  */
   23682 $ac_includes_default
   23683 /* malloc might have been renamed as rpl_malloc. */
   23684 #undef malloc
   23685 
   23686 /* Thanks to Mike Haertel and Jim Avera for this test.
   23687    Here is a matrix of mmap possibilities:
   23688 	mmap private not fixed
   23689 	mmap private fixed at somewhere currently unmapped
   23690 	mmap private fixed at somewhere already mapped
   23691 	mmap shared not fixed
   23692 	mmap shared fixed at somewhere currently unmapped
   23693 	mmap shared fixed at somewhere already mapped
   23694    For private mappings, we should verify that changes cannot be read()
   23695    back from the file, nor mmap's back from the file at a different
   23696    address.  (There have been systems where private was not correctly
   23697    implemented like the infamous i386 svr4.0, and systems where the
   23698    VM page cache was not coherent with the file system buffer cache
   23699    like early versions of FreeBSD and possibly contemporary NetBSD.)
   23700    For shared mappings, we should conversely verify that changes get
   23701    propagated back to all the places they're supposed to be.  */
   23702 
   23703 #include <fcntl.h>
   23704 #include <sys/mman.h>
   23705 
   23706 #ifndef getpagesize
   23707 /* Prefer sysconf to the legacy getpagesize function, as getpagesize has
   23708    been removed from POSIX and is limited to page sizes that fit in 'int'.  */
   23709 # ifdef _SC_PAGESIZE
   23710 #  define getpagesize() sysconf (_SC_PAGESIZE)
   23711 # elif defined _SC_PAGE_SIZE
   23712 #  define getpagesize() sysconf (_SC_PAGE_SIZE)
   23713 # elif HAVE_GETPAGESIZE
   23714 int getpagesize ();
   23715 # else
   23716 #  ifdef HAVE_SYS_PARAM_H
   23717 #   include <sys/param.h>
   23718 #   ifdef EXEC_PAGESIZE
   23719 #    define getpagesize() EXEC_PAGESIZE
   23720 #   else /* no EXEC_PAGESIZE */
   23721 #    ifdef NBPG
   23722 #     define getpagesize() NBPG * CLSIZE
   23723 #     ifndef CLSIZE
   23724 #      define CLSIZE 1
   23725 #     endif /* no CLSIZE */
   23726 #    else /* no NBPG */
   23727 #     ifdef NBPC
   23728 #      define getpagesize() NBPC
   23729 #     else /* no NBPC */
   23730 #      ifdef PAGESIZE
   23731 #       define getpagesize() PAGESIZE
   23732 #      endif /* PAGESIZE */
   23733 #     endif /* no NBPC */
   23734 #    endif /* no NBPG */
   23735 #   endif /* no EXEC_PAGESIZE */
   23736 #  else /* no HAVE_SYS_PARAM_H */
   23737 #   define getpagesize() 8192	/* punt totally */
   23738 #  endif /* no HAVE_SYS_PARAM_H */
   23739 # endif
   23740 #endif
   23741 
   23742 int
   23743 main (void)
   23744 {
   23745   char *data, *data2, *data3;
   23746   const char *cdata2;
   23747   long i, pagesize;
   23748   int fd, fd2;
   23749 
   23750   pagesize = getpagesize ();
   23751 
   23752   /* First, make a file with some known garbage in it. */
   23753   data = (char *) malloc (pagesize);
   23754   if (!data)
   23755     return 1;
   23756   for (i = 0; i < pagesize; ++i)
   23757     *(data + i) = rand ();
   23758   umask (0);
   23759   fd = creat ("conftest.mmap", 0600);
   23760   if (fd < 0)
   23761     return 2;
   23762   if (write (fd, data, pagesize) != pagesize)
   23763     return 3;
   23764   close (fd);
   23765 
   23766   /* Next, check that the tail of a page is zero-filled.  File must have
   23767      non-zero length, otherwise we risk SIGBUS for entire page.  */
   23768   fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
   23769   if (fd2 < 0)
   23770     return 4;
   23771   cdata2 = "";
   23772   if (write (fd2, cdata2, 1) != 1)
   23773     return 5;
   23774   data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
   23775   if (data2 == MAP_FAILED)
   23776     return 6;
   23777   for (i = 0; i < pagesize; ++i)
   23778     if (*(data2 + i))
   23779       return 7;
   23780   close (fd2);
   23781   /* 'return 8;' not currently used.  */
   23782 
   23783   /* Next, try to mmap the file at a fixed address which already has
   23784      something else allocated at it.  If we can, also make sure that
   23785      we see the same garbage.  */
   23786   fd = open ("conftest.mmap", O_RDWR);
   23787   if (fd < 0)
   23788     return 9;
   23789   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
   23790 		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
   23791     return 10;
   23792   for (i = 0; i < pagesize; ++i)
   23793     if (*(data + i) != *(data2 + i))
   23794       return 11;
   23795 
   23796   /* Finally, make sure that changes to the mapped area do not
   23797      percolate back to the file as seen by read().  (This is a bug on
   23798      some variants of i386 svr4.0.)  */
   23799   for (i = 0; i < pagesize; ++i)
   23800     *(data2 + i) = *(data2 + i) + 1;
   23801   data3 = (char *) malloc (pagesize);
   23802   if (!data3)
   23803     return 12;
   23804   if (read (fd, data3, pagesize) != pagesize)
   23805     return 13;
   23806   for (i = 0; i < pagesize; ++i)
   23807     if (*(data + i) != *(data3 + i))
   23808       return 14;
   23809   close (fd);
   23810   free (data);
   23811   free (data3);
   23812   return 0;
   23813 }
   23814 _ACEOF
   23815 if ac_fn_c_try_run "$LINENO"
   23816 then :
   23817   ac_cv_func_mmap_fixed_mapped=yes
   23818 else case e in #(
   23819   e) ac_cv_func_mmap_fixed_mapped=no ;;
   23820 esac
   23821 fi
   23822 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   23823   conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   23824 esac
   23825 fi
   23826  ;;
   23827 esac
   23828 fi
   23829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
   23830 printf "%s\n" "$ac_cv_func_mmap_fixed_mapped" >&6; }
   23831 if test $ac_cv_func_mmap_fixed_mapped = yes; then
   23832 
   23833 printf "%s\n" "#define HAVE_MMAP 1" >>confdefs.h
   23834 
   23835 fi
   23836 rm -f conftest.mmap conftest.txt
   23837 
   23838 composecache_default=$ac_cv_func_mmap_fixed_mapped
   23839 ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo"
   23840 if test "x$ac_cv_func_nl_langinfo" = xyes
   23841 then :
   23842 
   23843 else case e in #(
   23844   e) composecache_default=no ;;
   23845 esac
   23846 fi
   23847 
   23848 # Check whether --enable-composecache was given.
   23849 if test ${enable_composecache+y}
   23850 then :
   23851   enableval=$enable_composecache; COMPOSECACHE=$enableval
   23852 else case e in #(
   23853   e) COMPOSECACHE=$composecache_default ;;
   23854 esac
   23855 fi
   23856 
   23857 if test x"$COMPOSECACHE" = "xyes"; then
   23858 
   23859 printf "%s\n" "#define COMPOSECACHE 1" >>confdefs.h
   23860 
   23861 fi
   23862 
   23863 # Allow checking code with lint, sparse, etc.
   23864 
   23865 
   23866 
   23867 
   23868 
   23869 # Check whether --with-lint was given.
   23870 if test ${with_lint+y}
   23871 then :
   23872   withval=$with_lint; use_lint=$withval
   23873 else case e in #(
   23874   e) use_lint=no ;;
   23875 esac
   23876 fi
   23877 
   23878 
   23879 # Obtain platform specific info like program name and options
   23880 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   23881 case $host_os in
   23882   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   23883 	lint_name=splint
   23884 	lint_options="-badflag"
   23885 	;;
   23886   *freebsd* | *netbsd*)
   23887 	lint_name=lint
   23888 	lint_options="-u -b"
   23889 	;;
   23890   *solaris*)
   23891 	lint_name=lint
   23892 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   23893 	;;
   23894 esac
   23895 
   23896 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   23897 if test "x$use_lint" = x"yes" ; then
   23898    # Extract the first word of "$lint_name", so it can be a program name with args.
   23899 set dummy $lint_name; ac_word=$2
   23900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   23901 printf %s "checking for $ac_word... " >&6; }
   23902 if test ${ac_cv_path_LINT+y}
   23903 then :
   23904   printf %s "(cached) " >&6
   23905 else case e in #(
   23906   e) case $LINT in
   23907   [\\/]* | ?:[\\/]*)
   23908   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   23909   ;;
   23910   *)
   23911   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   23912 for as_dir in $PATH
   23913 do
   23914   IFS=$as_save_IFS
   23915   case $as_dir in #(((
   23916     '') as_dir=./ ;;
   23917     */) ;;
   23918     *) as_dir=$as_dir/ ;;
   23919   esac
   23920     for ac_exec_ext in '' $ac_executable_extensions; do
   23921   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   23922     ac_cv_path_LINT="$as_dir$ac_word$ac_exec_ext"
   23923     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   23924     break 2
   23925   fi
   23926 done
   23927   done
   23928 IFS=$as_save_IFS
   23929 
   23930   ;;
   23931 esac ;;
   23932 esac
   23933 fi
   23934 LINT=$ac_cv_path_LINT
   23935 if test -n "$LINT"; then
   23936   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   23937 printf "%s\n" "$LINT" >&6; }
   23938 else
   23939   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   23940 printf "%s\n" "no" >&6; }
   23941 fi
   23942 
   23943 
   23944    if test "x$LINT" = "x"; then
   23945         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   23946    fi
   23947 elif test "x$use_lint" = x"no" ; then
   23948    if test "x$LINT" != "x"; then
   23949       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   23950 printf "%s\n" "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   23951    fi
   23952 else
   23953    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   23954 fi
   23955 
   23956 # User supplied flags override default flags
   23957 if test "x$LINT_FLAGS" != "x"; then
   23958    lint_options=$LINT_FLAGS
   23959 fi
   23960 
   23961 LINT_FLAGS=$lint_options
   23962 
   23963  if test "x$LINT" != x; then
   23964   LINT_TRUE=
   23965   LINT_FALSE='#'
   23966 else
   23967   LINT_TRUE='#'
   23968   LINT_FALSE=
   23969 fi
   23970 
   23971 
   23972 
   23973 
   23974 
   23975 # Check whether --enable-lint-library was given.
   23976 if test ${enable_lint_library+y}
   23977 then :
   23978   enableval=$enable_lint_library; make_lint_lib=$enableval
   23979 else case e in #(
   23980   e) make_lint_lib=no ;;
   23981 esac
   23982 fi
   23983 
   23984 
   23985 if test "x$make_lint_lib" = x"yes" ; then
   23986    LINTLIB=llib-lX11.ln
   23987    if test "x$LINT" = "x"; then
   23988         as_fn_error $? "Cannot make lint library without --with-lint" "$LINENO" 5
   23989    fi
   23990 elif test "x$make_lint_lib" != x"no" ; then
   23991    as_fn_error $? "--enable-lint-library expects 'yes' or 'no'." "$LINENO" 5
   23992 fi
   23993 
   23994 
   23995  if test x$make_lint_lib != xno; then
   23996   MAKE_LINT_LIB_TRUE=
   23997   MAKE_LINT_LIB_FALSE='#'
   23998 else
   23999   MAKE_LINT_LIB_TRUE='#'
   24000   MAKE_LINT_LIB_FALSE=
   24001 fi
   24002 
   24003 
   24004 
   24005 
   24006 X11_DATADIR="${datadir}/X11"
   24007 
   24008   prefix_NONE=
   24009   exec_prefix_NONE=
   24010   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   24011   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   24012   eval ax_define_dir="\"$X11_DATADIR\""
   24013   eval ax_define_dir="\"$ax_define_dir\""
   24014   X11_DATADIR="$ax_define_dir"
   24015 
   24016 
   24017 printf "%s\n" "#define X11_DATADIR \"$ax_define_dir\"" >>confdefs.h
   24018 
   24019   test "$prefix_NONE" && prefix=NONE
   24020   test "$exec_prefix_NONE" && exec_prefix=NONE
   24021 
   24022 
   24023 
   24024 X11_LIBDIR="${libdir}/X11"
   24025 
   24026   prefix_NONE=
   24027   exec_prefix_NONE=
   24028   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   24029   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   24030   eval ax_define_dir="\"$X11_LIBDIR\""
   24031   eval ax_define_dir="\"$ax_define_dir\""
   24032   X11_LIBDIR="$ax_define_dir"
   24033 
   24034 
   24035 printf "%s\n" "#define X11_LIBDIR \"$ax_define_dir\"" >>confdefs.h
   24036 
   24037   test "$prefix_NONE" && prefix=NONE
   24038   test "$exec_prefix_NONE" && exec_prefix=NONE
   24039 
   24040 
   24041 
   24042 
   24043 pkg_failed=no
   24044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
   24045 printf %s "checking for X11... " >&6; }
   24046 
   24047 if test -n "$X11_CFLAGS"; then
   24048     pkg_cv_X11_CFLAGS="$X11_CFLAGS"
   24049  elif test -n "$PKG_CONFIG"; then
   24050     if test -n "$PKG_CONFIG" && \
   24051     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$X11_REQUIRES\""; } >&5
   24052   ($PKG_CONFIG --exists --print-errors "$X11_REQUIRES") 2>&5
   24053   ac_status=$?
   24054   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   24055   test $ac_status = 0; }; then
   24056   pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "$X11_REQUIRES" 2>/dev/null`
   24057 		      test "x$?" != "x0" && pkg_failed=yes
   24058 else
   24059   pkg_failed=yes
   24060 fi
   24061  else
   24062     pkg_failed=untried
   24063 fi
   24064 if test -n "$X11_LIBS"; then
   24065     pkg_cv_X11_LIBS="$X11_LIBS"
   24066  elif test -n "$PKG_CONFIG"; then
   24067     if test -n "$PKG_CONFIG" && \
   24068     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$X11_REQUIRES\""; } >&5
   24069   ($PKG_CONFIG --exists --print-errors "$X11_REQUIRES") 2>&5
   24070   ac_status=$?
   24071   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   24072   test $ac_status = 0; }; then
   24073   pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "$X11_REQUIRES" 2>/dev/null`
   24074 		      test "x$?" != "x0" && pkg_failed=yes
   24075 else
   24076   pkg_failed=yes
   24077 fi
   24078  else
   24079     pkg_failed=untried
   24080 fi
   24081 
   24082 
   24083 
   24084 if test $pkg_failed = yes; then
   24085    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24086 printf "%s\n" "no" >&6; }
   24087 
   24088 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   24089         _pkg_short_errors_supported=yes
   24090 else
   24091         _pkg_short_errors_supported=no
   24092 fi
   24093         if test $_pkg_short_errors_supported = yes; then
   24094 	        X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$X11_REQUIRES" 2>&1`
   24095         else
   24096 	        X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$X11_REQUIRES" 2>&1`
   24097         fi
   24098 	# Put the nasty error message in config.log where it belongs
   24099 	echo "$X11_PKG_ERRORS" >&5
   24100 
   24101 	as_fn_error $? "Package requirements ($X11_REQUIRES) were not met:
   24102 
   24103 $X11_PKG_ERRORS
   24104 
   24105 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   24106 installed software in a non-standard prefix.
   24107 
   24108 Alternatively, you may set the environment variables X11_CFLAGS
   24109 and X11_LIBS to avoid the need to call pkg-config.
   24110 See the pkg-config man page for more details." "$LINENO" 5
   24111 elif test $pkg_failed = untried; then
   24112      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   24113 printf "%s\n" "no" >&6; }
   24114 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   24115 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   24116 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   24117 is in your PATH or set the PKG_CONFIG environment variable to the full
   24118 path to pkg-config.
   24119 
   24120 Alternatively, you may set the environment variables X11_CFLAGS
   24121 and X11_LIBS to avoid the need to call pkg-config.
   24122 See the pkg-config man page for more details.
   24123 
   24124 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   24125 See 'config.log' for more details" "$LINENO" 5; }
   24126 else
   24127 	X11_CFLAGS=$pkg_cv_X11_CFLAGS
   24128 	X11_LIBS=$pkg_cv_X11_LIBS
   24129         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   24130 printf "%s\n" "yes" >&6; }
   24131 
   24132 fi
   24133 X11_CFLAGS="$X11_CFLAGS $XTHREAD_CFLAGS"
   24134 
   24135 #
   24136 # Yes, it would be nice to put the locale data in
   24137 # /usr/share, but the locale stuff includes loadable
   24138 # libraries which must be located in the same directory
   24139 # as the other locale data, so for now, everything lives
   24140 # in ${libdir}
   24141 #
   24142 
   24143 X11_LOCALEDATADIR="${X11_DATADIR}/locale"
   24144 
   24145   prefix_NONE=
   24146   exec_prefix_NONE=
   24147   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   24148   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   24149   eval ax_define_dir="\"$X11_LOCALEDATADIR\""
   24150   eval ax_define_dir="\"$ax_define_dir\""
   24151   XLOCALEDATADIR="$ax_define_dir"
   24152 
   24153 
   24154 printf "%s\n" "#define XLOCALEDATADIR \"$ax_define_dir\"" >>confdefs.h
   24155 
   24156   test "$prefix_NONE" && prefix=NONE
   24157   test "$exec_prefix_NONE" && exec_prefix=NONE
   24158 
   24159 
   24160 
   24161 
   24162 # Check whether --with-locale-lib-dir was given.
   24163 if test ${with_locale_lib_dir+y}
   24164 then :
   24165   withval=$with_locale_lib_dir;  X11_LOCALELIBDIR="$withval"
   24166 else case e in #(
   24167   e)  X11_LOCALELIBDIR="${X11_LIBDIR}/locale"  ;;
   24168 esac
   24169 fi
   24170 
   24171 
   24172   prefix_NONE=
   24173   exec_prefix_NONE=
   24174   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   24175   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   24176   eval ax_define_dir="\"$X11_LOCALELIBDIR\""
   24177   eval ax_define_dir="\"$ax_define_dir\""
   24178   XLOCALELIBDIR="$ax_define_dir"
   24179 
   24180 
   24181 printf "%s\n" "#define XLOCALELIBDIR \"$ax_define_dir\"" >>confdefs.h
   24182 
   24183   test "$prefix_NONE" && prefix=NONE
   24184   test "$exec_prefix_NONE" && exec_prefix=NONE
   24185 
   24186 
   24187 
   24188 X11_LOCALEDIR="${X11_LOCALEDATADIR}"
   24189 
   24190   prefix_NONE=
   24191   exec_prefix_NONE=
   24192   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   24193   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   24194   eval ax_define_dir="\"$X11_LOCALEDIR\""
   24195   eval ax_define_dir="\"$ax_define_dir\""
   24196   XLOCALEDIR="$ax_define_dir"
   24197 
   24198 
   24199 printf "%s\n" "#define XLOCALEDIR \"$ax_define_dir\"" >>confdefs.h
   24200 
   24201   test "$prefix_NONE" && prefix=NONE
   24202   test "$exec_prefix_NONE" && exec_prefix=NONE
   24203 
   24204 
   24205 
   24206 locales="\
   24207  am_ET.UTF-8  armscii-8   C           cs_CZ.UTF-8  el_GR.UTF-8  en_US.UTF-8 \
   24208  fi_FI.UTF-8  georgian-academy        georgian-ps  ibm-cp1133   iscii-dev \
   24209  isiri-3342   iso8859-1   iso8859-10  iso8859-11   iso8859-13   iso8859-14 \
   24210  iso8859-15   iso8859-2   iso8859-3   iso8859-4    iso8859-5    iso8859-6 \
   24211  iso8859-7    iso8859-8   iso8859-9   iso8859-9e   ja           ja.JIS \
   24212  ja_JP.UTF-8  ja.SJIS     km_KH.UTF-8 ko           koi8-c       koi8-r \
   24213  koi8-u       ko_KR.UTF-8 microsoft-cp1251         microsoft-cp1255 \
   24214  microsoft-cp1256         mulelao-1   nokhchi-1    pt_BR.UTF-8  pt_PT.UTF-8 \
   24215  ru_RU.UTF-8  sr_RS.UTF-8 tatar-cyr   th_TH        th_TH.UTF-8  tscii-0 \
   24216  vi_VN.tcvn   vi_VN.viscii            zh_CN        zh_CN.gb18030 \
   24217  zh_CN.gbk    zh_CN.UTF-8 zh_HK.big5  zh_HK.big5hkscs           zh_HK.UTF-8 \
   24218  zh_TW        zh_TW.big5  zh_TW.UTF-8"
   24219 
   24220 
   24221 XKEYSYMDB="${X11_DATADIR}/XKeysymDB"
   24222 
   24223   prefix_NONE=
   24224   exec_prefix_NONE=
   24225   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   24226   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   24227   eval ax_define_dir="\"$XKEYSYMDB\""
   24228   eval ax_define_dir="\"$ax_define_dir\""
   24229   XKEYSYMDB="$ax_define_dir"
   24230 
   24231 
   24232 printf "%s\n" "#define XKEYSYMDB \"$ax_define_dir\"" >>confdefs.h
   24233 
   24234   test "$prefix_NONE" && prefix=NONE
   24235   test "$exec_prefix_NONE" && exec_prefix=NONE
   24236 
   24237 
   24238 XERRORDB="${X11_DATADIR}/XErrorDB"
   24239 
   24240   prefix_NONE=
   24241   exec_prefix_NONE=
   24242   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   24243   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   24244   eval ax_define_dir="\"$XERRORDB\""
   24245   eval ax_define_dir="\"$ax_define_dir\""
   24246   XERRORDB="$ax_define_dir"
   24247 
   24248 
   24249 printf "%s\n" "#define XERRORDB \"$ax_define_dir\"" >>confdefs.h
   24250 
   24251   test "$prefix_NONE" && prefix=NONE
   24252   test "$exec_prefix_NONE" && exec_prefix=NONE
   24253 
   24254 
   24255 
   24256 # Check whether --enable-malloc0returnsnull was given.
   24257 if test ${enable_malloc0returnsnull+y}
   24258 then :
   24259   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   24260 else case e in #(
   24261   e) MALLOC_ZERO_RETURNS_NULL=yes ;;
   24262 esac
   24263 fi
   24264 
   24265 
   24266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to act as if malloc(0) can return NULL" >&5
   24267 printf %s "checking whether to act as if malloc(0) can return NULL... " >&6; }
   24268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   24269 printf "%s\n" "$MALLOC_ZERO_RETURNS_NULL" >&6; }
   24270 
   24271 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   24272 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   24273 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   24274 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   24275 else
   24276 	MALLOC_ZERO_CFLAGS=""
   24277 	XMALLOC_ZERO_CFLAGS=""
   24278 	XTMALLOC_ZERO_CFLAGS=""
   24279 fi
   24280 
   24281 
   24282 
   24283 
   24284 
   24285 
   24286 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"
   24287 
   24288 cat >confcache <<\_ACEOF
   24289 # This file is a shell script that caches the results of configure
   24290 # tests run on this system so they can be shared between configure
   24291 # scripts and configure runs, see configure's option --config-cache.
   24292 # It is not useful on other systems.  If it contains results you don't
   24293 # want to keep, you may remove or edit it.
   24294 #
   24295 # config.status only pays attention to the cache file if you give it
   24296 # the --recheck option to rerun configure.
   24297 #
   24298 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   24299 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   24300 # following values.
   24301 
   24302 _ACEOF
   24303 
   24304 # The following way of writing the cache mishandles newlines in values,
   24305 # but we know of no workaround that is simple, portable, and efficient.
   24306 # So, we kill variables containing newlines.
   24307 # Ultrix sh set writes to stderr and can't be redirected directly,
   24308 # and sets the high bit in the cache file unless we assign to the vars.
   24309 (
   24310   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   24311     eval ac_val=\$$ac_var
   24312     case $ac_val in #(
   24313     *${as_nl}*)
   24314       case $ac_var in #(
   24315       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   24316 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   24317       esac
   24318       case $ac_var in #(
   24319       _ | IFS | as_nl) ;; #(
   24320       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   24321       *) { eval $ac_var=; unset $ac_var;} ;;
   24322       esac ;;
   24323     esac
   24324   done
   24325 
   24326   (set) 2>&1 |
   24327     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   24328     *${as_nl}ac_space=\ *)
   24329       # 'set' does not quote correctly, so add quotes: double-quote
   24330       # substitution turns \\\\ into \\, and sed turns \\ into \.
   24331       sed -n \
   24332 	"s/'/'\\\\''/g;
   24333 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   24334       ;; #(
   24335     *)
   24336       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   24337       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   24338       ;;
   24339     esac |
   24340     sort
   24341 ) |
   24342   sed '
   24343      /^ac_cv_env_/b end
   24344      t clear
   24345      :clear
   24346      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   24347      t end
   24348      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   24349      :end' >>confcache
   24350 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   24351   if test -w "$cache_file"; then
   24352     if test "x$cache_file" != "x/dev/null"; then
   24353       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   24354 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   24355       if test ! -f "$cache_file" || test -h "$cache_file"; then
   24356 	cat confcache >"$cache_file"
   24357       else
   24358         case $cache_file in #(
   24359         */* | ?:*)
   24360 	  mv -f confcache "$cache_file"$$ &&
   24361 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   24362         *)
   24363 	  mv -f confcache "$cache_file" ;;
   24364 	esac
   24365       fi
   24366     fi
   24367   else
   24368     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   24369 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   24370   fi
   24371 fi
   24372 rm -f confcache
   24373 
   24374 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   24375 # Let make expand exec_prefix.
   24376 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   24377 
   24378 DEFS=-DHAVE_CONFIG_H
   24379 
   24380 ac_libobjs=
   24381 ac_ltlibobjs=
   24382 U=
   24383 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   24384   # 1. Remove the extension, and $U if already installed.
   24385   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   24386   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   24387   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   24388   #    will be set to the directory where LIBOBJS objects are built.
   24389   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   24390   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   24391 done
   24392 LIBOBJS=$ac_libobjs
   24393 
   24394 LTLIBOBJS=$ac_ltlibobjs
   24395 
   24396 
   24397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   24398 printf %s "checking that generated files are newer than configure... " >&6; }
   24399    if test -n "$am_sleep_pid"; then
   24400      # Hide warnings about reused PIDs.
   24401      wait $am_sleep_pid 2>/dev/null
   24402    fi
   24403    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   24404 printf "%s\n" "done" >&6; }
   24405 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   24406   as_fn_error $? "conditional \"AMDEP\" was never defined.
   24407 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24408 fi
   24409 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   24410   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   24411 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24412 fi
   24413 case $enable_silent_rules in # (((
   24414   yes) AM_DEFAULT_VERBOSITY=0;;
   24415    no) AM_DEFAULT_VERBOSITY=1;;
   24416 esac
   24417 if test $am_cv_make_support_nested_variables = yes; then
   24418     AM_V='$(V)'
   24419   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   24420 else
   24421   AM_V=$AM_DEFAULT_VERBOSITY
   24422   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   24423 fi
   24424 
   24425  if test -n "$EXEEXT"; then
   24426   am__EXEEXT_TRUE=
   24427   am__EXEEXT_FALSE='#'
   24428 else
   24429   am__EXEEXT_TRUE='#'
   24430   am__EXEEXT_FALSE=
   24431 fi
   24432 
   24433 # Check whether --enable-year2038 was given.
   24434 if test ${enable_year2038+y}
   24435 then :
   24436   enableval=$enable_year2038;
   24437 fi
   24438 
   24439 if test -z "${ENABLE_SPECS_TRUE}" && test -z "${ENABLE_SPECS_FALSE}"; then
   24440   as_fn_error $? "conditional \"ENABLE_SPECS\" was never defined.
   24441 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24442 fi
   24443 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
   24444   as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
   24445 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24446 fi
   24447 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   24448   as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
   24449 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24450 fi
   24451 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
   24452   as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
   24453 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24454 fi
   24455 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
   24456   as_fn_error $? "conditional \"HAVE_XSLTPROC\" was never defined.
   24457 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24458 fi
   24459 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
   24460   as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
   24461 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24462 fi
   24463 if test -z "${HAVE_PERL_TRUE}" && test -z "${HAVE_PERL_FALSE}"; then
   24464   as_fn_error $? "conditional \"HAVE_PERL\" was never defined.
   24465 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24466 fi
   24467 if test -z "${XLIB_LOADABLE_I18N_TRUE}" && test -z "${XLIB_LOADABLE_I18N_FALSE}"; then
   24468   as_fn_error $? "conditional \"XLIB_LOADABLE_I18N\" was never defined.
   24469 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24470 fi
   24471 if test -z "${XCMS_TRUE}" && test -z "${XCMS_FALSE}"; then
   24472   as_fn_error $? "conditional \"XCMS\" was never defined.
   24473 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24474 fi
   24475 if test -z "${XLOCALE_TRUE}" && test -z "${XLOCALE_FALSE}"; then
   24476   as_fn_error $? "conditional \"XLOCALE\" was never defined.
   24477 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24478 fi
   24479 if test -z "${XKB_TRUE}" && test -z "${XKB_FALSE}"; then
   24480   as_fn_error $? "conditional \"XKB\" was never defined.
   24481 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24482 fi
   24483 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   24484   as_fn_error $? "conditional \"LINT\" was never defined.
   24485 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24486 fi
   24487 if test -z "${MAKE_LINT_LIB_TRUE}" && test -z "${MAKE_LINT_LIB_FALSE}"; then
   24488   as_fn_error $? "conditional \"MAKE_LINT_LIB\" was never defined.
   24489 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   24490 fi
   24491 
   24492 : "${CONFIG_STATUS=./config.status}"
   24493 ac_write_fail=0
   24494 ac_clean_files_save=$ac_clean_files
   24495 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   24496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   24497 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   24498 as_write_fail=0
   24499 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   24500 #! $SHELL
   24501 # Generated by $as_me.
   24502 # Run this file to recreate the current configuration.
   24503 # Compiler output produced by configure, useful for debugging
   24504 # configure, is in config.log if it exists.
   24505 
   24506 debug=false
   24507 ac_cs_recheck=false
   24508 ac_cs_silent=false
   24509 
   24510 SHELL=\${CONFIG_SHELL-$SHELL}
   24511 export SHELL
   24512 _ASEOF
   24513 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   24514 ## -------------------- ##
   24515 ## M4sh Initialization. ##
   24516 ## -------------------- ##
   24517 
   24518 # Be more Bourne compatible
   24519 DUALCASE=1; export DUALCASE # for MKS sh
   24520 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   24521 then :
   24522   emulate sh
   24523   NULLCMD=:
   24524   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   24525   # is contrary to our usage.  Disable this feature.
   24526   alias -g '${1+"$@"}'='"$@"'
   24527   setopt NO_GLOB_SUBST
   24528 else case e in #(
   24529   e) case `(set -o) 2>/dev/null` in #(
   24530   *posix*) :
   24531     set -o posix ;; #(
   24532   *) :
   24533      ;;
   24534 esac ;;
   24535 esac
   24536 fi
   24537 
   24538 
   24539 
   24540 # Reset variables that may have inherited troublesome values from
   24541 # the environment.
   24542 
   24543 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   24544 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   24545 # side effect of setting IFS to empty, thus disabling word splitting.)
   24546 # Quoting is to prevent editors from complaining about space-tab.
   24547 as_nl='
   24548 '
   24549 export as_nl
   24550 IFS=" ""	$as_nl"
   24551 
   24552 PS1='$ '
   24553 PS2='> '
   24554 PS4='+ '
   24555 
   24556 # Ensure predictable behavior from utilities with locale-dependent output.
   24557 LC_ALL=C
   24558 export LC_ALL
   24559 LANGUAGE=C
   24560 export LANGUAGE
   24561 
   24562 # We cannot yet rely on "unset" to work, but we need these variables
   24563 # to be unset--not just set to an empty or harmless value--now, to
   24564 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   24565 # also avoids known problems related to "unset" and subshell syntax
   24566 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   24567 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   24568 do eval test \${$as_var+y} \
   24569   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   24570 done
   24571 
   24572 # Ensure that fds 0, 1, and 2 are open.
   24573 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   24574 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   24575 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   24576 
   24577 # The user is always right.
   24578 if ${PATH_SEPARATOR+false} :; then
   24579   PATH_SEPARATOR=:
   24580   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   24581     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   24582       PATH_SEPARATOR=';'
   24583   }
   24584 fi
   24585 
   24586 
   24587 # Find who we are.  Look in the path if we contain no directory separator.
   24588 as_myself=
   24589 case $0 in #((
   24590   *[\\/]* ) as_myself=$0 ;;
   24591   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   24592 for as_dir in $PATH
   24593 do
   24594   IFS=$as_save_IFS
   24595   case $as_dir in #(((
   24596     '') as_dir=./ ;;
   24597     */) ;;
   24598     *) as_dir=$as_dir/ ;;
   24599   esac
   24600     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   24601   done
   24602 IFS=$as_save_IFS
   24603 
   24604      ;;
   24605 esac
   24606 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   24607 # in which case we are not to be found in the path.
   24608 if test "x$as_myself" = x; then
   24609   as_myself=$0
   24610 fi
   24611 if test ! -f "$as_myself"; then
   24612   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   24613   exit 1
   24614 fi
   24615 
   24616 
   24617 
   24618 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   24619 # ----------------------------------------
   24620 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   24621 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   24622 # script with STATUS, using 1 if that was 0.
   24623 as_fn_error ()
   24624 {
   24625   as_status=$1; test $as_status -eq 0 && as_status=1
   24626   if test "$4"; then
   24627     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   24628     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   24629   fi
   24630   printf "%s\n" "$as_me: error: $2" >&2
   24631   as_fn_exit $as_status
   24632 } # as_fn_error
   24633 
   24634 
   24635 # as_fn_set_status STATUS
   24636 # -----------------------
   24637 # Set $? to STATUS, without forking.
   24638 as_fn_set_status ()
   24639 {
   24640   return $1
   24641 } # as_fn_set_status
   24642 
   24643 # as_fn_exit STATUS
   24644 # -----------------
   24645 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   24646 as_fn_exit ()
   24647 {
   24648   set +e
   24649   as_fn_set_status $1
   24650   exit $1
   24651 } # as_fn_exit
   24652 
   24653 # as_fn_unset VAR
   24654 # ---------------
   24655 # Portably unset VAR.
   24656 as_fn_unset ()
   24657 {
   24658   { eval $1=; unset $1;}
   24659 }
   24660 as_unset=as_fn_unset
   24661 
   24662 # as_fn_append VAR VALUE
   24663 # ----------------------
   24664 # Append the text in VALUE to the end of the definition contained in VAR. Take
   24665 # advantage of any shell optimizations that allow amortized linear growth over
   24666 # repeated appends, instead of the typical quadratic growth present in naive
   24667 # implementations.
   24668 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   24669 then :
   24670   eval 'as_fn_append ()
   24671   {
   24672     eval $1+=\$2
   24673   }'
   24674 else case e in #(
   24675   e) as_fn_append ()
   24676   {
   24677     eval $1=\$$1\$2
   24678   } ;;
   24679 esac
   24680 fi # as_fn_append
   24681 
   24682 # as_fn_arith ARG...
   24683 # ------------------
   24684 # Perform arithmetic evaluation on the ARGs, and store the result in the
   24685 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   24686 # must be portable across $(()) and expr.
   24687 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   24688 then :
   24689   eval 'as_fn_arith ()
   24690   {
   24691     as_val=$(( $* ))
   24692   }'
   24693 else case e in #(
   24694   e) as_fn_arith ()
   24695   {
   24696     as_val=`expr "$@" || test $? -eq 1`
   24697   } ;;
   24698 esac
   24699 fi # as_fn_arith
   24700 
   24701 
   24702 if expr a : '\(a\)' >/dev/null 2>&1 &&
   24703    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   24704   as_expr=expr
   24705 else
   24706   as_expr=false
   24707 fi
   24708 
   24709 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   24710   as_basename=basename
   24711 else
   24712   as_basename=false
   24713 fi
   24714 
   24715 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   24716   as_dirname=dirname
   24717 else
   24718   as_dirname=false
   24719 fi
   24720 
   24721 as_me=`$as_basename -- "$0" ||
   24722 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   24723 	 X"$0" : 'X\(//\)$' \| \
   24724 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   24725 printf "%s\n" X/"$0" |
   24726     sed '/^.*\/\([^/][^/]*\)\/*$/{
   24727 	    s//\1/
   24728 	    q
   24729 	  }
   24730 	  /^X\/\(\/\/\)$/{
   24731 	    s//\1/
   24732 	    q
   24733 	  }
   24734 	  /^X\/\(\/\).*/{
   24735 	    s//\1/
   24736 	    q
   24737 	  }
   24738 	  s/.*/./; q'`
   24739 
   24740 # Avoid depending upon Character Ranges.
   24741 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   24742 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   24743 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   24744 as_cr_digits='0123456789'
   24745 as_cr_alnum=$as_cr_Letters$as_cr_digits
   24746 
   24747 
   24748 # Determine whether it's possible to make 'echo' print without a newline.
   24749 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   24750 # for compatibility with existing Makefiles.
   24751 ECHO_C= ECHO_N= ECHO_T=
   24752 case `echo -n x` in #(((((
   24753 -n*)
   24754   case `echo 'xy\c'` in
   24755   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   24756   xy)  ECHO_C='\c';;
   24757   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   24758        ECHO_T='	';;
   24759   esac;;
   24760 *)
   24761   ECHO_N='-n';;
   24762 esac
   24763 
   24764 # For backward compatibility with old third-party macros, we provide
   24765 # the shell variables $as_echo and $as_echo_n.  New code should use
   24766 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   24767 as_echo='printf %s\n'
   24768 as_echo_n='printf %s'
   24769 
   24770 rm -f conf$$ conf$$.exe conf$$.file
   24771 if test -d conf$$.dir; then
   24772   rm -f conf$$.dir/conf$$.file
   24773 else
   24774   rm -f conf$$.dir
   24775   mkdir conf$$.dir 2>/dev/null
   24776 fi
   24777 if (echo >conf$$.file) 2>/dev/null; then
   24778   if ln -s conf$$.file conf$$ 2>/dev/null; then
   24779     as_ln_s='ln -s'
   24780     # ... but there are two gotchas:
   24781     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   24782     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   24783     # In both cases, we have to default to 'cp -pR'.
   24784     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   24785       as_ln_s='cp -pR'
   24786   elif ln conf$$.file conf$$ 2>/dev/null; then
   24787     as_ln_s=ln
   24788   else
   24789     as_ln_s='cp -pR'
   24790   fi
   24791 else
   24792   as_ln_s='cp -pR'
   24793 fi
   24794 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   24795 rmdir conf$$.dir 2>/dev/null
   24796 
   24797 
   24798 # as_fn_mkdir_p
   24799 # -------------
   24800 # Create "$as_dir" as a directory, including parents if necessary.
   24801 as_fn_mkdir_p ()
   24802 {
   24803 
   24804   case $as_dir in #(
   24805   -*) as_dir=./$as_dir;;
   24806   esac
   24807   test -d "$as_dir" || eval $as_mkdir_p || {
   24808     as_dirs=
   24809     while :; do
   24810       case $as_dir in #(
   24811       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   24812       *) as_qdir=$as_dir;;
   24813       esac
   24814       as_dirs="'$as_qdir' $as_dirs"
   24815       as_dir=`$as_dirname -- "$as_dir" ||
   24816 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   24817 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   24818 	 X"$as_dir" : 'X\(//\)$' \| \
   24819 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   24820 printf "%s\n" X"$as_dir" |
   24821     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   24822 	    s//\1/
   24823 	    q
   24824 	  }
   24825 	  /^X\(\/\/\)[^/].*/{
   24826 	    s//\1/
   24827 	    q
   24828 	  }
   24829 	  /^X\(\/\/\)$/{
   24830 	    s//\1/
   24831 	    q
   24832 	  }
   24833 	  /^X\(\/\).*/{
   24834 	    s//\1/
   24835 	    q
   24836 	  }
   24837 	  s/.*/./; q'`
   24838       test -d "$as_dir" && break
   24839     done
   24840     test -z "$as_dirs" || eval "mkdir $as_dirs"
   24841   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   24842 
   24843 
   24844 } # as_fn_mkdir_p
   24845 if mkdir -p . 2>/dev/null; then
   24846   as_mkdir_p='mkdir -p "$as_dir"'
   24847 else
   24848   test -d ./-p && rmdir ./-p
   24849   as_mkdir_p=false
   24850 fi
   24851 
   24852 
   24853 # as_fn_executable_p FILE
   24854 # -----------------------
   24855 # Test if FILE is an executable regular file.
   24856 as_fn_executable_p ()
   24857 {
   24858   test -f "$1" && test -x "$1"
   24859 } # as_fn_executable_p
   24860 as_test_x='test -x'
   24861 as_executable_p=as_fn_executable_p
   24862 
   24863 # Sed expression to map a string onto a valid CPP name.
   24864 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   24865 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   24866 
   24867 # Sed expression to map a string onto a valid variable name.
   24868 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   24869 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   24870 
   24871 
   24872 exec 6>&1
   24873 ## ----------------------------------- ##
   24874 ## Main body of $CONFIG_STATUS script. ##
   24875 ## ----------------------------------- ##
   24876 _ASEOF
   24877 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   24878 
   24879 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24880 # Save the log message, to keep $0 and so on meaningful, and to
   24881 # report actual input values of CONFIG_FILES etc. instead of their
   24882 # values after options handling.
   24883 ac_log="
   24884 This file was extended by libX11 $as_me 1.8.13, which was
   24885 generated by GNU Autoconf 2.72.  Invocation command line was
   24886 
   24887   CONFIG_FILES    = $CONFIG_FILES
   24888   CONFIG_HEADERS  = $CONFIG_HEADERS
   24889   CONFIG_LINKS    = $CONFIG_LINKS
   24890   CONFIG_COMMANDS = $CONFIG_COMMANDS
   24891   $ $0 $@
   24892 
   24893 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   24894 "
   24895 
   24896 _ACEOF
   24897 
   24898 case $ac_config_files in *"
   24899 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   24900 esac
   24901 
   24902 case $ac_config_headers in *"
   24903 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   24904 esac
   24905 
   24906 
   24907 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24908 # Files that config.status was made for.
   24909 config_files="$ac_config_files"
   24910 config_headers="$ac_config_headers"
   24911 config_commands="$ac_config_commands"
   24912 
   24913 _ACEOF
   24914 
   24915 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24916 ac_cs_usage="\
   24917 '$as_me' instantiates files and other configuration actions
   24918 from templates according to the current configuration.  Unless the files
   24919 and actions are specified as TAGs, all are instantiated by default.
   24920 
   24921 Usage: $0 [OPTION]... [TAG]...
   24922 
   24923   -h, --help       print this help, then exit
   24924   -V, --version    print version number and configuration settings, then exit
   24925       --config     print configuration, then exit
   24926   -q, --quiet, --silent
   24927                    do not print progress messages
   24928   -d, --debug      don't remove temporary files
   24929       --recheck    update $as_me by reconfiguring in the same conditions
   24930       --file=FILE[:TEMPLATE]
   24931                    instantiate the configuration file FILE
   24932       --header=FILE[:TEMPLATE]
   24933                    instantiate the configuration header FILE
   24934 
   24935 Configuration files:
   24936 $config_files
   24937 
   24938 Configuration headers:
   24939 $config_headers
   24940 
   24941 Configuration commands:
   24942 $config_commands
   24943 
   24944 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues>."
   24945 
   24946 _ACEOF
   24947 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   24948 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   24949 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24950 ac_cs_config='$ac_cs_config_escaped'
   24951 ac_cs_version="\\
   24952 libX11 config.status 1.8.13
   24953 configured by $0, generated by GNU Autoconf 2.72,
   24954   with options \\"\$ac_cs_config\\"
   24955 
   24956 Copyright (C) 2023 Free Software Foundation, Inc.
   24957 This config.status script is free software; the Free Software Foundation
   24958 gives unlimited permission to copy, distribute and modify it."
   24959 
   24960 ac_pwd='$ac_pwd'
   24961 srcdir='$srcdir'
   24962 INSTALL='$INSTALL'
   24963 MKDIR_P='$MKDIR_P'
   24964 AWK='$AWK'
   24965 test -n "\$AWK" || AWK=awk
   24966 _ACEOF
   24967 
   24968 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24969 # The default lists apply if the user does not specify any file.
   24970 ac_need_defaults=:
   24971 while test $# != 0
   24972 do
   24973   case $1 in
   24974   --*=?*)
   24975     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   24976     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   24977     ac_shift=:
   24978     ;;
   24979   --*=)
   24980     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   24981     ac_optarg=
   24982     ac_shift=:
   24983     ;;
   24984   *)
   24985     ac_option=$1
   24986     ac_optarg=$2
   24987     ac_shift=shift
   24988     ;;
   24989   esac
   24990 
   24991   case $ac_option in
   24992   # Handling of the options.
   24993   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   24994     ac_cs_recheck=: ;;
   24995   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   24996     printf "%s\n" "$ac_cs_version"; exit ;;
   24997   --config | --confi | --conf | --con | --co | --c )
   24998     printf "%s\n" "$ac_cs_config"; exit ;;
   24999   --debug | --debu | --deb | --de | --d | -d )
   25000     debug=: ;;
   25001   --file | --fil | --fi | --f )
   25002     $ac_shift
   25003     case $ac_optarg in
   25004     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   25005     '') as_fn_error $? "missing file argument" ;;
   25006     esac
   25007     as_fn_append CONFIG_FILES " '$ac_optarg'"
   25008     ac_need_defaults=false;;
   25009   --header | --heade | --head | --hea )
   25010     $ac_shift
   25011     case $ac_optarg in
   25012     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   25013     esac
   25014     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   25015     ac_need_defaults=false;;
   25016   --he | --h)
   25017     # Conflict between --help and --header
   25018     as_fn_error $? "ambiguous option: '$1'
   25019 Try '$0 --help' for more information.";;
   25020   --help | --hel | -h )
   25021     printf "%s\n" "$ac_cs_usage"; exit ;;
   25022   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   25023   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   25024     ac_cs_silent=: ;;
   25025 
   25026   # This is an error.
   25027   -*) as_fn_error $? "unrecognized option: '$1'
   25028 Try '$0 --help' for more information." ;;
   25029 
   25030   *) as_fn_append ac_config_targets " $1"
   25031      ac_need_defaults=false ;;
   25032 
   25033   esac
   25034   shift
   25035 done
   25036 
   25037 ac_configure_extra_args=
   25038 
   25039 if $ac_cs_silent; then
   25040   exec 6>/dev/null
   25041   ac_configure_extra_args="$ac_configure_extra_args --silent"
   25042 fi
   25043 
   25044 _ACEOF
   25045 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25046 if \$ac_cs_recheck; then
   25047   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   25048   shift
   25049   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   25050   CONFIG_SHELL='$SHELL'
   25051   export CONFIG_SHELL
   25052   exec "\$@"
   25053 fi
   25054 
   25055 _ACEOF
   25056 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25057 exec 5>>config.log
   25058 {
   25059   echo
   25060   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   25061 ## Running $as_me. ##
   25062 _ASBOX
   25063   printf "%s\n" "$ac_log"
   25064 } >&5
   25065 
   25066 _ACEOF
   25067 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25068 #
   25069 # INIT-COMMANDS
   25070 #
   25071 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   25072 
   25073 
   25074 # The HP-UX ksh and POSIX shell print the target directory to stdout
   25075 # if CDPATH is set.
   25076 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   25077 
   25078 sed_quote_subst='$sed_quote_subst'
   25079 double_quote_subst='$double_quote_subst'
   25080 delay_variable_subst='$delay_variable_subst'
   25081 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   25082 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   25083 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   25084 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   25085 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   25086 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   25087 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   25088 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   25089 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   25090 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   25091 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   25092 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   25093 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   25094 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   25095 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   25096 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   25097 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   25098 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   25099 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   25100 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   25101 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   25102 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   25103 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   25104 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   25105 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   25106 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   25107 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   25108 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   25109 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   25110 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   25111 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   25112 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   25113 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   25114 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   25115 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   25116 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   25117 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   25118 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   25119 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   25120 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   25121 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   25122 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   25123 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   25124 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   25125 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   25126 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   25127 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   25128 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   25129 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   25130 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   25131 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   25132 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   25133 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   25134 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   25135 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   25136 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   25137 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   25138 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   25139 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   25140 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   25141 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"`'
   25142 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   25143 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   25144 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   25145 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   25146 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   25147 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   25148 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   25149 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   25150 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   25151 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   25152 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   25153 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   25154 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   25155 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   25156 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   25157 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   25158 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   25159 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   25160 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   25161 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   25162 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   25163 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   25164 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   25165 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   25166 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   25167 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   25168 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   25169 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   25170 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   25171 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   25172 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   25173 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   25174 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   25175 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   25176 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   25177 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   25178 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   25179 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   25180 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   25181 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   25182 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   25183 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   25184 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   25185 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   25186 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   25187 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   25188 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   25189 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   25190 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   25191 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   25192 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   25193 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   25194 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   25195 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   25196 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   25197 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   25198 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   25199 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   25200 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   25201 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   25202 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   25203 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   25204 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   25205 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   25206 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   25207 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   25208 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   25209 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   25210 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   25211 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   25212 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   25213 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   25214 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   25215 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   25216 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   25217 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   25218 
   25219 LTCC='$LTCC'
   25220 LTCFLAGS='$LTCFLAGS'
   25221 compiler='$compiler_DEFAULT'
   25222 
   25223 # A function that is used when there is no print builtin or printf.
   25224 func_fallback_echo ()
   25225 {
   25226   eval 'cat <<_LTECHO_EOF
   25227 \$1
   25228 _LTECHO_EOF'
   25229 }
   25230 
   25231 # Quote evaled strings.
   25232 for var in SHELL \
   25233 ECHO \
   25234 PATH_SEPARATOR \
   25235 SED \
   25236 GREP \
   25237 EGREP \
   25238 FGREP \
   25239 LD \
   25240 NM \
   25241 LN_S \
   25242 lt_SP2NL \
   25243 lt_NL2SP \
   25244 reload_flag \
   25245 FILECMD \
   25246 OBJDUMP \
   25247 deplibs_check_method \
   25248 file_magic_cmd \
   25249 file_magic_glob \
   25250 want_nocaseglob \
   25251 DLLTOOL \
   25252 sharedlib_from_linklib_cmd \
   25253 AR \
   25254 archiver_list_spec \
   25255 STRIP \
   25256 RANLIB \
   25257 CC \
   25258 CFLAGS \
   25259 compiler \
   25260 lt_cv_sys_global_symbol_pipe \
   25261 lt_cv_sys_global_symbol_to_cdecl \
   25262 lt_cv_sys_global_symbol_to_import \
   25263 lt_cv_sys_global_symbol_to_c_name_address \
   25264 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   25265 lt_cv_nm_interface \
   25266 nm_file_list_spec \
   25267 lt_cv_truncate_bin \
   25268 lt_prog_compiler_no_builtin_flag \
   25269 lt_prog_compiler_pic \
   25270 lt_prog_compiler_wl \
   25271 lt_prog_compiler_static \
   25272 lt_cv_prog_compiler_c_o \
   25273 need_locks \
   25274 MANIFEST_TOOL \
   25275 DSYMUTIL \
   25276 NMEDIT \
   25277 LIPO \
   25278 OTOOL \
   25279 OTOOL64 \
   25280 shrext_cmds \
   25281 export_dynamic_flag_spec \
   25282 whole_archive_flag_spec \
   25283 compiler_needs_object \
   25284 with_gnu_ld \
   25285 allow_undefined_flag \
   25286 no_undefined_flag \
   25287 hardcode_libdir_flag_spec \
   25288 hardcode_libdir_separator \
   25289 exclude_expsyms \
   25290 include_expsyms \
   25291 file_list_spec \
   25292 variables_saved_for_relink \
   25293 libname_spec \
   25294 library_names_spec \
   25295 soname_spec \
   25296 install_override_mode \
   25297 finish_eval \
   25298 old_striplib \
   25299 striplib; do
   25300     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   25301     *[\\\\\\\`\\"\\\$]*)
   25302       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   25303       ;;
   25304     *)
   25305       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   25306       ;;
   25307     esac
   25308 done
   25309 
   25310 # Double-quote double-evaled strings.
   25311 for var in reload_cmds \
   25312 old_postinstall_cmds \
   25313 old_postuninstall_cmds \
   25314 old_archive_cmds \
   25315 extract_expsyms_cmds \
   25316 old_archive_from_new_cmds \
   25317 old_archive_from_expsyms_cmds \
   25318 archive_cmds \
   25319 archive_expsym_cmds \
   25320 module_cmds \
   25321 module_expsym_cmds \
   25322 export_symbols_cmds \
   25323 prelink_cmds \
   25324 postlink_cmds \
   25325 postinstall_cmds \
   25326 postuninstall_cmds \
   25327 finish_cmds \
   25328 sys_lib_search_path_spec \
   25329 configure_time_dlsearch_path \
   25330 configure_time_lt_sys_library_path; do
   25331     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   25332     *[\\\\\\\`\\"\\\$]*)
   25333       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   25334       ;;
   25335     *)
   25336       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   25337       ;;
   25338     esac
   25339 done
   25340 
   25341 ac_aux_dir='$ac_aux_dir'
   25342 
   25343 # See if we are running on zsh, and set the options that allow our
   25344 # commands through without removal of \ escapes INIT.
   25345 if test -n "\${ZSH_VERSION+set}"; then
   25346    setopt NO_GLOB_SUBST
   25347 fi
   25348 
   25349 
   25350     PACKAGE='$PACKAGE'
   25351     VERSION='$VERSION'
   25352     RM='$RM'
   25353     ofile='$ofile'
   25354 
   25355 
   25356 
   25357 
   25358 _ACEOF
   25359 
   25360 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25361 
   25362 # Handling of arguments.
   25363 for ac_config_target in $ac_config_targets
   25364 do
   25365   case $ac_config_target in
   25366     "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
   25367     "include/X11/XlibConf.h") CONFIG_HEADERS="$CONFIG_HEADERS include/X11/XlibConf.h" ;;
   25368     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   25369     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   25370     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   25371     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   25372     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   25373     "man/xkb/Makefile") CONFIG_FILES="$CONFIG_FILES man/xkb/Makefile" ;;
   25374     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   25375     "src/util/Makefile") CONFIG_FILES="$CONFIG_FILES src/util/Makefile" ;;
   25376     "src/xcms/Makefile") CONFIG_FILES="$CONFIG_FILES src/xcms/Makefile" ;;
   25377     "src/xlibi18n/Makefile") CONFIG_FILES="$CONFIG_FILES src/xlibi18n/Makefile" ;;
   25378     "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
   25379     "modules/im/Makefile") CONFIG_FILES="$CONFIG_FILES modules/im/Makefile" ;;
   25380     "modules/im/ximcp/Makefile") CONFIG_FILES="$CONFIG_FILES modules/im/ximcp/Makefile" ;;
   25381     "modules/lc/Makefile") CONFIG_FILES="$CONFIG_FILES modules/lc/Makefile" ;;
   25382     "modules/lc/def/Makefile") CONFIG_FILES="$CONFIG_FILES modules/lc/def/Makefile" ;;
   25383     "modules/lc/gen/Makefile") CONFIG_FILES="$CONFIG_FILES modules/lc/gen/Makefile" ;;
   25384     "modules/lc/Utf8/Makefile") CONFIG_FILES="$CONFIG_FILES modules/lc/Utf8/Makefile" ;;
   25385     "modules/om/Makefile") CONFIG_FILES="$CONFIG_FILES modules/om/Makefile" ;;
   25386     "modules/om/generic/Makefile") CONFIG_FILES="$CONFIG_FILES modules/om/generic/Makefile" ;;
   25387     "src/xkb/Makefile") CONFIG_FILES="$CONFIG_FILES src/xkb/Makefile" ;;
   25388     "nls/Makefile") CONFIG_FILES="$CONFIG_FILES nls/Makefile" ;;
   25389     "specs/Makefile") CONFIG_FILES="$CONFIG_FILES specs/Makefile" ;;
   25390     "specs/i18n/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/Makefile" ;;
   25391     "specs/i18n/compose/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/compose/Makefile" ;;
   25392     "specs/i18n/framework/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/framework/Makefile" ;;
   25393     "specs/i18n/localedb/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/localedb/Makefile" ;;
   25394     "specs/i18n/trans/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/trans/Makefile" ;;
   25395     "specs/libX11/Makefile") CONFIG_FILES="$CONFIG_FILES specs/libX11/Makefile" ;;
   25396     "specs/XIM/Makefile") CONFIG_FILES="$CONFIG_FILES specs/XIM/Makefile" ;;
   25397     "specs/XKB/Makefile") CONFIG_FILES="$CONFIG_FILES specs/XKB/Makefile" ;;
   25398     "x11.pc") CONFIG_FILES="$CONFIG_FILES x11.pc" ;;
   25399     "x11-xcb.pc") CONFIG_FILES="$CONFIG_FILES x11-xcb.pc" ;;
   25400 
   25401   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   25402   esac
   25403 done
   25404 
   25405 
   25406 # If the user did not use the arguments to specify the items to instantiate,
   25407 # then the envvar interface is used.  Set only those that are not.
   25408 # We use the long form for the default assignment because of an extremely
   25409 # bizarre bug on SunOS 4.1.3.
   25410 if $ac_need_defaults; then
   25411   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   25412   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   25413   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   25414 fi
   25415 
   25416 # Have a temporary directory for convenience.  Make it in the build tree
   25417 # simply because there is no reason against having it here, and in addition,
   25418 # creating and moving files from /tmp can sometimes cause problems.
   25419 # Hook for its removal unless debugging.
   25420 # Note that there is a small window in which the directory will not be cleaned:
   25421 # after its creation but before its name has been assigned to '$tmp'.
   25422 $debug ||
   25423 {
   25424   tmp= ac_tmp=
   25425   trap 'exit_status=$?
   25426   : "${ac_tmp:=$tmp}"
   25427   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   25428 ' 0
   25429   trap 'as_fn_exit 1' 1 2 13 15
   25430 }
   25431 # Create a (secure) tmp directory for tmp files.
   25432 
   25433 {
   25434   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   25435   test -d "$tmp"
   25436 }  ||
   25437 {
   25438   tmp=./conf$$-$RANDOM
   25439   (umask 077 && mkdir "$tmp")
   25440 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   25441 ac_tmp=$tmp
   25442 
   25443 # Set up the scripts for CONFIG_FILES section.
   25444 # No need to generate them if there are no CONFIG_FILES.
   25445 # This happens for instance with './config.status config.h'.
   25446 if test -n "$CONFIG_FILES"; then
   25447 
   25448 
   25449 ac_cr=`echo X | tr X '\015'`
   25450 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   25451 # But we know of no other shell where ac_cr would be empty at this
   25452 # point, so we can use a bashism as a fallback.
   25453 if test "x$ac_cr" = x; then
   25454   eval ac_cr=\$\'\\r\'
   25455 fi
   25456 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   25457 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   25458   ac_cs_awk_cr='\\r'
   25459 else
   25460   ac_cs_awk_cr=$ac_cr
   25461 fi
   25462 
   25463 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   25464 _ACEOF
   25465 
   25466 
   25467 {
   25468   echo "cat >conf$$subs.awk <<_ACEOF" &&
   25469   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   25470   echo "_ACEOF"
   25471 } >conf$$subs.sh ||
   25472   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   25473 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   25474 ac_delim='%!_!# '
   25475 for ac_last_try in false false false false false :; do
   25476   . ./conf$$subs.sh ||
   25477     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   25478 
   25479   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   25480   if test $ac_delim_n = $ac_delim_num; then
   25481     break
   25482   elif $ac_last_try; then
   25483     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   25484   else
   25485     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   25486   fi
   25487 done
   25488 rm -f conf$$subs.sh
   25489 
   25490 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25491 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   25492 _ACEOF
   25493 sed -n '
   25494 h
   25495 s/^/S["/; s/!.*/"]=/
   25496 p
   25497 g
   25498 s/^[^!]*!//
   25499 :repl
   25500 t repl
   25501 s/'"$ac_delim"'$//
   25502 t delim
   25503 :nl
   25504 h
   25505 s/\(.\{148\}\)..*/\1/
   25506 t more1
   25507 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   25508 p
   25509 n
   25510 b repl
   25511 :more1
   25512 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   25513 p
   25514 g
   25515 s/.\{148\}//
   25516 t nl
   25517 :delim
   25518 h
   25519 s/\(.\{148\}\)..*/\1/
   25520 t more2
   25521 s/["\\]/\\&/g; s/^/"/; s/$/"/
   25522 p
   25523 b
   25524 :more2
   25525 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   25526 p
   25527 g
   25528 s/.\{148\}//
   25529 t delim
   25530 ' <conf$$subs.awk | sed '
   25531 /^[^""]/{
   25532   N
   25533   s/\n//
   25534 }
   25535 ' >>$CONFIG_STATUS || ac_write_fail=1
   25536 rm -f conf$$subs.awk
   25537 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25538 _ACAWK
   25539 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   25540   for (key in S) S_is_set[key] = 1
   25541   FS = ""
   25542 
   25543 }
   25544 {
   25545   line = $ 0
   25546   nfields = split(line, field, "@")
   25547   substed = 0
   25548   len = length(field[1])
   25549   for (i = 2; i < nfields; i++) {
   25550     key = field[i]
   25551     keylen = length(key)
   25552     if (S_is_set[key]) {
   25553       value = S[key]
   25554       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   25555       len += length(value) + length(field[++i])
   25556       substed = 1
   25557     } else
   25558       len += 1 + keylen
   25559   }
   25560 
   25561   print line
   25562 }
   25563 
   25564 _ACAWK
   25565 _ACEOF
   25566 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25567 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   25568   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   25569 else
   25570   cat
   25571 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   25572   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   25573 _ACEOF
   25574 
   25575 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   25576 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   25577 # trailing colons and then remove the whole line if VPATH becomes empty
   25578 # (actually we leave an empty line to preserve line numbers).
   25579 if test "x$srcdir" = x.; then
   25580   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   25581 h
   25582 s///
   25583 s/^/:/
   25584 s/[	 ]*$/:/
   25585 s/:\$(srcdir):/:/g
   25586 s/:\${srcdir}:/:/g
   25587 s/:@srcdir@:/:/g
   25588 s/^:*//
   25589 s/:*$//
   25590 x
   25591 s/\(=[	 ]*\).*/\1/
   25592 G
   25593 s/\n//
   25594 s/^[^=]*=[	 ]*$//
   25595 }'
   25596 fi
   25597 
   25598 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25599 fi # test -n "$CONFIG_FILES"
   25600 
   25601 # Set up the scripts for CONFIG_HEADERS section.
   25602 # No need to generate them if there are no CONFIG_HEADERS.
   25603 # This happens for instance with './config.status Makefile'.
   25604 if test -n "$CONFIG_HEADERS"; then
   25605 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   25606 BEGIN {
   25607 _ACEOF
   25608 
   25609 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   25610 # here-document in config.status, that substitutes the proper values into
   25611 # config.h.in to produce config.h.
   25612 
   25613 # Create a delimiter string that does not exist in confdefs.h, to ease
   25614 # handling of long lines.
   25615 ac_delim='%!_!# '
   25616 for ac_last_try in false false :; do
   25617   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   25618   if test -z "$ac_tt"; then
   25619     break
   25620   elif $ac_last_try; then
   25621     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   25622   else
   25623     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   25624   fi
   25625 done
   25626 
   25627 # For the awk script, D is an array of macro values keyed by name,
   25628 # likewise P contains macro parameters if any.  Preserve backslash
   25629 # newline sequences.
   25630 
   25631 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   25632 sed -n '
   25633 s/.\{148\}/&'"$ac_delim"'/g
   25634 t rset
   25635 :rset
   25636 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   25637 t def
   25638 d
   25639 :def
   25640 s/\\$//
   25641 t bsnl
   25642 s/["\\]/\\&/g
   25643 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   25644 D["\1"]=" \3"/p
   25645 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   25646 d
   25647 :bsnl
   25648 s/["\\]/\\&/g
   25649 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   25650 D["\1"]=" \3\\\\\\n"\\/p
   25651 t cont
   25652 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   25653 t cont
   25654 d
   25655 :cont
   25656 n
   25657 s/.\{148\}/&'"$ac_delim"'/g
   25658 t clear
   25659 :clear
   25660 s/\\$//
   25661 t bsnlc
   25662 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   25663 d
   25664 :bsnlc
   25665 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   25666 b cont
   25667 ' <confdefs.h | sed '
   25668 s/'"$ac_delim"'/"\\\
   25669 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   25670 
   25671 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25672   for (key in D) D_is_set[key] = 1
   25673   FS = ""
   25674 }
   25675 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   25676   line = \$ 0
   25677   split(line, arg, " ")
   25678   if (arg[1] == "#") {
   25679     defundef = arg[2]
   25680     mac1 = arg[3]
   25681   } else {
   25682     defundef = substr(arg[1], 2)
   25683     mac1 = arg[2]
   25684   }
   25685   split(mac1, mac2, "(") #)
   25686   macro = mac2[1]
   25687   prefix = substr(line, 1, index(line, defundef) - 1)
   25688   if (D_is_set[macro]) {
   25689     # Preserve the white space surrounding the "#".
   25690     print prefix "define", macro P[macro] D[macro]
   25691     next
   25692   } else {
   25693     # Replace #undef with comments.  This is necessary, for example,
   25694     # in the case of _POSIX_SOURCE, which is predefined and required
   25695     # on some systems where configure will not decide to define it.
   25696     if (defundef == "undef") {
   25697       print "/*", prefix defundef, macro, "*/"
   25698       next
   25699     }
   25700   }
   25701 }
   25702 { print }
   25703 _ACAWK
   25704 _ACEOF
   25705 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25706   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   25707 fi # test -n "$CONFIG_HEADERS"
   25708 
   25709 
   25710 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   25711 shift
   25712 for ac_tag
   25713 do
   25714   case $ac_tag in
   25715   :[FHLC]) ac_mode=$ac_tag; continue;;
   25716   esac
   25717   case $ac_mode$ac_tag in
   25718   :[FHL]*:*);;
   25719   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   25720   :[FH]-) ac_tag=-:-;;
   25721   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   25722   esac
   25723   ac_save_IFS=$IFS
   25724   IFS=:
   25725   set x $ac_tag
   25726   IFS=$ac_save_IFS
   25727   shift
   25728   ac_file=$1
   25729   shift
   25730 
   25731   case $ac_mode in
   25732   :L) ac_source=$1;;
   25733   :[FH])
   25734     ac_file_inputs=
   25735     for ac_f
   25736     do
   25737       case $ac_f in
   25738       -) ac_f="$ac_tmp/stdin";;
   25739       *) # Look for the file first in the build tree, then in the source tree
   25740 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   25741 	 # because $ac_f cannot contain ':'.
   25742 	 test -f "$ac_f" ||
   25743 	   case $ac_f in
   25744 	   [\\/$]*) false;;
   25745 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   25746 	   esac ||
   25747 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   25748       esac
   25749       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   25750       as_fn_append ac_file_inputs " '$ac_f'"
   25751     done
   25752 
   25753     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   25754     # use $as_me), people would be surprised to read:
   25755     #    /* config.h.  Generated by config.status.  */
   25756     configure_input='Generated from '`
   25757 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   25758 	`' by configure.'
   25759     if test x"$ac_file" != x-; then
   25760       configure_input="$ac_file.  $configure_input"
   25761       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   25762 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   25763     fi
   25764     # Neutralize special characters interpreted by sed in replacement strings.
   25765     case $configure_input in #(
   25766     *\&* | *\|* | *\\* )
   25767        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   25768        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   25769     *) ac_sed_conf_input=$configure_input;;
   25770     esac
   25771 
   25772     case $ac_tag in
   25773     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   25774       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   25775     esac
   25776     ;;
   25777   esac
   25778 
   25779   ac_dir=`$as_dirname -- "$ac_file" ||
   25780 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   25781 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   25782 	 X"$ac_file" : 'X\(//\)$' \| \
   25783 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   25784 printf "%s\n" X"$ac_file" |
   25785     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   25786 	    s//\1/
   25787 	    q
   25788 	  }
   25789 	  /^X\(\/\/\)[^/].*/{
   25790 	    s//\1/
   25791 	    q
   25792 	  }
   25793 	  /^X\(\/\/\)$/{
   25794 	    s//\1/
   25795 	    q
   25796 	  }
   25797 	  /^X\(\/\).*/{
   25798 	    s//\1/
   25799 	    q
   25800 	  }
   25801 	  s/.*/./; q'`
   25802   as_dir="$ac_dir"; as_fn_mkdir_p
   25803   ac_builddir=.
   25804 
   25805 case "$ac_dir" in
   25806 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   25807 *)
   25808   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   25809   # A ".." for each directory in $ac_dir_suffix.
   25810   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   25811   case $ac_top_builddir_sub in
   25812   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   25813   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   25814   esac ;;
   25815 esac
   25816 ac_abs_top_builddir=$ac_pwd
   25817 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   25818 # for backward compatibility:
   25819 ac_top_builddir=$ac_top_build_prefix
   25820 
   25821 case $srcdir in
   25822   .)  # We are building in place.
   25823     ac_srcdir=.
   25824     ac_top_srcdir=$ac_top_builddir_sub
   25825     ac_abs_top_srcdir=$ac_pwd ;;
   25826   [\\/]* | ?:[\\/]* )  # Absolute name.
   25827     ac_srcdir=$srcdir$ac_dir_suffix;
   25828     ac_top_srcdir=$srcdir
   25829     ac_abs_top_srcdir=$srcdir ;;
   25830   *) # Relative name.
   25831     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   25832     ac_top_srcdir=$ac_top_build_prefix$srcdir
   25833     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   25834 esac
   25835 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   25836 
   25837 
   25838   case $ac_mode in
   25839   :F)
   25840   #
   25841   # CONFIG_FILE
   25842   #
   25843 
   25844   case $INSTALL in
   25845   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   25846   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   25847   esac
   25848   ac_MKDIR_P=$MKDIR_P
   25849   case $MKDIR_P in
   25850   [\\/$]* | ?:[\\/]* ) ;;
   25851   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   25852   esac
   25853 _ACEOF
   25854 
   25855 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25856 # If the template does not know about datarootdir, expand it.
   25857 # FIXME: This hack should be removed a few years after 2.60.
   25858 ac_datarootdir_hack=; ac_datarootdir_seen=
   25859 ac_sed_dataroot='
   25860 /datarootdir/ {
   25861   p
   25862   q
   25863 }
   25864 /@datadir@/p
   25865 /@docdir@/p
   25866 /@infodir@/p
   25867 /@localedir@/p
   25868 /@mandir@/p'
   25869 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   25870 *datarootdir*) ac_datarootdir_seen=yes;;
   25871 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   25872   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   25873 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   25874 _ACEOF
   25875 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25876   ac_datarootdir_hack='
   25877   s&@datadir@&$datadir&g
   25878   s&@docdir@&$docdir&g
   25879   s&@infodir@&$infodir&g
   25880   s&@localedir@&$localedir&g
   25881   s&@mandir@&$mandir&g
   25882   s&\\\${datarootdir}&$datarootdir&g' ;;
   25883 esac
   25884 _ACEOF
   25885 
   25886 # Neutralize VPATH when '$srcdir' = '.'.
   25887 # Shell code in configure.ac might set extrasub.
   25888 # FIXME: do we really want to maintain this feature?
   25889 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25890 ac_sed_extra="$ac_vpsub
   25891 $extrasub
   25892 _ACEOF
   25893 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25894 :t
   25895 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   25896 s|@configure_input@|$ac_sed_conf_input|;t t
   25897 s&@top_builddir@&$ac_top_builddir_sub&;t t
   25898 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   25899 s&@srcdir@&$ac_srcdir&;t t
   25900 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   25901 s&@top_srcdir@&$ac_top_srcdir&;t t
   25902 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   25903 s&@builddir@&$ac_builddir&;t t
   25904 s&@abs_builddir@&$ac_abs_builddir&;t t
   25905 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   25906 s&@INSTALL@&$ac_INSTALL&;t t
   25907 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   25908 $ac_datarootdir_hack
   25909 "
   25910 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   25911   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   25912 
   25913 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   25914   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   25915   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   25916       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   25917   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   25918 which seems to be undefined.  Please make sure it is defined" >&5
   25919 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   25920 which seems to be undefined.  Please make sure it is defined" >&2;}
   25921 
   25922   rm -f "$ac_tmp/stdin"
   25923   case $ac_file in
   25924   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   25925   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   25926   esac \
   25927   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   25928  ;;
   25929   :H)
   25930   #
   25931   # CONFIG_HEADER
   25932   #
   25933   if test x"$ac_file" != x-; then
   25934     {
   25935       printf "%s\n" "/* $configure_input  */" >&1 \
   25936       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   25937     } >"$ac_tmp/config.h" \
   25938       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   25939     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   25940       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   25941 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   25942     else
   25943       rm -f "$ac_file"
   25944       mv "$ac_tmp/config.h" "$ac_file" \
   25945 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   25946     fi
   25947   else
   25948     printf "%s\n" "/* $configure_input  */" >&1 \
   25949       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   25950       || as_fn_error $? "could not create -" "$LINENO" 5
   25951   fi
   25952 # Compute "$ac_file"'s index in $config_headers.
   25953 _am_arg="$ac_file"
   25954 _am_stamp_count=1
   25955 for _am_header in $config_headers :; do
   25956   case $_am_header in
   25957     $_am_arg | $_am_arg:* )
   25958       break ;;
   25959     * )
   25960       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   25961   esac
   25962 done
   25963 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   25964 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   25965 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   25966 	 X"$_am_arg" : 'X\(//\)$' \| \
   25967 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   25968 printf "%s\n" X"$_am_arg" |
   25969     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   25970 	    s//\1/
   25971 	    q
   25972 	  }
   25973 	  /^X\(\/\/\)[^/].*/{
   25974 	    s//\1/
   25975 	    q
   25976 	  }
   25977 	  /^X\(\/\/\)$/{
   25978 	    s//\1/
   25979 	    q
   25980 	  }
   25981 	  /^X\(\/\).*/{
   25982 	    s//\1/
   25983 	    q
   25984 	  }
   25985 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   25986  ;;
   25987 
   25988   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   25989 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   25990  ;;
   25991   esac
   25992 
   25993 
   25994   case $ac_file$ac_mode in
   25995     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   25996   # Older Autoconf quotes --file arguments for eval, but not when files
   25997   # are listed without --file.  Let's play safe and only enable the eval
   25998   # if we detect the quoting.
   25999   # TODO: see whether this extra hack can be removed once we start
   26000   # requiring Autoconf 2.70 or later.
   26001   case $CONFIG_FILES in #(
   26002   *\'*) :
   26003     eval set x "$CONFIG_FILES" ;; #(
   26004   *) :
   26005     set x $CONFIG_FILES ;; #(
   26006   *) :
   26007      ;;
   26008 esac
   26009   shift
   26010   # Used to flag and report bootstrapping failures.
   26011   am_rc=0
   26012   for am_mf
   26013   do
   26014     # Strip MF so we end up with the name of the file.
   26015     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   26016     # Check whether this is an Automake generated Makefile which includes
   26017     # dependency-tracking related rules and includes.
   26018     # Grep'ing the whole file directly is not great: AIX grep has a line
   26019     # limit of 2048, but all sed's we know have understand at least 4000.
   26020     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   26021       || continue
   26022     am_dirpart=`$as_dirname -- "$am_mf" ||
   26023 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   26024 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   26025 	 X"$am_mf" : 'X\(//\)$' \| \
   26026 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   26027 printf "%s\n" X"$am_mf" |
   26028     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   26029 	    s//\1/
   26030 	    q
   26031 	  }
   26032 	  /^X\(\/\/\)[^/].*/{
   26033 	    s//\1/
   26034 	    q
   26035 	  }
   26036 	  /^X\(\/\/\)$/{
   26037 	    s//\1/
   26038 	    q
   26039 	  }
   26040 	  /^X\(\/\).*/{
   26041 	    s//\1/
   26042 	    q
   26043 	  }
   26044 	  s/.*/./; q'`
   26045     am_filepart=`$as_basename -- "$am_mf" ||
   26046 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   26047 	 X"$am_mf" : 'X\(//\)$' \| \
   26048 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   26049 printf "%s\n" X/"$am_mf" |
   26050     sed '/^.*\/\([^/][^/]*\)\/*$/{
   26051 	    s//\1/
   26052 	    q
   26053 	  }
   26054 	  /^X\/\(\/\/\)$/{
   26055 	    s//\1/
   26056 	    q
   26057 	  }
   26058 	  /^X\/\(\/\).*/{
   26059 	    s//\1/
   26060 	    q
   26061 	  }
   26062 	  s/.*/./; q'`
   26063     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   26064       && sed -e '/# am--include-marker/d' "$am_filepart" \
   26065         | $MAKE -f - am--depfiles" >&5
   26066    (cd "$am_dirpart" \
   26067       && sed -e '/# am--include-marker/d' "$am_filepart" \
   26068         | $MAKE -f - am--depfiles) >&5 2>&5
   26069    ac_status=$?
   26070    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   26071    (exit $ac_status); } || am_rc=$?
   26072   done
   26073   if test $am_rc -ne 0; then
   26074     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   26075 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   26076 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   26077     for automatic dependency tracking.  If GNU make was not used, consider
   26078     re-running the configure script with MAKE=\"gmake\" (or whatever is
   26079     necessary).  You can also try re-running configure with the
   26080     '--disable-dependency-tracking' option to at least be able to build
   26081     the package (albeit without support for automatic dependency tracking).
   26082 See 'config.log' for more details" "$LINENO" 5; }
   26083   fi
   26084   { am_dirpart=; unset am_dirpart;}
   26085   { am_filepart=; unset am_filepart;}
   26086   { am_mf=; unset am_mf;}
   26087   { am_rc=; unset am_rc;}
   26088   rm -f conftest-deps.mk
   26089 }
   26090  ;;
   26091     "libtool":C)
   26092 
   26093     # See if we are running on zsh, and set the options that allow our
   26094     # commands through without removal of \ escapes.
   26095     if test -n "${ZSH_VERSION+set}"; then
   26096       setopt NO_GLOB_SUBST
   26097     fi
   26098 
   26099     cfgfile=${ofile}T
   26100     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   26101     $RM "$cfgfile"
   26102 
   26103     cat <<_LT_EOF >> "$cfgfile"
   26104 #! $SHELL
   26105 # Generated automatically by $as_me ($PACKAGE) $VERSION
   26106 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   26107 
   26108 # Provide generalized library-building support services.
   26109 # Written by Gordon Matzigkeit, 1996
   26110 
   26111 # Copyright (C) 2024 Free Software Foundation, Inc.
   26112 # This is free software; see the source for copying conditions.  There is NO
   26113 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   26114 
   26115 # GNU Libtool is free software; you can redistribute it and/or modify
   26116 # it under the terms of the GNU General Public License as published by
   26117 # the Free Software Foundation; either version 2 of the License, or
   26118 # (at your option) any later version.
   26119 #
   26120 # As a special exception to the GNU General Public License, if you
   26121 # distribute this file as part of a program or library that is built
   26122 # using GNU Libtool, you may include this file under the  same
   26123 # distribution terms that you use for the rest of that program.
   26124 #
   26125 # GNU Libtool is distributed in the hope that it will be useful, but
   26126 # WITHOUT ANY WARRANTY; without even the implied warranty of
   26127 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   26128 # GNU General Public License for more details.
   26129 #
   26130 # You should have received a copy of the GNU General Public License
   26131 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   26132 
   26133 
   26134 # The names of the tagged configurations supported by this script.
   26135 available_tags=''
   26136 
   26137 # Configured defaults for sys_lib_dlsearch_path munging.
   26138 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   26139 
   26140 # ### BEGIN LIBTOOL CONFIG
   26141 
   26142 # Which release of libtool.m4 was used?
   26143 macro_version=$macro_version
   26144 macro_revision=$macro_revision
   26145 
   26146 # Whether or not to build shared libraries.
   26147 build_libtool_libs=$enable_shared
   26148 
   26149 # Whether or not to build static libraries.
   26150 build_old_libs=$enable_static
   26151 
   26152 # What type of objects to build.
   26153 pic_mode=$pic_mode
   26154 
   26155 # Whether or not to optimize for fast installation.
   26156 fast_install=$enable_fast_install
   26157 
   26158 # Shared archive member basename,for filename based shared library versioning on AIX.
   26159 shared_archive_member_spec=$shared_archive_member_spec
   26160 
   26161 # Shell to use when invoking shell scripts.
   26162 SHELL=$lt_SHELL
   26163 
   26164 # An echo program that protects backslashes.
   26165 ECHO=$lt_ECHO
   26166 
   26167 # The PATH separator for the build system.
   26168 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   26169 
   26170 # The host system.
   26171 host_alias=$host_alias
   26172 host=$host
   26173 host_os=$host_os
   26174 
   26175 # The build system.
   26176 build_alias=$build_alias
   26177 build=$build
   26178 build_os=$build_os
   26179 
   26180 # A sed program that does not truncate output.
   26181 SED=$lt_SED
   26182 
   26183 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   26184 Xsed="\$SED -e 1s/^X//"
   26185 
   26186 # A grep program that handles long lines.
   26187 GREP=$lt_GREP
   26188 
   26189 # An ERE matcher.
   26190 EGREP=$lt_EGREP
   26191 
   26192 # A literal string matcher.
   26193 FGREP=$lt_FGREP
   26194 
   26195 # A BSD- or MS-compatible name lister.
   26196 NM=$lt_NM
   26197 
   26198 # Whether we need soft or hard links.
   26199 LN_S=$lt_LN_S
   26200 
   26201 # What is the maximum length of a command?
   26202 max_cmd_len=$max_cmd_len
   26203 
   26204 # Object file suffix (normally "o").
   26205 objext=$ac_objext
   26206 
   26207 # Executable file suffix (normally "").
   26208 exeext=$exeext
   26209 
   26210 # whether the shell understands "unset".
   26211 lt_unset=$lt_unset
   26212 
   26213 # turn spaces into newlines.
   26214 SP2NL=$lt_lt_SP2NL
   26215 
   26216 # turn newlines into spaces.
   26217 NL2SP=$lt_lt_NL2SP
   26218 
   26219 # convert \$build file names to \$host format.
   26220 to_host_file_cmd=$lt_cv_to_host_file_cmd
   26221 
   26222 # convert \$build files to toolchain format.
   26223 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   26224 
   26225 # A file(cmd) program that detects file types.
   26226 FILECMD=$lt_FILECMD
   26227 
   26228 # An object symbol dumper.
   26229 OBJDUMP=$lt_OBJDUMP
   26230 
   26231 # Method to check whether dependent libraries are shared objects.
   26232 deplibs_check_method=$lt_deplibs_check_method
   26233 
   26234 # Command to use when deplibs_check_method = "file_magic".
   26235 file_magic_cmd=$lt_file_magic_cmd
   26236 
   26237 # How to find potential files when deplibs_check_method = "file_magic".
   26238 file_magic_glob=$lt_file_magic_glob
   26239 
   26240 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   26241 want_nocaseglob=$lt_want_nocaseglob
   26242 
   26243 # DLL creation program.
   26244 DLLTOOL=$lt_DLLTOOL
   26245 
   26246 # Command to associate shared and link libraries.
   26247 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   26248 
   26249 # The archiver.
   26250 AR=$lt_AR
   26251 
   26252 # Flags to create an archive (by configure).
   26253 lt_ar_flags=$lt_ar_flags
   26254 
   26255 # Flags to create an archive.
   26256 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   26257 
   26258 # How to feed a file listing to the archiver.
   26259 archiver_list_spec=$lt_archiver_list_spec
   26260 
   26261 # A symbol stripping program.
   26262 STRIP=$lt_STRIP
   26263 
   26264 # Commands used to install an old-style archive.
   26265 RANLIB=$lt_RANLIB
   26266 old_postinstall_cmds=$lt_old_postinstall_cmds
   26267 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   26268 
   26269 # Whether to use a lock for old archive extraction.
   26270 lock_old_archive_extraction=$lock_old_archive_extraction
   26271 
   26272 # A C compiler.
   26273 LTCC=$lt_CC
   26274 
   26275 # LTCC compiler flags.
   26276 LTCFLAGS=$lt_CFLAGS
   26277 
   26278 # Take the output of nm and produce a listing of raw symbols and C names.
   26279 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   26280 
   26281 # Transform the output of nm in a proper C declaration.
   26282 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   26283 
   26284 # Transform the output of nm into a list of symbols to manually relocate.
   26285 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   26286 
   26287 # Transform the output of nm in a C name address pair.
   26288 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   26289 
   26290 # Transform the output of nm in a C name address pair when lib prefix is needed.
   26291 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   26292 
   26293 # The name lister interface.
   26294 nm_interface=$lt_lt_cv_nm_interface
   26295 
   26296 # Specify filename containing input files for \$NM.
   26297 nm_file_list_spec=$lt_nm_file_list_spec
   26298 
   26299 # The root where to search for dependent libraries,and where our libraries should be installed.
   26300 lt_sysroot=$lt_sysroot
   26301 
   26302 # Command to truncate a binary pipe.
   26303 lt_truncate_bin=$lt_lt_cv_truncate_bin
   26304 
   26305 # The name of the directory that contains temporary libtool files.
   26306 objdir=$objdir
   26307 
   26308 # Used to examine libraries when file_magic_cmd begins with "file".
   26309 MAGIC_CMD=$MAGIC_CMD
   26310 
   26311 # Must we lock files when doing compilation?
   26312 need_locks=$lt_need_locks
   26313 
   26314 # Manifest tool.
   26315 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   26316 
   26317 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   26318 DSYMUTIL=$lt_DSYMUTIL
   26319 
   26320 # Tool to change global to local symbols on Mac OS X.
   26321 NMEDIT=$lt_NMEDIT
   26322 
   26323 # Tool to manipulate fat objects and archives on Mac OS X.
   26324 LIPO=$lt_LIPO
   26325 
   26326 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   26327 OTOOL=$lt_OTOOL
   26328 
   26329 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   26330 OTOOL64=$lt_OTOOL64
   26331 
   26332 # Old archive suffix (normally "a").
   26333 libext=$libext
   26334 
   26335 # Shared library suffix (normally ".so").
   26336 shrext_cmds=$lt_shrext_cmds
   26337 
   26338 # The commands to extract the exported symbol list from a shared archive.
   26339 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   26340 
   26341 # Variables whose values should be saved in libtool wrapper scripts and
   26342 # restored at link time.
   26343 variables_saved_for_relink=$lt_variables_saved_for_relink
   26344 
   26345 # Do we need the "lib" prefix for modules?
   26346 need_lib_prefix=$need_lib_prefix
   26347 
   26348 # Do we need a version for libraries?
   26349 need_version=$need_version
   26350 
   26351 # Library versioning type.
   26352 version_type=$version_type
   26353 
   26354 # Shared library runtime path variable.
   26355 runpath_var=$runpath_var
   26356 
   26357 # Shared library path variable.
   26358 shlibpath_var=$shlibpath_var
   26359 
   26360 # Is shlibpath searched before the hard-coded library search path?
   26361 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   26362 
   26363 # Format of library name prefix.
   26364 libname_spec=$lt_libname_spec
   26365 
   26366 # List of archive names.  First name is the real one, the rest are links.
   26367 # The last name is the one that the linker finds with -lNAME
   26368 library_names_spec=$lt_library_names_spec
   26369 
   26370 # The coded name of the library, if different from the real name.
   26371 soname_spec=$lt_soname_spec
   26372 
   26373 # Permission mode override for installation of shared libraries.
   26374 install_override_mode=$lt_install_override_mode
   26375 
   26376 # Command to use after installation of a shared archive.
   26377 postinstall_cmds=$lt_postinstall_cmds
   26378 
   26379 # Command to use after uninstallation of a shared archive.
   26380 postuninstall_cmds=$lt_postuninstall_cmds
   26381 
   26382 # Commands used to finish a libtool library installation in a directory.
   26383 finish_cmds=$lt_finish_cmds
   26384 
   26385 # As "finish_cmds", except a single script fragment to be evaled but
   26386 # not shown.
   26387 finish_eval=$lt_finish_eval
   26388 
   26389 # Whether we should hardcode library paths into libraries.
   26390 hardcode_into_libs=$hardcode_into_libs
   26391 
   26392 # Compile-time system search path for libraries.
   26393 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   26394 
   26395 # Detected run-time system search path for libraries.
   26396 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   26397 
   26398 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   26399 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   26400 
   26401 # Whether dlopen is supported.
   26402 dlopen_support=$enable_dlopen
   26403 
   26404 # Whether dlopen of programs is supported.
   26405 dlopen_self=$enable_dlopen_self
   26406 
   26407 # Whether dlopen of statically linked programs is supported.
   26408 dlopen_self_static=$enable_dlopen_self_static
   26409 
   26410 # Commands to strip libraries.
   26411 old_striplib=$lt_old_striplib
   26412 striplib=$lt_striplib
   26413 
   26414 
   26415 # The linker used to build libraries.
   26416 LD=$lt_LD
   26417 
   26418 # How to create reloadable object files.
   26419 reload_flag=$lt_reload_flag
   26420 reload_cmds=$lt_reload_cmds
   26421 
   26422 # Commands used to build an old-style archive.
   26423 old_archive_cmds=$lt_old_archive_cmds
   26424 
   26425 # A language specific compiler.
   26426 CC=$lt_compiler
   26427 
   26428 # Is the compiler the GNU compiler?
   26429 with_gcc=$GCC
   26430 
   26431 # Compiler flag to turn off builtin functions.
   26432 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   26433 
   26434 # Additional compiler flags for building library objects.
   26435 pic_flag=$lt_lt_prog_compiler_pic
   26436 
   26437 # How to pass a linker flag through the compiler.
   26438 wl=$lt_lt_prog_compiler_wl
   26439 
   26440 # Compiler flag to prevent dynamic linking.
   26441 link_static_flag=$lt_lt_prog_compiler_static
   26442 
   26443 # Does compiler simultaneously support -c and -o options?
   26444 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   26445 
   26446 # Whether or not to add -lc for building shared libraries.
   26447 build_libtool_need_lc=$archive_cmds_need_lc
   26448 
   26449 # Whether or not to disallow shared libs when runtime libs are static.
   26450 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   26451 
   26452 # Compiler flag to allow reflexive dlopens.
   26453 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   26454 
   26455 # Compiler flag to generate shared objects directly from archives.
   26456 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   26457 
   26458 # Whether the compiler copes with passing no objects directly.
   26459 compiler_needs_object=$lt_compiler_needs_object
   26460 
   26461 # Create an old-style archive from a shared archive.
   26462 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   26463 
   26464 # Create a temporary old-style archive to link instead of a shared archive.
   26465 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   26466 
   26467 # Commands used to build a shared archive.
   26468 archive_cmds=$lt_archive_cmds
   26469 archive_expsym_cmds=$lt_archive_expsym_cmds
   26470 
   26471 # Commands used to build a loadable module if different from building
   26472 # a shared archive.
   26473 module_cmds=$lt_module_cmds
   26474 module_expsym_cmds=$lt_module_expsym_cmds
   26475 
   26476 # Whether we are building with GNU ld or not.
   26477 with_gnu_ld=$lt_with_gnu_ld
   26478 
   26479 # Flag that allows shared libraries with undefined symbols to be built.
   26480 allow_undefined_flag=$lt_allow_undefined_flag
   26481 
   26482 # Flag that enforces no undefined symbols.
   26483 no_undefined_flag=$lt_no_undefined_flag
   26484 
   26485 # Flag to hardcode \$libdir into a binary during linking.
   26486 # This must work even if \$libdir does not exist
   26487 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   26488 
   26489 # Whether we need a single "-rpath" flag with a separated argument.
   26490 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   26491 
   26492 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   26493 # DIR into the resulting binary.
   26494 hardcode_direct=$hardcode_direct
   26495 
   26496 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   26497 # DIR into the resulting binary and the resulting library dependency is
   26498 # "absolute",i.e. impossible to change by setting \$shlibpath_var if the
   26499 # library is relocated.
   26500 hardcode_direct_absolute=$hardcode_direct_absolute
   26501 
   26502 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   26503 # into the resulting binary.
   26504 hardcode_minus_L=$hardcode_minus_L
   26505 
   26506 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   26507 # into the resulting binary.
   26508 hardcode_shlibpath_var=$hardcode_shlibpath_var
   26509 
   26510 # Set to "yes" if building a shared library automatically hardcodes DIR
   26511 # into the library and all subsequent libraries and executables linked
   26512 # against it.
   26513 hardcode_automatic=$hardcode_automatic
   26514 
   26515 # Set to yes if linker adds runtime paths of dependent libraries
   26516 # to runtime path list.
   26517 inherit_rpath=$inherit_rpath
   26518 
   26519 # Whether libtool must link a program against all its dependency libraries.
   26520 link_all_deplibs=$link_all_deplibs
   26521 
   26522 # Set to "yes" if exported symbols are required.
   26523 always_export_symbols=$always_export_symbols
   26524 
   26525 # The commands to list exported symbols.
   26526 export_symbols_cmds=$lt_export_symbols_cmds
   26527 
   26528 # Symbols that should not be listed in the preloaded symbols.
   26529 exclude_expsyms=$lt_exclude_expsyms
   26530 
   26531 # Symbols that must always be exported.
   26532 include_expsyms=$lt_include_expsyms
   26533 
   26534 # Commands necessary for linking programs (against libraries) with templates.
   26535 prelink_cmds=$lt_prelink_cmds
   26536 
   26537 # Commands necessary for finishing linking programs.
   26538 postlink_cmds=$lt_postlink_cmds
   26539 
   26540 # Specify filename containing input files.
   26541 file_list_spec=$lt_file_list_spec
   26542 
   26543 # How to hardcode a shared library path into an executable.
   26544 hardcode_action=$hardcode_action
   26545 
   26546 # ### END LIBTOOL CONFIG
   26547 
   26548 _LT_EOF
   26549 
   26550     cat <<'_LT_EOF' >> "$cfgfile"
   26551 
   26552 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   26553 
   26554 # func_munge_path_list VARIABLE PATH
   26555 # -----------------------------------
   26556 # VARIABLE is name of variable containing _space_ separated list of
   26557 # directories to be munged by the contents of PATH, which is string
   26558 # having a format:
   26559 # "DIR[:DIR]:"
   26560 #       string "DIR[ DIR]" will be prepended to VARIABLE
   26561 # ":DIR[:DIR]"
   26562 #       string "DIR[ DIR]" will be appended to VARIABLE
   26563 # "DIRP[:DIRP]::[DIRA:]DIRA"
   26564 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   26565 #       "DIRA[ DIRA]" will be appended to VARIABLE
   26566 # "DIR[:DIR]"
   26567 #       VARIABLE will be replaced by "DIR[ DIR]"
   26568 func_munge_path_list ()
   26569 {
   26570     case x$2 in
   26571     x)
   26572         ;;
   26573     *:)
   26574         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   26575         ;;
   26576     x:*)
   26577         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   26578         ;;
   26579     *::*)
   26580         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   26581         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   26582         ;;
   26583     *)
   26584         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   26585         ;;
   26586     esac
   26587 }
   26588 
   26589 
   26590 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   26591 func_cc_basename ()
   26592 {
   26593     for cc_temp in $*""; do
   26594       case $cc_temp in
   26595         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   26596         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   26597         \-*) ;;
   26598         *) break;;
   26599       esac
   26600     done
   26601     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   26602 }
   26603 
   26604 
   26605 # ### END FUNCTIONS SHARED WITH CONFIGURE
   26606 
   26607 _LT_EOF
   26608 
   26609   case $host_os in
   26610   aix3*)
   26611     cat <<\_LT_EOF >> "$cfgfile"
   26612 # AIX sometimes has problems with the GCC collect2 program.  For some
   26613 # reason, if we set the COLLECT_NAMES environment variable, the problems
   26614 # vanish in a puff of smoke.
   26615 if test set != "${COLLECT_NAMES+set}"; then
   26616   COLLECT_NAMES=
   26617   export COLLECT_NAMES
   26618 fi
   26619 _LT_EOF
   26620     ;;
   26621   esac
   26622 
   26623 
   26624 
   26625 ltmain=$ac_aux_dir/ltmain.sh
   26626 
   26627 
   26628   # We use sed instead of cat because bash on DJGPP gets confused if
   26629   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   26630   # text mode, it properly converts lines to CR/LF.  This bash problem
   26631   # is reportedly fixed, but why not run on old versions too?
   26632   $SED '$q' "$ltmain" >> "$cfgfile" \
   26633      || (rm -f "$cfgfile"; exit 1)
   26634 
   26635    mv -f "$cfgfile" "$ofile" ||
   26636     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   26637   chmod +x "$ofile"
   26638 
   26639  ;;
   26640 
   26641   esac
   26642 done # for ac_tag
   26643 
   26644 
   26645 as_fn_exit 0
   26646 _ACEOF
   26647 ac_clean_files=$ac_clean_files_save
   26648 
   26649 test $ac_write_fail = 0 ||
   26650   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   26651 
   26652 
   26653 # configure is writing to config.log, and then calls config.status.
   26654 # config.status does its own redirection, appending to config.log.
   26655 # Unfortunately, on DOS this fails, as config.log is still kept open
   26656 # by configure, so config.status won't be able to write to it; its
   26657 # output is simply discarded.  So we exec the FD to /dev/null,
   26658 # effectively closing config.log, so it can be properly (re)opened and
   26659 # appended to by config.status.  When coming back to configure, we
   26660 # need to make the FD available again.
   26661 if test "$no_create" != yes; then
   26662   ac_cs_success=:
   26663   ac_config_status_args=
   26664   test "$silent" = yes &&
   26665     ac_config_status_args="$ac_config_status_args --quiet"
   26666   exec 5>/dev/null
   26667   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   26668   exec 5>>config.log
   26669   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   26670   # would make configure fail if this is the last instruction.
   26671   $ac_cs_success || as_fn_exit 1
   26672 fi
   26673 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   26674   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   26675 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   26676 fi
   26677 
   26678 
   26679 echo ""
   26680 echo "$PACKAGE_STRING will be built with the following settings:"
   26681 echo " Loadable i18n module support:            "$XLIB_LOADABLE_I18N
   26682 echo " Loadable xcursor library support:        "$XLIB_LOADABLE_XCURSOR
   26683 echo " Threading support:                       "$xthreads
   26684 echo " Use Threads safe API:                    "$mtsafeapi
   26685 echo " Use thread safety constructor:           "$USE_THREAD_SAFETY_CONSTRUCTOR
   26686 echo " XCMS:                                    "$XCMS
   26687 echo " Internationalization support:            "$XLOCALE
   26688 echo " XF86BigFont support:                     "$XF86BIGFONT
   26689 echo " XKB support:                             "$XKB
   26690 echo " XLOCALEDIR environment variable support: "$ENABLE_XLOCALEDIR
   26691 echo " Compose table cache enabled:             "$COMPOSECACHE
   26692 echo " Functional specs building enabled:       "$build_specs
   26693 echo ""
   26694 
   26695