Home | History | Annotate | Line # | Download | only in dist
configure revision 1.6
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.71 for libX11 1.8.7.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 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 as_nop=:
     21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
     22 then :
     23   emulate sh
     24   NULLCMD=:
     25   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     26   # is contrary to our usage.  Disable this feature.
     27   alias -g '${1+"$@"}'='"$@"'
     28   setopt NO_GLOB_SUBST
     29 else $as_nop
     30   case `(set -o) 2>/dev/null` in #(
     31   *posix*) :
     32     set -o posix ;; #(
     33   *) :
     34      ;;
     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="as_nop=:
    144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
    145 then :
    146   emulate sh
    147   NULLCMD=:
    148   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    149   # is contrary to our usage.  Disable this feature.
    150   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    151   setopt NO_GLOB_SUBST
    152 else \$as_nop
    153   case \`(set -o) 2>/dev/null\` in #(
    154   *posix*) :
    155     set -o posix ;; #(
    156   *) :
    157      ;;
    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 \$as_nop
    176   exitcode=1; echo positional parameters were not saved.
    177 fi
    178 test x\$exitcode = x0 || exit 1
    179 blah=\$(echo \$(echo blah))
    180 test x\"\$blah\" = xblah || exit 1
    181 test -x / || exit 1"
    182   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    183   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    184   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    185   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    186 
    187   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    188     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    189     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    190     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    191     PATH=/empty FPATH=/empty; export PATH FPATH
    192     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    193       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    194 test \$(( 1 + 1 )) = 2 || exit 1"
    195   if (eval "$as_required") 2>/dev/null
    196 then :
    197   as_have_required=yes
    198 else $as_nop
    199   as_have_required=no
    200 fi
    201   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
    202 then :
    203 
    204 else $as_nop
    205   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    206 as_found=false
    207 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    208 do
    209   IFS=$as_save_IFS
    210   case $as_dir in #(((
    211     '') as_dir=./ ;;
    212     */) ;;
    213     *) as_dir=$as_dir/ ;;
    214   esac
    215   as_found=:
    216   case $as_dir in #(
    217 	 /*)
    218 	   for as_base in sh bash ksh sh5; do
    219 	     # Try only shells that exist, to save several forks.
    220 	     as_shell=$as_dir$as_base
    221 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    222 		    as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    223 then :
    224   CONFIG_SHELL=$as_shell as_have_required=yes
    225 		   if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
    226 then :
    227   break 2
    228 fi
    229 fi
    230 	   done;;
    231        esac
    232   as_found=false
    233 done
    234 IFS=$as_save_IFS
    235 if $as_found
    236 then :
    237 
    238 else $as_nop
    239   if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    240 	      as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
    241 then :
    242   CONFIG_SHELL=$SHELL as_have_required=yes
    243 fi
    244 fi
    245 
    246 
    247       if test "x$CONFIG_SHELL" != x
    248 then :
    249   export CONFIG_SHELL
    250              # We cannot yet assume a decent shell, so we have to provide a
    251 # neutralization value for shells without unset; and this also
    252 # works around shells that cannot unset nonexistent variables.
    253 # Preserve -v and -x to the replacement shell.
    254 BASH_ENV=/dev/null
    255 ENV=/dev/null
    256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    257 case $- in # ((((
    258   *v*x* | *x*v* ) as_opts=-vx ;;
    259   *v* ) as_opts=-v ;;
    260   *x* ) as_opts=-x ;;
    261   * ) as_opts= ;;
    262 esac
    263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    264 # Admittedly, this is quite paranoid, since all the known shells bail
    265 # out after a failed `exec'.
    266 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno
    271 then :
    272   printf "%s\n" "$0: This script requires a shell more modern than all"
    273   printf "%s\n" "$0: the shells that I found on your system."
    274   if test ${ZSH_VERSION+y} ; then
    275     printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    276     printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
    277   else
    278     printf "%s\n" "$0: Please tell bug-autoconf (at] gnu.org and
    279 $0: https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues
    280 $0: about your system, including any error possibly output
    281 $0: before this message. Then install a modern shell, or
    282 $0: manually run the script under such a shell if you do
    283 $0: have one."
    284   fi
    285   exit 1
    286 fi
    287 fi
    288 fi
    289 SHELL=${CONFIG_SHELL-/bin/sh}
    290 export SHELL
    291 # Unset more variables known to interfere with behavior of common tools.
    292 CLICOLOR_FORCE= GREP_OPTIONS=
    293 unset CLICOLOR_FORCE GREP_OPTIONS
    294 
    295 ## --------------------- ##
    296 ## M4sh Shell Functions. ##
    297 ## --------------------- ##
    298 # as_fn_unset VAR
    299 # ---------------
    300 # Portably unset VAR.
    301 as_fn_unset ()
    302 {
    303   { eval $1=; unset $1;}
    304 }
    305 as_unset=as_fn_unset
    306 
    307 
    308 # as_fn_set_status STATUS
    309 # -----------------------
    310 # Set $? to STATUS, without forking.
    311 as_fn_set_status ()
    312 {
    313   return $1
    314 } # as_fn_set_status
    315 
    316 # as_fn_exit STATUS
    317 # -----------------
    318 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    319 as_fn_exit ()
    320 {
    321   set +e
    322   as_fn_set_status $1
    323   exit $1
    324 } # as_fn_exit
    325 # as_fn_nop
    326 # ---------
    327 # Do nothing but, unlike ":", preserve the value of $?.
    328 as_fn_nop ()
    329 {
    330   return $?
    331 }
    332 as_nop=as_fn_nop
    333 
    334 # as_fn_mkdir_p
    335 # -------------
    336 # Create "$as_dir" as a directory, including parents if necessary.
    337 as_fn_mkdir_p ()
    338 {
    339 
    340   case $as_dir in #(
    341   -*) as_dir=./$as_dir;;
    342   esac
    343   test -d "$as_dir" || eval $as_mkdir_p || {
    344     as_dirs=
    345     while :; do
    346       case $as_dir in #(
    347       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    348       *) as_qdir=$as_dir;;
    349       esac
    350       as_dirs="'$as_qdir' $as_dirs"
    351       as_dir=`$as_dirname -- "$as_dir" ||
    352 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    353 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    354 	 X"$as_dir" : 'X\(//\)$' \| \
    355 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    356 printf "%s\n" X"$as_dir" |
    357     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    358 	    s//\1/
    359 	    q
    360 	  }
    361 	  /^X\(\/\/\)[^/].*/{
    362 	    s//\1/
    363 	    q
    364 	  }
    365 	  /^X\(\/\/\)$/{
    366 	    s//\1/
    367 	    q
    368 	  }
    369 	  /^X\(\/\).*/{
    370 	    s//\1/
    371 	    q
    372 	  }
    373 	  s/.*/./; q'`
    374       test -d "$as_dir" && break
    375     done
    376     test -z "$as_dirs" || eval "mkdir $as_dirs"
    377   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    378 
    379 
    380 } # as_fn_mkdir_p
    381 
    382 # as_fn_executable_p FILE
    383 # -----------------------
    384 # Test if FILE is an executable regular file.
    385 as_fn_executable_p ()
    386 {
    387   test -f "$1" && test -x "$1"
    388 } # as_fn_executable_p
    389 # as_fn_append VAR VALUE
    390 # ----------------------
    391 # Append the text in VALUE to the end of the definition contained in VAR. Take
    392 # advantage of any shell optimizations that allow amortized linear growth over
    393 # repeated appends, instead of the typical quadratic growth present in naive
    394 # implementations.
    395 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
    396 then :
    397   eval 'as_fn_append ()
    398   {
    399     eval $1+=\$2
    400   }'
    401 else $as_nop
    402   as_fn_append ()
    403   {
    404     eval $1=\$$1\$2
    405   }
    406 fi # as_fn_append
    407 
    408 # as_fn_arith ARG...
    409 # ------------------
    410 # Perform arithmetic evaluation on the ARGs, and store the result in the
    411 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    412 # must be portable across $(()) and expr.
    413 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
    414 then :
    415   eval 'as_fn_arith ()
    416   {
    417     as_val=$(( $* ))
    418   }'
    419 else $as_nop
    420   as_fn_arith ()
    421   {
    422     as_val=`expr "$@" || test $? -eq 1`
    423   }
    424 fi # as_fn_arith
    425 
    426 # as_fn_nop
    427 # ---------
    428 # Do nothing but, unlike ":", preserve the value of $?.
    429 as_fn_nop ()
    430 {
    431   return $?
    432 }
    433 as_nop=as_fn_nop
    434 
    435 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    436 # ----------------------------------------
    437 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    438 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    439 # script with STATUS, using 1 if that was 0.
    440 as_fn_error ()
    441 {
    442   as_status=$1; test $as_status -eq 0 && as_status=1
    443   if test "$4"; then
    444     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    445     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    446   fi
    447   printf "%s\n" "$as_me: error: $2" >&2
    448   as_fn_exit $as_status
    449 } # as_fn_error
    450 
    451 if expr a : '\(a\)' >/dev/null 2>&1 &&
    452    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    453   as_expr=expr
    454 else
    455   as_expr=false
    456 fi
    457 
    458 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    459   as_basename=basename
    460 else
    461   as_basename=false
    462 fi
    463 
    464 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    465   as_dirname=dirname
    466 else
    467   as_dirname=false
    468 fi
    469 
    470 as_me=`$as_basename -- "$0" ||
    471 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    472 	 X"$0" : 'X\(//\)$' \| \
    473 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    474 printf "%s\n" X/"$0" |
    475     sed '/^.*\/\([^/][^/]*\)\/*$/{
    476 	    s//\1/
    477 	    q
    478 	  }
    479 	  /^X\/\(\/\/\)$/{
    480 	    s//\1/
    481 	    q
    482 	  }
    483 	  /^X\/\(\/\).*/{
    484 	    s//\1/
    485 	    q
    486 	  }
    487 	  s/.*/./; q'`
    488 
    489 # Avoid depending upon Character Ranges.
    490 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    491 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    492 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    493 as_cr_digits='0123456789'
    494 as_cr_alnum=$as_cr_Letters$as_cr_digits
    495 
    496 
    497   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    498   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    499   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    500   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    501   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    502   sed -n '
    503     p
    504     /[$]LINENO/=
    505   ' <$as_myself |
    506     sed '
    507       s/[$]LINENO.*/&-/
    508       t lineno
    509       b
    510       :lineno
    511       N
    512       :loop
    513       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    514       t loop
    515       s/-\n.*//
    516     ' >$as_me.lineno &&
    517   chmod +x "$as_me.lineno" ||
    518     { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    519 
    520   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    521   # already done that, so ensure we don't try to do so again and fall
    522   # in an infinite loop.  This has already happened in practice.
    523   _as_can_reexec=no; export _as_can_reexec
    524   # Don't try to exec as it changes $[0], causing all sort of problems
    525   # (the dirname of $[0] is not the place where we might find the
    526   # original and so on.  Autoconf is especially sensitive to this).
    527   . "./$as_me.lineno"
    528   # Exit status is that of the last command.
    529   exit
    530 }
    531 
    532 
    533 # Determine whether it's possible to make 'echo' print without a newline.
    534 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
    535 # for compatibility with existing Makefiles.
    536 ECHO_C= ECHO_N= ECHO_T=
    537 case `echo -n x` in #(((((
    538 -n*)
    539   case `echo 'xy\c'` in
    540   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    541   xy)  ECHO_C='\c';;
    542   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    543        ECHO_T='	';;
    544   esac;;
    545 *)
    546   ECHO_N='-n';;
    547 esac
    548 
    549 # For backward compatibility with old third-party macros, we provide
    550 # the shell variables $as_echo and $as_echo_n.  New code should use
    551 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
    552 as_echo='printf %s\n'
    553 as_echo_n='printf %s'
    554 
    555 
    556 rm -f conf$$ conf$$.exe conf$$.file
    557 if test -d conf$$.dir; then
    558   rm -f conf$$.dir/conf$$.file
    559 else
    560   rm -f conf$$.dir
    561   mkdir conf$$.dir 2>/dev/null
    562 fi
    563 if (echo >conf$$.file) 2>/dev/null; then
    564   if ln -s conf$$.file conf$$ 2>/dev/null; then
    565     as_ln_s='ln -s'
    566     # ... but there are two gotchas:
    567     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    568     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    569     # In both cases, we have to default to `cp -pR'.
    570     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    571       as_ln_s='cp -pR'
    572   elif ln conf$$.file conf$$ 2>/dev/null; then
    573     as_ln_s=ln
    574   else
    575     as_ln_s='cp -pR'
    576   fi
    577 else
    578   as_ln_s='cp -pR'
    579 fi
    580 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    581 rmdir conf$$.dir 2>/dev/null
    582 
    583 if mkdir -p . 2>/dev/null; then
    584   as_mkdir_p='mkdir -p "$as_dir"'
    585 else
    586   test -d ./-p && rmdir ./-p
    587   as_mkdir_p=false
    588 fi
    589 
    590 as_test_x='test -x'
    591 as_executable_p=as_fn_executable_p
    592 
    593 # Sed expression to map a string onto a valid CPP name.
    594 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    595 
    596 # Sed expression to map a string onto a valid variable name.
    597 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    598 
    599 SHELL=${CONFIG_SHELL-/bin/sh}
    600 
    601 as_awk_strverscmp='
    602   # Use only awk features that work with 7th edition Unix awk (1978).
    603   # My, what an old awk you have, Mr. Solaris!
    604   END {
    605     while (length(v1) && length(v2)) {
    606       # Set d1 to be the next thing to compare from v1, and likewise for d2.
    607       # Normally this is a single character, but if v1 and v2 contain digits,
    608       # compare them as integers and fractions as strverscmp does.
    609       if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
    610 	# Split v1 and v2 into their leading digit string components d1 and d2,
    611 	# and advance v1 and v2 past the leading digit strings.
    612 	for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
    613 	for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
    614 	d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
    615 	d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
    616 	if (d1 ~ /^0/) {
    617 	  if (d2 ~ /^0/) {
    618 	    # Compare two fractions.
    619 	    while (d1 ~ /^0/ && d2 ~ /^0/) {
    620 	      d1 = substr(d1, 2); len1--
    621 	      d2 = substr(d2, 2); len2--
    622 	    }
    623 	    if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
    624 	      # The two components differ in length, and the common prefix
    625 	      # contains only leading zeros.  Consider the longer to be less.
    626 	      d1 = -len1
    627 	      d2 = -len2
    628 	    } else {
    629 	      # Otherwise, compare as strings.
    630 	      d1 = "x" d1
    631 	      d2 = "x" d2
    632 	    }
    633 	  } else {
    634 	    # A fraction is less than an integer.
    635 	    exit 1
    636 	  }
    637 	} else {
    638 	  if (d2 ~ /^0/) {
    639 	    # An integer is greater than a fraction.
    640 	    exit 2
    641 	  } else {
    642 	    # Compare two integers.
    643 	    d1 += 0
    644 	    d2 += 0
    645 	  }
    646 	}
    647       } else {
    648 	# The normal case, without worrying about digits.
    649 	d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
    650 	d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
    651       }
    652       if (d1 < d2) exit 1
    653       if (d1 > d2) exit 2
    654     }
    655     # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
    656     # which mishandles some comparisons of empty strings to integers.
    657     if (length(v2)) exit 1
    658     if (length(v1)) exit 2
    659   }
    660 '
    661 
    662 test -n "$DJDIR" || exec 7<&0 </dev/null
    663 exec 6>&1
    664 
    665 # Name of the host.
    666 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    667 # so uname gets run too.
    668 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    669 
    670 #
    671 # Initializations.
    672 #
    673 ac_default_prefix=/usr/local
    674 ac_clean_files=
    675 ac_config_libobj_dir=.
    676 LIBOBJS=
    677 cross_compiling=no
    678 subdirs=
    679 MFLAGS=
    680 MAKEFLAGS=
    681 
    682 # Identity of this package.
    683 PACKAGE_NAME='libX11'
    684 PACKAGE_TARNAME='libX11'
    685 PACKAGE_VERSION='1.8.7'
    686 PACKAGE_STRING='libX11 1.8.7'
    687 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues'
    688 PACKAGE_URL=''
    689 
    690 ac_unique_file="Makefile.am"
    691 # Factoring default headers for most tests.
    692 ac_includes_default="\
    693 #include <stddef.h>
    694 #ifdef HAVE_STDIO_H
    695 # include <stdio.h>
    696 #endif
    697 #ifdef HAVE_STDLIB_H
    698 # include <stdlib.h>
    699 #endif
    700 #ifdef HAVE_STRING_H
    701 # include <string.h>
    702 #endif
    703 #ifdef HAVE_INTTYPES_H
    704 # include <inttypes.h>
    705 #endif
    706 #ifdef HAVE_STDINT_H
    707 # include <stdint.h>
    708 #endif
    709 #ifdef HAVE_STRINGS_H
    710 # include <strings.h>
    711 #endif
    712 #ifdef HAVE_SYS_TYPES_H
    713 # include <sys/types.h>
    714 #endif
    715 #ifdef HAVE_SYS_STAT_H
    716 # include <sys/stat.h>
    717 #endif
    718 #ifdef HAVE_UNISTD_H
    719 # include <unistd.h>
    720 #endif"
    721 
    722 ac_header_c_list=
    723 ac_func_c_list=
    724 ac_subst_vars='am__EXEEXT_FALSE
    725 am__EXEEXT_TRUE
    726 LTLIBOBJS
    727 XTMALLOC_ZERO_CFLAGS
    728 XMALLOC_ZERO_CFLAGS
    729 MALLOC_ZERO_CFLAGS
    730 XERRORDB
    731 XKEYSYMDB
    732 locales
    733 X11_LOCALEDIR
    734 XLOCALEDIR
    735 X11_LOCALELIBDIR
    736 XLOCALELIBDIR
    737 X11_LOCALEDATADIR
    738 XLOCALEDATADIR
    739 X11_LIBS
    740 X11_CFLAGS
    741 X11_LIBDIR
    742 X11_DATADIR
    743 MAKE_LINT_LIB_FALSE
    744 MAKE_LINT_LIB_TRUE
    745 LINTLIB
    746 LINT_FALSE
    747 LINT_TRUE
    748 LINT_FLAGS
    749 LINT
    750 XKBPROTO_REQUIRES
    751 XKB_FALSE
    752 XKB_TRUE
    753 BIGFONT_LIBS
    754 BIGFONT_CFLAGS
    755 XLOCALE_FALSE
    756 XLOCALE_TRUE
    757 XCMS_FALSE
    758 XCMS_TRUE
    759 KEYSYMDEFS
    760 USE_THREAD_LIBS
    761 XTHREAD_CFLAGS
    762 XTHREADLIB
    763 LAUNCHD
    764 OS2_FALSE
    765 OS2_TRUE
    766 WCHAR32
    767 LIBOBJS
    768 XLIB_LOADABLE_I18N_FALSE
    769 XLIB_LOADABLE_I18N_TRUE
    770 I18N_MODULE_LIBS
    771 X11_EXTRA_DEPS
    772 EXEEXT_FOR_BUILD
    773 LDFLAGS_FOR_BUILD
    774 CFLAGS_FOR_BUILD
    775 CPPFLAGS_FOR_BUILD
    776 CC_FOR_BUILD
    777 HAVE_PERL_FALSE
    778 HAVE_PERL_TRUE
    779 PERL
    780 TRADITIONALCPPFLAGS
    781 RAWCPPFLAGS
    782 RAWCPP
    783 CPP
    784 HAVE_STYLESHEETS_FALSE
    785 HAVE_STYLESHEETS_TRUE
    786 XSL_STYLESHEET
    787 STYLESHEET_SRCDIR
    788 XORG_SGML_PATH
    789 HAVE_XSLTPROC_FALSE
    790 HAVE_XSLTPROC_TRUE
    791 XSLTPROC
    792 HAVE_FOP_FALSE
    793 HAVE_FOP_TRUE
    794 FOP
    795 HAVE_XMLTO_FALSE
    796 HAVE_XMLTO_TRUE
    797 HAVE_XMLTO_TEXT_FALSE
    798 HAVE_XMLTO_TEXT_TRUE
    799 XMLTO
    800 ENABLE_SPECS_FALSE
    801 ENABLE_SPECS_TRUE
    802 MAN_SUBSTS
    803 XORG_MAN_PAGE
    804 ADMIN_MAN_DIR
    805 DRIVER_MAN_DIR
    806 MISC_MAN_DIR
    807 FILE_MAN_DIR
    808 LIB_MAN_DIR
    809 APP_MAN_DIR
    810 ADMIN_MAN_SUFFIX
    811 DRIVER_MAN_SUFFIX
    812 MISC_MAN_SUFFIX
    813 FILE_MAN_SUFFIX
    814 LIB_MAN_SUFFIX
    815 APP_MAN_SUFFIX
    816 INSTALL_CMD
    817 PKG_CONFIG_LIBDIR
    818 PKG_CONFIG_PATH
    819 PKG_CONFIG
    820 CHANGELOG_CMD
    821 STRICT_CFLAGS
    822 CWARNFLAGS
    823 BASE_CFLAGS
    824 LT_SYS_LIBRARY_PATH
    825 OTOOL64
    826 OTOOL
    827 LIPO
    828 NMEDIT
    829 DSYMUTIL
    830 MANIFEST_TOOL
    831 RANLIB
    832 ac_ct_AR
    833 AR
    834 DLLTOOL
    835 OBJDUMP
    836 FILECMD
    837 LN_S
    838 NM
    839 ac_ct_DUMPBIN
    840 DUMPBIN
    841 LD
    842 FGREP
    843 EGREP
    844 GREP
    845 SED
    846 LIBTOOL
    847 AM_BACKSLASH
    848 AM_DEFAULT_VERBOSITY
    849 AM_DEFAULT_V
    850 AM_V
    851 CSCOPE
    852 ETAGS
    853 CTAGS
    854 am__fastdepCC_FALSE
    855 am__fastdepCC_TRUE
    856 CCDEPMODE
    857 am__nodep
    858 AMDEPBACKSLASH
    859 AMDEP_FALSE
    860 AMDEP_TRUE
    861 am__include
    862 DEPDIR
    863 am__untar
    864 am__tar
    865 AMTAR
    866 am__leading_dot
    867 SET_MAKE
    868 AWK
    869 mkdir_p
    870 MKDIR_P
    871 INSTALL_STRIP_PROGRAM
    872 STRIP
    873 install_sh
    874 MAKEINFO
    875 AUTOHEADER
    876 AUTOMAKE
    877 AUTOCONF
    878 ACLOCAL
    879 VERSION
    880 PACKAGE
    881 CYGPATH_W
    882 am__isrc
    883 INSTALL_DATA
    884 INSTALL_SCRIPT
    885 INSTALL_PROGRAM
    886 OBJEXT
    887 EXEEXT
    888 ac_ct_CC
    889 CPPFLAGS
    890 LDFLAGS
    891 CFLAGS
    892 CC
    893 host_os
    894 host_vendor
    895 host_cpu
    896 host
    897 build_os
    898 build_vendor
    899 build_cpu
    900 build
    901 target_alias
    902 host_alias
    903 build_alias
    904 LIBS
    905 ECHO_T
    906 ECHO_N
    907 ECHO_C
    908 DEFS
    909 mandir
    910 localedir
    911 libdir
    912 psdir
    913 pdfdir
    914 dvidir
    915 htmldir
    916 infodir
    917 docdir
    918 oldincludedir
    919 includedir
    920 runstatedir
    921 localstatedir
    922 sharedstatedir
    923 sysconfdir
    924 datadir
    925 datarootdir
    926 libexecdir
    927 sbindir
    928 bindir
    929 program_transform_name
    930 prefix
    931 exec_prefix
    932 PACKAGE_URL
    933 PACKAGE_BUGREPORT
    934 PACKAGE_STRING
    935 PACKAGE_VERSION
    936 PACKAGE_TARNAME
    937 PACKAGE_NAME
    938 PATH_SEPARATOR
    939 SHELL
    940 am__quote'
    941 ac_subst_files=''
    942 ac_user_opts='
    943 enable_option_checking
    944 enable_dependency_tracking
    945 enable_silent_rules
    946 enable_shared
    947 enable_static
    948 with_pic
    949 enable_fast_install
    950 with_aix_soname
    951 with_gnu_ld
    952 with_sysroot
    953 enable_libtool_lock
    954 enable_largefile
    955 enable_selective_werror
    956 enable_strict_compilation
    957 enable_specs
    958 with_xmlto
    959 with_fop
    960 with_xsltproc
    961 with_perl
    962 enable_unix_transport
    963 enable_tcp_transport
    964 enable_ipv6
    965 enable_local_transport
    966 enable_loadable_i18n
    967 enable_loadable_xcursor
    968 enable_thread_safety_constructor
    969 with_launchd
    970 enable_xthreads
    971 with_keysymdefdir
    972 enable_xcms
    973 enable_xlocale
    974 enable_xlocaledir
    975 enable_xf86bigfont
    976 enable_xkb
    977 enable_composecache
    978 with_lint
    979 enable_lint_library
    980 with_locale_lib_dir
    981 enable_malloc0returnsnull
    982 '
    983       ac_precious_vars='build_alias
    984 host_alias
    985 target_alias
    986 CC
    987 CFLAGS
    988 LDFLAGS
    989 LIBS
    990 CPPFLAGS
    991 LT_SYS_LIBRARY_PATH
    992 PKG_CONFIG
    993 PKG_CONFIG_PATH
    994 PKG_CONFIG_LIBDIR
    995 XMLTO
    996 FOP
    997 XSLTPROC
    998 CPP
    999 PERL
   1000 BIGFONT_CFLAGS
   1001 BIGFONT_LIBS
   1002 LINT
   1003 LINT_FLAGS
   1004 X11_CFLAGS
   1005 X11_LIBS'
   1006 
   1007 
   1008 # Initialize some variables set by options.
   1009 ac_init_help=
   1010 ac_init_version=false
   1011 ac_unrecognized_opts=
   1012 ac_unrecognized_sep=
   1013 # The variables have the same names as the options, with
   1014 # dashes changed to underlines.
   1015 cache_file=/dev/null
   1016 exec_prefix=NONE
   1017 no_create=
   1018 no_recursion=
   1019 prefix=NONE
   1020 program_prefix=NONE
   1021 program_suffix=NONE
   1022 program_transform_name=s,x,x,
   1023 silent=
   1024 site=
   1025 srcdir=
   1026 verbose=
   1027 x_includes=NONE
   1028 x_libraries=NONE
   1029 
   1030 # Installation directory options.
   1031 # These are left unexpanded so users can "make install exec_prefix=/foo"
   1032 # and all the variables that are supposed to be based on exec_prefix
   1033 # by default will actually change.
   1034 # Use braces instead of parens because sh, perl, etc. also accept them.
   1035 # (The list follows the same order as the GNU Coding Standards.)
   1036 bindir='${exec_prefix}/bin'
   1037 sbindir='${exec_prefix}/sbin'
   1038 libexecdir='${exec_prefix}/libexec'
   1039 datarootdir='${prefix}/share'
   1040 datadir='${datarootdir}'
   1041 sysconfdir='${prefix}/etc'
   1042 sharedstatedir='${prefix}/com'
   1043 localstatedir='${prefix}/var'
   1044 runstatedir='${localstatedir}/run'
   1045 includedir='${prefix}/include'
   1046 oldincludedir='/usr/include'
   1047 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1048 infodir='${datarootdir}/info'
   1049 htmldir='${docdir}'
   1050 dvidir='${docdir}'
   1051 pdfdir='${docdir}'
   1052 psdir='${docdir}'
   1053 libdir='${exec_prefix}/lib'
   1054 localedir='${datarootdir}/locale'
   1055 mandir='${datarootdir}/man'
   1056 
   1057 ac_prev=
   1058 ac_dashdash=
   1059 for ac_option
   1060 do
   1061   # If the previous option needs an argument, assign it.
   1062   if test -n "$ac_prev"; then
   1063     eval $ac_prev=\$ac_option
   1064     ac_prev=
   1065     continue
   1066   fi
   1067 
   1068   case $ac_option in
   1069   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1070   *=)   ac_optarg= ;;
   1071   *)    ac_optarg=yes ;;
   1072   esac
   1073 
   1074   case $ac_dashdash$ac_option in
   1075   --)
   1076     ac_dashdash=yes ;;
   1077 
   1078   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1079     ac_prev=bindir ;;
   1080   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1081     bindir=$ac_optarg ;;
   1082 
   1083   -build | --build | --buil | --bui | --bu)
   1084     ac_prev=build_alias ;;
   1085   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1086     build_alias=$ac_optarg ;;
   1087 
   1088   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1089   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1090     ac_prev=cache_file ;;
   1091   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1092   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1093     cache_file=$ac_optarg ;;
   1094 
   1095   --config-cache | -C)
   1096     cache_file=config.cache ;;
   1097 
   1098   -datadir | --datadir | --datadi | --datad)
   1099     ac_prev=datadir ;;
   1100   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1101     datadir=$ac_optarg ;;
   1102 
   1103   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1104   | --dataroo | --dataro | --datar)
   1105     ac_prev=datarootdir ;;
   1106   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1107   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1108     datarootdir=$ac_optarg ;;
   1109 
   1110   -disable-* | --disable-*)
   1111     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1112     # Reject names that are not valid shell variable names.
   1113     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1114       as_fn_error $? "invalid feature name: \`$ac_useropt'"
   1115     ac_useropt_orig=$ac_useropt
   1116     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1117     case $ac_user_opts in
   1118       *"
   1119 "enable_$ac_useropt"
   1120 "*) ;;
   1121       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1122 	 ac_unrecognized_sep=', ';;
   1123     esac
   1124     eval enable_$ac_useropt=no ;;
   1125 
   1126   -docdir | --docdir | --docdi | --doc | --do)
   1127     ac_prev=docdir ;;
   1128   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1129     docdir=$ac_optarg ;;
   1130 
   1131   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1132     ac_prev=dvidir ;;
   1133   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1134     dvidir=$ac_optarg ;;
   1135 
   1136   -enable-* | --enable-*)
   1137     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1138     # Reject names that are not valid shell variable names.
   1139     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1140       as_fn_error $? "invalid feature name: \`$ac_useropt'"
   1141     ac_useropt_orig=$ac_useropt
   1142     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1143     case $ac_user_opts in
   1144       *"
   1145 "enable_$ac_useropt"
   1146 "*) ;;
   1147       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1148 	 ac_unrecognized_sep=', ';;
   1149     esac
   1150     eval enable_$ac_useropt=\$ac_optarg ;;
   1151 
   1152   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1153   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1154   | --exec | --exe | --ex)
   1155     ac_prev=exec_prefix ;;
   1156   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1157   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1158   | --exec=* | --exe=* | --ex=*)
   1159     exec_prefix=$ac_optarg ;;
   1160 
   1161   -gas | --gas | --ga | --g)
   1162     # Obsolete; use --with-gas.
   1163     with_gas=yes ;;
   1164 
   1165   -help | --help | --hel | --he | -h)
   1166     ac_init_help=long ;;
   1167   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1168     ac_init_help=recursive ;;
   1169   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1170     ac_init_help=short ;;
   1171 
   1172   -host | --host | --hos | --ho)
   1173     ac_prev=host_alias ;;
   1174   -host=* | --host=* | --hos=* | --ho=*)
   1175     host_alias=$ac_optarg ;;
   1176 
   1177   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1178     ac_prev=htmldir ;;
   1179   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1180   | --ht=*)
   1181     htmldir=$ac_optarg ;;
   1182 
   1183   -includedir | --includedir | --includedi | --included | --include \
   1184   | --includ | --inclu | --incl | --inc)
   1185     ac_prev=includedir ;;
   1186   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1187   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1188     includedir=$ac_optarg ;;
   1189 
   1190   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1191     ac_prev=infodir ;;
   1192   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1193     infodir=$ac_optarg ;;
   1194 
   1195   -libdir | --libdir | --libdi | --libd)
   1196     ac_prev=libdir ;;
   1197   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1198     libdir=$ac_optarg ;;
   1199 
   1200   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1201   | --libexe | --libex | --libe)
   1202     ac_prev=libexecdir ;;
   1203   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1204   | --libexe=* | --libex=* | --libe=*)
   1205     libexecdir=$ac_optarg ;;
   1206 
   1207   -localedir | --localedir | --localedi | --localed | --locale)
   1208     ac_prev=localedir ;;
   1209   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1210     localedir=$ac_optarg ;;
   1211 
   1212   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1213   | --localstate | --localstat | --localsta | --localst | --locals)
   1214     ac_prev=localstatedir ;;
   1215   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1216   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1217     localstatedir=$ac_optarg ;;
   1218 
   1219   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1220     ac_prev=mandir ;;
   1221   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1222     mandir=$ac_optarg ;;
   1223 
   1224   -nfp | --nfp | --nf)
   1225     # Obsolete; use --without-fp.
   1226     with_fp=no ;;
   1227 
   1228   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1229   | --no-cr | --no-c | -n)
   1230     no_create=yes ;;
   1231 
   1232   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1233   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1234     no_recursion=yes ;;
   1235 
   1236   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1237   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1238   | --oldin | --oldi | --old | --ol | --o)
   1239     ac_prev=oldincludedir ;;
   1240   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1241   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1242   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1243     oldincludedir=$ac_optarg ;;
   1244 
   1245   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1246     ac_prev=prefix ;;
   1247   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1248     prefix=$ac_optarg ;;
   1249 
   1250   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1251   | --program-pre | --program-pr | --program-p)
   1252     ac_prev=program_prefix ;;
   1253   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1254   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1255     program_prefix=$ac_optarg ;;
   1256 
   1257   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1258   | --program-suf | --program-su | --program-s)
   1259     ac_prev=program_suffix ;;
   1260   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1261   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1262     program_suffix=$ac_optarg ;;
   1263 
   1264   -program-transform-name | --program-transform-name \
   1265   | --program-transform-nam | --program-transform-na \
   1266   | --program-transform-n | --program-transform- \
   1267   | --program-transform | --program-transfor \
   1268   | --program-transfo | --program-transf \
   1269   | --program-trans | --program-tran \
   1270   | --progr-tra | --program-tr | --program-t)
   1271     ac_prev=program_transform_name ;;
   1272   -program-transform-name=* | --program-transform-name=* \
   1273   | --program-transform-nam=* | --program-transform-na=* \
   1274   | --program-transform-n=* | --program-transform-=* \
   1275   | --program-transform=* | --program-transfor=* \
   1276   | --program-transfo=* | --program-transf=* \
   1277   | --program-trans=* | --program-tran=* \
   1278   | --progr-tra=* | --program-tr=* | --program-t=*)
   1279     program_transform_name=$ac_optarg ;;
   1280 
   1281   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1282     ac_prev=pdfdir ;;
   1283   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1284     pdfdir=$ac_optarg ;;
   1285 
   1286   -psdir | --psdir | --psdi | --psd | --ps)
   1287     ac_prev=psdir ;;
   1288   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1289     psdir=$ac_optarg ;;
   1290 
   1291   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1292   | -silent | --silent | --silen | --sile | --sil)
   1293     silent=yes ;;
   1294 
   1295   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1296   | --runstate | --runstat | --runsta | --runst | --runs \
   1297   | --run | --ru | --r)
   1298     ac_prev=runstatedir ;;
   1299   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1300   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1301   | --run=* | --ru=* | --r=*)
   1302     runstatedir=$ac_optarg ;;
   1303 
   1304   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1305     ac_prev=sbindir ;;
   1306   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1307   | --sbi=* | --sb=*)
   1308     sbindir=$ac_optarg ;;
   1309 
   1310   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1311   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1312   | --sharedst | --shareds | --shared | --share | --shar \
   1313   | --sha | --sh)
   1314     ac_prev=sharedstatedir ;;
   1315   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1316   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1317   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1318   | --sha=* | --sh=*)
   1319     sharedstatedir=$ac_optarg ;;
   1320 
   1321   -site | --site | --sit)
   1322     ac_prev=site ;;
   1323   -site=* | --site=* | --sit=*)
   1324     site=$ac_optarg ;;
   1325 
   1326   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1327     ac_prev=srcdir ;;
   1328   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1329     srcdir=$ac_optarg ;;
   1330 
   1331   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1332   | --syscon | --sysco | --sysc | --sys | --sy)
   1333     ac_prev=sysconfdir ;;
   1334   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1335   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1336     sysconfdir=$ac_optarg ;;
   1337 
   1338   -target | --target | --targe | --targ | --tar | --ta | --t)
   1339     ac_prev=target_alias ;;
   1340   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1341     target_alias=$ac_optarg ;;
   1342 
   1343   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1344     verbose=yes ;;
   1345 
   1346   -version | --version | --versio | --versi | --vers | -V)
   1347     ac_init_version=: ;;
   1348 
   1349   -with-* | --with-*)
   1350     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1351     # Reject names that are not valid shell variable names.
   1352     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1353       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1354     ac_useropt_orig=$ac_useropt
   1355     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1356     case $ac_user_opts in
   1357       *"
   1358 "with_$ac_useropt"
   1359 "*) ;;
   1360       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1361 	 ac_unrecognized_sep=', ';;
   1362     esac
   1363     eval with_$ac_useropt=\$ac_optarg ;;
   1364 
   1365   -without-* | --without-*)
   1366     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1367     # Reject names that are not valid shell variable names.
   1368     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1369       as_fn_error $? "invalid package name: \`$ac_useropt'"
   1370     ac_useropt_orig=$ac_useropt
   1371     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1372     case $ac_user_opts in
   1373       *"
   1374 "with_$ac_useropt"
   1375 "*) ;;
   1376       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1377 	 ac_unrecognized_sep=', ';;
   1378     esac
   1379     eval with_$ac_useropt=no ;;
   1380 
   1381   --x)
   1382     # Obsolete; use --with-x.
   1383     with_x=yes ;;
   1384 
   1385   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1386   | --x-incl | --x-inc | --x-in | --x-i)
   1387     ac_prev=x_includes ;;
   1388   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1389   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1390     x_includes=$ac_optarg ;;
   1391 
   1392   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1393   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1394     ac_prev=x_libraries ;;
   1395   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1396   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1397     x_libraries=$ac_optarg ;;
   1398 
   1399   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1400 Try \`$0 --help' for more information"
   1401     ;;
   1402 
   1403   *=*)
   1404     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1405     # Reject names that are not valid shell variable names.
   1406     case $ac_envvar in #(
   1407       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1408       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1409     esac
   1410     eval $ac_envvar=\$ac_optarg
   1411     export $ac_envvar ;;
   1412 
   1413   *)
   1414     # FIXME: should be removed in autoconf 3.0.
   1415     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1416     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1417       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1418     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1419     ;;
   1420 
   1421   esac
   1422 done
   1423 
   1424 if test -n "$ac_prev"; then
   1425   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1426   as_fn_error $? "missing argument to $ac_option"
   1427 fi
   1428 
   1429 if test -n "$ac_unrecognized_opts"; then
   1430   case $enable_option_checking in
   1431     no) ;;
   1432     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1433     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1434   esac
   1435 fi
   1436 
   1437 # Check all directory arguments for consistency.
   1438 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1439 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1440 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1441 		libdir localedir mandir runstatedir
   1442 do
   1443   eval ac_val=\$$ac_var
   1444   # Remove trailing slashes.
   1445   case $ac_val in
   1446     */ )
   1447       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1448       eval $ac_var=\$ac_val;;
   1449   esac
   1450   # Be sure to have absolute directory names.
   1451   case $ac_val in
   1452     [\\/$]* | ?:[\\/]* )  continue;;
   1453     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1454   esac
   1455   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1456 done
   1457 
   1458 # There might be people who depend on the old broken behavior: `$host'
   1459 # used to hold the argument of --host etc.
   1460 # FIXME: To remove some day.
   1461 build=$build_alias
   1462 host=$host_alias
   1463 target=$target_alias
   1464 
   1465 # FIXME: To remove some day.
   1466 if test "x$host_alias" != x; then
   1467   if test "x$build_alias" = x; then
   1468     cross_compiling=maybe
   1469   elif test "x$build_alias" != "x$host_alias"; then
   1470     cross_compiling=yes
   1471   fi
   1472 fi
   1473 
   1474 ac_tool_prefix=
   1475 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1476 
   1477 test "$silent" = yes && exec 6>/dev/null
   1478 
   1479 
   1480 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1481 ac_ls_di=`ls -di .` &&
   1482 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1483   as_fn_error $? "working directory cannot be determined"
   1484 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1485   as_fn_error $? "pwd does not report name of working directory"
   1486 
   1487 
   1488 # Find the source files, if location was not specified.
   1489 if test -z "$srcdir"; then
   1490   ac_srcdir_defaulted=yes
   1491   # Try the directory containing this script, then the parent directory.
   1492   ac_confdir=`$as_dirname -- "$as_myself" ||
   1493 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1494 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1495 	 X"$as_myself" : 'X\(//\)$' \| \
   1496 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1497 printf "%s\n" X"$as_myself" |
   1498     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1499 	    s//\1/
   1500 	    q
   1501 	  }
   1502 	  /^X\(\/\/\)[^/].*/{
   1503 	    s//\1/
   1504 	    q
   1505 	  }
   1506 	  /^X\(\/\/\)$/{
   1507 	    s//\1/
   1508 	    q
   1509 	  }
   1510 	  /^X\(\/\).*/{
   1511 	    s//\1/
   1512 	    q
   1513 	  }
   1514 	  s/.*/./; q'`
   1515   srcdir=$ac_confdir
   1516   if test ! -r "$srcdir/$ac_unique_file"; then
   1517     srcdir=..
   1518   fi
   1519 else
   1520   ac_srcdir_defaulted=no
   1521 fi
   1522 if test ! -r "$srcdir/$ac_unique_file"; then
   1523   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1524   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1525 fi
   1526 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1527 ac_abs_confdir=`(
   1528 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1529 	pwd)`
   1530 # When building in place, set srcdir=.
   1531 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1532   srcdir=.
   1533 fi
   1534 # Remove unnecessary trailing slashes from srcdir.
   1535 # Double slashes in file names in object file debugging info
   1536 # mess up M-x gdb in Emacs.
   1537 case $srcdir in
   1538 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1539 esac
   1540 for ac_var in $ac_precious_vars; do
   1541   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1542   eval ac_env_${ac_var}_value=\$${ac_var}
   1543   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1544   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1545 done
   1546 
   1547 #
   1548 # Report the --help message.
   1549 #
   1550 if test "$ac_init_help" = "long"; then
   1551   # Omit some internal or obsolete options to make the list less imposing.
   1552   # This message is too long to be a string in the A/UX 3.1 sh.
   1553   cat <<_ACEOF
   1554 \`configure' configures libX11 1.8.7 to adapt to many kinds of systems.
   1555 
   1556 Usage: $0 [OPTION]... [VAR=VALUE]...
   1557 
   1558 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1559 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1560 
   1561 Defaults for the options are specified in brackets.
   1562 
   1563 Configuration:
   1564   -h, --help              display this help and exit
   1565       --help=short        display options specific to this package
   1566       --help=recursive    display the short help of all the included packages
   1567   -V, --version           display version information and exit
   1568   -q, --quiet, --silent   do not print \`checking ...' messages
   1569       --cache-file=FILE   cache test results in FILE [disabled]
   1570   -C, --config-cache      alias for \`--cache-file=config.cache'
   1571   -n, --no-create         do not create output files
   1572       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1573 
   1574 Installation directories:
   1575   --prefix=PREFIX         install architecture-independent files in PREFIX
   1576                           [$ac_default_prefix]
   1577   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1578                           [PREFIX]
   1579 
   1580 By default, \`make install' will install all the files in
   1581 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1582 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1583 for instance \`--prefix=\$HOME'.
   1584 
   1585 For better control, use the options below.
   1586 
   1587 Fine tuning of the installation directories:
   1588   --bindir=DIR            user executables [EPREFIX/bin]
   1589   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1590   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1591   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1592   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1593   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1594   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1595   --libdir=DIR            object code libraries [EPREFIX/lib]
   1596   --includedir=DIR        C header files [PREFIX/include]
   1597   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1598   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1599   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1600   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1601   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1602   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1603   --docdir=DIR            documentation root [DATAROOTDIR/doc/libX11]
   1604   --htmldir=DIR           html documentation [DOCDIR]
   1605   --dvidir=DIR            dvi documentation [DOCDIR]
   1606   --pdfdir=DIR            pdf documentation [DOCDIR]
   1607   --psdir=DIR             ps documentation [DOCDIR]
   1608 _ACEOF
   1609 
   1610   cat <<\_ACEOF
   1611 
   1612 Program names:
   1613   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1614   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1615   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1616 
   1617 System types:
   1618   --build=BUILD     configure for building on BUILD [guessed]
   1619   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1620 _ACEOF
   1621 fi
   1622 
   1623 if test -n "$ac_init_help"; then
   1624   case $ac_init_help in
   1625      short | recursive ) echo "Configuration of libX11 1.8.7:";;
   1626    esac
   1627   cat <<\_ACEOF
   1628 
   1629 Optional Features:
   1630   --disable-option-checking  ignore unrecognized --enable/--with options
   1631   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1632   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1633   --enable-dependency-tracking
   1634                           do not reject slow dependency extractors
   1635   --disable-dependency-tracking
   1636                           speeds up one-time build
   1637   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1638   --disable-silent-rules  verbose build output (undo: "make V=0")
   1639   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1640   --enable-static[=PKGS]  build static libraries [default=yes]
   1641   --enable-fast-install[=PKGS]
   1642                           optimize for fast installation [default=yes]
   1643   --disable-libtool-lock  avoid locking (might break parallel builds)
   1644   --disable-largefile     omit support for large files
   1645   --disable-selective-werror
   1646                           Turn off selective compiler errors. (default:
   1647                           enabled)
   1648   --enable-strict-compilation
   1649                           Enable all warnings from compiler and make them
   1650                           errors (default: disabled)
   1651   --enable-specs          Enable building the specs (default: yes)
   1652   --enable-unix-transport Enable UNIX domain socket transport
   1653   --enable-tcp-transport  Enable TCP socket transport
   1654   --enable-ipv6           Enable IPv6 support
   1655   --enable-local-transport
   1656                           Enable os-specific local transport
   1657   --enable-loadable-i18n  Controls loadable i18n module support
   1658   --disable-loadable-xcursor
   1659                           Controls loadable xcursor library support
   1660   --disable-thread-safety-constructor
   1661                           Controls mandatory thread safety support
   1662   --disable-xthreads      Disable Xlib support for Multithreading
   1663   --disable-xcms          Disable Xlib support for CMS *EXPERIMENTAL*
   1664   --disable-xlocale       Disable Xlib locale implementation *EXPERIMENTAL*
   1665   --enable-xlocaledir     Enable XLOCALEDIR environment variable support
   1666   --disable-xf86bigfont   Disable XF86BigFont extension support
   1667   --disable-xkb           Disable XKB support *EXPERIMENTAL*
   1668   --disable-composecache  Disable compose table cache support
   1669   --enable-lint-library   Create lint library (default: disabled)
   1670   --enable-malloc0returnsnull
   1671                           malloc(0) returns NULL (default: auto)
   1672 
   1673 Optional Packages:
   1674   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1675   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1676   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1677                           both]
   1678   --with-aix-soname=aix|svr4|both
   1679                           shared library versioning (aka "SONAME") variant to
   1680                           provide on AIX, [default=aix].
   1681   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1682   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1683                           compiler's sysroot if not specified).
   1684   --with-xmlto            Use xmlto to regenerate documentation (default:
   1685                           auto)
   1686   --with-fop              Use fop to regenerate documentation (default: no)
   1687   --with-xsltproc         Use xsltproc for the transformation of XML documents
   1688                           (default: auto)
   1689   --with-perl             Use perl for extracting information from files
   1690                           (default: auto)
   1691   --with-launchd          Build with support for Apple's launchd (default:
   1692                           auto)
   1693   --with-keysymdefdir=DIR The location of keysymdef.h (defaults to xproto
   1694                           include dir)
   1695   --with-lint             Use a lint-style source code checker (default:
   1696                           disabled)
   1697   --with-locale-lib-dir=DIR
   1698                           Directory where locale libraries files are installed
   1699                           (default: $libdir/X11/locale)
   1700 
   1701 Some influential environment variables:
   1702   CC          C compiler command
   1703   CFLAGS      C compiler flags
   1704   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1705               nonstandard directory <lib dir>
   1706   LIBS        libraries to pass to the linker, e.g. -l<library>
   1707   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1708               you have headers in a nonstandard directory <include dir>
   1709   LT_SYS_LIBRARY_PATH
   1710               User-defined run-time library search path.
   1711   PKG_CONFIG  path to pkg-config utility
   1712   PKG_CONFIG_PATH
   1713               directories to add to pkg-config's search path
   1714   PKG_CONFIG_LIBDIR
   1715               path overriding pkg-config's built-in search path
   1716   XMLTO       Path to xmlto command
   1717   FOP         Path to fop command
   1718   XSLTPROC    Path to xsltproc command
   1719   CPP         C preprocessor
   1720   PERL        Path to perl command
   1721   BIGFONT_CFLAGS
   1722               C compiler flags for BIGFONT, overriding pkg-config
   1723   BIGFONT_LIBS
   1724               linker flags for BIGFONT, overriding pkg-config
   1725   LINT        Path to a lint-style command
   1726   LINT_FLAGS  Flags for the lint-style command
   1727   X11_CFLAGS  C compiler flags for X11, overriding pkg-config
   1728   X11_LIBS    linker flags for X11, overriding pkg-config
   1729 
   1730 Use these variables to override the choices made by `configure' or to help
   1731 it to find libraries and programs with nonstandard names/locations.
   1732 
   1733 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues>.
   1734 _ACEOF
   1735 ac_status=$?
   1736 fi
   1737 
   1738 if test "$ac_init_help" = "recursive"; then
   1739   # If there are subdirs, report their specific --help.
   1740   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1741     test -d "$ac_dir" ||
   1742       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1743       continue
   1744     ac_builddir=.
   1745 
   1746 case "$ac_dir" in
   1747 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1748 *)
   1749   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1750   # A ".." for each directory in $ac_dir_suffix.
   1751   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1752   case $ac_top_builddir_sub in
   1753   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1754   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1755   esac ;;
   1756 esac
   1757 ac_abs_top_builddir=$ac_pwd
   1758 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1759 # for backward compatibility:
   1760 ac_top_builddir=$ac_top_build_prefix
   1761 
   1762 case $srcdir in
   1763   .)  # We are building in place.
   1764     ac_srcdir=.
   1765     ac_top_srcdir=$ac_top_builddir_sub
   1766     ac_abs_top_srcdir=$ac_pwd ;;
   1767   [\\/]* | ?:[\\/]* )  # Absolute name.
   1768     ac_srcdir=$srcdir$ac_dir_suffix;
   1769     ac_top_srcdir=$srcdir
   1770     ac_abs_top_srcdir=$srcdir ;;
   1771   *) # Relative name.
   1772     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1773     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1774     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1775 esac
   1776 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1777 
   1778     cd "$ac_dir" || { ac_status=$?; continue; }
   1779     # Check for configure.gnu first; this name is used for a wrapper for
   1780     # Metaconfig's "Configure" on case-insensitive file systems.
   1781     if test -f "$ac_srcdir/configure.gnu"; then
   1782       echo &&
   1783       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1784     elif test -f "$ac_srcdir/configure"; then
   1785       echo &&
   1786       $SHELL "$ac_srcdir/configure" --help=recursive
   1787     else
   1788       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1789     fi || ac_status=$?
   1790     cd "$ac_pwd" || { ac_status=$?; break; }
   1791   done
   1792 fi
   1793 
   1794 test -n "$ac_init_help" && exit $ac_status
   1795 if $ac_init_version; then
   1796   cat <<\_ACEOF
   1797 libX11 configure 1.8.7
   1798 generated by GNU Autoconf 2.71
   1799 
   1800 Copyright (C) 2021 Free Software Foundation, Inc.
   1801 This configure script is free software; the Free Software Foundation
   1802 gives unlimited permission to copy, distribute and modify it.
   1803 _ACEOF
   1804   exit
   1805 fi
   1806 
   1807 ## ------------------------ ##
   1808 ## Autoconf initialization. ##
   1809 ## ------------------------ ##
   1810 
   1811 # ac_fn_c_try_compile LINENO
   1812 # --------------------------
   1813 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1814 ac_fn_c_try_compile ()
   1815 {
   1816   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1817   rm -f conftest.$ac_objext conftest.beam
   1818   if { { ac_try="$ac_compile"
   1819 case "(($ac_try" in
   1820   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1821   *) ac_try_echo=$ac_try;;
   1822 esac
   1823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1824 printf "%s\n" "$ac_try_echo"; } >&5
   1825   (eval "$ac_compile") 2>conftest.err
   1826   ac_status=$?
   1827   if test -s conftest.err; then
   1828     grep -v '^ *+' conftest.err >conftest.er1
   1829     cat conftest.er1 >&5
   1830     mv -f conftest.er1 conftest.err
   1831   fi
   1832   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1833   test $ac_status = 0; } && {
   1834 	 test -z "$ac_c_werror_flag" ||
   1835 	 test ! -s conftest.err
   1836        } && test -s conftest.$ac_objext
   1837 then :
   1838   ac_retval=0
   1839 else $as_nop
   1840   printf "%s\n" "$as_me: failed program was:" >&5
   1841 sed 's/^/| /' conftest.$ac_ext >&5
   1842 
   1843 	ac_retval=1
   1844 fi
   1845   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1846   as_fn_set_status $ac_retval
   1847 
   1848 } # ac_fn_c_try_compile
   1849 
   1850 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1851 # -------------------------------------------------------
   1852 # Tests whether HEADER exists and can be compiled using the include files in
   1853 # INCLUDES, setting the cache variable VAR accordingly.
   1854 ac_fn_c_check_header_compile ()
   1855 {
   1856   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1857   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1858 printf %s "checking for $2... " >&6; }
   1859 if eval test \${$3+y}
   1860 then :
   1861   printf %s "(cached) " >&6
   1862 else $as_nop
   1863   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1864 /* end confdefs.h.  */
   1865 $4
   1866 #include <$2>
   1867 _ACEOF
   1868 if ac_fn_c_try_compile "$LINENO"
   1869 then :
   1870   eval "$3=yes"
   1871 else $as_nop
   1872   eval "$3=no"
   1873 fi
   1874 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1875 fi
   1876 eval ac_res=\$$3
   1877 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1878 printf "%s\n" "$ac_res" >&6; }
   1879   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1880 
   1881 } # ac_fn_c_check_header_compile
   1882 
   1883 # ac_fn_c_try_link LINENO
   1884 # -----------------------
   1885 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1886 ac_fn_c_try_link ()
   1887 {
   1888   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1889   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1890   if { { ac_try="$ac_link"
   1891 case "(($ac_try" in
   1892   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1893   *) ac_try_echo=$ac_try;;
   1894 esac
   1895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1896 printf "%s\n" "$ac_try_echo"; } >&5
   1897   (eval "$ac_link") 2>conftest.err
   1898   ac_status=$?
   1899   if test -s conftest.err; then
   1900     grep -v '^ *+' conftest.err >conftest.er1
   1901     cat conftest.er1 >&5
   1902     mv -f conftest.er1 conftest.err
   1903   fi
   1904   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1905   test $ac_status = 0; } && {
   1906 	 test -z "$ac_c_werror_flag" ||
   1907 	 test ! -s conftest.err
   1908        } && test -s conftest$ac_exeext && {
   1909 	 test "$cross_compiling" = yes ||
   1910 	 test -x conftest$ac_exeext
   1911        }
   1912 then :
   1913   ac_retval=0
   1914 else $as_nop
   1915   printf "%s\n" "$as_me: failed program was:" >&5
   1916 sed 's/^/| /' conftest.$ac_ext >&5
   1917 
   1918 	ac_retval=1
   1919 fi
   1920   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1921   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1922   # interfere with the next link command; also delete a directory that is
   1923   # left behind by Apple's compiler.  We do this before executing the actions.
   1924   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1925   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1926   as_fn_set_status $ac_retval
   1927 
   1928 } # ac_fn_c_try_link
   1929 
   1930 # ac_fn_c_check_func LINENO FUNC VAR
   1931 # ----------------------------------
   1932 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1933 ac_fn_c_check_func ()
   1934 {
   1935   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1936   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1937 printf %s "checking for $2... " >&6; }
   1938 if eval test \${$3+y}
   1939 then :
   1940   printf %s "(cached) " >&6
   1941 else $as_nop
   1942   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1943 /* end confdefs.h.  */
   1944 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1945    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1946 #define $2 innocuous_$2
   1947 
   1948 /* System header to define __stub macros and hopefully few prototypes,
   1949    which can conflict with char $2 (); below.  */
   1950 
   1951 #include <limits.h>
   1952 #undef $2
   1953 
   1954 /* Override any GCC internal prototype to avoid an error.
   1955    Use char because int might match the return type of a GCC
   1956    builtin and then its argument prototype would still apply.  */
   1957 #ifdef __cplusplus
   1958 extern "C"
   1959 #endif
   1960 char $2 ();
   1961 /* The GNU C library defines this for functions which it implements
   1962     to always fail with ENOSYS.  Some functions are actually named
   1963     something starting with __ and the normal name is an alias.  */
   1964 #if defined __stub_$2 || defined __stub___$2
   1965 choke me
   1966 #endif
   1967 
   1968 int
   1969 main (void)
   1970 {
   1971 return $2 ();
   1972   ;
   1973   return 0;
   1974 }
   1975 _ACEOF
   1976 if ac_fn_c_try_link "$LINENO"
   1977 then :
   1978   eval "$3=yes"
   1979 else $as_nop
   1980   eval "$3=no"
   1981 fi
   1982 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   1983     conftest$ac_exeext conftest.$ac_ext
   1984 fi
   1985 eval ac_res=\$$3
   1986 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1987 printf "%s\n" "$ac_res" >&6; }
   1988   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1989 
   1990 } # ac_fn_c_check_func
   1991 
   1992 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1993 # ------------------------------------------------------------------
   1994 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1995 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1996 ac_fn_check_decl ()
   1997 {
   1998   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1999   as_decl_name=`echo $2|sed 's/ *(.*//'`
   2000   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   2001 printf %s "checking whether $as_decl_name is declared... " >&6; }
   2002 if eval test \${$3+y}
   2003 then :
   2004   printf %s "(cached) " >&6
   2005 else $as_nop
   2006   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2007   eval ac_save_FLAGS=\$$6
   2008   as_fn_append $6 " $5"
   2009   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2010 /* end confdefs.h.  */
   2011 $4
   2012 int
   2013 main (void)
   2014 {
   2015 #ifndef $as_decl_name
   2016 #ifdef __cplusplus
   2017   (void) $as_decl_use;
   2018 #else
   2019   (void) $as_decl_name;
   2020 #endif
   2021 #endif
   2022 
   2023   ;
   2024   return 0;
   2025 }
   2026 _ACEOF
   2027 if ac_fn_c_try_compile "$LINENO"
   2028 then :
   2029   eval "$3=yes"
   2030 else $as_nop
   2031   eval "$3=no"
   2032 fi
   2033 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2034   eval $6=\$ac_save_FLAGS
   2035 
   2036 fi
   2037 eval ac_res=\$$3
   2038 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2039 printf "%s\n" "$ac_res" >&6; }
   2040   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2041 
   2042 } # ac_fn_check_decl
   2043 
   2044 # ac_fn_c_try_cpp LINENO
   2045 # ----------------------
   2046 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   2047 ac_fn_c_try_cpp ()
   2048 {
   2049   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2050   if { { ac_try="$ac_cpp conftest.$ac_ext"
   2051 case "(($ac_try" in
   2052   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2053   *) ac_try_echo=$ac_try;;
   2054 esac
   2055 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2056 printf "%s\n" "$ac_try_echo"; } >&5
   2057   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   2058   ac_status=$?
   2059   if test -s conftest.err; then
   2060     grep -v '^ *+' conftest.err >conftest.er1
   2061     cat conftest.er1 >&5
   2062     mv -f conftest.er1 conftest.err
   2063   fi
   2064   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2065   test $ac_status = 0; } > conftest.i && {
   2066 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   2067 	 test ! -s conftest.err
   2068        }
   2069 then :
   2070   ac_retval=0
   2071 else $as_nop
   2072   printf "%s\n" "$as_me: failed program was:" >&5
   2073 sed 's/^/| /' conftest.$ac_ext >&5
   2074 
   2075     ac_retval=1
   2076 fi
   2077   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2078   as_fn_set_status $ac_retval
   2079 
   2080 } # ac_fn_c_try_cpp
   2081 
   2082 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   2083 # ----------------------------------------------------
   2084 # Tries to find if the field MEMBER exists in type AGGR, after including
   2085 # INCLUDES, setting cache variable VAR accordingly.
   2086 ac_fn_c_check_member ()
   2087 {
   2088   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2089   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   2090 printf %s "checking for $2.$3... " >&6; }
   2091 if eval test \${$4+y}
   2092 then :
   2093   printf %s "(cached) " >&6
   2094 else $as_nop
   2095   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2096 /* end confdefs.h.  */
   2097 $5
   2098 int
   2099 main (void)
   2100 {
   2101 static $2 ac_aggr;
   2102 if (ac_aggr.$3)
   2103 return 0;
   2104   ;
   2105   return 0;
   2106 }
   2107 _ACEOF
   2108 if ac_fn_c_try_compile "$LINENO"
   2109 then :
   2110   eval "$4=yes"
   2111 else $as_nop
   2112   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2113 /* end confdefs.h.  */
   2114 $5
   2115 int
   2116 main (void)
   2117 {
   2118 static $2 ac_aggr;
   2119 if (sizeof ac_aggr.$3)
   2120 return 0;
   2121   ;
   2122   return 0;
   2123 }
   2124 _ACEOF
   2125 if ac_fn_c_try_compile "$LINENO"
   2126 then :
   2127   eval "$4=yes"
   2128 else $as_nop
   2129   eval "$4=no"
   2130 fi
   2131 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2132 fi
   2133 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2134 fi
   2135 eval ac_res=\$$4
   2136 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2137 printf "%s\n" "$ac_res" >&6; }
   2138   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2139 
   2140 } # ac_fn_c_check_member
   2141 
   2142 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   2143 # -------------------------------------------
   2144 # Tests whether TYPE exists after having included INCLUDES, setting cache
   2145 # variable VAR accordingly.
   2146 ac_fn_c_check_type ()
   2147 {
   2148   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2149   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2150 printf %s "checking for $2... " >&6; }
   2151 if eval test \${$3+y}
   2152 then :
   2153   printf %s "(cached) " >&6
   2154 else $as_nop
   2155   eval "$3=no"
   2156   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2157 /* end confdefs.h.  */
   2158 $4
   2159 int
   2160 main (void)
   2161 {
   2162 if (sizeof ($2))
   2163 	 return 0;
   2164   ;
   2165   return 0;
   2166 }
   2167 _ACEOF
   2168 if ac_fn_c_try_compile "$LINENO"
   2169 then :
   2170   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2171 /* end confdefs.h.  */
   2172 $4
   2173 int
   2174 main (void)
   2175 {
   2176 if (sizeof (($2)))
   2177 	    return 0;
   2178   ;
   2179   return 0;
   2180 }
   2181 _ACEOF
   2182 if ac_fn_c_try_compile "$LINENO"
   2183 then :
   2184 
   2185 else $as_nop
   2186   eval "$3=yes"
   2187 fi
   2188 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2189 fi
   2190 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   2191 fi
   2192 eval ac_res=\$$3
   2193 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2194 printf "%s\n" "$ac_res" >&6; }
   2195   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2196 
   2197 } # ac_fn_c_check_type
   2198 
   2199 # ac_fn_c_try_run LINENO
   2200 # ----------------------
   2201 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
   2202 # executables *can* be run.
   2203 ac_fn_c_try_run ()
   2204 {
   2205   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2206   if { { ac_try="$ac_link"
   2207 case "(($ac_try" in
   2208   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2209   *) ac_try_echo=$ac_try;;
   2210 esac
   2211 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2212 printf "%s\n" "$ac_try_echo"; } >&5
   2213   (eval "$ac_link") 2>&5
   2214   ac_status=$?
   2215   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2216   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   2217   { { case "(($ac_try" in
   2218   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2219   *) ac_try_echo=$ac_try;;
   2220 esac
   2221 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2222 printf "%s\n" "$ac_try_echo"; } >&5
   2223   (eval "$ac_try") 2>&5
   2224   ac_status=$?
   2225   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2226   test $ac_status = 0; }; }
   2227 then :
   2228   ac_retval=0
   2229 else $as_nop
   2230   printf "%s\n" "$as_me: program exited with status $ac_status" >&5
   2231        printf "%s\n" "$as_me: failed program was:" >&5
   2232 sed 's/^/| /' conftest.$ac_ext >&5
   2233 
   2234        ac_retval=$ac_status
   2235 fi
   2236   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   2237   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2238   as_fn_set_status $ac_retval
   2239 
   2240 } # ac_fn_c_try_run
   2241 ac_configure_args_raw=
   2242 for ac_arg
   2243 do
   2244   case $ac_arg in
   2245   *\'*)
   2246     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2247   esac
   2248   as_fn_append ac_configure_args_raw " '$ac_arg'"
   2249 done
   2250 
   2251 case $ac_configure_args_raw in
   2252   *$as_nl*)
   2253     ac_safe_unquote= ;;
   2254   *)
   2255     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   2256     ac_unsafe_a="$ac_unsafe_z#~"
   2257     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   2258     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   2259 esac
   2260 
   2261 cat >config.log <<_ACEOF
   2262 This file contains any messages produced by compilers while
   2263 running configure, to aid debugging if configure makes a mistake.
   2264 
   2265 It was created by libX11 $as_me 1.8.7, which was
   2266 generated by GNU Autoconf 2.71.  Invocation command line was
   2267 
   2268   $ $0$ac_configure_args_raw
   2269 
   2270 _ACEOF
   2271 exec 5>>config.log
   2272 {
   2273 cat <<_ASUNAME
   2274 ## --------- ##
   2275 ## Platform. ##
   2276 ## --------- ##
   2277 
   2278 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2279 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2280 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2281 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2282 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2283 
   2284 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2285 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2286 
   2287 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2288 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2289 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2290 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2291 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2292 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2293 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2294 
   2295 _ASUNAME
   2296 
   2297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2298 for as_dir in $PATH
   2299 do
   2300   IFS=$as_save_IFS
   2301   case $as_dir in #(((
   2302     '') as_dir=./ ;;
   2303     */) ;;
   2304     *) as_dir=$as_dir/ ;;
   2305   esac
   2306     printf "%s\n" "PATH: $as_dir"
   2307   done
   2308 IFS=$as_save_IFS
   2309 
   2310 } >&5
   2311 
   2312 cat >&5 <<_ACEOF
   2313 
   2314 
   2315 ## ----------- ##
   2316 ## Core tests. ##
   2317 ## ----------- ##
   2318 
   2319 _ACEOF
   2320 
   2321 
   2322 # Keep a trace of the command line.
   2323 # Strip out --no-create and --no-recursion so they do not pile up.
   2324 # Strip out --silent because we don't want to record it for future runs.
   2325 # Also quote any args containing shell meta-characters.
   2326 # Make two passes to allow for proper duplicate-argument suppression.
   2327 ac_configure_args=
   2328 ac_configure_args0=
   2329 ac_configure_args1=
   2330 ac_must_keep_next=false
   2331 for ac_pass in 1 2
   2332 do
   2333   for ac_arg
   2334   do
   2335     case $ac_arg in
   2336     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2337     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2338     | -silent | --silent | --silen | --sile | --sil)
   2339       continue ;;
   2340     *\'*)
   2341       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2342     esac
   2343     case $ac_pass in
   2344     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2345     2)
   2346       as_fn_append ac_configure_args1 " '$ac_arg'"
   2347       if test $ac_must_keep_next = true; then
   2348 	ac_must_keep_next=false # Got value, back to normal.
   2349       else
   2350 	case $ac_arg in
   2351 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2352 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2353 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2354 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2355 	    case "$ac_configure_args0 " in
   2356 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2357 	    esac
   2358 	    ;;
   2359 	  -* ) ac_must_keep_next=true ;;
   2360 	esac
   2361       fi
   2362       as_fn_append ac_configure_args " '$ac_arg'"
   2363       ;;
   2364     esac
   2365   done
   2366 done
   2367 { ac_configure_args0=; unset ac_configure_args0;}
   2368 { ac_configure_args1=; unset ac_configure_args1;}
   2369 
   2370 # When interrupted or exit'd, cleanup temporary files, and complete
   2371 # config.log.  We remove comments because anyway the quotes in there
   2372 # would cause problems or look ugly.
   2373 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2374 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2375 trap 'exit_status=$?
   2376   # Sanitize IFS.
   2377   IFS=" ""	$as_nl"
   2378   # Save into config.log some information that might help in debugging.
   2379   {
   2380     echo
   2381 
   2382     printf "%s\n" "## ---------------- ##
   2383 ## Cache variables. ##
   2384 ## ---------------- ##"
   2385     echo
   2386     # The following way of writing the cache mishandles newlines in values,
   2387 (
   2388   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2389     eval ac_val=\$$ac_var
   2390     case $ac_val in #(
   2391     *${as_nl}*)
   2392       case $ac_var in #(
   2393       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2394 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2395       esac
   2396       case $ac_var in #(
   2397       _ | IFS | as_nl) ;; #(
   2398       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2399       *) { eval $ac_var=; unset $ac_var;} ;;
   2400       esac ;;
   2401     esac
   2402   done
   2403   (set) 2>&1 |
   2404     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2405     *${as_nl}ac_space=\ *)
   2406       sed -n \
   2407 	"s/'\''/'\''\\\\'\'''\''/g;
   2408 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2409       ;; #(
   2410     *)
   2411       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2412       ;;
   2413     esac |
   2414     sort
   2415 )
   2416     echo
   2417 
   2418     printf "%s\n" "## ----------------- ##
   2419 ## Output variables. ##
   2420 ## ----------------- ##"
   2421     echo
   2422     for ac_var in $ac_subst_vars
   2423     do
   2424       eval ac_val=\$$ac_var
   2425       case $ac_val in
   2426       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2427       esac
   2428       printf "%s\n" "$ac_var='\''$ac_val'\''"
   2429     done | sort
   2430     echo
   2431 
   2432     if test -n "$ac_subst_files"; then
   2433       printf "%s\n" "## ------------------- ##
   2434 ## File substitutions. ##
   2435 ## ------------------- ##"
   2436       echo
   2437       for ac_var in $ac_subst_files
   2438       do
   2439 	eval ac_val=\$$ac_var
   2440 	case $ac_val in
   2441 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2442 	esac
   2443 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   2444       done | sort
   2445       echo
   2446     fi
   2447 
   2448     if test -s confdefs.h; then
   2449       printf "%s\n" "## ----------- ##
   2450 ## confdefs.h. ##
   2451 ## ----------- ##"
   2452       echo
   2453       cat confdefs.h
   2454       echo
   2455     fi
   2456     test "$ac_signal" != 0 &&
   2457       printf "%s\n" "$as_me: caught signal $ac_signal"
   2458     printf "%s\n" "$as_me: exit $exit_status"
   2459   } >&5
   2460   rm -f core *.core core.conftest.* &&
   2461     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2462     exit $exit_status
   2463 ' 0
   2464 for ac_signal in 1 2 13 15; do
   2465   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2466 done
   2467 ac_signal=0
   2468 
   2469 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2470 rm -f -r conftest* confdefs.h
   2471 
   2472 printf "%s\n" "/* confdefs.h */" > confdefs.h
   2473 
   2474 # Predefined preprocessor variables.
   2475 
   2476 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   2477 
   2478 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   2479 
   2480 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   2481 
   2482 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   2483 
   2484 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   2485 
   2486 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   2487 
   2488 
   2489 # Let the site file select an alternate cache file if it wants to.
   2490 # Prefer an explicitly selected file to automatically selected ones.
   2491 if test -n "$CONFIG_SITE"; then
   2492   ac_site_files="$CONFIG_SITE"
   2493 elif test "x$prefix" != xNONE; then
   2494   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   2495 else
   2496   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   2497 fi
   2498 
   2499 for ac_site_file in $ac_site_files
   2500 do
   2501   case $ac_site_file in #(
   2502   */*) :
   2503      ;; #(
   2504   *) :
   2505     ac_site_file=./$ac_site_file ;;
   2506 esac
   2507   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   2508     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2509 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   2510     sed 's/^/| /' "$ac_site_file" >&5
   2511     . "$ac_site_file" \
   2512       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2513 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   2514 as_fn_error $? "failed to load site script $ac_site_file
   2515 See \`config.log' for more details" "$LINENO" 5; }
   2516   fi
   2517 done
   2518 
   2519 if test -r "$cache_file"; then
   2520   # Some versions of bash will fail to source /dev/null (special files
   2521   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2522   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2523     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2524 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2525     case $cache_file in
   2526       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2527       *)                      . "./$cache_file";;
   2528     esac
   2529   fi
   2530 else
   2531   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2532 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2533   >$cache_file
   2534 fi
   2535 
   2536 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2537 # Test code for whether the C compiler supports C89 (global declarations)
   2538 ac_c_conftest_c89_globals='
   2539 /* Does the compiler advertise C89 conformance?
   2540    Do not test the value of __STDC__, because some compilers set it to 0
   2541    while being otherwise adequately conformant. */
   2542 #if !defined __STDC__
   2543 # error "Compiler does not advertise C89 conformance"
   2544 #endif
   2545 
   2546 #include <stddef.h>
   2547 #include <stdarg.h>
   2548 struct stat;
   2549 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2550 struct buf { int x; };
   2551 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2552 static char *e (p, i)
   2553      char **p;
   2554      int i;
   2555 {
   2556   return p[i];
   2557 }
   2558 static char *f (char * (*g) (char **, int), char **p, ...)
   2559 {
   2560   char *s;
   2561   va_list v;
   2562   va_start (v,p);
   2563   s = g (p, va_arg (v,int));
   2564   va_end (v);
   2565   return s;
   2566 }
   2567 
   2568 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2569    function prototypes and stuff, but not \xHH hex character constants.
   2570    These do not provoke an error unfortunately, instead are silently treated
   2571    as an "x".  The following induces an error, until -std is added to get
   2572    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2573    array size at least.  It is necessary to write \x00 == 0 to get something
   2574    that is true only with -std.  */
   2575 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2576 
   2577 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2578    inside strings and character constants.  */
   2579 #define FOO(x) '\''x'\''
   2580 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2581 
   2582 int test (int i, double x);
   2583 struct s1 {int (*f) (int a);};
   2584 struct s2 {int (*f) (double a);};
   2585 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2586                int, int);'
   2587 
   2588 # Test code for whether the C compiler supports C89 (body of main).
   2589 ac_c_conftest_c89_main='
   2590 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2591 '
   2592 
   2593 # Test code for whether the C compiler supports C99 (global declarations)
   2594 ac_c_conftest_c99_globals='
   2595 // Does the compiler advertise C99 conformance?
   2596 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2597 # error "Compiler does not advertise C99 conformance"
   2598 #endif
   2599 
   2600 #include <stdbool.h>
   2601 extern int puts (const char *);
   2602 extern int printf (const char *, ...);
   2603 extern int dprintf (int, const char *, ...);
   2604 extern void *malloc (size_t);
   2605 
   2606 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2607 // dprintf is used instead of fprintf to avoid needing to declare
   2608 // FILE and stderr.
   2609 #define debug(...) dprintf (2, __VA_ARGS__)
   2610 #define showlist(...) puts (#__VA_ARGS__)
   2611 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2612 static void
   2613 test_varargs_macros (void)
   2614 {
   2615   int x = 1234;
   2616   int y = 5678;
   2617   debug ("Flag");
   2618   debug ("X = %d\n", x);
   2619   showlist (The first, second, and third items.);
   2620   report (x>y, "x is %d but y is %d", x, y);
   2621 }
   2622 
   2623 // Check long long types.
   2624 #define BIG64 18446744073709551615ull
   2625 #define BIG32 4294967295ul
   2626 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2627 #if !BIG_OK
   2628   #error "your preprocessor is broken"
   2629 #endif
   2630 #if BIG_OK
   2631 #else
   2632   #error "your preprocessor is broken"
   2633 #endif
   2634 static long long int bignum = -9223372036854775807LL;
   2635 static unsigned long long int ubignum = BIG64;
   2636 
   2637 struct incomplete_array
   2638 {
   2639   int datasize;
   2640   double data[];
   2641 };
   2642 
   2643 struct named_init {
   2644   int number;
   2645   const wchar_t *name;
   2646   double average;
   2647 };
   2648 
   2649 typedef const char *ccp;
   2650 
   2651 static inline int
   2652 test_restrict (ccp restrict text)
   2653 {
   2654   // See if C++-style comments work.
   2655   // Iterate through items via the restricted pointer.
   2656   // Also check for declarations in for loops.
   2657   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2658     continue;
   2659   return 0;
   2660 }
   2661 
   2662 // Check varargs and va_copy.
   2663 static bool
   2664 test_varargs (const char *format, ...)
   2665 {
   2666   va_list args;
   2667   va_start (args, format);
   2668   va_list args_copy;
   2669   va_copy (args_copy, args);
   2670 
   2671   const char *str = "";
   2672   int number = 0;
   2673   float fnumber = 0;
   2674 
   2675   while (*format)
   2676     {
   2677       switch (*format++)
   2678 	{
   2679 	case '\''s'\'': // string
   2680 	  str = va_arg (args_copy, const char *);
   2681 	  break;
   2682 	case '\''d'\'': // int
   2683 	  number = va_arg (args_copy, int);
   2684 	  break;
   2685 	case '\''f'\'': // float
   2686 	  fnumber = va_arg (args_copy, double);
   2687 	  break;
   2688 	default:
   2689 	  break;
   2690 	}
   2691     }
   2692   va_end (args_copy);
   2693   va_end (args);
   2694 
   2695   return *str && number && fnumber;
   2696 }
   2697 '
   2698 
   2699 # Test code for whether the C compiler supports C99 (body of main).
   2700 ac_c_conftest_c99_main='
   2701   // Check bool.
   2702   _Bool success = false;
   2703   success |= (argc != 0);
   2704 
   2705   // Check restrict.
   2706   if (test_restrict ("String literal") == 0)
   2707     success = true;
   2708   char *restrict newvar = "Another string";
   2709 
   2710   // Check varargs.
   2711   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2712   test_varargs_macros ();
   2713 
   2714   // Check flexible array members.
   2715   struct incomplete_array *ia =
   2716     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2717   ia->datasize = 10;
   2718   for (int i = 0; i < ia->datasize; ++i)
   2719     ia->data[i] = i * 1.234;
   2720 
   2721   // Check named initializers.
   2722   struct named_init ni = {
   2723     .number = 34,
   2724     .name = L"Test wide string",
   2725     .average = 543.34343,
   2726   };
   2727 
   2728   ni.number = 58;
   2729 
   2730   int dynamic_array[ni.number];
   2731   dynamic_array[0] = argv[0][0];
   2732   dynamic_array[ni.number - 1] = 543;
   2733 
   2734   // work around unused variable warnings
   2735   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2736 	 || dynamic_array[ni.number - 1] != 543);
   2737 '
   2738 
   2739 # Test code for whether the C compiler supports C11 (global declarations)
   2740 ac_c_conftest_c11_globals='
   2741 // Does the compiler advertise C11 conformance?
   2742 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2743 # error "Compiler does not advertise C11 conformance"
   2744 #endif
   2745 
   2746 // Check _Alignas.
   2747 char _Alignas (double) aligned_as_double;
   2748 char _Alignas (0) no_special_alignment;
   2749 extern char aligned_as_int;
   2750 char _Alignas (0) _Alignas (int) aligned_as_int;
   2751 
   2752 // Check _Alignof.
   2753 enum
   2754 {
   2755   int_alignment = _Alignof (int),
   2756   int_array_alignment = _Alignof (int[100]),
   2757   char_alignment = _Alignof (char)
   2758 };
   2759 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2760 
   2761 // Check _Noreturn.
   2762 int _Noreturn does_not_return (void) { for (;;) continue; }
   2763 
   2764 // Check _Static_assert.
   2765 struct test_static_assert
   2766 {
   2767   int x;
   2768   _Static_assert (sizeof (int) <= sizeof (long int),
   2769                   "_Static_assert does not work in struct");
   2770   long int y;
   2771 };
   2772 
   2773 // Check UTF-8 literals.
   2774 #define u8 syntax error!
   2775 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2776 
   2777 // Check duplicate typedefs.
   2778 typedef long *long_ptr;
   2779 typedef long int *long_ptr;
   2780 typedef long_ptr long_ptr;
   2781 
   2782 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2783 struct anonymous
   2784 {
   2785   union {
   2786     struct { int i; int j; };
   2787     struct { int k; long int l; } w;
   2788   };
   2789   int m;
   2790 } v1;
   2791 '
   2792 
   2793 # Test code for whether the C compiler supports C11 (body of main).
   2794 ac_c_conftest_c11_main='
   2795   _Static_assert ((offsetof (struct anonymous, i)
   2796 		   == offsetof (struct anonymous, w.k)),
   2797 		  "Anonymous union alignment botch");
   2798   v1.i = 2;
   2799   v1.w.k = 5;
   2800   ok |= v1.i != 5;
   2801 '
   2802 
   2803 # Test code for whether the C compiler supports C11 (complete).
   2804 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2805 ${ac_c_conftest_c99_globals}
   2806 ${ac_c_conftest_c11_globals}
   2807 
   2808 int
   2809 main (int argc, char **argv)
   2810 {
   2811   int ok = 0;
   2812   ${ac_c_conftest_c89_main}
   2813   ${ac_c_conftest_c99_main}
   2814   ${ac_c_conftest_c11_main}
   2815   return ok;
   2816 }
   2817 "
   2818 
   2819 # Test code for whether the C compiler supports C99 (complete).
   2820 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2821 ${ac_c_conftest_c99_globals}
   2822 
   2823 int
   2824 main (int argc, char **argv)
   2825 {
   2826   int ok = 0;
   2827   ${ac_c_conftest_c89_main}
   2828   ${ac_c_conftest_c99_main}
   2829   return ok;
   2830 }
   2831 "
   2832 
   2833 # Test code for whether the C compiler supports C89 (complete).
   2834 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2835 
   2836 int
   2837 main (int argc, char **argv)
   2838 {
   2839   int ok = 0;
   2840   ${ac_c_conftest_c89_main}
   2841   return ok;
   2842 }
   2843 "
   2844 
   2845 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2846 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2847 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2848 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2849 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2850 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2851 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2852 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2853 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
   2854 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
   2855 as_fn_append ac_header_c_list " sys/param.h sys_param_h HAVE_SYS_PARAM_H"
   2856 as_fn_append ac_func_c_list " getpagesize HAVE_GETPAGESIZE"
   2857 
   2858 # Auxiliary files required by this configure script.
   2859 ac_aux_files="ltmain.sh missing install-sh compile config.guess config.sub"
   2860 
   2861 # Locations in which to look for auxiliary files.
   2862 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2863 
   2864 # Search for a directory containing all of the required auxiliary files,
   2865 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2866 # If we don't find one directory that contains all the files we need,
   2867 # we report the set of missing files from the *first* directory in
   2868 # $ac_aux_dir_candidates and give up.
   2869 ac_missing_aux_files=""
   2870 ac_first_candidate=:
   2871 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2873 as_found=false
   2874 for as_dir in $ac_aux_dir_candidates
   2875 do
   2876   IFS=$as_save_IFS
   2877   case $as_dir in #(((
   2878     '') as_dir=./ ;;
   2879     */) ;;
   2880     *) as_dir=$as_dir/ ;;
   2881   esac
   2882   as_found=:
   2883 
   2884   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2885   ac_aux_dir_found=yes
   2886   ac_install_sh=
   2887   for ac_aux in $ac_aux_files
   2888   do
   2889     # As a special case, if "install-sh" is required, that requirement
   2890     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2891     # and $ac_install_sh is set appropriately for whichever one is found.
   2892     if test x"$ac_aux" = x"install-sh"
   2893     then
   2894       if test -f "${as_dir}install-sh"; then
   2895         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2896         ac_install_sh="${as_dir}install-sh -c"
   2897       elif test -f "${as_dir}install.sh"; then
   2898         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2899         ac_install_sh="${as_dir}install.sh -c"
   2900       elif test -f "${as_dir}shtool"; then
   2901         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2902         ac_install_sh="${as_dir}shtool install -c"
   2903       else
   2904         ac_aux_dir_found=no
   2905         if $ac_first_candidate; then
   2906           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2907         else
   2908           break
   2909         fi
   2910       fi
   2911     else
   2912       if test -f "${as_dir}${ac_aux}"; then
   2913         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2914       else
   2915         ac_aux_dir_found=no
   2916         if $ac_first_candidate; then
   2917           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2918         else
   2919           break
   2920         fi
   2921       fi
   2922     fi
   2923   done
   2924   if test "$ac_aux_dir_found" = yes; then
   2925     ac_aux_dir="$as_dir"
   2926     break
   2927   fi
   2928   ac_first_candidate=false
   2929 
   2930   as_found=false
   2931 done
   2932 IFS=$as_save_IFS
   2933 if $as_found
   2934 then :
   2935 
   2936 else $as_nop
   2937   as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
   2938 fi
   2939 
   2940 
   2941 # These three variables are undocumented and unsupported,
   2942 # and are intended to be withdrawn in a future Autoconf release.
   2943 # They can cause serious problems if a builder's source tree is in a directory
   2944 # whose full name contains unusual characters.
   2945 if test -f "${ac_aux_dir}config.guess"; then
   2946   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2947 fi
   2948 if test -f "${ac_aux_dir}config.sub"; then
   2949   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2950 fi
   2951 if test -f "$ac_aux_dir/configure"; then
   2952   ac_configure="$SHELL ${ac_aux_dir}configure"
   2953 fi
   2954 
   2955 # Check that the precious variables saved in the cache have kept the same
   2956 # value.
   2957 ac_cache_corrupted=false
   2958 for ac_var in $ac_precious_vars; do
   2959   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2960   eval ac_new_set=\$ac_env_${ac_var}_set
   2961   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2962   eval ac_new_val=\$ac_env_${ac_var}_value
   2963   case $ac_old_set,$ac_new_set in
   2964     set,)
   2965       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2966 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2967       ac_cache_corrupted=: ;;
   2968     ,set)
   2969       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2970 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2971       ac_cache_corrupted=: ;;
   2972     ,);;
   2973     *)
   2974       if test "x$ac_old_val" != "x$ac_new_val"; then
   2975 	# differences in whitespace do not lead to failure.
   2976 	ac_old_val_w=`echo x $ac_old_val`
   2977 	ac_new_val_w=`echo x $ac_new_val`
   2978 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2979 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2980 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2981 	  ac_cache_corrupted=:
   2982 	else
   2983 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2984 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2985 	  eval $ac_var=\$ac_old_val
   2986 	fi
   2987 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2988 printf "%s\n" "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2989 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2990 printf "%s\n" "$as_me:   current value: \`$ac_new_val'" >&2;}
   2991       fi;;
   2992   esac
   2993   # Pass precious variables to config.status.
   2994   if test "$ac_new_set" = set; then
   2995     case $ac_new_val in
   2996     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2997     *) ac_arg=$ac_var=$ac_new_val ;;
   2998     esac
   2999     case " $ac_configure_args " in
   3000       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   3001       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   3002     esac
   3003   fi
   3004 done
   3005 if $ac_cache_corrupted; then
   3006   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3007 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3008   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   3009 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   3010   as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
   3011 	    and start over" "$LINENO" 5
   3012 fi
   3013 ## -------------------- ##
   3014 ## Main body of script. ##
   3015 ## -------------------- ##
   3016 
   3017 ac_ext=c
   3018 ac_cpp='$CPP $CPPFLAGS'
   3019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3022 
   3023 
   3024 
   3025 ac_config_headers="$ac_config_headers src/config.h include/X11/XlibConf.h"
   3026 
   3027 
   3028 
   3029 
   3030 
   3031   # Make sure we can run config.sub.
   3032 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   3033   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   3034 
   3035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3036 printf %s "checking build system type... " >&6; }
   3037 if test ${ac_cv_build+y}
   3038 then :
   3039   printf %s "(cached) " >&6
   3040 else $as_nop
   3041   ac_build_alias=$build_alias
   3042 test "x$ac_build_alias" = x &&
   3043   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   3044 test "x$ac_build_alias" = x &&
   3045   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3046 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   3047   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   3048 
   3049 fi
   3050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3051 printf "%s\n" "$ac_cv_build" >&6; }
   3052 case $ac_cv_build in
   3053 *-*-*) ;;
   3054 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3055 esac
   3056 build=$ac_cv_build
   3057 ac_save_IFS=$IFS; IFS='-'
   3058 set x $ac_cv_build
   3059 shift
   3060 build_cpu=$1
   3061 build_vendor=$2
   3062 shift; shift
   3063 # Remember, the first character of IFS is used to create $*,
   3064 # except with old shells:
   3065 build_os=$*
   3066 IFS=$ac_save_IFS
   3067 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3068 
   3069 
   3070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3071 printf %s "checking host system type... " >&6; }
   3072 if test ${ac_cv_host+y}
   3073 then :
   3074   printf %s "(cached) " >&6
   3075 else $as_nop
   3076   if test "x$host_alias" = x; then
   3077   ac_cv_host=$ac_cv_build
   3078 else
   3079   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   3080     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   3081 fi
   3082 
   3083 fi
   3084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3085 printf "%s\n" "$ac_cv_host" >&6; }
   3086 case $ac_cv_host in
   3087 *-*-*) ;;
   3088 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3089 esac
   3090 host=$ac_cv_host
   3091 ac_save_IFS=$IFS; IFS='-'
   3092 set x $ac_cv_host
   3093 shift
   3094 host_cpu=$1
   3095 host_vendor=$2
   3096 shift; shift
   3097 # Remember, the first character of IFS is used to create $*,
   3098 # except with old shells:
   3099 host_os=$*
   3100 IFS=$ac_save_IFS
   3101 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3102 
   3103 
   3104 # Set common system defines for POSIX extensions, such as _GNU_SOURCE
   3105 # Must be called before any macros that run the compiler (like LT_INIT)
   3106 # to avoid autoconf errors.
   3107 
   3108 
   3109 
   3110 
   3111 
   3112 
   3113 
   3114 
   3115 
   3116 
   3117 # Expand $ac_aux_dir to an absolute path.
   3118 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   3119 
   3120 ac_ext=c
   3121 ac_cpp='$CPP $CPPFLAGS'
   3122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3125 if test -n "$ac_tool_prefix"; then
   3126   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3127 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3129 printf %s "checking for $ac_word... " >&6; }
   3130 if test ${ac_cv_prog_CC+y}
   3131 then :
   3132   printf %s "(cached) " >&6
   3133 else $as_nop
   3134   if test -n "$CC"; then
   3135   ac_cv_prog_CC="$CC" # Let the user override the test.
   3136 else
   3137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3138 for as_dir in $PATH
   3139 do
   3140   IFS=$as_save_IFS
   3141   case $as_dir in #(((
   3142     '') as_dir=./ ;;
   3143     */) ;;
   3144     *) as_dir=$as_dir/ ;;
   3145   esac
   3146     for ac_exec_ext in '' $ac_executable_extensions; do
   3147   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3148     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3149     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3150     break 2
   3151   fi
   3152 done
   3153   done
   3154 IFS=$as_save_IFS
   3155 
   3156 fi
   3157 fi
   3158 CC=$ac_cv_prog_CC
   3159 if test -n "$CC"; then
   3160   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3161 printf "%s\n" "$CC" >&6; }
   3162 else
   3163   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3164 printf "%s\n" "no" >&6; }
   3165 fi
   3166 
   3167 
   3168 fi
   3169 if test -z "$ac_cv_prog_CC"; then
   3170   ac_ct_CC=$CC
   3171   # Extract the first word of "gcc", so it can be a program name with args.
   3172 set dummy gcc; ac_word=$2
   3173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3174 printf %s "checking for $ac_word... " >&6; }
   3175 if test ${ac_cv_prog_ac_ct_CC+y}
   3176 then :
   3177   printf %s "(cached) " >&6
   3178 else $as_nop
   3179   if test -n "$ac_ct_CC"; then
   3180   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3181 else
   3182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3183 for as_dir in $PATH
   3184 do
   3185   IFS=$as_save_IFS
   3186   case $as_dir in #(((
   3187     '') as_dir=./ ;;
   3188     */) ;;
   3189     *) as_dir=$as_dir/ ;;
   3190   esac
   3191     for ac_exec_ext in '' $ac_executable_extensions; do
   3192   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3193     ac_cv_prog_ac_ct_CC="gcc"
   3194     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3195     break 2
   3196   fi
   3197 done
   3198   done
   3199 IFS=$as_save_IFS
   3200 
   3201 fi
   3202 fi
   3203 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3204 if test -n "$ac_ct_CC"; then
   3205   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3206 printf "%s\n" "$ac_ct_CC" >&6; }
   3207 else
   3208   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3209 printf "%s\n" "no" >&6; }
   3210 fi
   3211 
   3212   if test "x$ac_ct_CC" = x; then
   3213     CC=""
   3214   else
   3215     case $cross_compiling:$ac_tool_warned in
   3216 yes:)
   3217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3218 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3219 ac_tool_warned=yes ;;
   3220 esac
   3221     CC=$ac_ct_CC
   3222   fi
   3223 else
   3224   CC="$ac_cv_prog_CC"
   3225 fi
   3226 
   3227 if test -z "$CC"; then
   3228           if test -n "$ac_tool_prefix"; then
   3229     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3230 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3232 printf %s "checking for $ac_word... " >&6; }
   3233 if test ${ac_cv_prog_CC+y}
   3234 then :
   3235   printf %s "(cached) " >&6
   3236 else $as_nop
   3237   if test -n "$CC"; then
   3238   ac_cv_prog_CC="$CC" # Let the user override the test.
   3239 else
   3240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3241 for as_dir in $PATH
   3242 do
   3243   IFS=$as_save_IFS
   3244   case $as_dir in #(((
   3245     '') as_dir=./ ;;
   3246     */) ;;
   3247     *) as_dir=$as_dir/ ;;
   3248   esac
   3249     for ac_exec_ext in '' $ac_executable_extensions; do
   3250   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3251     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3252     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3253     break 2
   3254   fi
   3255 done
   3256   done
   3257 IFS=$as_save_IFS
   3258 
   3259 fi
   3260 fi
   3261 CC=$ac_cv_prog_CC
   3262 if test -n "$CC"; then
   3263   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3264 printf "%s\n" "$CC" >&6; }
   3265 else
   3266   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3267 printf "%s\n" "no" >&6; }
   3268 fi
   3269 
   3270 
   3271   fi
   3272 fi
   3273 if test -z "$CC"; then
   3274   # Extract the first word of "cc", so it can be a program name with args.
   3275 set dummy cc; ac_word=$2
   3276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3277 printf %s "checking for $ac_word... " >&6; }
   3278 if test ${ac_cv_prog_CC+y}
   3279 then :
   3280   printf %s "(cached) " >&6
   3281 else $as_nop
   3282   if test -n "$CC"; then
   3283   ac_cv_prog_CC="$CC" # Let the user override the test.
   3284 else
   3285   ac_prog_rejected=no
   3286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3287 for as_dir in $PATH
   3288 do
   3289   IFS=$as_save_IFS
   3290   case $as_dir in #(((
   3291     '') as_dir=./ ;;
   3292     */) ;;
   3293     *) as_dir=$as_dir/ ;;
   3294   esac
   3295     for ac_exec_ext in '' $ac_executable_extensions; do
   3296   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3297     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3298        ac_prog_rejected=yes
   3299        continue
   3300      fi
   3301     ac_cv_prog_CC="cc"
   3302     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3303     break 2
   3304   fi
   3305 done
   3306   done
   3307 IFS=$as_save_IFS
   3308 
   3309 if test $ac_prog_rejected = yes; then
   3310   # We found a bogon in the path, so make sure we never use it.
   3311   set dummy $ac_cv_prog_CC
   3312   shift
   3313   if test $# != 0; then
   3314     # We chose a different compiler from the bogus one.
   3315     # However, it has the same basename, so the bogon will be chosen
   3316     # first if we set CC to just the basename; use the full file name.
   3317     shift
   3318     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3319   fi
   3320 fi
   3321 fi
   3322 fi
   3323 CC=$ac_cv_prog_CC
   3324 if test -n "$CC"; then
   3325   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3326 printf "%s\n" "$CC" >&6; }
   3327 else
   3328   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3329 printf "%s\n" "no" >&6; }
   3330 fi
   3331 
   3332 
   3333 fi
   3334 if test -z "$CC"; then
   3335   if test -n "$ac_tool_prefix"; then
   3336   for ac_prog in cl.exe
   3337   do
   3338     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3339 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3341 printf %s "checking for $ac_word... " >&6; }
   3342 if test ${ac_cv_prog_CC+y}
   3343 then :
   3344   printf %s "(cached) " >&6
   3345 else $as_nop
   3346   if test -n "$CC"; then
   3347   ac_cv_prog_CC="$CC" # Let the user override the test.
   3348 else
   3349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3350 for as_dir in $PATH
   3351 do
   3352   IFS=$as_save_IFS
   3353   case $as_dir in #(((
   3354     '') as_dir=./ ;;
   3355     */) ;;
   3356     *) as_dir=$as_dir/ ;;
   3357   esac
   3358     for ac_exec_ext in '' $ac_executable_extensions; do
   3359   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3360     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3361     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3362     break 2
   3363   fi
   3364 done
   3365   done
   3366 IFS=$as_save_IFS
   3367 
   3368 fi
   3369 fi
   3370 CC=$ac_cv_prog_CC
   3371 if test -n "$CC"; then
   3372   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3373 printf "%s\n" "$CC" >&6; }
   3374 else
   3375   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3376 printf "%s\n" "no" >&6; }
   3377 fi
   3378 
   3379 
   3380     test -n "$CC" && break
   3381   done
   3382 fi
   3383 if test -z "$CC"; then
   3384   ac_ct_CC=$CC
   3385   for ac_prog in cl.exe
   3386 do
   3387   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3388 set dummy $ac_prog; ac_word=$2
   3389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3390 printf %s "checking for $ac_word... " >&6; }
   3391 if test ${ac_cv_prog_ac_ct_CC+y}
   3392 then :
   3393   printf %s "(cached) " >&6
   3394 else $as_nop
   3395   if test -n "$ac_ct_CC"; then
   3396   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3397 else
   3398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3399 for as_dir in $PATH
   3400 do
   3401   IFS=$as_save_IFS
   3402   case $as_dir in #(((
   3403     '') as_dir=./ ;;
   3404     */) ;;
   3405     *) as_dir=$as_dir/ ;;
   3406   esac
   3407     for ac_exec_ext in '' $ac_executable_extensions; do
   3408   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3409     ac_cv_prog_ac_ct_CC="$ac_prog"
   3410     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3411     break 2
   3412   fi
   3413 done
   3414   done
   3415 IFS=$as_save_IFS
   3416 
   3417 fi
   3418 fi
   3419 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3420 if test -n "$ac_ct_CC"; then
   3421   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3422 printf "%s\n" "$ac_ct_CC" >&6; }
   3423 else
   3424   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3425 printf "%s\n" "no" >&6; }
   3426 fi
   3427 
   3428 
   3429   test -n "$ac_ct_CC" && break
   3430 done
   3431 
   3432   if test "x$ac_ct_CC" = x; then
   3433     CC=""
   3434   else
   3435     case $cross_compiling:$ac_tool_warned in
   3436 yes:)
   3437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3438 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3439 ac_tool_warned=yes ;;
   3440 esac
   3441     CC=$ac_ct_CC
   3442   fi
   3443 fi
   3444 
   3445 fi
   3446 if test -z "$CC"; then
   3447   if test -n "$ac_tool_prefix"; then
   3448   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3449 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3451 printf %s "checking for $ac_word... " >&6; }
   3452 if test ${ac_cv_prog_CC+y}
   3453 then :
   3454   printf %s "(cached) " >&6
   3455 else $as_nop
   3456   if test -n "$CC"; then
   3457   ac_cv_prog_CC="$CC" # Let the user override the test.
   3458 else
   3459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3460 for as_dir in $PATH
   3461 do
   3462   IFS=$as_save_IFS
   3463   case $as_dir in #(((
   3464     '') as_dir=./ ;;
   3465     */) ;;
   3466     *) as_dir=$as_dir/ ;;
   3467   esac
   3468     for ac_exec_ext in '' $ac_executable_extensions; do
   3469   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3470     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3471     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3472     break 2
   3473   fi
   3474 done
   3475   done
   3476 IFS=$as_save_IFS
   3477 
   3478 fi
   3479 fi
   3480 CC=$ac_cv_prog_CC
   3481 if test -n "$CC"; then
   3482   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3483 printf "%s\n" "$CC" >&6; }
   3484 else
   3485   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3486 printf "%s\n" "no" >&6; }
   3487 fi
   3488 
   3489 
   3490 fi
   3491 if test -z "$ac_cv_prog_CC"; then
   3492   ac_ct_CC=$CC
   3493   # Extract the first word of "clang", so it can be a program name with args.
   3494 set dummy clang; ac_word=$2
   3495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3496 printf %s "checking for $ac_word... " >&6; }
   3497 if test ${ac_cv_prog_ac_ct_CC+y}
   3498 then :
   3499   printf %s "(cached) " >&6
   3500 else $as_nop
   3501   if test -n "$ac_ct_CC"; then
   3502   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3503 else
   3504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3505 for as_dir in $PATH
   3506 do
   3507   IFS=$as_save_IFS
   3508   case $as_dir in #(((
   3509     '') as_dir=./ ;;
   3510     */) ;;
   3511     *) as_dir=$as_dir/ ;;
   3512   esac
   3513     for ac_exec_ext in '' $ac_executable_extensions; do
   3514   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3515     ac_cv_prog_ac_ct_CC="clang"
   3516     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3517     break 2
   3518   fi
   3519 done
   3520   done
   3521 IFS=$as_save_IFS
   3522 
   3523 fi
   3524 fi
   3525 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3526 if test -n "$ac_ct_CC"; then
   3527   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3528 printf "%s\n" "$ac_ct_CC" >&6; }
   3529 else
   3530   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3531 printf "%s\n" "no" >&6; }
   3532 fi
   3533 
   3534   if test "x$ac_ct_CC" = x; then
   3535     CC=""
   3536   else
   3537     case $cross_compiling:$ac_tool_warned in
   3538 yes:)
   3539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3540 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3541 ac_tool_warned=yes ;;
   3542 esac
   3543     CC=$ac_ct_CC
   3544   fi
   3545 else
   3546   CC="$ac_cv_prog_CC"
   3547 fi
   3548 
   3549 fi
   3550 
   3551 
   3552 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3553 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3554 as_fn_error $? "no acceptable C compiler found in \$PATH
   3555 See \`config.log' for more details" "$LINENO" 5; }
   3556 
   3557 # Provide some information about the compiler.
   3558 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3559 set X $ac_compile
   3560 ac_compiler=$2
   3561 for ac_option in --version -v -V -qversion -version; do
   3562   { { ac_try="$ac_compiler $ac_option >&5"
   3563 case "(($ac_try" in
   3564   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3565   *) ac_try_echo=$ac_try;;
   3566 esac
   3567 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3568 printf "%s\n" "$ac_try_echo"; } >&5
   3569   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3570   ac_status=$?
   3571   if test -s conftest.err; then
   3572     sed '10a\
   3573 ... rest of stderr output deleted ...
   3574          10q' conftest.err >conftest.er1
   3575     cat conftest.er1 >&5
   3576   fi
   3577   rm -f conftest.er1 conftest.err
   3578   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3579   test $ac_status = 0; }
   3580 done
   3581 
   3582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3583 /* end confdefs.h.  */
   3584 
   3585 int
   3586 main (void)
   3587 {
   3588 
   3589   ;
   3590   return 0;
   3591 }
   3592 _ACEOF
   3593 ac_clean_files_save=$ac_clean_files
   3594 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3595 # Try to create an executable without -o first, disregard a.out.
   3596 # It will help us diagnose broken compilers, and finding out an intuition
   3597 # of exeext.
   3598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3599 printf %s "checking whether the C compiler works... " >&6; }
   3600 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3601 
   3602 # The possible output files:
   3603 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3604 
   3605 ac_rmfiles=
   3606 for ac_file in $ac_files
   3607 do
   3608   case $ac_file in
   3609     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3610     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3611   esac
   3612 done
   3613 rm -f $ac_rmfiles
   3614 
   3615 if { { ac_try="$ac_link_default"
   3616 case "(($ac_try" in
   3617   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3618   *) ac_try_echo=$ac_try;;
   3619 esac
   3620 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3621 printf "%s\n" "$ac_try_echo"; } >&5
   3622   (eval "$ac_link_default") 2>&5
   3623   ac_status=$?
   3624   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3625   test $ac_status = 0; }
   3626 then :
   3627   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3628 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3629 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3630 # so that the user can short-circuit this test for compilers unknown to
   3631 # Autoconf.
   3632 for ac_file in $ac_files ''
   3633 do
   3634   test -f "$ac_file" || continue
   3635   case $ac_file in
   3636     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3637 	;;
   3638     [ab].out )
   3639 	# We found the default executable, but exeext='' is most
   3640 	# certainly right.
   3641 	break;;
   3642     *.* )
   3643 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3644 	then :; else
   3645 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3646 	fi
   3647 	# We set ac_cv_exeext here because the later test for it is not
   3648 	# safe: cross compilers may not add the suffix if given an `-o'
   3649 	# argument, so we may need to know it at that point already.
   3650 	# Even if this section looks crufty: it has the advantage of
   3651 	# actually working.
   3652 	break;;
   3653     * )
   3654 	break;;
   3655   esac
   3656 done
   3657 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3658 
   3659 else $as_nop
   3660   ac_file=''
   3661 fi
   3662 if test -z "$ac_file"
   3663 then :
   3664   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3665 printf "%s\n" "no" >&6; }
   3666 printf "%s\n" "$as_me: failed program was:" >&5
   3667 sed 's/^/| /' conftest.$ac_ext >&5
   3668 
   3669 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3670 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3671 as_fn_error 77 "C compiler cannot create executables
   3672 See \`config.log' for more details" "$LINENO" 5; }
   3673 else $as_nop
   3674   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3675 printf "%s\n" "yes" >&6; }
   3676 fi
   3677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3678 printf %s "checking for C compiler default output file name... " >&6; }
   3679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3680 printf "%s\n" "$ac_file" >&6; }
   3681 ac_exeext=$ac_cv_exeext
   3682 
   3683 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3684 ac_clean_files=$ac_clean_files_save
   3685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3686 printf %s "checking for suffix of executables... " >&6; }
   3687 if { { ac_try="$ac_link"
   3688 case "(($ac_try" in
   3689   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3690   *) ac_try_echo=$ac_try;;
   3691 esac
   3692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3693 printf "%s\n" "$ac_try_echo"; } >&5
   3694   (eval "$ac_link") 2>&5
   3695   ac_status=$?
   3696   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3697   test $ac_status = 0; }
   3698 then :
   3699   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3700 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3701 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3702 # `rm'.
   3703 for ac_file in conftest.exe conftest conftest.*; do
   3704   test -f "$ac_file" || continue
   3705   case $ac_file in
   3706     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3707     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3708 	  break;;
   3709     * ) break;;
   3710   esac
   3711 done
   3712 else $as_nop
   3713   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3714 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3715 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3716 See \`config.log' for more details" "$LINENO" 5; }
   3717 fi
   3718 rm -f conftest conftest$ac_cv_exeext
   3719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3720 printf "%s\n" "$ac_cv_exeext" >&6; }
   3721 
   3722 rm -f conftest.$ac_ext
   3723 EXEEXT=$ac_cv_exeext
   3724 ac_exeext=$EXEEXT
   3725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3726 /* end confdefs.h.  */
   3727 #include <stdio.h>
   3728 int
   3729 main (void)
   3730 {
   3731 FILE *f = fopen ("conftest.out", "w");
   3732  return ferror (f) || fclose (f) != 0;
   3733 
   3734   ;
   3735   return 0;
   3736 }
   3737 _ACEOF
   3738 ac_clean_files="$ac_clean_files conftest.out"
   3739 # Check that the compiler produces executables we can run.  If not, either
   3740 # the compiler is broken, or we cross compile.
   3741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3742 printf %s "checking whether we are cross compiling... " >&6; }
   3743 if test "$cross_compiling" != yes; then
   3744   { { ac_try="$ac_link"
   3745 case "(($ac_try" in
   3746   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3747   *) ac_try_echo=$ac_try;;
   3748 esac
   3749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3750 printf "%s\n" "$ac_try_echo"; } >&5
   3751   (eval "$ac_link") 2>&5
   3752   ac_status=$?
   3753   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3754   test $ac_status = 0; }
   3755   if { ac_try='./conftest$ac_cv_exeext'
   3756   { { case "(($ac_try" in
   3757   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3758   *) ac_try_echo=$ac_try;;
   3759 esac
   3760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3761 printf "%s\n" "$ac_try_echo"; } >&5
   3762   (eval "$ac_try") 2>&5
   3763   ac_status=$?
   3764   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3765   test $ac_status = 0; }; }; then
   3766     cross_compiling=no
   3767   else
   3768     if test "$cross_compiling" = maybe; then
   3769 	cross_compiling=yes
   3770     else
   3771 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3772 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3773 as_fn_error 77 "cannot run C compiled programs.
   3774 If you meant to cross compile, use \`--host'.
   3775 See \`config.log' for more details" "$LINENO" 5; }
   3776     fi
   3777   fi
   3778 fi
   3779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3780 printf "%s\n" "$cross_compiling" >&6; }
   3781 
   3782 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3783 ac_clean_files=$ac_clean_files_save
   3784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3785 printf %s "checking for suffix of object files... " >&6; }
   3786 if test ${ac_cv_objext+y}
   3787 then :
   3788   printf %s "(cached) " >&6
   3789 else $as_nop
   3790   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3791 /* end confdefs.h.  */
   3792 
   3793 int
   3794 main (void)
   3795 {
   3796 
   3797   ;
   3798   return 0;
   3799 }
   3800 _ACEOF
   3801 rm -f conftest.o conftest.obj
   3802 if { { ac_try="$ac_compile"
   3803 case "(($ac_try" in
   3804   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3805   *) ac_try_echo=$ac_try;;
   3806 esac
   3807 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3808 printf "%s\n" "$ac_try_echo"; } >&5
   3809   (eval "$ac_compile") 2>&5
   3810   ac_status=$?
   3811   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3812   test $ac_status = 0; }
   3813 then :
   3814   for ac_file in conftest.o conftest.obj conftest.*; do
   3815   test -f "$ac_file" || continue;
   3816   case $ac_file in
   3817     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3818     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3819        break;;
   3820   esac
   3821 done
   3822 else $as_nop
   3823   printf "%s\n" "$as_me: failed program was:" >&5
   3824 sed 's/^/| /' conftest.$ac_ext >&5
   3825 
   3826 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3827 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   3828 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3829 See \`config.log' for more details" "$LINENO" 5; }
   3830 fi
   3831 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3832 fi
   3833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3834 printf "%s\n" "$ac_cv_objext" >&6; }
   3835 OBJEXT=$ac_cv_objext
   3836 ac_objext=$OBJEXT
   3837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   3838 printf %s "checking whether the compiler supports GNU C... " >&6; }
   3839 if test ${ac_cv_c_compiler_gnu+y}
   3840 then :
   3841   printf %s "(cached) " >&6
   3842 else $as_nop
   3843   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3844 /* end confdefs.h.  */
   3845 
   3846 int
   3847 main (void)
   3848 {
   3849 #ifndef __GNUC__
   3850        choke me
   3851 #endif
   3852 
   3853   ;
   3854   return 0;
   3855 }
   3856 _ACEOF
   3857 if ac_fn_c_try_compile "$LINENO"
   3858 then :
   3859   ac_compiler_gnu=yes
   3860 else $as_nop
   3861   ac_compiler_gnu=no
   3862 fi
   3863 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3864 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3865 
   3866 fi
   3867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3868 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   3869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3870 
   3871 if test $ac_compiler_gnu = yes; then
   3872   GCC=yes
   3873 else
   3874   GCC=
   3875 fi
   3876 ac_test_CFLAGS=${CFLAGS+y}
   3877 ac_save_CFLAGS=$CFLAGS
   3878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3879 printf %s "checking whether $CC accepts -g... " >&6; }
   3880 if test ${ac_cv_prog_cc_g+y}
   3881 then :
   3882   printf %s "(cached) " >&6
   3883 else $as_nop
   3884   ac_save_c_werror_flag=$ac_c_werror_flag
   3885    ac_c_werror_flag=yes
   3886    ac_cv_prog_cc_g=no
   3887    CFLAGS="-g"
   3888    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3889 /* end confdefs.h.  */
   3890 
   3891 int
   3892 main (void)
   3893 {
   3894 
   3895   ;
   3896   return 0;
   3897 }
   3898 _ACEOF
   3899 if ac_fn_c_try_compile "$LINENO"
   3900 then :
   3901   ac_cv_prog_cc_g=yes
   3902 else $as_nop
   3903   CFLAGS=""
   3904       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3905 /* end confdefs.h.  */
   3906 
   3907 int
   3908 main (void)
   3909 {
   3910 
   3911   ;
   3912   return 0;
   3913 }
   3914 _ACEOF
   3915 if ac_fn_c_try_compile "$LINENO"
   3916 then :
   3917 
   3918 else $as_nop
   3919   ac_c_werror_flag=$ac_save_c_werror_flag
   3920 	 CFLAGS="-g"
   3921 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3922 /* end confdefs.h.  */
   3923 
   3924 int
   3925 main (void)
   3926 {
   3927 
   3928   ;
   3929   return 0;
   3930 }
   3931 _ACEOF
   3932 if ac_fn_c_try_compile "$LINENO"
   3933 then :
   3934   ac_cv_prog_cc_g=yes
   3935 fi
   3936 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3937 fi
   3938 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3939 fi
   3940 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   3941    ac_c_werror_flag=$ac_save_c_werror_flag
   3942 fi
   3943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3944 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   3945 if test $ac_test_CFLAGS; then
   3946   CFLAGS=$ac_save_CFLAGS
   3947 elif test $ac_cv_prog_cc_g = yes; then
   3948   if test "$GCC" = yes; then
   3949     CFLAGS="-g -O2"
   3950   else
   3951     CFLAGS="-g"
   3952   fi
   3953 else
   3954   if test "$GCC" = yes; then
   3955     CFLAGS="-O2"
   3956   else
   3957     CFLAGS=
   3958   fi
   3959 fi
   3960 ac_prog_cc_stdc=no
   3961 if test x$ac_prog_cc_stdc = xno
   3962 then :
   3963   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   3964 printf %s "checking for $CC option to enable C11 features... " >&6; }
   3965 if test ${ac_cv_prog_cc_c11+y}
   3966 then :
   3967   printf %s "(cached) " >&6
   3968 else $as_nop
   3969   ac_cv_prog_cc_c11=no
   3970 ac_save_CC=$CC
   3971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3972 /* end confdefs.h.  */
   3973 $ac_c_conftest_c11_program
   3974 _ACEOF
   3975 for ac_arg in '' -std=gnu11
   3976 do
   3977   CC="$ac_save_CC $ac_arg"
   3978   if ac_fn_c_try_compile "$LINENO"
   3979 then :
   3980   ac_cv_prog_cc_c11=$ac_arg
   3981 fi
   3982 rm -f core conftest.err conftest.$ac_objext conftest.beam
   3983   test "x$ac_cv_prog_cc_c11" != "xno" && break
   3984 done
   3985 rm -f conftest.$ac_ext
   3986 CC=$ac_save_CC
   3987 fi
   3988 
   3989 if test "x$ac_cv_prog_cc_c11" = xno
   3990 then :
   3991   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3992 printf "%s\n" "unsupported" >&6; }
   3993 else $as_nop
   3994   if test "x$ac_cv_prog_cc_c11" = x
   3995 then :
   3996   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3997 printf "%s\n" "none needed" >&6; }
   3998 else $as_nop
   3999   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4000 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4001      CC="$CC $ac_cv_prog_cc_c11"
   4002 fi
   4003   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4004   ac_prog_cc_stdc=c11
   4005 fi
   4006 fi
   4007 if test x$ac_prog_cc_stdc = xno
   4008 then :
   4009   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4010 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4011 if test ${ac_cv_prog_cc_c99+y}
   4012 then :
   4013   printf %s "(cached) " >&6
   4014 else $as_nop
   4015   ac_cv_prog_cc_c99=no
   4016 ac_save_CC=$CC
   4017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4018 /* end confdefs.h.  */
   4019 $ac_c_conftest_c99_program
   4020 _ACEOF
   4021 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4022 do
   4023   CC="$ac_save_CC $ac_arg"
   4024   if ac_fn_c_try_compile "$LINENO"
   4025 then :
   4026   ac_cv_prog_cc_c99=$ac_arg
   4027 fi
   4028 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4029   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4030 done
   4031 rm -f conftest.$ac_ext
   4032 CC=$ac_save_CC
   4033 fi
   4034 
   4035 if test "x$ac_cv_prog_cc_c99" = xno
   4036 then :
   4037   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4038 printf "%s\n" "unsupported" >&6; }
   4039 else $as_nop
   4040   if test "x$ac_cv_prog_cc_c99" = x
   4041 then :
   4042   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4043 printf "%s\n" "none needed" >&6; }
   4044 else $as_nop
   4045   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4046 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4047      CC="$CC $ac_cv_prog_cc_c99"
   4048 fi
   4049   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4050   ac_prog_cc_stdc=c99
   4051 fi
   4052 fi
   4053 if test x$ac_prog_cc_stdc = xno
   4054 then :
   4055   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4056 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4057 if test ${ac_cv_prog_cc_c89+y}
   4058 then :
   4059   printf %s "(cached) " >&6
   4060 else $as_nop
   4061   ac_cv_prog_cc_c89=no
   4062 ac_save_CC=$CC
   4063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4064 /* end confdefs.h.  */
   4065 $ac_c_conftest_c89_program
   4066 _ACEOF
   4067 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4068 do
   4069   CC="$ac_save_CC $ac_arg"
   4070   if ac_fn_c_try_compile "$LINENO"
   4071 then :
   4072   ac_cv_prog_cc_c89=$ac_arg
   4073 fi
   4074 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4075   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4076 done
   4077 rm -f conftest.$ac_ext
   4078 CC=$ac_save_CC
   4079 fi
   4080 
   4081 if test "x$ac_cv_prog_cc_c89" = xno
   4082 then :
   4083   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4084 printf "%s\n" "unsupported" >&6; }
   4085 else $as_nop
   4086   if test "x$ac_cv_prog_cc_c89" = x
   4087 then :
   4088   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4089 printf "%s\n" "none needed" >&6; }
   4090 else $as_nop
   4091   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4092 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4093      CC="$CC $ac_cv_prog_cc_c89"
   4094 fi
   4095   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4096   ac_prog_cc_stdc=c89
   4097 fi
   4098 fi
   4099 
   4100 ac_ext=c
   4101 ac_cpp='$CPP $CPPFLAGS'
   4102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4105 
   4106 
   4107   ac_ext=c
   4108 ac_cpp='$CPP $CPPFLAGS'
   4109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4113 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4114 if test ${am_cv_prog_cc_c_o+y}
   4115 then :
   4116   printf %s "(cached) " >&6
   4117 else $as_nop
   4118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4119 /* end confdefs.h.  */
   4120 
   4121 int
   4122 main (void)
   4123 {
   4124 
   4125   ;
   4126   return 0;
   4127 }
   4128 _ACEOF
   4129   # Make sure it works both with $CC and with simple cc.
   4130   # Following AC_PROG_CC_C_O, we do the test twice because some
   4131   # compilers refuse to overwrite an existing .o file with -o,
   4132   # though they will create one.
   4133   am_cv_prog_cc_c_o=yes
   4134   for am_i in 1 2; do
   4135     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4136    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4137    ac_status=$?
   4138    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4139    (exit $ac_status); } \
   4140          && test -f conftest2.$ac_objext; then
   4141       : OK
   4142     else
   4143       am_cv_prog_cc_c_o=no
   4144       break
   4145     fi
   4146   done
   4147   rm -f core conftest*
   4148   unset am_i
   4149 fi
   4150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4151 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4152 if test "$am_cv_prog_cc_c_o" != yes; then
   4153    # Losing compiler, so override with the script.
   4154    # FIXME: It is wrong to rewrite CC.
   4155    # But if we don't then we get into trouble of one sort or another.
   4156    # A longer-term fix would be to have automake use am__CC in this case,
   4157    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4158    CC="$am_aux_dir/compile $CC"
   4159 fi
   4160 ac_ext=c
   4161 ac_cpp='$CPP $CPPFLAGS'
   4162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4165 
   4166 
   4167 
   4168 ac_header= ac_cache=
   4169 for ac_item in $ac_header_c_list
   4170 do
   4171   if test $ac_cache; then
   4172     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4173     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4174       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4175     fi
   4176     ac_header= ac_cache=
   4177   elif test $ac_header; then
   4178     ac_cache=$ac_item
   4179   else
   4180     ac_header=$ac_item
   4181   fi
   4182 done
   4183 
   4184 
   4185 
   4186 
   4187 
   4188 
   4189 
   4190 
   4191 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4192 then :
   4193 
   4194 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4195 
   4196 fi
   4197 
   4198 
   4199 
   4200 
   4201 
   4202 
   4203   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   4204 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   4205 if test ${ac_cv_safe_to_define___extensions__+y}
   4206 then :
   4207   printf %s "(cached) " >&6
   4208 else $as_nop
   4209   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4210 /* end confdefs.h.  */
   4211 
   4212 #         define __EXTENSIONS__ 1
   4213           $ac_includes_default
   4214 int
   4215 main (void)
   4216 {
   4217 
   4218   ;
   4219   return 0;
   4220 }
   4221 _ACEOF
   4222 if ac_fn_c_try_compile "$LINENO"
   4223 then :
   4224   ac_cv_safe_to_define___extensions__=yes
   4225 else $as_nop
   4226   ac_cv_safe_to_define___extensions__=no
   4227 fi
   4228 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4229 fi
   4230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   4231 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
   4232 
   4233   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
   4234 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
   4235 if test ${ac_cv_should_define__xopen_source+y}
   4236 then :
   4237   printf %s "(cached) " >&6
   4238 else $as_nop
   4239   ac_cv_should_define__xopen_source=no
   4240     if test $ac_cv_header_wchar_h = yes
   4241 then :
   4242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4243 /* end confdefs.h.  */
   4244 
   4245           #include <wchar.h>
   4246           mbstate_t x;
   4247 int
   4248 main (void)
   4249 {
   4250 
   4251   ;
   4252   return 0;
   4253 }
   4254 _ACEOF
   4255 if ac_fn_c_try_compile "$LINENO"
   4256 then :
   4257 
   4258 else $as_nop
   4259   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4260 /* end confdefs.h.  */
   4261 
   4262             #define _XOPEN_SOURCE 500
   4263             #include <wchar.h>
   4264             mbstate_t x;
   4265 int
   4266 main (void)
   4267 {
   4268 
   4269   ;
   4270   return 0;
   4271 }
   4272 _ACEOF
   4273 if ac_fn_c_try_compile "$LINENO"
   4274 then :
   4275   ac_cv_should_define__xopen_source=yes
   4276 fi
   4277 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4278 fi
   4279 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4280 fi
   4281 fi
   4282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
   4283 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
   4284 
   4285   printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
   4286 
   4287   printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
   4288 
   4289   printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
   4290 
   4291   printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
   4292 
   4293   printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
   4294 
   4295   printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
   4296 
   4297   printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   4298 
   4299   printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
   4300 
   4301   printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
   4302 
   4303   printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
   4304 
   4305   printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
   4306 
   4307   printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
   4308 
   4309   printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
   4310 
   4311   printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
   4312 
   4313   printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
   4314 
   4315   if test $ac_cv_header_minix_config_h = yes
   4316 then :
   4317   MINIX=yes
   4318     printf "%s\n" "#define _MINIX 1" >>confdefs.h
   4319 
   4320     printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
   4321 
   4322     printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
   4323 
   4324 else $as_nop
   4325   MINIX=
   4326 fi
   4327   if test $ac_cv_safe_to_define___extensions__ = yes
   4328 then :
   4329   printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
   4330 
   4331 fi
   4332   if test $ac_cv_should_define__xopen_source = yes
   4333 then :
   4334   printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
   4335 
   4336 fi
   4337 
   4338 
   4339 # Initialize Automake
   4340 am__api_version='1.16'
   4341 
   4342 
   4343   # Find a good install program.  We prefer a C program (faster),
   4344 # so one script is as good as another.  But avoid the broken or
   4345 # incompatible versions:
   4346 # SysV /etc/install, /usr/sbin/install
   4347 # SunOS /usr/etc/install
   4348 # IRIX /sbin/install
   4349 # AIX /bin/install
   4350 # AmigaOS /C/install, which installs bootblocks on floppy discs
   4351 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   4352 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   4353 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   4354 # OS/2's system install, which has a completely different semantic
   4355 # ./install, which can be erroneously created by make from ./install.sh.
   4356 # Reject install programs that cannot install multiple files.
   4357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   4358 printf %s "checking for a BSD-compatible install... " >&6; }
   4359 if test -z "$INSTALL"; then
   4360 if test ${ac_cv_path_install+y}
   4361 then :
   4362   printf %s "(cached) " >&6
   4363 else $as_nop
   4364   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4365 for as_dir in $PATH
   4366 do
   4367   IFS=$as_save_IFS
   4368   case $as_dir in #(((
   4369     '') as_dir=./ ;;
   4370     */) ;;
   4371     *) as_dir=$as_dir/ ;;
   4372   esac
   4373     # Account for fact that we put trailing slashes in our PATH walk.
   4374 case $as_dir in #((
   4375   ./ | /[cC]/* | \
   4376   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   4377   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   4378   /usr/ucb/* ) ;;
   4379   *)
   4380     # OSF1 and SCO ODT 3.0 have their own names for install.
   4381     # Don't use installbsd from OSF since it installs stuff as root
   4382     # by default.
   4383     for ac_prog in ginstall scoinst install; do
   4384       for ac_exec_ext in '' $ac_executable_extensions; do
   4385 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   4386 	  if test $ac_prog = install &&
   4387 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4388 	    # AIX install.  It has an incompatible calling convention.
   4389 	    :
   4390 	  elif test $ac_prog = install &&
   4391 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4392 	    # program-specific install script used by HP pwplus--don't use.
   4393 	    :
   4394 	  else
   4395 	    rm -rf conftest.one conftest.two conftest.dir
   4396 	    echo one > conftest.one
   4397 	    echo two > conftest.two
   4398 	    mkdir conftest.dir
   4399 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   4400 	      test -s conftest.one && test -s conftest.two &&
   4401 	      test -s conftest.dir/conftest.one &&
   4402 	      test -s conftest.dir/conftest.two
   4403 	    then
   4404 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   4405 	      break 3
   4406 	    fi
   4407 	  fi
   4408 	fi
   4409       done
   4410     done
   4411     ;;
   4412 esac
   4413 
   4414   done
   4415 IFS=$as_save_IFS
   4416 
   4417 rm -rf conftest.one conftest.two conftest.dir
   4418 
   4419 fi
   4420   if test ${ac_cv_path_install+y}; then
   4421     INSTALL=$ac_cv_path_install
   4422   else
   4423     # As a last resort, use the slow shell script.  Don't cache a
   4424     # value for INSTALL within a source directory, because that will
   4425     # break other packages using the cache if that directory is
   4426     # removed, or if the value is a relative name.
   4427     INSTALL=$ac_install_sh
   4428   fi
   4429 fi
   4430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   4431 printf "%s\n" "$INSTALL" >&6; }
   4432 
   4433 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   4434 # It thinks the first close brace ends the variable substitution.
   4435 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   4436 
   4437 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   4438 
   4439 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   4440 
   4441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   4442 printf %s "checking whether build environment is sane... " >&6; }
   4443 # Reject unsafe characters in $srcdir or the absolute working directory
   4444 # name.  Accept space and tab only in the latter.
   4445 am_lf='
   4446 '
   4447 case `pwd` in
   4448   *[\\\"\#\$\&\'\`$am_lf]*)
   4449     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   4450 esac
   4451 case $srcdir in
   4452   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   4453     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   4454 esac
   4455 
   4456 # Do 'set' in a subshell so we don't clobber the current shell's
   4457 # arguments.  Must try -L first in case configure is actually a
   4458 # symlink; some systems play weird games with the mod time of symlinks
   4459 # (eg FreeBSD returns the mod time of the symlink's containing
   4460 # directory).
   4461 if (
   4462    am_has_slept=no
   4463    for am_try in 1 2; do
   4464      echo "timestamp, slept: $am_has_slept" > conftest.file
   4465      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   4466      if test "$*" = "X"; then
   4467 	# -L didn't work.
   4468 	set X `ls -t "$srcdir/configure" conftest.file`
   4469      fi
   4470      if test "$*" != "X $srcdir/configure conftest.file" \
   4471 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   4472 
   4473 	# If neither matched, then we have a broken ls.  This can happen
   4474 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   4475 	# broken ls alias from the environment.  This has actually
   4476 	# happened.  Such a system could not be considered "sane".
   4477 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   4478   alias in your environment" "$LINENO" 5
   4479      fi
   4480      if test "$2" = conftest.file || test $am_try -eq 2; then
   4481        break
   4482      fi
   4483      # Just in case.
   4484      sleep 1
   4485      am_has_slept=yes
   4486    done
   4487    test "$2" = conftest.file
   4488    )
   4489 then
   4490    # Ok.
   4491    :
   4492 else
   4493    as_fn_error $? "newly created file is older than distributed files!
   4494 Check your system clock" "$LINENO" 5
   4495 fi
   4496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4497 printf "%s\n" "yes" >&6; }
   4498 # If we didn't sleep, we still need to ensure time stamps of config.status and
   4499 # generated files are strictly newer.
   4500 am_sleep_pid=
   4501 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   4502   ( sleep 1 ) &
   4503   am_sleep_pid=$!
   4504 fi
   4505 
   4506 rm -f conftest.file
   4507 
   4508 test "$program_prefix" != NONE &&
   4509   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   4510 # Use a double $ so make ignores it.
   4511 test "$program_suffix" != NONE &&
   4512   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   4513 # Double any \ or $.
   4514 # By default was `s,x,x', remove it if useless.
   4515 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   4516 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   4517 
   4518 
   4519   if test x"${MISSING+set}" != xset; then
   4520   MISSING="\${SHELL} '$am_aux_dir/missing'"
   4521 fi
   4522 # Use eval to expand $SHELL
   4523 if eval "$MISSING --is-lightweight"; then
   4524   am_missing_run="$MISSING "
   4525 else
   4526   am_missing_run=
   4527   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   4528 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   4529 fi
   4530 
   4531 if test x"${install_sh+set}" != xset; then
   4532   case $am_aux_dir in
   4533   *\ * | *\	*)
   4534     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   4535   *)
   4536     install_sh="\${SHELL} $am_aux_dir/install-sh"
   4537   esac
   4538 fi
   4539 
   4540 # Installed binaries are usually stripped using 'strip' when the user
   4541 # run "make install-strip".  However 'strip' might not be the right
   4542 # tool to use in cross-compilation environments, therefore Automake
   4543 # will honor the 'STRIP' environment variable to overrule this program.
   4544 if test "$cross_compiling" != no; then
   4545   if test -n "$ac_tool_prefix"; then
   4546   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   4547 set dummy ${ac_tool_prefix}strip; ac_word=$2
   4548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4549 printf %s "checking for $ac_word... " >&6; }
   4550 if test ${ac_cv_prog_STRIP+y}
   4551 then :
   4552   printf %s "(cached) " >&6
   4553 else $as_nop
   4554   if test -n "$STRIP"; then
   4555   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   4556 else
   4557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4558 for as_dir in $PATH
   4559 do
   4560   IFS=$as_save_IFS
   4561   case $as_dir in #(((
   4562     '') as_dir=./ ;;
   4563     */) ;;
   4564     *) as_dir=$as_dir/ ;;
   4565   esac
   4566     for ac_exec_ext in '' $ac_executable_extensions; do
   4567   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4568     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   4569     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4570     break 2
   4571   fi
   4572 done
   4573   done
   4574 IFS=$as_save_IFS
   4575 
   4576 fi
   4577 fi
   4578 STRIP=$ac_cv_prog_STRIP
   4579 if test -n "$STRIP"; then
   4580   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   4581 printf "%s\n" "$STRIP" >&6; }
   4582 else
   4583   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4584 printf "%s\n" "no" >&6; }
   4585 fi
   4586 
   4587 
   4588 fi
   4589 if test -z "$ac_cv_prog_STRIP"; then
   4590   ac_ct_STRIP=$STRIP
   4591   # Extract the first word of "strip", so it can be a program name with args.
   4592 set dummy strip; ac_word=$2
   4593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4594 printf %s "checking for $ac_word... " >&6; }
   4595 if test ${ac_cv_prog_ac_ct_STRIP+y}
   4596 then :
   4597   printf %s "(cached) " >&6
   4598 else $as_nop
   4599   if test -n "$ac_ct_STRIP"; then
   4600   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   4601 else
   4602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4603 for as_dir in $PATH
   4604 do
   4605   IFS=$as_save_IFS
   4606   case $as_dir in #(((
   4607     '') as_dir=./ ;;
   4608     */) ;;
   4609     *) as_dir=$as_dir/ ;;
   4610   esac
   4611     for ac_exec_ext in '' $ac_executable_extensions; do
   4612   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4613     ac_cv_prog_ac_ct_STRIP="strip"
   4614     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4615     break 2
   4616   fi
   4617 done
   4618   done
   4619 IFS=$as_save_IFS
   4620 
   4621 fi
   4622 fi
   4623 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   4624 if test -n "$ac_ct_STRIP"; then
   4625   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   4626 printf "%s\n" "$ac_ct_STRIP" >&6; }
   4627 else
   4628   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4629 printf "%s\n" "no" >&6; }
   4630 fi
   4631 
   4632   if test "x$ac_ct_STRIP" = x; then
   4633     STRIP=":"
   4634   else
   4635     case $cross_compiling:$ac_tool_warned in
   4636 yes:)
   4637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4638 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4639 ac_tool_warned=yes ;;
   4640 esac
   4641     STRIP=$ac_ct_STRIP
   4642   fi
   4643 else
   4644   STRIP="$ac_cv_prog_STRIP"
   4645 fi
   4646 
   4647 fi
   4648 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   4649 
   4650 
   4651   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   4652 printf %s "checking for a race-free mkdir -p... " >&6; }
   4653 if test -z "$MKDIR_P"; then
   4654   if test ${ac_cv_path_mkdir+y}
   4655 then :
   4656   printf %s "(cached) " >&6
   4657 else $as_nop
   4658   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4659 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   4660 do
   4661   IFS=$as_save_IFS
   4662   case $as_dir in #(((
   4663     '') as_dir=./ ;;
   4664     */) ;;
   4665     *) as_dir=$as_dir/ ;;
   4666   esac
   4667     for ac_prog in mkdir gmkdir; do
   4668 	 for ac_exec_ext in '' $ac_executable_extensions; do
   4669 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   4670 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   4671 	     'mkdir ('*'coreutils) '* | \
   4672 	     'BusyBox '* | \
   4673 	     'mkdir (fileutils) '4.1*)
   4674 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   4675 	       break 3;;
   4676 	   esac
   4677 	 done
   4678        done
   4679   done
   4680 IFS=$as_save_IFS
   4681 
   4682 fi
   4683 
   4684   test -d ./--version && rmdir ./--version
   4685   if test ${ac_cv_path_mkdir+y}; then
   4686     MKDIR_P="$ac_cv_path_mkdir -p"
   4687   else
   4688     # As a last resort, use the slow shell script.  Don't cache a
   4689     # value for MKDIR_P within a source directory, because that will
   4690     # break other packages using the cache if that directory is
   4691     # removed, or if the value is a relative name.
   4692     MKDIR_P="$ac_install_sh -d"
   4693   fi
   4694 fi
   4695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   4696 printf "%s\n" "$MKDIR_P" >&6; }
   4697 
   4698 for ac_prog in gawk mawk nawk awk
   4699 do
   4700   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4701 set dummy $ac_prog; ac_word=$2
   4702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4703 printf %s "checking for $ac_word... " >&6; }
   4704 if test ${ac_cv_prog_AWK+y}
   4705 then :
   4706   printf %s "(cached) " >&6
   4707 else $as_nop
   4708   if test -n "$AWK"; then
   4709   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   4710 else
   4711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4712 for as_dir in $PATH
   4713 do
   4714   IFS=$as_save_IFS
   4715   case $as_dir in #(((
   4716     '') as_dir=./ ;;
   4717     */) ;;
   4718     *) as_dir=$as_dir/ ;;
   4719   esac
   4720     for ac_exec_ext in '' $ac_executable_extensions; do
   4721   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4722     ac_cv_prog_AWK="$ac_prog"
   4723     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4724     break 2
   4725   fi
   4726 done
   4727   done
   4728 IFS=$as_save_IFS
   4729 
   4730 fi
   4731 fi
   4732 AWK=$ac_cv_prog_AWK
   4733 if test -n "$AWK"; then
   4734   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   4735 printf "%s\n" "$AWK" >&6; }
   4736 else
   4737   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4738 printf "%s\n" "no" >&6; }
   4739 fi
   4740 
   4741 
   4742   test -n "$AWK" && break
   4743 done
   4744 
   4745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4746 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4747 set x ${MAKE-make}
   4748 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4749 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   4750 then :
   4751   printf %s "(cached) " >&6
   4752 else $as_nop
   4753   cat >conftest.make <<\_ACEOF
   4754 SHELL = /bin/sh
   4755 all:
   4756 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4757 _ACEOF
   4758 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4759 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4760   *@@@%%%=?*=@@@%%%*)
   4761     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4762   *)
   4763     eval ac_cv_prog_make_${ac_make}_set=no;;
   4764 esac
   4765 rm -f conftest.make
   4766 fi
   4767 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4768   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4769 printf "%s\n" "yes" >&6; }
   4770   SET_MAKE=
   4771 else
   4772   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4773 printf "%s\n" "no" >&6; }
   4774   SET_MAKE="MAKE=${MAKE-make}"
   4775 fi
   4776 
   4777 rm -rf .tst 2>/dev/null
   4778 mkdir .tst 2>/dev/null
   4779 if test -d .tst; then
   4780   am__leading_dot=.
   4781 else
   4782   am__leading_dot=_
   4783 fi
   4784 rmdir .tst 2>/dev/null
   4785 
   4786 DEPDIR="${am__leading_dot}deps"
   4787 
   4788 ac_config_commands="$ac_config_commands depfiles"
   4789 
   4790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   4791 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   4792 cat > confinc.mk << 'END'
   4793 am__doit:
   4794 	@echo this is the am__doit target >confinc.out
   4795 .PHONY: am__doit
   4796 END
   4797 am__include="#"
   4798 am__quote=
   4799 # BSD make does it like this.
   4800 echo '.include "confinc.mk" # ignored' > confmf.BSD
   4801 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   4802 echo 'include confinc.mk # ignored' > confmf.GNU
   4803 _am_result=no
   4804 for s in GNU BSD; do
   4805   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   4806    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   4807    ac_status=$?
   4808    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4809    (exit $ac_status); }
   4810   case $?:`cat confinc.out 2>/dev/null` in #(
   4811   '0:this is the am__doit target') :
   4812     case $s in #(
   4813   BSD) :
   4814     am__include='.include' am__quote='"' ;; #(
   4815   *) :
   4816     am__include='include' am__quote='' ;;
   4817 esac ;; #(
   4818   *) :
   4819      ;;
   4820 esac
   4821   if test "$am__include" != "#"; then
   4822     _am_result="yes ($s style)"
   4823     break
   4824   fi
   4825 done
   4826 rm -f confinc.* confmf.*
   4827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   4828 printf "%s\n" "${_am_result}" >&6; }
   4829 
   4830 # Check whether --enable-dependency-tracking was given.
   4831 if test ${enable_dependency_tracking+y}
   4832 then :
   4833   enableval=$enable_dependency_tracking;
   4834 fi
   4835 
   4836 if test "x$enable_dependency_tracking" != xno; then
   4837   am_depcomp="$ac_aux_dir/depcomp"
   4838   AMDEPBACKSLASH='\'
   4839   am__nodep='_no'
   4840 fi
   4841  if test "x$enable_dependency_tracking" != xno; then
   4842   AMDEP_TRUE=
   4843   AMDEP_FALSE='#'
   4844 else
   4845   AMDEP_TRUE='#'
   4846   AMDEP_FALSE=
   4847 fi
   4848 
   4849 
   4850 # Check whether --enable-silent-rules was given.
   4851 if test ${enable_silent_rules+y}
   4852 then :
   4853   enableval=$enable_silent_rules;
   4854 fi
   4855 
   4856 case $enable_silent_rules in # (((
   4857   yes) AM_DEFAULT_VERBOSITY=0;;
   4858    no) AM_DEFAULT_VERBOSITY=1;;
   4859     *) AM_DEFAULT_VERBOSITY=1;;
   4860 esac
   4861 am_make=${MAKE-make}
   4862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4863 printf %s "checking whether $am_make supports nested variables... " >&6; }
   4864 if test ${am_cv_make_support_nested_variables+y}
   4865 then :
   4866   printf %s "(cached) " >&6
   4867 else $as_nop
   4868   if printf "%s\n" 'TRUE=$(BAR$(V))
   4869 BAR0=false
   4870 BAR1=true
   4871 V=1
   4872 am__doit:
   4873 	@$(TRUE)
   4874 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4875   am_cv_make_support_nested_variables=yes
   4876 else
   4877   am_cv_make_support_nested_variables=no
   4878 fi
   4879 fi
   4880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4881 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   4882 if test $am_cv_make_support_nested_variables = yes; then
   4883     AM_V='$(V)'
   4884   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   4885 else
   4886   AM_V=$AM_DEFAULT_VERBOSITY
   4887   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   4888 fi
   4889 AM_BACKSLASH='\'
   4890 
   4891 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4892   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4893   # is not polluted with repeated "-I."
   4894   am__isrc=' -I$(srcdir)'
   4895   # test to see if srcdir already configured
   4896   if test -f $srcdir/config.status; then
   4897     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4898   fi
   4899 fi
   4900 
   4901 # test whether we have cygpath
   4902 if test -z "$CYGPATH_W"; then
   4903   if (cygpath --version) >/dev/null 2>/dev/null; then
   4904     CYGPATH_W='cygpath -w'
   4905   else
   4906     CYGPATH_W=echo
   4907   fi
   4908 fi
   4909 
   4910 
   4911 # Define the identity of the package.
   4912  PACKAGE='libX11'
   4913  VERSION='1.8.7'
   4914 
   4915 
   4916 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   4917 
   4918 
   4919 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   4920 
   4921 # Some tools Automake needs.
   4922 
   4923 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4924 
   4925 
   4926 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4927 
   4928 
   4929 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4930 
   4931 
   4932 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4933 
   4934 
   4935 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4936 
   4937 # For better backward compatibility.  To be removed once Automake 1.9.x
   4938 # dies out for good.  For more background, see:
   4939 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4940 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4941 mkdir_p='$(MKDIR_P)'
   4942 
   4943 # We need awk for the "check" target (and possibly the TAP driver).  The
   4944 # system "awk" is bad on some platforms.
   4945 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4946 # in the wild :-(  We should find a proper way to deprecate it ...
   4947 AMTAR='$${TAR-tar}'
   4948 
   4949 
   4950 # We'll loop over all known methods to create a tar archive until one works.
   4951 _am_tools='gnutar  pax cpio none'
   4952 
   4953 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   4954 
   4955 
   4956 
   4957 
   4958 
   4959 depcc="$CC"   am_compiler_list=
   4960 
   4961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4962 printf %s "checking dependency style of $depcc... " >&6; }
   4963 if test ${am_cv_CC_dependencies_compiler_type+y}
   4964 then :
   4965   printf %s "(cached) " >&6
   4966 else $as_nop
   4967   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4968   # We make a subdir and do the tests there.  Otherwise we can end up
   4969   # making bogus files that we don't know about and never remove.  For
   4970   # instance it was reported that on HP-UX the gcc test will end up
   4971   # making a dummy file named 'D' -- because '-MD' means "put the output
   4972   # in D".
   4973   rm -rf conftest.dir
   4974   mkdir conftest.dir
   4975   # Copy depcomp to subdir because otherwise we won't find it if we're
   4976   # using a relative directory.
   4977   cp "$am_depcomp" conftest.dir
   4978   cd conftest.dir
   4979   # We will build objects and dependencies in a subdirectory because
   4980   # it helps to detect inapplicable dependency modes.  For instance
   4981   # both Tru64's cc and ICC support -MD to output dependencies as a
   4982   # side effect of compilation, but ICC will put the dependencies in
   4983   # the current directory while Tru64 will put them in the object
   4984   # directory.
   4985   mkdir sub
   4986 
   4987   am_cv_CC_dependencies_compiler_type=none
   4988   if test "$am_compiler_list" = ""; then
   4989      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4990   fi
   4991   am__universal=false
   4992   case " $depcc " in #(
   4993      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4994      esac
   4995 
   4996   for depmode in $am_compiler_list; do
   4997     # Setup a source with many dependencies, because some compilers
   4998     # like to wrap large dependency lists on column 80 (with \), and
   4999     # we should not choose a depcomp mode which is confused by this.
   5000     #
   5001     # We need to recreate these files for each test, as the compiler may
   5002     # overwrite some of them when testing with obscure command lines.
   5003     # This happens at least with the AIX C compiler.
   5004     : > sub/conftest.c
   5005     for i in 1 2 3 4 5 6; do
   5006       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5007       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   5008       # Solaris 10 /bin/sh.
   5009       echo '/* dummy */' > sub/conftst$i.h
   5010     done
   5011     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5012 
   5013     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   5014     # mode.  It turns out that the SunPro C++ compiler does not properly
   5015     # handle '-M -o', and we need to detect this.  Also, some Intel
   5016     # versions had trouble with output in subdirs.
   5017     am__obj=sub/conftest.${OBJEXT-o}
   5018     am__minus_obj="-o $am__obj"
   5019     case $depmode in
   5020     gcc)
   5021       # This depmode causes a compiler race in universal mode.
   5022       test "$am__universal" = false || continue
   5023       ;;
   5024     nosideeffect)
   5025       # After this tag, mechanisms are not by side-effect, so they'll
   5026       # only be used when explicitly requested.
   5027       if test "x$enable_dependency_tracking" = xyes; then
   5028 	continue
   5029       else
   5030 	break
   5031       fi
   5032       ;;
   5033     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   5034       # This compiler won't grok '-c -o', but also, the minuso test has
   5035       # not run yet.  These depmodes are late enough in the game, and
   5036       # so weak that their functioning should not be impacted.
   5037       am__obj=conftest.${OBJEXT-o}
   5038       am__minus_obj=
   5039       ;;
   5040     none) break ;;
   5041     esac
   5042     if depmode=$depmode \
   5043        source=sub/conftest.c object=$am__obj \
   5044        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5045        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5046          >/dev/null 2>conftest.err &&
   5047        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5048        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5049        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5050        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5051       # icc doesn't choke on unknown options, it will just issue warnings
   5052       # or remarks (even with -Werror).  So we grep stderr for any message
   5053       # that says an option was ignored or not supported.
   5054       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5055       #   icc: Command line warning: ignoring option '-M'; no argument required
   5056       # The diagnosis changed in icc 8.0:
   5057       #   icc: Command line remark: option '-MP' not supported
   5058       if (grep 'ignoring option' conftest.err ||
   5059           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5060         am_cv_CC_dependencies_compiler_type=$depmode
   5061         break
   5062       fi
   5063     fi
   5064   done
   5065 
   5066   cd ..
   5067   rm -rf conftest.dir
   5068 else
   5069   am_cv_CC_dependencies_compiler_type=none
   5070 fi
   5071 
   5072 fi
   5073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   5074 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   5075 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   5076 
   5077  if
   5078   test "x$enable_dependency_tracking" != xno \
   5079   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   5080   am__fastdepCC_TRUE=
   5081   am__fastdepCC_FALSE='#'
   5082 else
   5083   am__fastdepCC_TRUE='#'
   5084   am__fastdepCC_FALSE=
   5085 fi
   5086 
   5087 
   5088 # Variables for tags utilities; see am/tags.am
   5089 if test -z "$CTAGS"; then
   5090   CTAGS=ctags
   5091 fi
   5092 
   5093 if test -z "$ETAGS"; then
   5094   ETAGS=etags
   5095 fi
   5096 
   5097 if test -z "$CSCOPE"; then
   5098   CSCOPE=cscope
   5099 fi
   5100 
   5101 
   5102 
   5103 # POSIX will say in a future version that running "rm -f" with no argument
   5104 # is OK; and we want to be able to make that assumption in our Makefile
   5105 # recipes.  So use an aggressive probe to check that the usage we want is
   5106 # actually supported "in the wild" to an acceptable degree.
   5107 # See automake bug#10828.
   5108 # To make any issue more visible, cause the running configure to be aborted
   5109 # by default if the 'rm' program in use doesn't match our expectations; the
   5110 # user can still override this though.
   5111 if rm -f && rm -fr && rm -rf; then : OK; else
   5112   cat >&2 <<'END'
   5113 Oops!
   5114 
   5115 Your 'rm' program seems unable to run without file operands specified
   5116 on the command line, even when the '-f' option is present.  This is contrary
   5117 to the behaviour of most rm programs out there, and not conforming with
   5118 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   5119 
   5120 Please tell bug-automake@gnu.org about your system, including the value
   5121 of your $PATH and any error possibly output before this message.  This
   5122 can help us improve future automake versions.
   5123 
   5124 END
   5125   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   5126     echo 'Configuration will proceed anyway, since you have set the' >&2
   5127     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   5128     echo >&2
   5129   else
   5130     cat >&2 <<'END'
   5131 Aborting the configuration process, to ensure you take notice of the issue.
   5132 
   5133 You can download and install GNU coreutils to get an 'rm' implementation
   5134 that behaves properly: <https://www.gnu.org/software/coreutils/>.
   5135 
   5136 If you want to complete the configuration process using your problematic
   5137 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   5138 to "yes", and re-run configure.
   5139 
   5140 END
   5141     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   5142   fi
   5143 fi
   5144 
   5145 
   5146 # Initialize libtool
   5147 case `pwd` in
   5148   *\ * | *\	*)
   5149     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5150 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5151 esac
   5152 
   5153 
   5154 
   5155 macro_version='2.4.7'
   5156 macro_revision='2.4.7'
   5157 
   5158 
   5159 
   5160 
   5161 
   5162 
   5163 
   5164 
   5165 
   5166 
   5167 
   5168 
   5169 
   5170 
   5171 ltmain=$ac_aux_dir/ltmain.sh
   5172 
   5173 # Backslashify metacharacters that are still active within
   5174 # double-quoted strings.
   5175 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   5176 
   5177 # Same as above, but do not quote variable references.
   5178 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   5179 
   5180 # Sed substitution to delay expansion of an escaped shell variable in a
   5181 # double_quote_subst'ed string.
   5182 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   5183 
   5184 # Sed substitution to delay expansion of an escaped single quote.
   5185 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   5186 
   5187 # Sed substitution to avoid accidental globbing in evaled expressions
   5188 no_glob_subst='s/\*/\\\*/g'
   5189 
   5190 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   5191 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   5192 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   5193 
   5194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   5195 printf %s "checking how to print strings... " >&6; }
   5196 # Test print first, because it will be a builtin if present.
   5197 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   5198    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   5199   ECHO='print -r --'
   5200 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   5201   ECHO='printf %s\n'
   5202 else
   5203   # Use this function as a fallback that always works.
   5204   func_fallback_echo ()
   5205   {
   5206     eval 'cat <<_LTECHO_EOF
   5207 $1
   5208 _LTECHO_EOF'
   5209   }
   5210   ECHO='func_fallback_echo'
   5211 fi
   5212 
   5213 # func_echo_all arg...
   5214 # Invoke $ECHO with all args, space-separated.
   5215 func_echo_all ()
   5216 {
   5217     $ECHO ""
   5218 }
   5219 
   5220 case $ECHO in
   5221   printf*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   5222 printf "%s\n" "printf" >&6; } ;;
   5223   print*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   5224 printf "%s\n" "print -r" >&6; } ;;
   5225   *) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   5226 printf "%s\n" "cat" >&6; } ;;
   5227 esac
   5228 
   5229 
   5230 
   5231 
   5232 
   5233 
   5234 
   5235 
   5236 
   5237 
   5238 
   5239 
   5240 
   5241 
   5242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5243 printf %s "checking for a sed that does not truncate output... " >&6; }
   5244 if test ${ac_cv_path_SED+y}
   5245 then :
   5246   printf %s "(cached) " >&6
   5247 else $as_nop
   5248             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5249      for ac_i in 1 2 3 4 5 6 7; do
   5250        ac_script="$ac_script$as_nl$ac_script"
   5251      done
   5252      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5253      { ac_script=; unset ac_script;}
   5254      if test -z "$SED"; then
   5255   ac_path_SED_found=false
   5256   # Loop through the user's path and test for each of PROGNAME-LIST
   5257   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5258 for as_dir in $PATH
   5259 do
   5260   IFS=$as_save_IFS
   5261   case $as_dir in #(((
   5262     '') as_dir=./ ;;
   5263     */) ;;
   5264     *) as_dir=$as_dir/ ;;
   5265   esac
   5266     for ac_prog in sed gsed
   5267    do
   5268     for ac_exec_ext in '' $ac_executable_extensions; do
   5269       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   5270       as_fn_executable_p "$ac_path_SED" || continue
   5271 # Check for GNU ac_path_SED and select it if it is found.
   5272   # Check for GNU $ac_path_SED
   5273 case `"$ac_path_SED" --version 2>&1` in
   5274 *GNU*)
   5275   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5276 *)
   5277   ac_count=0
   5278   printf %s 0123456789 >"conftest.in"
   5279   while :
   5280   do
   5281     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5282     mv "conftest.tmp" "conftest.in"
   5283     cp "conftest.in" "conftest.nl"
   5284     printf "%s\n" '' >> "conftest.nl"
   5285     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5286     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5287     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5288     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5289       # Best one so far, save it but keep looking for a better one
   5290       ac_cv_path_SED="$ac_path_SED"
   5291       ac_path_SED_max=$ac_count
   5292     fi
   5293     # 10*(2^10) chars as input seems more than enough
   5294     test $ac_count -gt 10 && break
   5295   done
   5296   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5297 esac
   5298 
   5299       $ac_path_SED_found && break 3
   5300     done
   5301   done
   5302   done
   5303 IFS=$as_save_IFS
   5304   if test -z "$ac_cv_path_SED"; then
   5305     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5306   fi
   5307 else
   5308   ac_cv_path_SED=$SED
   5309 fi
   5310 
   5311 fi
   5312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5313 printf "%s\n" "$ac_cv_path_SED" >&6; }
   5314  SED="$ac_cv_path_SED"
   5315   rm -f conftest.sed
   5316 
   5317 test -z "$SED" && SED=sed
   5318 Xsed="$SED -e 1s/^X//"
   5319 
   5320 
   5321 
   5322 
   5323 
   5324 
   5325 
   5326 
   5327 
   5328 
   5329 
   5330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   5331 printf %s "checking for grep that handles long lines and -e... " >&6; }
   5332 if test ${ac_cv_path_GREP+y}
   5333 then :
   5334   printf %s "(cached) " >&6
   5335 else $as_nop
   5336   if test -z "$GREP"; then
   5337   ac_path_GREP_found=false
   5338   # Loop through the user's path and test for each of PROGNAME-LIST
   5339   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5340 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5341 do
   5342   IFS=$as_save_IFS
   5343   case $as_dir in #(((
   5344     '') as_dir=./ ;;
   5345     */) ;;
   5346     *) as_dir=$as_dir/ ;;
   5347   esac
   5348     for ac_prog in grep ggrep
   5349    do
   5350     for ac_exec_ext in '' $ac_executable_extensions; do
   5351       ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
   5352       as_fn_executable_p "$ac_path_GREP" || continue
   5353 # Check for GNU ac_path_GREP and select it if it is found.
   5354   # Check for GNU $ac_path_GREP
   5355 case `"$ac_path_GREP" --version 2>&1` in
   5356 *GNU*)
   5357   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   5358 *)
   5359   ac_count=0
   5360   printf %s 0123456789 >"conftest.in"
   5361   while :
   5362   do
   5363     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5364     mv "conftest.tmp" "conftest.in"
   5365     cp "conftest.in" "conftest.nl"
   5366     printf "%s\n" 'GREP' >> "conftest.nl"
   5367     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5368     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5369     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5370     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   5371       # Best one so far, save it but keep looking for a better one
   5372       ac_cv_path_GREP="$ac_path_GREP"
   5373       ac_path_GREP_max=$ac_count
   5374     fi
   5375     # 10*(2^10) chars as input seems more than enough
   5376     test $ac_count -gt 10 && break
   5377   done
   5378   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5379 esac
   5380 
   5381       $ac_path_GREP_found && break 3
   5382     done
   5383   done
   5384   done
   5385 IFS=$as_save_IFS
   5386   if test -z "$ac_cv_path_GREP"; then
   5387     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5388   fi
   5389 else
   5390   ac_cv_path_GREP=$GREP
   5391 fi
   5392 
   5393 fi
   5394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   5395 printf "%s\n" "$ac_cv_path_GREP" >&6; }
   5396  GREP="$ac_cv_path_GREP"
   5397 
   5398 
   5399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   5400 printf %s "checking for egrep... " >&6; }
   5401 if test ${ac_cv_path_EGREP+y}
   5402 then :
   5403   printf %s "(cached) " >&6
   5404 else $as_nop
   5405   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   5406    then ac_cv_path_EGREP="$GREP -E"
   5407    else
   5408      if test -z "$EGREP"; then
   5409   ac_path_EGREP_found=false
   5410   # Loop through the user's path and test for each of PROGNAME-LIST
   5411   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5412 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5413 do
   5414   IFS=$as_save_IFS
   5415   case $as_dir in #(((
   5416     '') as_dir=./ ;;
   5417     */) ;;
   5418     *) as_dir=$as_dir/ ;;
   5419   esac
   5420     for ac_prog in egrep
   5421    do
   5422     for ac_exec_ext in '' $ac_executable_extensions; do
   5423       ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
   5424       as_fn_executable_p "$ac_path_EGREP" || continue
   5425 # Check for GNU ac_path_EGREP and select it if it is found.
   5426   # Check for GNU $ac_path_EGREP
   5427 case `"$ac_path_EGREP" --version 2>&1` in
   5428 *GNU*)
   5429   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   5430 *)
   5431   ac_count=0
   5432   printf %s 0123456789 >"conftest.in"
   5433   while :
   5434   do
   5435     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5436     mv "conftest.tmp" "conftest.in"
   5437     cp "conftest.in" "conftest.nl"
   5438     printf "%s\n" 'EGREP' >> "conftest.nl"
   5439     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5440     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5441     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5442     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   5443       # Best one so far, save it but keep looking for a better one
   5444       ac_cv_path_EGREP="$ac_path_EGREP"
   5445       ac_path_EGREP_max=$ac_count
   5446     fi
   5447     # 10*(2^10) chars as input seems more than enough
   5448     test $ac_count -gt 10 && break
   5449   done
   5450   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5451 esac
   5452 
   5453       $ac_path_EGREP_found && break 3
   5454     done
   5455   done
   5456   done
   5457 IFS=$as_save_IFS
   5458   if test -z "$ac_cv_path_EGREP"; then
   5459     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5460   fi
   5461 else
   5462   ac_cv_path_EGREP=$EGREP
   5463 fi
   5464 
   5465    fi
   5466 fi
   5467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   5468 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
   5469  EGREP="$ac_cv_path_EGREP"
   5470 
   5471 
   5472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5473 printf %s "checking for fgrep... " >&6; }
   5474 if test ${ac_cv_path_FGREP+y}
   5475 then :
   5476   printf %s "(cached) " >&6
   5477 else $as_nop
   5478   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5479    then ac_cv_path_FGREP="$GREP -F"
   5480    else
   5481      if test -z "$FGREP"; then
   5482   ac_path_FGREP_found=false
   5483   # Loop through the user's path and test for each of PROGNAME-LIST
   5484   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5485 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5486 do
   5487   IFS=$as_save_IFS
   5488   case $as_dir in #(((
   5489     '') as_dir=./ ;;
   5490     */) ;;
   5491     *) as_dir=$as_dir/ ;;
   5492   esac
   5493     for ac_prog in fgrep
   5494    do
   5495     for ac_exec_ext in '' $ac_executable_extensions; do
   5496       ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
   5497       as_fn_executable_p "$ac_path_FGREP" || continue
   5498 # Check for GNU ac_path_FGREP and select it if it is found.
   5499   # Check for GNU $ac_path_FGREP
   5500 case `"$ac_path_FGREP" --version 2>&1` in
   5501 *GNU*)
   5502   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5503 *)
   5504   ac_count=0
   5505   printf %s 0123456789 >"conftest.in"
   5506   while :
   5507   do
   5508     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5509     mv "conftest.tmp" "conftest.in"
   5510     cp "conftest.in" "conftest.nl"
   5511     printf "%s\n" 'FGREP' >> "conftest.nl"
   5512     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5513     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5514     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5515     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5516       # Best one so far, save it but keep looking for a better one
   5517       ac_cv_path_FGREP="$ac_path_FGREP"
   5518       ac_path_FGREP_max=$ac_count
   5519     fi
   5520     # 10*(2^10) chars as input seems more than enough
   5521     test $ac_count -gt 10 && break
   5522   done
   5523   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5524 esac
   5525 
   5526       $ac_path_FGREP_found && break 3
   5527     done
   5528   done
   5529   done
   5530 IFS=$as_save_IFS
   5531   if test -z "$ac_cv_path_FGREP"; then
   5532     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5533   fi
   5534 else
   5535   ac_cv_path_FGREP=$FGREP
   5536 fi
   5537 
   5538    fi
   5539 fi
   5540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5541 printf "%s\n" "$ac_cv_path_FGREP" >&6; }
   5542  FGREP="$ac_cv_path_FGREP"
   5543 
   5544 
   5545 test -z "$GREP" && GREP=grep
   5546 
   5547 
   5548 
   5549 
   5550 
   5551 
   5552 
   5553 
   5554 
   5555 
   5556 
   5557 
   5558 
   5559 
   5560 
   5561 
   5562 
   5563 
   5564 
   5565 # Check whether --with-gnu-ld was given.
   5566 if test ${with_gnu_ld+y}
   5567 then :
   5568   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   5569 else $as_nop
   5570   with_gnu_ld=no
   5571 fi
   5572 
   5573 ac_prog=ld
   5574 if test yes = "$GCC"; then
   5575   # Check if gcc -print-prog-name=ld gives a path.
   5576   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5577 printf %s "checking for ld used by $CC... " >&6; }
   5578   case $host in
   5579   *-*-mingw*)
   5580     # gcc leaves a trailing carriage return, which upsets mingw
   5581     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5582   *)
   5583     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5584   esac
   5585   case $ac_prog in
   5586     # Accept absolute paths.
   5587     [\\/]* | ?:[\\/]*)
   5588       re_direlt='/[^/][^/]*/\.\./'
   5589       # Canonicalize the pathname of ld
   5590       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5591       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5592 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5593       done
   5594       test -z "$LD" && LD=$ac_prog
   5595       ;;
   5596   "")
   5597     # If it fails, then pretend we aren't using GCC.
   5598     ac_prog=ld
   5599     ;;
   5600   *)
   5601     # If it is relative, then search for the first ld in PATH.
   5602     with_gnu_ld=unknown
   5603     ;;
   5604   esac
   5605 elif test yes = "$with_gnu_ld"; then
   5606   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5607 printf %s "checking for GNU ld... " >&6; }
   5608 else
   5609   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5610 printf %s "checking for non-GNU ld... " >&6; }
   5611 fi
   5612 if test ${lt_cv_path_LD+y}
   5613 then :
   5614   printf %s "(cached) " >&6
   5615 else $as_nop
   5616   if test -z "$LD"; then
   5617   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5618   for ac_dir in $PATH; do
   5619     IFS=$lt_save_ifs
   5620     test -z "$ac_dir" && ac_dir=.
   5621     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5622       lt_cv_path_LD=$ac_dir/$ac_prog
   5623       # Check to see if the program is GNU ld.  I'd rather use --version,
   5624       # but apparently some variants of GNU ld only accept -v.
   5625       # Break only if it was the GNU/non-GNU ld that we prefer.
   5626       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5627       *GNU* | *'with BFD'*)
   5628 	test no != "$with_gnu_ld" && break
   5629 	;;
   5630       *)
   5631 	test yes != "$with_gnu_ld" && break
   5632 	;;
   5633       esac
   5634     fi
   5635   done
   5636   IFS=$lt_save_ifs
   5637 else
   5638   lt_cv_path_LD=$LD # Let the user override the test with a path.
   5639 fi
   5640 fi
   5641 
   5642 LD=$lt_cv_path_LD
   5643 if test -n "$LD"; then
   5644   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5645 printf "%s\n" "$LD" >&6; }
   5646 else
   5647   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5648 printf "%s\n" "no" >&6; }
   5649 fi
   5650 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5652 printf %s "checking if the linker ($LD) is GNU ld... " >&6; }
   5653 if test ${lt_cv_prog_gnu_ld+y}
   5654 then :
   5655   printf %s "(cached) " >&6
   5656 else $as_nop
   5657   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5658 case `$LD -v 2>&1 </dev/null` in
   5659 *GNU* | *'with BFD'*)
   5660   lt_cv_prog_gnu_ld=yes
   5661   ;;
   5662 *)
   5663   lt_cv_prog_gnu_ld=no
   5664   ;;
   5665 esac
   5666 fi
   5667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5668 printf "%s\n" "$lt_cv_prog_gnu_ld" >&6; }
   5669 with_gnu_ld=$lt_cv_prog_gnu_ld
   5670 
   5671 
   5672 
   5673 
   5674 
   5675 
   5676 
   5677 
   5678 
   5679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5680 printf %s "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5681 if test ${lt_cv_path_NM+y}
   5682 then :
   5683   printf %s "(cached) " >&6
   5684 else $as_nop
   5685   if test -n "$NM"; then
   5686   # Let the user override the test.
   5687   lt_cv_path_NM=$NM
   5688 else
   5689   lt_nm_to_check=${ac_tool_prefix}nm
   5690   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5691     lt_nm_to_check="$lt_nm_to_check nm"
   5692   fi
   5693   for lt_tmp_nm in $lt_nm_to_check; do
   5694     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5695     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5696       IFS=$lt_save_ifs
   5697       test -z "$ac_dir" && ac_dir=.
   5698       tmp_nm=$ac_dir/$lt_tmp_nm
   5699       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   5700 	# Check to see if the nm accepts a BSD-compat flag.
   5701 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   5702 	#   nm: unknown option "B" ignored
   5703 	# Tru64's nm complains that /dev/null is an invalid object file
   5704 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   5705 	case $build_os in
   5706 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   5707 	*) lt_bad_file=/dev/null ;;
   5708 	esac
   5709 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
   5710 	*$lt_bad_file* | *'Invalid file or object type'*)
   5711 	  lt_cv_path_NM="$tmp_nm -B"
   5712 	  break 2
   5713 	  ;;
   5714 	*)
   5715 	  case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
   5716 	  */dev/null*)
   5717 	    lt_cv_path_NM="$tmp_nm -p"
   5718 	    break 2
   5719 	    ;;
   5720 	  *)
   5721 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5722 	    continue # so that we can try to find one that supports BSD flags
   5723 	    ;;
   5724 	  esac
   5725 	  ;;
   5726 	esac
   5727       fi
   5728     done
   5729     IFS=$lt_save_ifs
   5730   done
   5731   : ${lt_cv_path_NM=no}
   5732 fi
   5733 fi
   5734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5735 printf "%s\n" "$lt_cv_path_NM" >&6; }
   5736 if test no != "$lt_cv_path_NM"; then
   5737   NM=$lt_cv_path_NM
   5738 else
   5739   # Didn't find any BSD compatible name lister, look for dumpbin.
   5740   if test -n "$DUMPBIN"; then :
   5741     # Let the user override the test.
   5742   else
   5743     if test -n "$ac_tool_prefix"; then
   5744   for ac_prog in dumpbin "link -dump"
   5745   do
   5746     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5747 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5749 printf %s "checking for $ac_word... " >&6; }
   5750 if test ${ac_cv_prog_DUMPBIN+y}
   5751 then :
   5752   printf %s "(cached) " >&6
   5753 else $as_nop
   5754   if test -n "$DUMPBIN"; then
   5755   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5756 else
   5757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5758 for as_dir in $PATH
   5759 do
   5760   IFS=$as_save_IFS
   5761   case $as_dir in #(((
   5762     '') as_dir=./ ;;
   5763     */) ;;
   5764     *) as_dir=$as_dir/ ;;
   5765   esac
   5766     for ac_exec_ext in '' $ac_executable_extensions; do
   5767   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5768     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5769     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5770     break 2
   5771   fi
   5772 done
   5773   done
   5774 IFS=$as_save_IFS
   5775 
   5776 fi
   5777 fi
   5778 DUMPBIN=$ac_cv_prog_DUMPBIN
   5779 if test -n "$DUMPBIN"; then
   5780   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5781 printf "%s\n" "$DUMPBIN" >&6; }
   5782 else
   5783   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5784 printf "%s\n" "no" >&6; }
   5785 fi
   5786 
   5787 
   5788     test -n "$DUMPBIN" && break
   5789   done
   5790 fi
   5791 if test -z "$DUMPBIN"; then
   5792   ac_ct_DUMPBIN=$DUMPBIN
   5793   for ac_prog in dumpbin "link -dump"
   5794 do
   5795   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5796 set dummy $ac_prog; ac_word=$2
   5797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5798 printf %s "checking for $ac_word... " >&6; }
   5799 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
   5800 then :
   5801   printf %s "(cached) " >&6
   5802 else $as_nop
   5803   if test -n "$ac_ct_DUMPBIN"; then
   5804   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5805 else
   5806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5807 for as_dir in $PATH
   5808 do
   5809   IFS=$as_save_IFS
   5810   case $as_dir in #(((
   5811     '') as_dir=./ ;;
   5812     */) ;;
   5813     *) as_dir=$as_dir/ ;;
   5814   esac
   5815     for ac_exec_ext in '' $ac_executable_extensions; do
   5816   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   5817     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5818     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   5819     break 2
   5820   fi
   5821 done
   5822   done
   5823 IFS=$as_save_IFS
   5824 
   5825 fi
   5826 fi
   5827 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5828 if test -n "$ac_ct_DUMPBIN"; then
   5829   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5830 printf "%s\n" "$ac_ct_DUMPBIN" >&6; }
   5831 else
   5832   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5833 printf "%s\n" "no" >&6; }
   5834 fi
   5835 
   5836 
   5837   test -n "$ac_ct_DUMPBIN" && break
   5838 done
   5839 
   5840   if test "x$ac_ct_DUMPBIN" = x; then
   5841     DUMPBIN=":"
   5842   else
   5843     case $cross_compiling:$ac_tool_warned in
   5844 yes:)
   5845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5846 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5847 ac_tool_warned=yes ;;
   5848 esac
   5849     DUMPBIN=$ac_ct_DUMPBIN
   5850   fi
   5851 fi
   5852 
   5853     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
   5854     *COFF*)
   5855       DUMPBIN="$DUMPBIN -symbols -headers"
   5856       ;;
   5857     *)
   5858       DUMPBIN=:
   5859       ;;
   5860     esac
   5861   fi
   5862 
   5863   if test : != "$DUMPBIN"; then
   5864     NM=$DUMPBIN
   5865   fi
   5866 fi
   5867 test -z "$NM" && NM=nm
   5868 
   5869 
   5870 
   5871 
   5872 
   5873 
   5874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5875 printf %s "checking the name lister ($NM) interface... " >&6; }
   5876 if test ${lt_cv_nm_interface+y}
   5877 then :
   5878   printf %s "(cached) " >&6
   5879 else $as_nop
   5880   lt_cv_nm_interface="BSD nm"
   5881   echo "int some_variable = 0;" > conftest.$ac_ext
   5882   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5883   (eval "$ac_compile" 2>conftest.err)
   5884   cat conftest.err >&5
   5885   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5886   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5887   cat conftest.err >&5
   5888   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5889   cat conftest.out >&5
   5890   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5891     lt_cv_nm_interface="MS dumpbin"
   5892   fi
   5893   rm -f conftest*
   5894 fi
   5895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5896 printf "%s\n" "$lt_cv_nm_interface" >&6; }
   5897 
   5898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5899 printf %s "checking whether ln -s works... " >&6; }
   5900 LN_S=$as_ln_s
   5901 if test "$LN_S" = "ln -s"; then
   5902   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5903 printf "%s\n" "yes" >&6; }
   5904 else
   5905   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5906 printf "%s\n" "no, using $LN_S" >&6; }
   5907 fi
   5908 
   5909 # find the maximum length of command line arguments
   5910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5911 printf %s "checking the maximum length of command line arguments... " >&6; }
   5912 if test ${lt_cv_sys_max_cmd_len+y}
   5913 then :
   5914   printf %s "(cached) " >&6
   5915 else $as_nop
   5916     i=0
   5917   teststring=ABCD
   5918 
   5919   case $build_os in
   5920   msdosdjgpp*)
   5921     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5922     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5923     # during glob expansion).  Even if it were fixed, the result of this
   5924     # check would be larger than it should be.
   5925     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5926     ;;
   5927 
   5928   gnu*)
   5929     # Under GNU Hurd, this test is not required because there is
   5930     # no limit to the length of command line arguments.
   5931     # Libtool will interpret -1 as no limit whatsoever
   5932     lt_cv_sys_max_cmd_len=-1;
   5933     ;;
   5934 
   5935   cygwin* | mingw* | cegcc*)
   5936     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5937     # about 5 minutes as the teststring grows exponentially.
   5938     # Worse, since 9x/ME are not pre-emptively multitasking,
   5939     # you end up with a "frozen" computer, even though with patience
   5940     # the test eventually succeeds (with a max line length of 256k).
   5941     # Instead, let's just punt: use the minimum linelength reported by
   5942     # all of the supported platforms: 8192 (on NT/2K/XP).
   5943     lt_cv_sys_max_cmd_len=8192;
   5944     ;;
   5945 
   5946   mint*)
   5947     # On MiNT this can take a long time and run out of memory.
   5948     lt_cv_sys_max_cmd_len=8192;
   5949     ;;
   5950 
   5951   amigaos*)
   5952     # On AmigaOS with pdksh, this test takes hours, literally.
   5953     # So we just punt and use a minimum line length of 8192.
   5954     lt_cv_sys_max_cmd_len=8192;
   5955     ;;
   5956 
   5957   bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
   5958     # This has been around since 386BSD, at least.  Likely further.
   5959     if test -x /sbin/sysctl; then
   5960       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5961     elif test -x /usr/sbin/sysctl; then
   5962       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5963     else
   5964       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5965     fi
   5966     # And add a safety zone
   5967     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5968     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5969     ;;
   5970 
   5971   interix*)
   5972     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5973     lt_cv_sys_max_cmd_len=196608
   5974     ;;
   5975 
   5976   os2*)
   5977     # The test takes a long time on OS/2.
   5978     lt_cv_sys_max_cmd_len=8192
   5979     ;;
   5980 
   5981   osf*)
   5982     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5983     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5984     # nice to cause kernel panics so lets avoid the loop below.
   5985     # First set a reasonable default.
   5986     lt_cv_sys_max_cmd_len=16384
   5987     #
   5988     if test -x /sbin/sysconfig; then
   5989       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5990         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5991       esac
   5992     fi
   5993     ;;
   5994   sco3.2v5*)
   5995     lt_cv_sys_max_cmd_len=102400
   5996     ;;
   5997   sysv5* | sco5v6* | sysv4.2uw2*)
   5998     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5999     if test -n "$kargmax"; then
   6000       lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[	 ]//'`
   6001     else
   6002       lt_cv_sys_max_cmd_len=32768
   6003     fi
   6004     ;;
   6005   *)
   6006     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6007     if test -n "$lt_cv_sys_max_cmd_len" && \
   6008        test undefined != "$lt_cv_sys_max_cmd_len"; then
   6009       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6010       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6011     else
   6012       # Make teststring a little bigger before we do anything with it.
   6013       # a 1K string should be a reasonable start.
   6014       for i in 1 2 3 4 5 6 7 8; do
   6015         teststring=$teststring$teststring
   6016       done
   6017       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6018       # If test is not a shell built-in, we'll probably end up computing a
   6019       # maximum length that is only half of the actual maximum length, but
   6020       # we can't tell.
   6021       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   6022 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   6023 	      test 17 != "$i" # 1/2 MB should be enough
   6024       do
   6025         i=`expr $i + 1`
   6026         teststring=$teststring$teststring
   6027       done
   6028       # Only check the string length outside the loop.
   6029       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   6030       teststring=
   6031       # Add a significant safety factor because C++ compilers can tack on
   6032       # massive amounts of additional arguments before passing them to the
   6033       # linker.  It appears as though 1/2 is a usable value.
   6034       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6035     fi
   6036     ;;
   6037   esac
   6038 
   6039 fi
   6040 
   6041 if test -n "$lt_cv_sys_max_cmd_len"; then
   6042   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   6043 printf "%s\n" "$lt_cv_sys_max_cmd_len" >&6; }
   6044 else
   6045   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none" >&5
   6046 printf "%s\n" "none" >&6; }
   6047 fi
   6048 max_cmd_len=$lt_cv_sys_max_cmd_len
   6049 
   6050 
   6051 
   6052 
   6053 
   6054 
   6055 : ${CP="cp -f"}
   6056 : ${MV="mv -f"}
   6057 : ${RM="rm -f"}
   6058 
   6059 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   6060   lt_unset=unset
   6061 else
   6062   lt_unset=false
   6063 fi
   6064 
   6065 
   6066 
   6067 
   6068 
   6069 # test EBCDIC or ASCII
   6070 case `echo X|tr X '\101'` in
   6071  A) # ASCII based system
   6072     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   6073   lt_SP2NL='tr \040 \012'
   6074   lt_NL2SP='tr \015\012 \040\040'
   6075   ;;
   6076  *) # EBCDIC based system
   6077   lt_SP2NL='tr \100 \n'
   6078   lt_NL2SP='tr \r\n \100\100'
   6079   ;;
   6080 esac
   6081 
   6082 
   6083 
   6084 
   6085 
   6086 
   6087 
   6088 
   6089 
   6090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   6091 printf %s "checking how to convert $build file names to $host format... " >&6; }
   6092 if test ${lt_cv_to_host_file_cmd+y}
   6093 then :
   6094   printf %s "(cached) " >&6
   6095 else $as_nop
   6096   case $host in
   6097   *-*-mingw* )
   6098     case $build in
   6099       *-*-mingw* ) # actually msys
   6100         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   6101         ;;
   6102       *-*-cygwin* )
   6103         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   6104         ;;
   6105       * ) # otherwise, assume *nix
   6106         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   6107         ;;
   6108     esac
   6109     ;;
   6110   *-*-cygwin* )
   6111     case $build in
   6112       *-*-mingw* ) # actually msys
   6113         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   6114         ;;
   6115       *-*-cygwin* )
   6116         lt_cv_to_host_file_cmd=func_convert_file_noop
   6117         ;;
   6118       * ) # otherwise, assume *nix
   6119         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   6120         ;;
   6121     esac
   6122     ;;
   6123   * ) # unhandled hosts (and "normal" native builds)
   6124     lt_cv_to_host_file_cmd=func_convert_file_noop
   6125     ;;
   6126 esac
   6127 
   6128 fi
   6129 
   6130 to_host_file_cmd=$lt_cv_to_host_file_cmd
   6131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   6132 printf "%s\n" "$lt_cv_to_host_file_cmd" >&6; }
   6133 
   6134 
   6135 
   6136 
   6137 
   6138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   6139 printf %s "checking how to convert $build file names to toolchain format... " >&6; }
   6140 if test ${lt_cv_to_tool_file_cmd+y}
   6141 then :
   6142   printf %s "(cached) " >&6
   6143 else $as_nop
   6144   #assume ordinary cross tools, or native build.
   6145 lt_cv_to_tool_file_cmd=func_convert_file_noop
   6146 case $host in
   6147   *-*-mingw* )
   6148     case $build in
   6149       *-*-mingw* ) # actually msys
   6150         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   6151         ;;
   6152     esac
   6153     ;;
   6154 esac
   6155 
   6156 fi
   6157 
   6158 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   6159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   6160 printf "%s\n" "$lt_cv_to_tool_file_cmd" >&6; }
   6161 
   6162 
   6163 
   6164 
   6165 
   6166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   6167 printf %s "checking for $LD option to reload object files... " >&6; }
   6168 if test ${lt_cv_ld_reload_flag+y}
   6169 then :
   6170   printf %s "(cached) " >&6
   6171 else $as_nop
   6172   lt_cv_ld_reload_flag='-r'
   6173 fi
   6174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   6175 printf "%s\n" "$lt_cv_ld_reload_flag" >&6; }
   6176 reload_flag=$lt_cv_ld_reload_flag
   6177 case $reload_flag in
   6178 "" | " "*) ;;
   6179 *) reload_flag=" $reload_flag" ;;
   6180 esac
   6181 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6182 case $host_os in
   6183   cygwin* | mingw* | pw32* | cegcc*)
   6184     if test yes != "$GCC"; then
   6185       reload_cmds=false
   6186     fi
   6187     ;;
   6188   darwin*)
   6189     if test yes = "$GCC"; then
   6190       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   6191     else
   6192       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6193     fi
   6194     ;;
   6195 esac
   6196 
   6197 
   6198 
   6199 
   6200 
   6201 
   6202 
   6203 
   6204 
   6205 if test -n "$ac_tool_prefix"; then
   6206   # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
   6207 set dummy ${ac_tool_prefix}file; ac_word=$2
   6208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6209 printf %s "checking for $ac_word... " >&6; }
   6210 if test ${ac_cv_prog_FILECMD+y}
   6211 then :
   6212   printf %s "(cached) " >&6
   6213 else $as_nop
   6214   if test -n "$FILECMD"; then
   6215   ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
   6216 else
   6217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6218 for as_dir in $PATH
   6219 do
   6220   IFS=$as_save_IFS
   6221   case $as_dir in #(((
   6222     '') as_dir=./ ;;
   6223     */) ;;
   6224     *) as_dir=$as_dir/ ;;
   6225   esac
   6226     for ac_exec_ext in '' $ac_executable_extensions; do
   6227   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6228     ac_cv_prog_FILECMD="${ac_tool_prefix}file"
   6229     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6230     break 2
   6231   fi
   6232 done
   6233   done
   6234 IFS=$as_save_IFS
   6235 
   6236 fi
   6237 fi
   6238 FILECMD=$ac_cv_prog_FILECMD
   6239 if test -n "$FILECMD"; then
   6240   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FILECMD" >&5
   6241 printf "%s\n" "$FILECMD" >&6; }
   6242 else
   6243   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6244 printf "%s\n" "no" >&6; }
   6245 fi
   6246 
   6247 
   6248 fi
   6249 if test -z "$ac_cv_prog_FILECMD"; then
   6250   ac_ct_FILECMD=$FILECMD
   6251   # Extract the first word of "file", so it can be a program name with args.
   6252 set dummy file; ac_word=$2
   6253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6254 printf %s "checking for $ac_word... " >&6; }
   6255 if test ${ac_cv_prog_ac_ct_FILECMD+y}
   6256 then :
   6257   printf %s "(cached) " >&6
   6258 else $as_nop
   6259   if test -n "$ac_ct_FILECMD"; then
   6260   ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
   6261 else
   6262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6263 for as_dir in $PATH
   6264 do
   6265   IFS=$as_save_IFS
   6266   case $as_dir in #(((
   6267     '') as_dir=./ ;;
   6268     */) ;;
   6269     *) as_dir=$as_dir/ ;;
   6270   esac
   6271     for ac_exec_ext in '' $ac_executable_extensions; do
   6272   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6273     ac_cv_prog_ac_ct_FILECMD="file"
   6274     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6275     break 2
   6276   fi
   6277 done
   6278   done
   6279 IFS=$as_save_IFS
   6280 
   6281 fi
   6282 fi
   6283 ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
   6284 if test -n "$ac_ct_FILECMD"; then
   6285   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FILECMD" >&5
   6286 printf "%s\n" "$ac_ct_FILECMD" >&6; }
   6287 else
   6288   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6289 printf "%s\n" "no" >&6; }
   6290 fi
   6291 
   6292   if test "x$ac_ct_FILECMD" = x; then
   6293     FILECMD=":"
   6294   else
   6295     case $cross_compiling:$ac_tool_warned in
   6296 yes:)
   6297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6298 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6299 ac_tool_warned=yes ;;
   6300 esac
   6301     FILECMD=$ac_ct_FILECMD
   6302   fi
   6303 else
   6304   FILECMD="$ac_cv_prog_FILECMD"
   6305 fi
   6306 
   6307 
   6308 
   6309 
   6310 
   6311 
   6312 
   6313 if test -n "$ac_tool_prefix"; then
   6314   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6315 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6317 printf %s "checking for $ac_word... " >&6; }
   6318 if test ${ac_cv_prog_OBJDUMP+y}
   6319 then :
   6320   printf %s "(cached) " >&6
   6321 else $as_nop
   6322   if test -n "$OBJDUMP"; then
   6323   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6324 else
   6325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6326 for as_dir in $PATH
   6327 do
   6328   IFS=$as_save_IFS
   6329   case $as_dir in #(((
   6330     '') as_dir=./ ;;
   6331     */) ;;
   6332     *) as_dir=$as_dir/ ;;
   6333   esac
   6334     for ac_exec_ext in '' $ac_executable_extensions; do
   6335   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6336     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6337     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6338     break 2
   6339   fi
   6340 done
   6341   done
   6342 IFS=$as_save_IFS
   6343 
   6344 fi
   6345 fi
   6346 OBJDUMP=$ac_cv_prog_OBJDUMP
   6347 if test -n "$OBJDUMP"; then
   6348   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   6349 printf "%s\n" "$OBJDUMP" >&6; }
   6350 else
   6351   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6352 printf "%s\n" "no" >&6; }
   6353 fi
   6354 
   6355 
   6356 fi
   6357 if test -z "$ac_cv_prog_OBJDUMP"; then
   6358   ac_ct_OBJDUMP=$OBJDUMP
   6359   # Extract the first word of "objdump", so it can be a program name with args.
   6360 set dummy objdump; ac_word=$2
   6361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6362 printf %s "checking for $ac_word... " >&6; }
   6363 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
   6364 then :
   6365   printf %s "(cached) " >&6
   6366 else $as_nop
   6367   if test -n "$ac_ct_OBJDUMP"; then
   6368   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6369 else
   6370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6371 for as_dir in $PATH
   6372 do
   6373   IFS=$as_save_IFS
   6374   case $as_dir in #(((
   6375     '') as_dir=./ ;;
   6376     */) ;;
   6377     *) as_dir=$as_dir/ ;;
   6378   esac
   6379     for ac_exec_ext in '' $ac_executable_extensions; do
   6380   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6381     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6382     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6383     break 2
   6384   fi
   6385 done
   6386   done
   6387 IFS=$as_save_IFS
   6388 
   6389 fi
   6390 fi
   6391 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6392 if test -n "$ac_ct_OBJDUMP"; then
   6393   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6394 printf "%s\n" "$ac_ct_OBJDUMP" >&6; }
   6395 else
   6396   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6397 printf "%s\n" "no" >&6; }
   6398 fi
   6399 
   6400   if test "x$ac_ct_OBJDUMP" = x; then
   6401     OBJDUMP="false"
   6402   else
   6403     case $cross_compiling:$ac_tool_warned in
   6404 yes:)
   6405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6406 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6407 ac_tool_warned=yes ;;
   6408 esac
   6409     OBJDUMP=$ac_ct_OBJDUMP
   6410   fi
   6411 else
   6412   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6413 fi
   6414 
   6415 test -z "$OBJDUMP" && OBJDUMP=objdump
   6416 
   6417 
   6418 
   6419 
   6420 
   6421 
   6422 
   6423 
   6424 
   6425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6426 printf %s "checking how to recognize dependent libraries... " >&6; }
   6427 if test ${lt_cv_deplibs_check_method+y}
   6428 then :
   6429   printf %s "(cached) " >&6
   6430 else $as_nop
   6431   lt_cv_file_magic_cmd='$MAGIC_CMD'
   6432 lt_cv_file_magic_test_file=
   6433 lt_cv_deplibs_check_method='unknown'
   6434 # Need to set the preceding variable on all platforms that support
   6435 # interlibrary dependencies.
   6436 # 'none' -- dependencies not supported.
   6437 # 'unknown' -- same as none, but documents that we really don't know.
   6438 # 'pass_all' -- all dependencies passed with no checks.
   6439 # 'test_compile' -- check by making test program.
   6440 # 'file_magic [[regex]]' -- check by looking for files in library path
   6441 # that responds to the $file_magic_cmd with a given extended regex.
   6442 # If you have 'file' or equivalent on your system and you're not sure
   6443 # whether 'pass_all' will *always* work, you probably want this one.
   6444 
   6445 case $host_os in
   6446 aix[4-9]*)
   6447   lt_cv_deplibs_check_method=pass_all
   6448   ;;
   6449 
   6450 beos*)
   6451   lt_cv_deplibs_check_method=pass_all
   6452   ;;
   6453 
   6454 bsdi[45]*)
   6455   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6456   lt_cv_file_magic_cmd='$FILECMD -L'
   6457   lt_cv_file_magic_test_file=/shlib/libc.so
   6458   ;;
   6459 
   6460 cygwin*)
   6461   # func_win32_libid is a shell function defined in ltmain.sh
   6462   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6463   lt_cv_file_magic_cmd='func_win32_libid'
   6464   ;;
   6465 
   6466 mingw* | pw32*)
   6467   # Base MSYS/MinGW do not provide the 'file' command needed by
   6468   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6469   # unless we find 'file', for example because we are cross-compiling.
   6470   if ( file / ) >/dev/null 2>&1; then
   6471     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6472     lt_cv_file_magic_cmd='func_win32_libid'
   6473   else
   6474     # Keep this pattern in sync with the one in func_win32_libid.
   6475     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   6476     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6477   fi
   6478   ;;
   6479 
   6480 cegcc*)
   6481   # use the weaker test based on 'objdump'. See mingw*.
   6482   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6483   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6484   ;;
   6485 
   6486 darwin* | rhapsody*)
   6487   lt_cv_deplibs_check_method=pass_all
   6488   ;;
   6489 
   6490 freebsd* | dragonfly* | midnightbsd*)
   6491   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6492     case $host_cpu in
   6493     i*86 )
   6494       # Not sure whether the presence of OpenBSD here was a mistake.
   6495       # Let's accept both of them until this is cleared up.
   6496       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6497       lt_cv_file_magic_cmd=$FILECMD
   6498       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6499       ;;
   6500     esac
   6501   else
   6502     lt_cv_deplibs_check_method=pass_all
   6503   fi
   6504   ;;
   6505 
   6506 haiku*)
   6507   lt_cv_deplibs_check_method=pass_all
   6508   ;;
   6509 
   6510 hpux10.20* | hpux11*)
   6511   lt_cv_file_magic_cmd=$FILECMD
   6512   case $host_cpu in
   6513   ia64*)
   6514     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6515     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6516     ;;
   6517   hppa*64*)
   6518     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]'
   6519     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6520     ;;
   6521   *)
   6522     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6523     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6524     ;;
   6525   esac
   6526   ;;
   6527 
   6528 interix[3-9]*)
   6529   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6530   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6531   ;;
   6532 
   6533 irix5* | irix6* | nonstopux*)
   6534   case $LD in
   6535   *-32|*"-32 ") libmagic=32-bit;;
   6536   *-n32|*"-n32 ") libmagic=N32;;
   6537   *-64|*"-64 ") libmagic=64-bit;;
   6538   *) libmagic=never-match;;
   6539   esac
   6540   lt_cv_deplibs_check_method=pass_all
   6541   ;;
   6542 
   6543 # This must be glibc/ELF.
   6544 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   6545   lt_cv_deplibs_check_method=pass_all
   6546   ;;
   6547 
   6548 netbsd*)
   6549   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6550     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6551   else
   6552     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6553   fi
   6554   ;;
   6555 
   6556 newos6*)
   6557   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6558   lt_cv_file_magic_cmd=$FILECMD
   6559   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6560   ;;
   6561 
   6562 *nto* | *qnx*)
   6563   lt_cv_deplibs_check_method=pass_all
   6564   ;;
   6565 
   6566 openbsd* | bitrig*)
   6567   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   6568     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6569   else
   6570     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6571   fi
   6572   ;;
   6573 
   6574 osf3* | osf4* | osf5*)
   6575   lt_cv_deplibs_check_method=pass_all
   6576   ;;
   6577 
   6578 rdos*)
   6579   lt_cv_deplibs_check_method=pass_all
   6580   ;;
   6581 
   6582 solaris*)
   6583   lt_cv_deplibs_check_method=pass_all
   6584   ;;
   6585 
   6586 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6587   lt_cv_deplibs_check_method=pass_all
   6588   ;;
   6589 
   6590 sysv4 | sysv4.3*)
   6591   case $host_vendor in
   6592   motorola)
   6593     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]'
   6594     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6595     ;;
   6596   ncr)
   6597     lt_cv_deplibs_check_method=pass_all
   6598     ;;
   6599   sequent)
   6600     lt_cv_file_magic_cmd='/bin/file'
   6601     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6602     ;;
   6603   sni)
   6604     lt_cv_file_magic_cmd='/bin/file'
   6605     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6606     lt_cv_file_magic_test_file=/lib/libc.so
   6607     ;;
   6608   siemens)
   6609     lt_cv_deplibs_check_method=pass_all
   6610     ;;
   6611   pc)
   6612     lt_cv_deplibs_check_method=pass_all
   6613     ;;
   6614   esac
   6615   ;;
   6616 
   6617 tpf*)
   6618   lt_cv_deplibs_check_method=pass_all
   6619   ;;
   6620 os2*)
   6621   lt_cv_deplibs_check_method=pass_all
   6622   ;;
   6623 esac
   6624 
   6625 fi
   6626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6627 printf "%s\n" "$lt_cv_deplibs_check_method" >&6; }
   6628 
   6629 file_magic_glob=
   6630 want_nocaseglob=no
   6631 if test "$build" = "$host"; then
   6632   case $host_os in
   6633   mingw* | pw32*)
   6634     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   6635       want_nocaseglob=yes
   6636     else
   6637       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   6638     fi
   6639     ;;
   6640   esac
   6641 fi
   6642 
   6643 file_magic_cmd=$lt_cv_file_magic_cmd
   6644 deplibs_check_method=$lt_cv_deplibs_check_method
   6645 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6646 
   6647 
   6648 
   6649 
   6650 
   6651 
   6652 
   6653 
   6654 
   6655 
   6656 
   6657 
   6658 
   6659 
   6660 
   6661 
   6662 
   6663 
   6664 
   6665 
   6666 
   6667 
   6668 if test -n "$ac_tool_prefix"; then
   6669   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   6670 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   6671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6672 printf %s "checking for $ac_word... " >&6; }
   6673 if test ${ac_cv_prog_DLLTOOL+y}
   6674 then :
   6675   printf %s "(cached) " >&6
   6676 else $as_nop
   6677   if test -n "$DLLTOOL"; then
   6678   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   6679 else
   6680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6681 for as_dir in $PATH
   6682 do
   6683   IFS=$as_save_IFS
   6684   case $as_dir in #(((
   6685     '') as_dir=./ ;;
   6686     */) ;;
   6687     *) as_dir=$as_dir/ ;;
   6688   esac
   6689     for ac_exec_ext in '' $ac_executable_extensions; do
   6690   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6691     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   6692     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6693     break 2
   6694   fi
   6695 done
   6696   done
   6697 IFS=$as_save_IFS
   6698 
   6699 fi
   6700 fi
   6701 DLLTOOL=$ac_cv_prog_DLLTOOL
   6702 if test -n "$DLLTOOL"; then
   6703   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   6704 printf "%s\n" "$DLLTOOL" >&6; }
   6705 else
   6706   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6707 printf "%s\n" "no" >&6; }
   6708 fi
   6709 
   6710 
   6711 fi
   6712 if test -z "$ac_cv_prog_DLLTOOL"; then
   6713   ac_ct_DLLTOOL=$DLLTOOL
   6714   # Extract the first word of "dlltool", so it can be a program name with args.
   6715 set dummy dlltool; ac_word=$2
   6716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6717 printf %s "checking for $ac_word... " >&6; }
   6718 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
   6719 then :
   6720   printf %s "(cached) " >&6
   6721 else $as_nop
   6722   if test -n "$ac_ct_DLLTOOL"; then
   6723   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   6724 else
   6725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6726 for as_dir in $PATH
   6727 do
   6728   IFS=$as_save_IFS
   6729   case $as_dir in #(((
   6730     '') as_dir=./ ;;
   6731     */) ;;
   6732     *) as_dir=$as_dir/ ;;
   6733   esac
   6734     for ac_exec_ext in '' $ac_executable_extensions; do
   6735   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6736     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   6737     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6738     break 2
   6739   fi
   6740 done
   6741   done
   6742 IFS=$as_save_IFS
   6743 
   6744 fi
   6745 fi
   6746 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   6747 if test -n "$ac_ct_DLLTOOL"; then
   6748   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   6749 printf "%s\n" "$ac_ct_DLLTOOL" >&6; }
   6750 else
   6751   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6752 printf "%s\n" "no" >&6; }
   6753 fi
   6754 
   6755   if test "x$ac_ct_DLLTOOL" = x; then
   6756     DLLTOOL="false"
   6757   else
   6758     case $cross_compiling:$ac_tool_warned in
   6759 yes:)
   6760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6761 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6762 ac_tool_warned=yes ;;
   6763 esac
   6764     DLLTOOL=$ac_ct_DLLTOOL
   6765   fi
   6766 else
   6767   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6768 fi
   6769 
   6770 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6771 
   6772 
   6773 
   6774 
   6775 
   6776 
   6777 
   6778 
   6779 
   6780 
   6781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6782 printf %s "checking how to associate runtime and link libraries... " >&6; }
   6783 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
   6784 then :
   6785   printf %s "(cached) " >&6
   6786 else $as_nop
   6787   lt_cv_sharedlib_from_linklib_cmd='unknown'
   6788 
   6789 case $host_os in
   6790 cygwin* | mingw* | pw32* | cegcc*)
   6791   # two different shell functions defined in ltmain.sh;
   6792   # decide which one to use based on capabilities of $DLLTOOL
   6793   case `$DLLTOOL --help 2>&1` in
   6794   *--identify-strict*)
   6795     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6796     ;;
   6797   *)
   6798     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6799     ;;
   6800   esac
   6801   ;;
   6802 *)
   6803   # fallback: assume linklib IS sharedlib
   6804   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   6805   ;;
   6806 esac
   6807 
   6808 fi
   6809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6810 printf "%s\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6811 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6812 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6813 
   6814 
   6815 
   6816 
   6817 
   6818 
   6819 
   6820 if test -n "$ac_tool_prefix"; then
   6821   for ac_prog in ar
   6822   do
   6823     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6824 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6826 printf %s "checking for $ac_word... " >&6; }
   6827 if test ${ac_cv_prog_AR+y}
   6828 then :
   6829   printf %s "(cached) " >&6
   6830 else $as_nop
   6831   if test -n "$AR"; then
   6832   ac_cv_prog_AR="$AR" # Let the user override the test.
   6833 else
   6834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6835 for as_dir in $PATH
   6836 do
   6837   IFS=$as_save_IFS
   6838   case $as_dir in #(((
   6839     '') as_dir=./ ;;
   6840     */) ;;
   6841     *) as_dir=$as_dir/ ;;
   6842   esac
   6843     for ac_exec_ext in '' $ac_executable_extensions; do
   6844   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6845     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6846     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6847     break 2
   6848   fi
   6849 done
   6850   done
   6851 IFS=$as_save_IFS
   6852 
   6853 fi
   6854 fi
   6855 AR=$ac_cv_prog_AR
   6856 if test -n "$AR"; then
   6857   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6858 printf "%s\n" "$AR" >&6; }
   6859 else
   6860   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6861 printf "%s\n" "no" >&6; }
   6862 fi
   6863 
   6864 
   6865     test -n "$AR" && break
   6866   done
   6867 fi
   6868 if test -z "$AR"; then
   6869   ac_ct_AR=$AR
   6870   for ac_prog in ar
   6871 do
   6872   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6873 set dummy $ac_prog; ac_word=$2
   6874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6875 printf %s "checking for $ac_word... " >&6; }
   6876 if test ${ac_cv_prog_ac_ct_AR+y}
   6877 then :
   6878   printf %s "(cached) " >&6
   6879 else $as_nop
   6880   if test -n "$ac_ct_AR"; then
   6881   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6882 else
   6883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6884 for as_dir in $PATH
   6885 do
   6886   IFS=$as_save_IFS
   6887   case $as_dir in #(((
   6888     '') as_dir=./ ;;
   6889     */) ;;
   6890     *) as_dir=$as_dir/ ;;
   6891   esac
   6892     for ac_exec_ext in '' $ac_executable_extensions; do
   6893   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   6894     ac_cv_prog_ac_ct_AR="$ac_prog"
   6895     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   6896     break 2
   6897   fi
   6898 done
   6899   done
   6900 IFS=$as_save_IFS
   6901 
   6902 fi
   6903 fi
   6904 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6905 if test -n "$ac_ct_AR"; then
   6906   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6907 printf "%s\n" "$ac_ct_AR" >&6; }
   6908 else
   6909   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6910 printf "%s\n" "no" >&6; }
   6911 fi
   6912 
   6913 
   6914   test -n "$ac_ct_AR" && break
   6915 done
   6916 
   6917   if test "x$ac_ct_AR" = x; then
   6918     AR="false"
   6919   else
   6920     case $cross_compiling:$ac_tool_warned in
   6921 yes:)
   6922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6923 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6924 ac_tool_warned=yes ;;
   6925 esac
   6926     AR=$ac_ct_AR
   6927   fi
   6928 fi
   6929 
   6930 : ${AR=ar}
   6931 
   6932 
   6933 
   6934 
   6935 
   6936 
   6937 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
   6938 # Automake.  If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
   6939 # higher priority because thats what people were doing historically (setting
   6940 # ARFLAGS for automake and AR_FLAGS for libtool).  FIXME: Make the AR_FLAGS
   6941 # variable obsoleted/removed.
   6942 
   6943 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
   6944 lt_ar_flags=$AR_FLAGS
   6945 
   6946 
   6947 
   6948 
   6949 
   6950 
   6951 # Make AR_FLAGS overridable by 'make ARFLAGS='.  Don't try to run-time override
   6952 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
   6953 
   6954 
   6955 
   6956 
   6957 
   6958 
   6959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6960 printf %s "checking for archiver @FILE support... " >&6; }
   6961 if test ${lt_cv_ar_at_file+y}
   6962 then :
   6963   printf %s "(cached) " >&6
   6964 else $as_nop
   6965   lt_cv_ar_at_file=no
   6966    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6967 /* end confdefs.h.  */
   6968 
   6969 int
   6970 main (void)
   6971 {
   6972 
   6973   ;
   6974   return 0;
   6975 }
   6976 _ACEOF
   6977 if ac_fn_c_try_compile "$LINENO"
   6978 then :
   6979   echo conftest.$ac_objext > conftest.lst
   6980       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6981       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6982   (eval $lt_ar_try) 2>&5
   6983   ac_status=$?
   6984   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6985   test $ac_status = 0; }
   6986       if test 0 -eq "$ac_status"; then
   6987 	# Ensure the archiver fails upon bogus file names.
   6988 	rm -f conftest.$ac_objext libconftest.a
   6989 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6990   (eval $lt_ar_try) 2>&5
   6991   ac_status=$?
   6992   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6993   test $ac_status = 0; }
   6994 	if test 0 -ne "$ac_status"; then
   6995           lt_cv_ar_at_file=@
   6996         fi
   6997       fi
   6998       rm -f conftest.* libconftest.a
   6999 
   7000 fi
   7001 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   7002 
   7003 fi
   7004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   7005 printf "%s\n" "$lt_cv_ar_at_file" >&6; }
   7006 
   7007 if test no = "$lt_cv_ar_at_file"; then
   7008   archiver_list_spec=
   7009 else
   7010   archiver_list_spec=$lt_cv_ar_at_file
   7011 fi
   7012 
   7013 
   7014 
   7015 
   7016 
   7017 
   7018 
   7019 if test -n "$ac_tool_prefix"; then
   7020   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   7021 set dummy ${ac_tool_prefix}strip; ac_word=$2
   7022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7023 printf %s "checking for $ac_word... " >&6; }
   7024 if test ${ac_cv_prog_STRIP+y}
   7025 then :
   7026   printf %s "(cached) " >&6
   7027 else $as_nop
   7028   if test -n "$STRIP"; then
   7029   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   7030 else
   7031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7032 for as_dir in $PATH
   7033 do
   7034   IFS=$as_save_IFS
   7035   case $as_dir in #(((
   7036     '') as_dir=./ ;;
   7037     */) ;;
   7038     *) as_dir=$as_dir/ ;;
   7039   esac
   7040     for ac_exec_ext in '' $ac_executable_extensions; do
   7041   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7042     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7043     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7044     break 2
   7045   fi
   7046 done
   7047   done
   7048 IFS=$as_save_IFS
   7049 
   7050 fi
   7051 fi
   7052 STRIP=$ac_cv_prog_STRIP
   7053 if test -n "$STRIP"; then
   7054   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   7055 printf "%s\n" "$STRIP" >&6; }
   7056 else
   7057   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7058 printf "%s\n" "no" >&6; }
   7059 fi
   7060 
   7061 
   7062 fi
   7063 if test -z "$ac_cv_prog_STRIP"; then
   7064   ac_ct_STRIP=$STRIP
   7065   # Extract the first word of "strip", so it can be a program name with args.
   7066 set dummy strip; ac_word=$2
   7067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7068 printf %s "checking for $ac_word... " >&6; }
   7069 if test ${ac_cv_prog_ac_ct_STRIP+y}
   7070 then :
   7071   printf %s "(cached) " >&6
   7072 else $as_nop
   7073   if test -n "$ac_ct_STRIP"; then
   7074   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7075 else
   7076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7077 for as_dir in $PATH
   7078 do
   7079   IFS=$as_save_IFS
   7080   case $as_dir in #(((
   7081     '') as_dir=./ ;;
   7082     */) ;;
   7083     *) as_dir=$as_dir/ ;;
   7084   esac
   7085     for ac_exec_ext in '' $ac_executable_extensions; do
   7086   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7087     ac_cv_prog_ac_ct_STRIP="strip"
   7088     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7089     break 2
   7090   fi
   7091 done
   7092   done
   7093 IFS=$as_save_IFS
   7094 
   7095 fi
   7096 fi
   7097 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7098 if test -n "$ac_ct_STRIP"; then
   7099   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   7100 printf "%s\n" "$ac_ct_STRIP" >&6; }
   7101 else
   7102   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7103 printf "%s\n" "no" >&6; }
   7104 fi
   7105 
   7106   if test "x$ac_ct_STRIP" = x; then
   7107     STRIP=":"
   7108   else
   7109     case $cross_compiling:$ac_tool_warned in
   7110 yes:)
   7111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7112 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7113 ac_tool_warned=yes ;;
   7114 esac
   7115     STRIP=$ac_ct_STRIP
   7116   fi
   7117 else
   7118   STRIP="$ac_cv_prog_STRIP"
   7119 fi
   7120 
   7121 test -z "$STRIP" && STRIP=:
   7122 
   7123 
   7124 
   7125 
   7126 
   7127 
   7128 if test -n "$ac_tool_prefix"; then
   7129   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   7130 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   7131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7132 printf %s "checking for $ac_word... " >&6; }
   7133 if test ${ac_cv_prog_RANLIB+y}
   7134 then :
   7135   printf %s "(cached) " >&6
   7136 else $as_nop
   7137   if test -n "$RANLIB"; then
   7138   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   7139 else
   7140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7141 for as_dir in $PATH
   7142 do
   7143   IFS=$as_save_IFS
   7144   case $as_dir in #(((
   7145     '') as_dir=./ ;;
   7146     */) ;;
   7147     *) as_dir=$as_dir/ ;;
   7148   esac
   7149     for ac_exec_ext in '' $ac_executable_extensions; do
   7150   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7151     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   7152     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7153     break 2
   7154   fi
   7155 done
   7156   done
   7157 IFS=$as_save_IFS
   7158 
   7159 fi
   7160 fi
   7161 RANLIB=$ac_cv_prog_RANLIB
   7162 if test -n "$RANLIB"; then
   7163   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   7164 printf "%s\n" "$RANLIB" >&6; }
   7165 else
   7166   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7167 printf "%s\n" "no" >&6; }
   7168 fi
   7169 
   7170 
   7171 fi
   7172 if test -z "$ac_cv_prog_RANLIB"; then
   7173   ac_ct_RANLIB=$RANLIB
   7174   # Extract the first word of "ranlib", so it can be a program name with args.
   7175 set dummy ranlib; ac_word=$2
   7176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7177 printf %s "checking for $ac_word... " >&6; }
   7178 if test ${ac_cv_prog_ac_ct_RANLIB+y}
   7179 then :
   7180   printf %s "(cached) " >&6
   7181 else $as_nop
   7182   if test -n "$ac_ct_RANLIB"; then
   7183   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   7184 else
   7185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7186 for as_dir in $PATH
   7187 do
   7188   IFS=$as_save_IFS
   7189   case $as_dir in #(((
   7190     '') as_dir=./ ;;
   7191     */) ;;
   7192     *) as_dir=$as_dir/ ;;
   7193   esac
   7194     for ac_exec_ext in '' $ac_executable_extensions; do
   7195   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   7196     ac_cv_prog_ac_ct_RANLIB="ranlib"
   7197     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   7198     break 2
   7199   fi
   7200 done
   7201   done
   7202 IFS=$as_save_IFS
   7203 
   7204 fi
   7205 fi
   7206 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   7207 if test -n "$ac_ct_RANLIB"; then
   7208   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   7209 printf "%s\n" "$ac_ct_RANLIB" >&6; }
   7210 else
   7211   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7212 printf "%s\n" "no" >&6; }
   7213 fi
   7214 
   7215   if test "x$ac_ct_RANLIB" = x; then
   7216     RANLIB=":"
   7217   else
   7218     case $cross_compiling:$ac_tool_warned in
   7219 yes:)
   7220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7221 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7222 ac_tool_warned=yes ;;
   7223 esac
   7224     RANLIB=$ac_ct_RANLIB
   7225   fi
   7226 else
   7227   RANLIB="$ac_cv_prog_RANLIB"
   7228 fi
   7229 
   7230 test -z "$RANLIB" && RANLIB=:
   7231 
   7232 
   7233 
   7234 
   7235 
   7236 
   7237 # Determine commands to create old-style static archives.
   7238 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7239 old_postinstall_cmds='chmod 644 $oldlib'
   7240 old_postuninstall_cmds=
   7241 
   7242 if test -n "$RANLIB"; then
   7243   case $host_os in
   7244   bitrig* | openbsd*)
   7245     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   7246     ;;
   7247   *)
   7248     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   7249     ;;
   7250   esac
   7251   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   7252 fi
   7253 
   7254 case $host_os in
   7255   darwin*)
   7256     lock_old_archive_extraction=yes ;;
   7257   *)
   7258     lock_old_archive_extraction=no ;;
   7259 esac
   7260 
   7261 
   7262 
   7263 
   7264 
   7265 
   7266 
   7267 
   7268 
   7269 
   7270 
   7271 
   7272 
   7273 
   7274 
   7275 
   7276 
   7277 
   7278 
   7279 
   7280 
   7281 
   7282 
   7283 
   7284 
   7285 
   7286 
   7287 
   7288 
   7289 
   7290 
   7291 
   7292 
   7293 
   7294 
   7295 
   7296 
   7297 
   7298 
   7299 # If no C compiler was specified, use CC.
   7300 LTCC=${LTCC-"$CC"}
   7301 
   7302 # If no C compiler flags were specified, use CFLAGS.
   7303 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7304 
   7305 # Allow CC to be a program name with arguments.
   7306 compiler=$CC
   7307 
   7308 
   7309 # Check for command to grab the raw symbol name followed by C symbol from nm.
   7310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   7311 printf %s "checking command to parse $NM output from $compiler object... " >&6; }
   7312 if test ${lt_cv_sys_global_symbol_pipe+y}
   7313 then :
   7314   printf %s "(cached) " >&6
   7315 else $as_nop
   7316 
   7317 # These are sane defaults that work on at least a few old systems.
   7318 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   7319 
   7320 # Character class describing NM global symbol codes.
   7321 symcode='[BCDEGRST]'
   7322 
   7323 # Regexp to match symbols that can be accessed directly from C.
   7324 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   7325 
   7326 # Define system-specific variables.
   7327 case $host_os in
   7328 aix*)
   7329   symcode='[BCDT]'
   7330   ;;
   7331 cygwin* | mingw* | pw32* | cegcc*)
   7332   symcode='[ABCDGISTW]'
   7333   ;;
   7334 hpux*)
   7335   if test ia64 = "$host_cpu"; then
   7336     symcode='[ABCDEGRST]'
   7337   fi
   7338   ;;
   7339 irix* | nonstopux*)
   7340   symcode='[BCDEGRST]'
   7341   ;;
   7342 osf*)
   7343   symcode='[BCDEGQRST]'
   7344   ;;
   7345 solaris*)
   7346   symcode='[BDRT]'
   7347   ;;
   7348 sco3.2v5*)
   7349   symcode='[DT]'
   7350   ;;
   7351 sysv4.2uw2*)
   7352   symcode='[DT]'
   7353   ;;
   7354 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   7355   symcode='[ABDT]'
   7356   ;;
   7357 sysv4)
   7358   symcode='[DFNSTU]'
   7359   ;;
   7360 esac
   7361 
   7362 # If we're using GNU nm, then use its standard symbol codes.
   7363 case `$NM -V 2>&1` in
   7364 *GNU* | *'with BFD'*)
   7365   symcode='[ABCDGIRSTW]' ;;
   7366 esac
   7367 
   7368 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7369   # Gets list of data symbols to import.
   7370   lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
   7371   # Adjust the below global symbol transforms to fixup imported variables.
   7372   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   7373   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   7374   lt_c_name_lib_hook="\
   7375   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   7376   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   7377 else
   7378   # Disable hooks by default.
   7379   lt_cv_sys_global_symbol_to_import=
   7380   lt_cdecl_hook=
   7381   lt_c_name_hook=
   7382   lt_c_name_lib_hook=
   7383 fi
   7384 
   7385 # Transform an extracted symbol line into a proper C declaration.
   7386 # Some systems (esp. on ia64) link data and code symbols differently,
   7387 # so use this general approach.
   7388 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
   7389 $lt_cdecl_hook\
   7390 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   7391 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   7392 
   7393 # Transform an extracted symbol line into symbol name and symbol address
   7394 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
   7395 $lt_c_name_hook\
   7396 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7397 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   7398 
   7399 # Transform an extracted symbol line into symbol name with lib prefix and
   7400 # symbol address.
   7401 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
   7402 $lt_c_name_lib_hook\
   7403 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   7404 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   7405 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   7406 
   7407 # Handle CRLF in mingw tool chain
   7408 opt_cr=
   7409 case $build_os in
   7410 mingw*)
   7411   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7412   ;;
   7413 esac
   7414 
   7415 # Try without a prefix underscore, then with it.
   7416 for ac_symprfx in "" "_"; do
   7417 
   7418   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7419   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7420 
   7421   # Write the raw and C identifiers.
   7422   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7423     # Fake it for dumpbin and say T for any non-static function,
   7424     # D for any global variable and I for any imported variable.
   7425     # Also find C++ and __fastcall symbols from MSVC++ or ICC,
   7426     # which start with @ or ?.
   7427     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7428 "     {last_section=section; section=\$ 3};"\
   7429 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   7430 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7431 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   7432 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   7433 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   7434 "     \$ 0!~/External *\|/{next};"\
   7435 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7436 "     {if(hide[section]) next};"\
   7437 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   7438 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   7439 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   7440 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   7441 "     ' prfx=^$ac_symprfx"
   7442   else
   7443     lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7444   fi
   7445   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
   7446 
   7447   # Check to see that the pipe works correctly.
   7448   pipe_works=no
   7449 
   7450   rm -f conftest*
   7451   cat > conftest.$ac_ext <<_LT_EOF
   7452 #ifdef __cplusplus
   7453 extern "C" {
   7454 #endif
   7455 char nm_test_var;
   7456 void nm_test_func(void);
   7457 void nm_test_func(void){}
   7458 #ifdef __cplusplus
   7459 }
   7460 #endif
   7461 int main(){nm_test_var='a';nm_test_func();return(0);}
   7462 _LT_EOF
   7463 
   7464   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7465   (eval $ac_compile) 2>&5
   7466   ac_status=$?
   7467   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7468   test $ac_status = 0; }; then
   7469     # Now try to grab the symbols.
   7470     nlist=conftest.nm
   7471     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   7472   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   7473   ac_status=$?
   7474   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7475   test $ac_status = 0; } && test -s "$nlist"; then
   7476       # Try sorting and uniquifying the output.
   7477       if sort "$nlist" | uniq > "$nlist"T; then
   7478 	mv -f "$nlist"T "$nlist"
   7479       else
   7480 	rm -f "$nlist"T
   7481       fi
   7482 
   7483       # Make sure that we snagged all the symbols we need.
   7484       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7485 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7486 	  cat <<_LT_EOF > conftest.$ac_ext
   7487 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   7488 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   7489 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   7490    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   7491 # define LT_DLSYM_CONST
   7492 #elif defined __osf__
   7493 /* This system does not cope well with relocations in const data.  */
   7494 # define LT_DLSYM_CONST
   7495 #else
   7496 # define LT_DLSYM_CONST const
   7497 #endif
   7498 
   7499 #ifdef __cplusplus
   7500 extern "C" {
   7501 #endif
   7502 
   7503 _LT_EOF
   7504 	  # Now generate the symbol file.
   7505 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7506 
   7507 	  cat <<_LT_EOF >> conftest.$ac_ext
   7508 
   7509 /* The mapping between symbol names and symbols.  */
   7510 LT_DLSYM_CONST struct {
   7511   const char *name;
   7512   void       *address;
   7513 }
   7514 lt__PROGRAM__LTX_preloaded_symbols[] =
   7515 {
   7516   { "@PROGRAM@", (void *) 0 },
   7517 _LT_EOF
   7518 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7519 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7520   {0, (void *) 0}
   7521 };
   7522 
   7523 /* This works around a problem in FreeBSD linker */
   7524 #ifdef FREEBSD_WORKAROUND
   7525 static const void *lt_preloaded_setup() {
   7526   return lt__PROGRAM__LTX_preloaded_symbols;
   7527 }
   7528 #endif
   7529 
   7530 #ifdef __cplusplus
   7531 }
   7532 #endif
   7533 _LT_EOF
   7534 	  # Now try linking the two files.
   7535 	  mv conftest.$ac_objext conftstm.$ac_objext
   7536 	  lt_globsym_save_LIBS=$LIBS
   7537 	  lt_globsym_save_CFLAGS=$CFLAGS
   7538 	  LIBS=conftstm.$ac_objext
   7539 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7540 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7541   (eval $ac_link) 2>&5
   7542   ac_status=$?
   7543   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7544   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   7545 	    pipe_works=yes
   7546 	  fi
   7547 	  LIBS=$lt_globsym_save_LIBS
   7548 	  CFLAGS=$lt_globsym_save_CFLAGS
   7549 	else
   7550 	  echo "cannot find nm_test_func in $nlist" >&5
   7551 	fi
   7552       else
   7553 	echo "cannot find nm_test_var in $nlist" >&5
   7554       fi
   7555     else
   7556       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7557     fi
   7558   else
   7559     echo "$progname: failed program was:" >&5
   7560     cat conftest.$ac_ext >&5
   7561   fi
   7562   rm -rf conftest* conftst*
   7563 
   7564   # Do not use the global_symbol_pipe unless it works.
   7565   if test yes = "$pipe_works"; then
   7566     break
   7567   else
   7568     lt_cv_sys_global_symbol_pipe=
   7569   fi
   7570 done
   7571 
   7572 fi
   7573 
   7574 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7575   lt_cv_sys_global_symbol_to_cdecl=
   7576 fi
   7577 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7578   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7579 printf "%s\n" "failed" >&6; }
   7580 else
   7581   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7582 printf "%s\n" "ok" >&6; }
   7583 fi
   7584 
   7585 # Response file support.
   7586 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7587   nm_file_list_spec='@'
   7588 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   7589   nm_file_list_spec='@'
   7590 fi
   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 
   7628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   7629 printf %s "checking for sysroot... " >&6; }
   7630 
   7631 # Check whether --with-sysroot was given.
   7632 if test ${with_sysroot+y}
   7633 then :
   7634   withval=$with_sysroot;
   7635 else $as_nop
   7636   with_sysroot=no
   7637 fi
   7638 
   7639 
   7640 lt_sysroot=
   7641 case $with_sysroot in #(
   7642  yes)
   7643    if test yes = "$GCC"; then
   7644      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   7645    fi
   7646    ;; #(
   7647  /*)
   7648    lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
   7649    ;; #(
   7650  no|'')
   7651    ;; #(
   7652  *)
   7653    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   7654 printf "%s\n" "$with_sysroot" >&6; }
   7655    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   7656    ;;
   7657 esac
   7658 
   7659  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   7660 printf "%s\n" "${lt_sysroot:-no}" >&6; }
   7661 
   7662 
   7663 
   7664 
   7665 
   7666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   7667 printf %s "checking for a working dd... " >&6; }
   7668 if test ${ac_cv_path_lt_DD+y}
   7669 then :
   7670   printf %s "(cached) " >&6
   7671 else $as_nop
   7672   printf 0123456789abcdef0123456789abcdef >conftest.i
   7673 cat conftest.i conftest.i >conftest2.i
   7674 : ${lt_DD:=$DD}
   7675 if test -z "$lt_DD"; then
   7676   ac_path_lt_DD_found=false
   7677   # Loop through the user's path and test for each of PROGNAME-LIST
   7678   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7679 for as_dir in $PATH
   7680 do
   7681   IFS=$as_save_IFS
   7682   case $as_dir in #(((
   7683     '') as_dir=./ ;;
   7684     */) ;;
   7685     *) as_dir=$as_dir/ ;;
   7686   esac
   7687     for ac_prog in dd
   7688    do
   7689     for ac_exec_ext in '' $ac_executable_extensions; do
   7690       ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
   7691       as_fn_executable_p "$ac_path_lt_DD" || continue
   7692 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7693   cmp -s conftest.i conftest.out \
   7694   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   7695 fi
   7696       $ac_path_lt_DD_found && break 3
   7697     done
   7698   done
   7699   done
   7700 IFS=$as_save_IFS
   7701   if test -z "$ac_cv_path_lt_DD"; then
   7702     :
   7703   fi
   7704 else
   7705   ac_cv_path_lt_DD=$lt_DD
   7706 fi
   7707 
   7708 rm -f conftest.i conftest2.i conftest.out
   7709 fi
   7710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   7711 printf "%s\n" "$ac_cv_path_lt_DD" >&6; }
   7712 
   7713 
   7714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   7715 printf %s "checking how to truncate binary pipes... " >&6; }
   7716 if test ${lt_cv_truncate_bin+y}
   7717 then :
   7718   printf %s "(cached) " >&6
   7719 else $as_nop
   7720   printf 0123456789abcdef0123456789abcdef >conftest.i
   7721 cat conftest.i conftest.i >conftest2.i
   7722 lt_cv_truncate_bin=
   7723 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   7724   cmp -s conftest.i conftest.out \
   7725   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   7726 fi
   7727 rm -f conftest.i conftest2.i conftest.out
   7728 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   7729 fi
   7730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   7731 printf "%s\n" "$lt_cv_truncate_bin" >&6; }
   7732 
   7733 
   7734 
   7735 
   7736 
   7737 
   7738 
   7739 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   7740 func_cc_basename ()
   7741 {
   7742     for cc_temp in $*""; do
   7743       case $cc_temp in
   7744         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7745         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7746         \-*) ;;
   7747         *) break;;
   7748       esac
   7749     done
   7750     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7751 }
   7752 
   7753 # Check whether --enable-libtool-lock was given.
   7754 if test ${enable_libtool_lock+y}
   7755 then :
   7756   enableval=$enable_libtool_lock;
   7757 fi
   7758 
   7759 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   7760 
   7761 # Some flags need to be propagated to the compiler or linker for good
   7762 # libtool support.
   7763 case $host in
   7764 ia64-*-hpux*)
   7765   # Find out what ABI is being produced by ac_compile, and set mode
   7766   # options accordingly.
   7767   echo 'int i;' > conftest.$ac_ext
   7768   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7769   (eval $ac_compile) 2>&5
   7770   ac_status=$?
   7771   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7772   test $ac_status = 0; }; then
   7773     case `$FILECMD conftest.$ac_objext` in
   7774       *ELF-32*)
   7775 	HPUX_IA64_MODE=32
   7776 	;;
   7777       *ELF-64*)
   7778 	HPUX_IA64_MODE=64
   7779 	;;
   7780     esac
   7781   fi
   7782   rm -rf conftest*
   7783   ;;
   7784 *-*-irix6*)
   7785   # Find out what ABI is being produced by ac_compile, and set linker
   7786   # options accordingly.
   7787   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7788   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7789   (eval $ac_compile) 2>&5
   7790   ac_status=$?
   7791   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7792   test $ac_status = 0; }; then
   7793     if test yes = "$lt_cv_prog_gnu_ld"; then
   7794       case `$FILECMD conftest.$ac_objext` in
   7795 	*32-bit*)
   7796 	  LD="${LD-ld} -melf32bsmip"
   7797 	  ;;
   7798 	*N32*)
   7799 	  LD="${LD-ld} -melf32bmipn32"
   7800 	  ;;
   7801 	*64-bit*)
   7802 	  LD="${LD-ld} -melf64bmip"
   7803 	;;
   7804       esac
   7805     else
   7806       case `$FILECMD conftest.$ac_objext` in
   7807 	*32-bit*)
   7808 	  LD="${LD-ld} -32"
   7809 	  ;;
   7810 	*N32*)
   7811 	  LD="${LD-ld} -n32"
   7812 	  ;;
   7813 	*64-bit*)
   7814 	  LD="${LD-ld} -64"
   7815 	  ;;
   7816       esac
   7817     fi
   7818   fi
   7819   rm -rf conftest*
   7820   ;;
   7821 
   7822 mips64*-*linux*)
   7823   # Find out what ABI is being produced by ac_compile, and set linker
   7824   # options accordingly.
   7825   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7826   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7827   (eval $ac_compile) 2>&5
   7828   ac_status=$?
   7829   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7830   test $ac_status = 0; }; then
   7831     emul=elf
   7832     case `$FILECMD conftest.$ac_objext` in
   7833       *32-bit*)
   7834 	emul="${emul}32"
   7835 	;;
   7836       *64-bit*)
   7837 	emul="${emul}64"
   7838 	;;
   7839     esac
   7840     case `$FILECMD conftest.$ac_objext` in
   7841       *MSB*)
   7842 	emul="${emul}btsmip"
   7843 	;;
   7844       *LSB*)
   7845 	emul="${emul}ltsmip"
   7846 	;;
   7847     esac
   7848     case `$FILECMD conftest.$ac_objext` in
   7849       *N32*)
   7850 	emul="${emul}n32"
   7851 	;;
   7852     esac
   7853     LD="${LD-ld} -m $emul"
   7854   fi
   7855   rm -rf conftest*
   7856   ;;
   7857 
   7858 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7859 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7860   # Find out what ABI is being produced by ac_compile, and set linker
   7861   # options accordingly.  Note that the listed cases only cover the
   7862   # situations where additional linker options are needed (such as when
   7863   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   7864   # vice versa); the common cases where no linker options are needed do
   7865   # not appear in the list.
   7866   echo 'int i;' > conftest.$ac_ext
   7867   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7868   (eval $ac_compile) 2>&5
   7869   ac_status=$?
   7870   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7871   test $ac_status = 0; }; then
   7872     case `$FILECMD conftest.o` in
   7873       *32-bit*)
   7874 	case $host in
   7875 	  x86_64-*kfreebsd*-gnu)
   7876 	    LD="${LD-ld} -m elf_i386_fbsd"
   7877 	    ;;
   7878 	  x86_64-*linux*)
   7879 	    case `$FILECMD conftest.o` in
   7880 	      *x86-64*)
   7881 		LD="${LD-ld} -m elf32_x86_64"
   7882 		;;
   7883 	      *)
   7884 		LD="${LD-ld} -m elf_i386"
   7885 		;;
   7886 	    esac
   7887 	    ;;
   7888 	  powerpc64le-*linux*)
   7889 	    LD="${LD-ld} -m elf32lppclinux"
   7890 	    ;;
   7891 	  powerpc64-*linux*)
   7892 	    LD="${LD-ld} -m elf32ppclinux"
   7893 	    ;;
   7894 	  s390x-*linux*)
   7895 	    LD="${LD-ld} -m elf_s390"
   7896 	    ;;
   7897 	  sparc64-*linux*)
   7898 	    LD="${LD-ld} -m elf32_sparc"
   7899 	    ;;
   7900 	esac
   7901 	;;
   7902       *64-bit*)
   7903 	case $host in
   7904 	  x86_64-*kfreebsd*-gnu)
   7905 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7906 	    ;;
   7907 	  x86_64-*linux*)
   7908 	    LD="${LD-ld} -m elf_x86_64"
   7909 	    ;;
   7910 	  powerpcle-*linux*)
   7911 	    LD="${LD-ld} -m elf64lppc"
   7912 	    ;;
   7913 	  powerpc-*linux*)
   7914 	    LD="${LD-ld} -m elf64ppc"
   7915 	    ;;
   7916 	  s390*-*linux*|s390*-*tpf*)
   7917 	    LD="${LD-ld} -m elf64_s390"
   7918 	    ;;
   7919 	  sparc*-*linux*)
   7920 	    LD="${LD-ld} -m elf64_sparc"
   7921 	    ;;
   7922 	esac
   7923 	;;
   7924     esac
   7925   fi
   7926   rm -rf conftest*
   7927   ;;
   7928 
   7929 *-*-sco3.2v5*)
   7930   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7931   SAVE_CFLAGS=$CFLAGS
   7932   CFLAGS="$CFLAGS -belf"
   7933   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7934 printf %s "checking whether the C compiler needs -belf... " >&6; }
   7935 if test ${lt_cv_cc_needs_belf+y}
   7936 then :
   7937   printf %s "(cached) " >&6
   7938 else $as_nop
   7939   ac_ext=c
   7940 ac_cpp='$CPP $CPPFLAGS'
   7941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7944 
   7945      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7946 /* end confdefs.h.  */
   7947 
   7948 int
   7949 main (void)
   7950 {
   7951 
   7952   ;
   7953   return 0;
   7954 }
   7955 _ACEOF
   7956 if ac_fn_c_try_link "$LINENO"
   7957 then :
   7958   lt_cv_cc_needs_belf=yes
   7959 else $as_nop
   7960   lt_cv_cc_needs_belf=no
   7961 fi
   7962 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7963     conftest$ac_exeext conftest.$ac_ext
   7964      ac_ext=c
   7965 ac_cpp='$CPP $CPPFLAGS'
   7966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7969 
   7970 fi
   7971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7972 printf "%s\n" "$lt_cv_cc_needs_belf" >&6; }
   7973   if test yes != "$lt_cv_cc_needs_belf"; then
   7974     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7975     CFLAGS=$SAVE_CFLAGS
   7976   fi
   7977   ;;
   7978 *-*solaris*)
   7979   # Find out what ABI is being produced by ac_compile, and set linker
   7980   # options accordingly.
   7981   echo 'int i;' > conftest.$ac_ext
   7982   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7983   (eval $ac_compile) 2>&5
   7984   ac_status=$?
   7985   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7986   test $ac_status = 0; }; then
   7987     case `$FILECMD conftest.o` in
   7988     *64-bit*)
   7989       case $lt_cv_prog_gnu_ld in
   7990       yes*)
   7991         case $host in
   7992         i?86-*-solaris*|x86_64-*-solaris*)
   7993           LD="${LD-ld} -m elf_x86_64"
   7994           ;;
   7995         sparc*-*-solaris*)
   7996           LD="${LD-ld} -m elf64_sparc"
   7997           ;;
   7998         esac
   7999         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   8000         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   8001           LD=${LD-ld}_sol2
   8002         fi
   8003         ;;
   8004       *)
   8005 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   8006 	  LD="${LD-ld} -64"
   8007 	fi
   8008 	;;
   8009       esac
   8010       ;;
   8011     esac
   8012   fi
   8013   rm -rf conftest*
   8014   ;;
   8015 esac
   8016 
   8017 need_locks=$enable_libtool_lock
   8018 
   8019 if test -n "$ac_tool_prefix"; then
   8020   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   8021 set dummy ${ac_tool_prefix}mt; ac_word=$2
   8022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8023 printf %s "checking for $ac_word... " >&6; }
   8024 if test ${ac_cv_prog_MANIFEST_TOOL+y}
   8025 then :
   8026   printf %s "(cached) " >&6
   8027 else $as_nop
   8028   if test -n "$MANIFEST_TOOL"; then
   8029   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   8030 else
   8031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8032 for as_dir in $PATH
   8033 do
   8034   IFS=$as_save_IFS
   8035   case $as_dir in #(((
   8036     '') as_dir=./ ;;
   8037     */) ;;
   8038     *) as_dir=$as_dir/ ;;
   8039   esac
   8040     for ac_exec_ext in '' $ac_executable_extensions; do
   8041   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8042     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   8043     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8044     break 2
   8045   fi
   8046 done
   8047   done
   8048 IFS=$as_save_IFS
   8049 
   8050 fi
   8051 fi
   8052 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   8053 if test -n "$MANIFEST_TOOL"; then
   8054   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   8055 printf "%s\n" "$MANIFEST_TOOL" >&6; }
   8056 else
   8057   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8058 printf "%s\n" "no" >&6; }
   8059 fi
   8060 
   8061 
   8062 fi
   8063 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   8064   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   8065   # Extract the first word of "mt", so it can be a program name with args.
   8066 set dummy mt; ac_word=$2
   8067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8068 printf %s "checking for $ac_word... " >&6; }
   8069 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
   8070 then :
   8071   printf %s "(cached) " >&6
   8072 else $as_nop
   8073   if test -n "$ac_ct_MANIFEST_TOOL"; then
   8074   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   8075 else
   8076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8077 for as_dir in $PATH
   8078 do
   8079   IFS=$as_save_IFS
   8080   case $as_dir in #(((
   8081     '') as_dir=./ ;;
   8082     */) ;;
   8083     *) as_dir=$as_dir/ ;;
   8084   esac
   8085     for ac_exec_ext in '' $ac_executable_extensions; do
   8086   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8087     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   8088     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8089     break 2
   8090   fi
   8091 done
   8092   done
   8093 IFS=$as_save_IFS
   8094 
   8095 fi
   8096 fi
   8097 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   8098 if test -n "$ac_ct_MANIFEST_TOOL"; then
   8099   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   8100 printf "%s\n" "$ac_ct_MANIFEST_TOOL" >&6; }
   8101 else
   8102   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8103 printf "%s\n" "no" >&6; }
   8104 fi
   8105 
   8106   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   8107     MANIFEST_TOOL=":"
   8108   else
   8109     case $cross_compiling:$ac_tool_warned in
   8110 yes:)
   8111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8112 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8113 ac_tool_warned=yes ;;
   8114 esac
   8115     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   8116   fi
   8117 else
   8118   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   8119 fi
   8120 
   8121 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   8122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   8123 printf %s "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   8124 if test ${lt_cv_path_mainfest_tool+y}
   8125 then :
   8126   printf %s "(cached) " >&6
   8127 else $as_nop
   8128   lt_cv_path_mainfest_tool=no
   8129   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   8130   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   8131   cat conftest.err >&5
   8132   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   8133     lt_cv_path_mainfest_tool=yes
   8134   fi
   8135   rm -f conftest*
   8136 fi
   8137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   8138 printf "%s\n" "$lt_cv_path_mainfest_tool" >&6; }
   8139 if test yes != "$lt_cv_path_mainfest_tool"; then
   8140   MANIFEST_TOOL=:
   8141 fi
   8142 
   8143 
   8144 
   8145 
   8146 
   8147 
   8148   case $host_os in
   8149     rhapsody* | darwin*)
   8150     if test -n "$ac_tool_prefix"; then
   8151   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   8152 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   8153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8154 printf %s "checking for $ac_word... " >&6; }
   8155 if test ${ac_cv_prog_DSYMUTIL+y}
   8156 then :
   8157   printf %s "(cached) " >&6
   8158 else $as_nop
   8159   if test -n "$DSYMUTIL"; then
   8160   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   8161 else
   8162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8163 for as_dir in $PATH
   8164 do
   8165   IFS=$as_save_IFS
   8166   case $as_dir in #(((
   8167     '') as_dir=./ ;;
   8168     */) ;;
   8169     *) as_dir=$as_dir/ ;;
   8170   esac
   8171     for ac_exec_ext in '' $ac_executable_extensions; do
   8172   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8173     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   8174     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8175     break 2
   8176   fi
   8177 done
   8178   done
   8179 IFS=$as_save_IFS
   8180 
   8181 fi
   8182 fi
   8183 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   8184 if test -n "$DSYMUTIL"; then
   8185   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   8186 printf "%s\n" "$DSYMUTIL" >&6; }
   8187 else
   8188   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8189 printf "%s\n" "no" >&6; }
   8190 fi
   8191 
   8192 
   8193 fi
   8194 if test -z "$ac_cv_prog_DSYMUTIL"; then
   8195   ac_ct_DSYMUTIL=$DSYMUTIL
   8196   # Extract the first word of "dsymutil", so it can be a program name with args.
   8197 set dummy dsymutil; ac_word=$2
   8198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8199 printf %s "checking for $ac_word... " >&6; }
   8200 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
   8201 then :
   8202   printf %s "(cached) " >&6
   8203 else $as_nop
   8204   if test -n "$ac_ct_DSYMUTIL"; then
   8205   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   8206 else
   8207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8208 for as_dir in $PATH
   8209 do
   8210   IFS=$as_save_IFS
   8211   case $as_dir in #(((
   8212     '') as_dir=./ ;;
   8213     */) ;;
   8214     *) as_dir=$as_dir/ ;;
   8215   esac
   8216     for ac_exec_ext in '' $ac_executable_extensions; do
   8217   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8218     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   8219     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8220     break 2
   8221   fi
   8222 done
   8223   done
   8224 IFS=$as_save_IFS
   8225 
   8226 fi
   8227 fi
   8228 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   8229 if test -n "$ac_ct_DSYMUTIL"; then
   8230   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   8231 printf "%s\n" "$ac_ct_DSYMUTIL" >&6; }
   8232 else
   8233   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8234 printf "%s\n" "no" >&6; }
   8235 fi
   8236 
   8237   if test "x$ac_ct_DSYMUTIL" = x; then
   8238     DSYMUTIL=":"
   8239   else
   8240     case $cross_compiling:$ac_tool_warned in
   8241 yes:)
   8242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8243 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8244 ac_tool_warned=yes ;;
   8245 esac
   8246     DSYMUTIL=$ac_ct_DSYMUTIL
   8247   fi
   8248 else
   8249   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   8250 fi
   8251 
   8252     if test -n "$ac_tool_prefix"; then
   8253   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   8254 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   8255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8256 printf %s "checking for $ac_word... " >&6; }
   8257 if test ${ac_cv_prog_NMEDIT+y}
   8258 then :
   8259   printf %s "(cached) " >&6
   8260 else $as_nop
   8261   if test -n "$NMEDIT"; then
   8262   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   8263 else
   8264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8265 for as_dir in $PATH
   8266 do
   8267   IFS=$as_save_IFS
   8268   case $as_dir in #(((
   8269     '') as_dir=./ ;;
   8270     */) ;;
   8271     *) as_dir=$as_dir/ ;;
   8272   esac
   8273     for ac_exec_ext in '' $ac_executable_extensions; do
   8274   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8275     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   8276     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8277     break 2
   8278   fi
   8279 done
   8280   done
   8281 IFS=$as_save_IFS
   8282 
   8283 fi
   8284 fi
   8285 NMEDIT=$ac_cv_prog_NMEDIT
   8286 if test -n "$NMEDIT"; then
   8287   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   8288 printf "%s\n" "$NMEDIT" >&6; }
   8289 else
   8290   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8291 printf "%s\n" "no" >&6; }
   8292 fi
   8293 
   8294 
   8295 fi
   8296 if test -z "$ac_cv_prog_NMEDIT"; then
   8297   ac_ct_NMEDIT=$NMEDIT
   8298   # Extract the first word of "nmedit", so it can be a program name with args.
   8299 set dummy nmedit; ac_word=$2
   8300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8301 printf %s "checking for $ac_word... " >&6; }
   8302 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
   8303 then :
   8304   printf %s "(cached) " >&6
   8305 else $as_nop
   8306   if test -n "$ac_ct_NMEDIT"; then
   8307   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   8308 else
   8309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8310 for as_dir in $PATH
   8311 do
   8312   IFS=$as_save_IFS
   8313   case $as_dir in #(((
   8314     '') as_dir=./ ;;
   8315     */) ;;
   8316     *) as_dir=$as_dir/ ;;
   8317   esac
   8318     for ac_exec_ext in '' $ac_executable_extensions; do
   8319   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8320     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   8321     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8322     break 2
   8323   fi
   8324 done
   8325   done
   8326 IFS=$as_save_IFS
   8327 
   8328 fi
   8329 fi
   8330 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   8331 if test -n "$ac_ct_NMEDIT"; then
   8332   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   8333 printf "%s\n" "$ac_ct_NMEDIT" >&6; }
   8334 else
   8335   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8336 printf "%s\n" "no" >&6; }
   8337 fi
   8338 
   8339   if test "x$ac_ct_NMEDIT" = x; then
   8340     NMEDIT=":"
   8341   else
   8342     case $cross_compiling:$ac_tool_warned in
   8343 yes:)
   8344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8345 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8346 ac_tool_warned=yes ;;
   8347 esac
   8348     NMEDIT=$ac_ct_NMEDIT
   8349   fi
   8350 else
   8351   NMEDIT="$ac_cv_prog_NMEDIT"
   8352 fi
   8353 
   8354     if test -n "$ac_tool_prefix"; then
   8355   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   8356 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   8357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8358 printf %s "checking for $ac_word... " >&6; }
   8359 if test ${ac_cv_prog_LIPO+y}
   8360 then :
   8361   printf %s "(cached) " >&6
   8362 else $as_nop
   8363   if test -n "$LIPO"; then
   8364   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8365 else
   8366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8367 for as_dir in $PATH
   8368 do
   8369   IFS=$as_save_IFS
   8370   case $as_dir in #(((
   8371     '') as_dir=./ ;;
   8372     */) ;;
   8373     *) as_dir=$as_dir/ ;;
   8374   esac
   8375     for ac_exec_ext in '' $ac_executable_extensions; do
   8376   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8377     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   8378     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8379     break 2
   8380   fi
   8381 done
   8382   done
   8383 IFS=$as_save_IFS
   8384 
   8385 fi
   8386 fi
   8387 LIPO=$ac_cv_prog_LIPO
   8388 if test -n "$LIPO"; then
   8389   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8390 printf "%s\n" "$LIPO" >&6; }
   8391 else
   8392   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8393 printf "%s\n" "no" >&6; }
   8394 fi
   8395 
   8396 
   8397 fi
   8398 if test -z "$ac_cv_prog_LIPO"; then
   8399   ac_ct_LIPO=$LIPO
   8400   # Extract the first word of "lipo", so it can be a program name with args.
   8401 set dummy lipo; ac_word=$2
   8402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8403 printf %s "checking for $ac_word... " >&6; }
   8404 if test ${ac_cv_prog_ac_ct_LIPO+y}
   8405 then :
   8406   printf %s "(cached) " >&6
   8407 else $as_nop
   8408   if test -n "$ac_ct_LIPO"; then
   8409   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   8410 else
   8411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8412 for as_dir in $PATH
   8413 do
   8414   IFS=$as_save_IFS
   8415   case $as_dir in #(((
   8416     '') as_dir=./ ;;
   8417     */) ;;
   8418     *) as_dir=$as_dir/ ;;
   8419   esac
   8420     for ac_exec_ext in '' $ac_executable_extensions; do
   8421   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8422     ac_cv_prog_ac_ct_LIPO="lipo"
   8423     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8424     break 2
   8425   fi
   8426 done
   8427   done
   8428 IFS=$as_save_IFS
   8429 
   8430 fi
   8431 fi
   8432 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   8433 if test -n "$ac_ct_LIPO"; then
   8434   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   8435 printf "%s\n" "$ac_ct_LIPO" >&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_LIPO" = x; then
   8442     LIPO=":"
   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     LIPO=$ac_ct_LIPO
   8451   fi
   8452 else
   8453   LIPO="$ac_cv_prog_LIPO"
   8454 fi
   8455 
   8456     if test -n "$ac_tool_prefix"; then
   8457   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   8458 set dummy ${ac_tool_prefix}otool; ac_word=$2
   8459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8460 printf %s "checking for $ac_word... " >&6; }
   8461 if test ${ac_cv_prog_OTOOL+y}
   8462 then :
   8463   printf %s "(cached) " >&6
   8464 else $as_nop
   8465   if test -n "$OTOOL"; then
   8466   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   8467 else
   8468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8469 for as_dir in $PATH
   8470 do
   8471   IFS=$as_save_IFS
   8472   case $as_dir in #(((
   8473     '') as_dir=./ ;;
   8474     */) ;;
   8475     *) as_dir=$as_dir/ ;;
   8476   esac
   8477     for ac_exec_ext in '' $ac_executable_extensions; do
   8478   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8479     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   8480     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8481     break 2
   8482   fi
   8483 done
   8484   done
   8485 IFS=$as_save_IFS
   8486 
   8487 fi
   8488 fi
   8489 OTOOL=$ac_cv_prog_OTOOL
   8490 if test -n "$OTOOL"; then
   8491   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   8492 printf "%s\n" "$OTOOL" >&6; }
   8493 else
   8494   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8495 printf "%s\n" "no" >&6; }
   8496 fi
   8497 
   8498 
   8499 fi
   8500 if test -z "$ac_cv_prog_OTOOL"; then
   8501   ac_ct_OTOOL=$OTOOL
   8502   # Extract the first word of "otool", so it can be a program name with args.
   8503 set dummy otool; ac_word=$2
   8504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8505 printf %s "checking for $ac_word... " >&6; }
   8506 if test ${ac_cv_prog_ac_ct_OTOOL+y}
   8507 then :
   8508   printf %s "(cached) " >&6
   8509 else $as_nop
   8510   if test -n "$ac_ct_OTOOL"; then
   8511   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8512 else
   8513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8514 for as_dir in $PATH
   8515 do
   8516   IFS=$as_save_IFS
   8517   case $as_dir in #(((
   8518     '') as_dir=./ ;;
   8519     */) ;;
   8520     *) as_dir=$as_dir/ ;;
   8521   esac
   8522     for ac_exec_ext in '' $ac_executable_extensions; do
   8523   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8524     ac_cv_prog_ac_ct_OTOOL="otool"
   8525     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8526     break 2
   8527   fi
   8528 done
   8529   done
   8530 IFS=$as_save_IFS
   8531 
   8532 fi
   8533 fi
   8534 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8535 if test -n "$ac_ct_OTOOL"; then
   8536   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8537 printf "%s\n" "$ac_ct_OTOOL" >&6; }
   8538 else
   8539   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8540 printf "%s\n" "no" >&6; }
   8541 fi
   8542 
   8543   if test "x$ac_ct_OTOOL" = x; then
   8544     OTOOL=":"
   8545   else
   8546     case $cross_compiling:$ac_tool_warned in
   8547 yes:)
   8548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8549 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8550 ac_tool_warned=yes ;;
   8551 esac
   8552     OTOOL=$ac_ct_OTOOL
   8553   fi
   8554 else
   8555   OTOOL="$ac_cv_prog_OTOOL"
   8556 fi
   8557 
   8558     if test -n "$ac_tool_prefix"; then
   8559   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8560 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8562 printf %s "checking for $ac_word... " >&6; }
   8563 if test ${ac_cv_prog_OTOOL64+y}
   8564 then :
   8565   printf %s "(cached) " >&6
   8566 else $as_nop
   8567   if test -n "$OTOOL64"; then
   8568   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8569 else
   8570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8571 for as_dir in $PATH
   8572 do
   8573   IFS=$as_save_IFS
   8574   case $as_dir in #(((
   8575     '') as_dir=./ ;;
   8576     */) ;;
   8577     *) as_dir=$as_dir/ ;;
   8578   esac
   8579     for ac_exec_ext in '' $ac_executable_extensions; do
   8580   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8581     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8582     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8583     break 2
   8584   fi
   8585 done
   8586   done
   8587 IFS=$as_save_IFS
   8588 
   8589 fi
   8590 fi
   8591 OTOOL64=$ac_cv_prog_OTOOL64
   8592 if test -n "$OTOOL64"; then
   8593   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8594 printf "%s\n" "$OTOOL64" >&6; }
   8595 else
   8596   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8597 printf "%s\n" "no" >&6; }
   8598 fi
   8599 
   8600 
   8601 fi
   8602 if test -z "$ac_cv_prog_OTOOL64"; then
   8603   ac_ct_OTOOL64=$OTOOL64
   8604   # Extract the first word of "otool64", so it can be a program name with args.
   8605 set dummy otool64; ac_word=$2
   8606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8607 printf %s "checking for $ac_word... " >&6; }
   8608 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
   8609 then :
   8610   printf %s "(cached) " >&6
   8611 else $as_nop
   8612   if test -n "$ac_ct_OTOOL64"; then
   8613   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8614 else
   8615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8616 for as_dir in $PATH
   8617 do
   8618   IFS=$as_save_IFS
   8619   case $as_dir in #(((
   8620     '') as_dir=./ ;;
   8621     */) ;;
   8622     *) as_dir=$as_dir/ ;;
   8623   esac
   8624     for ac_exec_ext in '' $ac_executable_extensions; do
   8625   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   8626     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8627     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   8628     break 2
   8629   fi
   8630 done
   8631   done
   8632 IFS=$as_save_IFS
   8633 
   8634 fi
   8635 fi
   8636 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8637 if test -n "$ac_ct_OTOOL64"; then
   8638   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8639 printf "%s\n" "$ac_ct_OTOOL64" >&6; }
   8640 else
   8641   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8642 printf "%s\n" "no" >&6; }
   8643 fi
   8644 
   8645   if test "x$ac_ct_OTOOL64" = x; then
   8646     OTOOL64=":"
   8647   else
   8648     case $cross_compiling:$ac_tool_warned in
   8649 yes:)
   8650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8651 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8652 ac_tool_warned=yes ;;
   8653 esac
   8654     OTOOL64=$ac_ct_OTOOL64
   8655   fi
   8656 else
   8657   OTOOL64="$ac_cv_prog_OTOOL64"
   8658 fi
   8659 
   8660 
   8661 
   8662 
   8663 
   8664 
   8665 
   8666 
   8667 
   8668 
   8669 
   8670 
   8671 
   8672 
   8673 
   8674 
   8675 
   8676 
   8677 
   8678 
   8679 
   8680 
   8681 
   8682 
   8683 
   8684 
   8685 
   8686     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8687 printf %s "checking for -single_module linker flag... " >&6; }
   8688 if test ${lt_cv_apple_cc_single_mod+y}
   8689 then :
   8690   printf %s "(cached) " >&6
   8691 else $as_nop
   8692   lt_cv_apple_cc_single_mod=no
   8693       if test -z "$LT_MULTI_MODULE"; then
   8694 	# By default we will add the -single_module flag. You can override
   8695 	# by either setting the environment variable LT_MULTI_MODULE
   8696 	# non-empty at configure time, or by adding -multi_module to the
   8697 	# link flags.
   8698 	rm -rf libconftest.dylib*
   8699 	echo "int foo(void){return 1;}" > conftest.c
   8700 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8701 -dynamiclib -Wl,-single_module conftest.c" >&5
   8702 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8703 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8704         _lt_result=$?
   8705 	# If there is a non-empty error log, and "single_module"
   8706 	# appears in it, assume the flag caused a linker warning
   8707         if test -s conftest.err && $GREP single_module conftest.err; then
   8708 	  cat conftest.err >&5
   8709 	# Otherwise, if the output was created with a 0 exit code from
   8710 	# the compiler, it worked.
   8711 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   8712 	  lt_cv_apple_cc_single_mod=yes
   8713 	else
   8714 	  cat conftest.err >&5
   8715 	fi
   8716 	rm -rf libconftest.dylib*
   8717 	rm -f conftest.*
   8718       fi
   8719 fi
   8720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8721 printf "%s\n" "$lt_cv_apple_cc_single_mod" >&6; }
   8722 
   8723     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8724 printf %s "checking for -exported_symbols_list linker flag... " >&6; }
   8725 if test ${lt_cv_ld_exported_symbols_list+y}
   8726 then :
   8727   printf %s "(cached) " >&6
   8728 else $as_nop
   8729   lt_cv_ld_exported_symbols_list=no
   8730       save_LDFLAGS=$LDFLAGS
   8731       echo "_main" > conftest.sym
   8732       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8733       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8734 /* end confdefs.h.  */
   8735 
   8736 int
   8737 main (void)
   8738 {
   8739 
   8740   ;
   8741   return 0;
   8742 }
   8743 _ACEOF
   8744 if ac_fn_c_try_link "$LINENO"
   8745 then :
   8746   lt_cv_ld_exported_symbols_list=yes
   8747 else $as_nop
   8748   lt_cv_ld_exported_symbols_list=no
   8749 fi
   8750 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8751     conftest$ac_exeext conftest.$ac_ext
   8752 	LDFLAGS=$save_LDFLAGS
   8753 
   8754 fi
   8755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8756 printf "%s\n" "$lt_cv_ld_exported_symbols_list" >&6; }
   8757 
   8758     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8759 printf %s "checking for -force_load linker flag... " >&6; }
   8760 if test ${lt_cv_ld_force_load+y}
   8761 then :
   8762   printf %s "(cached) " >&6
   8763 else $as_nop
   8764   lt_cv_ld_force_load=no
   8765       cat > conftest.c << _LT_EOF
   8766 int forced_loaded() { return 2;}
   8767 _LT_EOF
   8768       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8769       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8770       echo "$AR $AR_FLAGS libconftest.a conftest.o" >&5
   8771       $AR $AR_FLAGS libconftest.a conftest.o 2>&5
   8772       echo "$RANLIB libconftest.a" >&5
   8773       $RANLIB libconftest.a 2>&5
   8774       cat > conftest.c << _LT_EOF
   8775 int main() { return 0;}
   8776 _LT_EOF
   8777       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8778       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8779       _lt_result=$?
   8780       if test -s conftest.err && $GREP force_load conftest.err; then
   8781 	cat conftest.err >&5
   8782       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   8783 	lt_cv_ld_force_load=yes
   8784       else
   8785 	cat conftest.err >&5
   8786       fi
   8787         rm -f conftest.err libconftest.a conftest conftest.c
   8788         rm -rf conftest.dSYM
   8789 
   8790 fi
   8791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8792 printf "%s\n" "$lt_cv_ld_force_load" >&6; }
   8793     case $host_os in
   8794     rhapsody* | darwin1.[012])
   8795       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   8796     darwin1.*)
   8797       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8798     darwin*)
   8799       case $MACOSX_DEPLOYMENT_TARGET,$host in
   8800         10.[012],*|,*powerpc*-darwin[5-8]*)
   8801           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   8802         *)
   8803           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   8804       esac
   8805     ;;
   8806   esac
   8807     if test yes = "$lt_cv_apple_cc_single_mod"; then
   8808       _lt_dar_single_mod='$single_module'
   8809     fi
   8810     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   8811       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   8812     else
   8813       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   8814     fi
   8815     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   8816       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8817     else
   8818       _lt_dsymutil=
   8819     fi
   8820     ;;
   8821   esac
   8822 
   8823 # func_munge_path_list VARIABLE PATH
   8824 # -----------------------------------
   8825 # VARIABLE is name of variable containing _space_ separated list of
   8826 # directories to be munged by the contents of PATH, which is string
   8827 # having a format:
   8828 # "DIR[:DIR]:"
   8829 #       string "DIR[ DIR]" will be prepended to VARIABLE
   8830 # ":DIR[:DIR]"
   8831 #       string "DIR[ DIR]" will be appended to VARIABLE
   8832 # "DIRP[:DIRP]::[DIRA:]DIRA"
   8833 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   8834 #       "DIRA[ DIRA]" will be appended to VARIABLE
   8835 # "DIR[:DIR]"
   8836 #       VARIABLE will be replaced by "DIR[ DIR]"
   8837 func_munge_path_list ()
   8838 {
   8839     case x$2 in
   8840     x)
   8841         ;;
   8842     *:)
   8843         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   8844         ;;
   8845     x:*)
   8846         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   8847         ;;
   8848     *::*)
   8849         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   8850         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   8851         ;;
   8852     *)
   8853         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   8854         ;;
   8855     esac
   8856 }
   8857 
   8858 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8859 "
   8860 if test "x$ac_cv_header_dlfcn_h" = xyes
   8861 then :
   8862   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   8863 
   8864 fi
   8865 
   8866 
   8867 
   8868 
   8869 
   8870 # Set options
   8871 
   8872 
   8873 
   8874         enable_dlopen=no
   8875 
   8876 
   8877   enable_win32_dll=no
   8878 
   8879 
   8880             # Check whether --enable-shared was given.
   8881 if test ${enable_shared+y}
   8882 then :
   8883   enableval=$enable_shared; p=${PACKAGE-default}
   8884     case $enableval in
   8885     yes) enable_shared=yes ;;
   8886     no) enable_shared=no ;;
   8887     *)
   8888       enable_shared=no
   8889       # Look at the argument we got.  We use all the common list separators.
   8890       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8891       for pkg in $enableval; do
   8892 	IFS=$lt_save_ifs
   8893 	if test "X$pkg" = "X$p"; then
   8894 	  enable_shared=yes
   8895 	fi
   8896       done
   8897       IFS=$lt_save_ifs
   8898       ;;
   8899     esac
   8900 else $as_nop
   8901   enable_shared=yes
   8902 fi
   8903 
   8904 
   8905 
   8906 
   8907 
   8908 
   8909 
   8910 
   8911 
   8912   # Check whether --enable-static was given.
   8913 if test ${enable_static+y}
   8914 then :
   8915   enableval=$enable_static; p=${PACKAGE-default}
   8916     case $enableval in
   8917     yes) enable_static=yes ;;
   8918     no) enable_static=no ;;
   8919     *)
   8920      enable_static=no
   8921       # Look at the argument we got.  We use all the common list separators.
   8922       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8923       for pkg in $enableval; do
   8924 	IFS=$lt_save_ifs
   8925 	if test "X$pkg" = "X$p"; then
   8926 	  enable_static=yes
   8927 	fi
   8928       done
   8929       IFS=$lt_save_ifs
   8930       ;;
   8931     esac
   8932 else $as_nop
   8933   enable_static=yes
   8934 fi
   8935 
   8936 
   8937 
   8938 
   8939 
   8940 
   8941 
   8942 
   8943 
   8944 
   8945 # Check whether --with-pic was given.
   8946 if test ${with_pic+y}
   8947 then :
   8948   withval=$with_pic; lt_p=${PACKAGE-default}
   8949     case $withval in
   8950     yes|no) pic_mode=$withval ;;
   8951     *)
   8952       pic_mode=default
   8953       # Look at the argument we got.  We use all the common list separators.
   8954       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8955       for lt_pkg in $withval; do
   8956 	IFS=$lt_save_ifs
   8957 	if test "X$lt_pkg" = "X$lt_p"; then
   8958 	  pic_mode=yes
   8959 	fi
   8960       done
   8961       IFS=$lt_save_ifs
   8962       ;;
   8963     esac
   8964 else $as_nop
   8965   pic_mode=default
   8966 fi
   8967 
   8968 
   8969 
   8970 
   8971 
   8972 
   8973 
   8974 
   8975   # Check whether --enable-fast-install was given.
   8976 if test ${enable_fast_install+y}
   8977 then :
   8978   enableval=$enable_fast_install; p=${PACKAGE-default}
   8979     case $enableval in
   8980     yes) enable_fast_install=yes ;;
   8981     no) enable_fast_install=no ;;
   8982     *)
   8983       enable_fast_install=no
   8984       # Look at the argument we got.  We use all the common list separators.
   8985       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8986       for pkg in $enableval; do
   8987 	IFS=$lt_save_ifs
   8988 	if test "X$pkg" = "X$p"; then
   8989 	  enable_fast_install=yes
   8990 	fi
   8991       done
   8992       IFS=$lt_save_ifs
   8993       ;;
   8994     esac
   8995 else $as_nop
   8996   enable_fast_install=yes
   8997 fi
   8998 
   8999 
   9000 
   9001 
   9002 
   9003 
   9004 
   9005 
   9006   shared_archive_member_spec=
   9007 case $host,$enable_shared in
   9008 power*-*-aix[5-9]*,yes)
   9009   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   9010 printf %s "checking which variant of shared library versioning to provide... " >&6; }
   9011 
   9012 # Check whether --with-aix-soname was given.
   9013 if test ${with_aix_soname+y}
   9014 then :
   9015   withval=$with_aix_soname; case $withval in
   9016     aix|svr4|both)
   9017       ;;
   9018     *)
   9019       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   9020       ;;
   9021     esac
   9022     lt_cv_with_aix_soname=$with_aix_soname
   9023 else $as_nop
   9024   if test ${lt_cv_with_aix_soname+y}
   9025 then :
   9026   printf %s "(cached) " >&6
   9027 else $as_nop
   9028   lt_cv_with_aix_soname=aix
   9029 fi
   9030 
   9031     with_aix_soname=$lt_cv_with_aix_soname
   9032 fi
   9033 
   9034   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   9035 printf "%s\n" "$with_aix_soname" >&6; }
   9036   if test aix != "$with_aix_soname"; then
   9037     # For the AIX way of multilib, we name the shared archive member
   9038     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   9039     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   9040     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   9041     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   9042     if test 64 = "${OBJECT_MODE-32}"; then
   9043       shared_archive_member_spec=shr_64
   9044     else
   9045       shared_archive_member_spec=shr
   9046     fi
   9047   fi
   9048   ;;
   9049 *)
   9050   with_aix_soname=aix
   9051   ;;
   9052 esac
   9053 
   9054 
   9055 
   9056 
   9057 
   9058 
   9059 
   9060 
   9061 
   9062 
   9063 # This can be used to rebuild libtool when needed
   9064 LIBTOOL_DEPS=$ltmain
   9065 
   9066 # Always use our own libtool.
   9067 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   9068 
   9069 
   9070 
   9071 
   9072 
   9073 
   9074 
   9075 
   9076 
   9077 
   9078 
   9079 
   9080 
   9081 
   9082 
   9083 
   9084 
   9085 
   9086 
   9087 
   9088 
   9089 
   9090 
   9091 
   9092 
   9093 
   9094 
   9095 
   9096 
   9097 
   9098 test -z "$LN_S" && LN_S="ln -s"
   9099 
   9100 
   9101 
   9102 
   9103 
   9104 
   9105 
   9106 
   9107 
   9108 
   9109 
   9110 
   9111 
   9112 
   9113 if test -n "${ZSH_VERSION+set}"; then
   9114    setopt NO_GLOB_SUBST
   9115 fi
   9116 
   9117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   9118 printf %s "checking for objdir... " >&6; }
   9119 if test ${lt_cv_objdir+y}
   9120 then :
   9121   printf %s "(cached) " >&6
   9122 else $as_nop
   9123   rm -f .libs 2>/dev/null
   9124 mkdir .libs 2>/dev/null
   9125 if test -d .libs; then
   9126   lt_cv_objdir=.libs
   9127 else
   9128   # MS-DOS does not allow filenames that begin with a dot.
   9129   lt_cv_objdir=_libs
   9130 fi
   9131 rmdir .libs 2>/dev/null
   9132 fi
   9133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   9134 printf "%s\n" "$lt_cv_objdir" >&6; }
   9135 objdir=$lt_cv_objdir
   9136 
   9137 
   9138 
   9139 
   9140 
   9141 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
   9142 
   9143 
   9144 
   9145 
   9146 case $host_os in
   9147 aix3*)
   9148   # AIX sometimes has problems with the GCC collect2 program.  For some
   9149   # reason, if we set the COLLECT_NAMES environment variable, the problems
   9150   # vanish in a puff of smoke.
   9151   if test set != "${COLLECT_NAMES+set}"; then
   9152     COLLECT_NAMES=
   9153     export COLLECT_NAMES
   9154   fi
   9155   ;;
   9156 esac
   9157 
   9158 # Global variables:
   9159 ofile=libtool
   9160 can_build_shared=yes
   9161 
   9162 # All known linkers require a '.a' archive for static linking (except MSVC and
   9163 # ICC, which need '.lib').
   9164 libext=a
   9165 
   9166 with_gnu_ld=$lt_cv_prog_gnu_ld
   9167 
   9168 old_CC=$CC
   9169 old_CFLAGS=$CFLAGS
   9170 
   9171 # Set sane defaults for various variables
   9172 test -z "$CC" && CC=cc
   9173 test -z "$LTCC" && LTCC=$CC
   9174 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   9175 test -z "$LD" && LD=ld
   9176 test -z "$ac_objext" && ac_objext=o
   9177 
   9178 func_cc_basename $compiler
   9179 cc_basename=$func_cc_basename_result
   9180 
   9181 
   9182 # Only perform the check for file, if the check method requires it
   9183 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   9184 case $deplibs_check_method in
   9185 file_magic*)
   9186   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   9187     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   9188 printf %s "checking for ${ac_tool_prefix}file... " >&6; }
   9189 if test ${lt_cv_path_MAGIC_CMD+y}
   9190 then :
   9191   printf %s "(cached) " >&6
   9192 else $as_nop
   9193   case $MAGIC_CMD in
   9194 [\\/*] |  ?:[\\/]*)
   9195   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9196   ;;
   9197 *)
   9198   lt_save_MAGIC_CMD=$MAGIC_CMD
   9199   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9200   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9201   for ac_dir in $ac_dummy; do
   9202     IFS=$lt_save_ifs
   9203     test -z "$ac_dir" && ac_dir=.
   9204     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   9205       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   9206       if test -n "$file_magic_test_file"; then
   9207 	case $deplibs_check_method in
   9208 	"file_magic "*)
   9209 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9210 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9211 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9212 	    $EGREP "$file_magic_regex" > /dev/null; then
   9213 	    :
   9214 	  else
   9215 	    cat <<_LT_EOF 1>&2
   9216 
   9217 *** Warning: the command libtool uses to detect shared libraries,
   9218 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9219 *** The result is that libtool may fail to recognize shared libraries
   9220 *** as such.  This will affect the creation of libtool libraries that
   9221 *** depend on shared libraries, but programs linked with such libtool
   9222 *** libraries will work regardless of this problem.  Nevertheless, you
   9223 *** may want to report the problem to your system manager and/or to
   9224 *** bug-libtool@gnu.org
   9225 
   9226 _LT_EOF
   9227 	  fi ;;
   9228 	esac
   9229       fi
   9230       break
   9231     fi
   9232   done
   9233   IFS=$lt_save_ifs
   9234   MAGIC_CMD=$lt_save_MAGIC_CMD
   9235   ;;
   9236 esac
   9237 fi
   9238 
   9239 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9240 if test -n "$MAGIC_CMD"; then
   9241   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9242 printf "%s\n" "$MAGIC_CMD" >&6; }
   9243 else
   9244   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9245 printf "%s\n" "no" >&6; }
   9246 fi
   9247 
   9248 
   9249 
   9250 
   9251 
   9252 if test -z "$lt_cv_path_MAGIC_CMD"; then
   9253   if test -n "$ac_tool_prefix"; then
   9254     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   9255 printf %s "checking for file... " >&6; }
   9256 if test ${lt_cv_path_MAGIC_CMD+y}
   9257 then :
   9258   printf %s "(cached) " >&6
   9259 else $as_nop
   9260   case $MAGIC_CMD in
   9261 [\\/*] |  ?:[\\/]*)
   9262   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   9263   ;;
   9264 *)
   9265   lt_save_MAGIC_CMD=$MAGIC_CMD
   9266   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   9267   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9268   for ac_dir in $ac_dummy; do
   9269     IFS=$lt_save_ifs
   9270     test -z "$ac_dir" && ac_dir=.
   9271     if test -f "$ac_dir/file"; then
   9272       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   9273       if test -n "$file_magic_test_file"; then
   9274 	case $deplibs_check_method in
   9275 	"file_magic "*)
   9276 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9277 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9278 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9279 	    $EGREP "$file_magic_regex" > /dev/null; then
   9280 	    :
   9281 	  else
   9282 	    cat <<_LT_EOF 1>&2
   9283 
   9284 *** Warning: the command libtool uses to detect shared libraries,
   9285 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9286 *** The result is that libtool may fail to recognize shared libraries
   9287 *** as such.  This will affect the creation of libtool libraries that
   9288 *** depend on shared libraries, but programs linked with such libtool
   9289 *** libraries will work regardless of this problem.  Nevertheless, you
   9290 *** may want to report the problem to your system manager and/or to
   9291 *** bug-libtool@gnu.org
   9292 
   9293 _LT_EOF
   9294 	  fi ;;
   9295 	esac
   9296       fi
   9297       break
   9298     fi
   9299   done
   9300   IFS=$lt_save_ifs
   9301   MAGIC_CMD=$lt_save_MAGIC_CMD
   9302   ;;
   9303 esac
   9304 fi
   9305 
   9306 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   9307 if test -n "$MAGIC_CMD"; then
   9308   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9309 printf "%s\n" "$MAGIC_CMD" >&6; }
   9310 else
   9311   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9312 printf "%s\n" "no" >&6; }
   9313 fi
   9314 
   9315 
   9316   else
   9317     MAGIC_CMD=:
   9318   fi
   9319 fi
   9320 
   9321   fi
   9322   ;;
   9323 esac
   9324 
   9325 # Use C for the default configuration in the libtool script
   9326 
   9327 lt_save_CC=$CC
   9328 ac_ext=c
   9329 ac_cpp='$CPP $CPPFLAGS'
   9330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9333 
   9334 
   9335 # Source file extension for C test sources.
   9336 ac_ext=c
   9337 
   9338 # Object file extension for compiled C test sources.
   9339 objext=o
   9340 objext=$objext
   9341 
   9342 # Code to be used in simple compile tests
   9343 lt_simple_compile_test_code="int some_variable = 0;"
   9344 
   9345 # Code to be used in simple link tests
   9346 lt_simple_link_test_code='int main(){return(0);}'
   9347 
   9348 
   9349 
   9350 
   9351 
   9352 
   9353 
   9354 # If no C compiler was specified, use CC.
   9355 LTCC=${LTCC-"$CC"}
   9356 
   9357 # If no C compiler flags were specified, use CFLAGS.
   9358 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   9359 
   9360 # Allow CC to be a program name with arguments.
   9361 compiler=$CC
   9362 
   9363 # Save the default compiler, since it gets overwritten when the other
   9364 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   9365 compiler_DEFAULT=$CC
   9366 
   9367 # save warnings/boilerplate of simple test code
   9368 ac_outfile=conftest.$ac_objext
   9369 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   9370 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9371 _lt_compiler_boilerplate=`cat conftest.err`
   9372 $RM conftest*
   9373 
   9374 ac_outfile=conftest.$ac_objext
   9375 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   9376 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9377 _lt_linker_boilerplate=`cat conftest.err`
   9378 $RM -r conftest*
   9379 
   9380 
   9381 ## CAVEAT EMPTOR:
   9382 ## There is no encapsulation within the following macros, do not change
   9383 ## the running order or otherwise move them around unless you know exactly
   9384 ## what you are doing...
   9385 if test -n "$compiler"; then
   9386 
   9387 lt_prog_compiler_no_builtin_flag=
   9388 
   9389 if test yes = "$GCC"; then
   9390   case $cc_basename in
   9391   nvcc*)
   9392     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   9393   *)
   9394     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   9395   esac
   9396 
   9397   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   9398 printf %s "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   9399 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
   9400 then :
   9401   printf %s "(cached) " >&6
   9402 else $as_nop
   9403   lt_cv_prog_compiler_rtti_exceptions=no
   9404    ac_outfile=conftest.$ac_objext
   9405    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9406    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   9407    # Insert the option either (1) after the last *FLAGS variable, or
   9408    # (2) before a word containing "conftest.", or (3) at the end.
   9409    # Note that $ac_compile itself does not contain backslashes and begins
   9410    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9411    # The option is referenced via a variable to avoid confusing sed.
   9412    lt_compile=`echo "$ac_compile" | $SED \
   9413    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9414    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9415    -e 's:$: $lt_compiler_flag:'`
   9416    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9417    (eval "$lt_compile" 2>conftest.err)
   9418    ac_status=$?
   9419    cat conftest.err >&5
   9420    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9421    if (exit $ac_status) && test -s "$ac_outfile"; then
   9422      # The compiler can only warn and ignore the option if not recognized
   9423      # So say no if there are warnings other than the usual output.
   9424      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9425      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9426      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9427        lt_cv_prog_compiler_rtti_exceptions=yes
   9428      fi
   9429    fi
   9430    $RM conftest*
   9431 
   9432 fi
   9433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   9434 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   9435 
   9436 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   9437     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   9438 else
   9439     :
   9440 fi
   9441 
   9442 fi
   9443 
   9444 
   9445 
   9446 
   9447 
   9448 
   9449   lt_prog_compiler_wl=
   9450 lt_prog_compiler_pic=
   9451 lt_prog_compiler_static=
   9452 
   9453 
   9454   if test yes = "$GCC"; then
   9455     lt_prog_compiler_wl='-Wl,'
   9456     lt_prog_compiler_static='-static'
   9457 
   9458     case $host_os in
   9459       aix*)
   9460       # All AIX code is PIC.
   9461       if test ia64 = "$host_cpu"; then
   9462 	# AIX 5 now supports IA64 processor
   9463 	lt_prog_compiler_static='-Bstatic'
   9464       fi
   9465       lt_prog_compiler_pic='-fPIC'
   9466       ;;
   9467 
   9468     amigaos*)
   9469       case $host_cpu in
   9470       powerpc)
   9471             # see comment about AmigaOS4 .so support
   9472             lt_prog_compiler_pic='-fPIC'
   9473         ;;
   9474       m68k)
   9475             # FIXME: we need at least 68020 code to build shared libraries, but
   9476             # adding the '-m68020' flag to GCC prevents building anything better,
   9477             # like '-m68040'.
   9478             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9479         ;;
   9480       esac
   9481       ;;
   9482 
   9483     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9484       # PIC is the default for these OSes.
   9485       ;;
   9486 
   9487     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9488       # This hack is so that the source file can tell whether it is being
   9489       # built for inclusion in a dll (and should export symbols for example).
   9490       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9491       # (--disable-auto-import) libraries
   9492       lt_prog_compiler_pic='-DDLL_EXPORT'
   9493       case $host_os in
   9494       os2*)
   9495 	lt_prog_compiler_static='$wl-static'
   9496 	;;
   9497       esac
   9498       ;;
   9499 
   9500     darwin* | rhapsody*)
   9501       # PIC is the default on this platform
   9502       # Common symbols not allowed in MH_DYLIB files
   9503       lt_prog_compiler_pic='-fno-common'
   9504       ;;
   9505 
   9506     haiku*)
   9507       # PIC is the default for Haiku.
   9508       # The "-static" flag exists, but is broken.
   9509       lt_prog_compiler_static=
   9510       ;;
   9511 
   9512     hpux*)
   9513       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9514       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9515       # sets the default TLS model and affects inlining.
   9516       case $host_cpu in
   9517       hppa*64*)
   9518 	# +Z the default
   9519 	;;
   9520       *)
   9521 	lt_prog_compiler_pic='-fPIC'
   9522 	;;
   9523       esac
   9524       ;;
   9525 
   9526     interix[3-9]*)
   9527       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9528       # Instead, we relocate shared libraries at runtime.
   9529       ;;
   9530 
   9531     msdosdjgpp*)
   9532       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9533       # on systems that don't support them.
   9534       lt_prog_compiler_can_build_shared=no
   9535       enable_shared=no
   9536       ;;
   9537 
   9538     *nto* | *qnx*)
   9539       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9540       # it will coredump.
   9541       lt_prog_compiler_pic='-fPIC -shared'
   9542       ;;
   9543 
   9544     sysv4*MP*)
   9545       if test -d /usr/nec; then
   9546 	lt_prog_compiler_pic=-Kconform_pic
   9547       fi
   9548       ;;
   9549 
   9550     *)
   9551       lt_prog_compiler_pic='-fPIC'
   9552       ;;
   9553     esac
   9554 
   9555     case $cc_basename in
   9556     nvcc*) # Cuda Compiler Driver 2.2
   9557       lt_prog_compiler_wl='-Xlinker '
   9558       if test -n "$lt_prog_compiler_pic"; then
   9559         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   9560       fi
   9561       ;;
   9562     esac
   9563   else
   9564     # PORTME Check for flag to pass linker flags through the system compiler.
   9565     case $host_os in
   9566     aix*)
   9567       lt_prog_compiler_wl='-Wl,'
   9568       if test ia64 = "$host_cpu"; then
   9569 	# AIX 5 now supports IA64 processor
   9570 	lt_prog_compiler_static='-Bstatic'
   9571       else
   9572 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9573       fi
   9574       ;;
   9575 
   9576     darwin* | rhapsody*)
   9577       # PIC is the default on this platform
   9578       # Common symbols not allowed in MH_DYLIB files
   9579       lt_prog_compiler_pic='-fno-common'
   9580       case $cc_basename in
   9581       nagfor*)
   9582         # NAG Fortran compiler
   9583         lt_prog_compiler_wl='-Wl,-Wl,,'
   9584         lt_prog_compiler_pic='-PIC'
   9585         lt_prog_compiler_static='-Bstatic'
   9586         ;;
   9587       esac
   9588       ;;
   9589 
   9590     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9591       # This hack is so that the source file can tell whether it is being
   9592       # built for inclusion in a dll (and should export symbols for example).
   9593       lt_prog_compiler_pic='-DDLL_EXPORT'
   9594       case $host_os in
   9595       os2*)
   9596 	lt_prog_compiler_static='$wl-static'
   9597 	;;
   9598       esac
   9599       ;;
   9600 
   9601     hpux9* | hpux10* | hpux11*)
   9602       lt_prog_compiler_wl='-Wl,'
   9603       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9604       # not for PA HP-UX.
   9605       case $host_cpu in
   9606       hppa*64*|ia64*)
   9607 	# +Z the default
   9608 	;;
   9609       *)
   9610 	lt_prog_compiler_pic='+Z'
   9611 	;;
   9612       esac
   9613       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9614       lt_prog_compiler_static='$wl-a ${wl}archive'
   9615       ;;
   9616 
   9617     irix5* | irix6* | nonstopux*)
   9618       lt_prog_compiler_wl='-Wl,'
   9619       # PIC (with -KPIC) is the default.
   9620       lt_prog_compiler_static='-non_shared'
   9621       ;;
   9622 
   9623     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   9624       case $cc_basename in
   9625       # old Intel for x86_64, which still supported -KPIC.
   9626       ecc*)
   9627 	lt_prog_compiler_wl='-Wl,'
   9628 	lt_prog_compiler_pic='-KPIC'
   9629 	lt_prog_compiler_static='-static'
   9630         ;;
   9631       # icc used to be incompatible with GCC.
   9632       # ICC 10 doesn't accept -KPIC any more.
   9633       icc* | ifort*)
   9634 	lt_prog_compiler_wl='-Wl,'
   9635 	lt_prog_compiler_pic='-fPIC'
   9636 	lt_prog_compiler_static='-static'
   9637         ;;
   9638       # Lahey Fortran 8.1.
   9639       lf95*)
   9640 	lt_prog_compiler_wl='-Wl,'
   9641 	lt_prog_compiler_pic='--shared'
   9642 	lt_prog_compiler_static='--static'
   9643 	;;
   9644       nagfor*)
   9645 	# NAG Fortran compiler
   9646 	lt_prog_compiler_wl='-Wl,-Wl,,'
   9647 	lt_prog_compiler_pic='-PIC'
   9648 	lt_prog_compiler_static='-Bstatic'
   9649 	;;
   9650       tcc*)
   9651 	# Fabrice Bellard et al's Tiny C Compiler
   9652 	lt_prog_compiler_wl='-Wl,'
   9653 	lt_prog_compiler_pic='-fPIC'
   9654 	lt_prog_compiler_static='-static'
   9655 	;;
   9656       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9657         # Portland Group compilers (*not* the Pentium gcc compiler,
   9658 	# which looks to be a dead project)
   9659 	lt_prog_compiler_wl='-Wl,'
   9660 	lt_prog_compiler_pic='-fpic'
   9661 	lt_prog_compiler_static='-Bstatic'
   9662         ;;
   9663       ccc*)
   9664         lt_prog_compiler_wl='-Wl,'
   9665         # All Alpha code is PIC.
   9666         lt_prog_compiler_static='-non_shared'
   9667         ;;
   9668       xl* | bgxl* | bgf* | mpixl*)
   9669 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9670 	lt_prog_compiler_wl='-Wl,'
   9671 	lt_prog_compiler_pic='-qpic'
   9672 	lt_prog_compiler_static='-qstaticlink'
   9673 	;;
   9674       *)
   9675 	case `$CC -V 2>&1 | $SED 5q` in
   9676 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   9677 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9678 	  lt_prog_compiler_pic='-KPIC'
   9679 	  lt_prog_compiler_static='-Bstatic'
   9680 	  lt_prog_compiler_wl=''
   9681 	  ;;
   9682 	*Sun\ F* | *Sun*Fortran*)
   9683 	  lt_prog_compiler_pic='-KPIC'
   9684 	  lt_prog_compiler_static='-Bstatic'
   9685 	  lt_prog_compiler_wl='-Qoption ld '
   9686 	  ;;
   9687 	*Sun\ C*)
   9688 	  # Sun C 5.9
   9689 	  lt_prog_compiler_pic='-KPIC'
   9690 	  lt_prog_compiler_static='-Bstatic'
   9691 	  lt_prog_compiler_wl='-Wl,'
   9692 	  ;;
   9693         *Intel*\ [CF]*Compiler*)
   9694 	  lt_prog_compiler_wl='-Wl,'
   9695 	  lt_prog_compiler_pic='-fPIC'
   9696 	  lt_prog_compiler_static='-static'
   9697 	  ;;
   9698 	*Portland\ Group*)
   9699 	  lt_prog_compiler_wl='-Wl,'
   9700 	  lt_prog_compiler_pic='-fpic'
   9701 	  lt_prog_compiler_static='-Bstatic'
   9702 	  ;;
   9703 	esac
   9704 	;;
   9705       esac
   9706       ;;
   9707 
   9708     newsos6)
   9709       lt_prog_compiler_pic='-KPIC'
   9710       lt_prog_compiler_static='-Bstatic'
   9711       ;;
   9712 
   9713     *nto* | *qnx*)
   9714       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9715       # it will coredump.
   9716       lt_prog_compiler_pic='-fPIC -shared'
   9717       ;;
   9718 
   9719     osf3* | osf4* | osf5*)
   9720       lt_prog_compiler_wl='-Wl,'
   9721       # All OSF/1 code is PIC.
   9722       lt_prog_compiler_static='-non_shared'
   9723       ;;
   9724 
   9725     rdos*)
   9726       lt_prog_compiler_static='-non_shared'
   9727       ;;
   9728 
   9729     solaris*)
   9730       lt_prog_compiler_pic='-KPIC'
   9731       lt_prog_compiler_static='-Bstatic'
   9732       case $cc_basename in
   9733       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   9734 	lt_prog_compiler_wl='-Qoption ld ';;
   9735       *)
   9736 	lt_prog_compiler_wl='-Wl,';;
   9737       esac
   9738       ;;
   9739 
   9740     sunos4*)
   9741       lt_prog_compiler_wl='-Qoption ld '
   9742       lt_prog_compiler_pic='-PIC'
   9743       lt_prog_compiler_static='-Bstatic'
   9744       ;;
   9745 
   9746     sysv4 | sysv4.2uw2* | sysv4.3*)
   9747       lt_prog_compiler_wl='-Wl,'
   9748       lt_prog_compiler_pic='-KPIC'
   9749       lt_prog_compiler_static='-Bstatic'
   9750       ;;
   9751 
   9752     sysv4*MP*)
   9753       if test -d /usr/nec; then
   9754 	lt_prog_compiler_pic='-Kconform_pic'
   9755 	lt_prog_compiler_static='-Bstatic'
   9756       fi
   9757       ;;
   9758 
   9759     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9760       lt_prog_compiler_wl='-Wl,'
   9761       lt_prog_compiler_pic='-KPIC'
   9762       lt_prog_compiler_static='-Bstatic'
   9763       ;;
   9764 
   9765     unicos*)
   9766       lt_prog_compiler_wl='-Wl,'
   9767       lt_prog_compiler_can_build_shared=no
   9768       ;;
   9769 
   9770     uts4*)
   9771       lt_prog_compiler_pic='-pic'
   9772       lt_prog_compiler_static='-Bstatic'
   9773       ;;
   9774 
   9775     *)
   9776       lt_prog_compiler_can_build_shared=no
   9777       ;;
   9778     esac
   9779   fi
   9780 
   9781 case $host_os in
   9782   # For platforms that do not support PIC, -DPIC is meaningless:
   9783   *djgpp*)
   9784     lt_prog_compiler_pic=
   9785     ;;
   9786   *)
   9787     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9788     ;;
   9789 esac
   9790 
   9791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9792 printf %s "checking for $compiler option to produce PIC... " >&6; }
   9793 if test ${lt_cv_prog_compiler_pic+y}
   9794 then :
   9795   printf %s "(cached) " >&6
   9796 else $as_nop
   9797   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   9798 fi
   9799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   9800 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
   9801 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   9802 
   9803 #
   9804 # Check to make sure the PIC flag actually works.
   9805 #
   9806 if test -n "$lt_prog_compiler_pic"; then
   9807   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9808 printf %s "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9809 if test ${lt_cv_prog_compiler_pic_works+y}
   9810 then :
   9811   printf %s "(cached) " >&6
   9812 else $as_nop
   9813   lt_cv_prog_compiler_pic_works=no
   9814    ac_outfile=conftest.$ac_objext
   9815    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9816    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   9817    # Insert the option either (1) after the last *FLAGS variable, or
   9818    # (2) before a word containing "conftest.", or (3) at the end.
   9819    # Note that $ac_compile itself does not contain backslashes and begins
   9820    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9821    # The option is referenced via a variable to avoid confusing sed.
   9822    lt_compile=`echo "$ac_compile" | $SED \
   9823    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9824    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9825    -e 's:$: $lt_compiler_flag:'`
   9826    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9827    (eval "$lt_compile" 2>conftest.err)
   9828    ac_status=$?
   9829    cat conftest.err >&5
   9830    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9831    if (exit $ac_status) && test -s "$ac_outfile"; then
   9832      # The compiler can only warn and ignore the option if not recognized
   9833      # So say no if there are warnings other than the usual output.
   9834      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9835      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9836      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9837        lt_cv_prog_compiler_pic_works=yes
   9838      fi
   9839    fi
   9840    $RM conftest*
   9841 
   9842 fi
   9843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9844 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
   9845 
   9846 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   9847     case $lt_prog_compiler_pic in
   9848      "" | " "*) ;;
   9849      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9850      esac
   9851 else
   9852     lt_prog_compiler_pic=
   9853      lt_prog_compiler_can_build_shared=no
   9854 fi
   9855 
   9856 fi
   9857 
   9858 
   9859 
   9860 
   9861 
   9862 
   9863 
   9864 
   9865 
   9866 
   9867 
   9868 #
   9869 # Check to make sure the static flag actually works.
   9870 #
   9871 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9873 printf %s "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9874 if test ${lt_cv_prog_compiler_static_works+y}
   9875 then :
   9876   printf %s "(cached) " >&6
   9877 else $as_nop
   9878   lt_cv_prog_compiler_static_works=no
   9879    save_LDFLAGS=$LDFLAGS
   9880    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9881    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9882    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9883      # The linker can only warn and ignore the option if not recognized
   9884      # So say no if there are warnings
   9885      if test -s conftest.err; then
   9886        # Append any errors to the config.log.
   9887        cat conftest.err 1>&5
   9888        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9889        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9890        if diff conftest.exp conftest.er2 >/dev/null; then
   9891          lt_cv_prog_compiler_static_works=yes
   9892        fi
   9893      else
   9894        lt_cv_prog_compiler_static_works=yes
   9895      fi
   9896    fi
   9897    $RM -r conftest*
   9898    LDFLAGS=$save_LDFLAGS
   9899 
   9900 fi
   9901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9902 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
   9903 
   9904 if test yes = "$lt_cv_prog_compiler_static_works"; then
   9905     :
   9906 else
   9907     lt_prog_compiler_static=
   9908 fi
   9909 
   9910 
   9911 
   9912 
   9913 
   9914 
   9915 
   9916   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9917 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9918 if test ${lt_cv_prog_compiler_c_o+y}
   9919 then :
   9920   printf %s "(cached) " >&6
   9921 else $as_nop
   9922   lt_cv_prog_compiler_c_o=no
   9923    $RM -r conftest 2>/dev/null
   9924    mkdir conftest
   9925    cd conftest
   9926    mkdir out
   9927    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9928 
   9929    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9930    # Insert the option either (1) after the last *FLAGS variable, or
   9931    # (2) before a word containing "conftest.", or (3) at the end.
   9932    # Note that $ac_compile itself does not contain backslashes and begins
   9933    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9934    lt_compile=`echo "$ac_compile" | $SED \
   9935    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9936    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9937    -e 's:$: $lt_compiler_flag:'`
   9938    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9939    (eval "$lt_compile" 2>out/conftest.err)
   9940    ac_status=$?
   9941    cat out/conftest.err >&5
   9942    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9943    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9944    then
   9945      # The compiler can only warn and ignore the option if not recognized
   9946      # So say no if there are warnings
   9947      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9948      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9949      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9950        lt_cv_prog_compiler_c_o=yes
   9951      fi
   9952    fi
   9953    chmod u+w . 2>&5
   9954    $RM conftest*
   9955    # SGI C++ compiler will create directory out/ii_files/ for
   9956    # template instantiation
   9957    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9958    $RM out/* && rmdir out
   9959    cd ..
   9960    $RM -r conftest
   9961    $RM conftest*
   9962 
   9963 fi
   9964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9965 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   9966 
   9967 
   9968 
   9969 
   9970 
   9971 
   9972   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9973 printf %s "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9974 if test ${lt_cv_prog_compiler_c_o+y}
   9975 then :
   9976   printf %s "(cached) " >&6
   9977 else $as_nop
   9978   lt_cv_prog_compiler_c_o=no
   9979    $RM -r conftest 2>/dev/null
   9980    mkdir conftest
   9981    cd conftest
   9982    mkdir out
   9983    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9984 
   9985    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9986    # Insert the option either (1) after the last *FLAGS variable, or
   9987    # (2) before a word containing "conftest.", or (3) at the end.
   9988    # Note that $ac_compile itself does not contain backslashes and begins
   9989    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9990    lt_compile=`echo "$ac_compile" | $SED \
   9991    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9992    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9993    -e 's:$: $lt_compiler_flag:'`
   9994    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9995    (eval "$lt_compile" 2>out/conftest.err)
   9996    ac_status=$?
   9997    cat out/conftest.err >&5
   9998    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9999    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   10000    then
   10001      # The compiler can only warn and ignore the option if not recognized
   10002      # So say no if there are warnings
   10003      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   10004      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   10005      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   10006        lt_cv_prog_compiler_c_o=yes
   10007      fi
   10008    fi
   10009    chmod u+w . 2>&5
   10010    $RM conftest*
   10011    # SGI C++ compiler will create directory out/ii_files/ for
   10012    # template instantiation
   10013    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   10014    $RM out/* && rmdir out
   10015    cd ..
   10016    $RM -r conftest
   10017    $RM conftest*
   10018 
   10019 fi
   10020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   10021 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
   10022 
   10023 
   10024 
   10025 
   10026 hard_links=nottested
   10027 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   10028   # do not overwrite the value of need_locks provided by the user
   10029   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   10030 printf %s "checking if we can lock with hard links... " >&6; }
   10031   hard_links=yes
   10032   $RM conftest*
   10033   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   10034   touch conftest.a
   10035   ln conftest.a conftest.b 2>&5 || hard_links=no
   10036   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   10037   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   10038 printf "%s\n" "$hard_links" >&6; }
   10039   if test no = "$hard_links"; then
   10040     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   10041 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   10042     need_locks=warn
   10043   fi
   10044 else
   10045   need_locks=no
   10046 fi
   10047 
   10048 
   10049 
   10050 
   10051 
   10052 
   10053   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   10054 printf %s "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   10055 
   10056   runpath_var=
   10057   allow_undefined_flag=
   10058   always_export_symbols=no
   10059   archive_cmds=
   10060   archive_expsym_cmds=
   10061   compiler_needs_object=no
   10062   enable_shared_with_static_runtimes=no
   10063   export_dynamic_flag_spec=
   10064   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   10065   hardcode_automatic=no
   10066   hardcode_direct=no
   10067   hardcode_direct_absolute=no
   10068   hardcode_libdir_flag_spec=
   10069   hardcode_libdir_separator=
   10070   hardcode_minus_L=no
   10071   hardcode_shlibpath_var=unsupported
   10072   inherit_rpath=no
   10073   link_all_deplibs=unknown
   10074   module_cmds=
   10075   module_expsym_cmds=
   10076   old_archive_from_new_cmds=
   10077   old_archive_from_expsyms_cmds=
   10078   thread_safe_flag_spec=
   10079   whole_archive_flag_spec=
   10080   # include_expsyms should be a list of space-separated symbols to be *always*
   10081   # included in the symbol list
   10082   include_expsyms=
   10083   # exclude_expsyms can be an extended regexp of symbols to exclude
   10084   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   10085   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   10086   # as well as any symbol that contains 'd'.
   10087   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   10088   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   10089   # platforms (ab)use it in PIC code, but their linkers get confused if
   10090   # the symbol is explicitly referenced.  Since portable code cannot
   10091   # rely on this symbol name, it's probably fine to never include it in
   10092   # preloaded symbol tables.
   10093   # Exclude shared library initialization/finalization symbols.
   10094   extract_expsyms_cmds=
   10095 
   10096   case $host_os in
   10097   cygwin* | mingw* | pw32* | cegcc*)
   10098     # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
   10099     # When not using gcc, we currently assume that we are using
   10100     # Microsoft Visual C++ or Intel C++ Compiler.
   10101     if test yes != "$GCC"; then
   10102       with_gnu_ld=no
   10103     fi
   10104     ;;
   10105   interix*)
   10106     # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
   10107     with_gnu_ld=yes
   10108     ;;
   10109   openbsd* | bitrig*)
   10110     with_gnu_ld=no
   10111     ;;
   10112   esac
   10113 
   10114   ld_shlibs=yes
   10115 
   10116   # On some targets, GNU ld is compatible enough with the native linker
   10117   # that we're better off using the native interface for both.
   10118   lt_use_gnu_ld_interface=no
   10119   if test yes = "$with_gnu_ld"; then
   10120     case $host_os in
   10121       aix*)
   10122 	# The AIX port of GNU ld has always aspired to compatibility
   10123 	# with the native linker.  However, as the warning in the GNU ld
   10124 	# block says, versions before 2.19.5* couldn't really create working
   10125 	# shared libraries, regardless of the interface used.
   10126 	case `$LD -v 2>&1` in
   10127 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   10128 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   10129 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   10130 	  *)
   10131 	    lt_use_gnu_ld_interface=yes
   10132 	    ;;
   10133 	esac
   10134 	;;
   10135       *)
   10136 	lt_use_gnu_ld_interface=yes
   10137 	;;
   10138     esac
   10139   fi
   10140 
   10141   if test yes = "$lt_use_gnu_ld_interface"; then
   10142     # If archive_cmds runs LD, not CC, wlarc should be empty
   10143     wlarc='$wl'
   10144 
   10145     # Set some defaults for GNU ld with shared library support. These
   10146     # are reset later if shared libraries are not supported. Putting them
   10147     # here allows them to be overridden if necessary.
   10148     runpath_var=LD_RUN_PATH
   10149     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10150     export_dynamic_flag_spec='$wl--export-dynamic'
   10151     # ancient GNU ld didn't support --whole-archive et. al.
   10152     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   10153       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   10154     else
   10155       whole_archive_flag_spec=
   10156     fi
   10157     supports_anon_versioning=no
   10158     case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
   10159       *GNU\ gold*) supports_anon_versioning=yes ;;
   10160       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   10161       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   10162       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   10163       *\ 2.11.*) ;; # other 2.11 versions
   10164       *) supports_anon_versioning=yes ;;
   10165     esac
   10166 
   10167     # See if GNU ld supports shared libraries.
   10168     case $host_os in
   10169     aix[3-9]*)
   10170       # On AIX/PPC, the GNU linker is very broken
   10171       if test ia64 != "$host_cpu"; then
   10172 	ld_shlibs=no
   10173 	cat <<_LT_EOF 1>&2
   10174 
   10175 *** Warning: the GNU linker, at least up to release 2.19, is reported
   10176 *** to be unable to reliably create shared libraries on AIX.
   10177 *** Therefore, libtool is disabling shared libraries support.  If you
   10178 *** really care for shared libraries, you may want to install binutils
   10179 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   10180 *** You will then need to restart the configuration process.
   10181 
   10182 _LT_EOF
   10183       fi
   10184       ;;
   10185 
   10186     amigaos*)
   10187       case $host_cpu in
   10188       powerpc)
   10189             # see comment about AmigaOS4 .so support
   10190             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10191             archive_expsym_cmds=''
   10192         ;;
   10193       m68k)
   10194             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)'
   10195             hardcode_libdir_flag_spec='-L$libdir'
   10196             hardcode_minus_L=yes
   10197         ;;
   10198       esac
   10199       ;;
   10200 
   10201     beos*)
   10202       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10203 	allow_undefined_flag=unsupported
   10204 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   10205 	# support --undefined.  This deserves some investigation.  FIXME
   10206 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10207       else
   10208 	ld_shlibs=no
   10209       fi
   10210       ;;
   10211 
   10212     cygwin* | mingw* | pw32* | cegcc*)
   10213       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   10214       # as there is no search path for DLLs.
   10215       hardcode_libdir_flag_spec='-L$libdir'
   10216       export_dynamic_flag_spec='$wl--export-all-symbols'
   10217       allow_undefined_flag=unsupported
   10218       always_export_symbols=no
   10219       enable_shared_with_static_runtimes=yes
   10220       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'
   10221       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   10222 
   10223       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   10224         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10225 	# If the export-symbols file already is a .def file, use it as
   10226 	# is; otherwise, prepend EXPORTS...
   10227 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10228           cp $export_symbols $output_objdir/$soname.def;
   10229         else
   10230           echo EXPORTS > $output_objdir/$soname.def;
   10231           cat $export_symbols >> $output_objdir/$soname.def;
   10232         fi~
   10233         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10234       else
   10235 	ld_shlibs=no
   10236       fi
   10237       ;;
   10238 
   10239     haiku*)
   10240       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10241       link_all_deplibs=yes
   10242       ;;
   10243 
   10244     os2*)
   10245       hardcode_libdir_flag_spec='-L$libdir'
   10246       hardcode_minus_L=yes
   10247       allow_undefined_flag=unsupported
   10248       shrext_cmds=.dll
   10249       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10250 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10251 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10252 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10253 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10254 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10255 	emximp -o $lib $output_objdir/$libname.def'
   10256       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10257 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10258 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10259 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10260 	prefix_cmds="$SED"~
   10261 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10262 	  prefix_cmds="$prefix_cmds -e 1d";
   10263 	fi~
   10264 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10265 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10266 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10267 	emximp -o $lib $output_objdir/$libname.def'
   10268       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10269       enable_shared_with_static_runtimes=yes
   10270       file_list_spec='@'
   10271       ;;
   10272 
   10273     interix[3-9]*)
   10274       hardcode_direct=no
   10275       hardcode_shlibpath_var=no
   10276       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10277       export_dynamic_flag_spec='$wl-E'
   10278       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   10279       # Instead, shared libraries are loaded at an image base (0x10000000 by
   10280       # default) and relocated if they conflict, which is a slow very memory
   10281       # consuming and fragmenting process.  To avoid this, we pick a random,
   10282       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   10283       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   10284       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   10285       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'
   10286       ;;
   10287 
   10288     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   10289       tmp_diet=no
   10290       if test linux-dietlibc = "$host_os"; then
   10291 	case $cc_basename in
   10292 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   10293 	esac
   10294       fi
   10295       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   10296 	 && test no = "$tmp_diet"
   10297       then
   10298 	tmp_addflag=' $pic_flag'
   10299 	tmp_sharedflag='-shared'
   10300 	case $cc_basename,$host_cpu in
   10301         pgcc*)				# Portland Group C compiler
   10302 	  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'
   10303 	  tmp_addflag=' $pic_flag'
   10304 	  ;;
   10305 	pgf77* | pgf90* | pgf95* | pgfortran*)
   10306 					# Portland Group f77 and f90 compilers
   10307 	  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'
   10308 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   10309 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   10310 	  tmp_addflag=' -i_dynamic' ;;
   10311 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   10312 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   10313 	ifc* | ifort*)			# Intel Fortran compiler
   10314 	  tmp_addflag=' -nofor_main' ;;
   10315 	lf95*)				# Lahey Fortran 8.1
   10316 	  whole_archive_flag_spec=
   10317 	  tmp_sharedflag='--shared' ;;
   10318         nagfor*)                        # NAGFOR 5.3
   10319           tmp_sharedflag='-Wl,-shared' ;;
   10320 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   10321 	  tmp_sharedflag='-qmkshrobj'
   10322 	  tmp_addflag= ;;
   10323 	nvcc*)	# Cuda Compiler Driver 2.2
   10324 	  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'
   10325 	  compiler_needs_object=yes
   10326 	  ;;
   10327 	esac
   10328 	case `$CC -V 2>&1 | $SED 5q` in
   10329 	*Sun\ C*)			# Sun C 5.9
   10330 	  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'
   10331 	  compiler_needs_object=yes
   10332 	  tmp_sharedflag='-G' ;;
   10333 	*Sun\ F*)			# Sun Fortran 8.3
   10334 	  tmp_sharedflag='-G' ;;
   10335 	esac
   10336 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10337 
   10338         if test yes = "$supports_anon_versioning"; then
   10339           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10340             cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10341             echo "local: *; };" >> $output_objdir/$libname.ver~
   10342             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   10343         fi
   10344 
   10345 	case $cc_basename in
   10346 	tcc*)
   10347 	  export_dynamic_flag_spec='-rdynamic'
   10348 	  ;;
   10349 	xlf* | bgf* | bgxlf* | mpixlf*)
   10350 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   10351 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   10352 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10353 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   10354 	  if test yes = "$supports_anon_versioning"; then
   10355 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10356               cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10357               echo "local: *; };" >> $output_objdir/$libname.ver~
   10358               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   10359 	  fi
   10360 	  ;;
   10361 	esac
   10362       else
   10363         ld_shlibs=no
   10364       fi
   10365       ;;
   10366 
   10367     netbsd*)
   10368       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10369 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   10370 	wlarc=
   10371       else
   10372 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10373 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10374       fi
   10375       ;;
   10376 
   10377     solaris*)
   10378       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   10379 	ld_shlibs=no
   10380 	cat <<_LT_EOF 1>&2
   10381 
   10382 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   10383 *** create shared libraries on Solaris systems.  Therefore, libtool
   10384 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10385 *** binutils to release 2.9.1 or newer.  Another option is to modify
   10386 *** your PATH or compiler configuration so that the native linker is
   10387 *** used, and then restart.
   10388 
   10389 _LT_EOF
   10390       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10391 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10392 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10393       else
   10394 	ld_shlibs=no
   10395       fi
   10396       ;;
   10397 
   10398     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   10399       case `$LD -v 2>&1` in
   10400         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   10401 	ld_shlibs=no
   10402 	cat <<_LT_EOF 1>&2
   10403 
   10404 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   10405 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   10406 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10407 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   10408 *** your PATH or compiler configuration so that the native linker is
   10409 *** used, and then restart.
   10410 
   10411 _LT_EOF
   10412 	;;
   10413 	*)
   10414 	  # For security reasons, it is highly recommended that you always
   10415 	  # use absolute paths for naming shared libraries, and exclude the
   10416 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   10417 	  # requires that you compile everything twice, which is a pain.
   10418 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10419 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10420 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10421 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10422 	  else
   10423 	    ld_shlibs=no
   10424 	  fi
   10425 	;;
   10426       esac
   10427       ;;
   10428 
   10429     sunos4*)
   10430       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10431       wlarc=
   10432       hardcode_direct=yes
   10433       hardcode_shlibpath_var=no
   10434       ;;
   10435 
   10436     *)
   10437       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10438 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10439 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   10440       else
   10441 	ld_shlibs=no
   10442       fi
   10443       ;;
   10444     esac
   10445 
   10446     if test no = "$ld_shlibs"; then
   10447       runpath_var=
   10448       hardcode_libdir_flag_spec=
   10449       export_dynamic_flag_spec=
   10450       whole_archive_flag_spec=
   10451     fi
   10452   else
   10453     # PORTME fill in a description of your system's linker (not GNU ld)
   10454     case $host_os in
   10455     aix3*)
   10456       allow_undefined_flag=unsupported
   10457       always_export_symbols=yes
   10458       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'
   10459       # Note: this linker hardcodes the directories in LIBPATH if there
   10460       # are no directories specified by -L.
   10461       hardcode_minus_L=yes
   10462       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   10463 	# Neither direct hardcoding nor static linking is supported with a
   10464 	# broken collect2.
   10465 	hardcode_direct=unsupported
   10466       fi
   10467       ;;
   10468 
   10469     aix[4-9]*)
   10470       if test ia64 = "$host_cpu"; then
   10471 	# On IA64, the linker does run time linking by default, so we don't
   10472 	# have to do anything special.
   10473 	aix_use_runtimelinking=no
   10474 	exp_sym_flag='-Bexport'
   10475 	no_entry_flag=
   10476       else
   10477 	# If we're using GNU nm, then we don't want the "-C" option.
   10478 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   10479 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   10480 	# weak defined symbols like other global defined symbols, whereas
   10481 	# GNU nm marks them as "W".
   10482 	# While the 'weak' keyword is ignored in the Export File, we need
   10483 	# it in the Import File for the 'aix-soname' feature, so we have
   10484 	# to replace the "-B" option with "-P" for AIX nm.
   10485 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   10486 	  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'
   10487 	else
   10488 	  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'
   10489 	fi
   10490 	aix_use_runtimelinking=no
   10491 
   10492 	# Test if we are trying to use run time linking or normal
   10493 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10494 	# have runtime linking enabled, and use it for executables.
   10495 	# For shared libraries, we enable/disable runtime linking
   10496 	# depending on the kind of the shared library created -
   10497 	# when "with_aix_soname,aix_use_runtimelinking" is:
   10498 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   10499 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   10500 	#            lib.a           static archive
   10501 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   10502 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   10503 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   10504 	#            lib.a(lib.so.V) shared, rtl:no
   10505 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   10506 	#            lib.a           static archive
   10507 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10508 	  for ld_flag in $LDFLAGS; do
   10509 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   10510 	    aix_use_runtimelinking=yes
   10511 	    break
   10512 	  fi
   10513 	  done
   10514 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   10515 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   10516 	    # so we don't have lib.a shared libs to link our executables.
   10517 	    # We have to force runtime linking in this case.
   10518 	    aix_use_runtimelinking=yes
   10519 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   10520 	  fi
   10521 	  ;;
   10522 	esac
   10523 
   10524 	exp_sym_flag='-bexport'
   10525 	no_entry_flag='-bnoentry'
   10526       fi
   10527 
   10528       # When large executables or shared objects are built, AIX ld can
   10529       # have problems creating the table of contents.  If linking a library
   10530       # or program results in "error TOC overflow" add -mminimal-toc to
   10531       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10532       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10533 
   10534       archive_cmds=''
   10535       hardcode_direct=yes
   10536       hardcode_direct_absolute=yes
   10537       hardcode_libdir_separator=':'
   10538       link_all_deplibs=yes
   10539       file_list_spec='$wl-f,'
   10540       case $with_aix_soname,$aix_use_runtimelinking in
   10541       aix,*) ;; # traditional, no import file
   10542       svr4,* | *,yes) # use import file
   10543 	# The Import File defines what to hardcode.
   10544 	hardcode_direct=no
   10545 	hardcode_direct_absolute=no
   10546 	;;
   10547       esac
   10548 
   10549       if test yes = "$GCC"; then
   10550 	case $host_os in aix4.[012]|aix4.[012].*)
   10551 	# We only want to do this on AIX 4.2 and lower, the check
   10552 	# below for broken collect2 doesn't work under 4.3+
   10553 	  collect2name=`$CC -print-prog-name=collect2`
   10554 	  if test -f "$collect2name" &&
   10555 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10556 	  then
   10557 	  # We have reworked collect2
   10558 	  :
   10559 	  else
   10560 	  # We have old collect2
   10561 	  hardcode_direct=unsupported
   10562 	  # It fails to find uninstalled libraries when the uninstalled
   10563 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10564 	  # to unsupported forces relinking
   10565 	  hardcode_minus_L=yes
   10566 	  hardcode_libdir_flag_spec='-L$libdir'
   10567 	  hardcode_libdir_separator=
   10568 	  fi
   10569 	  ;;
   10570 	esac
   10571 	shared_flag='-shared'
   10572 	if test yes = "$aix_use_runtimelinking"; then
   10573 	  shared_flag="$shared_flag "'$wl-G'
   10574 	fi
   10575 	# Need to ensure runtime linking is disabled for the traditional
   10576 	# shared library, or the linker may eventually find shared libraries
   10577 	# /with/ Import File - we do not want to mix them.
   10578 	shared_flag_aix='-shared'
   10579 	shared_flag_svr4='-shared $wl-G'
   10580       else
   10581 	# not using gcc
   10582 	if test ia64 = "$host_cpu"; then
   10583 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10584 	# chokes on -Wl,-G. The following line is correct:
   10585 	  shared_flag='-G'
   10586 	else
   10587 	  if test yes = "$aix_use_runtimelinking"; then
   10588 	    shared_flag='$wl-G'
   10589 	  else
   10590 	    shared_flag='$wl-bM:SRE'
   10591 	  fi
   10592 	  shared_flag_aix='$wl-bM:SRE'
   10593 	  shared_flag_svr4='$wl-G'
   10594 	fi
   10595       fi
   10596 
   10597       export_dynamic_flag_spec='$wl-bexpall'
   10598       # It seems that -bexpall does not export symbols beginning with
   10599       # underscore (_), so it is better to generate a list of symbols to export.
   10600       always_export_symbols=yes
   10601       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   10602 	# Warning - without using the other runtime loading flags (-brtl),
   10603 	# -berok will link without error, but may produce a broken library.
   10604 	allow_undefined_flag='-berok'
   10605         # Determine the default libpath from the value encoded in an
   10606         # empty executable.
   10607         if test set = "${lt_cv_aix_libpath+set}"; then
   10608   aix_libpath=$lt_cv_aix_libpath
   10609 else
   10610   if test ${lt_cv_aix_libpath_+y}
   10611 then :
   10612   printf %s "(cached) " >&6
   10613 else $as_nop
   10614   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10615 /* end confdefs.h.  */
   10616 
   10617 int
   10618 main (void)
   10619 {
   10620 
   10621   ;
   10622   return 0;
   10623 }
   10624 _ACEOF
   10625 if ac_fn_c_try_link "$LINENO"
   10626 then :
   10627 
   10628   lt_aix_libpath_sed='
   10629       /Import File Strings/,/^$/ {
   10630 	  /^0/ {
   10631 	      s/^0  *\([^ ]*\) *$/\1/
   10632 	      p
   10633 	  }
   10634       }'
   10635   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10636   # Check for a 64-bit object if we didn't find anything.
   10637   if test -z "$lt_cv_aix_libpath_"; then
   10638     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10639   fi
   10640 fi
   10641 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10642     conftest$ac_exeext conftest.$ac_ext
   10643   if test -z "$lt_cv_aix_libpath_"; then
   10644     lt_cv_aix_libpath_=/usr/lib:/lib
   10645   fi
   10646 
   10647 fi
   10648 
   10649   aix_libpath=$lt_cv_aix_libpath_
   10650 fi
   10651 
   10652         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10653         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
   10654       else
   10655 	if test ia64 = "$host_cpu"; then
   10656 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   10657 	  allow_undefined_flag="-z nodefs"
   10658 	  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"
   10659 	else
   10660 	 # Determine the default libpath from the value encoded in an
   10661 	 # empty executable.
   10662 	 if test set = "${lt_cv_aix_libpath+set}"; then
   10663   aix_libpath=$lt_cv_aix_libpath
   10664 else
   10665   if test ${lt_cv_aix_libpath_+y}
   10666 then :
   10667   printf %s "(cached) " >&6
   10668 else $as_nop
   10669   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10670 /* end confdefs.h.  */
   10671 
   10672 int
   10673 main (void)
   10674 {
   10675 
   10676   ;
   10677   return 0;
   10678 }
   10679 _ACEOF
   10680 if ac_fn_c_try_link "$LINENO"
   10681 then :
   10682 
   10683   lt_aix_libpath_sed='
   10684       /Import File Strings/,/^$/ {
   10685 	  /^0/ {
   10686 	      s/^0  *\([^ ]*\) *$/\1/
   10687 	      p
   10688 	  }
   10689       }'
   10690   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10691   # Check for a 64-bit object if we didn't find anything.
   10692   if test -z "$lt_cv_aix_libpath_"; then
   10693     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10694   fi
   10695 fi
   10696 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10697     conftest$ac_exeext conftest.$ac_ext
   10698   if test -z "$lt_cv_aix_libpath_"; then
   10699     lt_cv_aix_libpath_=/usr/lib:/lib
   10700   fi
   10701 
   10702 fi
   10703 
   10704   aix_libpath=$lt_cv_aix_libpath_
   10705 fi
   10706 
   10707 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   10708 	  # Warning - without using the other run time loading flags,
   10709 	  # -berok will link without error, but may produce a broken library.
   10710 	  no_undefined_flag=' $wl-bernotok'
   10711 	  allow_undefined_flag=' $wl-berok'
   10712 	  if test yes = "$with_gnu_ld"; then
   10713 	    # We only use this code for GNU lds that support --whole-archive.
   10714 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   10715 	  else
   10716 	    # Exported symbols can be pulled into shared objects from archives
   10717 	    whole_archive_flag_spec='$convenience'
   10718 	  fi
   10719 	  archive_cmds_need_lc=yes
   10720 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   10721 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   10722 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   10723 	  if test svr4 != "$with_aix_soname"; then
   10724 	    # This is similar to how AIX traditionally builds its shared libraries.
   10725 	    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'
   10726 	  fi
   10727 	  if test aix != "$with_aix_soname"; then
   10728 	    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'
   10729 	  else
   10730 	    # used by -dlpreopen to get the symbols
   10731 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   10732 	  fi
   10733 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   10734 	fi
   10735       fi
   10736       ;;
   10737 
   10738     amigaos*)
   10739       case $host_cpu in
   10740       powerpc)
   10741             # see comment about AmigaOS4 .so support
   10742             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   10743             archive_expsym_cmds=''
   10744         ;;
   10745       m68k)
   10746             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)'
   10747             hardcode_libdir_flag_spec='-L$libdir'
   10748             hardcode_minus_L=yes
   10749         ;;
   10750       esac
   10751       ;;
   10752 
   10753     bsdi[45]*)
   10754       export_dynamic_flag_spec=-rdynamic
   10755       ;;
   10756 
   10757     cygwin* | mingw* | pw32* | cegcc*)
   10758       # When not using gcc, we currently assume that we are using
   10759       # Microsoft Visual C++ or Intel C++ Compiler.
   10760       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10761       # no search path for DLLs.
   10762       case $cc_basename in
   10763       cl* | icl*)
   10764 	# Native MSVC or ICC
   10765 	hardcode_libdir_flag_spec=' '
   10766 	allow_undefined_flag=unsupported
   10767 	always_export_symbols=yes
   10768 	file_list_spec='@'
   10769 	# Tell ltmain to make .lib files, not .a files.
   10770 	libext=lib
   10771 	# Tell ltmain to make .dll files, not .so files.
   10772 	shrext_cmds=.dll
   10773 	# FIXME: Setting linknames here is a bad hack.
   10774 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   10775 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   10776             cp "$export_symbols" "$output_objdir/$soname.def";
   10777             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   10778           else
   10779             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   10780           fi~
   10781           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   10782           linknames='
   10783 	# The linker will not automatically build a static lib if we build a DLL.
   10784 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   10785 	enable_shared_with_static_runtimes=yes
   10786 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   10787 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   10788 	# Don't use ranlib
   10789 	old_postinstall_cmds='chmod 644 $oldlib'
   10790 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   10791           lt_tool_outputfile="@TOOL_OUTPUT@"~
   10792           case $lt_outputfile in
   10793             *.exe|*.EXE) ;;
   10794             *)
   10795               lt_outputfile=$lt_outputfile.exe
   10796               lt_tool_outputfile=$lt_tool_outputfile.exe
   10797               ;;
   10798           esac~
   10799           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   10800             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   10801             $RM "$lt_outputfile.manifest";
   10802           fi'
   10803 	;;
   10804       *)
   10805 	# Assume MSVC and ICC wrapper
   10806 	hardcode_libdir_flag_spec=' '
   10807 	allow_undefined_flag=unsupported
   10808 	# Tell ltmain to make .lib files, not .a files.
   10809 	libext=lib
   10810 	# Tell ltmain to make .dll files, not .so files.
   10811 	shrext_cmds=.dll
   10812 	# FIXME: Setting linknames here is a bad hack.
   10813 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10814 	# The linker will automatically build a .lib file if we build a DLL.
   10815 	old_archive_from_new_cmds='true'
   10816 	# FIXME: Should let the user specify the lib program.
   10817 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10818 	enable_shared_with_static_runtimes=yes
   10819 	;;
   10820       esac
   10821       ;;
   10822 
   10823     darwin* | rhapsody*)
   10824 
   10825 
   10826   archive_cmds_need_lc=no
   10827   hardcode_direct=no
   10828   hardcode_automatic=yes
   10829   hardcode_shlibpath_var=unsupported
   10830   if test yes = "$lt_cv_ld_force_load"; then
   10831     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\"`'
   10832 
   10833   else
   10834     whole_archive_flag_spec=''
   10835   fi
   10836   link_all_deplibs=yes
   10837   allow_undefined_flag=$_lt_dar_allow_undefined
   10838   case $cc_basename in
   10839      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   10840      *) _lt_dar_can_shared=$GCC ;;
   10841   esac
   10842   if test yes = "$_lt_dar_can_shared"; then
   10843     output_verbose_link_cmd=func_echo_all
   10844     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   10845     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   10846     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"
   10847     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"
   10848 
   10849   else
   10850   ld_shlibs=no
   10851   fi
   10852 
   10853       ;;
   10854 
   10855     dgux*)
   10856       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10857       hardcode_libdir_flag_spec='-L$libdir'
   10858       hardcode_shlibpath_var=no
   10859       ;;
   10860 
   10861     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10862     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10863     # does not break anything, and helps significantly (at the cost of a little
   10864     # extra space).
   10865     freebsd2.2*)
   10866       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10867       hardcode_libdir_flag_spec='-R$libdir'
   10868       hardcode_direct=yes
   10869       hardcode_shlibpath_var=no
   10870       ;;
   10871 
   10872     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10873     freebsd2.*)
   10874       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10875       hardcode_direct=yes
   10876       hardcode_minus_L=yes
   10877       hardcode_shlibpath_var=no
   10878       ;;
   10879 
   10880     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10881     freebsd* | dragonfly* | midnightbsd*)
   10882       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10883       hardcode_libdir_flag_spec='-R$libdir'
   10884       hardcode_direct=yes
   10885       hardcode_shlibpath_var=no
   10886       ;;
   10887 
   10888     hpux9*)
   10889       if test yes = "$GCC"; then
   10890 	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'
   10891       else
   10892 	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'
   10893       fi
   10894       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10895       hardcode_libdir_separator=:
   10896       hardcode_direct=yes
   10897 
   10898       # hardcode_minus_L: Not really in the search PATH,
   10899       # but as the default location of the library.
   10900       hardcode_minus_L=yes
   10901       export_dynamic_flag_spec='$wl-E'
   10902       ;;
   10903 
   10904     hpux10*)
   10905       if test yes,no = "$GCC,$with_gnu_ld"; then
   10906 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10907       else
   10908 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10909       fi
   10910       if test no = "$with_gnu_ld"; then
   10911 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10912 	hardcode_libdir_separator=:
   10913 	hardcode_direct=yes
   10914 	hardcode_direct_absolute=yes
   10915 	export_dynamic_flag_spec='$wl-E'
   10916 	# hardcode_minus_L: Not really in the search PATH,
   10917 	# but as the default location of the library.
   10918 	hardcode_minus_L=yes
   10919       fi
   10920       ;;
   10921 
   10922     hpux11*)
   10923       if test yes,no = "$GCC,$with_gnu_ld"; then
   10924 	case $host_cpu in
   10925 	hppa*64*)
   10926 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10927 	  ;;
   10928 	ia64*)
   10929 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10930 	  ;;
   10931 	*)
   10932 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10933 	  ;;
   10934 	esac
   10935       else
   10936 	case $host_cpu in
   10937 	hppa*64*)
   10938 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10939 	  ;;
   10940 	ia64*)
   10941 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10942 	  ;;
   10943 	*)
   10944 
   10945 	  # Older versions of the 11.00 compiler do not understand -b yet
   10946 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10947 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10948 printf %s "checking if $CC understands -b... " >&6; }
   10949 if test ${lt_cv_prog_compiler__b+y}
   10950 then :
   10951   printf %s "(cached) " >&6
   10952 else $as_nop
   10953   lt_cv_prog_compiler__b=no
   10954    save_LDFLAGS=$LDFLAGS
   10955    LDFLAGS="$LDFLAGS -b"
   10956    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10957    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10958      # The linker can only warn and ignore the option if not recognized
   10959      # So say no if there are warnings
   10960      if test -s conftest.err; then
   10961        # Append any errors to the config.log.
   10962        cat conftest.err 1>&5
   10963        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10964        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10965        if diff conftest.exp conftest.er2 >/dev/null; then
   10966          lt_cv_prog_compiler__b=yes
   10967        fi
   10968      else
   10969        lt_cv_prog_compiler__b=yes
   10970      fi
   10971    fi
   10972    $RM -r conftest*
   10973    LDFLAGS=$save_LDFLAGS
   10974 
   10975 fi
   10976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10977 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
   10978 
   10979 if test yes = "$lt_cv_prog_compiler__b"; then
   10980     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10981 else
   10982     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10983 fi
   10984 
   10985 	  ;;
   10986 	esac
   10987       fi
   10988       if test no = "$with_gnu_ld"; then
   10989 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10990 	hardcode_libdir_separator=:
   10991 
   10992 	case $host_cpu in
   10993 	hppa*64*|ia64*)
   10994 	  hardcode_direct=no
   10995 	  hardcode_shlibpath_var=no
   10996 	  ;;
   10997 	*)
   10998 	  hardcode_direct=yes
   10999 	  hardcode_direct_absolute=yes
   11000 	  export_dynamic_flag_spec='$wl-E'
   11001 
   11002 	  # hardcode_minus_L: Not really in the search PATH,
   11003 	  # but as the default location of the library.
   11004 	  hardcode_minus_L=yes
   11005 	  ;;
   11006 	esac
   11007       fi
   11008       ;;
   11009 
   11010     irix5* | irix6* | nonstopux*)
   11011       if test yes = "$GCC"; then
   11012 	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'
   11013 	# Try to use the -exported_symbol ld option, if it does not
   11014 	# work, assume that -exports_file does not work either and
   11015 	# implicitly export all symbols.
   11016 	# This should be the same for all languages, so no per-tag cache variable.
   11017 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   11018 printf %s "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   11019 if test ${lt_cv_irix_exported_symbol+y}
   11020 then :
   11021   printf %s "(cached) " >&6
   11022 else $as_nop
   11023   save_LDFLAGS=$LDFLAGS
   11024 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   11025 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11026 /* end confdefs.h.  */
   11027 int foo (void) { return 0; }
   11028 _ACEOF
   11029 if ac_fn_c_try_link "$LINENO"
   11030 then :
   11031   lt_cv_irix_exported_symbol=yes
   11032 else $as_nop
   11033   lt_cv_irix_exported_symbol=no
   11034 fi
   11035 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11036     conftest$ac_exeext conftest.$ac_ext
   11037            LDFLAGS=$save_LDFLAGS
   11038 fi
   11039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   11040 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
   11041 	if test yes = "$lt_cv_irix_exported_symbol"; then
   11042           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'
   11043 	fi
   11044       else
   11045 	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'
   11046 	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'
   11047       fi
   11048       archive_cmds_need_lc='no'
   11049       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11050       hardcode_libdir_separator=:
   11051       inherit_rpath=yes
   11052       link_all_deplibs=yes
   11053       ;;
   11054 
   11055     linux*)
   11056       case $cc_basename in
   11057       tcc*)
   11058 	# Fabrice Bellard et al's Tiny C Compiler
   11059 	ld_shlibs=yes
   11060 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11061 	;;
   11062       esac
   11063       ;;
   11064 
   11065     netbsd*)
   11066       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11067 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   11068       else
   11069 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   11070       fi
   11071       hardcode_libdir_flag_spec='-R$libdir'
   11072       hardcode_direct=yes
   11073       hardcode_shlibpath_var=no
   11074       ;;
   11075 
   11076     newsos6)
   11077       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11078       hardcode_direct=yes
   11079       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11080       hardcode_libdir_separator=:
   11081       hardcode_shlibpath_var=no
   11082       ;;
   11083 
   11084     *nto* | *qnx*)
   11085       ;;
   11086 
   11087     openbsd* | bitrig*)
   11088       if test -f /usr/libexec/ld.so; then
   11089 	hardcode_direct=yes
   11090 	hardcode_shlibpath_var=no
   11091 	hardcode_direct_absolute=yes
   11092 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11093 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11094 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   11095 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11096 	  export_dynamic_flag_spec='$wl-E'
   11097 	else
   11098 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11099 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   11100 	fi
   11101       else
   11102 	ld_shlibs=no
   11103       fi
   11104       ;;
   11105 
   11106     os2*)
   11107       hardcode_libdir_flag_spec='-L$libdir'
   11108       hardcode_minus_L=yes
   11109       allow_undefined_flag=unsupported
   11110       shrext_cmds=.dll
   11111       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11112 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11113 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11114 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11115 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   11116 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11117 	emximp -o $lib $output_objdir/$libname.def'
   11118       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   11119 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   11120 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   11121 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   11122 	prefix_cmds="$SED"~
   11123 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   11124 	  prefix_cmds="$prefix_cmds -e 1d";
   11125 	fi~
   11126 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   11127 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   11128 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   11129 	emximp -o $lib $output_objdir/$libname.def'
   11130       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   11131       enable_shared_with_static_runtimes=yes
   11132       file_list_spec='@'
   11133       ;;
   11134 
   11135     osf3*)
   11136       if test yes = "$GCC"; then
   11137 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11138 	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'
   11139       else
   11140 	allow_undefined_flag=' -expect_unresolved \*'
   11141 	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'
   11142       fi
   11143       archive_cmds_need_lc='no'
   11144       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11145       hardcode_libdir_separator=:
   11146       ;;
   11147 
   11148     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   11149       if test yes = "$GCC"; then
   11150 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   11151 	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'
   11152 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   11153       else
   11154 	allow_undefined_flag=' -expect_unresolved \*'
   11155 	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'
   11156 	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~
   11157           $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'
   11158 
   11159 	# Both c and cxx compiler support -rpath directly
   11160 	hardcode_libdir_flag_spec='-rpath $libdir'
   11161       fi
   11162       archive_cmds_need_lc='no'
   11163       hardcode_libdir_separator=:
   11164       ;;
   11165 
   11166     solaris*)
   11167       no_undefined_flag=' -z defs'
   11168       if test yes = "$GCC"; then
   11169 	wlarc='$wl'
   11170 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   11171 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11172           $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'
   11173       else
   11174 	case `$CC -V 2>&1` in
   11175 	*"Compilers 5.0"*)
   11176 	  wlarc=''
   11177 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11178 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11179             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   11180 	  ;;
   11181 	*)
   11182 	  wlarc='$wl'
   11183 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11184 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11185             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   11186 	  ;;
   11187 	esac
   11188       fi
   11189       hardcode_libdir_flag_spec='-R$libdir'
   11190       hardcode_shlibpath_var=no
   11191       case $host_os in
   11192       solaris2.[0-5] | solaris2.[0-5].*) ;;
   11193       *)
   11194 	# The compiler driver will combine and reorder linker options,
   11195 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   11196 	# but is careful enough not to reorder.
   11197 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   11198 	if test yes = "$GCC"; then
   11199 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   11200 	else
   11201 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   11202 	fi
   11203 	;;
   11204       esac
   11205       link_all_deplibs=yes
   11206       ;;
   11207 
   11208     sunos4*)
   11209       if test sequent = "$host_vendor"; then
   11210 	# Use $CC to link under sequent, because it throws in some extra .o
   11211 	# files that make .init and .fini sections work.
   11212 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11213       else
   11214 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   11215       fi
   11216       hardcode_libdir_flag_spec='-L$libdir'
   11217       hardcode_direct=yes
   11218       hardcode_minus_L=yes
   11219       hardcode_shlibpath_var=no
   11220       ;;
   11221 
   11222     sysv4)
   11223       case $host_vendor in
   11224 	sni)
   11225 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11226 	  hardcode_direct=yes # is this really true???
   11227 	;;
   11228 	siemens)
   11229 	  ## LD is ld it makes a PLAMLIB
   11230 	  ## CC just makes a GrossModule.
   11231 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   11232 	  reload_cmds='$CC -r -o $output$reload_objs'
   11233 	  hardcode_direct=no
   11234         ;;
   11235 	motorola)
   11236 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11237 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   11238 	;;
   11239       esac
   11240       runpath_var='LD_RUN_PATH'
   11241       hardcode_shlibpath_var=no
   11242       ;;
   11243 
   11244     sysv4.3*)
   11245       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11246       hardcode_shlibpath_var=no
   11247       export_dynamic_flag_spec='-Bexport'
   11248       ;;
   11249 
   11250     sysv4*MP*)
   11251       if test -d /usr/nec; then
   11252 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11253 	hardcode_shlibpath_var=no
   11254 	runpath_var=LD_RUN_PATH
   11255 	hardcode_runpath_var=yes
   11256 	ld_shlibs=yes
   11257       fi
   11258       ;;
   11259 
   11260     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11261       no_undefined_flag='$wl-z,text'
   11262       archive_cmds_need_lc=no
   11263       hardcode_shlibpath_var=no
   11264       runpath_var='LD_RUN_PATH'
   11265 
   11266       if test yes = "$GCC"; then
   11267 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11268 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11269       else
   11270 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11271 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11272       fi
   11273       ;;
   11274 
   11275     sysv5* | sco3.2v5* | sco5v6*)
   11276       # Note: We CANNOT use -z defs as we might desire, because we do not
   11277       # link with -lc, and that would cause any symbols used from libc to
   11278       # always be unresolved, which means just about no library would
   11279       # ever link correctly.  If we're not using GNU ld we use -z text
   11280       # though, which does catch some bad symbols but isn't as heavy-handed
   11281       # as -z defs.
   11282       no_undefined_flag='$wl-z,text'
   11283       allow_undefined_flag='$wl-z,nodefs'
   11284       archive_cmds_need_lc=no
   11285       hardcode_shlibpath_var=no
   11286       hardcode_libdir_flag_spec='$wl-R,$libdir'
   11287       hardcode_libdir_separator=':'
   11288       link_all_deplibs=yes
   11289       export_dynamic_flag_spec='$wl-Bexport'
   11290       runpath_var='LD_RUN_PATH'
   11291 
   11292       if test yes = "$GCC"; then
   11293 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11294 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11295       else
   11296 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11297 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11298       fi
   11299       ;;
   11300 
   11301     uts4*)
   11302       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11303       hardcode_libdir_flag_spec='-L$libdir'
   11304       hardcode_shlibpath_var=no
   11305       ;;
   11306 
   11307     *)
   11308       ld_shlibs=no
   11309       ;;
   11310     esac
   11311 
   11312     if test sni = "$host_vendor"; then
   11313       case $host in
   11314       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   11315 	export_dynamic_flag_spec='$wl-Blargedynsym'
   11316 	;;
   11317       esac
   11318     fi
   11319   fi
   11320 
   11321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   11322 printf "%s\n" "$ld_shlibs" >&6; }
   11323 test no = "$ld_shlibs" && can_build_shared=no
   11324 
   11325 with_gnu_ld=$with_gnu_ld
   11326 
   11327 
   11328 
   11329 
   11330 
   11331 
   11332 
   11333 
   11334 
   11335 
   11336 
   11337 
   11338 
   11339 
   11340 
   11341 #
   11342 # Do we need to explicitly link libc?
   11343 #
   11344 case "x$archive_cmds_need_lc" in
   11345 x|xyes)
   11346   # Assume -lc should be added
   11347   archive_cmds_need_lc=yes
   11348 
   11349   if test yes,yes = "$GCC,$enable_shared"; then
   11350     case $archive_cmds in
   11351     *'~'*)
   11352       # FIXME: we may have to deal with multi-command sequences.
   11353       ;;
   11354     '$CC '*)
   11355       # Test whether the compiler implicitly links with -lc since on some
   11356       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   11357       # to ld, don't add -lc before -lgcc.
   11358       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   11359 printf %s "checking whether -lc should be explicitly linked in... " >&6; }
   11360 if test ${lt_cv_archive_cmds_need_lc+y}
   11361 then :
   11362   printf %s "(cached) " >&6
   11363 else $as_nop
   11364   $RM conftest*
   11365 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11366 
   11367 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11368   (eval $ac_compile) 2>&5
   11369   ac_status=$?
   11370   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11371   test $ac_status = 0; } 2>conftest.err; then
   11372 	  soname=conftest
   11373 	  lib=conftest
   11374 	  libobjs=conftest.$ac_objext
   11375 	  deplibs=
   11376 	  wl=$lt_prog_compiler_wl
   11377 	  pic_flag=$lt_prog_compiler_pic
   11378 	  compiler_flags=-v
   11379 	  linker_flags=-v
   11380 	  verstring=
   11381 	  output_objdir=.
   11382 	  libname=conftest
   11383 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   11384 	  allow_undefined_flag=
   11385 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   11386   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   11387   ac_status=$?
   11388   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11389   test $ac_status = 0; }
   11390 	  then
   11391 	    lt_cv_archive_cmds_need_lc=no
   11392 	  else
   11393 	    lt_cv_archive_cmds_need_lc=yes
   11394 	  fi
   11395 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   11396 	else
   11397 	  cat conftest.err 1>&5
   11398 	fi
   11399 	$RM conftest*
   11400 
   11401 fi
   11402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   11403 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
   11404       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   11405       ;;
   11406     esac
   11407   fi
   11408   ;;
   11409 esac
   11410 
   11411 
   11412 
   11413 
   11414 
   11415 
   11416 
   11417 
   11418 
   11419 
   11420 
   11421 
   11422 
   11423 
   11424 
   11425 
   11426 
   11427 
   11428 
   11429 
   11430 
   11431 
   11432 
   11433 
   11434 
   11435 
   11436 
   11437 
   11438 
   11439 
   11440 
   11441 
   11442 
   11443 
   11444 
   11445 
   11446 
   11447 
   11448 
   11449 
   11450 
   11451 
   11452 
   11453 
   11454 
   11455 
   11456 
   11457 
   11458 
   11459 
   11460 
   11461 
   11462 
   11463 
   11464 
   11465 
   11466 
   11467 
   11468 
   11469 
   11470 
   11471 
   11472 
   11473 
   11474 
   11475 
   11476 
   11477 
   11478 
   11479 
   11480 
   11481 
   11482 
   11483 
   11484 
   11485 
   11486 
   11487 
   11488 
   11489 
   11490 
   11491 
   11492 
   11493 
   11494 
   11495 
   11496 
   11497 
   11498 
   11499 
   11500 
   11501 
   11502 
   11503 
   11504 
   11505 
   11506 
   11507 
   11508 
   11509 
   11510 
   11511 
   11512 
   11513 
   11514 
   11515 
   11516 
   11517 
   11518 
   11519 
   11520 
   11521 
   11522 
   11523 
   11524 
   11525 
   11526 
   11527 
   11528 
   11529 
   11530 
   11531 
   11532 
   11533 
   11534 
   11535 
   11536 
   11537 
   11538 
   11539 
   11540 
   11541 
   11542 
   11543 
   11544 
   11545 
   11546 
   11547 
   11548 
   11549 
   11550 
   11551 
   11552 
   11553 
   11554 
   11555 
   11556 
   11557 
   11558 
   11559 
   11560 
   11561 
   11562   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11563 printf %s "checking dynamic linker characteristics... " >&6; }
   11564 
   11565 if test yes = "$GCC"; then
   11566   case $host_os in
   11567     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   11568     *) lt_awk_arg='/^libraries:/' ;;
   11569   esac
   11570   case $host_os in
   11571     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   11572     *) lt_sed_strip_eq='s|=/|/|g' ;;
   11573   esac
   11574   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11575   case $lt_search_path_spec in
   11576   *\;*)
   11577     # if the path contains ";" then we assume it to be the separator
   11578     # otherwise default to the standard path separator (i.e. ":") - it is
   11579     # assumed that no part of a normal pathname contains ";" but that should
   11580     # okay in the real world where ";" in dirpaths is itself problematic.
   11581     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11582     ;;
   11583   *)
   11584     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11585     ;;
   11586   esac
   11587   # Ok, now we have the path, separated by spaces, we can step through it
   11588   # and add multilib dir if necessary...
   11589   lt_tmp_lt_search_path_spec=
   11590   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11591   # ...but if some path component already ends with the multilib dir we assume
   11592   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   11593   case "$lt_multi_os_dir; $lt_search_path_spec " in
   11594   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   11595     lt_multi_os_dir=
   11596     ;;
   11597   esac
   11598   for lt_sys_path in $lt_search_path_spec; do
   11599     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   11600       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   11601     elif test -n "$lt_multi_os_dir"; then
   11602       test -d "$lt_sys_path" && \
   11603 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11604     fi
   11605   done
   11606   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11607 BEGIN {RS = " "; FS = "/|\n";} {
   11608   lt_foo = "";
   11609   lt_count = 0;
   11610   for (lt_i = NF; lt_i > 0; lt_i--) {
   11611     if ($lt_i != "" && $lt_i != ".") {
   11612       if ($lt_i == "..") {
   11613         lt_count++;
   11614       } else {
   11615         if (lt_count == 0) {
   11616           lt_foo = "/" $lt_i lt_foo;
   11617         } else {
   11618           lt_count--;
   11619         }
   11620       }
   11621     }
   11622   }
   11623   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11624   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11625 }'`
   11626   # AWK program above erroneously prepends '/' to C:/dos/paths
   11627   # for these hosts.
   11628   case $host_os in
   11629     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11630       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   11631   esac
   11632   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11633 else
   11634   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11635 fi
   11636 library_names_spec=
   11637 libname_spec='lib$name'
   11638 soname_spec=
   11639 shrext_cmds=.so
   11640 postinstall_cmds=
   11641 postuninstall_cmds=
   11642 finish_cmds=
   11643 finish_eval=
   11644 shlibpath_var=
   11645 shlibpath_overrides_runpath=unknown
   11646 version_type=none
   11647 dynamic_linker="$host_os ld.so"
   11648 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11649 need_lib_prefix=unknown
   11650 hardcode_into_libs=no
   11651 
   11652 # when you set need_version to no, make sure it does not cause -set_version
   11653 # flags to be left without arguments
   11654 need_version=unknown
   11655 
   11656 
   11657 
   11658 case $host_os in
   11659 aix3*)
   11660   version_type=linux # correct to gnu/linux during the next big refactor
   11661   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   11662   shlibpath_var=LIBPATH
   11663 
   11664   # AIX 3 has no versioning support, so we append a major version to the name.
   11665   soname_spec='$libname$release$shared_ext$major'
   11666   ;;
   11667 
   11668 aix[4-9]*)
   11669   version_type=linux # correct to gnu/linux during the next big refactor
   11670   need_lib_prefix=no
   11671   need_version=no
   11672   hardcode_into_libs=yes
   11673   if test ia64 = "$host_cpu"; then
   11674     # AIX 5 supports IA64
   11675     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   11676     shlibpath_var=LD_LIBRARY_PATH
   11677   else
   11678     # With GCC up to 2.95.x, collect2 would create an import file
   11679     # for dependence libraries.  The import file would start with
   11680     # the line '#! .'.  This would cause the generated library to
   11681     # depend on '.', always an invalid library.  This was fixed in
   11682     # development snapshots of GCC prior to 3.0.
   11683     case $host_os in
   11684       aix4 | aix4.[01] | aix4.[01].*)
   11685       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11686 	   echo ' yes '
   11687 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   11688 	:
   11689       else
   11690 	can_build_shared=no
   11691       fi
   11692       ;;
   11693     esac
   11694     # Using Import Files as archive members, it is possible to support
   11695     # filename-based versioning of shared library archives on AIX. While
   11696     # this would work for both with and without runtime linking, it will
   11697     # prevent static linking of such archives. So we do filename-based
   11698     # shared library versioning with .so extension only, which is used
   11699     # when both runtime linking and shared linking is enabled.
   11700     # Unfortunately, runtime linking may impact performance, so we do
   11701     # not want this to be the default eventually. Also, we use the
   11702     # versioned .so libs for executables only if there is the -brtl
   11703     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   11704     # To allow for filename-based versioning support, we need to create
   11705     # libNAME.so.V as an archive file, containing:
   11706     # *) an Import File, referring to the versioned filename of the
   11707     #    archive as well as the shared archive member, telling the
   11708     #    bitwidth (32 or 64) of that shared object, and providing the
   11709     #    list of exported symbols of that shared object, eventually
   11710     #    decorated with the 'weak' keyword
   11711     # *) the shared object with the F_LOADONLY flag set, to really avoid
   11712     #    it being seen by the linker.
   11713     # At run time we better use the real file rather than another symlink,
   11714     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   11715 
   11716     case $with_aix_soname,$aix_use_runtimelinking in
   11717     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   11718     # soname into executable. Probably we can add versioning support to
   11719     # collect2, so additional links can be useful in future.
   11720     aix,yes) # traditional libtool
   11721       dynamic_linker='AIX unversionable lib.so'
   11722       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11723       # instead of lib<name>.a to let people know that these are not
   11724       # typical AIX shared libraries.
   11725       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11726       ;;
   11727     aix,no) # traditional AIX only
   11728       dynamic_linker='AIX lib.a(lib.so.V)'
   11729       # We preserve .a as extension for shared libraries through AIX4.2
   11730       # and later when we are not doing run time linking.
   11731       library_names_spec='$libname$release.a $libname.a'
   11732       soname_spec='$libname$release$shared_ext$major'
   11733       ;;
   11734     svr4,*) # full svr4 only
   11735       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   11736       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11737       # We do not specify a path in Import Files, so LIBPATH fires.
   11738       shlibpath_overrides_runpath=yes
   11739       ;;
   11740     *,yes) # both, prefer svr4
   11741       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   11742       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   11743       # unpreferred sharedlib libNAME.a needs extra handling
   11744       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"'
   11745       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"'
   11746       # We do not specify a path in Import Files, so LIBPATH fires.
   11747       shlibpath_overrides_runpath=yes
   11748       ;;
   11749     *,no) # both, prefer aix
   11750       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   11751       library_names_spec='$libname$release.a $libname.a'
   11752       soname_spec='$libname$release$shared_ext$major'
   11753       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   11754       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)'
   11755       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"'
   11756       ;;
   11757     esac
   11758     shlibpath_var=LIBPATH
   11759   fi
   11760   ;;
   11761 
   11762 amigaos*)
   11763   case $host_cpu in
   11764   powerpc)
   11765     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11766     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11767     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11768     ;;
   11769   m68k)
   11770     library_names_spec='$libname.ixlibrary $libname.a'
   11771     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11772     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'
   11773     ;;
   11774   esac
   11775   ;;
   11776 
   11777 beos*)
   11778   library_names_spec='$libname$shared_ext'
   11779   dynamic_linker="$host_os ld.so"
   11780   shlibpath_var=LIBRARY_PATH
   11781   ;;
   11782 
   11783 bsdi[45]*)
   11784   version_type=linux # correct to gnu/linux during the next big refactor
   11785   need_version=no
   11786   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11787   soname_spec='$libname$release$shared_ext$major'
   11788   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11789   shlibpath_var=LD_LIBRARY_PATH
   11790   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11791   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11792   # the default ld.so.conf also contains /usr/contrib/lib and
   11793   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11794   # libtool to hard-code these into programs
   11795   ;;
   11796 
   11797 cygwin* | mingw* | pw32* | cegcc*)
   11798   version_type=windows
   11799   shrext_cmds=.dll
   11800   need_version=no
   11801   need_lib_prefix=no
   11802 
   11803   case $GCC,$cc_basename in
   11804   yes,*)
   11805     # gcc
   11806     library_names_spec='$libname.dll.a'
   11807     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11808     postinstall_cmds='base_file=`basename \$file`~
   11809       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11810       dldir=$destdir/`dirname \$dlpath`~
   11811       test -d \$dldir || mkdir -p \$dldir~
   11812       $install_prog $dir/$dlname \$dldir/$dlname~
   11813       chmod a+x \$dldir/$dlname~
   11814       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11815         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11816       fi'
   11817     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11818       dlpath=$dir/\$dldll~
   11819        $RM \$dlpath'
   11820     shlibpath_overrides_runpath=yes
   11821 
   11822     case $host_os in
   11823     cygwin*)
   11824       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11825       soname_spec='`echo $libname | $SED -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11826 
   11827       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11828       ;;
   11829     mingw* | cegcc*)
   11830       # MinGW DLLs use traditional 'lib' prefix
   11831       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11832       ;;
   11833     pw32*)
   11834       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11835       library_names_spec='`echo $libname | $SED -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11836       ;;
   11837     esac
   11838     dynamic_linker='Win32 ld.exe'
   11839     ;;
   11840 
   11841   *,cl* | *,icl*)
   11842     # Native MSVC or ICC
   11843     libname_spec='$name'
   11844     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   11845     library_names_spec='$libname.dll.lib'
   11846 
   11847     case $build_os in
   11848     mingw*)
   11849       sys_lib_search_path_spec=
   11850       lt_save_ifs=$IFS
   11851       IFS=';'
   11852       for lt_path in $LIB
   11853       do
   11854         IFS=$lt_save_ifs
   11855         # Let DOS variable expansion print the short 8.3 style file name.
   11856         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   11857         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   11858       done
   11859       IFS=$lt_save_ifs
   11860       # Convert to MSYS style.
   11861       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   11862       ;;
   11863     cygwin*)
   11864       # Convert to unix form, then to dos form, then back to unix form
   11865       # but this time dos style (no spaces!) so that the unix form looks
   11866       # like /cygdrive/c/PROGRA~1:/cygdr...
   11867       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   11868       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   11869       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11870       ;;
   11871     *)
   11872       sys_lib_search_path_spec=$LIB
   11873       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   11874         # It is most probably a Windows format PATH.
   11875         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   11876       else
   11877         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   11878       fi
   11879       # FIXME: find the short name or the path components, as spaces are
   11880       # common. (e.g. "Program Files" -> "PROGRA~1")
   11881       ;;
   11882     esac
   11883 
   11884     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11885     postinstall_cmds='base_file=`basename \$file`~
   11886       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   11887       dldir=$destdir/`dirname \$dlpath`~
   11888       test -d \$dldir || mkdir -p \$dldir~
   11889       $install_prog $dir/$dlname \$dldir/$dlname'
   11890     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11891       dlpath=$dir/\$dldll~
   11892        $RM \$dlpath'
   11893     shlibpath_overrides_runpath=yes
   11894     dynamic_linker='Win32 link.exe'
   11895     ;;
   11896 
   11897   *)
   11898     # Assume MSVC and ICC wrapper
   11899     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   11900     dynamic_linker='Win32 ld.exe'
   11901     ;;
   11902   esac
   11903   # FIXME: first we should search . and the directory the executable is in
   11904   shlibpath_var=PATH
   11905   ;;
   11906 
   11907 darwin* | rhapsody*)
   11908   dynamic_linker="$host_os dyld"
   11909   version_type=darwin
   11910   need_lib_prefix=no
   11911   need_version=no
   11912   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   11913   soname_spec='$libname$release$major$shared_ext'
   11914   shlibpath_overrides_runpath=yes
   11915   shlibpath_var=DYLD_LIBRARY_PATH
   11916   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   11917 
   11918   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11919   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11920   ;;
   11921 
   11922 dgux*)
   11923   version_type=linux # correct to gnu/linux during the next big refactor
   11924   need_lib_prefix=no
   11925   need_version=no
   11926   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11927   soname_spec='$libname$release$shared_ext$major'
   11928   shlibpath_var=LD_LIBRARY_PATH
   11929   ;;
   11930 
   11931 freebsd* | dragonfly* | midnightbsd*)
   11932   # DragonFly does not have aout.  When/if they implement a new
   11933   # versioning mechanism, adjust this.
   11934   if test -x /usr/bin/objformat; then
   11935     objformat=`/usr/bin/objformat`
   11936   else
   11937     case $host_os in
   11938     freebsd[23].*) objformat=aout ;;
   11939     *) objformat=elf ;;
   11940     esac
   11941   fi
   11942   version_type=freebsd-$objformat
   11943   case $version_type in
   11944     freebsd-elf*)
   11945       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11946       soname_spec='$libname$release$shared_ext$major'
   11947       need_version=no
   11948       need_lib_prefix=no
   11949       ;;
   11950     freebsd-*)
   11951       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11952       need_version=yes
   11953       ;;
   11954   esac
   11955   shlibpath_var=LD_LIBRARY_PATH
   11956   case $host_os in
   11957   freebsd2.*)
   11958     shlibpath_overrides_runpath=yes
   11959     ;;
   11960   freebsd3.[01]* | freebsdelf3.[01]*)
   11961     shlibpath_overrides_runpath=yes
   11962     hardcode_into_libs=yes
   11963     ;;
   11964   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11965   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11966     shlibpath_overrides_runpath=no
   11967     hardcode_into_libs=yes
   11968     ;;
   11969   *) # from 4.6 on, and DragonFly
   11970     shlibpath_overrides_runpath=yes
   11971     hardcode_into_libs=yes
   11972     ;;
   11973   esac
   11974   ;;
   11975 
   11976 haiku*)
   11977   version_type=linux # correct to gnu/linux during the next big refactor
   11978   need_lib_prefix=no
   11979   need_version=no
   11980   dynamic_linker="$host_os runtime_loader"
   11981   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11982   soname_spec='$libname$release$shared_ext$major'
   11983   shlibpath_var=LIBRARY_PATH
   11984   shlibpath_overrides_runpath=no
   11985   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   11986   hardcode_into_libs=yes
   11987   ;;
   11988 
   11989 hpux9* | hpux10* | hpux11*)
   11990   # Give a soname corresponding to the major version so that dld.sl refuses to
   11991   # link against other versions.
   11992   version_type=sunos
   11993   need_lib_prefix=no
   11994   need_version=no
   11995   case $host_cpu in
   11996   ia64*)
   11997     shrext_cmds='.so'
   11998     hardcode_into_libs=yes
   11999     dynamic_linker="$host_os dld.so"
   12000     shlibpath_var=LD_LIBRARY_PATH
   12001     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12002     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12003     soname_spec='$libname$release$shared_ext$major'
   12004     if test 32 = "$HPUX_IA64_MODE"; then
   12005       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   12006       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   12007     else
   12008       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   12009       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   12010     fi
   12011     ;;
   12012   hppa*64*)
   12013     shrext_cmds='.sl'
   12014     hardcode_into_libs=yes
   12015     dynamic_linker="$host_os dld.sl"
   12016     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   12017     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12018     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12019     soname_spec='$libname$release$shared_ext$major'
   12020     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   12021     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12022     ;;
   12023   *)
   12024     shrext_cmds='.sl'
   12025     dynamic_linker="$host_os dld.sl"
   12026     shlibpath_var=SHLIB_PATH
   12027     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   12028     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12029     soname_spec='$libname$release$shared_ext$major'
   12030     ;;
   12031   esac
   12032   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   12033   postinstall_cmds='chmod 555 $lib'
   12034   # or fails outright, so override atomically:
   12035   install_override_mode=555
   12036   ;;
   12037 
   12038 interix[3-9]*)
   12039   version_type=linux # correct to gnu/linux during the next big refactor
   12040   need_lib_prefix=no
   12041   need_version=no
   12042   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12043   soname_spec='$libname$release$shared_ext$major'
   12044   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   12045   shlibpath_var=LD_LIBRARY_PATH
   12046   shlibpath_overrides_runpath=no
   12047   hardcode_into_libs=yes
   12048   ;;
   12049 
   12050 irix5* | irix6* | nonstopux*)
   12051   case $host_os in
   12052     nonstopux*) version_type=nonstopux ;;
   12053     *)
   12054 	if test yes = "$lt_cv_prog_gnu_ld"; then
   12055 		version_type=linux # correct to gnu/linux during the next big refactor
   12056 	else
   12057 		version_type=irix
   12058 	fi ;;
   12059   esac
   12060   need_lib_prefix=no
   12061   need_version=no
   12062   soname_spec='$libname$release$shared_ext$major'
   12063   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   12064   case $host_os in
   12065   irix5* | nonstopux*)
   12066     libsuff= shlibsuff=
   12067     ;;
   12068   *)
   12069     case $LD in # libtool.m4 will add one of these switches to LD
   12070     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   12071       libsuff= shlibsuff= libmagic=32-bit;;
   12072     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   12073       libsuff=32 shlibsuff=N32 libmagic=N32;;
   12074     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   12075       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   12076     *) libsuff= shlibsuff= libmagic=never-match;;
   12077     esac
   12078     ;;
   12079   esac
   12080   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   12081   shlibpath_overrides_runpath=no
   12082   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   12083   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   12084   hardcode_into_libs=yes
   12085   ;;
   12086 
   12087 # No shared lib support for Linux oldld, aout, or coff.
   12088 linux*oldld* | linux*aout* | linux*coff*)
   12089   dynamic_linker=no
   12090   ;;
   12091 
   12092 linux*android*)
   12093   version_type=none # Android doesn't support versioned libraries.
   12094   need_lib_prefix=no
   12095   need_version=no
   12096   library_names_spec='$libname$release$shared_ext'
   12097   soname_spec='$libname$release$shared_ext'
   12098   finish_cmds=
   12099   shlibpath_var=LD_LIBRARY_PATH
   12100   shlibpath_overrides_runpath=yes
   12101 
   12102   # This implies no fast_install, which is unacceptable.
   12103   # Some rework will be needed to allow for fast_install
   12104   # before this can be enabled.
   12105   hardcode_into_libs=yes
   12106 
   12107   dynamic_linker='Android linker'
   12108   # Don't embed -rpath directories since the linker doesn't support them.
   12109   hardcode_libdir_flag_spec='-L$libdir'
   12110   ;;
   12111 
   12112 # This must be glibc/ELF.
   12113 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12114   version_type=linux # correct to gnu/linux during the next big refactor
   12115   need_lib_prefix=no
   12116   need_version=no
   12117   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12118   soname_spec='$libname$release$shared_ext$major'
   12119   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   12120   shlibpath_var=LD_LIBRARY_PATH
   12121   shlibpath_overrides_runpath=no
   12122 
   12123   # Some binutils ld are patched to set DT_RUNPATH
   12124   if test ${lt_cv_shlibpath_overrides_runpath+y}
   12125 then :
   12126   printf %s "(cached) " >&6
   12127 else $as_nop
   12128   lt_cv_shlibpath_overrides_runpath=no
   12129     save_LDFLAGS=$LDFLAGS
   12130     save_libdir=$libdir
   12131     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   12132 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   12133     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12134 /* end confdefs.h.  */
   12135 
   12136 int
   12137 main (void)
   12138 {
   12139 
   12140   ;
   12141   return 0;
   12142 }
   12143 _ACEOF
   12144 if ac_fn_c_try_link "$LINENO"
   12145 then :
   12146   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null
   12147 then :
   12148   lt_cv_shlibpath_overrides_runpath=yes
   12149 fi
   12150 fi
   12151 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12152     conftest$ac_exeext conftest.$ac_ext
   12153     LDFLAGS=$save_LDFLAGS
   12154     libdir=$save_libdir
   12155 
   12156 fi
   12157 
   12158   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   12159 
   12160   # This implies no fast_install, which is unacceptable.
   12161   # Some rework will be needed to allow for fast_install
   12162   # before this can be enabled.
   12163   hardcode_into_libs=yes
   12164 
   12165   # Ideally, we could use ldconfig to report *all* directores which are
   12166   # searched for libraries, however this is still not possible.  Aside from not
   12167   # being certain /sbin/ldconfig is available, command
   12168   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   12169   # even though it is searched at run-time.  Try to do the best guess by
   12170   # appending ld.so.conf contents (and includes) to the search path.
   12171   if test -f /etc/ld.so.conf; then
   12172     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' ' '`
   12173     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   12174   fi
   12175 
   12176   # We used to test for /lib/ld.so.1 and disable shared libraries on
   12177   # powerpc, because MkLinux only supported shared libraries with the
   12178   # GNU dynamic linker.  Since this was broken with cross compilers,
   12179   # most powerpc-linux boxes support dynamic linking these days and
   12180   # people can always --disable-shared, the test was removed, and we
   12181   # assume the GNU/Linux dynamic linker is in use.
   12182   dynamic_linker='GNU/Linux ld.so'
   12183   ;;
   12184 
   12185 netbsd*)
   12186   version_type=sunos
   12187   need_lib_prefix=no
   12188   need_version=no
   12189   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   12190     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12191     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12192     dynamic_linker='NetBSD (a.out) ld.so'
   12193   else
   12194     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12195     soname_spec='$libname$release$shared_ext$major'
   12196     dynamic_linker='NetBSD ld.elf_so'
   12197   fi
   12198   shlibpath_var=LD_LIBRARY_PATH
   12199   shlibpath_overrides_runpath=yes
   12200   hardcode_into_libs=yes
   12201   ;;
   12202 
   12203 newsos6)
   12204   version_type=linux # correct to gnu/linux during the next big refactor
   12205   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12206   shlibpath_var=LD_LIBRARY_PATH
   12207   shlibpath_overrides_runpath=yes
   12208   ;;
   12209 
   12210 *nto* | *qnx*)
   12211   version_type=qnx
   12212   need_lib_prefix=no
   12213   need_version=no
   12214   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12215   soname_spec='$libname$release$shared_ext$major'
   12216   shlibpath_var=LD_LIBRARY_PATH
   12217   shlibpath_overrides_runpath=no
   12218   hardcode_into_libs=yes
   12219   dynamic_linker='ldqnx.so'
   12220   ;;
   12221 
   12222 openbsd* | bitrig*)
   12223   version_type=sunos
   12224   sys_lib_dlsearch_path_spec=/usr/lib
   12225   need_lib_prefix=no
   12226   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12227     need_version=no
   12228   else
   12229     need_version=yes
   12230   fi
   12231   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12232   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12233   shlibpath_var=LD_LIBRARY_PATH
   12234   shlibpath_overrides_runpath=yes
   12235   ;;
   12236 
   12237 os2*)
   12238   libname_spec='$name'
   12239   version_type=windows
   12240   shrext_cmds=.dll
   12241   need_version=no
   12242   need_lib_prefix=no
   12243   # OS/2 can only load a DLL with a base name of 8 characters or less.
   12244   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   12245     v=$($ECHO $release$versuffix | tr -d .-);
   12246     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   12247     $ECHO $n$v`$shared_ext'
   12248   library_names_spec='${libname}_dll.$libext'
   12249   dynamic_linker='OS/2 ld.exe'
   12250   shlibpath_var=BEGINLIBPATH
   12251   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12252   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12253   postinstall_cmds='base_file=`basename \$file`~
   12254     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   12255     dldir=$destdir/`dirname \$dlpath`~
   12256     test -d \$dldir || mkdir -p \$dldir~
   12257     $install_prog $dir/$dlname \$dldir/$dlname~
   12258     chmod a+x \$dldir/$dlname~
   12259     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12260       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   12261     fi'
   12262   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   12263     dlpath=$dir/\$dldll~
   12264     $RM \$dlpath'
   12265   ;;
   12266 
   12267 osf3* | osf4* | osf5*)
   12268   version_type=osf
   12269   need_lib_prefix=no
   12270   need_version=no
   12271   soname_spec='$libname$release$shared_ext$major'
   12272   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12273   shlibpath_var=LD_LIBRARY_PATH
   12274   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   12275   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12276   ;;
   12277 
   12278 rdos*)
   12279   dynamic_linker=no
   12280   ;;
   12281 
   12282 solaris*)
   12283   version_type=linux # correct to gnu/linux during the next big refactor
   12284   need_lib_prefix=no
   12285   need_version=no
   12286   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12287   soname_spec='$libname$release$shared_ext$major'
   12288   shlibpath_var=LD_LIBRARY_PATH
   12289   shlibpath_overrides_runpath=yes
   12290   hardcode_into_libs=yes
   12291   # ldd complains unless libraries are executable
   12292   postinstall_cmds='chmod +x $lib'
   12293   ;;
   12294 
   12295 sunos4*)
   12296   version_type=sunos
   12297   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   12298   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   12299   shlibpath_var=LD_LIBRARY_PATH
   12300   shlibpath_overrides_runpath=yes
   12301   if test yes = "$with_gnu_ld"; then
   12302     need_lib_prefix=no
   12303   fi
   12304   need_version=yes
   12305   ;;
   12306 
   12307 sysv4 | sysv4.3*)
   12308   version_type=linux # correct to gnu/linux during the next big refactor
   12309   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12310   soname_spec='$libname$release$shared_ext$major'
   12311   shlibpath_var=LD_LIBRARY_PATH
   12312   case $host_vendor in
   12313     sni)
   12314       shlibpath_overrides_runpath=no
   12315       need_lib_prefix=no
   12316       runpath_var=LD_RUN_PATH
   12317       ;;
   12318     siemens)
   12319       need_lib_prefix=no
   12320       ;;
   12321     motorola)
   12322       need_lib_prefix=no
   12323       need_version=no
   12324       shlibpath_overrides_runpath=no
   12325       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   12326       ;;
   12327   esac
   12328   ;;
   12329 
   12330 sysv4*MP*)
   12331   if test -d /usr/nec; then
   12332     version_type=linux # correct to gnu/linux during the next big refactor
   12333     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   12334     soname_spec='$libname$shared_ext.$major'
   12335     shlibpath_var=LD_LIBRARY_PATH
   12336   fi
   12337   ;;
   12338 
   12339 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12340   version_type=sco
   12341   need_lib_prefix=no
   12342   need_version=no
   12343   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   12344   soname_spec='$libname$release$shared_ext$major'
   12345   shlibpath_var=LD_LIBRARY_PATH
   12346   shlibpath_overrides_runpath=yes
   12347   hardcode_into_libs=yes
   12348   if test yes = "$with_gnu_ld"; then
   12349     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   12350   else
   12351     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   12352     case $host_os in
   12353       sco3.2v5*)
   12354         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   12355 	;;
   12356     esac
   12357   fi
   12358   sys_lib_dlsearch_path_spec='/usr/lib'
   12359   ;;
   12360 
   12361 tpf*)
   12362   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   12363   version_type=linux # correct to gnu/linux during the next big refactor
   12364   need_lib_prefix=no
   12365   need_version=no
   12366   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12367   shlibpath_var=LD_LIBRARY_PATH
   12368   shlibpath_overrides_runpath=no
   12369   hardcode_into_libs=yes
   12370   ;;
   12371 
   12372 uts4*)
   12373   version_type=linux # correct to gnu/linux during the next big refactor
   12374   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   12375   soname_spec='$libname$release$shared_ext$major'
   12376   shlibpath_var=LD_LIBRARY_PATH
   12377   ;;
   12378 
   12379 *)
   12380   dynamic_linker=no
   12381   ;;
   12382 esac
   12383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   12384 printf "%s\n" "$dynamic_linker" >&6; }
   12385 test no = "$dynamic_linker" && can_build_shared=no
   12386 
   12387 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   12388 if test yes = "$GCC"; then
   12389   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   12390 fi
   12391 
   12392 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   12393   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   12394 fi
   12395 
   12396 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   12397   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   12398 fi
   12399 
   12400 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   12401 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   12402 
   12403 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   12404 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   12405 
   12406 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   12407 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   12408 
   12409 
   12410 
   12411 
   12412 
   12413 
   12414 
   12415 
   12416 
   12417 
   12418 
   12419 
   12420 
   12421 
   12422 
   12423 
   12424 
   12425 
   12426 
   12427 
   12428 
   12429 
   12430 
   12431 
   12432 
   12433 
   12434 
   12435 
   12436 
   12437 
   12438 
   12439 
   12440 
   12441 
   12442 
   12443 
   12444 
   12445 
   12446 
   12447 
   12448 
   12449 
   12450 
   12451 
   12452 
   12453 
   12454 
   12455 
   12456 
   12457 
   12458 
   12459 
   12460 
   12461 
   12462 
   12463 
   12464 
   12465 
   12466 
   12467 
   12468 
   12469 
   12470 
   12471 
   12472 
   12473 
   12474 
   12475 
   12476 
   12477 
   12478 
   12479 
   12480 
   12481 
   12482 
   12483 
   12484 
   12485 
   12486 
   12487 
   12488 
   12489 
   12490 
   12491 
   12492 
   12493 
   12494 
   12495 
   12496 
   12497 
   12498 
   12499 
   12500 
   12501 
   12502 
   12503 
   12504 
   12505   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   12506 printf %s "checking how to hardcode library paths into programs... " >&6; }
   12507 hardcode_action=
   12508 if test -n "$hardcode_libdir_flag_spec" ||
   12509    test -n "$runpath_var" ||
   12510    test yes = "$hardcode_automatic"; then
   12511 
   12512   # We can hardcode non-existent directories.
   12513   if test no != "$hardcode_direct" &&
   12514      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   12515      # have to relink, otherwise we might link with an installed library
   12516      # when we should be linking with a yet-to-be-installed one
   12517      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   12518      test no != "$hardcode_minus_L"; then
   12519     # Linking always hardcodes the temporary library directory.
   12520     hardcode_action=relink
   12521   else
   12522     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   12523     hardcode_action=immediate
   12524   fi
   12525 else
   12526   # We cannot hardcode anything, or else we can only hardcode existing
   12527   # directories.
   12528   hardcode_action=unsupported
   12529 fi
   12530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   12531 printf "%s\n" "$hardcode_action" >&6; }
   12532 
   12533 if test relink = "$hardcode_action" ||
   12534    test yes = "$inherit_rpath"; then
   12535   # Fast installation is not supported
   12536   enable_fast_install=no
   12537 elif test yes = "$shlibpath_overrides_runpath" ||
   12538      test no = "$enable_shared"; then
   12539   # Fast installation is not necessary
   12540   enable_fast_install=needless
   12541 fi
   12542 
   12543 
   12544 
   12545 
   12546 
   12547 
   12548   if test yes != "$enable_dlopen"; then
   12549   enable_dlopen=unknown
   12550   enable_dlopen_self=unknown
   12551   enable_dlopen_self_static=unknown
   12552 else
   12553   lt_cv_dlopen=no
   12554   lt_cv_dlopen_libs=
   12555 
   12556   case $host_os in
   12557   beos*)
   12558     lt_cv_dlopen=load_add_on
   12559     lt_cv_dlopen_libs=
   12560     lt_cv_dlopen_self=yes
   12561     ;;
   12562 
   12563   mingw* | pw32* | cegcc*)
   12564     lt_cv_dlopen=LoadLibrary
   12565     lt_cv_dlopen_libs=
   12566     ;;
   12567 
   12568   cygwin*)
   12569     lt_cv_dlopen=dlopen
   12570     lt_cv_dlopen_libs=
   12571     ;;
   12572 
   12573   darwin*)
   12574     # if libdl is installed we need to link against it
   12575     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12576 printf %s "checking for dlopen in -ldl... " >&6; }
   12577 if test ${ac_cv_lib_dl_dlopen+y}
   12578 then :
   12579   printf %s "(cached) " >&6
   12580 else $as_nop
   12581   ac_check_lib_save_LIBS=$LIBS
   12582 LIBS="-ldl  $LIBS"
   12583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12584 /* end confdefs.h.  */
   12585 
   12586 /* Override any GCC internal prototype to avoid an error.
   12587    Use char because int might match the return type of a GCC
   12588    builtin and then its argument prototype would still apply.  */
   12589 char dlopen ();
   12590 int
   12591 main (void)
   12592 {
   12593 return dlopen ();
   12594   ;
   12595   return 0;
   12596 }
   12597 _ACEOF
   12598 if ac_fn_c_try_link "$LINENO"
   12599 then :
   12600   ac_cv_lib_dl_dlopen=yes
   12601 else $as_nop
   12602   ac_cv_lib_dl_dlopen=no
   12603 fi
   12604 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12605     conftest$ac_exeext conftest.$ac_ext
   12606 LIBS=$ac_check_lib_save_LIBS
   12607 fi
   12608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12609 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   12610 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12611 then :
   12612   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12613 else $as_nop
   12614 
   12615     lt_cv_dlopen=dyld
   12616     lt_cv_dlopen_libs=
   12617     lt_cv_dlopen_self=yes
   12618 
   12619 fi
   12620 
   12621     ;;
   12622 
   12623   tpf*)
   12624     # Don't try to run any link tests for TPF.  We know it's impossible
   12625     # because TPF is a cross-compiler, and we know how we open DSOs.
   12626     lt_cv_dlopen=dlopen
   12627     lt_cv_dlopen_libs=
   12628     lt_cv_dlopen_self=no
   12629     ;;
   12630 
   12631   *)
   12632     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   12633 if test "x$ac_cv_func_shl_load" = xyes
   12634 then :
   12635   lt_cv_dlopen=shl_load
   12636 else $as_nop
   12637   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   12638 printf %s "checking for shl_load in -ldld... " >&6; }
   12639 if test ${ac_cv_lib_dld_shl_load+y}
   12640 then :
   12641   printf %s "(cached) " >&6
   12642 else $as_nop
   12643   ac_check_lib_save_LIBS=$LIBS
   12644 LIBS="-ldld  $LIBS"
   12645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12646 /* end confdefs.h.  */
   12647 
   12648 /* Override any GCC internal prototype to avoid an error.
   12649    Use char because int might match the return type of a GCC
   12650    builtin and then its argument prototype would still apply.  */
   12651 char shl_load ();
   12652 int
   12653 main (void)
   12654 {
   12655 return shl_load ();
   12656   ;
   12657   return 0;
   12658 }
   12659 _ACEOF
   12660 if ac_fn_c_try_link "$LINENO"
   12661 then :
   12662   ac_cv_lib_dld_shl_load=yes
   12663 else $as_nop
   12664   ac_cv_lib_dld_shl_load=no
   12665 fi
   12666 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12667     conftest$ac_exeext conftest.$ac_ext
   12668 LIBS=$ac_check_lib_save_LIBS
   12669 fi
   12670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   12671 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
   12672 if test "x$ac_cv_lib_dld_shl_load" = xyes
   12673 then :
   12674   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   12675 else $as_nop
   12676   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   12677 if test "x$ac_cv_func_dlopen" = xyes
   12678 then :
   12679   lt_cv_dlopen=dlopen
   12680 else $as_nop
   12681   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12682 printf %s "checking for dlopen in -ldl... " >&6; }
   12683 if test ${ac_cv_lib_dl_dlopen+y}
   12684 then :
   12685   printf %s "(cached) " >&6
   12686 else $as_nop
   12687   ac_check_lib_save_LIBS=$LIBS
   12688 LIBS="-ldl  $LIBS"
   12689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12690 /* end confdefs.h.  */
   12691 
   12692 /* Override any GCC internal prototype to avoid an error.
   12693    Use char because int might match the return type of a GCC
   12694    builtin and then its argument prototype would still apply.  */
   12695 char dlopen ();
   12696 int
   12697 main (void)
   12698 {
   12699 return dlopen ();
   12700   ;
   12701   return 0;
   12702 }
   12703 _ACEOF
   12704 if ac_fn_c_try_link "$LINENO"
   12705 then :
   12706   ac_cv_lib_dl_dlopen=yes
   12707 else $as_nop
   12708   ac_cv_lib_dl_dlopen=no
   12709 fi
   12710 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12711     conftest$ac_exeext conftest.$ac_ext
   12712 LIBS=$ac_check_lib_save_LIBS
   12713 fi
   12714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12715 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
   12716 if test "x$ac_cv_lib_dl_dlopen" = xyes
   12717 then :
   12718   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   12719 else $as_nop
   12720   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   12721 printf %s "checking for dlopen in -lsvld... " >&6; }
   12722 if test ${ac_cv_lib_svld_dlopen+y}
   12723 then :
   12724   printf %s "(cached) " >&6
   12725 else $as_nop
   12726   ac_check_lib_save_LIBS=$LIBS
   12727 LIBS="-lsvld  $LIBS"
   12728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12729 /* end confdefs.h.  */
   12730 
   12731 /* Override any GCC internal prototype to avoid an error.
   12732    Use char because int might match the return type of a GCC
   12733    builtin and then its argument prototype would still apply.  */
   12734 char dlopen ();
   12735 int
   12736 main (void)
   12737 {
   12738 return dlopen ();
   12739   ;
   12740   return 0;
   12741 }
   12742 _ACEOF
   12743 if ac_fn_c_try_link "$LINENO"
   12744 then :
   12745   ac_cv_lib_svld_dlopen=yes
   12746 else $as_nop
   12747   ac_cv_lib_svld_dlopen=no
   12748 fi
   12749 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12750     conftest$ac_exeext conftest.$ac_ext
   12751 LIBS=$ac_check_lib_save_LIBS
   12752 fi
   12753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   12754 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
   12755 if test "x$ac_cv_lib_svld_dlopen" = xyes
   12756 then :
   12757   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   12758 else $as_nop
   12759   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   12760 printf %s "checking for dld_link in -ldld... " >&6; }
   12761 if test ${ac_cv_lib_dld_dld_link+y}
   12762 then :
   12763   printf %s "(cached) " >&6
   12764 else $as_nop
   12765   ac_check_lib_save_LIBS=$LIBS
   12766 LIBS="-ldld  $LIBS"
   12767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12768 /* end confdefs.h.  */
   12769 
   12770 /* Override any GCC internal prototype to avoid an error.
   12771    Use char because int might match the return type of a GCC
   12772    builtin and then its argument prototype would still apply.  */
   12773 char dld_link ();
   12774 int
   12775 main (void)
   12776 {
   12777 return dld_link ();
   12778   ;
   12779   return 0;
   12780 }
   12781 _ACEOF
   12782 if ac_fn_c_try_link "$LINENO"
   12783 then :
   12784   ac_cv_lib_dld_dld_link=yes
   12785 else $as_nop
   12786   ac_cv_lib_dld_dld_link=no
   12787 fi
   12788 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   12789     conftest$ac_exeext conftest.$ac_ext
   12790 LIBS=$ac_check_lib_save_LIBS
   12791 fi
   12792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   12793 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
   12794 if test "x$ac_cv_lib_dld_dld_link" = xyes
   12795 then :
   12796   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   12797 fi
   12798 
   12799 
   12800 fi
   12801 
   12802 
   12803 fi
   12804 
   12805 
   12806 fi
   12807 
   12808 
   12809 fi
   12810 
   12811 
   12812 fi
   12813 
   12814     ;;
   12815   esac
   12816 
   12817   if test no = "$lt_cv_dlopen"; then
   12818     enable_dlopen=no
   12819   else
   12820     enable_dlopen=yes
   12821   fi
   12822 
   12823   case $lt_cv_dlopen in
   12824   dlopen)
   12825     save_CPPFLAGS=$CPPFLAGS
   12826     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   12827 
   12828     save_LDFLAGS=$LDFLAGS
   12829     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   12830 
   12831     save_LIBS=$LIBS
   12832     LIBS="$lt_cv_dlopen_libs $LIBS"
   12833 
   12834     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   12835 printf %s "checking whether a program can dlopen itself... " >&6; }
   12836 if test ${lt_cv_dlopen_self+y}
   12837 then :
   12838   printf %s "(cached) " >&6
   12839 else $as_nop
   12840   	  if test yes = "$cross_compiling"; then :
   12841   lt_cv_dlopen_self=cross
   12842 else
   12843   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12844   lt_status=$lt_dlunknown
   12845   cat > conftest.$ac_ext <<_LT_EOF
   12846 #line $LINENO "configure"
   12847 #include "confdefs.h"
   12848 
   12849 #if HAVE_DLFCN_H
   12850 #include <dlfcn.h>
   12851 #endif
   12852 
   12853 #include <stdio.h>
   12854 
   12855 #ifdef RTLD_GLOBAL
   12856 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12857 #else
   12858 #  ifdef DL_GLOBAL
   12859 #    define LT_DLGLOBAL		DL_GLOBAL
   12860 #  else
   12861 #    define LT_DLGLOBAL		0
   12862 #  endif
   12863 #endif
   12864 
   12865 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12866    find out it does not work in some platform. */
   12867 #ifndef LT_DLLAZY_OR_NOW
   12868 #  ifdef RTLD_LAZY
   12869 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12870 #  else
   12871 #    ifdef DL_LAZY
   12872 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12873 #    else
   12874 #      ifdef RTLD_NOW
   12875 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12876 #      else
   12877 #        ifdef DL_NOW
   12878 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12879 #        else
   12880 #          define LT_DLLAZY_OR_NOW	0
   12881 #        endif
   12882 #      endif
   12883 #    endif
   12884 #  endif
   12885 #endif
   12886 
   12887 /* When -fvisibility=hidden is used, assume the code has been annotated
   12888    correspondingly for the symbols needed.  */
   12889 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12890 int fnord () __attribute__((visibility("default")));
   12891 #endif
   12892 
   12893 int fnord () { return 42; }
   12894 int main ()
   12895 {
   12896   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12897   int status = $lt_dlunknown;
   12898 
   12899   if (self)
   12900     {
   12901       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12902       else
   12903         {
   12904 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12905           else puts (dlerror ());
   12906 	}
   12907       /* dlclose (self); */
   12908     }
   12909   else
   12910     puts (dlerror ());
   12911 
   12912   return status;
   12913 }
   12914 _LT_EOF
   12915   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12916   (eval $ac_link) 2>&5
   12917   ac_status=$?
   12918   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12919   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12920     (./conftest; exit; ) >&5 2>/dev/null
   12921     lt_status=$?
   12922     case x$lt_status in
   12923       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   12924       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   12925       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   12926     esac
   12927   else :
   12928     # compilation failed
   12929     lt_cv_dlopen_self=no
   12930   fi
   12931 fi
   12932 rm -fr conftest*
   12933 
   12934 
   12935 fi
   12936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   12937 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
   12938 
   12939     if test yes = "$lt_cv_dlopen_self"; then
   12940       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   12941       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   12942 printf %s "checking whether a statically linked program can dlopen itself... " >&6; }
   12943 if test ${lt_cv_dlopen_self_static+y}
   12944 then :
   12945   printf %s "(cached) " >&6
   12946 else $as_nop
   12947   	  if test yes = "$cross_compiling"; then :
   12948   lt_cv_dlopen_self_static=cross
   12949 else
   12950   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12951   lt_status=$lt_dlunknown
   12952   cat > conftest.$ac_ext <<_LT_EOF
   12953 #line $LINENO "configure"
   12954 #include "confdefs.h"
   12955 
   12956 #if HAVE_DLFCN_H
   12957 #include <dlfcn.h>
   12958 #endif
   12959 
   12960 #include <stdio.h>
   12961 
   12962 #ifdef RTLD_GLOBAL
   12963 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12964 #else
   12965 #  ifdef DL_GLOBAL
   12966 #    define LT_DLGLOBAL		DL_GLOBAL
   12967 #  else
   12968 #    define LT_DLGLOBAL		0
   12969 #  endif
   12970 #endif
   12971 
   12972 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12973    find out it does not work in some platform. */
   12974 #ifndef LT_DLLAZY_OR_NOW
   12975 #  ifdef RTLD_LAZY
   12976 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12977 #  else
   12978 #    ifdef DL_LAZY
   12979 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12980 #    else
   12981 #      ifdef RTLD_NOW
   12982 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12983 #      else
   12984 #        ifdef DL_NOW
   12985 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12986 #        else
   12987 #          define LT_DLLAZY_OR_NOW	0
   12988 #        endif
   12989 #      endif
   12990 #    endif
   12991 #  endif
   12992 #endif
   12993 
   12994 /* When -fvisibility=hidden is used, assume the code has been annotated
   12995    correspondingly for the symbols needed.  */
   12996 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12997 int fnord () __attribute__((visibility("default")));
   12998 #endif
   12999 
   13000 int fnord () { return 42; }
   13001 int main ()
   13002 {
   13003   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   13004   int status = $lt_dlunknown;
   13005 
   13006   if (self)
   13007     {
   13008       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   13009       else
   13010         {
   13011 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   13012           else puts (dlerror ());
   13013 	}
   13014       /* dlclose (self); */
   13015     }
   13016   else
   13017     puts (dlerror ());
   13018 
   13019   return status;
   13020 }
   13021 _LT_EOF
   13022   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13023   (eval $ac_link) 2>&5
   13024   ac_status=$?
   13025   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13026   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   13027     (./conftest; exit; ) >&5 2>/dev/null
   13028     lt_status=$?
   13029     case x$lt_status in
   13030       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   13031       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   13032       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   13033     esac
   13034   else :
   13035     # compilation failed
   13036     lt_cv_dlopen_self_static=no
   13037   fi
   13038 fi
   13039 rm -fr conftest*
   13040 
   13041 
   13042 fi
   13043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   13044 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
   13045     fi
   13046 
   13047     CPPFLAGS=$save_CPPFLAGS
   13048     LDFLAGS=$save_LDFLAGS
   13049     LIBS=$save_LIBS
   13050     ;;
   13051   esac
   13052 
   13053   case $lt_cv_dlopen_self in
   13054   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   13055   *) enable_dlopen_self=unknown ;;
   13056   esac
   13057 
   13058   case $lt_cv_dlopen_self_static in
   13059   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   13060   *) enable_dlopen_self_static=unknown ;;
   13061   esac
   13062 fi
   13063 
   13064 
   13065 
   13066 
   13067 
   13068 
   13069 
   13070 
   13071 
   13072 
   13073 
   13074 
   13075 
   13076 
   13077 
   13078 
   13079 
   13080 striplib=
   13081 old_striplib=
   13082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   13083 printf %s "checking whether stripping libraries is possible... " >&6; }
   13084 if test -z "$STRIP"; then
   13085   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13086 printf "%s\n" "no" >&6; }
   13087 else
   13088   if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   13089     old_striplib="$STRIP --strip-debug"
   13090     striplib="$STRIP --strip-unneeded"
   13091     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13092 printf "%s\n" "yes" >&6; }
   13093   else
   13094     case $host_os in
   13095     darwin*)
   13096       # FIXME - insert some real tests, host_os isn't really good enough
   13097       striplib="$STRIP -x"
   13098       old_striplib="$STRIP -S"
   13099       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13100 printf "%s\n" "yes" >&6; }
   13101       ;;
   13102     freebsd*)
   13103       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
   13104         old_striplib="$STRIP --strip-debug"
   13105         striplib="$STRIP --strip-unneeded"
   13106         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13107 printf "%s\n" "yes" >&6; }
   13108       else
   13109         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13110 printf "%s\n" "no" >&6; }
   13111       fi
   13112       ;;
   13113     *)
   13114       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13115 printf "%s\n" "no" >&6; }
   13116       ;;
   13117     esac
   13118   fi
   13119 fi
   13120 
   13121 
   13122 
   13123 
   13124 
   13125 
   13126 
   13127 
   13128 
   13129 
   13130 
   13131 
   13132   # Report what library types will actually be built
   13133   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   13134 printf %s "checking if libtool supports shared libraries... " >&6; }
   13135   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   13136 printf "%s\n" "$can_build_shared" >&6; }
   13137 
   13138   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   13139 printf %s "checking whether to build shared libraries... " >&6; }
   13140   test no = "$can_build_shared" && enable_shared=no
   13141 
   13142   # On AIX, shared libraries and static libraries use the same namespace, and
   13143   # are all built from PIC.
   13144   case $host_os in
   13145   aix3*)
   13146     test yes = "$enable_shared" && enable_static=no
   13147     if test -n "$RANLIB"; then
   13148       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   13149       postinstall_cmds='$RANLIB $lib'
   13150     fi
   13151     ;;
   13152 
   13153   aix[4-9]*)
   13154     if test ia64 != "$host_cpu"; then
   13155       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   13156       yes,aix,yes) ;;			# shared object as lib.so file only
   13157       yes,svr4,*) ;;			# shared object as lib.so archive member only
   13158       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   13159       esac
   13160     fi
   13161     ;;
   13162   esac
   13163   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   13164 printf "%s\n" "$enable_shared" >&6; }
   13165 
   13166   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   13167 printf %s "checking whether to build static libraries... " >&6; }
   13168   # Make sure either enable_shared or enable_static is yes.
   13169   test yes = "$enable_shared" || enable_static=yes
   13170   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   13171 printf "%s\n" "$enable_static" >&6; }
   13172 
   13173 
   13174 
   13175 
   13176 fi
   13177 ac_ext=c
   13178 ac_cpp='$CPP $CPPFLAGS'
   13179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13182 
   13183 CC=$lt_save_CC
   13184 
   13185 
   13186 
   13187 
   13188 
   13189 
   13190 
   13191 
   13192 
   13193 
   13194 
   13195 
   13196 
   13197 
   13198 
   13199         ac_config_commands="$ac_config_commands libtool"
   13200 
   13201 
   13202 
   13203 
   13204 # Only expand once:
   13205 
   13206 
   13207 
   13208 # Check whether --enable-largefile was given.
   13209 if test ${enable_largefile+y}
   13210 then :
   13211   enableval=$enable_largefile;
   13212 fi
   13213 
   13214 if test "$enable_largefile" != no; then
   13215 
   13216   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
   13217 printf %s "checking for special C compiler options needed for large files... " >&6; }
   13218 if test ${ac_cv_sys_largefile_CC+y}
   13219 then :
   13220   printf %s "(cached) " >&6
   13221 else $as_nop
   13222   ac_cv_sys_largefile_CC=no
   13223      if test "$GCC" != yes; then
   13224        ac_save_CC=$CC
   13225        while :; do
   13226 	 # IRIX 6.2 and later do not support large files by default,
   13227 	 # so use the C compiler's -n32 option if that helps.
   13228 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13229 /* end confdefs.h.  */
   13230 #include <sys/types.h>
   13231  /* Check that off_t can represent 2**63 - 1 correctly.
   13232     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   13233     since some C++ compilers masquerading as C compilers
   13234     incorrectly reject 9223372036854775807.  */
   13235 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
   13236   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   13237 		       && LARGE_OFF_T % 2147483647 == 1)
   13238 		      ? 1 : -1];
   13239 int
   13240 main (void)
   13241 {
   13242 
   13243   ;
   13244   return 0;
   13245 }
   13246 _ACEOF
   13247 	 if ac_fn_c_try_compile "$LINENO"
   13248 then :
   13249   break
   13250 fi
   13251 rm -f core conftest.err conftest.$ac_objext conftest.beam
   13252 	 CC="$CC -n32"
   13253 	 if ac_fn_c_try_compile "$LINENO"
   13254 then :
   13255   ac_cv_sys_largefile_CC=' -n32'; break
   13256 fi
   13257 rm -f core conftest.err conftest.$ac_objext conftest.beam
   13258 	 break
   13259        done
   13260        CC=$ac_save_CC
   13261        rm -f conftest.$ac_ext
   13262     fi
   13263 fi
   13264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
   13265 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
   13266   if test "$ac_cv_sys_largefile_CC" != no; then
   13267     CC=$CC$ac_cv_sys_largefile_CC
   13268   fi
   13269 
   13270   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
   13271 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
   13272 if test ${ac_cv_sys_file_offset_bits+y}
   13273 then :
   13274   printf %s "(cached) " >&6
   13275 else $as_nop
   13276   while :; do
   13277   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13278 /* end confdefs.h.  */
   13279 #include <sys/types.h>
   13280  /* Check that off_t can represent 2**63 - 1 correctly.
   13281     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   13282     since some C++ compilers masquerading as C compilers
   13283     incorrectly reject 9223372036854775807.  */
   13284 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
   13285   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   13286 		       && LARGE_OFF_T % 2147483647 == 1)
   13287 		      ? 1 : -1];
   13288 int
   13289 main (void)
   13290 {
   13291 
   13292   ;
   13293   return 0;
   13294 }
   13295 _ACEOF
   13296 if ac_fn_c_try_compile "$LINENO"
   13297 then :
   13298   ac_cv_sys_file_offset_bits=no; break
   13299 fi
   13300 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13301   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13302 /* end confdefs.h.  */
   13303 #define _FILE_OFFSET_BITS 64
   13304 #include <sys/types.h>
   13305  /* Check that off_t can represent 2**63 - 1 correctly.
   13306     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   13307     since some C++ compilers masquerading as C compilers
   13308     incorrectly reject 9223372036854775807.  */
   13309 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
   13310   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   13311 		       && LARGE_OFF_T % 2147483647 == 1)
   13312 		      ? 1 : -1];
   13313 int
   13314 main (void)
   13315 {
   13316 
   13317   ;
   13318   return 0;
   13319 }
   13320 _ACEOF
   13321 if ac_fn_c_try_compile "$LINENO"
   13322 then :
   13323   ac_cv_sys_file_offset_bits=64; break
   13324 fi
   13325 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13326   ac_cv_sys_file_offset_bits=unknown
   13327   break
   13328 done
   13329 fi
   13330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
   13331 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
   13332 case $ac_cv_sys_file_offset_bits in #(
   13333   no | unknown) ;;
   13334   *)
   13335 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
   13336 ;;
   13337 esac
   13338 rm -rf conftest*
   13339   if test $ac_cv_sys_file_offset_bits = unknown; then
   13340     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
   13341 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
   13342 if test ${ac_cv_sys_large_files+y}
   13343 then :
   13344   printf %s "(cached) " >&6
   13345 else $as_nop
   13346   while :; do
   13347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13348 /* end confdefs.h.  */
   13349 #include <sys/types.h>
   13350  /* Check that off_t can represent 2**63 - 1 correctly.
   13351     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   13352     since some C++ compilers masquerading as C compilers
   13353     incorrectly reject 9223372036854775807.  */
   13354 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
   13355   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   13356 		       && LARGE_OFF_T % 2147483647 == 1)
   13357 		      ? 1 : -1];
   13358 int
   13359 main (void)
   13360 {
   13361 
   13362   ;
   13363   return 0;
   13364 }
   13365 _ACEOF
   13366 if ac_fn_c_try_compile "$LINENO"
   13367 then :
   13368   ac_cv_sys_large_files=no; break
   13369 fi
   13370 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13371   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13372 /* end confdefs.h.  */
   13373 #define _LARGE_FILES 1
   13374 #include <sys/types.h>
   13375  /* Check that off_t can represent 2**63 - 1 correctly.
   13376     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   13377     since some C++ compilers masquerading as C compilers
   13378     incorrectly reject 9223372036854775807.  */
   13379 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
   13380   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   13381 		       && LARGE_OFF_T % 2147483647 == 1)
   13382 		      ? 1 : -1];
   13383 int
   13384 main (void)
   13385 {
   13386 
   13387   ;
   13388   return 0;
   13389 }
   13390 _ACEOF
   13391 if ac_fn_c_try_compile "$LINENO"
   13392 then :
   13393   ac_cv_sys_large_files=1; break
   13394 fi
   13395 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13396   ac_cv_sys_large_files=unknown
   13397   break
   13398 done
   13399 fi
   13400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
   13401 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
   13402 case $ac_cv_sys_large_files in #(
   13403   no | unknown) ;;
   13404   *)
   13405 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
   13406 ;;
   13407 esac
   13408 rm -rf conftest*
   13409   fi
   13410 fi
   13411 
   13412 
   13413 # Require xorg-macros minimum of 1.15 for fop minimum version
   13414 
   13415 
   13416 
   13417 
   13418 
   13419 
   13420 
   13421 
   13422 
   13423 
   13424 
   13425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   13426 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   13427 if test ${ac_cv_c_undeclared_builtin_options+y}
   13428 then :
   13429   printf %s "(cached) " >&6
   13430 else $as_nop
   13431   ac_save_CFLAGS=$CFLAGS
   13432    ac_cv_c_undeclared_builtin_options='cannot detect'
   13433    for ac_arg in '' -fno-builtin; do
   13434      CFLAGS="$ac_save_CFLAGS $ac_arg"
   13435      # This test program should *not* compile successfully.
   13436      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13437 /* end confdefs.h.  */
   13438 
   13439 int
   13440 main (void)
   13441 {
   13442 (void) strchr;
   13443   ;
   13444   return 0;
   13445 }
   13446 _ACEOF
   13447 if ac_fn_c_try_compile "$LINENO"
   13448 then :
   13449 
   13450 else $as_nop
   13451   # This test program should compile successfully.
   13452         # No library function is consistently available on
   13453         # freestanding implementations, so test against a dummy
   13454         # declaration.  Include always-available headers on the
   13455         # off chance that they somehow elicit warnings.
   13456         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13457 /* end confdefs.h.  */
   13458 #include <float.h>
   13459 #include <limits.h>
   13460 #include <stdarg.h>
   13461 #include <stddef.h>
   13462 extern void ac_decl (int, char *);
   13463 
   13464 int
   13465 main (void)
   13466 {
   13467 (void) ac_decl (0, (char *) 0);
   13468   (void) ac_decl;
   13469 
   13470   ;
   13471   return 0;
   13472 }
   13473 _ACEOF
   13474 if ac_fn_c_try_compile "$LINENO"
   13475 then :
   13476   if test x"$ac_arg" = x
   13477 then :
   13478   ac_cv_c_undeclared_builtin_options='none needed'
   13479 else $as_nop
   13480   ac_cv_c_undeclared_builtin_options=$ac_arg
   13481 fi
   13482           break
   13483 fi
   13484 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13485 fi
   13486 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13487     done
   13488     CFLAGS=$ac_save_CFLAGS
   13489 
   13490 fi
   13491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   13492 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   13493   case $ac_cv_c_undeclared_builtin_options in #(
   13494   'cannot detect') :
   13495     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   13496 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   13497 as_fn_error $? "cannot make $CC report undeclared builtins
   13498 See \`config.log' for more details" "$LINENO" 5; } ;; #(
   13499   'none needed') :
   13500     ac_c_undeclared_builtin_options='' ;; #(
   13501   *) :
   13502     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   13503 esac
   13504 
   13505 
   13506 
   13507 
   13508 
   13509 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   13510 if test "x$ac_cv_have_decl___clang__" = xyes
   13511 then :
   13512   CLANGCC="yes"
   13513 else $as_nop
   13514   CLANGCC="no"
   13515 fi
   13516 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   13517 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   13518 then :
   13519   INTELCC="yes"
   13520 else $as_nop
   13521   INTELCC="no"
   13522 fi
   13523 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   13524 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   13525 then :
   13526   SUNCC="yes"
   13527 else $as_nop
   13528   SUNCC="no"
   13529 fi
   13530 
   13531 
   13532 
   13533 
   13534 
   13535 
   13536 
   13537 
   13538 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   13539 	if test -n "$ac_tool_prefix"; then
   13540   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   13541 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   13542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13543 printf %s "checking for $ac_word... " >&6; }
   13544 if test ${ac_cv_path_PKG_CONFIG+y}
   13545 then :
   13546   printf %s "(cached) " >&6
   13547 else $as_nop
   13548   case $PKG_CONFIG in
   13549   [\\/]* | ?:[\\/]*)
   13550   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   13551   ;;
   13552   *)
   13553   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13554 for as_dir in $PATH
   13555 do
   13556   IFS=$as_save_IFS
   13557   case $as_dir in #(((
   13558     '') as_dir=./ ;;
   13559     */) ;;
   13560     *) as_dir=$as_dir/ ;;
   13561   esac
   13562     for ac_exec_ext in '' $ac_executable_extensions; do
   13563   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13564     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   13565     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13566     break 2
   13567   fi
   13568 done
   13569   done
   13570 IFS=$as_save_IFS
   13571 
   13572   ;;
   13573 esac
   13574 fi
   13575 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   13576 if test -n "$PKG_CONFIG"; then
   13577   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   13578 printf "%s\n" "$PKG_CONFIG" >&6; }
   13579 else
   13580   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13581 printf "%s\n" "no" >&6; }
   13582 fi
   13583 
   13584 
   13585 fi
   13586 if test -z "$ac_cv_path_PKG_CONFIG"; then
   13587   ac_pt_PKG_CONFIG=$PKG_CONFIG
   13588   # Extract the first word of "pkg-config", so it can be a program name with args.
   13589 set dummy pkg-config; ac_word=$2
   13590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13591 printf %s "checking for $ac_word... " >&6; }
   13592 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   13593 then :
   13594   printf %s "(cached) " >&6
   13595 else $as_nop
   13596   case $ac_pt_PKG_CONFIG in
   13597   [\\/]* | ?:[\\/]*)
   13598   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   13599   ;;
   13600   *)
   13601   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13602 for as_dir in $PATH
   13603 do
   13604   IFS=$as_save_IFS
   13605   case $as_dir in #(((
   13606     '') as_dir=./ ;;
   13607     */) ;;
   13608     *) as_dir=$as_dir/ ;;
   13609   esac
   13610     for ac_exec_ext in '' $ac_executable_extensions; do
   13611   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   13612     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   13613     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   13614     break 2
   13615   fi
   13616 done
   13617   done
   13618 IFS=$as_save_IFS
   13619 
   13620   ;;
   13621 esac
   13622 fi
   13623 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   13624 if test -n "$ac_pt_PKG_CONFIG"; then
   13625   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   13626 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   13627 else
   13628   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13629 printf "%s\n" "no" >&6; }
   13630 fi
   13631 
   13632   if test "x$ac_pt_PKG_CONFIG" = x; then
   13633     PKG_CONFIG=""
   13634   else
   13635     case $cross_compiling:$ac_tool_warned in
   13636 yes:)
   13637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13638 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13639 ac_tool_warned=yes ;;
   13640 esac
   13641     PKG_CONFIG=$ac_pt_PKG_CONFIG
   13642   fi
   13643 else
   13644   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   13645 fi
   13646 
   13647 fi
   13648 if test -n "$PKG_CONFIG"; then
   13649 	_pkg_min_version=0.9.0
   13650 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   13651 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   13652 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   13653 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13654 printf "%s\n" "yes" >&6; }
   13655 	else
   13656 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13657 printf "%s\n" "no" >&6; }
   13658 		PKG_CONFIG=""
   13659 	fi
   13660 fi
   13661 
   13662 
   13663 
   13664 
   13665 
   13666 # Check whether --enable-selective-werror was given.
   13667 if test ${enable_selective_werror+y}
   13668 then :
   13669   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   13670 else $as_nop
   13671   SELECTIVE_WERROR=yes
   13672 fi
   13673 
   13674 
   13675 
   13676 
   13677 
   13678 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   13679 if test "x$SUNCC" = "xyes"; then
   13680     BASE_CFLAGS="-v"
   13681 else
   13682     BASE_CFLAGS=""
   13683 fi
   13684 
   13685 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   13686 
   13687 
   13688 
   13689 
   13690 
   13691 
   13692 
   13693 
   13694 
   13695 
   13696 
   13697 
   13698 
   13699 xorg_testset_save_CFLAGS="$CFLAGS"
   13700 
   13701 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13702 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13703 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13704 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13705 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13706 then :
   13707   printf %s "(cached) " >&6
   13708 else $as_nop
   13709   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13710 /* end confdefs.h.  */
   13711 int i;
   13712 _ACEOF
   13713 if ac_fn_c_try_compile "$LINENO"
   13714 then :
   13715   xorg_cv_cc_flag_unknown_warning_option=yes
   13716 else $as_nop
   13717   xorg_cv_cc_flag_unknown_warning_option=no
   13718 fi
   13719 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13720 fi
   13721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13722 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13723 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13724 	CFLAGS="$xorg_testset_save_CFLAGS"
   13725 fi
   13726 
   13727 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13728 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13729 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13730 	fi
   13731 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13732 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13733 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13734 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13735 then :
   13736   printf %s "(cached) " >&6
   13737 else $as_nop
   13738   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13739 /* end confdefs.h.  */
   13740 int i;
   13741 _ACEOF
   13742 if ac_fn_c_try_compile "$LINENO"
   13743 then :
   13744   xorg_cv_cc_flag_unused_command_line_argument=yes
   13745 else $as_nop
   13746   xorg_cv_cc_flag_unused_command_line_argument=no
   13747 fi
   13748 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13749 fi
   13750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13751 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13752 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13753 	CFLAGS="$xorg_testset_save_CFLAGS"
   13754 fi
   13755 
   13756 found="no"
   13757 
   13758 	if test $found = "no" ; then
   13759 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13760 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13761 		fi
   13762 
   13763 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13764 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13765 		fi
   13766 
   13767 		CFLAGS="$CFLAGS -Wall"
   13768 
   13769 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   13770 printf %s "checking if $CC supports -Wall... " >&6; }
   13771 		cacheid=xorg_cv_cc_flag__Wall
   13772 		if eval test \${$cacheid+y}
   13773 then :
   13774   printf %s "(cached) " >&6
   13775 else $as_nop
   13776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13777 /* end confdefs.h.  */
   13778 int i;
   13779 int
   13780 main (void)
   13781 {
   13782 
   13783   ;
   13784   return 0;
   13785 }
   13786 _ACEOF
   13787 if ac_fn_c_try_link "$LINENO"
   13788 then :
   13789   eval $cacheid=yes
   13790 else $as_nop
   13791   eval $cacheid=no
   13792 fi
   13793 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13794     conftest$ac_exeext conftest.$ac_ext
   13795 fi
   13796 
   13797 
   13798 		CFLAGS="$xorg_testset_save_CFLAGS"
   13799 
   13800 		eval supported=\$$cacheid
   13801 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13802 printf "%s\n" "$supported" >&6; }
   13803 		if test "$supported" = "yes" ; then
   13804 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   13805 			found="yes"
   13806 		fi
   13807 	fi
   13808 
   13809 
   13810 
   13811 
   13812 
   13813 
   13814 
   13815 
   13816 
   13817 
   13818 
   13819 
   13820 
   13821 
   13822 
   13823 xorg_testset_save_CFLAGS="$CFLAGS"
   13824 
   13825 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13826 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13827 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13828 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13829 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13830 then :
   13831   printf %s "(cached) " >&6
   13832 else $as_nop
   13833   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13834 /* end confdefs.h.  */
   13835 int i;
   13836 _ACEOF
   13837 if ac_fn_c_try_compile "$LINENO"
   13838 then :
   13839   xorg_cv_cc_flag_unknown_warning_option=yes
   13840 else $as_nop
   13841   xorg_cv_cc_flag_unknown_warning_option=no
   13842 fi
   13843 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13844 fi
   13845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13846 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13847 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13848 	CFLAGS="$xorg_testset_save_CFLAGS"
   13849 fi
   13850 
   13851 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13852 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13853 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13854 	fi
   13855 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13856 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13857 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13858 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13859 then :
   13860   printf %s "(cached) " >&6
   13861 else $as_nop
   13862   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13863 /* end confdefs.h.  */
   13864 int i;
   13865 _ACEOF
   13866 if ac_fn_c_try_compile "$LINENO"
   13867 then :
   13868   xorg_cv_cc_flag_unused_command_line_argument=yes
   13869 else $as_nop
   13870   xorg_cv_cc_flag_unused_command_line_argument=no
   13871 fi
   13872 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13873 fi
   13874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13875 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13876 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13877 	CFLAGS="$xorg_testset_save_CFLAGS"
   13878 fi
   13879 
   13880 found="no"
   13881 
   13882 	if test $found = "no" ; then
   13883 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13884 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13885 		fi
   13886 
   13887 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13888 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13889 		fi
   13890 
   13891 		CFLAGS="$CFLAGS -Wpointer-arith"
   13892 
   13893 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   13894 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   13895 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   13896 		if eval test \${$cacheid+y}
   13897 then :
   13898   printf %s "(cached) " >&6
   13899 else $as_nop
   13900   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13901 /* end confdefs.h.  */
   13902 int i;
   13903 int
   13904 main (void)
   13905 {
   13906 
   13907   ;
   13908   return 0;
   13909 }
   13910 _ACEOF
   13911 if ac_fn_c_try_link "$LINENO"
   13912 then :
   13913   eval $cacheid=yes
   13914 else $as_nop
   13915   eval $cacheid=no
   13916 fi
   13917 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   13918     conftest$ac_exeext conftest.$ac_ext
   13919 fi
   13920 
   13921 
   13922 		CFLAGS="$xorg_testset_save_CFLAGS"
   13923 
   13924 		eval supported=\$$cacheid
   13925 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13926 printf "%s\n" "$supported" >&6; }
   13927 		if test "$supported" = "yes" ; then
   13928 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   13929 			found="yes"
   13930 		fi
   13931 	fi
   13932 
   13933 
   13934 
   13935 
   13936 
   13937 
   13938 
   13939 
   13940 
   13941 
   13942 
   13943 
   13944 
   13945 
   13946 
   13947 xorg_testset_save_CFLAGS="$CFLAGS"
   13948 
   13949 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13950 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13951 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13952 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13953 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   13954 then :
   13955   printf %s "(cached) " >&6
   13956 else $as_nop
   13957   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13958 /* end confdefs.h.  */
   13959 int i;
   13960 _ACEOF
   13961 if ac_fn_c_try_compile "$LINENO"
   13962 then :
   13963   xorg_cv_cc_flag_unknown_warning_option=yes
   13964 else $as_nop
   13965   xorg_cv_cc_flag_unknown_warning_option=no
   13966 fi
   13967 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13968 fi
   13969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13970 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13971 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13972 	CFLAGS="$xorg_testset_save_CFLAGS"
   13973 fi
   13974 
   13975 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13976 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13977 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13978 	fi
   13979 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13980 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13981 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13982 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   13983 then :
   13984   printf %s "(cached) " >&6
   13985 else $as_nop
   13986   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13987 /* end confdefs.h.  */
   13988 int i;
   13989 _ACEOF
   13990 if ac_fn_c_try_compile "$LINENO"
   13991 then :
   13992   xorg_cv_cc_flag_unused_command_line_argument=yes
   13993 else $as_nop
   13994   xorg_cv_cc_flag_unused_command_line_argument=no
   13995 fi
   13996 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   13997 fi
   13998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13999 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14000 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14001 	CFLAGS="$xorg_testset_save_CFLAGS"
   14002 fi
   14003 
   14004 found="no"
   14005 
   14006 	if test $found = "no" ; then
   14007 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14008 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14009 		fi
   14010 
   14011 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14012 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14013 		fi
   14014 
   14015 		CFLAGS="$CFLAGS -Wmissing-declarations"
   14016 
   14017 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   14018 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   14019 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   14020 		if eval test \${$cacheid+y}
   14021 then :
   14022   printf %s "(cached) " >&6
   14023 else $as_nop
   14024   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14025 /* end confdefs.h.  */
   14026 int i;
   14027 int
   14028 main (void)
   14029 {
   14030 
   14031   ;
   14032   return 0;
   14033 }
   14034 _ACEOF
   14035 if ac_fn_c_try_link "$LINENO"
   14036 then :
   14037   eval $cacheid=yes
   14038 else $as_nop
   14039   eval $cacheid=no
   14040 fi
   14041 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14042     conftest$ac_exeext conftest.$ac_ext
   14043 fi
   14044 
   14045 
   14046 		CFLAGS="$xorg_testset_save_CFLAGS"
   14047 
   14048 		eval supported=\$$cacheid
   14049 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14050 printf "%s\n" "$supported" >&6; }
   14051 		if test "$supported" = "yes" ; then
   14052 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   14053 			found="yes"
   14054 		fi
   14055 	fi
   14056 
   14057 
   14058 
   14059 
   14060 
   14061 
   14062 
   14063 
   14064 
   14065 
   14066 
   14067 
   14068 
   14069 
   14070 
   14071 xorg_testset_save_CFLAGS="$CFLAGS"
   14072 
   14073 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14074 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14075 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14076 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14077 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14078 then :
   14079   printf %s "(cached) " >&6
   14080 else $as_nop
   14081   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14082 /* end confdefs.h.  */
   14083 int i;
   14084 _ACEOF
   14085 if ac_fn_c_try_compile "$LINENO"
   14086 then :
   14087   xorg_cv_cc_flag_unknown_warning_option=yes
   14088 else $as_nop
   14089   xorg_cv_cc_flag_unknown_warning_option=no
   14090 fi
   14091 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14092 fi
   14093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14094 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14095 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14096 	CFLAGS="$xorg_testset_save_CFLAGS"
   14097 fi
   14098 
   14099 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14100 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14101 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14102 	fi
   14103 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14104 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14105 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14106 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14107 then :
   14108   printf %s "(cached) " >&6
   14109 else $as_nop
   14110   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14111 /* end confdefs.h.  */
   14112 int i;
   14113 _ACEOF
   14114 if ac_fn_c_try_compile "$LINENO"
   14115 then :
   14116   xorg_cv_cc_flag_unused_command_line_argument=yes
   14117 else $as_nop
   14118   xorg_cv_cc_flag_unused_command_line_argument=no
   14119 fi
   14120 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14121 fi
   14122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14123 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14124 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14125 	CFLAGS="$xorg_testset_save_CFLAGS"
   14126 fi
   14127 
   14128 found="no"
   14129 
   14130 	if test $found = "no" ; then
   14131 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14132 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14133 		fi
   14134 
   14135 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14136 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14137 		fi
   14138 
   14139 		CFLAGS="$CFLAGS -Wformat=2"
   14140 
   14141 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   14142 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   14143 		cacheid=xorg_cv_cc_flag__Wformat_2
   14144 		if eval test \${$cacheid+y}
   14145 then :
   14146   printf %s "(cached) " >&6
   14147 else $as_nop
   14148   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14149 /* end confdefs.h.  */
   14150 int i;
   14151 int
   14152 main (void)
   14153 {
   14154 
   14155   ;
   14156   return 0;
   14157 }
   14158 _ACEOF
   14159 if ac_fn_c_try_link "$LINENO"
   14160 then :
   14161   eval $cacheid=yes
   14162 else $as_nop
   14163   eval $cacheid=no
   14164 fi
   14165 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14166     conftest$ac_exeext conftest.$ac_ext
   14167 fi
   14168 
   14169 
   14170 		CFLAGS="$xorg_testset_save_CFLAGS"
   14171 
   14172 		eval supported=\$$cacheid
   14173 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14174 printf "%s\n" "$supported" >&6; }
   14175 		if test "$supported" = "yes" ; then
   14176 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   14177 			found="yes"
   14178 		fi
   14179 	fi
   14180 
   14181 	if test $found = "no" ; then
   14182 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14183 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14184 		fi
   14185 
   14186 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14187 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14188 		fi
   14189 
   14190 		CFLAGS="$CFLAGS -Wformat"
   14191 
   14192 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   14193 printf %s "checking if $CC supports -Wformat... " >&6; }
   14194 		cacheid=xorg_cv_cc_flag__Wformat
   14195 		if eval test \${$cacheid+y}
   14196 then :
   14197   printf %s "(cached) " >&6
   14198 else $as_nop
   14199   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14200 /* end confdefs.h.  */
   14201 int i;
   14202 int
   14203 main (void)
   14204 {
   14205 
   14206   ;
   14207   return 0;
   14208 }
   14209 _ACEOF
   14210 if ac_fn_c_try_link "$LINENO"
   14211 then :
   14212   eval $cacheid=yes
   14213 else $as_nop
   14214   eval $cacheid=no
   14215 fi
   14216 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14217     conftest$ac_exeext conftest.$ac_ext
   14218 fi
   14219 
   14220 
   14221 		CFLAGS="$xorg_testset_save_CFLAGS"
   14222 
   14223 		eval supported=\$$cacheid
   14224 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14225 printf "%s\n" "$supported" >&6; }
   14226 		if test "$supported" = "yes" ; then
   14227 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   14228 			found="yes"
   14229 		fi
   14230 	fi
   14231 
   14232 
   14233 
   14234 
   14235 
   14236 
   14237 
   14238 
   14239 
   14240 
   14241 
   14242 
   14243 
   14244 
   14245 
   14246 
   14247 
   14248 xorg_testset_save_CFLAGS="$CFLAGS"
   14249 
   14250 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14251 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14252 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14253 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14254 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14255 then :
   14256   printf %s "(cached) " >&6
   14257 else $as_nop
   14258   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14259 /* end confdefs.h.  */
   14260 int i;
   14261 _ACEOF
   14262 if ac_fn_c_try_compile "$LINENO"
   14263 then :
   14264   xorg_cv_cc_flag_unknown_warning_option=yes
   14265 else $as_nop
   14266   xorg_cv_cc_flag_unknown_warning_option=no
   14267 fi
   14268 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14269 fi
   14270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14271 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14272 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14273 	CFLAGS="$xorg_testset_save_CFLAGS"
   14274 fi
   14275 
   14276 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14277 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14278 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14279 	fi
   14280 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14281 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14282 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14283 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14284 then :
   14285   printf %s "(cached) " >&6
   14286 else $as_nop
   14287   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14288 /* end confdefs.h.  */
   14289 int i;
   14290 _ACEOF
   14291 if ac_fn_c_try_compile "$LINENO"
   14292 then :
   14293   xorg_cv_cc_flag_unused_command_line_argument=yes
   14294 else $as_nop
   14295   xorg_cv_cc_flag_unused_command_line_argument=no
   14296 fi
   14297 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14298 fi
   14299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14300 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14301 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14302 	CFLAGS="$xorg_testset_save_CFLAGS"
   14303 fi
   14304 
   14305 found="no"
   14306 
   14307 	if test $found = "no" ; then
   14308 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14309 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14310 		fi
   14311 
   14312 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14313 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14314 		fi
   14315 
   14316 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   14317 
   14318 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   14319 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   14320 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   14321 		if eval test \${$cacheid+y}
   14322 then :
   14323   printf %s "(cached) " >&6
   14324 else $as_nop
   14325   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14326 /* end confdefs.h.  */
   14327 int i;
   14328 int
   14329 main (void)
   14330 {
   14331 
   14332   ;
   14333   return 0;
   14334 }
   14335 _ACEOF
   14336 if ac_fn_c_try_link "$LINENO"
   14337 then :
   14338   eval $cacheid=yes
   14339 else $as_nop
   14340   eval $cacheid=no
   14341 fi
   14342 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14343     conftest$ac_exeext conftest.$ac_ext
   14344 fi
   14345 
   14346 
   14347 		CFLAGS="$xorg_testset_save_CFLAGS"
   14348 
   14349 		eval supported=\$$cacheid
   14350 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14351 printf "%s\n" "$supported" >&6; }
   14352 		if test "$supported" = "yes" ; then
   14353 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   14354 			found="yes"
   14355 		fi
   14356 	fi
   14357 
   14358 
   14359 
   14360 
   14361 
   14362 
   14363 
   14364 
   14365 
   14366 
   14367 
   14368 
   14369 
   14370 
   14371 
   14372 xorg_testset_save_CFLAGS="$CFLAGS"
   14373 
   14374 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14375 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14376 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14377 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14378 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14379 then :
   14380   printf %s "(cached) " >&6
   14381 else $as_nop
   14382   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14383 /* end confdefs.h.  */
   14384 int i;
   14385 _ACEOF
   14386 if ac_fn_c_try_compile "$LINENO"
   14387 then :
   14388   xorg_cv_cc_flag_unknown_warning_option=yes
   14389 else $as_nop
   14390   xorg_cv_cc_flag_unknown_warning_option=no
   14391 fi
   14392 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14393 fi
   14394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14395 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14396 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14397 	CFLAGS="$xorg_testset_save_CFLAGS"
   14398 fi
   14399 
   14400 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14401 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14402 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14403 	fi
   14404 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14405 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14406 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14407 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14408 then :
   14409   printf %s "(cached) " >&6
   14410 else $as_nop
   14411   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14412 /* end confdefs.h.  */
   14413 int i;
   14414 _ACEOF
   14415 if ac_fn_c_try_compile "$LINENO"
   14416 then :
   14417   xorg_cv_cc_flag_unused_command_line_argument=yes
   14418 else $as_nop
   14419   xorg_cv_cc_flag_unused_command_line_argument=no
   14420 fi
   14421 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14422 fi
   14423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14424 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14425 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14426 	CFLAGS="$xorg_testset_save_CFLAGS"
   14427 fi
   14428 
   14429 found="no"
   14430 
   14431 	if test $found = "no" ; then
   14432 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14433 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14434 		fi
   14435 
   14436 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14437 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14438 		fi
   14439 
   14440 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   14441 
   14442 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   14443 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   14444 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   14445 		if eval test \${$cacheid+y}
   14446 then :
   14447   printf %s "(cached) " >&6
   14448 else $as_nop
   14449   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14450 /* end confdefs.h.  */
   14451 int i;
   14452 int
   14453 main (void)
   14454 {
   14455 
   14456   ;
   14457   return 0;
   14458 }
   14459 _ACEOF
   14460 if ac_fn_c_try_link "$LINENO"
   14461 then :
   14462   eval $cacheid=yes
   14463 else $as_nop
   14464   eval $cacheid=no
   14465 fi
   14466 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14467     conftest$ac_exeext conftest.$ac_ext
   14468 fi
   14469 
   14470 
   14471 		CFLAGS="$xorg_testset_save_CFLAGS"
   14472 
   14473 		eval supported=\$$cacheid
   14474 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14475 printf "%s\n" "$supported" >&6; }
   14476 		if test "$supported" = "yes" ; then
   14477 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   14478 			found="yes"
   14479 		fi
   14480 	fi
   14481 
   14482 
   14483 
   14484 
   14485 
   14486 
   14487 
   14488 
   14489 
   14490 
   14491 
   14492 
   14493 
   14494 
   14495 
   14496 xorg_testset_save_CFLAGS="$CFLAGS"
   14497 
   14498 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14499 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14500 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14501 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14502 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14503 then :
   14504   printf %s "(cached) " >&6
   14505 else $as_nop
   14506   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14507 /* end confdefs.h.  */
   14508 int i;
   14509 _ACEOF
   14510 if ac_fn_c_try_compile "$LINENO"
   14511 then :
   14512   xorg_cv_cc_flag_unknown_warning_option=yes
   14513 else $as_nop
   14514   xorg_cv_cc_flag_unknown_warning_option=no
   14515 fi
   14516 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14517 fi
   14518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14519 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14520 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14521 	CFLAGS="$xorg_testset_save_CFLAGS"
   14522 fi
   14523 
   14524 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14525 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14526 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14527 	fi
   14528 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14529 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14530 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14531 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14532 then :
   14533   printf %s "(cached) " >&6
   14534 else $as_nop
   14535   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14536 /* end confdefs.h.  */
   14537 int i;
   14538 _ACEOF
   14539 if ac_fn_c_try_compile "$LINENO"
   14540 then :
   14541   xorg_cv_cc_flag_unused_command_line_argument=yes
   14542 else $as_nop
   14543   xorg_cv_cc_flag_unused_command_line_argument=no
   14544 fi
   14545 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14546 fi
   14547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14548 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14549 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14550 	CFLAGS="$xorg_testset_save_CFLAGS"
   14551 fi
   14552 
   14553 found="no"
   14554 
   14555 	if test $found = "no" ; then
   14556 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14557 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14558 		fi
   14559 
   14560 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14561 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14562 		fi
   14563 
   14564 		CFLAGS="$CFLAGS -Wnested-externs"
   14565 
   14566 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   14567 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   14568 		cacheid=xorg_cv_cc_flag__Wnested_externs
   14569 		if eval test \${$cacheid+y}
   14570 then :
   14571   printf %s "(cached) " >&6
   14572 else $as_nop
   14573   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14574 /* end confdefs.h.  */
   14575 int i;
   14576 int
   14577 main (void)
   14578 {
   14579 
   14580   ;
   14581   return 0;
   14582 }
   14583 _ACEOF
   14584 if ac_fn_c_try_link "$LINENO"
   14585 then :
   14586   eval $cacheid=yes
   14587 else $as_nop
   14588   eval $cacheid=no
   14589 fi
   14590 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14591     conftest$ac_exeext conftest.$ac_ext
   14592 fi
   14593 
   14594 
   14595 		CFLAGS="$xorg_testset_save_CFLAGS"
   14596 
   14597 		eval supported=\$$cacheid
   14598 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14599 printf "%s\n" "$supported" >&6; }
   14600 		if test "$supported" = "yes" ; then
   14601 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   14602 			found="yes"
   14603 		fi
   14604 	fi
   14605 
   14606 
   14607 
   14608 
   14609 
   14610 
   14611 
   14612 
   14613 
   14614 
   14615 
   14616 
   14617 
   14618 
   14619 
   14620 xorg_testset_save_CFLAGS="$CFLAGS"
   14621 
   14622 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14623 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14624 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14625 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14626 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14627 then :
   14628   printf %s "(cached) " >&6
   14629 else $as_nop
   14630   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14631 /* end confdefs.h.  */
   14632 int i;
   14633 _ACEOF
   14634 if ac_fn_c_try_compile "$LINENO"
   14635 then :
   14636   xorg_cv_cc_flag_unknown_warning_option=yes
   14637 else $as_nop
   14638   xorg_cv_cc_flag_unknown_warning_option=no
   14639 fi
   14640 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14641 fi
   14642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14643 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14644 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14645 	CFLAGS="$xorg_testset_save_CFLAGS"
   14646 fi
   14647 
   14648 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14649 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14650 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14651 	fi
   14652 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14653 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14654 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14655 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14656 then :
   14657   printf %s "(cached) " >&6
   14658 else $as_nop
   14659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14660 /* end confdefs.h.  */
   14661 int i;
   14662 _ACEOF
   14663 if ac_fn_c_try_compile "$LINENO"
   14664 then :
   14665   xorg_cv_cc_flag_unused_command_line_argument=yes
   14666 else $as_nop
   14667   xorg_cv_cc_flag_unused_command_line_argument=no
   14668 fi
   14669 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14670 fi
   14671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14672 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14673 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14674 	CFLAGS="$xorg_testset_save_CFLAGS"
   14675 fi
   14676 
   14677 found="no"
   14678 
   14679 	if test $found = "no" ; then
   14680 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14681 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14682 		fi
   14683 
   14684 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14685 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14686 		fi
   14687 
   14688 		CFLAGS="$CFLAGS -Wbad-function-cast"
   14689 
   14690 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   14691 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   14692 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   14693 		if eval test \${$cacheid+y}
   14694 then :
   14695   printf %s "(cached) " >&6
   14696 else $as_nop
   14697   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14698 /* end confdefs.h.  */
   14699 int i;
   14700 int
   14701 main (void)
   14702 {
   14703 
   14704   ;
   14705   return 0;
   14706 }
   14707 _ACEOF
   14708 if ac_fn_c_try_link "$LINENO"
   14709 then :
   14710   eval $cacheid=yes
   14711 else $as_nop
   14712   eval $cacheid=no
   14713 fi
   14714 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14715     conftest$ac_exeext conftest.$ac_ext
   14716 fi
   14717 
   14718 
   14719 		CFLAGS="$xorg_testset_save_CFLAGS"
   14720 
   14721 		eval supported=\$$cacheid
   14722 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14723 printf "%s\n" "$supported" >&6; }
   14724 		if test "$supported" = "yes" ; then
   14725 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   14726 			found="yes"
   14727 		fi
   14728 	fi
   14729 
   14730 
   14731 
   14732 
   14733 
   14734 
   14735 
   14736 
   14737 
   14738 
   14739 
   14740 
   14741 
   14742 
   14743 
   14744 xorg_testset_save_CFLAGS="$CFLAGS"
   14745 
   14746 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14747 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14748 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14749 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14750 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14751 then :
   14752   printf %s "(cached) " >&6
   14753 else $as_nop
   14754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14755 /* end confdefs.h.  */
   14756 int i;
   14757 _ACEOF
   14758 if ac_fn_c_try_compile "$LINENO"
   14759 then :
   14760   xorg_cv_cc_flag_unknown_warning_option=yes
   14761 else $as_nop
   14762   xorg_cv_cc_flag_unknown_warning_option=no
   14763 fi
   14764 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14765 fi
   14766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14767 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14768 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14769 	CFLAGS="$xorg_testset_save_CFLAGS"
   14770 fi
   14771 
   14772 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14773 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14774 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14775 	fi
   14776 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14777 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14778 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14779 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14780 then :
   14781   printf %s "(cached) " >&6
   14782 else $as_nop
   14783   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14784 /* end confdefs.h.  */
   14785 int i;
   14786 _ACEOF
   14787 if ac_fn_c_try_compile "$LINENO"
   14788 then :
   14789   xorg_cv_cc_flag_unused_command_line_argument=yes
   14790 else $as_nop
   14791   xorg_cv_cc_flag_unused_command_line_argument=no
   14792 fi
   14793 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14794 fi
   14795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14796 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14797 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14798 	CFLAGS="$xorg_testset_save_CFLAGS"
   14799 fi
   14800 
   14801 found="no"
   14802 
   14803 	if test $found = "no" ; then
   14804 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14805 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14806 		fi
   14807 
   14808 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14809 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14810 		fi
   14811 
   14812 		CFLAGS="$CFLAGS -Wold-style-definition"
   14813 
   14814 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   14815 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   14816 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   14817 		if eval test \${$cacheid+y}
   14818 then :
   14819   printf %s "(cached) " >&6
   14820 else $as_nop
   14821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14822 /* end confdefs.h.  */
   14823 int i;
   14824 int
   14825 main (void)
   14826 {
   14827 
   14828   ;
   14829   return 0;
   14830 }
   14831 _ACEOF
   14832 if ac_fn_c_try_link "$LINENO"
   14833 then :
   14834   eval $cacheid=yes
   14835 else $as_nop
   14836   eval $cacheid=no
   14837 fi
   14838 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14839     conftest$ac_exeext conftest.$ac_ext
   14840 fi
   14841 
   14842 
   14843 		CFLAGS="$xorg_testset_save_CFLAGS"
   14844 
   14845 		eval supported=\$$cacheid
   14846 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14847 printf "%s\n" "$supported" >&6; }
   14848 		if test "$supported" = "yes" ; then
   14849 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   14850 			found="yes"
   14851 		fi
   14852 	fi
   14853 
   14854 	if test $found = "no" ; then
   14855 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14856 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14857 		fi
   14858 
   14859 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14860 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14861 		fi
   14862 
   14863 		CFLAGS="$CFLAGS -fd"
   14864 
   14865 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   14866 printf %s "checking if $CC supports -fd... " >&6; }
   14867 		cacheid=xorg_cv_cc_flag__fd
   14868 		if eval test \${$cacheid+y}
   14869 then :
   14870   printf %s "(cached) " >&6
   14871 else $as_nop
   14872   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14873 /* end confdefs.h.  */
   14874 int i;
   14875 int
   14876 main (void)
   14877 {
   14878 
   14879   ;
   14880   return 0;
   14881 }
   14882 _ACEOF
   14883 if ac_fn_c_try_link "$LINENO"
   14884 then :
   14885   eval $cacheid=yes
   14886 else $as_nop
   14887   eval $cacheid=no
   14888 fi
   14889 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   14890     conftest$ac_exeext conftest.$ac_ext
   14891 fi
   14892 
   14893 
   14894 		CFLAGS="$xorg_testset_save_CFLAGS"
   14895 
   14896 		eval supported=\$$cacheid
   14897 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14898 printf "%s\n" "$supported" >&6; }
   14899 		if test "$supported" = "yes" ; then
   14900 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   14901 			found="yes"
   14902 		fi
   14903 	fi
   14904 
   14905 
   14906 
   14907 
   14908 
   14909 
   14910 
   14911 
   14912 
   14913 
   14914 
   14915 
   14916 
   14917 
   14918 
   14919 xorg_testset_save_CFLAGS="$CFLAGS"
   14920 
   14921 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14922 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14923 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14924 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14925 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   14926 then :
   14927   printf %s "(cached) " >&6
   14928 else $as_nop
   14929   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14930 /* end confdefs.h.  */
   14931 int i;
   14932 _ACEOF
   14933 if ac_fn_c_try_compile "$LINENO"
   14934 then :
   14935   xorg_cv_cc_flag_unknown_warning_option=yes
   14936 else $as_nop
   14937   xorg_cv_cc_flag_unknown_warning_option=no
   14938 fi
   14939 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14940 fi
   14941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14942 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14943 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14944 	CFLAGS="$xorg_testset_save_CFLAGS"
   14945 fi
   14946 
   14947 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14948 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14949 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14950 	fi
   14951 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14952 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14953 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14954 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   14955 then :
   14956   printf %s "(cached) " >&6
   14957 else $as_nop
   14958   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14959 /* end confdefs.h.  */
   14960 int i;
   14961 _ACEOF
   14962 if ac_fn_c_try_compile "$LINENO"
   14963 then :
   14964   xorg_cv_cc_flag_unused_command_line_argument=yes
   14965 else $as_nop
   14966   xorg_cv_cc_flag_unused_command_line_argument=no
   14967 fi
   14968 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   14969 fi
   14970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14971 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14972 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14973 	CFLAGS="$xorg_testset_save_CFLAGS"
   14974 fi
   14975 
   14976 found="no"
   14977 
   14978 	if test $found = "no" ; then
   14979 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14980 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14981 		fi
   14982 
   14983 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14984 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14985 		fi
   14986 
   14987 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   14988 
   14989 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   14990 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   14991 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   14992 		if eval test \${$cacheid+y}
   14993 then :
   14994   printf %s "(cached) " >&6
   14995 else $as_nop
   14996   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14997 /* end confdefs.h.  */
   14998 int i;
   14999 int
   15000 main (void)
   15001 {
   15002 
   15003   ;
   15004   return 0;
   15005 }
   15006 _ACEOF
   15007 if ac_fn_c_try_link "$LINENO"
   15008 then :
   15009   eval $cacheid=yes
   15010 else $as_nop
   15011   eval $cacheid=no
   15012 fi
   15013 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15014     conftest$ac_exeext conftest.$ac_ext
   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 -Wdeclaration-after-statement"
   15025 			found="yes"
   15026 		fi
   15027 	fi
   15028 
   15029 
   15030 
   15031 
   15032 
   15033 # This chunk adds additional warnings that could catch undesired effects.
   15034 
   15035 
   15036 
   15037 
   15038 
   15039 
   15040 
   15041 
   15042 
   15043 
   15044 
   15045 
   15046 
   15047 xorg_testset_save_CFLAGS="$CFLAGS"
   15048 
   15049 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15050 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15051 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15052 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15053 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15054 then :
   15055   printf %s "(cached) " >&6
   15056 else $as_nop
   15057   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15058 /* end confdefs.h.  */
   15059 int i;
   15060 _ACEOF
   15061 if ac_fn_c_try_compile "$LINENO"
   15062 then :
   15063   xorg_cv_cc_flag_unknown_warning_option=yes
   15064 else $as_nop
   15065   xorg_cv_cc_flag_unknown_warning_option=no
   15066 fi
   15067 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15068 fi
   15069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15070 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15071 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15072 	CFLAGS="$xorg_testset_save_CFLAGS"
   15073 fi
   15074 
   15075 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15076 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15077 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15078 	fi
   15079 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15080 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15081 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15082 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15083 then :
   15084   printf %s "(cached) " >&6
   15085 else $as_nop
   15086   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15087 /* end confdefs.h.  */
   15088 int i;
   15089 _ACEOF
   15090 if ac_fn_c_try_compile "$LINENO"
   15091 then :
   15092   xorg_cv_cc_flag_unused_command_line_argument=yes
   15093 else $as_nop
   15094   xorg_cv_cc_flag_unused_command_line_argument=no
   15095 fi
   15096 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   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 -Wunused"
   15116 
   15117 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   15118 printf %s "checking if $CC supports -Wunused... " >&6; }
   15119 		cacheid=xorg_cv_cc_flag__Wunused
   15120 		if eval test \${$cacheid+y}
   15121 then :
   15122   printf %s "(cached) " >&6
   15123 else $as_nop
   15124   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 $as_nop
   15139   eval $cacheid=no
   15140 fi
   15141 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15142     conftest$ac_exeext conftest.$ac_ext
   15143 fi
   15144 
   15145 
   15146 		CFLAGS="$xorg_testset_save_CFLAGS"
   15147 
   15148 		eval supported=\$$cacheid
   15149 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15150 printf "%s\n" "$supported" >&6; }
   15151 		if test "$supported" = "yes" ; then
   15152 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   15153 			found="yes"
   15154 		fi
   15155 	fi
   15156 
   15157 
   15158 
   15159 
   15160 
   15161 
   15162 
   15163 
   15164 
   15165 
   15166 
   15167 
   15168 
   15169 
   15170 
   15171 xorg_testset_save_CFLAGS="$CFLAGS"
   15172 
   15173 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15174 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15175 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15176 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15177 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15178 then :
   15179   printf %s "(cached) " >&6
   15180 else $as_nop
   15181   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15182 /* end confdefs.h.  */
   15183 int i;
   15184 _ACEOF
   15185 if ac_fn_c_try_compile "$LINENO"
   15186 then :
   15187   xorg_cv_cc_flag_unknown_warning_option=yes
   15188 else $as_nop
   15189   xorg_cv_cc_flag_unknown_warning_option=no
   15190 fi
   15191 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15192 fi
   15193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15194 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15195 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15196 	CFLAGS="$xorg_testset_save_CFLAGS"
   15197 fi
   15198 
   15199 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15200 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15201 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15202 	fi
   15203 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15204 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15205 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15206 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15207 then :
   15208   printf %s "(cached) " >&6
   15209 else $as_nop
   15210   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15211 /* end confdefs.h.  */
   15212 int i;
   15213 _ACEOF
   15214 if ac_fn_c_try_compile "$LINENO"
   15215 then :
   15216   xorg_cv_cc_flag_unused_command_line_argument=yes
   15217 else $as_nop
   15218   xorg_cv_cc_flag_unused_command_line_argument=no
   15219 fi
   15220 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15221 fi
   15222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15223 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15224 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15225 	CFLAGS="$xorg_testset_save_CFLAGS"
   15226 fi
   15227 
   15228 found="no"
   15229 
   15230 	if test $found = "no" ; then
   15231 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15232 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15233 		fi
   15234 
   15235 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15236 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15237 		fi
   15238 
   15239 		CFLAGS="$CFLAGS -Wuninitialized"
   15240 
   15241 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   15242 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   15243 		cacheid=xorg_cv_cc_flag__Wuninitialized
   15244 		if eval test \${$cacheid+y}
   15245 then :
   15246   printf %s "(cached) " >&6
   15247 else $as_nop
   15248   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15249 /* end confdefs.h.  */
   15250 int i;
   15251 int
   15252 main (void)
   15253 {
   15254 
   15255   ;
   15256   return 0;
   15257 }
   15258 _ACEOF
   15259 if ac_fn_c_try_link "$LINENO"
   15260 then :
   15261   eval $cacheid=yes
   15262 else $as_nop
   15263   eval $cacheid=no
   15264 fi
   15265 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15266     conftest$ac_exeext conftest.$ac_ext
   15267 fi
   15268 
   15269 
   15270 		CFLAGS="$xorg_testset_save_CFLAGS"
   15271 
   15272 		eval supported=\$$cacheid
   15273 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15274 printf "%s\n" "$supported" >&6; }
   15275 		if test "$supported" = "yes" ; then
   15276 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   15277 			found="yes"
   15278 		fi
   15279 	fi
   15280 
   15281 
   15282 
   15283 
   15284 
   15285 
   15286 
   15287 
   15288 
   15289 
   15290 
   15291 
   15292 
   15293 
   15294 
   15295 xorg_testset_save_CFLAGS="$CFLAGS"
   15296 
   15297 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15298 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15299 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15300 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15301 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15302 then :
   15303   printf %s "(cached) " >&6
   15304 else $as_nop
   15305   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15306 /* end confdefs.h.  */
   15307 int i;
   15308 _ACEOF
   15309 if ac_fn_c_try_compile "$LINENO"
   15310 then :
   15311   xorg_cv_cc_flag_unknown_warning_option=yes
   15312 else $as_nop
   15313   xorg_cv_cc_flag_unknown_warning_option=no
   15314 fi
   15315 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15316 fi
   15317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15318 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15319 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15320 	CFLAGS="$xorg_testset_save_CFLAGS"
   15321 fi
   15322 
   15323 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15324 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15325 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15326 	fi
   15327 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15328 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15329 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15330 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15331 then :
   15332   printf %s "(cached) " >&6
   15333 else $as_nop
   15334   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15335 /* end confdefs.h.  */
   15336 int i;
   15337 _ACEOF
   15338 if ac_fn_c_try_compile "$LINENO"
   15339 then :
   15340   xorg_cv_cc_flag_unused_command_line_argument=yes
   15341 else $as_nop
   15342   xorg_cv_cc_flag_unused_command_line_argument=no
   15343 fi
   15344 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15345 fi
   15346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15347 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15348 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15349 	CFLAGS="$xorg_testset_save_CFLAGS"
   15350 fi
   15351 
   15352 found="no"
   15353 
   15354 	if test $found = "no" ; then
   15355 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15356 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15357 		fi
   15358 
   15359 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15360 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15361 		fi
   15362 
   15363 		CFLAGS="$CFLAGS -Wshadow"
   15364 
   15365 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   15366 printf %s "checking if $CC supports -Wshadow... " >&6; }
   15367 		cacheid=xorg_cv_cc_flag__Wshadow
   15368 		if eval test \${$cacheid+y}
   15369 then :
   15370   printf %s "(cached) " >&6
   15371 else $as_nop
   15372   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15373 /* end confdefs.h.  */
   15374 int i;
   15375 int
   15376 main (void)
   15377 {
   15378 
   15379   ;
   15380   return 0;
   15381 }
   15382 _ACEOF
   15383 if ac_fn_c_try_link "$LINENO"
   15384 then :
   15385   eval $cacheid=yes
   15386 else $as_nop
   15387   eval $cacheid=no
   15388 fi
   15389 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15390     conftest$ac_exeext conftest.$ac_ext
   15391 fi
   15392 
   15393 
   15394 		CFLAGS="$xorg_testset_save_CFLAGS"
   15395 
   15396 		eval supported=\$$cacheid
   15397 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15398 printf "%s\n" "$supported" >&6; }
   15399 		if test "$supported" = "yes" ; then
   15400 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   15401 			found="yes"
   15402 		fi
   15403 	fi
   15404 
   15405 
   15406 
   15407 
   15408 
   15409 
   15410 
   15411 
   15412 
   15413 
   15414 
   15415 
   15416 
   15417 
   15418 
   15419 xorg_testset_save_CFLAGS="$CFLAGS"
   15420 
   15421 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15422 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15423 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15424 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15425 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15426 then :
   15427   printf %s "(cached) " >&6
   15428 else $as_nop
   15429   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15430 /* end confdefs.h.  */
   15431 int i;
   15432 _ACEOF
   15433 if ac_fn_c_try_compile "$LINENO"
   15434 then :
   15435   xorg_cv_cc_flag_unknown_warning_option=yes
   15436 else $as_nop
   15437   xorg_cv_cc_flag_unknown_warning_option=no
   15438 fi
   15439 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15440 fi
   15441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15442 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15443 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15444 	CFLAGS="$xorg_testset_save_CFLAGS"
   15445 fi
   15446 
   15447 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15448 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15449 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15450 	fi
   15451 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15452 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15453 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15454 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15455 then :
   15456   printf %s "(cached) " >&6
   15457 else $as_nop
   15458   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15459 /* end confdefs.h.  */
   15460 int i;
   15461 _ACEOF
   15462 if ac_fn_c_try_compile "$LINENO"
   15463 then :
   15464   xorg_cv_cc_flag_unused_command_line_argument=yes
   15465 else $as_nop
   15466   xorg_cv_cc_flag_unused_command_line_argument=no
   15467 fi
   15468 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15469 fi
   15470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15471 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15472 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15473 	CFLAGS="$xorg_testset_save_CFLAGS"
   15474 fi
   15475 
   15476 found="no"
   15477 
   15478 	if test $found = "no" ; then
   15479 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15480 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15481 		fi
   15482 
   15483 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15484 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15485 		fi
   15486 
   15487 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   15488 
   15489 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   15490 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   15491 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   15492 		if eval test \${$cacheid+y}
   15493 then :
   15494   printf %s "(cached) " >&6
   15495 else $as_nop
   15496   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15497 /* end confdefs.h.  */
   15498 int i;
   15499 int
   15500 main (void)
   15501 {
   15502 
   15503   ;
   15504   return 0;
   15505 }
   15506 _ACEOF
   15507 if ac_fn_c_try_link "$LINENO"
   15508 then :
   15509   eval $cacheid=yes
   15510 else $as_nop
   15511   eval $cacheid=no
   15512 fi
   15513 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15514     conftest$ac_exeext conftest.$ac_ext
   15515 fi
   15516 
   15517 
   15518 		CFLAGS="$xorg_testset_save_CFLAGS"
   15519 
   15520 		eval supported=\$$cacheid
   15521 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15522 printf "%s\n" "$supported" >&6; }
   15523 		if test "$supported" = "yes" ; then
   15524 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   15525 			found="yes"
   15526 		fi
   15527 	fi
   15528 
   15529 
   15530 
   15531 
   15532 
   15533 
   15534 
   15535 
   15536 
   15537 
   15538 
   15539 
   15540 
   15541 
   15542 
   15543 xorg_testset_save_CFLAGS="$CFLAGS"
   15544 
   15545 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15546 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15547 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15548 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15549 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15550 then :
   15551   printf %s "(cached) " >&6
   15552 else $as_nop
   15553   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15554 /* end confdefs.h.  */
   15555 int i;
   15556 _ACEOF
   15557 if ac_fn_c_try_compile "$LINENO"
   15558 then :
   15559   xorg_cv_cc_flag_unknown_warning_option=yes
   15560 else $as_nop
   15561   xorg_cv_cc_flag_unknown_warning_option=no
   15562 fi
   15563 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15564 fi
   15565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15566 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15567 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15568 	CFLAGS="$xorg_testset_save_CFLAGS"
   15569 fi
   15570 
   15571 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15572 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15573 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15574 	fi
   15575 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15576 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15577 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15578 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15579 then :
   15580   printf %s "(cached) " >&6
   15581 else $as_nop
   15582   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15583 /* end confdefs.h.  */
   15584 int i;
   15585 _ACEOF
   15586 if ac_fn_c_try_compile "$LINENO"
   15587 then :
   15588   xorg_cv_cc_flag_unused_command_line_argument=yes
   15589 else $as_nop
   15590   xorg_cv_cc_flag_unused_command_line_argument=no
   15591 fi
   15592 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15593 fi
   15594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15595 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15596 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15597 	CFLAGS="$xorg_testset_save_CFLAGS"
   15598 fi
   15599 
   15600 found="no"
   15601 
   15602 	if test $found = "no" ; then
   15603 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15604 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15605 		fi
   15606 
   15607 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15608 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15609 		fi
   15610 
   15611 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   15612 
   15613 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   15614 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   15615 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   15616 		if eval test \${$cacheid+y}
   15617 then :
   15618   printf %s "(cached) " >&6
   15619 else $as_nop
   15620   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15621 /* end confdefs.h.  */
   15622 int i;
   15623 int
   15624 main (void)
   15625 {
   15626 
   15627   ;
   15628   return 0;
   15629 }
   15630 _ACEOF
   15631 if ac_fn_c_try_link "$LINENO"
   15632 then :
   15633   eval $cacheid=yes
   15634 else $as_nop
   15635   eval $cacheid=no
   15636 fi
   15637 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15638     conftest$ac_exeext conftest.$ac_ext
   15639 fi
   15640 
   15641 
   15642 		CFLAGS="$xorg_testset_save_CFLAGS"
   15643 
   15644 		eval supported=\$$cacheid
   15645 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15646 printf "%s\n" "$supported" >&6; }
   15647 		if test "$supported" = "yes" ; then
   15648 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   15649 			found="yes"
   15650 		fi
   15651 	fi
   15652 
   15653 
   15654 
   15655 
   15656 
   15657 
   15658 
   15659 
   15660 
   15661 
   15662 
   15663 
   15664 
   15665 
   15666 
   15667 xorg_testset_save_CFLAGS="$CFLAGS"
   15668 
   15669 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15670 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15671 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15672 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15673 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15674 then :
   15675   printf %s "(cached) " >&6
   15676 else $as_nop
   15677   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15678 /* end confdefs.h.  */
   15679 int i;
   15680 _ACEOF
   15681 if ac_fn_c_try_compile "$LINENO"
   15682 then :
   15683   xorg_cv_cc_flag_unknown_warning_option=yes
   15684 else $as_nop
   15685   xorg_cv_cc_flag_unknown_warning_option=no
   15686 fi
   15687 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15688 fi
   15689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15690 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15691 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15692 	CFLAGS="$xorg_testset_save_CFLAGS"
   15693 fi
   15694 
   15695 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15696 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15697 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15698 	fi
   15699 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15700 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15701 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15702 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15703 then :
   15704   printf %s "(cached) " >&6
   15705 else $as_nop
   15706   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15707 /* end confdefs.h.  */
   15708 int i;
   15709 _ACEOF
   15710 if ac_fn_c_try_compile "$LINENO"
   15711 then :
   15712   xorg_cv_cc_flag_unused_command_line_argument=yes
   15713 else $as_nop
   15714   xorg_cv_cc_flag_unused_command_line_argument=no
   15715 fi
   15716 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15717 fi
   15718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15719 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15720 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15721 	CFLAGS="$xorg_testset_save_CFLAGS"
   15722 fi
   15723 
   15724 found="no"
   15725 
   15726 	if test $found = "no" ; then
   15727 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15728 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15729 		fi
   15730 
   15731 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15732 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15733 		fi
   15734 
   15735 		CFLAGS="$CFLAGS -Wredundant-decls"
   15736 
   15737 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   15738 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   15739 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   15740 		if eval test \${$cacheid+y}
   15741 then :
   15742   printf %s "(cached) " >&6
   15743 else $as_nop
   15744   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15745 /* end confdefs.h.  */
   15746 int i;
   15747 int
   15748 main (void)
   15749 {
   15750 
   15751   ;
   15752   return 0;
   15753 }
   15754 _ACEOF
   15755 if ac_fn_c_try_link "$LINENO"
   15756 then :
   15757   eval $cacheid=yes
   15758 else $as_nop
   15759   eval $cacheid=no
   15760 fi
   15761 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15762     conftest$ac_exeext conftest.$ac_ext
   15763 fi
   15764 
   15765 
   15766 		CFLAGS="$xorg_testset_save_CFLAGS"
   15767 
   15768 		eval supported=\$$cacheid
   15769 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15770 printf "%s\n" "$supported" >&6; }
   15771 		if test "$supported" = "yes" ; then
   15772 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   15773 			found="yes"
   15774 		fi
   15775 	fi
   15776 
   15777 
   15778 
   15779 
   15780 
   15781 
   15782 
   15783 
   15784 
   15785 
   15786 
   15787 
   15788 
   15789 
   15790 
   15791 xorg_testset_save_CFLAGS="$CFLAGS"
   15792 
   15793 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15794 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15795 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15796 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15797 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15798 then :
   15799   printf %s "(cached) " >&6
   15800 else $as_nop
   15801   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15802 /* end confdefs.h.  */
   15803 int i;
   15804 _ACEOF
   15805 if ac_fn_c_try_compile "$LINENO"
   15806 then :
   15807   xorg_cv_cc_flag_unknown_warning_option=yes
   15808 else $as_nop
   15809   xorg_cv_cc_flag_unknown_warning_option=no
   15810 fi
   15811 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15812 fi
   15813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15814 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15815 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15816 	CFLAGS="$xorg_testset_save_CFLAGS"
   15817 fi
   15818 
   15819 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15820 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15821 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15822 	fi
   15823 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15824 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15825 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15826 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15827 then :
   15828   printf %s "(cached) " >&6
   15829 else $as_nop
   15830   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15831 /* end confdefs.h.  */
   15832 int i;
   15833 _ACEOF
   15834 if ac_fn_c_try_compile "$LINENO"
   15835 then :
   15836   xorg_cv_cc_flag_unused_command_line_argument=yes
   15837 else $as_nop
   15838   xorg_cv_cc_flag_unused_command_line_argument=no
   15839 fi
   15840 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15841 fi
   15842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15843 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15844 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15845 	CFLAGS="$xorg_testset_save_CFLAGS"
   15846 fi
   15847 
   15848 found="no"
   15849 
   15850 	if test $found = "no" ; then
   15851 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15852 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15853 		fi
   15854 
   15855 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15856 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15857 		fi
   15858 
   15859 		CFLAGS="$CFLAGS -Wlogical-op"
   15860 
   15861 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   15862 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   15863 		cacheid=xorg_cv_cc_flag__Wlogical_op
   15864 		if eval test \${$cacheid+y}
   15865 then :
   15866   printf %s "(cached) " >&6
   15867 else $as_nop
   15868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15869 /* end confdefs.h.  */
   15870 int i;
   15871 int
   15872 main (void)
   15873 {
   15874 
   15875   ;
   15876   return 0;
   15877 }
   15878 _ACEOF
   15879 if ac_fn_c_try_link "$LINENO"
   15880 then :
   15881   eval $cacheid=yes
   15882 else $as_nop
   15883   eval $cacheid=no
   15884 fi
   15885 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   15886     conftest$ac_exeext conftest.$ac_ext
   15887 fi
   15888 
   15889 
   15890 		CFLAGS="$xorg_testset_save_CFLAGS"
   15891 
   15892 		eval supported=\$$cacheid
   15893 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15894 printf "%s\n" "$supported" >&6; }
   15895 		if test "$supported" = "yes" ; then
   15896 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   15897 			found="yes"
   15898 		fi
   15899 	fi
   15900 
   15901 
   15902 
   15903 # These are currently disabled because they are noisy.  They will be enabled
   15904 # in the future once the codebase is sufficiently modernized to silence
   15905 # them.  For now, I don't want them to drown out the other warnings.
   15906 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   15907 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   15908 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   15909 
   15910 # Turn some warnings into errors, so we don't accidentally get successful builds
   15911 # when there are problems that should be fixed.
   15912 
   15913 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   15914 
   15915 
   15916 
   15917 
   15918 
   15919 
   15920 
   15921 
   15922 
   15923 
   15924 
   15925 
   15926 
   15927 xorg_testset_save_CFLAGS="$CFLAGS"
   15928 
   15929 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15930 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15931 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15932 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15933 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   15934 then :
   15935   printf %s "(cached) " >&6
   15936 else $as_nop
   15937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15938 /* end confdefs.h.  */
   15939 int i;
   15940 _ACEOF
   15941 if ac_fn_c_try_compile "$LINENO"
   15942 then :
   15943   xorg_cv_cc_flag_unknown_warning_option=yes
   15944 else $as_nop
   15945   xorg_cv_cc_flag_unknown_warning_option=no
   15946 fi
   15947 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15948 fi
   15949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15950 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15951 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15952 	CFLAGS="$xorg_testset_save_CFLAGS"
   15953 fi
   15954 
   15955 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15956 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15957 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15958 	fi
   15959 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15960 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15961 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15962 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   15963 then :
   15964   printf %s "(cached) " >&6
   15965 else $as_nop
   15966   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15967 /* end confdefs.h.  */
   15968 int i;
   15969 _ACEOF
   15970 if ac_fn_c_try_compile "$LINENO"
   15971 then :
   15972   xorg_cv_cc_flag_unused_command_line_argument=yes
   15973 else $as_nop
   15974   xorg_cv_cc_flag_unused_command_line_argument=no
   15975 fi
   15976 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   15977 fi
   15978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15979 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15980 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15981 	CFLAGS="$xorg_testset_save_CFLAGS"
   15982 fi
   15983 
   15984 found="no"
   15985 
   15986 	if test $found = "no" ; then
   15987 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15988 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15989 		fi
   15990 
   15991 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15992 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15993 		fi
   15994 
   15995 		CFLAGS="$CFLAGS -Werror=implicit"
   15996 
   15997 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   15998 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   15999 		cacheid=xorg_cv_cc_flag__Werror_implicit
   16000 		if eval test \${$cacheid+y}
   16001 then :
   16002   printf %s "(cached) " >&6
   16003 else $as_nop
   16004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16005 /* end confdefs.h.  */
   16006 int i;
   16007 int
   16008 main (void)
   16009 {
   16010 
   16011   ;
   16012   return 0;
   16013 }
   16014 _ACEOF
   16015 if ac_fn_c_try_link "$LINENO"
   16016 then :
   16017   eval $cacheid=yes
   16018 else $as_nop
   16019   eval $cacheid=no
   16020 fi
   16021 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16022     conftest$ac_exeext conftest.$ac_ext
   16023 fi
   16024 
   16025 
   16026 		CFLAGS="$xorg_testset_save_CFLAGS"
   16027 
   16028 		eval supported=\$$cacheid
   16029 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16030 printf "%s\n" "$supported" >&6; }
   16031 		if test "$supported" = "yes" ; then
   16032 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   16033 			found="yes"
   16034 		fi
   16035 	fi
   16036 
   16037 	if test $found = "no" ; then
   16038 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16039 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16040 		fi
   16041 
   16042 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16043 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16044 		fi
   16045 
   16046 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   16047 
   16048 		{ 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
   16049 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   16050 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   16051 		if eval test \${$cacheid+y}
   16052 then :
   16053   printf %s "(cached) " >&6
   16054 else $as_nop
   16055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16056 /* end confdefs.h.  */
   16057 int i;
   16058 int
   16059 main (void)
   16060 {
   16061 
   16062   ;
   16063   return 0;
   16064 }
   16065 _ACEOF
   16066 if ac_fn_c_try_link "$LINENO"
   16067 then :
   16068   eval $cacheid=yes
   16069 else $as_nop
   16070   eval $cacheid=no
   16071 fi
   16072 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16073     conftest$ac_exeext conftest.$ac_ext
   16074 fi
   16075 
   16076 
   16077 		CFLAGS="$xorg_testset_save_CFLAGS"
   16078 
   16079 		eval supported=\$$cacheid
   16080 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16081 printf "%s\n" "$supported" >&6; }
   16082 		if test "$supported" = "yes" ; then
   16083 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   16084 			found="yes"
   16085 		fi
   16086 	fi
   16087 
   16088 
   16089 
   16090 
   16091 
   16092 
   16093 
   16094 
   16095 
   16096 
   16097 
   16098 
   16099 
   16100 
   16101 
   16102 xorg_testset_save_CFLAGS="$CFLAGS"
   16103 
   16104 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16105 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16106 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16107 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16108 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16109 then :
   16110   printf %s "(cached) " >&6
   16111 else $as_nop
   16112   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16113 /* end confdefs.h.  */
   16114 int i;
   16115 _ACEOF
   16116 if ac_fn_c_try_compile "$LINENO"
   16117 then :
   16118   xorg_cv_cc_flag_unknown_warning_option=yes
   16119 else $as_nop
   16120   xorg_cv_cc_flag_unknown_warning_option=no
   16121 fi
   16122 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16123 fi
   16124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16125 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16126 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16127 	CFLAGS="$xorg_testset_save_CFLAGS"
   16128 fi
   16129 
   16130 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16131 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16132 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16133 	fi
   16134 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16135 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16136 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16137 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16138 then :
   16139   printf %s "(cached) " >&6
   16140 else $as_nop
   16141   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16142 /* end confdefs.h.  */
   16143 int i;
   16144 _ACEOF
   16145 if ac_fn_c_try_compile "$LINENO"
   16146 then :
   16147   xorg_cv_cc_flag_unused_command_line_argument=yes
   16148 else $as_nop
   16149   xorg_cv_cc_flag_unused_command_line_argument=no
   16150 fi
   16151 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16152 fi
   16153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16154 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16155 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16156 	CFLAGS="$xorg_testset_save_CFLAGS"
   16157 fi
   16158 
   16159 found="no"
   16160 
   16161 	if test $found = "no" ; then
   16162 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16163 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16164 		fi
   16165 
   16166 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16167 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16168 		fi
   16169 
   16170 		CFLAGS="$CFLAGS -Werror=nonnull"
   16171 
   16172 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   16173 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   16174 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   16175 		if eval test \${$cacheid+y}
   16176 then :
   16177   printf %s "(cached) " >&6
   16178 else $as_nop
   16179   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16180 /* end confdefs.h.  */
   16181 int i;
   16182 int
   16183 main (void)
   16184 {
   16185 
   16186   ;
   16187   return 0;
   16188 }
   16189 _ACEOF
   16190 if ac_fn_c_try_link "$LINENO"
   16191 then :
   16192   eval $cacheid=yes
   16193 else $as_nop
   16194   eval $cacheid=no
   16195 fi
   16196 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16197     conftest$ac_exeext conftest.$ac_ext
   16198 fi
   16199 
   16200 
   16201 		CFLAGS="$xorg_testset_save_CFLAGS"
   16202 
   16203 		eval supported=\$$cacheid
   16204 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16205 printf "%s\n" "$supported" >&6; }
   16206 		if test "$supported" = "yes" ; then
   16207 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   16208 			found="yes"
   16209 		fi
   16210 	fi
   16211 
   16212 
   16213 
   16214 
   16215 
   16216 
   16217 
   16218 
   16219 
   16220 
   16221 
   16222 
   16223 
   16224 
   16225 
   16226 xorg_testset_save_CFLAGS="$CFLAGS"
   16227 
   16228 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16229 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16230 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16231 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16232 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16233 then :
   16234   printf %s "(cached) " >&6
   16235 else $as_nop
   16236   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_unknown_warning_option=yes
   16243 else $as_nop
   16244   xorg_cv_cc_flag_unknown_warning_option=no
   16245 fi
   16246 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16247 fi
   16248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16249 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16250 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16251 	CFLAGS="$xorg_testset_save_CFLAGS"
   16252 fi
   16253 
   16254 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16255 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16256 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16257 	fi
   16258 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16259 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16260 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16261 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16262 then :
   16263   printf %s "(cached) " >&6
   16264 else $as_nop
   16265   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16266 /* end confdefs.h.  */
   16267 int i;
   16268 _ACEOF
   16269 if ac_fn_c_try_compile "$LINENO"
   16270 then :
   16271   xorg_cv_cc_flag_unused_command_line_argument=yes
   16272 else $as_nop
   16273   xorg_cv_cc_flag_unused_command_line_argument=no
   16274 fi
   16275 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16276 fi
   16277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16278 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16279 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16280 	CFLAGS="$xorg_testset_save_CFLAGS"
   16281 fi
   16282 
   16283 found="no"
   16284 
   16285 	if test $found = "no" ; then
   16286 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16287 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16288 		fi
   16289 
   16290 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16291 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16292 		fi
   16293 
   16294 		CFLAGS="$CFLAGS -Werror=init-self"
   16295 
   16296 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   16297 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   16298 		cacheid=xorg_cv_cc_flag__Werror_init_self
   16299 		if eval test \${$cacheid+y}
   16300 then :
   16301   printf %s "(cached) " >&6
   16302 else $as_nop
   16303   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16304 /* end confdefs.h.  */
   16305 int i;
   16306 int
   16307 main (void)
   16308 {
   16309 
   16310   ;
   16311   return 0;
   16312 }
   16313 _ACEOF
   16314 if ac_fn_c_try_link "$LINENO"
   16315 then :
   16316   eval $cacheid=yes
   16317 else $as_nop
   16318   eval $cacheid=no
   16319 fi
   16320 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16321     conftest$ac_exeext conftest.$ac_ext
   16322 fi
   16323 
   16324 
   16325 		CFLAGS="$xorg_testset_save_CFLAGS"
   16326 
   16327 		eval supported=\$$cacheid
   16328 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16329 printf "%s\n" "$supported" >&6; }
   16330 		if test "$supported" = "yes" ; then
   16331 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   16332 			found="yes"
   16333 		fi
   16334 	fi
   16335 
   16336 
   16337 
   16338 
   16339 
   16340 
   16341 
   16342 
   16343 
   16344 
   16345 
   16346 
   16347 
   16348 
   16349 
   16350 xorg_testset_save_CFLAGS="$CFLAGS"
   16351 
   16352 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16353 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16354 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16355 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16356 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16357 then :
   16358   printf %s "(cached) " >&6
   16359 else $as_nop
   16360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16361 /* end confdefs.h.  */
   16362 int i;
   16363 _ACEOF
   16364 if ac_fn_c_try_compile "$LINENO"
   16365 then :
   16366   xorg_cv_cc_flag_unknown_warning_option=yes
   16367 else $as_nop
   16368   xorg_cv_cc_flag_unknown_warning_option=no
   16369 fi
   16370 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16371 fi
   16372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16373 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16374 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16375 	CFLAGS="$xorg_testset_save_CFLAGS"
   16376 fi
   16377 
   16378 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16379 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16380 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16381 	fi
   16382 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16383 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16384 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16385 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16386 then :
   16387   printf %s "(cached) " >&6
   16388 else $as_nop
   16389   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16390 /* end confdefs.h.  */
   16391 int i;
   16392 _ACEOF
   16393 if ac_fn_c_try_compile "$LINENO"
   16394 then :
   16395   xorg_cv_cc_flag_unused_command_line_argument=yes
   16396 else $as_nop
   16397   xorg_cv_cc_flag_unused_command_line_argument=no
   16398 fi
   16399 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16400 fi
   16401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16402 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16403 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16404 	CFLAGS="$xorg_testset_save_CFLAGS"
   16405 fi
   16406 
   16407 found="no"
   16408 
   16409 	if test $found = "no" ; then
   16410 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16411 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16412 		fi
   16413 
   16414 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16415 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16416 		fi
   16417 
   16418 		CFLAGS="$CFLAGS -Werror=main"
   16419 
   16420 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   16421 printf %s "checking if $CC supports -Werror=main... " >&6; }
   16422 		cacheid=xorg_cv_cc_flag__Werror_main
   16423 		if eval test \${$cacheid+y}
   16424 then :
   16425   printf %s "(cached) " >&6
   16426 else $as_nop
   16427   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16428 /* end confdefs.h.  */
   16429 int i;
   16430 int
   16431 main (void)
   16432 {
   16433 
   16434   ;
   16435   return 0;
   16436 }
   16437 _ACEOF
   16438 if ac_fn_c_try_link "$LINENO"
   16439 then :
   16440   eval $cacheid=yes
   16441 else $as_nop
   16442   eval $cacheid=no
   16443 fi
   16444 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16445     conftest$ac_exeext conftest.$ac_ext
   16446 fi
   16447 
   16448 
   16449 		CFLAGS="$xorg_testset_save_CFLAGS"
   16450 
   16451 		eval supported=\$$cacheid
   16452 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16453 printf "%s\n" "$supported" >&6; }
   16454 		if test "$supported" = "yes" ; then
   16455 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   16456 			found="yes"
   16457 		fi
   16458 	fi
   16459 
   16460 
   16461 
   16462 
   16463 
   16464 
   16465 
   16466 
   16467 
   16468 
   16469 
   16470 
   16471 
   16472 
   16473 
   16474 xorg_testset_save_CFLAGS="$CFLAGS"
   16475 
   16476 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16477 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16478 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16479 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16480 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16481 then :
   16482   printf %s "(cached) " >&6
   16483 else $as_nop
   16484   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16485 /* end confdefs.h.  */
   16486 int i;
   16487 _ACEOF
   16488 if ac_fn_c_try_compile "$LINENO"
   16489 then :
   16490   xorg_cv_cc_flag_unknown_warning_option=yes
   16491 else $as_nop
   16492   xorg_cv_cc_flag_unknown_warning_option=no
   16493 fi
   16494 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16495 fi
   16496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16497 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16498 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16499 	CFLAGS="$xorg_testset_save_CFLAGS"
   16500 fi
   16501 
   16502 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16503 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16504 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16505 	fi
   16506 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16507 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16508 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16509 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16510 then :
   16511   printf %s "(cached) " >&6
   16512 else $as_nop
   16513   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16514 /* end confdefs.h.  */
   16515 int i;
   16516 _ACEOF
   16517 if ac_fn_c_try_compile "$LINENO"
   16518 then :
   16519   xorg_cv_cc_flag_unused_command_line_argument=yes
   16520 else $as_nop
   16521   xorg_cv_cc_flag_unused_command_line_argument=no
   16522 fi
   16523 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16524 fi
   16525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16526 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16527 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16528 	CFLAGS="$xorg_testset_save_CFLAGS"
   16529 fi
   16530 
   16531 found="no"
   16532 
   16533 	if test $found = "no" ; then
   16534 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16535 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16536 		fi
   16537 
   16538 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16539 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16540 		fi
   16541 
   16542 		CFLAGS="$CFLAGS -Werror=missing-braces"
   16543 
   16544 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   16545 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   16546 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   16547 		if eval test \${$cacheid+y}
   16548 then :
   16549   printf %s "(cached) " >&6
   16550 else $as_nop
   16551   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16552 /* end confdefs.h.  */
   16553 int i;
   16554 int
   16555 main (void)
   16556 {
   16557 
   16558   ;
   16559   return 0;
   16560 }
   16561 _ACEOF
   16562 if ac_fn_c_try_link "$LINENO"
   16563 then :
   16564   eval $cacheid=yes
   16565 else $as_nop
   16566   eval $cacheid=no
   16567 fi
   16568 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16569     conftest$ac_exeext conftest.$ac_ext
   16570 fi
   16571 
   16572 
   16573 		CFLAGS="$xorg_testset_save_CFLAGS"
   16574 
   16575 		eval supported=\$$cacheid
   16576 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16577 printf "%s\n" "$supported" >&6; }
   16578 		if test "$supported" = "yes" ; then
   16579 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   16580 			found="yes"
   16581 		fi
   16582 	fi
   16583 
   16584 
   16585 
   16586 
   16587 
   16588 
   16589 
   16590 
   16591 
   16592 
   16593 
   16594 
   16595 
   16596 
   16597 
   16598 xorg_testset_save_CFLAGS="$CFLAGS"
   16599 
   16600 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16601 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16602 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16603 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16604 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16605 then :
   16606   printf %s "(cached) " >&6
   16607 else $as_nop
   16608   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16609 /* end confdefs.h.  */
   16610 int i;
   16611 _ACEOF
   16612 if ac_fn_c_try_compile "$LINENO"
   16613 then :
   16614   xorg_cv_cc_flag_unknown_warning_option=yes
   16615 else $as_nop
   16616   xorg_cv_cc_flag_unknown_warning_option=no
   16617 fi
   16618 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16619 fi
   16620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16621 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16622 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16623 	CFLAGS="$xorg_testset_save_CFLAGS"
   16624 fi
   16625 
   16626 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16627 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16628 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16629 	fi
   16630 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16631 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16632 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16633 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16634 then :
   16635   printf %s "(cached) " >&6
   16636 else $as_nop
   16637   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16638 /* end confdefs.h.  */
   16639 int i;
   16640 _ACEOF
   16641 if ac_fn_c_try_compile "$LINENO"
   16642 then :
   16643   xorg_cv_cc_flag_unused_command_line_argument=yes
   16644 else $as_nop
   16645   xorg_cv_cc_flag_unused_command_line_argument=no
   16646 fi
   16647 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16648 fi
   16649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16650 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16651 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16652 	CFLAGS="$xorg_testset_save_CFLAGS"
   16653 fi
   16654 
   16655 found="no"
   16656 
   16657 	if test $found = "no" ; then
   16658 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16659 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16660 		fi
   16661 
   16662 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16663 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16664 		fi
   16665 
   16666 		CFLAGS="$CFLAGS -Werror=sequence-point"
   16667 
   16668 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   16669 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   16670 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   16671 		if eval test \${$cacheid+y}
   16672 then :
   16673   printf %s "(cached) " >&6
   16674 else $as_nop
   16675   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16676 /* end confdefs.h.  */
   16677 int i;
   16678 int
   16679 main (void)
   16680 {
   16681 
   16682   ;
   16683   return 0;
   16684 }
   16685 _ACEOF
   16686 if ac_fn_c_try_link "$LINENO"
   16687 then :
   16688   eval $cacheid=yes
   16689 else $as_nop
   16690   eval $cacheid=no
   16691 fi
   16692 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16693     conftest$ac_exeext conftest.$ac_ext
   16694 fi
   16695 
   16696 
   16697 		CFLAGS="$xorg_testset_save_CFLAGS"
   16698 
   16699 		eval supported=\$$cacheid
   16700 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16701 printf "%s\n" "$supported" >&6; }
   16702 		if test "$supported" = "yes" ; then
   16703 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   16704 			found="yes"
   16705 		fi
   16706 	fi
   16707 
   16708 
   16709 
   16710 
   16711 
   16712 
   16713 
   16714 
   16715 
   16716 
   16717 
   16718 
   16719 
   16720 
   16721 
   16722 xorg_testset_save_CFLAGS="$CFLAGS"
   16723 
   16724 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16725 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16726 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16727 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16728 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16729 then :
   16730   printf %s "(cached) " >&6
   16731 else $as_nop
   16732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16733 /* end confdefs.h.  */
   16734 int i;
   16735 _ACEOF
   16736 if ac_fn_c_try_compile "$LINENO"
   16737 then :
   16738   xorg_cv_cc_flag_unknown_warning_option=yes
   16739 else $as_nop
   16740   xorg_cv_cc_flag_unknown_warning_option=no
   16741 fi
   16742 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16743 fi
   16744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16745 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16746 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16747 	CFLAGS="$xorg_testset_save_CFLAGS"
   16748 fi
   16749 
   16750 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16751 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16752 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16753 	fi
   16754 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16755 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16756 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16757 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16758 then :
   16759   printf %s "(cached) " >&6
   16760 else $as_nop
   16761   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16762 /* end confdefs.h.  */
   16763 int i;
   16764 _ACEOF
   16765 if ac_fn_c_try_compile "$LINENO"
   16766 then :
   16767   xorg_cv_cc_flag_unused_command_line_argument=yes
   16768 else $as_nop
   16769   xorg_cv_cc_flag_unused_command_line_argument=no
   16770 fi
   16771 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16772 fi
   16773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16774 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16775 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16776 	CFLAGS="$xorg_testset_save_CFLAGS"
   16777 fi
   16778 
   16779 found="no"
   16780 
   16781 	if test $found = "no" ; then
   16782 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16783 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16784 		fi
   16785 
   16786 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16787 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16788 		fi
   16789 
   16790 		CFLAGS="$CFLAGS -Werror=return-type"
   16791 
   16792 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   16793 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   16794 		cacheid=xorg_cv_cc_flag__Werror_return_type
   16795 		if eval test \${$cacheid+y}
   16796 then :
   16797   printf %s "(cached) " >&6
   16798 else $as_nop
   16799   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16800 /* end confdefs.h.  */
   16801 int i;
   16802 int
   16803 main (void)
   16804 {
   16805 
   16806   ;
   16807   return 0;
   16808 }
   16809 _ACEOF
   16810 if ac_fn_c_try_link "$LINENO"
   16811 then :
   16812   eval $cacheid=yes
   16813 else $as_nop
   16814   eval $cacheid=no
   16815 fi
   16816 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16817     conftest$ac_exeext conftest.$ac_ext
   16818 fi
   16819 
   16820 
   16821 		CFLAGS="$xorg_testset_save_CFLAGS"
   16822 
   16823 		eval supported=\$$cacheid
   16824 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16825 printf "%s\n" "$supported" >&6; }
   16826 		if test "$supported" = "yes" ; then
   16827 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   16828 			found="yes"
   16829 		fi
   16830 	fi
   16831 
   16832 	if test $found = "no" ; then
   16833 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16834 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16835 		fi
   16836 
   16837 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16838 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16839 		fi
   16840 
   16841 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16842 
   16843 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   16844 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   16845 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   16846 		if eval test \${$cacheid+y}
   16847 then :
   16848   printf %s "(cached) " >&6
   16849 else $as_nop
   16850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16851 /* end confdefs.h.  */
   16852 int i;
   16853 int
   16854 main (void)
   16855 {
   16856 
   16857   ;
   16858   return 0;
   16859 }
   16860 _ACEOF
   16861 if ac_fn_c_try_link "$LINENO"
   16862 then :
   16863   eval $cacheid=yes
   16864 else $as_nop
   16865   eval $cacheid=no
   16866 fi
   16867 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16868     conftest$ac_exeext conftest.$ac_ext
   16869 fi
   16870 
   16871 
   16872 		CFLAGS="$xorg_testset_save_CFLAGS"
   16873 
   16874 		eval supported=\$$cacheid
   16875 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16876 printf "%s\n" "$supported" >&6; }
   16877 		if test "$supported" = "yes" ; then
   16878 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   16879 			found="yes"
   16880 		fi
   16881 	fi
   16882 
   16883 
   16884 
   16885 
   16886 
   16887 
   16888 
   16889 
   16890 
   16891 
   16892 
   16893 
   16894 
   16895 
   16896 
   16897 xorg_testset_save_CFLAGS="$CFLAGS"
   16898 
   16899 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16900 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16901 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16902 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16903 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   16904 then :
   16905   printf %s "(cached) " >&6
   16906 else $as_nop
   16907   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16908 /* end confdefs.h.  */
   16909 int i;
   16910 _ACEOF
   16911 if ac_fn_c_try_compile "$LINENO"
   16912 then :
   16913   xorg_cv_cc_flag_unknown_warning_option=yes
   16914 else $as_nop
   16915   xorg_cv_cc_flag_unknown_warning_option=no
   16916 fi
   16917 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16918 fi
   16919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16920 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16921 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16922 	CFLAGS="$xorg_testset_save_CFLAGS"
   16923 fi
   16924 
   16925 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16926 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16927 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16928 	fi
   16929 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16930 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16931 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16932 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   16933 then :
   16934   printf %s "(cached) " >&6
   16935 else $as_nop
   16936   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16937 /* end confdefs.h.  */
   16938 int i;
   16939 _ACEOF
   16940 if ac_fn_c_try_compile "$LINENO"
   16941 then :
   16942   xorg_cv_cc_flag_unused_command_line_argument=yes
   16943 else $as_nop
   16944   xorg_cv_cc_flag_unused_command_line_argument=no
   16945 fi
   16946 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   16947 fi
   16948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16949 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16950 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16951 	CFLAGS="$xorg_testset_save_CFLAGS"
   16952 fi
   16953 
   16954 found="no"
   16955 
   16956 	if test $found = "no" ; then
   16957 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16958 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16959 		fi
   16960 
   16961 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16962 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16963 		fi
   16964 
   16965 		CFLAGS="$CFLAGS -Werror=trigraphs"
   16966 
   16967 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   16968 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   16969 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   16970 		if eval test \${$cacheid+y}
   16971 then :
   16972   printf %s "(cached) " >&6
   16973 else $as_nop
   16974   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16975 /* end confdefs.h.  */
   16976 int i;
   16977 int
   16978 main (void)
   16979 {
   16980 
   16981   ;
   16982   return 0;
   16983 }
   16984 _ACEOF
   16985 if ac_fn_c_try_link "$LINENO"
   16986 then :
   16987   eval $cacheid=yes
   16988 else $as_nop
   16989   eval $cacheid=no
   16990 fi
   16991 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   16992     conftest$ac_exeext conftest.$ac_ext
   16993 fi
   16994 
   16995 
   16996 		CFLAGS="$xorg_testset_save_CFLAGS"
   16997 
   16998 		eval supported=\$$cacheid
   16999 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17000 printf "%s\n" "$supported" >&6; }
   17001 		if test "$supported" = "yes" ; then
   17002 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   17003 			found="yes"
   17004 		fi
   17005 	fi
   17006 
   17007 
   17008 
   17009 
   17010 
   17011 
   17012 
   17013 
   17014 
   17015 
   17016 
   17017 
   17018 
   17019 
   17020 
   17021 xorg_testset_save_CFLAGS="$CFLAGS"
   17022 
   17023 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17024 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17025 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17026 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17027 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17028 then :
   17029   printf %s "(cached) " >&6
   17030 else $as_nop
   17031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17032 /* end confdefs.h.  */
   17033 int i;
   17034 _ACEOF
   17035 if ac_fn_c_try_compile "$LINENO"
   17036 then :
   17037   xorg_cv_cc_flag_unknown_warning_option=yes
   17038 else $as_nop
   17039   xorg_cv_cc_flag_unknown_warning_option=no
   17040 fi
   17041 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17042 fi
   17043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17044 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17045 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17046 	CFLAGS="$xorg_testset_save_CFLAGS"
   17047 fi
   17048 
   17049 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17050 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17051 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17052 	fi
   17053 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17054 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17055 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17056 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17057 then :
   17058   printf %s "(cached) " >&6
   17059 else $as_nop
   17060   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17061 /* end confdefs.h.  */
   17062 int i;
   17063 _ACEOF
   17064 if ac_fn_c_try_compile "$LINENO"
   17065 then :
   17066   xorg_cv_cc_flag_unused_command_line_argument=yes
   17067 else $as_nop
   17068   xorg_cv_cc_flag_unused_command_line_argument=no
   17069 fi
   17070 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17071 fi
   17072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17073 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17074 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17075 	CFLAGS="$xorg_testset_save_CFLAGS"
   17076 fi
   17077 
   17078 found="no"
   17079 
   17080 	if test $found = "no" ; then
   17081 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17082 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17083 		fi
   17084 
   17085 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17086 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17087 		fi
   17088 
   17089 		CFLAGS="$CFLAGS -Werror=array-bounds"
   17090 
   17091 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   17092 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   17093 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   17094 		if eval test \${$cacheid+y}
   17095 then :
   17096   printf %s "(cached) " >&6
   17097 else $as_nop
   17098   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17099 /* end confdefs.h.  */
   17100 int i;
   17101 int
   17102 main (void)
   17103 {
   17104 
   17105   ;
   17106   return 0;
   17107 }
   17108 _ACEOF
   17109 if ac_fn_c_try_link "$LINENO"
   17110 then :
   17111   eval $cacheid=yes
   17112 else $as_nop
   17113   eval $cacheid=no
   17114 fi
   17115 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17116     conftest$ac_exeext conftest.$ac_ext
   17117 fi
   17118 
   17119 
   17120 		CFLAGS="$xorg_testset_save_CFLAGS"
   17121 
   17122 		eval supported=\$$cacheid
   17123 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17124 printf "%s\n" "$supported" >&6; }
   17125 		if test "$supported" = "yes" ; then
   17126 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   17127 			found="yes"
   17128 		fi
   17129 	fi
   17130 
   17131 
   17132 
   17133 
   17134 
   17135 
   17136 
   17137 
   17138 
   17139 
   17140 
   17141 
   17142 
   17143 
   17144 
   17145 xorg_testset_save_CFLAGS="$CFLAGS"
   17146 
   17147 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17148 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17149 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17150 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17151 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17152 then :
   17153   printf %s "(cached) " >&6
   17154 else $as_nop
   17155   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17156 /* end confdefs.h.  */
   17157 int i;
   17158 _ACEOF
   17159 if ac_fn_c_try_compile "$LINENO"
   17160 then :
   17161   xorg_cv_cc_flag_unknown_warning_option=yes
   17162 else $as_nop
   17163   xorg_cv_cc_flag_unknown_warning_option=no
   17164 fi
   17165 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17166 fi
   17167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17168 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17169 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17170 	CFLAGS="$xorg_testset_save_CFLAGS"
   17171 fi
   17172 
   17173 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17174 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17175 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17176 	fi
   17177 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17178 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17179 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17180 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17181 then :
   17182   printf %s "(cached) " >&6
   17183 else $as_nop
   17184   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17185 /* end confdefs.h.  */
   17186 int i;
   17187 _ACEOF
   17188 if ac_fn_c_try_compile "$LINENO"
   17189 then :
   17190   xorg_cv_cc_flag_unused_command_line_argument=yes
   17191 else $as_nop
   17192   xorg_cv_cc_flag_unused_command_line_argument=no
   17193 fi
   17194 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17195 fi
   17196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17197 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17198 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17199 	CFLAGS="$xorg_testset_save_CFLAGS"
   17200 fi
   17201 
   17202 found="no"
   17203 
   17204 	if test $found = "no" ; then
   17205 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17206 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17207 		fi
   17208 
   17209 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17210 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17211 		fi
   17212 
   17213 		CFLAGS="$CFLAGS -Werror=write-strings"
   17214 
   17215 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   17216 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   17217 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   17218 		if eval test \${$cacheid+y}
   17219 then :
   17220   printf %s "(cached) " >&6
   17221 else $as_nop
   17222   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17223 /* end confdefs.h.  */
   17224 int i;
   17225 int
   17226 main (void)
   17227 {
   17228 
   17229   ;
   17230   return 0;
   17231 }
   17232 _ACEOF
   17233 if ac_fn_c_try_link "$LINENO"
   17234 then :
   17235   eval $cacheid=yes
   17236 else $as_nop
   17237   eval $cacheid=no
   17238 fi
   17239 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17240     conftest$ac_exeext conftest.$ac_ext
   17241 fi
   17242 
   17243 
   17244 		CFLAGS="$xorg_testset_save_CFLAGS"
   17245 
   17246 		eval supported=\$$cacheid
   17247 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17248 printf "%s\n" "$supported" >&6; }
   17249 		if test "$supported" = "yes" ; then
   17250 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   17251 			found="yes"
   17252 		fi
   17253 	fi
   17254 
   17255 
   17256 
   17257 
   17258 
   17259 
   17260 
   17261 
   17262 
   17263 
   17264 
   17265 
   17266 
   17267 
   17268 
   17269 xorg_testset_save_CFLAGS="$CFLAGS"
   17270 
   17271 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17272 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17273 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17274 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17275 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17276 then :
   17277   printf %s "(cached) " >&6
   17278 else $as_nop
   17279   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17280 /* end confdefs.h.  */
   17281 int i;
   17282 _ACEOF
   17283 if ac_fn_c_try_compile "$LINENO"
   17284 then :
   17285   xorg_cv_cc_flag_unknown_warning_option=yes
   17286 else $as_nop
   17287   xorg_cv_cc_flag_unknown_warning_option=no
   17288 fi
   17289 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17290 fi
   17291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17292 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17293 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17294 	CFLAGS="$xorg_testset_save_CFLAGS"
   17295 fi
   17296 
   17297 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17298 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17299 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17300 	fi
   17301 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17302 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17303 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17304 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17305 then :
   17306   printf %s "(cached) " >&6
   17307 else $as_nop
   17308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17309 /* end confdefs.h.  */
   17310 int i;
   17311 _ACEOF
   17312 if ac_fn_c_try_compile "$LINENO"
   17313 then :
   17314   xorg_cv_cc_flag_unused_command_line_argument=yes
   17315 else $as_nop
   17316   xorg_cv_cc_flag_unused_command_line_argument=no
   17317 fi
   17318 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17319 fi
   17320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17321 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17322 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17323 	CFLAGS="$xorg_testset_save_CFLAGS"
   17324 fi
   17325 
   17326 found="no"
   17327 
   17328 	if test $found = "no" ; then
   17329 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17330 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17331 		fi
   17332 
   17333 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17334 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17335 		fi
   17336 
   17337 		CFLAGS="$CFLAGS -Werror=address"
   17338 
   17339 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   17340 printf %s "checking if $CC supports -Werror=address... " >&6; }
   17341 		cacheid=xorg_cv_cc_flag__Werror_address
   17342 		if eval test \${$cacheid+y}
   17343 then :
   17344   printf %s "(cached) " >&6
   17345 else $as_nop
   17346   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17347 /* end confdefs.h.  */
   17348 int i;
   17349 int
   17350 main (void)
   17351 {
   17352 
   17353   ;
   17354   return 0;
   17355 }
   17356 _ACEOF
   17357 if ac_fn_c_try_link "$LINENO"
   17358 then :
   17359   eval $cacheid=yes
   17360 else $as_nop
   17361   eval $cacheid=no
   17362 fi
   17363 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17364     conftest$ac_exeext conftest.$ac_ext
   17365 fi
   17366 
   17367 
   17368 		CFLAGS="$xorg_testset_save_CFLAGS"
   17369 
   17370 		eval supported=\$$cacheid
   17371 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17372 printf "%s\n" "$supported" >&6; }
   17373 		if test "$supported" = "yes" ; then
   17374 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   17375 			found="yes"
   17376 		fi
   17377 	fi
   17378 
   17379 
   17380 
   17381 
   17382 
   17383 
   17384 
   17385 
   17386 
   17387 
   17388 
   17389 
   17390 
   17391 
   17392 
   17393 xorg_testset_save_CFLAGS="$CFLAGS"
   17394 
   17395 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17396 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17397 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17398 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17399 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17400 then :
   17401   printf %s "(cached) " >&6
   17402 else $as_nop
   17403   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17404 /* end confdefs.h.  */
   17405 int i;
   17406 _ACEOF
   17407 if ac_fn_c_try_compile "$LINENO"
   17408 then :
   17409   xorg_cv_cc_flag_unknown_warning_option=yes
   17410 else $as_nop
   17411   xorg_cv_cc_flag_unknown_warning_option=no
   17412 fi
   17413 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17414 fi
   17415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17416 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17417 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17418 	CFLAGS="$xorg_testset_save_CFLAGS"
   17419 fi
   17420 
   17421 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17422 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17423 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17424 	fi
   17425 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17426 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17427 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17428 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17429 then :
   17430   printf %s "(cached) " >&6
   17431 else $as_nop
   17432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17433 /* end confdefs.h.  */
   17434 int i;
   17435 _ACEOF
   17436 if ac_fn_c_try_compile "$LINENO"
   17437 then :
   17438   xorg_cv_cc_flag_unused_command_line_argument=yes
   17439 else $as_nop
   17440   xorg_cv_cc_flag_unused_command_line_argument=no
   17441 fi
   17442 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17443 fi
   17444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17445 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17446 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17447 	CFLAGS="$xorg_testset_save_CFLAGS"
   17448 fi
   17449 
   17450 found="no"
   17451 
   17452 	if test $found = "no" ; then
   17453 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17454 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17455 		fi
   17456 
   17457 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17458 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17459 		fi
   17460 
   17461 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   17462 
   17463 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   17464 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   17465 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   17466 		if eval test \${$cacheid+y}
   17467 then :
   17468   printf %s "(cached) " >&6
   17469 else $as_nop
   17470   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17471 /* end confdefs.h.  */
   17472 int i;
   17473 int
   17474 main (void)
   17475 {
   17476 
   17477   ;
   17478   return 0;
   17479 }
   17480 _ACEOF
   17481 if ac_fn_c_try_link "$LINENO"
   17482 then :
   17483   eval $cacheid=yes
   17484 else $as_nop
   17485   eval $cacheid=no
   17486 fi
   17487 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17488     conftest$ac_exeext conftest.$ac_ext
   17489 fi
   17490 
   17491 
   17492 		CFLAGS="$xorg_testset_save_CFLAGS"
   17493 
   17494 		eval supported=\$$cacheid
   17495 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17496 printf "%s\n" "$supported" >&6; }
   17497 		if test "$supported" = "yes" ; then
   17498 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   17499 			found="yes"
   17500 		fi
   17501 	fi
   17502 
   17503 	if test $found = "no" ; then
   17504 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17505 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17506 		fi
   17507 
   17508 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17509 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17510 		fi
   17511 
   17512 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   17513 
   17514 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   17515 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   17516 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   17517 		if eval test \${$cacheid+y}
   17518 then :
   17519   printf %s "(cached) " >&6
   17520 else $as_nop
   17521   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17522 /* end confdefs.h.  */
   17523 int i;
   17524 int
   17525 main (void)
   17526 {
   17527 
   17528   ;
   17529   return 0;
   17530 }
   17531 _ACEOF
   17532 if ac_fn_c_try_link "$LINENO"
   17533 then :
   17534   eval $cacheid=yes
   17535 else $as_nop
   17536   eval $cacheid=no
   17537 fi
   17538 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17539     conftest$ac_exeext conftest.$ac_ext
   17540 fi
   17541 
   17542 
   17543 		CFLAGS="$xorg_testset_save_CFLAGS"
   17544 
   17545 		eval supported=\$$cacheid
   17546 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17547 printf "%s\n" "$supported" >&6; }
   17548 		if test "$supported" = "yes" ; then
   17549 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   17550 			found="yes"
   17551 		fi
   17552 	fi
   17553 
   17554 
   17555 
   17556 
   17557 
   17558 
   17559 
   17560 
   17561 
   17562 
   17563 
   17564 
   17565 
   17566 
   17567 
   17568 xorg_testset_save_CFLAGS="$CFLAGS"
   17569 
   17570 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17571 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17572 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17573 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17574 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17575 then :
   17576   printf %s "(cached) " >&6
   17577 else $as_nop
   17578   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17579 /* end confdefs.h.  */
   17580 int i;
   17581 _ACEOF
   17582 if ac_fn_c_try_compile "$LINENO"
   17583 then :
   17584   xorg_cv_cc_flag_unknown_warning_option=yes
   17585 else $as_nop
   17586   xorg_cv_cc_flag_unknown_warning_option=no
   17587 fi
   17588 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17589 fi
   17590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17591 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17592 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17593 	CFLAGS="$xorg_testset_save_CFLAGS"
   17594 fi
   17595 
   17596 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17597 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17598 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17599 	fi
   17600 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17601 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17602 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17603 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17604 then :
   17605   printf %s "(cached) " >&6
   17606 else $as_nop
   17607   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17608 /* end confdefs.h.  */
   17609 int i;
   17610 _ACEOF
   17611 if ac_fn_c_try_compile "$LINENO"
   17612 then :
   17613   xorg_cv_cc_flag_unused_command_line_argument=yes
   17614 else $as_nop
   17615   xorg_cv_cc_flag_unused_command_line_argument=no
   17616 fi
   17617 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17618 fi
   17619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17620 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17621 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17622 	CFLAGS="$xorg_testset_save_CFLAGS"
   17623 fi
   17624 
   17625 found="no"
   17626 
   17627 	if test $found = "no" ; then
   17628 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17629 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17630 		fi
   17631 
   17632 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17633 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17634 		fi
   17635 
   17636 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   17637 
   17638 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   17639 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   17640 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   17641 		if eval test \${$cacheid+y}
   17642 then :
   17643   printf %s "(cached) " >&6
   17644 else $as_nop
   17645   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17646 /* end confdefs.h.  */
   17647 int i;
   17648 int
   17649 main (void)
   17650 {
   17651 
   17652   ;
   17653   return 0;
   17654 }
   17655 _ACEOF
   17656 if ac_fn_c_try_link "$LINENO"
   17657 then :
   17658   eval $cacheid=yes
   17659 else $as_nop
   17660   eval $cacheid=no
   17661 fi
   17662 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17663     conftest$ac_exeext conftest.$ac_ext
   17664 fi
   17665 
   17666 
   17667 		CFLAGS="$xorg_testset_save_CFLAGS"
   17668 
   17669 		eval supported=\$$cacheid
   17670 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17671 printf "%s\n" "$supported" >&6; }
   17672 		if test "$supported" = "yes" ; then
   17673 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   17674 			found="yes"
   17675 		fi
   17676 	fi
   17677 
   17678  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   17679 else
   17680 { 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
   17681 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;}
   17682 
   17683 
   17684 
   17685 
   17686 
   17687 
   17688 
   17689 
   17690 
   17691 
   17692 
   17693 
   17694 
   17695 xorg_testset_save_CFLAGS="$CFLAGS"
   17696 
   17697 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17698 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17699 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17700 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17701 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17702 then :
   17703   printf %s "(cached) " >&6
   17704 else $as_nop
   17705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17706 /* end confdefs.h.  */
   17707 int i;
   17708 _ACEOF
   17709 if ac_fn_c_try_compile "$LINENO"
   17710 then :
   17711   xorg_cv_cc_flag_unknown_warning_option=yes
   17712 else $as_nop
   17713   xorg_cv_cc_flag_unknown_warning_option=no
   17714 fi
   17715 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17716 fi
   17717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17718 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17719 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17720 	CFLAGS="$xorg_testset_save_CFLAGS"
   17721 fi
   17722 
   17723 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17724 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17725 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17726 	fi
   17727 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17728 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17729 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17730 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17731 then :
   17732   printf %s "(cached) " >&6
   17733 else $as_nop
   17734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17735 /* end confdefs.h.  */
   17736 int i;
   17737 _ACEOF
   17738 if ac_fn_c_try_compile "$LINENO"
   17739 then :
   17740   xorg_cv_cc_flag_unused_command_line_argument=yes
   17741 else $as_nop
   17742   xorg_cv_cc_flag_unused_command_line_argument=no
   17743 fi
   17744 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17745 fi
   17746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17747 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17748 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17749 	CFLAGS="$xorg_testset_save_CFLAGS"
   17750 fi
   17751 
   17752 found="no"
   17753 
   17754 	if test $found = "no" ; then
   17755 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17756 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17757 		fi
   17758 
   17759 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17760 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17761 		fi
   17762 
   17763 		CFLAGS="$CFLAGS -Wimplicit"
   17764 
   17765 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   17766 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   17767 		cacheid=xorg_cv_cc_flag__Wimplicit
   17768 		if eval test \${$cacheid+y}
   17769 then :
   17770   printf %s "(cached) " >&6
   17771 else $as_nop
   17772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17773 /* end confdefs.h.  */
   17774 int i;
   17775 int
   17776 main (void)
   17777 {
   17778 
   17779   ;
   17780   return 0;
   17781 }
   17782 _ACEOF
   17783 if ac_fn_c_try_link "$LINENO"
   17784 then :
   17785   eval $cacheid=yes
   17786 else $as_nop
   17787   eval $cacheid=no
   17788 fi
   17789 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17790     conftest$ac_exeext conftest.$ac_ext
   17791 fi
   17792 
   17793 
   17794 		CFLAGS="$xorg_testset_save_CFLAGS"
   17795 
   17796 		eval supported=\$$cacheid
   17797 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17798 printf "%s\n" "$supported" >&6; }
   17799 		if test "$supported" = "yes" ; then
   17800 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   17801 			found="yes"
   17802 		fi
   17803 	fi
   17804 
   17805 
   17806 
   17807 
   17808 
   17809 
   17810 
   17811 
   17812 
   17813 
   17814 
   17815 
   17816 
   17817 
   17818 
   17819 xorg_testset_save_CFLAGS="$CFLAGS"
   17820 
   17821 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17822 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17823 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17824 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17825 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17826 then :
   17827   printf %s "(cached) " >&6
   17828 else $as_nop
   17829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17830 /* end confdefs.h.  */
   17831 int i;
   17832 _ACEOF
   17833 if ac_fn_c_try_compile "$LINENO"
   17834 then :
   17835   xorg_cv_cc_flag_unknown_warning_option=yes
   17836 else $as_nop
   17837   xorg_cv_cc_flag_unknown_warning_option=no
   17838 fi
   17839 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17840 fi
   17841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17842 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17843 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17844 	CFLAGS="$xorg_testset_save_CFLAGS"
   17845 fi
   17846 
   17847 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17848 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17849 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17850 	fi
   17851 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17852 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17853 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17854 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17855 then :
   17856   printf %s "(cached) " >&6
   17857 else $as_nop
   17858   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17859 /* end confdefs.h.  */
   17860 int i;
   17861 _ACEOF
   17862 if ac_fn_c_try_compile "$LINENO"
   17863 then :
   17864   xorg_cv_cc_flag_unused_command_line_argument=yes
   17865 else $as_nop
   17866   xorg_cv_cc_flag_unused_command_line_argument=no
   17867 fi
   17868 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17869 fi
   17870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17871 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17872 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17873 	CFLAGS="$xorg_testset_save_CFLAGS"
   17874 fi
   17875 
   17876 found="no"
   17877 
   17878 	if test $found = "no" ; then
   17879 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17880 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17881 		fi
   17882 
   17883 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17884 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17885 		fi
   17886 
   17887 		CFLAGS="$CFLAGS -Wnonnull"
   17888 
   17889 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   17890 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   17891 		cacheid=xorg_cv_cc_flag__Wnonnull
   17892 		if eval test \${$cacheid+y}
   17893 then :
   17894   printf %s "(cached) " >&6
   17895 else $as_nop
   17896   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17897 /* end confdefs.h.  */
   17898 int i;
   17899 int
   17900 main (void)
   17901 {
   17902 
   17903   ;
   17904   return 0;
   17905 }
   17906 _ACEOF
   17907 if ac_fn_c_try_link "$LINENO"
   17908 then :
   17909   eval $cacheid=yes
   17910 else $as_nop
   17911   eval $cacheid=no
   17912 fi
   17913 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   17914     conftest$ac_exeext conftest.$ac_ext
   17915 fi
   17916 
   17917 
   17918 		CFLAGS="$xorg_testset_save_CFLAGS"
   17919 
   17920 		eval supported=\$$cacheid
   17921 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17922 printf "%s\n" "$supported" >&6; }
   17923 		if test "$supported" = "yes" ; then
   17924 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   17925 			found="yes"
   17926 		fi
   17927 	fi
   17928 
   17929 
   17930 
   17931 
   17932 
   17933 
   17934 
   17935 
   17936 
   17937 
   17938 
   17939 
   17940 
   17941 
   17942 
   17943 xorg_testset_save_CFLAGS="$CFLAGS"
   17944 
   17945 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17946 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17947 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17948 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17949 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   17950 then :
   17951   printf %s "(cached) " >&6
   17952 else $as_nop
   17953   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17954 /* end confdefs.h.  */
   17955 int i;
   17956 _ACEOF
   17957 if ac_fn_c_try_compile "$LINENO"
   17958 then :
   17959   xorg_cv_cc_flag_unknown_warning_option=yes
   17960 else $as_nop
   17961   xorg_cv_cc_flag_unknown_warning_option=no
   17962 fi
   17963 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17964 fi
   17965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17966 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17967 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17968 	CFLAGS="$xorg_testset_save_CFLAGS"
   17969 fi
   17970 
   17971 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17972 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17973 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17974 	fi
   17975 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17976 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17977 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17978 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   17979 then :
   17980   printf %s "(cached) " >&6
   17981 else $as_nop
   17982   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17983 /* end confdefs.h.  */
   17984 int i;
   17985 _ACEOF
   17986 if ac_fn_c_try_compile "$LINENO"
   17987 then :
   17988   xorg_cv_cc_flag_unused_command_line_argument=yes
   17989 else $as_nop
   17990   xorg_cv_cc_flag_unused_command_line_argument=no
   17991 fi
   17992 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   17993 fi
   17994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17995 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17996 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17997 	CFLAGS="$xorg_testset_save_CFLAGS"
   17998 fi
   17999 
   18000 found="no"
   18001 
   18002 	if test $found = "no" ; then
   18003 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18004 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18005 		fi
   18006 
   18007 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18008 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18009 		fi
   18010 
   18011 		CFLAGS="$CFLAGS -Winit-self"
   18012 
   18013 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   18014 printf %s "checking if $CC supports -Winit-self... " >&6; }
   18015 		cacheid=xorg_cv_cc_flag__Winit_self
   18016 		if eval test \${$cacheid+y}
   18017 then :
   18018   printf %s "(cached) " >&6
   18019 else $as_nop
   18020   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18021 /* end confdefs.h.  */
   18022 int i;
   18023 int
   18024 main (void)
   18025 {
   18026 
   18027   ;
   18028   return 0;
   18029 }
   18030 _ACEOF
   18031 if ac_fn_c_try_link "$LINENO"
   18032 then :
   18033   eval $cacheid=yes
   18034 else $as_nop
   18035   eval $cacheid=no
   18036 fi
   18037 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18038     conftest$ac_exeext conftest.$ac_ext
   18039 fi
   18040 
   18041 
   18042 		CFLAGS="$xorg_testset_save_CFLAGS"
   18043 
   18044 		eval supported=\$$cacheid
   18045 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18046 printf "%s\n" "$supported" >&6; }
   18047 		if test "$supported" = "yes" ; then
   18048 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   18049 			found="yes"
   18050 		fi
   18051 	fi
   18052 
   18053 
   18054 
   18055 
   18056 
   18057 
   18058 
   18059 
   18060 
   18061 
   18062 
   18063 
   18064 
   18065 
   18066 
   18067 xorg_testset_save_CFLAGS="$CFLAGS"
   18068 
   18069 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18070 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18071 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18072 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18073 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18074 then :
   18075   printf %s "(cached) " >&6
   18076 else $as_nop
   18077   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18078 /* end confdefs.h.  */
   18079 int i;
   18080 _ACEOF
   18081 if ac_fn_c_try_compile "$LINENO"
   18082 then :
   18083   xorg_cv_cc_flag_unknown_warning_option=yes
   18084 else $as_nop
   18085   xorg_cv_cc_flag_unknown_warning_option=no
   18086 fi
   18087 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18088 fi
   18089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18090 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18091 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18092 	CFLAGS="$xorg_testset_save_CFLAGS"
   18093 fi
   18094 
   18095 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18096 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18097 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18098 	fi
   18099 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18100 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18101 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18102 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18103 then :
   18104   printf %s "(cached) " >&6
   18105 else $as_nop
   18106   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18107 /* end confdefs.h.  */
   18108 int i;
   18109 _ACEOF
   18110 if ac_fn_c_try_compile "$LINENO"
   18111 then :
   18112   xorg_cv_cc_flag_unused_command_line_argument=yes
   18113 else $as_nop
   18114   xorg_cv_cc_flag_unused_command_line_argument=no
   18115 fi
   18116 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18117 fi
   18118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18119 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18120 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18121 	CFLAGS="$xorg_testset_save_CFLAGS"
   18122 fi
   18123 
   18124 found="no"
   18125 
   18126 	if test $found = "no" ; then
   18127 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18128 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18129 		fi
   18130 
   18131 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18132 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18133 		fi
   18134 
   18135 		CFLAGS="$CFLAGS -Wmain"
   18136 
   18137 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   18138 printf %s "checking if $CC supports -Wmain... " >&6; }
   18139 		cacheid=xorg_cv_cc_flag__Wmain
   18140 		if eval test \${$cacheid+y}
   18141 then :
   18142   printf %s "(cached) " >&6
   18143 else $as_nop
   18144   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18145 /* end confdefs.h.  */
   18146 int i;
   18147 int
   18148 main (void)
   18149 {
   18150 
   18151   ;
   18152   return 0;
   18153 }
   18154 _ACEOF
   18155 if ac_fn_c_try_link "$LINENO"
   18156 then :
   18157   eval $cacheid=yes
   18158 else $as_nop
   18159   eval $cacheid=no
   18160 fi
   18161 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18162     conftest$ac_exeext conftest.$ac_ext
   18163 fi
   18164 
   18165 
   18166 		CFLAGS="$xorg_testset_save_CFLAGS"
   18167 
   18168 		eval supported=\$$cacheid
   18169 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18170 printf "%s\n" "$supported" >&6; }
   18171 		if test "$supported" = "yes" ; then
   18172 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   18173 			found="yes"
   18174 		fi
   18175 	fi
   18176 
   18177 
   18178 
   18179 
   18180 
   18181 
   18182 
   18183 
   18184 
   18185 
   18186 
   18187 
   18188 
   18189 
   18190 
   18191 xorg_testset_save_CFLAGS="$CFLAGS"
   18192 
   18193 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18194 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18195 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18196 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18197 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18198 then :
   18199   printf %s "(cached) " >&6
   18200 else $as_nop
   18201   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18202 /* end confdefs.h.  */
   18203 int i;
   18204 _ACEOF
   18205 if ac_fn_c_try_compile "$LINENO"
   18206 then :
   18207   xorg_cv_cc_flag_unknown_warning_option=yes
   18208 else $as_nop
   18209   xorg_cv_cc_flag_unknown_warning_option=no
   18210 fi
   18211 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18212 fi
   18213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18214 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18215 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18216 	CFLAGS="$xorg_testset_save_CFLAGS"
   18217 fi
   18218 
   18219 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18220 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18221 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18222 	fi
   18223 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18224 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18225 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18226 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18227 then :
   18228   printf %s "(cached) " >&6
   18229 else $as_nop
   18230   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18231 /* end confdefs.h.  */
   18232 int i;
   18233 _ACEOF
   18234 if ac_fn_c_try_compile "$LINENO"
   18235 then :
   18236   xorg_cv_cc_flag_unused_command_line_argument=yes
   18237 else $as_nop
   18238   xorg_cv_cc_flag_unused_command_line_argument=no
   18239 fi
   18240 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18241 fi
   18242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18243 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18244 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18245 	CFLAGS="$xorg_testset_save_CFLAGS"
   18246 fi
   18247 
   18248 found="no"
   18249 
   18250 	if test $found = "no" ; then
   18251 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18252 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18253 		fi
   18254 
   18255 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18256 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18257 		fi
   18258 
   18259 		CFLAGS="$CFLAGS -Wmissing-braces"
   18260 
   18261 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   18262 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   18263 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   18264 		if eval test \${$cacheid+y}
   18265 then :
   18266   printf %s "(cached) " >&6
   18267 else $as_nop
   18268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18269 /* end confdefs.h.  */
   18270 int i;
   18271 int
   18272 main (void)
   18273 {
   18274 
   18275   ;
   18276   return 0;
   18277 }
   18278 _ACEOF
   18279 if ac_fn_c_try_link "$LINENO"
   18280 then :
   18281   eval $cacheid=yes
   18282 else $as_nop
   18283   eval $cacheid=no
   18284 fi
   18285 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18286     conftest$ac_exeext conftest.$ac_ext
   18287 fi
   18288 
   18289 
   18290 		CFLAGS="$xorg_testset_save_CFLAGS"
   18291 
   18292 		eval supported=\$$cacheid
   18293 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18294 printf "%s\n" "$supported" >&6; }
   18295 		if test "$supported" = "yes" ; then
   18296 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   18297 			found="yes"
   18298 		fi
   18299 	fi
   18300 
   18301 
   18302 
   18303 
   18304 
   18305 
   18306 
   18307 
   18308 
   18309 
   18310 
   18311 
   18312 
   18313 
   18314 
   18315 xorg_testset_save_CFLAGS="$CFLAGS"
   18316 
   18317 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18318 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18319 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18320 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18321 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18322 then :
   18323   printf %s "(cached) " >&6
   18324 else $as_nop
   18325   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18326 /* end confdefs.h.  */
   18327 int i;
   18328 _ACEOF
   18329 if ac_fn_c_try_compile "$LINENO"
   18330 then :
   18331   xorg_cv_cc_flag_unknown_warning_option=yes
   18332 else $as_nop
   18333   xorg_cv_cc_flag_unknown_warning_option=no
   18334 fi
   18335 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18336 fi
   18337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18338 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18339 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18340 	CFLAGS="$xorg_testset_save_CFLAGS"
   18341 fi
   18342 
   18343 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18344 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18345 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18346 	fi
   18347 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18348 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18349 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18350 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18351 then :
   18352   printf %s "(cached) " >&6
   18353 else $as_nop
   18354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18355 /* end confdefs.h.  */
   18356 int i;
   18357 _ACEOF
   18358 if ac_fn_c_try_compile "$LINENO"
   18359 then :
   18360   xorg_cv_cc_flag_unused_command_line_argument=yes
   18361 else $as_nop
   18362   xorg_cv_cc_flag_unused_command_line_argument=no
   18363 fi
   18364 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18365 fi
   18366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18367 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18368 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18369 	CFLAGS="$xorg_testset_save_CFLAGS"
   18370 fi
   18371 
   18372 found="no"
   18373 
   18374 	if test $found = "no" ; then
   18375 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18376 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18377 		fi
   18378 
   18379 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18380 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18381 		fi
   18382 
   18383 		CFLAGS="$CFLAGS -Wsequence-point"
   18384 
   18385 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   18386 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   18387 		cacheid=xorg_cv_cc_flag__Wsequence_point
   18388 		if eval test \${$cacheid+y}
   18389 then :
   18390   printf %s "(cached) " >&6
   18391 else $as_nop
   18392   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18393 /* end confdefs.h.  */
   18394 int i;
   18395 int
   18396 main (void)
   18397 {
   18398 
   18399   ;
   18400   return 0;
   18401 }
   18402 _ACEOF
   18403 if ac_fn_c_try_link "$LINENO"
   18404 then :
   18405   eval $cacheid=yes
   18406 else $as_nop
   18407   eval $cacheid=no
   18408 fi
   18409 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18410     conftest$ac_exeext conftest.$ac_ext
   18411 fi
   18412 
   18413 
   18414 		CFLAGS="$xorg_testset_save_CFLAGS"
   18415 
   18416 		eval supported=\$$cacheid
   18417 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18418 printf "%s\n" "$supported" >&6; }
   18419 		if test "$supported" = "yes" ; then
   18420 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   18421 			found="yes"
   18422 		fi
   18423 	fi
   18424 
   18425 
   18426 
   18427 
   18428 
   18429 
   18430 
   18431 
   18432 
   18433 
   18434 
   18435 
   18436 
   18437 
   18438 
   18439 xorg_testset_save_CFLAGS="$CFLAGS"
   18440 
   18441 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18442 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18443 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18444 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18445 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18446 then :
   18447   printf %s "(cached) " >&6
   18448 else $as_nop
   18449   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18450 /* end confdefs.h.  */
   18451 int i;
   18452 _ACEOF
   18453 if ac_fn_c_try_compile "$LINENO"
   18454 then :
   18455   xorg_cv_cc_flag_unknown_warning_option=yes
   18456 else $as_nop
   18457   xorg_cv_cc_flag_unknown_warning_option=no
   18458 fi
   18459 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18460 fi
   18461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18462 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18463 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18464 	CFLAGS="$xorg_testset_save_CFLAGS"
   18465 fi
   18466 
   18467 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18468 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18469 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18470 	fi
   18471 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18472 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18473 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18474 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18475 then :
   18476   printf %s "(cached) " >&6
   18477 else $as_nop
   18478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18479 /* end confdefs.h.  */
   18480 int i;
   18481 _ACEOF
   18482 if ac_fn_c_try_compile "$LINENO"
   18483 then :
   18484   xorg_cv_cc_flag_unused_command_line_argument=yes
   18485 else $as_nop
   18486   xorg_cv_cc_flag_unused_command_line_argument=no
   18487 fi
   18488 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18489 fi
   18490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18491 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18492 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18493 	CFLAGS="$xorg_testset_save_CFLAGS"
   18494 fi
   18495 
   18496 found="no"
   18497 
   18498 	if test $found = "no" ; then
   18499 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18500 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18501 		fi
   18502 
   18503 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18504 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18505 		fi
   18506 
   18507 		CFLAGS="$CFLAGS -Wreturn-type"
   18508 
   18509 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   18510 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   18511 		cacheid=xorg_cv_cc_flag__Wreturn_type
   18512 		if eval test \${$cacheid+y}
   18513 then :
   18514   printf %s "(cached) " >&6
   18515 else $as_nop
   18516   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18517 /* end confdefs.h.  */
   18518 int i;
   18519 int
   18520 main (void)
   18521 {
   18522 
   18523   ;
   18524   return 0;
   18525 }
   18526 _ACEOF
   18527 if ac_fn_c_try_link "$LINENO"
   18528 then :
   18529   eval $cacheid=yes
   18530 else $as_nop
   18531   eval $cacheid=no
   18532 fi
   18533 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18534     conftest$ac_exeext conftest.$ac_ext
   18535 fi
   18536 
   18537 
   18538 		CFLAGS="$xorg_testset_save_CFLAGS"
   18539 
   18540 		eval supported=\$$cacheid
   18541 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18542 printf "%s\n" "$supported" >&6; }
   18543 		if test "$supported" = "yes" ; then
   18544 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   18545 			found="yes"
   18546 		fi
   18547 	fi
   18548 
   18549 
   18550 
   18551 
   18552 
   18553 
   18554 
   18555 
   18556 
   18557 
   18558 
   18559 
   18560 
   18561 
   18562 
   18563 xorg_testset_save_CFLAGS="$CFLAGS"
   18564 
   18565 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18566 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18567 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18568 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18569 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18570 then :
   18571   printf %s "(cached) " >&6
   18572 else $as_nop
   18573   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18574 /* end confdefs.h.  */
   18575 int i;
   18576 _ACEOF
   18577 if ac_fn_c_try_compile "$LINENO"
   18578 then :
   18579   xorg_cv_cc_flag_unknown_warning_option=yes
   18580 else $as_nop
   18581   xorg_cv_cc_flag_unknown_warning_option=no
   18582 fi
   18583 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18584 fi
   18585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18586 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18587 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18588 	CFLAGS="$xorg_testset_save_CFLAGS"
   18589 fi
   18590 
   18591 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18592 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18593 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18594 	fi
   18595 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18596 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18597 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18598 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18599 then :
   18600   printf %s "(cached) " >&6
   18601 else $as_nop
   18602   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18603 /* end confdefs.h.  */
   18604 int i;
   18605 _ACEOF
   18606 if ac_fn_c_try_compile "$LINENO"
   18607 then :
   18608   xorg_cv_cc_flag_unused_command_line_argument=yes
   18609 else $as_nop
   18610   xorg_cv_cc_flag_unused_command_line_argument=no
   18611 fi
   18612 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18613 fi
   18614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18615 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18616 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18617 	CFLAGS="$xorg_testset_save_CFLAGS"
   18618 fi
   18619 
   18620 found="no"
   18621 
   18622 	if test $found = "no" ; then
   18623 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18624 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18625 		fi
   18626 
   18627 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18628 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18629 		fi
   18630 
   18631 		CFLAGS="$CFLAGS -Wtrigraphs"
   18632 
   18633 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   18634 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   18635 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   18636 		if eval test \${$cacheid+y}
   18637 then :
   18638   printf %s "(cached) " >&6
   18639 else $as_nop
   18640   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18641 /* end confdefs.h.  */
   18642 int i;
   18643 int
   18644 main (void)
   18645 {
   18646 
   18647   ;
   18648   return 0;
   18649 }
   18650 _ACEOF
   18651 if ac_fn_c_try_link "$LINENO"
   18652 then :
   18653   eval $cacheid=yes
   18654 else $as_nop
   18655   eval $cacheid=no
   18656 fi
   18657 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18658     conftest$ac_exeext conftest.$ac_ext
   18659 fi
   18660 
   18661 
   18662 		CFLAGS="$xorg_testset_save_CFLAGS"
   18663 
   18664 		eval supported=\$$cacheid
   18665 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18666 printf "%s\n" "$supported" >&6; }
   18667 		if test "$supported" = "yes" ; then
   18668 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   18669 			found="yes"
   18670 		fi
   18671 	fi
   18672 
   18673 
   18674 
   18675 
   18676 
   18677 
   18678 
   18679 
   18680 
   18681 
   18682 
   18683 
   18684 
   18685 
   18686 
   18687 xorg_testset_save_CFLAGS="$CFLAGS"
   18688 
   18689 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18690 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18691 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18692 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18693 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18694 then :
   18695   printf %s "(cached) " >&6
   18696 else $as_nop
   18697   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18698 /* end confdefs.h.  */
   18699 int i;
   18700 _ACEOF
   18701 if ac_fn_c_try_compile "$LINENO"
   18702 then :
   18703   xorg_cv_cc_flag_unknown_warning_option=yes
   18704 else $as_nop
   18705   xorg_cv_cc_flag_unknown_warning_option=no
   18706 fi
   18707 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18708 fi
   18709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18710 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18711 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18712 	CFLAGS="$xorg_testset_save_CFLAGS"
   18713 fi
   18714 
   18715 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18716 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18717 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18718 	fi
   18719 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18720 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18721 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18722 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18723 then :
   18724   printf %s "(cached) " >&6
   18725 else $as_nop
   18726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18727 /* end confdefs.h.  */
   18728 int i;
   18729 _ACEOF
   18730 if ac_fn_c_try_compile "$LINENO"
   18731 then :
   18732   xorg_cv_cc_flag_unused_command_line_argument=yes
   18733 else $as_nop
   18734   xorg_cv_cc_flag_unused_command_line_argument=no
   18735 fi
   18736 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18737 fi
   18738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18739 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18740 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18741 	CFLAGS="$xorg_testset_save_CFLAGS"
   18742 fi
   18743 
   18744 found="no"
   18745 
   18746 	if test $found = "no" ; then
   18747 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18748 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18749 		fi
   18750 
   18751 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18752 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18753 		fi
   18754 
   18755 		CFLAGS="$CFLAGS -Warray-bounds"
   18756 
   18757 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   18758 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   18759 		cacheid=xorg_cv_cc_flag__Warray_bounds
   18760 		if eval test \${$cacheid+y}
   18761 then :
   18762   printf %s "(cached) " >&6
   18763 else $as_nop
   18764   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18765 /* end confdefs.h.  */
   18766 int i;
   18767 int
   18768 main (void)
   18769 {
   18770 
   18771   ;
   18772   return 0;
   18773 }
   18774 _ACEOF
   18775 if ac_fn_c_try_link "$LINENO"
   18776 then :
   18777   eval $cacheid=yes
   18778 else $as_nop
   18779   eval $cacheid=no
   18780 fi
   18781 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18782     conftest$ac_exeext conftest.$ac_ext
   18783 fi
   18784 
   18785 
   18786 		CFLAGS="$xorg_testset_save_CFLAGS"
   18787 
   18788 		eval supported=\$$cacheid
   18789 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18790 printf "%s\n" "$supported" >&6; }
   18791 		if test "$supported" = "yes" ; then
   18792 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   18793 			found="yes"
   18794 		fi
   18795 	fi
   18796 
   18797 
   18798 
   18799 
   18800 
   18801 
   18802 
   18803 
   18804 
   18805 
   18806 
   18807 
   18808 
   18809 
   18810 
   18811 xorg_testset_save_CFLAGS="$CFLAGS"
   18812 
   18813 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18814 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18815 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18816 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18817 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18818 then :
   18819   printf %s "(cached) " >&6
   18820 else $as_nop
   18821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18822 /* end confdefs.h.  */
   18823 int i;
   18824 _ACEOF
   18825 if ac_fn_c_try_compile "$LINENO"
   18826 then :
   18827   xorg_cv_cc_flag_unknown_warning_option=yes
   18828 else $as_nop
   18829   xorg_cv_cc_flag_unknown_warning_option=no
   18830 fi
   18831 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18832 fi
   18833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18834 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18835 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18836 	CFLAGS="$xorg_testset_save_CFLAGS"
   18837 fi
   18838 
   18839 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18840 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18841 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18842 	fi
   18843 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18844 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18845 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18846 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18847 then :
   18848   printf %s "(cached) " >&6
   18849 else $as_nop
   18850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18851 /* end confdefs.h.  */
   18852 int i;
   18853 _ACEOF
   18854 if ac_fn_c_try_compile "$LINENO"
   18855 then :
   18856   xorg_cv_cc_flag_unused_command_line_argument=yes
   18857 else $as_nop
   18858   xorg_cv_cc_flag_unused_command_line_argument=no
   18859 fi
   18860 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18861 fi
   18862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18863 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18864 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18865 	CFLAGS="$xorg_testset_save_CFLAGS"
   18866 fi
   18867 
   18868 found="no"
   18869 
   18870 	if test $found = "no" ; then
   18871 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18872 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18873 		fi
   18874 
   18875 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18876 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18877 		fi
   18878 
   18879 		CFLAGS="$CFLAGS -Wwrite-strings"
   18880 
   18881 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   18882 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   18883 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   18884 		if eval test \${$cacheid+y}
   18885 then :
   18886   printf %s "(cached) " >&6
   18887 else $as_nop
   18888   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18889 /* end confdefs.h.  */
   18890 int i;
   18891 int
   18892 main (void)
   18893 {
   18894 
   18895   ;
   18896   return 0;
   18897 }
   18898 _ACEOF
   18899 if ac_fn_c_try_link "$LINENO"
   18900 then :
   18901   eval $cacheid=yes
   18902 else $as_nop
   18903   eval $cacheid=no
   18904 fi
   18905 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   18906     conftest$ac_exeext conftest.$ac_ext
   18907 fi
   18908 
   18909 
   18910 		CFLAGS="$xorg_testset_save_CFLAGS"
   18911 
   18912 		eval supported=\$$cacheid
   18913 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18914 printf "%s\n" "$supported" >&6; }
   18915 		if test "$supported" = "yes" ; then
   18916 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   18917 			found="yes"
   18918 		fi
   18919 	fi
   18920 
   18921 
   18922 
   18923 
   18924 
   18925 
   18926 
   18927 
   18928 
   18929 
   18930 
   18931 
   18932 
   18933 
   18934 
   18935 xorg_testset_save_CFLAGS="$CFLAGS"
   18936 
   18937 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18938 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18939 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18940 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18941 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   18942 then :
   18943   printf %s "(cached) " >&6
   18944 else $as_nop
   18945   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18946 /* end confdefs.h.  */
   18947 int i;
   18948 _ACEOF
   18949 if ac_fn_c_try_compile "$LINENO"
   18950 then :
   18951   xorg_cv_cc_flag_unknown_warning_option=yes
   18952 else $as_nop
   18953   xorg_cv_cc_flag_unknown_warning_option=no
   18954 fi
   18955 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18956 fi
   18957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18958 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18959 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18960 	CFLAGS="$xorg_testset_save_CFLAGS"
   18961 fi
   18962 
   18963 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18964 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18965 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18966 	fi
   18967 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18968 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18969 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18970 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   18971 then :
   18972   printf %s "(cached) " >&6
   18973 else $as_nop
   18974   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18975 /* end confdefs.h.  */
   18976 int i;
   18977 _ACEOF
   18978 if ac_fn_c_try_compile "$LINENO"
   18979 then :
   18980   xorg_cv_cc_flag_unused_command_line_argument=yes
   18981 else $as_nop
   18982   xorg_cv_cc_flag_unused_command_line_argument=no
   18983 fi
   18984 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   18985 fi
   18986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18987 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18988 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18989 	CFLAGS="$xorg_testset_save_CFLAGS"
   18990 fi
   18991 
   18992 found="no"
   18993 
   18994 	if test $found = "no" ; then
   18995 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18996 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18997 		fi
   18998 
   18999 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19000 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19001 		fi
   19002 
   19003 		CFLAGS="$CFLAGS -Waddress"
   19004 
   19005 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   19006 printf %s "checking if $CC supports -Waddress... " >&6; }
   19007 		cacheid=xorg_cv_cc_flag__Waddress
   19008 		if eval test \${$cacheid+y}
   19009 then :
   19010   printf %s "(cached) " >&6
   19011 else $as_nop
   19012   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19013 /* end confdefs.h.  */
   19014 int i;
   19015 int
   19016 main (void)
   19017 {
   19018 
   19019   ;
   19020   return 0;
   19021 }
   19022 _ACEOF
   19023 if ac_fn_c_try_link "$LINENO"
   19024 then :
   19025   eval $cacheid=yes
   19026 else $as_nop
   19027   eval $cacheid=no
   19028 fi
   19029 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19030     conftest$ac_exeext conftest.$ac_ext
   19031 fi
   19032 
   19033 
   19034 		CFLAGS="$xorg_testset_save_CFLAGS"
   19035 
   19036 		eval supported=\$$cacheid
   19037 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19038 printf "%s\n" "$supported" >&6; }
   19039 		if test "$supported" = "yes" ; then
   19040 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   19041 			found="yes"
   19042 		fi
   19043 	fi
   19044 
   19045 
   19046 
   19047 
   19048 
   19049 
   19050 
   19051 
   19052 
   19053 
   19054 
   19055 
   19056 
   19057 
   19058 
   19059 xorg_testset_save_CFLAGS="$CFLAGS"
   19060 
   19061 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19062 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19063 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19064 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19065 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19066 then :
   19067   printf %s "(cached) " >&6
   19068 else $as_nop
   19069   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19070 /* end confdefs.h.  */
   19071 int i;
   19072 _ACEOF
   19073 if ac_fn_c_try_compile "$LINENO"
   19074 then :
   19075   xorg_cv_cc_flag_unknown_warning_option=yes
   19076 else $as_nop
   19077   xorg_cv_cc_flag_unknown_warning_option=no
   19078 fi
   19079 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19080 fi
   19081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19082 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19083 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19084 	CFLAGS="$xorg_testset_save_CFLAGS"
   19085 fi
   19086 
   19087 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19088 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19089 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19090 	fi
   19091 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19092 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19093 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19094 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19095 then :
   19096   printf %s "(cached) " >&6
   19097 else $as_nop
   19098   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19099 /* end confdefs.h.  */
   19100 int i;
   19101 _ACEOF
   19102 if ac_fn_c_try_compile "$LINENO"
   19103 then :
   19104   xorg_cv_cc_flag_unused_command_line_argument=yes
   19105 else $as_nop
   19106   xorg_cv_cc_flag_unused_command_line_argument=no
   19107 fi
   19108 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19109 fi
   19110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19111 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19112 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19113 	CFLAGS="$xorg_testset_save_CFLAGS"
   19114 fi
   19115 
   19116 found="no"
   19117 
   19118 	if test $found = "no" ; then
   19119 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19120 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19121 		fi
   19122 
   19123 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19124 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19125 		fi
   19126 
   19127 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   19128 
   19129 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   19130 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   19131 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   19132 		if eval test \${$cacheid+y}
   19133 then :
   19134   printf %s "(cached) " >&6
   19135 else $as_nop
   19136   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19137 /* end confdefs.h.  */
   19138 int i;
   19139 int
   19140 main (void)
   19141 {
   19142 
   19143   ;
   19144   return 0;
   19145 }
   19146 _ACEOF
   19147 if ac_fn_c_try_link "$LINENO"
   19148 then :
   19149   eval $cacheid=yes
   19150 else $as_nop
   19151   eval $cacheid=no
   19152 fi
   19153 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19154     conftest$ac_exeext conftest.$ac_ext
   19155 fi
   19156 
   19157 
   19158 		CFLAGS="$xorg_testset_save_CFLAGS"
   19159 
   19160 		eval supported=\$$cacheid
   19161 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19162 printf "%s\n" "$supported" >&6; }
   19163 		if test "$supported" = "yes" ; then
   19164 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   19165 			found="yes"
   19166 		fi
   19167 	fi
   19168 
   19169 
   19170 
   19171 
   19172 
   19173 
   19174 
   19175 
   19176 
   19177 
   19178 
   19179 
   19180 
   19181 
   19182 
   19183 xorg_testset_save_CFLAGS="$CFLAGS"
   19184 
   19185 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19186 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19187 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19188 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19189 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19190 then :
   19191   printf %s "(cached) " >&6
   19192 else $as_nop
   19193   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19194 /* end confdefs.h.  */
   19195 int i;
   19196 _ACEOF
   19197 if ac_fn_c_try_compile "$LINENO"
   19198 then :
   19199   xorg_cv_cc_flag_unknown_warning_option=yes
   19200 else $as_nop
   19201   xorg_cv_cc_flag_unknown_warning_option=no
   19202 fi
   19203 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19204 fi
   19205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19206 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19207 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19208 	CFLAGS="$xorg_testset_save_CFLAGS"
   19209 fi
   19210 
   19211 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19212 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19213 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19214 	fi
   19215 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19216 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19217 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19218 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19219 then :
   19220   printf %s "(cached) " >&6
   19221 else $as_nop
   19222   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19223 /* end confdefs.h.  */
   19224 int i;
   19225 _ACEOF
   19226 if ac_fn_c_try_compile "$LINENO"
   19227 then :
   19228   xorg_cv_cc_flag_unused_command_line_argument=yes
   19229 else $as_nop
   19230   xorg_cv_cc_flag_unused_command_line_argument=no
   19231 fi
   19232 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19233 fi
   19234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19235 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19236 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19237 	CFLAGS="$xorg_testset_save_CFLAGS"
   19238 fi
   19239 
   19240 found="no"
   19241 
   19242 	if test $found = "no" ; then
   19243 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19244 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19245 		fi
   19246 
   19247 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19248 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19249 		fi
   19250 
   19251 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   19252 
   19253 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   19254 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   19255 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   19256 		if eval test \${$cacheid+y}
   19257 then :
   19258   printf %s "(cached) " >&6
   19259 else $as_nop
   19260   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19261 /* end confdefs.h.  */
   19262 int i;
   19263 int
   19264 main (void)
   19265 {
   19266 
   19267   ;
   19268   return 0;
   19269 }
   19270 _ACEOF
   19271 if ac_fn_c_try_link "$LINENO"
   19272 then :
   19273   eval $cacheid=yes
   19274 else $as_nop
   19275   eval $cacheid=no
   19276 fi
   19277 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19278     conftest$ac_exeext conftest.$ac_ext
   19279 fi
   19280 
   19281 
   19282 		CFLAGS="$xorg_testset_save_CFLAGS"
   19283 
   19284 		eval supported=\$$cacheid
   19285 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19286 printf "%s\n" "$supported" >&6; }
   19287 		if test "$supported" = "yes" ; then
   19288 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   19289 			found="yes"
   19290 		fi
   19291 	fi
   19292 
   19293 
   19294 fi
   19295 
   19296 
   19297 
   19298 
   19299 
   19300 
   19301 
   19302 		CWARNFLAGS="$BASE_CFLAGS"
   19303 		if  test "x$GCC" = xyes ; then
   19304 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   19305 		fi
   19306 
   19307 
   19308 
   19309 
   19310 
   19311 
   19312 
   19313 
   19314 # Check whether --enable-strict-compilation was given.
   19315 if test ${enable_strict_compilation+y}
   19316 then :
   19317   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   19318 else $as_nop
   19319   STRICT_COMPILE=no
   19320 fi
   19321 
   19322 
   19323 
   19324 
   19325 
   19326 
   19327 STRICT_CFLAGS=""
   19328 
   19329 
   19330 
   19331 
   19332 
   19333 
   19334 
   19335 
   19336 
   19337 
   19338 
   19339 
   19340 
   19341 xorg_testset_save_CFLAGS="$CFLAGS"
   19342 
   19343 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19344 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19345 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19346 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19347 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19348 then :
   19349   printf %s "(cached) " >&6
   19350 else $as_nop
   19351   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19352 /* end confdefs.h.  */
   19353 int i;
   19354 _ACEOF
   19355 if ac_fn_c_try_compile "$LINENO"
   19356 then :
   19357   xorg_cv_cc_flag_unknown_warning_option=yes
   19358 else $as_nop
   19359   xorg_cv_cc_flag_unknown_warning_option=no
   19360 fi
   19361 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19362 fi
   19363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19364 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19365 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19366 	CFLAGS="$xorg_testset_save_CFLAGS"
   19367 fi
   19368 
   19369 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19370 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19371 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19372 	fi
   19373 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19374 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19375 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19376 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19377 then :
   19378   printf %s "(cached) " >&6
   19379 else $as_nop
   19380   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19381 /* end confdefs.h.  */
   19382 int i;
   19383 _ACEOF
   19384 if ac_fn_c_try_compile "$LINENO"
   19385 then :
   19386   xorg_cv_cc_flag_unused_command_line_argument=yes
   19387 else $as_nop
   19388   xorg_cv_cc_flag_unused_command_line_argument=no
   19389 fi
   19390 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19391 fi
   19392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19393 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19394 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19395 	CFLAGS="$xorg_testset_save_CFLAGS"
   19396 fi
   19397 
   19398 found="no"
   19399 
   19400 	if test $found = "no" ; then
   19401 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19402 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19403 		fi
   19404 
   19405 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19406 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19407 		fi
   19408 
   19409 		CFLAGS="$CFLAGS -pedantic"
   19410 
   19411 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   19412 printf %s "checking if $CC supports -pedantic... " >&6; }
   19413 		cacheid=xorg_cv_cc_flag__pedantic
   19414 		if eval test \${$cacheid+y}
   19415 then :
   19416   printf %s "(cached) " >&6
   19417 else $as_nop
   19418   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19419 /* end confdefs.h.  */
   19420 int i;
   19421 int
   19422 main (void)
   19423 {
   19424 
   19425   ;
   19426   return 0;
   19427 }
   19428 _ACEOF
   19429 if ac_fn_c_try_link "$LINENO"
   19430 then :
   19431   eval $cacheid=yes
   19432 else $as_nop
   19433   eval $cacheid=no
   19434 fi
   19435 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19436     conftest$ac_exeext conftest.$ac_ext
   19437 fi
   19438 
   19439 
   19440 		CFLAGS="$xorg_testset_save_CFLAGS"
   19441 
   19442 		eval supported=\$$cacheid
   19443 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19444 printf "%s\n" "$supported" >&6; }
   19445 		if test "$supported" = "yes" ; then
   19446 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   19447 			found="yes"
   19448 		fi
   19449 	fi
   19450 
   19451 
   19452 
   19453 
   19454 
   19455 
   19456 
   19457 
   19458 
   19459 
   19460 
   19461 
   19462 
   19463 
   19464 
   19465 xorg_testset_save_CFLAGS="$CFLAGS"
   19466 
   19467 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19468 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19469 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19470 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19471 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19472 then :
   19473   printf %s "(cached) " >&6
   19474 else $as_nop
   19475   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19476 /* end confdefs.h.  */
   19477 int i;
   19478 _ACEOF
   19479 if ac_fn_c_try_compile "$LINENO"
   19480 then :
   19481   xorg_cv_cc_flag_unknown_warning_option=yes
   19482 else $as_nop
   19483   xorg_cv_cc_flag_unknown_warning_option=no
   19484 fi
   19485 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19486 fi
   19487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19488 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19489 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19490 	CFLAGS="$xorg_testset_save_CFLAGS"
   19491 fi
   19492 
   19493 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19494 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19495 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19496 	fi
   19497 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19498 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19499 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19500 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19501 then :
   19502   printf %s "(cached) " >&6
   19503 else $as_nop
   19504   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19505 /* end confdefs.h.  */
   19506 int i;
   19507 _ACEOF
   19508 if ac_fn_c_try_compile "$LINENO"
   19509 then :
   19510   xorg_cv_cc_flag_unused_command_line_argument=yes
   19511 else $as_nop
   19512   xorg_cv_cc_flag_unused_command_line_argument=no
   19513 fi
   19514 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19515 fi
   19516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19517 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19518 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19519 	CFLAGS="$xorg_testset_save_CFLAGS"
   19520 fi
   19521 
   19522 found="no"
   19523 
   19524 	if test $found = "no" ; then
   19525 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19526 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19527 		fi
   19528 
   19529 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19530 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19531 		fi
   19532 
   19533 		CFLAGS="$CFLAGS -Werror"
   19534 
   19535 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   19536 printf %s "checking if $CC supports -Werror... " >&6; }
   19537 		cacheid=xorg_cv_cc_flag__Werror
   19538 		if eval test \${$cacheid+y}
   19539 then :
   19540   printf %s "(cached) " >&6
   19541 else $as_nop
   19542   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19543 /* end confdefs.h.  */
   19544 int i;
   19545 int
   19546 main (void)
   19547 {
   19548 
   19549   ;
   19550   return 0;
   19551 }
   19552 _ACEOF
   19553 if ac_fn_c_try_link "$LINENO"
   19554 then :
   19555   eval $cacheid=yes
   19556 else $as_nop
   19557   eval $cacheid=no
   19558 fi
   19559 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19560     conftest$ac_exeext conftest.$ac_ext
   19561 fi
   19562 
   19563 
   19564 		CFLAGS="$xorg_testset_save_CFLAGS"
   19565 
   19566 		eval supported=\$$cacheid
   19567 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19568 printf "%s\n" "$supported" >&6; }
   19569 		if test "$supported" = "yes" ; then
   19570 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   19571 			found="yes"
   19572 		fi
   19573 	fi
   19574 
   19575 	if test $found = "no" ; then
   19576 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19577 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19578 		fi
   19579 
   19580 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19581 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19582 		fi
   19583 
   19584 		CFLAGS="$CFLAGS -errwarn"
   19585 
   19586 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   19587 printf %s "checking if $CC supports -errwarn... " >&6; }
   19588 		cacheid=xorg_cv_cc_flag__errwarn
   19589 		if eval test \${$cacheid+y}
   19590 then :
   19591   printf %s "(cached) " >&6
   19592 else $as_nop
   19593   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19594 /* end confdefs.h.  */
   19595 int i;
   19596 int
   19597 main (void)
   19598 {
   19599 
   19600   ;
   19601   return 0;
   19602 }
   19603 _ACEOF
   19604 if ac_fn_c_try_link "$LINENO"
   19605 then :
   19606   eval $cacheid=yes
   19607 else $as_nop
   19608   eval $cacheid=no
   19609 fi
   19610 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19611     conftest$ac_exeext conftest.$ac_ext
   19612 fi
   19613 
   19614 
   19615 		CFLAGS="$xorg_testset_save_CFLAGS"
   19616 
   19617 		eval supported=\$$cacheid
   19618 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19619 printf "%s\n" "$supported" >&6; }
   19620 		if test "$supported" = "yes" ; then
   19621 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   19622 			found="yes"
   19623 		fi
   19624 	fi
   19625 
   19626 
   19627 
   19628 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   19629 # activate it with -Werror, so we add it here explicitly.
   19630 
   19631 
   19632 
   19633 
   19634 
   19635 
   19636 
   19637 
   19638 
   19639 
   19640 
   19641 
   19642 
   19643 xorg_testset_save_CFLAGS="$CFLAGS"
   19644 
   19645 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   19646 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19647 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   19648 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   19649 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   19650 then :
   19651   printf %s "(cached) " >&6
   19652 else $as_nop
   19653   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19654 /* end confdefs.h.  */
   19655 int i;
   19656 _ACEOF
   19657 if ac_fn_c_try_compile "$LINENO"
   19658 then :
   19659   xorg_cv_cc_flag_unknown_warning_option=yes
   19660 else $as_nop
   19661   xorg_cv_cc_flag_unknown_warning_option=no
   19662 fi
   19663 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19664 fi
   19665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   19666 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   19667 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   19668 	CFLAGS="$xorg_testset_save_CFLAGS"
   19669 fi
   19670 
   19671 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   19672 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19673 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19674 	fi
   19675 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19676 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   19677 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   19678 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   19679 then :
   19680   printf %s "(cached) " >&6
   19681 else $as_nop
   19682   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19683 /* end confdefs.h.  */
   19684 int i;
   19685 _ACEOF
   19686 if ac_fn_c_try_compile "$LINENO"
   19687 then :
   19688   xorg_cv_cc_flag_unused_command_line_argument=yes
   19689 else $as_nop
   19690   xorg_cv_cc_flag_unused_command_line_argument=no
   19691 fi
   19692 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   19693 fi
   19694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   19695 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   19696 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   19697 	CFLAGS="$xorg_testset_save_CFLAGS"
   19698 fi
   19699 
   19700 found="no"
   19701 
   19702 	if test $found = "no" ; then
   19703 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   19704 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   19705 		fi
   19706 
   19707 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   19708 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   19709 		fi
   19710 
   19711 		CFLAGS="$CFLAGS -Werror=attributes"
   19712 
   19713 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   19714 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   19715 		cacheid=xorg_cv_cc_flag__Werror_attributes
   19716 		if eval test \${$cacheid+y}
   19717 then :
   19718   printf %s "(cached) " >&6
   19719 else $as_nop
   19720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19721 /* end confdefs.h.  */
   19722 int i;
   19723 int
   19724 main (void)
   19725 {
   19726 
   19727   ;
   19728   return 0;
   19729 }
   19730 _ACEOF
   19731 if ac_fn_c_try_link "$LINENO"
   19732 then :
   19733   eval $cacheid=yes
   19734 else $as_nop
   19735   eval $cacheid=no
   19736 fi
   19737 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   19738     conftest$ac_exeext conftest.$ac_ext
   19739 fi
   19740 
   19741 
   19742 		CFLAGS="$xorg_testset_save_CFLAGS"
   19743 
   19744 		eval supported=\$$cacheid
   19745 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   19746 printf "%s\n" "$supported" >&6; }
   19747 		if test "$supported" = "yes" ; then
   19748 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   19749 			found="yes"
   19750 		fi
   19751 	fi
   19752 
   19753 
   19754 
   19755 if test "x$STRICT_COMPILE" = "xyes"; then
   19756     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   19757     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   19758 fi
   19759 
   19760 
   19761 
   19762 
   19763 
   19764 
   19765 
   19766 
   19767 cat >>confdefs.h <<_ACEOF
   19768 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   19769 _ACEOF
   19770 
   19771 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   19772 	if test "x$PVM" = "x"; then
   19773 		PVM="0"
   19774 	fi
   19775 
   19776 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   19777 
   19778 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   19779 	if test "x$PVP" = "x"; then
   19780 		PVP="0"
   19781 	fi
   19782 
   19783 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   19784 
   19785 
   19786 
   19787 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   19788 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   19789 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   19790 touch \$(top_srcdir)/ChangeLog; \
   19791 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   19792 
   19793 
   19794 
   19795 
   19796 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   19797 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   19798 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   19799 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   19800 touch \$(top_srcdir)/INSTALL; \
   19801 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   19802 
   19803 
   19804 
   19805 
   19806 
   19807 
   19808 case $host_os in
   19809     solaris*)
   19810         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   19811         # check for a man page file found in later versions that use
   19812         # traditional section numbers instead
   19813         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   19814 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   19815 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   19816 then :
   19817   printf %s "(cached) " >&6
   19818 else $as_nop
   19819   test "$cross_compiling" = yes &&
   19820   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   19821 if test -r "/usr/share/man/man7/attributes.7"; then
   19822   ac_cv_file__usr_share_man_man7_attributes_7=yes
   19823 else
   19824   ac_cv_file__usr_share_man_man7_attributes_7=no
   19825 fi
   19826 fi
   19827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   19828 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   19829 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   19830 then :
   19831   SYSV_MAN_SECTIONS=false
   19832 else $as_nop
   19833   SYSV_MAN_SECTIONS=true
   19834 fi
   19835 
   19836         ;;
   19837     *) SYSV_MAN_SECTIONS=false ;;
   19838 esac
   19839 
   19840 if test x$APP_MAN_SUFFIX = x    ; then
   19841     APP_MAN_SUFFIX=1
   19842 fi
   19843 if test x$APP_MAN_DIR = x    ; then
   19844     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   19845 fi
   19846 
   19847 if test x$LIB_MAN_SUFFIX = x    ; then
   19848     LIB_MAN_SUFFIX=3
   19849 fi
   19850 if test x$LIB_MAN_DIR = x    ; then
   19851     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   19852 fi
   19853 
   19854 if test x$FILE_MAN_SUFFIX = x    ; then
   19855     case $SYSV_MAN_SECTIONS in
   19856 	true)				FILE_MAN_SUFFIX=4  ;;
   19857 	*)				FILE_MAN_SUFFIX=5  ;;
   19858     esac
   19859 fi
   19860 if test x$FILE_MAN_DIR = x    ; then
   19861     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   19862 fi
   19863 
   19864 if test x$MISC_MAN_SUFFIX = x    ; then
   19865     case $SYSV_MAN_SECTIONS in
   19866 	true)				MISC_MAN_SUFFIX=5  ;;
   19867 	*)				MISC_MAN_SUFFIX=7  ;;
   19868     esac
   19869 fi
   19870 if test x$MISC_MAN_DIR = x    ; then
   19871     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   19872 fi
   19873 
   19874 if test x$DRIVER_MAN_SUFFIX = x    ; then
   19875     case $SYSV_MAN_SECTIONS in
   19876 	true)				DRIVER_MAN_SUFFIX=7  ;;
   19877 	*)				DRIVER_MAN_SUFFIX=4  ;;
   19878     esac
   19879 fi
   19880 if test x$DRIVER_MAN_DIR = x    ; then
   19881     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   19882 fi
   19883 
   19884 if test x$ADMIN_MAN_SUFFIX = x    ; then
   19885     case $SYSV_MAN_SECTIONS in
   19886 	true)				ADMIN_MAN_SUFFIX=1m ;;
   19887 	*)				ADMIN_MAN_SUFFIX=8  ;;
   19888     esac
   19889 fi
   19890 if test x$ADMIN_MAN_DIR = x    ; then
   19891     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   19892 fi
   19893 
   19894 
   19895 
   19896 
   19897 
   19898 
   19899 
   19900 
   19901 
   19902 
   19903 
   19904 
   19905 
   19906 
   19907 
   19908 XORG_MAN_PAGE="X Version 11"
   19909 
   19910 MAN_SUBSTS="\
   19911 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19912 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   19913 	-e 's|__xservername__|Xorg|g' \
   19914 	-e 's|__xconfigfile__|xorg.conf|g' \
   19915 	-e 's|__projectroot__|\$(prefix)|g' \
   19916 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   19917 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   19918 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   19919 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   19920 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   19921 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   19922 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   19923 
   19924 
   19925 
   19926 # Check whether --enable-silent-rules was given.
   19927 if test ${enable_silent_rules+y}
   19928 then :
   19929   enableval=$enable_silent_rules;
   19930 fi
   19931 
   19932 case $enable_silent_rules in # (((
   19933   yes) AM_DEFAULT_VERBOSITY=0;;
   19934    no) AM_DEFAULT_VERBOSITY=1;;
   19935     *) AM_DEFAULT_VERBOSITY=0;;
   19936 esac
   19937 am_make=${MAKE-make}
   19938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   19939 printf %s "checking whether $am_make supports nested variables... " >&6; }
   19940 if test ${am_cv_make_support_nested_variables+y}
   19941 then :
   19942   printf %s "(cached) " >&6
   19943 else $as_nop
   19944   if printf "%s\n" 'TRUE=$(BAR$(V))
   19945 BAR0=false
   19946 BAR1=true
   19947 V=1
   19948 am__doit:
   19949 	@$(TRUE)
   19950 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   19951   am_cv_make_support_nested_variables=yes
   19952 else
   19953   am_cv_make_support_nested_variables=no
   19954 fi
   19955 fi
   19956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   19957 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   19958 if test $am_cv_make_support_nested_variables = yes; then
   19959     AM_V='$(V)'
   19960   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   19961 else
   19962   AM_V=$AM_DEFAULT_VERBOSITY
   19963   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   19964 fi
   19965 AM_BACKSLASH='\'
   19966 
   19967 
   19968 
   19969 
   19970 
   19971 # Check whether --enable-specs was given.
   19972 if test ${enable_specs+y}
   19973 then :
   19974   enableval=$enable_specs; build_specs=$enableval
   19975 else $as_nop
   19976   build_specs=yes
   19977 fi
   19978 
   19979 
   19980  if test x$build_specs = xyes; then
   19981   ENABLE_SPECS_TRUE=
   19982   ENABLE_SPECS_FALSE='#'
   19983 else
   19984   ENABLE_SPECS_TRUE='#'
   19985   ENABLE_SPECS_FALSE=
   19986 fi
   19987 
   19988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build functional specifications" >&5
   19989 printf %s "checking whether to build functional specifications... " >&6; }
   19990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $build_specs" >&5
   19991 printf "%s\n" "$build_specs" >&6; }
   19992 
   19993 
   19994 
   19995 
   19996 
   19997 # Check whether --with-xmlto was given.
   19998 if test ${with_xmlto+y}
   19999 then :
   20000   withval=$with_xmlto; use_xmlto=$withval
   20001 else $as_nop
   20002   use_xmlto=auto
   20003 fi
   20004 
   20005 
   20006 
   20007 if test "x$use_xmlto" = x"auto"; then
   20008    # Extract the first word of "xmlto", so it can be a program name with args.
   20009 set dummy xmlto; ac_word=$2
   20010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20011 printf %s "checking for $ac_word... " >&6; }
   20012 if test ${ac_cv_path_XMLTO+y}
   20013 then :
   20014   printf %s "(cached) " >&6
   20015 else $as_nop
   20016   case $XMLTO in
   20017   [\\/]* | ?:[\\/]*)
   20018   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   20019   ;;
   20020   *)
   20021   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20022 for as_dir in $PATH
   20023 do
   20024   IFS=$as_save_IFS
   20025   case $as_dir in #(((
   20026     '') as_dir=./ ;;
   20027     */) ;;
   20028     *) as_dir=$as_dir/ ;;
   20029   esac
   20030     for ac_exec_ext in '' $ac_executable_extensions; do
   20031   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20032     ac_cv_path_XMLTO="$as_dir$ac_word$ac_exec_ext"
   20033     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20034     break 2
   20035   fi
   20036 done
   20037   done
   20038 IFS=$as_save_IFS
   20039 
   20040   ;;
   20041 esac
   20042 fi
   20043 XMLTO=$ac_cv_path_XMLTO
   20044 if test -n "$XMLTO"; then
   20045   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   20046 printf "%s\n" "$XMLTO" >&6; }
   20047 else
   20048   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20049 printf "%s\n" "no" >&6; }
   20050 fi
   20051 
   20052 
   20053    if test "x$XMLTO" = "x"; then
   20054         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
   20055 printf "%s\n" "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   20056 	have_xmlto=no
   20057    else
   20058         have_xmlto=yes
   20059    fi
   20060 elif test "x$use_xmlto" = x"yes" ; then
   20061    # Extract the first word of "xmlto", so it can be a program name with args.
   20062 set dummy xmlto; ac_word=$2
   20063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20064 printf %s "checking for $ac_word... " >&6; }
   20065 if test ${ac_cv_path_XMLTO+y}
   20066 then :
   20067   printf %s "(cached) " >&6
   20068 else $as_nop
   20069   case $XMLTO in
   20070   [\\/]* | ?:[\\/]*)
   20071   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   20072   ;;
   20073   *)
   20074   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20075 for as_dir in $PATH
   20076 do
   20077   IFS=$as_save_IFS
   20078   case $as_dir in #(((
   20079     '') as_dir=./ ;;
   20080     */) ;;
   20081     *) as_dir=$as_dir/ ;;
   20082   esac
   20083     for ac_exec_ext in '' $ac_executable_extensions; do
   20084   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20085     ac_cv_path_XMLTO="$as_dir$ac_word$ac_exec_ext"
   20086     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20087     break 2
   20088   fi
   20089 done
   20090   done
   20091 IFS=$as_save_IFS
   20092 
   20093   ;;
   20094 esac
   20095 fi
   20096 XMLTO=$ac_cv_path_XMLTO
   20097 if test -n "$XMLTO"; then
   20098   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   20099 printf "%s\n" "$XMLTO" >&6; }
   20100 else
   20101   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20102 printf "%s\n" "no" >&6; }
   20103 fi
   20104 
   20105 
   20106    if test "x$XMLTO" = "x"; then
   20107         as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
   20108    fi
   20109    have_xmlto=yes
   20110 elif test "x$use_xmlto" = x"no" ; then
   20111    if test "x$XMLTO" != "x"; then
   20112       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   20113 printf "%s\n" "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   20114    fi
   20115    have_xmlto=no
   20116 else
   20117    as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
   20118 fi
   20119 
   20120 # Test for a minimum version of xmlto, if provided.
   20121 if test "$have_xmlto" = yes; then
   20122     # scrape the xmlto version
   20123     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
   20124 printf %s "checking the xmlto version... " >&6; }
   20125     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   20126     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
   20127 printf "%s\n" "$xmlto_version" >&6; }
   20128     as_arg_v1=$xmlto_version
   20129 as_arg_v2=0.0.22
   20130 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   20131 case $? in #(
   20132   1) :
   20133     if test "x$use_xmlto" = xauto; then
   20134             { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&5
   20135 printf "%s\n" "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&2;}
   20136             have_xmlto=no
   20137         else
   20138             as_fn_error $? "xmlto version $xmlto_version found, but 0.0.22 needed" "$LINENO" 5
   20139         fi ;; #(
   20140   0) :
   20141      ;; #(
   20142   2) :
   20143      ;; #(
   20144   *) :
   20145      ;;
   20146 esac
   20147 fi
   20148 
   20149 # Test for the ability of xmlto to generate a text target
   20150 #
   20151 # NOTE: xmlto 0.0.27 or higher return a non-zero return code in the
   20152 # following test for empty XML docbook files.
   20153 # For compatibility reasons use the following empty XML docbook file and if
   20154 # it fails try it again with a non-empty XML file.
   20155 have_xmlto_text=no
   20156 cat > conftest.xml << "EOF"
   20157 EOF
   20158 if test "$have_xmlto" = yes
   20159 then :
   20160   if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1
   20161 then :
   20162   have_xmlto_text=yes
   20163 else $as_nop
   20164   # Try it again with a non-empty XML file.
   20165               cat > conftest.xml << "EOF"
   20166 <x></x>
   20167 EOF
   20168               if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1
   20169 then :
   20170   have_xmlto_text=yes
   20171 else $as_nop
   20172   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
   20173 printf "%s\n" "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;}
   20174 fi
   20175 fi
   20176 fi
   20177 rm -f conftest.xml
   20178  if test $have_xmlto_text = yes; then
   20179   HAVE_XMLTO_TEXT_TRUE=
   20180   HAVE_XMLTO_TEXT_FALSE='#'
   20181 else
   20182   HAVE_XMLTO_TEXT_TRUE='#'
   20183   HAVE_XMLTO_TEXT_FALSE=
   20184 fi
   20185 
   20186  if test "$have_xmlto" = yes; then
   20187   HAVE_XMLTO_TRUE=
   20188   HAVE_XMLTO_FALSE='#'
   20189 else
   20190   HAVE_XMLTO_TRUE='#'
   20191   HAVE_XMLTO_FALSE=
   20192 fi
   20193 
   20194 
   20195 
   20196 
   20197 
   20198 
   20199 # Check whether --with-fop was given.
   20200 if test ${with_fop+y}
   20201 then :
   20202   withval=$with_fop; use_fop=$withval
   20203 else $as_nop
   20204   use_fop=no
   20205 fi
   20206 
   20207 
   20208 
   20209 if test "x$use_fop" = x"auto"; then
   20210    # Extract the first word of "fop", so it can be a program name with args.
   20211 set dummy fop; ac_word=$2
   20212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20213 printf %s "checking for $ac_word... " >&6; }
   20214 if test ${ac_cv_path_FOP+y}
   20215 then :
   20216   printf %s "(cached) " >&6
   20217 else $as_nop
   20218   case $FOP in
   20219   [\\/]* | ?:[\\/]*)
   20220   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   20221   ;;
   20222   *)
   20223   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20224 for as_dir in $PATH
   20225 do
   20226   IFS=$as_save_IFS
   20227   case $as_dir in #(((
   20228     '') as_dir=./ ;;
   20229     */) ;;
   20230     *) as_dir=$as_dir/ ;;
   20231   esac
   20232     for ac_exec_ext in '' $ac_executable_extensions; do
   20233   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20234     ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
   20235     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20236     break 2
   20237   fi
   20238 done
   20239   done
   20240 IFS=$as_save_IFS
   20241 
   20242   ;;
   20243 esac
   20244 fi
   20245 FOP=$ac_cv_path_FOP
   20246 if test -n "$FOP"; then
   20247   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   20248 printf "%s\n" "$FOP" >&6; }
   20249 else
   20250   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20251 printf "%s\n" "no" >&6; }
   20252 fi
   20253 
   20254 
   20255    if test "x$FOP" = "x"; then
   20256         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
   20257 printf "%s\n" "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
   20258 	have_fop=no
   20259    else
   20260         have_fop=yes
   20261    fi
   20262 elif test "x$use_fop" = x"yes" ; then
   20263    # Extract the first word of "fop", so it can be a program name with args.
   20264 set dummy fop; ac_word=$2
   20265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20266 printf %s "checking for $ac_word... " >&6; }
   20267 if test ${ac_cv_path_FOP+y}
   20268 then :
   20269   printf %s "(cached) " >&6
   20270 else $as_nop
   20271   case $FOP in
   20272   [\\/]* | ?:[\\/]*)
   20273   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   20274   ;;
   20275   *)
   20276   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20277 for as_dir in $PATH
   20278 do
   20279   IFS=$as_save_IFS
   20280   case $as_dir in #(((
   20281     '') as_dir=./ ;;
   20282     */) ;;
   20283     *) as_dir=$as_dir/ ;;
   20284   esac
   20285     for ac_exec_ext in '' $ac_executable_extensions; do
   20286   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20287     ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
   20288     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20289     break 2
   20290   fi
   20291 done
   20292   done
   20293 IFS=$as_save_IFS
   20294 
   20295   ;;
   20296 esac
   20297 fi
   20298 FOP=$ac_cv_path_FOP
   20299 if test -n "$FOP"; then
   20300   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   20301 printf "%s\n" "$FOP" >&6; }
   20302 else
   20303   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20304 printf "%s\n" "no" >&6; }
   20305 fi
   20306 
   20307 
   20308    if test "x$FOP" = "x"; then
   20309         as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
   20310    fi
   20311    have_fop=yes
   20312 elif test "x$use_fop" = x"no" ; then
   20313    if test "x$FOP" != "x"; then
   20314       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
   20315 printf "%s\n" "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
   20316    fi
   20317    have_fop=no
   20318 else
   20319    as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
   20320 fi
   20321 
   20322 # Test for a minimum version of fop, if provided.
   20323 
   20324  if test "$have_fop" = yes; then
   20325   HAVE_FOP_TRUE=
   20326   HAVE_FOP_FALSE='#'
   20327 else
   20328   HAVE_FOP_TRUE='#'
   20329   HAVE_FOP_FALSE=
   20330 fi
   20331 
   20332 
   20333 
   20334 
   20335 # Preserves the interface, should it be implemented later
   20336 
   20337 
   20338 
   20339 # Check whether --with-xsltproc was given.
   20340 if test ${with_xsltproc+y}
   20341 then :
   20342   withval=$with_xsltproc; use_xsltproc=$withval
   20343 else $as_nop
   20344   use_xsltproc=auto
   20345 fi
   20346 
   20347 
   20348 
   20349 if test "x$use_xsltproc" = x"auto"; then
   20350    # Extract the first word of "xsltproc", so it can be a program name with args.
   20351 set dummy xsltproc; ac_word=$2
   20352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20353 printf %s "checking for $ac_word... " >&6; }
   20354 if test ${ac_cv_path_XSLTPROC+y}
   20355 then :
   20356   printf %s "(cached) " >&6
   20357 else $as_nop
   20358   case $XSLTPROC in
   20359   [\\/]* | ?:[\\/]*)
   20360   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   20361   ;;
   20362   *)
   20363   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20364 for as_dir in $PATH
   20365 do
   20366   IFS=$as_save_IFS
   20367   case $as_dir in #(((
   20368     '') as_dir=./ ;;
   20369     */) ;;
   20370     *) as_dir=$as_dir/ ;;
   20371   esac
   20372     for ac_exec_ext in '' $ac_executable_extensions; do
   20373   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20374     ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext"
   20375     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20376     break 2
   20377   fi
   20378 done
   20379   done
   20380 IFS=$as_save_IFS
   20381 
   20382   ;;
   20383 esac
   20384 fi
   20385 XSLTPROC=$ac_cv_path_XSLTPROC
   20386 if test -n "$XSLTPROC"; then
   20387   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   20388 printf "%s\n" "$XSLTPROC" >&6; }
   20389 else
   20390   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20391 printf "%s\n" "no" >&6; }
   20392 fi
   20393 
   20394 
   20395    if test "x$XSLTPROC" = "x"; then
   20396         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: xsltproc not found - cannot transform XML documents" >&5
   20397 printf "%s\n" "$as_me: WARNING: xsltproc not found - cannot transform XML documents" >&2;}
   20398 	have_xsltproc=no
   20399    else
   20400         have_xsltproc=yes
   20401    fi
   20402 elif test "x$use_xsltproc" = x"yes" ; then
   20403    # Extract the first word of "xsltproc", so it can be a program name with args.
   20404 set dummy xsltproc; ac_word=$2
   20405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20406 printf %s "checking for $ac_word... " >&6; }
   20407 if test ${ac_cv_path_XSLTPROC+y}
   20408 then :
   20409   printf %s "(cached) " >&6
   20410 else $as_nop
   20411   case $XSLTPROC in
   20412   [\\/]* | ?:[\\/]*)
   20413   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   20414   ;;
   20415   *)
   20416   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20417 for as_dir in $PATH
   20418 do
   20419   IFS=$as_save_IFS
   20420   case $as_dir in #(((
   20421     '') as_dir=./ ;;
   20422     */) ;;
   20423     *) as_dir=$as_dir/ ;;
   20424   esac
   20425     for ac_exec_ext in '' $ac_executable_extensions; do
   20426   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20427     ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext"
   20428     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20429     break 2
   20430   fi
   20431 done
   20432   done
   20433 IFS=$as_save_IFS
   20434 
   20435   ;;
   20436 esac
   20437 fi
   20438 XSLTPROC=$ac_cv_path_XSLTPROC
   20439 if test -n "$XSLTPROC"; then
   20440   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   20441 printf "%s\n" "$XSLTPROC" >&6; }
   20442 else
   20443   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20444 printf "%s\n" "no" >&6; }
   20445 fi
   20446 
   20447 
   20448    if test "x$XSLTPROC" = "x"; then
   20449         as_fn_error $? "--with-xsltproc=yes specified but xsltproc not found in PATH" "$LINENO" 5
   20450    fi
   20451    have_xsltproc=yes
   20452 elif test "x$use_xsltproc" = x"no" ; then
   20453    if test "x$XSLTPROC" != "x"; then
   20454       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&5
   20455 printf "%s\n" "$as_me: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&2;}
   20456    fi
   20457    have_xsltproc=no
   20458 else
   20459    as_fn_error $? "--with-xsltproc expects 'yes' or 'no'" "$LINENO" 5
   20460 fi
   20461 
   20462  if test "$have_xsltproc" = yes; then
   20463   HAVE_XSLTPROC_TRUE=
   20464   HAVE_XSLTPROC_FALSE='#'
   20465 else
   20466   HAVE_XSLTPROC_TRUE='#'
   20467   HAVE_XSLTPROC_FALSE=
   20468 fi
   20469 
   20470 
   20471 
   20472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.10" >&5
   20473 printf %s "checking for X.Org SGML entities >= 1.10... " >&6; }
   20474 XORG_SGML_PATH=
   20475 if test -n "$PKG_CONFIG" && \
   20476     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.10\""; } >&5
   20477   ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.10") 2>&5
   20478   ac_status=$?
   20479   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   20480   test $ac_status = 0; }; then
   20481   XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
   20482 else
   20483   :
   20484 
   20485 fi
   20486 
   20487 # Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
   20488 # the path and the name of the doc stylesheet
   20489 if test "x$XORG_SGML_PATH" != "x" ; then
   20490    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
   20491 printf "%s\n" "$XORG_SGML_PATH" >&6; }
   20492    STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
   20493    XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
   20494 else
   20495    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20496 printf "%s\n" "no" >&6; }
   20497 fi
   20498 
   20499 
   20500 
   20501 
   20502  if test "x$XSL_STYLESHEET" != "x"; then
   20503   HAVE_STYLESHEETS_TRUE=
   20504   HAVE_STYLESHEETS_FALSE='#'
   20505 else
   20506   HAVE_STYLESHEETS_TRUE='#'
   20507   HAVE_STYLESHEETS_FALSE=
   20508 fi
   20509 
   20510 
   20511 ac_ext=c
   20512 ac_cpp='$CPP $CPPFLAGS'
   20513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   20517 printf %s "checking how to run the C preprocessor... " >&6; }
   20518 # On Suns, sometimes $CPP names a directory.
   20519 if test -n "$CPP" && test -d "$CPP"; then
   20520   CPP=
   20521 fi
   20522 if test -z "$CPP"; then
   20523   if test ${ac_cv_prog_CPP+y}
   20524 then :
   20525   printf %s "(cached) " >&6
   20526 else $as_nop
   20527       # Double quotes because $CC needs to be expanded
   20528     for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
   20529     do
   20530       ac_preproc_ok=false
   20531 for ac_c_preproc_warn_flag in '' yes
   20532 do
   20533   # Use a header file that comes with gcc, so configuring glibc
   20534   # with a fresh cross-compiler works.
   20535   # On the NeXT, cc -E runs the code through the compiler's parser,
   20536   # not just through cpp. "Syntax error" is here to catch this case.
   20537   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20538 /* end confdefs.h.  */
   20539 #include <limits.h>
   20540 		     Syntax error
   20541 _ACEOF
   20542 if ac_fn_c_try_cpp "$LINENO"
   20543 then :
   20544 
   20545 else $as_nop
   20546   # Broken: fails on valid input.
   20547 continue
   20548 fi
   20549 rm -f conftest.err conftest.i conftest.$ac_ext
   20550 
   20551   # OK, works on sane cases.  Now check whether nonexistent headers
   20552   # can be detected and how.
   20553   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20554 /* end confdefs.h.  */
   20555 #include <ac_nonexistent.h>
   20556 _ACEOF
   20557 if ac_fn_c_try_cpp "$LINENO"
   20558 then :
   20559   # Broken: success on invalid input.
   20560 continue
   20561 else $as_nop
   20562   # Passes both tests.
   20563 ac_preproc_ok=:
   20564 break
   20565 fi
   20566 rm -f conftest.err conftest.i conftest.$ac_ext
   20567 
   20568 done
   20569 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   20570 rm -f conftest.i conftest.err conftest.$ac_ext
   20571 if $ac_preproc_ok
   20572 then :
   20573   break
   20574 fi
   20575 
   20576     done
   20577     ac_cv_prog_CPP=$CPP
   20578 
   20579 fi
   20580   CPP=$ac_cv_prog_CPP
   20581 else
   20582   ac_cv_prog_CPP=$CPP
   20583 fi
   20584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   20585 printf "%s\n" "$CPP" >&6; }
   20586 ac_preproc_ok=false
   20587 for ac_c_preproc_warn_flag in '' yes
   20588 do
   20589   # Use a header file that comes with gcc, so configuring glibc
   20590   # with a fresh cross-compiler works.
   20591   # On the NeXT, cc -E runs the code through the compiler's parser,
   20592   # not just through cpp. "Syntax error" is here to catch this case.
   20593   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20594 /* end confdefs.h.  */
   20595 #include <limits.h>
   20596 		     Syntax error
   20597 _ACEOF
   20598 if ac_fn_c_try_cpp "$LINENO"
   20599 then :
   20600 
   20601 else $as_nop
   20602   # Broken: fails on valid input.
   20603 continue
   20604 fi
   20605 rm -f conftest.err conftest.i conftest.$ac_ext
   20606 
   20607   # OK, works on sane cases.  Now check whether nonexistent headers
   20608   # can be detected and how.
   20609   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20610 /* end confdefs.h.  */
   20611 #include <ac_nonexistent.h>
   20612 _ACEOF
   20613 if ac_fn_c_try_cpp "$LINENO"
   20614 then :
   20615   # Broken: success on invalid input.
   20616 continue
   20617 else $as_nop
   20618   # Passes both tests.
   20619 ac_preproc_ok=:
   20620 break
   20621 fi
   20622 rm -f conftest.err conftest.i conftest.$ac_ext
   20623 
   20624 done
   20625 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   20626 rm -f conftest.i conftest.err conftest.$ac_ext
   20627 if $ac_preproc_ok
   20628 then :
   20629 
   20630 else $as_nop
   20631   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   20632 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   20633 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   20634 See \`config.log' for more details" "$LINENO" 5; }
   20635 fi
   20636 
   20637 ac_ext=c
   20638 ac_cpp='$CPP $CPPFLAGS'
   20639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20642 
   20643 
   20644 
   20645 if test -n "$ac_tool_prefix"; then
   20646   # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
   20647 set dummy ${ac_tool_prefix}cpp; ac_word=$2
   20648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20649 printf %s "checking for $ac_word... " >&6; }
   20650 if test ${ac_cv_path_RAWCPP+y}
   20651 then :
   20652   printf %s "(cached) " >&6
   20653 else $as_nop
   20654   case $RAWCPP in
   20655   [\\/]* | ?:[\\/]*)
   20656   ac_cv_path_RAWCPP="$RAWCPP" # Let the user override the test with a path.
   20657   ;;
   20658   *)
   20659   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20660 as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
   20661 for as_dir in $as_dummy
   20662 do
   20663   IFS=$as_save_IFS
   20664   case $as_dir in #(((
   20665     '') as_dir=./ ;;
   20666     */) ;;
   20667     *) as_dir=$as_dir/ ;;
   20668   esac
   20669     for ac_exec_ext in '' $ac_executable_extensions; do
   20670   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20671     ac_cv_path_RAWCPP="$as_dir$ac_word$ac_exec_ext"
   20672     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20673     break 2
   20674   fi
   20675 done
   20676   done
   20677 IFS=$as_save_IFS
   20678 
   20679   ;;
   20680 esac
   20681 fi
   20682 RAWCPP=$ac_cv_path_RAWCPP
   20683 if test -n "$RAWCPP"; then
   20684   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RAWCPP" >&5
   20685 printf "%s\n" "$RAWCPP" >&6; }
   20686 else
   20687   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20688 printf "%s\n" "no" >&6; }
   20689 fi
   20690 
   20691 
   20692 fi
   20693 if test -z "$ac_cv_path_RAWCPP"; then
   20694   ac_pt_RAWCPP=$RAWCPP
   20695   # Extract the first word of "cpp", so it can be a program name with args.
   20696 set dummy cpp; ac_word=$2
   20697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20698 printf %s "checking for $ac_word... " >&6; }
   20699 if test ${ac_cv_path_ac_pt_RAWCPP+y}
   20700 then :
   20701   printf %s "(cached) " >&6
   20702 else $as_nop
   20703   case $ac_pt_RAWCPP in
   20704   [\\/]* | ?:[\\/]*)
   20705   ac_cv_path_ac_pt_RAWCPP="$ac_pt_RAWCPP" # Let the user override the test with a path.
   20706   ;;
   20707   *)
   20708   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20709 as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
   20710 for as_dir in $as_dummy
   20711 do
   20712   IFS=$as_save_IFS
   20713   case $as_dir in #(((
   20714     '') as_dir=./ ;;
   20715     */) ;;
   20716     *) as_dir=$as_dir/ ;;
   20717   esac
   20718     for ac_exec_ext in '' $ac_executable_extensions; do
   20719   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20720     ac_cv_path_ac_pt_RAWCPP="$as_dir$ac_word$ac_exec_ext"
   20721     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20722     break 2
   20723   fi
   20724 done
   20725   done
   20726 IFS=$as_save_IFS
   20727 
   20728   ;;
   20729 esac
   20730 fi
   20731 ac_pt_RAWCPP=$ac_cv_path_ac_pt_RAWCPP
   20732 if test -n "$ac_pt_RAWCPP"; then
   20733   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_RAWCPP" >&5
   20734 printf "%s\n" "$ac_pt_RAWCPP" >&6; }
   20735 else
   20736   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20737 printf "%s\n" "no" >&6; }
   20738 fi
   20739 
   20740   if test "x$ac_pt_RAWCPP" = x; then
   20741     RAWCPP="${CPP}"
   20742   else
   20743     case $cross_compiling:$ac_tool_warned in
   20744 yes:)
   20745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   20746 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   20747 ac_tool_warned=yes ;;
   20748 esac
   20749     RAWCPP=$ac_pt_RAWCPP
   20750   fi
   20751 else
   20752   RAWCPP="$ac_cv_path_RAWCPP"
   20753 fi
   20754 
   20755 
   20756 # Check for flag to avoid builtin definitions - assumes unix is predefined,
   20757 # which is not the best choice for supporting other OS'es, but covers most
   20758 # of the ones we need for now.
   20759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -undef" >&5
   20760 printf %s "checking if $RAWCPP requires -undef... " >&6; }
   20761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20762 /* end confdefs.h.  */
   20763 Does cpp redefine unix ?
   20764 _ACEOF
   20765 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   20766 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20767 printf "%s\n" "no" >&6; }
   20768 else
   20769 	if test `${RAWCPP} -undef < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   20770 		RAWCPPFLAGS=-undef
   20771 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20772 printf "%s\n" "yes" >&6; }
   20773 	# under Cygwin unix is still defined even with -undef
   20774 	elif test `${RAWCPP} -undef -ansi < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   20775 		RAWCPPFLAGS="-undef -ansi"
   20776 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes, with -ansi" >&5
   20777 printf "%s\n" "yes, with -ansi" >&6; }
   20778 	else
   20779 		as_fn_error $? "${RAWCPP} defines unix with or without -undef.  I don't know what to do." "$LINENO" 5
   20780 	fi
   20781 fi
   20782 rm -f conftest.$ac_ext
   20783 
   20784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -traditional" >&5
   20785 printf %s "checking if $RAWCPP requires -traditional... " >&6; }
   20786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   20787 /* end confdefs.h.  */
   20788 Does cpp preserve   "whitespace"?
   20789 _ACEOF
   20790 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
   20791 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20792 printf "%s\n" "no" >&6; }
   20793 else
   20794 	if test `${RAWCPP} -traditional < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
   20795 		TRADITIONALCPPFLAGS="-traditional"
   20796 		RAWCPPFLAGS="${RAWCPPFLAGS} -traditional"
   20797 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   20798 printf "%s\n" "yes" >&6; }
   20799 	else
   20800 		as_fn_error $? "${RAWCPP} does not preserve whitespace with or without -traditional.  I don't know what to do." "$LINENO" 5
   20801 	fi
   20802 fi
   20803 rm -f conftest.$ac_ext
   20804 
   20805 
   20806 
   20807 
   20808 
   20809 # Preserves the interface, should it be implemented later
   20810 
   20811 
   20812 
   20813 # Check whether --with-perl was given.
   20814 if test ${with_perl+y}
   20815 then :
   20816   withval=$with_perl; use_perl=$withval
   20817 else $as_nop
   20818   use_perl=auto
   20819 fi
   20820 
   20821 
   20822 
   20823 if test "x$use_perl" = x"auto"; then
   20824    # Extract the first word of "perl", so it can be a program name with args.
   20825 set dummy perl; ac_word=$2
   20826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20827 printf %s "checking for $ac_word... " >&6; }
   20828 if test ${ac_cv_path_PERL+y}
   20829 then :
   20830   printf %s "(cached) " >&6
   20831 else $as_nop
   20832   case $PERL in
   20833   [\\/]* | ?:[\\/]*)
   20834   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
   20835   ;;
   20836   *)
   20837   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20838 for as_dir in $PATH
   20839 do
   20840   IFS=$as_save_IFS
   20841   case $as_dir in #(((
   20842     '') as_dir=./ ;;
   20843     */) ;;
   20844     *) as_dir=$as_dir/ ;;
   20845   esac
   20846     for ac_exec_ext in '' $ac_executable_extensions; do
   20847   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20848     ac_cv_path_PERL="$as_dir$ac_word$ac_exec_ext"
   20849     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20850     break 2
   20851   fi
   20852 done
   20853   done
   20854 IFS=$as_save_IFS
   20855 
   20856   ;;
   20857 esac
   20858 fi
   20859 PERL=$ac_cv_path_PERL
   20860 if test -n "$PERL"; then
   20861   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
   20862 printf "%s\n" "$PERL" >&6; }
   20863 else
   20864   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20865 printf "%s\n" "no" >&6; }
   20866 fi
   20867 
   20868 
   20869    if test "x$PERL" = "x"; then
   20870         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - cannot extract information and report" >&5
   20871 printf "%s\n" "$as_me: WARNING: perl not found - cannot extract information and report" >&2;}
   20872 	have_perl=no
   20873    else
   20874         have_perl=yes
   20875    fi
   20876 elif test "x$use_perl" = x"yes" ; then
   20877    # Extract the first word of "perl", so it can be a program name with args.
   20878 set dummy perl; ac_word=$2
   20879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20880 printf %s "checking for $ac_word... " >&6; }
   20881 if test ${ac_cv_path_PERL+y}
   20882 then :
   20883   printf %s "(cached) " >&6
   20884 else $as_nop
   20885   case $PERL in
   20886   [\\/]* | ?:[\\/]*)
   20887   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
   20888   ;;
   20889   *)
   20890   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20891 for as_dir in $PATH
   20892 do
   20893   IFS=$as_save_IFS
   20894   case $as_dir in #(((
   20895     '') as_dir=./ ;;
   20896     */) ;;
   20897     *) as_dir=$as_dir/ ;;
   20898   esac
   20899     for ac_exec_ext in '' $ac_executable_extensions; do
   20900   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20901     ac_cv_path_PERL="$as_dir$ac_word$ac_exec_ext"
   20902     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20903     break 2
   20904   fi
   20905 done
   20906   done
   20907 IFS=$as_save_IFS
   20908 
   20909   ;;
   20910 esac
   20911 fi
   20912 PERL=$ac_cv_path_PERL
   20913 if test -n "$PERL"; then
   20914   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
   20915 printf "%s\n" "$PERL" >&6; }
   20916 else
   20917   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20918 printf "%s\n" "no" >&6; }
   20919 fi
   20920 
   20921 
   20922    if test "x$PERL" = "x"; then
   20923         as_fn_error $? "--with-perl=yes specified but perl not found in PATH" "$LINENO" 5
   20924    fi
   20925    have_perl=yes
   20926 elif test "x$use_perl" = x"no" ; then
   20927    if test "x$PERL" != "x"; then
   20928       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring PERL environment variable since --with-perl=no was specified" >&5
   20929 printf "%s\n" "$as_me: WARNING: ignoring PERL environment variable since --with-perl=no was specified" >&2;}
   20930    fi
   20931    have_perl=no
   20932 else
   20933    as_fn_error $? "--with-perl expects 'yes' or 'no'" "$LINENO" 5
   20934 fi
   20935 
   20936  if test "$have_perl" = yes; then
   20937   HAVE_PERL_TRUE=
   20938   HAVE_PERL_FALSE='#'
   20939 else
   20940   HAVE_PERL_TRUE='#'
   20941   HAVE_PERL_FALSE=
   20942 fi
   20943 
   20944 
   20945 
   20946 # Required when PKG_CHECK_MODULES called within an if statement
   20947 
   20948 
   20949 
   20950 
   20951 
   20952 
   20953 
   20954 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   20955 	if test -n "$ac_tool_prefix"; then
   20956   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   20957 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   20958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   20959 printf %s "checking for $ac_word... " >&6; }
   20960 if test ${ac_cv_path_PKG_CONFIG+y}
   20961 then :
   20962   printf %s "(cached) " >&6
   20963 else $as_nop
   20964   case $PKG_CONFIG in
   20965   [\\/]* | ?:[\\/]*)
   20966   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   20967   ;;
   20968   *)
   20969   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20970 for as_dir in $PATH
   20971 do
   20972   IFS=$as_save_IFS
   20973   case $as_dir in #(((
   20974     '') as_dir=./ ;;
   20975     */) ;;
   20976     *) as_dir=$as_dir/ ;;
   20977   esac
   20978     for ac_exec_ext in '' $ac_executable_extensions; do
   20979   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   20980     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   20981     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   20982     break 2
   20983   fi
   20984 done
   20985   done
   20986 IFS=$as_save_IFS
   20987 
   20988   ;;
   20989 esac
   20990 fi
   20991 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   20992 if test -n "$PKG_CONFIG"; then
   20993   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   20994 printf "%s\n" "$PKG_CONFIG" >&6; }
   20995 else
   20996   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   20997 printf "%s\n" "no" >&6; }
   20998 fi
   20999 
   21000 
   21001 fi
   21002 if test -z "$ac_cv_path_PKG_CONFIG"; then
   21003   ac_pt_PKG_CONFIG=$PKG_CONFIG
   21004   # Extract the first word of "pkg-config", so it can be a program name with args.
   21005 set dummy pkg-config; ac_word=$2
   21006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21007 printf %s "checking for $ac_word... " >&6; }
   21008 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   21009 then :
   21010   printf %s "(cached) " >&6
   21011 else $as_nop
   21012   case $ac_pt_PKG_CONFIG in
   21013   [\\/]* | ?:[\\/]*)
   21014   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   21015   ;;
   21016   *)
   21017   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21018 for as_dir in $PATH
   21019 do
   21020   IFS=$as_save_IFS
   21021   case $as_dir in #(((
   21022     '') as_dir=./ ;;
   21023     */) ;;
   21024     *) as_dir=$as_dir/ ;;
   21025   esac
   21026     for ac_exec_ext in '' $ac_executable_extensions; do
   21027   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21028     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   21029     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21030     break 2
   21031   fi
   21032 done
   21033   done
   21034 IFS=$as_save_IFS
   21035 
   21036   ;;
   21037 esac
   21038 fi
   21039 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   21040 if test -n "$ac_pt_PKG_CONFIG"; then
   21041   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   21042 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   21043 else
   21044   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21045 printf "%s\n" "no" >&6; }
   21046 fi
   21047 
   21048   if test "x$ac_pt_PKG_CONFIG" = x; then
   21049     PKG_CONFIG=""
   21050   else
   21051     case $cross_compiling:$ac_tool_warned in
   21052 yes:)
   21053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   21054 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   21055 ac_tool_warned=yes ;;
   21056 esac
   21057     PKG_CONFIG=$ac_pt_PKG_CONFIG
   21058   fi
   21059 else
   21060   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   21061 fi
   21062 
   21063 fi
   21064 if test -n "$PKG_CONFIG"; then
   21065 	_pkg_min_version=0.9.0
   21066 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   21067 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   21068 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   21069 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21070 printf "%s\n" "yes" >&6; }
   21071 	else
   21072 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21073 printf "%s\n" "no" >&6; }
   21074 		PKG_CONFIG=""
   21075 	fi
   21076 fi
   21077 
   21078 if test x"$CC_FOR_BUILD" = x; then
   21079 	if test x"$cross_compiling" = xyes; then
   21080 	       for ac_prog in gcc cc
   21081 do
   21082   # Extract the first word of "$ac_prog", so it can be a program name with args.
   21083 set dummy $ac_prog; ac_word=$2
   21084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21085 printf %s "checking for $ac_word... " >&6; }
   21086 if test ${ac_cv_prog_CC_FOR_BUILD+y}
   21087 then :
   21088   printf %s "(cached) " >&6
   21089 else $as_nop
   21090   if test -n "$CC_FOR_BUILD"; then
   21091   ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
   21092 else
   21093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21094 for as_dir in $PATH
   21095 do
   21096   IFS=$as_save_IFS
   21097   case $as_dir in #(((
   21098     '') as_dir=./ ;;
   21099     */) ;;
   21100     *) as_dir=$as_dir/ ;;
   21101   esac
   21102     for ac_exec_ext in '' $ac_executable_extensions; do
   21103   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21104     ac_cv_prog_CC_FOR_BUILD="$ac_prog"
   21105     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21106     break 2
   21107   fi
   21108 done
   21109   done
   21110 IFS=$as_save_IFS
   21111 
   21112 fi
   21113 fi
   21114 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
   21115 if test -n "$CC_FOR_BUILD"; then
   21116   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
   21117 printf "%s\n" "$CC_FOR_BUILD" >&6; }
   21118 else
   21119   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21120 printf "%s\n" "no" >&6; }
   21121 fi
   21122 
   21123 
   21124   test -n "$CC_FOR_BUILD" && break
   21125 done
   21126 
   21127 	else
   21128 	       CC_FOR_BUILD="$CC"
   21129 	fi
   21130 fi
   21131 
   21132 
   21133 if test x"$CPPFLAGS_FOR_BUILD" = x; then
   21134 	if test ! x"$cross_compiling" = xyes; then
   21135 		CPPFLAGS_FOR_BUILD=${CPPFLAGS}
   21136 	fi
   21137 fi
   21138 
   21139 
   21140 if test x"$CFLAGS_FOR_BUILD" = x; then
   21141 	if test ! x"$cross_compiling" = xyes; then
   21142 		CFLAGS_FOR_BUILD=${CFLAGS}
   21143 	fi
   21144 fi
   21145 
   21146 
   21147 if test x"$LDFLAGS_FOR_BUILD" = x; then
   21148 	if test ! x"$cross_compiling" = xyes; then
   21149 		LDFLAGS_FOR_BUILD=${LDFLAGS}
   21150 	fi
   21151 fi
   21152 
   21153 
   21154 if test x"$EXEEXT_FOR_BUILD" = x; then
   21155 	if test x"$cross_compiling" = xno; then
   21156 		EXEEXT_FOR_BUILD=${EXEEXT}
   21157 	fi
   21158 	# If cross-compiling and not provided, assume EXEEXT_FOR_BUILD is empty
   21159 fi
   21160 
   21161 
   21162 # Checks for pkg-config packages
   21163 
   21164 # Always required
   21165 X11_REQUIRES='xproto >= 7.0.25 xextproto xtrans xcb >= 1.11.1'
   21166 X11_EXTRA_DEPS="xcb >= 1.11.1"
   21167 
   21168 
   21169 
   21170 
   21171 
   21172 
   21173 
   21174 
   21175 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   21176 	if test -n "$ac_tool_prefix"; then
   21177   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   21178 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   21179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21180 printf %s "checking for $ac_word... " >&6; }
   21181 if test ${ac_cv_path_PKG_CONFIG+y}
   21182 then :
   21183   printf %s "(cached) " >&6
   21184 else $as_nop
   21185   case $PKG_CONFIG in
   21186   [\\/]* | ?:[\\/]*)
   21187   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   21188   ;;
   21189   *)
   21190   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21191 for as_dir in $PATH
   21192 do
   21193   IFS=$as_save_IFS
   21194   case $as_dir in #(((
   21195     '') as_dir=./ ;;
   21196     */) ;;
   21197     *) as_dir=$as_dir/ ;;
   21198   esac
   21199     for ac_exec_ext in '' $ac_executable_extensions; do
   21200   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21201     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   21202     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21203     break 2
   21204   fi
   21205 done
   21206   done
   21207 IFS=$as_save_IFS
   21208 
   21209   ;;
   21210 esac
   21211 fi
   21212 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   21213 if test -n "$PKG_CONFIG"; then
   21214   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   21215 printf "%s\n" "$PKG_CONFIG" >&6; }
   21216 else
   21217   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21218 printf "%s\n" "no" >&6; }
   21219 fi
   21220 
   21221 
   21222 fi
   21223 if test -z "$ac_cv_path_PKG_CONFIG"; then
   21224   ac_pt_PKG_CONFIG=$PKG_CONFIG
   21225   # Extract the first word of "pkg-config", so it can be a program name with args.
   21226 set dummy pkg-config; ac_word=$2
   21227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   21228 printf %s "checking for $ac_word... " >&6; }
   21229 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   21230 then :
   21231   printf %s "(cached) " >&6
   21232 else $as_nop
   21233   case $ac_pt_PKG_CONFIG in
   21234   [\\/]* | ?:[\\/]*)
   21235   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   21236   ;;
   21237   *)
   21238   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21239 for as_dir in $PATH
   21240 do
   21241   IFS=$as_save_IFS
   21242   case $as_dir in #(((
   21243     '') as_dir=./ ;;
   21244     */) ;;
   21245     *) as_dir=$as_dir/ ;;
   21246   esac
   21247     for ac_exec_ext in '' $ac_executable_extensions; do
   21248   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   21249     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   21250     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   21251     break 2
   21252   fi
   21253 done
   21254   done
   21255 IFS=$as_save_IFS
   21256 
   21257   ;;
   21258 esac
   21259 fi
   21260 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   21261 if test -n "$ac_pt_PKG_CONFIG"; then
   21262   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   21263 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   21264 else
   21265   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21266 printf "%s\n" "no" >&6; }
   21267 fi
   21268 
   21269   if test "x$ac_pt_PKG_CONFIG" = x; then
   21270     PKG_CONFIG=""
   21271   else
   21272     case $cross_compiling:$ac_tool_warned in
   21273 yes:)
   21274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   21275 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   21276 ac_tool_warned=yes ;;
   21277 esac
   21278     PKG_CONFIG=$ac_pt_PKG_CONFIG
   21279   fi
   21280 else
   21281   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   21282 fi
   21283 
   21284 fi
   21285 if test -n "$PKG_CONFIG"; then
   21286 	_pkg_min_version=0.9.0
   21287 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   21288 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   21289 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   21290 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   21291 printf "%s\n" "yes" >&6; }
   21292 	else
   21293 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   21294 printf "%s\n" "no" >&6; }
   21295 		PKG_CONFIG=""
   21296 	fi
   21297 fi
   21298 
   21299 
   21300 
   21301 # Issue an error if xtrans.m4 was not found and XTRANS_CONNECTION_FLAGS macro
   21302 # was not expanded, since libX11 with no transport types is rather useless.
   21303 #
   21304 # If you're seeing an error here, be sure you installed the lib/xtrans module
   21305 # first and if it's not in the default location, that you set the ACLOCAL
   21306 # environment variable to find it, such as:
   21307 #	ACLOCAL="aclocal -I ${PREFIX}/share/aclocal"
   21308 
   21309 
   21310 # Transport selection macro from xtrans.m4
   21311 
   21312 
   21313  case $host_os in
   21314 	mingw*)	unixdef="no"   ;;
   21315 	*)	unixdef="yes"  ;;
   21316  esac
   21317  # Check whether --enable-unix-transport was given.
   21318 if test ${enable_unix_transport+y}
   21319 then :
   21320   enableval=$enable_unix_transport; UNIXCONN=$enableval
   21321 else $as_nop
   21322   UNIXCONN=$unixdef
   21323 fi
   21324 
   21325  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support UNIX socket connections" >&5
   21326 printf %s "checking if Xtrans should support UNIX socket connections... " >&6; }
   21327  if test "$UNIXCONN" = "yes"; then
   21328 
   21329 printf "%s\n" "#define UNIXCONN 1" >>confdefs.h
   21330 
   21331  fi
   21332  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $UNIXCONN" >&5
   21333 printf "%s\n" "$UNIXCONN" >&6; }
   21334  # Check whether --enable-tcp-transport was given.
   21335 if test ${enable_tcp_transport+y}
   21336 then :
   21337   enableval=$enable_tcp_transport; TCPCONN=$enableval
   21338 else $as_nop
   21339   TCPCONN=yes
   21340 fi
   21341 
   21342  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support TCP socket connections" >&5
   21343 printf %s "checking if Xtrans should support TCP socket connections... " >&6; }
   21344  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $TCPCONN" >&5
   21345 printf "%s\n" "$TCPCONN" >&6; }
   21346  if test "$TCPCONN" = "yes"; then
   21347 
   21348 printf "%s\n" "#define TCPCONN 1" >>confdefs.h
   21349 
   21350 
   21351  # SVR4 hides these in libraries other than libc
   21352  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
   21353 printf %s "checking for library containing socket... " >&6; }
   21354 if test ${ac_cv_search_socket+y}
   21355 then :
   21356   printf %s "(cached) " >&6
   21357 else $as_nop
   21358   ac_func_search_save_LIBS=$LIBS
   21359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21360 /* end confdefs.h.  */
   21361 
   21362 /* Override any GCC internal prototype to avoid an error.
   21363    Use char because int might match the return type of a GCC
   21364    builtin and then its argument prototype would still apply.  */
   21365 char socket ();
   21366 int
   21367 main (void)
   21368 {
   21369 return socket ();
   21370   ;
   21371   return 0;
   21372 }
   21373 _ACEOF
   21374 for ac_lib in '' socket
   21375 do
   21376   if test -z "$ac_lib"; then
   21377     ac_res="none required"
   21378   else
   21379     ac_res=-l$ac_lib
   21380     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   21381   fi
   21382   if ac_fn_c_try_link "$LINENO"
   21383 then :
   21384   ac_cv_search_socket=$ac_res
   21385 fi
   21386 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21387     conftest$ac_exeext
   21388   if test ${ac_cv_search_socket+y}
   21389 then :
   21390   break
   21391 fi
   21392 done
   21393 if test ${ac_cv_search_socket+y}
   21394 then :
   21395 
   21396 else $as_nop
   21397   ac_cv_search_socket=no
   21398 fi
   21399 rm conftest.$ac_ext
   21400 LIBS=$ac_func_search_save_LIBS
   21401 fi
   21402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
   21403 printf "%s\n" "$ac_cv_search_socket" >&6; }
   21404 ac_res=$ac_cv_search_socket
   21405 if test "$ac_res" != no
   21406 then :
   21407   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   21408 
   21409 fi
   21410 
   21411  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
   21412 printf %s "checking for library containing gethostbyname... " >&6; }
   21413 if test ${ac_cv_search_gethostbyname+y}
   21414 then :
   21415   printf %s "(cached) " >&6
   21416 else $as_nop
   21417   ac_func_search_save_LIBS=$LIBS
   21418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21419 /* end confdefs.h.  */
   21420 
   21421 /* Override any GCC internal prototype to avoid an error.
   21422    Use char because int might match the return type of a GCC
   21423    builtin and then its argument prototype would still apply.  */
   21424 char gethostbyname ();
   21425 int
   21426 main (void)
   21427 {
   21428 return gethostbyname ();
   21429   ;
   21430   return 0;
   21431 }
   21432 _ACEOF
   21433 for ac_lib in '' nsl
   21434 do
   21435   if test -z "$ac_lib"; then
   21436     ac_res="none required"
   21437   else
   21438     ac_res=-l$ac_lib
   21439     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   21440   fi
   21441   if ac_fn_c_try_link "$LINENO"
   21442 then :
   21443   ac_cv_search_gethostbyname=$ac_res
   21444 fi
   21445 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21446     conftest$ac_exeext
   21447   if test ${ac_cv_search_gethostbyname+y}
   21448 then :
   21449   break
   21450 fi
   21451 done
   21452 if test ${ac_cv_search_gethostbyname+y}
   21453 then :
   21454 
   21455 else $as_nop
   21456   ac_cv_search_gethostbyname=no
   21457 fi
   21458 rm conftest.$ac_ext
   21459 LIBS=$ac_func_search_save_LIBS
   21460 fi
   21461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
   21462 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
   21463 ac_res=$ac_cv_search_gethostbyname
   21464 if test "$ac_res" != no
   21465 then :
   21466   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   21467 
   21468 fi
   21469 
   21470  if test "$ac_cv_search_socket$ac_cv_search_gethostbyname" = "nono"; then
   21471    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
   21472 printf %s "checking for main in -lws2_32... " >&6; }
   21473 if test ${ac_cv_lib_ws2_32_main+y}
   21474 then :
   21475   printf %s "(cached) " >&6
   21476 else $as_nop
   21477   ac_check_lib_save_LIBS=$LIBS
   21478 LIBS="-lws2_32  $LIBS"
   21479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21480 /* end confdefs.h.  */
   21481 
   21482 
   21483 int
   21484 main (void)
   21485 {
   21486 return main ();
   21487   ;
   21488   return 0;
   21489 }
   21490 _ACEOF
   21491 if ac_fn_c_try_link "$LINENO"
   21492 then :
   21493   ac_cv_lib_ws2_32_main=yes
   21494 else $as_nop
   21495   ac_cv_lib_ws2_32_main=no
   21496 fi
   21497 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21498     conftest$ac_exeext conftest.$ac_ext
   21499 LIBS=$ac_check_lib_save_LIBS
   21500 fi
   21501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
   21502 printf "%s\n" "$ac_cv_lib_ws2_32_main" >&6; }
   21503 if test "x$ac_cv_lib_ws2_32_main" = xyes
   21504 then :
   21505   printf "%s\n" "#define HAVE_LIBWS2_32 1" >>confdefs.h
   21506 
   21507   LIBS="-lws2_32 $LIBS"
   21508 
   21509 fi
   21510 
   21511  fi
   21512 
   21513  # Needs to come after above checks for libsocket & libnsl for SVR4 systems
   21514  # Check whether --enable-ipv6 was given.
   21515 if test ${enable_ipv6+y}
   21516 then :
   21517   enableval=$enable_ipv6; IPV6CONN=$enableval
   21518 else $as_nop
   21519   ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
   21520 if test "x$ac_cv_func_getaddrinfo" = xyes
   21521 then :
   21522   IPV6CONN=yes
   21523 else $as_nop
   21524   IPV6CONN=no
   21525 fi
   21526 
   21527 fi
   21528 
   21529  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if IPv6 support should be built" >&5
   21530 printf %s "checking if IPv6 support should be built... " >&6; }
   21531  if test "$IPV6CONN" = "yes"; then
   21532 
   21533 printf "%s\n" "#define IPv6 1" >>confdefs.h
   21534 
   21535  fi
   21536  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $IPV6CONN" >&5
   21537 printf "%s\n" "$IPV6CONN" >&6; }
   21538 
   21539  # 4.3BSD-Reno added a new member to struct sockaddr_in
   21540  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "
   21541 #include <sys/types.h>
   21542 #include <sys/socket.h>
   21543 #include <netinet/in.h>
   21544 
   21545 "
   21546 if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes
   21547 then :
   21548 
   21549 printf "%s\n" "#define BSD44SOCKETS 1" >>confdefs.h
   21550 
   21551 fi
   21552 
   21553 
   21554  # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc.
   21555  ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
   21556 $ac_includes_default
   21557 #include <sys/socket.h>
   21558 "
   21559 if test "x$ac_cv_type_socklen_t" = xyes
   21560 then :
   21561 
   21562 printf "%s\n" "#define HAVE_SOCKLEN_T 1" >>confdefs.h
   21563 
   21564 
   21565 fi
   21566 
   21567 
   21568  # XPG4v2/UNIX95 added msg_control - check to see if we need to define
   21569  # _XOPEN_SOURCE to get it (such as on Solaris)
   21570  ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   21571 $ac_includes_default
   21572 #include <sys/socket.h>
   21573 
   21574 "
   21575 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
   21576 then :
   21577 
   21578 fi
   21579 
   21580  # First try for Solaris in C99 compliant mode, which requires XPG6/UNIX03
   21581  if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   21582      unset ac_cv_member_struct_msghdr_msg_control
   21583      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=600" >&5
   21584 printf "%s\n" "$as_me: trying again with _XOPEN_SOURCE=600" >&6;}
   21585      ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   21586 #define _XOPEN_SOURCE 600
   21587 $ac_includes_default
   21588 #include <sys/socket.h>
   21589 
   21590 "
   21591 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
   21592 then :
   21593 
   21594 printf "%s\n" "#define _XOPEN_SOURCE 600" >>confdefs.h
   21595 
   21596 
   21597 fi
   21598 
   21599  fi
   21600  # If that didn't work, fall back to XPG5/UNIX98 with C89
   21601  if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   21602      unset ac_cv_member_struct_msghdr_msg_control
   21603      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=500" >&5
   21604 printf "%s\n" "$as_me: trying again with _XOPEN_SOURCE=500" >&6;}
   21605      ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   21606 #define _XOPEN_SOURCE 500
   21607 $ac_includes_default
   21608 #include <sys/socket.h>
   21609 
   21610 "
   21611 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes
   21612 then :
   21613 
   21614 printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
   21615 
   21616 
   21617 fi
   21618 
   21619  fi
   21620 
   21621 
   21622 
   21623  fi
   21624  case $host_os in
   21625 	solaris*)		localdef="yes" ;;
   21626 	*)			localdef="no"  ;;
   21627  esac
   21628  # Check whether --enable-local-transport was given.
   21629 if test ${enable_local_transport+y}
   21630 then :
   21631   enableval=$enable_local_transport; LOCALCONN=$enableval
   21632 else $as_nop
   21633   LOCALCONN=$localdef
   21634 fi
   21635 
   21636  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support os-specific local connections" >&5
   21637 printf %s "checking if Xtrans should support os-specific local connections... " >&6; }
   21638  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LOCALCONN" >&5
   21639 printf "%s\n" "$LOCALCONN" >&6; }
   21640  if test "$LOCALCONN" = "yes"; then
   21641 
   21642 printf "%s\n" "#define LOCALCONN 1" >>confdefs.h
   21643 
   21644  fi
   21645 
   21646  # Other functions Xtrans may need
   21647  ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
   21648 if test "x$ac_cv_func_strcasecmp" = xyes
   21649 then :
   21650   printf "%s\n" "#define HAVE_STRCASECMP 1" >>confdefs.h
   21651 
   21652 fi
   21653 ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
   21654 if test "x$ac_cv_func_strlcpy" = xyes
   21655 then :
   21656   printf "%s\n" "#define HAVE_STRLCPY 1" >>confdefs.h
   21657 
   21658 fi
   21659 
   21660 
   21661 
   21662 
   21663 # Check for dlopen
   21664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
   21665 printf %s "checking for library containing dlopen... " >&6; }
   21666 if test ${ac_cv_search_dlopen+y}
   21667 then :
   21668   printf %s "(cached) " >&6
   21669 else $as_nop
   21670   ac_func_search_save_LIBS=$LIBS
   21671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21672 /* end confdefs.h.  */
   21673 
   21674 /* Override any GCC internal prototype to avoid an error.
   21675    Use char because int might match the return type of a GCC
   21676    builtin and then its argument prototype would still apply.  */
   21677 char dlopen ();
   21678 int
   21679 main (void)
   21680 {
   21681 return dlopen ();
   21682   ;
   21683   return 0;
   21684 }
   21685 _ACEOF
   21686 for ac_lib in '' dl svld
   21687 do
   21688   if test -z "$ac_lib"; then
   21689     ac_res="none required"
   21690   else
   21691     ac_res=-l$ac_lib
   21692     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   21693   fi
   21694   if ac_fn_c_try_link "$LINENO"
   21695 then :
   21696   ac_cv_search_dlopen=$ac_res
   21697 fi
   21698 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21699     conftest$ac_exeext
   21700   if test ${ac_cv_search_dlopen+y}
   21701 then :
   21702   break
   21703 fi
   21704 done
   21705 if test ${ac_cv_search_dlopen+y}
   21706 then :
   21707 
   21708 else $as_nop
   21709   ac_cv_search_dlopen=no
   21710 fi
   21711 rm conftest.$ac_ext
   21712 LIBS=$ac_func_search_save_LIBS
   21713 fi
   21714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
   21715 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
   21716 ac_res=$ac_cv_search_dlopen
   21717 if test "$ac_res" != no
   21718 then :
   21719   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   21720 
   21721 fi
   21722 
   21723 if test "x$ac_cv_search_dlopen" = xno; then
   21724 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing shl_load" >&5
   21725 printf %s "checking for library containing shl_load... " >&6; }
   21726 if test ${ac_cv_search_shl_load+y}
   21727 then :
   21728   printf %s "(cached) " >&6
   21729 else $as_nop
   21730   ac_func_search_save_LIBS=$LIBS
   21731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21732 /* end confdefs.h.  */
   21733 
   21734 /* Override any GCC internal prototype to avoid an error.
   21735    Use char because int might match the return type of a GCC
   21736    builtin and then its argument prototype would still apply.  */
   21737 char shl_load ();
   21738 int
   21739 main (void)
   21740 {
   21741 return shl_load ();
   21742   ;
   21743   return 0;
   21744 }
   21745 _ACEOF
   21746 for ac_lib in '' dld
   21747 do
   21748   if test -z "$ac_lib"; then
   21749     ac_res="none required"
   21750   else
   21751     ac_res=-l$ac_lib
   21752     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   21753   fi
   21754   if ac_fn_c_try_link "$LINENO"
   21755 then :
   21756   ac_cv_search_shl_load=$ac_res
   21757 fi
   21758 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21759     conftest$ac_exeext
   21760   if test ${ac_cv_search_shl_load+y}
   21761 then :
   21762   break
   21763 fi
   21764 done
   21765 if test ${ac_cv_search_shl_load+y}
   21766 then :
   21767 
   21768 else $as_nop
   21769   ac_cv_search_shl_load=no
   21770 fi
   21771 rm conftest.$ac_ext
   21772 LIBS=$ac_func_search_save_LIBS
   21773 fi
   21774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_shl_load" >&5
   21775 printf "%s\n" "$ac_cv_search_shl_load" >&6; }
   21776 ac_res=$ac_cv_search_shl_load
   21777 if test "$ac_res" != no
   21778 then :
   21779   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   21780 
   21781 fi
   21782 
   21783 	if test "x$ac_cv_search_shl_load" != xno; then
   21784 
   21785 printf "%s\n" "#define HAVE_SHL_LOAD 1" >>confdefs.h
   21786 
   21787 		ac_fn_c_check_header_compile "$LINENO" "dl.h" "ac_cv_header_dl_h" "$ac_includes_default"
   21788 if test "x$ac_cv_header_dl_h" = xyes
   21789 then :
   21790   printf "%s\n" "#define HAVE_DL_H 1" >>confdefs.h
   21791 
   21792 fi
   21793 
   21794 	fi
   21795 else
   21796 
   21797 printf "%s\n" "#define HAVE_DLOPEN 1" >>confdefs.h
   21798 
   21799 	ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
   21800 if test "x$ac_cv_header_dlfcn_h" = xyes
   21801 then :
   21802   printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
   21803 
   21804 fi
   21805 
   21806 fi
   21807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if run-time linking is supported" >&5
   21808 printf %s "checking if run-time linking is supported... " >&6; }
   21809 if test "x$ac_cv_header_dlfcn_h" = xyes -o "x$ac_cv_header_dl_h" = xyes; then
   21810 	HAVE_LOADABLE_MODULES=yes
   21811 else
   21812 	HAVE_LOADABLE_MODULES=no
   21813 fi
   21814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $HAVE_LOADABLE_MODULES" >&5
   21815 printf "%s\n" "$HAVE_LOADABLE_MODULES" >&6; }
   21816 
   21817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if loadable i18n module support should be enabled" >&5
   21818 printf %s "checking if loadable i18n module support should be enabled... " >&6; }
   21819 # Check whether --enable-loadable-i18n was given.
   21820 if test ${enable_loadable_i18n+y}
   21821 then :
   21822   enableval=$enable_loadable_i18n; XLIB_LOADABLE_I18N=$enableval
   21823 else $as_nop
   21824   XLIB_LOADABLE_I18N="no"
   21825 fi
   21826 
   21827 if test x$XLIB_LOADABLE_I18N = xyes; then
   21828 	if test x$HAVE_LOADABLE_MODULES = xno; then
   21829 		as_fn_error $? "Loadable module support is required to enable loadable i18n module support" "$LINENO" 5
   21830 	fi
   21831 
   21832 printf "%s\n" "#define USE_DYNAMIC_LC 1" >>confdefs.h
   21833 
   21834 	I18N_MODULE_LIBS='${top_builddir}/src/libX11.la'
   21835 
   21836 fi
   21837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XLIB_LOADABLE_I18N" >&5
   21838 printf "%s\n" "$XLIB_LOADABLE_I18N" >&6; }
   21839 
   21840  if test x$XLIB_LOADABLE_I18N = xyes; then
   21841   XLIB_LOADABLE_I18N_TRUE=
   21842   XLIB_LOADABLE_I18N_FALSE='#'
   21843 else
   21844   XLIB_LOADABLE_I18N_TRUE='#'
   21845   XLIB_LOADABLE_I18N_FALSE=
   21846 fi
   21847 
   21848 
   21849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if loadable Xcursor library support should be enabled" >&5
   21850 printf %s "checking if loadable Xcursor library support should be enabled... " >&6; }
   21851 # Check whether --enable-loadable-xcursor was given.
   21852 if test ${enable_loadable_xcursor+y}
   21853 then :
   21854   enableval=$enable_loadable_xcursor; XLIB_LOADABLE_XCURSOR=$enableval
   21855 else $as_nop
   21856   XLIB_LOADABLE_XCURSOR=$HAVE_LOADABLE_MODULES
   21857 fi
   21858 
   21859 if test x$XLIB_LOADABLE_XCURSOR = xyes; then
   21860 
   21861 printf "%s\n" "#define USE_DYNAMIC_XCURSOR 1" >>confdefs.h
   21862 
   21863 fi
   21864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XLIB_LOADABLE_XCURSOR" >&5
   21865 printf "%s\n" "$XLIB_LOADABLE_XCURSOR" >&6; }
   21866 
   21867 # Check whether --enable-thread-safety-constructor was given.
   21868 if test ${enable_thread_safety_constructor+y}
   21869 then :
   21870   enableval=$enable_thread_safety_constructor; USE_THREAD_SAFETY_CONSTRUCTOR=$enableval
   21871 else $as_nop
   21872   USE_THREAD_SAFETY_CONSTRUCTOR="yes"
   21873 fi
   21874 
   21875 if test "x$USE_THREAD_SAFETY_CONSTRUCTOR" = "xyes"; then
   21876 
   21877 printf "%s\n" "#define USE_THREAD_SAFETY_CONSTRUCTOR 1" >>confdefs.h
   21878 
   21879 fi
   21880 
   21881 # Checks for header files.
   21882 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
   21883 if test "x$ac_cv_header_sys_filio_h" = xyes
   21884 then :
   21885   printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
   21886 
   21887 fi
   21888 ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default"
   21889 if test "x$ac_cv_header_sys_select_h" = xyes
   21890 then :
   21891   printf "%s\n" "#define HAVE_SYS_SELECT_H 1" >>confdefs.h
   21892 
   21893 fi
   21894 ac_fn_c_check_header_compile "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default"
   21895 if test "x$ac_cv_header_sys_ioctl_h" = xyes
   21896 then :
   21897   printf "%s\n" "#define HAVE_SYS_IOCTL_H 1" >>confdefs.h
   21898 
   21899 fi
   21900 ac_fn_c_check_header_compile "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
   21901 if test "x$ac_cv_header_sys_socket_h" = xyes
   21902 then :
   21903   printf "%s\n" "#define HAVE_SYS_SOCKET_H 1" >>confdefs.h
   21904 
   21905 fi
   21906 
   21907 
   21908 # Checks for typedefs, structures, and compiler characteristics.
   21909 
   21910 
   21911 
   21912     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcountl" >&5
   21913 printf %s "checking for __builtin_popcountl... " >&6; }
   21914 if test ${ax_cv_have___builtin_popcountl+y}
   21915 then :
   21916   printf %s "(cached) " >&6
   21917 else $as_nop
   21918 
   21919         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   21920 /* end confdefs.h.  */
   21921 
   21922 int
   21923 main (void)
   21924 {
   21925 
   21926             __builtin_popcountl(0)
   21927 
   21928   ;
   21929   return 0;
   21930 }
   21931 _ACEOF
   21932 if ac_fn_c_try_link "$LINENO"
   21933 then :
   21934   ax_cv_have___builtin_popcountl=yes
   21935 else $as_nop
   21936   ax_cv_have___builtin_popcountl=no
   21937 fi
   21938 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   21939     conftest$ac_exeext conftest.$ac_ext
   21940 
   21941 fi
   21942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ax_cv_have___builtin_popcountl" >&5
   21943 printf "%s\n" "$ax_cv_have___builtin_popcountl" >&6; }
   21944 
   21945     if test yes = $ax_cv_have___builtin_popcountl
   21946 then :
   21947 
   21948 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNTL 1" >>confdefs.h
   21949 
   21950 fi
   21951 
   21952 
   21953 
   21954 
   21955 # Checks for library functions.
   21956 ac_fn_c_check_func "$LINENO" "strtol" "ac_cv_func_strtol"
   21957 if test "x$ac_cv_func_strtol" = xyes
   21958 then :
   21959   printf "%s\n" "#define HAVE_STRTOL 1" >>confdefs.h
   21960 
   21961 fi
   21962 ac_fn_c_check_func "$LINENO" "seteuid" "ac_cv_func_seteuid"
   21963 if test "x$ac_cv_func_seteuid" = xyes
   21964 then :
   21965   printf "%s\n" "#define HAVE_SETEUID 1" >>confdefs.h
   21966 
   21967 fi
   21968 
   21969 ac_fn_c_check_func "$LINENO" "reallocarray" "ac_cv_func_reallocarray"
   21970 if test "x$ac_cv_func_reallocarray" = xyes
   21971 then :
   21972   printf "%s\n" "#define HAVE_REALLOCARRAY 1" >>confdefs.h
   21973 
   21974 else $as_nop
   21975   case " $LIBOBJS " in
   21976   *" reallocarray.$ac_objext "* ) ;;
   21977   *) LIBOBJS="$LIBOBJS reallocarray.$ac_objext"
   21978  ;;
   21979 esac
   21980 
   21981 fi
   21982 
   21983 # Used in lcFile.c (see also --enable-xlocaledir settings below)
   21984 XLOCALEDIR_IS_SAFE="no"
   21985 ac_fn_check_decl "$LINENO" "issetugid" "ac_cv_have_decl_issetugid" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   21986 if test "x$ac_cv_have_decl_issetugid" = xyes
   21987 then :
   21988 
   21989 fi
   21990 ac_fn_c_check_func "$LINENO" "issetugid" "ac_cv_func_issetugid"
   21991 if test "x$ac_cv_func_issetugid" = xyes
   21992 then :
   21993 
   21994 fi
   21995 
   21996 if test "$ac_cv_have_decl_issetugid" = yes && test "$ac_cv_func_issetugid" = yes; then
   21997     XLOCALEDIR_IS_SAFE="yes"
   21998 
   21999 printf "%s\n" "#define HASSETUGID 1" >>confdefs.h
   22000 
   22001 fi
   22002 ac_fn_c_check_func "$LINENO" "getresuid" "ac_cv_func_getresuid"
   22003 if test "x$ac_cv_func_getresuid" = xyes
   22004 then :
   22005   XLOCALEDIR_IS_SAFE="yes"
   22006 
   22007 printf "%s\n" "#define HASGETRESUID 1" >>confdefs.h
   22008 
   22009 fi
   22010 
   22011 # Used in Font.c
   22012 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
   22013 if test "x$ac_cv_func_shmat" = xyes
   22014 then :
   22015 
   22016 printf "%s\n" "#define HAS_SHM 1" >>confdefs.h
   22017 
   22018 fi
   22019 
   22020 
   22021 # Checks for system services
   22022 # AC_PATH_XTRA
   22023 
   22024 # arch specific things
   22025 WCHAR32="1"
   22026 case $host_os in
   22027   os2*) os2="true" ; WCHAR32="0" ;;
   22028   *) ;;
   22029 esac
   22030 
   22031 
   22032  if test x$os2 = xtrue; then
   22033   OS2_TRUE=
   22034   OS2_FALSE='#'
   22035 else
   22036   OS2_TRUE='#'
   22037   OS2_FALSE=
   22038 fi
   22039 
   22040 
   22041 
   22042 # Check whether --with-launchd was given.
   22043 if test ${with_launchd+y}
   22044 then :
   22045   withval=$with_launchd; LAUNCHD=$withval
   22046 else $as_nop
   22047   LAUNCHD=auto
   22048 fi
   22049 
   22050 if test "x$LAUNCHD" = xauto; then
   22051 	unset LAUNCHD
   22052 	# Extract the first word of "launchd", so it can be a program name with args.
   22053 set dummy launchd; ac_word=$2
   22054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   22055 printf %s "checking for $ac_word... " >&6; }
   22056 if test ${ac_cv_prog_LAUNCHD+y}
   22057 then :
   22058   printf %s "(cached) " >&6
   22059 else $as_nop
   22060   if test -n "$LAUNCHD"; then
   22061   ac_cv_prog_LAUNCHD="$LAUNCHD" # Let the user override the test.
   22062 else
   22063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22064 for as_dir in $PATH$PATH_SEPARATOR/sbin
   22065 do
   22066   IFS=$as_save_IFS
   22067   case $as_dir in #(((
   22068     '') as_dir=./ ;;
   22069     */) ;;
   22070     *) as_dir=$as_dir/ ;;
   22071   esac
   22072     for ac_exec_ext in '' $ac_executable_extensions; do
   22073   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   22074     ac_cv_prog_LAUNCHD="yes"
   22075     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   22076     break 2
   22077   fi
   22078 done
   22079   done
   22080 IFS=$as_save_IFS
   22081 
   22082   test -z "$ac_cv_prog_LAUNCHD" && ac_cv_prog_LAUNCHD="no"
   22083 fi
   22084 fi
   22085 LAUNCHD=$ac_cv_prog_LAUNCHD
   22086 if test -n "$LAUNCHD"; then
   22087   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LAUNCHD" >&5
   22088 printf "%s\n" "$LAUNCHD" >&6; }
   22089 else
   22090   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22091 printf "%s\n" "no" >&6; }
   22092 fi
   22093 
   22094 
   22095 fi
   22096 
   22097 if test "x$LAUNCHD" = xyes ; then
   22098 
   22099 printf "%s\n" "#define HAVE_LAUNCHD 1" >>confdefs.h
   22100 
   22101 
   22102 printf "%s\n" "#define TRANS_REOPEN 1" >>confdefs.h
   22103 
   22104 fi
   22105 
   22106 # Check whether --enable-xthreads was given.
   22107 if test ${enable_xthreads+y}
   22108 then :
   22109   enableval=$enable_xthreads; xthreads=$enableval
   22110 else $as_nop
   22111   xthreads=yes
   22112 fi
   22113 
   22114 
   22115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for getpwuid_r in -lc" >&5
   22116 printf %s "checking for getpwuid_r in -lc... " >&6; }
   22117 if test ${ac_cv_lib_c_getpwuid_r+y}
   22118 then :
   22119   printf %s "(cached) " >&6
   22120 else $as_nop
   22121   ac_check_lib_save_LIBS=$LIBS
   22122 LIBS="-lc  $LIBS"
   22123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22124 /* end confdefs.h.  */
   22125 
   22126 /* Override any GCC internal prototype to avoid an error.
   22127    Use char because int might match the return type of a GCC
   22128    builtin and then its argument prototype would still apply.  */
   22129 char getpwuid_r ();
   22130 int
   22131 main (void)
   22132 {
   22133 return getpwuid_r ();
   22134   ;
   22135   return 0;
   22136 }
   22137 _ACEOF
   22138 if ac_fn_c_try_link "$LINENO"
   22139 then :
   22140   ac_cv_lib_c_getpwuid_r=yes
   22141 else $as_nop
   22142   ac_cv_lib_c_getpwuid_r=no
   22143 fi
   22144 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   22145     conftest$ac_exeext conftest.$ac_ext
   22146 LIBS=$ac_check_lib_save_LIBS
   22147 fi
   22148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getpwuid_r" >&5
   22149 printf "%s\n" "$ac_cv_lib_c_getpwuid_r" >&6; }
   22150 if test "x$ac_cv_lib_c_getpwuid_r" = xyes
   22151 then :
   22152   mtsafeapi="yes"
   22153 else $as_nop
   22154   mtsafeapi="no"
   22155 fi
   22156 
   22157 
   22158 case x$xthreads in
   22159 xyes)
   22160 
   22161 printf "%s\n" "#define XTHREADS 1" >>confdefs.h
   22162 
   22163 	if test x$mtsafeapi = xyes
   22164 	then
   22165 
   22166 printf "%s\n" "#define XUSE_MTSAFE_API 1" >>confdefs.h
   22167 
   22168 	fi
   22169 	;;
   22170 *)
   22171 	;;
   22172 esac
   22173 
   22174 # XXX incomplete, please fill this in
   22175 if test x$xthreads = xyes ; then
   22176     case $host_os in
   22177     linux*|gnu*|k*bsd*-gnu)
   22178         XTHREADLIB=-lpthread ;;
   22179     netbsd*)
   22180 	XTHREAD_CFLAGS="-D_POSIX_THREAD_SAFE_FUNCTIONS"
   22181 	XTHREADLIB="-lpthread" ;;
   22182     freebsd*)
   22183         XTHREAD_CFLAGS="-D_THREAD_SAFE"
   22184         XTHREADLIB="-pthread" ;;
   22185     dragonfly*|openbsd*)
   22186         XTHREADLIB="-pthread" ;;
   22187     solaris*)
   22188 	XTHREAD_CFLAGS="-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS" ;;
   22189     esac
   22190 fi
   22191 
   22192 
   22193 
   22194 if test "x$USE_THREAD_SAFETY_CONSTRUCTOR" = "xyes"; then
   22195     USE_THREAD_LIBS="$XTHREADLIB"
   22196 else
   22197     # This should be kept in sync with libxcb
   22198     case $host_os in
   22199     linux*|darwin*|solaris*) ;;
   22200          *) X11_REQUIRES="$X11_REQUIRES pthread-stubs" ;;
   22201     esac
   22202 fi
   22203 
   22204 
   22205 ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
   22206 if test "x$ac_cv_func_poll" = xyes
   22207 then :
   22208 
   22209 printf "%s\n" "#define USE_POLL 1" >>confdefs.h
   22210 
   22211 fi
   22212 
   22213 
   22214 #
   22215 # Find keysymdef.h
   22216 #
   22217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking keysym definitions" >&5
   22218 printf %s "checking keysym definitions... " >&6; }
   22219 
   22220 # Check whether --with-keysymdefdir was given.
   22221 if test ${with_keysymdefdir+y}
   22222 then :
   22223   withval=$with_keysymdefdir; KEYSYMDEFDIR=$withval
   22224 else $as_nop
   22225   KEYSYMDEFDIR=`$PKG_CONFIG --variable=includedir xproto`/X11
   22226 fi
   22227 
   22228 
   22229 if test ! -d "$KEYSYMDEFDIR"; then
   22230 	as_fn_error $? "$KEYSYMDEFDIR doesn't exist or isn't a directory" "$LINENO" 5
   22231 fi
   22232 
   22233 FILES="keysymdef.h XF86keysym.h Sunkeysym.h DECkeysym.h HPkeysym.h"
   22234 for i in $FILES; do
   22235     if test -f "$KEYSYMDEFDIR/$i"; then
   22236             KEYSYMDEFS="$KEYSYMDEFS $KEYSYMDEFDIR/$i"
   22237     elif test "x$i" = "xkeysymdef.h"; then
   22238 	    as_fn_error $? "Cannot find keysymdef.h" "$LINENO" 5
   22239     fi
   22240 done
   22241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $KEYSYMDEFS" >&5
   22242 printf "%s\n" "$KEYSYMDEFS" >&6; }
   22243 
   22244 
   22245 # Check whether --enable-xcms was given.
   22246 if test ${enable_xcms+y}
   22247 then :
   22248   enableval=$enable_xcms; XCMS=$enableval
   22249 else $as_nop
   22250   XCMS=yes
   22251 fi
   22252 
   22253  if test x$XCMS = xyes ; then
   22254   XCMS_TRUE=
   22255   XCMS_FALSE='#'
   22256 else
   22257   XCMS_TRUE='#'
   22258   XCMS_FALSE=
   22259 fi
   22260 
   22261 if test x"$XCMS" = "xyes"; then
   22262 
   22263 printf "%s\n" "#define XCMS 1" >>confdefs.h
   22264 
   22265 fi
   22266 
   22267 # Check whether --enable-xlocale was given.
   22268 if test ${enable_xlocale+y}
   22269 then :
   22270   enableval=$enable_xlocale; XLOCALE=$enableval
   22271 else $as_nop
   22272   XLOCALE=yes
   22273 fi
   22274 
   22275 
   22276  if  test x$XLOCALE = xyes ; then
   22277   XLOCALE_TRUE=
   22278   XLOCALE_FALSE='#'
   22279 else
   22280   XLOCALE_TRUE='#'
   22281   XLOCALE_FALSE=
   22282 fi
   22283 
   22284 if test x"$XLOCALE" = "xyes"; then
   22285 
   22286 printf "%s\n" "#define XLOCALE 1" >>confdefs.h
   22287 
   22288 fi
   22289 
   22290 # This disables XLOCALEDIR.  Set it if you're using BuildLoadableXlibI18n,
   22291 # don't have either issetugid() or getresuid(), and you need to protect
   22292 # clients that are setgid or setuid to an id other than 0.
   22293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if XLOCALEDIR support should be enabled" >&5
   22294 printf %s "checking if XLOCALEDIR support should be enabled... " >&6; }
   22295 # Check whether --enable-xlocaledir was given.
   22296 if test ${enable_xlocaledir+y}
   22297 then :
   22298   enableval=$enable_xlocaledir; ENABLE_XLOCALEDIR=$enableval
   22299 else $as_nop
   22300   ENABLE_XLOCALEDIR=$XLOCALEDIR_IS_SAFE
   22301 fi
   22302 
   22303 if test "x$ENABLE_XLOCALEDIR" = "xno"; then
   22304 
   22305 printf "%s\n" "#define NO_XLOCALEDIR 1" >>confdefs.h
   22306 
   22307 fi
   22308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ENABLE_XLOCALEDIR" >&5
   22309 printf "%s\n" "$ENABLE_XLOCALEDIR" >&6; }
   22310 
   22311 # Check whether --enable-xf86bigfont was given.
   22312 if test ${enable_xf86bigfont+y}
   22313 then :
   22314   enableval=$enable_xf86bigfont; XF86BIGFONT=$enableval
   22315 else $as_nop
   22316   XF86BIGFONT="yes"
   22317 fi
   22318 
   22319 if test "x$XF86BIGFONT" = "xyes"; then
   22320 
   22321 pkg_failed=no
   22322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for BIGFONT" >&5
   22323 printf %s "checking for BIGFONT... " >&6; }
   22324 
   22325 if test -n "$BIGFONT_CFLAGS"; then
   22326     pkg_cv_BIGFONT_CFLAGS="$BIGFONT_CFLAGS"
   22327  elif test -n "$PKG_CONFIG"; then
   22328     if test -n "$PKG_CONFIG" && \
   22329     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xf86bigfontproto >= 1.2.0\""; } >&5
   22330   ($PKG_CONFIG --exists --print-errors "xf86bigfontproto >= 1.2.0") 2>&5
   22331   ac_status=$?
   22332   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   22333   test $ac_status = 0; }; then
   22334   pkg_cv_BIGFONT_CFLAGS=`$PKG_CONFIG --cflags "xf86bigfontproto >= 1.2.0" 2>/dev/null`
   22335 		      test "x$?" != "x0" && pkg_failed=yes
   22336 else
   22337   pkg_failed=yes
   22338 fi
   22339  else
   22340     pkg_failed=untried
   22341 fi
   22342 if test -n "$BIGFONT_LIBS"; then
   22343     pkg_cv_BIGFONT_LIBS="$BIGFONT_LIBS"
   22344  elif test -n "$PKG_CONFIG"; then
   22345     if test -n "$PKG_CONFIG" && \
   22346     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xf86bigfontproto >= 1.2.0\""; } >&5
   22347   ($PKG_CONFIG --exists --print-errors "xf86bigfontproto >= 1.2.0") 2>&5
   22348   ac_status=$?
   22349   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   22350   test $ac_status = 0; }; then
   22351   pkg_cv_BIGFONT_LIBS=`$PKG_CONFIG --libs "xf86bigfontproto >= 1.2.0" 2>/dev/null`
   22352 		      test "x$?" != "x0" && pkg_failed=yes
   22353 else
   22354   pkg_failed=yes
   22355 fi
   22356  else
   22357     pkg_failed=untried
   22358 fi
   22359 
   22360 
   22361 
   22362 if test $pkg_failed = yes; then
   22363    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22364 printf "%s\n" "no" >&6; }
   22365 
   22366 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   22367         _pkg_short_errors_supported=yes
   22368 else
   22369         _pkg_short_errors_supported=no
   22370 fi
   22371         if test $_pkg_short_errors_supported = yes; then
   22372 	        BIGFONT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xf86bigfontproto >= 1.2.0" 2>&1`
   22373         else
   22374 	        BIGFONT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xf86bigfontproto >= 1.2.0" 2>&1`
   22375         fi
   22376 	# Put the nasty error message in config.log where it belongs
   22377 	echo "$BIGFONT_PKG_ERRORS" >&5
   22378 
   22379 	XF86BIGFONT="no"
   22380 elif test $pkg_failed = untried; then
   22381      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22382 printf "%s\n" "no" >&6; }
   22383 	XF86BIGFONT="no"
   22384 else
   22385 	BIGFONT_CFLAGS=$pkg_cv_BIGFONT_CFLAGS
   22386 	BIGFONT_LIBS=$pkg_cv_BIGFONT_LIBS
   22387         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   22388 printf "%s\n" "yes" >&6; }
   22389 
   22390 printf "%s\n" "#define XF86BIGFONT 1" >>confdefs.h
   22391 
   22392 fi
   22393 fi
   22394 
   22395 # Check whether --enable-xkb was given.
   22396 if test ${enable_xkb+y}
   22397 then :
   22398   enableval=$enable_xkb; XKB=$enableval
   22399 else $as_nop
   22400   XKB=yes
   22401 fi
   22402 
   22403 
   22404  if  test x$XKB = xyes ; then
   22405   XKB_TRUE=
   22406   XKB_FALSE='#'
   22407 else
   22408   XKB_TRUE='#'
   22409   XKB_FALSE=
   22410 fi
   22411 
   22412 if test x"$XKB" = "xyes"; then
   22413    XKBPROTO_REQUIRES="kbproto"
   22414    X11_REQUIRES="${X11_REQUIRES} kbproto inputproto"
   22415 
   22416 printf "%s\n" "#define XKB 1" >>confdefs.h
   22417 
   22418 else
   22419    XKBPROTO_REQUIRES=""
   22420 fi
   22421 
   22422 
   22423 
   22424 ac_func=
   22425 for ac_item in $ac_func_c_list
   22426 do
   22427   if test $ac_func; then
   22428     ac_fn_c_check_func "$LINENO" $ac_func ac_cv_func_$ac_func
   22429     if eval test \"x\$ac_cv_func_$ac_func\" = xyes; then
   22430       echo "#define $ac_item 1" >> confdefs.h
   22431     fi
   22432     ac_func=
   22433   else
   22434     ac_func=$ac_item
   22435   fi
   22436 done
   22437 
   22438 
   22439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
   22440 printf %s "checking for working mmap... " >&6; }
   22441 if test ${ac_cv_func_mmap_fixed_mapped+y}
   22442 then :
   22443   printf %s "(cached) " >&6
   22444 else $as_nop
   22445   if test "$cross_compiling" = yes
   22446 then :
   22447   case "$host_os" in # ((
   22448 			  # Guess yes on platforms where we know the result.
   22449 		  linux*) ac_cv_func_mmap_fixed_mapped=yes ;;
   22450 			  # If we don't know, assume the worst.
   22451 		  *)      ac_cv_func_mmap_fixed_mapped=no ;;
   22452 		esac
   22453 else $as_nop
   22454   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   22455 /* end confdefs.h.  */
   22456 $ac_includes_default
   22457 /* malloc might have been renamed as rpl_malloc. */
   22458 #undef malloc
   22459 
   22460 /* Thanks to Mike Haertel and Jim Avera for this test.
   22461    Here is a matrix of mmap possibilities:
   22462 	mmap private not fixed
   22463 	mmap private fixed at somewhere currently unmapped
   22464 	mmap private fixed at somewhere already mapped
   22465 	mmap shared not fixed
   22466 	mmap shared fixed at somewhere currently unmapped
   22467 	mmap shared fixed at somewhere already mapped
   22468    For private mappings, we should verify that changes cannot be read()
   22469    back from the file, nor mmap's back from the file at a different
   22470    address.  (There have been systems where private was not correctly
   22471    implemented like the infamous i386 svr4.0, and systems where the
   22472    VM page cache was not coherent with the file system buffer cache
   22473    like early versions of FreeBSD and possibly contemporary NetBSD.)
   22474    For shared mappings, we should conversely verify that changes get
   22475    propagated back to all the places they're supposed to be.
   22476 
   22477    Grep wants private fixed already mapped.
   22478    The main things grep needs to know about mmap are:
   22479    * does it exist and is it safe to write into the mmap'd area
   22480    * how to use it (BSD variants)  */
   22481 
   22482 #include <fcntl.h>
   22483 #include <sys/mman.h>
   22484 
   22485 /* This mess was copied from the GNU getpagesize.h.  */
   22486 #ifndef HAVE_GETPAGESIZE
   22487 # ifdef _SC_PAGESIZE
   22488 #  define getpagesize() sysconf(_SC_PAGESIZE)
   22489 # else /* no _SC_PAGESIZE */
   22490 #  ifdef HAVE_SYS_PARAM_H
   22491 #   include <sys/param.h>
   22492 #   ifdef EXEC_PAGESIZE
   22493 #    define getpagesize() EXEC_PAGESIZE
   22494 #   else /* no EXEC_PAGESIZE */
   22495 #    ifdef NBPG
   22496 #     define getpagesize() NBPG * CLSIZE
   22497 #     ifndef CLSIZE
   22498 #      define CLSIZE 1
   22499 #     endif /* no CLSIZE */
   22500 #    else /* no NBPG */
   22501 #     ifdef NBPC
   22502 #      define getpagesize() NBPC
   22503 #     else /* no NBPC */
   22504 #      ifdef PAGESIZE
   22505 #       define getpagesize() PAGESIZE
   22506 #      endif /* PAGESIZE */
   22507 #     endif /* no NBPC */
   22508 #    endif /* no NBPG */
   22509 #   endif /* no EXEC_PAGESIZE */
   22510 #  else /* no HAVE_SYS_PARAM_H */
   22511 #   define getpagesize() 8192	/* punt totally */
   22512 #  endif /* no HAVE_SYS_PARAM_H */
   22513 # endif /* no _SC_PAGESIZE */
   22514 
   22515 #endif /* no HAVE_GETPAGESIZE */
   22516 
   22517 int
   22518 main (void)
   22519 {
   22520   char *data, *data2, *data3;
   22521   const char *cdata2;
   22522   int i, pagesize;
   22523   int fd, fd2;
   22524 
   22525   pagesize = getpagesize ();
   22526 
   22527   /* First, make a file with some known garbage in it. */
   22528   data = (char *) malloc (pagesize);
   22529   if (!data)
   22530     return 1;
   22531   for (i = 0; i < pagesize; ++i)
   22532     *(data + i) = rand ();
   22533   umask (0);
   22534   fd = creat ("conftest.mmap", 0600);
   22535   if (fd < 0)
   22536     return 2;
   22537   if (write (fd, data, pagesize) != pagesize)
   22538     return 3;
   22539   close (fd);
   22540 
   22541   /* Next, check that the tail of a page is zero-filled.  File must have
   22542      non-zero length, otherwise we risk SIGBUS for entire page.  */
   22543   fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
   22544   if (fd2 < 0)
   22545     return 4;
   22546   cdata2 = "";
   22547   if (write (fd2, cdata2, 1) != 1)
   22548     return 5;
   22549   data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
   22550   if (data2 == MAP_FAILED)
   22551     return 6;
   22552   for (i = 0; i < pagesize; ++i)
   22553     if (*(data2 + i))
   22554       return 7;
   22555   close (fd2);
   22556   if (munmap (data2, pagesize))
   22557     return 8;
   22558 
   22559   /* Next, try to mmap the file at a fixed address which already has
   22560      something else allocated at it.  If we can, also make sure that
   22561      we see the same garbage.  */
   22562   fd = open ("conftest.mmap", O_RDWR);
   22563   if (fd < 0)
   22564     return 9;
   22565   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
   22566 		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
   22567     return 10;
   22568   for (i = 0; i < pagesize; ++i)
   22569     if (*(data + i) != *(data2 + i))
   22570       return 11;
   22571 
   22572   /* Finally, make sure that changes to the mapped area do not
   22573      percolate back to the file as seen by read().  (This is a bug on
   22574      some variants of i386 svr4.0.)  */
   22575   for (i = 0; i < pagesize; ++i)
   22576     *(data2 + i) = *(data2 + i) + 1;
   22577   data3 = (char *) malloc (pagesize);
   22578   if (!data3)
   22579     return 12;
   22580   if (read (fd, data3, pagesize) != pagesize)
   22581     return 13;
   22582   for (i = 0; i < pagesize; ++i)
   22583     if (*(data + i) != *(data3 + i))
   22584       return 14;
   22585   close (fd);
   22586   free (data);
   22587   free (data3);
   22588   return 0;
   22589 }
   22590 _ACEOF
   22591 if ac_fn_c_try_run "$LINENO"
   22592 then :
   22593   ac_cv_func_mmap_fixed_mapped=yes
   22594 else $as_nop
   22595   ac_cv_func_mmap_fixed_mapped=no
   22596 fi
   22597 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   22598   conftest.$ac_objext conftest.beam conftest.$ac_ext
   22599 fi
   22600 
   22601 fi
   22602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
   22603 printf "%s\n" "$ac_cv_func_mmap_fixed_mapped" >&6; }
   22604 if test $ac_cv_func_mmap_fixed_mapped = yes; then
   22605 
   22606 printf "%s\n" "#define HAVE_MMAP 1" >>confdefs.h
   22607 
   22608 fi
   22609 rm -f conftest.mmap conftest.txt
   22610 
   22611 composecache_default=$ac_cv_func_mmap_fixed_mapped
   22612 ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo"
   22613 if test "x$ac_cv_func_nl_langinfo" = xyes
   22614 then :
   22615 
   22616 else $as_nop
   22617   composecache_default=no
   22618 fi
   22619 
   22620 # Check whether --enable-composecache was given.
   22621 if test ${enable_composecache+y}
   22622 then :
   22623   enableval=$enable_composecache; COMPOSECACHE=$enableval
   22624 else $as_nop
   22625   COMPOSECACHE=$composecache_default
   22626 fi
   22627 
   22628 if test x"$COMPOSECACHE" = "xyes"; then
   22629 
   22630 printf "%s\n" "#define COMPOSECACHE 1" >>confdefs.h
   22631 
   22632 fi
   22633 
   22634 # Allow checking code with lint, sparse, etc.
   22635 
   22636 
   22637 
   22638 
   22639 
   22640 # Check whether --with-lint was given.
   22641 if test ${with_lint+y}
   22642 then :
   22643   withval=$with_lint; use_lint=$withval
   22644 else $as_nop
   22645   use_lint=no
   22646 fi
   22647 
   22648 
   22649 # Obtain platform specific info like program name and options
   22650 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   22651 case $host_os in
   22652   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   22653 	lint_name=splint
   22654 	lint_options="-badflag"
   22655 	;;
   22656   *freebsd* | *netbsd*)
   22657 	lint_name=lint
   22658 	lint_options="-u -b"
   22659 	;;
   22660   *solaris*)
   22661 	lint_name=lint
   22662 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   22663 	;;
   22664 esac
   22665 
   22666 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   22667 if test "x$use_lint" = x"yes" ; then
   22668    # Extract the first word of "$lint_name", so it can be a program name with args.
   22669 set dummy $lint_name; ac_word=$2
   22670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   22671 printf %s "checking for $ac_word... " >&6; }
   22672 if test ${ac_cv_path_LINT+y}
   22673 then :
   22674   printf %s "(cached) " >&6
   22675 else $as_nop
   22676   case $LINT in
   22677   [\\/]* | ?:[\\/]*)
   22678   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   22679   ;;
   22680   *)
   22681   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22682 for as_dir in $PATH
   22683 do
   22684   IFS=$as_save_IFS
   22685   case $as_dir in #(((
   22686     '') as_dir=./ ;;
   22687     */) ;;
   22688     *) as_dir=$as_dir/ ;;
   22689   esac
   22690     for ac_exec_ext in '' $ac_executable_extensions; do
   22691   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   22692     ac_cv_path_LINT="$as_dir$ac_word$ac_exec_ext"
   22693     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   22694     break 2
   22695   fi
   22696 done
   22697   done
   22698 IFS=$as_save_IFS
   22699 
   22700   ;;
   22701 esac
   22702 fi
   22703 LINT=$ac_cv_path_LINT
   22704 if test -n "$LINT"; then
   22705   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   22706 printf "%s\n" "$LINT" >&6; }
   22707 else
   22708   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22709 printf "%s\n" "no" >&6; }
   22710 fi
   22711 
   22712 
   22713    if test "x$LINT" = "x"; then
   22714         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   22715    fi
   22716 elif test "x$use_lint" = x"no" ; then
   22717    if test "x$LINT" != "x"; then
   22718       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   22719 printf "%s\n" "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   22720    fi
   22721 else
   22722    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   22723 fi
   22724 
   22725 # User supplied flags override default flags
   22726 if test "x$LINT_FLAGS" != "x"; then
   22727    lint_options=$LINT_FLAGS
   22728 fi
   22729 
   22730 LINT_FLAGS=$lint_options
   22731 
   22732  if test "x$LINT" != x; then
   22733   LINT_TRUE=
   22734   LINT_FALSE='#'
   22735 else
   22736   LINT_TRUE='#'
   22737   LINT_FALSE=
   22738 fi
   22739 
   22740 
   22741 
   22742 
   22743 
   22744 # Check whether --enable-lint-library was given.
   22745 if test ${enable_lint_library+y}
   22746 then :
   22747   enableval=$enable_lint_library; make_lint_lib=$enableval
   22748 else $as_nop
   22749   make_lint_lib=no
   22750 fi
   22751 
   22752 
   22753 if test "x$make_lint_lib" = x"yes" ; then
   22754    LINTLIB=llib-lX11.ln
   22755    if test "x$LINT" = "x"; then
   22756         as_fn_error $? "Cannot make lint library without --with-lint" "$LINENO" 5
   22757    fi
   22758 elif test "x$make_lint_lib" != x"no" ; then
   22759    as_fn_error $? "--enable-lint-library expects 'yes' or 'no'." "$LINENO" 5
   22760 fi
   22761 
   22762 
   22763  if test x$make_lint_lib != xno; then
   22764   MAKE_LINT_LIB_TRUE=
   22765   MAKE_LINT_LIB_FALSE='#'
   22766 else
   22767   MAKE_LINT_LIB_TRUE='#'
   22768   MAKE_LINT_LIB_FALSE=
   22769 fi
   22770 
   22771 
   22772 
   22773 
   22774 X11_DATADIR="${datadir}/X11"
   22775 
   22776   prefix_NONE=
   22777   exec_prefix_NONE=
   22778   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   22779   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   22780   eval ax_define_dir="\"$X11_DATADIR\""
   22781   eval ax_define_dir="\"$ax_define_dir\""
   22782   X11_DATADIR="$ax_define_dir"
   22783 
   22784 
   22785 printf "%s\n" "#define X11_DATADIR \"$ax_define_dir\"" >>confdefs.h
   22786 
   22787   test "$prefix_NONE" && prefix=NONE
   22788   test "$exec_prefix_NONE" && exec_prefix=NONE
   22789 
   22790 
   22791 
   22792 X11_LIBDIR="${libdir}/X11"
   22793 
   22794   prefix_NONE=
   22795   exec_prefix_NONE=
   22796   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   22797   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   22798   eval ax_define_dir="\"$X11_LIBDIR\""
   22799   eval ax_define_dir="\"$ax_define_dir\""
   22800   X11_LIBDIR="$ax_define_dir"
   22801 
   22802 
   22803 printf "%s\n" "#define X11_LIBDIR \"$ax_define_dir\"" >>confdefs.h
   22804 
   22805   test "$prefix_NONE" && prefix=NONE
   22806   test "$exec_prefix_NONE" && exec_prefix=NONE
   22807 
   22808 
   22809 
   22810 
   22811 pkg_failed=no
   22812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
   22813 printf %s "checking for X11... " >&6; }
   22814 
   22815 if test -n "$X11_CFLAGS"; then
   22816     pkg_cv_X11_CFLAGS="$X11_CFLAGS"
   22817  elif test -n "$PKG_CONFIG"; then
   22818     if test -n "$PKG_CONFIG" && \
   22819     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$X11_REQUIRES\""; } >&5
   22820   ($PKG_CONFIG --exists --print-errors "$X11_REQUIRES") 2>&5
   22821   ac_status=$?
   22822   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   22823   test $ac_status = 0; }; then
   22824   pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "$X11_REQUIRES" 2>/dev/null`
   22825 		      test "x$?" != "x0" && pkg_failed=yes
   22826 else
   22827   pkg_failed=yes
   22828 fi
   22829  else
   22830     pkg_failed=untried
   22831 fi
   22832 if test -n "$X11_LIBS"; then
   22833     pkg_cv_X11_LIBS="$X11_LIBS"
   22834  elif test -n "$PKG_CONFIG"; then
   22835     if test -n "$PKG_CONFIG" && \
   22836     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$X11_REQUIRES\""; } >&5
   22837   ($PKG_CONFIG --exists --print-errors "$X11_REQUIRES") 2>&5
   22838   ac_status=$?
   22839   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   22840   test $ac_status = 0; }; then
   22841   pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "$X11_REQUIRES" 2>/dev/null`
   22842 		      test "x$?" != "x0" && pkg_failed=yes
   22843 else
   22844   pkg_failed=yes
   22845 fi
   22846  else
   22847     pkg_failed=untried
   22848 fi
   22849 
   22850 
   22851 
   22852 if test $pkg_failed = yes; then
   22853    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22854 printf "%s\n" "no" >&6; }
   22855 
   22856 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   22857         _pkg_short_errors_supported=yes
   22858 else
   22859         _pkg_short_errors_supported=no
   22860 fi
   22861         if test $_pkg_short_errors_supported = yes; then
   22862 	        X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$X11_REQUIRES" 2>&1`
   22863         else
   22864 	        X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$X11_REQUIRES" 2>&1`
   22865         fi
   22866 	# Put the nasty error message in config.log where it belongs
   22867 	echo "$X11_PKG_ERRORS" >&5
   22868 
   22869 	as_fn_error $? "Package requirements ($X11_REQUIRES) were not met:
   22870 
   22871 $X11_PKG_ERRORS
   22872 
   22873 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   22874 installed software in a non-standard prefix.
   22875 
   22876 Alternatively, you may set the environment variables X11_CFLAGS
   22877 and X11_LIBS to avoid the need to call pkg-config.
   22878 See the pkg-config man page for more details." "$LINENO" 5
   22879 elif test $pkg_failed = untried; then
   22880      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   22881 printf "%s\n" "no" >&6; }
   22882 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   22883 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   22884 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   22885 is in your PATH or set the PKG_CONFIG environment variable to the full
   22886 path to pkg-config.
   22887 
   22888 Alternatively, you may set the environment variables X11_CFLAGS
   22889 and X11_LIBS to avoid the need to call pkg-config.
   22890 See the pkg-config man page for more details.
   22891 
   22892 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   22893 See \`config.log' for more details" "$LINENO" 5; }
   22894 else
   22895 	X11_CFLAGS=$pkg_cv_X11_CFLAGS
   22896 	X11_LIBS=$pkg_cv_X11_LIBS
   22897         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   22898 printf "%s\n" "yes" >&6; }
   22899 
   22900 fi
   22901 X11_CFLAGS="$X11_CFLAGS $XTHREAD_CFLAGS"
   22902 
   22903 #
   22904 # Yes, it would be nice to put the locale data in
   22905 # /usr/share, but the locale stuff includes loadable
   22906 # libraries which must be located in the same directory
   22907 # as the other locale data, so for now, everything lives
   22908 # in ${libdir}
   22909 #
   22910 
   22911 X11_LOCALEDATADIR="${X11_DATADIR}/locale"
   22912 
   22913   prefix_NONE=
   22914   exec_prefix_NONE=
   22915   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   22916   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   22917   eval ax_define_dir="\"$X11_LOCALEDATADIR\""
   22918   eval ax_define_dir="\"$ax_define_dir\""
   22919   XLOCALEDATADIR="$ax_define_dir"
   22920 
   22921 
   22922 printf "%s\n" "#define XLOCALEDATADIR \"$ax_define_dir\"" >>confdefs.h
   22923 
   22924   test "$prefix_NONE" && prefix=NONE
   22925   test "$exec_prefix_NONE" && exec_prefix=NONE
   22926 
   22927 
   22928 
   22929 
   22930 # Check whether --with-locale-lib-dir was given.
   22931 if test ${with_locale_lib_dir+y}
   22932 then :
   22933   withval=$with_locale_lib_dir;  X11_LOCALELIBDIR="$withval"
   22934 else $as_nop
   22935    X11_LOCALELIBDIR="${X11_LIBDIR}/locale"
   22936 fi
   22937 
   22938 
   22939   prefix_NONE=
   22940   exec_prefix_NONE=
   22941   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   22942   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   22943   eval ax_define_dir="\"$X11_LOCALELIBDIR\""
   22944   eval ax_define_dir="\"$ax_define_dir\""
   22945   XLOCALELIBDIR="$ax_define_dir"
   22946 
   22947 
   22948 printf "%s\n" "#define XLOCALELIBDIR \"$ax_define_dir\"" >>confdefs.h
   22949 
   22950   test "$prefix_NONE" && prefix=NONE
   22951   test "$exec_prefix_NONE" && exec_prefix=NONE
   22952 
   22953 
   22954 
   22955 X11_LOCALEDIR="${X11_LOCALEDATADIR}"
   22956 
   22957   prefix_NONE=
   22958   exec_prefix_NONE=
   22959   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   22960   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   22961   eval ax_define_dir="\"$X11_LOCALEDIR\""
   22962   eval ax_define_dir="\"$ax_define_dir\""
   22963   XLOCALEDIR="$ax_define_dir"
   22964 
   22965 
   22966 printf "%s\n" "#define XLOCALEDIR \"$ax_define_dir\"" >>confdefs.h
   22967 
   22968   test "$prefix_NONE" && prefix=NONE
   22969   test "$exec_prefix_NONE" && exec_prefix=NONE
   22970 
   22971 
   22972 
   22973 locales="\
   22974  am_ET.UTF-8  armscii-8   C           cs_CZ.UTF-8  el_GR.UTF-8  en_US.UTF-8 \
   22975  fi_FI.UTF-8  georgian-academy        georgian-ps  ibm-cp1133   iscii-dev \
   22976  isiri-3342   iso8859-1   iso8859-10  iso8859-11   iso8859-13   iso8859-14 \
   22977  iso8859-15   iso8859-2   iso8859-3   iso8859-4    iso8859-5    iso8859-6 \
   22978  iso8859-7    iso8859-8   iso8859-9   iso8859-9e   ja           ja.JIS \
   22979  ja_JP.UTF-8  ja.SJIS     km_KH.UTF-8 ko           koi8-c       koi8-r \
   22980  koi8-u       ko_KR.UTF-8 microsoft-cp1251         microsoft-cp1255 \
   22981  microsoft-cp1256         mulelao-1   nokhchi-1    pt_BR.UTF-8  pt_PT.UTF-8 \
   22982  ru_RU.UTF-8  sr_RS.UTF-8 tatar-cyr   th_TH        th_TH.UTF-8  tscii-0 \
   22983  vi_VN.tcvn   vi_VN.viscii            zh_CN        zh_CN.gb18030 \
   22984  zh_CN.gbk    zh_CN.UTF-8 zh_HK.big5  zh_HK.big5hkscs           zh_HK.UTF-8 \
   22985  zh_TW        zh_TW.big5  zh_TW.UTF-8"
   22986 
   22987 
   22988 XKEYSYMDB="${X11_DATADIR}/XKeysymDB"
   22989 
   22990   prefix_NONE=
   22991   exec_prefix_NONE=
   22992   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   22993   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   22994   eval ax_define_dir="\"$XKEYSYMDB\""
   22995   eval ax_define_dir="\"$ax_define_dir\""
   22996   XKEYSYMDB="$ax_define_dir"
   22997 
   22998 
   22999 printf "%s\n" "#define XKEYSYMDB \"$ax_define_dir\"" >>confdefs.h
   23000 
   23001   test "$prefix_NONE" && prefix=NONE
   23002   test "$exec_prefix_NONE" && exec_prefix=NONE
   23003 
   23004 
   23005 XERRORDB="${X11_DATADIR}/XErrorDB"
   23006 
   23007   prefix_NONE=
   23008   exec_prefix_NONE=
   23009   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   23010   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   23011   eval ax_define_dir="\"$XERRORDB\""
   23012   eval ax_define_dir="\"$ax_define_dir\""
   23013   XERRORDB="$ax_define_dir"
   23014 
   23015 
   23016 printf "%s\n" "#define XERRORDB \"$ax_define_dir\"" >>confdefs.h
   23017 
   23018   test "$prefix_NONE" && prefix=NONE
   23019   test "$exec_prefix_NONE" && exec_prefix=NONE
   23020 
   23021 
   23022 
   23023 # Check whether --enable-malloc0returnsnull was given.
   23024 if test ${enable_malloc0returnsnull+y}
   23025 then :
   23026   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   23027 else $as_nop
   23028   MALLOC_ZERO_RETURNS_NULL=auto
   23029 fi
   23030 
   23031 
   23032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether malloc(0) returns NULL" >&5
   23033 printf %s "checking whether malloc(0) returns NULL... " >&6; }
   23034 if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
   23035 if test ${xorg_cv_malloc0_returns_null+y}
   23036 then :
   23037   printf %s "(cached) " >&6
   23038 else $as_nop
   23039   if test "$cross_compiling" = yes
   23040 then :
   23041   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   23042 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   23043 as_fn_error $? "cannot run test program while cross compiling
   23044 See \`config.log' for more details" "$LINENO" 5; }
   23045 else $as_nop
   23046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   23047 /* end confdefs.h.  */
   23048 
   23049 #include <stdlib.h>
   23050 
   23051 int
   23052 main (void)
   23053 {
   23054 
   23055     char *m0, *r0, *c0, *p;
   23056     m0 = malloc(0);
   23057     p = malloc(10);
   23058     r0 = realloc(p,0);
   23059     c0 = calloc(0,10);
   23060     exit((m0 == 0 || r0 == 0 || c0 == 0) ? 0 : 1);
   23061 
   23062   ;
   23063   return 0;
   23064 }
   23065 _ACEOF
   23066 if ac_fn_c_try_run "$LINENO"
   23067 then :
   23068   xorg_cv_malloc0_returns_null=yes
   23069 else $as_nop
   23070   xorg_cv_malloc0_returns_null=no
   23071 fi
   23072 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   23073   conftest.$ac_objext conftest.beam conftest.$ac_ext
   23074 fi
   23075 
   23076 fi
   23077 
   23078 MALLOC_ZERO_RETURNS_NULL=$xorg_cv_malloc0_returns_null
   23079 fi
   23080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   23081 printf "%s\n" "$MALLOC_ZERO_RETURNS_NULL" >&6; }
   23082 
   23083 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   23084 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   23085 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   23086 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   23087 else
   23088 	MALLOC_ZERO_CFLAGS=""
   23089 	XMALLOC_ZERO_CFLAGS=""
   23090 	XTMALLOC_ZERO_CFLAGS=""
   23091 fi
   23092 
   23093 
   23094 
   23095 
   23096 
   23097 
   23098 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"
   23099 
   23100 cat >confcache <<\_ACEOF
   23101 # This file is a shell script that caches the results of configure
   23102 # tests run on this system so they can be shared between configure
   23103 # scripts and configure runs, see configure's option --config-cache.
   23104 # It is not useful on other systems.  If it contains results you don't
   23105 # want to keep, you may remove or edit it.
   23106 #
   23107 # config.status only pays attention to the cache file if you give it
   23108 # the --recheck option to rerun configure.
   23109 #
   23110 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   23111 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   23112 # following values.
   23113 
   23114 _ACEOF
   23115 
   23116 # The following way of writing the cache mishandles newlines in values,
   23117 # but we know of no workaround that is simple, portable, and efficient.
   23118 # So, we kill variables containing newlines.
   23119 # Ultrix sh set writes to stderr and can't be redirected directly,
   23120 # and sets the high bit in the cache file unless we assign to the vars.
   23121 (
   23122   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   23123     eval ac_val=\$$ac_var
   23124     case $ac_val in #(
   23125     *${as_nl}*)
   23126       case $ac_var in #(
   23127       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   23128 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   23129       esac
   23130       case $ac_var in #(
   23131       _ | IFS | as_nl) ;; #(
   23132       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   23133       *) { eval $ac_var=; unset $ac_var;} ;;
   23134       esac ;;
   23135     esac
   23136   done
   23137 
   23138   (set) 2>&1 |
   23139     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   23140     *${as_nl}ac_space=\ *)
   23141       # `set' does not quote correctly, so add quotes: double-quote
   23142       # substitution turns \\\\ into \\, and sed turns \\ into \.
   23143       sed -n \
   23144 	"s/'/'\\\\''/g;
   23145 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   23146       ;; #(
   23147     *)
   23148       # `set' quotes correctly as required by POSIX, so do not add quotes.
   23149       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   23150       ;;
   23151     esac |
   23152     sort
   23153 ) |
   23154   sed '
   23155      /^ac_cv_env_/b end
   23156      t clear
   23157      :clear
   23158      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   23159      t end
   23160      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   23161      :end' >>confcache
   23162 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   23163   if test -w "$cache_file"; then
   23164     if test "x$cache_file" != "x/dev/null"; then
   23165       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   23166 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   23167       if test ! -f "$cache_file" || test -h "$cache_file"; then
   23168 	cat confcache >"$cache_file"
   23169       else
   23170         case $cache_file in #(
   23171         */* | ?:*)
   23172 	  mv -f confcache "$cache_file"$$ &&
   23173 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   23174         *)
   23175 	  mv -f confcache "$cache_file" ;;
   23176 	esac
   23177       fi
   23178     fi
   23179   else
   23180     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   23181 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   23182   fi
   23183 fi
   23184 rm -f confcache
   23185 
   23186 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   23187 # Let make expand exec_prefix.
   23188 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   23189 
   23190 DEFS=-DHAVE_CONFIG_H
   23191 
   23192 ac_libobjs=
   23193 ac_ltlibobjs=
   23194 U=
   23195 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   23196   # 1. Remove the extension, and $U if already installed.
   23197   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   23198   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   23199   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   23200   #    will be set to the directory where LIBOBJS objects are built.
   23201   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   23202   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   23203 done
   23204 LIBOBJS=$ac_libobjs
   23205 
   23206 LTLIBOBJS=$ac_ltlibobjs
   23207 
   23208 
   23209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   23210 printf %s "checking that generated files are newer than configure... " >&6; }
   23211    if test -n "$am_sleep_pid"; then
   23212      # Hide warnings about reused PIDs.
   23213      wait $am_sleep_pid 2>/dev/null
   23214    fi
   23215    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   23216 printf "%s\n" "done" >&6; }
   23217 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   23218   as_fn_error $? "conditional \"AMDEP\" was never defined.
   23219 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23220 fi
   23221 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   23222   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   23223 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23224 fi
   23225  if test -n "$EXEEXT"; then
   23226   am__EXEEXT_TRUE=
   23227   am__EXEEXT_FALSE='#'
   23228 else
   23229   am__EXEEXT_TRUE='#'
   23230   am__EXEEXT_FALSE=
   23231 fi
   23232 
   23233 if test -z "${ENABLE_SPECS_TRUE}" && test -z "${ENABLE_SPECS_FALSE}"; then
   23234   as_fn_error $? "conditional \"ENABLE_SPECS\" was never defined.
   23235 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23236 fi
   23237 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
   23238   as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
   23239 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23240 fi
   23241 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   23242   as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
   23243 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23244 fi
   23245 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
   23246   as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
   23247 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23248 fi
   23249 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
   23250   as_fn_error $? "conditional \"HAVE_XSLTPROC\" was never defined.
   23251 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23252 fi
   23253 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
   23254   as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
   23255 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23256 fi
   23257 if test -z "${HAVE_PERL_TRUE}" && test -z "${HAVE_PERL_FALSE}"; then
   23258   as_fn_error $? "conditional \"HAVE_PERL\" was never defined.
   23259 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23260 fi
   23261 if test -z "${XLIB_LOADABLE_I18N_TRUE}" && test -z "${XLIB_LOADABLE_I18N_FALSE}"; then
   23262   as_fn_error $? "conditional \"XLIB_LOADABLE_I18N\" was never defined.
   23263 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23264 fi
   23265 if test -z "${OS2_TRUE}" && test -z "${OS2_FALSE}"; then
   23266   as_fn_error $? "conditional \"OS2\" was never defined.
   23267 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23268 fi
   23269 if test -z "${XCMS_TRUE}" && test -z "${XCMS_FALSE}"; then
   23270   as_fn_error $? "conditional \"XCMS\" was never defined.
   23271 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23272 fi
   23273 if test -z "${XLOCALE_TRUE}" && test -z "${XLOCALE_FALSE}"; then
   23274   as_fn_error $? "conditional \"XLOCALE\" was never defined.
   23275 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23276 fi
   23277 if test -z "${XKB_TRUE}" && test -z "${XKB_FALSE}"; then
   23278   as_fn_error $? "conditional \"XKB\" was never defined.
   23279 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23280 fi
   23281 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   23282   as_fn_error $? "conditional \"LINT\" was never defined.
   23283 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23284 fi
   23285 if test -z "${MAKE_LINT_LIB_TRUE}" && test -z "${MAKE_LINT_LIB_FALSE}"; then
   23286   as_fn_error $? "conditional \"MAKE_LINT_LIB\" was never defined.
   23287 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   23288 fi
   23289 
   23290 : "${CONFIG_STATUS=./config.status}"
   23291 ac_write_fail=0
   23292 ac_clean_files_save=$ac_clean_files
   23293 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   23294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   23295 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   23296 as_write_fail=0
   23297 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   23298 #! $SHELL
   23299 # Generated by $as_me.
   23300 # Run this file to recreate the current configuration.
   23301 # Compiler output produced by configure, useful for debugging
   23302 # configure, is in config.log if it exists.
   23303 
   23304 debug=false
   23305 ac_cs_recheck=false
   23306 ac_cs_silent=false
   23307 
   23308 SHELL=\${CONFIG_SHELL-$SHELL}
   23309 export SHELL
   23310 _ASEOF
   23311 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   23312 ## -------------------- ##
   23313 ## M4sh Initialization. ##
   23314 ## -------------------- ##
   23315 
   23316 # Be more Bourne compatible
   23317 DUALCASE=1; export DUALCASE # for MKS sh
   23318 as_nop=:
   23319 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   23320 then :
   23321   emulate sh
   23322   NULLCMD=:
   23323   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   23324   # is contrary to our usage.  Disable this feature.
   23325   alias -g '${1+"$@"}'='"$@"'
   23326   setopt NO_GLOB_SUBST
   23327 else $as_nop
   23328   case `(set -o) 2>/dev/null` in #(
   23329   *posix*) :
   23330     set -o posix ;; #(
   23331   *) :
   23332      ;;
   23333 esac
   23334 fi
   23335 
   23336 
   23337 
   23338 # Reset variables that may have inherited troublesome values from
   23339 # the environment.
   23340 
   23341 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   23342 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   23343 # side effect of setting IFS to empty, thus disabling word splitting.)
   23344 # Quoting is to prevent editors from complaining about space-tab.
   23345 as_nl='
   23346 '
   23347 export as_nl
   23348 IFS=" ""	$as_nl"
   23349 
   23350 PS1='$ '
   23351 PS2='> '
   23352 PS4='+ '
   23353 
   23354 # Ensure predictable behavior from utilities with locale-dependent output.
   23355 LC_ALL=C
   23356 export LC_ALL
   23357 LANGUAGE=C
   23358 export LANGUAGE
   23359 
   23360 # We cannot yet rely on "unset" to work, but we need these variables
   23361 # to be unset--not just set to an empty or harmless value--now, to
   23362 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   23363 # also avoids known problems related to "unset" and subshell syntax
   23364 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   23365 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   23366 do eval test \${$as_var+y} \
   23367   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   23368 done
   23369 
   23370 # Ensure that fds 0, 1, and 2 are open.
   23371 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   23372 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   23373 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   23374 
   23375 # The user is always right.
   23376 if ${PATH_SEPARATOR+false} :; then
   23377   PATH_SEPARATOR=:
   23378   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   23379     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   23380       PATH_SEPARATOR=';'
   23381   }
   23382 fi
   23383 
   23384 
   23385 # Find who we are.  Look in the path if we contain no directory separator.
   23386 as_myself=
   23387 case $0 in #((
   23388   *[\\/]* ) as_myself=$0 ;;
   23389   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   23390 for as_dir in $PATH
   23391 do
   23392   IFS=$as_save_IFS
   23393   case $as_dir in #(((
   23394     '') as_dir=./ ;;
   23395     */) ;;
   23396     *) as_dir=$as_dir/ ;;
   23397   esac
   23398     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   23399   done
   23400 IFS=$as_save_IFS
   23401 
   23402      ;;
   23403 esac
   23404 # We did not find ourselves, most probably we were run as `sh COMMAND'
   23405 # in which case we are not to be found in the path.
   23406 if test "x$as_myself" = x; then
   23407   as_myself=$0
   23408 fi
   23409 if test ! -f "$as_myself"; then
   23410   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   23411   exit 1
   23412 fi
   23413 
   23414 
   23415 
   23416 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   23417 # ----------------------------------------
   23418 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   23419 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   23420 # script with STATUS, using 1 if that was 0.
   23421 as_fn_error ()
   23422 {
   23423   as_status=$1; test $as_status -eq 0 && as_status=1
   23424   if test "$4"; then
   23425     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   23426     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   23427   fi
   23428   printf "%s\n" "$as_me: error: $2" >&2
   23429   as_fn_exit $as_status
   23430 } # as_fn_error
   23431 
   23432 
   23433 
   23434 # as_fn_set_status STATUS
   23435 # -----------------------
   23436 # Set $? to STATUS, without forking.
   23437 as_fn_set_status ()
   23438 {
   23439   return $1
   23440 } # as_fn_set_status
   23441 
   23442 # as_fn_exit STATUS
   23443 # -----------------
   23444 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   23445 as_fn_exit ()
   23446 {
   23447   set +e
   23448   as_fn_set_status $1
   23449   exit $1
   23450 } # as_fn_exit
   23451 
   23452 # as_fn_unset VAR
   23453 # ---------------
   23454 # Portably unset VAR.
   23455 as_fn_unset ()
   23456 {
   23457   { eval $1=; unset $1;}
   23458 }
   23459 as_unset=as_fn_unset
   23460 
   23461 # as_fn_append VAR VALUE
   23462 # ----------------------
   23463 # Append the text in VALUE to the end of the definition contained in VAR. Take
   23464 # advantage of any shell optimizations that allow amortized linear growth over
   23465 # repeated appends, instead of the typical quadratic growth present in naive
   23466 # implementations.
   23467 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   23468 then :
   23469   eval 'as_fn_append ()
   23470   {
   23471     eval $1+=\$2
   23472   }'
   23473 else $as_nop
   23474   as_fn_append ()
   23475   {
   23476     eval $1=\$$1\$2
   23477   }
   23478 fi # as_fn_append
   23479 
   23480 # as_fn_arith ARG...
   23481 # ------------------
   23482 # Perform arithmetic evaluation on the ARGs, and store the result in the
   23483 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   23484 # must be portable across $(()) and expr.
   23485 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   23486 then :
   23487   eval 'as_fn_arith ()
   23488   {
   23489     as_val=$(( $* ))
   23490   }'
   23491 else $as_nop
   23492   as_fn_arith ()
   23493   {
   23494     as_val=`expr "$@" || test $? -eq 1`
   23495   }
   23496 fi # as_fn_arith
   23497 
   23498 
   23499 if expr a : '\(a\)' >/dev/null 2>&1 &&
   23500    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   23501   as_expr=expr
   23502 else
   23503   as_expr=false
   23504 fi
   23505 
   23506 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   23507   as_basename=basename
   23508 else
   23509   as_basename=false
   23510 fi
   23511 
   23512 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   23513   as_dirname=dirname
   23514 else
   23515   as_dirname=false
   23516 fi
   23517 
   23518 as_me=`$as_basename -- "$0" ||
   23519 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   23520 	 X"$0" : 'X\(//\)$' \| \
   23521 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   23522 printf "%s\n" X/"$0" |
   23523     sed '/^.*\/\([^/][^/]*\)\/*$/{
   23524 	    s//\1/
   23525 	    q
   23526 	  }
   23527 	  /^X\/\(\/\/\)$/{
   23528 	    s//\1/
   23529 	    q
   23530 	  }
   23531 	  /^X\/\(\/\).*/{
   23532 	    s//\1/
   23533 	    q
   23534 	  }
   23535 	  s/.*/./; q'`
   23536 
   23537 # Avoid depending upon Character Ranges.
   23538 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   23539 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   23540 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   23541 as_cr_digits='0123456789'
   23542 as_cr_alnum=$as_cr_Letters$as_cr_digits
   23543 
   23544 
   23545 # Determine whether it's possible to make 'echo' print without a newline.
   23546 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   23547 # for compatibility with existing Makefiles.
   23548 ECHO_C= ECHO_N= ECHO_T=
   23549 case `echo -n x` in #(((((
   23550 -n*)
   23551   case `echo 'xy\c'` in
   23552   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   23553   xy)  ECHO_C='\c';;
   23554   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   23555        ECHO_T='	';;
   23556   esac;;
   23557 *)
   23558   ECHO_N='-n';;
   23559 esac
   23560 
   23561 # For backward compatibility with old third-party macros, we provide
   23562 # the shell variables $as_echo and $as_echo_n.  New code should use
   23563 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   23564 as_echo='printf %s\n'
   23565 as_echo_n='printf %s'
   23566 
   23567 rm -f conf$$ conf$$.exe conf$$.file
   23568 if test -d conf$$.dir; then
   23569   rm -f conf$$.dir/conf$$.file
   23570 else
   23571   rm -f conf$$.dir
   23572   mkdir conf$$.dir 2>/dev/null
   23573 fi
   23574 if (echo >conf$$.file) 2>/dev/null; then
   23575   if ln -s conf$$.file conf$$ 2>/dev/null; then
   23576     as_ln_s='ln -s'
   23577     # ... but there are two gotchas:
   23578     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   23579     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   23580     # In both cases, we have to default to `cp -pR'.
   23581     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   23582       as_ln_s='cp -pR'
   23583   elif ln conf$$.file conf$$ 2>/dev/null; then
   23584     as_ln_s=ln
   23585   else
   23586     as_ln_s='cp -pR'
   23587   fi
   23588 else
   23589   as_ln_s='cp -pR'
   23590 fi
   23591 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   23592 rmdir conf$$.dir 2>/dev/null
   23593 
   23594 
   23595 # as_fn_mkdir_p
   23596 # -------------
   23597 # Create "$as_dir" as a directory, including parents if necessary.
   23598 as_fn_mkdir_p ()
   23599 {
   23600 
   23601   case $as_dir in #(
   23602   -*) as_dir=./$as_dir;;
   23603   esac
   23604   test -d "$as_dir" || eval $as_mkdir_p || {
   23605     as_dirs=
   23606     while :; do
   23607       case $as_dir in #(
   23608       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   23609       *) as_qdir=$as_dir;;
   23610       esac
   23611       as_dirs="'$as_qdir' $as_dirs"
   23612       as_dir=`$as_dirname -- "$as_dir" ||
   23613 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23614 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   23615 	 X"$as_dir" : 'X\(//\)$' \| \
   23616 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   23617 printf "%s\n" X"$as_dir" |
   23618     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23619 	    s//\1/
   23620 	    q
   23621 	  }
   23622 	  /^X\(\/\/\)[^/].*/{
   23623 	    s//\1/
   23624 	    q
   23625 	  }
   23626 	  /^X\(\/\/\)$/{
   23627 	    s//\1/
   23628 	    q
   23629 	  }
   23630 	  /^X\(\/\).*/{
   23631 	    s//\1/
   23632 	    q
   23633 	  }
   23634 	  s/.*/./; q'`
   23635       test -d "$as_dir" && break
   23636     done
   23637     test -z "$as_dirs" || eval "mkdir $as_dirs"
   23638   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   23639 
   23640 
   23641 } # as_fn_mkdir_p
   23642 if mkdir -p . 2>/dev/null; then
   23643   as_mkdir_p='mkdir -p "$as_dir"'
   23644 else
   23645   test -d ./-p && rmdir ./-p
   23646   as_mkdir_p=false
   23647 fi
   23648 
   23649 
   23650 # as_fn_executable_p FILE
   23651 # -----------------------
   23652 # Test if FILE is an executable regular file.
   23653 as_fn_executable_p ()
   23654 {
   23655   test -f "$1" && test -x "$1"
   23656 } # as_fn_executable_p
   23657 as_test_x='test -x'
   23658 as_executable_p=as_fn_executable_p
   23659 
   23660 # Sed expression to map a string onto a valid CPP name.
   23661 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   23662 
   23663 # Sed expression to map a string onto a valid variable name.
   23664 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   23665 
   23666 
   23667 exec 6>&1
   23668 ## ----------------------------------- ##
   23669 ## Main body of $CONFIG_STATUS script. ##
   23670 ## ----------------------------------- ##
   23671 _ASEOF
   23672 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   23673 
   23674 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23675 # Save the log message, to keep $0 and so on meaningful, and to
   23676 # report actual input values of CONFIG_FILES etc. instead of their
   23677 # values after options handling.
   23678 ac_log="
   23679 This file was extended by libX11 $as_me 1.8.7, which was
   23680 generated by GNU Autoconf 2.71.  Invocation command line was
   23681 
   23682   CONFIG_FILES    = $CONFIG_FILES
   23683   CONFIG_HEADERS  = $CONFIG_HEADERS
   23684   CONFIG_LINKS    = $CONFIG_LINKS
   23685   CONFIG_COMMANDS = $CONFIG_COMMANDS
   23686   $ $0 $@
   23687 
   23688 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   23689 "
   23690 
   23691 _ACEOF
   23692 
   23693 case $ac_config_files in *"
   23694 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   23695 esac
   23696 
   23697 case $ac_config_headers in *"
   23698 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   23699 esac
   23700 
   23701 
   23702 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23703 # Files that config.status was made for.
   23704 config_files="$ac_config_files"
   23705 config_headers="$ac_config_headers"
   23706 config_commands="$ac_config_commands"
   23707 
   23708 _ACEOF
   23709 
   23710 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23711 ac_cs_usage="\
   23712 \`$as_me' instantiates files and other configuration actions
   23713 from templates according to the current configuration.  Unless the files
   23714 and actions are specified as TAGs, all are instantiated by default.
   23715 
   23716 Usage: $0 [OPTION]... [TAG]...
   23717 
   23718   -h, --help       print this help, then exit
   23719   -V, --version    print version number and configuration settings, then exit
   23720       --config     print configuration, then exit
   23721   -q, --quiet, --silent
   23722                    do not print progress messages
   23723   -d, --debug      don't remove temporary files
   23724       --recheck    update $as_me by reconfiguring in the same conditions
   23725       --file=FILE[:TEMPLATE]
   23726                    instantiate the configuration file FILE
   23727       --header=FILE[:TEMPLATE]
   23728                    instantiate the configuration header FILE
   23729 
   23730 Configuration files:
   23731 $config_files
   23732 
   23733 Configuration headers:
   23734 $config_headers
   23735 
   23736 Configuration commands:
   23737 $config_commands
   23738 
   23739 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues>."
   23740 
   23741 _ACEOF
   23742 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   23743 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   23744 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23745 ac_cs_config='$ac_cs_config_escaped'
   23746 ac_cs_version="\\
   23747 libX11 config.status 1.8.7
   23748 configured by $0, generated by GNU Autoconf 2.71,
   23749   with options \\"\$ac_cs_config\\"
   23750 
   23751 Copyright (C) 2021 Free Software Foundation, Inc.
   23752 This config.status script is free software; the Free Software Foundation
   23753 gives unlimited permission to copy, distribute and modify it."
   23754 
   23755 ac_pwd='$ac_pwd'
   23756 srcdir='$srcdir'
   23757 INSTALL='$INSTALL'
   23758 MKDIR_P='$MKDIR_P'
   23759 AWK='$AWK'
   23760 test -n "\$AWK" || AWK=awk
   23761 _ACEOF
   23762 
   23763 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23764 # The default lists apply if the user does not specify any file.
   23765 ac_need_defaults=:
   23766 while test $# != 0
   23767 do
   23768   case $1 in
   23769   --*=?*)
   23770     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   23771     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   23772     ac_shift=:
   23773     ;;
   23774   --*=)
   23775     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   23776     ac_optarg=
   23777     ac_shift=:
   23778     ;;
   23779   *)
   23780     ac_option=$1
   23781     ac_optarg=$2
   23782     ac_shift=shift
   23783     ;;
   23784   esac
   23785 
   23786   case $ac_option in
   23787   # Handling of the options.
   23788   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   23789     ac_cs_recheck=: ;;
   23790   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   23791     printf "%s\n" "$ac_cs_version"; exit ;;
   23792   --config | --confi | --conf | --con | --co | --c )
   23793     printf "%s\n" "$ac_cs_config"; exit ;;
   23794   --debug | --debu | --deb | --de | --d | -d )
   23795     debug=: ;;
   23796   --file | --fil | --fi | --f )
   23797     $ac_shift
   23798     case $ac_optarg in
   23799     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   23800     '') as_fn_error $? "missing file argument" ;;
   23801     esac
   23802     as_fn_append CONFIG_FILES " '$ac_optarg'"
   23803     ac_need_defaults=false;;
   23804   --header | --heade | --head | --hea )
   23805     $ac_shift
   23806     case $ac_optarg in
   23807     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   23808     esac
   23809     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   23810     ac_need_defaults=false;;
   23811   --he | --h)
   23812     # Conflict between --help and --header
   23813     as_fn_error $? "ambiguous option: \`$1'
   23814 Try \`$0 --help' for more information.";;
   23815   --help | --hel | -h )
   23816     printf "%s\n" "$ac_cs_usage"; exit ;;
   23817   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   23818   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   23819     ac_cs_silent=: ;;
   23820 
   23821   # This is an error.
   23822   -*) as_fn_error $? "unrecognized option: \`$1'
   23823 Try \`$0 --help' for more information." ;;
   23824 
   23825   *) as_fn_append ac_config_targets " $1"
   23826      ac_need_defaults=false ;;
   23827 
   23828   esac
   23829   shift
   23830 done
   23831 
   23832 ac_configure_extra_args=
   23833 
   23834 if $ac_cs_silent; then
   23835   exec 6>/dev/null
   23836   ac_configure_extra_args="$ac_configure_extra_args --silent"
   23837 fi
   23838 
   23839 _ACEOF
   23840 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23841 if \$ac_cs_recheck; then
   23842   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   23843   shift
   23844   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   23845   CONFIG_SHELL='$SHELL'
   23846   export CONFIG_SHELL
   23847   exec "\$@"
   23848 fi
   23849 
   23850 _ACEOF
   23851 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23852 exec 5>>config.log
   23853 {
   23854   echo
   23855   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   23856 ## Running $as_me. ##
   23857 _ASBOX
   23858   printf "%s\n" "$ac_log"
   23859 } >&5
   23860 
   23861 _ACEOF
   23862 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23863 #
   23864 # INIT-COMMANDS
   23865 #
   23866 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   23867 
   23868 
   23869 # The HP-UX ksh and POSIX shell print the target directory to stdout
   23870 # if CDPATH is set.
   23871 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   23872 
   23873 sed_quote_subst='$sed_quote_subst'
   23874 double_quote_subst='$double_quote_subst'
   23875 delay_variable_subst='$delay_variable_subst'
   23876 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   23877 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   23878 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   23879 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   23880 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   23881 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   23882 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   23883 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   23884 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   23885 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   23886 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   23887 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   23888 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   23889 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   23890 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   23891 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   23892 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   23893 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   23894 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   23895 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   23896 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   23897 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   23898 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   23899 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   23900 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   23901 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   23902 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   23903 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   23904 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   23905 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   23906 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   23907 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   23908 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   23909 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   23910 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
   23911 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   23912 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   23913 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   23914 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   23915 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   23916 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   23917 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   23918 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   23919 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
   23920 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   23921 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   23922 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   23923 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   23924 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   23925 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   23926 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   23927 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   23928 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   23929 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   23930 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   23931 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   23932 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   23933 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   23934 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   23935 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   23936 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"`'
   23937 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   23938 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   23939 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   23940 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   23941 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   23942 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   23943 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   23944 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   23945 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   23946 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   23947 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   23948 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   23949 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   23950 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   23951 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   23952 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   23953 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   23954 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   23955 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   23956 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   23957 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   23958 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   23959 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   23960 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   23961 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   23962 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   23963 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   23964 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   23965 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   23966 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   23967 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   23968 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   23969 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   23970 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   23971 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   23972 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   23973 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   23974 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   23975 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   23976 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   23977 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   23978 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   23979 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   23980 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   23981 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   23982 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   23983 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   23984 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   23985 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   23986 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   23987 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   23988 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   23989 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   23990 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   23991 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   23992 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   23993 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   23994 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   23995 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   23996 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   23997 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   23998 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   23999 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   24000 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   24001 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   24002 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   24003 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   24004 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   24005 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   24006 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   24007 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   24008 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   24009 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   24010 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   24011 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   24012 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   24013 
   24014 LTCC='$LTCC'
   24015 LTCFLAGS='$LTCFLAGS'
   24016 compiler='$compiler_DEFAULT'
   24017 
   24018 # A function that is used when there is no print builtin or printf.
   24019 func_fallback_echo ()
   24020 {
   24021   eval 'cat <<_LTECHO_EOF
   24022 \$1
   24023 _LTECHO_EOF'
   24024 }
   24025 
   24026 # Quote evaled strings.
   24027 for var in SHELL \
   24028 ECHO \
   24029 PATH_SEPARATOR \
   24030 SED \
   24031 GREP \
   24032 EGREP \
   24033 FGREP \
   24034 LD \
   24035 NM \
   24036 LN_S \
   24037 lt_SP2NL \
   24038 lt_NL2SP \
   24039 reload_flag \
   24040 FILECMD \
   24041 OBJDUMP \
   24042 deplibs_check_method \
   24043 file_magic_cmd \
   24044 file_magic_glob \
   24045 want_nocaseglob \
   24046 DLLTOOL \
   24047 sharedlib_from_linklib_cmd \
   24048 AR \
   24049 archiver_list_spec \
   24050 STRIP \
   24051 RANLIB \
   24052 CC \
   24053 CFLAGS \
   24054 compiler \
   24055 lt_cv_sys_global_symbol_pipe \
   24056 lt_cv_sys_global_symbol_to_cdecl \
   24057 lt_cv_sys_global_symbol_to_import \
   24058 lt_cv_sys_global_symbol_to_c_name_address \
   24059 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   24060 lt_cv_nm_interface \
   24061 nm_file_list_spec \
   24062 lt_cv_truncate_bin \
   24063 lt_prog_compiler_no_builtin_flag \
   24064 lt_prog_compiler_pic \
   24065 lt_prog_compiler_wl \
   24066 lt_prog_compiler_static \
   24067 lt_cv_prog_compiler_c_o \
   24068 need_locks \
   24069 MANIFEST_TOOL \
   24070 DSYMUTIL \
   24071 NMEDIT \
   24072 LIPO \
   24073 OTOOL \
   24074 OTOOL64 \
   24075 shrext_cmds \
   24076 export_dynamic_flag_spec \
   24077 whole_archive_flag_spec \
   24078 compiler_needs_object \
   24079 with_gnu_ld \
   24080 allow_undefined_flag \
   24081 no_undefined_flag \
   24082 hardcode_libdir_flag_spec \
   24083 hardcode_libdir_separator \
   24084 exclude_expsyms \
   24085 include_expsyms \
   24086 file_list_spec \
   24087 variables_saved_for_relink \
   24088 libname_spec \
   24089 library_names_spec \
   24090 soname_spec \
   24091 install_override_mode \
   24092 finish_eval \
   24093 old_striplib \
   24094 striplib; do
   24095     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   24096     *[\\\\\\\`\\"\\\$]*)
   24097       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   24098       ;;
   24099     *)
   24100       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   24101       ;;
   24102     esac
   24103 done
   24104 
   24105 # Double-quote double-evaled strings.
   24106 for var in reload_cmds \
   24107 old_postinstall_cmds \
   24108 old_postuninstall_cmds \
   24109 old_archive_cmds \
   24110 extract_expsyms_cmds \
   24111 old_archive_from_new_cmds \
   24112 old_archive_from_expsyms_cmds \
   24113 archive_cmds \
   24114 archive_expsym_cmds \
   24115 module_cmds \
   24116 module_expsym_cmds \
   24117 export_symbols_cmds \
   24118 prelink_cmds \
   24119 postlink_cmds \
   24120 postinstall_cmds \
   24121 postuninstall_cmds \
   24122 finish_cmds \
   24123 sys_lib_search_path_spec \
   24124 configure_time_dlsearch_path \
   24125 configure_time_lt_sys_library_path; do
   24126     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   24127     *[\\\\\\\`\\"\\\$]*)
   24128       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   24129       ;;
   24130     *)
   24131       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   24132       ;;
   24133     esac
   24134 done
   24135 
   24136 ac_aux_dir='$ac_aux_dir'
   24137 
   24138 # See if we are running on zsh, and set the options that allow our
   24139 # commands through without removal of \ escapes INIT.
   24140 if test -n "\${ZSH_VERSION+set}"; then
   24141    setopt NO_GLOB_SUBST
   24142 fi
   24143 
   24144 
   24145     PACKAGE='$PACKAGE'
   24146     VERSION='$VERSION'
   24147     RM='$RM'
   24148     ofile='$ofile'
   24149 
   24150 
   24151 
   24152 
   24153 _ACEOF
   24154 
   24155 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24156 
   24157 # Handling of arguments.
   24158 for ac_config_target in $ac_config_targets
   24159 do
   24160   case $ac_config_target in
   24161     "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
   24162     "include/X11/XlibConf.h") CONFIG_HEADERS="$CONFIG_HEADERS include/X11/XlibConf.h" ;;
   24163     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   24164     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   24165     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   24166     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   24167     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   24168     "man/xkb/Makefile") CONFIG_FILES="$CONFIG_FILES man/xkb/Makefile" ;;
   24169     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   24170     "src/util/Makefile") CONFIG_FILES="$CONFIG_FILES src/util/Makefile" ;;
   24171     "src/xcms/Makefile") CONFIG_FILES="$CONFIG_FILES src/xcms/Makefile" ;;
   24172     "src/xlibi18n/Makefile") CONFIG_FILES="$CONFIG_FILES src/xlibi18n/Makefile" ;;
   24173     "modules/Makefile") CONFIG_FILES="$CONFIG_FILES modules/Makefile" ;;
   24174     "modules/im/Makefile") CONFIG_FILES="$CONFIG_FILES modules/im/Makefile" ;;
   24175     "modules/im/ximcp/Makefile") CONFIG_FILES="$CONFIG_FILES modules/im/ximcp/Makefile" ;;
   24176     "modules/lc/Makefile") CONFIG_FILES="$CONFIG_FILES modules/lc/Makefile" ;;
   24177     "modules/lc/def/Makefile") CONFIG_FILES="$CONFIG_FILES modules/lc/def/Makefile" ;;
   24178     "modules/lc/gen/Makefile") CONFIG_FILES="$CONFIG_FILES modules/lc/gen/Makefile" ;;
   24179     "modules/lc/Utf8/Makefile") CONFIG_FILES="$CONFIG_FILES modules/lc/Utf8/Makefile" ;;
   24180     "modules/om/Makefile") CONFIG_FILES="$CONFIG_FILES modules/om/Makefile" ;;
   24181     "modules/om/generic/Makefile") CONFIG_FILES="$CONFIG_FILES modules/om/generic/Makefile" ;;
   24182     "src/xkb/Makefile") CONFIG_FILES="$CONFIG_FILES src/xkb/Makefile" ;;
   24183     "nls/Makefile") CONFIG_FILES="$CONFIG_FILES nls/Makefile" ;;
   24184     "specs/Makefile") CONFIG_FILES="$CONFIG_FILES specs/Makefile" ;;
   24185     "specs/i18n/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/Makefile" ;;
   24186     "specs/i18n/compose/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/compose/Makefile" ;;
   24187     "specs/i18n/framework/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/framework/Makefile" ;;
   24188     "specs/i18n/localedb/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/localedb/Makefile" ;;
   24189     "specs/i18n/trans/Makefile") CONFIG_FILES="$CONFIG_FILES specs/i18n/trans/Makefile" ;;
   24190     "specs/libX11/Makefile") CONFIG_FILES="$CONFIG_FILES specs/libX11/Makefile" ;;
   24191     "specs/XIM/Makefile") CONFIG_FILES="$CONFIG_FILES specs/XIM/Makefile" ;;
   24192     "specs/XKB/Makefile") CONFIG_FILES="$CONFIG_FILES specs/XKB/Makefile" ;;
   24193     "x11.pc") CONFIG_FILES="$CONFIG_FILES x11.pc" ;;
   24194     "x11-xcb.pc") CONFIG_FILES="$CONFIG_FILES x11-xcb.pc" ;;
   24195 
   24196   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   24197   esac
   24198 done
   24199 
   24200 
   24201 # If the user did not use the arguments to specify the items to instantiate,
   24202 # then the envvar interface is used.  Set only those that are not.
   24203 # We use the long form for the default assignment because of an extremely
   24204 # bizarre bug on SunOS 4.1.3.
   24205 if $ac_need_defaults; then
   24206   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   24207   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   24208   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   24209 fi
   24210 
   24211 # Have a temporary directory for convenience.  Make it in the build tree
   24212 # simply because there is no reason against having it here, and in addition,
   24213 # creating and moving files from /tmp can sometimes cause problems.
   24214 # Hook for its removal unless debugging.
   24215 # Note that there is a small window in which the directory will not be cleaned:
   24216 # after its creation but before its name has been assigned to `$tmp'.
   24217 $debug ||
   24218 {
   24219   tmp= ac_tmp=
   24220   trap 'exit_status=$?
   24221   : "${ac_tmp:=$tmp}"
   24222   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   24223 ' 0
   24224   trap 'as_fn_exit 1' 1 2 13 15
   24225 }
   24226 # Create a (secure) tmp directory for tmp files.
   24227 
   24228 {
   24229   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   24230   test -d "$tmp"
   24231 }  ||
   24232 {
   24233   tmp=./conf$$-$RANDOM
   24234   (umask 077 && mkdir "$tmp")
   24235 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   24236 ac_tmp=$tmp
   24237 
   24238 # Set up the scripts for CONFIG_FILES section.
   24239 # No need to generate them if there are no CONFIG_FILES.
   24240 # This happens for instance with `./config.status config.h'.
   24241 if test -n "$CONFIG_FILES"; then
   24242 
   24243 
   24244 ac_cr=`echo X | tr X '\015'`
   24245 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   24246 # But we know of no other shell where ac_cr would be empty at this
   24247 # point, so we can use a bashism as a fallback.
   24248 if test "x$ac_cr" = x; then
   24249   eval ac_cr=\$\'\\r\'
   24250 fi
   24251 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   24252 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   24253   ac_cs_awk_cr='\\r'
   24254 else
   24255   ac_cs_awk_cr=$ac_cr
   24256 fi
   24257 
   24258 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   24259 _ACEOF
   24260 
   24261 
   24262 {
   24263   echo "cat >conf$$subs.awk <<_ACEOF" &&
   24264   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   24265   echo "_ACEOF"
   24266 } >conf$$subs.sh ||
   24267   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   24268 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   24269 ac_delim='%!_!# '
   24270 for ac_last_try in false false false false false :; do
   24271   . ./conf$$subs.sh ||
   24272     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   24273 
   24274   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   24275   if test $ac_delim_n = $ac_delim_num; then
   24276     break
   24277   elif $ac_last_try; then
   24278     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   24279   else
   24280     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   24281   fi
   24282 done
   24283 rm -f conf$$subs.sh
   24284 
   24285 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24286 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   24287 _ACEOF
   24288 sed -n '
   24289 h
   24290 s/^/S["/; s/!.*/"]=/
   24291 p
   24292 g
   24293 s/^[^!]*!//
   24294 :repl
   24295 t repl
   24296 s/'"$ac_delim"'$//
   24297 t delim
   24298 :nl
   24299 h
   24300 s/\(.\{148\}\)..*/\1/
   24301 t more1
   24302 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   24303 p
   24304 n
   24305 b repl
   24306 :more1
   24307 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   24308 p
   24309 g
   24310 s/.\{148\}//
   24311 t nl
   24312 :delim
   24313 h
   24314 s/\(.\{148\}\)..*/\1/
   24315 t more2
   24316 s/["\\]/\\&/g; s/^/"/; s/$/"/
   24317 p
   24318 b
   24319 :more2
   24320 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   24321 p
   24322 g
   24323 s/.\{148\}//
   24324 t delim
   24325 ' <conf$$subs.awk | sed '
   24326 /^[^""]/{
   24327   N
   24328   s/\n//
   24329 }
   24330 ' >>$CONFIG_STATUS || ac_write_fail=1
   24331 rm -f conf$$subs.awk
   24332 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24333 _ACAWK
   24334 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   24335   for (key in S) S_is_set[key] = 1
   24336   FS = ""
   24337 
   24338 }
   24339 {
   24340   line = $ 0
   24341   nfields = split(line, field, "@")
   24342   substed = 0
   24343   len = length(field[1])
   24344   for (i = 2; i < nfields; i++) {
   24345     key = field[i]
   24346     keylen = length(key)
   24347     if (S_is_set[key]) {
   24348       value = S[key]
   24349       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   24350       len += length(value) + length(field[++i])
   24351       substed = 1
   24352     } else
   24353       len += 1 + keylen
   24354   }
   24355 
   24356   print line
   24357 }
   24358 
   24359 _ACAWK
   24360 _ACEOF
   24361 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24362 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   24363   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   24364 else
   24365   cat
   24366 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   24367   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   24368 _ACEOF
   24369 
   24370 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   24371 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   24372 # trailing colons and then remove the whole line if VPATH becomes empty
   24373 # (actually we leave an empty line to preserve line numbers).
   24374 if test "x$srcdir" = x.; then
   24375   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   24376 h
   24377 s///
   24378 s/^/:/
   24379 s/[	 ]*$/:/
   24380 s/:\$(srcdir):/:/g
   24381 s/:\${srcdir}:/:/g
   24382 s/:@srcdir@:/:/g
   24383 s/^:*//
   24384 s/:*$//
   24385 x
   24386 s/\(=[	 ]*\).*/\1/
   24387 G
   24388 s/\n//
   24389 s/^[^=]*=[	 ]*$//
   24390 }'
   24391 fi
   24392 
   24393 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24394 fi # test -n "$CONFIG_FILES"
   24395 
   24396 # Set up the scripts for CONFIG_HEADERS section.
   24397 # No need to generate them if there are no CONFIG_HEADERS.
   24398 # This happens for instance with `./config.status Makefile'.
   24399 if test -n "$CONFIG_HEADERS"; then
   24400 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   24401 BEGIN {
   24402 _ACEOF
   24403 
   24404 # Transform confdefs.h into an awk script `defines.awk', embedded as
   24405 # here-document in config.status, that substitutes the proper values into
   24406 # config.h.in to produce config.h.
   24407 
   24408 # Create a delimiter string that does not exist in confdefs.h, to ease
   24409 # handling of long lines.
   24410 ac_delim='%!_!# '
   24411 for ac_last_try in false false :; do
   24412   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   24413   if test -z "$ac_tt"; then
   24414     break
   24415   elif $ac_last_try; then
   24416     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   24417   else
   24418     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   24419   fi
   24420 done
   24421 
   24422 # For the awk script, D is an array of macro values keyed by name,
   24423 # likewise P contains macro parameters if any.  Preserve backslash
   24424 # newline sequences.
   24425 
   24426 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   24427 sed -n '
   24428 s/.\{148\}/&'"$ac_delim"'/g
   24429 t rset
   24430 :rset
   24431 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   24432 t def
   24433 d
   24434 :def
   24435 s/\\$//
   24436 t bsnl
   24437 s/["\\]/\\&/g
   24438 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   24439 D["\1"]=" \3"/p
   24440 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   24441 d
   24442 :bsnl
   24443 s/["\\]/\\&/g
   24444 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   24445 D["\1"]=" \3\\\\\\n"\\/p
   24446 t cont
   24447 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   24448 t cont
   24449 d
   24450 :cont
   24451 n
   24452 s/.\{148\}/&'"$ac_delim"'/g
   24453 t clear
   24454 :clear
   24455 s/\\$//
   24456 t bsnlc
   24457 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   24458 d
   24459 :bsnlc
   24460 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   24461 b cont
   24462 ' <confdefs.h | sed '
   24463 s/'"$ac_delim"'/"\\\
   24464 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   24465 
   24466 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24467   for (key in D) D_is_set[key] = 1
   24468   FS = ""
   24469 }
   24470 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   24471   line = \$ 0
   24472   split(line, arg, " ")
   24473   if (arg[1] == "#") {
   24474     defundef = arg[2]
   24475     mac1 = arg[3]
   24476   } else {
   24477     defundef = substr(arg[1], 2)
   24478     mac1 = arg[2]
   24479   }
   24480   split(mac1, mac2, "(") #)
   24481   macro = mac2[1]
   24482   prefix = substr(line, 1, index(line, defundef) - 1)
   24483   if (D_is_set[macro]) {
   24484     # Preserve the white space surrounding the "#".
   24485     print prefix "define", macro P[macro] D[macro]
   24486     next
   24487   } else {
   24488     # Replace #undef with comments.  This is necessary, for example,
   24489     # in the case of _POSIX_SOURCE, which is predefined and required
   24490     # on some systems where configure will not decide to define it.
   24491     if (defundef == "undef") {
   24492       print "/*", prefix defundef, macro, "*/"
   24493       next
   24494     }
   24495   }
   24496 }
   24497 { print }
   24498 _ACAWK
   24499 _ACEOF
   24500 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24501   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   24502 fi # test -n "$CONFIG_HEADERS"
   24503 
   24504 
   24505 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   24506 shift
   24507 for ac_tag
   24508 do
   24509   case $ac_tag in
   24510   :[FHLC]) ac_mode=$ac_tag; continue;;
   24511   esac
   24512   case $ac_mode$ac_tag in
   24513   :[FHL]*:*);;
   24514   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   24515   :[FH]-) ac_tag=-:-;;
   24516   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   24517   esac
   24518   ac_save_IFS=$IFS
   24519   IFS=:
   24520   set x $ac_tag
   24521   IFS=$ac_save_IFS
   24522   shift
   24523   ac_file=$1
   24524   shift
   24525 
   24526   case $ac_mode in
   24527   :L) ac_source=$1;;
   24528   :[FH])
   24529     ac_file_inputs=
   24530     for ac_f
   24531     do
   24532       case $ac_f in
   24533       -) ac_f="$ac_tmp/stdin";;
   24534       *) # Look for the file first in the build tree, then in the source tree
   24535 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   24536 	 # because $ac_f cannot contain `:'.
   24537 	 test -f "$ac_f" ||
   24538 	   case $ac_f in
   24539 	   [\\/$]*) false;;
   24540 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   24541 	   esac ||
   24542 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   24543       esac
   24544       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   24545       as_fn_append ac_file_inputs " '$ac_f'"
   24546     done
   24547 
   24548     # Let's still pretend it is `configure' which instantiates (i.e., don't
   24549     # use $as_me), people would be surprised to read:
   24550     #    /* config.h.  Generated by config.status.  */
   24551     configure_input='Generated from '`
   24552 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   24553 	`' by configure.'
   24554     if test x"$ac_file" != x-; then
   24555       configure_input="$ac_file.  $configure_input"
   24556       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   24557 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   24558     fi
   24559     # Neutralize special characters interpreted by sed in replacement strings.
   24560     case $configure_input in #(
   24561     *\&* | *\|* | *\\* )
   24562        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   24563        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   24564     *) ac_sed_conf_input=$configure_input;;
   24565     esac
   24566 
   24567     case $ac_tag in
   24568     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   24569       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   24570     esac
   24571     ;;
   24572   esac
   24573 
   24574   ac_dir=`$as_dirname -- "$ac_file" ||
   24575 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   24576 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   24577 	 X"$ac_file" : 'X\(//\)$' \| \
   24578 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   24579 printf "%s\n" X"$ac_file" |
   24580     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   24581 	    s//\1/
   24582 	    q
   24583 	  }
   24584 	  /^X\(\/\/\)[^/].*/{
   24585 	    s//\1/
   24586 	    q
   24587 	  }
   24588 	  /^X\(\/\/\)$/{
   24589 	    s//\1/
   24590 	    q
   24591 	  }
   24592 	  /^X\(\/\).*/{
   24593 	    s//\1/
   24594 	    q
   24595 	  }
   24596 	  s/.*/./; q'`
   24597   as_dir="$ac_dir"; as_fn_mkdir_p
   24598   ac_builddir=.
   24599 
   24600 case "$ac_dir" in
   24601 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   24602 *)
   24603   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   24604   # A ".." for each directory in $ac_dir_suffix.
   24605   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   24606   case $ac_top_builddir_sub in
   24607   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   24608   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   24609   esac ;;
   24610 esac
   24611 ac_abs_top_builddir=$ac_pwd
   24612 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   24613 # for backward compatibility:
   24614 ac_top_builddir=$ac_top_build_prefix
   24615 
   24616 case $srcdir in
   24617   .)  # We are building in place.
   24618     ac_srcdir=.
   24619     ac_top_srcdir=$ac_top_builddir_sub
   24620     ac_abs_top_srcdir=$ac_pwd ;;
   24621   [\\/]* | ?:[\\/]* )  # Absolute name.
   24622     ac_srcdir=$srcdir$ac_dir_suffix;
   24623     ac_top_srcdir=$srcdir
   24624     ac_abs_top_srcdir=$srcdir ;;
   24625   *) # Relative name.
   24626     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   24627     ac_top_srcdir=$ac_top_build_prefix$srcdir
   24628     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   24629 esac
   24630 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   24631 
   24632 
   24633   case $ac_mode in
   24634   :F)
   24635   #
   24636   # CONFIG_FILE
   24637   #
   24638 
   24639   case $INSTALL in
   24640   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   24641   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   24642   esac
   24643   ac_MKDIR_P=$MKDIR_P
   24644   case $MKDIR_P in
   24645   [\\/$]* | ?:[\\/]* ) ;;
   24646   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   24647   esac
   24648 _ACEOF
   24649 
   24650 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24651 # If the template does not know about datarootdir, expand it.
   24652 # FIXME: This hack should be removed a few years after 2.60.
   24653 ac_datarootdir_hack=; ac_datarootdir_seen=
   24654 ac_sed_dataroot='
   24655 /datarootdir/ {
   24656   p
   24657   q
   24658 }
   24659 /@datadir@/p
   24660 /@docdir@/p
   24661 /@infodir@/p
   24662 /@localedir@/p
   24663 /@mandir@/p'
   24664 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   24665 *datarootdir*) ac_datarootdir_seen=yes;;
   24666 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   24667   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   24668 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   24669 _ACEOF
   24670 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24671   ac_datarootdir_hack='
   24672   s&@datadir@&$datadir&g
   24673   s&@docdir@&$docdir&g
   24674   s&@infodir@&$infodir&g
   24675   s&@localedir@&$localedir&g
   24676   s&@mandir@&$mandir&g
   24677   s&\\\${datarootdir}&$datarootdir&g' ;;
   24678 esac
   24679 _ACEOF
   24680 
   24681 # Neutralize VPATH when `$srcdir' = `.'.
   24682 # Shell code in configure.ac might set extrasub.
   24683 # FIXME: do we really want to maintain this feature?
   24684 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24685 ac_sed_extra="$ac_vpsub
   24686 $extrasub
   24687 _ACEOF
   24688 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24689 :t
   24690 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   24691 s|@configure_input@|$ac_sed_conf_input|;t t
   24692 s&@top_builddir@&$ac_top_builddir_sub&;t t
   24693 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   24694 s&@srcdir@&$ac_srcdir&;t t
   24695 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   24696 s&@top_srcdir@&$ac_top_srcdir&;t t
   24697 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   24698 s&@builddir@&$ac_builddir&;t t
   24699 s&@abs_builddir@&$ac_abs_builddir&;t t
   24700 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   24701 s&@INSTALL@&$ac_INSTALL&;t t
   24702 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   24703 $ac_datarootdir_hack
   24704 "
   24705 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   24706   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   24707 
   24708 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   24709   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   24710   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   24711       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   24712   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   24713 which seems to be undefined.  Please make sure it is defined" >&5
   24714 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   24715 which seems to be undefined.  Please make sure it is defined" >&2;}
   24716 
   24717   rm -f "$ac_tmp/stdin"
   24718   case $ac_file in
   24719   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   24720   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   24721   esac \
   24722   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   24723  ;;
   24724   :H)
   24725   #
   24726   # CONFIG_HEADER
   24727   #
   24728   if test x"$ac_file" != x-; then
   24729     {
   24730       printf "%s\n" "/* $configure_input  */" >&1 \
   24731       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   24732     } >"$ac_tmp/config.h" \
   24733       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   24734     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   24735       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   24736 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   24737     else
   24738       rm -f "$ac_file"
   24739       mv "$ac_tmp/config.h" "$ac_file" \
   24740 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   24741     fi
   24742   else
   24743     printf "%s\n" "/* $configure_input  */" >&1 \
   24744       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   24745       || as_fn_error $? "could not create -" "$LINENO" 5
   24746   fi
   24747 # Compute "$ac_file"'s index in $config_headers.
   24748 _am_arg="$ac_file"
   24749 _am_stamp_count=1
   24750 for _am_header in $config_headers :; do
   24751   case $_am_header in
   24752     $_am_arg | $_am_arg:* )
   24753       break ;;
   24754     * )
   24755       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   24756   esac
   24757 done
   24758 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   24759 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   24760 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   24761 	 X"$_am_arg" : 'X\(//\)$' \| \
   24762 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   24763 printf "%s\n" X"$_am_arg" |
   24764     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   24765 	    s//\1/
   24766 	    q
   24767 	  }
   24768 	  /^X\(\/\/\)[^/].*/{
   24769 	    s//\1/
   24770 	    q
   24771 	  }
   24772 	  /^X\(\/\/\)$/{
   24773 	    s//\1/
   24774 	    q
   24775 	  }
   24776 	  /^X\(\/\).*/{
   24777 	    s//\1/
   24778 	    q
   24779 	  }
   24780 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   24781  ;;
   24782 
   24783   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   24784 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   24785  ;;
   24786   esac
   24787 
   24788 
   24789   case $ac_file$ac_mode in
   24790     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   24791   # Older Autoconf quotes --file arguments for eval, but not when files
   24792   # are listed without --file.  Let's play safe and only enable the eval
   24793   # if we detect the quoting.
   24794   # TODO: see whether this extra hack can be removed once we start
   24795   # requiring Autoconf 2.70 or later.
   24796   case $CONFIG_FILES in #(
   24797   *\'*) :
   24798     eval set x "$CONFIG_FILES" ;; #(
   24799   *) :
   24800     set x $CONFIG_FILES ;; #(
   24801   *) :
   24802      ;;
   24803 esac
   24804   shift
   24805   # Used to flag and report bootstrapping failures.
   24806   am_rc=0
   24807   for am_mf
   24808   do
   24809     # Strip MF so we end up with the name of the file.
   24810     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   24811     # Check whether this is an Automake generated Makefile which includes
   24812     # dependency-tracking related rules and includes.
   24813     # Grep'ing the whole file directly is not great: AIX grep has a line
   24814     # limit of 2048, but all sed's we know have understand at least 4000.
   24815     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   24816       || continue
   24817     am_dirpart=`$as_dirname -- "$am_mf" ||
   24818 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   24819 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   24820 	 X"$am_mf" : 'X\(//\)$' \| \
   24821 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   24822 printf "%s\n" X"$am_mf" |
   24823     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   24824 	    s//\1/
   24825 	    q
   24826 	  }
   24827 	  /^X\(\/\/\)[^/].*/{
   24828 	    s//\1/
   24829 	    q
   24830 	  }
   24831 	  /^X\(\/\/\)$/{
   24832 	    s//\1/
   24833 	    q
   24834 	  }
   24835 	  /^X\(\/\).*/{
   24836 	    s//\1/
   24837 	    q
   24838 	  }
   24839 	  s/.*/./; q'`
   24840     am_filepart=`$as_basename -- "$am_mf" ||
   24841 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   24842 	 X"$am_mf" : 'X\(//\)$' \| \
   24843 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   24844 printf "%s\n" X/"$am_mf" |
   24845     sed '/^.*\/\([^/][^/]*\)\/*$/{
   24846 	    s//\1/
   24847 	    q
   24848 	  }
   24849 	  /^X\/\(\/\/\)$/{
   24850 	    s//\1/
   24851 	    q
   24852 	  }
   24853 	  /^X\/\(\/\).*/{
   24854 	    s//\1/
   24855 	    q
   24856 	  }
   24857 	  s/.*/./; q'`
   24858     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   24859       && sed -e '/# am--include-marker/d' "$am_filepart" \
   24860         | $MAKE -f - am--depfiles" >&5
   24861    (cd "$am_dirpart" \
   24862       && sed -e '/# am--include-marker/d' "$am_filepart" \
   24863         | $MAKE -f - am--depfiles) >&5 2>&5
   24864    ac_status=$?
   24865    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   24866    (exit $ac_status); } || am_rc=$?
   24867   done
   24868   if test $am_rc -ne 0; then
   24869     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   24870 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
   24871 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   24872     for automatic dependency tracking.  If GNU make was not used, consider
   24873     re-running the configure script with MAKE=\"gmake\" (or whatever is
   24874     necessary).  You can also try re-running configure with the
   24875     '--disable-dependency-tracking' option to at least be able to build
   24876     the package (albeit without support for automatic dependency tracking).
   24877 See \`config.log' for more details" "$LINENO" 5; }
   24878   fi
   24879   { am_dirpart=; unset am_dirpart;}
   24880   { am_filepart=; unset am_filepart;}
   24881   { am_mf=; unset am_mf;}
   24882   { am_rc=; unset am_rc;}
   24883   rm -f conftest-deps.mk
   24884 }
   24885  ;;
   24886     "libtool":C)
   24887 
   24888     # See if we are running on zsh, and set the options that allow our
   24889     # commands through without removal of \ escapes.
   24890     if test -n "${ZSH_VERSION+set}"; then
   24891       setopt NO_GLOB_SUBST
   24892     fi
   24893 
   24894     cfgfile=${ofile}T
   24895     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   24896     $RM "$cfgfile"
   24897 
   24898     cat <<_LT_EOF >> "$cfgfile"
   24899 #! $SHELL
   24900 # Generated automatically by $as_me ($PACKAGE) $VERSION
   24901 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   24902 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   24903 
   24904 # Provide generalized library-building support services.
   24905 # Written by Gordon Matzigkeit, 1996
   24906 
   24907 # Copyright (C) 2014 Free Software Foundation, Inc.
   24908 # This is free software; see the source for copying conditions.  There is NO
   24909 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   24910 
   24911 # GNU Libtool is free software; you can redistribute it and/or modify
   24912 # it under the terms of the GNU General Public License as published by
   24913 # the Free Software Foundation; either version 2 of of the License, or
   24914 # (at your option) any later version.
   24915 #
   24916 # As a special exception to the GNU General Public License, if you
   24917 # distribute this file as part of a program or library that is built
   24918 # using GNU Libtool, you may include this file under the  same
   24919 # distribution terms that you use for the rest of that program.
   24920 #
   24921 # GNU Libtool is distributed in the hope that it will be useful, but
   24922 # WITHOUT ANY WARRANTY; without even the implied warranty of
   24923 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   24924 # GNU General Public License for more details.
   24925 #
   24926 # You should have received a copy of the GNU General Public License
   24927 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   24928 
   24929 
   24930 # The names of the tagged configurations supported by this script.
   24931 available_tags=''
   24932 
   24933 # Configured defaults for sys_lib_dlsearch_path munging.
   24934 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   24935 
   24936 # ### BEGIN LIBTOOL CONFIG
   24937 
   24938 # Which release of libtool.m4 was used?
   24939 macro_version=$macro_version
   24940 macro_revision=$macro_revision
   24941 
   24942 # Whether or not to build shared libraries.
   24943 build_libtool_libs=$enable_shared
   24944 
   24945 # Whether or not to build static libraries.
   24946 build_old_libs=$enable_static
   24947 
   24948 # What type of objects to build.
   24949 pic_mode=$pic_mode
   24950 
   24951 # Whether or not to optimize for fast installation.
   24952 fast_install=$enable_fast_install
   24953 
   24954 # Shared archive member basename,for filename based shared library versioning on AIX.
   24955 shared_archive_member_spec=$shared_archive_member_spec
   24956 
   24957 # Shell to use when invoking shell scripts.
   24958 SHELL=$lt_SHELL
   24959 
   24960 # An echo program that protects backslashes.
   24961 ECHO=$lt_ECHO
   24962 
   24963 # The PATH separator for the build system.
   24964 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   24965 
   24966 # The host system.
   24967 host_alias=$host_alias
   24968 host=$host
   24969 host_os=$host_os
   24970 
   24971 # The build system.
   24972 build_alias=$build_alias
   24973 build=$build
   24974 build_os=$build_os
   24975 
   24976 # A sed program that does not truncate output.
   24977 SED=$lt_SED
   24978 
   24979 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   24980 Xsed="\$SED -e 1s/^X//"
   24981 
   24982 # A grep program that handles long lines.
   24983 GREP=$lt_GREP
   24984 
   24985 # An ERE matcher.
   24986 EGREP=$lt_EGREP
   24987 
   24988 # A literal string matcher.
   24989 FGREP=$lt_FGREP
   24990 
   24991 # A BSD- or MS-compatible name lister.
   24992 NM=$lt_NM
   24993 
   24994 # Whether we need soft or hard links.
   24995 LN_S=$lt_LN_S
   24996 
   24997 # What is the maximum length of a command?
   24998 max_cmd_len=$max_cmd_len
   24999 
   25000 # Object file suffix (normally "o").
   25001 objext=$ac_objext
   25002 
   25003 # Executable file suffix (normally "").
   25004 exeext=$exeext
   25005 
   25006 # whether the shell understands "unset".
   25007 lt_unset=$lt_unset
   25008 
   25009 # turn spaces into newlines.
   25010 SP2NL=$lt_lt_SP2NL
   25011 
   25012 # turn newlines into spaces.
   25013 NL2SP=$lt_lt_NL2SP
   25014 
   25015 # convert \$build file names to \$host format.
   25016 to_host_file_cmd=$lt_cv_to_host_file_cmd
   25017 
   25018 # convert \$build files to toolchain format.
   25019 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   25020 
   25021 # A file(cmd) program that detects file types.
   25022 FILECMD=$lt_FILECMD
   25023 
   25024 # An object symbol dumper.
   25025 OBJDUMP=$lt_OBJDUMP
   25026 
   25027 # Method to check whether dependent libraries are shared objects.
   25028 deplibs_check_method=$lt_deplibs_check_method
   25029 
   25030 # Command to use when deplibs_check_method = "file_magic".
   25031 file_magic_cmd=$lt_file_magic_cmd
   25032 
   25033 # How to find potential files when deplibs_check_method = "file_magic".
   25034 file_magic_glob=$lt_file_magic_glob
   25035 
   25036 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   25037 want_nocaseglob=$lt_want_nocaseglob
   25038 
   25039 # DLL creation program.
   25040 DLLTOOL=$lt_DLLTOOL
   25041 
   25042 # Command to associate shared and link libraries.
   25043 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   25044 
   25045 # The archiver.
   25046 AR=$lt_AR
   25047 
   25048 # Flags to create an archive (by configure).
   25049 lt_ar_flags=$lt_ar_flags
   25050 
   25051 # Flags to create an archive.
   25052 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
   25053 
   25054 # How to feed a file listing to the archiver.
   25055 archiver_list_spec=$lt_archiver_list_spec
   25056 
   25057 # A symbol stripping program.
   25058 STRIP=$lt_STRIP
   25059 
   25060 # Commands used to install an old-style archive.
   25061 RANLIB=$lt_RANLIB
   25062 old_postinstall_cmds=$lt_old_postinstall_cmds
   25063 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   25064 
   25065 # Whether to use a lock for old archive extraction.
   25066 lock_old_archive_extraction=$lock_old_archive_extraction
   25067 
   25068 # A C compiler.
   25069 LTCC=$lt_CC
   25070 
   25071 # LTCC compiler flags.
   25072 LTCFLAGS=$lt_CFLAGS
   25073 
   25074 # Take the output of nm and produce a listing of raw symbols and C names.
   25075 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   25076 
   25077 # Transform the output of nm in a proper C declaration.
   25078 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   25079 
   25080 # Transform the output of nm into a list of symbols to manually relocate.
   25081 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   25082 
   25083 # Transform the output of nm in a C name address pair.
   25084 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   25085 
   25086 # Transform the output of nm in a C name address pair when lib prefix is needed.
   25087 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   25088 
   25089 # The name lister interface.
   25090 nm_interface=$lt_lt_cv_nm_interface
   25091 
   25092 # Specify filename containing input files for \$NM.
   25093 nm_file_list_spec=$lt_nm_file_list_spec
   25094 
   25095 # The root where to search for dependent libraries,and where our libraries should be installed.
   25096 lt_sysroot=$lt_sysroot
   25097 
   25098 # Command to truncate a binary pipe.
   25099 lt_truncate_bin=$lt_lt_cv_truncate_bin
   25100 
   25101 # The name of the directory that contains temporary libtool files.
   25102 objdir=$objdir
   25103 
   25104 # Used to examine libraries when file_magic_cmd begins with "file".
   25105 MAGIC_CMD=$MAGIC_CMD
   25106 
   25107 # Must we lock files when doing compilation?
   25108 need_locks=$lt_need_locks
   25109 
   25110 # Manifest tool.
   25111 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   25112 
   25113 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   25114 DSYMUTIL=$lt_DSYMUTIL
   25115 
   25116 # Tool to change global to local symbols on Mac OS X.
   25117 NMEDIT=$lt_NMEDIT
   25118 
   25119 # Tool to manipulate fat objects and archives on Mac OS X.
   25120 LIPO=$lt_LIPO
   25121 
   25122 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   25123 OTOOL=$lt_OTOOL
   25124 
   25125 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   25126 OTOOL64=$lt_OTOOL64
   25127 
   25128 # Old archive suffix (normally "a").
   25129 libext=$libext
   25130 
   25131 # Shared library suffix (normally ".so").
   25132 shrext_cmds=$lt_shrext_cmds
   25133 
   25134 # The commands to extract the exported symbol list from a shared archive.
   25135 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   25136 
   25137 # Variables whose values should be saved in libtool wrapper scripts and
   25138 # restored at link time.
   25139 variables_saved_for_relink=$lt_variables_saved_for_relink
   25140 
   25141 # Do we need the "lib" prefix for modules?
   25142 need_lib_prefix=$need_lib_prefix
   25143 
   25144 # Do we need a version for libraries?
   25145 need_version=$need_version
   25146 
   25147 # Library versioning type.
   25148 version_type=$version_type
   25149 
   25150 # Shared library runtime path variable.
   25151 runpath_var=$runpath_var
   25152 
   25153 # Shared library path variable.
   25154 shlibpath_var=$shlibpath_var
   25155 
   25156 # Is shlibpath searched before the hard-coded library search path?
   25157 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   25158 
   25159 # Format of library name prefix.
   25160 libname_spec=$lt_libname_spec
   25161 
   25162 # List of archive names.  First name is the real one, the rest are links.
   25163 # The last name is the one that the linker finds with -lNAME
   25164 library_names_spec=$lt_library_names_spec
   25165 
   25166 # The coded name of the library, if different from the real name.
   25167 soname_spec=$lt_soname_spec
   25168 
   25169 # Permission mode override for installation of shared libraries.
   25170 install_override_mode=$lt_install_override_mode
   25171 
   25172 # Command to use after installation of a shared archive.
   25173 postinstall_cmds=$lt_postinstall_cmds
   25174 
   25175 # Command to use after uninstallation of a shared archive.
   25176 postuninstall_cmds=$lt_postuninstall_cmds
   25177 
   25178 # Commands used to finish a libtool library installation in a directory.
   25179 finish_cmds=$lt_finish_cmds
   25180 
   25181 # As "finish_cmds", except a single script fragment to be evaled but
   25182 # not shown.
   25183 finish_eval=$lt_finish_eval
   25184 
   25185 # Whether we should hardcode library paths into libraries.
   25186 hardcode_into_libs=$hardcode_into_libs
   25187 
   25188 # Compile-time system search path for libraries.
   25189 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   25190 
   25191 # Detected run-time system search path for libraries.
   25192 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   25193 
   25194 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   25195 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   25196 
   25197 # Whether dlopen is supported.
   25198 dlopen_support=$enable_dlopen
   25199 
   25200 # Whether dlopen of programs is supported.
   25201 dlopen_self=$enable_dlopen_self
   25202 
   25203 # Whether dlopen of statically linked programs is supported.
   25204 dlopen_self_static=$enable_dlopen_self_static
   25205 
   25206 # Commands to strip libraries.
   25207 old_striplib=$lt_old_striplib
   25208 striplib=$lt_striplib
   25209 
   25210 
   25211 # The linker used to build libraries.
   25212 LD=$lt_LD
   25213 
   25214 # How to create reloadable object files.
   25215 reload_flag=$lt_reload_flag
   25216 reload_cmds=$lt_reload_cmds
   25217 
   25218 # Commands used to build an old-style archive.
   25219 old_archive_cmds=$lt_old_archive_cmds
   25220 
   25221 # A language specific compiler.
   25222 CC=$lt_compiler
   25223 
   25224 # Is the compiler the GNU compiler?
   25225 with_gcc=$GCC
   25226 
   25227 # Compiler flag to turn off builtin functions.
   25228 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   25229 
   25230 # Additional compiler flags for building library objects.
   25231 pic_flag=$lt_lt_prog_compiler_pic
   25232 
   25233 # How to pass a linker flag through the compiler.
   25234 wl=$lt_lt_prog_compiler_wl
   25235 
   25236 # Compiler flag to prevent dynamic linking.
   25237 link_static_flag=$lt_lt_prog_compiler_static
   25238 
   25239 # Does compiler simultaneously support -c and -o options?
   25240 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   25241 
   25242 # Whether or not to add -lc for building shared libraries.
   25243 build_libtool_need_lc=$archive_cmds_need_lc
   25244 
   25245 # Whether or not to disallow shared libs when runtime libs are static.
   25246 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   25247 
   25248 # Compiler flag to allow reflexive dlopens.
   25249 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   25250 
   25251 # Compiler flag to generate shared objects directly from archives.
   25252 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   25253 
   25254 # Whether the compiler copes with passing no objects directly.
   25255 compiler_needs_object=$lt_compiler_needs_object
   25256 
   25257 # Create an old-style archive from a shared archive.
   25258 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   25259 
   25260 # Create a temporary old-style archive to link instead of a shared archive.
   25261 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   25262 
   25263 # Commands used to build a shared archive.
   25264 archive_cmds=$lt_archive_cmds
   25265 archive_expsym_cmds=$lt_archive_expsym_cmds
   25266 
   25267 # Commands used to build a loadable module if different from building
   25268 # a shared archive.
   25269 module_cmds=$lt_module_cmds
   25270 module_expsym_cmds=$lt_module_expsym_cmds
   25271 
   25272 # Whether we are building with GNU ld or not.
   25273 with_gnu_ld=$lt_with_gnu_ld
   25274 
   25275 # Flag that allows shared libraries with undefined symbols to be built.
   25276 allow_undefined_flag=$lt_allow_undefined_flag
   25277 
   25278 # Flag that enforces no undefined symbols.
   25279 no_undefined_flag=$lt_no_undefined_flag
   25280 
   25281 # Flag to hardcode \$libdir into a binary during linking.
   25282 # This must work even if \$libdir does not exist
   25283 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   25284 
   25285 # Whether we need a single "-rpath" flag with a separated argument.
   25286 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   25287 
   25288 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   25289 # DIR into the resulting binary.
   25290 hardcode_direct=$hardcode_direct
   25291 
   25292 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   25293 # DIR into the resulting binary and the resulting library dependency is
   25294 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   25295 # library is relocated.
   25296 hardcode_direct_absolute=$hardcode_direct_absolute
   25297 
   25298 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   25299 # into the resulting binary.
   25300 hardcode_minus_L=$hardcode_minus_L
   25301 
   25302 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   25303 # into the resulting binary.
   25304 hardcode_shlibpath_var=$hardcode_shlibpath_var
   25305 
   25306 # Set to "yes" if building a shared library automatically hardcodes DIR
   25307 # into the library and all subsequent libraries and executables linked
   25308 # against it.
   25309 hardcode_automatic=$hardcode_automatic
   25310 
   25311 # Set to yes if linker adds runtime paths of dependent libraries
   25312 # to runtime path list.
   25313 inherit_rpath=$inherit_rpath
   25314 
   25315 # Whether libtool must link a program against all its dependency libraries.
   25316 link_all_deplibs=$link_all_deplibs
   25317 
   25318 # Set to "yes" if exported symbols are required.
   25319 always_export_symbols=$always_export_symbols
   25320 
   25321 # The commands to list exported symbols.
   25322 export_symbols_cmds=$lt_export_symbols_cmds
   25323 
   25324 # Symbols that should not be listed in the preloaded symbols.
   25325 exclude_expsyms=$lt_exclude_expsyms
   25326 
   25327 # Symbols that must always be exported.
   25328 include_expsyms=$lt_include_expsyms
   25329 
   25330 # Commands necessary for linking programs (against libraries) with templates.
   25331 prelink_cmds=$lt_prelink_cmds
   25332 
   25333 # Commands necessary for finishing linking programs.
   25334 postlink_cmds=$lt_postlink_cmds
   25335 
   25336 # Specify filename containing input files.
   25337 file_list_spec=$lt_file_list_spec
   25338 
   25339 # How to hardcode a shared library path into an executable.
   25340 hardcode_action=$hardcode_action
   25341 
   25342 # ### END LIBTOOL CONFIG
   25343 
   25344 _LT_EOF
   25345 
   25346     cat <<'_LT_EOF' >> "$cfgfile"
   25347 
   25348 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   25349 
   25350 # func_munge_path_list VARIABLE PATH
   25351 # -----------------------------------
   25352 # VARIABLE is name of variable containing _space_ separated list of
   25353 # directories to be munged by the contents of PATH, which is string
   25354 # having a format:
   25355 # "DIR[:DIR]:"
   25356 #       string "DIR[ DIR]" will be prepended to VARIABLE
   25357 # ":DIR[:DIR]"
   25358 #       string "DIR[ DIR]" will be appended to VARIABLE
   25359 # "DIRP[:DIRP]::[DIRA:]DIRA"
   25360 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   25361 #       "DIRA[ DIRA]" will be appended to VARIABLE
   25362 # "DIR[:DIR]"
   25363 #       VARIABLE will be replaced by "DIR[ DIR]"
   25364 func_munge_path_list ()
   25365 {
   25366     case x$2 in
   25367     x)
   25368         ;;
   25369     *:)
   25370         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   25371         ;;
   25372     x:*)
   25373         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   25374         ;;
   25375     *::*)
   25376         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   25377         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   25378         ;;
   25379     *)
   25380         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   25381         ;;
   25382     esac
   25383 }
   25384 
   25385 
   25386 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   25387 func_cc_basename ()
   25388 {
   25389     for cc_temp in $*""; do
   25390       case $cc_temp in
   25391         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   25392         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   25393         \-*) ;;
   25394         *) break;;
   25395       esac
   25396     done
   25397     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   25398 }
   25399 
   25400 
   25401 # ### END FUNCTIONS SHARED WITH CONFIGURE
   25402 
   25403 _LT_EOF
   25404 
   25405   case $host_os in
   25406   aix3*)
   25407     cat <<\_LT_EOF >> "$cfgfile"
   25408 # AIX sometimes has problems with the GCC collect2 program.  For some
   25409 # reason, if we set the COLLECT_NAMES environment variable, the problems
   25410 # vanish in a puff of smoke.
   25411 if test set != "${COLLECT_NAMES+set}"; then
   25412   COLLECT_NAMES=
   25413   export COLLECT_NAMES
   25414 fi
   25415 _LT_EOF
   25416     ;;
   25417   esac
   25418 
   25419 
   25420 
   25421 ltmain=$ac_aux_dir/ltmain.sh
   25422 
   25423 
   25424   # We use sed instead of cat because bash on DJGPP gets confused if
   25425   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   25426   # text mode, it properly converts lines to CR/LF.  This bash problem
   25427   # is reportedly fixed, but why not run on old versions too?
   25428   $SED '$q' "$ltmain" >> "$cfgfile" \
   25429      || (rm -f "$cfgfile"; exit 1)
   25430 
   25431    mv -f "$cfgfile" "$ofile" ||
   25432     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   25433   chmod +x "$ofile"
   25434 
   25435  ;;
   25436 
   25437   esac
   25438 done # for ac_tag
   25439 
   25440 
   25441 as_fn_exit 0
   25442 _ACEOF
   25443 ac_clean_files=$ac_clean_files_save
   25444 
   25445 test $ac_write_fail = 0 ||
   25446   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   25447 
   25448 
   25449 # configure is writing to config.log, and then calls config.status.
   25450 # config.status does its own redirection, appending to config.log.
   25451 # Unfortunately, on DOS this fails, as config.log is still kept open
   25452 # by configure, so config.status won't be able to write to it; its
   25453 # output is simply discarded.  So we exec the FD to /dev/null,
   25454 # effectively closing config.log, so it can be properly (re)opened and
   25455 # appended to by config.status.  When coming back to configure, we
   25456 # need to make the FD available again.
   25457 if test "$no_create" != yes; then
   25458   ac_cs_success=:
   25459   ac_config_status_args=
   25460   test "$silent" = yes &&
   25461     ac_config_status_args="$ac_config_status_args --quiet"
   25462   exec 5>/dev/null
   25463   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   25464   exec 5>>config.log
   25465   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   25466   # would make configure fail if this is the last instruction.
   25467   $ac_cs_success || as_fn_exit 1
   25468 fi
   25469 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   25470   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   25471 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   25472 fi
   25473 
   25474 
   25475 echo ""
   25476 echo "$PACKAGE_STRING will be built with the following settings:"
   25477 echo " Loadable i18n module support:            "$XLIB_LOADABLE_I18N
   25478 echo " Loadable xcursor library support:        "$XLIB_LOADABLE_XCURSOR
   25479 echo " Threading support:                       "$xthreads
   25480 echo " Use Threads safe API:                    "$mtsafeapi
   25481 echo " Use thread safety constructor:           "$USE_THREAD_SAFETY_CONSTRUCTOR
   25482 echo " XCMS:                                    "$XCMS
   25483 echo " Internationalization support:            "$XLOCALE
   25484 echo " XF86BigFont support:                     "$XF86BIGFONT
   25485 echo " XKB support:                             "$XKB
   25486 echo " XLOCALEDIR environment variable support: "$ENABLE_XLOCALEDIR
   25487 echo " Compose table cache enabled:             "$COMPOSECACHE
   25488 echo " Functional specs building enabled:       "$build_specs
   25489 echo ""
   25490 
   25491